]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Refactor libm tests.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
f9536db7
JM
12015-06-24 Joseph Myers <joseph@codesourcery.com>
2
3 * math/test-double.h: New file.
4 * math/test-float.h: Likewise.
5 * math/test-ldouble.h: Likewise.
6 * math/test-math-inline.h: Likewise.
7 * math/test-math-no-inline.h: Likewise.
8 * math/test-math-scalar.h: Likewise.
9 * math/test-math-vector.h: Likewise.
10 * math/test-vec-loop.h: Remove file. Contents moved into
11 test-math-vector.h.
12 * math/libm-test.inc (MATHCONST): Do not document macro.
13 * math/test-double.c: Include test-double.h, test-math-no-inline.h
14 and test-math-scalar.h.
15 (FUNC): Remove macro.
16 (FUNC_TEST): Likewise.
17 (FLOAT): Likewise.
18 (MATHCONST): Likewise.
19 (PRINTF_EXPR): Likewise.
20 (PRINTF_XEXPR): Likewise.
21 (PRINTF_NEXPR): Likewise.
22 (TEST_DOUBLE): Likewise.
23 (TEST_MATHVEC): Likewise.
24 (__NO_MATH_INLINES): Likewise.
25 * math/test-float.c: Include test-float.h, test-math-no-inline.h
26 and test-math-scalar.h.
27 (FUNC): Remove macro.
28 (FUNC_TEST): Likewise.
29 (FLOAT): Likewise.
30 (MATHCONST): Likewise.
31 (PRINTF_EXPR): Likewise.
32 (PRINTF_XEXPR): Likewise.
33 (PRINTF_NEXPR): Likewise.
34 (TEST_FLOAT): Likewise.
35 (TEST_MATHVEC): Likewise.
36 (__NO_MATH_INLINES): Likewise.
37 * math/test-idouble.c: Include test-double.h, test-math-inline.h
38 and test-math-scalar.h.
39 (FUNC): Remove macro.
40 (FUNC_TEST): Likewise.
41 (FLOAT): Likewise.
42 (MATHCONST): Likewise.
43 (PRINTF_EXPR): Likewise.
44 (PRINTF_XEXPR): Likewise.
45 (PRINTF_NEXPR): Likewise.
46 (TEST_DOUBLE): Likewise.
47 (TEST_MATHVEC): Likewise.
48 (TEST_INLINE): Likewise.
49 (__NO_MATH_INLINES): Likewise.
50 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
51 test-math-scalar.h.
52 (FUNC): Remove macro.
53 (FUNC_TEST): Likewise.
54 (FLOAT): Likewise.
55 (MATHCONST): Likewise.
56 (PRINTF_EXPR): Likewise.
57 (PRINTF_XEXPR): Likewise.
58 (PRINTF_NEXPR): Likewise.
59 (TEST_FLOAT): Likewise.
60 (TEST_MATHVEC): Likewise.
61 (TEST_INLINE): Likewise.
62 (__NO_MATH_INLINES): Likewise.
63 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
64 and test-math-scalar.h.
65 (FUNC): Remove macro.
66 (FUNC_TEST): Likewise.
67 (FLOAT): Likewise.
68 (MATHCONST): Likewise.
69 (PRINTF_EXPR): Likewise.
70 (PRINTF_XEXPR): Likewise.
71 (PRINTF_NEXPR): Likewise.
72 (TEST_LDOUBLE): Likewise.
73 (TEST_MATHVEC): Likewise.
74 (TEST_INLINE): Likewise.
75 (__NO_MATH_INLINES): Likewise.
76 * math/test-ldouble.c: Include test-ldouble.h,
77 test-math-no-inline.h and test-math-scalar.h.
78 (FUNC): Remove macro.
79 (FUNC_TEST): Likewise.
80 (FLOAT): Likewise.
81 (MATHCONST): Likewise.
82 (PRINTF_EXPR): Likewise.
83 (PRINTF_XEXPR): Likewise.
84 (PRINTF_NEXPR): Likewise.
85 (TEST_LDOUBLE): Likewise.
86 (TEST_MATHVEC): Likewise.
87 (__NO_MATH_INLINES): Likewise.
88 * math/test-double-vlen2.h: Include test-double.h,
89 test-math-no-inline.h and test-math-vector.h.
90 (FLOAT): Remove macro.
91 (FUNC): Likewise.
92 (MATHCONST): Likewise.
93 (PRINTF_EXPR): Likewise.
94 (PRINTF_XEXPR): Likewise.
95 (PRINTF_NEXPR): Likewise.
96 (TEST_DOUBLE): Likewise.
97 (TEST_MATHVEC): Likewise.
98 (__NO_MATH_INLINES): Likewise.
99 (CNCT): Likewise.
100 (CONCAT): Likewise.
101 (WRAPPER_NAME): Likewise.
102 (WRAPPER_DECL): Likewise.
103 (WRAPPER_DECL_ff): Likewise.
104 (WRAPPER_DECL_fFF): Likewise.
105 (VECTOR_WRAPPER): Likewise.
106 (VECTOR_WRAPPER_ff): Likewise.
107 (VECTOR_WRAPPER_fFF): Likewise.
108 (VEC_LEN): New macro.
109 * math/test-double-vlen4.h: Include test-double.h,
110 test-math-no-inline.h and test-math-vector.h.
111 (FLOAT): Remove macro.
112 (FUNC): Likewise.
113 (MATHCONST): Likewise.
114 (PRINTF_EXPR): Likewise.
115 (PRINTF_XEXPR): Likewise.
116 (PRINTF_NEXPR): Likewise.
117 (TEST_DOUBLE): Likewise.
118 (TEST_MATHVEC): Likewise.
119 (__NO_MATH_INLINES): Likewise.
120 (CNCT): Likewise.
121 (CONCAT): Likewise.
122 (WRAPPER_NAME): Likewise.
123 (WRAPPER_DECL): Likewise.
124 (WRAPPER_DECL_ff): Likewise.
125 (WRAPPER_DECL_fFF): Likewise.
126 (VECTOR_WRAPPER): Likewise.
127 (VECTOR_WRAPPER_ff): Likewise.
128 (VECTOR_WRAPPER_fFF): Likewise.
129 (VEC_LEN): New macro.
130 * math/test-double-vlen8.h: Include test-double.h,
131 test-math-no-inline.h and test-math-vector.h.
132 (FLOAT): Remove macro.
133 (FUNC): Likewise.
134 (MATHCONST): Likewise.
135 (PRINTF_EXPR): Likewise.
136 (PRINTF_XEXPR): Likewise.
137 (PRINTF_NEXPR): Likewise.
138 (TEST_DOUBLE): Likewise.
139 (TEST_MATHVEC): Likewise.
140 (__NO_MATH_INLINES): Likewise.
141 (CNCT): Likewise.
142 (CONCAT): Likewise.
143 (WRAPPER_NAME): Likewise.
144 (WRAPPER_DECL): Likewise.
145 (WRAPPER_DECL_ff): Likewise.
146 (WRAPPER_DECL_fFF): Likewise.
147 (VECTOR_WRAPPER): Likewise.
148 (VECTOR_WRAPPER_ff): Likewise.
149 (VECTOR_WRAPPER_fFF): Likewise.
150 (VEC_LEN): New macro.
151 * math/test-float-vlen4.h: Include test-float.h,
152 test-math-no-inline.h and test-math-vector.h.
153 (FLOAT): Remove macro.
154 (FUNC): Likewise.
155 (MATHCONST): Likewise.
156 (PRINTF_EXPR): Likewise.
157 (PRINTF_XEXPR): Likewise.
158 (PRINTF_NEXPR): Likewise.
159 (TEST_FLOAT): Likewise.
160 (TEST_MATHVEC): Likewise.
161 (__NO_MATH_INLINES): Likewise.
162 (CNCT): Likewise.
163 (CONCAT): Likewise.
164 (WRAPPER_NAME): Likewise.
165 (WRAPPER_DECL): Likewise.
166 (WRAPPER_DECL_ff): Likewise.
167 (WRAPPER_DECL_fFF): Likewise.
168 (VECTOR_WRAPPER): Likewise.
169 (VECTOR_WRAPPER_ff): Likewise.
170 (VECTOR_WRAPPER_fFF): Likewise.
171 (VEC_LEN): New macro.
172 * math/test-float-vlen8.h: Include test-float.h,
173 test-math-no-inline.h and test-math-vector.h.
174 (FLOAT): Remove macro.
175 (FUNC): Likewise.
176 (MATHCONST): Likewise.
177 (PRINTF_EXPR): Likewise.
178 (PRINTF_XEXPR): Likewise.
179 (PRINTF_NEXPR): Likewise.
180 (TEST_FLOAT): Likewise.
181 (TEST_MATHVEC): Likewise.
182 (__NO_MATH_INLINES): Likewise.
183 (CNCT): Likewise.
184 (CONCAT): Likewise.
185 (WRAPPER_NAME): Likewise.
186 (WRAPPER_DECL): Likewise.
187 (WRAPPER_DECL_ff): Likewise.
188 (WRAPPER_DECL_fFF): Likewise.
189 (VECTOR_WRAPPER): Likewise.
190 (VECTOR_WRAPPER_ff): Likewise.
191 (VECTOR_WRAPPER_fFF): Likewise.
192 (VEC_LEN): New macro.
193 * math/test-float-vlen16.h: Include test-float.h,
194 test-math-no-inline.h and test-math-vector.h.
195 (FLOAT): Remove macro.
196 (FUNC): Likewise.
197 (MATHCONST): Likewise.
198 (PRINTF_EXPR): Likewise.
199 (PRINTF_XEXPR): Likewise.
200 (PRINTF_NEXPR): Likewise.
201 (TEST_FLOAT): Likewise.
202 (TEST_MATHVEC): Likewise.
203 (__NO_MATH_INLINES): Likewise.
204 (CNCT): Likewise.
205 (CONCAT): Likewise.
206 (WRAPPER_NAME): Likewise.
207 (WRAPPER_DECL): Likewise.
208 (WRAPPER_DECL_ff): Likewise.
209 (WRAPPER_DECL_fFF): Likewise.
210 (VECTOR_WRAPPER): Likewise.
211 (VECTOR_WRAPPER_ff): Likewise.
212 (VECTOR_WRAPPER_fFF): Likewise.
213 (VEC_LEN): New macro.
214 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
215 test-vec-loop.h.
216 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
217 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
218 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
219 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
220 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
221 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
222 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
223
5ba4a6eb
RM
2242015-06-24 Roland McGrath <roland@hack.frob.com>
225
226 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
227 (__getlogin_r): ... this.
228
a67894c5
JM
2292015-06-24 Joseph Myers <joseph@codesourcery.com>
230
231 [BZ #18594]
232 * math/s_ccosh.c (__ccosh): Compare with least normal value
233 instead of comparing class with FP_SUBNORMAL.
234 * math/s_ccoshf.c (__ccoshf): Likewise.
235 * math/s_ccoshl.c (__ccoshl): Likewise.
236 * math/s_cexp.c (__cexp): Likewise.
237 * math/s_cexpf.c (__cexpf): Likewise.
238 * math/s_cexpl.c (__cexpl): Likewise.
239 * math/s_csin.c (__csin): Likewise.
240 * math/s_csinf.c (__csinf): Likewise.
241 * math/s_csinh.c (__csinh): Likewise.
242 * math/s_csinhf.c (__csinhf): Likewise.
243 * math/s_csinhl.c (__csinhl): Likewise.
244 * math/s_csinl.c (__csinl): Likewise.
245 * math/s_ctan.c (__ctan): Likewise.
246 * math/s_ctanf.c (__ctanf): Likewise.
247 * math/s_ctanh.c (__ctanh): Likewise.
248 * math/s_ctanhf.c (__ctanhf): Likewise.
249 * math/s_ctanhl.c (__ctanhl): Likewise.
250 * math/s_ctanl.c (__ctanl): Likewise.
251 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
252 csin, csinh, ctan and ctanh.
253 * math/auto-libm-test-out: Regenerated.
254 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
255 * sysdeps/i386/fpu/libm-test-ulps: Update.
256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
257
01018690
RM
2582015-06-24 Roland McGrath <roland@hack.frob.com>
259
260 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
261 return value is wrong, print the expected value too.
262
eea3dc5b
L
2632015-06-24 H.J. Lu <hongjiu.lu@intel.com>
264
265 [BZ #18585]
266 * elf/readlib.c (is_gdb_python_file): New.
267 (process_file): Don't issue errors on filenames with -gdb.py
268 suffix.
269
8475ab16
JM
2702015-06-24 Joseph Myers <joseph@codesourcery.com>
271
6f874bd4
JM
272 * math/auto-libm-test-in: Add more tests of csin and csinh.
273 * math/auto-libm-test-out: Regenerated.
274 * math/libm-test.inc (csin_test_data): Remove tests moved to
275 auto-libm-test-in.
276 (csinh_test_data): Likewise.
277
ac831b36
JM
278 [BZ #18593]
279 * math/s_csin.c (__csin): Negate before rather than after possibly
280 overflowing multiplication.
281 * math/s_csinf.c (__csinf): Likewise.
282 * math/s_csinh.c (__csinh): Likewise.
283 * math/s_csinhf.c (__csinhf): Likewise.
284 * math/s_csinhl.c (__csinhl): Likewise.
285 * math/s_csinl.c (__csinl): Likewise.
286 * math/auto-libm-test-in: Add some tests of csin and csinh.
287 * math/auto-libm-test-out: Regenerated.
288 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
289 (csinh_test_data): Likewise.
290 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
291
8475ab16
JM
292 [BZ #18586]
293 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
294 underflow exception for small results.
295
36870482
AS
2962015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
297
298 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
bd0a60f9
RM
299 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
300 variable and included header.
36870482
AS
301 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
302 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
303 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
304 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
305 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
306 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
307 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
308 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
309 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
310 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
311 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
312 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
313 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
314 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
315 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
316 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
317
8b1bab5f
JM
3182015-06-23 Joseph Myers <joseph@codesourcery.com>
319
ad39cce0
JM
320 [BZ #16526]
321 [BZ #16538]
322 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
323 (__sin): Force underflow exception for arguments with small
324 absolute value.
325 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
326 (__kernel_sinf): Force underflow exception for arguments with
327 small absolute value.
328 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
329 (__kernel_sincosl): Force underflow exception for arguments with
330 small absolute value.
331 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
332 (__kernel_sinl): Force underflow exception for arguments with
333 small absolute value.
334 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
335 (__kernel_sincosl): Force underflow exception for arguments with
336 small absolute value.
337 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
338 (__kernel_sinl): Force underflow exception for arguments with
339 small absolute value.
340 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
341 (__kernel_sinl): Force underflow exception for arguments with
342 small absolute value.
343 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
344 (__kernel_sinf): Force underflow exception for arguments with
345 small absolute value.
346 * math/auto-libm-test-in: Add more tests of sin and sincos.
347 * math/auto-libm-test-out: Regenerated.
348
8b1bab5f
JM
349 [BZ #18245]
350 [BZ #18583]
351 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
352 (__kernel_standard_l): Use feholdexcept and fesetenv around
353 conversion to double instead of special-casing overflow and
354 underflow.
355 * math/libm-test.inc (fmod_test_data): Add more tests.
356 (remainder_test_data): Likewise.
357 (sqrt_test_data): Likewise.
358
c47ca964
TR
3592015-06-23 Torvald Riegel <triegel@redhat.com>
360
361 [BZ #17403]
362 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
363 atomic_read_barrier, atomic_write_barrier): Define.
364 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
365 atomic_read_barrier, atomic_write_barrier): Define.
366
b2faf4ea
JM
3672015-06-23 Joseph Myers <joseph@codesourcery.com>
368
369 * math/Makefile [$(PERL) != no]
370 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
371 dependency on libm-test.stmp below the inclusion of Rules.
372
5872b835
AS
3732015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
374
375 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
376 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
377 and included header.
378 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
379 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
380 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
381 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
382 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
383 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
384 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
385 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
386 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
387 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
388 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
389 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
390 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
391 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
392 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
393 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
394 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
395 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
396 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
397
b5954957
JM
3982015-06-23 Joseph Myers <joseph@codesourcery.com>
399
718d34a3
JM
400 [BZ #18371]
401 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
402 intermediate but not final result might underflow.
403 * math/s_csqrtf.c (__csqrtf): Likewise.
404 * math/s_csqrtl.c (__csqrtl): Likewise.
405 * math/auto-libm-test-in: Add more tests of csqrt.
406 * math/auto-libm-test-out: Regenerated.
407 * sysdeps/i386/fpu/libm-test-ulps: Update.
408
b5954957
JM
409 [BZ #18219]
410 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
411 threshold on absolute value of exponent for which scaling is used.
412 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
413 * math/auto-libm-test-in: Add more tests of exp2.
414 * math/auto-libm-test-out: Regenerated.
415
47852c97
DL
4162015-06-23 Dmitry V. Levin <ldv@altlinux.org>
417
b57525f1
DL
418 [BZ #17977]
419 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
420 when initializing interface list, based on the bug analysis
421 and the patch proposed by Eric Newton.
422 * resolv/tst-res_hconf_reorder.c: New test.
423 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
424 tst-res_hconf_reorder.
425 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
426 and $(shared-thread-library).
427 (tst-res_hconf_reorder-ENV): New variable.
428
47852c97
DL
429 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
430 in comment.
431
554edb23
JM
4322015-06-22 Joseph Myers <joseph@codesourcery.com>
433
434 [BZ #16353]
435 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
436 (__expm1): Force underflow exception for arguments with small
437 absolute value.
438 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
439 (__expm1f): Force underflow exception for arguments with small
440 absolute value.
441 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
442 (__expm1): Force underflow exception for arguments with small
443 absolute value.
444 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
445 (__expm1f): Force underflow exception for arguments with small
446 absolute value.
447 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
448 Check for small arguments before calling __expm1.
449 * math/auto-libm-test-in: Do not mark underflow exceptions as
450 possibly missing for bug 16353.
451 * math/auto-libm-test-out: Regenerated.
452
6b142b3a
AS
4532015-06-22 Andreas Schwab <schwab@suse.de>
454
455 [BZ #18513]
456 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
457 PTR queries.
458
f48b6732
LH
4592015-06-22 Leonhard Holz <leonhard.holz@web.de>
460
ef635a29
LH
461 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
462
f48b6732
LH
463 * string/strcoll_l.c: Remove unused struct element idxnow.
464
7540cfc5
JM
4652015-06-21 Joseph Myers <joseph@codesourcery.com>
466
cb0937b2
JM
467 [BZ #18569]
468 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
469 underflow and return argument in case of subnormal argument.
470 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
471 Likewise.
472 * math/auto-libm-test-in: Add more tests of expm1.
473 * math/auto-libm-test-out: Regenerated.
474
7540cfc5
JM
475 [BZ #16361]
476 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
fea1d8d6 477 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
7540cfc5
JM
478 tiny results.
479 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
fea1d8d6 480 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
7540cfc5
JM
481 tiny results.
482 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
483 mark underflow exceptions as possibly missing for bug 16361.
484 * math/auto-libm-test-out: Regenerated.
485
5675961d
JM
4862015-06-19 Joseph Myers <joseph@codesourcery.com>
487
d6cc0b4f
JM
488 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
489 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
490 Remove variable.
491 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
492 (test-xfail-XOPEN2K8/utmpx.h/conform).
493
5675961d
JM
494 * conform/conformtest.pl ($xerrors): New variable.
495 (note_error): New function.
496 (compiletest): New argument $xfail. Use not_error.
497 (runtest): Likewise.
498 (top level): Handle xfail- lines. Update calls to compiletest and
499 runtest. Handle xfail- and optional- in headers listed with
500 allow-header.
501 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
502 (O_EXEC): Likewise.
503 (O_SEARCH): Likewise.
504 * conform/data/stropts.h-data (ioctl): Likewise.
505 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
506 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
507 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
508 (msghdr.msg_controllen): Likewise.
509 (cmsghdr.cmsg_len): Likewise.
510 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
511 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
512 variable.
513 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
514 (test-xfail-XPG4/stropts.h/conform): Likewise.
515 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
516 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
517 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
518 (test-xfail-UNIX98/stropts.h/conform): Likewise.
519 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
520 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
521 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
522 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
523 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
524 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
525 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
526 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
527 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
528 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
529 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
530 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
531 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
532 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
533 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
534
c3424882
AS
5352015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
536
537 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
538 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
539 definitions for proper unfolding of __MATHDECL_VEC.
540
2419de07
SL
5412015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
542
543 * benchtests/bench-strcoll.c:
544 Include string.h.
545 (main): Remove unused variable res.
546
86fe1874
SL
5472015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
548
549 * timezone/Makefile (%/UTC %/Universal):
550 Generate test-result files for UTC and Universal.
551
52e96362
SL
5522015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
553
554 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
555
d1ac55d8
JM
5562015-06-18 Joseph Myers <joseph@codesourcery.com>
557
8db3cdef
JM
558 [BZ #16350]
559 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
560 for arguments with small absolute value.
561 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
562 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
563 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
564 (__asinh): Force underflow exception for arguments with small
565 absolute value.
566 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
567 (__asinhf): Force underflow exception for arguments with small
568 absolute value.
569 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
570 (__asinhl): Force underflow exception for arguments with small
571 absolute value.
572 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
573 (__asinhl): Force underflow exception for arguments with small
574 absolute value.
575 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
576 (__asinhl): Force underflow exception for arguments with small
577 absolute value.
578 * math/auto-libm-test-in: Do not mark underflow exceptions as
579 possibly missing for bug 16350.
580 * math/auto-libm-test-out: Regenerated.
581
a7a3c246
JM
582 * include/bits/ipc.h: Remove file.
583 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
584 variable.
585 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
586 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
587 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
588 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
589 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
590 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
591 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
592 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
593 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
594
a1ee4fd1
JM
595 * math/auto-libm-test-in: Remove spurious underflow allowance for
596 tests of cexp.
597 * math/auto-libm-test-out: Regenerated.
598
d1ac55d8
JM
599 [BZ #18558]
600 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
601 unconditional definition.
602 (MCAST_BLOCK_SOURCE): Likewise.
603 (MCAST_UNBLOCK_SOURCE): Likewise.
604 (MCAST_LEAVE_GROUP): Likewise.
605 (MCAST_JOIN_SOURCE_GROUP): Likewise.
606 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
607 (MCAST_MSFILTER): Likewise.
608 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
609 Remove variable.
610 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
611 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
612 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
613 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
614 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
615
8aa92022
AS
6162015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
617
a6336cc4
AS
618 * NEWS: Mention addition of x86_64 vector sincosf.
619 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
620 * math/test-float-vlen4.h: Likewise.
621 * math/test-float-vlen8.h: Likewise.
622 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
623 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
624 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
625 * sysdeps/x86_64/fpu/Versions: New versions added.
626 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
627 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
628 Added build of SSE, AVX2 and AVX512 IFUNC versions.
629 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
630 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
631 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
632 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
633 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
634 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
635 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
636 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
637 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
638 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
639 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
640 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
641 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
642 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
643 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
644 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
645 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
646 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
647 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
648 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
649 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
650
c9a8c526
AS
651 * NEWS: Mention addition of x86_64 vector sincos.
652 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
653 * math/math.h (__MATHDECL_VEC): New macro.
654 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
655 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
656 declaration under condition.
657 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
658 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
659 TEST_VEC_LOOP change.
660 * math/test-double-vlen4.h: Likewise.
661 * math/test-double-vlen8.h: Likewise.
662 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
663 * math/test-float-vlen4.h: Likewise.
664 * math/test-float-vlen8.h: Likewise.
665 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
666 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
667 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
668 * sysdeps/x86_64/fpu/Versions: New versions added.
669 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
670 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
671 Added build of SSE, AVX2 and AVX512 IFUNC versions.
672 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
673 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
674 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
675 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
676 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
677 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
678 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
679 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
680 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
681 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
682 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
683 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
684 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
685 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
686 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
687 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
688 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
689 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
690 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
691 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
692 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
693
8aa92022
AS
694 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
695 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
696 redirections for powf.
697 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
698 * sysdeps/x86_64/fpu/Versions: New versions added.
699 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
700 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
701 Added build of SSE, AVX2 and AVX512 IFUNC versions.
702 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
703 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
704 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
705 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
706 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
707 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
708 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
709 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
710 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
711 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
712 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
713 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
714 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
715 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
716 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
717 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
718 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
719 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
720 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
721 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
722 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
723 * math/test-float-vlen16.h: Fixed 2 argument macro.
724 * math/test-float-vlen4.h: Likewise.
725 * math/test-float-vlen8.h: Likewise.
726 * NEWS: Mention addition of x86_64 vector powf.
727
17c199ee
JM
7282015-06-17 Joseph Myers <joseph@codesourcery.com>
729
2f318445
JM
730 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
731 and redefine.
732 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
733 and redefine.
734 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
735 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
736 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
737
c3621351
JM
738 [BZ #18553]
739 * resource/getpriority.c (getpriority): Rename to __getpriority
740 and define as weak alias of __getpriority.
741 * resource/setpriority.c (setpriority): Rename to __setpriority
742 and define as weak alias of __setpriority.
743 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
744 __getpriority and define as weak alias of __getpriority.
745 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
746 __setpriority and define as weak alias of __setpriority.
747 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
748 strong name.
749 (setpriority): Use __setpriority as strong name.
750 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
751 __getpriority and define as weak alias of __getpriority.
752 * include/sys/resource.h (__getpriority): Declare. Use
753 libc_hidden_proto.
754 (__setpriority): Likewise.
755 (getpriority): Don't use libc_hidden_proto.
756 (setpriority): Likewise.
757 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
758 getpriority. Call __setpriority instead of setpriority.
759 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
760 Remove variable.
761
abccad04
JM
762 [BZ #18547]
763 * misc/getttyent.c (getttynam): Rename to __getttynam and define
764 as weak alias of __getttynam. Use prototype function definition.
765 Call __setttyent, __getttyent and __endttyent instead of
766 setttyent, getttyent and endttyent.
767 (getttyent): Rename to __getttyent and define as weak alias of
768 __getttyent. Call __setttyent instead of setttyent. Call
769 __fgets_unlocked instead of fgets_unlocked.
770 (setttyent): Rename to __setttyent and define as weak alias of
771 __setttyent.
772 (endttyent): Rename to __endttyent and define as weak alias of
773 __endttyent.
774 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
775 (__setttyent): Likewise.
776 (__endttyent): Likewise.
777 (getttyent): Don't use libc_hidden_proto.
778 (setttyent): Likewise.
779 (endttyent): Likewise.
780 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
781 __endttyent instead of setttyent, getttyent and endttyent.
782 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
783 Remove variable.
784
0595c984
JM
785 [BZ #18546]
786 * socket/recv.c (__recv): Use libc_hidden_def.
787 * socket/socket.c (__socket): Likewise.
788 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
789 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
790 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
791 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
792 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
793 libc_hidden_def.
794 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
795 libc_hidden_weak.
796 * include/sys/socket.h (__socket): Do not use attribute_hidden.
797 Use libc_hidden_proto.
798 (__recv): Likewise.
799 * socket/Versions (libc): Export __recv and __socket at version
800 GLIBC_PRIVATE.
801 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
802 instead of recv.
803 (init_mq_netlink): Call __socket instead of socket.
804 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
805 Remove variable.
806
dfa2d214
JM
807 [BZ #18545]
808 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
809 __mq_timedreceive and define as alias of __mq_timedreceive. Use
810 hidden_weak.
811 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
812 define as alias of __mq_timedsend. Use hidden_weak.
813 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
814 __mq_timedsend as strong name.
815 (mq_timedreceive): Use __mq_timedreceive as strong name.
816 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
817 (__mq_timedreceive): Likewise.
818 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
819 __mq_timedreceive instead of mq_timedreceive.
820 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
821 instead of mq_timedsend.
822 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
823 Remove variable.
824
c21d37de
JM
825 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
826 hidden_def and hidden_weak instead of libc_hidden_def and
827 libc_hidden_weak.
828 (top level): Refer to hidden_def in comment.
829 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
830 macro. Use it instead of libc_hidden_def.
831 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
832 specify __GI_* name explicitly.
833 (mq_timedreceive): Likewise.
834 (mq_setattr): Likewise.
835
90dd5913
JM
836 [BZ #18544]
837 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
838 __pthread_barrier_init and define as weak alias of
839 __pthread_barrier_init.
840 * sysdeps/sparc/nptl/pthread_barrier_init.c
841 (pthread_barrier_init): Likewise.
842 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
843 __pthread_barrier_wait and define as weak alias of
844 __pthread_barrier_wait.
845 * sysdeps/sparc/nptl/pthread_barrier_wait.c
846 (pthread_barrier_wait): Likewise.
847 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
848 (pthread_barrier_wait): Likewise.
849 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
850 (pthread_barrier_wait): Likewise.
851 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
852 (pthread_barrier_wait): Likewise.
853 * nptl/Versions (libpthread): Export __pthread_barrier_init and
854 __pthread_barrier_wait at version GLIBC_PRIVATE.
855 * include/pthread.h (__pthread_barrier_init): Declare.
856 (__pthread_barrier_wait): Likewise.
857 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
858 Call __pthread_barrier_wait instead of pthread_barrier_wait.
859 (helper_thread): Likewise.
860 (init_mq_netlink): Call __pthread_barrier_init instead of
861 pthread_barrier_init.
862
45dcd79f
JM
863 [BZ #18542]
864 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
865 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
866 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
867 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
868 vswscanf.
869 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
870 Remove variable.
871
eb1fae6a
JM
872 [BZ #18540]
873 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
874 strong alias of _IO_fflush. Use libc_hidden_def.
875 * libio/iofflush_u.c (fflush_unlocked): Rename to
876 __fflush_unlocked and define as weak alias of __fflush_unlocked.
877 Use libc_hidden_weak.
878 * include/stdio.h (__fflush_unlocked): Declare. Use
879 libc_hidden_proto.
880 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
881 fflush_unlocked.
882 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
883 Remove variable.
884
68f1ba4b
JM
885 [BZ #18539]
886 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
887 define as weak alias of __addseverity.
888 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
889 Remove variable.
890 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
891 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
892 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
893
d051b143
JM
894 [BZ #18536]
895 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
896 (__tfind): Likewise.
897 (__tdelete): Likewise.
898 (__twalk): Likewise.
899 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
900 __twalk to GLIBC_PRIVATE.
901 * include/search.h (__tsearch): Use libc_hidden_proto.
902 (__tfind): Likewise.
903 (__tdelete): Likewise.
904 (__twalk): Likewise.
905 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
906 Call __tdelete instead of tdelete.
907 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
908 tfind. Call __tsearch instead of tsearch.
909 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
910 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
911 Remove variable.
912 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
913
be7dc2b7
JM
914 [BZ #18534]
915 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
916 (dprintf): Define as a weak alias of __dprintf, not a strong
917 alias.
918 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
919 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
920 dprintf.
921 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
922 Remove variable.
923 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
924 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
925
a97e5e25
JM
926 [BZ #18533]
927 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
928 not a strong alias.
929 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
930 Remove variable.
931
17c199ee
JM
932 [BZ #18532]
933 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
934 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
935 (in6addr_loopback): Rename to __in6addr_loopback and define as
936 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
937 * include/netinet/in.h (__in6addr_loopback): Declare. Use
938 libc_hidden_proto.
939 (__in6addr_any): Likewise.
940 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
941 in6addr_any.
942 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
943 variable.
944 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
945
6af25acc
AS
9462015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
947
c10b9b13
AS
948 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
949 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
950 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
951 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
952 redirections for pow.
953 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
954 * sysdeps/x86_64/fpu/Versions: New versions added.
955 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
956 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
957 build of SSE, AVX2 and AVX512 IFUNC versions.
958 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
959 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
960 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
961 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
962 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
963 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
964 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
965 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
966 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
967 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
968 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
969 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
970 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
971 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
972 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
973 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
974 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
975 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
976 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
977 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
978 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
979 * NEWS: Mention addition of x86_64 vector pow.
980
1663be05
AS
981 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
982 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
983 redirections for expf.
984 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
985 * sysdeps/x86_64/fpu/Versions: New versions added.
986 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
987 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
988 build of SSE, AVX2 and AVX512 IFUNC versions.
989 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
990 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
991 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
992 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
993 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
994 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
995 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
996 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
997 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
998 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
999 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
1000 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
1001 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
1002 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1003 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1004 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1005 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1006 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1007 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1008 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1009 * NEWS: Mention addition of x86_64 vector expf.
1010
9c02f663
AS
1011 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
1012 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
1013 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1014 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1015 redirections for exp.
1016 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1017 * sysdeps/x86_64/fpu/Versions: New versions added.
1018 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1019 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1020 build of SSE, AVX2 and AVX512 IFUNC versions.
1021 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
1022 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
1023 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
1024 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
1025 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
1026 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
1027 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
1028 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
1029 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
1030 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
1031 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
1032 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
1033 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
1034 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1035 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1036 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1037 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1038 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1039 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1040 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1041 * NEWS: Mention addition of x86_64 vector exp.
1042
774488f8
AS
1043 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1044 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1045 redirections for logf.
1046 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1047 * sysdeps/x86_64/fpu/Versions: New versions added.
1048 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1049 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1050 build of SSE, AVX2 and AVX512 IFUNC versions.
1051 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
1052 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
1053 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
1054 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
1055 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
1056 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
1057 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
1058 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
1059 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
1060 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
1061 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
1062 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
1063 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
1064 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1065 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1066 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1067 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1068 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1069 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1070 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1071 * NEWS: Mention addition of x86_64 vector logf.
1072
6af25acc
AS
1073 * bits/libm-simd-decl-stubs.h: Added stubs for log.
1074 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
1075 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1076 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1077 redirections for log.
1078 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1079 * sysdeps/x86_64/fpu/Versions: New versions added.
1080 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1081 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1082 build of SSE, AVX2 and AVX512 IFUNC versions.
1083 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
1084 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
1085 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
1086 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
1087 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
1088 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
1089 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
1090 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
1091 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
1092 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
1093 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
1094 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
bd0a60f9
RM
1095 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
1096 test.
6af25acc
AS
1097 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1098 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1099 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1100 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1101 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1102 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1103 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1104 * NEWS: Mention addition of x86_64 vector log.
1105
08325735
SN
11062015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
1107
c71c89e5
SN
1108 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
1109 cfi_adjust_cfa_offset argument.
1110 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
1111 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1112
08325735
SN
1113 [BZ #18034]
1114 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
1115 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
1116 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
1117 ordering using ldar.
1118 (_dl_tlsdesc_dynamic): Likewise.
1119 (_dl_tlsdesc_return_lazy): Likewise.
1120 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
1121 relaxed atomics instead of volatile and synchronize with release store.
1122 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
1123 volatile.
1124 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1125
2a8c2c7b
AS
11262015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
1127
1128 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1129 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
1130 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1131 * sysdeps/x86_64/fpu/Versions: New versions added.
1132 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1133 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1134 build of SSE, AVX2 and AVX512 IFUNC versions.
1135 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
1136 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
1137 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
1138 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
1139 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
1140 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
1141 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
1142 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
1143 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
1144 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
1145 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
1146 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
1147 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
1148 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1149 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1150 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1151 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1152 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1153 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1154 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1155 * NEWS: Mention addition of x86_64 vector sinf.
1156
bf143578
JM
11572015-06-14 Joseph Myers <joseph@codesourcery.com>
1158
1159 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
1160 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
1161 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
1162 Remove variable.
1163 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1164 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1165
5371d99e
JM
11662015-06-12 Joseph Myers <joseph@codesourcery.com>
1167
3164bf09
JM
1168 [BZ #18530]
1169 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
1170 strong alias of _IO_fputs. Use libc_hidden_def.
1171 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
1172 and define as weak alias of __fputs_unlocked. Use
1173 libc_hidden_weak.
1174 * include/stdio.h (__fputs_unlocked): Declare. Use
1175 libc_hidden_proto.
1176 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
1177 fputs_unlocked.
1178
8737be80
JM
1179 [BZ #18529]
1180 * resolv/netdb.h [__USE_POSIX]: Change condition to
1181 [__USE_XOPEN2K].
1182 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
1183 not expect.
1184 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
1185 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
1186 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
1187 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
1188 [XPG4 || UNIX98] (AI_ALL): Likewise.
1189 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
1190 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
1191 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
1192 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
1193 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
1194 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
1195 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
1196 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
1197 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
1198 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
1199 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
1200 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
1201 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
1202 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
1203 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
1204 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1205 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1206 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
1207 [XPG4 || UNIX98] (gai_strerror): Likewise.
1208 [XPG4 || UNIX98] (getaddrinfo): Likewise.
1209 [XPG4 || UNIX98] (getnameinfo): Likewise.
1210
b400fdef
JM
1211 [BZ #18528]
1212 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
1213 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
1214 __USE_XOPEN2K8].
1215 (getgrent): Likewise.
1216 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
1217 expect.
1218 [XPG3 || POSIX2008] (endgrent): Likewise.
1219 [XPG3] (setgrent): Likewise.
1220 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
1221 variable.
1222 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1223
5371d99e
JM
1224 [BZ #18527]
1225 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
1226 define as weak alias of __getlogin_r. Use libc_hidden_weak.
1227 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
1228 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
1229 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
1230 * include/unistd.h (__getlogin_r): Declare. Use
1231 libc_hidden_proto.
1232 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
1233 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
1234 variable.
1235 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1236 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1237 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1238
a82a3db9
MS
12392015-06-12 Martin Sebor <msebor@redhat.com>
1240
1241 [BZ #18512]
1242 * Makerules (check-install-supported): New target.
1243 (install): Add check-install-supported as a dependency.
1244 * manual/install.texi (Installing the C Library): Document
1245 that overriding prefix and exec_prefix is not supported.
1246 Mention DESTDIR.
1247 * INSTALL: Regenerate from the above.
1248
9acacaa0
JM
12492015-06-12 Joseph Myers <joseph@codesourcery.com>
1250
9714012c
JM
1251 [BZ #18519]
1252 * posix/Versions (libc): Export __libc_pread at version
1253 GLIBC_PRIVATE.
1254 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
1255 instead of pread.
1256 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
1257 variable.
1258
498c1f6a
JM
1259 [BZ #18522]
1260 * misc/efgcvt_r.c
1261 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
1262 (cvt_symbol): Use weak_alias instead of strong_alias.
1263 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
1264 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
1265 Remove variable.
1266 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1267 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1268
9acacaa0
JM
1269 [BZ #18520]
1270 * inet/herrno.c (h_errno): Rename to __h_errno.
1271 (__libc_h_errno): Define as alias of __h_errno not h_errno.
1272 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
1273 to __h_errno instead of h_errno.
1274 * nptl/herrno.c (h_errno): Rename to __h_errno.
1275 (__h_errno_location): Refer to __h_errno not h_errno.
1276 * resolv/Versions (h_errno): Rename to __h_errno.
1277 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
1278 Remove variable.
1279 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1280
0724d898
AS
12812015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
1282
1283 * configure.ac: More strict check for AVX512 assembler support.
1284 * configure: Regenerated.
1285
4b9c2b70
AS
1286 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
1287 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
1288 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1289 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
1290 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1291 * sysdeps/x86_64/fpu/Versions: New versions added.
1292 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
bd0a60f9
RM
1293 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1294 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4b9c2b70
AS
1295 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
1296 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
1297 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
1298 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
1299 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
1300 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
1301 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
1302 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
1303 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
1304 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
1305 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
1306 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
bd0a60f9
RM
1307 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
1308 test.
4b9c2b70
AS
1309 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1310 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1311 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1312 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1313 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1314 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1315 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1316 * NEWS: Mention addition of x86_64 vector sin.
1317
1477b383
FW
13182015-06-11 Florian Weimer <fweimer@redhat.com>
1319
1320 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
1321 comment.
1322
78ad175b
GFM
13232015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
1324
1325 [BZ #18479]
1326 * nptl/pt-interp.c: New file.
1327 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
1328 Add pt-interp.
1329 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
1330 $(common-objpfx)runtime-linker.h.
1331
ac63a078
DL
13322015-06-10 Dmitry V. Levin <ldv@altlinux.org>
1333
1334 * Makeconfig (+interp): Remove unused variable.
1335 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
1336 only. Depend on $(common-objpfx)runtime-linker.h instead of
1337 $(elf-objpfx)runtime-linker.h.
1338 ($(elf-objpfx)runtime-linker.h): Rename to
1339 $(common-objpfx)runtime-linker.h and move ...
1340 * Makerules [$(build-shared) = yes]: ... here.
1341 * elf/interp.c: Include <runtime-linker.h> instead of
1342 <elf/runtime-linker.h>.
1343
7cbeabac
AZ
13442015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1345
1346 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
1347 (__gettimeofday_syscall): Remove vsyscall fallback.
1348 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
1349 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
1350 Add syscall fallback function.
1351 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
1352 if vDSO is not present.
1353 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
1354 fallback function.
1355 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
1356 present.
1357 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
1358 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
1359
d3ab671c
JM
13602015-06-09 Joseph Myers <joseph@codesourcery.com>
1361
2f44ee08
JM
1362 [BZ #18497]
1363 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
1364 of wcscmp.
1365 (wcscmp): Define as weak alias of WCSCMP.
1366 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
1367 wcscoll.
1368 (USE_HIDDEN_DEF): Define.
1369 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
1370 __wcscoll. Don't use libc_hidden_weak.
1371 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
1372 wcscmp.
1373 * sysdeps/i386/i686/multiarch/wcscmp-c.c
1374 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
1375 __GI_wcscmp.
1376 (weak_alias): Undefine and redefine.
1377 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
1378 __wcscmp and define as weak alias of __wcscmp.
1379 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
1380 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
1381 (__wcscoll): Likewise.
1382 (wcscmp): Don't use libc_hidden_proto.
1383 (wcscoll): Likewise.
1384 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
1385 wcscoll.
1386 * posix/regexec.c (check_node_accept_bytes): Likewise.
1387 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
1388 variable.
1389 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1390 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1391
d3ab671c
JM
1392 [BZ #18507]
1393 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
1394 __fstatvfs and define as weak alias of __fstatvfs. Use
1395 libc_hidden_weak.
1396 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
1397 and define as weak alias of __statvfs. Use libc_hidden_weak.
1398 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
1399 Define as alias of __fstatvfs, not fstatvfs.
1400 (fstatvfs64): Likewise.
1401 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
1402 Define as alias of __statvfs, not statvfs.
1403 (statvfs64): Likewise.
1404 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
1405 Remove variable.
1406
dd26c444
AZ
14072015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1408
1409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1410 (HAVE_GETCPU_VSYSCALL): Define.
1411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1412 (HAVE_GETCPU_VSYSCALL): Likewise.
1413 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
1414 * sysdeps/unix/sysv/linux/sched_getcpu.c
1415 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
1416 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
1417 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
1418 prototype.
1419 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1420 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
1421 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
1422 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
1423 Define.
1424 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
1425 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1426 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
1427 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1428
21933112
AS
14292015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
1430
1431 * sysdeps/x86_64/fpu/Makefile: New file.
1432 * sysdeps/x86_64/fpu/Versions: New file.
1433 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
1434 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
1435 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
1436 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
1437 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
1438 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
1439 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
1440 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
1441 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
1442 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
1443 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
1444 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
1445 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
bd0a60f9
RM
1446 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1447 Added build of SSE, AVX2 and AVX512 IFUNC versions.
21933112
AS
1448 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
1449 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
1450 * sysdeps/x86_64/configure.ac: Options for libmvec build.
1451 * sysdeps/x86_64/configure: Regenerated.
1452 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
1453 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
1454 * manual/install.texi (Configuring and compiling): Document
1455 --disable-mathvec.
1456 * INSTALL: Regenerated.
1457 * NEWS: Mention addition of libmvec and x86_64 vector cos.
1458
24a2718f
AS
1459 * math/Makefile: Added rules for vector tests.
1460 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
1461 declaration under condition.
1462 * math/test-double-vlen2.h: New file.
1463 * math/test-double-vlen4.h: New file.
1464 * math/test-double-vlen8.h: New file.
1465 * math/test-vec-loop.h: Added initialization macro.
1466 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
1467 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
1468 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
1469 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
1470 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
1471 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
1472 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
1473 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
1474 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
1475 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
1476 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
1477
04f496d6
AS
1478 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1479 * sysdeps/x86_64/fpu/Versions: New versions added.
1480 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
1481 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
1482 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
1483 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
1484 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
1485 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
1486 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
1487 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
1488 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
1489 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
1490 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
1491 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
1492 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
bd0a60f9
RM
1493 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1494 Added build of SSE, AVX2 and AVX512 IFUNC versions.
04f496d6
AS
1495 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1496 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
1497 * NEWS: Mention addition of x86_64 vector cosf.
1498
2a523216
AS
1499 * math/Makefile: Added CFLAGS for new tests.
1500 * math/test-float-vlen16.h: New file.
1501 * math/test-float-vlen4.h: New file.
1502 * math/test-float-vlen8.h: New file.
1503 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
1504 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
1505 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1506 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
1507 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
1508 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
1509 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
1510 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
1511 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
1512 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
1513 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
1514
fc5771e4
MM
15152015-06-09 Marko Myllynen <myllynen@redhat.com>
1516
1517 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
1518 * locale/programs/ld-ctype.c: Likewise.
1519
5fe2a126
AS
15202015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
1521
1522 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
1523 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
1524 bit_ZMM16_31_state): New macro.
1525 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1526 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
1527
3ac3ff32
JM
15282015-06-08 Joseph Myers <joseph@codesourcery.com>
1529
1530 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
1531
5b5ee4d9
ST
15322015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
1533
1534 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
1535
9dd6b779
JM
15362015-06-05 Joseph Myers <joseph@codesourcery.com>
1537
711f67a7
JM
1538 [BZ #18498]
1539 * libio/memstream.c (open_memstream): Rename to __open_memstream
1540 and define as weak alias of __open_memstream.
1541 * include/stdio.h (__open_memstream): Declare. Use
1542 libc_hidden_proto.
1543 (open_memstream): Don't use libc_hidden_proto.
1544 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
1545 open_memstream.
1546 * posix/getopt.c (_getopt_internal_r): Likewise.
1547 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
1548 variable.
1549 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1550 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1551 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1552
a5f0adb3
JM
1553 [BZ #18496]
1554 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
1555 instead of wcrtomb.
1556
007f2dd1
JM
1557 [BZ #18483]
1558 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
1559 [__USE_XOPEN2K8]. Remove redundant #endif.
1560 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
1561 Remove redundant #if.
1562 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
1563 Remove variable.
1564 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1565 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1566
9dd6b779
JM
1567 [BZ #18495]
1568 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
1569 (__iswlower): Likewise.
1570 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
1571 (__iswlower): Likewise.
1572 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
1573 instead of towlower.
1574 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
1575 instead of iswlower. Call __towupper instead of towupper.
1576 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
1577 instead of iswalnum.
1578
02242448
TMQMF
15792015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1580
1581 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
1582 errors to stderr.
1583
7fe9e2e0
FW
15842015-06-05 Florian Weimer <fweimer@redhat.com>
1585
1586 [BZ #15661]
a330baa0 1587 [BZ #17322]
7fe9e2e0
FW
1588 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1589 Check for overflow properly. Check for O_APPEND. Ignore large
1590 file system block sizes. Add comments about problems.
1591 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
1592 * manual/filesys.texi (Storage Allocation): New node.
1593
c6bb095e
AZ
15942015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1595
1596 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
1597 cancellable syscalls.
1598 (SYS_ify): Add guard to no redefine it.
1599 (INLINE_SYSCALL): Likewise.
1600 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
1601 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
1602 SYSCALL_CANCEL instead.
1603 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
1604 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1605 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1606 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1607 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1608 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
1609 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
1610 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
1611 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1612 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1613 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
1614 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
1615 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
1616 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
1617 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
1618 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1619 Likewise.
1620 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1621 (__libc_pread64): Likewise.
1622 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
1623 (__libc_preadv): Likewise.
1624 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
1625 (__libc_readv64): Likewise.
1626 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1627 (__libc_pwrite): Likewise.
1628 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1629 (__libc_pwrite64): Likewise.
1630 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
1631 (__libc_pwritev): Likewise.
1632 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
1633 (__libc_pwritev64): Likewise.
1634 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
1635 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
1636 (sync_file_range): Likewise.
1637 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
1638 Likewise.
1639 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
1640 Likewise.
1641 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1642 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1643 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1644 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1645 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1646 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1647 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1648 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
1649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1650 Likewise.
1651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1652 (__libc_read64): Likewise.
1653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
1654 Likewise.
1655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
1656 Likewise.
1657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
1658 Likewise.
1659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
1660 Likewise.
1661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1662 (__libc_pread64): Likewise.
1663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
1664 Likewise.
1665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1666 (__libc_pwrite64): Likewise.
1667 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
1668 (sync_file_range): Likewise.
1669 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
1670 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1671 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1672 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
1673 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
1674 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1675 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1676 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
1677 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
1678 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1679 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1680 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1681 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1682 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1683 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
1684 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1685 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1686 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1687 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1688 Likewise.
1689 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
1690 Likewise.
1691 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
1692 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
1693 Likewise.
1694 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
1695 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
1696 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
1697 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
1698 Likewise.
1699 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
1700 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
1701 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
1702 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
1703 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
1704
b65d3e5f
NL
17052015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
1706
1707 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
1708 Include dl-vdso.
1709 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
1710 Use VDSO routines for gettimeofday, clock_gettime if
1711 available.
1712 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
1713 Declare VDSO symbols.
1714 * sysdeps/unix/sysv/linux/arm/sysdep.h:
1715 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
1716 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1717 * sysdeps/unix/sysv/linux/arm/Versions: Add
1718 __vdso_clock_gettime.
1719
34caaafd
AZ
17202015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1721
1722 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
1723 be an inline implementation regardless of library is built within.
1724 (open_not_cancel_2): Likewise.
1725 (__read_nocancel): Likewise.
1726 (__write_nocancel): Likewise.
1727 (openat_not_cancel): Likewise.
1728 (openat_not_cancel_3): Likewise.
1729 (openat64_not_cancel): Likewise.
1730 (openat64_not_cancel_3): Likewise.
1731 (__close_nocancel): Likewise.
1732 (pause_not_cancel): Likewise.
1733 (nanosleep_not_cancel): Likewise.
1734 (sigsuspend_not_cancel): Likewise.
1735
b634486d
TR
17362015-06-04 Torvald Riegel <triegel@redhat.com>
1737
1738 [BZ #14958]
1739 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
1740 wake-up.
1741 (__pthread_rwlock_rdlock_slow): Likewise.
1742 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1743 Likewise.
1744 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1745 Likewise.
1746 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
1747 * nptl/tst-rwlock16.c: New file.
1748 * nptl/Makefile (tests): Add new test.
1749
3c9c61fe
TR
17502015-06-04 Torvald Riegel <triegel@redhat.com>
1751
1752 [BZ #18324]
1753 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
1754 missing wake-up of readers.
1755 * nptl/tst-rwlock15.c: New file.
1756 * nptl/Makefile (tests): Add new test.
1757
da7f049c
RM
17582015-06-03 Roland McGrath <roland@hack.frob.com>
1759
1760 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
1761 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
1762 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
1763 and __nacl_supply_interface_rtld.
1764 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
1765 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
1766 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
1767 Add __nacl_supply_interface_rtld.
1768 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
1769
cbf377ed
WD
17702015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
1771
1772 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
1773 isfinite.
1774 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1775 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
1776
d81f90cc
WD
17772015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
1778
1779 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
1780 __signbit* with standard C99 macros.
1781 * math/e_exp10l.c: Likewise.
1782 * math/e_exp2l.c: Likewise.
1783 * math/e_scalb.c: Likewise.
1784 * math/e_scalbf.c: Likewise.
1785 * math/e_scalbl.c: Likewise.
1786 * math/s_ldexp.c: Likewise.
1787 * math/s_ldexpf.c: Likewise.
1788 * math/s_ldexpl.c: Likewise.
1789 * math/w_atan2.c: Likewise.
1790 * math/w_atan2f.c: Likewise.
1791 * math/w_atan2l.c: Likewise.
1792 * math/w_cosh.c: Likewise.
1793 * math/w_coshf.c: Likewise.
1794 * math/w_coshl.c: Likewise.
1795 * math/w_exp10.c: Likewise.
1796 * math/w_exp10f.c: Likewise.
1797 * math/w_exp10l.c: Likewise.
1798 * math/w_exp2.c: Likewise.
1799 * math/w_exp2f.c: Likewise.
1800 * math/w_exp2l.c: Likewise.
1801 * math/w_fmod.c: Likewise.
1802 * math/w_fmodf.c: Likewise.
1803 * math/w_fmodl.c: Likewise.
1804 * math/w_hypot.c: Likewise.
1805 * math/w_hypotf.c: Likewise.
1806 * math/w_hypotl.c: Likewise.
1807 * math/w_jnl.c: Likewise.
1808 * math/w_lgamma.c: Likewise.
1809 * math/w_lgamma_r.c: Likewise.
1810 * math/w_lgammaf.c: Likewise.
1811 * math/w_lgammaf_r.c: Likewise.
1812 * math/w_lgammal.c: Likewise.
1813 * math/w_lgammal_r.c: Likewise.
1814 * math/w_pow.c: Likewise.
1815 * math/w_powf.c: Likewise.
1816 * math/w_powl.c: Likewise.
1817 * math/w_remainder.c: Likewise.
1818 * math/w_remainderf.c: Likewise.
1819 * math/w_remainderl.c: Likewise.
1820 * math/w_scalb.c: Likewise.
1821 * math/w_scalbf.c: Likewise.
1822 * math/w_scalbl.c: Likewise.
1823 * math/w_scalbln.c: Likewise.
1824 * math/w_scalblnf.c: Likewise.
1825 * math/w_scalblnl.c: Likewise.
1826 * math/w_sinh.c: Likewise.
1827 * math/w_sinhf.c: Likewise.
1828 * math/w_sinhl.c: Likewise.
1829 * math/w_tgamma.c: Likewise.
1830 * math/w_tgammaf.c: Likewise.
1831 * math/w_tgammal.c: Likewise.
1832 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1833 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
1834 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1835 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1836 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1837 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1838 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1839 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1840 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1841 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1842 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1843 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1844 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1845 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1846 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1847 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1848 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1849 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1850 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1851 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1852 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1853 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1854 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1855 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1856 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1857 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1858 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
1859 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1860 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1861 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1862 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
1863 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
1864 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
1865 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
1866 * stdio-common/printf_fp.c: Likewise.
1867 * stdio-common/printf_fphex.c: Likewise.
1868 * stdio-common/printf_size.c: Likewise.
1869
aca6ea65
JM
18702015-06-03 Joseph Myers <joseph@codesourcery.com>
1871
f014e87e
JM
1872 [BZ #18470]
1873 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
1874 strnlen.
1875 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
1876 Remove variable.
1877 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1878 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1879 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1880 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1881 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1882 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1883 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1884 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1885 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1886 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1887
aca6ea65
JM
1888 [BZ #18468]
1889 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
1890 weak alias of __wmemchr. Use libc_hidden_weak.
1891 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
1892 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
1893 instead of wmemchr.
1894
1a1a6bde
RM
18952015-06-02 Roland McGrath <roland@hack.frob.com>
1896
1897 [BZ #18383]
1898 * elf/tst-tlsalign-extern.c: New file.
1899 * elf/tst-tlsalign-extern-static.c: New file.
1900 * elf/tst-tlsalign-vars.c: New file.
1901 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
1902 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
1903 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
1904 ($(objpfx)tst-tlsalign-extern-static): Likewise.
1905 (test-xfail-tst-tlsalign-extern-static): New variable.
1906
bb4acb52
JM
19072015-06-02 Joseph Myers <joseph@codesourcery.com>
1908
e0c349b4
JM
1909 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
1910 Use variable name _sc_err instead of err.
1911 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
1912 instead of ret.
1913 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1914 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
1915 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1916 (INLINE_SYSCALL): Likewise.
1917
17696087
JM
1918 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
1919 * include/string.h (__strnlen): Use libc_hidden_proto.
1920 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
1921 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
1922 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
1923 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
1924 (libc_hidden_def): Undefine and redefine.
1925 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
1926 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
1927 __GI_strnlen.
1928 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
1929 libc_hidden_def.
1930 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
1931
bb4acb52
JM
1932 [BZ #18469]
1933 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
1934 weak alias of __towlower. Use libc_hidden_weak.
1935 (towupper): Rename to __towupper and define as weak alias of
1936 __towupper. Use libc_hidden_weak.
1937 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
1938 (__towupper): Likewise.
1939 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
1940 __towlower instead of towlower.
1941
6cfae52e
RM
19422015-06-02 Roland McGrath <roland@hack.frob.com>
1943
1944 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
1945 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
1946
71bf272d
WD
19472015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1948
1949 * sysdeps/aarch64/libm-test-ulps: Update.
1950
1395ef21
AZ
19512015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1952
1953 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
1954 Define.
1955 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1956 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1957 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
1958 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1959 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
1960 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
1961 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
1962
44c92499 19632015-06-01 Martin Sebor <msebor@redhat.com>
db8fed87
MS
1964
1965 [BZ #18116]
44c92499
AZ
1966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1967 (__setcontext): Use extended four-operand version of mtsf whenever
db8fed87 1968 possible.
44c92499
AZ
1969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1970 (__novec_swapcontext): Likewise.
db8fed87 1971
0994b9b6
SP
19722015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1973
0cd28286
SP
1974 * benchtests/scripts/compare_bench.py: New file.
1975 * benchtests/scripts/import_bench.py (mean): New function.
1976 (split_list): Likewise.
1977 (do_for_all_timings): Likewise.
1978 (compress_timings): Likewise.
1979
0994b9b6
SP
1980 * benchtests/scripts/import_bench.py: New file.
1981 * benchtests/scripts/validate_benchout.py: Import import_bench
1982 instead of jsonschema.
1983 (validate_bench): Remove function.
1984 (main): Use import_bench.
1985
2483fa85
SE
19862015-06-01 Steve Ellcey <sellcey@imgtec.com>
1987
1988 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
1989 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
1990
fd57d826
AZ
19912015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1992
1993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1994
f2175470
RM
19952015-05-28 Roland McGrath <roland@hack.frob.com>
1996
3ed01512
RM
1997 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
1998 set THREAD_SELF->tid to a magic value and futex-wake it.
1999 Pass its address to the thread_exit system call.
2000 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
2001 bit is clear.
2002 * sysdeps/nacl/lowlevellock.h: New file.
2003 * sysdeps/nacl/lll_timedwait_tid.c: New file.
2004
f2175470
RM
2005 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
2006 Add TIMEOUT to current time, don't subtract it.
2007
58007e9e
L
20082015-05-28 H.J. Lu <hongjiu.lu@intel.com>
2009
2010 [BZ #18422]
2011 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
2012 ($(objpfx)tst-audit2.out): Also depend on
2013 $(objpfx)tst-auditmod9b.so.
2014 * elf/tst-audit2.c: Include <dlfcn.h>.
2015 (calloc_called): New.
2016 (calloc): Allow to be called more than once.
2017 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
2018
be2e25bb
WD
20192015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
2020
2021 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
2022 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
2023
d28311a1
MM
20242015-05-27 Marko Myllynen <myllynen@redhat.com>
2025
2026 * stdlib/monetary.h: Fix comment.
2027
18270599
CM
20282015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
2029
2030 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
2031 Avoid using variables in #defines that might cause shadowing.
2032 (INTERNAL_VSYSCALL_CALL): Likewise.
2033
68c97aef
RM
20342015-05-26 Roland McGrath <roland@hack.frob.com>
2035
1f3a37b1
RM
2036 * sysdeps/nacl/lll_timedlock_wait.c: New file.
2037
68c97aef
RM
2038 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
2039 * nptl/lll_timedlock_wait.c: ... to this new file.
2040 * nptl/Makefile (libpthread-routines): Add it.
2041 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
2042 * nptl/lll_timedwait_tid.c: ... to this new file.
2043 * nptl/Makefile (libpthread-routines): Add it.
2044 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
2045 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
2046 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
2047 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
2048 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
2049 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
2050 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
2051 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
2052 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
2053 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
2054
97554e43
AZ
20552015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2056
2057 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
2058 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2059 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2060 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
2061 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2062 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2063 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2064 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2065 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2066 * sysdeps/unix/sysv/linux/tile/sysdep.h
2067 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2068 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
2069 using vDSO syscall macro.
2070
6afb9c01
AR
20712015-05-26 Andriy Rysin <arysin@gmail.com>
2072
2073 [BZ #17293]
2074 * uk_UA: Fix sorting order for Ukrainian locale
2075
f09b8615
SP
20762015-05-26 Marko Myllynen <myllynen@redhat.com>
2077
2078 * stdlib/monetary.h: Fix comment.
2079
a06b40cd
SN
20802015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
2081
2082 [BZ #18234]
2083 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
2084 st_mtim and st_ctim members.
2085 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
2086 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
2087 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
2088 (struct stat64): Likewise.
2089 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
2090 (struct stat64): Likewise.
2091 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
2092 (struct stat64): Likewise.
2093
f534255e
AZ
20942015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2095
2096 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
2097 Define and include sysdep-vdso.h.
2098 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
2099 Likewise.
2100 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
2101 Likewise.
2102 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
2103 Define with VDSO_SYMBOL and use PTR_MANGLE.
2104 (__vdso_clock_gettime): Likewise.
2105 (__vdso_clock_getres): Likewise.
2106 (_libc_vdso_platform_setup): Likewise.
2107 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2108 Likewise.
2109 (_libc_vdso_platform_setup): Likewise.
2110 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
2111 Likewise.
2112 (__vdso_clock_gettime): Likewise.
2113 (__vdso_clock_getres): Likewise.
2114 (__vdso_get_tbfreq): Likewise.
2115 (__vdso_getcpu): Likewise.
2116 (__vdso_time): Likewise.
2117 (__vdso_sigtramp_rt64): Likewise.
2118 (__vdso_signtramp32): Likewise.
2119 (__vdso_sigtramp_rt32): Likewise.
2120 (_libc_vdso_platform_setup): Likewise.
2121 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
2122 Likewise.
2123 (__vdso_clock_gettime): Likewise.
2124 (__vdso_clock_getres): Likewise.
2125 (_libc_vdso_platform_setup): Likewise.
2126 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
2127 Likewise.
2128 (__vdso_clock_gettime): Likewise.
2129 (_libc_vdso_platform_setup): Likewise.
2130 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2131 Likewise.
2132 (__vdso_getcpu): Likewise.
2133 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
2134 Use VDSO_SYMBOL macro to define.
2135 (__vdso_clock_gettime): Likewise.
2136 (__vdso_clock_getres): Likewise.
2137 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
2138 Likewise.
2139 (__vdso_clock_gettime): Likewise.
2140 (__vdso_clock_getres): Likewise.
2141 (__vdso_get_tbfreq): Likewise.
2142 (__vdso_getcpu): Likewise.
2143 (__vdso_time): Likewise.
2144 (__vdso_sigtramp_rt64): Likewise.
2145 (__vdso_signtramp32): Likewise.
2146 (__vdso_sigtramp_rt32): Likewise.
2147 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
2148 Likewise.
2149 (__vdso_clock_gettime): Likewise.
2150 (__vdso_clock_getres): Likewise.
2151 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
2152 Likewise.
2153 (__vdso_clock_gettime): Likewise.
2154 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2155 Likewise.
2156 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
2157 macro.
2158 (INTERNAL_VSYSCALL): Likewise.
2159 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
2160 Remove macro.
2161 (INTERNAL_VSYSCALL): Likewise.
2162 (INTERNAL_VSYSCALL_NCS): Likewise.
2163 (INTERNAL_VSYSCALL_CALL): New macro.
2164 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2165 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
2166 Likewise.
2167 (INTERNAL_VSYSCALL): Likewise.
2168 (INTERNAL_VSYSCALL_NCS): Likewise.
2169 (INTERNAL_VSYSCALL_CALL): New macro.
2170 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2172 (INLINE_VSYSCALL): Remove macro.
2173 (INTERNAL_VSYSCALL): Remove macro.
2174 (INTERNAL_VSYSCALL_NCS): Remove macro.
2175 (INTERNAL_VSYSCALL_CALL): New macro.
2176 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
2177 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
2178 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2179 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
2180 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2182 (INLINE_VSYSCALL): Remove macro.
2183 (INTERNAL_VSYSCALL): Likewise.
2184 (INTERNAL_VSYSCALL_NCS): Likewise.
2185 (INTERNAL_VSYSCALL_CALL): New macro.
2186 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
2187 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
2188 PTR_DEMANGLE on vDSO pointer.
2189 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2190 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
2191 macro.
2192 (INTERNAL_SYSCALL): Likewise.
2193 (INTERNAL_VSYSCALL_NCS): Remove macro.
2194 (INTERNAL_VSYSCALL_CALL): New macro.
2195 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
2196 Remove macro.
2197 (INTERNAL_VSYSCALL): Likewise.
2198 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
2199 sysdep-vdso.h instead of libc-vdso.h.
2200 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
2201 definition.
2202 (INLINE_VSYSCALL): Likewise.
2203 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
2204 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
2205 definition.
2206 (INLINE_VSYSCALL): Likewise.
2207 (INTERNAL_VSYSCALL): Likewise.
2208 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2209 * sysdeps/unix/sysv/linux/timespec_get.c
2210 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2211 (timespec_get): Use ANSI prototype.
2212 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
2213 and definition for Linux.
2214
829a679f
AS
22152015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
2216
2217 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
2218 * include/libc-symbols.h: libmvec_hidden_* macro series added.
2219
3e058c9d
L
22202015-05-22 H.J. Lu <hongjiu.lu@intel.com>
2221
2222 [BZ #18410]
2223 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
2224 for missing DT_PLTRELSZ.
2225
333e1ba4
PE
22262015-05-22 Paul Eggert <eggert@cs.ucla.edu>
2227
2228 Remove obsolete aliases that broke 'locale -a'
2229 [BZ #18412]
2230 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
2231 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
2232 breaking some applications that use 'locale -a' output.
2233 Change the encoding of this file from Latin-1 to ASCII to avoid
2234 other potential problems with people grepping this file.
2235
60dce8b9
AZ
22362015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2237
2238 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
2239 -fasynchronous-unwind-tables.
2240 (CFLAGS-sendto.c): Likewise.
2241 (CFLAGS-sendmsg.c): Likewise.
2242 (CFLAGS-connect.c): Likewise.
2243 (CFLAGS-recvmsg.c): Likewise.
2244 (CFLAGS-recvfrom.c): Likewise.
2245 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
2246 (SOCKETCALL): New macro: non-cancellable socketcall.
2247 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
2248 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
2249 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
2250 * sysdeps/unix/sysv/linux/accept.c: New file.
2251 * sysdeps/unix/sysv/linux/bind.c: Likewise.
2252 * sysdeps/unix/sysv/linux/connect.c: Likewise.
2253 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
2254 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
2255 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
2256 * sysdeps/unix/sysv/linux/listen.c: Likewise.
2257 * sysdeps/unix/sysv/linux/recv.c: Likewise.
2258 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
2259 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2260 * sysdeps/unix/sysv/linux/send.c: Likewise.
2261 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2262 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
2263 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
2264 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
2265 * sysdeps/unix/sysv/linux/socket.c: Likewise.
2266 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
2267 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
2268 prototype.
2269 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
2270 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2271 instead of __internal_xxx function.
2272 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
2273 prototype.
2274 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
2275 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2276 instead of __internal_xxx function.
2277 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
2278 prototype.
2279 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
2280 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2281 instead of __internal_xxx function.
2282 * sysdeps/unix/sysv/linux/accept.S: Remove file.
2283 * sysdeps/unix/sysv/linux/bind.S: Likewise.
2284 * sysdeps/unix/sysv/linux/connect.S: Likewise.
2285 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
2286 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
2287 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
2288 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
2289 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
2290 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
2291 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
2292 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
2293 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2294 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
2295 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
2296 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
2297 * sysdeps/unix/sysv/linux/listen.S: Likewise.
2298 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
2299 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
2300 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
2301 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
2302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
2303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
2304 * sysdeps/unix/sysv/linux/recv.S: Likewise.
2305 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
2306 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
2307 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
2308 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2309 * sysdeps/unix/sysv/linux/send.S: Likewise.
2310 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
2311 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
2312 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
2313 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
2314 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
2315 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
2316 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
2317 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
2318 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2319 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
2320 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
2321 socketcall is implemented in GLIBC.
2322
fded7ed6
JM
23232015-05-22 Joseph Myers <joseph@codesourcery.com>
2324
dc6b5aed
JM
2325 * soft-fp/fmadf4.c: Include <libc-internal.h>.
2326 (__fma): Ignore uninitialized warnings around packing.
2327 * soft-fp/fmasf4.c: Include <libc-internal.h>.
2328 (__fmaf): Ignore uninitialized warnings around packing.
2329 * soft-fp/fmatf4.c: Include <libc-internal.h>.
2330 (__fmal): Ignore uninitialized warnings around packing.
2331
0c3717e7
JM
2332 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
2333 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2334 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
2335 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2336
31a8780d
JM
2337 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
2338 switch statement into default case.
2339 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
2340
fded7ed6
JM
2341 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
2342 a conditional in forcing "inexact".
2343 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2344 Likewise.
2345
992328e5
RM
23462015-05-22 Roland McGrath <roland@hack.frob.com>
2347
2348 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2349 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
2350 for each INTERNAL_SYSCALL use.
2351
cf06a4e3
JM
23522015-05-22 Joseph Myers <joseph@codesourcery.com>
2353
4e5f9259
JM
2354 [BZ #438]
2355 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
2356 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
2357 variable.
2358
cf06a4e3
JM
2359 [BZ #18444]
2360 * string/basename.c (basename): Rename to __basename and define as
2361 weak alias of __basename. Use libc_hidden_weak.
2362 * include/string.h (__basename): Declare. Use libc_hidden_proto.
2363 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
2364 __basename instead of basename.
2365 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
2366 Remove variable.
2367 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2368
e69dcccb
FW
23692015-05-18 Florian Weimer <fweimer@redhat.com>
2370
2371 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
2372 (_IO_JUMPS_FILE_plus): New.
2373 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
2374 _IO_CAST_FIELD_ACCESS.
2375 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
2376 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
2377 * libio/freopen.c (freopen): Likewise.
2378 * libio/freopen64.c (freopen64): Likewise.
2379 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
2380 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
2381 * libio/iofwide.c (_IO_fwide): Likewise.
2382 * libio/memstream.c (open_memstream): Likewise.
2383 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2384 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2385 * libio/oldiopopen.c (_IO_old_popen): Likewise.
2386
9d12d765
JM
23872015-05-21 Joseph Myers <joseph@codesourcery.com>
2388
9124ccf7
JM
2389 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
2390 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
2391 NADJ.
2392 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
2393 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
2394 NADJ.
2395 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
2396 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
2397 NADJ.
2398
89f3b6e1
JM
2399 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
2400 (p == 4) case.
2401
9d12d765
JM
2402 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
2403 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
2404 Remove variable.
2405 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2406 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2407 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2408
0f87de79
FW
24092015-05-21 Florian Weimer <fweimer@redhat.com>
2410
2411 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
2412 Adjust jump table label generation macros.
2413
f8194fa6
FW
24142015-05-21 Florian Weimer <fweimer@redhat.com>
2415
2416 * stdio-common/vfprintf.c (vfprintf): Move local variables
2417 args_malloced, specs, specs_malloced, and the code after
2418 do_positional to the printf_positional function.
2419 (printf_positional): New function.
2420
f0f98189
FW
24212015-05-21 Florian Weimer <fweimer@redhat.com>
2422
2423 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
2424 function.
2425 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
2426 STEP4_TABLE, process_arg): Move macro definitions
2427 out of the vfprintf function. (Cosmetic change only.)
2428
608f8971
CD
24292015-05-21 Carlos O'Donell <carlos@redhat.com>
2430
2431 * benchtests/Makefile (stdio-common-bench): Define.
2432 (benchset): Add stdio-common-bench.
2433 * sprintf-inputs: New file.
2434 * sprintf-source.c: New file.
2435
2212c142
AS
24362015-05-21 Andreas Schwab <schwab@suse.de>
2437
2438 [BZ #13028]
2439 [BZ #17053]
2440 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
2441 of struct __res_state.
2442 * resolv/res_send.c (__libc_res_nsend): Likewise.
2443 (get_nsaddr): New function.
2444 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
2445 statp directly.
2446
be8b8f17
JM
24472015-05-20 Joseph Myers <joseph@codesourcery.com>
2448
f5857378
JM
2449 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
2450 -D_POSIX_C_SOURCE=199506L.
2451
38d3d5b7
JM
2452 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
2453
be8b8f17
JM
2454 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
2455 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
2456 Do not mention otherwise.
2457 [POSIX] (_XOPEN_VERSION): Do not expect.
2458 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
2459 [POSIX] (_POSIX2_C_BIND): Likewise.
2460 [POSIX] (_POSIX2_VERSION): Likewise.
2461 [POSIX] (_XOPEN_XPG2): Likewise.
2462 [POSIX] (_XOPEN_XPG3): Likewise.
2463 [POSIX] (_XOPEN_XPG4): Likewise.
2464 [POSIX] (_XOPEN_UNIX): Likewise.
2465 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
2466 [POSIX] (_POSIX_BARRIERS): Likewise.
2467 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
2468 [POSIX] (_POSIX_CPUTIME): Likewise.
2469 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
2470 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
2471 [POSIX] (_POSIX_SHELL): Likewise.
2472 [POSIX] (_POSIX_SPAWN): Likewise.
2473 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
2474 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
2475 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
2476 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
2477 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
2478 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
2479 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
2480 [POSIX] (_XBS5_LP64_OFF64): Likewise.
2481 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
2482 [POSIX] (_POSIX_TIMEOUTS): Likewise.
2483 [POSIX] (_POSIX2_PBS): Likewise.
2484 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
2485 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
2486 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
2487 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
2488 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
2489 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
2490 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
2491 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
2492 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
2493 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
2494 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
2495 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
2496 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
2497 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
2498 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
2499 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
2500 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
2501 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
2502 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
2503 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
2504 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
2505 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
2506 [POSIX] (_SC_2_C_BIND): Likewise.
2507 [POSIX] (_SC_2_C_VERSION): Likewise.
2508 [POSIX] (_SC_2_PBS): Likewise.
2509 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
2510 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
2511 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
2512 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
2513 [POSIX] (_SC_2_PBS_TRACK): Likewise.
2514 [POSIX] (_SC_ATEXIT_MAX): Likewise.
2515 [POSIX] (_SC_BARRIERS): Likewise.
2516 [POSIX] (_SC_BASE): Likewise.
2517 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
2518 [POSIX] (_SC_DEVICE_IO): Likewise.
2519 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
2520 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
2521 [POSIX] (_SC_FD_MGMT): Likewise.
2522 [POSIX] (_SC_FIFO): Likewise.
2523 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
2524 [POSIX] (_SC_FILE_LOCKING): Likewise.
2525 [POSIX] (_SC_FILE_SYSTEM): Likewise.
2526 [POSIX] (_SC_IOV_MAX): Likewise.
2527 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
2528 [POSIX] (_SC_NETWORKING): Likewise.
2529 [POSIX] (_SC_PAGE_SIZE): Likewise.
2530 [POSIX] (_SC_PASS_MAX): Likewise.
2531 [POSIX] (_SC_PIPE): Likewise.
2532 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
2533 [POSIX] (_SC_REGEXP): Likewise.
2534 [POSIX] (_SC_SHELL): Likewise.
2535 [POSIX] (_SC_SIGNALS): Likewise.
2536 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
2537 [POSIX] (_SC_SPIN_LOCKS): Likewise.
2538 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
2539 [POSIX] (_SC_USER_GROUPS): Likewise.
2540 [POSIX] (_SC_USER_GROUPS_R): Likewise.
2541 [POSIX] (_SC_STREAMS): Likewise.
2542 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
2543 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
2544 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
2545 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
2546 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
2547 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
2548 [POSIX] (_PC_FILESIZEBITS): Likewise.
2549 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
2550 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
2551 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
2552 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
2553 [POSIX] (uid_t): Likewise.
2554 [POSIX] (gid_t): Likewise.
2555 [POSIX] (off_t): Likewise.
2556 [POSIX] (pid_t): Likewise.
2557 [POSIX] (cuserid): Allow.
2558 (_SC_2_CHAR_TERM): Require constant.
2559 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
2560 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
2561 variable.
2562
5e2aa9a4
RM
25632015-05-20 Roland McGrath <roland@hack.frob.com>
2564
7cea6212
RM
2565 * sysdeps/nacl/pthread-pids.h: New file.
2566 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
2567 (create_thread): Use __nacl_get_tid to initialize PD->tid.
2568
2569 * nptl/pthread-pids.h: New file.
2570 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
2571 * nptl/nptl-init.c: Include <pthread-pids.h>.
2572 (__pthread_initialize_minimal_internal):
2573 Call __pthread_initialize_pids instead of set_tid_address syscall.
2574
5e2aa9a4
RM
2575 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
2576 * sysdeps/posix/usleep.c: ... here.
2577
96dffc26
AZ
25782015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2579
2580 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
2581 call_pselect6 object.
2582 [$(subdir) = io]: Remove call_sync_file_range object.
2583 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
2584 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
2585 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
2586 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
2587
5be91118
WD
25882015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
2589
2590 * math/s_cproj.c: Add include "math_private.h".
2591 * math/s_cprojf.c: Likewise.
2592 * math/s_cprojl.c: Likewise.
2593
526af541
JM
25942015-05-19 Joseph Myers <joseph@codesourcery.com>
2595
3ce2232e
JM
2596 [BZ #18244]
2597 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
2598 high mantissa bit when testing whether P is a NaN.
2599 * math/libm-test.inc (remainder_test_data): Add more tests.
2600 (remquo_test_data): Likewise.
2601
526af541
JM
2602 [BZ #18049]
2603 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
2604 below -32, return the argument, with underflow if subnormal.
2605 * math/auto-libm-test-in: Add more tests of atanh.
2606 * math/auto-libm-test-out: Regenerated.
2607
88ed594f
RM
26082015-05-19 Roland McGrath <roland@hack.frob.com>
2609
2610 [BZ #18434]
2611 * nptl/tst-sem15.c: New file.
2612 * nptl/Makefile (tests): Add it.
2613 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
2614 s/<</>>/ to fix typo in EOVERFLOW check.
2615 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
2616
654055e0
SP
26172015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2618
2619 * manual/strings.texi (envz_remove): Fix typo in safety
2620 annotations.
2621
eb286115
SE
26222015-05-19 Paul Eggert <eggert@cs.ucla.edu>
2623 Steve Ellcey <sellcey@imgtec.com>
2624
2625 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
2626 in order to avoid strict alias warnings.
2627 (iruserok_af): Ditto for ra.
2628
265cbed8
JL
26292015-05-19 James Lemke <jwlemke@codesourcery.com>
2630
2631 [BZ #17581]
2632 * malloc/hooks.c
2633 (magicbyte): Convert to a function and avoid returning 0x01.
2634 (mem2mem_check): Avoid using a length byte equal to the magic byte.
2635 (mem2chunk_check): Fix unsigned comparisons to zero.
2636 Hoist defs of sz and magic.
2637
1c5df816
RH
26382015-05-19 Richard Henderson <rth@redhat.com>
2639
85bae5a1
RH
2640 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
2641
1c5df816
RH
2642 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2643
920d7012
SP
26442015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2645
fff94fa2
SP
2646 [BZ #16159]
2647 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
2648 * malloc/arena.c (arena_lock): Check if arena is corrupt.
2649 (reused_arena): Find a non-corrupt arena.
2650 (heap_trim): Pass arena to unlink.
2651 * malloc/hooks.c (malloc_check_get_size): Pass arena to
2652 malloc_printerr.
2653 (top_check): Likewise.
2654 (free_check): Likewise.
2655 (realloc_check): Likewise.
2656 * malloc/malloc.c (malloc_printerr): Add arena argument.
2657 (unlink): Likewise.
2658 (munmap_chunk): Adjust.
2659 (ARENA_CORRUPTION_BIT): New macro.
2660 (arena_is_corrupt): Likewise.
2661 (set_arena_corrupt): Likewise.
2662 (sysmalloc): Use mmap if there are no usable arenas.
2663 (_int_malloc): Likewise.
2664 (__libc_malloc): Don't fail if arena_get returns NULL.
2665 (_mid_memalign): Likewise.
2666 (__libc_calloc): Likewise.
2667 (__libc_realloc): Adjust for additional argument to
2668 malloc_printerr.
2669 (_int_free): Likewise.
2670 (malloc_consolidate): Likewise.
2671 (_int_realloc): Likewise.
2672 (_int_memalign): Don't touch corrupt arenas.
2673 * malloc/tst-malloc-backtrace.c: New test case.
2674
99db95db
SP
2675 * Makefile (summarize-tests): Fix return value on success.
2676
920d7012
SP
2677 * manual/string.texi (Envz Functions): Add envz_remove.
2678
46f894d8
RM
26792015-05-18 Roland McGrath <roland@hack.frob.com>
2680
2681 * sysdeps/posix/opendir.c: Include <stdbool.h>.
2682 (invalid_name): New function, broken out of ...
2683 (__opendirat): ... here. Call it.
2684 (need_isdir_precheck): New function, broken out of ...
2685 (__opendirat): ... here. Call it.
2686 Use __fxstatat64, not __xstatat64.
2687 (opendir_oflags): New function, broken out of ...
2688 (__opendirat): ... here. Call it.
2689 (opendir_tail): New function, broken out of ...
2690 (__opendirat): ... here. Call it.
2691 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
2692 opendir_tail, rather than punting to __opendirat.
2693 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
2694
eefe64b9
SP
26952015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2696
2697 * .gitignore: Ignore generated *.pyc.
2698
330fadfc
AS
26992015-05-18 Arjun Shankar <arjun.is@lostca.se>
2700
2701 * include/stdio.h: Define __need_wint_t.
2702 * test-skeleton.c: Avoid `for' loop initial declaration.
2703 * nptl/tst-initializers1.c: Use test-skeleton.c.
2704
b40a4e1a
AZ
27052015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2706
2707 [BZ #18418]
2708 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
2709
ff069f02
JM
27102015-05-15 Joseph Myers <joseph@codesourcery.com>
2711
8020a808
JM
2712 [BZ #16352]
2713 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
2714 (__ieee754_atanh): Force underflow exception for results with
2715 small absolute value.
2716 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
2717 (__ieee754_atanhf): Force underflow exception for results with
2718 small absolute value.
2719 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
2720 (__ieee754_atanh): Force underflow exception for results with
2721 small absolute value.
2722 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
2723 (__ieee754_atanhf): Force underflow exception for results with
2724 small absolute value.
2725 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
2726 (__ieee754_atanhl): Force underflow exception for results with
2727 small absolute value.
2728 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
2729 (__ieee754_atanhl): Force underflow exception for results with
2730 small absolute value.
2731 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
2732 (__ieee754_atanhl): Force underflow exception for results with
2733 small absolute value.
2734 * math/auto-libm-test-in: Do not allow missing underflow
2735 exceptions from atanh.
2736 * math/auto-libm-test-out: Regenerated.
2737
5a608ccc
JM
2738 [BZ #18221]
2739 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
2740 2**-28 as threshold for returning x or +/- 1/x.
2741 * math/auto-libm-test-in: Add more tests of tan.
2742 * math/auto-libm-test-out: Regenerated.
2743
ff069f02
JM
2744 [BZ #18220]
2745 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2746 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
2747 * math/auto-libm-test-in: Add another test of lgamma.
2748 * math/auto-libm-test-out: Regenerated.
2749
0e9be4db
WD
27502015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
2751
2752 * stdio-common/printf_fp.c (___printf_fp): Use abs.
2753 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
2754 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
2755 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
2756 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
2757 (ADD2A): Use fabs. (SUB2A): Use fabs.
2758 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
2759 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
2760 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
2761 (log1): Use fabs. (my_log2): Use fabs.
2762 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
2763 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
2764 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
2765 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
2766 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
2767 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
2768 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
2769 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
2770 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
2771 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
2772 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
2773
fbc68f03
JM
27742015-05-15 Joseph Myers <joseph@codesourcery.com>
2775
2776 [BZ #18217]
2777 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
2778 as threshold for returning 1 - x.
2779 * math/auto-libm-test-in: Add more tests of erfc.
2780 * math/auto-libm-test-out: Regenerated.
2781
0b7a5f92
JM
27822015-05-14 Joseph Myers <joseph@codesourcery.com>
2783
9a71f1fc
JM
2784 [BZ #18196]
2785 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
2786 threshold for large arguments.
2787 * math/auto-libm-test-in: Add another test of atan.
2788 * math/auto-libm-test-out: Regenerated.
2789
0b7a5f92
JM
2790 [BZ #16339]
2791 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
2792 (__log1p): Force underflow exception for results with small
2793 absolute value.
2794 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
2795 (__log1pf): Force underflow exception for results with small
2796 absolute value.
2797 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
2798 (__log1p): Force underflow exception for results with small
2799 absolute value.
2800 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
2801 (__log1pf): Force underflow exception for results with small
2802 absolute value.
2803 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
2804 (__log1pl): Force underflow exception for results with small
2805 absolute value.
2806 * math/auto-libm-test-in: Do not allow missing underflow
2807 exceptions from log1p.
2808 * math/auto-libm-test-out: Regenerated.
2809
95b07fbc
AZ
28102015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
2811 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2812
b2fb2524 2813 [BZ #16704]
95b07fbc
AZ
2814 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
2815
ee971601
AS
28162015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
2817
5695d46f
AS
2818 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
2819 (libmvec): New variable.
2820 * configure.ac: Added option for mathvec build.
2821 * configure: Regenerated.
2822 * mathvec/Depend: New file.
2823 * mathvec/Makefile: New file.
2824 * shlib-versions: Added libmvec.
2825 * math/Makefile: Added rule for libm.so installation.
2826
202d48da
AS
2827 * bits/math-vector.h: New file.
2828 * bits/libm-simd-decl-stubs.h: New header.
2829 * math/Makefile (headers): Added new header
2830 libm-simd-decl-stubs.h.
2831 * math/math.h (__MATHCALL_VEC): New macro.
2832
58c50f06
AS
2833 * math/gen-libm-have-vector-test.sh: Script generates series of macros
2834 for conditions in testing functions.
2835 * math/Makefile: Added call of libm-have-vector-test.sh.
2836 * math/libm-test.inc (HAVE_VECTOR): New macros.
2837
a6cdcd75
AS
2838 * math/libm-test.inc: START refactored.
2839 * math/test-double.c (TEST_MATHVEC): Add define.
2840 * math/test-float.c: Likewise.
2841 * math/test-idouble.c: Likewise.
2842 * math/test-ifloat.c: Likewise.
2843 * math/test-ildoubl.c: Likewise.
2844 * math/test-ldouble.c: Likewise.
2845 * sysdeps/generic/math-tests-arch.h
2846 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
2847 architecture check.
2848
ee971601
AS
2849 * math/test-double.c (FUNC_TEST): New macro.
2850 * math/test-float.c: Likewise.
2851 * math/test-idouble.c: Likewise.
2852 * math/test-ifloat.c: Likewise.
2853 * math/test-ildoubl.c: Likewise.
2854 * math/test-ldouble.c: Likewise.
2855 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
2856
b88a18e1
RM
28572015-05-13 Roland McGrath <roland@hack.frob.com>
2858
9e4ec74f
RM
2859 * sysdeps/nacl/fdopendir.c: New file.
2860
95341673 2861 * dirent/scandir-tail.c: New file.
d2ee815a
RM
2862 * dirent/scandir64-tail.c: New file.
2863 * dirent/Makefile (routines): Add them.
95341673 2864 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
d2ee815a
RM
2865 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
2866 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
2867 [!SCANDIR] (SCANDIR_TAIL): New macro.
2868 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
2869 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
2870 (SCANDIRAT): Macro removed.
2871 (SCANDIR_TAIL): New macro.
2872 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
2873 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
2874 (SCANDIRAT): Just call __opendirat and __scandir_tail.
2875 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
2876 (READDIR): Macro removed.
2877 (SCANDIR_TAIL): New macro.
2878 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
2879 (SCANDIR_TAIL): New macro.
2880
83c10893
RM
2881 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
2882 * dirent/scandir-cancel.c: ... to this new file.
2883 * dirent/Makefile (routines): Add it.
2884 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
2885 * sysdeps/unix/sysv/linux/i386/scandir64.c
2886 (SKIP_SCANDIR_CANCEL): Macro removed.
2887 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
2888
b88a18e1
RM
2889 * dirent/tst-scandir.c: New file.
2890 * dirent/tst-scandir64.c: New file.
2891 * dirent/Makefile (tests): Add them.
2892
d9efd775
L
28932015-05-13 H.J. Lu <hongjiu.lu@intel.com>
2894
2895 [BZ #18409]
2896 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
2897
265a9b73
SN
28982015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2899
2900 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
2901 list.
2902
60ccaf75
LH
29032015-05-13 Leonhard Holz <leonhard.holz@web.de>
2904
2905 * benchtests/bench-strcoll.c: New benchmark.
2906 * benchtests/Makefile: Generate locales and run benchmark.
2907 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
2908 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
2909 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
2910 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
2911 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
2912 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
2913 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
2914 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
2915 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
2916 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
2917 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
2918 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
2919 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
2920 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
2921 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
2922 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
2923 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
2924 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
2925 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
2926 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
2927 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
2928 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
2929 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
2930 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
2931
0f4840be
OB
29322015-05-12 Ondřej Bílka <neleai@seznam.cz>
2933
2934 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
2935 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2936
7327b333
RM
29372015-05-12 Roland McGrath <roland@hack.frob.com>
2938
2939 * posix/uname-values.h: New file.
2940 * posix/uname.c: Include that instead of <config-name.h>.
2941 * sysdeps/nacl/uname-values.h: New file.
2942 * sysdeps/arm/nacl/uname-values.h: New file.
2943
8e65ea4d
JM
29442015-05-12 Joseph Myers <joseph@codesourcery.com>
2945
2946 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
2947 splitting into fields.
2948
a964c6e4 29492015-05-12 Leonhard Holz <leonhard.holz@web.de>
f13c2a8d
LH
2950
2951 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
2952 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
2953 * locale/localeinfo.h: Add enum collation_encoding_type.
2954 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
2955 * programs/ld-collate.c (collate_output): Add encoding type info.
2956 * string/strcoll_l.c (STRDIFF): New function.
2957 * (STRCOLL): Use STRDIFF to skip over equal prefix.
2958 * wcsmbs/wcscoll_l.c: Define STRDIFF.
2959
34cb304e
JM
29602015-05-11 Joseph Myers <joseph@codesourcery.com>
2961
2962 [BZ #18397]
2963 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
2964 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
2965 <fpu_control.h> instead of <math/fpu_control.c>.
2966 * sysdeps/mips/mips32/fpu/Makefile: New file.
2967
b13b96ca
AS
29682015-05-11 Andreas Schwab <schwab@suse.de>
2969
2970 [BZ #18007]
2971 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
2972 nss_endgrent.
2973 (_nss_compat_endgrent): Call nss_endgrent.
2974 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
2975 nss_endpwent.
2976 (_nss_compat_endpwent): Call nss_endpwent.
2977 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
2978 needent, call nss_setspent only if non-zero.
2979 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
2980 (internal_endspent): Don't call nss_endspent.
2981 (_nss_compat_endspent): Call nss_endspent.
2982 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
2983 Remove. All uses removed.
2984 (internal_setent): Remove parameter stayopen, add parameter
2985 stream. Use it instead of global variable.
2986 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
2987 (internal_endent, internal_getent): Add parameter stream. Use it
2988 instead of global variable.
2989 (CONCAT(_nss_files_end,ENTNAME))
2990 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
2991 (_nss_files_get##name##_r): Pass local stream. Remove locking.
2992 * nss/nss_files/files-alias.c (position, last_use): Remove. All
2993 uses removed.
2994 (internal_setent, internal_endent): Add parameter stream. Use it
2995 instead of global variable.
2996 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
2997 stream.
2998 (get_next_alias): Add parameter stream.
2999 (_nss_files_getaliasent_r): Pass global stream.
3000 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
3001 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
3002 (_nss_files_gethostbyname4_r): Pass local stream to
3003 internal_setent, internal_getent and internal_endent. Remove
3004 locking.
3005
e1b6cb04
SL
30062015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3007
3008 * tst-strfmon1.c (tests): Update expected currency symbol.
3009
c4c977c6
RM
30102015-05-08 Roland McGrath <roland@hack.frob.com>
3011
3012 * sysdeps/nacl/gethostname.c: New file.
3013
14f36098
JM
30142015-05-08 Joseph Myers <joseph@codesourcery.com>
3015
3016 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
3017 and sinh.
3018 * math/auto-libm-test-out: Regenerated.
3019 * sysdeps/i386/fpu/libm-test-ulps: Update.
3020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3021
c92d40c0
CD
30222015-05-08 Carlos O'Donell <carlos@redhat.com>
3023
3024 [BZ #18125]
3025 * stdlib/tst-setcontext3.c: New file.
3026 * stdlib/tst-setcontext3.sh: New file.
3027 * stdlib/Makefile (tests): Add tst-setcontext3.
3028 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
3029 to verify test program created output file.
3030 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
3031 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
3032 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
3033 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
3034
48276b67
RM
30352015-05-06 Roland McGrath <roland@hack.frob.com>
3036
b5fe8ec8
RM
3037 [BZ #18383]
3038 * elf/tst-tlsalign.c: New file.
3039 * elf/tst-tlsalign-static.c: New file.
3040 * elf/tst-tlsalign-lib.c: New file.
3041 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
3042 (tests-static): Add tst-tlsalign-static.
3043 (modules-names): Add tst-tlsalign-lib.
3044 (test-xfail-tst-tlsalign): New variable.
3045 (test-xfail-tst-tlsalign-static): New variable.
3046
48276b67
RM
3047 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
3048 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
3049
471dffa1
JM
30502015-05-06 Joseph Myers <joseph@codesourcery.com>
3051
3052 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
3053 csqrt, erfc, sin and sincos.
3054 * math/auto-libm-test-out: Regenerated.
3055 * sysdeps/i386/fpu/libm-test-ulps: Update.
3056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3057
eda361c8
WD
30582015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
3059
3060 * sysdeps/aarch64/libm-test-ulps: Update.
3061
31450d9a
JM
30622015-05-05 Joseph Myers <joseph@codesourcery.com>
3063
3064 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
3065 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
3066 * math/auto-libm-test-out: Regenerated.
3067 * sysdeps/i386/fpu/libm-test-ulps: Update.
3068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3069
a6ab6ccd
DM
30702015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
3071
3072 [BZ #18265]
3073 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
3074 (wcsncpy): Likewise.
3075
d0ccd0d9
FW
30762015-05-05 Florian Weimer <fweimer@redhat.com>
3077
3078 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3079 Assume __ASSUME_FALLOCATE is always true.
3080 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3081 (__posix_fallocate64_l64): Likweise.
3082 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
3083 (posix_fallocate): Likewise.
3084 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
3085 (__posix_fallocate64_l64): Likewise.
3086 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3087 [!__ASSUME_FALLOCATE]: Add comment.
3088
4bd40bcf
FW
30892015-05-05 Florian Weimer <fweimer@redhat.com>
3090
3091 * sysdeps/unix/sysv/linux/i386/Makefile
3092 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
3093 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
3094 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
3095 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
3096 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
3097 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
3098 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
3099
305392ea
JM
31002015-05-02 Joseph Myers <joseph@codesourcery.com>
3101
3102 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
3103 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
3104 tgamma.
3105 * math/auto-libm-test-out: Regenerated.
3106 * sysdeps/i386/fpu/libm-test-ulps: Update.
3107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3108
a0d31f36
JM
31092015-05-01 Joseph Myers <joseph@codesourcery.com>
3110
51e15247
JM
3111 * math/auto-libm-test-in: Add more tests of tgamma.
3112 * math/auto-libm-test-out: Regenerated.
3113 * sysdeps/i386/fpu/libm-test-ulps: Update.
3114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3115
5ffb9a53
JM
3116 * math/auto-libm-test-in: Add more tests of tanh.
3117 * math/auto-libm-test-out: Regenerated.
3118 * sysdeps/i386/fpu/libm-test-ulps: Update.
3119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3120
0957e15d
JM
3121 * math/auto-libm-test-in: Add more tests of tan.
3122 * math/auto-libm-test-out: Regenerated.
3123 * sysdeps/i386/fpu/libm-test-ulps: Update.
3124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3125
827bb585
JM
3126 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
3127 * math/auto-libm-test-out: Regenerated.
3128 * sysdeps/i386/fpu/libm-test-ulps: Update.
3129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3130
86793ae7
JM
3131 * math/auto-libm-test-in: Add another test of pow.
3132 * math/auto-libm-test-out: Regenerated.
3133 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3134
038e4be9
JM
3135 * math/auto-libm-test-in: Add more tests of lgamma.
3136 * math/auto-libm-test-out: Regenerated.
3137 * sysdeps/i386/fpu/libm-test-ulps: Update.
3138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3139
a0d31f36
JM
3140 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
3141 log1p.
3142 * math/auto-libm-test-out: Regenerated.
3143 * sysdeps/i386/fpu/libm-test-ulps: Update.
3144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3145
b4336ba4
MW
31462015-05-01 Mark Wielaard <mjw@redhat.com>
3147
3148 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
3149 Elf64_Chdr structs and ELFCOMPRESS constants.
3150
c5a3a509
JM
31512015-05-01 Joseph Myers <joseph@codesourcery.com>
3152
e1483b36
JM
3153 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
3154 expm1.
3155 * math/auto-libm-test-out: Regenerated.
3156 * sysdeps/i386/fpu/libm-test-ulps: Update.
3157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3158
c5a3a509
JM
3159 * math/auto-libm-test-in: Add more tests of erf and erfc.
3160 * math/auto-libm-test-out: Regenerated.
3161 * sysdeps/i386/fpu/libm-test-ulps: Update.
3162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3163
44cb254f
SN
31642015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
3165
3166 * config.h.in (HAVE_AARCH64_BE): Add.
3167
0833cecd
JM
31682015-04-30 Joseph Myers <joseph@codesourcery.com>
3169
9862ab1f
JM
3170 * math/auto-libm-test-in: Add more tests of csqrt.
3171 * math/auto-libm-test-out: Regenerated.
3172 * sysdeps/i386/fpu/libm-test-ulps: Update.
3173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3174
094fca83
JM
3175 * math/auto-libm-test-in: Add more tests of cosh and sinh.
3176 * math/auto-libm-test-out: Regenerated.
3177 * sysdeps/i386/fpu/libm-test-ulps: Update.
3178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3179
0833cecd
JM
3180 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
3181
314647f7
RM
31822015-04-29 Roland McGrath <roland@hack.frob.com>
3183
45c2c564
RM
3184 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
3185 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
3186
3600cf1e
RM
3187 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
3188 (euidaccess, eaccess): Define as weak aliases.
3189
314647f7
RM
3190 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
3191 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
3192 but __suseconds_t is often 'long int' so some sources assume that
3193 type is being used (e.g. they use %ld to print tv_usec).
3194
03d2730b
FW
31952015-04-29 Florian Weimer <fweimer@redhat.com>
3196
3197 [BZ #18007]
3198 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
3199 (CVE-2014-8121)
3200 * nss/tst-nss-getpwent.c: New file.
3201 * nss/Makefile (tests): Add new test.
3202
7d0b2575
JM
32032015-04-28 Joseph Myers <joseph@codesourcery.com>
3204
3205 [BZ #18346]
3206 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
3207 exponents less than 48 as cases where high part of mantissa needs
3208 examining to determine whether argument is integral.
3209 * math/libm-test.inc (round_test_data): Add more tests.
3210
fb4041ae
MW
32112015-04-28 Mark Wielaard <mjw@redhat.com>
3212
3213 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
3214
3f2e21e9
DM
32152015-04-27 David S. Miller <davem@davemloft.net>
3216
3217 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
3218 __tls_get_addr.
3219 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3220
5cffc05e
L
32212015-04-27 H.J. Lu <hongjiu.lu@intel.com>
3222
3223 [BZ#18333]
3224 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
3225
cc8dcf96
FW
32262015-04-27 Florian Weimer <fweimer@redhat.com>
3227
3228 [BZ#18333]
3229 * time/tzset.c (parse_tzname): Return error on memory allocation
3230 failure.
3231 * test-skeleton.c (struct temp_name_list): Change type of name
3232 member to non-const.
3233 (add_temp_file): Create a copy of the file name.
3234 (delete_temp_files): Deallocate memory.
3235 (create_temp_file): Add comment.
3236
2dd6ee79
FW
32372015-04-24 Florian Weimer <fweimer@redhat.com>
3238
3239 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
3240 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
3241
c25fec6f
RM
32422015-04-24 Roland McGrath <roland@hack.frob.com>
3243
3244 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
3245 * sysdeps/arm/configure: Regenerated.
3246
42261ad7
FW
32472015-04-24 Florian Weimer <fweimer@redhat.com>
3248
3249 [BZ #17715]
3250 * time/tzfile.c (__tzfile_read): Check for large values of
3251 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
3252 * time/tzset.c (__tzstring_len): New function, based on the old
3253 __tzstring function.
3254 (__tzstring): Call __tzstring_len.
3255 (parse_tzname): New helper function extracted from
3256 __tzset_parse_tz. Call __tzstring_len, without making a copy of
3257 the input string.
3258 (parse_offset): New helper function extracted from
3259 __tzset_parse_tz. Replace switch with fallthrough with
3260 initialization before sscanf.
3261 (parse_rule): Likewise.
3262 (__tzset_parse_tz): Rewrite using the new helper functions. Use
3263 new-style function definition.
3264 * timezone/Makefile (tests): Add tst-tzset.
3265 (tst-tzset.out): Dependencies on time zone files.
3266 (tst-tzset-ENV): Set TZDIR.
3267 (testdata/XT%): Copy crafted time zone files.
3268 * timezone/README: Mention crafted time zone files.
3269 * timezone/testdata/XT1, timezone/testdata/XT2,
3270 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
3271 files.
3272 * timezone/tst-tzset.c: New test.
3273
ed159672
FW
32742015-04-24 Florian Weimer <fweimer@redhat.com>
3275
3276 * Makeconfig (+gccwarn): Remove -Winline.
3277
8666ab5c
SL
32782015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3279
3280 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
3281
f7fba805
SL
32822015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3283
3284 * NEWS: Mention sysconf() cache information support for s390.
3285 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
3286
92f28979
WD
32872015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
3288
3289 * math/k_casinh.c (__kernel_casinh): Use __copysign.
3290 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
3291 (__nearbyint): Likewise.
3292 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
3293 (copysignl): Likewise.
3294
2959eda9
AS
32952015-04-21 Arjun Shankar <arjun.is@lostca.se>
3296
3297 [BZ #18287]
3298 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
3299 based on padding. (CVE-2015-1781)
3300
7bf8fb10
AZ
33012015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3302
3303 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
3304 libc-vdso.h.
3305 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
3306 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
3307 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3308 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3309 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3310 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
3311 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
3312 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3313 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3314 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
3315 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3316 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3317 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3318 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
3319 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3320 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
3321 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
3322 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
3323 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
3324 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
3325 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
3326 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
3327 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
3328
03c1e456
PE
33292015-04-19 Paul Eggert <eggert@cs.ucla.edu>
3330
3331 * stdlib/setenv.c (__add_to_environ):
3332 Dump core quickly if setenv (..., NULL, ...) is called.
3333 This time, do it the right way, and pacify GCC with a pragma.
3334
328c44c3
RM
33352015-04-17 Roland McGrath <roland@hack.frob.com>
3336
2bd2cad9
RM
3337 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
3338 IMAP->l_prev cannot be null, and #if out the code for the contrary
3339 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
3340 believe that NS (&_dl_ns[NSID]) could point outside the array.
3341
328c44c3
RM
3342 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
3343 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
3344 before using NSID as an index.
3345
aa4980fc
DM
33462015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
3347
3348 [BZ #17825]
3349 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
3350 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
3351 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3352
d1e44df1
RM
33532015-04-17 Roland McGrath <roland@hack.frob.com>
3354
3355 Add preliminary port to Google Native Client on ARM.
3356 * abi-tags (.*-.*-nacl.*): New entry.
3357 * sysdeps/arm/nacl: New directory.
3358 * sysdeps/nacl: New directory.
3359
f7092599
DM
33602015-04-16 David S. Miller <davem@davemloft.net>
3361
3362 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
3363 lowlevellock-futex.h
3364
da6989f9
CM
33652015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
3366
3367 * sysdeps/tile/configure.ac: New file.
3368 * sysdeps/tile/configure: Regenerated.
3369
fb78612a
AZ
33702015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3371
3372 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
3373 conditionals for weak_alias and libc_hidden_weak.
3374 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
3375 libc_hidden_weak and weak_alias.
3376 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
3377 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
3378 and weak_alias for static one.
3379
a8b6a3a6
DM
33802015-04-15 David S. Miller <davem@davemloft.net>
3381
3382 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3383
920a0395
SL
33842015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3385
3386 [BZ #18206]
3387 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
3388 Use signed comparision instead of substraction to avoid
3389 overflow bug.
3390 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
3391 Take the sign of ret.
3392 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
3393 Do not expect precise return values. Only the sign matters.
3394 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
3395 * wcsmbs/test-wcsncmp.c: New File.
3396 * string/test-strncmp.c: Add wcsncmp support.
3397
de8aadd5
SL
33982015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3399
3400 [BZ #6792]
3401 * math/w_log1p.c: New file.
3402 * math/w_log1pf.c: Likewise.
3403 * math/w_log1pl.c: Likewise.
3404 * math/Makefile (libm-calls): Add w_log1p.
3405 * math/s_log1pl.c (log1pl): Remove weak_alias.
3406 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
3407 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
3408 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
3409 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
3410 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
3411 [NO_LONG_DOUBLE] (log1pl): Likewise.
3412 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
3413 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
3414 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
3415 (log1p): Remove long_double_symbol.
3416 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
3417 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
3418 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
3419 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
3420 remove weak_alias for corresponding log1p function.
3421 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
3422 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
3423 * sysdeps/ia64/fpu/w_log1p.c: New file.
3424 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
3425 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
3426 * math/libm-test.inc (log1p_test_data): Add errno expectations.
3427
5556d30c
JM
34282015-04-10 Joseph Myers <joseph@codesourcery.com>
3429
3430 [BZ #18247]
3431 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
3432 decimal exponent by 1.
3433 * stdlib/tst-strtod-round-data: Add more tests.
3434 * stdlib/tst-strtod-round.c (tests): Regenerated.
3435
b3c66c53
JM
34362015-04-09 Joseph Myers <joseph@codesourcery.com>
3437
3438 * math/auto-libm-test-in: Add more tests of clog and clog10.
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
b0b88abc
RM
34432015-04-09 Roland McGrath <roland@hack.frob.com>
3444
8a257e2c
RM
3445 * Makeconfig (module-cppflags): Exclude all .v.i files.
3446 (skip-module-cppflags): Variable removed.
3447
05439291
RM
3448 * configure.ac (libc_config_ok): Initialize before reading
3449 preconfigure scripts, not after.
3450 * configure: Regenerated.
3451
b0b88abc
RM
3452 * test-skeleton.c (TIMEOUT): Move #define to top level.
3453 (main): Grok environment variable TEST_DIRECT. If set, print
3454 test expectation details into that file and then behave as if
3455 given --direct.
3456
2902af16
FW
34572015-04-09 Florian Weimer <fweimer@redhat.com>
3458
3459 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
3460 warning on 32-bit.
3461
23ebf743
DM
34622015-04-08 David S. Miller <davem@davemloft.net>
3463
3464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3465
024bcc51
JM
34662015-04-08 Joseph Myers <joseph@codesourcery.com>
3467
787d22bc
JM
3468 * math/auto-libm-test-in: Add more tests of atanh.
3469 * math/auto-libm-test-out: Regenerated.
3470 * sysdeps/i386/fpu/libm-test-ulps: Update.
3471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3472
024bcc51
JM
3473 * math/auto-libm-test-in: Add more tests of atan.
3474 * math/auto-libm-test-out: Regenerated.
3475 * sysdeps/i386/fpu/libm-test-ulps: Update.
3476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3477
7b8399f4
FW
34782015-04-08 Florian Weimer <fweimer@redhat.com>
3479
3480 * elf/pldd.c (main): Rewrite to use struct
3481 scratch_buffer instead of extend_alloca.
3482 * elf/pldd-xx.c (find_maps): Likewise.
866ba63b
FW
3483 * grp/initgroups.c: Include <scratch_buffer.h> instead of
3484 <alloca.h>.
3485 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
3486 scratch_buffer instead of extend_alloca.
3487 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
3488 grp/compat-initgroups.c.
794a74af
FW
3489 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3490 Rewrite to use struct scratch_buffer instead of extend_alloca.
c6ee40da 3491 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
561052ad 3492 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7b8399f4 3493
ae63c7eb
JM
34942015-04-08 Joseph Myers <joseph@codesourcery.com>
3495
da0cf658
JM
3496 * math/auto-libm-test-in: Add more tests of cbrt.
3497 * math/auto-libm-test-out: Regenerated.
3498 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3499
80352c01
JM
3500 * math/auto-libm-test-in: Add more tests of cabs.
3501 * math/auto-libm-test-out: Regenerated.
3502 * sysdeps/i386/fpu/libm-test-ulps: Update.
3503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3504
8431838d
JM
3505 [BZ #18210]
3506 [BZ #18211]
3507 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
3508 (__ieee754_atan2): Set FE_TONEAREST mode for internal
3509 computations.
3510 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
3511 clog10.
3512 * math/auto-libm-test-out: Regenerated.
3513 * sysdeps/i386/fpu/libm-test-ulps: Update.
3514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3515
ae63c7eb
JM
3516 [BZ #18197]
3517 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
3518 (atan): Set FE_TONEAREST mode for internal computations.
3519 * math/auto-libm-test-in: Add more tests of atan.
3520 * math/auto-libm-test-out: Regenerated.
3521
d5856d06
JC
35222015-04-07 James Cowgill <james410@cowgill.org.uk>
3523
3524 [BZ #17930]
3525 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
3526
72301304
FW
35272015-04-07 Florian Weimer <fweimer@redhat.com>
3528
3529 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
3530
cfcfd461
FW
35312015-04-07 Florian Weimer <fweimer@redhat.com>
3532
3533 * include/scratch_buffer.h: New file.
3534 * malloc/scratch_buffer_grow.c: Likewise.
3535 * malloc/scratch_buffer_grow_preserve.c: Likewise.
3536 * malloc/scratch_buffer_set_array_size.c: Likewise.
3537 * malloc/tst-scratch_buffer.c: Likewise.
3538 * malloc/Makefile (routines): Add scratch_buffer_grow.
3539 (tests): Add test case.
3540 * malloc/Versions (GLIBC_PRIVATE): Export
3541 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
3542 __libc_scratch_buffer_set_array_size.
3543
cc47c824
RH
35442015-04-06 Richard Henderson <rth@redhat.com>
3545
3546 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
974c4a36 3547 * sysdeps/alpha/fpu/libm-test-ulps: Update.
cc47c824 3548
9e8c0381
RH
3549 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
3550 unsigned int before printing.
3551
9781a370
OB
35522015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3553
3554 [BZ #17596]
3555 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
3556 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3557
37d60d97
FW
35582015-04-02 Florian Weimer <fweimer@redhat.com>
3559
3560 * include/libc-internal.h (libc_max_align_t): Define.
3561
b763f6ae
AS
35622015-04-02 Andreas Schwab <schwab@suse.de>
3563
3564 [BZ #16850]
3565 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
3566
c26efef9
MG
35672015-04-02 Mel Gorman <mgorman@suse.de>
3568
3569 [BZ #17195]
3570 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
3571 as well as the main arena.
3572
a3d9ab50
L
35732015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3574
3575 [BZ #18185]
3576 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
3577 sharing L2 cache to 2 for Silvermont/Knights Landing.
3578
83569fb8
L
35792015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3580
3581 [BZ #17711]
3582 * config.make.in (have-protected-data): New.
3583 * configure.ac: Check linker support for protected data symbol.
3584 * configure: Regenerated.
3585 * elf/Makefile (modules-names): Add tst-protected1moda and
3586 tst-protected1modb if $(have-protected-data) is yes.
3587 (tests): Add tst-protected1a and tst-protected1b if
3588 $(have-protected-data) is yes.
3589 ($(objpfx)tst-protected1a): New.
3590 ($(objpfx)tst-protected1b): Likewise.
3591 (tst-protected1modb.so-no-z-defs): Likewise.
3592 * elf/tst-protected1a.c: New file.
3593 * elf/tst-protected1b.c: Likewise.
3594 * elf/tst-protected1mod.h: Likewise.
3595 * elf/tst-protected1moda.c: Likewise.
3596 * elf/tst-protected1modb.c: Likewise.
3597
62da1e3b
L
35982015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3599
3600 [BZ #17711]
3601 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
3602 indicates it is called from do_lookup_x on relocation against
3603 protected data, skip the data definion in the executable from
3604 copy reloc.
3605 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
3606 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
3607 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
3608 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
3609 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
3610 otherwise to 0.
3611 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3612 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
3613 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
3614 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3615 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
3616 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
3617
675ddb71
MG
36182015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
3619
3620 * sysdeps/nptl/pthread.h: Remove duplicate definition of
3621 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
3622
4d611e12
MG
36232015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
3624
3625 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
3626 THREAD_SETMEM_NC.
3627 * sysdeps/x86_64/nptl/tls.h: Ditto.
3628
7285eb53
RM
36292015-03-27 Roland McGrath <roland@hack.frob.com>
3630
3631 * dlfcn/tststatic.c (main): Converted to ...
3632 (do_test): ... this.
3633 (TEST_FUNCTION): New macro.
3634 Include test-skeleton.c.
3635
19a6a3ac
AM
36362015-03-26 Alan Modra <amodra@gmail.com>
3637
3638 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
3639 Don't segfault if ifunc resolver returns a NULL. Do set plt to
3640 zero for undefined weak.
3641 (elf_machine_plt_conflict): Similarly.
3642
a9fe4c5a
JM
36432015-03-25 Joseph Myers <joseph@codesourcery.com>
3644
efd5b641
JM
3645 * math/auto-libm-test-in: Add more tests of acosh, asinh and
3646 atanh.
3647 * math/auto-libm-test-out: Regenerated.
3648 * sysdeps/i386/fpu/libm-test-ulps: Update.
3649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3650
e9b10151
JM
3651 * math/auto-libm-test-in: Add another test of asin.
3652 * math/auto-libm-test-out: Regenerated.
3653 * sysdeps/i386/fpu/libm-test-ulps: Update.
3654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3655
9fa55373
JM
3656 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
3657 Remove macro.
3658 (LLL_EBX_REG): Likewise.
3659 (LLL_ENTER_KERNEL): Likewise.
3660
38755f14
JM
3661 * math/auto-libm-test-in: Add more tests of asin.
3662 * math/auto-libm-test-out: Regenerated.
3663 * sysdeps/i386/fpu/libm-test-ulps: Update.
3664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3665
a9fe4c5a
JM
3666 [BZ #18138]
3667 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
3668 libc_do_syscall_args): New structure.
3669 (INTERNAL_SYSCALL_MAIN_0): New macro.
3670 (INTERNAL_SYSCALL_MAIN_1): Likewise.
3671 (INTERNAL_SYSCALL_MAIN_2): Likewise.
3672 (INTERNAL_SYSCALL_MAIN_3): Likewise.
3673 (INTERNAL_SYSCALL_MAIN_4): Likewise.
3674 (INTERNAL_SYSCALL_MAIN_5): Likewise.
3675 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
3676 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
3677 Replace conditional definitions by conditional definitions of ....
3678 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
3679 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
3680 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
3681 (libpthread-sysdep_routines): Add libc-do-syscall.
3682 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
3683 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
3684 to __NR_futex not 240.
3685
afcd9480
AM
36862015-03-25 Alan Modra <amodra@gmail.com>
3687
3688 * NEWS: Advertise TLS optimization.
3689 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
3690 (DT_PPC_NUM): Increment.
3691 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
3692 (CHECK_STATIC_TLS): Use here.
3693 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
3694 TLS descriptors.
3695 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3696 * sysdeps/powerpc/dl-tls.c: New file.
3697 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
3698 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
3699 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
3700 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
3701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
3702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
3703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
3704
da9f3334
AM
37052015-03-25 Alan Modra <amodra@gmail.com>
3706
3707 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
3708 for overlapping .opd entries" to "support...".
3709 * sysdeps/powerpc/powerpc64/configure: Regenerate
3710
bc899ea0
JM
37112015-03-25 Joseph Myers <joseph@codesourcery.com>
3712
8d643971
JM
3713 * math/auto-libm-test-in: Add more tests of acos.
3714 * math/auto-libm-test-out: Regenerated.
3715 * sysdeps/i386/fpu/libm-test-ulps: Update.
3716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3717
bc899ea0
JM
3718 * math/auto-libm-test-in: Add more tests of expm1.
3719 * math/auto-libm-test-out: Regenerated.
3720 * sysdeps/i386/fpu/libm-test-ulps: Update.
3721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3722
7c84a504
JM
37232015-03-24 Joseph Myers <joseph@codesourcery.com>
3724
239ed6f3
JM
3725 * math/auto-libm-test-in: Add more tests of cosh and sinh.
3726 * math/auto-libm-test-out: Regenerated.
3727 * sysdeps/i386/fpu/libm-test-ulps: Update.
3728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3729
a737e826
JM
3730 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3732
7c84a504
JM
3733 * math/auto-libm-test-in: Add more tests of log2.
3734 * math/auto-libm-test-out: Regenerated.
3735 * sysdeps/i386/fpu/libm-test-ulps: Update.
3736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3737
7e9c7b9b
RM
37382015-03-23 Roland McGrath <roland@hack.frob.com>
3739
3740 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
3741 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
3742 _IO_IS_APPENDING bit in READ_WRITE instead.
3743
98734cc5
FW
37442015-03-23 Florian Weimer <fweimer@redhat.com>
3745
3746 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
3747 (__determine_cpumask_size): Replace extend_alloca with a
3748 variable-length array. Do not treat res == 0 as an error.
3749
2b028564
FW
37502015-03-23 Florian Weimer <fweimer@redhat.com>
3751
3752 [BZ #18100]
3753 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
3754 and integer overflow.
3755 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
3756 (main): Add integer overflow tests.
3757 * manual/pattern.texi (Calling Wordexp): Document additional use
3758 for WRDE_SYNTAX.
3759
59261ad3
AM
37602015-03-23 Alan Modra <amodra@gmail.com>
3761
3762 * config.h.in: Remove HAVE_ASM_PPC_REL16.
3763 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
3764 and false branch of conditional.
3765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3766 Likewise.
3767
d583531a
ST
37682015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
3769
3770 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
3771 libc-modules.h
868df0f9
ST
3772 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
3773 unused declaration of _hurd_intr_rpc_msg_in_trap.
3774 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
3775 defined instead of whether it is non-zero.
3776 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
3777 input constraint instead of both input and output constraint. Use ecx
3778 clobber instead of %ecx.
3779 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
3780 mutex_unlock): Use a statement expression instead of an expression list.
3781 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
3782 type to vm_size_t instead of vm_address_t.
3783 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
3784 defined instead of whether it is non-zero.
3785 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
3786 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
3787 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
3788 comparisons with mapaddr.
3789 * nscd/nscd-client.h: Include <time.h>.
3790 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
3791 9th parameter to __vm_region instead of int.
661a7dba 3792 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
9e70234c
ST
3793 * scripts/check-local-headers.sh (exclude): Add device/,
3794 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
3795 cthreads.h.
d583531a 3796
298e5d56
RM
37972015-03-19 Roland McGrath <roland@hack.frob.com>
3798
3799 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
3800 to account for alignment padding.
3801 * sysdeps/arm/memmove.S: Likewise.
3802
becb26b8
CM
38032015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
3804
3805 * sysdeps/unix/sysv/linux/generic/README: New file.
3806
c2f5813a
JM
38072015-03-18 Joseph Myers <joseph@codesourcery.com>
3808
3809 [BZ #18138]
3810 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
3811 (futex_abstimed_wait)
3812 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
3813 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
3814 of lll_futex_timed_wait.
3815
ed6b0fe7
BH
38162015-03-18 Brad Hubbard <bhubbard@redhat.com>
3817
3818 [BZ #17542]
3819 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
3820
f8aeae34
AO
38212015-03-17 Alexandre Oliva <aoliva@redhat.com>
3822
3823 [BZ #17090]
3824 [BZ #17620]
3825 [BZ #17621]
3826 [BZ #17628]
3827 * NEWS: Update.
3828 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
3829 entries with Static TLS too. Skip entries past the end of the
3830 allocated DTV, from Alan Modra.
3831 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
3832 Static TLS DTV entry set up from...
3833 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
3834 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
3835 * nptl/allocatestack.c (init_one_static_tls): ... and here...
3836 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
3837 for Static TLS.
3838 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
3839 that the slot we find is associated with the given map before
3840 using its generation count.
3841 * nptl_db/db_info.c: Include ldsodefs.h.
3842 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
3843 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
3844 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
3845 (link_map::l_tls_offset): New struct field.
3846 (dtv_t::counter): Likewise.
3847 (rtld_global): New struct.
3848 (_rtld_global): New rtld variable.
3849 (dl_tls_dtv_slotinfo_list): New rtld global field.
3850 (dtv_slotinfo_list): New struct.
3851 (dtv_slotinfo): Likewise.
3852 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
3853 (td_lookup): Rename to...
3854 (td_mod_lookup): ... this. Use new mod parameter instead of
3855 LIBPTHREAD_SO.
3856 * nptl_db/td_thr_tlsbase.c: Include link.h.
3857 (dtv_slotinfo_list, dtv_slotinfo): New functions.
3858 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
3859 addresses even if the DTV is out of date or missing them.
3860 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
3861 index zero-length arrays.
3862 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
3863 (td_lookup): Make it a macro implemented in terms of...
3864 (td_mod_lookup): ... this declaration.
3865 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
3866 (DB_MAIN_VARIABLE): Likewise.
3867
b97eb2bd
L
38682015-03-16 H.J. Lu <hongjiu.lu@intel.com>
3869
3870 [BZ #18134]
3871 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3872
cb219290
PE
38732015-03-15 Paul Eggert <eggert@cs.ucla.edu>
3874
3875 * stdlib/setenv.c (__add_to_environ): Revert previous change.
3876
a3905fd9
AS
38772015-03-14 Andreas Schwab <schwab@linux-m68k.org>
3878
3879 [BZ #18128]
3880 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
3881 (atomic_add, atomic_increment_and_test)
3882 (atomic_decrement_and_test): Fix 64-bit arithmetic.
3883
2ecccaed
PE
38842015-03-13 Paul Eggert <eggert@cs.ucla.edu>
3885
3886 * stdlib/setenv.c (__add_to_environ):
3887 Dump core quickly if setenv (..., NULL, ...) is called.
3888
cdaf79d0
RM
38892015-03-13 Roland McGrath <roland@hack.frob.com>
3890
3891 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
3892 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
3893 all the necessary asm magic in one place.
3894 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
3895 using those.
3896
cf9313e7
CD
38972015-03-13 Carlos O'Donell <carlos@redhat.com>
3898
3899 [BZ #14906]
3900 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
3901 traced file mtime. Use consistent log message.
3902 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
3903 (register_traced_file): Call install_watches. Always set mtime.
3904 (invalidate_cache): Iterate over all trace files. Call install_watches.
3905 (inotify_check_files): Don't inline. Handle watching parent
3906 directories and configuration file movement in and out.
3907 (handle_inotify_events): New function.
3908 (main_loop_poll): Call handle_inotify_events.
3909 (main_loop_epoll): Likewise.
3910 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
3911 (struct traced_file): Use array of inotify fds. Add parent directory,
3912 and basename.
3913 (struct database_dyn): Remove unused file_mtime.
3914 (init_traced_file): New inline function.
3915 (define_traced_file): New macro.
3916 * nss/nss_db/db-init.c: Use define_traced_file.
3917 (_nss_db_init): Use init_traced_file.
3918 * nss/nss_files/files-init.c: Use define_traced_file.
3919 (_nss_files_init): Use init_traced_file.
3920
7d67a196
JM
39212015-03-12 Joseph Myers <joseph@codesourcery.com>
3922
3923 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
3924 [_LIBC]: Do not include <stdlib.h>.
3925 [!_LIBC] (abort): Remove declaration.
3926 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
3927 _FP_STATIC_ASSERT instead of conditionally calling abort.
3928 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
3929 (_FP_EXTEND_CNAN): Likewise.
3930 (FP_TRUNC): Likewise.
3931 (__FP_CLZ): Likewise.
3932 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
3933
af85ebcd
YS
39342015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
3935
3936 * manual/string.texi (XPG basename): Fix prototype.
3937
2e807f29
SL
39382015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3939
3940 [BZ #18080]
3941 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
3942 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
3943 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
3944 (__setcontext): Likewise.
3945 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
3946 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
3947 Call rt_sigprocmask syscall one time to set new signal mask
3948 and retrieve the current signal mask instead of two calls.
3949 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
3950 (__swapcontext): Likewise.
3951 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
3952 * stdlib/tst-setcontext2.c: New file.
3953
1b2bebe6
SL
39542015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3955
3956 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3957
6a1cf708
AJ
39582015-03-11 Aurelien Jarno <aurelien@aurel32.net>
3959
3960 [BZ #18093]
3961 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
3962 the wrong size.
3963
a2d4cf72
PP
39642015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3965
3966 [BZ #18043]
3967 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
3968
5ca10a0c
AZ
39692015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3970
3971 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
3972 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
3973 Remove define.
3974 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
3975 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
3976 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
3977 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
3978 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
3979 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
3980 define.
3981 * nptl_db/td_symbol_list.c (td_lookup): Remove
3982 HAVE_ASM_GLOBAL_DOT_NAME code.
3983 * sysdeps/powerpc/powerpc64/configure.ac: Remove
3984 HAVE_ASM_GLOBAL_DOT_NAME check.
3985 * sysdeps/powerpc/powerpc64/configure: Regenerate.
3986 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
3987 (DOT_LABEL): Remove define.
3988 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
3989 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
3990 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
3991 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
3992 (__TLS_GET_ADDR): Likewise.
3993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
3994 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
3995
e4363cfb
CD
39962015-03-11 Carlos O'Donell <carlos@redhat.com>
3997
3998 [BZ #18111]
3999 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
4000 (_FPU_SETCW): Initialize cw from fpsr before storing.
4001 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
4002 (fesetexceptflag): Rewrite using fpu_control.h.
4003 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
4004
fae1aa8d
JDA
40052015-03-11 John David Anglin <danglin@gcc.gnu.org>
4006
4007 [BZ #18110]
4008 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
4009 asms.
4010 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4011
068a6274
JM
40122015-03-11 Joseph Myers <joseph@codesourcery.com>
4013
4014 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
4015 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
4016 abort.
4017 (_FP_FMA): Likewise.
4018 (_FP_DIV): Likewise.
4019
d3821ab0
RM
40202015-03-10 Roland McGrath <roland@hack.frob.com>
4021
44a6213c
RM
4022 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
4023 with 0 in that case.
4024 * Makefile (summarize-tests): New canned sequence, factored out of
4025 commands for targets tests and xtests. Display summary lines that
4026 don't start with PASS: or XFAIL: rather than ones that do start with
4027 ERROR: or FAIL:. Make the commands fail if any summary lines fail
4028 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
4029 do start with ERROR: or FAIL:.
4030 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
4031 (except for [$(build-shared) = yes]).
4032 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
4033 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
4034 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
4035 * nptl/Makefile: Revert 2015-03-04 changes.
4036 [$(CXX) empty] (tests-unsupported): New variable.
4037 * debug/Makefile: Likewise.
4038
d3821ab0
RM
4039 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
4040 gnulib file. Replace __attribute with __attribute__ throughout.
4041
85ca85ae
CD
40422015-03-10 Carlos O'Donell <carlos@redhat.com>
4043
4044 * sysdeps/hppa/fpu/libm-test-ulps: Update.
4045
6411f81d
JM
40462015-03-10 Joseph Myers <joseph@codesourcery.com>
4047
4048 [BZ #18104]
4049 * math/auto-libm-test-in: Add another test of pow.
4050 * math/auto-libm-test-out: Regenerated.
4051
d421868b
AZ
40522015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4053
4054 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
4055 $(config-cflags-nofma).
4056
a2f8be9c
JM
40572015-03-10 Joseph Myers <joseph@codesourcery.com>
4058
4059 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
4060 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
4061 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
4062 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
4063 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
4064 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
4065 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
4066 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
4067 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
4068 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
4069 Add comment on closing #endif.
4070
01d032e0
PP
40712015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4072
4073 * posix/wordexp.c (CHAR_IN_SET): New macro.
4074 (parse_param): Use it.
4075
d439bc56
AZ
40762015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4077
4078 * sysdeps/powerpc/fpu/libm-test-ulps: update.
4079
5f85a4bf
PP
40802015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4081
4082 [BZ #18043]
4083 * posix/wordexp.c (parse_param): Fix buffer overflow.
4084 * posix/wordexp-test.c (test_case): Add test case.
4085
f8ba70e9
PP
40862015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4087
4088 [BZ #18042]
4089 * posix/wordexp.c (parse_backtick): Fix off-by-one.
4090 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
4091
36103ba2
PP
40922015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4093
4094 [BZ #18043]
4095 * posix/wordexp-test.c (test_case): Add test for BZ #18043
4096 (do_bz18043): Delete.
4097 (at_page_end): New.
4098 (testit): Refactor to have words at the edge of unreadable page.
4099
18d26750
PP
41002015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4101
4102 [BZ #16734]
4103 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
4104 Cleanup read-only streams as well.
4105 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
4106
9f95dc5d
ST
41072015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
4108
4109 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
4110 <bits/libc-lockP.h>
4111
b838844b
JM
41122015-03-07 Joseph Myers <joseph@codesourcery.com>
4113
4114 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
4115 on [__KERNEL__].
4116 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
4117 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
4118 * soft-fp/op-common.h (_FP_DECL): Likewise.
4119
e0ed2fb4
L
41202015-03-06 H.J. Lu <hongjiu.lu@intel.com>
4121
4122 * elf/ifuncdep2.c (global): Replace
4123 __attribute__((visibility("protected"))) with
4124 asm (".protected global").
4125 * elf/ifuncmod1.c (global): Likewise.
4126 * elf/ifuncmod5.c (global): Likewise.
4127
fa9dda64
JM
41282015-03-06 Joseph Myers <joseph@codesourcery.com>
4129
4130 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
4131 <asm/sfp-machine.h> instead of <sfp-machine.h>.
4132
4acc27ed
RM
41332015-03-06 Roland McGrath <roland@hack.frob.com>
4134
4135 * manual/install.texi (Configuring and compiling):
4136 Document test-wrapper-env-only.
4137 * INSTALL: Regenerated.
4138
895c30cb
PP
41392015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4140
4141 [BZ #18043]
4142 * posix/wordexp.c (parse_param): Fix buffer overflow.
4143 * posix/wordexp-test.c (do_bz18043): Add test case.
4144
5df56c7e
VB
41452015-03-06 Vincent Bernat <vincent@bernat.im>
4146
4147 * time/tst-strptime2.c (do_test): Ensure failing tests are
4148 reported correctly.
4149 * time/tst-strptime3.c (do_test): Likewise.
4150
1cdf2ea1
ST
41512015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
4152
4153 Fix aio_error thread-safety.
1cdf2ea1
ST
4154 * sysdeps/pthread/aio_error.c: New file
4155 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
4156 synchronization.
4157
d176a41a
FW
41582015-03-06 Florian Weimer <fweimer@redhat.com>
4159
4160 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
4161 (group_number, vfprintf): Use it.
1597b744
FW
4162 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
4163 (JUMP, REF): Use it.
4164 (WORK_BUFFER_SIZE): New enum constant.
4165 (process_arg, vfprintf): Use it.
d176a41a 4166
7e7af349
RJ
41672015-03-06 Rical Jasan <ricaljasan@pacific.net>
4168
4169 * manual/errno.texi (Error Messages): Complete example function
4170 by adding missing #define.
4171 (program_invocation_name): Add statement indicating GNU
4172 extension and reference which header file declares the variable.
4173 (program_invocation_short_name): Likewise.
4174
4ca8ddfb
MF
41752015-03-06 Mike Frysinger <vapier@gentoo.org>
4176
4177 * manual/errno.texi (Error Messages): Delete strerror ISO C89
4178 compatibility note.
4179
9162c01d
RM
41802015-03-05 Roland McGrath <roland@hack.frob.com>
4181
4182 * Makeconfig (test-wrapper-env-only): New variable.
4183 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
4184 then use that with $(test-wrapper-env-only) rather than using
4185 $(test-wrapper-env) $(run-program-env) $($*-ENV).
4186
209826bc
L
41872015-03-05 H.J. Lu <hongjiu.lu@intel.com>
4188
4189 [BZ #18082]
4190 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
4191 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
4192 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
4193 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
4194 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
4195 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
4196 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
4197 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4198 Likewise.
4199 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
4200 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
4201 Likewise.
4202 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
4203 Likewise.
4204 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
4205 Likewise.
4206 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
4207 Likewise.
4208 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
4209 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
4210 Likewise.
4211 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
4212 Likewise.
4213 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
4214 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
4215
2cfe32bc
RM
42162015-03-04 Roland McGrath <roland@hack.frob.com>
4217
8bff5aab
RM
4218 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
4219 (ETH_ALEN): New macro.
4220 (struct ether_addr): Use it for length of ether_addr_octet.
4221
2752f338
RM
4222 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
4223 (setdb): Don't call __nss_configure_lookup for "rpc".
4224 (do_test): Don't call test_rpc.
4225 (output_rpcent, test_rpc): Functions moved ...
4226 * sunrpc/test-rpcent.c: ... to this new file.
4227 * sunrpc/Makefile (tests): Add it.
4228
2cfe32bc
RM
4229 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
4230 __xpg_sigpause.
4231 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
4232 * nptl/tst-signal6.c: Likewise.
4233 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
4234 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
4235
e4693aa7
RM
4236 * configure.ac (libc_cv_cxx_link_ok): New check.
4237 Reset CXX to empty if it fails to link.
4238 * configure: Regenerated.
4239 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
4240 bug-atexit3-lib only if $(CXX) is nonempty.
4241 * nptl/Makefile (tests): Likewise for tst-cancel24.
4242 (tests, tests-static): Likewise for tst-cancel24-static.
4243 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
4244 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
e27176ee
RM
4245 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
4246 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
e4693aa7 4247
8e2e833a
AS
42482015-03-04 Andreas Schwab <schwab@suse.de>
4249
4250 [BZ #17631]
4251 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
4252 for non-GCC compilers.
4253 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4254 Likewise.
4255
85b29045
AZ
42562015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4257
4258 [BZ #17776]
4259 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
4260 integer before bitwise and assembly operations.
4261 (feclearexcept): Likewise.
4262 * math/test-fenvinline.c: New file.
4263 * math/Makefile: Add test-fenvinline test.
4264
a0af371c
AM
42652015-03-03 Alan Modra <amodra@gmail.com>
4266
4267 [BZ #16512]
4268 * scripts/localplt.awk: Strip off symbol version.
4269 * NEWS: Mention bug fix.
4270
47465629
RM
42712015-03-02 Roland McGrath <roland@hack.frob.com>
4272
4273 * sysdeps/pthread/timer_routines.c
4274 (timer_free_list, thread_free_list, thread_active_list): Make static.
4275
6d08b022
JM
42762015-03-02 Joseph Myers <joseph@codesourcery.com>
4277
4278 [BZ #17779]
4279 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4280 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4281 Undefine.
4282 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4283 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4284 Likewise.
4285 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4286 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4287 Likewise.
4288
c2c6d39f
PP
42892015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4290
4291 [BZ #18036]
4292 * posix/fnmatch_loop.c (END): Detect invalid pattern.
4293 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
4294
e8b6be00
AS
42952015-03-02 Andreas Schwab <schwab@suse.de>
4296
4297 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
4298 variable name.
4299
1a2d98af
FW
43002015-03-02 Florian Weimer <fweimer@redhat.com>
4301
4302 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
4303 Return error status.
4304
e7f07af5
AO
43052015-02-27 Alexandre Oliva <aoliva@redhat.com>
4306
4307 [BZ #15969]
4308 * locale/findlocale.c (_nl_find_locale): Introduce const
4309 version of loc_name and drop unsafe type casts.
4310
c7b19ca9
RM
43112015-02-27 Roland McGrath <roland@hack.frob.com>
4312
4313 * dlfcn/tststatic2.c (main): Converted to ...
4314 (do_test): ... this.
4315 (TEST_FUNCTION): New macro.
4316 Include test-skeleton.c.
4317
ef4ad06f
L
43182015-02-27 H.J. Lu <hongjiu.lu@intel.com>
4319
4320 [BZ #17711]
4321 * elf/Makefile (tests): Add vismain only if PIE is enabled.
4322 (tests-pie): Add vismain.
4323 (CFLAGS-vismain.c): New.
4324 * elf/vismain.c: Add comments for PIE requirement.
4325
2ca725c5
JM
43262015-02-27 Joseph Myers <joseph@codesourcery.com>
4327
4328 [BZ #18046]
4329 [BZ #18047]
4330 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
4331 0x1p-56L as threshold for just returning the argument.
4332 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
4333 0x1p-32L as threshold for just returning the argument.
4334 * math/auto-libm-test-in: Add more tests of atanh.
4335 * math/auto-libm-test-out: Regenerated.
4336 * sysdeps/i386/fpu/libm-test-ulps: Update.
4337 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
4338
af96be34
WD
43392015-02-27 Wilco Dijkstra wdijkstr@arm.com
4340
4341 * string/bcopy.c (bcopy): Call memmove for performance.
4342
ddcf6798
WD
43432015-02-27 Wilco Dijkstra wdijkstr@arm.com
4344
4345 * string/bzero.c (__bzero): Call memset for performance.
4346
49f476f4
JDA
43472015-02-27 John David Anglin <dave.anglin@bell.net>
4348
b42e14ff 4349 [BZ #18068]
49f476f4
JDA
4350 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
4351 to 00100000.
4352
f8ab5d38
JM
43532015-02-27 Joseph Myers <joseph@codesourcery.com>
4354
4355 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
4356
380bd0fd
JM
43572015-02-26 Joseph Myers <joseph@codesourcery.com>
4358
31331a07
JM
4359 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
4360 (__kernel_standard): Use CSTR macro when setting exc.name.
4361 * sysdeps/ieee754/Makefile [$(subdir) = math]
4362 (CFLAGS-k_standard.c): Remove variable.
4363
09220e66
JM
4364 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
4365 setting p and q from "else if" to "else".
4366 (qzero): Likewise.
4367 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
4368 (qone): Likewise.
4369 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
4370 (qzerof): Likewise.
4371 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
4372 (qonef): Likewise.
4373 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
4374 (qzero): Likewise.
4375 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
4376 (qone): Likewise.
4377
1d9ab20c
JM
4378 [BZ #18038]
4379 [BZ #18039]
4380 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
4381 return pi/2 for arguments below 0x1p-113L.
4382 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
4383 return pi/2 for arguments below 0x1p-106L.
4384 * math/auto-libm-test-in: Add more tests of acos.
4385 * math/auto-libm-test-out: Regenerated.
4386
ec0ce0d3
JM
4387 [BZ #16351]
4388 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
4389 (MO): New macro.
4390 (__ieee754_asin): Force underflow exception for results with small
4391 absolute value.
4392 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
4393 (MO): New macro.
4394 (__ieee754_asinf): Force underflow exception for results with
4395 small absolute value.
4396 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
4397 (__ieee754_asin): Force underflow exception for results with small
4398 absolute value.
4399 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
4400 (__ieee754_asinf): Force underflow exception for results with
4401 small absolute value.
4402 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
4403 (__ieee754_asinl): Force underflow exception for results with
4404 small absolute value.
4405 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
4406 (__ieee754_asinl): Force underflow exception for results with
4407 small absolute value.
4408 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
4409 (__ieee754_asinl): Force underflow exception for results with
4410 small absolute value.
4411 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
4412 Include <math.h>.
4413 * math/auto-libm-test-in: Do not mark underflow exceptions as
4414 possibly missing for bug 16351.
4415 * math/auto-libm-test-out: Regenerated.
4416
380bd0fd
JM
4417 [BZ #18030]
4418 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
4419 of power of 2 down when low part has opposite sign.
4420 * math/libm-test.inc (logb_test_data): Add more tests.
4421
4a28f4d5
AS
44222015-02-26 Andreas Schwab <schwab@suse.de>
4423
4424 [BZ #18032]
4425 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
4426 over collating symbol inside a bracket expression. Minor cleanup.
4427 * posix/tst-fnmatch3.c (do_test): Add test case.
4428
524ae9ea
JM
44292015-02-26 Joseph Myers <joseph@codesourcery.com>
4430
4431 [BZ #18029]
4432 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
4433 Adjust exponent of power of 2 down when low part has opposite
4434 sign.
4435 * math/libm-test.inc (ilogb_test_data): Add more tests.
4436
23d43090
AO
44372015-02-26 Alexandre Oliva <aoliva@redhat.com>
4438
4439 [BZ #15969]
4440 * locale/findlocale.c (_nl_find_locale): Fix constness error in
4441 the previous change.
0d822a01
AO
4442
4443 [BZ #15969]
4444 * locale/findlocale.c (_nl_find_locale): Retry archive search
4445 after alias expansion.
4446
d19df6ac
RM
44472015-02-25 Roland McGrath <roland@hack.frob.com>
4448
ca681b7b
RM
4449 * iconv/tst-iconv3.c (main): Converted to ...
4450 (do_test): ... this.
4451 (TEST_FUNCTION): New macro.
4452 Include test-skeleton.c.
4453
fd1f2f1c
RM
4454 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
4455 (convert): Make function static.
4456 (test_unalign): Likewise. Add const to argument pointee types.
4457 (main): Replace with static function do_test.
4458 Print "Succeeded." only if RET is zero.
4459 (TEST_FUNCTION): New macro.
4460 Include test-skeleton.c.
4461
d19df6ac
RM
4462 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
4463 returns a null pointer.
4464
115e0de7
AZ
44652015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4466
4467 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
4468 to __memcpy_ppc only for static builds.
4469
137cef7d
JM
44702015-02-25 Joseph Myers <joseph@codesourcery.com>
4471
4472 [BZ #18020]
4473 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
4474 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
4475 * math/auto-libm-test-in: Add more tests of asinh.
4476 * math/auto-libm-test-out: Regenerated.
4477 * sysdeps/i386/fpu/libm-test-ulps: Update.
4478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4479
cb43bb0d
CW
44802015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
4481
4482 [BZ #15850]
4483 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
4484 and ip6_mtuinfo definitions here.
4485 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
4486 in this define too. Update comment.
4487
9be1052b
BS
44882015-02-24 Benno Schulenberg <bensberg@justemail.net>
4489
4490 * elf/sprof.c (load_shobj): Tweak error message to match others.
4491
6807b1db
KE
44922015-02-24 Kevin Easton <kevin@guarana.org>
4493
4494 [BZ #16145] (partial fix)
4495 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
4496 to reduce lock contention.
4497
b433df00
ML
44982015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
4499
4500 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
4501 (struct timex): Update time comment.
4502 (ADJ_SETOFFSET): Define.
4503
440169d6
JM
45042015-02-24 Joseph Myers <joseph@codesourcery.com>
4505
4506 [BZ #18019]
4507 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4508 2**56 not 2**28 as threshold for log (2x) formula.
4509 * math/auto-libm-test-in: Add more tests of acosh.
4510 * math/auto-libm-test-out: Regenerated.
4511 * sysdeps/i386/fpu/libm-test-ulps: Update.
4512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4513
ba7d2c54
MF
45142015-02-24 Mike Frysinger <vapier@gentoo.org>
4515
4516 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
4517 parenthesis around the buf assignment.
4518 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
4519
9438b237
JM
45202015-02-24 Joseph Myers <joseph@codesourcery.com>
4521
4522 [BZ #16783]
4523 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
4524 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
4525 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
4526 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4527 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4528 * math/libm-test.inc (scalb_test_data): Add more tests.
4529
6909d276
PP
45302015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4531
4532 [BZ #17916]
4533 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
4534 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
4535
65f6f938
ER
45362015-02-24 Eric Rannaud <e@nanocritical.com>
4537
4538 [BZ #17523]
4539 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
4540 * io/bits/fcntl2.h (open): Use it.
4541 (openat): Likewise.
4542 * io/open.c (__libc_open): Likewise.
4543 * io/open64.c (__libc_open64): Likewise.
4544 * io/open64_2.c (__open64_2): Likewise.
4545 * io/open_2.c (__open_2): Likewise.
4546 * io/openat.c (__openat): Likewise.
4547 * io/openat64.c (__openat64): Likewise.
4548 * io/openat64_2.c (__openat64_2): Likewise.
4549 * io/openat_2.c (__openat_2): Likewise.
4550 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
4551 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4552 * sysdeps/posix/open64.c (__libc_open64): Likewise.
4553 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4554 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4555 (__open_nocancel): Likewise.
4556 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4557 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4558 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
4559
3e3002ff
SP
45602015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4561
4562 [BZ #14841]
4563 * resolv/gethnamaddr.c (getanswer): Skip logging if
4564 RES_USE_DNSSEC is set.
4565 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4566
9813dd58
MF
45672015-02-24 Mike Frysinger <vapier@gentoo.org>
4568
4569 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
4570
7b1ec6a0
AO
45712015-02-23 Alexandre Oliva <aoliva@redhat.com>
4572
4573 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4574 201304L, for Unicode 7.
4575
d49499c1
L
45762015-02-23 H.J. Lu <hongjiu.lu@intel.com>
4577
4578 [BZ #17836]
4579 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
4580 shared library. Add gmon-start.os otherwise.
4581 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
4582 $(objpfx)gmon-start.os if builing shared library.
4583 ($(objpfx)g$(static-start-installed-name)): Likewise.
4584
51225803
AS
45852015-02-23 Andreas Schwab <schwab@suse.de>
4586
4587 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
4588
bdf1ff05
PP
45892015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4590
4591 [BZ #17269]
4592 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
4593 (enlarge_userbuf): Likewise.
4594
95296112
CLT
45952015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
4596
4597 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
4598 * math/atest-exp.c (TIMEOUT): Adjust to 200.
4599 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
4600 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
4601
e4a399dc
JM
46022015-02-20 Joseph Myers <joseph@codesourcery.com>
4603
4604 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
4605 expression inside statement expression.
4606
7133957f
SL
46072015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
4608
4609 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
4610 <sysdeps/nptl/lowlevellock.h> and remove macros and
4611 functions that are now defined there.
4612 (SYS_futex): Remove.
4613 (lll_compare_and_swap): Remove.
4614 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
4615
40176158
JM
46162015-02-19 Joseph Myers <joseph@codesourcery.com>
4617
4618 [BZ #17999]
4619 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
4620 instead of scandirat.
4621 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
4622 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
4623 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
4624 __scandirat.
4625 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
4626 (__scandirat): Declare. Use libc_hidden_proto.
4627 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
4628 Remove variable.
4629 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4630
4629c866
JM
46312015-02-18 Joseph Myers <joseph@codesourcery.com>
4632
4633 [BZ #15319]
4634 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
4635 (MO): New macro.
4636 (__ieee754_atan2): For results with small absolute value, force
4637 underflow exception and remove excess range and precision from
4638 return value.
4639 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
4640 (MO): New macro.
4641 (__ieee754_atan2f): For results with small absolute value, force
4642 underflow exception and remove excess range and precision from
4643 return value.
4644 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
4645 (MO): New macro.
4646 (__atan): For results with small absolute value, force underflow
4647 exception and remove excess range and precision from return value.
4648 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
4649 (MO): New macro.
4650 (__atanf): For results with small absolute value, force underflow
4651 exception and remove excess range and precision from return value.
4652 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
4653 <math.h>.
4654 (__ieee754_atan2): Force underflow exception for results with
4655 small absolute value.
4656 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
4657 <math_private.h>.
4658 (atan): Force underflow exception for results with small absolute
4659 value.
4660 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
4661 (__atanf): Force underflow exception for results with small
4662 absolute value.
4663 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
4664 <math.h>.
4665 (__atanl): Force underflow exception for results with small
4666 absolute value.
4667 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
4668 (__atanl): Force underflow exception for results with small
4669 absolute value.
4670 * sysdeps/x86/fpu/bits/mathinline.h
4671 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
4672 (__ieee754_atan2): Only define inline for long double.
4673 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
4674 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
4675 * math/auto-libm-test-in: Do not mark underflow exceptions as
4676 possibly missing for bug 15319. Add more tests of atan2.
4677 * math/auto-libm-test-out: Regenerated.
4678 * math/libm-test.inc (casin_test_data): Do not mark underflow
4679 exceptions as possibly missing for bug 15319.
4680 (casinh_test_data): Likewise.
4681 * sysdeps/i386/fpu/libm-test-ulps: Update.
4682
9ee16d8b
SE
46832015-02-18 Steve Ellcey <sellcey@imgtec.com>
4684
4685 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
4686 * sysdeps/mips/bits/endian.h: Fix comments.
4687
4ffb1771
JM
46882015-02-18 Joseph Myers <joseph@codesourcery.com>
4689
4690 [BZ #17996]
4691 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
4692 (hdestroy_r): Likewise.
4693 (hsearch_r): Likewise.
4694 (__hcreate_r): Declare and use libc_hidden_proto.
4695 (__hdestroy_r): Likewise.
4696 (__hsearch_r): Likewise.
4697 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
4698 (hcreate): Call __hcreate_r instead of hcreate_r.
4699 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
4700 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
4701 as weak alias of __hcreate_r.
4702 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
4703 __hdestroy_r.
4704 (hsearch_r): Rename to __hsearch_r and define as weak alias of
4705 __hsearch_r.
4706 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
4707 Remove variable.
4708 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4709 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4710 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4711 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4712
94c5a52a
SP
47132015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4714
4715 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
4716 arena_lock into a single arena_get.
4717
8a35c3fe
CD
47182015-02-17 Carlos O'Donell <carlos@redhat.com>
4719
4720 * dl-reloc.c: Inlucde libc-internal.h.
4721 (_dl_try_allocate_static_tls): Call ALIGN_UP.
4722 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
4723 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
4724 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
4725 (grow_heap): Likewise.
4726 * malloc/malloc.c: Include libc-internal.h.
4727 (do_check_malloc): Call powerof2.
4728 (sysmalloc): Use pagesize. Call ALIGN_UP.
4729 (systrim): Use pagesize.
4730 (mremap_chunk): Use pagesize. Call ALIGN_UP.
4731 (__libc_valloc): Use pagesize.
4732 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
4733
1a2325c0
JM
47342015-02-17 Joseph Myers <joseph@codesourcery.com>
4735
4736 [BZ #17991]
4737 * include/sys/resource.h (__getrlimit64): Declare. Use
4738 libc_hidden_proto.
4739 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
4740 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
4741 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
4742 getrlimit64.
4743 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
4744 __getrlimit64.
4745 [!getrlimit64] (getrlimit64): Define as weak alias of
4746 __getrlimit64. Use libc_hidden_weak.
4747 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
4748 using __getrlimit64 not __new_getrlimit64.
4749 (__GI_getrlimit64): Likewise.
4750 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
4751 Likewise.
4752 (__GI_getrlimit64): Likewise.
4753 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
4754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
4755 (getrlimit): Add __getrlimit64 alias.
4756 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
4757 Likewise.
4758 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
4759 Remove variable.
4760 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4761 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4762
8ae4bb5a
PP
47632015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
4764
4765 * libio/fileops.c: Add missing sys/mman.h
4766 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
4767
18a218b7
JM
47682015-02-17 Joseph Myers <joseph@codesourcery.com>
4769
4770 * manual/math.texi (Errors in Math Functions): Clarify goals
4771 regarding inexact and underflow exceptions.
4772
e72ad0ef
SE
47732015-02-17 Steve Ellcey <sellcey@imgtec.com>
4774
4775 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
4776 * sysdeps/mips/memset.S: Ditto.
4777
2caa4099
SE
47782015-02-17 Steve Ellcey <sellcey@imgtec.com>
4779
4780 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
4781
f20bfc9b
SL
47822015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4783
4784 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
4785 (__v1longjmp): Remove versioned symbol.
4786 (__v1siglongjmp): Remove alias and versioned symbol.
4787 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
4788 (__v2siglongjmp): Likewise.
4789
71c06b69
TR
47902015-02-16 Torvald Riegel <triegel@redhat.com>
4791
4792 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
4793
a9a05adb
MF
47942015-02-16 Mike Frysinger <vapier@gentoo.org>
4795
4796 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
4797
ce8fc784
JM
47982015-02-16 Joseph Myers <joseph@codesourcery.com>
4799
4800 [BZ #17987]
4801 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
4802 zero result does not depend on the sign resulting from
4803 subtraction.
4804 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4805 Likewise.
4806 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4807 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4808 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4809 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4810 * math/libm-test.inc (remquo_test_data): Add more tests.
4811
0d7036bd
PE
48122015-02-16 Paul Eggert <eggert@cs.ucla.edu>
4813
4814 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
4815 Problem reported by J William Piggott.
4816
86c56b16
JM
48172015-02-16 Joseph Myers <joseph@codesourcery.com>
4818
a820f9b3
JM
4819 [BZ #17978]
4820 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
4821 products 4 * y and 2 * y where those would overflow.
4822 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4823 Likewise.
4824 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4825 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4826 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4827 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4828 * math/libm-test.inc (remquo_test_data): Add more tests.
4829
be802953
JM
4830 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
4831
e5e72fe9
JM
4832 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
4833 [defined _COMPILING_NEWLIB].
4834 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
4835 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
4836
86c56b16
JM
4837 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
4838 [!defined __mips_isa_rev || __mips_isa_rev < 6].
4839
35264d14
TR
48402015-02-16 Torvald Riegel <triegel@redhat.com>
4841
4842 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
4843 acquired.
4844
6f49e32a
MF
48452015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
4846
4847 [BZ #17792]
4848 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
4849 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
4850 HOST_STACK_END_ADDR): Likewise.
4851
e525154e
SE
48522015-02-13 Steve Ellcey <sellcey@imgtec.com>
4853
4854 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
4855 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
4856 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
4857
4ab770b7
RM
48582015-02-13 Roland McGrath <roland@hack.frob.com>
4859
4860 * sysdeps/generic/c++-types.data: New file.
4861 * sysdeps/generic/ld.abilist: New file.
4862 * sysdeps/generic/libBrokenLocale.abilist: New file.
4863 * sysdeps/generic/libanl.abilist: New file.
4864 * sysdeps/generic/libc.abilist: New file.
4865 * sysdeps/generic/libcrypt.abilist: New file.
4866 * sysdeps/generic/libdl.abilist: New file.
4867 * sysdeps/generic/libm.abilist: New file.
4868 * sysdeps/generic/libpthread.abilist: New file.
4869 * sysdeps/generic/libresolv.abilist: New file.
4870 * sysdeps/generic/librt.abilist: New file.
4871
d9afe48d
JM
48722015-02-13 Joseph Myers <joseph@codesourcery.com>
4873
4874 [BZ #17569]
4875 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4876 Compute absolute value of x as modified by fmod, not original
4877 value of x.
4878 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
4879 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
4880 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
4881 RUN_TEST_ffI_f1_mod8.
4882 (remquo_test_data): Add more tests.
4883
3846188b
RM
48842015-02-13 Roland McGrath <roland@hack.frob.com>
4885
4886 * sysdeps/init_array/pt-crti.S: New file.
4887
95c26233
JM
48882015-02-13 Joseph Myers <joseph@codesourcery.com>
4889
4890 [BZ #17967]
4891 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
4892 __builtin_fmaf instead of relying on contraction of a * b + c.
4893
3f293d61
WP
48942015-02-12 J William Piggott <elseifthen@gmx.com>
4895
4896 [BZ #17969]
4897 * manual/time.texi: correct the zoneinfo path in the TZ Variable
4898 node.
4899
e8bd5286
JM
49002015-02-12 Joseph Myers <joseph@codesourcery.com>
4901
4902 [BZ #17964]
4903 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
4904 __builtin_fma instead of relying on contraction of a * b + c.
4905
04f5a636
RM
49062015-02-12 Roland McGrath <roland@hack.frob.com>
4907
96a15749
RM
4908 * Makeconfig (ASFLAGS): Add -Werror=undef.
4909 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
4910 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
4911 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
4912
04f5a636
RM
4913 * Makeconfig (after-link): New variable.
4914 (+link-pie, +link-pie-tests): Use it.
4915 (+link-static, +link-static-tests): Likewise.
4916 (+link, +link-tests): Likewise.
4917 * Makerules (build-module, build-module-asneeded): Likewise.
4918 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
4919 Likewise.
4920 * elf/Makefile ($(objpfx)ld.so): Likewise.
4921
87a629c5
RS
49222015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4923
4924 [BZ #17965]
4925 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
4926 both struct timeval and struct timespec.
4927
03d95bd4
JM
49282015-02-12 Joseph Myers <joseph@codesourcery.com>
4929
4930 [BZ #16560]
4931 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4932 and redefine.
4933 (__ieee754_exp2l): Do not multiply small fractional parts by
4934 M_LN2l.
4935 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
4936 small argument.
4937 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4938 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4939 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
4940 * math/auto-libm-test-in: Add more tests of exp2.
4941 * math/auto-libm-test-out: Regenerated.
4942
98408b95
RS
49432015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4944
4945 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
4946 unaligned path.
4947
6f741503
AZ
49482015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4949
4950 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
4951 little endian.
4952
2868e070
AS
49532015-02-12 Andreas Schwab <schwab@suse.de>
4954
4955 [BZ #15790]
4956 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
4957 Filter out elision flags from value returned in kind.
4958 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
4959 * nptl/tst-pthread-mutexattr.c: New file.
4960
ebf27d12
ST
49612015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
4962
4963 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
4964 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
4965 into gnu-gnu, and update comment to refer to abi-tags.
4966
d435569c
JM
49672015-02-11 Joseph Myers <joseph@codesourcery.com>
4968
4969 [BZ #15467]
4970 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
4971 (__sincos): Set errno to EDOM for infinite argument.
4972 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
4973 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
4974 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
4975 (__sincosl): Set errno to EDOM for infinite argument.
4976 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
4977 (__sincosl): Set errno to EDOM for infinite argument.
4978 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
4979 (__sincosl): Set errno to EDOM for infinite argument.
4980 * math/libm-test.inc (sincos_test_data): Test errno setting.
4981
d35273f2
LH
49822015-02-11 Leonhard Holz <leonhard.holz@web.de>
4983
4984 * string/strxfrm_l.c: Remove #define STRCMP.
4985 * string/strcoll_l.c: Remove #define STRLEN.
4986 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
4987 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
4988
306bc0d1
JM
49892015-02-10 Joseph Myers <joseph@codesourcery.com>
4990
4991 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
4992 * sysdeps/mips/mips32/sfp-machine.h: ... here.
4993 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
4994 * sysdeps/mips/mips64/Makefile: ... here.
4995 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
4996 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
4997 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
4998 * sysdeps/mips/mips64/sfp-machine.h: ... here.
4999 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
5000 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
5001 * sysdeps/mips/mips64/n64/Implies: Likewise.
5002
92b67e8d
RM
50032015-02-10 Roland McGrath <roland@hack.frob.com>
5004
5005 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
5006 <sys/time.h>, <string.h>, and <errno.h>.
5007 (dest_offset, dest_address, value, zero): Remove unused variables.
5008 (ldouble): Remove typedef.
5009 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
5010 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
5011 1). Fix code style.
5012 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
5013 (check): Function removed.
5014 (CHECK): New macro.
5015 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
5016 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
5017 Don't call set_sigaction_FP and remove_sigaction_FP here.
5018 (ldouble_test): Just use 'long double' as macro argument, no need for
5019 the 'ldouble' typedef.
5020 (do_test): Set up SIGFPE handler at start, using plain signal rather
5021 than sigaction. Fix code style.
5022
132a1328
EF
50232015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
5024
5025 [BZ #17949]
5026 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
5027 jump label.
5028
3001e54c
AZ
50292015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5030
bc0cdc49
AZ
5031 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
5032 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5033
83658961
AZ
5034 * sysdeps/powerpc/configure.ac: Remove file.
5035 * sysdeps/powerpc/configure: Likewise.
5036
10169938
AZ
5037 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5038 [sysdep_routines]: Remove wordcopy-power6 object.
5039 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5040 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
5041 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
5042 (__memmove_ppc32): Likewise.
5043 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
5044 file.
5045 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
5046 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
5047 Remove preprocessor.
5048
8548a53d
AZ
5049 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5050 [sysdep_routines]: Remove wide chars objects.
5051 [wcsmbs]: New rule for wide char objects.
5052
b2692114
AZ
5053 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5054 Remove wordcopy-power6 obejct.
5055 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
5056 Use local call for wordcopy and memcpy symbols.
5057 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
5058 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
5059 implementation for loader.
5060 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
5061
18e270aa
AZ
5062 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5063 Remove wordcopy-power7 object.
5064 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
5065 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
5066 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
5067 (_wordcopy_fwd_dest_aligned): Likewise.
5068 (_wordcopy_bwd_aligned): Likewise.
5069 (_wordcopy_bwd_dest_aligned): Likewise.
5070
6f0993a6
AZ
5071 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
5072 Rewrite to call __memmove_ppc instead of include default
5073 implementation.
5074
3001e54c
AZ
5075 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5076 Remove wide chars objects.
5077 [wcsmbs]: New rule for wide char objects.
5078
59b61c82
AS
50792015-02-09 Andreas Schwab <schwab@suse.de>
5080
5081 [BZ #17912]
5082 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5083 in terms of __O_DIRECTORY.
5084
ebd7aede
ST
50852015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
5086
5087 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
5088 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
5089 call PTR_MANGLE.
5090 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
5091 PTR_DEMANGLE.
ebd7aede 5092
3999d26e
PE
50932015-02-07 Paul Eggert <eggert@cs.ucla.edu>
5094
5095 Add ersatz _Static_assert on older C hosts
5096 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
5097 pre-C11 C platform that is not known to support _Static_assert.
5098
e9a5bc1c
ST
50992015-02-07 Richard Braun <rbraun@sceen.net>
5100
5101 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
5102 sigstate.
e86c5b64 5103 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 5104
e2049d17
ST
51052015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5106
5107 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
5108 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
5109 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
5110 instead of int.
5111 * misc/fchflags.c (fchflags): Likewise.
5112 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
5113 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
5114 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
5115 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
5116 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
5117 Declare macros.
5118 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
5119 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
5120 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
5121 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
5122 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
5123 45.
a9a002fb
ST
5124 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
5125 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
5126 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
5127 MACH_RCV_TIMED_OUT.
f96ec27a
ST
5128 * hurd/hurd/signal.h (_hurd_self_sigstate,
5129 _hurd_critical_section_lock, _hurd_critical_section_unlock):
5130 Explicit casts from void *.
4fc81a77 5131 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 5132 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 5133
f05826f0
ST
5134 [BZ #4719]
5135 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
5136 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
5137 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
5138 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
5139 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
5140 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
5141
a5eb23de
ST
5142 [BZ #17944]
5143 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
5144 duplicates ADDR->sun_path with sockaddr LEN limitation.
5145 * sysdeps/mach/hurd/connect.c: Include <string.h>
5146 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
5147 * sysdeps/mach/hurd/sendmsg.c: Likewise.
5148 * sysdeps/mach/hurd/sendto.c: Likewise.
5149 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
5150 implementing it by hand.
5151
ac9e0e5e
RM
51522015-02-06 Roland McGrath <roland@hack.frob.com>
5153
f8d1bb4c
RM
5154 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
5155 Use sfi_breg on ldr.
5156 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
5157 Likewise.
5158
022f4812
RM
5159 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
5160 it's defined.
5161 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
5162 Test SIGSETXID only if it's defined.
5163
1ac074e6
RM
5164 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
5165
f50ad78b
RM
5166 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
5167 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
5168
9e7265f4
RM
5169 * nptl/tst-align2.c: Moved ...
5170 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
5171 * nptl/Makefile (tests): Remove tst-align2.
5172 * sysdeps/unix/sysv/linux/Makefile
5173 [$(subdir) = nptl] (tests): Add tst-align-clone.
5174 * nptl/tst-getpid1.c: Moved ...
5175 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
5176 * nptl/tst-getpid2.c: Moved ...
5177 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
5178 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
5179 * sysdeps/unix/sysv/linux/Makefile
5180 [$(subdir) = nptl] (tests): ... here.
5181 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
5182 * sysdeps/unix/sysv/linux/Makefile
5183 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
5184
62ad2abc
RM
5185 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
5186 Drop trailing \n from perror argument. Use return rather than exit.
5187
cfa69b0b
RM
5188 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
5189 on [SA_SIGINFO].
5190 * nptl/tst-cancel21.c (do_test): Likewise.
5191 * debug/tst-backtrace6.c: Include <signal.h> first thing.
5192 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
5193 [!SA_SIGINFO]: Make it a stub test.
5194
82727806
RM
5195 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
5196 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
5197
da3a1594
RM
5198 * posix/tst-getlogin.c: Move to ...
5199 * login/tst-getlogin.c: ... here.
5200 * posix/Makefile (tests): Move tst-getlogin to ...
5201 * login/Makefile (tests): ... here.
5202
b65c0ff9
RM
5203 * libio/tst-atime.c (do_test): Move local variables SV and E
5204 inside [ST_NOATIME] conditional.
5205
56606ab3
RM
5206 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
5207
ebf7d6ee
RM
5208 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
5209
ca0e0675
RM
5210 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
5211 (wait_code): New function replaces macro.
5212 Call nanosleep rather than syscall.
5213
8c28bbc6
RM
5214 * nptl/pt-system.c: Rewritten. Put everything under
5215 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5216 Use IFUNC to redirect when possible.
5217
ec2a88b3
RM
5218 * nptl/pt-longjmp.c: Rewritten. Put everything under
5219 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5220 Use IFUNC to redirect when possible.
5221
beff1d13
RM
5222 * nptl/pt-fork.c: Rewritten. Put everything under
5223 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5224 Use IFUNC to redirect when possible.
5225 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
5226
ea02c6b8
RM
5227 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
5228 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
5229 unconditionally nowadays. This included the only reference to
5230 __vdso_clock_gettime that appears outside libc proper.
5231 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
5232 Remove version set (containing only __vdso_clock_gettime).
5233 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5234 Add attribute_hidden.
5235 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5236 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
5237 libc_hidden_data_def.
5238 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5239 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5240
a1309c2b
RM
5241 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
5242 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
5243 setrpcent, and getrpcport to ...
5244 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
5245 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
5246 getrpcbynumber_r, and getrpcent_r to ...
5247 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
5248 * inet/getrpcbyname.c: Moved ...
5249 * sunrpc/getrpcbyname.c: ... here.
5250 * inet/getrpcbyname_r.c: Moved ...
5251 * sunrpc/getrpcbyname_r.c: ... here.
5252 * inet/getrpcbynumber.c: Moved ...
5253 * sunrpc/getrpcbynumber.c: ... here.
5254 * inet/getrpcbynumber_r.c: Moved ...
5255 * sunrpc/getrpcbynumber_r.c: ... here.
5256 * inet/getrpcent.c: Moved ...
5257 * sunrpc/getrpcent.c: ... here.
5258 * inet/getrpcent_r.c: Moved ...
5259 * sunrpc/getrpcent_r.c: ... here.
5260 * inet/Makefile (routines): Move those to ...
5261 * sunrpc/Makefile (routines): ... here.
5262 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
5263 the $(subdirs) list.
5264 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
5265 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
5266 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
5267 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
5268
ac9e0e5e
RM
5269 * elf/Makefile (routines): Include $(all-dl-routines), not just
5270 $(dl-routines).
5271 (rtld-routines): Likewise. Use = rather than :=.
5272 * sysdeps/aarch64/Makefile [$(subdir) = elf]
5273 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
5274 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
5275 * sysdeps/arm/Makefile: Likewise.
5276 * sysdeps/i386/Makefile: Likewise.
5277 * sysdeps/x86_64/Makefile: Likewise.
5278 * sysdeps/hppa/Makefile [$(subdir) = elf]
5279 (sysdep_routines, sysdep-rtld-routines): Don't add
5280 $(sysdep-dl-routines) to these.
5281 * sysdeps/ia64/Makefile: Likewise.
5282 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
5283 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
5284 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
5285 Don't add dl-static to these; sysdep-dl-routines alone is enough.
5286 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
5287 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
5288 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
5289 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
5290 * sysdeps/powerpc/Makefile [$(subdir) = elf]
5291 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
5292 these; sysdep-dl-routines alone is enough.
5293
639e42eb
JM
52942015-02-06 Joseph Myers <joseph@codesourcery.com>
5295
1c7a4a51
JM
5296 [BZ #17932]
5297 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
5298 where multiplication results in zero and third argument is finite
5299 and nonzero.
5300 * math/auto-libm-test-in: Add more tests of fma.
5301 * math/auto-libm-test-out: Regenerated.
5302
61f006c1
JM
5303 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
5304 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
5305 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
5306 (_FP_CMP_EQ): Likewise.
5307 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
5308
639e42eb
JM
5309 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
5310 extra argument CHECK_NAN. Redefine as wrapper around
5311 _FP_EXTEND_CNAN.
5312
3c0c543b
CD
53132015-02-06 Carlos O'Donell <carlos@systemhalted.org>
5314
4e42b5b8
CD
5315 * version.h (RELEASE): Set to "stable".
5316 (VERSION): Set to "2.21"
5317 * include/features.h (__GLIBC_MINOR__): Set to 21.
5318
3c0c543b
CD
5319 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
5320
5bd80bfe 53212015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 5322 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
5323
5324 [BZ #16618]
5325 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
5326 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
5327 size in bytes. Store needed elements in wpmax. Use needed size
5328 in bytes for extend_alloca.
5329
3f823f48
CD
53302015-02-05 Carlos O'Donell <carlos@systemhalted.org>
5331
04cb913d
CD
5332 * manual/install.texi: Latest tested versions are GCC 4.9.2,
5333 binutls 2.25, and texinfo 5.2.
5334 * INSTALL: Regenerate.
5335 * sysdeps/nios2/configure: Regenerate.
5336 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
5337 * manual/contrib.texi: Update.
5338 * po/be.po: Update.
5339 * po/bg.po: Update.
5340 * po/ca.po: Update.
5341 * po/cs.po: Update.
5342 * po/da.po: Update.
5343 * po/de.po: Update.
5344 * po/el.po: Update.
5345 * po/eo.po: Update.
5346 * po/es.po: Update.
5347 * po/fi.po: Update.
5348 * po/fr.po: Update.
5349 * po/gl.po: Update.
5350 * po/hr.po: Update.
5351 * po/hu.po: Update.
5352 * po/ia.po: Update.
5353 * po/id.po: Update.
5354 * po/it.po: Update.
5355 * po/ja.po: Update.
5356 * po/ko.po: Update.
5357 * po/lt.po: Update.
5358 * po/nb.po: Update.
5359 * po/nl.po: Update.
5360 * po/pl.po: Update.
5361 * po/pt_BR.po: Update.
5362 * po/ru.po: Update.
5363 * po/rw.po: Update.
5364 * po/sk.po: Update.
5365 * po/sl.po: Update.
5366 * po/sv.po: Update.
5367 * po/tr.po: Update.
5368 * po/uk.po: Update.
5369 * po/vi.po: Update.
5370 * po/zh_CN.po: Update.
5371 * po/zh_TW.po: Update.
5372
3f823f48
CD
5373 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
5374 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
5375 * sysdeps/hppa/dl-irel.h: Remove #warning.
5376 * sysdeps/hppa/entry.h: Provide prototype for
5377 __canonicalize_funcptr_for_compare and cast argument.
5378 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
5379 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
5380 * sysdeps/hppa/sotruss-lib.c: New file.
5381 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
5382 (atomic_compare_and_exchange_val_acq): Use __typeof__.
5383 (atomic_compare_and_exchange_bool_acq): Likewise.
5384 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
5385 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
5386
5387 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
5388 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
5389 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
5390
34c56048
CLT
53912015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
5392
5393 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
5394 called function in non-PIC case.
5395
d4abeca5
DM
53962015-01-31 David S. Miller <davem@davemloft.net>
5397
edac0a60
DM
5398 * sysdeps/sparc/sparc32/bits/atomic.h
5399 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
5400 unlock not after it.
5401 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
5402 volatile register usage warnings from the compiler.
5403
d4abeca5
DM
5404 * sysdeps/sparc/nptl/sem_init.c: Delete.
5405 * sysdeps/sparc/nptl/sem_post.c: Delete.
5406 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
5407 * sysdeps/sparc/nptl/sem_wait.c: Delete.
5408 * sysdeps/sparc/sparc32/sem_init.c: New file.
5409 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
5410 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
5411 padding explicitly initialized.
5412 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
5413 padding for in-semaphore spinlock.
5414 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
5415 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
5416 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
5417 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
5418 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
5419 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
5420 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
5421 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
5422 version.
5423 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
5424 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
5425
5f3d0b78
L
54262015-01-30 H.J. Lu <hongjiu.lu@intel.com>
5427
5428 [BZ #17801]
5429 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5430 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
5431 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
5432 New.
5433 (index_AVX_Fast_Unaligned_Load): Likewise.
5434 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
5435 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
5436 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
5437 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
5438 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
5439 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
5440 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
5441 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
5442 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
5443
b658fdd8
AS
54442015-01-29 Andreas Schwab <schwab@suse.de>
5445
5446 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
5447
3cb26316
SP
54482015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5449
5450 [BZ #17892]
5451 * nscd/nscd_stat.c (send_stats): Initialize DATA.
5452
527de9e4
MS
54532015-01-28 Martin Sebor <msebor@redhat.com>
5454
5455 * math/README.libm-test: Clarify. Add "How to read the test output."
5456
06991eb8
CM
54572015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
5458
5459 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
5460 Define to 0.
5461
df341342
JM
54622015-01-28 Joseph Myers <joseph@codesourcery.com>
5463
5464 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
5465 (__HAVE_64B_ATOMICS): Define to 0.
5466
08cee2a4
AZ
54672015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5468
d4d0ecb2
AZ
5469 [BZ #17885]
5470 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
5471 value to set as new flag.
5472
08cee2a4
AZ
5473 [BZ #16576]
5474 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
5475 and use _ARCH_PPCSQ instead.
5476 (__ieee754_sqrt): Likewise.
5477 (__ieee754_sqrtf): Likewise.
5478 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
5479 _ARCH_PPCSQ is defined.
5480 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
5481 fsqrt instruction.
5482 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
5483 _ARCH_PPCSQ is defined.
5484 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
5485 fsqrts instruction.
5486 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
5487
5fe8e359
AK
54882015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5489
5490 * iconv/loop.c: Suppress array out of bound warning caused by GCC
5491 bug (GCC BZ #64739).
5492
24bb7432
AS
54932015-01-25 Andreas Schwab <schwab@linux-m68k.org>
5494
fa20da31
AS
5495 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
5496 Mark _retval as used.
5497 (lll_futex_wake_unlock): Likewise.
5498 (lll_futex_timed_wait_requeue_pi): Likewise.
5499
45819cbc
AS
5500 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5501 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
5502 register variables.
5503
403cc231
AS
5504 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
5505 libm_hidden_def.
5506
24bb7432
AS
5507 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
5508 (__bswap_64): Mark as __always_inline.
5509
9317ea65
B
55102015-01-25 Bram <bug_rh@spam.wizbit.be>
5511
5512 [BZ #15378]
5513 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
5514 when none of the search directories exist.
5515
0e87343e
AZ
55162015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5517
bea58013
AZ
5518 [BZ #17869]
5519 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
5520 power8 in .machine directive.
5521
0e87343e
AZ
5522 [BZ #17868]
5523 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
5524 set dependency from opd value.
5525
ede0236c
L
55262015-01-23 H.J. Lu <hongjiu.lu@intel.com>
5527
5528 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
5529 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
5530 architecture.
ede0236c 5531
22971c35
L
55322015-01-23 H.J. Lu <hongjiu.lu@intel.com>
5533
5534 [BZ #17870]
5535 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
5536 with uint64_t.
5537 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
5538 (uint64_t) 1.
e0da28a1 5539 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
5540 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
5541 Replace 1UL with (uint64_t) 1.
5542 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
5543 int with uint64_t.
5544
da5bf245
RM
55452015-01-23 Roland McGrath <roland@hack.frob.com>
5546
2ec2d703
RM
5547 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
5548 (if_freenameindex): Likewise.
5549
da5bf245
RM
5550 * resource/getrlimit64.c: Add missing libc_hidden_def.
5551
d7423856
JM
55522015-01-22 Joseph Myers <joseph@codesourcery.com>
5553
5554 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
5555 __label__.
5556 (_FP_FMA): Likewise.
5557 (_FP_TO_INT_ROUND): Likewise.
5558 (_FP_FROM_INT): Likewise.
5559
6b2ba95b
AZ
55602015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5561
5562 [BZ #16418]
5563 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
5564 Make code racy and cancel safe.
5565
ccdb048d
CD
55662015-01-21 Carlos O'Donell <carlos@redhat.com>
5567
191220b3
CD
5568 * sysdeps/arm/unwind-resume.h: Fix copyright year.
5569 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
5570 attribution.
5571
0897c551
CD
5572 * pwd/tst-getpw.c: Rewrite.
5573
ccdb048d
CD
5574 [BZ #17702]
5575 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
5576 (modules-names): Add moddummy1 and moddummy2.
5577 ($(objpfx)tst-rec-dlopen): Define.
5578 * dlfcn/moddummy1.c: New file.
5579 * dlfcn/moddummy2.c: New file.
5580 * dlfcn/tst-rec-dlopen.c: New file.
5581 * elf/dl-cache.c (_dl_load_cache_lookup):
5582 Return char*. Copy result with alloca/strcpy/strdup.
5583 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
5584 returns char*. Free cached. If not saving realname
5585 free cached.
5586 * elf/dl-open.c (dl_open_worker): Do not assert that
5587 _r_debug->r_state is RT_CONSISTENT.
5588 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
5589 returns char*.
5590
042e1521
CD
55912015-01-21 Torvald Riegel <triegel@redhat.com>
5592 Carlos O'Donell <carlos@redhat.com>
5593
5594 [BZ #12674]
5595 * nptl/sem_waitcommon.c: New file.
5596 * nptl/sem_wait.c: Include sem_waitcommon.c.
5597 (__sem_wait_cleanup, do_futex_wait): Remove.
5598 (__new_sem_wait): Adapt.
5599 (__new_sem_trywait): New function.
5600 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
5601 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
5602 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
5603 (sem_timedwait): Adapt.
5604 * nptl/sem_post.c (__new_sem_post): Adapt.
5605 (futex_wake): New function.
5606 (__old_sem_post): Add release MO fence.
5607 * nptl/sem_open.c (sem_open): Adapt.
5608 * nptl/sem_init.c (__new_sem_init): Adapt.
5609 (futex_private_if_supported): New function.
5610 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
5611 (__old_sem_getvalue): Add using previous code.
5612 * sysdeps/nptl/internaltypes.h: Adapt.
5613 * nptl/tst-sem13.c (do_test): Adapt.
5614 * nptl/tst-sem11.c (main): Adapt.
5615 * nptl/sem_trywait.c: Remove.
5616 * nptl/DESIGN-sem.txt: Remove.
5617 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
5618 (gen-as-const-headers): Remove structsem.sym.
5619 * nptl/structsem.sym: Remove.
5620 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
5621 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
5622 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
5623 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
5624 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
5625 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
5626 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
5627 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
5628 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
5629 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
5630 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
5631 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
5632 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
5633 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
5634 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
5635 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
5636 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
5637 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
5638 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
5639 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
5640 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
5641 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
5642
fe0e85af
CD
56432015-01-20 Carlos O'Donell <carlos@redhat.com>
5644
a8db092e
CD
5645 * INSTALL: Regenerated.
5646
fe0e85af
CD
5647 * po/libc.pot: Regenerated.
5648
522e6ee3
CLT
56492015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
5650 Sandra Loosemore <sandra@codesourcery.com>
5651 Andrew Jenner <andrew@codesourcery.com>
5652 Joseph Myers <joseph@codesourcery.com>
5653 Nathan Sidwell <nathan@codesourcery.com>
5654
5655 * NEWS: Mention new Nios II port.
5656 * sysdeps/nios2/Implies: New file.
5657 * sysdeps/nios2/Makefile: New file.
5658 * sysdeps/nios2/Subdirs: New file.
5659 * sysdeps/nios2/Versions: New file.
5660 * sysdeps/nios2/__longjmp.S: New file.
5661 * sysdeps/nios2/abort-instr.h: New file.
5662 * sysdeps/nios2/backtrace.c: New file.
5663 * sysdeps/nios2/bits/endian.h: New file.
5664 * sysdeps/nios2/bits/fenv.h: New file.
5665 * sysdeps/nios2/bits/link.h: New file.
5666 * sysdeps/nios2/bits/setjmp.h: New file.
5667 * sysdeps/nios2/bsd-_setjmp.S: New file.
5668 * sysdeps/nios2/bsd-setjmp.S: New file.
5669 * sysdeps/nios2/configure: New generated file.
5670 * sysdeps/nios2/configure.ac: New file.
5671 * sysdeps/nios2/crti.S: New file.
5672 * sysdeps/nios2/crtn.S: New file.
5673 * sysdeps/nios2/dl-init.c: New file.
5674 * sysdeps/nios2/dl-machine.h: New file.
5675 * sysdeps/nios2/dl-sysdep.h: New file.
5676 * sysdeps/nios2/dl-tls.h: New file.
5677 * sysdeps/nios2/dl-trampoline.S: New file.
5678 * sysdeps/nios2/gccframe.h: New file.
5679 * sysdeps/nios2/gmp-mparam.h: New file.
5680 * sysdeps/nios2/jmpbuf-offsets.h: New file.
5681 * sysdeps/nios2/jmpbuf-unwind.h: New file.
5682 * sysdeps/nios2/ldsodefs.h: New file.
5683 * sysdeps/nios2/libc-tls.c: New file.
5684 * sysdeps/nios2/libm-test-ulps: New file.
5685 * sysdeps/nios2/machine-gmon.h: New file.
5686 * sysdeps/nios2/math-tests.h: New file.
5687 * sysdeps/nios2/math_private.h: New file.
5688 * sysdeps/nios2/memusage.h: New file.
5689 * sysdeps/nios2/nptl/Makefile: New file.
5690 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
5691 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
5692 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
5693 * sysdeps/nios2/nptl/pthreaddef.h: New file.
5694 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
5695 * sysdeps/nios2/nptl/tls.h: New file.
5696 * sysdeps/nios2/preconfigure: New file.
5697 * sysdeps/nios2/s_fma.c: New file.
5698 * sysdeps/nios2/s_fmaf.c: New file.
5699 * sysdeps/nios2/setjmp.S: New file.
5700 * sysdeps/nios2/sfp-machine.h: New file.
5701 * sysdeps/nios2/sotruss-lib.c: New file.
5702 * sysdeps/nios2/stackguard-macros.h: New file.
5703 * sysdeps/nios2/stackinfo.h: New file.
5704 * sysdeps/nios2/start.S: New file.
5705 * sysdeps/nios2/sysdep.h: New file.
5706 * sysdeps/nios2/tls-macros.h: New file.
5707 * sysdeps/nios2/tst-audit.h: New file.
5708 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
5709 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
5710 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
5711 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
5712 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
5713 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
5714 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
5715 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
5716 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
5717 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
5718 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
5719 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
5720 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
5721 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
5722 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
5723 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
5724 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
5725 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
5726 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
5727 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
5728 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
5729 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
5730 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
5731 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
5732 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
5733 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
5734 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
5735 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
5736 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
5737 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
5738 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
5739 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
5740 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
5741 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
5742 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
5743 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
5744 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
5745 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
5746 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
5747 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
5748 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
5749 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
5750 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
5751 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
5752
026eb207
SL
57532015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5754
5755 [BZ #17844]
5756 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
5757 (getutent): Use weak_alias in non SHARED case
5758 and default_symbol_version in SHARED case.
5759 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
5760 (getutent_r, pututline): Likewise.
5761 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
5762 (getutid): Likewise.
5763 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
5764 (getutid_r): Likewise.
5765 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
5766 (getutline): Likewise.
5767 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
5768 (getutline_r): Likewise.
5769 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
5770 (updwtmp): Likewise.
5771
1d532483
SL
57722015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5773
5774 [BZ #17848]
5775 * sysdeps/s390/s390-32/memcmp.S
5776 (memcmp_g5): Rename to __memcmp_g5.
5777 * sysdeps/s390/s390-32/memcpy.S
5778 (memcpy_g5): Rename to __memcpy_g5.
5779 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5780 (memcpy_mvcle) Rename to __memcpy_mvcle.
5781 * sysdeps/s390/s390-32/memset.S
5782 (memset_g5): Rename to __memset_g5.
5783 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5784 (IFUNC_RESOLVE): Prefix ifunc-resolve function
5785 and use prefixed functions.
5786 * sysdeps/s390/s390-32/multiarch/memcmp.S
5787 (memcmp_z196): Rename to __memcmp_z196.
5788 (memcmp_z10): Rename to __memcmp_z10.
5789 (memcmp): Set alias to __memcmp_g5.
5790 (bcmp): Set alias to __memcmp_g5.
5791 * sysdeps/s390/s390-32/multiarch/memcpy.S
5792 (memcpy_z196): Rename to __memcpy_z196.
5793 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5794 (memcpy_z10): Rename to __memcpy_z10.
5795 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5796 (memcpy): Set alias to __memcpy_g5.
5797 * sysdeps/s390/s390-32/multiarch/memset.S
5798 (memset_z196): Rename to __memset_z196.
5799 Jump to __memset_mvcle instead of memset_mvcle.
5800 (memset_z10): Rename to __memset_z10.
5801 Jump to __memset_mvcle instead of memset_mvcle.
5802 (memset_mvcle) Rename to __memset_mvcle.
5803 (memset): Set alias to __memset_g5.
5804 * sysdeps/s390/s390-64/memcmp.S
5805 (memcmp_z900): Rename to __memcmp_z900.
5806 * sysdeps/s390/s390-64/memcpy.S
5807 (memcpy_z900): Rename to __memcpy_z900.
5808 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5809 (memcpy_mvcle) Rename to __memcpy_mvcle.
5810 * sysdeps/s390/s390-64/memset.S
5811 (memset_z900): Rename to __memset_z900.
5812 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
5813 (IFUNC_RESOLVE): Prefix ifunc-resolve function
5814 and use prefixed functions.
5815 * sysdeps/s390/s390-64/multiarch/memcmp.S
5816 (memcmp_z196): Rename to __memcmp_z196.
5817 (memcmp_z10): Rename to __memcmp_z10.
5818 (memcmp): Set alias to __memcmp_z900.
5819 (bcmp): Set alias to __memcmp_z900.
5820 * sysdeps/s390/s390-64/multiarch/memcpy.S
5821 (memcpy_z196): Rename to __memcpy_z196.
5822 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5823 (memcpy_z10): Rename to __memcpy_z10.
5824 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5825 (memcpy): Set alias to __memcpy_z900.
5826 * sysdeps/s390/s390-64/multiarch/memset.S
5827 (memset_z196): Rename to __memset_z196.
5828 Jump to __memset_mvcle instead of memset_mvcle.
5829 (memset_z10): Rename to __memset_z10.
5830 Jump to __memset_mvcle instead of memset_mvcle.
5831 (memset_mvcle) Rename to __memset_mvcle.
5832 (memset): Set alias to __memset_z900.
5833
53fbd169
JM
58342015-01-14 Joseph Myers <joseph@codesourcery.com>
5835
5836 [BZ #17748]
5837 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
5838 __fesetenv instead of fesetenv.
5839
d639a363
SP
58402015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5841
5842 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
5843 macro.
5844
d3b00f46
AZ
58452015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5846
ce6615c9
AZ
5847 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
5848 regression on LE.
5849
d3b00f46
AZ
5850 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
5851 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
5852 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5853 strncmp-power8 object.
5854 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5855 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
5856 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
5857 * NEWS: Update.
5858
72607db0
RS
58592015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5860 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5861
5862 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
5863 trailing byte check.
5864
54dc5461
DM
58652015-01-13 David S. Miller <davem@davemloft.net>
5866
5867 * include/signal.h (__sigreturn): Guard with __USE_MISC.
5868
1c6e6f23
RM
58692015-01-13 Roland McGrath <roland@hack.frob.com>
5870
5871 * login/logout.c (logout): Use memset rather than bzero.
5872 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
5873 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
5874 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
5875 (_gethtbyaddr): Likewise.
5876 * locale/programs/simple-hash.c (bcopy): Macro removed.
5877
96d6fd6c
AZ
58782015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5879
8bedcb5f
AZ
5880 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5881 Add strcmp-power8 object.
5882 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5883 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
5884 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
5885 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
5886 __strcmp_power8 implementation.
5887 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
5888 * NEWS: Update.
5889
f06a4faf
AZ
5890 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5891 Add strncpy-power8 and stpncpy-power8 objects.
5892 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5893 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
5894 implementations.
5895 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
5896 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
5897 __stpncpy_power8 implementation.
5898 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
5899 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
5900 __strncpy_power8 implementation.
5901 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
5902 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
5903 * NEWS: Update.
5904
9f2f36e5
AZ
5905 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
5906 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
5907 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
5908
96d6fd6c 5909 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
5910 strncat-power8 object.
5911 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
5912 __strcat_power8 implementation.
5913 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5914 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
5915 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
5916 optimized strcat for power8.
5917
5918 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
5919 strcpy-power8 and stpcpy-power8 objects.
5920 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5921 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
5922 implementations.
5923 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
5924 multiarch stpcpy implementation for POWER8.
5925 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
5926 multiarch strcpy implementation for POWER8.
5927 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
5928 __strcpy_power8 function.
5929 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
5930 stpcpy for POWER8.
5931 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
5932 strcpy for POWER8.
5933 * NEWS: Update.
5934
0f9e5854
LH
59352015-01-13 Leonhard Holz <leonhard.holz@web.de>
5936
5937 [BZ #16009]
5938 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
5939 weights and rules. Use do_xfrm_cached if data fits in cache,
5940 do_xfrm otherwise. Moved former main loop to...
5941 * (do_xfrm_cached): New function.
5942 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
5943 find_idx, find_position and stack_push.
5944 * (find_idx): New function.
5945 * (find_position): Likewise.
5946 * localedata/sort-test.sh: Added test run for do_xfrm.
5947 * localedata/xfrm-test.c (main): Added command line option
5948 -nocache to run the test with strings that are too large for
5949 the STRXFRM cache.
5950
c60ec0e0
TR
59512015-01-13 Torvald Riegel <triegel@redhat.com>
5952
5953 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
5954 variable to lll_futex_wake call, not the value itself.
5955
34e93d6c
JM
59562015-01-12 Joseph Myers <joseph@codesourcery.com>
5957
5a9e4c09
JM
5958 [BZ #17803]
5959 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
5960 twom64. Adjust value to 0x1p-64L.
5961 (__scalblnl): Only return standard underflowing result for K <=
5962 -64 not K <= -63; adjust exponent for underflowing result by 64
5963 not 63.
5964 * math/libm-test.inc (scalbn_test_data): Add more tests.
5965 (scalbln_test_data): Likewise.
5966
34e93d6c
JM
5967 [BZ #17834]
5968 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
5969 0x1p63L.
5970 (__scalblnl): Get new exponent of adjusted subnormal value from ES
5971 not HX.
5972 * math/libm-test.inc (scalbn_test_data): Add more tests.
5973 (scalbln_test_data): Likewise.
5974
ca677d3c
AZ
59752015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5976 Stefani Seibold <stefani@seibold.net>
5977
5978 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
5979 (sysdep_routines): Add dl-vdso here, ...
5980 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
5981 (sysdep_routines): ... not here.
5982 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
5983 fallback when vDSO is not presented.
5984 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
5985 Define with libc_hidden_proto/libc_hidden_data_def definitions.
5986 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
5987 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
5988 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
5989 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
5990 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
5991 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
5992 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
5993 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
5994 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
5995 fallback configurable symbol when vDSO is not available.
5996 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
5997 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
5998 be able to redefine fallback symbol when vDSO is not available.
5999 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
6000 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
6001
49a9f6ab 60022015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 6003
56cf2763
AZ
6004 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
6005 (TLS_INIT_TP): Add tm_capable initialization.
6006 (TLS_DEFINE_INIT_TP): Likewise.
6007 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
6008 TCB.
6009 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
6010 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
6011 calculation.
6012 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
6013 transactoion is lock elision is built and TCB tm_capable is set.
6014 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
6015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6016 (INTERNAL_SYSCALL_NCS): Likewise.
6017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6018 (INTERNAL_SYSCALL_NCS): Likewise.
6019 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
6020
4b45943a
AZ
6021 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
6022 for powerpc.
6023 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6024 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
6025 and remove it for 32 bits case.
6026 [pthread_rwlock_t] (__rwelision): New field for lock elision.
6027 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
6028 initialization.
6029 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
6030 Disable lock elision with rdlocks if elision is not available.
6031
8d2c0a59
AZ
6032 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
6033 (sysdep_routines): Add lock elision objects.
6034 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6035 [pthread_mutex_t] (__spins): Rework to add lock elision field.
6036 [pthread_mutex_t] (__elision): Add field.
6037 [__PTHREAD_SPINS]: Adjust to init lock elision field.
6038 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
6039 elision definitions for powerpc.
6040 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
6041 implementation of lock elision for powerpc.
6042 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
6043 implementation of timed lock elision for powerpc.
6044 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
6045 implementation of trylock with lock elision for powerpc.
6046 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
6047 implementaion of unlock for lock elision for powerpc.
6048 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
6049 automatic enable lock elision for mutexes.
6050 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
6051 transaction execution definitions for powerpc.
6052 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
6053 definitions.
6054 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
6055 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
6056 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
6057 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
6058 * NEWS: Update.
6059
bc0ed9f7
RM
60602015-01-09 Roland McGrath <roland@hack.frob.com>
6061
6062 * sysdeps/posix/shm-directory.c: Use <> rather than ""
6063 for #include of <shm-directory.h>.
6064
585d9c18
CLT
60652015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
6066
6067 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
6068 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
6069
aee6626c
MF
60702015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
6071
6072 [BZ #17791]
6073 * NEWS: Mention bug fix.
6074 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
6075 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
6076 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
6077
9e560f48
TR
60782015-01-09 Torvald Riegel <triegel@redhat.com>
6079
6080 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
6081
e1cfbd0c
TR
60822015-01-09 Torvald Riegel <triegel@redhat.com>
6083
6084 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
6085
cf71e44f
DH
60862015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6087
6088 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
6089 pointer and cast to uintptr_t.
6090
b360ee62
DH
60912015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6092
6093 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
6094 removed.
6095 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
6096
caff764e
DH
60972015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6098
6099 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
6100 of 0.
6101
59ff172f
RM
61022015-01-08 Roland McGrath <roland@hack.frob.com>
6103
c97d27f1
RM
6104 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
6105 <nptl/pthreadP.h> instead.
6106 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
6107
08734ccd
RM
6108 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
6109 already defined.
6110 [__SIGRTMIN] (init): Function removed.
6111 [__SIGRTMIN] (initialized): Variable removed.
6112 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
6113 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
6114 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
6115 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
6116 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
6117 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
6118 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
6119 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
6120 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
6121 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
6122 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
6123 * sysdeps/nptl/allocrtsig.c: New file.
6124 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
6125 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
6126 * sysdeps/generic/testrtsig.h: File removed.
6127
7b052e33
RM
6128 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
6129 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
6130
cc40d25e
RM
6131 * nptl/nptl-init.c (pthread_functions): Conditionalize
6132 .ptr__nptl_setxid initialization on [SIGSETXID].
6133
9287adf0
RM
6134 * sysdeps/nptl/sys/procfs.h: New file.
6135 * nptl_db/Makefile (headers): Add it.
6136 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
6137
59ff172f
RM
6138 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
6139 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
6140 * nptl/pthread_attr_setaffinity.c: Include it.
6141 * nptl/pthread_setattr_default_np.c: Likewise.
6142 * nptl/check-cpuset.h: New file.
6143
b9205857
RH
61442015-01-08 Richard Henderson <rth@redhat.com>
6145
6146 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
6147 (CFLAGS-tst-execstack-prog.c): Likewise.
6148 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
6149
1a0a8d15
CLT
61502015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
6151 Sandra Loosemore <sandra@codesourcery.com>
6152 Andrew Jenner <andrew@codesourcery.com>
6153 Joseph Myers <joseph@codesourcery.com>
6154 Nathan Sidwell <nathan@codesourcery.com>
6155
6156 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
6157 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
6158 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
6159 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
6160 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
6161 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
6162 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
6163 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
6164 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
6165 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
6166 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
6167 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
6168 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
6169 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
6170 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
6171 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
6172 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
6173
dd6e8af6
AZ
61742015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6175
6176 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
6177 timespec struct member in syscall macro.
6178 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6179 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
6180 first timeval struct member in syscall macro.
6181 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
6182
8116321f
JM
61832015-01-07 Joseph Myers <joseph@codesourcery.com>
6184
6185 [BZ #17748]
6186 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
6187 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
6188 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
6189 __feupdateenv and define as weak alias of __feupdateenv. Use
6190 libm_hidden_weak.
6191 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
6192 libm_hidden_def.
6193 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
6194 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
6195 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6196 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
6197 libm_hidden_def.
6198 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
6199 __feupdateenv and define as weak alias of __feupdateenv. Use
6200 libm_hidden_weak.
6201 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
6202 libm_hidden_def.
6203 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
6204 __feupdateenv and define as weak alias of __feupdateenv. Use
6205 libm_hidden_weak.
6206 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
6207 libm_hidden_def.
6208 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6209 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6210 (__feupdateenv): Likewise.
6211 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
6212 __feupdateenv and define as weak alias of __feupdateenv. Use
6213 libm_hidden_weak.
6214 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6215 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
6216 libm_hidden_def.
6217 * sysdeps/tile/math_private.h (__feupdateenv): New inline
6218 function.
6219 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
6220 libm_hidden_def.
6221 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
6222 __feupdateenv instead of feupdateenv.
6223 (default_libc_feupdateenv_test): Likewise.
6224 (libc_feresetround_ctx): Likewise.
6225
882dfe18
AZ
62262015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6227
6228 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
6229 prototype.
6230
39a12f8d
CM
62312015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
6232
6233 * posix/regcomp.c (parse_bracket_exp): Initialize type to
6234 COLL_SYM in a couple of places to avoid uninitialized variable
6235 wanings on tilegx gcc 4.8.2.
6236
dc400d7b
RE
62372015-01-07 Richard Earnshaw <rearnsha@arm.com>
6238
6239 * sysdeps/aarch64/strcpy.S: New file.
6240 * sysdeps/aarch64/stpcpy.S: New file.
6241 * NEWS: Updated.
6242
ec582ca0
RE
62432015-01-07 Richard Earnshaw <rearnsha@arm.com>
6244
6245 * sysdeps/aarch64/strrchr.S: New file.
6246 * NEWS: Updated.
6247
d5b1c5ed
EB
62482015-01-07 Eric Biggers <ebiggers3@gmail.com>
6249
6250 [BZ #17658]
6251 * stdlib/setenv.c: Fix memory leak when setting large,
6252 duplicate string.
6253
fb87ee96
VN
62542015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
6255
60f046a8 6256 [BZ #17273]
fb87ee96
VN
6257 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
6258 and tabs from buffer before parsing fstab entry.
6259 * misc/tst-mntent.c (main): Add test for mount entry with
6260 trailing spaces and tabs.
6261
cd42798a
JM
62622015-01-06 Joseph Myers <joseph@codesourcery.com>
6263
01238691
JM
6264 [BZ #17748]
6265 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
6266 * math/fesetround.c (fesetround): Rename to __fesetround and
6267 define as weak alias of __fesetround. Use libm_hidden_weak.
6268 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
6269 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
6270 * sysdeps/arm/fesetround.c (fesetround): Likewise.
6271 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
6272 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
6273 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
6274 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
6275 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
6276 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
6277 __fesetround_inline.
6278 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
6279 __fesetround_inline instead of __fesetround.
6280 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
6281 __fesetround and define as weak alias of __fesetround. Use
6282 libm_hidden_weak. Call __fesetround_inline instead of
6283 __fesetround.
6284 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
6285 __fesetround and define as weak alias of __fesetround. Use
6286 libm_hidden_weak.
6287 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
6288 Likewise.
6289 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
6290 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6291 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
6292 * sysdeps/tile/math_private.h (__fesetround): New inline function.
6293 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
6294 __fesetround and define as weak alias of __fesetround. Use
6295 libm_hidden_weak.
6296 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
6297 __fesetround instead of fesetround.
6298 (default_libc_feholdexcept_setround): Likewise.
6299 (libc_feholdsetround_ctx): Likewise.
6300 (libc_feholdsetround_noex_ctx): Likewise.
6301
cd42798a
JM
6302 [BZ #17748]
6303 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
6304 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
6305 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6306 and define as weak alias of __fesetenv. Use libm_hidden_weak.
6307 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6308 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
6309 define as weak alias of __fesetenv. Use libm_hidden_weak.
6310 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6311 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6312 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6313 define as weak alias of __fesetenv. Use libm_hidden_weak.
6314 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6315 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6316 define as weak alias of __fesetenv. Use libm_hidden_weak.
6317 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
6318 libm_hidden_def.
6319 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
6320 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
6321 Likewise.
6322 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6323 define as weak alias of __fesetenv. Use libm_hidden_weak.
6324 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6325 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6326 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
6327 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6328 and define as weak alias of __fesetenv. Use libm_hidden_weak.
6329 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
6330 __fesetenv instead of fesetenv.
6331 (libc_feresetround_noex_ctx): Likewise.
6332 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6333 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6334 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6335 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6336 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6337 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6338 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6339 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6340 (__feupdateenv): Likewise.
6341 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6342 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6343 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6344 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
6345
38949026
AJ
63462015-01-06 Aurelien Jarno <aurelien@aurel32.net>
6347
1cf98e27 6348 [BZ #17806]
38949026
AJ
6349 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
6350 addresses have been freed.
6351
5fe55e9c
AJ
63522015-01-06 Aurelien Jarno <aurelien@aurel32.net>
6353
6354 * resolv/res_init.c (__res_vinit): Improve comments about nserv
6355 and nservall.
6356
dc8ab018
OB
63572015-01-06 Ondřej Bílka <neleai@seznam.cz>
6358
6359 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
6360 Clean up check_pf allocation pattern. addresses
6361
14bb4e57
AZ
63622015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6363
6364 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
6365 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
6366 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
6367 * nptl/pthread_exit.c (__pthread_exit): Likewise.
6368 * nptl/pthread_join.c (pthread_join): Likewise.
6369 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
6370 * sysdeps/posix/waitid.c (__waitid): Likewise.
6371 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6372 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6373 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6374 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6375 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6376 Likewise.
6377 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6378 (__libc_pread64): Likewise.
6379 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6380 (__libc_pwrite): Likewise.
6381 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6382 (__libc_pwrite64): Likewsie.
6383 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6384 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6385 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6386 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6387 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6388 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6389 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6391 Likewise.
6392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6393 (__libc_pread64): Likewise.
6394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
6395 Likewise.
6396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6397 (__libc_pwrite64): Likewise.
6398 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6399 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6400 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
6401 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6402 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6403 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6404 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
6405 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6406 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6407 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6408 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
6409 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6410 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6411 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
6412 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6413 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6414 Likewise.
6415
10a5e112
AS
64162015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
6417
6418 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
6419 (CFLAGS-test-double.c): Likewise.
6420 (CFLAGS-test-ldouble.c): Likewise.
6421 (CPPFLAGS-test-ifloat.c): Likewise.
6422 (CPPFLAGS-test-idouble.c): Likewise.
6423 (CPPFLAGS-test-ildoubl.c): Likewise.
6424 (CFLAGS-test-test-fenv.c): Remove variable.
6425 (CFLAGS-test-misc.c): Likewise.
6426
57ada0e7
L
64272015-01-06 H.J. Lu <hongjiu.lu@intel.com>
6428
6429 [BZ #17797]
6430 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
6431 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
6432 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
6433 CLOCKS_PER_SEC == 1000000.
6434 * time/clocktest.c (main): Replace %ld with %jd and cast to
6435 intmax_t.
6436
46abb64d
RM
64372015-01-05 Roland McGrath <roland@hack.frob.com>
6438
6439 * sysdeps/generic/unwind-resume.h: New file.
6440 * sysdeps/gnu/unwind-resume.c: Include it.
6441 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
6442 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
6443 argument list.
6444 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
6445 global rather than static.
6446 (_Unwind_Resume): Update user.
6447 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
6448 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
6449 rather than static. Add __attribute__ ((cold)).
6450 (_Unwind_Resume, __gcc_personality_v0): Update callers.
6451 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
6452 * sysdeps/arm/arm-unwind-resume.S: New file.
6453 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
6454 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
6455 * sysdeps/arm/Makefile [$(subdir) = csu]
6456 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
6457 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6458 Add rt-arm-unwind-resume.
6459 [$(subdir) = nptl]
6460 (libpthread-sysdep_routines, libpthread-shared-only-routines):
6461 Add pt-arm-unwind-resume.
6462 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
6463 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
6464
ef9faf13
JM
64652015-01-05 Joseph Myers <joseph@codesourcery.com>
6466
6467 [BZ #17748]
6468 * include/fenv.h (__feholdexcept): Declare. Use
6469 libm_hidden_proto.
6470 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
6471 define as weak alias of __feholdexcept. Use libm_hidden_weak.
6472 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6473 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
6474 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
6475 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
6476 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
6477 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6478 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
6479 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
6480 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6481 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
6482 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
6483 (feholdexcept): Likewise.
6484 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6485 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6486 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6487 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6488 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
6489 __feholdexcept instead of feholdexcept.
6490 (default_libc_feholdexcept_setround): Likewise.
6491
295a453e
SE
64922015-01-05 Steve Ellcey <sellcey@imgtec.com>
6493
6494 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
6495 to avoid using stl/str to align destination.
6496
882c4b9f
SE
64972015-01-05 Steve Ellcey <sellcey@imgtec.com>
6498
6499 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
6500
ac4c11f5
JM
65012015-01-05 Joseph Myers <joseph@codesourcery.com>
6502
6503 [BZ #17796]
6504 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
6505 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
6506 Define as weak alias not strong alias.
6507
03403e30
SE
65082015-01-05 Steve Ellcey <sellcey@imgtec.com>
6509
6510 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
6511 bltzal with addiupc.
6512 (RTLD_START): Ditto.
6513
1dca195e
CM
65142015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
6515
00b8b9ba
SP
6516 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
6517 for __vdso_* functions in declarations.
6518 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
6519 definitions.
6520 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
6521 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 6522
1dca195e
CM
6523 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
6524 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
6525 function with cast from llround().
6526 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
6527 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6528 Define.
6529
a287953a
JM
65302015-01-05 Joseph Myers <joseph@codesourcery.com>
6531
ab70da77
JM
6532 [BZ #17793]
6533 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
6534 Define as weak alias not strong alias.
6535
b8986484
JM
6536 [BZ #17635]
6537 * ctype/ctype-c99.c: New file. isblank implementation moved from
6538 ...
6539 * ctype/ctype-extn.c: ... here.
6540 (__isblank_l): Move to ...
6541 * ctype/ctype-c99_l.c: ... here. New file.
6542 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
6543 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
6544 Remove variable.
6545 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6546 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6547 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6548 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6549 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6550
a287953a
JM
6551 [BZ #17777]
6552 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
6553 (posix_fadvise64): Define as weak alias not strong alias.
6554 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6555 (posix_fallocate64): Likewise.
6556 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
6557 Remove variable.
6558 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6559 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6560 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6561 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6562 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6563
b1efe3bb
MF
65642015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
6565
6566 [BZ #16191]
6567 * NEWS: Mention bug fix.
6568 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
6569 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
6570 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
6571 (HOST_STACK_END_ADDR): Likewise.
6572
9706dc5f
JM
65732015-01-02 Joseph Myers <joseph@codesourcery.com>
6574
b93c2205
JM
6575 [BZ #17748]
6576 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
6577 * math/fegetround.c (fegetround): Rename to __fegetround and
6578 define as weak alias of __fegetround. Use libm_hidden_weak.
6579 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
6580 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
6581 * sysdeps/arm/fegetround.c (fegetround): Likewise.
6582 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
6583 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6584 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
6585 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
6586 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
6587 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6588 Undefine after rather than before function definition; use
6589 parentheses around function name in definition.
6590 (__fegetround): Also undefine macro after function definition.
6591 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
6592 __fegetround and define as weak alias of __fegetround. Use
6593 libm_hidden_weak. Do not undefine as macro.
6594 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6595 Likewise.
6596 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
6597 __fegetround and define as weak alias of __fegetround. Use
6598 libm_hidden_weak.
6599 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6600 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6601 * sysdeps/tile/math_private.h (__fegetround): New inline function.
6602 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
6603 __fegetround and define as weak alias of __fegetround. Use
6604 libm_hidden_weak.
6605 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
6606 __fegetround instead of fegetround.
6607
253a59cc
JM
6608 [BZ #17782]
6609 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
6610 Condition macro definition on [__USE_MISC].
6611
27dae011
JM
6612 [BZ #17781]
6613 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
6614 (struct sigaction): Change type of sa_flags field to int.
6615
172019c0
JM
6616 [BZ #17780]
6617 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
6618 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
6619 __glibc_reserved0.
6620
522ad1d6
JM
6621 * nptl/version.c (banner): Use single year in copyright notice.
6622
9706dc5f
JM
6623 * NEWS: Update copyright dates.
6624 * catgets/gencat.c (print_version): Likewise.
6625 * csu/version.c (banner): Likewise.
6626 * debug/catchsegv.sh: Likewise.
6627 * debug/pcprofiledump.c (print_version): Likewise.
6628 * debug/xtrace.sh (do_version): Likewise.
6629 * elf/ldconfig.c (print_version): Likewise.
6630 * elf/ldd.bash.in: Likewise.
6631 * elf/pldd.c (print_version): Likewise.
6632 * elf/sotruss.sh: Likewise.
6633 * elf/sprof.c (print_version): Likewise.
6634 * iconv/iconv_prog.c (print_version): Likewise.
6635 * iconv/iconvconfig.c (print_version): Likewise.
6636 * locale/programs/locale.c (print_version): Likewise.
6637 * locale/programs/localedef.c (print_version): Likewise.
6638 * login/programs/pt_chown.c (print_version): Likewise.
6639 * malloc/memusage.sh (do_version): Likewise.
6640 * malloc/memusagestat.c (print_version): Likewise.
6641 * malloc/mtrace.pl: Likewise.
6642 * manual/libc.texinfo: Likewise.
6643 * nptl/version.c (banner): Likewise.
6644 * nscd/nscd.c (print_version): Likewise.
6645 * nss/getent.c (print_version): Likewise.
6646 * nss/makedb.c (print_version): Likewise.
6647 * posix/getconf.c (main): Likewise.
6648 * scripts/test-installation.pl: Likewise.
6649 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6650
b8607aac
WN
66512015-01-02 Will Newton <will.newton@linaro.org>
6652
6653 * sysdeps/arm/armv7/configure: Removed.
6654 * sysdeps/arm/armv7/configure.ac: Likewise.
6655
b168057a
JM
66562015-01-02 Joseph Myers <joseph@codesourcery.com>
6657
6658 * All files with FSF copyright notices: Update copyright dates
6659 using scripts/update-copyrights.
6660 * intl/plural.c: Regenerated.
6661 * locale/programs/charmap-kw.h: Likewise.
6662 * locale/programs/locfile-kw.h: Likewise.
6663
b217c15f
SP
66642015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6665
6666 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
6667
73a268c7
JM
66682014-12-31 Joseph Myers <joseph@codesourcery.com>
6669
6670 [BZ #17748]
6671 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
6672 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
6673 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6674 and define as weak alias of __fegetenv. Use libm_hidden_weak.
6675 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6676 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
6677 define as weak alias of __fegetenv. Use libm_hidden_weak.
6678 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
6679 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6680 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6681 define as weak alias of __fegetenv. Use libm_hidden_weak.
6682 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6683 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6684 define as weak alias of __fegetenv. Use libm_hidden_weak.
6685 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
6686 libm_hidden_def.
6687 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
6688 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
6689 Likewise.
6690 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6691 define as weak alias of __fegetenv. Use libm_hidden_weak.
6692 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6693 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6694 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
6695 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6696 and define as weak alias of __fegetenv. Use libm_hidden_weak.
6697 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
6698 __fegetenv instead of fegetenv.
6699 (libc_feholdsetround_noex_ctx): Likewise.
6700
0bd95672
MF
67012014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
6702
6703 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
6704 (Elf_MIPS_ABIFlags_v0): New structure.
6705 (EF_MIPS_FP64): Define.
6706 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
6707 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
6708 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
6709 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
6710 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
6711 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
6712 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
6713 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
6714 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
6715 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
6716 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
6717 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
6718 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
6719 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
6720 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
6721 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
6722 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
6723 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
6724 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
6725 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
6726 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
6727 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
6728 field.
6729 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
6730 EF_MIPS_FP64.
6731 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
6732 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
6733 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
6734 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
6735 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
6736 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
6737 * sysdeps/mips/tst-abi-interlink.c: Likewise.
6738 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
6739 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
6740 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
6741 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
6742 record the current FP ABI extension.
6743 (mips-mode-switch): Define to show if kernel headers support mode
6744 switching.
6745 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6746 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
6747 supported SYSV ABI version to 3.
6748 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
6749 feature.
6750
f59ad976
RS
67512014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6752 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6753
6754 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
6755 path.
6756 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
6757
4a3d3999
JM
67582014-12-31 Joseph Myers <joseph@codesourcery.com>
6759
6760 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
6761 __fegetround and redefine to call __fegetround. Remove condition
6762 on [!__NO_MATH_INLINES].
6763 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
6764 function.
6765 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
6766 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6767 Remove macro.
6768 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
6769 instead of <fenv_libc.h>.
6770 (__llrintl): Call fegetround instead of __fegetround.
6771 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
6772 instead of <fenv_libc.h>.
6773 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6774 (__lrintl): Call fegetround instead of __fegetround.
6775 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
6776 instead of <fenv_libc.h>.
6777 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6778 (__rintl): Call fegetround instead of __fegetround.
6779
195f3afc
SP
67802014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6781
6782 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
6783 arrays.
6784
7062bd42
L
67852014-12-30 H.J. Lu <hongjiu.lu@intel.com>
6786
6787 [BZ #17775]
6788 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
6789 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
6790 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
6791
07256e18
AS
67922014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
6793
6794 * sysdeps/i386/tls-macros.h: Include <features.h>.
6795 (TLS_LE): Use non-PIC version for GCC >= 5.0.
6796 (TLS_IE): Likewise.
6797 (TLS_LD): Likewise.
6798 (TLS_GD): Likewise.
6799 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
6800 define for GCC >= 5.0.
6801
1ff950ad
CM
68022014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
6803
6804 * math/test-fenv.c (test_single_exception, set_single_exc,
6805 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
6806 feexcp_mask_test, feenable_test, fe_single_test): Add
6807 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
6808 case where they are not used.
6809 * math/libm-test.inc: Likewise.
6810 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
6811 unused in the absence of FP rounding/exception support.
6812 * stdio-common/tst-printf-round.c: Likewise.
6813 * stdlib/tst-strtod-round.c: Likewise.
6814 * stdlib/tst-strtod-underflow.c: Likewise.
6815
0747f818
JM
68162014-12-30 Joseph Myers <joseph@codesourcery.com>
6817
6818 [BZ #17723]
6819 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
6820 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
6821 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6822 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6823 libm_hidden_weak.
6824 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
6825 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6826 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
6827 libm_hidden_def.
6828 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6829 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6830 libm_hidden_weak.
6831 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
6832 Likewise.
6833 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
6834 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6835 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6836 libm_hidden_weak.
6837 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6838 libm_hidden_def.
6839 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6840 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
6841 (__feraiseexcept): Likewise.
6842 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6843 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6844 libm_hidden_weak.
6845 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6846 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6847 libm_hidden_def.
6848 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
6849 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
6850 Use libm_hidden_def.
6851 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
6852 libm_hidden_def.
6853 (feraiseexcept): Define as weak not strong alias. Use
6854 libm_hidden_weak.
6855 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
6856 New inline function. Factored out of ...
6857 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
6858 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
6859 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
6860 feraiseexcept.
6861 * math/w_acos.c (__acos): Likewise.
6862 * math/w_asin.c (__asin): Likewise.
6863 * math/w_ilogb.c (__ilogb): Likewise.
6864 * math/w_j0.c (y0): Likewise.
6865 * math/w_j1.c (y1): Likewise.
6866 * math/w_jn.c (yn): Likewise.
6867 * math/w_log.c (__log): Likewise.
6868 * math/w_log10.c (__log10): Likewise.
6869 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
6870 * sysdeps/aarch64/fpu/math_private.h
6871 (libc_feupdateenv_test_aarch64): Likewise.
6872 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6873 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
6874 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
6875 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6876 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6877 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6878 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
6879 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6880 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6881 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6882
8d2b2763
L
68832014-12-30 H.J. Lu <hongjiu.lu@intel.com>
6884
6885 [BZ #17732]
6886 * io/test-utime.c (main): Replace %ld with %jd and cast to
6887 intmax_t.
41fad830 6888 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
6889 * nptl/tst-mutex5.c: Include <stdint.h>.
6890 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
6891 * posix/tst-regex.c (run_test): Likewise.
6892 (run_test_backwards): Likewise.
5d619de4
L
6893 * rt/tst-clock.c: Include <stdint.h>.
6894 (clock_test): Replace %ld with %jd and cast to intmax_t.
6895 * rt/tst-cpuclock1.c: Include <stdint.h>.
6896 (do_test): Replace %lu with %ju and cast to uintmax_t.
6897 * rt/tst-cpuclock2.c: Include <stdint.h>.
6898 (do_test): Replace %lu with %ju and cast to uintmax_t.
6899 * rt/tst-mqueue1.c: Include <stdint.h>.
6900 (check_attrs): Replace %ld with %jd and cast to intmax_t.
6901 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
6902 intmax_t.
6903 * rt/tst-mqueue4.c (do_test): Likewise.
6904 * rt/tst-timer4.c: Include <stdint.h>.
6905 (check_ts): Replace %ld with %jd and cast to intmax_t.
6906 (do_test): Likewise.
ad86fbc3
L
6907 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
6908 and cast to intmax_t.
37f46900 6909 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
6910 * time/clocktest.c (main): Likewise.
6911 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 6912 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 6913
8b4416d8
AS
69142014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
6915 H.J. Lu <hongjiu.lu@intel.com>
6916
6917 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
6918 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
6919 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
6920 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
6921 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
6922 version if bit_Fast_Unaligned_Load is set.
6923 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6924 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6925 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6926 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6927 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6928 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6929 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6930 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
6931 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
6932 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
6933 to 4.
6934 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
6935 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
6936 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
6937 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
6938
e47b8d3b
CM
69392014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
6940
6d6d7fde
CM
6941 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
6942 instead of #if to avoid a Wundef warning.
6943 * stdlib/tst-limits.c (do_test): Likewise.
6944
cd2c37c9
CM
6945 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
6946 parallel other exception macros.
6947 (fegetenv): Convert from macro to extern inline so that it applies
6948 retroactively to inline functions already seen by the compiler.
6949 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
6950
e47b8d3b
CM
6951 * posix/Makefile (before-compile): Use $(objpfx) for
6952 posix-conf-vars-def.h.
6953
4a6aca7b
SP
69542014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6955
7910c2ae
SP
6956 * posix/getconf.c (main): Use size_t for type of I.
6957 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
6958 NSPEC.
6959
50cbbaa9
SP
6960 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
6961 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
6962 * posix/posix-envs.def: Likewise.
6963 * sysdeps/posix/sysconf.c: Likewise.
6964 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
6965 (specs): Remove array.
6966 * scripts/gen-posix-conf-vars.awk: Support generation of specs
6967 array.
6968
3b566046
SP
6969 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
6970 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
6971 (__sysconf): Use CONF_IS_* macros.
6972
4a6aca7b
SP
6973 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
6974 ($(objpfx)posix-conf-vars-def.h): New target.
6975 * posix/posix-conf-vars.list: New file.
6976 * posix/posix-conf-vars.h: New file.
6977 * posix/confstr.c: Include posix-conf-vars.h.
6978 (confstr): Use CONF_IS_* macros.
6979 * posix/posix-envs.def: Include posix-conf-vars.h. Use
6980 CONF_IS_* macros.
6981 * scripts/gen-posix-conf-vars.awk: New file.
6982
7c1395a7
CM
69832014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
6984
0025b4cc
CM
6985 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
6986 fegetround): Add no-op macros to avoid linknamespace issues.
6987
d8aaf74b
CM
6988 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
6989 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
6990
5d24aa60
CM
6991 * sysdeps/unix/sysv/linux/tile/sysdep.h
6992 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
6993 assembly-specific section to avoid a redefinition warning.
6994
7c1395a7
CM
6995 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
6996 long before casting to pointer to avoid a cast warning.
6997
3c87c616
CM
69982014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
6999
7000 * sysdeps/tile/tilegx/Implies: New file.
7001
f559d8cf
RE
70022014-12-23 Richard Earnshaw <rearnsha@arm.com>
7003
7004 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
7005
7d81e8d6
FW
70062014-12-23 Florian Weimer <fweimer@redhat.com>
7007
7008 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
7009
90aa3d09
JM
70102014-12-22 Joseph Myers <joseph@codesourcery.com>
7011
7012 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
7013 not define.
7014 * sysdeps/unix/sysv/linux/utimes.c: Do not include
7015 <kernel-features.h>.
7016 (__utimes) [__NR_utimes]: Make code unconditional.
7017 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
7018 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7019 (__ASSUME_UTIMES): Do not undefine.
7020 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7021 (__ASSUME_UTIMES): Likewise.
7022 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7023 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
7024 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
7025 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
7026
4c0c0e2a
SE
70272014-12-22 Steve Ellcey <sellcey@imgtec.com>
7028
7029 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
7030
0dacd7a3
CM
70312014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
7032
b638f96a
CM
7033 [BZ #17747]
7034 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
7035 alias to weak alias for j0l, y0l.
7036 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
7037 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
7038
0dacd7a3
CM
7039 [BZ #17746]
7040 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
7041 conversion.
7042
528479c4
SE
70432014-12-22 Steve Ellcey <sellcey@imgtec.com>
7044
7045 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
7046 to zero if not already defined.
7047
f56f9124
JM
70482014-12-22 Joseph Myers <joseph@codesourcery.com>
7049
7050 [BZ #17724]
7051 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
7052 (__kernel_standard_f): Remove. Moved to k_standardf.c.
7053 (__kernel_standard_l): Remove. Moved to k_standardl.c with
7054 (char *) casts added.
7055 * sysdeps/ieee754/k_standardf.c: New file.
7056 * sysdeps/ieee754/k_standardl.c: Likewise.
7057 * math/Makefile (libm-support): Remove k_standard.
7058 (libm-calls): Add k_standard.
7059
8622d556
WD
70602014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7061
7062 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7063 Optimize to avoid an unnecessary FPCR read.
7064
f3806bdb
WD
70652014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7066
7067 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7068 Optimize to reduce FPCR/FPSR accesses.
7069
9b47df58
WD
70702014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7071
7072 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
7073 Call libc_fetestexcept_aarch64.
7074
97be3cac
WD
70752014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7076
7077 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
7078 Call libc_fesetround_aarch64.
7079
935ab817
JM
70802014-12-22 Joseph Myers <joseph@codesourcery.com>
7081
7082 [BZ #17733]
7083 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
7084 (__bind): Do not define as weak alias.
7085 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
7086 define.
7087 (__getsockname): Do not define as weak alias.
7088
cc8623f1
WN
70892014-12-22 Will Newton <will.newton@linaro.org>
7090
7091 * manual/install.texi: Document that we require bison 2.7
7092 or above.
7093 * INSTALL: Regenerate.
7094 * configure.ac: Use AC_CHECK_PROG_VER instead of
7095 AC_PATH_PROG when checking for bison and check for
7096 version 2.7 or above.
7097 * configure: Regenerate.
7098
a19ca65a
CM
70992014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
7100
92901170 7101 [BZ #17745]
e969965a
CM
7102 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
7103 * sysdeps/tile/ffsll.c (ffsll): To here.
7104
a19ca65a
CM
7105 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
7106
050f7298
L
71072014-12-21 H.J. Lu <hongjiu.lu@intel.com>
7108
7109 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
7110 if not defined.
7111 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
7112 definition.
7113 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7114 hidden ___tls_get_addr.
7115 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7116 hidden __tls_get_addr.
7117 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
7118 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
7119 Likewise.
7120
6df5547e
AS
71212014-12-21 Andreas Schwab <schwab@linux-m68k.org>
7122
7123 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
7124 _dl_init call.
7125
7432d613
L
71262014-12-21 H.J. Lu <hongjiu.lu@intel.com>
7127
7128 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
7129 from "call _dl_init@PLT".
7130 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 7131
98fe149e
AK
71322014-12-21 Anders Kaseorg <andersk@mit.edu>
7133
7134 * manual/search.texi: (Array Sort Function): Clarify stable sorting
7135 guarantees.
7136
d12455f5
CM
71372014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
7138
7139 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
7140
95dee05f
CM
71412014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
7142
92901170 7143 [BZ #17744]
95dee05f
CM
7144 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
7145 strnlen.
7146
2ef4b74a
SE
71472014-12-19 Steve Ellcey <sellcey@imgtec.com>
7148
7149 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
7150 of multu on MIPSr6.
7151 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
7152 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
7153 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
7154 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
7155 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
7156
71572014-12-19 Steve Ellcey <sellcey@imgtec.com>
7158
7159 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
7160 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
7161 (PTR_SUBU): Use subu for mips32r6/mips64r6.
7162 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 7163 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
7164 mips32r6/mips64r6.
7165 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
7166
3eb38795
OB
71672014-12-19 Ondřej Bílka <neleai@seznam.cz>
7168
7169 * string/strncat.c (STRNCAT): Simplify implementation.
7170
6d4188dd
DM
71712014-12-19 David S. Miller <davem@davemloft.net>
7172
0d4ba8be
DM
7173 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
7174 access the quad as both a long double and as a series of 4 words.
7175
6d4188dd
DM
7176 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
7177 link_map->l_info array access.
7178
4ef91cdc
CM
71792014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
7180
804c54f7
CM
7181 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
7182
4ef91cdc
CM
7183 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
7184 * math/atest-exp2.c (TIMEOUT): Likewise.
7185 * math/atest-sincos.c (TIMEOUT): Likewise.
7186
afd176d6
L
71872014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7188
7189 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
7190 -Wno-error with -fno-builtin-lround.
7191
a4a43a90
TR
71922014-12-19 Torvald Riegel <triegel@redhat.com>
7193
7194 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
7195 Contains futex constants and functions moved over from ...
7196 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
7197 <lowlevellock-futex.h>.
7198 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7199 (lll_timedwait_tid): Add comments and parentheses around macro
7200 arguments.
7201
76f71081
TR
72022014-12-19 Torvald Riegel <triegel@redhat.com>
7203
7204 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
7205 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
7206 (__lll_private_flag): Remove.
7207 (lll_futex_wait): Likewise.
7208 (lll_futex_timed_wait): Likewise.
7209 (lll_futex_wake): Likewise.
7210 (lll_futex_requeue): Likewise.
7211 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7212 (__lll_timedwait_tid): Spell out argument names.
7213 (lll_timedwait_tid): Add comments and parentheses around macro
7214 arguments.
7215 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
7216 LLL_SHARED and LLL_PRIVATE usable from assembly code.
7217
6b814909
TR
72182014-12-19 Torvald Riegel <triegel@redhat.com>
7219
7220 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
7221 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7222 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7223 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
7224 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
7225 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
7226 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
7227 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
7228 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
7229 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
7230 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
7231 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
7232 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
7233 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
7234 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
7235 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
7236 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
7237 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
7238 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
7239
9cd4d4ab
L
72402014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7241
7242 * sysdeps/x86_64/x32/Makefile: New file.
7243
c9c1a2d0
L
72442014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7245
7246 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
7247 1L with (mp_limb_t) 1.
7248
af102d95
RM
72492014-12-17 Roland McGrath <roland@hack.frob.com>
7250
dd690454
RM
7251 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
7252 * nptl/libc_pthread_init.c: ... here.
7253 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
7254 * nptl/register-atfork.c: ... here.
7255
74eb826c
RM
7256 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
7257 Use pthread_sigmask rather than INTERNAL_SYSCALL.
7258 Use assert_perror to check its return value.
7259 (__gai_create_helper_thread): Likewise.
7260
c9ce306b
RM
7261 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
7262
af102d95
RM
7263 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
7264
8ac5a76a
JM
72652014-12-17 Joseph Myers <joseph@codesourcery.com>
7266
ea41469b
JM
7267 [BZ #17725]
7268 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
7269 __profil_counter.
7270 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
7271 Likewise.
7272 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
7273 Likewise.
7274 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
7275 Likewise.
7276 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
7277 (profil_counter): Likewise.
7278 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
7279 (profil_counter): Likewise.
7280 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
7281 Likewise.
7282 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
7283 Likewise.
7284 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
7285 (profil_counter): Likewise.
7286 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
7287 Likewise.
7288 [!__profil_counter] (profil_counter): Define as weak alias of
7289 __profil_counter.
7290 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
7291 (profil_counter): Rename to __profil_counter.
7292 [!__profil_counter] (profil_counter): Define as weak alias of
7293 __profil_counter.
7294 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
7295 (profil_counter): Rename to __profil_counter.
7296 [!__profil_counter] (profil_counter): Define as weak alias of
7297 __profil_counter.
7298 * sysdeps/posix/profil.c: Update comment referring to
7299 profil_counter.
7300 (__profil): Use __profil_counter instead of profil_counter.
7301 * sysdeps/posix/sprofil.c (profil_counter): Rename to
7302 __profil_counter. Use __profil_counter_ushort and
7303 __profil_counter_uint in definitions.
7304 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
7305 instead of profil_counter_uint and profil_counter_ushort.
7306
8ac5a76a
JM
7307 [BZ #17722]
7308 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
7309 define as weak alias of __inet_makeaddr.
7310 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
7311 as weak alias of __inet_addr.
7312 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
7313 as weak alias of __inet_pton. Use libc_hidden_weak.
7314 * include/arpa/inet.h (__inet_pton): Declare. Use
7315 libc_hidden_proto.
7316 (inet_makeaddr): Don't use libc_hidden_proto.
7317 (__inet_makeaddr): Declare. Use libc_hidden_proto.
7318 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
7319 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
7320 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
7321 Remove variable.
7322 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7323 (test-xfail-POSIX/time.h/linknamespace): Likewise.
7324
66ce3cb1
SE
73252014-12-17 Steve Ellcey <sellcey@imgtec.com>
7326
7327 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
7328
d22ce01b
SL
73292014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
7330
7331 * stdio-common/bug-vfprintf-nargs.c (do_test):
7332 Cast value to intptr_t to avoid format warning
7333 for usage with PRIdPTR printing macro.
7334
eca2772b
SL
73352014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
7336
7337 * libio/tst-widetext.c (do_test):
7338 Use format type %td instead of %Zd for ptrdiff_t
7339 in order to avoid format warning.
7340
bdf079da
AS
73412014-12-17 Andreas Schwab <schwab@suse.de>
7342
7343 * nscd/mem.c (gc): Add size_t cast to match printf format.
7344
3eb5d2fc
RM
73452014-12-16 Roland McGrath <roland@hack.frob.com>
7346
7347 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
7348 (init): Apply PTR_MANGLE to pointers before storing them.
7349 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
7350 before using them.
7351
d003ada2
JM
73522014-12-16 Joseph Myers <joseph@codesourcery.com>
7353
380292ba
JM
7354 [BZ #17719]
7355 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
7356 define as weak alias of __memrchr.
7357 (__memrchr): Do not define as strong alias of memrchr.
7358 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
7359 Remove variable.
7360 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7361 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7362 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7363
9a44d530
JM
7364 [BZ #17717]
7365 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
7366 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
7367 (if_indextoname): Rename to __if_indextoname and define as weak
7368 alias of __if_indextoname. Use libc_hidden_weak.
7369 (if_freenameindex): Rename to __if_freenameindex and define as
7370 weak alias of __if_freenameindex.
7371 (if_nameindex): Rename to __if_nameindex and define as weak alias
7372 of __if_nameindex.
7373 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
7374 __if_nametoindex and define as weak alias of __if_nametoindex.
7375 Use libc_hidden_weak.
7376 (if_freenameindex): Rename to __if_freenameindex and define as
7377 weak alias of __if_freenameindex.
7378 (if_nameindex): Rename to __if_nameindex and define as weak alias
7379 of __if_nameindex.
7380 (if_indextoname): Rename to __if_indextoname and define as weak
7381 alias of __if_indextoname. Use libc_hidden_weak.
7382 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
7383 __if_nametoindex and define as weak alias of __if_nametoindex.
7384 Use libc_hidden_weak.
7385 (if_freenameindex): Rename to __if_freenameindex and define as
7386 weak alias of __if_freenameindex. Use libc_hidden_weak.
7387 (if_nameindex_netlink): Use __if_freenameindex instead of
7388 if_freenameindex.
7389 (if_nameindex): Rename to __if_nameindex and define as weak alias
7390 of __if_nameindex. Use libc_hidden_weak.
7391 (if_indextoname): Rename to __if_indextoname and define as weak
7392 alias of __if_indextoname. Use libc_hidden_weak.
7393 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
7394 libc_hidden_proto.
7395 [!_ISOMAC] (__if_freenameindex): Likewise.
7396 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
7397 if_nametoindex.
7398 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
7399 variable.
7400 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7401 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7402 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7403 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7404 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7405 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7406 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7407
d003ada2
JM
7408 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
7409 Remove variable.
7410 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
7411 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
7412
a0d424ef
SP
74132014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7414
0cd85520
SP
7415 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
7416 subscript above bounds'
7417
a0d424ef
SP
7418 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
7419 bounds.
7420
0e426475
AS
74212014-12-16 Arjun Shankar <arjun.is@lostca.se>
7422
8b460906
AS
7423 * libio/tst-fopenloc.c: Use test-skeleton.c.
7424
fa13e15b
AS
7425 * stdlib/tst-bsearch.c: Use test-skeleton.c.
7426 (entry): Rename to ITEM.
7427 (do_test, comp): Adjust.
7428
0e426475
AS
7429 * stdio-common/tst-fseek.c: Use test-skeleton.c.
7430
4f646bce
TR
74312014-12-16 Torvald Riegel <triegel@redhat.com>
7432
7433 * string/tester.c: Include <libc-internal.h>.
7434 (test_memset): Ignore -Wmemset-transposed-args.
7435
a07c4427
TR
74362014-12-16 Torvald Riegel <triegel@redhat.com>
7437
7438 * misc/tst-mntent2.c (do_test): Fix warning.
7439
1469f466
TR
74402014-12-16 Torvald Riegel <triegel@redhat.com>
7441
7442 * elf/tst-unique4lib.cc(a): Mark as used.
7443
11e3417a
FW
74442014-12-16 Florian Weimer <fweimer@redhat.com>
7445
7446 [BZ #17630]
7447 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
7448 names.
7449
ae61fc7b
AM
74502014-12-16 Allan McRae <allan@archlinux.org>
7451
7452 * stdio-common/Makefile (tests): Re-add bug26.
7453
363a9899
OB
74542014-12-15 Ondřej Bílka <neleai@seznam.cz>
7455
7456 [BZ #17657]
7457 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
7458 static array.
7459
d52c62df
TR
74602014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
7461
7462 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
7463 (__lll_lock_wait): Likewise.
7464 (__lll_timedlock_wait): Likewise.
7465 (__lll_timedwait_tid): Likewise.
7466 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
7467 (__lll_robust_timedlock_wait): Likewise.
7468 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
7469 (lll_cond_trylock): Likewise.
7470 (__lll_lock): Likewise.
7471 (__lll_robust_lock): Likewise.
7472 (__lll_cond_lock): Likewise.
7473 (lll_robust_cond_lock): Likewise.
7474 (__lll_timedlock): Likewise.
7475 (__lll_robust_timedlock): Likewise.
7476 (__lll_unlock): Likewise.
7477 (__lll_robust_unlock): Likewise.
7478 (lll_wait_tid): Likewise.
7479 (lll_timedwait_tid): Likewise.
7480
045a6bcd
TR
74812014-12-15 Torvald Riegel <triegel@redhat.com>
7482
7483 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
7484
7f786dc1
TR
74852014-12-15 Torvald Riegel <triegel@redhat.com>
7486
7487 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
7488
e7e21cba
AZ
74892014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
7490
7491 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
7492 * stdio-common/tst-sprintf.c: Likewise.
7493
bc89c0fc
TR
74942014-12-15 Torvald Riegel <triegel@redhat.com>
7495
7496 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
7497
a5357b7c
JL
74982014-12-15 Jeff Law <law@redhat.com>
7499
7500 [BZ #16617]
7501 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
7502 on the heap. (CVE-2012-3406)
7503 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
7504 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
7505 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
7506
3a12c70f
WN
75072014-12-15 Will Newton <will.newton@linaro.org>
7508
7509 * manual/install.texi: Bump required version of texinfo
7510 to 4.7 from 4.5.
7511 * INSTALL: Regenerated.
7512 * configure.ac: Check for makeinfo version 4.7 and above.
7513 * configure: Regenerated.
7514
e4f639e4
RM
75152014-12-12 Roland McGrath <roland@hack.frob.com>
7516
7517 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
7518 PREFIX, string constant to insert between directory and name.
7519 * sysdeps/posix/shm_open.c: Update caller.
7520 * sysdeps/posix/shm_unlink.c: Likewise.
7521 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
7522 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
7523 (SEM_SHM_PREFIX): New macro.
7524 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
7525 [$(have-thread-library) = no].
7526 * nptl/Makefile (libpthread-routines): Add shm-directory.
7527 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
7528 * sysdeps/nptl/shm-directory.h: New file.
7529 * sysdeps/posix/shm-directory.c
7530 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
7531 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7532 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
7533 INTERNAL_SYSCALL.
7534 (__where_is_shmfs): Function removed.
7535 (mountpoint, defaultmount, defaultdir, __namedsem_once):
7536 Variables removed.
7537 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
7538 Use SHM_GET_NAME.
7539 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
7540
7541 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
7542 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
7543 unconditional for use inside libpthread.
7544 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
7545
439c43f6
RM
75462014-12-12 Roland McGrath <roland@hack.frob.com>
7547
c76d1ff5
RM
7548 * nptl/pthread_getaffinity.c: New file.
7549 * nptl/pthread_setaffinity.c: New file.
7550 * nptl/pthread_getname.c: New file.
7551 * nptl/pthread_setname.c: New file.
7552
439c43f6
RM
7553 * nptl/pthread_create.c (START_THREAD_DEFN)
7554 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
7555
48e435cd
SL
75562014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7557 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7558
7559 * resolv/res_send.c (send_vc): Disable warning resplen may
7560 be used uninitialized.
7561
9d9c0019
SL
75622014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7563
7564 * nptl/tst-mutex6.c
7565 (ATTR_NULL): New define checks ATTR against NULL.
7566 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
7567 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
7568
9173840b
JL
75692014-12-11 James Lemke <jwlemke@codesourcery.com>
7570
7571 [BZ #17581]
7572 * malloc/hooks.c
7573 (mem2mem_check): Revert my previous change.
7574 (malloc_check_get_size): Revert my previous change.
7575 (mem2chunk_check): Revert my previous change.
7576
78e21c5d
RM
75772014-12-11 Roland McGrath <roland@hack.frob.com>
7578
7579 * sysdeps/posix/shm-directory.c: New file.
7580 * sysdeps/posix/shm-directory.h: New file.
7581 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
7582 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
7583 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
7584 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
7585 Transmute EPERM to EACCES.
7586 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
7587 from ...
7588 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
7589 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
7590
f82c43af
KK
75912014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7592
7593 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
7594 pointer and cast to uintptr_t.
7595 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
7596 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
7597 Add cast to avoid warning.
7598 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
7599
fc00cf7b
JM
76002014-12-11 Joseph Myers <joseph@codesourcery.com>
7601
7602 * nptl/semaphore.h: Move to ...
7603 * sysdeps/pthread/semaphore.h: ... here.
7604 * Makefile (installed-headers): Change nptl/semaphore.h to
7605 sysdeps/pthread/semaphore.h.
7606
1c4053db
RM
76072014-12-11 Roland McGrath <roland@hack.frob.com>
7608
73b0c1a1
RM
7609 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
7610 generated error format strings.
7611
1c4053db
RM
7612 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
7613 -Wformat-extra-args warnings for scanf formats.
7614 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
7615 test of zero-length format (duh).
7616 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
7617 corner-case scanf format test.
7618 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
7619 generated fprintf format string.
7620 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
7621 corner-case sprintf format tests.
7622 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
7623 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
7624 -Wformat-extra-args warnings throughout.
7625 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
7626 (CFLAGS-scanf4.c): Likewise.
7627 (CFLAGS-scanf7.c): Likewise.
7628 (CFLAGS-tst-sprintf.c): Likewise.
7629 (CFLAGS-tst-printf.c): Likewise.
7630 (CFLAGS-tst-printfsz.c): Likewise.
7631
47d51f4f
JM
76322014-12-11 Joseph Myers <joseph@codesourcery.com>
7633
a1edbf3c
JM
7634 * include/cpio.h: New file.
7635 * include/fmtmsg.h: Likewise.
7636
47d51f4f
JM
7637 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
7638 corresponding format argument to size_t.
7639 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
7640 arguments.
7641 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
7642 corresponding format argument to size_t.
7643 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
7644 arguments.
7645 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
7646 corresponding format argument to size_t.
7647 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
7648 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
7649 (CFLAGS-tst-mbswcs2.c): Likewise.
7650 (CFLAGS-tst-mbswcs3.c): Likewise.
7651 (CFLAGS-tst-mbswcs4.c): Likewise.
7652 (CFLAGS-tst-mbswcs5.c): Likewise.
7653 (CFLAGS-tst-trans.c): Likewise
7654
e9813cfb
RM
76552014-12-11 Roland McGrath <roland@hack.frob.com>
7656
7657 * posix/regexbug1.c (main): Use "%s" format with regerror results,
7658 rather than assuming they won't contain any '%'s.
7659
f627ca82
CM
76602014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
7661
7662 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
7663 inhibit_loop_to_libcall to avoid recursive calls.
7664 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
7665 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
7666
7f296942
AZ
76672014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
7668
7669 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
7670 prototype.
7671
d0276e18
SE
76722014-12-11 Steve Ellcey <sellcey@imgtec.com>
7673
7674 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
7675 integer value instead of boolean.
7676
fc56e970
SE
76772014-12-11 Steve Ellcey <sellcey@imgtec.com>
7678
7679 * malloc/malloc.c: Fix powerof2 check.
7680
40e53917
SL
76812014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7682
7683 * locale/programs/locfile.h (maybe_swap_uint32):
7684 Remove inline and add unused attribute.
7685
1ea166df
SL
76862014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7687
9d9c0019 7688 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
7689 Truncating assembler expression to a .long expression.
7690
acf869f4
AS
76912014-12-11 Andreas Schwab <schwab@suse.de>
7692
7693 * elf/rtld.c (struct map_args): Constify str member.
7694 (do_preload): Constify fname argument.
7695
9d969099
AZ
76962014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7697
7698 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
7699 constants definition.
7700
da5bcaa4
AS
77012014-12-11 Andreas Schwab <schwab@suse.de>
7702
b0a3c164
AS
7703 [BZ #16657]
7704 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
7705 FORCE_ELISION instead of DO_ELISION.
7706 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
7707 Remove.
7708 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
7709 Likewise.
7710
da5bcaa4
AS
7711 * iconvdata/gconv-modules: Remove duplicate entry.
7712
6d248857
WN
77132014-12-11 Will Newton <will.newton@linaro.org>
7714
7715 Merge gettext 0.19.3 into intl/.
7716
7717 This involves a number of cosmetic changes to comments
7718 and ANSI function definitions and prototypes throughout
7719 all the files. The gettext copyright header is used but
7720 with the date ranges taken from the glibc copy.
7721
7722 * NEWS: Add gettext merge to 2.21.
7723 * intl/bindtextdom.c: Switch to gettext copyright.
7724 Use ANSI definitions and prototypes.
7725 Use gl_* locking primitives rather than __libc_* ones.
7726 Use __builtin_expect rather than __glibc_likely/unlikely.
7727 * intl/dcgettext.c: Switch to gettext copyright.
7728 Use ANSI definitions and prototypes.
7729 * intl/dcigettext.c: Switch to gettext copyright.
7730 Use ANSI definitions and prototypes.
7731 (INTDIV0_RAISES_SIGFPE): New define.
7732 Use gl_* locking primitives rather than __libc_* ones.
7733 Include eval-plural.h instead of plural-eval.c.
7734 Use __builtin_expect rather than __glibc_likely/unlikely.
7735 * intl/dcngettext.c: Switch to gettext copyright.
7736 Use ANSI definitions and prototypes.
7737 * intl/dgettext.c: Likewise.
7738 * intl/dngettext.c: Likewise.
7739 * intl/plural-eval.c: Renamed to...
7740 * intl/eval-plural.h: ...this.
7741 * intl/explodename.c: Switch to gettext copyright.
7742 Use ANSI definitions and prototypes.
7743 (_nl_explode_name): Use strchr instead of __rawmemchr.
7744 * intl/finddomain.c: Switch to gettext copyright.
7745 Use ANSI definitions and prototypes.
7746 Use gl_* locking primitives rather than __libc_* ones.
7747 (_nl_find_domain): Use malloc rather than alloca for
7748 allocation of temporary locale name.
7749 * intl/gettext.c: Switch to gettext copyright.
7750 Use ANSI definitions and prototypes.
7751 * intl/gettextP.h: Switch to gettext copyright.
7752 Use ANSI definitions and prototypes.
7753 Use gl_* locking primitives rather than __libc_* ones.
7754 * intl/gmo.h: Switch to gettext copyright.
7755 (struct sysdep_string): Move struct segment_pair outside of
7756 struct definition.
7757 * intl/hash-string.c: Use ANSI definitions and prototypes.
7758 * intl/hash-string.h: Switch to gettext copyright.
7759 Use ANSI definitions and prototypes.
7760 * intl/l10nflist.c: Switch to gettext copyright.
7761 Use ANSI definitions and prototypes.
7762 (_nl_normalize_codeset): Avoid integer overflow.
7763 * intl/loadinfo.h: Switch to gettext copyright.
7764 Use ANSI definitions and prototypes.
7765 (LIBINTL_DLL_EXPORTED): New define.
7766 (PATH_SEPARATOR): New define.
7767 * intl/loadmsgcat.c: Switch to gettext copyright.
7768 * intl/localealias.c: Switch to gettext copyright.
7769 Use ANSI definitions and prototypes.
7770 (_nl_expand_alias): Use PATH_SEPARATOR.
7771 * intl/ngettext.c: Switch to gettext copyright.
7772 Use ANSI definitions and prototypes.
7773 * intl/plural-exp.c: Likewise.
7774 * intl/plural-exp.h: Switch to gettext copyright.
7775 Use ANSI definitions and prototypes.
7776 (struct expression): Move definition of enum operator outside
7777 of struct definition.
7778 * intl/plural.c: Regenerate.
7779 * intl/plural.y: Switch to gettext copyright.
7780 Use ANSI definitions and prototypes.
7781 Port to bison 3.0.
7782 * intl/textdomain.c: Switch to gettext copyright.
7783 Use ANSI definitions and prototypes.
7784 Use gl_* locking primitives rather than __libc_* ones.
7785
48c43298
SE
77862014-12-10 Steve Ellcey <sellcey@imgtec.com>
7787
7788 * debug/warning-nop.c: Add used atrribute.
7789
2b89bce9
JM
77902014-12-10 Joseph Myers <joseph@codesourcery.com>
7791
c153ac9f
JM
7792 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
7793
2b89bce9
JM
7794 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
7795 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
7796 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
7797
2cfbdb9a
JM
77982014-12-10 Joseph Myers <joseph@codesourcery.com>
7799 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7800
7801 [BZ #17634]
7802 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
7803 Undefine after defining function. Define as weak alias of
7804 __wcschr. Use libc_hidden_weak.
7805 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
7806 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
7807 (libc_hidden_def): Also define __GI___wcschr alias.
7808 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
7809 __wcschr and define as weak alias of __wcschr.
7810 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
7811 __wcschr.
7812 [!WCSCHR] (DEFAULT_WCSCHR): Define.
7813 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
7814 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
7815 libc_hidden_weak. Do not use libc_hidden_def.
7816 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
7817 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
7818 __GI___wcschr alias.
7819 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
7820 [IS_IN (libc)] (wcschr): Define as macro expanding to
7821 __redirect_wcschr.
7822 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
7823 [IS_IN (libc)] (__wcschr_power6): Likewise.
7824 [IS_IN (libc)] (__wcschr_power7): Likewise.
7825 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
7826 instead of wcschr.
7827 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
7828 __libc_wcschr.
7829 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
7830 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
7831 __wcschr and define as weak alias of __wcschr. Use
7832 libc_hidden_builtin_def.
7833 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
7834 as weak alias of __wcschr. Use libc_hidden_weak.
7835 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
7836 wcschr.
7837 * time/era.c (_nl_init_era_entries): Likewise.
7838 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
7839 variable.
7840 (test-xfail-XPG3/time.h/linknamespace): Likewise.
7841 (test-xfail-XPG4/time.h/linknamespace): Likewise.
7842
1b8bf351
JM
78432014-12-10 Joseph Myers <joseph@codesourcery.com>
7844
7845 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
7846 format for long int variable.
7847
f5f46d51
AK
78482014-12-10 Anders Kaseorg <andersk@MIT.EDU>
7849
7850 [BZ #10672]
07008f7d 7851 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
7852 qsort stable.
7853
217a74a8
AS
78542014-12-10 Andreas Schwab <schwab@suse.de>
7855
7856 [BZ #12847]
7857 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
7858 user-controlled locks.
7859
aa76a5c7
RE
78602014-12-10 Richard Earnshaw <rearnsha@arm.com>
7861
7862 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
7863 register.
7864
2084e7ca
JM
78652014-12-10 Joseph Myers <joseph@codesourcery.com>
7866
a4ecc9eb
JM
7867 * configure.ac (--disable-werror): New configure option.
7868 (enable_werror): New AC_SUBST.
7869 * configure: Regenerated.
7870 * config.make.in (enable-werror): New variable.
7871 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
7872 -Wno-error=undef.
7873 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
7874 * manual/install.texi (Configuring and compiling): Document
7875 --disable-werror.
7876 * INSTALL: Regenerated.
7877 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
7878 (CFLAGS-tst-chk2.c): Likewise.
7879 (CFLAGS-tst-chk3.c): Likewise.
7880 (CFLAGS-tst-chk4.cc): Likewise.
7881 (CFLAGS-tst-chk5.cc): Likewise.
7882 (CFLAGS-tst-chk6.cc): Likewise.
7883 (CFLAGS-tst-lfschk1.c): Likewise.
7884 (CFLAGS-tst-lfschk2.c): Likewise.
7885 (CFLAGS-tst-lfschk3.c): Likewise.
7886 (CFLAGS-tst-lfschk4.cc): Likewise.
7887 (CFLAGS-tst-lfschk5.cc): Likewise.
7888 (CFLAGS-tst-lfschk6.cc): Likewise.
7889
0f88636c
JM
7890 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
7891 (main): Disable -Wdeprecated-declarations around calls to
7892 register_printf_function.
7893
c81e9deb
JM
7894 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
7895 (do_test): Disable -Wdiv-by-zero around some calls to
7896 fwrite_unlocked and fread_unlocked.
7897
2084e7ca
JM
7898 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
7899 (DIAG_POP_NEEDS_COMMENT): Likewise.
7900 (_DIAG_STR1): Likewise.
7901 (_DIAG_STR): Likewise.
7902 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
7903 * stdio-common/bug21.c: Include <libc-internal.h>.
7904 (do_test): Disable -Wformat around call to sscanf.
7905 * stdio-common/scanf14.c: Include <libc-internal.h>.
7906 (main): Disable -Wformat around some calls to scanf functions.
7907
df7ecc6b
TR
79082014-12-09 Torvald Riegel <triegel@redhat.com>
7909
7910 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
7911
2aa3862e
AZ
79122014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7913
7914 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
7915 stack variable alignment.
7916
c5c2b7c3
JM
79172014-12-06 Joseph Myers <joseph@codesourcery.com>
7918
7919 [BZ #17682]
7920 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
7921 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
7922 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
7923 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
7924 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
7925 __getrlimit instead of getrlimit.
7926 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
7927 __gettimeofday instead of gettimeofday.
7928 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7929 Likewise.
7930 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7931 Likewise.
7932 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7933 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
7934 Remove variable.
7935 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
7936 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
7937
9752c3cd
AZ
79382014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7939
7940 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
7941 for wide-character tests.
7942
4bee4cd9
RM
79432014-12-04 Roland McGrath <roland@hack.frob.com>
7944
7945 * io/openat64.c: #include <libc-internal.h>
7946 (__openat64): Prototypify. Use ignore_value on MODE.
7947 * io/openat.c: Likewise.
7948 * misc/reboot.c: #include <libc-internal.h>
7949 (reboot): Prototypify. Use ignore_value on HOWTO.
7950 * misc/ptrace.c: #include <libc-internal.h>
7951 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
7952
84dbedb6
JM
79532014-12-04 Joseph Myers <joseph@codesourcery.com>
7954
7955 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
7956 XPG4, UNIX98 and XOPEN2K.
7957 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
7958 Remove variable.
7959 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
7960
b7a3e1c4 79612014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 7962
af50dfc1 7963 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
7964 * libio/iofopen.c: Likewise.
7965 * libio/wfileops.c: Likewise.
7966
fe8b4d98
SP
7967 [BZ #17653]
7968 * libio/fileops.c (_IO_new_file_underflow): Unset cached
7969 offset on EOF.
7970 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
7971 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
7972 (fgets_func): Function pointer to fgets and fgetws.
7973 (do_ftell_test): Add test to verify ftell value after read
7974 EOF.
7975 (do_test): Set fgets_func.
7976
61b4f792
SP
7977 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
7978 O_TRUNC flag for w and w+ modes.
7979 (do_rewind_test): Likewise.
7980 (do_ftell_test): Likewise.
7981 (do_write_test): Likewise.
7982
be349d70
SP
7983 [BZ #17647]
7984 * libio/fileops.c (do_ftell): Seek only when there are
7985 unflushed writes.
7986 * libio/wfileops.c (do_ftell_wide): Likewise.
7987 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
7988 test case.
7989 (do_one_test): Call it.
7990
e3d6dba5
JM
79912014-12-03 Joseph Myers <joseph@codesourcery.com>
7992
7993 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
7994 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
7995 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
7996 Remove variable.
7997 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
7998 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
7999 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8000
7f994279
JM
80012014-12-02 Joseph Myers <joseph@codesourcery.com>
8002
28a91e8f
JM
8003 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
8004 Remove variable.
8005 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8006
7f994279
JM
8007 [BZ #17668]
8008 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
8009 as weak alias of __getifaddrs. Use libc_hidden_weak.
8010 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8011 __freeifaddrs. Use libc_hidden_weak.
8012 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
8013 define as weak alias of __getifaddrs. Use libc_hidden_weak.
8014 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8015 __freeifaddrs. Use libc_hidden_weak.
8016 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
8017 __getifaddrs and define as weak alias of __getifaddrs. Use
8018 libc_hidden_weak.
8019 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8020 __freeifaddrs. Use libc_hidden_weak.
8021 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
8022 Remove variable.
8023 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8024 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8025
bbe4c142
PJ
80262014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
8027
8028 [BZ #17601]
8029 * sysdeps/mips/start.S (__start): Use indirect jump to call
8030 __libc_start_main.
8031
66cadc05
JM
80322014-12-02 Joseph Myers <joseph@codesourcery.com>
8033
909e16d9
JM
8034 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
8035
4e0b9016
JM
8036 * nptl/tst-mutex1.c: Include <stdbool.h>.
8037 [!ATTR] (ATTR_NULL): New macro.
8038 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
8039 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
8040 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
8041
b1aff6a4
JM
8042 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
8043 to char *.
8044
266865c0
JM
8045 [BZ #17665]
8046 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
8047 Change conditional to [__USE_MISC].
8048
84e5e756
JM
8049 [BZ #17664]
8050 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
8051 fgets_unlocked.
8052 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
8053 __fgets_unlocked.
8054 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
8055 fgets_unlocked.
8056 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
8057 Remove variable.
8058 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8059 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8060 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8061 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8062 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8063 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8064 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8065 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8066 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8067
66cadc05
JM
8068 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
8069
2e8a2de2 80702014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
8071
8072 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8073 Remove strpbrk objects.
8074 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8075 (__libc_ifunc_impl_list): Remove strpbrk implementation.
8076 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
8077 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
8078 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
8079 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
8080
bb2542e0
AZ
8081 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8082 Remove strcspn objects.
8083 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8084 (__libc_ifunc_impl_list): Remove strcspn implementation.
8085 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
8086 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
8087 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
8088 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
8089
8090 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8091 Remove strspn objetcs.
8092 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8093 (__libc_ifunc_impl_list): Remove strspn implementation.
8094 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
8095 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8096 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
8097 * sysdeps/powerpc/powerpc64/strspn.S: New file.
8098
08f1e1d2
JL
80992014-12-01 James Lemke <jwlemke@codesourcery.com>
8100
8101 [BZ #17581]
8102 * malloc/hooks.c
8103 (mem2mem_check): Add a terminator to the chain of checking blocks.
8104 (malloc_check_get_size): Use it here.
8105 (mem2chunk_check): Ditto.
8106
a8a7d7d2
RS
81072014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8108
8109 * sysdeps/powerpc/powerpc64/strtok.S: New file.
8110 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
8111
97114a38
CD
81122014-11-29 Carlos O'Donell <carlos@redhat.com>
8113
c8dc1727
CD
8114 * bits/ioctl-types.h: Indent preprocessor directives correctly.
8115
6d03458e
CD
8116 * nptl/nptl-init.c: Include libc-internal.h.
8117 (__pthread_initialize_minimal_internal): Use ROUND_UP.
8118
97114a38
CD
8119 * elf/ldconfig.c (search_dir): Expand comment.
8120
0e7e69ba
JM
81212014-11-29 Joseph Myers <joseph@codesourcery.com>
8122
8123 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
8124 variable.
8125 (linknamespace-symlist-stdlibs-tests): Likewise.
8126 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
8127 instead of $(objpfx)symlist-stdlibs.
8128 (linknamespace-libs-isoc): New variable.
8129 (linknamespace-libs): Use $(linknamespace-libs-isoc).
8130 (linknamespace-libs-ISO): New variable.
8131 (linknamespace-libs-ISO99): Likewise.
8132 (linknamespace-libs-ISO11): Likewise.
8133 (linknamespace-libs-XPG3): Likewise.
8134 (linknamespace-libs-XPG4): Likewise.
8135 (linknamespace-libs-POSIX): Likewise.
8136 (linknamespace-libs-UNIX98): Likewise.
8137 (linknamespace-libs-XOPEN2K): Likewise.
8138 (linknamespace-libs-POSIX2008): Likewise.
8139 (linknamespace-libs-XOPEN2K8): Likewise.
8140 ($(objpfx)symlist-stdlibs): Replace by
8141 $(linknamespace-symlist-stdlibs-tests). Use
8142 $(linknamespace-libs-$*) as set of libraries.
8143 ($(linknamespace-header-tests)): Update dependencies. Use
8144 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
8145 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
8146 * conform/linknamespace.pl: Remove comment about considering
8147 definitions of symbols from irrelevant libraries.
8148
d8dd0080
L
81492014-11-28 H.J. Lu <hongjiu.lu@intel.com>
8150
8151 [BZ #13862]
8152 * elf/dl-tls.c: Include <atomic.h>.
8153 (oom): Remove #ifdef SHARED/#endif.
8154 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
8155 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
8156 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
8157 big enough.
8158 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
8159 * nptl/Makefile (tests): Add tst-stack4.
8160 (modules-names): Add tst-stack4mod.
8161 ($(objpfx)tst-stack4): New.
8162 (tst-stack4mod.sos): Likewise.
8163 ($(objpfx)tst-stack4.out): Likewise.
8164 ($(tst-stack4mod.sos)): Likewise.
8165 (clean): Likewise.
8166 * nptl/tst-stack4.c: New file.
8167 * nptl/tst-stack4mod.c: Likewise.
8168
167da422
B
81692014-11-27 J. Brown <jb999@gmx.de>
8170
8171 * sysdeps/x86/bits/string.h: Add recent CPUs.
8172
9114625b
JM
81732014-11-27 Joseph Myers <joseph@codesourcery.com>
8174
6b5189eb
JM
8175 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
8176 sigblock.
8177
49051f8e
JM
8178 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
8179 feof.
8180
9114625b
JM
8181 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
8182 variable.
8183
e7300fef
SL
81842014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
8185
8186 * nscd/connections.c: Include libc-internal.h because of macro
8187 usage ignore_value.
8188
1721f0a4
SP
81892014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8190
8191 * string/bits/string3.h (__warn_memset_zero_len): Don't
8192 declare for gcc newer than 5.0.
8193 (memset): Don't test for zero-length __LEN for gcc newer than
8194 5.0.
8195
be970916
JM
81962014-11-27 Joseph Myers <joseph@codesourcery.com>
8197
d88548f4
JM
8198 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
8199 size_t for %zu format.
8200
be970916
JM
8201 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
8202 difference, not %ju.
8203
3b20fd5c
JM
82042014-11-26 Joseph Myers <joseph@codesourcery.com>
8205
8915eace
JM
8206 * include/libc-internal.h (ignore_value): New macro.
8207 * nscd/connections.c (restart): Wrap calls to setuid and setgid
8208 with ignore_value.
8209
f1a5a0e3
JM
8210 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
8211 definition.
8212
59ef1715
JM
8213 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
8214 pthread_cleanup_push to void *.
8215
a6f3079b
JM
8216 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
8217 Undefine.
8218
706688aa
JM
8219 [BZ #16619]
8220 [BZ #16740]
8221 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
8222 instead of 1L << 52.
8223
12da14a5
JM
8224 * libio/bug-rewind.c (do_test): Check fwscanf return values.
8225 * libio/bug-rewind2.c (do_test): Likewise.
8226
bd5dadac
JM
8227 * debug/test-stpcpy_chk-ifunc.c: Remove file.
8228 * debug/test-strcpy_chk-ifunc.c: Likewise.
8229 * wcsmbs/test-wcschr-ifunc.c: Likewise.
8230 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8231 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8232 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8233 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8234 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8235 * Rules [$(multi-arch) = no] (tests): Do not filter out
8236 $(tests-ifunc).
8237 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
8238 * debug/Makefile (tests-ifunc): Remove variable.
8239 (tests): Do not add $(tests-ifunc).
8240 * wcsmbs/Makefile (tests-ifunc): Remove variable.
8241 (tests): Do not add $(tests-ifunc).
8242 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
8243 [TEST_IFUNC]: Remove conditionals.
8244 * string/test-string.h (TEST_IFUNC): Remove macro.
8245 [TEST_IFUNC]: Remove conditionals.
8246
3b20fd5c
JM
8247 * string/test-strchr.c [!WIDE] (L): New macro.
8248 [WIDE] (L): Likewise.
8249 (check1): Use CHAR instead of char. Use L on string and character
8250 constants.
8251
704f7947
AZ
82522014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
8253
8254 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
8255 tests.
8256 * sysdeps/powerpc/bits/atomic.h
8257 (__arch_atomic_exchange_and_add_32_acq): Add definition.
8258 (__arch_atomic_exchange_and_add_32_rel): Likewise.
8259 (atomic_exchange_and_add_acq): Likewise.
8260 (atomic_exchange_and_add_rel): Likewise.
8261 * sysdeps/powerpc/powerpc32/bits/atomic.h
8262 (__arch_atomic_exchange_and_add_64_acq): Add definition.
8263 (__arch_atomic_exchange_and_add_64_rel): Likewise.
8264 * sysdeps/powerpc/powerpc64/bits/atomic.h
8265 (__arch_atomic_exchange_and_add_64_acq): Add definition.
8266 (__arch_atomic_exchange_and_add_64_rel): Likewise.
8267
cdcb42d7
TR
82682014-11-26 Torvald Riegel <triegel@redhat.com>
8269
8270 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
8271 Change synchronization of __sched_fifo_min_prio and
8272 __sched_fifo_max_prio.
8273 * nptl/pthread_mutexattr_getprioceiling.c
8274 (pthread_mutexattr_getprioceiling): Likewise.
8275 * nptl/pthread_mutexattr_setprioceiling.c
8276 (pthread_mutexattr_setprioceiling): Likewise.
8277 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
8278 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8279 Likewise.
8280
c82f5c0c
JM
82812014-11-26 Joseph Myers <joseph@codesourcery.com>
8282
8283 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
8284 void.
8285
439e1ad6
JM
82862014-11-25 Joseph Myers <joseph@codesourcery.com>
8287
8288 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
8289 third argument const.
8290
b1eda10e
PE
82912014-11-25 Paul Eggert <eggert@cs.ucla.edu>
8292
8293 fnmatch: work around GCC compiler warning bug with uninit var
8294 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
8295 This works around a bug with x86-64 GCC 4.9.2 and earlier
8296 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
8297 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
8298 used uninitialized in this function [-Wmaybe-uninitialized]".
8299
bde2667a
JM
83002014-11-25 Joseph Myers <joseph@codesourcery.com>
8301
8302 * posix/bug-regex31.c (main): Return RES not 0.
8303
5fbb5691
AB
83042014-11-25 Anton Blanchard <anton@samba.org>
8305
8306 * sysdeps/powerpc/bits/atomic.h
8307 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
8308
467fec0b
BM
83092014-11-24 Sterling Augustine <saugustine@google.com>
8310
8311 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
8312
e9ff8efb
RC
83132014-11-24 Ryan Cumming <etaoins@gmail.com>
8314
8315 [BZ #17608]
8316 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
8317
9744496f
JM
83182014-11-24 Joseph Myers <joseph@codesourcery.com>
8319
8320 [BZ #17633]
8321 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
8322 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
8323 variable.
8324 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8325 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8326
6423d475
WD
83272014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
8328
8329 * string/strncpy.c (strncpy): Improve performance by using memset.
8330
83312014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
8332
8333 * string/strcpy.c (strcpy):
8334 Improve performance by using strlen and memcpy.
8335
5d178c37
LH
83362014-11-24 Leonhard Holz <leonhard.holz@web.de>
8337
8338 * string/strcoll_l.c (get_next_seq): __always_inline.
8339 * string/strcoll_l.c (do_compare): __always_inline.
8340
279bc5b3
SP
83412014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8342
7a9ebfa1
SP
8343 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
8344 defined.
8345 * include/mqueue.h: Likewise.
8346 * include/stdlib.h: Likewise.
8347
4f41c682
SP
8348 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
8349 (get_null_defines): Adjust.
8350 * sunrpc/Makefile: Adjust comment.
8351 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
8352 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
8353 (CFLAGS-interp.c): Likewise.
8354 (CFLAGS-ldconfig.c): Likewise.
8355 (CPPFLAGS-.os): Likewise.
8356 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8357 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8358 * extra-modules.mk (extra-modules.mk): Likewise.
8359 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
8360 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
8361 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
8362 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
8363 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
8364 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
8365 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
8366 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
8367 * iconvdata/Makefile (CPPFLAGS): Likewise.
8368 (cpp-srcs-left): Add libof for all iconvdata routines.
8369 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
8370 * include/assert.h: Likewise.
8371 * include/ctype.h: Likewise.
8372 * include/errno.h: Likewise.
8373 * include/libc-symbols.h: Likewise.
8374 * include/math.h: Likewise.
8375 * include/netdb.h: Likewise.
8376 * include/resolv.h: Likewise.
8377 * include/stdio.h: Likewise.
8378 * include/stdlib.h: Likewise.
8379 * include/string.h: Likewise.
8380 * include/sys/stat.h: Likewise.
8381 * include/wctype.h: Likewise.
8382 * intl/l10nflist.c: Likewise.
8383 * libidn/idn-stub.c: Likewise.
8384 * libio/libioP.h: Likewise.
8385 * nptl/libc_multiple_threads.c: Likewise.
8386 * nptl/pthreadP.h: Likewise.
8387 * posix/regex_internal.h: Likewise.
8388 * resolv/res_hconf.c: Likewise.
8389 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
8390 * sysdeps/arm/memmove.S: Likewise.
8391 * sysdeps/arm/sysdep.h: Likewise.
8392 * sysdeps/generic/_itoa.h: Likewise.
8393 * sysdeps/generic/symbol-hacks.h: Likewise.
8394 * sysdeps/gnu/errlist.awk: Likewise.
8395 * sysdeps/gnu/errlist.c: Likewise.
8396 * sysdeps/i386/i586/memcpy.S: Likewise.
8397 * sysdeps/i386/i586/memset.S: Likewise.
8398 * sysdeps/i386/i686/memcpy.S: Likewise.
8399 * sysdeps/i386/i686/memmove.S: Likewise.
8400 * sysdeps/i386/i686/mempcpy.S: Likewise.
8401 * sysdeps/i386/i686/memset.S: Likewise.
8402 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8403 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8404 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
8405 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
8406 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8407 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8408 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
8409 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8410 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8411 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8412 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8413 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8414 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8415 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8416 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8417 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8418 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
8419 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
8420 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
8421 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8422 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8423 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8424 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8425 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8426 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8427 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8428 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
8429 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8430 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
8431 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8432 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8433 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8434 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8435 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8436 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8437 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8438 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8439 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8440 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8441 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8442 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8443 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8444 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8445 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8446 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8447 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8448 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
8449 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
8450 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8451 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8452 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8453 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
8454 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
8455 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8456 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8457 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
8458 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8459 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
8460 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
8461 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8462 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8463 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8464 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
8465 * sysdeps/nptl/bits/libc-lock.h: Likewise.
8466 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8467 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
8468 * sysdeps/posix/closedir.c: Likewise.
8469 * sysdeps/posix/opendir.c: Likewise.
8470 * sysdeps/posix/readdir.c: Likewise.
8471 * sysdeps/posix/rewinddir.c: Likewise.
8472 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
8473 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
8474 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8475 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8476 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8477 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
8478 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
8479 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
8480 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8481 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
8482 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8483 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8484 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8485 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
8486 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
8487 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
8488 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8489 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8490 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
8491 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
8492 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
8493 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
8494 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
8495 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
8496 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
8497 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
8498 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
8499 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
8500 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
8501 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
8502 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
8503 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
8504 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
8505 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
8506 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
8507 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
8508 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8509 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8510 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
8511 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
8512 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
8513 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
8514 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
8515 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
8516 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
8517 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
8518 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
8519 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
8520 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
8521 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
8522 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
8523 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
8524 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8525 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
8526 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
8527 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
8528 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
8529 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
8530 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
8531 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
8532 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
8533 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
8534 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8535 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
8536 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
8537 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
8538 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
8539 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
8540 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
8541 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
8542 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
8543 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
8544 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
8545 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
8546 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
8547 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
8548 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
8549 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
8550 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8551 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
8552 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
8553 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8554 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
8555 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
8556 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8557 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
8558 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
8559 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8560 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8561 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8562 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
8563 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
8564 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
8565 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8566 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8567 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
8568 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8569 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8570 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
8571 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
8572 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8573 * sysdeps/unix/alpha/sysdep.S: Likewise.
8574 * sysdeps/unix/alpha/sysdep.h: Likewise.
8575 * sysdeps/unix/make-syscalls.sh: Likewise.
8576 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8577 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8578 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8579 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
8580 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8581 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8582 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
8583 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8584 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8585 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
8586 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8587 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8588 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8589 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8590 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8591 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8592 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8593 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8594 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8595 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8596 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8597 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8598 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8599 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8600 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8601 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8602 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8605 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
8606 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8607 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8608 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8609 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8610 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8611 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8612 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8613 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8614 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8615 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8616 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8617 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8618 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8619 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8620 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8621 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8622 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8623 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8624 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8625 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8626 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8627 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8628 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8629 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8630 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
8631 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8632 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8633 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8634 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
8635 * sysdeps/x86_64/memcpy.S: Likewise.
8636 * sysdeps/x86_64/memmove.c: Likewise.
8637 * sysdeps/x86_64/memset.S: Likewise.
8638 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
8639 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8640 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8641 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
8642 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
8643 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8644 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8645 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8646 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8647 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8648 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8649 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8650 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
8651 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8652 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8653 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
8654 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8655 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8656 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8657 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8658 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
8659 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8660 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8661 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8662 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8663 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8664 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8665 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
8666 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8667 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8668 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
8669 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8670 * sysdeps/x86_64/strcmp.S: Likewise.
8671
76ca86a5
SP
8672 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
8673
a3848485
SP
8674 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
8675 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
8676 * elf/rtld-Rules: Likewise.
8677 * elf/setup-vdso.h: Likewise.
8678 * include/assert.h: Likewise.
8679 * include/bits/stdlib-float.h: Likewise.
8680 * include/errno.h: Likewise.
8681 * include/sys/stat.h: Likewise.
8682 * include/unistd.h: Likewise.
8683 * sysdeps/aarch64/setjmp.S: Likewise.
8684 * sysdeps/alpha/setjmp.S: Likewise.
8685 * sysdeps/arm/__longjmp.S: Likewise.
8686 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
8687 * sysdeps/arm/setjmp.S: Likewise.
8688 * sysdeps/arm/sysdep.h: Likewise.
8689 * sysdeps/generic/_itoa.h: Likewise.
8690 * sysdeps/generic/dl-sysdep.h: Likewise.
8691 * sysdeps/generic/ldsodefs.h: Likewise.
8692 * sysdeps/i386/dl-tls.h: Likewise.
8693 * sysdeps/i386/setjmp.S: Likewise.
8694 * sysdeps/m68k/setjmp.c: Likewise.
8695 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
8696 * sysdeps/mach/hurd/opendir.c: Likewise.
8697 * sysdeps/posix/getcwd.c: Likewise.
8698 * sysdeps/posix/opendir.c: Likewise.
8699 * sysdeps/posix/profil.c: Likewise.
8700 * sysdeps/powerpc/dl-procinfo.h: Likewise.
8701 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8702 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8703 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8704 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8705 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
8706 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8707 * sysdeps/s390/dl-tls.h: Likewise.
8708 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8709 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8710 * sysdeps/sh/sh3/setjmp.S: Likewise.
8711 * sysdeps/sh/sh4/setjmp.S: Likewise.
8712 * sysdeps/unix/alpha/sysdep.h: Likewise.
8713 * sysdeps/unix/arm/sysdep.S: Likewise.
8714 * sysdeps/unix/i386/sysdep.S: Likewise.
8715 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8716 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8717 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8718 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8719 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8720 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8721 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8722 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8723 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8724 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8725 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8726 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8727 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8730 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8731 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8732 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8733 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8734 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8735 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8736 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8737 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8738 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8739 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8740 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8741 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8742 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8743 * sysdeps/x86_64/setjmp.S: Likewise.
8744
a109996e
SP
8745 * include/math.h: Use IS_IN instead of IS_IN_libm.
8746 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
8747 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8748 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8749 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8750 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8751 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8752 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8753 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8754 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8755 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8756 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
8757 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8758 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
8759 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8760 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8761 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
8762 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
8763 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8764 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
8765 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
8766 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
8767 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
8768 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
8769 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
8770 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
8771 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
8772 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
8773 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
8774 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
8775 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8776 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
8777 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8778 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8780 Likewise.
8781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
8782 Likewise.
8783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
8784 Likewise.
8785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
8786 Likewise.
8787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
8788 Likewise.
8789 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8790 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
8791 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8792 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8793 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8794 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
8797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
8798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
8799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
8800 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
8801 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
8802 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8803 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8804 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8805 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8806 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8807 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8808 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8809 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
8810 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
8811 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
8812 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
8813 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
8814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8815 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
8816
ce9f10f7
SP
8817 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
8818 * nptl/pthreadP.h: Likewise.
8819 * nptl_db/structs.def: Likewise.
8820 * sysdeps/arm/sysdep.h: Likewise.
8821 * sysdeps/nptl/bits/libc-lock.h: Likewise.
8822 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8823 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
8824 * sysdeps/unix/alpha/sysdep.h: Likewise.
8825 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8826 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8827 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8828 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8829 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8830 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8831 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8832 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8833 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8834 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8835 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8836 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8837 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8838 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8841 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8842 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8843 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8844 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8845 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8846 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8847 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8848 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8849 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
8850 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8851
016afc75
SP
8852 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
8853 * nptl/pthreadP.h: Likewise.
8854 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8855 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8856 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8857 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8858 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8859 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8860 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8861 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8862 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8863 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8864 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8865 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8867 Likewise.
8868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8869 Likewise.
8870 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8871 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8872 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8873 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8874 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8875 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8876 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8877 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8878
9b42a0b3
SP
8879 * dlfcn/dladdr.c: Use IS_IN.
8880 * dlfcn/dladdr1.c: Likewise.
8881 * dlfcn/dlclose.c: Likewise.
8882 * dlfcn/dlerror.c: Likewise.
8883 * dlfcn/dlinfo.c: Likewise.
8884 * dlfcn/dlmopen.c: Likewise.
8885 * dlfcn/dlopen.c: Likewise.
8886 * dlfcn/dlsym.c: Likewise.
8887 * dlfcn/dlvsym.c: Likewise.
8888
85f36372
SP
8889 * include/ifaddrs.h: Use IS_IN.
8890 * inet/check_pf.c: Likewise.
8891 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8892 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
8893
fb6784e3
SP
8894 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
8895 IS_IN_ldconfig.
8896 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
8897 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
8898
2886d2d1
SP
8899 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
8900 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
8901 IS_IN (libc).
8902
9a484857
SP
8903 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
8904
a10178bd
SP
8905 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
8906 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8907 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8908 * include/libc-symbols.h (IS_IN_LIB): New macro.
8909 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
8910 * include/netdb.h: Likewise.
8911 * include/stap-probe.h: Remove all uses of IN_LIB.
8912
279bc5b3
SP
8913 * Makeconfig (module-cppflags-real): Define MODULE_NAME
8914 instead of IN_MODULE.
8915 * include/libc-symbols.h (IN_MODULE): Define using
8916 MODULE_NAME.
8917 (PASTE_NAME, PASTE_NAME1): New macros.
8918 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
8919 of IN_LIB.
8920 (STAP_PROBE_ASM): Likewise.
8921
e0cfa510
ST
89222014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
8923
8924 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
8925 __mach_init in dlopened libc.
8926
34d97d87
MF
89272014-11-22 Mike Frysinger <vapier@gentoo.org>
8928
8929 * sysdeps/arm/preconfigure.ac: Delete EABI check.
8930 * sysdeps/arm/preconfigure: Regenerate.
8931
33cd1f74
RM
89322014-11-21 Roland McGrath <roland@hack.frob.com>
8933
8934 * nptl/pthread_create.c (__pthread_create_2_1): Set
8935 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
8936 when copying values from IATTR into PD.
8937
8c230039
WN
89382014-11-21 Will Newton <will.newton@linaro.org>
8939 Andrew Pinski <andrew.pinski@caviumnetworks.com>
8940
6d3db89b
AP
8941 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
8942 Refactor inline-asm. Also add comment.
8943
01194ba1
WN
8944 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
8945 ElfW macro instead of hardcoded Elf64 types.
8946 (la_aarch64_gnu_pltenter): Likewise.
8947 * sysdeps/aarch64/dl-machine.h
8948 (elf_machine_runtime_setup): Use ElfW(Addr).
8949
8c230039
WN
8950 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
8951 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
8952 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
8953 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
8954 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
8955 (R_AARCH64_TLS_DTPMOD64): Rename to ..
8956 (R_AARCH64_TLS_DTPMOD): This.
8957 (R_AARCH64_TLS_DTPREL64): Rename to ...
8958 (R_AARCH64_TLS_DTPREL): This.
8959 (R_AARCH64_TLS_TPREL64): Rename to ...
8960 (R_AARCH64_TLS_TPREL): This.
8961 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
8962 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
8963 R_AARCH64_TLS_TPREL64.
8964 (elf_machine_rela): Likewise.
8965
0d79fa53
TR
89662014-11-21 Torvald Riegel <triegel@redhat.com>
8967
8968 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
8969 by setting it to 0. 64b atomics are not supported currently.
8970
b59d114b
AO
89712014-11-21 Alexandre Oliva <aoliva@redhat.com>
8972
8973 [BZ #16469]
8974 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
8975 search domain names.
8976
f3d945d5
AO
89772014-11-21 Alexandre Oliva <aoliva@redhat.com>
8978
8979 [BZ #16469]
8980 * NEWS: Update.
8981 * resolv/res_query.c (__libc_res_nquerydomain): Retain
8982 trailing dot.
8983 * posix/tst-getaddrinfo5.c: New.
8984 * posix/Makefile (tests): Add it.
8985
49698902
AO
89862014-11-21 Alexandre Oliva <aoliva@redhat.com>
8987
8988 [BZ #14498]
8989 * NEWS: Fixed.
8990 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
8991 after parsing line but before break_if_match.
8992 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
8993 if there is a protocol mismatch.
8994
81959214
MS
89952014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
8996
8997 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
8998 because the potential race is on the user-supplied stream.
8999
7729e0e9
AO
90002014-11-21 Alexandre Oliva <aoliva@redhat.com>
9001
9002 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
9003 string literal if not passed a buffer.
9004 * manual/job.texi (ctermid): Update reasoning, note deviation
9005 from posix, suggest mtasurace when not passed a buffer, for
9006 future non-preliminary safety notes.
9007
a4ea5e28
AO
90082014-11-21 Alexandre Oliva <aoliva@redhat.com>
9009
9010 * manual/users.texi (cuserid): Fix MT-Safety note for the case
9011 of not passing it a buffer.
9012 Reported by Peng Haitao.
9013
a2b581cb
AO
90142014-11-21 Alexandre Oliva <aoliva@redhat.com>
9015
9016 * manual/Makefile ($(objpfx)stamp-summary): Require
9017 check-safety.sh to pass.
9018 * manual/check-safety.sh: Wish for verification that every
9019 @deftypefn and @deftypefun is followed by a @safety remark.
9020
f214ff74
RM
90212014-11-20 Roland McGrath <roland@hack.frob.com>
9022
7f0dfae0
RM
9023 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
9024
2f531bbb
RM
9025 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
9026 PTHREAD_CANCEL_ASYNCHRONOUS.
9027 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
9028 send SIGCANCEL.
9029
f214ff74
RM
9030 * nptl/default-sched.h: New file.
9031 * sysdeps/unix/sysv/linux/default-sched.h: New file.
9032 * nptl/pthread_create.c: Include it.
9033 (__pthread_create_2_1): Use collect_default_sched instead of making
9034 Linux syscalls here directly.
9035
e37c91d4
TR
90362014-11-20 Torvald Riegel <triegel@redhat.com>
9037
9038 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
9039 __pthread_once): Use C11 atomics.
9040
1eccfecd
TR
90412014-11-20 Torvald Riegel <triegel@redhat.com>
9042
9043 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
9044
ff871426
TR
90452014-11-20 Torvald Riegel <triegel@redhat.com>
9046
9047 * include/atomic.h (__atomic_link_error, __atomic_check_size,
9048 atomic_thread_fence_acquire, atomic_thread_fence_release,
9049 atomic_thread_fence_seq_cst, atomic_load_relaxed,
9050 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
9051 atomic_compare_exchange_weak_relaxed,
9052 atomic_compare_exchange_weak_acquire,
9053 atomic_compare_exchange_weak_release,
9054 atomic_exchange_acquire, atomic_exchange_release,
9055 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
9056 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
9057 atomic_fetch_and_acquire,
9058 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
9059
1ea339b6
TR
90602014-11-20 Torvald Riegel <triegel@redhat.com>
9061
9062 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
9063 USE_ATOMIC_COMPILER_BUILTINS): Define.
9064 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
9065 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9066 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
9067 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9068 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
9069 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9070 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
9071 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9072 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
9073 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9074 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
9075 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9076 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
9077 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9078 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
9079 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9080 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9081 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9082 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9083 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9084 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
9085 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9086 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9087 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9088 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
9089 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9090 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9091 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9092 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
9093 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9094 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
9095 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9096 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
9097 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9098 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9099 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9100 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
9101 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9102 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
9103 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9104
cbd463e2
RM
91052014-11-19 Roland McGrath <roland@hack.frob.com>
9106
d960211f
RM
9107 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
9108 the sched_priority value here. It was already checked when the user
9109 called pthread_attr_setschedparam.
9110
cbd463e2
RM
9111 * nptl/tst-bad-schedattr.c: New file.
9112 * nptl/Makefile (tests): Add it.
9113
a39208bd
CD
91142014-11-19 Carlos O'Donell <carlos@redhat.com>
9115 Florian Weimer <fweimer@redhat.com>
9116 Joseph Myers <joseph@codesourcery.com>
9117 Adam Conrad <adconrad@0c3.net>
9118 Andreas Schwab <schwab@suse.de>
9119 Brooks <bmoses@google.com>
9120
9121 [BZ #17625]
9122 * wordexp-test.c (__dso_handle): Add prototype.
9123 (__register_atfork): Likewise.
9124 (__app_register_atfork): New function.
9125 (registered_forks): New global.
9126 (register_fork): New function.
9127 (test_case): Add 3 new tests for WRDE_CMDSUB.
9128 (main): Call __app_register_atfork.
9129 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
9130 fork count is non-zero fail the test.
9131 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
9132 is set.
9133 (parse_dollars): Remove check for WRDE_NOCMD.
9134 (parse_dquote): Likewise.
9135
9cd47470
SP
91362014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9137
130ac68c
SP
9138 * Makeconfig (built-modules): List non-library modules to be
9139 built.
9140 (module-cppflags): Include libc-modules.h for
9141 everything except shlib-versions.v.i.
9142 (CPPFLAGS): Use it.
9143 (before-compile): Add libc-modules.h.
9144 ($(common-objpfx)libc-modules.h,
9145 $(common-objpfx)libc-modules.stmp): New targets.
9146 (common-generated): Add libc-modules.h and libc-modules.stmp.
9147 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
9148 * include/libc-symbols.h: Don't include libc-modules.h.
9149 * include/libc-modules.h: Remove file.
9150 * scripts/gen-libc-modules.awk: New script to generate
9151 libc-modules.h.
9152 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
9153 Depend on libc-modules.stmp.
9154
286663c3
SP
9155 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
9156
9cd47470
SP
9157 * Makeconfig (in-module): Get value of libof set for the
9158 translation unit.
9159 (CPPFLAGS): Use $(in-module).
9160 * Makerules: Don't suffix routine names for nonlib.
9161 * include/libc-modules.h: New file.
9162 * include/libc-symbols.h: Include libc-modules.h
9163 (IS_IN): New macro to replace IS_IN_* macros.
9164 * elf/Makefile: Set libof-* for each routine.
9165 * elf/rtld-Rules: Likewise.
9166 * extra-modules.mk: Likewise.
9167 * iconv/Makefile: Likewise.
9168 * iconvdata/Makefile: Likewise.
9169 * locale/Makefile: Likewise.
9170 * malloc/Makefile: Likewise.
9171 * nss/Makefile: Likewise.
9172 * sysdeps/gnu/Makefile: Likewise.
9173 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
9174 * sysdeps/unix/sysv/linux/Makefile: Likewise.
9175 * sysdeps/s390/s390-64/Makefile: Likewise.
9176 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
9177 CPPFLAGS for nscd instead of nonlib.
9178
32fed10f
RM
91792014-11-18 Roland McGrath <roland@hack.frob.com>
9180
d71035bd
RM
9181 * nptl/createthread.c: New file.
9182
6540b991
RM
9183 * nptl/createthread.c: Moved ...
9184 * sysdeps/unix/sysv/linux/createthread.c: ... here.
9185
32fed10f
RM
9186 * nptl/createthread.c: Add proper top-line comment.
9187 (do_clone): Folded into ...
9188 (create_thread): ... here. Take new arguments STOPPED_START and
9189 THREAD_RAN. Always set PD->stopped_start to something here. Don't
9190 increment __nptl_threads, do event-reporting logic, do
9191 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
9192 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
9193 resource cleanup if sched_setaffinity or sched_setscheduler fails,
9194 just send SIGCANCEL.
9195 * nptl/pthread_create.c: Forward-declare create_thread before
9196 including createthread.c.
9197 (start_thread): Use new macro START_THREAD_DEFN to replace defining
9198 declaration, and new macro START_THREAD_SELF to replace argument.
9199 Remove return statement.
9200 (report_thread_creation): New function.
9201 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
9202 synchronization logic, and __nptl_nthreads increment here, around
9203 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
9204 PD->parent_cancelhandling here, before create_thread. When
9205 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
9206 __deallocate_stack, and ENOMEM translation here.
9207
107a5bf0
JM
92082014-11-18 Joseph Myers <joseph@codesourcery.com>
9209
9210 [BZ #17616]
9211 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
9212 (mptwo): Rename to __mptwo.
9213 (__inv): Use __mptwo instead of mptwo.
9214 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
9215 (mptwo): Rename to __mptwo.
9216 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
9217 of mpone and __mptwo instead of mptwo.
9218 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
9219 instead of mpone.
9220 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9221 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
9222 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
9223 of mpone and __mptwo instead of mptwo.
9224 (__mpranred): Use __mpone instead of mpone.
9225 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
9226 variable.
9227 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9228 (test-xfail-ISO99/math.h/linknamespace): Likewise.
9229 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9230 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9231 (test-xfail-ISO11/math.h/linknamespace): Likewise.
9232 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9233 (test-xfail-XPG3/math.h/linknamespace): Likewise.
9234 (test-xfail-XPG4/math.h/linknamespace): Likewise.
9235 (test-xfail-POSIX/math.h/linknamespace): Likewise.
9236 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9237 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9238 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9239 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9240 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9241 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9242 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9243 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9244 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9245 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9246
3b679ab3
TV
92472014-11-18 Tom de Vries <tom@codesoucery.com>
9248
9249 * manual/signal.texi (Primitives Interrupted by Signals): In section,
9250 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
9251
92522014-11-17 Richard Henderson <rth@redhat.com>
9253
9254 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
9255 (_FP_PACK_RAW_2): Remove.
9256 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
9257 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
9258 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
9259 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
9260 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
9261 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
9262 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
9263 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
9264 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
9265 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
9266 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
9267 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
9268 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
9269 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
9270 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
9271 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
9272
0781a777
RM
92732014-11-14 Roland McGrath <roland@hack.frob.com>
9274
9275 * signal/signal.h [__USE_MISC]
9276 (struct sigvec): Remove type.
9277 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
9278 (sigvec): Remove declaration.
9279 * sysdeps/posix/sigvec.c: Moved ...
9280 * signal/sigvec.c: ... here, replacing old file.
9281 (struct sigvec): New type, copied from old signal.h definition.
9282 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
9283 (__sigvec): Convert definition to prototype.
9284 (sigvec): Replace weak_alias with compat_symbol.
9285 * signal/Versions (libc: GLIBC_2.21): New version set.
9286 * include/signal.h: Remove __sigvec declaration.
9287 * sysdeps/unix/bsd/sigvec.c: Remove file.
9288 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
9289 * manual/signal.texi (BSD Handler): Remove subsection.
9290 Move siginterrupt up to ...
9291 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
9292 (Blocking in BSD): Fold subsection into its parent.
9293 * NEWS: Mention sigvec removal.
9294
a4733812
JM
92952014-11-14 Joseph Myers <joseph@codesourcery.com>
9296
5ae4fe60
JM
9297 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
9298 (DLA_FMS): Make definition conditional only on [__FMA4__].
9299 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
9300 definition.
9301
6a0dd472
JM
9302 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
9303 Make definition conditional only on [PROF].
9304 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
9305 definition.
9306 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
9307 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
9308
a4733812
JM
9309 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
9310 !__GNUC__].
9311 * include/signal.h (__sigpause): Move declaration above call to
9312 libc_hidden_proto.
9313 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
9314 variable.
9315 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9316 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9317
cf7246dd
DM
93182014-11-14 David S. Miller <davem@davemloft.net>
9319
9320 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
9321 Define before including <string/memcpy.c> and <string/mempcpy.c>.
9322
c1b0aadc
JM
93232014-11-14 Joseph Myers <joseph@codesourcery.com>
9324
4863355a
JM
9325 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
9326 * configure: Regenerated.
9327 * manual/install.texi (Tools for Compilation): Document a
9328 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
9329 compiler verified to work.
9330 * INSTALL: Regenerated.
9331
c1b0aadc
JM
9332 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
9333 redeclare with asm name.
9334 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
9335 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
9336 including <string.h>.
9337 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9338 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
9339 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9340 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
9341 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9342 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9343 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9344
2a1cfd94
JM
93452014-11-13 Joseph Myers <joseph@codesourcery.com>
9346
bf438382
JM
9347 * stdlib/strtol.c (__strtol): Use prototype definition.
9348
2a1cfd94
JM
9349 [BZ #17594]
9350 * stdlib/strtol.c (SYM__): New macro.
9351 (SYM__1): Likewise.
9352 (__strtol): Likewise.
9353 (strtol): Rename to __strtol and define as weak alias of
9354 __strtol. Use libc_hidden_weak.
9355
20ed0d26
SL
93562014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9357
9358 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
9359 Use numbered labels in inline assembly.
9360
53244a4e
SL
93612014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9362
9363 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
9364 Add setjmp LIBC_PROBE.
9365 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
9366 Likewise.
9367 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
9368 Add longjmp, longjmp_target LIBC_PROBE.
9369 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
9370 Likewise.
9371
47df8251
SL
93722014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9373
9374 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9375 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
9376 to get rid of unused variable warning.
9377
618cebef
SL
93782014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9379
9380 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
9381 Check for unwind_backtrace == NULL only in SHARED case.
9382 (__backchain_backtrace): Compile only in SHARED case.
9383 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
9384 Likewise.
9385 (__backchain_backtrace): Declare as static.
9386
c6aab2cb
RM
93872014-11-12 Roland McGrath <roland@hack.frob.com>
9388
9389 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
9390 (__libc_multiple_threads_ptr): Variable moved ...
9391 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
9392
5a6fa4d7
JM
93932014-11-12 Joseph Myers <joseph@codesourcery.com>
9394
24f4f825
JM
9395 * conform/GlibcConform.pm: New file.
9396 * conform/conformtest.pl: Use GlibcConform module.
9397 * conform/linknamespace.pl: New file.
9398 * conform/list-header-symbols.pl: Likewise.
9399 * conform/Makefile (linknamespace-symlists-base): New variable.
9400 (linknamespace-symlists-tests): Likewise.
9401 (linknamespace-header-base): Likewise.
9402 (linknamespace-header-tests): Likewise.
9403 (tests-special): Add new tests.
9404 ($(linknamespace-symlists-tests)): New rule.
9405 (linknamespace-libs): New variable.
9406 ($(objpfx)symlist-stdlibs): New rule.
9407 ($(linknamespace-header-tests)): Likewise.
9408 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
9409 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
9410 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
9411 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
9412 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
9413 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
9414 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
9415 (test-xfail-ISO/math.h/linknamespace): Likewise.
9416 (test-xfail-ISO/signal.h/linknamespace): Likewise.
9417 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
9418 (test-xfail-ISO/time.h/linknamespace): Likewise.
9419 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9420 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
9421 (test-xfail-ISO99/math.h/linknamespace): Likewise.
9422 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9423 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9424 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9425 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9426 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9427 (test-xfail-ISO11/math.h/linknamespace): Likewise.
9428 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9429 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9430 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9431 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9432 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
9433 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
9434 (test-xfail-XPG3/math.h/linknamespace): Likewise.
9435 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
9436 (test-xfail-XPG3/search.h/linknamespace): Likewise.
9437 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
9438 (test-xfail-XPG3/time.h/linknamespace): Likewise.
9439 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
9440 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
9441 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9442 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
9443 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
9444 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
9445 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
9446 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
9447 (test-xfail-XPG4/math.h/linknamespace): Likewise.
9448 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
9449 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9450 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
9451 (test-xfail-XPG4/search.h/linknamespace): Likewise.
9452 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
9453 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
9454 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
9455 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
9456 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
9457 (test-xfail-XPG4/time.h/linknamespace): Likewise.
9458 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
9459 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
9460 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
9461 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
9462 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
9463 (test-xfail-POSIX/math.h/linknamespace): Likewise.
9464 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
9465 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
9466 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
9467 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9468 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
9469 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9470 (test-xfail-POSIX/time.h/linknamespace): Likewise.
9471 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
9472 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
9473 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9474 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9475 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9476 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
9477 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
9478 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9479 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9480 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9481 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
9482 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
9483 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9484 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9485 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
9486 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9487 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9488 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
9489 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
9490 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
9491 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9492 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9493 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
9494 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9495 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
9496 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
9497 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
9498 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
9499 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9500 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
9501 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
9502 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
9503 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
9504 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
9505 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9506 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9507 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9508 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
9509 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
9510 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
9511 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9512 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
9513 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9514 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9515 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
9516 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
9517 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
9518 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9519 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9520 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
9521 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
9522 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9523 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9524 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
9525 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
9526 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
9527 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
9528 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9529 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9530 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
9531 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9532 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
9533 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9534 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9535 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9536 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
9537 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9538 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
9539 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
9540 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9541 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9542 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9543 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9544 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9545 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
9546 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9547 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9548 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9549 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9550 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
9551 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
9552 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9553 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9554 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9555 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9556 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
9557 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9558 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
9559 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
9560 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9561 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9562 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9563 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9564 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9565 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
9566 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9567 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9568 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
9569
cc67478e
JM
9570 [BZ #17589]
9571 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
9572 of fgets_unlocked.
9573
9975e3d3
JM
9574 [BZ #17585]
9575 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
9576 (memmem): Rename to __memmem and define as weak alias of
9577 __memmem. Use libc_hidden_weak.
9578 (__memmem): Use libc_hidden_def.
9579 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
9580 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
9581 memmem.
9582
c4eae752
JM
9583 [BZ #17582]
9584 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
9585 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
9586 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
9587 and define as weak alias of __fgets_unlocked. Use
9588 libc_hidden_weak.
9589 (__fgets_unlocked): Use libc_hidden_def.
9590 * include/stdio.h (__fgets_unlocked): Declare. Use
9591 libc_hidden_proto.
9592 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
9593 __fgets_unlocked instead of fgets_unlocked.
9594 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
9595 (GET_NPROCS_CONF_PARSER): Likewise.
9596 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
9597 (GET_NPROCS_CONF_PARSER): Likewise.
9598
01cad84e
JM
9599 [BZ #17574]
9600 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
9601 weak alias of __wmemset. Use libc_hidden_weak.
9602 (__wmemset): Use libc_hidden_def.
9603 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
9604 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
9605 of wmemset.
9606
939da411
JM
9607 [BZ #17573]
9608 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
9609 with asm name __mempcpy.
9610 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
9611
293d9a41
JM
9612 [BZ #17572]
9613 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
9614 and define as weak alias of __rawmemchr.
9615 (__rawmemchr): Do not define as strong alias of rawmemchr.
9616
bef8fd60
JM
9617 [BZ #17571]
9618 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
9619 alias of __qsort_r.
9620 (qsort): Call __qsort_r instead of qsort_r.
9621 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
9622 (__qsort_r): Declare. Call libc_hidden_proto.
9623 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
9624 instead of qsort_r.
9625 * nscd/gai.c (__qsort_r): Define to qsort_r.
9626 * posix/tst-rfc3484.c (__qsort_r): Likewise.
9627 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
9628 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
9629
c52ff39e
JM
9630 [BZ #17570]
9631 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
9632 define as weak alias of __malloc_info.
9633
2f5c1b00
JM
9634 [BZ #17584]
9635 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
9636 as weak alias of __rewinddir. Don't use libc_hidden_def.
9637 (__rewinddir): Use libc_hidden_def.
9638 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
9639 as weak alias of __rewinddir. Don't use libc_hidden_def.
9640 (__rewinddir): Use libc_hidden_def.
9641 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
9642 weak alias of __rewinddir. Don't use libc_hidden_def.
9643 (__rewinddir): Use libc_hidden_def.
9644 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
9645 (__rewinddir): Use libc_hidden_proto.
9646 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
9647 rewinddir.
9648 (__getcwd): Use __rewinddir instead of rewinddir.
9649
5a6fa4d7
JM
9650 [BZ #17583]
9651 * libio/fileno.c (fileno): Rename to __fileno and define as weak
9652 alias of __fileno. Use libc_hidden_weak.
9653 (__fileno): Use libc_hidden_def.
9654 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
9655 * libio/ftello.c (ftello): Rename to __ftello and define as weak
9656 alias of __ftello.
9657 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
9658 __ftello.
9659 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
9660 (__fread_unlocked): Define as strong alias of _IO_fread. Use
9661 libc_hidden_def.
9662 (fread_unlocked): Don't use libc_hidden_ver.
9663 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
9664 and define as weak alias of __fread_unlocked. Don't use
9665 libc_hidden_def.
9666 (__fread_unlocked): Use libc_hidden_def.
9667 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
9668 (ftello): Don't use libc_hidden_proto.
9669 (__ftello): Declare. Use libc_hidden_proto.
9670 (fread_unlocked): Don't use libc_hidden_proto.
9671 (__fread_unlocked): Declare. Use libc_hidden_proto.
9672 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
9673 and __ftello instead of fileno, fread_unlocked and ftello.
9674
2581b98e
SP
96752012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9676
9677 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
9678 GOT12.
9679 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9680 Likewise.
9681 (_dl_start_user): Likewise.
9682 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
9683
533bb7c2
SP
96842014-11-12 Carlos O'Donell <carlos@redhat.com>
9685 Siddhesh Poyarekar <siddhesh@redhat.com>
9686
9687 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
9688 Move argv and envp down instead of moving argc up.
9689 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
9690
fffa1cf8
LH
96912014-11-12 Leonhard Holz <leonhard.holz@web.de>
9692
9693 [BZ #17506]
9694 * test-skeleton.c (main): Return successful if one of
9695 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
9696 * string/tst-strcoll-overflow.c: Define expected status.
9697
fb89b46d
TU
96982014-11-12 Tatiana Udalova <t.udalova@samsung.com>
9699
9700 [BZ #17475]
9701 * locale/iso-639.def: Define Bhili and Tulu language codes.
9702
5c40c3ba
AH
97032014-11-11 Alan Hayward <alan.hayward@arm.com>
9704
9705 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
9706
b17fe01b 97072014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
9708
9709 [BZ #17555]
9710 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
9711
bd805071
AS
97122014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
9713
9714 * configure.ac: Updated check of minimal required version to
9715 2.22.
9716 * manual/install.texi (Tools for Compilation): Updated version
9717 number.
9718 * configure: Regenerated.
9719 * INSTALL: Likewise.
9720
1400983e
AS
97212014-11-07 Andreas Schwab <schwab@linux-m68k.org>
9722
9723 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
9724 __tls_get_addr.
9725
2c46a66a
JM
97262014-11-07 Joseph Myers <joseph@codesourcery.com>
9727
9728 * include/sys/wait.h (__libc_waitpid): Remove declaration.
9729 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
9730 (__waitpid): Don't define as alias. Use libc_hidden_def not
9731 libc_hidden_weak.
9732 (waitpid): Define as alias of __waitpid.
9733 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
9734 __waitpid.
9735 (__waitpid): Don't define as alias. Use libc_hidden_def not
9736 libc_hidden_weak.
9737 (waitpid): Define as alias of __waitpid.
9738 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
9739 __libc_waitpid alias.
9740 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
9741 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
9742 Likewise.
9743 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
9744 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
9745 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
9746 alias.
9747 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
9748 __waitpid.
9749 (__waitpid): Don't define as alias. Use libc_hidden_def not
9750 libc_hidden_weak.
9751 (waitpid): Define as alias of __waitpid.
9752
da53d6db
CD
97532014-11-06 Carlos O'Donell <carlos@redhat.com>
9754
a2887bdb
CD
9755 * manual/llio.texi: Add comment that write safety has been
9756 fixed in Linux.
9757
da53d6db
CD
9758 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
9759 (localplt-build-dso): Add elf/ld.so.
9760 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
9761 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
9762 and free for ld.so.
9763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
9764 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
9765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
9766 Likewise.
9767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9768 Likewise.
9769 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
9770 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
9771 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
9772 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
9773 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9774 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
9775 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
9776 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
9777 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9778 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
9779 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
9780
9cf27b8d
JM
97812014-11-05 Joseph Myers <joseph@codesourcery.com>
9782
9783 [BZ #14132]
9784 * include/libc-symbols.h (INTUSE): Remove macro.
9785 (INTDEF): Likewise.
9786 (INTVARDEF): Likewise.
9787 (_INTVARDEF): Likewise.
9788 (INTDEF2): Likewise.
9789 (INTVARDEF2): Likewise.
9790 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
9791 rtld_hidden_def instead of INTVARDEF.
9792 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
9793 (_dl_starting_up_internal): Remove declaration.
9794 (_dl_starting_up): Use rtld_hidden_proto.
9795 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
9796 declaration.
9797 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
9798 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
9799 _dl_starting_up.
9800 * elf/dl-writev.h (_dl_writev): Likewise.
9801 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
9802 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
9803 _dl_starting_up_internal.
9804
af83568d
AZ
98052014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9806
9807 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
9808 test-skeleton.c.
9809
b01ee67c
WN
98102014-11-05 Will Newton <will.newton@linaro.org>
9811
9812 * benchtests/Makefile: (bench-malloc): Add malloc thread
9813 scalability benchmark.
9814 * benchtests/bench-malloc-threads.c: New file.
9815
be9d4ccc
RE
98162014-11-05 Richard Earnshaw <rearnsha@arm.com>
9817
9818 * sysdeps/aarch64/strchrnul.S: New file.
9819
7110166d
AZ
98202014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9821
9822 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
9823 definition.
9824 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9825 Likwise.
9826 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9827 Likewise.
9828 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9829 Likewise.
9830 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9831 Likewise.
9832 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9833 Likewise.
9834
98352014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
9836
9837 * catgets/test-gencat.c: Use test-skeleton.c.
9838 * catgets/tst-catgets.c: Likewise.
9839 * csu/tst-empty.c: Likewise.
9840 * elf/tst-audit2.c: Likewise.
9841 * elf/tst-global1.c: Likewise.
9842 * elf/tst-pathopt.c: Likewise.
9843 * elf/tst-piemod1.c: Likewise.
9844 * elf/tst-tls10.c: Likewise.
9845 * elf/tst-tls11.c: Likewise.
9846 * elf/tst-tls12.c: Likewise.
9847 * gnulib/tst-gcc.c: Likewise.
9848 * iconvdata/tst-e2big.c: Likewise.
9849 * iconvdata/tst-loading.c: Likewise.
9850 * iconv/tst-iconv1.c: Likewise.
9851 * iconv/tst-iconv2.c: Likewise.
9852 * inet/test-inet6_opt.c: Likewise.
9853 * inet/tst-gethnm.c: Likewise.
9854 * inet/tst-network.c: Likewise.
9855 * inet/tst-ntoa.c: Likewise.
9856 * intl/tst-codeset.c: Likewise.
9857 * intl/tst-gettext2.c: Likewise.
9858 * intl/tst-gettext3.c: Likewise.
9859 * intl/tst-ngettext.c: Likewise.
9860 * intl/tst-translit.c: Likewise.
9861 * io/test-stat.c: Likewise.
9862 * libio/test-fmemopen.c: Likewise.
9863 * libio/tst-freopen.c: Likewise.
9864 * libio/tst-sscanf.c: Likewise.
9865 * libio/tst-ungetwc1.c: Likewise.
9866 * libio/tst-ungetwc2.c: Likewise.
9867 * libio/tst-widetext.c: Likewise.
9868 * localedata/tst-ctype.c: Likewise.
9869 * localedata/tst-digits.c: Likewise.
9870 * localedata/tst-leaks.c: Likewise.
9871 * localedata/tst-mbswcs1.c: Likewise.
9872 * localedata/tst-mbswcs2.c: Likewise.
9873 * localedata/tst-mbswcs3.c: Likewise.
9874 * localedata/tst-mbswcs4.c: Likewise.
9875 * localedata/tst-mbswcs5.c: Likewise.
9876 * localedata/tst-setlocale.c: Likewise.
9877 * localedata/tst-trans.c: Likewise.
9878 * localedata/tst-wctype.c: Likewise.
9879 * localedata/tst-xlocale1.c: Likewise.
9880 * login/tst-grantpt.c: Likewise.
9881 * malloc/tst-calloc.c: Likewise.
9882 * malloc/tst-malloc.c: Likewise.
9883 * malloc/tst-mallocstate.c: Likewise.
9884 * malloc/tst-mcheck.c: Likewise.
9885 * malloc/tst-mtrace.c: Likewise.
9886 * malloc/tst-obstack.c: Likewise.
9887 * math/atest-exp2.c: Likewise.
9888 * math/atest-exp.c: Likewise.
9889 * math/atest-sincos.c: Likewise.
9890 * math/test-matherr.c: Likewise.
9891 * math/test-misc.c: Likewise.
9892 * math/test-powl.c: Likewise.
9893 * math/tst-definitions.c: Likewise.
9894 * misc/tst-dirname.c: Likewise.
9895 * misc/tst-efgcvt.c: Likewise.
9896 * misc/tst-fdset.c: Likewise.
9897 * misc/tst-hsearch.c: Likewise.
9898 * misc/tst-mntent2.c: Likewise.
9899 * nptl/tst-sem7.c: Likewise.
9900 * nptl/tst-sem8.c: Likewise.
9901 * nptl/tst-sem9.c: Likewise.
9902 * nss/test-netdb.c: Likewise.
9903 * posix/tst-fnmatch.c: Likewise.
9904 * posix/tst-getlogin.c: Likewise.
9905 * posix/tst-gnuglob.c: Likewise.
9906 * posix/tst-mmap.c: Likewise.
9907 * pwd/tst-getpw.c: Likewise.
9908 * resolv/tst-inet_ntop.c: Likewise.
9909 * rt/tst-timer.c: Likewise.
9910 * stdio-common/test-fseek.c: Likewise.
9911 * stdio-common/test-popen.c: Likewise.
9912 * stdio-common/test-vfprintf.c: Likewise.
9913 * stdio-common/tst-cookie.c: Likewise.
9914 * stdio-common/tst-fileno.c: Likewise.
9915 * stdio-common/tst-gets.c: Likewise.
9916 * stdio-common/tst-obprintf.c: Likewise.
9917 * stdio-common/tst-perror.c: Likewise.
9918 * stdio-common/tst-sprintf2.c: Likewise.
9919 * stdio-common/tst-sprintf3.c: Likewise.
9920 * stdio-common/tst-sprintf.c: Likewise.
9921 * stdio-common/tst-swprintf.c: Likewise.
9922 * stdio-common/tst-tmpnam.c: Likewise.
9923 * stdio-common/tst-unbputc.c: Likewise.
9924 * stdio-common/tst-wc-printf.c: Likewise.
9925 * stdlib/tst-environ.c: Likewise.
9926 * stdlib/tst-fmtmsg.c: Likewise.
9927 * stdlib/tst-limits.c: Likewise.
9928 * stdlib/tst-rand48-2.c: Likewise.
9929 * stdlib/tst-rand48.c: Likewise.
9930 * stdlib/tst-random2.c: Likewise.
9931 * stdlib/tst-random.c: Likewise.
9932 * stdlib/tst-strtol.c: Likewise.
9933 * stdlib/tst-strtoll.c: Likewise.
9934 * stdlib/tst-tls-atexit.c: Likewise.
9935 * stdlib/tst-xpg-basename.c: Likewise.
9936 * string/test-ffs.c: Likewise.
9937 * string/tst-bswap.c: Likewise.
9938 * string/tst-inlcall.c: Likewise.
9939 * string/tst-strtok.c: Likewise.
9940 * string/tst-strxfrm.c: Likewise.
9941 * sysdeps/x86_64/tst-audit10.c: Likewise.
9942 * sysdeps/x86_64/tst-audit3.c: Likewise.
9943 * sysdeps/x86_64/tst-audit4.c: Likewise.
9944 * sysdeps/x86_64/tst-audit5.c: Likewise.
9945 * time/tst-ftime_l.c: Likewise.
9946 * time/tst-getdate.c: Likewise.
9947 * time/tst-mktime3.c: Likewise.
9948 * time/tst-mktime.c: Likewise.
9949 * time/tst-posixtz.c: Likewise.
9950 * time/tst-strptime2.c: Likewise.
9951 * time/tst-strptime3.c: Likewise.
9952 * wcsmbs/tst-btowc.c: Likewise.
9953 * wcsmbs/tst-mbrtowc.c: Likewise.
9954 * wcsmbs/tst-mbsrtowcs.c: Likewise.
9955 * wcsmbs/tst-wchar-h.c: Likewise.
9956 * wcsmbs/tst-wcpncpy.c: Likewise.
9957 * wcsmbs/tst-wcrtomb.c: Likewise.
9958 * wcsmbs/tst-wcsnlen.c: Likewise.
9959 * wcsmbs/tst-wcstof.c: Likewise.
9960
2004e7fb
JM
99612014-11-04 Joseph Myers <joseph@codesourcery.com>
9962
ab97ee8f
JM
9963 [BZ #14132]
9964 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
9965 INTDEF.
9966 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
9967 declaration.
9968 (_dl_mcount): Use rtld_hidden_proto.
9969 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
9970 _dl_mcount.
9971 * elf/rtld.c (_rtld_global_ro): Likewise.
9972
c5684fdb
JM
9973 [BZ #14132]
9974 * elf/dl-init.c (_dl_init): Don't use INTDEF.
9975 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
9976 of _dl_init_internal.
9977 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
9978 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
9979 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
9980 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
9981 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
9982 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
9983 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
9984 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
9985 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
9986 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
9987 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
9988 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
9989 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9990 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9991 * sysdeps/tile/dl-start.S (_start): Likewise.
9992 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
9993 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
9994
4243cbea
JM
9995 [BZ #14132]
9996 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
9997 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
9998 (rtld_progname): Make macro definition unconditional.
9999 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
10000 INTDEF.
10001 (dlmopen_doit): Do not use INTUSE with _dl_argv.
10002 (dl_main): Likewise.
10003 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10004 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
10005 instead of _dl_argv_internal.
10006 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10007 __GI__dl_argv instead of INTUSE(_dl_argv).
10008 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
10009 __GI__dl_argv instead of _dl_argv_internal.
10010
2004e7fb
JM
10011 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
10012 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
10013 macro.
10014 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
10015 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
10016 New macro.
10017 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
10018 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
10019 macro.
10020 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
10021 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
10022
97827bfc
AS
100232014-11-04 Andreas Schwab <schwab@suse.de>
10024
10025 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
10026
5e4df284
AZ
100272014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10028
10029 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
10030 mtvsrd instruction in binary form.
10031
04b76b5a
AS
100322014-11-03 Andreas Schwab <schwab@suse.de>
10033
10034 [BZ #17522]
10035 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
10036 for less than MB_LEN_MAX use a local buffer of that size.
10037 * libio/tst-fputws.c: New file.
10038 * libio/Makefile (tests): Add tst-fputws.
10039
4c6da7da
JM
100402014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
10041
10042 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
10043 the size of the fpu_fr.fpu_dregs[] array.
10044
1679ba8e
JM
100452014-11-01 Joseph Myers <joseph@codesourcery.com>
10046
10047 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
10048 (__nanosleep): Do not define as alias.
10049 (nanosleep): Define as alias of __nanosleep.
10050 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
10051 __libc_nanosleep name.
10052
2626c183
JM
100532014-10-31 Joseph Myers <joseph@codesourcery.com>
10054
10055 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
10056 install.texi in comment.
10057
7f981fc2
TR
100582014-10-31 Torvald Riegel <triegel@redhat.com>
10059
10060 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
10061 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
10062 ... add here and use lwsync or sync ...
10063 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
10064 ... and add here using lwsync.
10065
d6f373d2
MF
100662014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
10067
10068 * elf/dl-machine-reject-phdr.h: New file.
10069 * elf/dl-load.c: #include that.
10070 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
10071 if that returned true.
10072
67c37987
RM
100732014-10-31 Roland McGrath <roland@hack.frob.com>
10074
10075 [BZ #17496]
10076 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
10077 gen-as-const-headers chunk. Add a big scare comment after the last
10078 safe place to touch before-compile.
10079
94a42455 100802014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 10081
f3f5d895
JM
10082 * manual/install.texi (Tools for Compilation): Update autoconf
10083 version requirements.
10084 * INSTALL: Regenerated.
10085
f62ff286
JM
10086 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
10087 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
10088 (__libc_pselect): Likewise.
94a42455
JM
10089
10090 [BZ #14138]
10091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
10092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10095
ff9dbdc0
TR
100962014-10-31 Torvald Riegel <triegel@redhat.com>
10097
10098 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
10099 correct barrier instruction.
10100 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
10101 Likewise.
10102 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
10103 Likewise.
10104
b4f66884
RM
101052014-10-30 Roland McGrath <roland@hack.frob.com>
10106
10107 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
10108 after defining inlines. Instead, just use parens to defeat macro
10109 expansion of __isctype in its declaration.
10110
e19c95fd
JM
101112014-10-30 Joseph Myers <joseph@codesourcery.com>
10112
10113 * include/sys/uio.h (__libc_readv): Remove declaration.
10114 (__libc_writev): Likewise.
10115 * misc/readv.c (__libc_readv): Rename to __readv.
10116 (__readv): Do not define as alias.
10117 (readv): Define as alias of __readv.
10118 * misc/writev.c (__libc_writev): Rename to __writev.
10119 (__writev): Do not define as alias.
10120 (writev): Define as alias of __writev.
10121 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
10122 (__readv): Do not define as alias.
10123 (readv): Define unconditionally as alias of __readv.
10124 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
10125 (__writev): Do not define as alias.
10126 (writev): Define unconditionally as alias of __writev.
10127 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
10128 name.
10129 (writev): Do not define __libc_writev name.
10130
65b00b6c
RM
101312014-10-30 Roland McGrath <roland@hack.frob.com>
10132
10133 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
10134 (convert_charseq): New function, broken out of ...
10135 (use_from_charmap): ... here. Call it.
10136 (use_to_charmap): Use convert_charseq and free instead of duplicating
10137 its code with a variable-length stack struct.
10138
d4e157aa
JM
101392014-10-30 Joseph Myers <joseph@codesourcery.com>
10140
10141 * include/fcntl.h (__libc_creat): Remove declaration.
10142 * io/creat.c (__libc_creat): Rename to creat.
10143 (creat): Do not define as alias.
10144 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
10145 of creat instead of __libc_creat.
10146 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
10147 to creat.
10148 (creat): Do not define as alias.
10149 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
10150 __libc_creat.
10151 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
10152 __libc_creat name.
10153 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
10154 Likewise.
10155
0c6891a0
CD
101562014-10-29 Carlos O'Donell <carlos@redhat.com>
10157
10158 * manual/llio.texi: Add comments discussing why write() may be
10159 considered MT-unsafe on Linux.
10160
cc00cece
CD
101612014-10-28 Carlos O'Donell <carlos@redhat.com>
10162
10163 * dl-load.c (local_strdup): Remove.
10164 (expand_dynamic_string_token): Use __strdup.
10165 (decompose_rpath): Likewise.
10166 (_dl_map_object): Likewise.
10167
51e623f2
JM
101682014-10-28 Joseph Myers <joseph@codesourcery.com>
10169
10170 [BZ #14132]
10171 * sysdeps/generic/unwind-dw2-fde.c
10172 (__register_frame_info_bases_internal): Do not declare.
10173 (__register_frame_info_table_bases_internal): Likewise.
10174 (__deregister_frame_info_bases_internal): Likewise.
10175 (__register_frame_info_bases): Declare and use hidden_proto before
10176 definition. Use hidden_def instead of INTDEF.
10177 (__register_frame_info_table_bases): Likewise.
10178 (__deregister_frame_info_bases): Likewise.
10179 (__register_frame_info): Do not use INTUSE.
10180 (__register_frame): Likewise.
10181 (__register_frame_info_table): Likewise.
10182 (__register_frame_table): Likewise.
10183 (__deregister_frame_info): Likewise.
10184 (__deregister_frame): Likewise.
10185
03d41216
GC
101862014-10-27 Gratian Crisan <gratian.crisan@ni.com>
10187
10188 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10189 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
10190 not undefine.
10191 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
10192 Likewise.
10193 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
10194 Likewise.
10195
a4b3624d
JM
101962014-10-27 Joseph Myers <joseph@codesourcery.com>
10197
10198 [BZ #14138]
10199 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
10200 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
10201 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
10202 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
10203 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
10204 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
10205 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
10206 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
10207 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
10208 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
10209 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
10210 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
10211 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
10212 syscall.
10213 (setfsuid): Likewise.
10214 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
10215 (setfsuid): Likewise.
10216 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
10217 (setfsuid): Likewise.
10218 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
10219 Likewise.
10220 (setfsuid): Likewise.
10221 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
10222 (setfsuid): Likewise.
10223 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
10224 Likewise.
10225 (setfsuid): Likewise.
10226
3574f2fd
AS
102272014-10-27 Andreas Schwab <schwab@suse.de>
10228
10229 [BZ #17501]
10230 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
10231 check for Slow_SSE4_2 feature bit.
10232 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
10233 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10234 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
10235 Likewise. Fix check for Fast_Unaligned_Load feature bit.
10236
70996a37
RM
102372014-10-24 Roland McGrath <roland@hack.frob.com>
10238
461a7b1e
RM
10239 * configure.ac: Validate compiler version with a empirical test of
10240 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
10241 $CC -v output.
10242 * configure: Regenerated.
10243
70996a37
RM
10244 * inet/htons.c (htons): Prototypify.
10245 * inet/htonl.c (htonl): Likewise.
10246
e80514b5
WD
102472014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10248
10249 * string/strncat.c (strncat): Improve performance by using strlen.
10250
6e46de42
WD
102512014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10252
10253 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
10254
6a9ad2fa
WD
102552014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10256
10257 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
10258 Call libc_fetestexcept_aarch64.
10259
1c8810ed
WD
102602014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10261
10262 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
10263 Call libc_feholdexcept_aarch64.
10264
8b1af712
WD
102652014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10266
10267 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
10268 Call get_rounding_mode.
10269
a7b00c11
WD
102702014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10271
10272 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10273 Simplify logic.
10274
3a84f1a6
WD
102752014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10276
10277 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
10278 Simplify logic.
10279
48eb7a94
JM
102802014-10-24 Joseph Myers <joseph@codesourcery.com>
10281
c8bc4038
JM
10282 [BZ #14138]
10283 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
10284 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
10285 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
10286 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
10287 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
10288 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
10289 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
10290 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
10291 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
10292 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
10293 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10294 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
10295 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
10296 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
10297 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
10298 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
10299 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
10300 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
10301 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
10302 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
10303 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
10304 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
10305 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
10306 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
10307 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
10308 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
10309 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
10310 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
10311 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
10312 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
10313 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
10314 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
10315 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
10316 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
10317 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
10318 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
10319 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
10320 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
10321 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
10322 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
10323 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
10324 syscall.
10325 (geteuid): Likewise.
10326 (getgid): Likewise.
10327 (getuid): Likewise.
10328 (getresgid): Likewise.
10329 (getresuid): Likewise.
10330 (getgroups): Likewise.
10331 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
10332 (geteuid): Likewise.
10333 (getgid): Likewise.
10334 (getuid): Likewise.
10335 (getresgid): Likewise.
10336 (getresuid): Likewise.
10337 (getgroups): Likewise.
10338 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
10339 (geteuid): Likewise.
10340 (getgid): Likewise.
10341 (getuid): Likewise.
10342 (getresgid): Likewise.
10343 (getresuid): Likewise.
10344 (getgroups): Likewise.
10345 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
10346 Likewise.
10347 (geteuid): Likewise.
10348 (getgid): Likewise.
10349 (getuid): Likewise.
10350 (getresgid): Likewise.
10351 (getresuid): Likewise.
10352 (getgroups): Likewise.
10353 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
10354 (geteuid): Likewise.
10355 (getgid): Likewise.
10356 (getuid): Likewise.
10357 (getresgid): Likewise.
10358 (getresuid): Likewise.
10359 (getgroups): Likewise.
10360 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
10361 Likewise.
10362 (geteuid): Likewise.
10363 (getgid): Likewise.
10364 (getuid): Likewise.
10365 (getgroups): Likewise.
10366
48eb7a94
JM
10367 [BZ #14138]
10368 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
10369 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
10370 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
10371 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10372 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
10373 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
10374 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
10375 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
10376 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
10377 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
10378 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
10379 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
10380 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
10381 __chown.
10382 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
10383 (lchown): Likewise.
10384 (fchown): Likewise.
10385 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
10386 Likewise.
10387 (lchown): Likewise.
10388 (fchown): Likewise.
10389 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
10390 (lchown): Likewise.
10391 (fchown): Likewise.
10392 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
10393 Likewise.
10394 (lchown): Likewise.
10395 (fchown): Likewise.
10396
ea9a7c8b
WD
103972014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10398
10399 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
10400 Simplify logic.
10401
e226de33
WD
104022014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10403
10404 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10405 Cleanup logic.
10406
6e3d8ed3
WD
104072014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10408
10409 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10410 Remove unused include.
10411
eb04247d
WD
104122014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10413
10414 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
10415 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
10416 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
10417 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
10418
13d84554
CD
104192014-10-23 Carlos O'Donell <carlos@systemhalted.org>
10420 Helge Deller <deller@gmx.de>
10421
10422 [BZ #17508]
10423 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
10424 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
10425 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
10426
15f9c5df
JM
104272014-10-23 Joseph Myers <joseph@codesourcery.com>
10428
10429 [BZ #14132]
10430 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
10431 Remove macro definition.
10432 (__ashrdi3_v_glibc20): Likewise.
10433 (__lshrdi3_v_glibc20): Likewise.
10434 (__cmpdi2_v_glibc20): Likewise.
10435 (__ucmpdi2_v_glibc20): Likewise.
10436 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
10437 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10438 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10439 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10440 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10441 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
10442
c6dfed24
RM
104432014-10-22 Roland McGrath <roland@hack.frob.com>
10444
10445 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
10446 old GNU extension [0] syntax.
10447 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
10448 alloca rather than an array member with variable length.
10449 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
10450 * nscd/nscd.c (invalidate_db): New function, broken out of ...
10451 (parse_opt): ... here. Likewise use alloca there.
10452 Validate the -i argument before checking for rootness.
10453 (send_shutdown): New function, broken out of ...
10454 (parse_opt): ... here.
10455
8c2b1ed8
RM
104562014-10-22 Roland McGrath <roland@hack.frob.com>
10457
10458 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
10459 macro to get at the _rt_local_ro field.
10460 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
10461 ([PIC] case) or _dl_hwcap ([!PIC] case).
10462 * sysdeps/arm/setjmp.S: Likewise.
10463
10464 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
10465 * sysdeps/arm/configure.ac: New check to define it.
10466 * sysdeps/arm/configure: Regenerated.
10467 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
10468 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
10469 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
10470 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
10471 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
10472 Use move/movt pair instead of a load.
10473 (LDST_GLOBAL): Macro removed.
10474 (LDR_GLOBAL): New macro replaces it.
10475 (LDR_HIDDEN): New macro.
10476 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
10477 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
10478
10479 * setjmp/tst-setjmp-static.c: New file.
10480 * setjmp/Makefile (tests): Add it.
10481 (tests-static): New variable.
10482
b5af9297
MR
104832014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
10484
10485 [BZ #17485]
10486 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
10487
a13d0d74
JM
104882014-10-21 Joseph Myers <joseph@codesourcery.com>
10489
10490 [BZ #14132]
10491 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
10492
f05e73f6
RM
104932014-10-21 Roland McGrath <roland@hack.frob.com>
10494
10495 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
10496
6ab1d1ea
RM
104972014-10-20 Roland McGrath <roland@hack.frob.com>
10498
10499 * io/fts.c (dirent_not_directory): New function.
10500 (fts_build): Call it.
10501
ab49e763
RM
105022014-10-20 Roland McGrath <roland@hack.frob.com>
10503
e436eb79
RM
10504 * nptl/version.c (__nptl_main): Use normal __write rather than
10505 INTERNAL_SYSCALL.
10506 (banner): Update copyright years.
10507
6af246cf
RM
10508 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
10509 gettimeofday.
10510 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10511 * nptl/pthread_cond_timedwait.c: Likewise.
10512 * nptl/pthread_mutex_timedlock.c: Likewise.
10513 * nptl/sem_timedwait.c: Likewise.
10514
ab49e763
RM
10515 * sysdeps/nptl/bits/libc-lock.h
10516 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10517 (__libc_lock_init_recursive): Return void, not 0.
10518 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
10519 (__libc_rwlock_init): Likewise.
10520 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
10521
f50277c1
TR
105222014-10-20 Torvald Riegel <triegel@redhat.com>
10523
10524 [BZ #15215]
10525 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
10526 (__pthread_once_slow): ... here.
10527 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
10528 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
10529
63668b70
TR
105302014-10-20 Torvald Riegel <triegel@redhat.com>
10531
10532 [BZ #15215]
10533 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
10534 __PTHREAD_ONCE_FORK_GEN_INCR): New.
10535 * sysdeps/nptl/fork.c (__libc_fork): Use them.
10536 * nptl/pthread_once.c (__pthread_once): Likewise.
10537 Update comments.
10538
42b7f5d4
JM
105392014-10-20 Joseph Myers <joseph@codesourcery.com>
10540
10541 [BZ #14138]
10542 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
10543 name.
10544 (writev): Use __libc_writev as strong name.
10545 * sysdeps/unix/sysv/linux/readv.c: Remove file.
10546 * sysdeps/unix/sysv/linux/writev.c: Likewise.
10547
b0643088
RM
105482014-10-17 Roland McGrath <roland@hack.frob.com>
10549
114c4e09
RM
10550 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
10551
674b8978
RM
10552 * sysdeps/i386/nptl/tls.h
10553 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
10554 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
10555 New macros.
10556 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
10557 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
10558 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
10559 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
10560 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
10561 Call CHECK_THREAD_SYSINFO instead of doing an assert.
10562
184ee940
RM
10563 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10564 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
10565 on [__NR_futex].
10566 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
10567 broken out of ...
10568 (__pthread_mutex_init): ... here. Call it.
10569 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
10570 Conditionalize PI cases on [__NR_futex].
10571 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10572 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
10573 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10574
327ae257
RM
10575 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
10576 conditional on [SIGSETXID].
10577 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
10578 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
10579 is defined. Likewise for SIGSETXID.
10580 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
10581 Conditionalize definitions on [SIGSETXID].
10582 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
10583 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
10584 unblocking on [SIGCANCEL].
10585
b0643088
RM
10586 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
10587 [__NR_set_robust_list].
10588
33cc770b
SP
105892014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10590
10591 * string/strcoll_l.c (get_next_seq): Fix up formatting.
10592 (do_compare): Likewise.
10593
0742aef6
LH
105942014-10-17 Leonhard Holz <leonhard.holz@web.de>
10595
10596 [BZ #15884]
10597 * string/strcoll_l.c: Don't include stdio.h.
10598 (coll_seq): Remove members idxarr and rulearr.
10599 (get_next_seq_cached): Remove function.
10600 (get_next_seq): Likewise.
10601 (get_next_seq_nocache): Rename to get_next_seq.
10602 (do_compare): Remove function.
10603 (do_compare_nocache): Rename to do_compare.
10604 (STRCOLL): Remove weight and rules cache.
10605
ee54ce44
RM
106062014-10-16 Roland McGrath <roland@hack.frob.com>
10607
10608 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
10609 * sysdeps/arm/sfp-machine.h: ... to here.
10610 * sysdeps/arm/Implies: Remove arm/soft-fp.
10611
a75d3b02
JM
106122014-10-14 Joseph Myers <joseph@codesourcery.com>
10613
10614 * conform/data/sys/utsname.h-data (*_t): Allow.
10615 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
10616 [POSIX] (WEXITED): Do not expect constant.
10617 [POSIX] (WSTOPPED): Likewise.
10618 [POSIX] (WNOHANG): Likewise.
10619 [POSIX] (WNOWAIT): Likewise.
10620 [POSIX] (siginfo_t): Do not expect type or elements.
10621 [POSIX] (pid_t): Do not expect type.
10622 [POSIX] (signal.h): Do not allow header.
10623 [POSIX] (sys/resource.h): Likewise.
10624 [POSIX] (si_*): Do not allow pattern.
10625 [POSIX] (W*): Likewise.
10626 [POSIX] (P_*): Likewise.
10627 [POSIX] (BUS_*): Likewise.
10628 [POSIX] (CLD_*): Likewise.
10629 [POSIX] (FPE_*): Likewise.
10630 [POSIX] (ILL_*): Likewise.
10631 [POSIX] (POLL_*): Likewise.
10632 [POSIX] (SEGV_*): Likewise.
10633 [POSIX] (SI_*): Likewise.
10634 [POSIX] (TRAP_*): Likewise.
10635 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
10636 variable.
10637
fda389c8
SP
106382014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
10639
10640 [BZ #12926]
10641 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
10642 infinite loop when __recvmsg returns 0.
10643
6bc6bd3b
JM
106442014-10-10 Joseph Myers <joseph@codesourcery.com>
10645
fcb32af1
JM
10646 * CANCEL-FCT-WAIVE: Remove file.
10647 * CANCEL-FILE-WAIVE: Likewise.
10648
6bc6bd3b
JM
10649 [BZ #14132]
10650 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
10651 instead of INTVARDEF.
10652 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10653 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
10654 rtld_hidden_data_def instead of INTVARDEF.
10655 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10656 * elf/dl-deps.c (expand_dst): Likewise.
10657 * elf/dl-load.c (_dl_dst_count): Likewise.
10658 (_dl_dst_substitute): Likewise.
10659 (decompose_rpath): Likewise.
10660 (_dl_init_paths): Likewise.
10661 (open_path): Likewise.
10662 (_dl_map_object): Likewise.
10663 * elf/rtld.c (dl_main): Likewise.
10664 (process_dl_audit): Likewise.
10665 (process_envvars): Likewise.
10666 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
10667 Remove declaration.
10668 (__libc_enable_secure): Use rtld_hidden_proto.
10669
b8c80a7e
KS
106702014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10671
10672 * elf/dl-load.c
10673 (add_path): New function broken out of _dl_rtld_di_serinfo.
10674 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
10675
ff12c11f
JM
106762014-10-09 Joseph Myers <joseph@codesourcery.com>
10677
5c0508a3
JM
10678 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
10679 parentheses around macro arguments.
10680 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
10681 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
10682 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
10683 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
10684 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
10685 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10686 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10687 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
10688 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
10689 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
10690 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
10691 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
10692 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
10693 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
10694 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
10695 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
10696 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
10697 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
10698 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
10699 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
10700 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
10701 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
10702 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
10703 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10704 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10705 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
10706 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
10707 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
10708 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
10709 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
10710 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
10711 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
10712 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
10713 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
10714 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
10715 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
10716 Likewise.
10717 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
10718 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10719 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10720 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
10721 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
10722 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
10723 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
10724 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
10725 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
10726 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
10727 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
10728 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
10729 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
10730 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
10731 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
10732 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10733 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10734 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
10735 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
10736 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
10737 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
10738 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
10739 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
10740 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
10741 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
10742 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
10743 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
10744 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
10745 (_FP_FRAC_SRS_1): Likewise.
10746 (_FP_FRAC_CLZ_1): Likewise.
10747 (_FP_MUL_MEAT_1_imm): Likewise.
10748 (_FP_MUL_MEAT_1_wide): Likewise.
10749 (_FP_MUL_MEAT_1_hard): Likewise.
10750 (_FP_SQRT_MEAT_1): Likewise.
10751 (_FP_FRAC_ASSEMBLE_1): Likewise.
10752 (_FP_FRAC_DISASSEMBLE_1): Likewise.
10753 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
10754 (__FP_CLZ_2): Likewise.
10755 (_FP_MUL_MEAT_2_wide): Likewise.
10756 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10757 (_FP_MUL_MEAT_2_gmp): Likewise.
10758 (_FP_MUL_MEAT_2_120_240_double): Likewise.
10759 (_FP_SQRT_MEAT_2): Likewise.
10760 (_FP_FRAC_ASSEMBLE_2): Likewise.
10761 (_FP_FRAC_DISASSEMBLE_2): Likewise.
10762 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
10763 (_FP_FRAC_CLZ_4): Likewise.
10764 (_FP_MUL_MEAT_4_wide): Likewise.
10765 (_FP_MUL_MEAT_4_gmp): Likewise.
10766 (_FP_SQRT_MEAT_4): Likewise.
10767 (_FP_FRAC_ASSEMBLE_4): Likewise.
10768 (_FP_FRAC_DISASSEMBLE_4): Likewise.
10769 * soft-fp/op-common.h (_FP_CMP): Likewise.
10770 (_FP_CMP_EQ): Likewise.
10771 (_FP_CMP_UNORD): Likewise.
10772 (_FP_TO_INT): Likewise.
10773 (_FP_FROM_INT): Likewise.
10774 [!__FP_CLZ] (__FP_CLZ): Likewise.
10775 (_FP_DIV_HELP_imm): Likewise.
10776 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
10777 Likewise.
10778 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
10779 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
10780 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
10781 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
10782 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
10783 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10784 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10785 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
10786 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
10787 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
10788 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
10789 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
10790 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
10791 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
10792 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
10793 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
10794 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
10795 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
10796 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
10797 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
10798 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
10799 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
10800 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
10801 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10802 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10803 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
10804 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
10805 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
10806 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
10807 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
10808 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
10809 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
10810 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
10811 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
10812 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
10813 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
10814 (FP_UNPACK_RAW_SP): Likewise.
10815 (FP_PACK_RAW_S): Likewise.
10816 (FP_PACK_RAW_SP): Likewise.
10817 (FP_UNPACK_S): Likewise.
10818 (FP_UNPACK_SP): Likewise.
10819 (FP_UNPACK_SEMIRAW_S): Likewise.
10820 (FP_UNPACK_SEMIRAW_SP): Likewise.
10821 (FP_PACK_S): Likewise.
10822 (FP_PACK_SP): Likewise.
10823 (FP_PACK_SEMIRAW_S): Likewise.
10824 (FP_PACK_SEMIRAW_SP): Likewise.
10825 (_FP_SQRT_MEAT_S): Likewise.
10826 (FP_CMP_S): Likewise.
10827 (FP_CMP_EQ_S): Likewise.
10828 (FP_CMP_UNORD_S): Likewise.
10829 (FP_TO_INT_S): Likewise.
10830 (FP_FROM_INT_S): Likewise.
10831
a736ec37
JM
10832 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
10833
ff12c11f
JM
10834 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
10835 (FP_EX_INVALID_IMZ): Likewise.
10836 (FP_EX_INVALID_IMZ_FMA): Likewise.
10837 (FP_EX_INVALID_ISI): Likewise.
10838 (FP_EX_INVALID_ZDZ): Likewise.
10839 (FP_EX_INVALID_IDI): Likewise.
10840 (FP_EX_INVALID_SQRT): Likewise.
10841 (FP_EX_INVALID_CVI): Likewise.
10842 (FP_EX_INVALID_VC): Likewise.
10843 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
10844 "invalid" exceptions.
10845 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
10846 (_FP_ADD_INTERNAL): Likewise.
10847 (_FP_MUL): Likewise.
10848 (_FP_FMA): Likewise.
10849 (_FP_DIV): Likewise.
10850 (_FP_CMP_CHECK_NAN): Likewise.
10851 (_FP_SQRT): Likewise.
10852 (_FP_TO_INT): Likewise.
10853 (FP_EXTEND): Likewise.
10854
b6dcfe8c
AM
108552014-10-09 Allan McRae <allan@archlinux.org>
10856
10857 * po/fr.po: Update French translation from translation project.
10858
2d6a47ba
JM
108592014-10-09 Joseph Myers <joseph@codesourcery.com>
10860
cb831245
JM
10861 [BZ #14132]
10862 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
10863 of INTDEF.
10864 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
10865 (__cxa_atexit): Use libc_hidden_proto.
10866 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
10867
5deeb190
JM
10868 [BZ #14132]
10869 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
10870 declaration.
10871 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
10872 [!_ISOMAC] (__iswspace_l_internal): Likewise.
10873 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
10874 [!_ISOMAC] (__iswctype_internal): Likewise.
10875 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
10876 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
10877 alias.
10878 (fcntl): Remove __fcntl_internal alias.
10879 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
10880 __connect_internal alias.
10881 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
10882 Likewise.
10883
454ac701
JM
10884 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
10885 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
10886 FP_DENORM_ZERO.
10887 (_FP_CHECK_FLUSH_ZERO): New macro.
10888 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
10889 (_FP_CMP): Likewise.
10890 (_FP_CMP_EQ): Likewise.
10891 (_FP_TO_INT): Do not set inexact for subnormal arguments if
10892 FP_DENORM_ZERO.
10893 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
10894 (FP_TRUNC): Likewise.
10895
0022e688
JM
10896 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
10897 treated as invalid conversion, not as normal exponent.
10898
73e28d9c
JM
10899 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
10900 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
10901 (_FP_CMP_EQ): Likewise.
10902 (_FP_CMP_UNORD): Likewise.
10903 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
10904 (FP_CMP_EQ_D): Likewise.
10905 (FP_CMP_UNORD_D): Likewise.
10906 * soft-fp/extended.h (FP_CMP_E): Likewise.
10907 (FP_CMP_EQ_E): Likewise.
10908 (FP_CMP_UNORD_E): Likewise.
10909 * soft-fp/quad.h (FP_CMP_Q): Likewise.
10910 (FP_CMP_EQ_Q): Likewise.
10911 (FP_CMP_UNORD_Q): Likewise.
10912 * soft-fp/single.h (FP_CMP_S): Likewise.
10913 (FP_CMP_EQ_S): Likewise.
10914 (FP_CMP_UNORD_S): Likewise.
10915 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
10916 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
10917 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
10918 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
10919 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
10920 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
10921 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
10922 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
10923 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
10924 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
10925 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
10926 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
10927 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
10928 to FP_CMP_Q.
10929 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
10930 FP_CMP_Q.
10931 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
10932 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
10933 FP_CMP_EQ_Q.
10934 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
10935 FP_CMP_Q.
10936 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
10937 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
10938 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
10939 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
10940 FP_CMP_EQ_Q.
10941 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
10942 FP_CMP_Q.
10943 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
10944 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
10945 FP_CMP_EQ_Q.
10946 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
10947 FP_CMP_Q.
10948 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
10949 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
10950 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
10951 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
10952 FP_CMP_EQ_Q.
10953
43059f42
JM
10954 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
10955 a subnormal result, set the underflow exception if trapping on
10956 underflow is enabled.
10957 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
10958 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
10959 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
10960 redefine to 0.
10961 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
10962 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
10963 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
10964 * soft-fp/extendxftf2.c (__extendxftf2): Use
10965 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
10966
2d6a47ba
JM
10967 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
10968 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
10969 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10970 FP_HANDLE_EXCEPTIONS.
10971 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
10972 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10973 FP_HANDLE_EXCEPTIONS.
10974 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
10975 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10976 FP_HANDLE_EXCEPTIONS.
10977 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
10978 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10979 FP_HANDLE_EXCEPTIONS.
10980
620f462e
JM
109812014-10-08 Joseph Myers <joseph@codesourcery.com>
10982
10983 [BZ #14132]
10984 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
10985 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
10986 use INTUSE.
10987 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
10988 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
10989 Remove alias.
10990 (__adjtimex): Define using libc_hidden_ver.
10991 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
10992 Remove declaration.
10993 (ntp_gettime): Call __adjtimex directly.
10994 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
10995 Remove declaration.
10996 (ntp_gettimex): Call __adjtimex directly.
10997 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
10998 __adjtimex_internal alias.
10999
c763c5d2
RM
110002014-10-08 Roland McGrath <roland@hack.frob.com>
11001
11002 [BZ #17460]
11003 * nscd/nscd.c (more_help): Rewrite list of tables collection
11004 using xstrdup and asprintf.
11005
11006 * nscd/nscd_conf.c: Remove local xstrdup declaration.
11007
7b8fb2b8
RM
110082014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11009 Roland McGrath <roland@hack.frob.com>
11010
11011 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
11012 (do_lookup_unique): ... local function 'enter' here; update callers.
11013
abb280f7
JM
110142014-10-06 Joseph Myers <joseph@codesourcery.com>
11015
f7b42517
JM
11016 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
11017 compat_symbol calls on [SHARED].
11018 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
11019 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
11020 Remove.
11021 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11022 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
11023 (oldsetrlimit): Remove.
11024 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11026 (lchown): New syscall entry.
11027 (oldsetrlimit): Remove.
11028 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11029 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
11030 (oldsetrlimit): Remove.
11031 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11032
abb280f7
JM
11033 [BZ #14138]
11034 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
11035 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
11036 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
11037 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
11038 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11039 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
11040 (fchown): Likewise.
11041 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
11042 (fchown): Likewise.
11043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
11044 Likewise.
11045
47d46237
AZ
110462014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11047
11048 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
11049 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
11050 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
11051 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
11052 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
11053 Likewise.
11054 (__old_sem_post): Likewise.
11055
110562014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 11057
845a7343
CM
11058 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
11059 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
11060 HAVE_CLOCK_GETTIME_VSYSCALL macros.
11061 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
11062 Use INLINE_VSYSCALL macro.
11063 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
11064 __vdso_clock_gettime.
11065 * sysdeps/unix/sysv/linux/tile/init-first.c
11066 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
11067 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
11068 __vdso_clock_gettime.
11069
83d641ef
CM
11070 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
11071 to set up frame more cleanly.
11072
d9cd52e6
CM
11073 * sysdeps/tile/memcmp.c: New file.
11074
4b68ea11
CM
11075 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
11076
c86f7b80
CM
11077 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
11078 * sysdeps/tile/tilegx/strcasestr.c: New file.
11079 * sysdeps/tile/tilegx/strnlen.c: New file.
11080 * sysdeps/tile/tilegx/strstr.c: New file.
11081
1c4c1a6f
CM
11082 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
11083
99d86ea3
AS
110842014-10-06 Arjun Shankar <arjun.is@lostca.se>
11085
11086 * nptl/tst-setuid3.c: Write errors to stdout.
11087
06210a44
KS
110882014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11089
11090 * elf/dl-deps.c
11091 (preload): New functions broken out of _dl_map_object_deps.
11092 (_dl_map_object_deps): Remove a nested function. Update call sites.
11093
6268f532
JM
110942014-10-01 Joseph Myers <joseph@codesourcery.com>
11095
11096 [BZ #14138]
11097 * sysdeps/unix/sysv/linux/execve.c: Remove file.
11098 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
11099
b925285f
SE
111002014-10-01 Steve Ellcey <sellcey@mips.com>
11101
11102 * sysdeps/mips/strcmp.S: New.
11103
754a15c6
JM
111042014-09-30 Joseph Myers <joseph@codesourcery.com>
11105
11106 [BZ #14138]
11107 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
11108 (linkat): Likewise.
11109 (mkdirat): Likewise.
11110 (readlinkat): Likewise.
11111 (renameat): Likewise.
11112 (symlinkat): Likewise.
11113 (unlinkat): Likewise.
11114 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
11115 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
11116 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
11117 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
11118 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11119 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
11120 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
11121
85bb81c9
WN
111222014-09-30 Will Newton <will.newton@linaro.org>
11123
dc6fe23b
WN
11124 * math/math.h: Define long double math functions if
11125 _LIBC_TEST is defined.
11126 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
11127
85bb81c9
WN
11128 * localedata/Makefile: Move assignment to tests-special
11129 into an ifdef testing run-built-tests.
11130 * timezone/Makefile: Likewise.
11131
b7e02da4
JM
111322014-09-29 Joseph Myers <joseph@codesourcery.com>
11133
11134 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
11135 with $(BASH) not $(SHELL).
11136
62058ce6
CD
111372014-09-29 Carlos O'Donell <carlos@redhat.com>
11138 Matthew LeGendre <legendre1@llnl.gov>
11139
11140 [BZ #17411]
11141 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
11142 l_reloc_result.
11143
8e257a29
KS
111442014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11145
11146 * stdio-common/printf_fp.c
11147 (hack_digit): New function, broken out of ...
11148 (__printf_fp): ... local function here. Update call sites.
11149 hack_digit now takes an additional parameter that is a pointer
11150 to a struct of the referenced locals. Those locals moved inside
11151 the struct and references updated.
11152
f4a58f0d
L
111532014-09-29 H.J. Lu <hongjiu.lu@intel.com>
11154
11155 * aclocal.m4: Require autoconf 2.69.
11156 * configure: Regenerated.
11157 * sysdeps/aarch64/configure: Likewise.
11158 * sysdeps/alpha/configure: Likewise.
11159 * sysdeps/arm/armv7/configure: Likewise.
11160 * sysdeps/arm/configure: Likewise.
11161 * sysdeps/ia64/configure: Likewise.
11162 * sysdeps/mach/configure: Likewise.
11163 * sysdeps/mips/configure: Likewise.
11164 * sysdeps/s390/configure: Likewise.
11165 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
11166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
11167
11168 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
11169 file.
11170 * sysdeps/ia64/configure.ac: Likewise.
11171
93ae1eba
JM
111722014-09-26 Joseph Myers <joseph@codesourcery.com>
11173
1810d3ab
JM
11174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
11175 specify symbol version for ld.so. Do not include entry for
11176 libpthread.
11177 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11178 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11179 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11180
93ae1eba
JM
11181 [BZ #14171]
11182 * Makeconfig [$(build-shared) = yes]
11183 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
11184 makefiles.
11185 [$(build-shared) = yes && $(soversions.mk-done) = t]
11186 ($(common-objpfx)gnu/lib-names.h): Remove rule.
11187 [$(build-shared) = yes && $(soversions.mk-done) = t]
11188 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
11189 to Makerules.
11190 [$(build-shared) = yes && $(soversions.mk-done) = t]
11191 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
11192 here.
11193 [$(build-shared) = yes && $(soversions.mk-done) = t]
11194 (common-generated): Don't append gnu/lib-names.h and
11195 gnu/lib-names.stmp here.
11196 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
11197 (lib-names-h-abi): New variable.
11198 [$(build-shared) = yes && $(soversions.mk-done) = t]
11199 (lib-names-stmp-abi): Likewise.
11200 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11201 abi-variants] (before-compile): Append
11202 $(common-objpfx)$(lib-names-h-abi).
11203 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11204 abi-variants] (common-generated): Append gnu/lib-names.h.
11205 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11206 abi-variants] (install-others-nosubdir): Depend on
11207 $(inst_includedir)/$(lib-names-h-abi).
11208 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11209 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
11210 [$(build-shared) = yes && $(soversions.mk-done) = t]
11211 ($(common-objpfx)$(lib-names-h-abi)): New rule.
11212 [$(build-shared) = yes && $(soversions.mk-done) = t]
11213 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
11214 [$(build-shared) = yes && $(soversions.mk-done) = t]
11215 (common-generated): Append $(lib-names-h-abi) and
11216 $(lib-names-stmp-abi).
11217 * scripts/lib-names.awk: Do not handle multi being set.
11218 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
11219 Remove variable.
11220 (abi-lp64_be-ld-soname): Likewise.
11221 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
11222 Likewise.
11223 (abi-hard-ld-soname): Likewise.
11224 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
11225 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
11226 Remove variable.
11227 (abi-o32_hard-ld-soname): Likewise.
11228 (abi-o32_soft_2008-ld-soname): Likewise.
11229 (abi-o32_hard_2008-ld-soname): Likewise.
11230 (abi-n32_soft-ld-soname): Likewise.
11231 (abi-n32_hard-ld-soname): Likewise.
11232 (abi-n32_soft_2008-ld-soname): Likewise.
11233 (abi-n32_hard_2008-ld-soname): Likewise.
11234 (abi-n64_soft-ld-soname): Likewise.
11235 (abi-n64_hard-ld-soname): Likewise.
11236 (abi-n64_soft_2008-ld-soname): Likewise.
11237 (abi-n64_hard_2008-ld-soname): Likewise.
11238 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
11239 Likewise.
11240 (abi-64-v2-ld-soname): Likewise.
11241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
11242 ld.so entries.
11243 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
11244 variable.
11245 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
11246 entry.
11247 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
11248 variable.
11249 (abi-64-ld-soname): Likewise.
11250 (abi-x32-ld-soname): Likewise.
11251 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
11252 entry.
11253 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11254
68870f12
JM
112552014-09-23 Joseph Myers <joseph@codesourcery.com>
11256
11257 [BZ #14138]
11258 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
11259 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
11260 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
11261 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
11262 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
11263 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
11264 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
11265 syscall entry for GLIBC_2.2 symbol version.
11266 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
11267 Likewise.
11268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11269 (setrlimit): Likewise.
11270 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
11271 Likewise.
11272
ea58f202
WN
112732014-09-23 Will Newton <will.newton@linaro.org>
11274
11275 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
11276 _LINUX_ARM_SYSDEP_H include guard too.
11277 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
11278 define.
11279
69eb9a18
RV
112802014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
11281
11282 * sysdeps/unix/sysv/linux/eventfd.c:
11283 Make first argument unsigned.
11284 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
11285 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
11286
20e5a5f7
OB
112872014-09-20 Ondřej Bílka <neleai@seznam.cz>
11288
11289 * socket/recvmmsg.c (recvmmsg): Drop const argument.
11290 * socket/sys/socket.h: Likewise
11291 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
11292
d3c827e7
AK
112932014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11294
11295 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
11296
fe1cc35a
AS
112972014-09-17 Arjun Shankar <arjun.is@lostca.se>
11298
11299 * time/tst-ftime.c: New test.
11300 * time/Makefile (tests): Add tst-ftime.
11301
4e8afe69
JM
113022014-09-17 Joseph Myers <joseph@codesourcery.com>
11303
c4fe3ea7
JM
11304 * soft-fp/extended.h: Fix comment formatting.
11305 * soft-fp/op-1.h: Likewise.
11306 * soft-fp/op-2.h: Likewise.
11307 * soft-fp/op-4.h: Likewise.
11308 * soft-fp/op-8.h: Likewise.
11309 * soft-fp/op-common.h: Likewise.
11310 * soft-fp/soft-fp.h: Likewise.
11311
4e8afe69
JM
11312 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
11313
af296fcd
JM
113142014-09-16 Joseph Myers <joseph@codesourcery.com>
11315
11316 [BZ #6652]
11317 * Makeconfig (soversions-default-setname): Remove variable.
11318 ($(common-objpfx)soversions.i): Don't pass default_setname to
11319 soversions.awk.
11320 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
11321 oldest_abi to abi-versions.awk.
11322 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
11323 * config.make.in (oldest-abi): Remove variable.
11324 * configure.ac (--enable-oldest-abi): Remove configure option.
11325 * configure: Regenerated.
11326 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
11327 text.
11328 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
11329 * scripts/soversions.awk: Do not handle default_setname variable.
11330 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
11331 variable.
11332 * sysdeps/mach/hurd/configure: Regenerated.
11333 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
11334 variable.
11335 * sysdeps/unix/sysv/linux/configure: Regenerated.
11336
545583d6
SP
113372014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11338
d330b980
SP
11339 * elf/Makefile (CFLAGS-interp.c): Remove.
11340 ($(elf-objpfx)runtime-linker.h): Generate header with linker
11341 path string.
11342 * elf/interp.c: Include generated runtime-linker.h
11343
02657da2
SP
11344 * Makerules (lib%.so): Don't include $(+interp) in
11345 prerequisites.
11346 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
11347 * dlfcn/eval.c: Remove file.
11348
653b1080
SP
11349 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
11350 macros.
11351
602f80ec
SP
11352 [BZ #17266]
11353 * misc/sys/cdefs.h: Define __extern_always_inline for clang
11354 4.2 and newer.
11355
545583d6
SP
11356 [BZ #17370]
11357 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
11358
884ddc50
SP
113592014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11360 Jakub Jelinek <jakub@redhat.com>
11361
11362 [BZ #17266]
11363 * libio/stdio.h: Check definition of __fortify_function
11364 instead of __extern_always_inline to include bits/stdio2.h.
11365 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
11366 check if __extern_always_inline is defined.
11367 [__USE_MISC || __USE_XOPEN]: Likewise.
11368 [__USE_ISOC99] Likewise.
11369 * misc/sys/cdefs.h (__fortify_function): Define only if
11370 __extern_always_inline is defined.
11371 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
11372 __extern_always_inline and __extern_inline only for g++-4.3
11373 and newer or a compatible gcc.
11374
a7b87268
AS
113752014-09-15 Andreas Schwab <schwab@linux-m68k.org>
11376
11377 [BZ #17371]
11378 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11379 last change to handle zero prefix length.
11380
3f41521d
SP
113812014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11382
61fe374a
SP
11383 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
11384 _SC_REGEX_VERSION.
11385
3f41521d
SP
11386 * posix/getconf.c (vars): Add _POSIX_IPV6 and
11387 _POSIX_RAW_SOCKETS.
11388
d8f879ee
AM
113892014-09-13 Allan McRae <allan@archlinux.org>
11390
11391 * po/ru.po: Update Russian translation from translation project.
11392
c079afb7
RM
113932014-09-12 Roland McGrath <roland@hack.frob.com>
11394
a62b3c15
RM
11395 * locale/programs/locale.c (show_locale_vars): Inline local function
11396 into its sole call site. Clean up some style nits.
11397 (print_item): New function, broken out of ...
11398 (show_info): ... local function here. Clean up style nits.
11399
d7e49b19
RM
11400 * locale/programs/ld-ctype.c (set_one_default): New function, broken
11401 out of ...
11402 (set_class_defaults): ... local function set_default here.
11403 Define set_default as a macro locally to pass constant parameters.
11404 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
11405 rather than a shared local.
11406
c079afb7
RM
11407 * stdlib/rpmatch.c (try): New function, broken out of ...
11408 (rpmatch): ... local function here. Also, prototypify definition.
11409
0bd72468
JM
114102014-09-12 Joseph Myers <joseph@codesourcery.com>
11411
ba90e050
JM
11412 * scripts/soversions.awk: Do not handle configuration names.
11413 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
11414 vendor and os variables to soversions.awk.
11415 * configure.ac: Do not modify gnu-* host_os.
11416 * configure: Regenerated
11417 * shlib-versions: Remove first column with configuration names.
11418 * nptl/shlib-versions: Likewise.
11419 * nptl_db/shlib-versions: Likewise.
11420 * sysdeps/hppa/shlib-versions: Likewise.
11421 * sysdeps/m68k/shlib-versions: Likewise.
11422 * sysdeps/mach/hurd/shlib-versions: Likewise.
11423 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
11424 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
11425 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
11426 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
11427 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
11428 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
11429 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
11430 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
11431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11432 Likewise.
11433 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11434 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11435 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11436 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11437 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11438 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
11439 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11440 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11441
73a39112
JM
11442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11443 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
11444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11445 Regenerated.
11446 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
11447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11448 Condition symbol version definitions on [HAVE_ELFV2_ABI].
11449
c729e7c1
JM
11450 * shlib-versions: Remove OS-specific entries. Moved to files in
11451 sysdeps.
11452 * sysdeps/mach/hurd/shlib-versions: New file.
11453 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11454
dc932a24
JM
11455 * nptl/shlib-versions: Remove architecture-specific entries.
11456 Moved to files in sysdeps.
11457 * shlib-versions: Likewise.
11458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
11459 file.
11460 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11461 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11462 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11463 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11464
0bd72468
JM
11465 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
11466 (UDP_NO_CHECK6_RX): Likewise.
11467
920238e0
SP
114682014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11469
11470 * sysdeps/posix/sysconf.c (__sysconf): Spell
11471 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
11472
ba7b4d29
FW
114732014-08-12 Florian Weimer <fweimer@redhat.com>
11474
11475 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
11476 loading.
11477 * iconv/Versions (__gconv_transliterate): Export for use from
11478 gconv modules.
11479 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
11480 (struct __gconv_trans_data, __gconv_trans_fct,
11481 __gconv_trans_context_fct, __gconv_trans_query_fct,
11482 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
11483 definitions.
11484 (struct __gconv_step_data): Remove __trans member.
11485 (__gconv_transliterate): Declaration moved from gconv_int.h. No
11486 longer hidden. Remove unused trans_data argument.
11487 * iconv/gconv_int.h (struct trans_struct): Remove definition.
11488 (__gconv_translit_find): Remove declaration.
11489 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
11490 prototype.
11491 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
11492 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
11493 trans_data argument. Add hidden definition.
11494 (__gconv_translit_find): Remove.
11495 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
11496 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
11497 * iconv/skeleton.c: Remove transliteration initialization.
11498 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
11499 __gconv_step_data initialization.
11500 * libio/iofwide.c (__libio_translit_): Remove.
11501 (_IO_fwide): Adjust struct __gconv_step_data initialization.
11502 * wcsmbs/btowc.c (__btowc): Likewise.
11503 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11504 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11505 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11506 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11507 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
11508 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11509 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11510 * wcsmbs/wctob.c (wctob): Likewise.
11511
5379aebd
SP
115122014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11513
11514 [BZ #16194]
11515 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
11516 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
11517 register usage.
11518 * sysdeps/x86/Makefile: Adjust.
11519
8c0ab919
RM
115202014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11521 Roland McGrath <roland@hack.frob.com>
11522
11523 * locale/weight.h: Add include guard.
11524 (findidx): Make static rather than auto; take new parameters
11525 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
11526 * locale/weightwc.h: Likewise.
11527 * posix/fnmatch_loop.c
11528 (FCT): Change type of EXTRA from int32_t to wint_t.
11529 Don't include either header inside the function.
11530 Call FINDIDX rather than findidx, and pass new arguments.
11531 #undef FINDIDX at the end of the file.
11532 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
11533 FINDIDX before including fnmatch_loop.c for the non-wide version.
11534 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
11535 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
11536 for the wide version.
11537 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
11538 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
11539 Pass new arguments to findidx.
11540 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
11541 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
11542 Don't #include it inside the function. Pass new arguments to findidx.
11543 * posix/regex_internal.h
11544 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
11545 (re_string_elem_size_at): Don't #include it inside the function.
11546 Pass new arguments to findidx.
11547 * string/strcoll_l.c: #include WEIGHT_H at top level.
11548 (get_next_seq): Don't #include it inside the function.
11549 Pass new arguments to findidx.
11550 (get_next_seq_nocache): Likewise.
11551 * string/strxfrm_l.c: #include WEIGHT_H at top level.
11552 (STRXFRM): Don't #include it inside the function.
11553 Pass new arguments to findidx.
11554
52ffbdf2
FW
115552014-09-11 Florian Weimer <fweimer@redhat.com>
11556
11557 [BZ #17344]
11558 * malloc/malloc.c (unlink): Turn asserts into a call to
11559 malloc_printerr.
11560
984c0ea9
TL
115612014-09-11 Tim Lammens <tim.lammens@gmail.com>
11562
11563 [BZ #17370]
11564 * libio/wfileops (do_ftell_wide): Free OUT.
11565
3daee107
CM
115662014-09-10 Chris Metcalf <cmetcalf@tilera.com>
11567
11568 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
11569
58b930ae
SP
115702014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11571
11572 [BZ #17363]
11573 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
11574 group if the current group is empty.
11575
3b473fec
AZ
115762014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11577
71ae8647
AZ
11578 * benchtests/bench-memset.c (test_main): Add more test from size
11579 from 32 to 512 bytes.
11580 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11581 Add POWER8 memset object.
11582 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11583 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
11584 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
11585 implementation.
11586 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
11587 Likewise.
11588 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
11589 multiarch POWER8 memset optimization.
11590 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
11591 POWER8 memset optimization.
11592
3b473fec
AZ
11593 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11594 Remove bzero multiarch objects.
11595 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
11596 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
11597 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
11598 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
11599 Remove define.
11600 [__bzero]: Redefine to specific name.
11601 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
11602 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
11603 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
11604 define.
11605 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11606 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11607
e6fb9587
FW
116082014-09-10 Florian Weimer <fweimer@redhat.com>
11609
11610 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
11611 warnings into errors.
11612
11613 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
11614 __cxa_thread_atexit_impl prototype.
11615
9d3a350b
SE
116162014-09-09 Steve Ellcey <sellcey@mips.com>
11617
11618 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
11619 Fix capitalization of error message.
11620
0febba23
SE
116212014-09-09 Steve Ellcey <sellcey@mips.com>
11622
11623 * sysdeps/mips/preconfigure: Modify ABI tests.
11624
645a0e9c
CD
116252014-09-07 Carlos O'Donell <carlos@systemhalted.org>
11626
11627 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
11628
d83f0734
CD
116292014-09-07 Roland McGrath <roland@hack.frob.com>
11630 Carlos O'Donell <carlos@systemhalted.org>
11631
11632 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
11633 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
11634 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
11635 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
11636 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
11637 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
11638 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
11639 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
11640 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
11641 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
11642 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
11643 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
11644 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
11645 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
11646 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
11647 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
11648 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
11649 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
11650 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
11651 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
11652 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
11653 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
11654 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
11655 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
11656 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
11657 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
11658 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
11659 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
11660 Deconditionalize the code that was previously under [RESET_PID].
11661 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
11662 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
11663 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
11664 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
11665 include sysdep.h.
11666
21c83793
AM
116672014-09-08 Allan McRae <allan@archlinux.org>
11668
11669 * version.h (RELEASE): Set to "development".
11670 (VERSION): Set to "2.20.90"
11671
1cd9b65c
AM
116722014-09-07 Allan McRae <allan@archlinux.org
11673
b8079dd0
AM
11674 * version.h (RELEASE): Set to "stable".
11675 (VERSION): Set to "2.20"
11676 * include/features.h (__GLIBC_MINOR__): Set to 20.
11677
c46303ef
AM
11678 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
11679 Liebler.
11680
1cd9b65c
AM
11681 * po/ko.po: Update Korean translation from translation project.
11682
8622092d
CM
116832014-09-06 Chris Metcalf <cmetcalf@tilera.com>
11684
11685 [BZ #17354]
11686 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
11687 macro for handling signed relocations.
11688
41488498
FW
116892014-09-03 Florian Weimer <fweimer@redhat.com>
11690
11691 [BZ #17325]
11692 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
11693 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
11694 assert.
11695 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
11696 * iconvdata/ibm935.c (BODY): Likewise.
11697 * iconvdata/ibm937.c (BODY): Likewise.
11698 * iconvdata/ibm939.c (BODY): Likewise.
11699 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
11700 assert.
11701 * iconvdata/Makefile (iconv-test.out): Pass module list to test
11702 script.
11703 * iconvdata/run-iconv-test.sh: New test loop for checking for
11704 decoder crashers.
11705
a78b712d
KR
117062014-09-02 Khem Raj <raj.khem@gmail.com>
11707
11708 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
11709 libm_hidden_ver.
11710
cb08abc6
AM
117112014-09-01 Allan McRae <allan@archlinux.org>
11712
2c31e102
AM
11713 * po/eo.po: Update Esperanto translation from translation project.
11714
cb08abc6
AM
11715 * po/ca.po: Update Catalan translation from translation project.
11716
17a62de1
ST
117172014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11718
11719 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
11720 __proc_dostop call.
11721
9570bc53
MW
117222014-08-27 Mark Wielaard <mjw@redhat.com>
11723
11724 [BZ #17319]
11725 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
11726 to call set_thread_area instead of hand written asm.
11727 (__NR_set_thread_area): Removed define.
11728 (TLS_FLAG_WRITABLE): Likewise.
11729 (__ASSUME_SET_THREAD_AREA): Remove check.
11730 (TLS_EBX_ARG): Remove define.
11731 (TLS_LOAD_EBX): Likewise.
11732
b0f955c9
ST
117332014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11734
11735 Simplify atomicity of socket creation in bind.
11736
11737 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
11738 looking up the name after linking the file.
11739
529bf515
AM
117402014-08-27 Allan McRae <allan@archlinux.org>
11741
11742 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11743
a1a6a401
FW
117442014-08-26 Florian Weimer <fweimer@redhat.com>
11745
11746 [BZ #17187]
11747 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
11748 trans_compare, open_translit, __gconv_translit_find):
11749 Remove module loading code.
11750
686ab290
AM
117512014-08-26 Allan McRae <allan@archlinux.org>
11752
e4e7cfd2
AM
11753 * po/vi.po: Update Vietnamese translation from translation project.
11754
6aa09f71
AM
11755 * po/uk.po: Update Ukrainian translation from translation project.
11756
edc0660e
AM
11757 * po/fr.po: Update French translation from translation project.
11758
7eea72ac
AM
11759 * po/ru.po: Update Russian translation from translation project.
11760
93c49eff
AM
11761 * po/pl.po: Update Polish translation from translation project.
11762
46acaf63
AM
11763 * po/cs.po: Update Czech translation from translation project.
11764
a9f5ce98
AM
11765 * po/de.po: Update German translation from translation project.
11766
373f2b78
AM
11767 * po/bg.po: Update Bulgarian translation from translation project.
11768
e7548bd8
AM
11769 * po/sv.po: Update Sweedish translation from translation project.
11770
c526bf4d
AM
11771 * po/nl.po: Update Dutch translation from translation project.
11772
686ab290
AM
11773 * po/es.po: Update Spanish translation from translation project.
11774
eb72478a
SP
117752014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11776
dd763fdb
SP
11777 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
11778
318c7a58
SP
11779 * catgets/Makefile (CPPFLAGS-gencat): Remove.
11780 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
11781 (CPPFLAGS-iconvconfig): Likewise.
11782 * timezone/Makefile (CPPFLAGS-zic): Likewise.
11783
eb72478a
SP
11784 * include/libc-symbols.h: Remove unnecessary check for
11785 NOT_IN_libc.
11786 * nptl/pthreadP.h: Likewise.
11787 * sysdeps/aarch64/setjmp.S: Likewise.
11788 * sysdeps/alpha/setjmp.S: Likewise.
11789 * sysdeps/arm/sysdep.h: Likewise.
11790 * sysdeps/i386/setjmp.S: Likewise.
11791 * sysdeps/m68k/setjmp.c: Likewise.
11792 * sysdeps/posix/getcwd.c: Likewise.
11793 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11794 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11795 * sysdeps/s390/s390-32/setjmp.S: Likewise.
11796 * sysdeps/s390/s390-64/setjmp.S: Likewise.
11797 * sysdeps/sh/sh3/setjmp.S: Likewise.
11798 * sysdeps/sh/sh4/setjmp.S: Likewise.
11799 * sysdeps/unix/alpha/sysdep.h: Likewise.
11800 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11801 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11802 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11803 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11806 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11807 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11808 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11809 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11810 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11811 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11812 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11813 * sysdeps/x86_64/setjmp.S: Likewise.
11814
d44a052c
JM
118152014-08-13 Joseph Myers <joseph@codesourcery.com>
11816
11817 [BZ #17263]
11818 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
11819 <stdint.h>.
11820 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
11821 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
11822
508ce3ac
SP
118232014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11824
e44c8b0e
SP
11825 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
11826
508ce3ac
SP
11827 [BZ #17262]
11828 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
11829 and __x86_64__ when disabling x87 inline functions.
11830
b4acef1f
L
118312014-08-12 H.J. Lu <hongjiu.lu@intel.com>
11832
11833 [BZ #17259]
11834 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
11835 asm statement with __cpuid_count.
11836
61b1ef6e
MF
118372014-08-12 Mike Frysinger <vapier@gentoo.org>
11838
11839 * configure.ac: Change __ehdr_start code to dereference the struct.
11840 Run readelf on the output to look for relocations.
11841 * configure: Regenerated.
11842
898c62f4
JM
118432014-08-12 Joseph Myers <joseph@codesourcery.com>
11844
11845 [BZ #17261]
11846 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
11847 value to 0.
11848 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
11849
9a8a5720
RM
118502014-08-12 Roland McGrath <roland@hack.frob.com>
11851
11852 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
11853
4e75751c
BO
118542014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
11855
11856 [BZ #16892]
11857 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
11858 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
11859
bb2ce416
SA
118602014-08-12 Sean Anderson <seanga2@gmail.com>
11861
11862 * malloc/malloc.c: Fix typo in comment.
11863
7950a4ee
AM
118642014-08-09 Allan McRae <allan@archlinux.org>
11865
11866 * Regenerate libc.po.
11867
f469c49f
MF
118682014-08-08 Mike Frysinger <vapier@gentoo.org>
11869
11870 * intl/tst-gettext2.sh: Check every lang file for creation.
11871
656b84c2
WD
118722014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
11873
11874 * sysdeps/aarch64/fpu/math_private.h
11875 (libc_feholdsetround_noex_aarch64_ctx): New function.
11876
538e9e45
W
118772014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
11878
11879 * sysdeps/arm/armv6/strcpy.S (strcpy):
11880 Fix performance issue in misaligned cases.
11881
d4795e4a
AZ
118822014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11883
11884 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
11885 Move definition from termios.h.
11886 (struct termio): Likewise.
11887 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11888 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11889 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11890 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11891 Likewise.
11892 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
11893 Move definition to ioctl-types.h
11894 (struct termio): Likewise.
11895 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11896 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11897 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11898 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11899 Likewise.
11900
64accb62
RH
119012014-08-05 Richard Henderson <rth@redhat.com>
11902
27bb6dc0
RH
11903 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
11904 exceptions.
11905 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
11906 Add fraiseexcpt.
11907 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
11908 Use __feraiseexcept.
11909 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
11910 Protect libm symbols with IS_IN_libm.
11911
64accb62
RH
11912 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
11913
e5292691
BO
119142014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
11915
11916 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
11917
5b4bd2d4
WN
119182014-08-04 Will Newton <will.newton@linaro.org>
11919
11920 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
11921 file.
11922
fcadaeef
MF
119232014-08-04 Mike Frysinger <vapier@gentoo.org>
11924
11925 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
11926 variants for each function.
11927
43a94c64
RM
119282014-08-04 Roland McGrath <roland@hack.frob.com>
11929
11930 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
11931 appended ...
11932 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
11933 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
11934 appended ...
11935 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
11936 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
11937 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
11938 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
11939 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
11940 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
11941 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
11942 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
11943 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
11944 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
11945 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
11946 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
11947 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
11948 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
11949 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
11950 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
11951 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
11952 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
11953 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
11954 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
11955 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
11956 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
11957 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
11958 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
11959 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
11960 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
11961 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
11962 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
11963 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
11964 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
11965 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
11966 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
11967 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
11968 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
11969 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
11970 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
11971 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
11972 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
11973 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
11974 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
11975 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
11976 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
11977 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
11978 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
11979 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
11980 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
11981 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
11982 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
11983 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
11984 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
11985 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
11986 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
11987 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
11988 Update #include.
11989 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
11990 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
11991
8f3c1fa4
RM
119922014-08-04 Roland McGrath <roland@hack.frob.com>
11993
11994 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
11995 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
11996 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
11997 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
11998 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
11999 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
12000
ca08746f
RM
120012014-08-04 Roland McGrath <roland@hack.frob.com>
12002
12003 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
12004 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
12005 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12006 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
12007
9c925ff9
RM
120082014-08-04 Roland McGrath <roland@hack.frob.com>
12009
12010 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
12011 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
12012 (__libc_vfork): Define function under this name.
12013 (__vfork): Define as an alias.
12014 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
12015 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
12016
e641054c
RM
120172014-08-04 Roland McGrath <roland@hack.frob.com>
12018
12019 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
12020 that was previously under [RESET_PID].
12021 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
12022
dacdc867
AS
120232014-08-04 Andreas Schwab <schwab@suse.de>
12024
12025 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
12026
41f725ff
MF
120272014-08-03 Mike Frysinger <vapier@gentoo.org>
12028
12029 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
12030 (main): Likewise.
12031
277cfb31
RM
120322014-08-01 Roland McGrath <roland@hack.frob.com>
12033
12034 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
12035
4896f049
RH
120362014-08-01 Richard Henderon <rth@redhat.com>
12037
12038 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
12039 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
12040 typo in exact zero test.
12041 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12042 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12043 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12044
6f64e7d7
RM
120452014-08-01 Roland McGrath <roland@hack.frob.com>
12046
12047 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
12048 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
12049 * sysdeps/arm/sysdep.h: ... here.
12050 [!__ASSEMBLER__]: Include <stdint.h>.
12051
3f3dd810
SP
120522014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12053
a476ac4b
SP
12054 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
12055 (HAVE_WCTYPE_H): Likewise.
12056 (HAVE_ISWCTYPE): Likewise.
12057 (ENABLE_NLS): Likewise.
12058 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
12059 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
12060
78dd658a
SP
12061 * posix/regex_internal.c: Check if DEBUG is defined and is
12062 set.
12063
3f3dd810
SP
12064 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
12065 (HAVE_MBSRTOWCS): Likewise.
12066 * posix/fnmatch.c: Include string.h unconditionally.
12067
95ee7fb1
SL
120682014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
12069
12070 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
12071 reversal.
12072
23fe486b
RM
120732014-07-31 Roland McGrath <roland@hack.frob.com>
12074
f61a113f
RM
12075 * sysdeps/generic/safe-fatal.h: New file.
12076 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
12077 * nptl/forward.c: Include it.
12078 (__pthread_unwind): Use __safe_fatal as default action, rather
12079 than a bogus use of INTERNAL_SYSCALL that could never work.
12080
9fe7e787
RM
12081 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
12082 * configure.ac (libc_cv_builtin_trap): New test.
12083 * configure: Regenerated.
12084 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
12085 (ABORT_INSTRUCTION): Define using __builtin_trap.
12086
23fe486b
RM
12087 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
12088 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
12089 * sysdeps/nptl/nptl-signals.h: New file.
12090 * nptl/pthreadP.h: Include <nptl-signals.h>.
12091
f349489e
SL
120922014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12093
12094 * sysdeps/s390/s390-64/utf16-utf32-z9.c
12095 (ONE_DIRECTION): Define.
12096 * sysdeps/s390/s390-64/utf8-utf16-z9.c
12097 (ONE_DIRECTION): Define.
12098 * sysdeps/s390/s390-64/utf8-utf32-z9.c
12099 (ONE_DIRECTION): Define.
12100
2f438e20
SL
121012014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12102
12103 * sysdeps/s390/Makefile: Delete file.
12104 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
12105 * sysdeps/s390/__longjmp.c: Delete file.
12106 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
12107 Remove fields __flags and __reserved.
12108 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
12109 and add versioning.
12110 * sysdeps/s390/rtld-__longjmp.c: Delete file.
12111 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
12112 * sysdeps/s390/rtld-setjmp.S: Likewise.
12113 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
12114 * sysdeps/s390/s390-32/__longjmp.c: ... here.
12115 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
12116 * sysdeps/s390/s390-32/setjmp.S: ... here.
12117 Add versioning.
12118 (__sigsetjmp): Remove setting __flags field.
12119 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
12120 * sysdeps/s390/s390-64/__longjmp.c: ... here.
12121 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
12122 * sysdeps/s390/s390-64/setjmp.S: ... here.
12123 Add versioning.
12124 (__sigsetjmp): Remove setting __flags field.
12125 * sysdeps/s390/setjmp.S: Delete file.
12126 * sysdeps/s390/sigjmp.c: Likewise.
12127 * sysdeps/s390/v1-longjmp.c: Likewise.
12128 * sysdeps/s390/v1-setjmp.h: Likewise.
12129 * sysdeps/s390/v1-sigjmp.c: Likewise.
12130 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
12131 Remove v1-longjmp_chk.
12132 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
12133 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
12134 Include debug/longjmp_chk.c and add versioning.
12135 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
12136 Include nptl/pt-longjmp.c and add versioning.
12137 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
12138 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
12139 Include __longjmp.c.
12140 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12141 Move to ...
12142 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
12143 (__getcontext): Remove setting __flags field.
12144 Add versioning.
12145 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12146 Don't restore upper high grps.
12147 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
12148 Likewise.
12149 (__swapcontext): Remove setting uc_flags field.
12150 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
12151 Delete file.
12152 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12153 Include __longjmp.c.
12154 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12155 Move to ...
12156 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
12157 (__getcontext): Remove setting __flags field.
12158 Add versioning.
12159 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
12160 (__swapcontext): Remove setting uc_flags field.
12161 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
12162 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
12163 Remove fields uc_high_gprs and __reserved.
12164 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
12165 New file with reverted content.
12166 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
12167 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
12168 Regenerated.
12169 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
12170 Regenerated.
12171
6c9578a2
AS
121722014-07-31 Andreas Schwab <schwab@suse.de>
12173
12174 * config.h.in (HAVE_IFUNC): Define to 0.
12175 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
12176 definedness.
12177
05f3633d
LM
121782014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
12179
12180 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12181 memmove-avx-unaligned, memcpy-avx-unaligned and
12182 mempcpy-avx-unaligned.
12183 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12184 Add tests for AVX memcpy functions.
12185 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
12186 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
12187 memcpy_chk.
12188 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
12189 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
12190 memmove_chk.
12191 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
12192 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
12193 mempcpy_chk.
12194 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
12195 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
12196 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
12197
a53fbd8e
AZ
121982013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12199
12200 [BZ #17213]
12201 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
12202 powerpc64le.
12203
0961f7e1
JL
122042014-07-29 Jeff Layton <jlayton@poochiereds.net>
12205
12206 [BZ #16839]
12207 * manual/llio.texi: Add section about open file description locks.
12208 * manual/examples/ofdlocks.c: Example of open file description
12209 lock usage.
12210 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
12211 F_OFD_SETLK, and F_OFD_SETLKW.
12212
cc5fb300
AM
122132014-07-23 Allan McRae <allan@archlinux.org>
12214
12215 * po/es.po: Update Spanish translation from translation project.
12216
23329dca
AS
122172014-07-18 Andreas Schwab <schwab@linux-m68k.org>
12218
12219 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
12220
9c82da17
MR
122212014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
12222
12223 [BZ #17078]
12224 * sysdeps/arm/dl-machine.h (elf_machine_rela)
12225 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
12226 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
12227
29c4f53e
JM
122282014-07-17 Joseph Myers <joseph@codesourcery.com>
12229
831b9896
JM
12230 [BZ #17088]
12231 * math/fesetenv.c (__fesetenv)
12232 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
12233 * math/feupdateenv.c (__feupdateenv)
12234 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
12235
b21c2d50
JM
12236 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
12237 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12238 (__ASSUME_SOCKETCALL): Do not define.
12239
067764ef
JM
12240 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
12241 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
12242 (__ASSUME_SOCKETCALL): Do not define.
12243 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
12244 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12245 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12246 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12247 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12248 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
12249 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12250 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12251
642530c1
JM
12252 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
12253 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
12254 (__ASSUME_SOCKETCALL): Do not define.
12255 (__ASSUME_IPC64): Define unconditionally.
12256 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12257 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12258 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12259 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12260 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
12261 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12262 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
12263 Likewise.
12264
03f77315
JM
12265 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
12266 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
12267 (__ASSUME_SOCKETCALL): Do not define.
12268 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
12269 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12270 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12271 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12272 (__ASSUME_REQUEUE_PI): Define unconditionally.
12273 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
12274 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12275 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12276 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
12277 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12278 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12279
083b1f7c
JM
12280 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
12281 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
12282 (__ASSUME_SOCKETCALL): Do not define.
12283 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
12284 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12285 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12286 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
12287 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12288 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12289
5be44ea6
JM
12290 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
12291 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
12292 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12293 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
12294 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12295 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
12296 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12297 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
12298 (__ASSUME_GETCPU_SYSCALL): Likewise.
12299
d95ffd4c
JM
12300 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
12301 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
12302 cases for individual architectures.
12303 * sysdeps/gnu/configure: Regenerated.
12304 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
12305 LIBC_SLIBDIR_RTLDDIR.
12306 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
12307 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
12308 LIBC_SLIBDIR_RTLDDIR.
12309 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
12310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
12311 LIBC_SLIBDIR_RTLDDIR.
12312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12313 Regenerated.
12314 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
12315 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
12316 file.
12317 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
12318 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
12319 file.
12320 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
12321 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
12322 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
12323 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
12324
29c4f53e
JM
12325 * sysdeps/aarch64/shlib-versions: Move to ...
12326 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
12327 * sysdeps/alpha/shlib-versions: Move to ...
12328 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
12329 * sysdeps/arm/shlib-versions: Move to ...
12330 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
12331 * sysdeps/hppa/shlib-versions: Move all contents except for
12332 libgcc_s entry to ...
12333 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
12334 entry from ...
12335 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
12336 * sysdeps/ia64/shlib-versions: Move to ...
12337 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
12338 entry from ...
12339 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
12340 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
12341 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
12342 * sysdeps/microblaze/shlib-versions: Move to ...
12343 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
12344 * sysdeps/mips/shlib-versions: Move to ...
12345 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
12346 entry from ...
12347 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
12348 * sysdeps/tile/shlib-versions: Move to ...
12349 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
12350 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
12351 from ...
12352 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
12353 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
12354 entry from ...
12355 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
12356
32bead5b
WN
123572014-07-17 Will Newton <will.newton@linaro.org>
12358
57977c4b
WN
12359 * sysdeps/arm/bits/atomic.h
12360 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
12361 (__arch_compare_and_exchange_bool_16_int): Likewise.
12362 (__arch_compare_and_exchange_bool_64_int): Likewise.
12363
32bead5b
WN
12364 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
12365 into an #else block.
12366
37fccd41
RM
123672014-07-16 Roland McGrath <roland@hack.frob.com>
12368
12369 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
12370 just Linux configurations. Test empirically that the compiler sets
12371 __ARM_EABI__, rather than using the tuple to decide.
12372 * sysdeps/arm/preconfigure: Regenerated.
12373 * sysdeps/unix/sysv/linux/arm/configure: File removed.
12374 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
12375 contents appended ...
12376 * sysdeps/arm/configure.ac: ... here.
12377 * sysdeps/arm/configure: Regenerated.
12378
b365f3ec
RM
123792014-07-15 Roland McGrath <roland@hack.frob.com>
12380
8badf496
RM
12381 * nptl/pthread_kill.c: New file.
12382 * nptl/pthread_sigmask.c: New file.
12383 * nptl/pthread_sigqueue.c: New file.
12384
3df6f22e
RM
12385 * sysdeps/nptl/lowlevellock.h: New file.
12386 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
12387 * sysdeps/nptl/lowlevellock-futex.h: New file.
12388
b365f3ec
RM
12389 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
12390 Remove dead declarations.
12391
f2fef657
L
123922014-07-14 H.J. Lu <hongjiu.lu@intel.com>
12393
12394 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
12395 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
12396 config-cflags-avx2.
12397 * sysdeps/x86_64/configure.ac: Likewise.
12398 * sysdeps/i386/configure: Regenerated.
12399 * sysdeps/x86_64/configure: Likewise.
12400 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12401 memset-avx2 only if config-cflags-avx2 is yes.
12402 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12403 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
12404 defined.
12405 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
12406 only if HAVE_AVX2_SUPPORT is defined.
12407 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12408
f6c44d47
AM
124092014-07-14 Alan Modra <amodra@gmail.com>
12410
12411 [BZ #17153]
12412 * elf/elf.h (DT_PPC64_NUM): Correct value.
12413 * NEWS: Add to fixed bug list.
12414
7ee03f00
JM
124152014-07-13 Jim Meyering <meyering@fb.com>
12416
12417 [BZ 17150]
12418 regex: don't deref NULL upon heap allocation failure
12419 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
12420 failure in one more place.
12421 To trigger the segfault, configure grep -with-included-regex,
12422 build it, and run these commands:
12423 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
12424
9d39d517
AS
124252014-07-13 Andreas Schwab <schwab@linux-m68k.org>
12426
12427 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12428
a75b89b7
RH
124292014-07-11 Richard Henderson <rth@redhat.com>
12430
12431 * sysdeps/aarch64/libm-test-ulps: Update.
12432
771eb141
FW
124332014-07-10 Florian Weimer <fweimer@redhat.com>
12434
12435 [BZ #17135]
12436 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
12437 * nptl/allocatestack.c (__nptl_setxid_error): New function.
12438 (__nptl_setxid): Initialize error member. Call
12439 __nptl_setxid_error.
12440 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
12441 * nptl/descr.h (struct xid_command): Add error member.
12442 * nptl/tst-setuid3.c: New file.
12443 * nptl/Makefile (tests): Add it.
12444
bc1da176
AZ
124452014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12446
12447 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
12448 New define.
12449 (__lll_trylock): Use __lll_base_trylock.
12450 (__lll_cond_trylock): Likewise.
12451
887865fc
RM
124522014-07-10 Roland McGrath <roland@hack.frob.com>
12453
c0c6bac9
RM
12454 * nptl/pthread_create.c (start_thread): Use atomic_or and
12455 lll_futex_wake directly rather than lll_robust_dead.
12456 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12457 (lll_robust_dead): Macro removed.
6a42be57 12458 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
12459 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12460 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12461 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12462 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12463 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12464 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12465 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12466 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12467 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12468 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12469 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12470 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12471 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12472 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12473
887865fc
RM
12474 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12475 Use atomic_compare_and_exchange_val_acq directly rather than
12476 lll_robust_trylock.
12477 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12478 (__lll_robust_trylock, lll_robust_trylock): Removed.
12479 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12480 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12481 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12482 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12483 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12484 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12485 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12486 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12487 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12488 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12489 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12490 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12491 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12492 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12493
58536726
FW
124942014-07-02 Florian Weimer <fweimer@redhat.com>
12495
12496 * manual/locale.texi (Locale Names): New section documenting
12497 locale name syntax. Adjust menu and node chaining accordingly.
12498 (Choosing Locale): Reference Locale Names, Locale Categories.
12499 Mention setting LC_ALL=C. Reflect that name syntax is now
12500 documented.
12501 (Locale Categories): New section title. Reference Locale Names.
12502 LC_ALL is an environment variable, but not a category.
12503 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
12504 description, now in Locale Name. Reference that section. Locale
12505 name syntax is now documented.
12506
4e8f95a0
FW
125072014-07-02 Florian Weimer <fweimer@redhat.com>
12508
12509 [BZ #17137]
12510 * locale/findlocale.c (name_present, valid_locale_name): New
12511 functions.
12512 (_nl_find_locale): Use the loc_name variable to store name
12513 candidates. Call name_present and valid_locale_name to check and
12514 validate locale names. Return an error if the locale is invalid.
12515
d1836456
FW
125162014-07-02 Florian Weimer <fweimer@redhat.com>
12517
12518 * locale/setlocale.c (setlocale): Use strdup for allocating
12519 composite name copy.
12520
d69b7f5a
SP
125212014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12522
888c679b
SP
12523 Sync up with gnulib.
12524 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
12525 [!_LIBC && ENABLE_NLS]: Include gettext.h.
12526 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
12527 and _GL_ARG_NONNULL.
12528 [USE_UNLOCKED_IO]: Include unlocked-io.h.
12529 [!_LIBC]: Include code for Windows and Cygwin.
12530 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
12531 Include prototype for int strerror_r.
12532 [!_LIBC] (is_open): New function.
12533 (flush_stdout): New function.
12534 (print_errno_message): Use it.
12535 (error): Likewise.
12536 (error_at_line): Likewise.
12537 (error_tail) Add function attribute macros. Use
12538 __builtin_expect.
12539
180e0e4b
SP
12540 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
12541
d22f1fe2
SP
12542 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
12543
12f2254b
SP
12544 * io/ftw.c: Include sys/param.h unconditionally.
12545
c3c7c360
SP
12546 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
12547
d62aa75a
SP
12548 [BZ #17125]
12549 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
12550 libc_freeres_ptr.
12551 (freecache): New function to free CACHE on exit.
12552
d69b7f5a
SP
12553 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
12554 initialization.
12555
5efe06a1
DM
125562014-07-09 David S. Miller <davem@davemloft.net>
12557
12558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12559
7000d82e
DM
12560 * sysdeps/sparc/nptl/internaltypes.h: Delete.
12561 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
12562 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
12563 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
12564 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
12565 * sysdeps/sparc/nptl/sem_init.c: Likewise.
12566 * sysdeps/sparc/nptl/sem_post.c: Likewise.
12567 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
12568 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
12569 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
12570 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
12571 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
12572 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
12573
c213442d
AS
125742014-07-09 Andreas Schwab <schwab@suse.de>
12575
4a2552c3
AS
12576 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
12577 output.
12578 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
12579 (do_test): Likewise.
12580
c213442d
AS
12581 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12582
82374e65
WN
125832014-07-09 Will Newton <will.newton@linaro.org>
12584
12585 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
12586 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
12587 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
12588 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
12589 * sysdeps/hppa/start.S (_start): Likewise.
12590
6680738a
SP
125912014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12592
6ee3eab4
SP
12593 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
12594
6680738a
SP
12595 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
12596 defined.
12597
80b5c505
SP
125982014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12599
e35c53e3
SP
12600 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
12601 after checking that it is non-NULL.
12602
80b5c505
SP
12603 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
12604
91f4b564
AZ
126052014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12606
27b75f56
AZ
12607 * sysdeps/powerpc/memmove.c: Remove file.
12608 * sysdeps/powerpc/powerpc32/power4/memcopy.h
12609 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
12610 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
12611 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
12612 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
12613 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
12614 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
12615 string memmove instead of removed powerpc one.
12616
e7f95bb5
AZ
12617 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12618 [weak_alias]: Fix compiler warning due trailing data.
12619 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
12620 [weak_alias]: Likewise.
12621 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
12622 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
12623
91f4b564
AZ
12624 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12625 (__libc_ifunc_impl_list): Add memmove functions.
12626
7c33f1e5
SP
126272014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12628
12629 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
12630 Remove code.
12631 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
12632 Likewise
12633 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
12634 Likewise
12635 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
12636 Likewise
12637 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
12638 Likewise
12639 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
12640 Likewise
12641 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
12642 Likewise
12643 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
12644 Likewise
12645 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
12646 Likewise
12647 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
12648 Likewise
12649 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
12650 Likewise
12651 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
12652 Likewise
12653 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
12654 Likewise
12655 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
12656 Likewise
12657 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
12658 Likewise
12659 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
12660 Likewise
12661 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
12662 Likewise
12663
3f17b03b
AZ
126642014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12665
87868c24
AZ
12666 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
12667 to avoid alignment traps in non-cacheable memory.
12668 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12669
07aedd78
AZ
12670 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
12671 multiarch objects.
12672 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
12673 file: multiarch power7 memmove.
12674 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
12675 multiarch default memmove.
12676 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
12677 multiarch memove for powerpc32/power4.
12678
17762f66
AZ
12679 * string/bcopy.c: Use full path to include memmove.c.
12680 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
12681 multiarch objects.
12682 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
12683 bcopy for powerpc64.
12684 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
12685 bcopy for powerpc64.
12686 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
12687 and memmove implementations.
12688 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
12689 optimized multiarch memmove for POWER7/powerpc64.
12690 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
12691 default multiarch memmove for powerpc64.
12692 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
12693 multiarch for powerpc64.
12694 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
12695 for POWER7/powerpc64.
12696 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
12697 memmove for POWER7/powerpc64.
12698
d6f68bbe
AZ
12699 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
12700 glibc default one.
12701
3f17b03b
AZ
12702 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
12703 __ELF_NATIVE_CLASS equal to 64.
12704
08192659
RM
127052014-07-07 Roland McGrath <roland@hack.frob.com>
12706
f4c4021b
RM
12707 * sysdeps/nptl/lowlevellock.h: File removed.
12708
f083450f
RM
12709 * NEWS: NPTL is no longer an add-on!
12710 * nptl/internaltypes.h: Moved ...
12711 * sysdeps/nptl/internaltypes.h: ... here.
12712 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
12713 * sysdeps/nptl/fork.c: Likewise.
12714 * sysdeps/nptl/gai_misc.h: Likewise.
12715 * sysdeps/nptl/librt-cancellation.c: Likewise.
12716 * sysdeps/nptl/jmp-unwind.c: Likewise.
12717 * sysdeps/nptl/setxid.h: Likewise.
12718 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
12719 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
12720 * sysdeps/unix/sysv/linux/arm/Implies: New file.
12721 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
12722 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
12723 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
12724 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
12725 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
12726 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
12727 * sysdeps/unix/sysv/linux/mips/Implies: New file.
12728 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
12729 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
12730 * sysdeps/unix/sysv/linux/sh/Implies: New file.
12731 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
12732 * sysdeps/unix/sysv/linux/tile/Implies: New file.
12733 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
12734 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
12735 * nptl/Makeconfig: Moved ...
12736 * sysdeps/nptl/Makeconfig: ... here.
12737 * nptl/configure: File removed.
12738 * nptl/ANNOUNCE: File removed.
12739 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
12740 * sysdeps/unix/sysv/linux/configure: Regenerated.
12741
08192659
RM
12742 * nptl/Makefile (routines): Add libc_pthread_init,
12743 libc_multiple_threads, register-atfork and unregister-atfork.
12744 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
12745 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
12746 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
12747 pthread-pi-defines.sym, structsem.sym.
12748 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
12749 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
12750 [$(subdir) = nptl] (tests): Add tst-setgetname.
12751 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
12752 * sysdeps/unix/sysv/linux/sigaction.c: Just include
12753 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
12754 [!LIBC_SIGACTION]: Remove aliases.
12755 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12756 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12757 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12758 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
12759 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12760 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12761 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12762 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12763 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12764 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
12765 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
12766 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
12767 __libc_allocate_rtsig_private.
12768 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
12769 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
12770 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
12771 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
12772 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
12773 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
12774 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
12775 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
12776 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
12777 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
12778 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
12779 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
12780 * nptl/internaltypes.h: ... here.
12781 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
12782 * sysdeps/nptl/jmp-unwind.c: ... here.
12783 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
12784 * nptl/libc-lowlevellock.c: ... here.
12785 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
12786 * nptl/libc_multiple_threads.c: ... here.
12787 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
12788 * nptl/libc_pthread_init.c: ... here.
12789 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
12790 * nptl/lowlevelbarrier.sym: ... here.
12791 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
12792 * nptl/lowlevelcond.sym: ... here.
12793 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
12794 * nptl/lowlevellock.c: ... here.
12795 * nptl/lowlevellock.h: Moved ...
12796 * sysdeps/nptl/lowlevellock.h: ... here.
12797 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
12798 * nptl/lowlevelrobustlock.c: ... here.
12799 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
12800 * nptl/lowlevelrobustlock.sym: ... here.
12801 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
12802 * nptl/lowlevelrwlock.sym: ... here.
12803 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
12804 * nptl/pt-fork.c: ... here.
12805 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
12806 * nptl/pthread-pi-defines.sym: ... here.
12807 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
12808 * nptl/pthread_attr_getaffinity.c: ... here.
12809 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
12810 * nptl/pthread_attr_setaffinity.c: ... here.
12811 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
12812 * nptl/pthread_mutex_cond_lock.c: ... here.
12813 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12814 Update #include.
12815 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
12816 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
12817 * nptl/pthread_once.c: ... here, replacing old file.
12818 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
12819 * nptl/pthread_yield.c: ... here.
12820 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
12821 * nptl/register-atfork.c: ... here.
12822 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
12823 * nptl/sem_post.c: ... here.
12824 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
12825 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
12826 * nptl/sem_timedwait.c: ... here.
12827 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
12828 * nptl/sem_trywait.c: ... here.
12829 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
12830 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
12831 * nptl/sem_wait.c: ... here.
12832 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
12833 * nptl/structsem.sym: ... here.
12834 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
12835 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
12836 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
12837 * nptl/unregister-atfork.c: ... here.
12838 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
12839 * nptl/unwindbuf.sym: ... here.
12840 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
12841 * sysdeps/nptl/fork.c: ... here.
12842 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
12843 * sysdeps/nptl/fork.h: ... here.
12844 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
12845 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
12846 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
12847 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
12848 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
12849 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
12850 * sysdeps/unix/sysv/linux/getpid.c: ... here.
12851 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
12852 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
12853 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
12854 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
12855 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
12856 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
12857 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
12858 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
12859 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
12860 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
12861 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
12862 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
12863 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
12864 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
12865 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
12866 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
12867 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
12868 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
12869 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
12870 * sysdeps/unix/sysv/linux/raise.c: ... here.
12871 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
12872 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
12873 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
12874 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
12875 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
12876 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
12877 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
12878 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
12879 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
12880 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
12881 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
12882 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
12883 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
12884 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
12885 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
12886
96baf6ff
SP
128872014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12888
12889 * sysdeps/generic/memcopy.h: Add comment for
12890 MEMCPY_OK_FOR_FWD_MEMMOVE.
12891
6b7b14b2
WN
128922014-07-04 Will Newton <will.newton@linaro.org>
12893
1570a72b
WN
12894 * string/memchr.c: Merge from gnulib.
12895 [_LIBC]: Remove conditionals.
12896 (__ptr_t): Remove define.
12897 (LONG_MAX_32_BITS): Likewise.
12898 (LONG_MAX): Likewise.
12899 (MEMCHR): Use ANSI prototype and optimize algorithm.
12900
6b7b14b2
WN
12901 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
12902
38851324
SP
129032014-07-03 Roland McGrath <roland@hack.frob.com>
12904
3d9eb57c
RM
12905 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
12906 (lll_futex_timed_wait_bitset): Fix syscall argument count.
12907
78b984ae
RM
12908 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
12909 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
12910 in a bare environment with no <stdlib.h> installed.
12911 * sysdeps/nptl/configure: Regenerated.
12912
2d5976a5
RM
12913 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
12914
c1f5acd4
RM
12915 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
12916 AC_EGREP_CPP for kernel header checks, so they only succeed if
12917 including <linux/version.h> actually works right.
12918 * sysdeps/unix/sysv/linux/configure: Regenerated.
12919
4d614fe5
RM
12920 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
12921 value so it's not diagnosed as unused.
12922
38851324
SP
12923 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
12924 thing) with "ifeq ($(subdir),rt)".
12925
b3ec00e5
RH
129262014-07-03 Richard Henderson <rth@redhat.com>
12927
69862e25
RH
12928 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
12929 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
12930 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
12931
d5e16ade
RH
12932 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
12933 (math_force_eval): New.
12934
ca7b945c
RH
12935 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
12936 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
12937
cd1175a3
RH
12938 * sysdeps/alpha/fpu/s_round.c: Remove file.
12939 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
12940
b3ec00e5
RH
12941 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
12942 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
12943 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
12944 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
12945 (_dl_start, print_statistics): Likewise.
12946 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
12947 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
12948
12949 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12950 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12951 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12952 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12953 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12954 (HP_SMALL_TIMING_AVAIL): Define.
12955 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12956 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
12957 (HP_SMALL_TIMING_AVAIL): Define.
12958 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12959 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12960
12961 * sysdeps/aarch64/hp-timing.h: New file.
12962
12963 * sysdeps/generic/hp-timing.h: Remove dead comment.
12964 * sysdeps/generic/hp-timing-common.h: New file.
12965 * sysdeps/alpha/hp-timing.h: Include it.
12966 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
12967 * sysdeps/i386/i686/hp-timing.h: Likewise.
12968 * sysdeps/ia64/hp-timing.h: Likewise.
12969 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12970 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12971 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12972 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12973 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
12974 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
12975 (hp_timing_t): New.
12976
12977 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
12978 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
12979 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
12980 * elf/rtld.c (_dl_start_final): Likewise.
12981 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
12982 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12983 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12984 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12985 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12986 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12987 (HP_TIMING_DIFF_INIT): Remove.
12988 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12989 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
12990 (HP_TIMING_DIFF_INIT): Remove.
12991 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12992 * sysdeps/i386/i686/hp-timing.c: Remove file.
12993 * sysdeps/x86_64/hp-timing.c: Remove file.
12994 * sysdeps/ia64/hp-timing.c: Remove file.
12995 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
12996 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
12997 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
12998 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
12999
13000 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
13001 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
13002 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
13003 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13004 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13005 (HP_TIMING_ACCUM): Remove.
13006 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13007 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
13008 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13009
13010 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
13011 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
13012 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
13013 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
13014 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
13015 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13016 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
13017 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13018
13019 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
13020
225f410f
MR
130212014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
13022
13023 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
13024
3247f285
SP
130252014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13026
13027 Sync up with gettext.
13028 * intl/loadmsgcat.c: Define O_BINARY if not defined.
13029 [_MSC_VER]: Include malloc.h
13030 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
13031 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
13032 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
13033 TEMP_FAILURE_RETRY. Cast return of alloca.
13034 [!_LIBC] Call gl_rwlock_init.
13035 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
13036
d12704c7
SP
130372014-07-02 Roland McGrath <roland@hack.frob.com>
13038
13039 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
13040 before checking its value.
13041
99f8dc92
SP
130422014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13043
05fdac77
SP
13044 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
13045
99f8dc92
SP
13046 * debug/memcpy_chk.c: Don't include pagecopy.h.
13047 * debug/mempcpy_chk.c: Likewise.
13048 * string/memcpy.c: Likewise.
13049 * string/memmove.c: Likewise.
13050 * sysdeps/powerpc/memmove.c: Likewise.
13051 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
13052 definition of PAGE_COPY_FWD_MAYBE here...
13053 * sysdeps/generic/pagecopy.h: ... from here.
13054 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
13055
bc8ea385
VR
130562014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13057 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13058
13059 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
13060 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
13061 optimizations.
13062 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13063 (__libc_ifunc_impl_list): Likewise.
13064 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
13065 multiarch strcat for PPC64.
13066 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
13067 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
13068
fe5f34e4
RM
130692014-07-02 Roland McGrath <roland@hack.frob.com>
13070
13071 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
13072
256aa665
SP
130732014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13074
d4eb8195
SP
13075 * intl/loadmsgcat.c: Remove declaration of
13076 get_sysdep_segment_value.
13077 (get_sysdep_segment_value): Use ISO C style.
13078 (_nl_load_domain): Use ISO C style. Get rid of redundant
13079 semicolon. Fix typo and formatting in comment.
13080 (_nl_unload_domain): Use ISO C style.
13081
256aa665
SP
13082 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
13083
b100f9aa
WN
130842014-07-02 Will Newton <will.newton@linaro.org>
13085
13086 * malloc/obstack.c: Merge from gnulib master.
13087 [HAVE_CONFIG_H]: Remove conditional code.
13088 [!_LIBC]: Include config.h.
13089 [!ELIDE_CODE]: Don't include inttypes.h, include
13090 stdint.h unconditionally.
13091 (print_and_abort): Mark as _Noreturn.
13092 (_obstack_allocated_p): Mark as __attribute_pure__.
13093 (obstack_free): Rename to __obstack_free.
13094 [!__attribute__]: Remove conditional code.
13095 * malloc/obstack.h: Merge from gnulib master.
13096 [__cplusplus]: Move conditional down.
13097 [!__attribute_pure__]: Define __attribute_pure__ here
13098 if it is not already defined.
13099 (_obstack_memory_used): Mark as __attribute_pure__.
13100 [!__obstack_free]: Define as obstack_free.
13101 [__GNUC__]: Remove check for ancient NeXT gcc.
13102
c4c41244
PE
131032014-07-02 Will Newton <will.newton@linaro.org>
13104 Paul Eggert <eggert@cs.ucla.edu>
13105
13106 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
13107
e1e041c4
SP
131082014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13109
13110 * resolv/gethnamaddr.c: Add comment warning that the file is
13111 not maintained.
13112
ccf431ff
CD
131132014-07-01 Carlos O'Donell <carlos@redhat.com>
13114
d34570a6
CD
13115 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
13116 entries.
13117
ccf431ff
CD
13118 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
13119 entry for aio_cancel and aio_cancel64.
13120 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
13121 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
13122 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
13123 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
13124 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
13125 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
13126 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
13127 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
13128 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
13129 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
13130 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
13131 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
13132 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
13133
ca06321d
RM
131342014-07-01 Roland McGrath <roland@hack.frob.com>
13135
13136 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
13137 * nptl/pthread_mutex_lock.c: Likewise.
13138 * nptl/pthread_mutex_timedlock.c: Likewise.
13139 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
13140
a1ac3184
RH
131412014-07-01 Richard henderson <rth@redhat.com>
13142
631021e0
RH
13143 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
13144 (__isnan, __isnanl): Remove.
13145 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
13146
a1ac3184
RH
13147 * sysdeps/alpha/fpu/libm-test-ulps: Update.
13148
0c1d731f
SL
131492014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
13150
13151 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13152
76985d3e
SP
131532014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13154
13155 * resolv/nss_dns/dns-host.c (getanswer_r)
13156 [MULTI_PTRS_ARE_ALIASES]: Remove code.
13157
b0cb3096
JM
131582014-07-01 Joseph Myers <joseph@codesourcery.com>
13159
13160 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13161 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
13162 undefine.
13163 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
13164 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
13165
4d76cb39
RM
131662014-07-01 Roland McGrath <roland@hack.frob.com>
13167
13168 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
13169 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
13170
13171 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
13172 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
13173
13174 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
13175 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
13176 ... here.
13177 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
13178 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
13179
13180 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
13181 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
13182 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
13183 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
13184
13185 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
13186 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
13187 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
13188 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
13189 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
13190 Moved ...
13191 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
13192 ... here.
13193 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
13194 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
13195 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
13196 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
13197 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
13198 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
13199 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
13200 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
13201 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
13202 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
13203 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
13204 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
13205 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
13206 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
13207 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
13208 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
13209 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
13210 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
13211 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
13212 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
13213 ... here.
13214 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
13215 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
13216 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
13217 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
13218 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
13219 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
13220 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
13221 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
13222
0cdcad17
DH
132232014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
13224
13225 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
13226 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
13227 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
13228 Add sysdep.
13229
9b71d0e3
AZ
132302014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13231
13232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13233
665390c2
JM
132342014-06-30 Joseph Myers <joseph@codesourcery.com>
13235
ae05a9d7
JM
13236 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13237 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13238
a7672a2f
JM
13239 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13240
665390c2
JM
13241 * sysdeps/arm/libm-test-ulps: Regenerated.
13242
d7a05d07
MR
132432014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
13244 Roland McGrath <roland@hack.frob.com>
13245
13246 * test-skeleton.c (signal_handler): Kill the whole process group
13247 before killing the child individually.
13248 (main): Report any failure on `setpgid'.
13249
46f1d8a6
RM
132502014-06-30 Roland McGrath <roland@hack.frob.com>
13251
13252 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
13253 from _TLS_H to _ARM_NPTL_TLS_H.
13254 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
13255 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
13256
9c37ec0b
JM
132572014-06-30 Joseph Myers <joseph@codesourcery.com>
13258
ce9c5b3e
JM
13259 [BZ #16539]
13260 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
13261 (__expm1l): Return argument unchanged when small but not
13262 subnormal.
13263
3a6e9887
JM
13264 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
13265 include macro name.
13266 (_FP_UNPACK_RAW_1_P): Likewise.
13267 (_FP_PACK_RAW_1): Likewise.
13268 (_FP_PACK_RAW_1_P): Likewise.
13269 (_FP_MUL_MEAT_1_wide): Likewise.
13270 (_FP_MUL_MEAT_DW_1_hard): Likewise.
13271 (_FP_MUL_MEAT_1_hard): Likewise.
13272 (_FP_DIV_MEAT_1_imm): Likewise.
13273 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
13274 (_FP_DIV_MEAT_1_udiv): Likewise.
13275 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
13276 (_FP_UNPACK_RAW_2): Likewise.
13277 (_FP_UNPACK_RAW_2_P): Likewise.
13278 (_FP_PACK_RAW_2): Likewise.
13279 (_FP_PACK_RAW_2_P): Likewise.
13280 (_FP_MUL_MEAT_DW_2_wide): Likewise.
13281 (_FP_MUL_MEAT_2_wide): Likewise.
13282 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
13283 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13284 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
13285 (_FP_MUL_MEAT_2_gmp): Likewise.
13286 (_FP_DIV_MEAT_2_udiv): Likewise.
13287 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
13288 (_FP_FRAC_SRL_4): Likewise.
13289 (_FP_FRAC_SRST_4): Likewise.
13290 (_FP_FRAC_SRS_4): Likewise.
13291 (_FP_UNPACK_RAW_4): Likewise.
13292 (_FP_UNPACK_RAW_4_P): Likewise.
13293 (_FP_PACK_RAW_4): Likewise.
13294 (_FP_PACK_RAW_4_P): Likewise.
13295 (_FP_MUL_MEAT_DW_4_wide): Likewise.
13296 (_FP_MUL_MEAT_4_wide): Likewise.
13297 (_FP_MUL_MEAT_4_gmp): Likewise.
13298 (umul_ppppmnnn): Likewise.
13299 (_FP_DIV_MEAT_4_udiv): Likewise.
13300 (__FP_FRAC_ADD_4): Likewise.
13301 (__FP_FRAC_SUB_3): Likewise.
13302 (__FP_FRAC_SUB_4): Likewise.
13303 (__FP_FRAC_DEC_3): Likewise.
13304 (__FP_FRAC_DEC_4): Likewise.
13305 (__FP_FRAC_ADDI_4): Likewise.
13306 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
13307 (_FP_FRAC_SRL_8): Likewise.
13308 (_FP_FRAC_SRS_8): Likewise.
13309
9c37ec0b
JM
13310 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
13311 include macro name.
13312 (FP_UNPACK_RAW_EP): Likewise.
13313 (FP_PACK_RAW_E): Likewise.
13314 (FP_PACK_RAW_EP): Likewise.
13315 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
13316 (_FP_ISSIGNAN): Likewise.
13317 (_FP_ADD_INTERNAL): Likewise.
13318 (_FP_FMA): Likewise.
13319 (_FP_CMP): Likewise.
13320 (_FP_SQRT): Likewise.
13321 (_FP_TO_INT): Likewise.
13322 (_FP_FROM_INT): Likewise.
13323 (FP_EXTEND): Likewise.
13324 (_FP_DIV_MEAT_N_loop): Likewise.
13325
2125f674
MR
133262014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
13327
13328 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
13329 throughout.
13330
edea4028
JM
133312014-06-29 Joseph Myers <joseph@codesourcery.com>
13332
13333 [BZ #17097]
13334 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
13335 result with correct sign in case of exponents that produce
13336 overflow except for X very close to 1.
13337
dd0ba018
PE
133382014-06-28 Paul Eggert <eggert@cs.ucla.edu>
13339
13340 mktime: merge #if/#ifdef usage from glibc
13341 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
13342 as that works with both Glibc's and Gnulib's style.
13343 See thread starting at Siddhesh Poyarekar's bug report at:
13344 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
13345
64df73c2
SP
133462014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13347
13348 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
13349 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
13350 * sysdeps/tile/tilegx/memmove.c: Remove file.
13351
f1eafb41
JM
133522014-06-27 Joseph Myers <joseph@codesourcery.com>
13353
13354 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
13355 abi-name definition.
13356 * scripts/soversions.awk: Do not handle or generate ABI lines.
13357 * shlib-versions: Remove ABI entries.
13358 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
13359 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
13360
58eb0862
RM
133612014-06-27 Roland McGrath <roland@hack.frob.com>
13362
37caf178
RM
13363 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
13364 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
13365 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
13366 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
13367 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
13368 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
13369 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
13370 Moved ...
13371 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13372 ... here.
13373 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
13374 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
13375 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
13376 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
13377 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
13378 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
13379 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
13380 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
13381 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
13382 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
13383 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
13384 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
13385 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
13386 Moved ...
13387 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
13388 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
13389 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
13390 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
13391 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
13392 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
13393 Moved ...
13394 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
13395 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
13396 Moved ...
13397 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
13398 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
13399 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
13400 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
13401 Moved ...
13402 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
13403 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
13404 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
13405 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
13406 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
13407 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
13408 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
13409 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
13410 Moved ...
13411 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
13412 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
13413 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
13414 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
13415 Moved ...
13416 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
13417 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
13418 Moved ...
13419 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
13420 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
13421 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
13422 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
13423 Moved ...
13424 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13425 ... here.
13426 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
13427 Identical file removed.
13428 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
13429 Moved ...
13430 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
13431 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
13432 Identical file removed.
13433 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
13434 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
13435 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
13436 Moved ...
13437 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
13438 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
13439 Identical file removed.
13440 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
13441 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
13442 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
13443 Identical file removed.
13444 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
13445 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
13446 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
13447 Identical file removed.
13448 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
13449 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
13450 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
13451 Identical file removed.
13452 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
13453 Moved ...
13454 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
13455 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
13456 Identical file removed.
13457 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
13458 Moved ...
13459 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
13460 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
13461 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
13462 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
13463 Identical file removed.
13464 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
13465 Moved ...
13466 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
13467 ... here.
13468 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
13469 Identical file removed.
13470 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
13471 Moved ...
13472 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
13473 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
13474 Identical file removed.
13475 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
13476 Moved ...
13477 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
13478 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
13479 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
13480 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
13481 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
13482 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
13483 Moved ...
13484 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
13485 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
13486 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
13487
58eb0862
RM
13488 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
13489 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
13490 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
13491 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
13492 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
13493
6f12d062
AS
134942014-06-27 Arjun Shankar <arjun.is@lostca.se>
13495
13496 [BZ #17092]
13497 * nscd/nscd.c (monitor_child): Return exit status of child
13498 instead of return value from wait syscall.
13499
be254932
JM
135002014-06-27 Joseph Myers <joseph@codesourcery.com>
13501
cb403c34
JM
13502 * configure.ac (libc_commonpagesize): Remove variable.
13503 (libc_relro_required): Likewise.
13504 (libc_cv_z_relro): Remove configure test.
13505 * configure: Regenerated.
13506 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
13507 variable.
13508 (libc_relro_required): Likewise.
13509 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
13510 (libc_relro_required): Likewise.
13511 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
13512 (libc_relro_required): Likewise.
13513 * sysdeps/arm/preconfigure: Regenerated.
13514 * sysdeps/ia64/preconfigure: Remove file.
13515 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
13516 variable.
13517 (libc_relro_required): Likewise.
13518
be254932
JM
13519 [BZ #16561]
13520 [BZ #16562]
13521 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
13522 (__ieee754_yn): Set FE_TONEAREST mode internally and then
13523 recompute overflowing results in original rounding mode.
13524 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
13525 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
13526 recompute overflowing results in original rounding mode.
13527 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
13528 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13529 recompute overflowing results in original rounding mode.
13530 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
13531 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13532 recompute overflowing results in original rounding mode.
13533 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
13534 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13535 recompute overflowing results in original rounding mode.
13536 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
13537 (libc_feholdsetround_ctx): New macro.
13538 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
13539 * sysdeps/i386/fpu/libm-test-ulps: Update.
13540 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
13541
b351d85a
JM
135422014-06-26 Joseph Myers <joseph@codesourcery.com>
13543
13544 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
13545 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
13546 corresponding .cpsetup call.
13547
3cb4de47
RM
135482014-06-26 Roland McGrath <roland@hack.frob.com>
13549
13550 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
13551 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
13552 * sysdeps/arm/Makefile [$(subdir) = csu]
13553 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
13554 (static-only-routines): Add aeabi_read_tp here.
13555 (shared-only-routines): Add libc-aeabi_read_tp here.
13556 (CFLAGS-libc-start.c): Add -fexceptions here.
13557 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
13558 (sysdep_routines, static-only-routines, shared-only-routines):
13559 Don't add to these here.
13560 (CFLAGS-libc-start.c): Likewise.
13561
13562 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
13563 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13564 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
13565 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13566 * sysdeps/arm/Makefile [$(subdir) = rt]
13567 (librt-sysdep_routines, librt-shared-only-routines):
13568 Append rt-aeabi_unwind_cpp_pr1 here.
13569 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
13570 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
13571 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
13572 (libpthread-sysdep_routines, libpthread-shared-only-routines):
13573 Append nptl-aeabi_unwind_cpp_pr1 here.
13574 (tests): Filter out tst-cleanupx4 here.
13575 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
13576 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
13577 Don't do those here.
13578
354426bb
JM
135792014-06-26 Joseph Myers <joseph@codesourcery.com>
13580
13581 * scripts/list-sources.sh: Do not handle ports specially.
13582
28b0a8c9
RM
135832014-06-26 Roland McGrath <roland@hack.frob.com>
13584
a3dd035d
RM
13585 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
13586 * sysdeps/arm/feupdateenv.c: Likewise.
13587
28b0a8c9
RM
13588 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
13589
e66a8203
JM
135902014-06-26 Joseph Myers <joseph@codesourcery.com>
13591
13592 * manual/texinfo.tex: Update to version 2014-05-05.10 with
13593 trailing whitespace removed.
13594 * scripts/config.guess: Update to version 2014-03-23.
13595 * scripts/config.sub: Update to version 2014-05-01
13596 * scripts/install-sh: Update to version 2013-12-25.23.
13597 * scripts/move-if-change: Update from gnulib.
13598
74171115
SP
135992014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13600
b97c9ce5
SP
13601 * debug/memmove_chk.c: Remove pagecopy.h include.
13602
4000f892
SP
136032014-06-26 Paul Eggert <eggert@cs.ucla.edu>
13604
74171115
SP
13605 * time/mktime.c (leapyear): Remove inline keyword. The code is now
13606 identical to gnulib mktime.
13607
a8779c28
JM
136082014-06-26 Joseph Myers <joseph@codesourcery.com>
13609
e64708de
JM
13610 * configure.ac: Do not test for machine being rs6000. Do not test
13611 for powerpc*-*soft.
13612 * configure: Regenerated.
13613
6a9350c8 13614 [BZ #11505]
a8779c28
JM
13615 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
13616 test.
13617 * configure: Regenerated.
13618 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
13619 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
13620 Remove configure test.
13621 * sysdeps/arm/configure: Regenerated.
13622 * sysdeps/nptl/configure.ac: Do not check
13623 libc_cv_asm_cfi_directives.
13624 * sysdeps/nptl/configure: Regenerated.
13625 * sysdeps/x86_64/nptl/configure.ac: Remove file.
13626 * sysdeps/x86_64/nptl/configure: Remove generated file.
13627 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
13628 unconditional.
13629 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
13630
2aac0a86
SP
136312014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13632
059bf913
SP
13633 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
13634 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
13635 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
13636 it is defined.
13637
4cf5b6d0
SP
13638 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
13639 instead of whether it is defined.
13640 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
13641 * sysdeps/hppa/dl-machine.h: Likewise.
13642 * sysdeps/ia64/dl-machine.h: Likewise.
13643 * sysdeps/m68k/dl-machine.h: Likewise.
13644 * sysdeps/microblaze/dl-machine.h: Likewise.
13645 * sysdeps/mips/dl-machine.: Likewise.
13646 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13647 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13648 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13649 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13650 * sysdeps/sh/dl-machine.h: Likewise.
13651 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13652 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13653 * sysdeps/tile/dl-machine.h: Likewise.
13654 * sysdeps/x86_64/dl-machine.h: Likewise.
13655
2aac0a86
SP
13656 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
13657 code.
13658 (verify_persistent_db): Likewise.
13659
6ad2df0b
RM
136602014-06-26 Roland McGrath <roland@hack.frob.com>
13661
d8a483f3
RM
13662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
13663 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
13664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
13665 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
13666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13667 Moved ...
13668 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13669 ... here.
13670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
13671 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
13672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
13673 Identical file removed.
13674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
13675 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
13676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
13677 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
13678 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
13679 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
13680 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
13681 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
13682 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
13683 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
13684 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13685 Moved ...
13686 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
13687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
13688 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
13689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
13690 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
13691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13692 Moved ...
13693 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
13694 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
13695 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
13696 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
13697 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
13698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13699 Identical file removed.
13700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
13701 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
13702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
13703 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
13704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13705 Moved ...
13706 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13707 ... here.
13708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
13709 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
13710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
13711 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
13712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
13713 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
13714 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
13715 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
13716 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
13717 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
13718 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13719 Moved ...
13720 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
13721 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
13722 Moved ...
13723 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
13724 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
13725 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
13726 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13727 Moved ...
13728 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
13729 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
13730 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
13731
52ae23b4
RM
13732 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
13733 folded into ...
13734 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
13735 * sysdeps/unix/sysv/linux/s390/Versions
13736 (libpthread: GLIBC_2.19): New version set.
13737 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
13738 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
13739 (librt: GLIBC_2.3.3): New version set.
13740 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
13741 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
13742 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
13743 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
13744 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
13745 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
13746 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
13747 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
13748 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
13749 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
13750 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
13751 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
13752 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
13753 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
13754 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
13755 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
13756 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
13757 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
13758 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
13759 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
13760 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
13761 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
13762 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
13763 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
13764 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
13765 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
13766 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
13767 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
13768 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
13769 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
13770 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
13771 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
13772 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
13773 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
13774 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
13775 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
13776 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
13777 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
13778 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
13779 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
13780 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
13781 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
13782 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
13783 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
13784 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
13785
39507e4a
RM
13786 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
13787 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
13788 (__libc_vfork): Define the function under this name.
13789 [!NOT_IN_libc] (__vfork): Make this an alias.
13790 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13791 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
13792 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
13793 (__libc_vfork): Define the function under this name.
13794 [!NOT_IN_libc] (__vfork): Make this an alias.
13795 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13796 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
13797 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
13798 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
13799 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
13800 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13801
e549ee56
RM
13802 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
13803 code that was previously under [RESET_PID].
13804 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
13805 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
13806 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
13807
6ad2df0b
RM
13808 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
13809 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
13810 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
13811 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
13812 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
13813 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
13814 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
13815 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
13816 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
13817 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
13818 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
13819 Moved ...
13820 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
13821 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
13822 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
13823 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
13824 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
13825 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
13826 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
13827 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
13828 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
13829 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
13830 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
13831 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
13832 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
13833 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
13834 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
13835 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
13836 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
13837 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
13838 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
13839 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
13840 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
13841 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
13842 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
13843 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
13844 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
13845 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
13846 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
13847 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
13848 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
13849
7c1c1d8e
RM
138502014-06-25 Roland McGrath <roland@hack.frob.com>
13851
13852 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
13853 that was previously under [RESET_PID].
13854 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
13855
3e239be6
JM
138562014-06-25 Joseph Myers <joseph@codesourcery.com>
13857
74385da5
JM
13858 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
13859 not undefine and redefine.
13860 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
13861 [O_CLOEXEC]: Make code unconditional.
13862 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
13863 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
13864 <kernel-features.h>.
13865 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
13866 conditional variable definition.
13867 (shm_open) [O_CLOEXEC]: Make code unconditional.
13868 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
13869 code.
13870
c2570a0b
JM
13871 * configure.ac (USE_REGPARMS): Don't define here.
13872 * configure: Regenerated.
13873 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
13874 * sysdeps/i386/configure: Regenerated.
13875
11b076bb
JM
13876 * nptl/createthread.c: Don't include kernel-features.h.
13877 * nptl/pthread_cancel.c: Likewise.
13878 * nptl/pthread_condattr_setclock.c: Likewise.
13879 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
13880 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
13881 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
13882 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
13883 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
13884 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
13885 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13886 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
13887 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13888 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
13889 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
13890 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
13891 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
13892 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
13893 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
13894 * nscd/gai.c: Likewise.
13895 * nss/nss_db/db-open.c: Likewise.
13896 * sysdeps/generic/ldsodefs.h: Likewise.
13897 * sysdeps/sh/nptl/tls.h: Likewise.
13898 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13899 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
13900 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
13901 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
13902 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
13903 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13904 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
13905 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13906 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13907 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
13908 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
13909 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13910 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
13911 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
13912 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
13913 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
13914 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13915 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
13916 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
13917 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
13918 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
13919 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
13920 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
13921 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
13922 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
13923 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
13924 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
13925 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
13926 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
13927 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
13928 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
13929 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
13930 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
13931 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13932 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13933 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13934 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13935 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
13936 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
13937 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
13938 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13939 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
13940 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
13941 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13942 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
13943 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
13944 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
13945 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
13946 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
13947 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
13948 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
13949 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
13950 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
13951 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13952 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
13953 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13954 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13955 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
13956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
13958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
13959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
13960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
13961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
13962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
13963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
13964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
13967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
13968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
13969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
13970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
13976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
13977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
13978 * sysdeps/unix/sysv/linux/pread.c: Likewise.
13979 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
13980 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
13981 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
13982 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
13983 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
13984 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
13985 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
13986 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
13987 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
13988 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
13989 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
13990 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
13991 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
13992 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
13993 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
13994 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13995 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
13996 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
13997 * sysdeps/unix/sysv/linux/system.c: Likewise.
13998 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
13999 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14000 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14001 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14002 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14003 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14004 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14005
92072d57
JM
14006 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
14007 * configure: Regenerated.
14008 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
14009
3e239be6
JM
14010 * configure.ac (base_machine): Do not set specially for particular
14011 machines here.
14012 * configure: Regenerated.
14013 * sysdeps/powerpc/preconfigure: Move machine and base_machine
14014 settings from configure.ac.
14015 * sysdeps/i386/preconfigure: New file.
14016 * sysdeps/s390/preconfigure: Likewise.
14017 * sysdeps/sh/preconfigure: Likewise.
14018 * sysdeps/sparc/preconfigure: Likewise.
14019
06d50baa
RM
140202014-06-25 Roland McGrath <roland@hack.frob.com>
14021
74836003
RM
14022 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
14023 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
14024 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
14025 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
14026 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
14027 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
14028 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
14029 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
14030 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
14031 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
14032 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
14033 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
14034 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
14035 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
14036 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
14037 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
14038 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
14039 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
14040 * sysdeps/sparc/sparc64/Makefile: ... appended here.
14041
14042 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
14043 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
14044 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
14045 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
14046 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
14047 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
14048 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
14049 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
14050 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
14051 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
14052 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
14053 * sysdeps/sparc/sparc32/sem_post.c: ... here.
14054 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
14055 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
14056 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
14057 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
14058 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
14059 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
14060 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
14061 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
14062 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
14063 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
14064 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
14065 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
14066 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
14067 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
14068 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
14069 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
14070 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
14071 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
14072 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
14073 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
14074 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
14075 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
14076 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
14077 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
14078 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
14079 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
14080
06d50baa
RM
14081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
14082 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
14083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
14084 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
14085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14086 Moved ...
14087 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14088 ... here.
14089 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
14090 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
14091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
14092 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
14093 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
14094 Moved ...
14095 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
14096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
14097 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
14098 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
14099 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
14100 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
14101 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
14102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14103 Moved ...
14104 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
14105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14106 Moved ...
14107 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
14108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
14109 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
14110 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14111 Moved ...
14112 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
14113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
14114 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
14115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
14116 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
14117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
14118 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
14119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
14120 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
14121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14122 Moved ...
14123 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14124 ... here.
14125 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
14126 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
14127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
14128 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
14129 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
14130 Moved ...
14131 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
14132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
14133 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
14134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
14135 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
14136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
14137 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
14138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14139 Moved ...
14140 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
14141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14142 Moved ...
14143 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
14144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
14145 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
14146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14147 Moved ...
14148 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
14149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
14150 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
14151 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
14152 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
14153
a4ccbc9b
JM
141542014-06-25 Joseph Myers <joseph@codesourcery.com>
14155
0828edbf
JM
14156 * timezone/checktab.awk: Update from tzcode 2014e.
14157 * timezone/private.h: Likewise.
14158 * timezone/tzfile.h: Likewise.
14159 * timezone/zdump.c: Likewise.
14160 * timezone/zic.c: Likewise.
14161
a4ccbc9b
JM
14162 * sysdeps/unix/sysv/linux/kernel-features.h
14163 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
14164 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
14165 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
14166 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14167 Remove conditional code.
14168
9aea0cb8
WN
141692014-06-25 Will Newton <will.newton@linaro.org>
14170
14171 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
14172 (_dl_arm_cap_flags): Add HWCAP2 values.
14173 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
14174 (_DL_HWCAP_COUNT): Increase to 37.
14175 (_DL_HWCAP_LAST): New define.
14176 (_DL_HWCAP2_LAST): New define.
14177 (_dl_procinfo): Add support for printing
14178 AT_HWCAP2 entries.
14179 (_dl_string_hwcap): Use _dl_hwcap_string.
14180
6eaa65ce
AZ
141812014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14182
14183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14184
0f5b7185
JM
141852014-06-25 Joseph Myers <joseph@codesourcery.com>
14186
cfd2ea50
JM
14187 * README: Do not mention ports directory.
14188
cecf2ed4
JM
14189 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
14190 Remove macro.
14191 * sysdeps/unix/sysv/linux/futimes.c: Do not include
14192 <kernel-features.h>.
14193 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
14194 conditional variable definition.
14195 (__futimes): Update comment.
14196 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
14197 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
14198
a638de82
JM
14199 [BZ #16560]
14200 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
14201 arguments close to 0.
14202 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
14203 Likewise.
14204 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
14205 Likewise.
14206 * math/auto-libm-test-in: Add more tests of exp10.
14207 * math/auto-libm-test-out: Regenerated.
14208 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14209
0f5b7185
JM
14210 * sysdeps/unix/sysv/linux/kernel-features.h
14211 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
14212 * sysdeps/unix/sysv/linux/readv.c: Do not include
14213 <kernel-features.h>.
14214 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14215 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14216 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14217 unconditional.
14218 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14219 conditional code.
14220 * sysdeps/unix/sysv/linux/writev.c: Do not include
14221 <kernel-features.h>.
14222 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14223 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14224 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14225 unconditional.
14226 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14227 conditional code.
14228
c7aec4be
WN
142292014-06-25 Will Newton <will.newton@linaro.org>
14230
14231 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
14232 comment changes throughout the file. Remove checks
14233 for HAVE_*_H definitions that are not required.
14234 (__gen_tempname): Call abort if an unknown kind value is
14235 passed.
14236
c5241f95
AS
142372014-06-25 Andreas Schwab <schwab@suse.de>
14238
14239 [BZ #17086]
14240 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
14241 scalbln, scalblnf, scalblnl in libc.
14242
911422da
SP
142432014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14244
14245 [BZ #17086]
14246 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
14247 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14248 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14249
0d749bbe
RM
142502014-06-24 Roland McGrath <roland@hack.frob.com>
14251
14252 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
14253 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
14254 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
14255 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
14256 Update #include.
14257 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
14258 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
14259 Update #include.
14260 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
14261 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
14262 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
14263 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
14264 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
14265 * sysdeps/x86/bits/pthreadtypes.h: ... here.
14266 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
14267 * sysdeps/x86/bits/semaphore.h: ... here.
14268 * sysdeps/x86/nptl/elide.h: Moved ...
14269 * sysdeps/x86/elide.h: ... here.
14270 * sysdeps/x86_64/nptl/Implies: File removed.
14271 * sysdeps/i386/nptl/Implies: File removed.
14272
0ea5d373
JM
142732014-06-24 Joseph Myers <joseph@codesourcery.com>
14274
4060283d
JM
14275 [BZ #16539]
14276 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
14277 return the argument for normal arguments with exponent below -64.
14278 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14279 Likewise.
14280 * math/auto-libm-test-in: Add another test of expm1.
14281 * math/auto-libm-test-out: Regenerated.
14282
e7dd3c8c
JM
14283 [BZ #16287]
14284 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
14285 calling __erfcl for arguments at least 16.
14286 * math/auto-libm-test-in: Add more tests of erf.
14287 * math/auto-libm-test-out: Regenerated.
14288
0ea5d373
JM
14289 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
14290 individual architectures.
14291 * sysdeps/unix/sysv/linux/configure: Regenerated.
14292 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
14293 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
14294 * sysdeps/unix/sysv/linux/powerpc/configure.ac
14295 (ldd_rewrite_script): Define variable.
14296 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
14298 file.
14299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
14300 generated file.
14301 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
14302 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
14303 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
14304 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
14305 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
14306 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
14307 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
14308 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
14309
2307e126
SP
143102014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14311
14312 [BZ #17084]
14313 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
14314 Rename member __data.d to __data.__elision_data.
14315
c0a4ed77
W
143162014-06-24 Wilco <wdijkstr@arm.com>
14317
14318 * NEWS: Add 16918 to fixed bug list.
14319
b8c00573
W
143202014-06-24 Wilco <wdijkstr@arm.com>
14321
14322 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
14323
b5570d92
W
143242014-06-24 Wilco <wdijkstr@arm.com>
14325
14326 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
14327 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
14328 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
14329 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
14330 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
14331 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
14332 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
14333 Use _FPU_MASK_RM.
14334
947bdca2
W
143352014-06-24 Wilco <wdijkstr@arm.com>
14336
14337 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
14338
00f669ed
W
143392014-06-24 Wilco <wdijkstr@arm.com>
14340
14341 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
14342 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
14343 * sysdeps/arm/fesetround.c (fesetround): Remove space.
14344 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
14345
db59bad3
W
143462014-06-24 Wilco <wdijkstr@arm.com>
14347
14348 [BZ #16918]
14349 * sysdeps/arm/feupdateenv.c (feupdateenv):
14350 Rewrite to reduce FPSCR accesses and fix return value.
14351
001f7b77
W
143522014-06-24 Wilco <wdijkstr@arm.com>
14353
14354 * sysdeps/arm/fclrexcpt.c (feclearexcept):
14355 Optimize to avoid unnecessary FPSCR writes.
14356 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
14357 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
14358 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
14359 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
14360
4841e6a6
W
143612014-06-24 Wilco <wdijkstr@arm.com>
14362
14363 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
14364 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
14365 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
14366 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
14367 Call libc_fetestexcept_vfp.
14368 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
14369 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
14370 __SOFTFP__ ifdef so that they can be built for softfp.
14371
0813022c
SP
143722014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14373
08e5862f
SP
14374 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
14375 argument type signed char.
14376
0813022c
SP
14377 * Makerules (check-abi): Dump diff of symlist if the test
14378 fails.
14379
3fc7236a
RM
143802014-06-23 Roland McGrath <roland@hack.frob.com>
14381
aba8ef95
RM
14382 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
14383 using abort.
14384
3fc7236a
RM
14385 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14386 Remove unused variable ST.
14387
4da6db51
JM
143882014-06-23 Joseph Myers <joseph@codesourcery.com>
14389
4648909d
JM
14390 [BZ #16354]
14391 [BZ #17061]
14392 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
14393 small arguments before calling __expm1.
14394 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
14395 small arguments before calling __expm1f.
14396 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
14397 small arguments before calling __expm1l.
14398 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14399 Likewise.
14400 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
14401 * math/auto-libm-test-in: Add more cosh tests. Do not allow
14402 spurious underflow for some cosh tests.
14403 * math/auto-libm-test-out: Regenerated.
14404 * sysdeps/i386/fpu/libm-test-ulps: Update.
14405
46a3d3c7
JM
14406 [BZ #17050]
14407 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
14408 (__ieee754_y1): Set errno if return value overflows.
14409 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
14410 (__ieee754_y1f): Set errno if return value overflows.
14411 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
14412 (__ieee754_y1l): Set errno if return value overflows.
14413 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
14414 (__ieee754_y1l): Set errno if return value overflows.
14415 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
14416 * math/auto-libm-test-out: Regenerated.
14417
863893ec
JM
14418 * math/gen-auto-libm-tests.c: Document use of
14419 ignore-zero-inf-sign.
14420 (input_flag_type): Add value flag_ignore_zero_inf_sign.
14421 (input_flags): Add ignore-zero-inf-sign.
14422 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
14423 * math/gen-libm-test.pl (generate_testfile): Handle
14424 ignore-zero-inf-sign.
14425 * math/auto-libm-test-in: Mark some cpow tests with
14426 ignore-zero-inf-sign and some with xfail-rounding.
14427 * math/auto-libm-test-out: Regenerated.
14428 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
14429 * sysdeps/i386/fpu/libm-test-ulps: Update.
14430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14431
4da6db51
JM
14432 [BZ #16315]
14433 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
14434 overflowing or underflowing operations take place with sign of
14435 result.
14436 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14437 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14438 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
14439 (__ieee754_pow): Recompute overflowing and underflowing results in
14440 original rounding mode.
14441 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
14442 (__powl_helper): Allow negative argument X and scale negated value
14443 as needed. Avoid passing value outside [-1, 1] to f2xm1.
14444 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
14445 overflowing or underflowing operations take place with sign of
14446 result.
14447 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
14448 Include <math.h>.
14449 * math/auto-libm-test-in: Add more tests of pow.
14450 * math/auto-libm-test-out: Regenerated.
14451 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
14452 (pow_tonearest_test_data): Remove.
14453 (pow_test_tonearest): Likewise.
14454 (pow_towardzero_test_data): Likewise.
14455 (pow_test_towardzero): Likewise.
14456 (pow_downward_test_data): Likewise.
14457 (pow_test_downward): Likewise.
14458 (pow_upward_test_data): Likewise.
14459 (pow_test_upward): Likewise.
14460 (main): Don't call removed functions.
14461 * sysdeps/i386/fpu/libm-test-ulps: Update.
14462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14463
5686b236
RM
144642014-06-23 Roland McGrath <roland@hack.frob.com>
14465
14466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
14467 Moved ...
14468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
14469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14470 Moved ...
14471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
14472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14473 Moved ...
14474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
14475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14476 Moved ...
14477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
14478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14479 File removed.
14480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14481 File removed.
14482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
14483 File removed.
14484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
14485 File removed.
14486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
14487 File removed.
14488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
14489 File removed.
14490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
14491 File removed.
14492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14493 File removed.
14494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
14495 File removed.
14496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14497 File removed.
14498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
14499 File removed.
14500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
14501 File removed.
14502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
14503 Moved ...
14504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
14505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
14506 Moved ...
14507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14508 ... here.
14509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
14510 Moved ...
14511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
14512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
14513 Moved ...
14514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
14515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
14516 Moved ...
14517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
14518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
14519 Moved ...
14520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
14521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
14522 Moved ...
14523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
14524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
14525 Moved ...
14526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
14527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
14528 Moved ...
14529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
14530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
14531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14532 ... here.
14533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
14534 Moved ...
14535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
14536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14537 Moved ...
14538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14539 ... here.
14540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
14541 Moved ...
14542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14543 ... here.
14544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14545 Moved ...
14546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14547 ... here.
14548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14549 Moved ...
14550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
14551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14552 Moved ...
14553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
14554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
14555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
14556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14557 Moved ...
14558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14559 ... here.
14560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14561 Moved ...
14562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14563 ... here.
14564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14565 Moved ...
14566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
14567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14568 Moved ...
14569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
14570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14571 Moved ...
14572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
14573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14574 Moved ...
14575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
14576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14577 Moved ...
14578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14579 ... here.
14580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14581 Moved ...
14582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
14583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14584 Moved ...
14585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
14586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14587 Moved ...
14588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
14589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14590 Moved ...
14591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
14592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
14593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
14594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14595 Moved ...
14596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
14597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14598 Moved ...
14599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
14600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14601 Moved ...
14602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14603 ... here.
14604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14605 Moved ...
14606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14607 ... here.
14608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14609 Moved ...
14610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14611 ... here.
14612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14613 Moved ...
14614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
14615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14616 Moved ...
14617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
14618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14619 Moved ...
14620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
14621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14622 Moved ...
14623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14624 ... here.
14625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14626 Moved ...
14627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14628 ... here.
14629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14630 Moved ...
14631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14632 ... here.
14633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14634 Moved ...
14635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
14636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14637 Moved ...
14638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
14639
e6d90d67
WD
146402014-06-23 Will Newton <will.newton@linaro.org>
14641 Wilco <wdijkstr@arm.com>
14642
14643 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
14644 implementation. Include get-rounding-mode.h.
14645 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
14646 [!libc_feholdsetround_noex_ctx]: Define
14647 libc_feholdsetround_noex_ctx.
14648 [!libc_feholdsetround_noexf_ctx]: Define
14649 libc_feholdsetround_noexf_ctx.
14650 [!libc_feholdsetround_noexl_ctx]: Define
14651 libc_feholdsetround_noexl_ctx.
14652 (libc_feholdsetround_ctx): New function.
14653 (libc_feresetround_ctx): New function.
14654 (libc_feholdsetround_noex_ctx): New function.
14655 (libc_feresetround_noex_ctx): New function.
14656
d42df555
RM
146572014-06-23 Roland McGrath <roland@hack.frob.com>
14658
88a46474
RM
14659 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
14660 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
14661 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
14662 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
14663 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
14664 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
14665
15bed472
RM
14666 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
14667 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
14668 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
14669 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
14670 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
14671 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
14672 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
14673 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
14674 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
14675 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
14676 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
14677 Moved ...
14678 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14679 ... here.
14680 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
14681 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
14682 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
14683 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
14684 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
14685 Moved ...
14686 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
14687 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
14688 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
14689 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
14690 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
14691 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
14692 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
14693 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
14694 Moved ...
14695 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
14696 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
14697 Moved ...
14698 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
14699 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
14700 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
14701 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
14702 Moved ...
14703 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
14704 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
14705 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
14706 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
14707 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
14708 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
14709 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
14710 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
14711 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
14712 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
14713 Moved ...
14714 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14715 ... here.
14716 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
14717 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
14718 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
14719 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
14720 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
14721 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
14722 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
14723 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
14724 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
14725 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
14726 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
14727 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
14728 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
14729 Moved ...
14730 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
14731 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
14732 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
14733 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
14734 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
14735 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
14736 Moved ...
14737 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
14738 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
14739 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
14740 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
14741 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
14742
d42df555
RM
14743 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
14744 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
14745 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
14746 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
14747 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
14748 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
14749 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
14750 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
14751 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
14752 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
14753 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
14754 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
14755 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
14756 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
14757 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
14758 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
14759 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
14760 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
14761 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
14762 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
14763 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
14764 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
14765 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
14766 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
14767 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
14768 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
14769 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
14770 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
14771
76e5216e
JM
147722014-06-23 Joseph Myers <joseph@codesourcery.com>
14773
14774 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
14775 (FALLOC_FL_COLLAPSE_RANGE): New macro.
14776 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
14777 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
14778 (IPV6_PMTUDISC_INTERFACE): Likewise.
14779 (IPV6_PMTUDISC_OMIT): Likewise.
14780
7a81cbcc
AS
147812014-06-23 Andreas Schwab <schwab@suse.de>
14782
14783 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
14784 Remove unused errout label.
14785
db224009
AZ
147862014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14787
14788 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
14789 macro: hardware supports Vector Crypto instructions.
14790
f393b4aa
WN
147912014-06-23 Will Newton <will.newton@linaro.org>
14792
cc7d0447
WN
14793 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
14794 rather than __builtin_expect.
14795
d6d06225
WN
14796 * elf/dl-lookup.c (undefined_msg): Remove variable.
14797 (_dl_lookup_symbol_x): Replace undefined_msg with string
14798 literal.
14799
f393b4aa
WN
14800 * elf/dl-lookup.c (do_lookup_unique): New function.
14801 (do_lookup_x): Move STB_GNU_UNIQUE handling code
14802 to a separate function.
14803
ac60763e
AS
148042014-06-23 Andreas Schwab <schwab@suse.de>
14805
14806 [BZ #17079]
14807 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
14808 before reading the next line.
14809
c5c13355
WN
148102014-06-23 Will Newton <will.newton@linaro.org>
14811
14812 * test-skeleton.c (signal_handler): Use printf and %m
14813 rather than perror. Use printf rather than fprintf to
14814 stderr. Use puts rather than fputs to stderr.
14815 (main): Likewise.
14816
bd3675f9
LC
148172014-06-22 Ludovic Courtès <ludo@gnu.org>
14818
14819 * nscd/nscd.c (thread_info_t): Remove typedef.
14820 (thread_info): Remove variable.
14821
d03efb2f
AM
148222014-06-21 Allan McRae <allan@archlinux.org>
14823
14824 * NEWS: Mention CVE-2014-4043.
14825
bc4a86fa
RM
148262014-06-20 Roland McGrath <roland@hack.frob.com>
14827
dc9a54f8
RM
14828 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
14829 * nptl/smp.h: ... here.
14830
bd7022c4
RM
14831 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
14832
26ffd5e6
RM
14833 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
14834 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
14835 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
14836 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
14837
93a6d082
RM
14838 * nptl/allocatestack.c: Include <stack-aliasing.h>.
14839 * nptl/stack-aliasing.h: New file.
14840 * sysdeps/i386/i686/stack-aliasing.h: New file.
14841 * sysdeps/i386/i686/nptl/Makefile: File removed.
14842 * sysdeps/x86_64/stack-aliasing.h: New file.
14843 * sysdeps/x86_64/nptl/Makefile
14844 (CFLAGS-pthread_create.c): Variable removed.
14845
bc4a86fa
RM
14846 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
14847 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
14848 old file.
14849 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
14850 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
14851 old file.
14852
2272ffc1
JM
148532014-06-21 Joseph Myers <joseph@codesourcery.com>
14854
14855 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14856 (__ASSUME_SIGFRAME_V2): Remove macro.
14857 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
14858 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
14859 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
14860 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
14861 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
14862 Declare as function. Remove conditional macro definitions.
14863 (__default_rt_sa_restorer): Likewise.
14864 (__default_sa_restorer_v1): Remove declaration.
14865 (__default_sa_restorer_v2): Likewise.
14866 (__default_rt_sa_restorer_v1): Likewise.
14867 (__default_rt_sa_restorer_v2): Likewise.
14868 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
14869 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
14870 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
14871
4b88139b
RM
148722014-06-20 Roland McGrath <roland@hack.frob.com>
14873
14874 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
14875 (libpthread-routines): Add sysdep.
14876 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
14877 * sysdeps/unix/sysv/linux/sparc/Versions
14878 (libpthread: GLIBC_2.3.3): New version set.
14879 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
14880 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
14881 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
14882 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
14883 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
14884 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
14885 Moved ...
14886 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
14887 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
14888 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
14889 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
14890 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
14891 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
14892 * sysdeps/sparc/nptl/sem_init.c: ... here.
14893 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
14894 * sysdeps/sparc/nptl/sem_post.c: ... here.
14895 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
14896 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
14897 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
14898 * sysdeps/sparc/nptl/sem_wait.c: ... here.
14899 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
14900 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
14901 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
14902 (libpthread-routines): Add cpu_relax.
14903 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
14904 File removed.
14905 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
14906 (librt: GLIBC_2.3.3): New version set.
14907 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
14908 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
14909 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
14910 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
14911 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
14912 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
14913 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
14914 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
14915 Moved ...
14916 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
14917 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
14918 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
14919 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
14920 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
14921 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
14922 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
14923 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
14924 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
14925 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
14926 Moved ...
14927 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
14928 Update #include.
14929 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
14930 Moved ...
14931 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
14932 Update #include.
14933 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
14934 Moved ...
14935 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
14936 Update #include.
14937 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
14938 Moved ...
14939 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
14940 Update #include.
14941 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
14942 Moved ...
14943 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
14944 Update #include.
14945 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
14946 Moved ...
14947 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
14948 Update #include.
14949 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
14950 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
14951 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
14952 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
14953 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
14954 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
14955 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
14956 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
14957 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
14958 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
14959 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14960 Moved ...
14961 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
14962 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
14963 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
14964 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
14965 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
14966
d7109027
JM
149672014-06-20 Joseph Myers <joseph@codesourcery.com>
14968
9bc6103d
JM
14969 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
14970 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
14971 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14972 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
14973 * nscd/nscd.c: Likewise.
14974 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
14975 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
14976 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
14977 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
14978
d7109027
JM
14979 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
14980 <kernel-features.h>.
14981 (init_mq_netlink): Remove conditional have_sock_cloexec
14982 definitions. Remove code conditional on have_sock_cloexec < 0.
14983 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
14984 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
14985 * sysdeps/unix/sysv/linux/opensock.c: Do not include
14986 <kernel-features.h>.
14987 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
14988 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
14989
d92d8f8a
L
149902014-06-20 H.J. Lu <hongjiu.lu@intel.com>
14991
14992 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14993 Add tests for memset_chk and memset.
14994
14995 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
14996 with AVX2_Usable.
14997
4e6d2347
MR
149982014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
14999
257ce712
MR
15000 [BZ #16046]
15001 * elf/tst-dl-iter-static.c: New file.
15002 * elf/Makefile (tests-static): Add tst-dl-iter-static.
15003
4e6d2347
MR
15004 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
15005 error.
15006
a2a76afe
JM
150072014-06-20 Joseph Myers <joseph@codesourcery.com>
15008
7fd00f99
JM
15009 * sysdeps/unix/sysv/linux/kernel-features.h
15010 (__ASSUME_F_GETOWN_EX): Remove macro.
15011 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
15012 <kernel-features.h>.
15013 (miss_F_GETOWN_EX): Remove variable or macro.
15014 (do_fcntl): Do not check miss_F_GETOWN_EX.
15015 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
15016
4a103975
JM
15017 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
15018 Remove macro.
15019 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
15020 [!__ASSUME_AT_RANDOM]: Remove conditional code.
15021 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
15022
a2a76afe
JM
15023 * sysdeps/unix/sysv/linux/kernel-features.h
15024 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
15025 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
15026 [ADJ_OFFSET_SS_READ]: Make code unconditional.
15027 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
15028
90e5dd48
MR
150292014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
15030
15031 [BZ #17075]
15032 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
15033 Fix calculation of the symbol's value.
15034 * sysdeps/arm/tst-armtlsdescloc.c: New file.
15035 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
15036 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
15037 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
15038 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
15039 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
15040 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
15041 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
15042 (modules-names): Add `tst-armtlsdescmod',
15043 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
15044 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
15045 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15046 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
15047 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
15048 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15049 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
15050 ($(objpfx)tst-armtlsdescloc): New dependency.
15051 ($(objpfx)tst-armtlsdescextnow): Likewise.
15052 ($(objpfx)tst-armtlsdescextlazy): Likewise.
15053 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
15054 TLS scheme support.
15055 * sysdeps/arm/configure: Regenerate.
15056
809fdf0d
JM
150572014-06-20 Joseph Myers <joseph@codesourcery.com>
15058
15059 * include/fcntl.h (__atfct_seterrno): Remove prototype.
15060 (__atfct_seterrno_2): Likewise.
15061 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
15062 <kernel-features.h>.
15063 (__ASSUME_ATFCTS): Do not undefine and redefine.
15064 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
15065 (__have_atfcts): Remove conditional definition.
15066 (__fxstatat([__NR_fstatat64]: Make code unconditional.
15067 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
15068 unreachable if [__ASSUME_ATFCTS].
15069 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
15070 not undefine and redefine.
15071 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
15072 <kernel-features.h>.
15073 (faccessat) [__NR_faccessat]: Make code unconditional.
15074 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
15075 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
15076 <kernel-features.h>.
15077 (fchmodat) [__NR_fchmodat]: Make code unconditional.
15078 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15079 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
15080 <kernel-features.h>.
15081 (fchownat) [__NR_fchownat]: Make code unconditional.
15082 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
15083 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
15084 <kernel-features.h>.
15085 (futimesat) [__NR_futimesat]: Make code unconditional.
15086 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
15087 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15088 <kernel-features.h>.
15089 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15090 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15091 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15092 <kernel-features.h>.
15093 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
15094 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15095 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
15096 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15097 <kernel-features.h>.
15098 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
15099 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15100 * sysdeps/unix/sysv/linux/linkat.c: Do not include
15101 <kernel-features.h>.
15102 (linkat) [__NR_linkat]: Make code unconditional.
15103 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15104 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
15105 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
15106 <kernel-features.h>.
15107 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
15108 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15109 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
15110 <kernel-features.h>.
15111 (mkdirat) [__NR_mkdirat]: Make code unconditional.
15112 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
15113 * sysdeps/unix/sysv/linux/openat.c: Do not include
15114 <kernel-features.h>.
15115 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
15116 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
15117 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
15118 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
15119 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
15120 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
15121 <kernel-features.h>.
15122 (readlinkat) [__NR_readlinkat]: Make code unconditional.
15123 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
15124 result of INLINE_SYSCALL directly, not via int variable.
15125 * sysdeps/unix/sysv/linux/renameat.c: Do not include
15126 <kernel-features.h>.
15127 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
15128 (renameat) [__NR_renameat]: Make code unconditional.
15129 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
15130 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
15131 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
15132 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
15133 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
15134 (__ASSUME_ATFCTS): Do not undefine and redefine.
15135 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
15136 <kernel-features.h>.
15137 (symlinkat) [__NR_symlinkat]: Make code unconditional.
15138 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15139 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
15140 <kernel-features.h>.
15141 (unlinkat) [__NR_unlinkat]: Make code unconditional.
15142 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15143 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
15144 (__ASSUME_ATFCTS): Do not undefine and redefine.
15145 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15146 <kernel-features.h>.
15147 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15148 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15149 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15150 <kernel-features.h>.
15151 (__xmknodat) [__NR_mknodat]: Make code unconditional.
15152 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15153
224c6c51
L
151542014-06-20 H.J. Lu <hongjiu.lu@intel.com>
15155
15156 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
15157
aa6ec754
AS
151582014-06-20 Andreas Schwab <schwab@linux-m68k.org>
15159
15160 [BZ #17069]
15161 * posix/regcomp.c (parse_reg_exp): Deallocate partially
15162 constructed tree before returning error.
15163 * posix/bug-regexp36.c: Expand test case.
15164
d8c2869d
SL
151652014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
15166
3ef6b850
SL
15167 [BZ #6803]
15168 * math/libm-test.inc (scalbln_test_date):
15169 Add errno expectations.
15170 * math/w_scalblnf.c: New File.
15171 Add wrapper which checks for setting errno to ERANGE.
15172 Add weak_alias for corresponding scalbln function.
15173 * math/w_scalbln.c: Likewise.
15174 * math/w_scalblnl.c: Likewise.
15175 * math/Makefile (libm-calls): Add w_scalbln.
15176 * sysdeps/ieee754/flt-32/s_scalblnf.c:
15177 Remove weak_alias for corresponding scalbln function.
15178 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15179 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15180 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15181 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15182 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
15183 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15184 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
15185 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15186 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
15187 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
15188 Remove long_double_symbol for scalblnl function in libm, libc.
15189 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
15190 Add wrapper which checks for setting errno to ERANGE.
15191 Add long_double_symbol for scalblnl function in libm, libc.
15192 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
15193 Remove long_double_symbol for scalblnl in libm.
15194 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
15195 Add wrapper which checks for setting errno to ERANGE.
15196 Add long_double_symbol for scalblnl function in libm.
15197 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
15198 Do not use wrapper because of own implementation.
15199
c8daec5c
L
152002014-06-19 H.J. Lu <hongjiu.lu@intel.com>
15201
15202 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
15203 3 bytes for __pad1 for x32.
15204 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
15205
5c74e47c
LM
152062014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
15207 H.J. Lu <hongjiu.lu@intel.com>
15208
15209 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
15210 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
15211 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15212 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15213 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15214
4d43ef1e
AS
152152014-06-19 Andreas Schwab <schwab@linux-m68k.org>
15216
15217 [BZ #17069]
15218 * posix/regcomp.c (parse_expression): Deallocate partially
15219 constructed tree before returning error.
15220 * posix/Makefile.c (tests): Add bug-regex36.
15221 (generated): Add bug-regex36.mtrace.
15222 (tests-special): Add $(objpfx)bug-regex36-mem.out
15223 (bug-regex36-ENV): New variable.
15224 ($(objpfx)bug-regex36-mem.out): New rule.
15225 * posix/bug-regex36.c: New file.
15226
51a7380b
WN
152272014-06-19 Will Newton <will.newton@linaro.org>
15228
15229 * malloc/malloc.c (systrim): If extra is zero then return
15230 early.
15231
91b84fe5
SP
152322014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15233
15234 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
15235
f940b965
RE
152362014-06-19 Richard Earnshaw <rearnsha@arm.com>
15237
15238 * sysdeps/aarch64/strchr.S: New file.
15239
4ba7a00f
JM
152402014-06-18 Joseph Myers <joseph@codesourcery.com>
15241
15242 [BZ #17022]
15243 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
15244 from arguments -2 or below.
15245 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15246 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
15247
b3a9f56b
AS
152482014-06-18 Andreas Schwab <schwab@suse.de>
15249
15250 [BZ #17062]
15251 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
15252 of a bracket expr not to run off the end of the string.
15253 * posix/Makefile (tests): Add tst-fnmatch3.
15254 * posix/tst-fnmatch3.c: New file.
15255
85d89278
JM
152562014-06-18 Joseph Myers <joseph@codesourcery.com>
15257
15258 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
15259 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15260 [$(cross-compiling) = no]: Likewise.
15261 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15262 [$(cross-compiling) = no]: Likewise.
15263
754c5a08
RS
152642014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15265
15266 [BZ #17031]
15267 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
15268 double, adjusted for any remainder from the high double.
15269 * math/libm-test.inc (nearbyint): Add tests.
15270 (rint): Likewise.
15271
556f529d
AZ
152722014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15273
15274 * nptl/sysdeps/powerpc/Makefile: Moved ...
15275 * sysdeps/powerpc/nptl/Makefile: ... here.
15276 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
15277 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
15278 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
15279 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
15280 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
15281 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
15282 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
15283 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
15284 * nptl/sysdeps/powerpc/tls.h: Moved ...
15285 * sysdeps/powerpc/nptl/tls.h: ... here.
15286
91c03c53
JM
152872014-06-16 Joseph Myers <joseph@codesourcery.com>
15288
15289 [BZ #16681]
15290 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
15291 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
15292 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
15293 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
15294 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
15295 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
15296 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
15297 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
15298 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
15299
a76e63c5
AS
153002014-06-17 Andreas Schwab <schwab@linux-m68k.org>
15301
15302 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15303
f2f6d82f
AS
153042014-06-16 Andreas Schwab <schwab@linux-m68k.org>
15305
ea8a15f6
AS
15306 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
15307 defined operator.
15308
f2f6d82f
AS
15309 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
15310 $TIMEOUTFACTOR.
15311
a7291117
FW
153122014-06-16 Florian Weimer <fweimer@redhat.com>
15313
15314 [BZ #17058]
15315 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
15316 non-executed part of the test.
15317
3d7c00e3
AS
153182014-06-16 Andreas Schwab <schwab@suse.de>
15319
15320 * string/bits/string2.h (strdup, strndup): Update feature guard.
15321
6957fb31
DM
153222014-06-14 David S. Miller <davem@davemloft.net>
15323
15324 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15325
11b9e55b
AS
153262014-06-14 Andreas Schwab <schwab@linux-m68k.org>
15327
1d2a0492
AS
15328 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
15329 that was previously under [RESET_PID].
15330 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
15331
11b9e55b
AS
15332 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
15333 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
15334 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
15335 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15336 (__libc_vfork): New strong alias.
15337 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
15338
0f6901d0
AK
153392014-06-14 Andi Kleen <ak@linux.intel.com>
15340
15341 * sysdeps/generic/elide.h: New file.
15342
38bbbb9f
SL
153432014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
15344
15345 * Makefile (installed-headers): Adjust path of pthread.h header.
15346
45193bb8
RM
153472014-06-13 Roland McGrath <roland@hack.frob.com>
15348
9a25fd1e
RM
15349 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
15350 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
15351 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
15352 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
15353
4004f7e4
RM
15354 * nptl/sysdeps/s390/Makefile: Moved ...
15355 * sysdeps/s390/nptl/Makefile: ... here.
15356 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
15357 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
15358 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
15359 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
15360 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
15361 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
15362 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
15363 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
15364 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
15365 * sysdeps/s390/nptl/pthreaddef.h: ... here.
15366 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
15367 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
15368 * nptl/sysdeps/s390/tls.h: Moved ...
15369 * sysdeps/s390/nptl/tls.h: ... here.
15370
45193bb8
RM
15371 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
15372 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
15373
f6fdf533
DM
153742014-06-13 David S. Miller <davem@davemloft.net>
15375
15376 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
15377 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
15378 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
15379 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
15380 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
15381 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
15382 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
15383 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
15384 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
15385 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
15386 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
15387 Remove RESET_PID cpp guards.
15388 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
15389 Remove RESET_PID cpp guards.
15390 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
15391
f5d71e14
AS
153922014-06-13 Andreas Schwab <schwab@linux-m68k.org>
15393
15394 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
15395 __sp to uintptr_t.
15396
b7aa8caa
AK
153972014-06-13 Andi Kleen <ak@linux.intel.com>
15398
4b266200
AZ
15399 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
15400 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
15401 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
15402 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
15403 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
15404 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
15405 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
15406 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
15407 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
15408 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
15409 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
15410 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
15411 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
15412 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
15413 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
15414 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
15415 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
15416 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
15417 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
15418 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
15419
15420 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
15421 (pthread_rwlock_rdlock): Add elision.
15422 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
15423 (pthread_rwlock_wrlock): Add elision.
15424 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
15425 (pthread_rwlock_trywrlock): Add elision.
15426 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
15427 (pthread_rwlock_tryrdlock): Add elision.
15428 * nptl/pthread_rwlock_unlock.c: Include elide.h.
15429 (pthread_rwlock_tryrdlock): Add elision unlock.
15430 * nptl/sysdeps/pthread/pthread.h:
15431 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
15432 (PTHREAD_RWLOCK_INITIALIZER,
15433 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
15434 Handle new elision field.
15435 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
15436 * sysdeps/arm/nptl/bits/pthreadtypes.h
15437 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15438 * sysdeps/sh/nptl/bits/pthreadtypes.h
15439 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15440 * sysdeps/tile/nptl/bits/pthreadtypes.h
15441 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15442 * sysdeps/a/nptl/bits/pthreadtypes.h
15443 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15444 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15445 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15446 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15447 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15448 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
15449 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15450 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15451 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15452 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15453 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15454 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15455 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15456 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15457 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15458 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
15459 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15460 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
15461 (elision_init): Set try_xbegin to zero when no RTM.
15462 * sysdeps/x86/nptl/bits/pthreadtypes.h
15463 (pthread_rwlock_t): Change __pad1 to __rwelision.
15464 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 15465
a832bdd3
AK
154662014-06-13 Andi Kleen <ak@linux.intel.com>
15467
15468 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
15469 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
15470 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
15471 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
15472
995a46bb
MI
154732014-06-13 Meador Inge <meadori@codesourcery.com>
15474
15475 [BZ #16996]
03ed7738 15476 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
15477 that the cached result has been set before returning it.
15478
45262aee
RM
154792014-06-12 Roland McGrath <roland@hack.frob.com>
15480
febf6cc5
RM
15481 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
15482 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
15483 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
15484 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
15485 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
15486 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
15487
e2682246
RM
15488 * nptl/sysdeps/sparc/Makefile: Moved ...
15489 * sysdeps/sparc/nptl/Makefile: ... here.
15490 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
15491 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
15492 * nptl/sysdeps/sparc/tls.h: Moved ...
15493 * sysdeps/sparc/nptl/tls.h: ... here.
15494 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
15495 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
15496 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
15497 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
15498 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
15499 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
15500 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
15501 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
15502 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
15503 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
15504 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
15505 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
15506 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
15507 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
15508 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
15509 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
15510 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
15511 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
15512 Update #include.
15513 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
15514 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
15515 Update #include.
15516 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
15517 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
15518 Update #include.
15519 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
15520 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
15521 Update #include.
15522
b0725f43
RM
15523 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15524
b14368b8
RM
15525 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
15526 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
15527
c5620eb3
RM
15528 * sysdeps/pthread/posix-timer.h: Include <list.h>.
15529 (struct list_links): Type removed.
15530 (struct thread_node, struct timer_node): Replace struct list_links
15531 with struct list_head.
15532 (list_unlink_ip): Likewise.
15533 * sysdeps/pthread/timer_routines.c
15534 (timer_free_list, thread_free_list, thread_active_list): Likewise.
15535 (list_append, list_insbefore): Likewise.
15536 (list_init): Function removed.
15537 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
15538 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
15539 * sysdeps/pthread/Makefile: ... here, new file.
15540
15541 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
15542 * sysdeps/nptl/Implies: ... here.
15543 * sysdeps/unix/sysv/linux/Implies: Add nptl.
15544 * nptl/sysdeps/pthread/list.h: Moved ...
15545 * include/list.h: ... here.
15546 * nptl/sysdeps/pthread/createthread.c: Moved ...
15547 * nptl/createthread.c: ... here.
15548 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
15549 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
15550 * nptl/pt-longjmp.c: ... here.
15551 * nptl/sysdeps/pthread/Makefile: Moved ...
15552 * sysdeps/nptl/Makefile: ... here.
15553 * nptl/sysdeps/pthread/Subdirs: Moved ...
15554 * sysdeps/nptl/Subdirs: ... here.
15555 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
15556 * sysdeps/nptl/aio_misc.h: ... here.
15557 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
15558 * sysdeps/nptl/bits/libc-lock.h: ... here.
15559 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
15560 * sysdeps/nptl/bits/libc-lockP.h: ... here.
15561 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
15562 * sysdeps/nptl/bits/stdio-lock.h: ... here.
15563 * nptl/sysdeps/pthread/configure: Moved ...
15564 * sysdeps/nptl/configure: ... here.
15565 * nptl/sysdeps/pthread/configure.ac: Moved ...
15566 * sysdeps/nptl/configure.ac: ... here.
15567 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
15568 * sysdeps/nptl/gai_misc.h: ... here.
15569 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
15570 * sysdeps/nptl/librt-cancellation.c: ... here.
15571 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
15572 * sysdeps/nptl/malloc-machine.h: ... here.
15573 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
15574 * sysdeps/nptl/pthread-functions.h: ... here.
15575 * nptl/sysdeps/pthread/pthread.h: Moved ...
15576 * sysdeps/nptl/pthread.h: ... here.
15577 * nptl/sysdeps/pthread/setxid.h: Moved ...
15578 * sysdeps/nptl/setxid.h: ... here.
15579 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
15580 * sysdeps/nptl/sigfillset.c: ... here.
15581 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
15582 * sysdeps/nptl/tcb-offsets.h: ... here.
15583 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
15584 * sysdeps/nptl/tst-mqueue8x.c: ... here.
15585 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
15586 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
15587 * nptl/sysdeps/pthread/allocalim.h: Moved ...
15588 * sysdeps/pthread/allocalim.h: ... here.
15589 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
15590 * sysdeps/pthread/bits/sigthread.h: ... here.
15591 * nptl/sysdeps/pthread/flockfile.c: Moved ...
15592 * sysdeps/pthread/flockfile.c: ... here.
15593 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
15594 * sysdeps/pthread/ftrylockfile.c: ... here.
15595 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
15596 * sysdeps/pthread/funlockfile.c: ... here.
15597 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
15598 * sysdeps/pthread/posix-timer.h: ... here.
15599 * nptl/sysdeps/pthread/timer_create.c: Moved ...
15600 * sysdeps/pthread/timer_create.c: ... here.
15601 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
15602 * sysdeps/pthread/timer_delete.c: ... here.
15603 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
15604 * sysdeps/pthread/timer_getoverr.c: ... here.
15605 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
15606 * sysdeps/pthread/timer_gettime.c: ... here.
15607 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
15608 * sysdeps/pthread/timer_routines.c: ... here.
15609 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
15610 * sysdeps/pthread/timer_settime.c: ... here.
15611 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
15612 * sysdeps/pthread/tst-timer.c: ... here.
15613 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
15614 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
15615
e876b090
RM
15616 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
15617 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
15618
f6b07b3d
RM
15619 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
15620 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
15621 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
15622 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
15623 Update #include target.
15624 * nptl/sysdeps/i386/i686/Makefile: Moved ...
15625 * sysdeps/i386/i686/nptl/Makefile: ... here.
15626 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
15627 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
15628 Update #include target.
15629 * nptl/sysdeps/i386/i686/tls.h: Moved ...
15630 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
15631 * nptl/sysdeps/i386/Makefile: Moved ...
15632 * sysdeps/i386/nptl/Makefile: ... here.
15633 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
15634 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
15635 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
15636 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
15637 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
15638 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
15639 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
15640 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
15641 * sysdeps/i386/nptl/pthreaddef.h: ... here.
15642 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
15643 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
15644 * nptl/sysdeps/i386/tls.h: Moved ...
15645 * sysdeps/i386/nptl/tls.h: ... here.
15646
45262aee
RM
15647 * sysdeps/sh/Makefile [$(subdir) = csu]
15648 (gen-as-const-headers): Add tcb-offsets.sym.
15649 * nptl/sysdeps/sh/Makefile: File removed.
15650 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
15651 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
15652 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
15653 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
15654 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
15655 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
15656 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
15657 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
15658 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
15659 * sysdeps/sh/nptl/pthreaddef.h: ... here.
15660 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
15661 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
15662 * nptl/sysdeps/sh/tls.h: Moved ...
15663 * sysdeps/sh/nptl/tls.h: ... here.
15664 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
15665 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
15666 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
15667 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
15668 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
15669 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
15670 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
15671 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
15672 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
15673 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
15674 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
15675 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
15676 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
15677 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
15678 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
15679 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
15680 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
15681 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
15682 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
15683 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
15684 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
15685 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
15686 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
15687 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
15688 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
15689 Moved ...
15690 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
15691 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
15692 Moved ...
15693 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
15694 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
15695 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
15696 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
15697 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
15698 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
15699 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
15700 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
15701 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
15702 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
15703 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
15704 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
15705 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
15706 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
15707 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
15708 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
15709 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
15710 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
15711 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
15712
35a5e3e3
SL
157132014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15714
15715 * posix/spawn_faction_addopen.c: Include string.h.
15716
14642b85
RM
157172014-06-11 Roland McGrath <roland@hack.frob.com>
15718
15719 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
15720 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
15721 * nptl/sysdeps/x86_64/Makefile: Moved ...
15722 * sysdeps/x86_64/nptl/Makefile: ... here.
15723 * nptl/sysdeps/x86_64/configure: Moved ...
15724 * sysdeps/x86_64/nptl/configure: ... here.
15725 * nptl/sysdeps/x86_64/configure.ac: Moved ...
15726 * sysdeps/x86_64/nptl/configure.ac: ... here.
15727 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
15728 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
15729 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
15730 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
15731 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
15732 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
15733 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
15734 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
15735 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
15736 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
15737 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
15738 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
15739 * nptl/sysdeps/x86_64/tls.h: Moved ...
15740 * sysdeps/x86_64/nptl/tls.h: ... here.
15741 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
15742 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
15743 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
15744 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
15745
15746 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
15747
31c44fea
AZ
157482014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15749
15750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15751
e81a4f9a
JM
157522014-06-11 Joseph Myers <joseph@codesourcery.com>
15753
15754 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
15755 type.
15756 [POSIX] (off_t): Likewise.
15757 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
15758 [POSIX] (S_ISBLK): Require macro.
15759 [POSIX] (S_ISCHR): Likewise.
15760 [POSIX] (S_ISDIR): Likewise.
15761 [POSIX] (S_ISFIFO): Likewise.
15762 [POSIX] (S_ISREG): Likewise.
15763 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
15764 optional-macro.
15765 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
15766 type.
15767 [POSIX] (time_t): Likewise.
15768 [POSIX] (timer_t): Likewise.
15769
89e435f3
FW
157702014-06-11 Florian Weimer <fweimer@redhat.com>
15771
15772 [BZ #17048]
15773 * posix/spawn_int.h (struct __spawn_action): Make the path string
15774 non-const to support deallocation.
15775 * posix/spawn_faction_addopen.c
15776 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
15777 * posix/spawn_faction_destroy.c
15778 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
15779 path in all spawn_do_open actions.
15780 * posix/tst-spawn.c (do_test): Exercise the copy operation in
15781 posix_spawn_file_actions_addopen.
15782
c3a2ebe1
CM
157832014-06-11 Chris Metcalf <cmetcalf@tilera.com>
15784
15785 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
15786 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
15787 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
15788 conditional code always true.
15789 (__libc_vfork): New alias.
15790
9503784a
RM
157912014-06-11 Roland McGrath <roland@hack.frob.com>
15792
c9cab3d2
RM
15793 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15794 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
15795
d3996c79
RM
15796 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
15797
ba5ec611
RM
15798 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15799 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
15800
f12b4814
RM
15801 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15802 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
15803
9503784a
RM
15804 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15805 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
15806
e23d3d26
VR
158072014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15808
15809 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
15810 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
15811 multiarch strcmp for PPC64.
15812 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
15813 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
15814 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
15815 multiarch optimizations.
15816 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15817 (__libc_ifunc_impl_list): Likewise.
15818
42b1161e
SP
158192014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15820
15821 * benchtests/scripts/validate_benchout.py: New script.
15822 * benchtests/Makefile (bench-func): Call it.
15823 * benchtests/scripts/benchout.schema.json: New file.
15824
2d0fc4dc
CM
158252014-06-10 Chris Metcalf <cmetcalf@tilera.com>
15826
4a594c34
AZ
15827 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
15828 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
15829 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
15830 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
15831 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
15832 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
15833 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
15834 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
15835 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
15836 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
15837 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
15838 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
15839 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
15840 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
15841 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
15842 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
15843 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 15844 Moved ...
4a594c34 15845 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 15846 ... here.
4a594c34 15847 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 15848 Moved ...
4a594c34
AZ
15849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
15850 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 15851 Moved ...
4a594c34 15852 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 15853 ... here.
4a594c34 15854 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 15855 Moved ...
4a594c34 15856 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 15857 ... here.
4a594c34 15858 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 15859 Moved ...
4a594c34
AZ
15860 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
15861 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 15862 Moved ...
4a594c34 15863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 15864 ... here.
4a594c34 15865 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 15866 Moved ...
4a594c34 15867 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 15868 ... here.
4a594c34 15869 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 15870 Moved ...
4a594c34
AZ
15871 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
15872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 15873 Moved ...
4a594c34 15874 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 15875 ... here.
4a594c34 15876 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 15877 Moved ...
4a594c34 15878 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 15879 ... here.
4a594c34 15880 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 15881 Moved ...
4a594c34 15882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 15883 ... here.
4a594c34 15884 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 15885 Moved ...
4a594c34
AZ
15886 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
15887 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 15888 Moved ...
4a594c34 15889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 15890 ... here.
4a594c34 15891 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 15892 Moved ...
4a594c34 15893 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 15894 ... here.
4a594c34 15895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 15896 Moved ...
4a594c34 15897 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 15898 ... here.
4a594c34 15899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 15900 Moved ...
4a594c34
AZ
15901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
15902 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 15903 Moved ...
4a594c34 15904 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 15905 ... here.
4a594c34 15906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 15907 Moved ...
4a594c34 15908 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 15909 ... here.
4a594c34 15910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 15911 Moved ...
4a594c34
AZ
15912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
15913 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 15914 Moved ...
4a594c34 15915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 15916 ... here.
4a594c34 15917 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 15918 Moved ...
4a594c34
AZ
15919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
15920 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 15921 Moved ...
4a594c34
AZ
15922 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
15923 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 15924 Moved ...
4a594c34 15925 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 15926 ... here.
4a594c34 15927 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 15928 Moved ...
4a594c34 15929 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 15930 ... here.
4a594c34 15931 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 15932 Moved ...
4a594c34 15933 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 15934 ... here.
4a594c34 15935 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 15936 Moved ...
4a594c34
AZ
15937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
15938 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 15939 Moved ...
4a594c34 15940 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 15941 ... here.
4a594c34 15942 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 15943 Moved ...
4a594c34 15944 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 15945 ... here.
4a594c34
AZ
15946 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
15947 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
15948 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
15949 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
15950 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 15951 Moved ...
4a594c34 15952 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 15953 ... here.
4a594c34
AZ
15954 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
15955 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
15956 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
15957 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
15958 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
15959 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
15960 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
15961 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
15962 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
15963 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
15964 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
15965 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
15966 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 15967 Moved ...
4a594c34
AZ
15968 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
15969 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 15970 Moved ...
4a594c34
AZ
15971 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
15972 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
15973 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
15974 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 15975 Moved ...
4a594c34
AZ
15976 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
15977 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
15978 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
15979 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
15980 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
15981 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
15982 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 15983
0570cfed
W
159842014-06-10 Wilco <wdijkstr@arm.com>
15985
15986 * math/test-fenv-return.c: New file.
15987 * math/Makefile: Add new test test-fenv-return.
15988
f8ba1b56
JM
159892014-06-10 Joseph Myers <joseph@codesourcery.com>
15990
15991 [BZ #17042]
15992 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
15993 when x - 1 is zero.
15994 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
15995 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
15996 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
15997 0.0L for an argument of 1.0L.
15998 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
15999 Likewise.
16000 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
16001 value when x - 1 is zero.
16002 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
16003 * sysdeps/i386/fpu/libm-test-ulps: Update.
16004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16005
2c3520d9
BO
160062014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
16007
16008 [BZ #15119]
16009 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
16010
acaa4d24
RM
160112014-06-09 Roland McGrath <roland@hack.frob.com>
16012
16013 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
16014 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
16015
962b744d
RM
160162014-06-09 Roland McGrath <roland@hack.frob.com>
16017
d752f0cc
RM
16018 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16019 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
16020
34eda6d1
RM
16021 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16022 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
16023
50f0a637
RM
16024 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16025 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
16026
08f41f04
RM
16027 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16028 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
16029
962b744d
RM
16030 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
16031 if not already defined.
16032 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
16033 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
16034 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
16035 (TLS_INIT_TP): Use it.
16036 (TLS_DEFINE_INIT_TP): New macro.
16037 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
16038
09f19b05
JM
160392014-06-09 Joseph Myers <joseph@codesourcery.com>
16040
16041 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
16042 constant.
16043 [POSIX] (IXANY): Likewise.
16044 [POSIX] (OLCUC): Likewise.
16045 [POSIX || POSIX2008] (CBAUD): Do not allow.
16046 [POSIX || POSIX2008] (DEFECHO): Likewise.
16047 [POSIX || POSIX2008] (ECHOCTL): Likewise.
16048 [POSIX || POSIX2008] (ECHOKE): Likewise.
16049 [POSIX || POSIX2008] (ECHOPRT): Likewise.
16050 [POSIX || POSIX2008] (EXTA): Likewise.
16051 [POSIX || POSIX2008] (EXTB): Likewise.
16052 [POSIX || POSIX2008] (FLUSHO): Likewise.
16053 [POSIX || POSIX2008] (LOBLK): Likewise.
16054 [POSIX || POSIX2008] (PENDIN): Likewise.
16055 [POSIX || POSIX2008] (SWTCH): Likewise.
16056 [POSIX || POSIX2008] (VDISCARD): Likewise.
16057 [POSIX || POSIX2008] (VDSUSP): Likewise.
16058 [POSIX || POSIX2008] (VLNEXT): Likewise.
16059 [POSIX || POSIX2008] (VREPRINT): Likewise.
16060 [POSIX || POSIX2008] (VSTATUS): Likewise.
16061 [POSIX || POSIX2008] (VWERASE): Likewise.
16062 (B*): Change to B[0123456789]*.
16063 * conform/data/time.h-data [POSIX || UNIX98]
16064 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
16065 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16066 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
16067 [POSIX] (tm_*): Do not allow.
16068
686554bf
JM
160692014-06-07 Joseph Myers <joseph@codesourcery.com>
16070
16071 * Makefile (install): Don't set LANGUAGE.
16072 * Makefile.in (install): Likewise.
16073 * assert/Makefile (test-assert-ENV): Remove variable.
16074 (test-assert-perr-ENV): Likewise.
16075 * elf/Makefile (neededtest4-ENV): Likewise.
16076 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16077 [$(cross-compiling) = no]: Don't set LANGUAGE.
16078 * io/ftwtest-sh (LANG): Remove variable.
16079 * libio/Makefile (tst-widetext-ENV): Likewise.
16080 * manual/install.texi (Running make install): Don't refer to
16081 environment settings for make install.
16082 * INSTALL: Regenerated.
16083 * nptl/tst-tls6.sh: Don't set LANG.
16084 * posix/globtest.sh (LANG): Remove variable.
16085 * string/Makefile (tester-ENV): Likewise.
16086 (inl-tester-ENV): Likewise.
16087 (noinl-tester-ENV): Likewise.
16088 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16089 [$(cross-compiling) = no]: Don't set LANGUAGE.
16090 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
16091 without explicit environment settings.
16092
68e6b6b1
RM
160932014-06-06 Roland McGrath <roland@hack.frob.com>
16094
16095 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
16096 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
16097 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
16098 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
16099
4d3ae034
CM
161002014-06-06 Chris Metcalf <cmetcalf@tilera.com>
16101
16102 * crypt/crypt-private.h [DOS]: Add some includes taken from the
16103 other files in the crypt directory.
16104 * crypt/crypt.c: Remove duplicate includes.
16105 * crypt/crypt-entry.c: Likewise.
16106 * crypt/crypt_util.c: Likewise.
16107
8540f6d2
JM
161082014-06-06 Joseph Myers <joseph@codesourcery.com>
16109
16110 * Makeconfig (run-program-env): New variable.
16111 (run-program-prefix-before-env): Likewise.
16112 (run-program-prefix-after-env): Likewise.
16113 (run-program-prefix): Define in terms of new variables.
16114 (built-program-cmd-before-env): New variable.
16115 (built-program-cmd-after-env): Likewise.
16116 (built-program-cmd): Define in terms of new variables.
16117 (test-program-prefix-before-env): New variable.
16118 (test-program-prefix-after-env): Likewise.
16119 (test-program-prefix): Define in terms of new variables.
16120 (test-program-cmd-before-env): New variable.
16121 (test-program-cmd-after-env): Likewise.
16122 (test-program-cmd): Define in terms of new variables.
16123 * Rules (make-test-out): Use $(run-program-env).
16124 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
16125 (help): Do not mention environment variables. Mention
16126 --timeoutfactor option.
16127 (timeoutfactor): New variable.
16128 (blacklist_exports): Remove function.
16129 (exports): Remove variable.
16130 (command): Do not include ${exports}.
16131 * manual/install.texi (Configuring and compiling): Do not mention
16132 test wrappers preserving environment variables. Mention that last
16133 assignment to a variable must take precedence.
16134 * INSTALL: Regenerated.
16135 * benchtests/Makefile (run-bench): Use $(run-program-env).
16136 * catgets/Makefile ($(objpfx)test1.cat): Use
16137 $(built-program-cmd-before-env), $(run-program-env) and
16138 $(built-program-cmd-after-env).
16139 ($(objpfx)test2.cat): Do not specify environment variables
16140 explicitly.
16141 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
16142 $(run-program-env) and $(built-program-cmd-after-env).
16143 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
16144 $(run-program-env) and $(test-program-cmd-after-env).
16145 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
16146 explicitly.
16147 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
16148 run_program_env and test_program_cmd_after_env arguments.
16149 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
16150 * elf/tst-pathopt.sh: Use run_program_env argument.
16151 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
16152 $(test-wrapper-env) and $(run-program-env).
16153 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
16154 run_program_env arguments.
16155 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
16156 * intl/Makefile ($(objpfx)tst-gettext.out): Use
16157 $(test-program-prefix-before-env), $(run-program-env) and
16158 $(test-program-prefix-after-env).
16159 ($(objpfx)tst-gettext2.out): Likewise.
16160 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
16161 run_program_env and test_program_prefix_after_env arguments.
16162 * intl/tst-gettext2.sh: Likewise.
16163 * intl/tst-gettext4.sh: Do not set environment variables
16164 explicitly.
16165 * intl/tst-gettext6.sh: Likewise.
16166 * intl/tst-translit.sh: Likewise.
16167 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
16168 $(test-program-prefix-before-env), $(run-program-env) and
16169 $(test-program-prefix-after-env).
16170 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
16171 run_program_env and test_program_prefix_after_env arguments.
16172 * math/Makefile (run-regen-ulps): Use $(run-program-env).
16173 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
16174 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
16175 explicitly with each use of ${test_wrapper_env}.
16176 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
16177 $(test-program-prefix-before-env), $(run-program-env) and
16178 $(test-program-prefix-after-env).
16179 * posix/tst-getconf.sh: Do not set environment variables
16180 explicitly.
16181 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
16182 run_program_env and test_program_prefix_after_env arguments.
16183 * stdio-common/tst-printf.sh: Do not set environment variables
16184 explicitly.
16185 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
16186 $(test-program-prefix-before-env), $(run-program-env) and
16187 $(test-program-prefix-after-env).
16188 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
16189 run_program_env and test_program_prefix_after_env arguments.
16190 Split $test calls into $test_pre and $test.
16191 * timezone/Makefile (build-testdata): Use
16192 $(built-program-cmd-before-env), $(run-program-env) and
16193 $(built-program-cmd-after-env).
16194
ed36bfa1
AZ
161952014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16196
16197 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
16198 strlen for non SHARED builds.
16199
fc75bf46
SP
162002014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16201
16202 * nptl/allocatestack.c (check_list): Inlined function...
16203 (__reclaim_stacks): ... here.
16204
d89b3d80
OB
162052014-06-05 Ondřej Bílka <neleai@seznam.cz>
16206
16207 [BZ #15698]
16208 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16209 memory overrun.
16210
2bf18041
JM
162112014-06-05 Joseph Myers <joseph@codesourcery.com>
16212
16213 * Rules (make-test-out): Include
16214 LOCPATH=$(common-objpfx)localedata in default environment.
16215 * debug/Makefile (tst-chk1-ENV): Remove variable.
16216 (tst-chk2-ENV): Likewise.
16217 (tst-chk3-ENV): Likewise.
16218 (tst-chk4-ENV): Likewise.
16219 (tst-chk5-ENV): Likewise.
16220 (tst-chk6-ENV): Likewise.
16221 (tst-lfschk1-ENV): Likewise.
16222 (tst-lfschk2-ENV): Likewise.
16223 (tst-lfschk3-ENV): Likewise.
16224 (tst-lfschk4-ENV): Likewise.
16225 (tst-lfschk5-ENV): Likewise.
16226 (tst-lfschk6-ENV): Likewise.
16227 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
16228 (tst-iconv7-ENV): Likewise.
16229 * intl/Makefile (LOCPATH-ENV): Likewise.
16230 (tst-codeset-ENV): Likewise.
16231 (tst-gettext3-ENV): Likewise.
16232 (tst-gettext5-ENV): Likewise.
16233 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
16234 (tst-fopenloc-ENV): Likewise.
16235 (tst-fgetws-ENV): Remove variable.
16236 (tst-ungetwc1-ENV): Likewise.
16237 (tst-ungetwc2-ENV): Likewise.
16238 (bug-ungetwc2-ENV): Likewise.
16239 (tst-swscanf-ENV): Likewise.
16240 (bug-ftell-ENV): Likewise.
16241 (tst-fgetwc-ENV): Likewise.
16242 (tst-fseek-ENV): Likewise.
16243 (tst-ftell-partial-wide-ENV): Likewise.
16244 (tst-ftell-active-handler-ENV): Likewise.
16245 (tst-ftell-append-ENV): Likewise.
16246 * posix/Makefile (tst-fnmatch-ENV): Likewise.
16247 (tst-regexloc-ENV): Likewise.
16248 (bug-regex1-ENV): Likewise.
16249 (tst-regex-ENV): Likewise.
16250 (tst-regex2-ENV): Likewise.
16251 (bug-regex5-ENV): Likewise.
16252 (bug-regex6-ENV): Likewise.
16253 (bug-regex17-ENV): Likewise.
16254 (bug-regex18-ENV): Likewise.
16255 (bug-regex19-ENV): Likewise.
16256 (bug-regex20-ENV): Likewise.
16257 (bug-regex22-ENV): Likewise.
16258 (bug-regex23-ENV): Likewise.
16259 (bug-regex25-ENV): Likewise.
16260 (bug-regex26-ENV): Likewise.
16261 (bug-regex30-ENV): Likewise.
16262 (bug-regex32-ENV): Likewise.
16263 (bug-regex33-ENV): Likewise.
16264 (bug-regex34-ENV): Likewise.
16265 (bug-regex35-ENV): Likewise.
16266 (tst-rxspencer-ENV): Likewise.
16267 (tst-rxspencer-no-utf8-ENV): Likewise.
16268 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
16269 (tst-sscanf-ENV): Likewise.
16270 (tst-swprintf-ENV): Likewise.
16271 (tst-swscanf-ENV): Likewise.
16272 (test-vfprintf-ENV): Likewise.
16273 (scanf13-ENV): Likewise.
16274 (bug14-ENV): Likewise.
16275 (tst-grouping-ENV): Likewise.
16276 * stdlib/Makefile (tst-strtod-ENV): Likewise.
16277 (tst-strtod3-ENV): Likewise.
16278 (tst-strtod4-ENV): Likewise.
16279 (tst-strtod5-ENV): Likewise.
16280 (testmb2-ENV): Likewise./
16281 * string/Makefile (tst-strxfrm-ENV): Likewise.
16282 (tst-strxfrm2-ENV): Likewise.
16283 (bug-strcoll1-ENV): Likewise.
16284 (test-strcasecmp-ENV): Likewise.
16285 (test-strncasecmp-ENV): Likewise.
16286 * time/Makefile (tst-strptime-ENV): Likewise.
16287 (tst-ftime_l-ENV): Likewise.
16288 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
16289 (tst-mbrtowc-ENV): Likewise.
16290 (tst-wcrtomb-ENV): Likewise.
16291 (tst-mbrtowc2-ENV): Likewise.
16292 (tst-c16c32-1-ENV): Likewise.
16293 (tst-mbsnrtowcs-ENV): Likewise.
16294
cd1fb604
OB
162952014-06-05 Ondřej Bílka <neleai@seznam.cz>
16296
16297 * manual/resource.texi (How to get information about the memory
16298 subsystem?): Fix typo.
16299 Reported by Peon de la Parra Ivan <peon@keba.com>
16300
b42eca7d
GY
163012014-06-03 Guo Yixuan <culu.gyx@gmail.com>
16302
16303 [BZ #16882]
16304 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
16305 (pthread_spin_lock): Branch out of spin loop to proper location.
16306 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
16307 (pthread_spin_lock): Likewise.
16308
902b71f9
DM
16309 * nptl/tst-spin4.c: New test.
16310 * nptl/Makefile (tests): Add tst-spin4.
16311
f9d2d032
AS
163122014-06-03 Andreas Schwab <schwab@suse.de>
16313
16314 [BZ #15946]
16315 * resolv/res_send.c (send_dg): Reload file descriptor after
16316 calling reopen.
16317
cf7bfd28
SL
163182014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
16319
16320 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16321
111cc714
RH
163222014-06-03 Richard Henderson <rth@redhat.com>
16323
89b4bd6b
RH
16324 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
16325 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
16326 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
16327 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
16328 in the SAVE_PID block.
16329 (__libc_vfork): New alias.
71840409 16330 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 16331
111cc714
RH
16332 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
16333 child in registers, not on the stack. Remove RESET_PID conditionals.
16334 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
16335
ccc39911
MS
163362014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
16337
16338 * sysdeps/aarch64/libm-test-ulps: Regenerate.
16339
693096cc
W
163402014-06-03 Wilco <wdijkstr@arm.com>
16341
16342 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
16343 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
16344 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16345 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
16346 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
16347 Likewise.
16348
0b4366bc
W
163492014-06-03 Wilco <wdijkstr@arm.com>
16350
16351 * sysdeps/aarch64/fpu/math_private.h
16352 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
16353 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
16354 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
16355 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16356 Fix declarations.
16357
8747cd03
KS
163582014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16359
16360 * crypt/crypt-private.h: Include ufc-crypt.h.
16361 (__b64_from_24bit): Declare extern.
16362 * crypt/crypt_util.c(__b64_from_24bit): New function.
16363 (b64t): New static const variable.
16364 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
16365 (b64t): Remove variable.
16366 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
16367 * crypt/sha256-crypt.c: Include crypt-private.h.
16368 (b64t): Remove variable.
16369 (__sha256_crypt_r): Remove b64_from_24bit and replace
16370 with __b64_from_24bit.
16371 * crypt/sha512-crypt.c: Likewise.
16372
d936d379
RM
163732014-06-02 Roland McGrath <roland@hack.frob.com>
16374
16375 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
16376 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
16377 Label the code __libc_vfork rather than __vfork.
16378 [!NOT_IN_libc] (vfork): Define as weak alias.
16379 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
16380 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
16381 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
16382
9fa76613
SP
163832014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16384
16385 * malloc/malloc.c (malloc_info): Fix format specifier for
16386 n_mmaps.
16387
a88dadbe
W
163882014-06-02 Wilco <wdijkstr@arm.com>
16389
16390 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
16391 FPCR write.
16392
c95b3011
W
163932014-06-02 Wilco <wdijkstr@arm.com>
16394
16395 [BZ #17009]
16396 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
16397 Rewrite to reduce FPCR/FPSR accesses.
16398
6b4d7a90
DM
163992014-06-01 David S. Miller <davem@davemloft.net>
16400
16401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16402
30f3d07c
DM
164032014-05-31 David S. Miller <davem@davemloft.net>
16404
16405 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
16406 to occur in round to nearest mode when |x| >= 2.0
16407
74f31c18
RH
164082014-05-30 Richard Henderson <rth@twiddle.net>
16409
f0712b54
RH
16410 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
16411 (PSEUDO_RET_NOERRNO): Remove.
16412 (ret): Don't redefine.
16413 (ret_NOERRNO): Define in terms of ret.
16414 (ret_ERRVAL): Likewise.
16415
74f31c18
RH
16416 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
16417 use of PSEUDO_RET; perform the error check directly.
16418
30477995
MM
164192014-05-30 Marko Myllynen <myllynen@redhat.com>
16420
16421 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
16422 with __int128_t.
16423
62a58816
SP
164242014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16425
16426 * malloc/malloc (malloc_info): Fix formatting.
16427
4d653a59
SP
164282014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16429 Roland McGrath <roland@hack.frob.com>
16430
16431 * malloc/malloc (malloc_info): Also print mmapped statistics.
16432
5190c17f
RM
164332014-05-30 Roland McGrath <roland@hack.frob.com>
16434
16435 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
16436 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
16437
987c0269
OB
164382014-05-30 Ondřej Bílka <neleai@seznam.cz>
16439
16440 * malloc/malloc.c (malloc_info): Inline mi_arena.
16441
af4e8ef9
RH
164422014-05-29 Richard Henderson <rth@twiddle.net>
16443
1670e207
RH
16444 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
16445 Remove comma before expanding ASM_ARGS_##nr.
16446 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
16447 Make _x0 a strict output; make _x8 a strict input; adjust expansion
16448 of ASM_ARGS_##nr.
16449 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
16450 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
16451 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
16452 (ASM_ARGS_1): Add leading comma.
16453
11a28aee
RH
16454 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
16455 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
16456 to __errno_location.
16457 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
16458 Remove the expected plt for __errno_location.
16459
a17e5ffb 16460 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 16461 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
16462 call to __read_tp.
16463
b5be4597
RH
16464 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16465 Always allocate 64 bytes of stack frame. Use ldp/stp to create
16466 it and break it down.
16467 (DOCARGS_0, DOCARGS_1): Do nothing.
16468 (DOCARGS_2): Update to store into the new stack frame.
16469 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
16470 (UNDOCARGS_1): Update to restore from the new stack frame.
16471 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
16472 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
16473
645d44ab
RH
16474 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16475 (SINGLE_THREAD_P): New parameter for result regno.
16476 (PSEUDO): Update to match; use cbz instead of beq.
16477
a8b4f04a
RH
16478 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16479 Use ENTRY to define the _nocancel entry point. Share the syscall
16480 and syscall error check paths with the cancel path.
16481 (PSEUDO_END): New.
16482
af4e8ef9
RH
16483 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
16484 whitespace; tabs before and after asm mnemonics.
16485
26b0d2e1
EW
164862014-05-29 Eric Wong <normalperson@yhbt.net>
16487
16488 [BZ #15132]
16489 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16490 Call fstat64 or stat64 internally, depending on arguments passed.
16491 Replace stat buffer argument with file descriptor argument.
16492 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
16493 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16494 Pass fd to __internal_statvfs instead of calling fstat64.
16495 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
16496 Pass fd to __internal_statvfs64 instead of calling fstat64.
16497 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
16498 Pass -1 to __internal_statvfs instead of calling stat64.
16499 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
16500 Pass -1 to __internal_statvfs64 instead of calling stat64.
16501
1efe2bd9
RM
165022014-05-28 Roland McGrath <roland@hack.frob.com>
16503
0d3b7a19
RM
16504 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
16505 that was previously under [RESET_PID].
16506 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
16507
1efe2bd9
RM
16508 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
16509 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
16510
a6bea3ca
RM
165112014-05-27 Roland McGrath <roland@hack.frob.com>
16512
30b6629e
RM
16513 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
16514
a6bea3ca
RM
16515 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
16516 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
16517
3dfb9a5c
OB
165182014-05-27 Ondřej Bílka <neleai@seznam.cz>
16519
16520 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
16521
774f9285
AS
165222014-05-27 Andreas Schwab <schwab@suse.de>
16523
16524 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
16525 TLS_INIT_TP macro.
16526 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
16527 * elf/rtld.c (init_tls, dl_main): Likewise.
16528 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
16529 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
16530 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
16531 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
16532 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
16533 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
16534 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
16535 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
16536 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
16537 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
16538 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
16539 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
16540 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
16541 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
16542 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
16543 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
16544 * sysdeps/generic/tls.h: Update description.
16545
36ffe739
WN
165462014-05-27 Will Newton <will.newton@linaro.org>
16547
16548 [BZ #16990]
16549 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
16550 and restore r2 rather than just restoring.
16551
2482ae43
SP
165522014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16553
16554 [BZ #16724]
16555 * libio/tst-ftell-append.c: New test case.
16556 * libio/Makefile (tests): Add test case.
16557 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
16558 append mode.
16559 * libio/wfileops.c (do_ftell_wide): Likewise.
16560
3d1024e8
AZ
165612014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16562
bab90016
AZ
16563 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16564
c7a8d667
AZ
16565 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
16566 ...
16567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
16568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16569 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
16570 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
16571 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
16572 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
16573 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
16574 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
16575 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
16576 Moved ...
16577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
16578 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
16579 Moved ...
16580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
16581 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
16582 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
16583 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
16584 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
16585 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
16586 ...
16587 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
16588 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
16589 Moved ...
16590 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
16591 here.
16592 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
16593 ...
16594 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
16595 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
16596 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
16597
daee7851
AZ
16598 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
16599 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
16600 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
16601 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
16602
50a40819
AZ
16603 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
16604 merge into ...
16605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
16606 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
16607 ...
16608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
16609 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
16610 ...
16611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
16612 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16613 Moved ...
16614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
16615 here.
16616 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16617 Moved ...
16618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
16619 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16620 Moved ...
16621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
16622
8464c2a1
AZ
16623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
16624 conditional [RESET_PID].
16625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
16626 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
16627 removed.
16628 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
16629 removed.
16630
3d1024e8
AZ
16631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
16632 <tcb-offsets.h>.
16633 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16634 (__libc_vfork): New strong alias.
16635 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
16636 removed.
16637 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
16638 Removed.
16639
16640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
16641 <tcb-offsets.h>.
16642 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
16643 (__libc_vfork): New strong alias.
16644 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
16645 removed.
16646 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
16647 removed.
16648
fdfd175d
CD
166492014-05-26 Carlos O'Donell <carlos@redhat.com>
16650
16651 * malloc/malloc.c (mi_arena): New function.
16652 (malloc_info): Remove nested function mi_arena. Call non-nosted
16653 function mi_arena.
16654
d298c416
AZ
166552014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16656
16657 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
16658 by insrwi.
16659 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
16660 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
16661 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
16662 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
16663 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
16664 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
16665 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
16666
b60ea6ff
AS
166672014-05-26 Andreas Schwab <schwab@suse.de>
16668
16669 [BZ #16984]
16670 * locale/programs/repertoire.c (repertoire_read): Add slash
16671 between I18NPATH element and file name.
16672 * locale/programs/locfile.c (locfile_read): Likewise.
16673
67365926
SL
166742014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
16675
16676 * nptl/pthread_mutexattr_settype.c
16677 (__pthread_mutexattr_settype):
16678 Disable lock elision for PTHREAD_MUTEX_NORMAL.
16679
f8bdf1f0
SL
166802014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
16681
16682 * nptl/tst-mutex5 (do_test):
16683 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
16684
15eaf6ff
SP
166852014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16686
16687 * benchtests/README: Document 'init' directive.
16688 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
16689 BENCH_INIT.
16690 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
16691 (parse_file): Recognize 'init' directive.
16692
75f11331
KM
166932014-05-26 Kyle McMartin <kyle@redhat.com>
16694
16695 [BZ #16796]
16696 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
16697 alignment of struct pthread.
16698
c3ec475c
SP
166992014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16700
16701 [BZ #16878]
16702 * nscd/netgroupcache.c (addgetnetgrentX): Look for
16703 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16704 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
16705 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16706
82aab97c
RH
167072014-05-25 Richard Henderson <rth@twiddle.net>
16708
aa2f176d
RH
16709 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16710 (SINGLE_THREAD_P_PIC): Remove.
16711 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
16712 (SINGLE_THREAD_P_PIC): Remove.
16713
ca3cfa40
RH
16714 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
16715 branch to syscall error ...
16716 (PSEUDO): ... here.
16717 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
16718 from __local_syscall_error to .Lsyscall_error.
16719 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
16720 (SYSCALL_ERROR): Update label name.
16721
6e6c2d01
RH
16722 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16723 Do not use DOARGS/UNDOARGS.
16724 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
16725 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
16726 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
16727 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
16728 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
16729
c69abcee
RH
16730 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
16731 block comment.
16732
82aab97c
RH
16733 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
16734 define if !NOT_IN_libc.
16735 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
16736 define with non-default symbol versions.
16737
8820e3ac
RH
167382014-05-23 Richard Henderson <rth@twiddle.net>
16739
900e445f
RH
16740 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
16741 (vfork, __vfork): Define via compat_symbol.
16742
8820e3ac
RH
16743 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
16744 [!HAVE_IFUNC] (vfork_compat): Remove.
16745 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
16746
e59252a5
JM
167472014-05-23 Joseph Myers <joseph@codesourcery.com>
16748
16749 [BZ #16978]
16750 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
16751 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
16752 variable.
16753
132c7f5f
RH
167542014-05-23 Richard Henderson <rth@twiddle.net>
16755
bc89e962
RH
16756 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
16757 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
16758 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
16759 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
16760
16761 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
16762 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
16763 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
16764 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
16765 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
16766 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
16767 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
16768 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
16769 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
16770 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
16771 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
16772 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
16773 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
16774 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
16775 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
16776 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
16777 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
16778 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
16779 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
16780 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
16781 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
16782 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
16783 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
16784 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
16785 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
16786 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
16787 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
16788 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
16789 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
16790 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
16791 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
16792 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
16793 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
16794 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
16795 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
16796 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
16797 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
16798 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
16799 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
16800 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
16801 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
16802 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
16803 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
16804 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
16805 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
16806 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
16807 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
16808 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
16809 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
16810 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
16811 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
16812 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
16813 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
16814 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
16815 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
16816 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
16817
e2fa4bc2
RH
16818 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
16819 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
16820 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
16821 before exiting on error.
16822 (__libc_vfork): New strong alias.
16823 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
16824 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
16825
279b24e2
RH
16826 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
16827 that was previously under [RESET_PID].
16828 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
16829
132c7f5f
RH
16830 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
16831
b72592e7
JM
168322014-05-23 Joseph Myers <joseph@codesourcery.com>
16833
16834 [BZ #16977]
16835 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
16836 value when x - 1 is zero.
16837 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
16838 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
16839 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
16840 0.0L for an argument of 1.0L.
16841 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
16842 Likewise.
16843 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
16844 value when x - 1 is zero.
16845 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
16846 * sysdeps/i386/fpu/libm-test-ulps: Update.
16847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16848
2302d679
RV
168492014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
16850
16851 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
16852 alphasort and versionsort.
16853
32999d63
AZ
168542014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16855
16856 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
16857 macro.
16858 [copysignf]: Likewise.
16859
019324d0
SP
168602014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16861
16862 * crypt/md5-crypt.c: Fix formatting.
16863
34fff5c2
KS
168642014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16865
16866 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
16867 (b64_from_24bit): New function.
16868
3d2badac
AZ
168692014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16870
16871 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
16872 libc_hidden_builtin_def to ifunc.
16873 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16874 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
16875
f7bb179f 168762014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
16877
16878 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
16879 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
16880
4134b50d
JM
168812014-05-21 Joseph Myers <joseph@codesourcery.com>
16882
bb7d0337
JM
16883 * nscd/Depend (linuxthreads): Remove.
16884 (nptl): Add.
16885 * resolv/Depend (linuxthreads): Remove.
16886 * rt/Depend (linuxthreads): Remove.
16887
4134b50d
JM
16888 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
16889 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
16890 $(common-objpfx)elf/.
16891 (link-libc-before-gnulib): Likewise.
16892 (elfobjdir): Remove variable.
16893 * Makefile (install): Use $(elf-objpfx) instead of
16894 $(common-objpfx)elf/.
16895 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
16896 $(elfobjdir)/.
16897 (link-libc-deps): Likewise.
16898 ($(common-objpfx)libc.so): Likewise.
16899 ($(common-objpfx)linkobj/libc.so): Likewise.
16900 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
16901 instead of $(common-objpfx)elf/.
16902 (symbolic-link-list): Likewise.
16903 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16904 [$(cross-compiling) = no]: Likewise.
16905 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
16906 $(elfobjdir)/.
16907 (static-gnulib-arch): Likewise.
16908 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16909 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
16910 $(common-objpfx)elf/.
16911
3612eb8f
RH
169122014-05-21 Richard Henderson <rth@redhat.com>
16913
a6b3657b
RH
16914 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16915 (SINGLE_THREAD_P): Use the correct width load. Fold
16916 into the ldr offset.
16917
3612eb8f
RH
16918 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
16919 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
16920
175cef41
JM
169212014-05-20 Joseph Myers <joseph@codesourcery.com>
16922
16923 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
16924 (libgcc_s_resume): Use __attribute_used__.
16925 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
16926 Likewise.
16927
e13bccd3
AZ
169282014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16929
16930 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
16931 optimization when used with float constants.
16932
7c112a38
AZ
16933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16934
ae75a883
AJ
169352014-05-20 Aurelien Jarno <aurelien@aurel32.net>
16936
16937 [BZ #16915]
16938 * locale/nl_langinfo_l.c: Make direct reference to every
16939 _nl_current_CATEGORY symbol.
16940 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
16941 (tests-static): Add tst-langinfo-static.
16942 (tests-special): Add tst-langinfo-static.out.
16943 ($(objpfx)tst-langinfo.out): Redirect output.
16944 ($(objpfx)tst-langinfo-static.out): New.
16945 * localedata/tst-langinfo.sh: Send output to stdout.
16946 * localedata/tst-langinfo-static.c: New file.
16947
4406c41c
AJ
16948 [BZ #16965]
16949 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
16950 when the shift amount is modulo the limb size.
16951
4c0a1e63
RH
169522014-05-20 Richard Henderson <rth@redhat.com>
16953
de9d8f20
RH
16954 [BZ #16967]
16955 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
16956 Change type of sa_flags from unsigned int to int.
16957
4c0a1e63
RH
16958 [BZ #16966]
16959 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
16960
16961 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
16962
a60339aa
WN
169632014-05-20 Will Newton <will.newton@linaro.org>
16964
16965 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16966 Test the return value of the system call in the nocancel case.
16967
7d05a816
YR
169682014-05-20 Will Newton <will.newton@linaro.org>
16969 Yvan Roux <yvan.roux@linaro.org>
16970
16971 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
16972 #include of asm/ptrace.h.
16973 (PTRACE_GET_THREAD_AREA): Remove #undef.
16974 (PTRACE_GETHBPREGS): Likewise.
16975 (PTRACE_SETHBPREGS): Likewise.
16976 (struct user_regs_struct): New structure.
16977 (struct user_fpsimd_struct): New structure.
16978 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
16979 #include of asm/ptrace.h and second #include of sys/user.h.
16980 (PTRACE_GET_THREAD_AREA): Remove #undef.
16981 (PTRACE_GETHBPREGS): Likewise.
16982 (PTRACE_SETHBPREGS): Likewise.
16983 (ELF_NGREG): Use new struct user_regs_struct.
16984 (elf_fpregset_t): Use new struct user_fpsimd_struct.
16985
af121e37
AZ
169862014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16987
16988 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
16989 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
16990
834caf06
JM
169912014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
16992
16993 [BZ #16958]
16994 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
16995 membar to avoid block loads/stores to overlap previous stores.
16996
e184a918
RH
169972014-05-17 Richard Henderson <rth@redhat.com>
16998
16999 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
17000 Create the __##syscall_name##_nocancel entry point.
17001 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
17002 Remove; let the sysdep-cancel.h code create it.
17003
f56c7a6a
DM
170042014-05-17 David S. Miller <davem@davemloft.net>
17005
17006 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
17007 Protect with __USE_GNU.
17008 (TIOCSET_TEMPT): Likewise.
17009 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17010 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
17011 these are already provided in bits/ioctl-types.h
17012
f75616b2
RM
170132014-05-16 Roland McGrath <roland@hack.frob.com>
17014
3edeca86
RM
17015 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
17016 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
17017
f75616b2
RM
17018 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
17019 Use wait4 regardless of [__NR_waitpid].
17020
deb0f7f6
MR
170212014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17022
17023 PR libgcc/60166
17024 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17025 (_FP_NANSIGN_Q): Set the quiet bit.
17026
79520f4b
JM
170272014-05-16 Joseph Myers <joseph@codesourcery.com>
17028
17029 * benchtests/Makefile
17030 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
17031 not $(common-objpfx)math/libm.so.
17032 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
17033 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
17034 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
17035 $(common-objpfx)dlfcn/libdl.so.
17036 ($(objpfx)tst-audit8): Depend on $(libm), not
17037 $(common-objpfx)math/libm.so.
17038 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
17039 not $(common-objpfx)dlfcn/libdl.so.
17040 * math/Makefile
17041 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17042 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
17043 [$(build-shared) = yes].
17044 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
17045 $(common-objpfx)nptl/libpthread.so.
17046 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
17047 $(common-objpfx)math/libm.so$(libm.so-version) or
17048 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
17049 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
17050 $(common-objpfx)dlfcn/libdl.so.
17051 * setjmp/Makefile (link-libm): Remove variable.
17052 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
17053 * stdio-common/Makefile (link-libm): Remove variable.
17054 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
17055 * stdlib/Makefile (link-libm): Remove variable.
17056 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
17057 ($(objpfx)tst-strtod-round): Likewise.
17058 ($(objpfx)tst-tininess): Likewise.
17059 ($(objpfx)tst-strtod-underflow): Likewise.
17060 ($(objpfx)tst-strtod6): Likewise.
17061 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
17062 $(libdl), not $(common-objpfx)nptl/libpthread.so and
17063 $(common-objpfx)dlfcn/libdl.so.
17064
026b0fe4
AZ
170652014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17066
17067 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
17068 BSD terminal modes definitions.
17069
def4bcb2
RM
170702014-05-16 Roland McGrath <roland@hack.frob.com>
17071
fe39b021
RM
17072 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
17073 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
17074
1d1fc46e 17075 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
17076 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
17077 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
17078 Don't do #include_next.
17079 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
17080 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
17081 Don't do #include_next.
17082 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
17083 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
17084 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
17085 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
17086
c72399fb
AM
170872014-05-16 Allan McRae <allan@archlinux.org>
17088
d51d659d
AM
17089 * po/sv.po: Update Swedish translation from translation project.
17090
c72399fb
AM
17091 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
17092 in sed expression.
17093
d0583c40
AJ
170942014-05-16 Aurelien Jarno <aurelien@aurel32.net>
17095
17096 [BZ #16917]
17097 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
17098 errno if the TIOCGPTN ioctl fails with an error different than
17099 EINVAL.
17100 * login/tst-ptsname.c: New file.
17101 * login/Makefile (tests): Add tst-ptsname.
17102
d16e6ec7
AJ
17103 [BZ #16943]
17104 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
17105 and prlimit64.
17106
cf26a0cb
SP
171072014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17108
17109 [BZ #16849]
17110 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
17111 herrno to return EAI_AGAIN.
17112
5675da1e
RM
171132014-05-14 Roland McGrath <roland@hack.frob.com>
17114
a5d87b3d
RM
17115 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
17116 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
17117 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
17118 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
17119 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
17120 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
17121 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
17122 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
17123 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
17124 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
17125 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
17126 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
17127 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
17128 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
17129 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
17130 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
17131 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
17132 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
17133 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
17134 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
17135 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
17136 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
17137 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
17138 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
17139 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
17140 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
17141 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
17142 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
17143 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
17144 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
17145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
17146 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
17147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
17148 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
17149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17150 Moved ...
17151 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
17152 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
17153 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
17154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
17155 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
17156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
17157 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
17158 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
17159 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
17160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
17161 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
17162 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
17163 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
17164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
17165 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
17166 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
17167 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
17168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
17169 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
17170 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
17171 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
17172 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
17173 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
17174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
17175 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
17176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
17177 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
17178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17179 Moved ...
17180 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
17181 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
17182 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
17183 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
17184 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
17185 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
17186 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
17187 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
17188 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
17189 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
17190 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
17191 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
17192 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
17193 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
17194 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
17195 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
17196 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
17197 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
17198 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
17199 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17200 Moved ...
17201 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
17202 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
17203 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
17204
039890a6
RM
17205 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
17206 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
17207 (libpthread-sysdep_routines): Add elision-related stuff here instead.
17208 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
17209 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
17210 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
17211 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
17212 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
17213 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
17214 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
17215 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
17216 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
17217 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
17218 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
17219 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
17220 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
17221 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
17222 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
17223 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
17224 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
17225 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
17226 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
17227 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
17228 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
17229 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
17230 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
17231 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
17232 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
17233 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
17234 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
17235 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
17236
65c89320
RM
17237 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
17238 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
17239
348f8e8c
RM
17240 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
17241 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
17242 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
17243 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
17244 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
17245 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
17246 Moved ...
17247 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
17248 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17249 Moved ...
17250 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
17251 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17252 Moved ...
17253 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
17254 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
17255 Moved ...
17256 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
17257 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
17258 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
17259 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
17260 Moved ...
17261 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
17262 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
17263 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
17264 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
17265 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
17266 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
17267 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
17268 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17269 Moved ...
17270 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
17271 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17272 Moved ...
17273 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17274 ... here.
17275 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
17276 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
17277 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
17278 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
17279 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17280 Moved ...
17281 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17282 ... here.
17283 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
17284 Moved ...
17285 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
17286 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
17287 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
17288 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
17289 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
17290 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
17291 Moved ...
17292 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
17293 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17294 Moved ...
17295 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
17296 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17297 Moved ...
17298 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
17299 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
17300 Moved ...
17301 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
17302 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
17303 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
17304 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
17305 Moved ...
17306 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
17307 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
17308 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
17309 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
17310 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
17311 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
17312 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
17313 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17314 Moved ...
17315 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
17316 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17317 Moved ...
17318 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17319 ... here.
17320 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
17321 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
17322 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
17323 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
17324 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17325 Moved ...
17326 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17327 ... here.
17328 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
17329 Moved ...
17330 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
17331 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
17332 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
17333 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
17334 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
17335 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
17336 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
17337 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
17338 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
17339 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
17340 Moved ...
17341 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
17342 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17343 Moved ...
17344 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
17345 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17346 Moved ...
17347 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
17348 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
17349 Moved ...
17350 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
17351 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
17352 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
17353 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
17354 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
17355 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17356 Moved ...
17357 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
17358 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
17359 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
17360 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
17361 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
17362 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
17363 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
17364 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17365 Moved ...
17366 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
17367 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17368 Moved ...
17369 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17370 ... here.
17371 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
17372 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
17373 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
17374 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
17375 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17376 Moved ...
17377 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17378 ... here.
17379 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
17380 Moved ...
17381 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
17382 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
17383 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
17384 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
17385 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
17386 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
17387 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
17388 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
17389 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
17390 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
17391 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
17392
5085af05
RM
17393 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
17394 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
17395
708f0813
RM
17396 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
17397 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
17398
c96067bc
RM
17399 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
17400 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
17401 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
17402 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
17403 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
17404 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
17405 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
17406 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
17407 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
17408 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
17409 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
17410 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
17411 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
17412 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
17413 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
17414 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
17415 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
17416 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
17417 Moved ...
17418 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
17419 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
17420 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
17421 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
17422 Moved ...
17423 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
17424 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
17425 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
17426 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
17427 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
17428 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
17429 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
17430 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
17431 Moved ...
17432 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
17433 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
17434 Moved ...
17435 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
17436 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
17437 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
17438 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
17439 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
17440 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
17441 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
17442 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
17443 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
17444 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
17445 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
17446 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
17447 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
17448 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
17449 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
17450 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
17451 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
17452
ec136444
RM
17453 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
17454 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
17455 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
17456 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
17457 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
17458
2fbdf533
RM
17459 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
17460 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
17461 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
17462 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
17463 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
17464 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
17465 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
17466 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
17467 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
17468 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
17469
4c68138b
RM
17470 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
17471 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
17472
4eaae765
RM
17473 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
17474 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
17475 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
17476 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
17477 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
17478 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
17479 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
17480 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
17481 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
17482 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
17483 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
17484 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
17485 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
17486 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
17487 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
17488 Update #include.
17489 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
17490 Likewise.
17491 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17492 Likewise.
17493 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17494 Likewise.
17495 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17496 Likewise.
17497 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
17498 Likewise.
17499 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
17500 Likewise.
17501 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17502 Likewise.
17503 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
17504 Likewise.
17505 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
17506 Likewise.
4ef6befa
RM
17507 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
17508 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
17509 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
17510 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
17511 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
17512 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
17513 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
17514 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
17515 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
17516 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
17517 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
17518 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
17519 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
17520 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
17521 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 17522
941d7dfd
RM
17523 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
17524 that was previously under [RESET_PID].
17525 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17526 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
17527 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
17528
1b731c35
RM
17529 * sysdeps/i386/nptl/Implies: New file.
17530 * sysdeps/x86_64/nptl/Implies: New file.
17531 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
17532 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
17533 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
17534 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
17535
e2787137
RM
17536 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
17537 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17538 (__libc_vfork): New strong alias.
17539 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
17540 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
17541
17542 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
17543 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17544 (__libc_vfork): New strong alias.
17545 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
17546 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
17547
5675da1e
RM
17548 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
17549 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17550 (__libc_vfork): New strong alias.
17551 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
17552 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
17553 * nptl/pt-vfork.c: New file.
17554 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
17555 (libpthread: GLIBC_2.20): New version set (empty).
17556
4f02e2b8
WN
175572014-05-14 Will Newton <will.newton@linaro.org>
17558
17559 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
17560 rather than #if.
17561
0bf061d3
JM
175622014-05-14 Joseph Myers <joseph@codesourcery.com>
17563
1a84c3d6
JM
17564 [BZ #16564]
17565 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
17566 arguments with exponent 65 or above.
17567 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
17568 arguments 0x1p113L or above.
17569 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
17570 to arguments 0x1p107L or above.
17571 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
17572 positive arguments with exponent 65 or above.
17573 * math/auto-libm-test-in: Add more tests of log1p.
17574 * math/auto-libm-test-out: Regenerated.
17575
01dbacd2
JM
17576 [BZ #16928]
17577 * math/s_cacos.c (__cacos): Ensure zero real part of result from
17578 non-finite arguments is +0.
17579 * math/s_cacosf.c (__cacosf): Likewise.
17580 * math/s_cacosl.c (__cacosl): Likewise.
17581 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
17582 * sysdeps/i386/fpu/libm-test-ulps: Update.
17583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17584
913d03c8
JM
17585 [BZ #16927]
17586 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
17587 value.
17588 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
17589 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
17590 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
17591 for explicit high bit of mantissa when testing for argument equal
17592 to 1.
17593 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
17594 * sysdeps/i386/fpu/libm-test-ulps: Update.
17595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17596
0bf061d3
JM
17597 [BZ #16516]
17598 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
17599 (__erf): Scale by 16 instead of 8 in potentially underflowing
17600 case. Ensure exception if result actually underflows.
17601 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
17602 (__erff): Scale by 16 instead of 8 in potentially underflowing
17603 case. Ensure exception if result actually underflows.
17604 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
17605 (efx8): Remove variable.
17606 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17607 case. Ensure exception if result actually underflows.
17608 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
17609 (efx8): Remove variable.
17610 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17611 case. Ensure exception if result actually underflows.
17612 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
17613 (efx8): Remove variable.
17614 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17615 case. Ensure exception if result actually underflows.
17616 * math/auto-libm-test-in: Add more tests of erf.
17617 * math/auto-libm-test-out: Regenerated.
17618
73ba67cb
AS
176192014-05-14 Andreas Schwab <schwab@suse.de>
17620
3d8c8bff
AS
17621 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
17622 Remove code conditionalized on USE___THREAD.
17623
73ba67cb
AS
17624 * config.h.in (HAVE_PT_CHOWN): Define as 0.
17625 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
17626 not definedness.
17627
5c521ecd
JM
176282014-05-14 Joseph Myers <joseph@codesourcery.com>
17629
5e7698c6
JM
17630 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
17631 Define unconditionally.
17632 (__ASSUME_O_CLOEXEC): Likewise.
17633 (__ASSUME_SOCK_CLOEXEC): Likewise.
17634 (__ASSUME_IN_NONBLOCK): Likewise.
17635 (__ASSUME_PIPE2): Likewise.
17636 (__ASSUME_EVENTFD2): Likewise.
17637 (__ASSUME_SIGNALFD4): Likewise.
17638 (__ASSUME_DUP3): Likewise.
17639 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17640 (__ASSUME_DUP3): Do not define.
17641 (__ASSUME_EVENTFD2): Likewise.
17642 (__ASSUME_IN_NONBLOCK): Likewise.
17643 (__ASSUME_O_CLOEXEC): Likewise.
17644 (__ASSUME_PIPE2): Likewise.
17645 (__ASSUME_SIGNALFD4): Likewise.
17646 (__ASSUME_SOCK_CLOEXEC): Likewise.
17647 (__ASSUME_UTIMES): Undefine.
17648 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17649 (__ASSUME_UTIMES): Do not define.
17650 (__ASSUME_O_CLOEXEC): Likewise.
17651 (__ASSUME_SOCK_CLOEXEC): Likewise.
17652 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
17653 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
17654 0x020621].
17655 (__ASSUME_PIPE2): Likewise.
17656 (__ASSUME_EVENTFD2): Likewise.
17657 (__ASSUME_SIGNALFD4): Likewise.
17658 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
17659 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
17660 Do not define.
17661 (__ASSUME_EVENTFD2): Likewise.
17662 (__ASSUME_SIGNALFD4): Likewise.
17663 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17664 (__ASSUME_32BITUIDS): Likewise.
17665 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17666 (__ASSUME_IPC64): Likewise.
17667 (__ASSUME_ST_INO_64_BIT): Likewise.
17668 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
17669 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
17670 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17671 (__ASSUME_UTIMES): Do not define.
17672 (__ASSUME_PSELECT): Likewise.
17673 (__ASSUME_PPOLL): Likewise.
17674 (__ASSUME_O_CLOEXEC): Likewise.
17675 (__ASSUME_SOCK_CLOEXEC): Likewise.
17676 (__ASSUME_IN_NONBLOCK): Likewise.
17677 (__ASSUME_PIPE2): Likewise.
17678 (__ASSUME_EVENTFD2): Likewise.
17679 (__ASSUME_SIGNALFD4): Likewise.
17680 (__ASSUME_DUP3): Likewise.
17681 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17682 (__ASSUME_UTIMES): Likewise.
17683 (__ASSUME_O_CLOEXEC): Likewise.
17684 (__ASSUME_SOCK_CLOEXEC): Likewise.
17685 (__ASSUME_IN_NONBLOCK): Likewise.
17686 (__ASSUME_PIPE2): Likewise.
17687 (__ASSUME_EVENTFD2): Likewise.
17688 (__ASSUME_SIGNALFD4): Likewise.
17689 (__ASSUME_DUP3): Likewise.
17690 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17691 (__ASSUME_UTIMES): Likewise.
17692 (__ASSUME_O_CLOEXEC): Likewise.
17693 (__ASSUME_SOCK_CLOEXEC): Likewise.
17694 (__ASSUME_IN_NONBLOCK): Likewise.
17695 (__ASSUME_PIPE2): Likewise.
17696 (__ASSUME_EVENTFD2): Likewise.
17697 (__ASSUME_SIGNALFD4): Likewise.
17698 (__ASSUME_DUP3): Likewise.
17699 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
17700 Likewise.
17701 (__ASSUME_UTIMES): Likewise.
17702 (__ASSUME_EVENTFD2): Likewise.
17703 (__ASSUME_SIGNALFD4): Likewise.
17704 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17705 (__ASSUME_O_CLOEXEC): Likewise.
17706 (__ASSUME_SOCK_CLOEXEC): Likewise.
17707 (__ASSUME_IN_NONBLOCK): Likewise.
17708 (__ASSUME_PIPE2): Likewise.
17709 (__ASSUME_EVENTFD2): Likewise.
17710 (__ASSUME_SIGNALFD4): Likewise.
17711 (__ASSUME_DUP3): Likewise.
17712 (__ASSUME_UTIMES): Undefine.
17713
5c521ecd
JM
17714 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
17715 feclearexcept. Remove symbol versioning code.
17716 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
17717 symbol versioning code.
17718 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
17719 symbol versioning code.
17720 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
17721 feupdateenv. Remove symbol versioning code.
17722 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
17723 fegetexceptflag. Remove symbol versioning code.
17724 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
17725 fesetexceptflag. Remove symbol versioning code.
17726 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
17727 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
17728 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
17729 (__posix_fadvise64_l32): Remove prototype.
17730 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
17731 code.
17732
5da9dfad
RM
177332014-05-13 Roland McGrath <roland@hack.frob.com>
17734
17735 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
17736 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
17737 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
17738 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
17739
893b4f37
SK
177402014-05-13 Sami Kerola <kerolasa@iki.fi>
17741
17742 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
17743 current working directory
17744
e0db6517
RM
177452014-05-13 Roland McGrath <roland@hack.frob.com>
17746
58aa195d
RM
17747 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
17748 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
17749 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
17750 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
17751 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
17752 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
17753 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
17754 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
17755 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
17756 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
17757 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
17758 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
17759 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
17760 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
17761 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
17762 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
17763 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
17764 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
17765 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
17766 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
17767 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
17768 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
17769 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
17770 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
17771 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
17772 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
17773 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
17774 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
17775 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
17776 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
17777 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
17778 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
17779 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
17780 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
17781 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
17782 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
17783 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
17784 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
17785 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
17786 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
17787 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
17788 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
17789
8c6d01f0
RM
17790 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
17791 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
17792
17793 * sysdeps/unix/sysv/linux/arm/Makefile
17794 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
17795 Add rt-aeabi_unwind_cpp_pr1.
17796 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
17797 Add nptl-aeabi_unwind_cpp_pr1.
17798 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
17799 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
17800 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
17801 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17802 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
17803 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17804
17805 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
17806 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
17807 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
17808 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
17809
bba6da4e
RM
17810 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
17811 Deconditionalize the code that was previously under [RESET_PID].
17812 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
17813
e0db6517
RM
17814 * sysdeps/generic/exit-thread.h: New file.
17815 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
17816 * include/unistd.h (__exit_thread): Remove declaration.
17817 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
17818 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
17819 * csu/libc-start.c: Include <exit-thread.h>.
17820 (LIBC_START_MAIN): Pass no argument to __exit_thread.
17821 * nptl/pthread_create.c: Include <exit-thread.h>.
17822 (start_thread): Call __exit_thread in place of __exit_thread_inline.
17823 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
17824 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
17825 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
17826 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
17827 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
17828 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
17829 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
17830 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
17831 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
17832 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
17833 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
17834 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
17835 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
17836 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
17837 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
17838 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
17839
01eb16fd
AS
178402014-05-13 Andreas Schwab <schwab@suse.de>
17841
17842 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
17843
637461d9
JM
178442014-05-12 Joseph Myers <joseph@codesourcery.com>
17845
17846 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
17847 (__ASSUME_UTIMES): Do not condition on kernel version.
17848 (__ASSUME_PSELECT): Define unconditionally.
17849 (__ASSUME_PPOLL): Likewise.
17850 (__ASSUME_ATFCTS): Likewise.
17851 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
17852 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
17853 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
17854 (__ASSUME_UTIMENSAT): Define unconditionally.
17855 (__ASSUME_PRIVATE_FUTEX): Likewise.
17856 (__ASSUME_FALLOCATE): Likewise.
17857 (__ASSUME_O_CLOEXEC): Likewise.
17858 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
17859 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
17860 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
17861 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
17862 (__ASSUME_IN_NONBLOCK): Likewise.
17863 (__ASSUME_PIPE2): Likewise.
17864 (__ASSUME_EVENTFD2): Likewise.
17865 (__ASSUME_SIGNALFD4): Likewise.
17866 (__ASSUME_DUP3): Likewise.
17867 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17868 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
17869 (__ASSUME_AT_RANDOM): Likewise.
17870 (__ASSUME_PREADV): Likewise.
17871 (__ASSUME_PWRITEV): Likewise.
17872 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
17873 (__ASSUME_F_GETOWN_EX): Define unconditionally.
17874 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
17875 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17876 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
17877 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17878 (__ASSUME_O_CLOEXEC): Define unconditionally.
17879 (__ASSUME_PSELECT): Do not undefine conditionally.
17880 (__ASSUME_PPOLL): Likewise.
17881 (__ASSUME_ATFCTS): Likewise.
17882 (__ASSUME_SET_ROBUST_LIST): Likewise.
17883 (__ASSUME_UTIMENSAT): Likewise.
17884 (__ASSUME_FDATASYNC): Define unconditionally.
17885 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17886 (__ASSUME_SIGFRAME_V2): Likewise.
17887 )__ASSUME_EVENTFD2): Likewise.
17888 (__ASSUME_SIGNALFD4): Likewise.
17889 (__ASSUME_PSELECT): Do not undefine conditionally.
17890 (__ASSUME_PPOLL): Likewise.
17891 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17892 (__ASSUME_PSELECT): Define unconditionally.
17893 (__ASSUME_PPOLL): Likewise.
17894 (__ASSUME_O_CLOEXEC): Likewise.
17895 (__ASSUME_SOCK_CLOEXEC): Likewise.
17896 (__ASSUME_IN_NONBLOCK): Likewise.
17897 (__ASSUME_PIPE2): Likewise.
17898 (__ASSUME_EVENTFD2): Likewise.
17899 (__ASSUME_SIGNALFD4): Likewise.
17900 (__ASSUME_DUP3): Likewise.
17901 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17902 (__ASSUME_O_CLOEXEC): Likewise.
17903 (__ASSUME_SOCK_CLOEXEC): Likewise.
17904 (__ASSUME_IN_NONBLOCK): Likewise.
17905 (__ASSUME_PIPE2): Likewise.
17906 (__ASSUME_EVENTFD2): Likewise.
17907 (__ASSUME_SIGNALFD4): Likewise.
17908 (__ASSUME_DUP3): Likewise.
17909 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17910 (__ASSUME_EVENTFD2): Likewise.
17911 (__ASSUME_SIGNALFD4): Likewise.
17912 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17913
315eb1d8
AS
179142014-05-12 Andreas Schwab <schwab@suse.de>
17915
17916 [BZ #16932]
17917 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
17918 (_nss_nis_gethostbyname4_r): Return error if item length is larger
17919 than maximum RPC packet size.
17920 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
17921 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
17922 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
17923 (_nss_nis_getservbyport_r): Likewise.
17924
91df99f7
WN
179252014-05-12 Will Newton <will.newton@linaro.org>
17926
17927 * malloc/Makefile (tests): Add tst-mallopt.
17928 * malloc/tst-mallopt.c: New file.
17929
0a982a29
RM
179302014-05-09 Roland McGrath <roland@hack.frob.com>
17931
17932 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
17933 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
17934
0ded08a5
AZ
179352014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17936
17937 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
17938 (tst-tlsmod6.so): Likewise.
17939
55d4d550
RM
179402014-05-09 Roland McGrath <roland@hack.frob.com>
17941
17942 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
17943
77d08aca
JM
179442014-05-09 Joseph Myers <joseph@codesourcery.com>
17945
17946 [BZ #16064]
17947 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
17948 and <dl-procinfo.h>.
17949 (__fegetenv): Save SSE state in envp->__eip if supported.
17950 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
17951 envp->__eip if supported.
17952 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
17953 and <dl-procinfo.h>.
17954 (__fesetenv): Always set __eip, __cs_selector, __opcode,
17955 __data_offset and __data_selector in environment to 0. Set SSE
17956 state if supported.
17957 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
17958 test-fenv-sse.
17959 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
17960 -mfpmath=sse.
17961 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
17962
28162f4d
WN
179632014-05-09 Will Newton <will.newton@linaro.org>
17964
17965 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
17966 and libc_relro_required for ARM.
17967 * sysdeps/arm/preconfigure: Regenerate.
17968
5a414ff7
DV
179692014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
17970 Stefan Liebler <stli@linux.vnet.ibm.com>
17971
17972 * config.make.in (enable-lock-elision): New Makefile variable.
17973 * configure.ac: Likewise.
17974 * configure: Regenerate.
17975 * sysdeps/s390/configure.ac:
17976 Add check for gcc transactions support.
17977 * sysdeps/s390/configure: Regenerate.
17978 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
17979 Build elision files if enabled.
17980 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
17981 Add lock elision support for s390.
17982 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
17983 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
17984 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
17985 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
17986 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
17987 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
17988 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
17989 Likewise.
17990 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
17991 Likewise.
17992 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
17993 Likewise.
17994 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
17995 Likewise.
17996 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
17997 (__lll_timedlock_elision, __lll_lock_elision)
17998 (__lll_unlock_elision, __lll_trylock_elision)
17999 (lll_timedlock_elision, lll_lock_elision)
18000 (lll_unlock_elision, lll_trylock_elision): Add.
18001 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18002 (pthread_mutex_t): Add lock elision support for s390.
18003
1a2f40e5
W
180042014-05-14 Wilco <wdijkstr@arm.com>
18005
18006 * sysdeps/arm/fclrexcpt.c: Cleanup.
18007 * sysdeps/arm/fedisblxcpt.c: Cleanup.
18008 * sysdeps/arm/feenablxcpt.c: Cleanup.
18009 * sysdeps/arm/fegetenv.c: Cleanup.
18010 * sysdeps/arm/fegetexcept.c: Cleanup.
18011 * sysdeps/arm/fegetround.c: Cleanup.
18012 * sysdeps/arm/feholdexcpt.c: Cleanup.
18013 * sysdeps/arm/fesetenv.c: Cleanup.
18014 * sysdeps/arm/fesetround.c: Cleanup.
18015 * sysdeps/arm/feupdateenv.c: Cleanup.
18016 * sysdeps/arm/fgetexcptflg.c: Cleanup.
18017 * sysdeps/arm/fraiseexcpt.c: Cleanup.
18018 * sysdeps/arm/fsetexcptflg.c: Cleanup.
18019 * sysdeps/arm/ftestexcept.c: Cleanup.
18020 * sysdeps/arm/get-rounding-mode.h: Cleanup.
18021 * sysdeps/arm/setfpucw.c: Cleanup.
18022
f63c86fe
WN
180232014-05-09 Will Newton <will.newton@linaro.org>
18024
18025 * sysdeps/arm/armv7/strcmp.S: New file.
18026 * NEWS: Mention addition of ARMv7 optimized strcmp.
18027
7a1a51b5
RM
180282014-05-08 Roland McGrath <roland@hack.frob.com>
18029
95afbbe5
RM
18030 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
18031 look for %.ac rather than %.in.
18032
18033 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
18034 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
18035 * sysdeps/mach/hurd/configure: Regenerated.
18036 * sysdeps/unix/sysv/linux/configure: Regenerated.
18037
7a1a51b5
RM
18038 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
18039
5057ad3b
SE
180402014-05-07 Steve Ellcey <sellcey@mips.com>
18041
18042 [BZ# 16922]
18043 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
18044 (LONG_SUB): Ditto.
18045 (PTR_SUB): Ditto.
18046
8dc97517
AS
180472014-05-07 Andreas Schwab <schwab@suse.de>
18048
18049 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
18050 when skipping over non-matching result from nscd.
18051
ce0c5b8f
OB
180522014-05-07 Ondřej Bílka <neleai@seznam.cz>
18053
18054 [BZ #16876]
18055 * nptl/sockperf.c (client): Check socket return value.
8dc97517 18056
a1189263
OB
18057 [BZ #16877]
18058 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
18059 nscd security class.
ce0c5b8f 18060
0f58d252
RM
180612014-05-06 Roland McGrath <roland@hack.frob.com>
18062
18063 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
18064 * sysdeps/arm/unwind.h: ... here.
18065
83df9ad0
AJ
180662014-05-06 Aurelien Jarno <aurelien@aurel32.net>
18067
ce0c5b8f
OB
18068 [BZ# 16916]
18069 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
18070 Define.
83df9ad0 18071
f360f94a
VR
180722014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18073
18074 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
18075 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
18076 multiarch strncpy for PPC64.
18077 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
18078 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
18079 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
18080 multiarch optimizations.
18081 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18082 (__libc_ifunc_impl_list): Likewise.
18083 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
18084 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
18085 multiarch stpncpy for PPC64.
18086 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
18087 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
18088
978a41c3
AS
180892014-05-06 Andreas Schwab <schwab@suse.de>
18090
18091 [BZ #16912]
18092 * gmon/mcount.c (_MCOUNT_DECL): Use
18093 atomic_compare_and_exchange_bool_acq instead of
18094 catomic_compare_and_exchange_bool_acq.
18095
eb1ed03d
RM
180962014-05-05 Roland McGrath <roland@hack.frob.com>
18097
fe658845
RM
18098 * elf/Makefile (others, install-bin): Remove pldd.
18099 (pldd-modules): Variable removed.
18100 ($(objpfx)pldd): Target removed.
18101 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
18102 (others, install-bin): Append pldd here.
18103 ($(objpfx)pldd): New target.
18104
eb1ed03d
RM
18105 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
18106 to 0, so the first #if test emitted later doesn't see it undefined.
18107 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
18108 * sysdeps/gnu/errlist.c: Regenerated.
18109
19c4bec0
AZ
181102014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18111
18112 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18113 [libc_hidden_builtin_def]: Define to empty value.
18114 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
18115 [libc_hidden_builtin_def]: Likewise.
18116 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
18117 [libc_hidden_builtin_def]: Likewise.
18118 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
18119 [libc_hidden_builtin_def]: Likewise.
18120 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
18121 __redirect_memcpy and define ifunc as default hidden symbol.
18122 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
18123 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
18124
7776e669
AC
181252014-05-04 Adam Conrad <adconrad@0c3.net>
18126
18127 * locale/iso-4217.def: Reintroduce XDR currency.
18128
d69aeb12
AM
181292014-05-04 Allan McRae <allan@archlinux.org>
18130
18131 * po/eo.po: Update Esperanto translation from translation project.
18132
8f1df5cf
CD
181332014-05-02 Carlos O'Donell <carlos@redhat.com>
18134
18135 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
18136 and FEATURE_INDEX_MAX to 1.
18137 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
18138
13e402e7
SE
181392014-05-01 Steve Ellcey <sellcey@mips.com>
18140
18141 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
18142 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
18143 * iconvdata/big5.c (ONE_DIRECTION): Define.
18144 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
18145 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
18146 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
18147 * iconvdata/cp932.c (ONE_DIRECTION): Define.
18148 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
18149 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
18150 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
18151 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
18152 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
18153 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
18154 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
18155 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
18156 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
18157 * iconvdata/gbk.c (ONE_DIRECTION): Define.
18158 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
18159 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
18160 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
18161 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
18162 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
18163 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
18164 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
18165 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
18166 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
18167 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
18168 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
18169 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
18170 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
18171 * iconvdata/iso646.c (ONE_DIRECTION): Define.
18172 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
18173 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
18174 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
18175 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
18176 * iconvdata/johab.c (ONE_DIRECTION): Define.
18177 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
18178 * iconvdata/sjis.c (ONE_DIRECTION): Define.
18179 * iconvdata/t.61.c (ONE_DIRECTION): Define.
18180 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
18181 * iconvdata/tscii.c (ONE_DIRECTION): Define.
18182 * iconvdata/uhc.c (ONE_DIRECTION): Define.
18183 * iconvdata/unicode.c (ONE_DIRECTION): Define.
18184 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
18185 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
18186 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
18187
c727f032
RM
181882014-05-01 Roland McGrath <roland@hack.frob.com>
18189
8f2f08d0
RM
18190 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
18191 (_IO_JUMPS_OFFSET): Define to 0.
18192
c727f032
RM
18193 * nptl/sysdeps/pthread/bits/libc-lock.h
18194 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
18195 (__libc_lock_define_initialized_recursive): Always define using
18196 initializer. Modern compilers treat uninitialized (implicit zero) and
18197 explicit zero initializers the same (i.e. put the datum in bss).
18198
a849e800
AS
181992014-05-01 Andreas Schwab <schwab@linux-m68k.org>
18200
18201 * nscd/nscd-client.h: Include <string.h>.
18202
5331255b
DM
182032014-05-01 David S. Miller <davem@davemloft.net>
18204
18205 [BZ #16885]
18206 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
18207 multiple zero bytes exist at the end of a string.
18208 Reported by Aurelien Jarno <aurelien@aurel32.net>
18209
18210 * string/test-strcmp.c (check): Add explicit test for situations where
18211 there are multiple zero bytes after the first.
18212
4fdfe821
AS
182132014-05-01 Andreas Schwab <schwab@linux-m68k.org>
18214
18215 [BZ #16890]
18216 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
18217 when compiling wprintf.
18218 * stdio-common/tstdiomisc.c (t3): New function.
18219 (main): Call it.
18220
0cdddc25
SE
182212014-05-01 Steve Ellcey <sellcey@mips.com>
18222
18223 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
18224 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
18225 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
18226 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
18227
6426d77e
SE
182282014-05-01 Steve Ellcey <sellcey@mips.com>
18229
18230 * stdlib/longlong.h: Updated from GCC.
18231
6d96f5e4
WN
182322014-05-01 Will Newton <will.newton@linaro.org>
18233 Bernard Ogden <bernie.ogden@linaro.org>
18234
7470db0c
WN
18235 * NEWS: Update fixed bug list.
18236
6d96f5e4
WN
18237 [BZ #15119]
18238 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
18239
211d653c
DM
182402014-04-30 David S. Miller <davem@davemloft.net>
18241
4fa262fa
DM
18242 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
18243 (libc_feholdexcept_setround_sparc_ctx): New function.
18244 (libc_fesetenv_sparc_ctx): Likewise.
18245 (libc_feupdateenv_sparc_ctx): Likewise.
18246 (libc_feholdsetround_sparc_ctx): Likewise.
18247 (libc_feholdexcept_setround_ctx): Define.
18248 (libc_feholdexcept_setroundf_ctx): Likewise.
18249 (libc_feholdexcept_setroundl_ctx): Likewise.
18250 (libc_fesetenv_ctx): Likewise.
18251 (libc_fesetenvf_ctx): Likewise.
18252 (libc_fesetenvl_ctx): Likewise.
18253 (libc_feupdateenv_ctx): Likewise.
18254 (libc_feupdateenvf_ctx): Likewise.
18255 (libc_feupdateenvl_ctx): Likewise.
18256 (libc_feresetround_ctx): Likewise.
18257 (libc_feresetroundf_ctx): Likewise.
18258 (libc_feresetroundl_ctx): Likewise.
18259 (libc_feholdsetround_ctx): Likewise.
18260 (libc_feholdsetroundf_ctx): Likewise.
18261 (libc_feholdsetroundl_ctx): Likewise.
18262
1d3d93ef
DM
18263 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18264 with __USE_GNU instead of XOPEN cpp guards.
18265
8aa583c3
DM
18266 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
18267 0.
18268
211d653c
DM
18269 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18270 with XOPEN cpp guards.
18271
60c8f1f6
JB
182722014-04-30 Julian Brown <julian@codesourcery.com>
18273
18274 [BZ #16888]
18275 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
18276 handling.
18277
9a461d46
JM
182782014-04-30 Joseph Myers <joseph@codesourcery.com>
18279
d0f5b3f8
JM
18280 [BZ #9894]
18281 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18282 Change to 2.6.32.
18283 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
18284 * sysdeps/unix/sysv/linux/configure: Regenerated.
18285 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
18286 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
18287 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
18288 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
18289 * README: Update reference to required Linux kernel version.
18290 * manual/install.texi (Linux): Update reference to required Linux
18291 kernel headers version.
18292 * INSTALL: Regenerated.
18293
9a461d46
JM
18294 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
18295 header inclusion.
18296 [POSIX] (limits.h): Likewise.
18297 [POSIX] (math.h): Likewise.
18298 [POSIX] (sys/wait.h): Likewise.
18299 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
18300 function.
18301 [POSIX] (stddef.h): Do not allow header inclusion.
18302
1775babf
AZ
183032014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18304
57f41c40 18305 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 18306
8f630cca
YY
183072014-04-30 Yang Yingliang <yangyingliang@huawei.com>
18308
18309 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18310 Return immediately after lll_futex_wake.
18311
1cdeb237
SP
183122014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18313
bc8f194c
SP
18314 [BZ #16791]
18315 * nscd/nscd-client.h (datahead_init_common): Initialize entire
18316 structure.
18317 (datahead_init_pos): Call datahead_init_common early.
18318 (datahead_init_neg): Likewise.
18319
1cdeb237
SP
18320 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
18321 datahead_init_neg): New functions.
18322 * nscd/aicache.c (addhstaiX): Use them.
18323 * nscd/grpcache.c (cache_addgr): Likewise.
18324 * nscd/hstcache.c (cache_addhst): Likewise.
18325 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18326 * nscd/netgroupcache.c (do_notfound): Likewise.
18327 (addgetnetgrentX): Likewise.
18328 (addinnetgrX): Likewise.
18329 * nscd/pwdcache.c (cache_addpw): Likewise.
18330 * nscd/servicescache.c (cache_addserv): Likewise.
18331
16b293a7
SP
183322014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18333 Atsushi Onoe <atsushi@onoe.org>
18334
18335 [BZ #14308]
18336 [BZ #12994]
18337 [BZ #13651]
18338 * resolv/res_query.c (__libc_res_nsearch): Return if at least
18339 one response is valid.
18340 * resolv/res_send.c (send_dg): Check for validity of other
18341 response if the current response is a referral.
18342
a28a9b94
SE
183432014-04-29 Steve Ellcey <sellcey@mips.com>
18344
18345 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
18346
2ca180e9
SL
183472014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
18348
18349 [BZ #16823]
18350 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
18351 Always divide by positive zero when computing -Inf result.
18352 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18353 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
18354
18f2945a
AZ
183552014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18356
18357 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
18358 FPSCR if value do not change.
18359 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18360 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
18361 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18362 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18363 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
18364 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
18365 function.
18366
5abebba4
CD
183672014-05-29 Carlos O'Donell <carlos@systemhalted.org>
18368
18369 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
18370 * sysdeps/unix/sysv/linux/hppa: Move directory from
18371 ports/systeps/unix/sysv/linux/hppa.
18372 * README: Update listing for hppa-*-linux-gnu.
18373
f7ed60c2
OB
183742014-04-28 Ondřej Bílka <neleai@seznam.cz>
18375
fff763a5
OB
18376 [BZ #16754]
18377 * manual/stdio.texi (Hook functions): Fix types of stream hook
18378 functions.
f7ed60c2
OB
18379 [BZ #16854]
18380 * socket/sys/socket.h: Fix typo in comment.
18381
df639d73
WD
183822014-04-28 Wilco <wdijkstr@arm.com>
18383
f7ed60c2 18384 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
18385 * sysdeps/arm/math_private.h: New file.
18386 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
18387
48332d82
L
183882014-04-25 H.J. Lu <hongjiu.lu@intel.com>
18389
18390 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
18391 with __int128_t.
18392 (La_x86_64_retval): Likewise.
18393
e5e0d9a4
IB
183942014-04-24 Ian Bolton <ian.bolton@arm.com>
18395
18396 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
18397 fpsr if value didn't change.
18398 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
18399 to fpcr if value didn't change.
18400 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
18401 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
18402 fpsr or fpcr if value didn't change.
18403 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
18404 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
18405 fpcr if value didn't change.
18406 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
18407 to fpsr if value didn't change.
18408
bacc75f7
SP
184092014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18410
18411 * nptl/tst-sem3.c: Use test-skeleton.c
18412 (main): Rename to do_test. Use return instead of
18413 exit.
18414 * nptl/tst-sem4.c: Use test-skeleton.c
18415 (main): Rename to do_test.
18416
a059d359
DM
184172014-04-22 David S. Miller <davem@davemloft.net>
18418
18419 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
18420 (struct sigaction): New struct member __glibc_reserved0, change
18421 type of sa_flags to int.
18422
ea6c92f3
YZ
184232014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
18424
18425 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
18426 (COUNT_LEADING_ZEROS_0): Define for AArch64.
18427
766c4a36
SP
184282014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18429
18430 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
18431 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
18432
140cc7ab
VK
184332014-04-22 Will Newton <will.newton@linaro.org>
18434 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
18435
18436 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
18437 (__longjmp): Add longjmp and longjmp_target SystemTap
18438 probes.
18439 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
18440 (__sigsetjmp): Add setjmp SystemTap probe.
18441
c54e5cf7
CD
184422014-04-17 Carlos O'Donell <carlos@redhat.com>
18443
18444 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
18445 match manual order.
18446
75ffb047
AZ
184472014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18448
18449 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
18450
2cd925f7
AZ
18451 * sysdeps/powerpc/fpu/fenv_private.h
18452 (libc_feholdexcept_setroundl_ctx): Define to
18453 libc_feholdexcept_setround_ppc_ctx.
18454 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
18455 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
18456 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
18457 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
18458
39e6cd8d
IB
184592014-04-17 Ian Bolton <ian.bolton@arm.com>
18460
18461 * sysdeps/aarch64/math-tests.h: New file.
18462
f9281df9
SY
184632014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
18464
18465 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
18466 New.
18467 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18468 Check and set bit_AVX2_Usable.
18469 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
18470 macro.
18471 (bit_AVX2): Likewise.
18472 (index_AVX2_Usable): Likewise.
18473 (CPUID_AVX2): Likewise.
18474 (HAS_AVX2): Likewise.
18475
37d35007
WN
184762014-04-17 Will Newton <will.newton@linaro.org>
18477
7c677662
WN
18478 * manual/setjmp.texi (System V contexts): Add note that
18479 calling setcontext on a context created by a call to a
18480 signal handler is undefined. Update text to note that
18481 setcontext from a signal handler is possible but not
18482 recommended.
18483
37d35007 18484 [BZ #16629]
e04a4e9d
WN
18485 * stdlib/tst-setcontext.c: Include signal.h.
18486 (main): Check that the signal stack before and
18487 after swapcontext is the same.
18488
37d35007
WN
18489 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
18490 Re-implement to restore registers in user code and avoid
18491 rt_sigreturn system call.
18492
423a7160
W
184932014-04-17 Wilco <wdijkstr@arm.com>
18494
18495 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
18496 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
18497 * math/test-fenv.c: Skip exception trap tests on targets which only
18498 support non-stop mode.
18499
bc93ab29
IB
185002014-04-17 Ian Bolton <ian.bolton@arm.com>
18501 Wilco Dijkstra <wilco.dijkstra@arm.com>
18502
18503 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
18504 (libc_feholdsetround_aarch64_ctx)
18505 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
18506 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
18507 (libc_feresetround_ctx, libc_feresetroundf_ctx)
18508 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
18509 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
18510 (libc_feresetround_noexl_ctx): Define.
18511
95fc5fa3
RH
185122014-04-16 Richard Henderson <rth@redhat.com>
18513
ddb04724
RH
18514 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
18515
d77c0899
RH
18516 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
18517 unwind tables.
18518
a3df56fc
RH
18519 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
18520 const from the non-libc, non-ldso copy.
18521
95fc5fa3
RH
18522 * sysdeps/alpha/libm-test-ulps: Regenerate.
18523
7e0b6763
IB
185242014-04-16 Ian Bolton <ian.bolton@arm.com>
18525 Wilco Dijkstra <wilco.dijkstra@arm.com>
18526
18527 * sysdeps/aarch64/fpu/math_private.h: New file.
18528
a9ea2e0c
MS
185292014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
18530
18531 * sysdeps/aarch64/libm-test-ulps: Regenerate.
18532
ea8ba7cd
IZ
185332014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
18534
7e54fd04 18535 [BZ #16275]
ea8ba7cd
IZ
18536 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
18537 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
18538 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
18539 Intel MPX bound registers before _dl_profile_fixup.
18540 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
18541 registers after _dl_profile_fixup. Save and restore bound
18542 registers bnd0/bnd1 when calling _dl_call_pltexit.
18543 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
18544 (LR_BND_OFFSET): Likewise.
18545 (LRV_BND0_OFFSET): Likewise.
18546 (LRV_BND1_OFFSET): Likewise.
18547
9f2a4fbc
ST
185482014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18549
18550 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
18551 to...
18552 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
18553 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
18554 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
18555 fields.
9f2a4fbc 18556
fd15a59b
ST
185572014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18558
18559 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
18560
f19dfa0a
SL
185612014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18562
18563 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18564
4fa8bc3b
SL
185652014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18566
18567 [BZ #14770]
18568 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
18569 * sysdeps/s390/configure: Regenerate.
18570
8ea587db
SL
18571 [BZ #16824]
18572 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
18573 Set round-to-nearest internally to reduce error accumulation.
18574
aa5f0ff1
AM
185752014-04-16 Alan Modra <amodra@gmail.com>
18576
18577 [BZ #16740]
18578 [BZ #16619]
18579 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
18580 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 18581 * NEWS: Update fixed bug list.
aa5f0ff1 18582
bb9c256f
SP
185832014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18584
18585 * benchtests/Makefile: Depend on libraries in build directory.
18586 (bench-math): Separate out math tests.
18587 (bench-pthread): Separate out pthread tests.
18588 (bench): Include math and pthread tests.
18589
f737dfd0
CD
185902014-04-14 Carlos O'Donell <carlos@redhat.com>
18591
18592 [BZ #16831]
18593 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
18594 _dl_debug_initialize.
18595
0699f766
CD
18596 * configure.ac: Remove SELinux header check.
18597 * configure: Regenerate.
18598 * nscd/selinux.c (perms): Array of const char* to permission names.
18599 (nscd_request_avc_has_perm): Call security_deny_unknown to find
18600 default policy. Call string_to_security_class and string_to_av_perm to
18601 translate strings. Enforce default policy and call avs_has_perm with
18602 results of translated strings.
18603
809bd45f
DM
186042014-04-13 David S. Miller <davem@davemloft.net>
18605
18606 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18607
89e691f2
AM
186082014-04-12 Allan McRae <allan@archlinux.org>
18609
18610 [BZ #16838]
18611 * manual/string.texi (Collation Functions): Fix qsort argument
18612 order in example.
18613 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18614
9c9daaeb
CM
186152014-04-11 Chris Metcalf <cmetcalf@tilera.com>
18616
18617 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
18618 Make the test a no-op if there are no exceptions defined.
18619
95561fb9
PP
186202014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
18621
fe8d072c 18622 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
18623 enable-hardcoded-path-in-tests
18624
970c602a
WN
186252014-04-11 Will Newton <will.newton@linaro.org>
18626
18627 * benchtests/Makefile (extra-objs): Add json-lib.o.
18628 (bench-func): Tidy up JSON output.
18629 * benchtests/bench-skeleton.c: Include json-lib.h.
18630 (main): Use JSON library functions to do output of
18631 benchmark results.
18632 * benchtests/bench-timing-type.c (main): Output the
18633 timing type simply, leaving formatting to the user.
18634 * benchtests/json-lib.c: New file.
18635 * benchtests/json-lib.h: Likewise.
18636
36875b06
TR
186372014-04-11 Torvald Riegel <triegel@redhat.com>
18638
18639 [BZ #15215]
18640 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
18641 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
18642 memory barriers. Add comments.
18643 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
18644 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
18645 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
18646 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
18647 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
18648 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
18649
579db35a
SL
186502014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18651
18652 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
18653 * sysdeps/s390/s390-64/configure.ac: ... this ...
18654 * sysdeps/s390/configure.ac: ... to here.
18655 * sysdeps/s390/s390-32/configure: Delete file.
18656 * sysdeps/s390/s390-64/configure: Delete file.
18657 * sysdeps/s390/configure: Regenerate.
18658
c12e9f37
JAPH
186592014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
18660
18661 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
18662
439bda32
WN
186632014-04-11 Will Newton <will.newton@linaro.org>
18664
18665 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
18666 to zero if it is not defined elsewhere. (mtrim): Test
18667 the value of MALLOC_DEBUG with #if rather than #ifdef.
18668
6a5d6ea1
TR
186692014-04-10 Torvald Riegel <triegel@redhat.com>
18670
18671 * benchtests/pthread_once-inputs: New file.
18672 * benchtests/pthread_once-source.c: New file.
18673 * benchtests/README: Update documentation.
18674
a4c75cfd
IZ
186752014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
18676 H.J. Lu <hongjiu.lu@intel.com>
18677
7e54fd04 18678 [BZ #16275]
a4c75cfd
IZ
18679 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
18680 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
18681 * sysdeps/x86_64/configure: Regenerated.
18682 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
18683 macro.
18684 (REGISTER_SAVE_RAX): Likewise.
18685 (REGISTER_SAVE_RCX): Likewise.
18686 (REGISTER_SAVE_RDX): Likewise.
18687 (REGISTER_SAVE_RSI): Likewise.
18688 (REGISTER_SAVE_RDI): Likewise.
18689 (REGISTER_SAVE_R8): Likewise.
18690 (REGISTER_SAVE_R9): Likewise.
18691 (REGISTER_SAVE_BND0): Likewise.
18692 (REGISTER_SAVE_BND1): Likewise.
18693 (REGISTER_SAVE_BND2): Likewise.
18694 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
18695 bound registers when calling _dl_fixup.
18696
27822ce6
AZ
186972014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18698
18699 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
18700 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
18701 of its definition.
27822ce6
AZ
18702 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
18703 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
18704 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
18705 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
18706 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
18707 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
18708 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
18709
a88ddc90
PTB
187102014-04-09 Peter Brett <peter@peter-b.co.uk>
18711
18712 [BZ #15514]
18713 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
18714 pathconf(_PC_NAME_MAX).
18715
01f8eac2
AZ
187162014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18717
18718 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
18719 Remove macro usage.
18720 (__PTHREAD_SPINS): Move definition to ...
18721 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18722 (__PTHREAD_SPINS): ... here.
18723 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18724 (__PTHREAD_SPIN): Likewise.
18725 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
18726 (__PTHREAD_SPIN): Likewise.
18727 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
18728 (__PTHREAD_SPIN): Likewise.
18729 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
18730 (__PTHREAD_SPIN): Likewise.
18731 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18732 (__PTHREAD_SPIN): Likewise.
18733 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18734 (__PTHREAD_SPIN): Likewise.
18735 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
18736 (__PTHREAD_SPIN): Likewise.
18737 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18738 (__PTHREAD_SPIN): Likewise.
18739 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18740 (__PTHREAD_SPIN): Likewise.
18741 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18742 (__PTHREAD_SPIN): Likewise.
18743 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18744 (__PTHREAD_SPIN): Likewise.
18745 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
18746 (__PTHREAD_SPIN): Likewise.
18747
de21c33c
AZ
18748 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
18749 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
18750 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
18751 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
18752 imply folder.
18753 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18754 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18755 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18756 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
18757 correct imply path.
18758 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
18759 strlen symbol for non multi-arch builds.
18760 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
18761 missing hidden_def and weak_alias.
18762
862c472e
CD
187632014-04-08 Carlos O'Donell <carlos@redhat.com>
18764
18765 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
18766
8667f90e
WN
187672014-04-07 Will Newton <will.newton@linaro.org>
18768
18769 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
18770 and contents. [!_LIBC] Remove #ifndef and contents.
18771 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
18772 * string/memccpy.c (__memccpy): Use ANSI prototype.
18773 * string/memfrob.c (memfrob): Likewise.
18774 * string/strcoll.c (STRCOLL): Likewise.
18775 * string/strlen.c (strlen): Likewise.
18776 * string/strtok.c (STRTOK): Likewise.
18777 * string/strcat.c: Remove unused #include of memcopy.h.
18778 (strcat): Use ANSI prototype.
18779 * string/strchr.c: Remove unused #include of memcopy.h.
18780 (strchr): Use ANSI prototype.
18781 * string/strcmp.c: Remove unused #include of memcopy.h.
18782 (strcmp): Use ANSI prototype.
18783 * string/strcpy.c: Remove unused #include of memcopy.h.
18784 (strcpy): Use ANSI prototype.
18785
7ffa9423
AZ
187862014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18787
18788 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
18789 * config.make.in (config-extra-cppflags): Set it from
18790 libc_extra_cppflags.
18791 * configure.ac (libc_extra_cflags): Make it accumulate over
18792 configure fragments.
18793 (libc_extra_cppflags): New flag.
18794 * configure. Regenerate.
18795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
18796 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
18797 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
18798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18799
8bd70862
AZ
18800 [BZ #16815]
18801 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
18802 result for FE_DOWNWARD rounding mode.
18803 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
18804 Likewise.
18805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18806
d42f3448
CM
188072014-04-04 Chris Metcalf <cmetcalf@tilera.com>
18808
18809 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
18810 in function argument name.
18811
1c21d115
DS
188122014-04-03 David Svoboda <svoboda@cert.org>
18813
18814 [BZ #5666]
18815 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
18816 explicitly.
18817
fcccd512
RM
188182014-04-03 Roland McGrath <roland@hack.frob.com>
18819
18820 * elf/dl-unmap-segments.h: New file.
18821 * sysdeps/generic/ldsodefs.h
18822 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
18823 * elf/dl-close.c: Include <dl-unmap-segments.h>.
18824 * elf/dl-fptr.c: Likewise.
18825 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
18826 * sysdeps/aarch64/tlsdesc.c: Likewise.
18827 * sysdeps/arm/tlsdesc.c: Likewise.
18828 * sysdeps/i386/tlsdesc.c: Likewise.
18829 * sysdeps/tile/dl-runtime.c: Likewise.
18830 * sysdeps/x86_64/tlsdesc.c: Likewise.
18831 * elf/dl-load.h: New file.
18832 * elf/dl-load.c: Include it.
18833 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
18834 Macros moved to dl-load.h.
18835 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
18836 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
18837 Use _dl_unmap_segments in place of __munmap.
18838 Break out segment-mapping loop into ...
18839 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
18840
f6488e2b
WN
188412014-04-03 Will Newton <will.newton@linaro.org>
18842
18843 * elf/dl-lookup.c (do_lookup_x): Remove comment
18844 referring to nested function and move variable
18845 declarations down to before first use.
18846
6f05bafe
JM
188472014-04-02 Joseph Myers <joseph@codesourcery.com>
18848
a84e78c8
JM
18849 [BZ #16799]
18850 [BZ #16800]
18851 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
18852 with 0 numerator.
18853 * math/s_catanf.c (__catanf): Likewise.
18854 * math/s_catanh.c (__catanh): Likewise.
18855 * math/s_catanhf.c (__catanhf): Likewise.
18856 * math/s_catanhl.c (__catanhl): Likewise.
18857 * math/s_catanl.c (__catanl): Likewise.
18858 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
18859 by positive zero when computing -Inf result.
18860 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
18861 (catanh_test): Likewise.
18862 * sysdeps/i386/fpu/libm-test-ulps: Update.
18863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18864
6f05bafe
JM
18865 [BZ #16789]
18866 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
18867 instead of using underflowing value in computing result.
18868 * math/s_clog10.c (__clog10): Likewise.
18869 * math/s_clog10f.c (__clog10f): Likewise.
18870 * math/s_clog10l.c (__clog10l): Likewise.
18871 * math/s_clogf.c (__clogf): Likewise.
18872 * math/s_clogl.c (__clogl): Likewise.
18873 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
18874 (clog10_test): Likewise.
18875 * sysdeps/i386/fpu/libm-test-ulps: Update.
18876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18877
b0abbc21
AM
188782014-04-02 Alan Modra <amodra@gmail.com>
18879
18880 [BZ #16739]
18881 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
18882 output when value is near a power of two. Use int64_t for lx and
18883 remove casts. Use decimal rather than hex exponent constants.
18884 Don't use long double multiplication when double will suffice.
18885 * math/libm-test.inc (nextafter_test_data): Add tests.
18886 * NEWS: Add 16739 and 16786 to bug list.
18887
af6b1797
AM
18888 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
18889
483818d7
AM
18890 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
18891
f6c55796
WN
188922014-04-01 Will Newton <will.newton@linaro.org>
18893
18894 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
18895 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
18896
13f7fe35
FW
188972014-04-01 Florian Weimer <fweimer@redhat.com>
18898
18899 [BZ #13347]
18900 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
18901 * nptl/tst-setuid2.c: New file.
18902 * nptl/Makefile (xtests): Add tst-setuid2.
18903
c859b32e
AM
189042014-04-01 Alan Modra <amodra@gmail.com>
18905
18906 [BZ #16786]
18907 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
18908
54fa2475
JM
189092014-03-31 Joseph Myers <joseph@codesourcery.com>
18910
8795b4a4
JM
18911 [BZ #6803]
18912 [BZ #6804]
18913 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
18914 set errno as appropriate.
18915 * math/w_scalbf.c (__scalbf): Likewise.
18916 * math/w_scalbl.c (__scalbl): Likewise.
18917 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
18918 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
18919 * math/libm-test.inc (scalb_test_data): Add errno expectations.
18920 Add more NaN tests.
18921
54fa2475
JM
18922 [BZ #16349]
18923 * math/w_atan2.c: Include <errno.h>.
18924 (__atan2): Set errno for result underflowing to zero.
18925 * math/w_atan2f.c: Include <errno.h>.
18926 (__atan2f): Set errno for result underflowing to zero.
18927 * math/w_atan2l.c: Include <errno.h>.
18928 (__atan2l): Set errno for result underflowing to zero.
18929 * math/auto-libm-test-in: Don't allow missing errno for some atan2
18930 tests.
18931 * math/auto-libm-test-out: Regenerated.
18932
757d9dd5
AZ
189332014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18934
18935 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
18936 Encode instruction correctly in little endian.
18937 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
18938 Likewise.
18939 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
18940 Likewise.
18941 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
18942 Likewise.
18943 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
18944 Likewise.
18945
d7a68734
JM
189462014-03-31 Joseph Myers <joseph@codesourcery.com>
18947
47c5adeb
JM
18948 [BZ #9894]
18949 * sysdeps/unix/sysv/linux/kernel-features.h
18950 [__sparc__ && !__arch64__ && !__sparc_v9__]
18951 (__ASSUME_SET_ROBUST_LIST): Do not define.
18952 [__sparc__ && !__arch64__ && !__sparc_v9__]
18953 (__ASSUME_FUTEX_LOCK_PI): Likewise.
18954 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
18955 Likewise.
18956 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18957 (__ASSUME_FUTEX_LOCK_PI): Undefine.
18958 (__ASSUME_REQUEUE_PI): Likewise.
18959 (__ASSUME_SET_ROBUST_LIST): Likewise.
18960 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18961 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
18962 Undefine.
18963 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18964 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
18965 Likewise.
18966 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
18967 Likewise.
18968 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
18969 Likewise.
18970 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18971 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
18972 Undefine.
18973 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
18974 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
18975 Likewise.
18976
d7a68734
JM
18977 [BZ #16648]
18978 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18979 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
18980 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
18981
c760f5c2
WN
189822014-03-31 Will Newton <will.newton@linaro.org>
18983
18984 * benchtests/Makefile (bench): Add ffs and ffsll to list
18985 of tests.
18986 * benchtests/ffs-inputs: New file.
18987 * benchtests/ffsll-inputs: Likewise.
18988
ea6029b1
JM
189892014-03-29 Joseph Myers <joseph@codesourcery.com>
18990
18991 [BZ #16770]
18992 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
18993 too large before casting to int.
18994 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
18995 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
18996 * math/libm-test.inc (scalb_test_data): Add more tests.
18997
cf806aff
SP
189982014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18999
56737508
SP
19000 * benchtests/Makefile (DETAILED_OPT): New make option.
19001 (bench-func): Run benchmark program with -d if DETAILED_OPT is
19002 set.
19003 * benchtests/bench-skeleton.c: Include stdbool.h.
19004 (main): Store and print timings per input.
19005 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
19006 member to each argument value.
19007 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
19008 (_print_arg_data): Initialize per-input timing to 0.
19009
cb5e4aad
SP
19010 * benchtests/Makefile (timing-type): New binary.
19011 (bench-clean): Also remove bench-timing-type.
19012 (bench): New target for timing-type.
19013 (bench-func): Print output in JSON format.
19014 * benchtests/bench-skeleton.c (main): Print output in JSON
19015 format.
19016 * benchtests/bench-timing-type.c: New file.
19017 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
19018 (TIMING_PRINT_STATS): Remove.
19019 * benchtests/scripts/bench.py (_print_arg_data): Store variant
19020 name separately.
19021
cf806aff
SP
19022 * benchtests/bench-modf.c: Remove.
19023 * benchtests/modf-inputs: New inputs file.
19024
289e0779
JM
190252014-03-28 Joseph Myers <joseph@codesourcery.com>
19026
19027 [BZ #16362]
19028 * math/s_clog10.c (M_PI_LOG10E): New macro.
19029 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
19030 imaginary parts are 0.
19031 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
19032 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
19033 imaginary parts are 0.
19034 * math/s_clog10l.c (M_PI_LOG10El): New macro.
19035 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
19036 imaginary parts are 0.
19037 * math/libm-test.inc (clog10_test_data): Update expected results
19038 for when real and imaginary parts are 0.
19039
277ae3f1
PP
190402014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
19041
19042 * elf/dl-load.c: Finish conversion of __builtin_expect into
19043 __glibc_{un}likely.
19044
03a7091f
JM
190452014-03-27 Joseph Myers <joseph@codesourcery.com>
19046
19047 [BZ #16348]
19048 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
19049 1+x for argument with exponent below -67.
19050 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
19051 Likewise.
19052 * math/auto-libm-test-in: Add more tests of exp.
19053 * math/auto-libm-test-out: Regenerated.
19054
ea7d8b95
SP
190552014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19056
dd3022d7
SP
19057 [BZ #16759]
19058 * inet/getnetgrent_r.c (get_nonempty_val): New function.
19059 (nscd_getnetgrent): Use it.
19060
ea7d8b95
SP
19061 [BZ #16760]
19062 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
19063 of stpcpy.
19064
df5b85da
AK
190652014-03-27 Andi Kleen <ak@linux.intel.com>
19066
57f41c40
AS
19067 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
19068 (lll_robust_lock, lll_cond_lock, lll_timedlock)
19069 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19070 (lll_robust_unlock): Remove out of line section. Use cfi
19071 intrinsics.
df5b85da 19072 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
19073 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
19074 (lll_robust_lock, lll_cond_lock, lll_timedlock)
19075 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19076 (lll_robust_unlock): Remove out of line section. Use cfi
19077 intrinsics.
df5b85da
AK
19078 (LLL_STUB_UNWIND_INFO*): Remove.
19079
fbd6b5a4
SP
190802014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19081
19082 [BZ #16758]
19083 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
19084 blank values.
19085
1b26b855
PP
190862014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
19087
19088 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
19089
9be36fb8
JM
190902014-03-26 Joseph Myers <joseph@codesourcery.com>
19091
19092 [BZ #16198]
19093 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
19094 fnstenv.
19095 * math/test-fenv-preserve.c: New file.
19096 * math/Makefile (tests): Add test-fenv-preserve.
19097
60a2f3c1
WN
190982014-03-26 Will Newton <will.newton@linaro.org>
19099
19100 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
19101
a5e5f1e2
RM
191022014-03-25 Roland McGrath <roland@hack.frob.com>
19103
19104 * scripts/versionlist.awk: Partition the version sets and emit all
19105 GLIBC_* (sorted) before all others (sorted).
19106
00f4012a
JM
191072014-03-25 Joseph Myers <joseph@codesourcery.com>
19108
19109 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
19110 GLIBC_2.2.5 version.
19111
7bc5a741
AZ
191122014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19113
19114 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
19115 calls.
19116
7578473b
AZ
19117 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
19118 previous change.
19119
f3f1dab3
AZ
19120 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19121
6da36183
AS
191222014-03-25 Andreas Schwab <schwab@suse.de>
19123
19124 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
19125 label to be used after in6ailist is initialized.
19126
f3f1dab3 191272014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 19128
7578473b 19129 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
19130 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19131
046651c1
JM
191322014-03-25 Joseph Myers <joseph@codesourcery.com>
19133
19134 [BZ #16357]
19135 [BZ #16599]
19136 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
19137 min_plus_half.
19138 (fp_formats): Update initializers.
19139 (init_fp_formats): Initialize new field.
19140 (output_for_one_input_case): Allow underflow for results up to
19141 min_plus_half.
19142 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
19143 * math/auto-libm-test-in: Don't mark some underflows from asin and
19144 atanh as spurious.
19145 * math/auto-libm-test-out: Regenerated.
19146 * sysdeps/i386/fpu/libm-test-ulps: Update.
19147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19148
003e49ed
AS
191492014-03-25 Andreas Schwab <schwab@suse.de>
19150
19151 * libio/Makefile (tst-ftell-partial-wide-ENV)
19152 (tst-ftell-active-handler-ENV): Define.
19153
de031874
SL
191542014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19155
19156 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
19157
55a81e3b
PP
191582014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
19159
19160 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
19161
f3426898
JM
191622014-03-24 Joseph Myers <joseph@codesourcery.com>
19163
19164 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
19165 * sysdeps/x86_64/fpu/multiarch/e_exp.c
19166 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19167
a42faf59
PP
191682014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
19169
19170 [BZ #16634]
a42faf59 19171 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
19172 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
19173 (open_path): Change from boolean 'secure' to complete flag 'mode'
19174 (_dl_map_object): Adjust.
a42faf59
PP
19175 * elf/Makefile (tests): Add tst-dlopen-aout.
19176 * elf/tst-dlopen-aout.c: New test.
19177
50936127
SL
191782014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19179
19180 [BZ #16714]
19181 * sysdeps/unix/sysv/linux/s390/bits/stat.h
19182 (struct stat): Rename member pad0 to __glibc_reserved0.
19183
26011b5c
SL
19184 [BZ #16712]
19185 * sysdeps/s390/s390-32/bits/wordsize.h
19186 (__WORDSIZE32_SIZE_ULONG): New define.
19187 * sysdeps/s390/s390-64/bits/wordsize.h
19188 (__WORDSIZE32_SIZE_ULONG): Likewise.
19189 * sysdeps/generic/stdint.h (SIZE_MAX):
19190 Define as UL if __WORDSIZE32_SIZE_ULONG.
19191
a2d86bf1
SL
19192 [BZ #16713]
19193 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
19194 (__glibc_reserved0): New variable.
19195 (sa_flags): Change type to int.
19196
78b6eebc
SL
19197 * posix/Makefile (before-compile): Use += before-compile instead
19198 of a :=.
19199
f1399b5a
SL
19200 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19201 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19202
a071766e
AS
192032014-03-20 Andreas Schwab <schwab@suse.de>
19204
19205 [BZ #16743]
19206 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
19207 non-matching result from nscd.
19208
27c673b8
SP
192092014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19210
19211 * scripts/bench.py: Moved to ...
19212 * benchtests/scripts/bench.py: ... here.
19213 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
19214
44152e4b
AS
192152014-03-24 Andreas Schwab <schwab@suse.de>
19216
19217 [BZ #16002]
19218 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
19219 alloca_account and account alloca use for struct in6ailist.
19220
b376a11a
JM
192212014-03-24 Joseph Myers <joseph@codesourcery.com>
19222
19223 [BZ #16284]
19224 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
19225 rounding mode to recompute results that overflow to infinity or
19226 underflow to zero.
19227 * math/auto-libm-test-in: Don't mark tests as expected to fail for
19228 bug 16284.
19229 * math/auto-libm-test-out: Regenerated.
19230 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
19231 (ccosh_test): Likewise.
19232 (csin_test_data): Use plus_oflow.
19233 (csin_test): Use ALL_RM_TEST.
19234 (csinh_test_data): Use plus_oflow.
19235 (csinh_test): Use ALL_RM_TEST.
19236 * sysdeps/i386/fpu/libm-test-ulps: Update.
19237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19238
f7be7376
JM
192392014-03-21 Joseph Myers <joseph@codesourcery.com>
19240
1ca2d03e
JM
19241 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
19242 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
19243 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
19244
f7be7376
JM
19245 [BZ #16731]
19246 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
19247 when x - 1 is zero.
19248 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
19249 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
19250 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19251 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
19252 argument is 1.
19253 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
19254 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
19255 zero.
19256 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
19257 * sysdeps/i386/fpu/libm-test-ulps: Update.
19258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19259
fdf4534d
SP
192602014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19261
df26ea53
SP
19262 * scripts/bench.pl: Remove file.
19263 * scripts/bench.py: New benchmark script.
19264 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
19265 * benchtests/README: Mention python dependency.
19266 * scripts/pylintrc: New file.
19267 * scripts/pylint: New file.
19268
fdf4534d
SP
19269 * bits/mathdef.h: Use #ifdef instead of #if.
19270 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
19271 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19272 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
19273 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19274 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
19275 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19276
6f23d093
AZ
192772014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19278 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19279
19280 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
19281 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
19282 and strpbrk-ppc64 objects.
19283 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19284 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
19285 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
19286 multiarch strpbrk for POWER7.
19287 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
19288 multiarch strpbrk for PPC64.
19289 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
19290 ifunc selector.
19291 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
19292 strpbrk for POWER7.
19293
8c92dfff
JM
192942014-03-20 Joseph Myers <joseph@codesourcery.com>
19295
19296 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
19297 (atan_test): Likewise.
19298 (atanh_test_data): Use NO_TEST_INLINE for two tests.
19299 (atanh_test): Use ALL_RM_TEST.
19300 (atan2_test_data): Likewise.
19301 (cabs_test): Likewise.
19302 (cacosh_test): Likewise.
19303 (carg_test): Likewise.
19304 (casin_test): Likewise.
19305 (casinh_test): Likewise.
19306 (cbrt_test): Likewise.
19307 (csqrt_test): Likewise.
19308 (erf_test): Likewise.
19309 (erfc_test): Likewise.
19310 (pow10_test): Likewise.
19311 (exp2_test): Likewise.
19312 (hypot_test): Likewise.
19313 (j0_test): Likewise.
19314 (j1_test): Likewise.
19315 (lgamma_test): Likewise.
19316 (gamma_test): Likewise.
19317 (sincos_test): Likewise.
19318 (tanh_test): Likewise.
19319 (y0_test): Likewise.
19320 (y1_test): Likewise.
19321 * sysdeps/i386/fpu/libm-test-ulps: Update.
19322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19323
6eaf95cb
AZ
193242014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19325
a387428c
SP
19326 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
19327 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
19328 and strcspn-ppc64 objects.
19329 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19330 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
19331 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
19332 multiarch strcspn for POWER7.
19333 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
19334 multiarch strcspn for PPC64.
19335 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
19336 ifunc selector.
19337 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
19338 strcspn for POWER7.
19339
ae3a5dff
JM
193402014-03-20 Joseph Myers <joseph@codesourcery.com>
19341
19342 * math/gen-libm-test.pl (generate_testfile): Expect only function
19343 name as argument to AUTO_TESTS_* and pass results for all rounding
19344 modes to parse_args.
19345 (parse_auto_input): Separate inputs of automatic tests from
19346 outputs before storing in %auto_tests.
19347 * math/libm-test.inc (acos_test_data): Update call to
19348 AUTO_TESTS_f_f.
19349 (acos_test): Use ALL_RM_TEST.
19350 (acos_tonearest_test_data): Remove.
19351 (acos_test_tonearest): Likewise.
19352 (acos_towardzero_test_data): Likewise.
19353 (acos_test_towardzero): Likewise.
19354 (acos_downward_test_data): Likewise.
19355 (acos_test_downward): Likewise.
19356 (acos_upward_test_data): Likewise.
19357 (acos_test_upward): Likewise.
19358 (acosh_test_data): Update call to AUTO_TESTS_f_f.
19359 (asin_test_data): Likewise.
19360 (asin_test): Use ALL_RM_TEST.
19361 (asin_tonearest_test_data): Remove.
19362 (asin_test_tonearest): Likewise.
19363 (asin_towardzero_test_data): Likewise.
19364 (asin_test_towardzero): Likewise.
19365 (asin_downward_test_data): Likewise.
19366 (asin_test_downward): Likewise.
19367 (asin_upward_test_data): Likewise.
19368 (asin_test_upward): Likewise.
19369 (asinh_test_data): Update call to AUTO_TESTS_f_f.
19370 (atan_test_data): Likewise.
19371 (atanh_test_data): Likewise.
19372 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
19373 (cabs_test_data): Update call to AUTO_TESTS_c_f.
19374 (carg_test_data): Likewise.
19375 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
19376 (ccos_test_data): Update call to AUTO_TESTS_c_c.
19377 (ccosh_test_data): Likewise.
19378 (cexp_test_data): Likewise.
19379 (clog_test_data): Likewise.
19380 (clog10_test_data): Likewise.
19381 (cos_test_data): Update call to AUTO_TESTS_f_f.
19382 (cos_test): Use ALL_RM_TEST.
19383 (cos_tonearest_test_data): Remove.
19384 (cos_test_tonearest): Likewise.
19385 (cos_towardzero_test_data): Likewise.
19386 (cos_test_towardzero): Likewise.
19387 (cos_downward_test_data): Likewise.
19388 (cos_test_downward): Likewise.
19389 (cos_upward_test_data): Likewise.
19390 (cos_test_upward): Likewise.
19391 (cosh_test_data): Update call to AUTO_TESTS_f_f.
19392 (cosh_test): Use ALL_RM_TEST.
19393 (cosh_tonearest_test_data): Remove.
19394 (cosh_test_tonearest): Likewise.
19395 (cosh_towardzero_test_data): Likewise.
19396 (cosh_test_towardzero): Likewise.
19397 (cosh_downward_test_data): Likewise.
19398 (cosh_test_downward): Likewise.
19399 (cosh_upward_test_data): Likewise.
19400 (cosh_test_upward): Likewise.
19401 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
19402 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
19403 (ctan_test_data): Likewise.
19404 (ctan_test): Use ALL_RM_TEST.
19405 (ctan_tonearest_test_data): Remove.
19406 (ctan_test_tonearest): Likewise.
19407 (ctan_towardzero_test_data): Likewise.
19408 (ctan_test_towardzero): Likewise.
19409 (ctan_downward_test_data): Likewise.
19410 (ctan_test_downward): Likewise.
19411 (ctan_upward_test_data): Likewise.
19412 (ctan_test_upward): Likewise.
19413 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
19414 (ctanh_test): Use ALL_RM_TEST.
19415 (ctanh_tonearest_test_data): Remove.
19416 (ctanh_test_tonearest): Likewise.
19417 (ctanh_towardzero_test_data): Likewise.
19418 (ctanh_test_towardzero): Likewise.
19419 (ctanh_downward_test_data): Likewise.
19420 (ctanh_test_downward): Likewise.
19421 (ctanh_upward_test_data): Likewise.
19422 (ctanh_test_upward): Likewise.
19423 (erf_test_data): Update call to AUTO_TESTS_f_f.
19424 (erfc_test_data): Likewise.
19425 (exp_test_data): Likewise.
19426 (exp_test): Use ALL_RM_TEST.
19427 (exp_tonearest_test_data): Remove.
19428 (exp_test_tonearest): Likewise.
19429 (exp_towardzero_test_data): Likewise.
19430 (exp_test_towardzero): Likewise.
19431 (exp_downward_test_data): Likewise.
19432 (exp_test_downward): Likewise.
19433 (exp_upward_test_data): Likewise.
19434 (exp_test_upward): Likewise.
19435 (exp10_test_data): Update call to AUTO_TESTS_f_f.
19436 (exp10_test): Use ALL_RM_TEST.
19437 (exp10_tonearest_test_data): Remove.
19438 (exp10_test_tonearest): Likewise.
19439 (exp10_towardzero_test_data): Likewise.
19440 (exp10_test_towardzero): Likewise.
19441 (exp10_downward_test_data): Likewise.
19442 (exp10_test_downward): Likewise.
19443 (exp10_upward_test_data): Likewise.
19444 (exp10_test_upward): Likewise.
19445 (exp2_test_data): Update call to AUTO_TESTS_f_f.
19446 (expm1_test_data): Likewise.
19447 (expm1_test): Use ALL_RM_TEST.
19448 (expm1_tonearest_test_data): Remove.
19449 (expm1_test_tonearest): Likewise.
19450 (expm1_towardzero_test_data): Likewise.
19451 (expm1_test_towardzero): Likewise.
19452 (expm1_downward_test_data): Likewise.
19453 (expm1_test_downward): Likewise.
19454 (expm1_upward_test_data): Likewise.
19455 (expm1_test_upward): Likewise.
19456 (fma_test_data): Update call to AUTO_TESTS_fff_f.
19457 (fma_test): Use ALL_RM_TEST.
19458 (fma_towardzero_test_data): Remove.
19459 (fma_test_towardzero): Likewise.
19460 (fma_downward_test_data): Likewise.
19461 (fma_test_downward): Likewise.
19462 (fma_upward_test_data): Likewise.
19463 (fma_test_upward): Likewise.
19464 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
19465 (j0_test_data): Update call to AUTO_TESTS_f_f.
19466 (j1_test_data): Likewise.
19467 (jn_test_data): Update call to AUTO_TESTS_if_f.
19468 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
19469 (log_test_data): Update call to AUTO_TESTS_f_f.
19470 (log10_test_data): Likewise.
19471 (log1p_test_data): Likewise.
19472 (log2_test_data): Likewise.
19473 (pow_test_data): Update call to AUTO_TESTS_ff_f.
19474 (pow_tonearest_test_data): Likewise.
19475 (sin_test_data): Update call to AUTO_TESTS_f_f.
19476 (sin_test): Use ALL_RM_TEST.
19477 (sin_tonearest_test_data): Remove.
19478 (sin_test_tonearest): Likewise.
19479 (sin_towardzero_test_data): Likewise.
19480 (sin_test_towardzero): Likewise.
19481 (sin_downward_test_data): Likewise.
19482 (sin_test_downward): Likewise.
19483 (sin_upward_test_data): Likewise.
19484 (sin_test_upward): Likewise.
19485 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
19486 (sinh_test_data): Update call to AUTO_TESTS_f_f.
19487 (sinh_test): Use ALL_RM_TEST.
19488 (sinh_tonearest_test_data): Remove.
19489 (sinh_test_tonearest): Likewise.
19490 (sinh_towardzero_test_data): Likewise.
19491 (sinh_test_towardzero): Likewise.
19492 (sinh_downward_test_data): Likewise.
19493 (sinh_test_downward): Likewise.
19494 (sinh_upward_test_data): Likewise.
19495 (sinh_test_upward): Likewise.
19496 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
19497 (sqrt_test): Use ALL_RM_TEST.
19498 (sqrt_tonearest_test_data): Remove.
19499 (sqrt_test_tonearest): Likewise.
19500 (sqrt_towardzero_test_data): Likewise.
19501 (sqrt_test_towardzero): Likewise.
19502 (sqrt_downward_test_data): Likewise.
19503 (sqrt_test_downward): Likewise.
19504 (sqrt_upward_test_data): Likewise.
19505 (sqrt_test_upward): Likewise.
19506 (tan_test_data): Update call to AUTO_TESTS_f_f.
19507 (tan_test): Use ALL_RM_TEST.
19508 (tan_tonearest_test_data): Remove.
19509 (tan_test_tonearest): Likewise.
19510 (tan_towardzero_test_data): Likewise.
19511 (tan_test_towardzero): Likewise.
19512 (tan_downward_test_data): Likewise.
19513 (tan_test_downward): Likewise.
19514 (tan_upward_test_data): Likewise.
19515 (tan_test_upward): Likewise.
19516 (tanh_test_data): Update call to AUTO_TESTS_f_f.
19517 (tgamma_test_data): Likewise.
19518 (y0_test_data): Likewise.
19519 (y1_test_data): Likewise.
19520 (yn_test_data): Update call to AUTO_TESTS_if_f.
19521 (main): Do not call removed functions.
19522
d71aeee8
JM
195232014-03-19 Joseph Myers <joseph@codesourcery.com>
19524
19525 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
19526 (ldexp_test_data): Remove.
19527 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
19528 scalbn_test_data.
19529 (scalb_test): Use ALL_RM_TEST.
19530
baaf1ded
AS
195312014-03-19 Andreas Schwab <schwab@suse.de>
19532
19533 * nscd/nscd.service: Also invalidate netgroup cache on reload.
19534
b1115e91
JM
195352014-03-19 Joseph Myers <joseph@codesourcery.com>
19536
19537 [BZ #16649]
19538 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19539 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
19540 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
19541 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19542 (__ASSUME_PREADV): Undefine.
19543 (__ASSUME_PWRITEV): Likewise.
19544
0283ecca
RM
195452014-03-18 Roland McGrath <roland@hack.frob.com>
19546
7d375303
RM
19547 * bits/mman-linux.h: Add comment about non-Linux use.
19548 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
19549 bits/mman-linux.h resting place.
19550
0283ecca
RM
19551 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
19552 * bits/mman-linux.h: ... here.
19553
aebe1003
AZ
195542014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19555
19556 * conform/conformtest.pl: Add standard definition when calling C
19557 preprocessor on data files.
19558 (checknamespace): Remove unused variable.
19559
b29b6bb8
JM
195602014-03-18 Joseph Myers <joseph@codesourcery.com>
19561
19562 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
19563 minus_oflow, plus_uflow and minus_uflow in expected results.
19564 * math/libm-test.inc (scalbn_test_data): Add more tests of
19565 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
19566 minus_uflow.
19567 (scalbn_test): Use ALL_RM_TEST.
19568 (scalbln_test_data): Add more tests of negative arguments. Use
19569 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
19570 (scalbln_test): Use ALL_RM_TEST.
19571
c8f8fa15
RM
195722014-03-18 Roland McGrath <roland@hack.frob.com>
19573
19574 * scripts/abilist.awk: Ignore symbols marked with .hidden.
19575
fede7a5f
WN
195762014-03-18 Will Newton <will.newton@linaro.org>
19577
19578 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
19579 inaccurate comment.
19580
80cf0a58
JM
195812014-03-18 Joseph Myers <joseph@codesourcery.com>
19582
19583 * Makerules [!subdir] (check-abi): Exit with error status if a
19584 test failed.
19585
b3620862
JM
195862014-03-17 Joseph Myers <joseph@codesourcery.com>
19587
19588 * math/libm-test.inc (nearbyint_test_data): Include all tests used
19589 for rint. Include results for all rounding modes.
19590 (nearbyint_test): Use ALL_RM_TEST.
19591 (rint_test_data): Include all tests used for nearbyint.
19592
788bba36
WN
195932014-03-17 Will Newton <will.newton@linaro.org>
19594
04ec140a
WN
19595 * nptl/sysdeps/pthread/pthread.h: Revert previous
19596 change.
19597
7579d8d5
WN
19598 * sysdeps/generic/ldsodefs.h: Revert previous
19599 change.
19600
c15cf13a
WN
19601 * libio/genops.c: Revert previous change.
19602 * libio/libioP.h: Likewise.
19603 * stdio-common/vfprintf.c: Likewise.
19604
d0ac1324
WN
19605 * sysdeps/generic/math_private.h: Revert previous
19606 change.
19607
9290130a
WN
19608 * sysdeps/generic/math_private.h: Check whether
19609 HAVE_RM_CTX is defined with #ifdef rather
19610 than #if.
19611
afb466fc
WN
19612 * argp/argp-fmtstream.h: Check whether
19613 __STRICT_ANSI__ is defined with #ifdef rather
19614 than #if.
19615 * argp/argp.h: Likewise.
19616
f7efd7c3
WN
19617 * libio/genops.c: Check whether
19618 _IO_JUMPS_OFFSET is defined with #ifdef rather
19619 than #if.
19620 * libio/libioP.h: Likewise.
19621 * stdio-common/vfprintf.c: Likewise.
19622
53f1bed3
WN
19623 * sysdeps/generic/ldsodefs.h: Check whether
19624 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
19625 than #if.
19626
788bba36
WN
19627 * nptl/sysdeps/pthread/pthread.h: Check
19628 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
19629 its value.
19630
fcd89ebe
SP
196312014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19632
ae42bbc5
SP
19633 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
19634 setting O_APPEND.
19635 * libio/tst-ftell-active-handler.c (do_append_test): Add a
19636 test case.
19637
ea33158c
SP
19638 [BZ #16680]
19639 * libio/fileops.c (_IO_file_open): Seek to end of file but
19640 don't cache the offset.
19641 (get_file_offset): Remove function.
19642 (do_ftell): Use cached offset when available.
19643 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
19644 don't cache the offset.
19645 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
19646 case.
19647 (do_one_test): Call it.
19648 (do_ftell_test): Fix up expected old offset for a+ mode.
19649 * libio/wfileops.c (do_ftell_wide): Used cached offset when
19650 available.
19651
b1dbb426
SP
19652 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
19653 up test status with function return status.
19654 (do_write_test): Likewise.
19655 (do_append_test): Likewise.
19656
fcd89ebe
SP
19657 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
19658 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
19659 Remove.
19660
9962a2d3
JM
196612014-03-17 Joseph Myers <joseph@codesourcery.com>
19662
19663 * math/gen-libm-test.pl (parse_args): Handle results specified for
19664 each rounding mode separately.
19665 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
19666 tests and results from lrint_tonearest_test_data,
19667 lrint_towardzero_test_data, lrint_downward_test_data and
19668 lrint_upward_test_data.
19669 (lrint_test): Use ALL_RM_TEST.
19670 (lrint_tonearest_test_data): Remove.
19671 (lrint_test_tonearest): Likewise.
19672 (lrint_towardzero_test_data): Likewise.
19673 (lrint_test_towardzero): Likewise.
19674 (lrint_downward_test_data): Likewise.
19675 (lrint_test_downward): Likewise.
19676 (lrint_upward_test_data): Likewise.
19677 (lrint_test_upward): Likewise.
19678 (llrint_test_data): Merge in per-rounding-mode tests and results
19679 from llrint_tonearest_test_data, llrint_towardzero_test_data,
19680 llrint_downward_test_data and llrint_upward_test_data.
19681 (llrint_test): Use ALL_RM_TEST.
19682 (llrint_tonearest_test_data): Remove.
19683 (llrint_test_tonearest): Likewise.
19684 (llrint_towardzero_test_data): Likewise.
19685 (llrint_test_towardzero): Likewise.
19686 (llrint_downward_test_data): Likewise.
19687 (llrint_test_downward): Likewise.
19688 (llrint_upward_test_data): Likewise.
19689 (llrint_test_upward): Likewise.
19690 (rint_test_data): Merge in per-rounding-mode tests and results
19691 from rint_tonearest_test_data, rint_towardzero_test_data,
19692 rint_downward_test_data and rint_upward_test_data. Add
19693 per-rounding-mode results for tests not in those arrays.
19694 (rint_test): Use ALL_RM_TEST.
19695 (rint_tonearest_test_data): Remove.
19696 (rint_test_tonearest): Likewise.
19697 (rint_towardzero_test_data): Likewise.
19698 (rint_test_towardzero): Likewise.
19699 (rint_downward_test_data): Likewise.
19700 (rint_test_downward): Likewise.
19701 (rint_upward_test_data): Likewise.
19702 (rint_test_upward): Likewise.
19703 (main): Don't call removed functions.
19704
5006148e
RM
197052014-03-14 Roland McGrath <roland@hack.frob.com>
19706
19707 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
19708 "Compiled on ..." crapola. It is anti-useful.
19709
d6fe5e58
JM
197102014-03-14 Joseph Myers <joseph@codesourcery.com>
19711
19712 * scripts/evaluate-test.sh: Handle fourth argument to determine
19713 whether test run should stop on failure.
19714 * Makeconfig (stop-on-test-failure): New variable.
19715 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
19716 $(stop-on-test-failure).
19717 * Makefile (tests): Give a summary of results from testing and
19718 exit with failure status if they include an ERROR or FAIL.
19719 (xtests): Likewise.
19720 * manual/install.texi (Configuring and compiling): Mention
19721 stop-on-test-failure=y.
19722 * INSTALL: Regenerated.
19723
498a2233
RM
197242014-03-14 Roland McGrath <roland@hack.frob.com>
19725
22dbc19d
RM
19726 * scripts/versionlist.awk: New file.
19727 * Makerules [$(build-shared) = yes]
19728 (postclean-generated): Add Versions.def, not Versions.def.v and
19729 Versions.def.v.i.
19730 ($(common-objpfx)Versions.def.v.i): Target removed.
19731 ($(common-objpfx)Versions.def): New target.
19732 ($(common-objpfx)Versions.all): Depend on that rather that
19733 $(common-objpfx)Versions.def.v.
19734 * Versions.def: File removed.
19735
498a2233
RM
19736 * Makeconfig (+gccwarn): Add -Wundef.
19737 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
19738 a dl-sysdep.h breaking its contract.
19739 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
19740 * include/stackinfo.h: New file.
19741 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
19742 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
19743 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
19744 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
19745 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
19746 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
19747 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19748 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19749 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19750 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19751 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19752 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
19753 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19754 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19755 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19756
c7de5025
AZ
197572014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19758
19759 [BZ #16707]
19760 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
19761 implementation.
19762 * math/libm-test.inc (round_test_data): Add more tests.
19763
98fb27a3
AZ
19764 [BZ #16706]
19765 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
19766 implementation.
19767 * math/libm-test.inc (nearbyint_test_data): Add more tests.
19768
374f7f61
AZ
19769 [BZ #16701]
19770 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
19771 implementation.
19772 * math/libm-test.inc (ceil_test_data): Add more tests.
19773
4655c291
AZ
19774 * math/libm-test.inc (trunc_test_data): Add more tests related to
19775 BZ#16414.
19776
d7329d4b
RM
197772014-03-14 Roland McGrath <roland@hack.frob.com>
19778
19779 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
19780 with #if rather than #ifdef.
19781 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
19782
aa4de9ce
L
197832014-03-14 H.J. Lu <hongjiu.lu@intel.com>
19784
19785 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
19786 first. Disable AVX-512 GCC support if assembler doesn't support
19787 it.
19788 * sysdeps/x86_64/configure: Regenerated.
19789
2e03fae7
CD
197902014-03-13 Carlos O'Donell <carlos@redhat.com>
19791
19792 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
19793 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
19794 (__old_pthread_attr_setstack): Likewise.
19795 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
19796 [!_STACK_GROWS_DOWN]: Likewise.
19797
43ca83ec
MF
197982014-03-13 Mike Frysinger <vapier@gentoo.org>
19799
19800 * config.make.in (have-bash2): Delete.
19801 * configure.ac (libc_cv_have_bash2): Delete.
19802 * configure: Regenerate.
19803 * elf/Makefile (common-ldd-rewrite): Rename to ...
19804 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
19805 (sh-ldd-rewrite): Delete.
19806 (bash-ldd-rewrite): Delete.
19807 (have-bash2): Delete checks.
57f41c40
AS
19808 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
19809 ldd-rewrite.
c66e48b4
MF
19810
19811 * config.make.in (have-ksh): Delete.
19812 (KSH): Delete.
19813 * configure.ac (libc_cv_have_ksh): Delete.
19814 * configure: Regenerate.
19815
b93834ef
MF
19816 * elf/Makefile: Delete $(have-ksh) check.
19817 ($(objpfx)sotruss): Change KSH to BASH.
19818 * elf/sotruss.ksh: Rename to ...
19819 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
19820 function style to match POSIX. Drop ksh vim mode setting.
19821
f3a4632a
MF
19822 * manual/time.texi (Specifying the Time Zone with TZ): Change
19823 Tuesday to Thursday.
19824
5896c8bd
MF
19825 * debug/tst-longjmp_chk2.c: Update header comment.
19826 (stackoverflow_handler): Add comment. Call assert on pass value.
19827
2d63a517
IZ
198282014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
19829
7e54fd04 19830 [BZ #16194]
2d63a517
IZ
19831 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
19832 (HAVE_AVX512_ASM_SUPPORT): Likewise.
19833 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
19834 (La_x86_64_vector): Add zmm.
19835 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
19836 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
19837 ($(objpfx)tst-audit10): New target.
19838 ($(objpfx)tst-audit10.out): Likewise.
19839 (tst-audit10-ENV): New.
19840 (AVX512-CFLAGS): Likewise.
19841 (CFLAGS-tst-audit10.c): Likewise.
19842 (CFLAGS-tst-auditmod10a.c): Likewise.
19843 (CFLAGS-tst-auditmod10b.c): Likewise.
19844 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
19845 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
19846 * sysdeps/x86_64/configure: Regenerated.
19847 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
19848 AVX-512 zmm register support.
19849 (_dl_x86_64_save_sse): Likewise.
19850 (_dl_x86_64_restore_sse): Likewise.
19851 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
19852 size vector registers.
19853 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
19854 (ZMM_SIZE): Likewise.
19855 * sysdeps/x86_64/tst-audit10.c: New file.
19856 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
19857 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
19858
44c4e5d5
RM
198592014-03-13 Roland McGrath <roland@hack.frob.com>
19860
19861 * configure.ac (HAVE_EHDR_START): New check.
19862 * configure: Regenerated.
19863 * config.h.in (HAVE_EHDR_START): New #undef.
19864 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
19865 assuming the lowest-addressed segment maps the start of the file.
19866
acd6e389
JM
198672014-03-13 Joseph Myers <joseph@codesourcery.com>
19868
19869 * INSTALL: Regenerated.
19870
6f918f36
WN
198712014-03-13 Will Newton <will.newton@linaro.org>
19872
19873 * manual/setjmp.texi (System V contexts): Improve
19874 clarity and grammar of documentation.
19875
798212a0
PP
198762014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
19877
19878 [BZ #16381]
798212a0 19879 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 19880 (tests-pie): Add tst-pie2.
798212a0
PP
19881 * elf/tst-pie2.c: New file.
19882 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
19883 for ET_EXEC.
19884 * elf/rtld.c (map_doit): Load executable as lt_executable.
19885 (dl_main): Likewise.
19886
abe6d90c
JM
198872014-03-12 Joseph Myers <joseph@codesourcery.com>
19888
19889 [BZ #16642]
19890 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19891 (__ASSUME_PSELECT): Undefine.
19892
dd3946c6
AZ
198932014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19894
19895 [BZ #16689]
19896 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
19897 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
19898 static build.
19899 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
19900 selector for static builds.
19901
c44496df
SP
199022014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19903
19904 [BZ #16695]
19905 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
19906 key in the buffer.
19907
27c7220a
AZ
199082014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19909
57f41c40
AS
19910 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
19911 IFUNC selector for static builds.
27c7220a 19912
600fa361
JM
199132014-03-11 Joseph Myers <joseph@codesourcery.com>
19914
76c96cf7
JM
19915 * sysdeps/mips/math_private.h [__mips_hard_float]
19916 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
19917 libc_feresetround_mips_ctx.
19918 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
19919 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
19920 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
19921
600fa361
JM
19922 [BZ #16677]
19923 * math/s_nextafter.c (__nextafter): Do not return value from
19924 overflowing computation.
19925 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
19926 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
19927 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
19928 Likewise.
19929 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
19930 Likewise.
19931 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
19932 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
19933
d7706c32
RM
199342014-03-11 Roland McGrath <roland@hack.frob.com>
19935
19936 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
19937 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
19938 Move sfi_sp use from the load-multiple (that no longer sets sp) to
19939 the new mov targetting sp.
19940
4facea47
AZ
199412014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19942
19943 [BZ #16683]
19944 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
19945 Define it for static builds as well.
19946 (NO_BZERO_IMPL): Likewise.
19947
e65caf1f
VR
199482014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19949
19950 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
19951 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
19952 multiarch strspn for PPC64.
19953 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
19954 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
19955 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19956 (__libc_ifunc_impl_list): Likewise.
19957 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
19958 multiarch optimizations
19959 * string/strspn.c (strspn): Using macro to redefine symbol name.
19960
ba9cc071
AZ
199612014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19962 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19963
19964 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
19965 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
19966 multiarch strncat for PPC64.
19967 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
19968 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
19969 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19970 (__libc_ifunc_impl_list): Likewise.
19971 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
19972 multiarch optimizations
19973
8b4ff974
SP
199742014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19975
19976 [BZ #16639]
19977 * nscd/nscd.service: Make service type forking.
19978
54b46a4b
AZ
199792014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19980
19981 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
19982 sign in non default rounding modes.
19983 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
19984
e9996ef7
JM
199852014-03-08 Joseph Myers <joseph@codesourcery.com>
19986
19987 * math/libm-test.inc (ALL_RM_TEST): New macro.
19988 (ceil_test): Use ALL_RM_TEST.
19989 (cimag_test): Likewise.
19990 (conj_test): Likewise.
19991 (copysign_test): Likewise.
19992 (cproj_test): Likewise.
19993 (creal_test): Likewise.
19994 (fabs_test): Likewise.
19995 (floor_test): Likewise.
19996 (fmax_test): Likewise.
19997 (fmin_test): Likewise.
19998 (fmod_test): Likewise.
19999 (fpclassify_test): Likewise.
20000 (frexp_test): Likewise.
20001 (ilogb_test): Likewise.
20002 (isfinite_test): Likewise.
20003 (finite_test): Likewise.
20004 (isgreater_test): Likewise.
20005 (isgreaterequal_test): Likewise.
20006 (isinf_test): Likewise.
20007 (isless_test): Likewise.
20008 (islessequal_test): Likewise.
20009 (islessgreater_test): Likewise.
20010 (isnan_test): Likewise.
20011 (isnormal_test): Likewise.
20012 (issignaling_test): Likewise.
20013 (isunordered_test): Likewise.
20014 (logb_test): Likewise.
20015 (logb_downward_test_data): Remove.
20016 (logb_test_downward): Likewise.
20017 (lround_test): Use ALL_RM_TEST.
20018 (llround_test): Likewise.
20019 (modf_test): Likewise.
20020 (nexttoward_test): Likewise.
20021 (remainder_test): Likewise.
20022 (drem_test): Likewise.
20023 (remainder_tonearest_test_data): Likewise.
20024 (remainder_test_tonearest): Likewise.
20025 (drem_test_tonearest): Likewise.
20026 (remainder_towardzero_test_data): Likewise.
20027 (remainder_test_towardzero): Likewise.
20028 (drem_test_towardzero): Likewise.
20029 (remainder_downward_test_data): Likewise.
20030 (remainder_test_downward): Likewise.
20031 (drem_test_downward): Likewise.
20032 (remainder_upward_test_data): Likewise.
20033 (remainder_test_upward): Likewise.
20034 (drem_test_upward): Likewise.
20035 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
20036 (round_test): Use ALL_RM_TEST.
20037 (signbit_test): Likewise.
20038 (trunc_test): Likewise.
20039 (significand_test): Likewise.
20040 (main): Don't call removed functions.
20041
bc61d27c
JM
200422014-03-07 Joseph Myers <joseph@codesourcery.com>
20043
5c780849
JM
20044 [BZ #16674]
20045 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
20046 || __USE_XOPEN2K8].
20047 (ILL_ILLOPN): Likewise.
20048 (ILL_ILLADR): Likewise.
20049 (ILL_ILLTRP): Likewise.
20050 (ILL_PRVOPC): Likewise.
20051 (ILL_PRVREG): Likewise.
20052 (ILL_COPROC): Likewise.
20053 (ILL_BADSTK): Likewise.
20054 (FPE_INTDIV): Likewise.
20055 (FPE_INTOVF): Likewise.
20056 (FPE_FLTDIV): Likewise.
20057 (FPE_FLTOVF): Likewise.
20058 (FPE_FLTUND): Likewise.
20059 (FPE_FLTRES): Likewise.
20060 (FPE_FLTINV): Likewise.
20061 (FPE_FLTSUB): Likewise.
20062 (SEGV_MAPERR): Likewise.
20063 (SEGV_ACCERR): Likewise.
20064 (BUS_ADRALN): Likewise.
20065 (BUS_ADRERR): Likewise.
20066 (BUS_OBJERR): Likewise.
20067 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20068 (TRAP_TRACE): Likewise.
20069 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20070 __USE_XOPEN2K8].
20071 (CLD_KILLED): Likewise.
20072 (CLD_DUMPED): Likewise.
20073 (CLD_TRAPPED): Likewise.
20074 (CLD_STOPPED): Likewise.
20075 (CLD_CONTINUED): Likewise.
20076 (POLL_IN): Likewise.
20077 (POLL_OUT): Likewise.
20078 (POLL_MSG): Likewise.
20079 (POLL_ERR): Likewise.
20080 (POLL_PRI): Likewise.
20081 (POLL_HUP): Likewise.
20082 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
20083 Likewise.
20084 (ILL_ILLOPN): Likewise.
20085 (ILL_ILLADR): Likewise.
20086 (ILL_ILLTRP): Likewise.
20087 (ILL_PRVOPC): Likewise.
20088 (ILL_PRVREG): Likewise.
20089 (ILL_COPROC): Likewise.
20090 (ILL_BADSTK): Likewise.
20091 (FPE_INTDIV): Likewise.
20092 (FPE_INTOVF): Likewise.
20093 (FPE_FLTDIV): Likewise.
20094 (FPE_FLTOVF): Likewise.
20095 (FPE_FLTUND): Likewise.
20096 (FPE_FLTRES): Likewise.
20097 (FPE_FLTINV): Likewise.
20098 (FPE_FLTSUB): Likewise.
20099 (SEGV_MAPERR): Likewise.
20100 (SEGV_ACCERR): Likewise.
20101 (BUS_ADRALN): Likewise.
20102 (BUS_ADRERR): Likewise.
20103 (BUS_OBJERR): Likewise.
20104 (BUS_MCEERR_AR): Likewise.
20105 (BUS_MCEERR_AO): Likewise.
20106 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20107 (TRAP_TRACE): Likewise.
20108 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20109 __USE_XOPEN2K8].
20110 (CLD_KILLED): Likewise.
20111 (CLD_DUMPED): Likewise.
20112 (CLD_TRAPPED): Likewise.
20113 (CLD_STOPPED): Likewise.
20114 (CLD_CONTINUED): Likewise.
20115 (POLL_IN): Likewise.
20116 (POLL_OUT): Likewise.
20117 (POLL_MSG): Likewise.
20118 (POLL_ERR): Likewise.
20119 (POLL_PRI): Likewise.
20120 (POLL_HUP): Likewise.
20121 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
20122 (ILL_ILLOPN): Likewise.
20123 (ILL_ILLADR): Likewise.
20124 (ILL_ILLTRP): Likewise.
20125 (ILL_PRVOPC): Likewise.
20126 (ILL_PRVREG): Likewise.
20127 (ILL_COPROC): Likewise.
20128 (ILL_BADSTK): Likewise.
20129 (FPE_INTDIV): Likewise.
20130 (FPE_INTOVF): Likewise.
20131 (FPE_FLTDIV): Likewise.
20132 (FPE_FLTOVF): Likewise.
20133 (FPE_FLTUND): Likewise.
20134 (FPE_FLTRES): Likewise.
20135 (FPE_FLTINV): Likewise.
20136 (FPE_FLTSUB): Likewise.
20137 (SEGV_MAPERR): Likewise.
20138 (SEGV_ACCERR): Likewise.
20139 (BUS_ADRALN): Likewise.
20140 (BUS_ADRERR): Likewise.
20141 (BUS_OBJERR): Likewise.
20142 (BUS_MCEERR_AR): Likewise.
20143 (BUS_MCEERR_AO): Likewise.
20144 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20145 (TRAP_TRACE): Likewise.
20146 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20147 __USE_XOPEN2K8].
20148 (CLD_KILLED): Likewise.
20149 (CLD_DUMPED): Likewise.
20150 (CLD_TRAPPED): Likewise.
20151 (CLD_STOPPED): Likewise.
20152 (CLD_CONTINUED): Likewise.
20153 (POLL_IN): Likewise.
20154 (POLL_OUT): Likewise.
20155 (POLL_MSG): Likewise.
20156 (POLL_ERR): Likewise.
20157 (POLL_PRI): Likewise.
20158 (POLL_HUP): Likewise.
20159 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
20160 Likewise.
20161 (ILL_ILLOPN): Likewise.
20162 (ILL_ILLADR): Likewise.
20163 (ILL_ILLTRP): Likewise.
20164 (ILL_PRVOPC): Likewise.
20165 (ILL_PRVREG): Likewise.
20166 (ILL_COPROC): Likewise.
20167 (ILL_BADSTK): Likewise.
20168 (ILL_BADIADDR): Likewise.
20169 (ILL_BREAK): Likewise.
20170 (FPE_INTDIV): Likewise.
20171 (FPE_INTOVF): Likewise.
20172 (FPE_FLTDIV): Likewise.
20173 (FPE_FLTOVF): Likewise.
20174 (FPE_FLTUND): Likewise.
20175 (FPE_FLTRES): Likewise.
20176 (FPE_FLTINV): Likewise.
20177 (FPE_FLTSUB): Likewise.
20178 (FPE_DECOVF): Likewise.
20179 (FPE_DECDIV): Likewise.
20180 (FPE_DECERR): Likewise.
20181 (FPE_INVASC): Likewise.
20182 (FPE_INVDEC): Likewise.
20183 (SEGV_MAPERR): Likewise.
20184 (SEGV_ACCERR): Likewise.
20185 (SEGV_PSTKOVF): Likewise.
20186 (BUS_ADRALN): Likewise.
20187 (BUS_ADRERR): Likewise.
20188 (BUS_OBJERR): Likewise.
20189 (BUS_MCEERR_AR): Likewise.
20190 (BUS_MCEERR_AO): Likewise.
20191 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20192 (TRAP_TRACE): Likewise.
20193 (TRAP_BRANCH): Likewise.
20194 (TRAP_HWBKPT): Likewise.
20195 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20196 __USE_XOPEN2K8].
20197 (CLD_KILLED): Likewise.
20198 (CLD_DUMPED): Likewise.
20199 (CLD_TRAPPED): Likewise.
20200 (CLD_STOPPED): Likewise.
20201 (CLD_CONTINUED): Likewise.
20202 (POLL_IN): Likewise.
20203 (POLL_OUT): Likewise.
20204 (POLL_MSG): Likewise.
20205 (POLL_ERR): Likewise.
20206 (POLL_PRI): Likewise.
20207 (POLL_HUP): Likewise.
20208 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
20209 (ILL_ILLOPN): Likewise.
20210 (ILL_ILLADR): Likewise.
20211 (ILL_ILLTRP): Likewise.
20212 (ILL_PRVOPC): Likewise.
20213 (ILL_PRVREG): Likewise.
20214 (ILL_COPROC): Likewise.
20215 (ILL_BADSTK): Likewise.
20216 (FPE_INTDIV): Likewise.
20217 (FPE_INTOVF): Likewise.
20218 (FPE_FLTDIV): Likewise.
20219 (FPE_FLTOVF): Likewise.
20220 (FPE_FLTUND): Likewise.
20221 (FPE_FLTRES): Likewise.
20222 (FPE_FLTINV): Likewise.
20223 (FPE_FLTSUB): Likewise.
20224 (SEGV_MAPERR): Likewise.
20225 (SEGV_ACCERR): Likewise.
20226 (BUS_ADRALN): Likewise.
20227 (BUS_ADRERR): Likewise.
20228 (BUS_OBJERR): Likewise.
20229 (BUS_MCEERR_AR): Likewise.
20230 (BUS_MCEERR_AO): Likewise.
20231 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20232 (TRAP_TRACE): Likewise.
20233 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20234 __USE_XOPEN2K8].
20235 (CLD_KILLED): Likewise.
20236 (CLD_DUMPED): Likewise.
20237 (CLD_TRAPPED): Likewise.
20238 (CLD_STOPPED): Likewise.
20239 (CLD_CONTINUED): Likewise.
20240 (POLL_IN): Likewise.
20241 (POLL_OUT): Likewise.
20242 (POLL_MSG): Likewise.
20243 (POLL_ERR): Likewise.
20244 (POLL_PRI): Likewise.
20245 (POLL_HUP): Likewise.
20246 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
20247 (ILL_ILLOPN): Likewise.
20248 (ILL_ILLADR): Likewise.
20249 (ILL_ILLTRP): Likewise.
20250 (ILL_PRVOPC): Likewise.
20251 (ILL_PRVREG): Likewise.
20252 (ILL_COPROC): Likewise.
20253 (ILL_BADSTK): Likewise.
20254 (FPE_INTDIV): Likewise.
20255 (FPE_INTOVF): Likewise.
20256 (FPE_FLTDIV): Likewise.
20257 (FPE_FLTOVF): Likewise.
20258 (FPE_FLTUND): Likewise.
20259 (FPE_FLTRES): Likewise.
20260 (FPE_FLTINV): Likewise.
20261 (FPE_FLTSUB): Likewise.
20262 (SEGV_MAPERR): Likewise.
20263 (SEGV_ACCERR): Likewise.
20264 (BUS_ADRALN): Likewise.
20265 (BUS_ADRERR): Likewise.
20266 (BUS_OBJERR): Likewise.
20267 (BUS_MCEERR_AR): Likewise.
20268 (BUS_MCEERR_AO): Likewise.
20269 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20270 (TRAP_TRACE): Likewise.
20271 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20272 __USE_XOPEN2K8].
20273 (CLD_KILLED): Likewise.
20274 (CLD_DUMPED): Likewise.
20275 (CLD_TRAPPED): Likewise.
20276 (CLD_STOPPED): Likewise.
20277 (CLD_CONTINUED): Likewise.
20278 (POLL_IN): Likewise.
20279 (POLL_OUT): Likewise.
20280 (POLL_MSG): Likewise.
20281 (POLL_ERR): Likewise.
20282 (POLL_PRI): Likewise.
20283 (POLL_HUP): Likewise.
20284 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
20285 (ILL_ILLOPN): Likewise.
20286 (ILL_ILLADR): Likewise.
20287 (ILL_ILLTRP): Likewise.
20288 (ILL_PRVOPC): Likewise.
20289 (ILL_PRVREG): Likewise.
20290 (ILL_COPROC): Likewise.
20291 (ILL_BADSTK): Likewise.
20292 (FPE_INTDIV): Likewise.
20293 (FPE_INTOVF): Likewise.
20294 (FPE_FLTDIV): Likewise.
20295 (FPE_FLTOVF): Likewise.
20296 (FPE_FLTUND): Likewise.
20297 (FPE_FLTRES): Likewise.
20298 (FPE_FLTINV): Likewise.
20299 (FPE_FLTSUB): Likewise.
20300 (SEGV_MAPERR): Likewise.
20301 (SEGV_ACCERR): Likewise.
20302 (BUS_ADRALN): Likewise.
20303 (BUS_ADRERR): Likewise.
20304 (BUS_OBJERR): Likewise.
20305 (BUS_MCEERR_AR): Likewise.
20306 (BUS_MCEERR_AO): Likewise.
20307 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20308 (TRAP_TRACE): Likewise.
20309 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20310 __USE_XOPEN2K8].
20311 (CLD_KILLED): Likewise.
20312 (CLD_DUMPED): Likewise.
20313 (CLD_TRAPPED): Likewise.
20314 (CLD_STOPPED): Likewise.
20315 (CLD_CONTINUED): Likewise.
20316 (POLL_IN): Likewise.
20317 (POLL_OUT): Likewise.
20318 (POLL_MSG): Likewise.
20319 (POLL_ERR): Likewise.
20320 (POLL_PRI): Likewise.
20321 (POLL_HUP): Likewise.
20322 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
20323 (ILL_ILLOPN): Likewise.
20324 (ILL_ILLADR): Likewise.
20325 (ILL_ILLTRP): Likewise.
20326 (ILL_PRVOPC): Likewise.
20327 (ILL_PRVREG): Likewise.
20328 (ILL_COPROC): Likewise.
20329 (ILL_BADSTK): Likewise.
20330 (ILL_DBLFLT): Likewise.
20331 (ILL_HARDWALL): Likewise.
20332 (FPE_INTDIV): Likewise.
20333 (FPE_INTOVF): Likewise.
20334 (FPE_FLTDIV): Likewise.
20335 (FPE_FLTOVF): Likewise.
20336 (FPE_FLTUND): Likewise.
20337 (FPE_FLTRES): Likewise.
20338 (FPE_FLTINV): Likewise.
20339 (FPE_FLTSUB): Likewise.
20340 (SEGV_MAPERR): Likewise.
20341 (SEGV_ACCERR): Likewise.
20342 (BUS_ADRALN): Likewise.
20343 (BUS_ADRERR): Likewise.
20344 (BUS_OBJERR): Likewise.
20345 (BUS_MCEERR_AR): Likewise.
20346 (BUS_MCEERR_AO): Likewise.
20347 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20348 (TRAP_TRACE): Likewise.
20349 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20350 __USE_XOPEN2K8].
20351 (CLD_KILLED): Likewise.
20352 (CLD_DUMPED): Likewise.
20353 (CLD_TRAPPED): Likewise.
20354 (CLD_STOPPED): Likewise.
20355 (CLD_CONTINUED): Likewise.
20356 (POLL_IN): Likewise.
20357 (POLL_OUT): Likewise.
20358 (POLL_MSG): Likewise.
20359 (POLL_ERR): Likewise.
20360 (POLL_PRI): Likewise.
20361 (POLL_HUP): Likewise.
20362 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
20363 (ILL_ILLOPN): Likewise.
20364 (ILL_ILLADR): Likewise.
20365 (ILL_ILLTRP): Likewise.
20366 (ILL_PRVOPC): Likewise.
20367 (ILL_PRVREG): Likewise.
20368 (ILL_COPROC): Likewise.
20369 (ILL_BADSTK): Likewise.
20370 (FPE_INTDIV): Likewise.
20371 (FPE_INTOVF): Likewise.
20372 (FPE_FLTDIV): Likewise.
20373 (FPE_FLTOVF): Likewise.
20374 (FPE_FLTUND): Likewise.
20375 (FPE_FLTRES): Likewise.
20376 (FPE_FLTINV): Likewise.
20377 (FPE_FLTSUB): Likewise.
20378 (SEGV_MAPERR): Likewise.
20379 (SEGV_ACCERR): Likewise.
20380 (BUS_ADRALN): Likewise.
20381 (BUS_ADRERR): Likewise.
20382 (BUS_OBJERR): Likewise.
20383 (BUS_MCEERR_AR): Likewise.
20384 (BUS_MCEERR_AO): Likewise.
20385 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20386 (TRAP_TRACE): Likewise.
20387 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20388 __USE_XOPEN2K8].
20389 (CLD_KILLED): Likewise.
20390 (CLD_DUMPED): Likewise.
20391 (CLD_TRAPPED): Likewise.
20392 (CLD_STOPPED): Likewise.
20393 (CLD_CONTINUED): Likewise.
20394 (POLL_IN): Likewise.
20395 (POLL_OUT): Likewise.
20396 (POLL_MSG): Likewise.
20397 (POLL_ERR): Likewise.
20398 (POLL_PRI): Likewise.
20399 (POLL_HUP): Likewise.
20400 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
20401 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20402
bc61d27c
JM
20403 [BZ #16670]
20404 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
20405 before #include of <time.h>.
20406 [!__USE_XOPEN2K] (__need_timespec): Likewise.
20407 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
20408 (test-xfail-UNIX98/sched.h/conform): Likewise.
20409
302949e2
MS
204102014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
20411
20412 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
20413 error absence of trapping exception support.
20414 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20415
a00f522a
JM
204162014-03-07 Joseph Myers <joseph@codesourcery.com>
20417
6f99f280
JM
20418 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
20419 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
20420 * timezone/Makefile (testdata): Move definition above include of
20421 Rules.
20422 (test-zones): New variable.
20423 (tests-special): Add zone files.
20424 (build-testdata): Use $(evaluate-test).
20425
0b20a9e8
JM
20426 * elf/Makefile (tests-special): Rename tests to end with .out.
20427 ($(objpfx)noload-mem): Likewise.
20428 ($(objpfx)tst-leaks1-mem): Likewise.
20429 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
20430 * iconv/Makefile (xtests-special): Change test-iconvconfig to
20431 $(objpfx)test-iconvconfig.out.
20432 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
20433 set -e inside subshell and redirect output to file.
20434 * iconvdata/Makefile (generated): Rename tests to end with .out.
20435 Correct type.
20436 (tests-special): Rename tests to end with .out.
20437 ($(objpfx)mtrace-tst-loading): Likewise.
20438 * intl/Makefile (generated): Likewise.
20439 (tests-special): Likewise.
20440 ($(objpfx)mtrace-tst-gettext): Likewise.
20441 * misc/Makefile (generated): Likewise.
20442 (tests-special): Likewise.
20443 ($(objpfx)tst-error1-mem): Likewise.
20444 * nptl/Makefile (tests-special): Likewise.
20445 ($(objpfx)tst-stack3-mem): Likewise.
20446 (generated): Likewise.
20447 * posix/Makefile (generated): Likewise.
20448 (tests-special): Likewise.
20449 (xtests-special): Likewise.
20450 ($(objpfx)tst-fnmatch-mem): Likewise.
20451 ($(objpfx)bug-regex2-mem): Likewise.
20452 ($(objpfx)bug-regex14-mem): Likewise.
20453 ($(objpfx)bug-regex21-mem): Likewise.
20454 ($(objpfx)bug-regex31-mem): Likewise.
20455 ($(objpfx)tst-vfork3-mem): Likewise.
20456 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20457 ($(objpfx)tst-pcre-mem): Likewise.
20458 ($(objpfx)tst-boost-mem): Likewise.
20459 ($(objpfx)bug-ga2-mem): Likewise.
20460 ($(objpfx)bug-glob2-mem): Likewise.
20461 * resolv/Makefile (generate): Likewise.
20462 (tests-special): Likewise.
20463 (xtests-special): Likewise.
20464 (generated): Likewise.
20465 ($(objpfx)mtrace-tst-leaks): Likewise.
20466 ($(objpfx)mtrace-tst-leaks2): Likewise.
20467
265d52ab
JM
20468 * scripts/merge-test-results.sh: New file.
20469 * Makefile (tests-special-notdir): New variable.
20470 (tests): Run merge-test-results.sh.
20471 (xtests): Likewise.
20472 * Rules (tests-special-notdir): New variable.
20473 (xtests-special-notdir): Likewise.
20474 (tests): Run merge-test-results.sh
20475 (xtests): Likewise.
20476
54ee292d
JM
20477 * Makeconfig (test-xfail-name): New variable.
20478 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
20479 compute variable name for expected failures.
20480 * conform/Makefile (conformtest-headers-data): New variable.
20481 (conformtest-standards): Likewise.
20482 (conformtest-headers-ISO): Likewise.
20483 (conformtest-headers-ISO99): Likewise.
20484 (conformtest-headers-ISO11): Likewise.
20485 (conformtest-headers-POSIX): Likewise.
20486 (conformtest-headers-XPG3): Likewise.
20487 (conformtest-headers-XPG4): Likewise.
20488 (conformtest-headers-UNIX98): Likewise.
20489 (conformtest-headers-XOPEN2K): Likewise.
20490 (conformtest-headers-POSIX2008): Likewise.
20491 (conformtest-headers-XOPEN2K8): Likewise.
20492 (conformtest-header-list-base): Likewise.
20493 (conformtest-header-list-tests): Likewise.
20494 (conformtest-header-base): Likewise.
20495 (conformtest-header-tests): Likewise.
20496 (tests-special): Add $(conformtest-header-list-tests). If
20497 [$(fast-check) && !$(cross-compiling)], add
20498 $(conformtest-header-tests) instead of
20499 $(objpfx)run-conformtest.out.
20500 (generated): Add $(conformtest-header-list-base). If
20501 [$(fast-check) && !$(cross-compiling)], add
20502 $(conformtest-header-base). Remove previous setting.
20503 ($(conformtest-header-list-tests)): New target.
20504 (test-xfail-run-conformtest): Remove variable.
20505 ($(objpfx)run-conformtest.out): Remove target.
20506 (test-xfail-ISO11/complex.h/conform): New variable.
20507 (test-xfail-ISO11/stdalign.h/conform): Likewise.
20508 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
20509 (test-xfail-XPG3/varargs.h/conform): Likewise.
20510 (test-xfail-XPG4/varargs.h/conform): Likewise.
20511 (test-xfail-UNIX98/varargs.h/conform): Likewise.
20512 (test-xfail-XPG4/ndbm.h/conform): Likewise.
20513 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
20514 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
20515 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
20516 (test-xfail-XPG3/fcntl.h/conform): Likewise.
20517 (test-xfail-XPG3/ftw.h/conform): Likewise.
20518 (test-xfail-XPG3/grp.h/conform): Likewise.
20519 (test-xfail-XPG3/langinfo.h/conform): Likewise.
20520 (test-xfail-XPG3/limits.h/conform): Likewise.
20521 (test-xfail-XPG3/pwd.h/conform): Likewise.
20522 (test-xfail-XPG3/search.h/conform): Likewise.
20523 (test-xfail-XPG3/signal.h/conform): Likewise.
20524 (test-xfail-XPG3/stdio.h/conform): Likewise.
20525 (test-xfail-XPG3/stdlib.h/conform): Likewise.
20526 (test-xfail-XPG3/string.h/conform): Likewise.
20527 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
20528 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
20529 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
20530 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20531 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
20532 (test-xfail-XPG3/sys/types.h/conform): Likewise.
20533 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
20534 (test-xfail-XPG3/termios.h/conform): Likewise.
20535 (test-xfail-XPG3/time.h/conform): Likewise.
20536 (test-xfail-XPG3/unistd.h/conform): Likewise.
20537 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
20538 (test-xfail-XPG4/fcntl.h/conform): Likewise.
20539 (test-xfail-XPG4/langinfo.h/conform): Likewise.
20540 (test-xfail-XPG4/netdb.h/conform): Likewise.
20541 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
20542 (test-xfail-XPG4/signal.h/conform): Likewise.
20543 (test-xfail-XPG4/stdio.h/conform): Likewise.
20544 (test-xfail-XPG4/stdlib.h/conform): Likewise.
20545 (test-xfail-XPG4/stropts.h/conform): Likewise.
20546 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
20547 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20548 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
20549 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20550 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
20551 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
20552 (test-xfail-XPG4/sys/time.h/conform): Likewise.
20553 (test-xfail-XPG4/sys/types.h/conform): Likewise.
20554 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
20555 (test-xfail-XPG4/termios.h/conform): Likewise.
20556 (test-xfail-XPG4/ucontext.h/conform): Likewise.
20557 (test-xfail-XPG4/unistd.h/conform): Likewise.
20558 (test-xfail-XPG4/utmpx.h/conform): Likewise.
20559 (test-xfail-POSIX/sched.h/conform): Likewise.
20560 (test-xfail-POSIX/signal.h/conform): Likewise.
20561 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20562 (test-xfail-POSIX/tar.h/conform): Likewise.
20563 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
20564 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
20565 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
20566 (test-xfail-UNIX98/netdb.h/conform): Likewise.
20567 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
20568 (test-xfail-UNIX98/sched.h/conform): Likewise.
20569 (test-xfail-UNIX98/signal.h/conform): Likewise.
20570 (test-xfail-UNIX98/stdio.h/conform): Likewise.
20571 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
20572 (test-xfail-UNIX98/stropts.h/conform): Likewise.
20573 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
20574 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
20575 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
20576 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
20577 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
20578 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
20579 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
20580 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
20581 (test-xfail-UNIX98/unistd.h/conform): Likewise.
20582 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
20583 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
20584 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
20585 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
20586 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
20587 (test-xfail-XOPEN2K/math.h/conform): Likewise.
20588 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
20589 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
20590 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20591 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
20592 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
20593 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
20594 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
20595 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
20596 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
20597 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20598 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
20599 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20600 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
20601 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
20602 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
20603 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20604 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
20605 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
20606 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
20607 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
20608 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
20609 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
20610 (test-xfail-POSIX2008/signal.h/conform): Likewise.
20611 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
20612 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
20613 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
20614 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20615 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
20616 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
20617 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20618 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20619 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20620 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
20621 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
20622 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
20623 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
20624 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20625 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
20626 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20627 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20628 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20629 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20630 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
20631 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
20632 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20633 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
20634 (conformtest-cc-flags): Likewise.
20635 ($(conformtest-header-tests): New target.
20636 * conform/check-header-lists.sh: New file.
20637 * conform/run-conformtest.sh: Remove.
20638
a00f522a
JM
20639 * conform/conformtest.pl: Allow ' and \ in values given for
20640 constants.
20641 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
20642 inclusion.
20643 [POSIX] (sys/types.h): Likewise.
20644 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
20645 inclusion.
20646 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
20647 inclusion.
20648 * conform/data/signal.h-data (SIGIO): Remove expectation.
20649 [XPG3] (SIGBUS): Do not expect.
20650 [POSIX || XPG3] (SIGPOLL): Likewise.
20651 [POSIX || XPG3] (SIGPROF): Likewise.
20652 [POSIX || XPG3] (SIGSYS): Likewise.
20653 [XPG3] (SIGTRAP): Likewise.
20654 [POSIX || XPG3] (SIGURG): Likewise.
20655 [POSIX || XPG3] (SIGVTALRM): Likewise.
20656 [POSIX || XPG3] (SIGXCPU): Likewise.
20657 [POSIX || XPG3] (SIGXFSZ): Likewise.
20658 [POSIX] (SA_SIGINFO): Expect.
20659 [XPG3] (siginfo_t): Do not expect type or contents.
20660 [POSIX] (si_pid): Do not expect element.
20661 [POSIX] (si_uid): Likewise.
20662 [POSIX] (si_addr): Likewise.
20663 [POSIX] (si_status): Likewise.
20664 [POSIX] (si_band): Likewise.
20665 [XPG4] (si_value): Likewise.
20666 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
20667 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
20668 [POSIX || XPG3] (ILL_ILLADR): Likewise.
20669 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
20670 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
20671 [POSIX || XPG3] (ILL_PRVREG): Likewise.
20672 [POSIX || XPG3] (ILL_COPROC): Likewise.
20673 [POSIX || XPG3] (ILL_BADSTK): Likewise.
20674 [POSIX || XPG3] (FPE_INTDIV): Likewise.
20675 [POSIX || XPG3] (FPE_INTOVF): Likewise.
20676 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
20677 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
20678 [POSIX || XPG3] (FPE_FLTUND): Likewise.
20679 [POSIX || XPG3] (FPE_FLTRES): Likewise.
20680 [POSIX || XPG3] (FPE_FLTINV): Likewise.
20681 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
20682 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
20683 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
20684 [POSIX || XPG3] (BUS_ADRALN): Likewise.
20685 [POSIX || XPG3] (BUS_ADRERR): Likewise.
20686 [POSIX || XPG3] (BUS_OBJERR): Likewise.
20687 [POSIX || XPG3] (CLD_EXITED): Likewise.
20688 [POSIX || XPG3] (CLD_KILLED): Likewise.
20689 [POSIX || XPG3] (CLD_DUMPED): Likewise.
20690 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
20691 [POSIX || XPG3] (CLD_STOPPED): Likewise.
20692 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
20693 [POSIX || XPG3] (POLL_IN): Likewise.
20694 [POSIX || XPG3] (POLL_OUT): Likewise.
20695 [POSIX || XPG3] (POLL_MSG): Likewise.
20696 [POSIX || XPG3] (POLL_ERR): Likewise.
20697 [POSIX || XPG3] (POLL_PRI): Likewise.
20698 [POSIX || XPG3] (POLL_HUP): Likewise.
20699 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
20700 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
20701 (SIG*): Do not allow.
20702 [XPG3] (si_*): Likewise.
20703 [XPG3] (SI_*): Likewise.
20704 [XPG3 || XPG4] (sigev_*): Likewise.
20705 [XPG3 || XPG4] (SIGEV_*): Likewise.
20706 [XPG3 || XPG4] (sival_*): Likewise.
20707 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
20708 [POSIX || XPG3] (BUS_*): Likewise.
20709 [POSIX || XPG3] (CLD_*): Likewise.
20710 [POSIX || XPG3] (FPE_*): Likewise.
20711 [POSIX || XPG3] (ILL_*): Likewise.
20712 [POSIX || XPG3] (POLL_*): Likewise.
20713 [POSIX || XPG3] (SEGV_*): Likewise.
20714 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
20715 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
20716 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
20717 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
20718 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
20719 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
20720 Specify type and value.
20721 (TVERSLEN): Likewise.
20722 (REGTYPE): Likewise.
20723 (AREGTYPE): Likewise.
20724 (LNKTYPE): Likewise.
20725 (SYMTYPE): Likewise.
20726 (CHRTYPE): Likewise.
20727 (BLKTYPE): Likewise.
20728 (DIRTYPE): Likewise.
20729 (FIFOTYPE): Likewise.
20730 (CONTTYPE): Likewise.
20731 (TSUID): Likewise.
20732 (TSGID): Likewise.
20733 (TSVTX): Likewise.
20734 (TUREAD): Likewise.
20735 (TUWRITE): Likewise.
20736 (TUEXEC): Likewise.
20737 (TGREAD): Likewise.
20738 (TGWRITE): Likewise.
20739 (TGEXEC): Likewise.
20740 (TOREAD): Likewise.
20741 (TOWRITE): Likewise.
20742 (TOEXEC): Likewise.
20743 [POSIX] (TSVTX): Expect constant.
20744
aa97dee1
JM
207452014-03-06 Joseph Myers <joseph@codesourcery.com>
20746
f214606a
JM
20747 * Makefile (tests): Change dependencies to ....
20748 (tests-special): ... additions to this variable.
20749 (tests): Depend on $(tests-special).
20750 * Makerules (check-abi-list): New variable.
20751 (check-abi): Depend on $(check-abi-list).
20752 [$(subdir) = elf] (tests-special): Add
20753 $(objpfx)check-abi-libc.out.
20754 [$(build-shared) = yes && subdir] (tests-special): Add
20755 $(check-abi-list).
20756 [$(build-shared) = yes && subdir] (tests): Do not depend on
20757 check-abi.
20758 * Rules (tests): Depend on $(tests-special).
20759 (xtests): Depend on $(xtests-special).
20760 * catgets/Makefile (tests): Change dependencies to ....
20761 (tests-special): ... additions to this variable.
20762 * conform/Makefile (tests): Change dependencies to ....
20763 (tests-special): ... additions to this variable.
20764 * elf/Makefile (tests): Change dependencies to ....
20765 (tests-special): ... additions to this variable.
20766 * grp/Makefile (tests): Change dependencies to ....
20767 (tests-special): ... additions to this variable.
20768 * iconv/Makefile (xtests): Change dependencies to ....
20769 (xtests-special): ... additions to this variable.
20770 * iconvdata/Makefile (tests): Change dependencies to ....
20771 (tests-special): ... additions to this variable.
20772 * intl/Makefile (tests): Change dependencies to ....
20773 (tests-special): ... additions to this variable. Also add
20774 $(objpfx)tst-gettext.out.
20775 * io/Makefile (tests): Change dependencies to ....
20776 (tests-special): ... additions to this variable.
20777 * libio/Makefile (tests): Change dependencies to ....
20778 (tests-special): ... additions to this variable.
20779 * malloc/Makefile (tests): Change dependencies to ....
20780 (tests-special): ... additions to this variable.
20781 * misc/Makefile (tests): Change dependencies to ....
20782 (tests-special): ... additions to this variable.
20783 * nptl/Makefile (tests): Change dependencies to ....
20784 (tests-special): ... additions to this variable.
20785 * nptl_db/Makefile (tests): Change dependencies to ....
20786 (tests-special): ... additions to this variable.
20787 * posix/Makefile (tests): Change dependencies to ....
20788 (tests-special): ... additions to this variable.
20789 (xtests): Change dependencies to ....
20790 (xtests-special): ... additions to this variable.
20791 * resolv/Makefile (tests): Change dependencies to ....
20792 (tests-special): ... additions to this variable.
20793 (xtests): Change dependencies to ....
20794 (xtests-special): ... additions to this variable.
20795 * stdio-common/Makefile (tests): Change dependencies to ....
20796 (tests-special): ... additions to this variable.
20797 (do-tst-unbputc): Remove target.
20798 (do-tst-printf): Likewise.
20799 * stdlib/Makefile (tests): Change dependencies to ....
20800 (tests-special): ... additions to this variable.
20801 * string/Makefile (tests): Change dependencies to ....
20802 (tests-special): ... additions to this variable.
20803 * sysdeps/x86/Makefile (tests): Change dependencies to ....
20804 (tests-special): ... additions to this variable.
20805
81700b53
JM
20806 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
20807 whole file.
20808 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
20809 whole file.
20810 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
20811 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
20812
2ea18461
JM
20813 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
20814 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
20815 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
20816 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
20817 * conform/data/libgen.h-data [XPG3]: Likewise.
20818 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
20819 * conform/data/ndbm.h-data [XPG3]: Likewise.
20820 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20821 * conform/data/netdb.h-data [XPG3]: Likewise.
20822 * conform/data/netinet/in.h-data [XPG3]: Likewise.
20823 * conform/data/poll.h-data [XPG3]: Likewise.
20824 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20825 * conform/data/strings.h-data [XPG3]: Likewise.
20826 * conform/data/stropts.h-data [XPG3]: Likewise.
20827 * conform/data/sys/mman.h-data [XPG3]: Likewise.
20828 * conform/data/sys/resource.h-data [XPG3]: Likewise.
20829 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
20830 Likewise.
20831 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
20832 * conform/data/sys/time.h-data [XPG3]: Likewise.
20833 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
20834 * conform/data/sys/uio.h-data [XPG3]: Likewise.
20835 * conform/data/sys/un.h-data [XPG3]: Likewise.
20836 * conform/data/syslog.h-data [XPG3]: Likewise.
20837 * conform/data/ucontext.h-data [XPG3]: Likewise.
20838 * conform/data/utmpx.h-data [XPG3]: Likewise.
20839 * conform/data/varargs.h-data [UNIX98]: Enable file.
20840
355bc986
JM
20841 * manual/Makefile (INSTALL_INFO): Remove variable setting.
20842
215db402
JM
20843 * math/libm-test.inc (struct test_f_f_data): Move expected results
20844 into structure for each rounding mode.
20845 (struct test_ff_f_data): Likewise.
20846 (struct test_ff_f_data_nexttoward): Likewise.
20847 (struct test_fi_f_data): Likewise.
20848 (struct test_fl_f_data): Likewise.
20849 (struct test_if_f_data): Likewise.
20850 (struct test_fff_f_data): Likewise.
20851 (struct test_c_f_data): Likewise.
20852 (struct test_f_f1_data): Likewise.
20853 (struct test_fF_f1_data): Likewise.
20854 (struct test_ffI_f1_data): Likewise.
20855 (struct test_c_c_data): Likewise.
20856 (struct test_cc_c_data): Likewise.
20857 (struct test_f_i_data): Likewise.
20858 (struct test_ff_i_data): Likewise.
20859 (struct test_f_l_data): Likewise.
20860 (struct test_f_L_data): Likewise.
20861 (struct test_fFF_11_data): Likewise.
20862 (RM_): New macro.
20863 (RM_FE_DOWNWARD): Likewise.
20864 (RM_FE_TONEAREST): Likewise.
20865 (RM_FE_TOWARDZERO): Likewise.
20866 (RM_FE_UPWARD): Likewise.
20867 (RUN_TEST_LOOP_f_f): Update references to expected results.
20868 (RUN_TEST_LOOP_2_f): Likewise.
20869 (RUN_TEST_LOOP_fff_f): Likewise.
20870 (RUN_TEST_LOOP_c_f): Likewise.
20871 (RUN_TEST_LOOP_f_f1): Likewise.
20872 (RUN_TEST_LOOP_fF_f1): Likewise.
20873 (RUN_TEST_LOOP_fI_f1): Likewise.
20874 (RUN_TEST_LOOP_ffI_f1): Likewise.
20875 (RUN_TEST_LOOP_c_c): Likewise.
20876 (RUN_TEST_LOOP_cc_c): Likewise.
20877 (RUN_TEST_LOOP_f_i): Likewise.
20878 (RUN_TEST_LOOP_f_i_tg): Likewise.
20879 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20880 (RUN_TEST_LOOP_f_b): Likewise.
20881 (RUN_TEST_LOOP_f_b_tg): Likewise.
20882 (RUN_TEST_LOOP_f_l): Likewise.
20883 (RUN_TEST_LOOP_f_L): Likewise.
20884 (RUN_TEST_LOOP_fFF_11): Likewise.
20885 * math/gen-libm-test.pl (parse_args): Output four copies of
20886 expected results for each test.
20887
67737b8f
JM
20888 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20889 (__ASSUME_UTIMES): Remove.
20890 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20891 (__ASSUME_UTIMES): Likewise.
20892
aa97dee1
JM
20893 * math/gen-auto-libm-tests.c: Update comment on output format.
20894 (output_for_one_input_case): Generate before-rounding and
20895 after-rounding information as conditions on output flags not
20896 floating-point format.
20897 * math/auto-libm-test-out: Regenerated.
20898 * math/gen-libm-test.pl (cond_value): New function.
20899 (or_cond_value): Use cond_value.
20900 (generate_testfile): Handle conditional exceptions.
20901
e6b6a857
JM
209022014-03-05 Joseph Myers <joseph@codesourcery.com>
20903
2f0a0f44
JM
20904 * math/libm-test.inc (max_valid_error): New variable.
20905 (init_max_error): Take new argument specifying whether function
20906 results are exactly determined. Set max_valid_error and bound
20907 other variables for errors based on this argument.
20908 (set_max_error): Do not record results above max_valid_error.
20909 (check_float_internal): Only accept errors of up to 0.5ulps if
20910 also at most max_valid_error.
20911 (START): Take new argument EXACT and pass it to init_max_error.
20912 (acos_test): Update call to START.
20913 (acos_test_tonearest): Likewise.
20914 (acos_test_towardzero): Likewise.
20915 (acos_test_downward): Likewise.
20916 (acos_test_upward): Likewise.
20917 (acosh_test): Likewise.
20918 (asin_test): Likewise.
20919 (asin_test_tonearest): Likewise.
20920 (asin_test_towardzero): Likewise.
20921 (asin_test_downward): Likewise.
20922 (asin_test_upward): Likewise.
20923 (asinh_test): Likewise.
20924 (atan_test): Likewise.
20925 (atanh_test): Likewise.
20926 (atan2_test): Likewise.
20927 (cabs_test): Likewise.
20928 (cacos_test): Likewise.
20929 (cacosh_test): Likewise.
20930 (carg_test): Likewise.
20931 (casin_test): Likewise.
20932 (casinh_test): Likewise.
20933 (catan_test): Likewise.
20934 (catanh_test): Likewise.
20935 (cbrt_test): Likewise.
20936 (ccos_test): Likewise.
20937 (ccosh_test): Likewise.
20938 (ceil_test): Likewise.
20939 (cexp_test): Likewise.
20940 (cimag_test): Likewise.
20941 (clog_test): Likewise.
20942 (clog10_test): Likewise.
20943 (conj_test): Likewise.
20944 (copysign_test): Likewise.
20945 (cos_test): Likewise.
20946 (cos_test_tonearest): Likewise.
20947 (cos_test_towardzero): Likewise.
20948 (cos_test_downward): Likewise.
20949 (cos_test_upward): Likewise.
20950 (cosh_test): Likewise.
20951 (cosh_test_tonearest): Likewise.
20952 (cosh_test_towardzero): Likewise.
20953 (cosh_test_downward): Likewise.
20954 (cosh_test_upward): Likewise.
20955 (cpow_test): Likewise.
20956 (cproj_test): Likewise.
20957 (creal_test): Likewise.
20958 (csin_test): Likewise.
20959 (csinh_test): Likewise.
20960 (csqrt_test): Likewise.
20961 (ctan_test): Likewise.
20962 (ctan_test_tonearest): Likewise.
20963 (ctan_test_towardzero): Likewise.
20964 (ctan_test_downward): Likewise.
20965 (ctan_test_upward): Likewise.
20966 (ctanh_test): Likewise.
20967 (ctanh_test_tonearest): Likewise.
20968 (ctanh_test_towardzero): Likewise.
20969 (ctanh_test_downward): Likewise.
20970 (ctanh_test_upward): Likewise.
20971 (erf_test): Likewise.
20972 (erfc_test): Likewise.
20973 (exp_test): Likewise.
20974 (exp_test_tonearest): Likewise.
20975 (exp_test_towardzero): Likewise.
20976 (exp_test_downward): Likewise.
20977 (exp_test_upward): Likewise.
20978 (exp10_test): Likewise.
20979 (exp10_test_tonearest): Likewise.
20980 (exp10_test_towardzero): Likewise.
20981 (exp10_test_downward): Likewise.
20982 (exp10_test_upward): Likewise.
20983 (pow10_test): Likewise.
20984 (exp2_test): Likewise.
20985 (expm1_test): Likewise.
20986 (expm1_test_tonearest): Likewise.
20987 (expm1_test_towardzero): Likewise.
20988 (expm1_test_downward): Likewise.
20989 (expm1_test_upward): Likewise.
20990 (fabs_test): Likewise.
20991 (fdim_test): Likewise.
20992 (floor_test): Likewise.
20993 (fma_test): Likewise.
20994 (fma_test_towardzero): Likewise.
20995 (fma_test_downward): Likewise.
20996 (fma_test_upward): Likewise.
20997 (fmax_test): Likewise.
20998 (fmin_test): Likewise.
20999 (fmod_test): Likewise.
21000 (fpclassify_test): Likewise.
21001 (frexp_test): Likewise.
21002 (hypot_test): Likewise.
21003 (ilogb_test): Likewise.
21004 (isfinite_test): Likewise.
21005 (finite_test): Likewise.
21006 (isgreater_test): Likewise.
21007 (isgreaterequal_test): Likewise.
21008 (isinf_test): Likewise.
21009 (isless_test): Likewise.
21010 (islessequal_test): Likewise.
21011 (islessgreater_test): Likewise.
21012 (isnan_test): Likewise.
21013 (isnormal_test): Likewise.
21014 (issignaling_test): Likewise.
21015 (isunordered_test): Likewise.
21016 (j0_test): Likewise.
21017 (j1_test): Likewise.
21018 (jn_test): Likewise.
21019 (ldexp_test): Likewise.
21020 (lgamma_test): Likewise.
21021 (gamma_test): Likewise.
21022 (lrint_test): Likewise.
21023 (lrint_test_tonearest): Likewise.
21024 (lrint_test_towardzero): Likewise.
21025 (lrint_test_downward): Likewise.
21026 (lrint_test_upward): Likewise.
21027 (llrint_test): Likewise.
21028 (llrint_test_tonearest): Likewise.
21029 (llrint_test_towardzero): Likewise.
21030 (llrint_test_downward): Likewise.
21031 (llrint_test_upward): Likewise.
21032 (log_test): Likewise.
21033 (log10_test): Likewise.
21034 (log1p_test): Likewise.
21035 (log2_test): Likewise.
21036 (logb_test): Likewise.
21037 (logb_test_downward): Likewise.
21038 (lround_test): Likewise.
21039 (llround_test): Likewise.
21040 (modf_test): Likewise.
21041 (nearbyint_test): Likewise.
21042 (nextafter_test): Likewise.
21043 (nexttoward_test): Likewise.
21044 (pow_test): Likewise.
21045 (pow_test_tonearest): Likewise.
21046 (pow_test_towardzero): Likewise.
21047 (pow_test_downward): Likewise.
21048 (pow_test_upward): Likewise.
21049 (remainder_test): Likewise.
21050 (drem_test): Likewise.
21051 (remainder_test_tonearest): Likewise.
21052 (drem_test_tonearest): Likewise.
21053 (remainder_test_towardzero): Likewise.
21054 (drem_test_towardzero): Likewise.
21055 (remainder_test_downward): Likewise.
21056 (drem_test_downward): Likewise.
21057 (remainder_test_upward): Likewise.
21058 (drem_test_upward): Likewise.
21059 (remquo_test): Likewise.
21060 (rint_test): Likewise.
21061 (rint_test_tonearest): Likewise.
21062 (rint_test_towardzero): Likewise.
21063 (rint_test_downward): Likewise.
21064 (rint_test_upward): Likewise.
21065 (round_test): Likewise.
21066 (scalb_test): Likewise.
21067 (scalbn_test): Likewise.
21068 (scalbln_test): Likewise.
21069 (signbit_test): Likewise.
21070 (sin_test): Likewise.
21071 (sin_test_tonearest): Likewise.
21072 (sin_test_towardzero): Likewise.
21073 (sin_test_downward): Likewise.
21074 (sin_test_upward): Likewise.
21075 (sincos_test): Likewise.
21076 (sinh_test): Likewise.
21077 (sinh_test_tonearest): Likewise.
21078 (sinh_test_towardzero): Likewise.
21079 (sinh_test_downward): Likewise.
21080 (sinh_test_upward): Likewise.
21081 (sqrt_test): Likewise.
21082 (sqrt_test_tonearest): Likewise.
21083 (sqrt_test_towardzero): Likewise.
21084 (sqrt_test_downward): Likewise.
21085 (sqrt_test_upward): Likewise.
21086 (tan_test): Likewise.
21087 (tan_test_tonearest): Likewise.
21088 (tan_test_towardzero): Likewise.
21089 (tan_test_downward): Likewise.
21090 (tan_test_upward): Likewise.
21091 (tanh_test): Likewise.
21092 (tgamma_test): Likewise.
21093 (trunc_test): Likewise.
21094 (y0_test): Likewise.
21095 (y1_test): Likewise.
21096 (yn_test): Likewise.
21097 (significand_test): Likewise.
21098
e6b6a857
JM
21099 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
21100 individual tests in comment.
21101 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
21102 (prev_max_error): New variable.
21103 (prev_real_max_error): Likewise.
21104 (prev_imag_max_error): Likewise.
21105 (compare_ulp_data): Don't refer to test names in comment.
21106 (find_test_ulps): Remove function.
21107 (find_function_ulps): Likewise.
21108 (find_complex_function_ulps): Likewise.
21109 (init_max_error): Take function name as argument. Look up ulps
21110 for that function.
21111 (print_ulps): Remove function.
21112 (print_max_error): Use prev_max_error instead of calling
21113 find_function_ulps.
21114 (print_complex_max_error): Use prev_real_max_error and
21115 prev_imag_max_error instead of calling find_complex_function_ulps.
21116 (check_float_internal): Take max_ulp parameter instead of calling
21117 find_test_ulps. Don't call print_ulps.
21118 (check_float): Update call to check_float_internal.
21119 (check_complex): Update calls to check_float_internal.
21120 (START): Pass argument to init_max_error.
21121 * math/gen-libm-test.pl (%results): Don't include "kind"
21122 information.
21123 (parse_ulps): Don't handle ulps of individual tests.
21124 (print_ulps_file): Likewise.
21125 (output_ulps): Likewise.
21126 * math/README.libm-test: Update.
21127 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
21128 individual tests.
21129 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
21130 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
21131 * sysdeps/arm/libm-test-ulps: Likewise.
21132 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21133 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
21134 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
21135 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
21136 * sysdeps/microblaze/libm-test-ulps: Likewise.
21137 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21138 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21139 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21140 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21141 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21142 * sysdeps/sh/libm-test-ulps: Likewise.
21143 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21144 * sysdeps/tile/libm-test-ulps: Likewise.
21145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21146
45adef3c
JM
211472014-03-04 Joseph Myers <joseph@codesourcery.com>
21148
21149 * math/libm-test.inc (print_complex_max_error): Check separately
21150 whether real and imaginary errors are within allowed range and
21151 pass 0 to print_complex_function_ulps instead of value within
21152 allowed range.
21153
000232b9
SP
211542014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21155
d4b17258
SP
21156 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
21157 formatting.
21158 (get_handles_fopen): Likewise.
21159 (do_write_test): Likewise.
21160
091eff71
SP
21161 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
21162
fa3cd248
SP
21163 * libio/fileops.c (do_ftell): Use cached offset when
21164 available.
21165 * libio/iofwide.c (do_ftell_wide): Likewise.
21166 * libio/iofdopen.c (_IO_new_fdopen): Don't use
21167 _IO_file_attach.
21168 * libio/wfileops.c (_IO_fwide): Don't cache offset.
21169
000232b9
SP
21170 [BZ #16532]
21171 * libio/libioP.h (get_file_offset): New function.
21172 * libio/fileops.c (get_file_offset): Likewise.
21173 (do_ftell): Likewise.
21174 (_IO_new_file_seekoff): Split out ftell logic.
21175 * libio/wfileops.c (do_ftell_wide): Likewise.
21176 (_IO_wfile_seekoff): Split out ftell logic.
21177 * libio/tst-ftell-active-handler.c: New test case.
21178 * libio/Makefile (tests): Add it.
21179
116f4d1a
RM
211802014-03-03 Roland McGrath <roland@hack.frob.com>
21181
21182 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
21183 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
21184
532a6035
SP
211852014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21186
21187 [BZ #16639]
21188 * nscd/connections.c (nscd_init): Call do_exit.
21189 (start_threads): Call do_exit and notify_parent.
21190 (begin_drop_privileges): Call do_exit.
21191 (finish_drop_privileges): Likewise.
21192 * nscd/selinux.c (preserve_capabilities): Likewise.
21193 (install_real_capabilities): Likewise.
21194 (nscd_selinux_enabled): Likewise.
21195 (avc_create_thread): Likewise.
21196 (avc_alloc_lock): Likewise.
21197 (nscd_avc_init): Likewise.
21198 * nscd/nscd.c (parent_fd): New static variable.
21199 (main): Create a pipe between parent and child processes.
21200 Skip closing parent_fd.
21201 (monitor_child): New function.
21202 (do_exit): Likewise.
21203 (notify_parent): Likewise.
21204 * nscd/nscd.h (notify_parent): Likewise.
21205 (do_exit): Likewise.
21206
d6285c9f
CD
212072014-03-03 Carlos O'Donell <carlos@redhat.com>
21208
21209 * malloc/malloc.c (__libc_calloc): Revert last change.
21210
2b85d2a0
AZ
212112014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21212
21213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21214
c7debbdf
RS
212152014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21216
21217 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
21218 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
21219 implementation.
21220 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21221 (__libc_ifunc_impl_list): Likewise.
21222 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
21223 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
21224 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
21225 * string/strrchr.c: Define STRRCHR.
21226
235eed86
OB
212272014-02-28 Ondřej Bílka <neleai@seznam.cz>
21228
21229 * benchtest/bench-strtok.c (simple_strtok): Delete.
21230 (strtok_string): Use as benchmark.
21231 * string/strtok (STRTOK): New macro.
21232
8e25d1e7
CD
212332014-02-28 Carlos O'Donell <carlos@redhat.com>
21234
ef563f92
CD
21235 * manual/threads.texi: Add header and standard comments to all
21236 functions.
21237
8e25d1e7
CD
21238 * elf/dl-lookup.c (check_match): New function.
21239 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
21240 (do_lookup_x): Remove nested function check_match. Use non-nested
21241 function check_match.
21242
ff71cc37
RM
212432014-02-28 Roland McGrath <roland@hack.frob.com>
21244
f08e9a26
RM
21245 * csu/Makefile (generated, before-compile): Use += rather than =.
21246 * catgets/Makefile (generated, generated-dirs): Likewise.
21247 * debug/Makefile (generated): Likewise.
21248 * dlfcn/Makefile (generated): Likewise.
21249 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
21250 * iconvdata/Makefile (before-compile, generated): Likewise.
21251 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
21252 * libio/Makefile (generated): Likewise.
21253 * malloc/Makefile (generated): Likewise.
21254 * manual/Makefile (generated, generated-dirs): Likewise.
21255 * misc/Makefile (generated): Likewise.
21256 * posix/Makefile (generated): Likewise.
21257 * resolv/Makefile (generated): Likewise.
21258 * sunrpc/Makefile (generated, generated-dirs): Likewise.
21259 * timezone/Makefile (generated, generated-dirs): Likewise.
21260
ff71cc37
RM
21261 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
21262
fe13a20c
AZ
212632014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21264
57f41c40
AS
21265 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21266 power8 implementation.
21267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
21268 file: POWER8 llround ifunc implementation.
21269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21270 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
21271 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
21272 POWER8 llround implementation.
21273
57f41c40
AS
21274 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
21275 power8 implementation.
21276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
21277 file: POWER8 llrint ifunc implementation.
21278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
21279 Add POWER8 implementation.
1ad8950a
AZ
21280 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
21281 POWER8 llrint implementation.
21282
57f41c40
AS
21283 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
21284 power8 implementation.
21285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
21286 file: POWER8 finite ifunc implementation.
21287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
21288 Add POWER8 implementation.
cac626d6
AZ
21289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
21290 Likewise.
21291 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
21292 POWER8 finite implementation.
21293 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
21294
57f41c40
AS
21295 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
21296 power8 implementation.
21297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
21298 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
21299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
21300 POWER8 implementation.
21301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
21302 Likewise.
57f41c40
AS
21303 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
21304 isinf implementation.
4393fc11
AZ
21305 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
21306
57f41c40
AS
21307 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21308 (INIT_ARCH): Add hwcap2 initialization.
21309 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21310 power8 implementation.
21311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
21312 file: POWER8 isnan ifunc implementation.
487972ae
AZ
21313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
21314 POWER8 implementation.
21315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
21316 Likewise.
57f41c40
AS
21317 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
21318 isnan implementation.
487972ae
AZ
21319 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
21320
7d92b787
JY
213212014-02-27 Joey Ye <joey.ye@arm.com>
21322
21323 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21324 (_FP_NANFRAC_Q): Set to zero.
21325
1cadc858
SP
213262014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21327
21328 [BZ #16623]
21329 * math/auto-libm-test-in: New test inputs.
21330 * math/auto-libm-test-out: Regenerate.
21331 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
21332 and DA.
21333 (__cos): Likewise.
21334 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21335
f8c17e79
JM
213362014-02-27 Joseph Myers <joseph@codesourcery.com>
21337
21338 * scripts/evaluate-test.sh: Take new argument indicating whether
21339 failure is expected.
21340 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
21341 indicating whether failure is expected.
21342 * conform/Makefile (test-xfail-run-conformtest): New variable.
21343 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
21344 level.
21345 * posix/Makefile (test-xfail-annexc): New variable.
21346 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
21347
a5f891ac
JM
213482014-02-26 Joseph Myers <joseph@codesourcery.com>
21349
21350 * argp/Makefile: Include Makeconfig immediately after defining
21351 subdir.
21352 * assert/Makefile: Likewise.
21353 * benchtests/Makefile: Likewise.
21354 * catgets/Makefile: Likewise.
21355 * conform/Makefile: Likewise.
21356 * crypt/Makefile: Likewise.
21357 * csu/Makefile: Likewise.
21358 (all): Remove target.
21359 * ctype/Makefile: Include Makeconfig immediately after defining
21360 subdir.
21361 * debug/Makefile: Likewise.
21362 * dirent/Makefile: Likewise.
21363 * dlfcn/Makefile: Likewise.
21364 * gmon/Makefile: Likewise.
21365 * gnulib/Makefile: Likewise.
21366 * grp/Makefile: Likewise.
21367 * gshadow/Makefile: Likewise.
21368 * hesiod/Makefile: Likewise.
21369 * hurd/Makefile: Likewise.
21370 (all): Remove target.
21371 * iconvdata/Makefile: Include Makeconfig immediately after
21372 defining subdir.
21373 * inet/Makefile: Likewise.
21374 * intl/Makefile: Likewise.
21375 * io/Makefile: Likewise.
21376 * libio/Makefile: Likewise.
21377 (all): Remove target.
21378 * locale/Makefile: Include Makeconfig immediately after defining
21379 subdir.
21380 * login/Makefile: Likewise.
21381 * mach/Makefile: Likewise.
21382 (all): Remove target.
21383 * malloc/Makefile: Include Makeconfig immediately after defining
21384 subdir.
21385 (all): Remove target.
21386 * manual/Makefile: Include Makeconfig immediately after defining
21387 subdir.
21388 * math/Makefile: Likewise.
21389 * misc/Makefile: Likewise.
21390 * nis/Makefile: Likewise.
21391 * nss/Makefile: Likewise.
21392 * po/Makefile: Likewise.
21393 (all): Remove target.
21394 * posix/Makefile: Include Makeconfig immediately after defining
21395 subdir.
21396 * pwd/Makefile: Likewise.
21397 * resolv/Makefile: Likewise.
21398 * resource/Makefile: Likewise.
21399 * rt/Makefile: Likewise.
21400 * setjmp/Makefile: Likewise.
21401 * shadow/Makefile: Likewise.
21402 * signal/Makefile: Likewise.
21403 * socket/Makefile: Likewise.
21404 * soft-fp/Makefile: Likewise.
21405 * stdio-common/Makefile: Likewise.
21406 * stdlib/Makefile: Likewise.
21407 * streams/Makefile: Likewise.
21408 * string/Makefile: Likewise.
21409 * sunrpc/Makefile: Likewise.
21410 (all): Remove target.
21411 * sysvipc/Makefile: Include Makeconfig immediately after defining
21412 subdir.
21413 * termios/Makefile: Likewise.
21414 * time/Makefile: Likewise.
21415 * timezone/Makefile: Likewise.
21416 (all): Remove target.
21417 * wcsmbs/Makefile: Include Makeconfig immediately after defining
21418 subdir.
21419 * wctype/Makefile: Likewise.
21420
5b456e9d
SE
214212014-02-26 Steve Ellcey <sellcey@mips.com>
21422
21423 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
21424 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
21425 (libc_feholdexcept_setround_mips): Ditto.
21426 (libc_feholdsetround): New.
21427 (libc_feholdsetroundf): New.
21428 (libc_feholdsetroundl): New.
21429 (libc_feupdateenv_test_mips): New.
21430 (libc_feupdateenv_test): New.
21431 (libc_feupdateenv_testf): New.
21432 (libc_feupdateenv_testl): New.
21433 (libc_feresetround): New.
21434 (libc_feresetroundf): New.
21435 (libc_feresetroundl): New.
21436 (libc_fetestexcept_mips): New.
21437 (libc_fetestexcept): New.
21438 (libc_fetestexceptf): New.
21439 (libc_fetestexceptl): New.
21440 (HAVE_RM_CTX): New.
21441 (libc_feholdexcept_setround_mips_ctx): New.
21442 (libc_feholdexcept_setround_ctx): New.
21443 (libc_feholdexcept_setroundf_ctx): New.
21444 (libc_feholdexcept_setroundl_ctx): New.
21445 (libc_fesetenv_mips_ctx): New.
21446 (libc_fesetenv_ctx): New.
21447 (libc_fesetenv_ctxf): New.
21448 (libc_fesetenv_ctxl): New.
21449 (libc_feupdateenv_mips_ctx): New.
21450 (libc_feupdateenv_ctx): New.
21451 (libc_feupdateenvf_ctx): New.
21452 (libc_feupdateenvl_ctx): New.
21453 (libc_feholdsetround_mips_ctx): New.
21454 (libc_feholdsetround_ctx): New.
21455 (libc_feholdsetroundf_ctx): New.
21456 (libc_feholdsetroundl_ctx): New.
21457 (libc_feresetround_mips_ctx): New.
21458 (libc_feresetround_ctx): New.
21459 (libc_feresetroundf_ctx): New.
21460 (libc_feresetroundl_ctx): New.
21461
085d0e35
CD
214622014-02-26 Carlos O'Donell <carlos@redhat.com>
21463
f067bf1f
CD
21464 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
21465
085d0e35
CD
21466 * manual/ipc.texi: New file.
21467 * manual/Makefile (chapters): Add ipc.
21468 * manual/job.texi: Add "Inter-Process Communication" to next.
21469 * manual/process.texi: Add "Inter-Process Communication" to prev.
21470
86e58c08
AZ
214712014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21472
21473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21474
4248f0da
OB
214752014-02-26 Ondřej Bílka <neleai@seznam.cz>
21476
21477 * malloc/malloc.c (__libc_calloc): Simplify implementation.
21478
cf822e3c
OB
21479 * manual/arith.texi: Fix spaces after sentences.
21480 * manual/charset.texi: Likewise.
21481 * manual/errno.texi: Likewise.
21482 * manual/install.texi: Likewise.
21483 * manual/llio.texi: Likewise.
21484 * manual/locale.texi: Likewise.
21485 * manual/maint.texi: Likewise.
21486 * manual/math.texi: Likewise.
21487 * manual/memory.texi: Likewise.
21488 * manual/message.texi: Likewise.
21489 * manual/probes.texi: Likewise.
21490 * manual/resource.texi: Likewise.
21491 * manual/signal.texi: Likewise.
21492 * manual/socket.texi: Likewise.
21493 * manual/stdio.texi: Likewise.
21494 * manual/string.texi: Likewise.
21495 * manual/time.texi: Likewise.
21496 * manual/users.texi: Likewise.
21497
ade40b10
CD
214982014-02-25 Carlos O'Donell <carlos@redhat.com>
21499
21500 [BZ #16632]
21501 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
21502 _DEFAULT_SOURCE is defined.
21503
d0503676
CD
215042014-02-25 Ulrich Drepper <drepper@gmail.com>
21505 Carlos O'Donell <carlos@redhat.com>
21506
21507 [BZ #16613]
21508 * elf/dl-tls.c (_dl_count_modids): New function.
21509 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
21510 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
21511 audit library and increment generation counter.
21512 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
21513 * elf/tst-audit9.c: New file.
21514 * elf/tst-auditmod9a.c: New file.
21515 * elf/tst-auditmod9b.c: New file.
21516 * elf/Makefile: Add rules to build and run tst-audit9.
21517
4cbf380c
FW
215182014-02-25 Florian Weimer <fweimer@redhat.com>
21519
21520 [BZ #15347]
21521 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
21522
80a56cc3
WN
215232014-02-25 Will Newton <will.newton@linaro.org>
21524
21525 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
21526 (__longjmp): Restore sp and lr before restoring callee
21527 saved registers. Add longjmp and longjmp_target
21528 SystemTap probe point.
21529 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
21530 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
21531 Define to zero to match jmpbuf layout.
21532 * sysdeps/arm/setjmp.S: Include stap-probe.h.
21533 (__sigsetjmp): Save sp and lr before saving callee
21534 saved registers. Add setjmp SystemTap probe point.
21535
3ea0f74e
SL
215362014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21537
21538 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21539
b04acb26
AS
215402014-02-24 Andreas Schwab <schwab@suse.de>
21541
21542 [BZ #15804]
21543 * elf/pldd.c (wait_for_ptrace_stop): New function.
21544 (main): Call it after attaching.
21545
098ad55c
RM
215462014-02-22 Roland McGrath <roland@hack.frob.com>
21547
d4ec6ae1
RM
21548 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
21549 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
21550 Versions files is now verboten.
21551 * hurd/Versions (libc: GLIBC_2.0):
21552 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
21553 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
21554 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
21555 * mach/Versions: Likewise.
21556
098ad55c
RM
21557 * csu/Versions: Remove unused %include.
21558 * resolv/Versions: Likewise.
21559
acd7f096
JM
215602014-02-21 Joseph Myers <joseph@codesourcery.com>
21561
f0881698
JM
21562 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
21563 ($(objpfx)check-local-headers.out): Likewise.
21564 ($(objpfx)begin-end-check.out): Likewise.
21565 * Makerules (check-abi-%.out): Likewise.
21566 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
21567 ($(objpfx)test2.cat): Likewise.
21568 ($(objpfx)de/libc.cat): Likewise.
21569 ($(objpfx)test-gencat.out): Likewise.
21570 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
21571 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
21572 ($(objpfx)noload-mem): Likewise.
21573 ($(objpfx)tst-pathopt.out): Likewise.
21574 ($(objpfx)tst-rtld-load-self.out): Likewise.
21575 ($(objpfx)tst-array1-cmp.out): Likewise.
21576 ($(objpfx)tst-array1-static-cmp.out): Likewise.
21577 ($(objpfx)tst-array2-cmp.out): Likewise.
21578 ($(objpfx)tst-array3-cmp.out): Likewise.
21579 ($(objpfx)tst-array4-cmp.out): Likewise.
21580 ($(objpfx)tst-array5-cmp.out): Likewise.
21581 ($(objpfx)tst-array5-static-cmp.out): Likewise.
21582 ($(objpfx)check-textrel.out): Likewise.
21583 ($(objpfx)check-execstack.out): Likewise.
21584 ($(objpfx)check-localplt.out): Likewise.
21585 ($(objpfx)order2-cmp.out): Likewise.
21586 ($(objpfx)tst-leaks1-mem): Likewise.
21587 ($(objpfx)tst-leaks1-static-mem): Likewise.
21588 ($(objpfx)tst-initorder-cmp.out): Likewise.
21589 ($(objpfx)tst-initorder2-cmp.out): Likewise.
21590 ($(objpfx)tst-unused-dep.out): Likewise.
21591 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
21592 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
21593 * iconv/Makefile (test-iconvconfig): Likewise.
21594 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
21595 ($(objpfx)iconv-test.out): Likewise.
21596 ($(objpfx)tst-tables.out): Likewise.
21597 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
21598 ($(objpfx)tst-gettext.out): Likewise.
21599 ($(objpfx)tst-translit.out): Likewise.
21600 ($(objpfx)tst-gettext2.out): Likewise.
21601 ($(objpfx)tst-gettext4.out): Likewise.
21602 ($(objpfx)tst-gettext6.out): Likewise.
21603 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
21604 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
21605 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
21606 ($(objpfx)tst-fopenloc-mem.out): Likewise.
21607 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
21608 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
21609 * posix/Makefile ($(objpfx)globtest.out): Likewise.
21610 ($(objpfx)wordexp-tst.out): Likewise.
21611 ($(objpfx)annexc.out): Likewise.
21612 ($(objpfx)tst-fnmatch-mem): Likewise.
21613 ($(objpfx)bug-regex2-mem): Likewise.
21614 ($(objpfx)bug-regex14-mem): Likewise.
21615 ($(objpfx)bug-regex21-mem): Likewise.
21616 ($(objpfx)bug-regex31-mem): Likewise.
21617 ($(objpfx)tst-vfork3-mem): Likewise.
21618 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21619 ($(objpfx)tst-pcre-mem): Likewise.
21620 ($(objpfx)tst-boost-mem): Likewise.
21621 ($(objpfx)tst-getconf.out): Likewise.
21622 ($(objpfx)bug-ga2-mem): Likewise.
21623 ($(objpfx)bug-glob2-mem): Likewise.
21624 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
21625 ($(objpfx)mtrace-tst-leaks2): Likewise.
21626 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
21627 ($(objpfx)tst-printf.out): Likewise.
21628 ($(objpfx)tst-setvbuf1.out): Likewise.
21629 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
21630 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
21631 ($(objpfx)tst-fmtmsg.out): Likewise.
21632 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
21633 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
21634
acd7f096
JM
21635 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
21636 * bits/sigaction.h [__USE_MISC]: Likewise.
21637 * bits/waitstatus.h: Update #endif comments.
21638 * ctype/ctype.h: Likewise.
21639 * dirent/dirent.h: Likewise.
21640 [__USE_MISC]: Remove redundant conditionals.
21641 * grp/grp.h: Update #endif comments.
21642 [__USE_GNU]: Remove redundant conditionals.
21643 [__USE_MISC]: Likewise.
21644 * inet/netinet/in.h [__USE_GNU]: Likewise.
21645 * io/sys/stat.h [__USE_MISC]: Likewise.
21646 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
21647 * libio/bits/stdio.h: Update #endif comments.
21648 [__USE_MISC]: Remove redundant conditionals.
21649 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
21650 * libio/stdio.h: Update #endif comments.
21651 [__USE_MISC]: Remove redundant conditionals.
21652 * math/bits/math-finite.h [__USE_MISC]: Likewise.
21653 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
21654 * math/math.h: Update #else and #endif comments.
21655 [__USE_MISC]: Remove redundant conditionals.
21656 * misc/sys/uio.h: Update #endif comments.
21657 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
21658 * posix/glob.h [__USE_MISC]: Likewise.
21659 * posix/sys/types.h: Update #endif comments.
21660 [__USE_MISC]: Remove redundant conditionals.
21661 * posix/sys/wait.h: Update #endif comments.
21662 [__USE_MISC]: Remove redundant conditionals.
21663 * posix/unistd.h: Update #endif comments.
21664 [__USE_MISC]: Remove redundant conditionals.
21665 * pwd/pwd.h [__USE_GNU]: Likewise.
21666 [__USE_MISC]: Likewise.
21667 * resolv/netdb.h [__USE_GNU]: Likewise.
21668 * signal/signal.h: Update #endif comments.
21669 [__USE_MISC]: Remove redundant conditionals.
21670 * stdlib/stdlib.h: Update #else and #endif comments.
21671 [__USE_MISC]: Remove redundant conditionals.
21672 [__USE_GNU]: Likewise.
21673 * string/bits/string2.h [__USE_MISC]: Likewise.
21674 * string/string.h: Update #endif comments.
21675 [__USE_MISC]: Remove redundant conditionals.
21676 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
21677 Likewise.
21678 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
21679 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
21680 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
21681 Likewise.
21682 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
21683 Likewise.
21684 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
21685 comments.
21686 [__USE_MISC]: Remove redundant conditionals.
21687 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
21688 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
21689 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
21690 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
21691 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
21692 Likewise.
21693 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
21694 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
21695 Likewise.
21696 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
21697 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
21698 Likewise.
21699 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
21700 Likewise.
21701 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
21702 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
21703 Likewise.
21704 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
21705 Likewise.
21706 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
21707 * sysdeps/x86/bits/string.h: Update #endif comments.
21708 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
21709 conditionals.
21710 * time/sys/time.h: Update #endif comments.
21711 * time/time.h: Likewise.
21712 [__USE_MISC]: Remove redundant conditionals.
21713
a5d82e4e
YG
217142014-02-21 Yury Gribov <y.gribov@samsung.com>
21715
21716 [BZ #16600]
21717 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
21718
9a80491d
AS
217192014-02-21 Andreas Schwab <schwab@linux-m68k.org>
21720
21721 * Versions.def (librt): Add GLIBC_2.17.
21722
105fa381
AC
217232014-02-21 Adam Conrad <adconrad@0c3.net>
21724
21725 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
21726 synonym for _SYS_AUXV_H to allow direct inclusion.
21727 * sysdeps/sparc/bits/hwcap.h: Likewise.
21728 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
21729 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
21730 * sysdeps/sparc/sysdep.h: Likewise.
21731
b8cd1c4e
SP
217322014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21733
21734 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
21735
bd939d23
RS
217362014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21737
21738 * benchtests/bench-strrchr.c: Print length instead of position.
21739
5d7b57ca
JM
217402014-02-20 Joseph Myers <joseph@codesourcery.com>
21741
bc688c10
JM
21742 [BZ #16611]
21743 * sysdeps/unix/sysv/linux/kernel-features.h
21744 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
21745 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
21746 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
21747 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
21748 Likewise.
21749 [__i386__ || __powerpc__ || __sh__ || __sparc__]
21750 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21751 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
21752 (__ASSUME_SENDMMSG): Define instead of using previous
21753 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
21754 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21755 (__ASSUME_SENDMMSG_SYSCALL): Define.
21756 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21757 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
21758 Likewise.
21759 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21760 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21761 Likewise.
21762 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21763 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21764 Likewise.
21765 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
21766 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21767 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21768 [__ASSUME_SENDMMSG]: Change conditionals to
21769 [__ASSUME_SENDMMSG_SOCKETCALL].
21770 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21771 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
21772 Define.
21773 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21774 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
21775 Likewise.
21776 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
21777 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21778 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21779 [!__ASSUME_SENDMMSG]: Change conditional to
21780 [!__ASSUME_SENDMMSG_SOCKETCALL].
21781 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21782 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21783 Define.
21784
0e31b18c
JM
21785 [BZ #16610]
21786 * sysdeps/unix/sysv/linux/kernel-features.h
21787 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
21788 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
21789 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
21790 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
21791 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21792 [__i386__ || __sparc__]
21793 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21794 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
21795 (__ASSUME_RECVMMSG): Define instead of using previous
21796 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
21797 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21798 (__ASSUME_RECVMMSG_SYSCALL): Define.
21799 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21800 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21801 Likewise.
21802 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21803 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21804 Likewise.
21805 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21806 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21807 Likewise.
21808 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
21809 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21810 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21811 [__ASSUME_RECVMMSG]: Change condition to
21812 [__ASSUME_RECVMMSG_SOCKETCALL].
21813 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21814 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21815 Define.
21816 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21817 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21818 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21819 Likewise.
21820 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
21821 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21822 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21823 [!__ASSUME_RECVMMSG]: Change condition to
21824 [!__ASSUME_RECVMMSG_SOCKETCALL].
21825 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21826 (__ASSUME_RECVMMSG_SYSCALL): Define.
21827
dd481ccf
JM
21828 [BZ #16609]
21829 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
21830 __powerpc__ || __s390__ || __sh__ || __sparc__]
21831 (__ASSUME_SOCKETCALL): Define.
21832 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
21833 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
21834 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
21835 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
21836 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21837 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
21838 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
21839 (__ASSUME_ACCEPT4): Define instead of using previous
21840 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
21841 __powerpc__ || __sparc__ || __s390__)] condition.
21842 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21843 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21844 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
21845 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21846 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21847 [!__ASSUME_ACCEPT4]: Change condition to
21848 [!__ASSUME_ACCEPT4_SOCKETCALL].
21849 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21850 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
21851 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
21852 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21853 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
21854 __ASSUME_ACCEPT4_SYSCALL.
21855 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
21856 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
21857 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21858 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
21859 __ASSUME_ACCEPT4_SYSCALL.
21860 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
21861 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21862 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21863 [__ASSUME_ACCEPT4]: Change condition to
21864 [__ASSUME_ACCEPT4_SOCKETCALL].
21865 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21866 (__ASSUME_SOCKETCALL): Define.
21867 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
21868 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21869 (__ASSUME_SOCKETCALL): Define.
21870 (__ASSUME_ACCEPT4): Remove.
21871 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
21872 Define.
21873 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21874 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
21875 Likewise.
21876 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21877 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21878
5d7b57ca
JM
21879 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
21880 macro.
21881 (HWCAP_ARM_LPAE): Likewise.
21882 (HWCAP_ARM_EVTSTRM): Likewise.
21883 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
21884 Add vpfd32, lpae and evtstrm.
21885 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
21886 Increase to 22.
21887
63689d61
JM
218882014-02-19 Joseph Myers <joseph@codesourcery.com>
21889
21890 * math/auto-libm-test-in: Add tests of clog10.
21891 * math/auto-libm-test-out: Regenerated.
21892 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
21893 * sysdeps/i386/fpu/libm-test-ulps: Update.
21894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21895
ab09bf61
AS
218962014-02-18 Andreas Schwab <schwab@suse.de>
21897
21898 [BZ #16574]
21899 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
21900 Store non-zero if the second buffer was newly allocated.
21901 (send_dg): Likewise.
21902 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
21903 to send_vc and send_dg.
21904 (res_nsend): Pass NULL for ansp2_malloced.
21905 * resolv/res_query.c (__libc_res_nquery): Add parameter
21906 answerp2_malloced and pass it down to __libc_res_nsend.
21907 (res_nquery): Pass additional NULL to __libc_res_nquery.
21908 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
21909 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
21910 second answer buffer if answerp2_malloced was set.
21911 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
21912 (__libc_res_nquerydomain): Add parameter
21913 answerp2_malloced and pass it down to __libc_res_nquery.
21914 (res_nquerydomain): Pass additional NULL to
21915 __libc_res_nquerydomain.
21916 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
21917 additional NULL to __libc_res_nsend and __libc_res_nquery.
21918 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
21919 additional NULL to __libc_res_nsearch.
21920 (_nss_dns_gethostbyname4_r): Revert last change. Use new
21921 parameter of __libc_res_nsearch to check for separately allocated
21922 second buffer.
21923 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
21924 __libc_res_nquery.
21925 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
21926 additional NULL to __libc_res_nquery.
21927 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
21928 __libc_res_nsearch.
21929 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
21930 * include/resolv.h: Update prototypes of __libc_res_nquery,
21931 __libc_res_nsearch, __libc_res_nsend.
21932
a4fb7861
JM
219332014-02-18 Joseph Myers <joseph@codesourcery.com>
21934
c6af2d89
JM
21935 * math/auto-libm-test-in: Add tests of fma.
21936 * math/auto-libm-test-out: Regenerated.
21937 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
21938 (fma_towardzero_test_data): Likewise.
21939 (fma_downward_test_data): Likewise.
21940 (fma_upward_test_data): Likewise.
21941 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
21942 mpc_mode.
21943 (rounding_modes): Add values for new field.
21944 (func_calc_method): Add value mpfr_fff_f.
21945 (func_calc_desc): Add mpfr_fff_f union field.
21946 (test_function): Add field exact_args.
21947 (FUNC): Add macro argument EXACT_ARGS.
21948 (FUNC_mpfr_f_f): Update call to FUNC.
21949 (FUNC_mpfr_f_f): Likewise.
21950 (FUNC_mpfr_ff_f): Likewise.
21951 (FUNC_mpfr_if_f): Likewise.
21952 (FUNC_mpc_c_f): Likewise.
21953 (FUNC_mpc_c_c): Likewise.
21954 (test_functions): Add fma. Update calls to FUNC.
21955 (handle_input_arg): Add argument exact_args.
21956 (add_test): Update call to handle_input_arg.
21957 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
21958 (output_for_one_input_case): Update call to calc_generic_results.
21959 Recalculate exact zero results in each rounding mode.
21960
a4fb7861
JM
21961 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
21962 non-negative before setting low bit.
21963 * math/auto-libm-test-in: Mark one asin test possibly having
21964 spurious underflow.
21965 * math/auto-libm-test-out: Regenerated.
21966 * sysdeps/i386/fpu/libm-test-ulps: Update.
21967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21968
ef114eaf
DH
219692014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
21970
2b7f4f2c
SP
21971 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
21972 * sysdeps/unix/sysv/linux/microblaze: Move directory from
21973 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
21974 * README: Add missing listing for microblaze*-*-linux-gnu.
21975
8125aedc
AM
219762014-02-16 Ondřej Bílka <neleai@seznam.cz>
21977
21978 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
21979 duplicate code
21980
c70a4b1d
MF
219812014-02-16 Mike Frysinger <vapier@gentoo.org>
21982
21983 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
21984 * sysdeps/unix/sysv/linux/ia64: Move directory from
21985 ports/sysdeps/unix/sysv/linux/ia64.
21986 * README: Update listing for ia64-*-linux-gnu.
21987
591aeaf7
TD
219882014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
21989 Joseph Myers <joseph@codesourcery.com>
21990
21991 * Makeconfig (test-name): New variable.
21992 (evaluate-test): Likewise.
21993 * Makerules (do-test-clean): Remove .test-result files.
21994 (common-mostlyclean): Likewise.
21995 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
21996 * scripts/evaluate-test.sh: New file.
21997
6e89caf1
JM
219982014-02-14 Joseph Myers <joseph@codesourcery.com>
21999
7f98f180
JM
22000 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
22001 separate $(objpfx)tst-fopenloc-cmp.out and
22002 $(objpfx)tst-fopenloc-mem.out targets.
22003 (tests): Update dependencies.
22004 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
22005 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
22006 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
22007 (tst-rxspencer-no-utf8-ARGS): New variable.
22008 (tst-rxspencer-no-utf8-ENV): Likewise.
22009 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
22010 instead of $(objpfx)tst-rxspencer-mem.
22011 ($(objpfx)tst-rxspencer-mem): Change target to
22012 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
22013 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
22014 * posix/tst-rxspencer-no-utf8.c: New file.
22015
6e89caf1
JM
22016 * elf/Makefile ($(objpfx)order.out): Remove rule.
22017 [$(run-built-tests) = yes] (tests): Depend on
22018 $(objpfx)order-cmp.out.
22019 ($(objpfx)order-cmp.out): New rule.
22020 [$(run-built-tests) = yes] (tests): Depend on
22021 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
22022 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
22023 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
22024 $(objpfx)tst-array5-static-cmp.out.
22025 ($(objpfx)tst-array1.out): Remove rule.
22026 ($(objpfx)tst-array1-cmp.out): New rule.
22027 ($(objpfx)tst-array1-static.out): Remove rule.
22028 ($(objpfx)tst-array1-static-cmp.out): New rule.
22029 ($(objpfx)tst-array2.out): Remove rule.
22030 ($(objpfx)tst-array2-cmp.out): New rule.
22031 ($(objpfx)tst-array3.out): Remove rule.
22032 ($(objpfx)tst-array3-cmp.out): New rule.
22033 ($(objpfx)tst-array4.out): Remove rule.
22034 ($(objpfx)tst-array4-cmp.out): New rule.
22035 ($(objpfx)tst-array5.out): Remove rule.
22036 ($(objpfx)tst-array5-cmp.out): New rule.
22037 ($(objpfx)tst-array5-static.out): Remove rule.
22038 ($(objpfx)tst-array5-static-cmp.out): New rule.
22039 [$(run-built-tests) = yes] (tests): Depend on
22040 $(objpfx)order2-cmp.out.
22041 ($(objpfx)order2.out): Remove rule.
22042 ($(objpfx)order2-cmp.out): New rule.
22043 ($(objpfx)tst-initorder.out): Remove rule.
22044 [$(run-built-tests) = yes] (tests): Depend on
22045 $(objpfx)tst-initorder-cmp.out.
22046 ($(objpfx)tst-initorder-cmp.out): New rule.
22047 ($(objpfx)tst-initorder2.out): Remove rule.
22048 [$(run-built-tests) = yes] (tests): Depend on
22049 $(objpfx)tst-initorder2-cmp.out.
22050 ($(objpfx)tst-initorder2-cmp.out): New rule.
22051 [$(run-built-tests) = yes] (tests): Depend on
22052 $(objpfx)tst-unused-dep-cmp.out.
22053 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
22054 ($(objpfx)tst-unused-dep-cmp.out): New rule.
22055 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
22056 on $(objpfx)tst-setvbuf1-cmp.out.
22057 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
22058 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
22059 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
22060 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
22061 ($(objpfx)tst-svc.out): Remove rule.
22062 ($(objpfx)tst-svc-cmp.out): New rule.
22063
ed9a38e2
JM
220642014-02-13 Joseph Myers <joseph@codesourcery.com>
22065
22066 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
22067 * ctype/ctype.h [__USE_MISC]: Likewise.
22068 * dirent/dirent.h [__USE_MISC]: Likewise.
22069 * grp/grp.h [__USE_MISC]: Likewise.
22070 * io/fcntl.h [__USE_MISC]: Likewise.
22071 * io/sys/stat.h [__USE_MISC]: Likewise.
22072 * libio/stdio.h [__USE_MISC]: Likewise.
22073 * posix/unistd.h [__USE_MISC]: Likewise.
22074 * pwd/pwd.h [__USE_MISC]: Likewise.
22075 * stdlib.h [__USE_MISC]: Likewise.
22076 * string/bits/string2.h [__USE_MISC]: Likewise.
22077 * string/string.h [__USE_MISC]: Likewise.
22078 * time/time.h [__USE_MISC]: Likewise.
22079
d6680619
AS
220802014-02-13 Andreas Schwab <schwab@suse.de>
22081
22082 [BZ #16574]
22083 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
22084 second answer buffer if it was separately allocated.
22085
ace614b8
JM
220862014-02-12 Joseph Myers <joseph@codesourcery.com>
22087
743151ae
JM
22088 * sysdeps/mips/math-tests.h: Include <features.h>.
22089 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22090 (ROUNDING_TESTS_long_double): Do not define.
22091 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22092 (EXCEPTION_TESTS_long_double): Likewise.
22093 * sysdeps/mips/mips64/libm-test-ulps: Update.
22094
498afc54
JM
22095 * include/features.h (__USE_BSD): Remove macro definitions.
22096 (__USE_SVID): Likewise.
22097 (_BSD_SOURCE): Likewise.
22098 (_SVID_SOURCE): Likewise.
22099 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
22100 from definition of _DEFAULT_SOURCE.
22101 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
22102 [_DEFAULT_SOURCE].
22103 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
22104 * bits/mman.h [__USE_BSD]: Likewise.
22105 * bits/termios.h [__USE_BSD]: Likewise.
22106 * bits/waitstatus.h [__USE_BSD]: Likewise.
22107 * ctype/ctype.h [__USE_SVID]: Likewise.
22108 * dirent/dirent.h [__USE_BSD]: Likewise.
22109 * grp/grp.h [__USE_SVID]: Likewise.
22110 [__USE_BSD]: Likewise.
22111 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
22112 * io/fcntl.h [__USE_BSD]: Likewise.
22113 * io/ftw.h [__USE_BSD]: Likewise.
22114 * io/sys/stat.h [__USE_BSD]: Likewise.
22115 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
22116 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
22117 * libio/stdio.h [__USE_SVID]: Likewise.
22118 [__USE_BSD]: Likewise.
22119 * math/math.h [__USE_SVID]: Likewise.
22120 [__USE_BSD]: Likewise.
22121 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
22122 * misc/bits/syslog.h [__USE_BSD]: Likewise.
22123 * misc/search.h [__USE_SVID]: Likewise.
22124 * misc/sys/mman.h [__USE_BSD]: Likewise.
22125 * misc/sys/syslog.h [__USE_BSD]: Likewise.
22126 * misc/sys/uio.h [__USE_BSD]: Likewise.
22127 * posix/bits/unistd.h [__USE_BSD]: Likewise.
22128 * posix/glob.h [__USE_BSD]: Likewise.
22129 * posix/regex.h [__USE_BSD]: Likewise.
22130 * posix/sys/types.h [__USE_BSD]: Likewise.
22131 [__USE_SVID]: Likewise.
22132 * posix/sys/utsname.h [__USE_SVID]: Likewise.
22133 * posix/sys/wait.h [__USE_BSD]: Likewise.
22134 [__USE_SVID]: Likewise.
22135 * posix/unistd.h [__USE_BSD]: Likewise.
22136 [__USE_SVID]: Likewise.
22137 * pwd/pwd.h [__USE_SVID]: Likewise.
22138 * resolv/netdb.h [__USE_BSD]: Likewise.
22139 * setjmp/setjmp.h [__USE_BSD]: Likewise.
22140 * signal/signal.h [__USE_BSD]: Likewise.
22141 [__USE_SVID]: Likewise.
22142 * socket/sys/socket.h [__USE_BSD]: Likewise.
22143 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
22144 * stdlib/stdlib.h [__USE_BSD]: Likewise.
22145 [__USE_SVID]: Likewise.
22146 * string/bits/string2.h [__USE_BSD]: Likewise.
22147 [__USE_SVID]: Likewise.
22148 * string/bits/string3.h [__USE_BSD]: Likewise.
22149 * string/endian.h [__USE_BSD]: Likewise.
22150 * string/string.h [__USE_SVID]: Likewise.
22151 [__USE_BSD]: Likewise.
22152 * string/strings.h [__USE_BSD]: Likewise.
22153 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
22154 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
22155 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
22156 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
22157 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
22158 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
22159 Likewise.
22160 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
22161 Likewise.
22162 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
22163 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
22164 Likewise.
22165 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
22166 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
22167 Likewise.
22168 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
22169 Likewise.
22170 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
22171 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
22172 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
22173 Likewise.
22174 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
22175 Likewise.
22176 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
22177 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
22178 * termios/termios.h [__USE_BSD]: Likewise.
22179 * time/sys/time.h [__USE_BSD]: Likewise.
22180 * time/time.h [__USE_BSD]: Likewise.
22181 [__USE_SVID]: Likewise.
22182
dd7b064c
JM
22183 * Makefile (subdir_targets): Remove subdir_lint.out.
22184
a2c4c199
JM
22185 * stdio-common/Makefile (do-tst-unbputc): Remove target.
22186 (do-tst-printf): Likewise.
22187 (tests): Depend directly on $(objpfx)tst-unbputc.out and
22188 $(objpfx)tst-printf.out.
22189
8756f740
JM
22190 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
22191
1b6dd3f1
JM
22192 * Makerules (check-abi-%): Change target to
22193 $(objpfx)check-abi-%.out.
22194 (check-abi target): Update dependencies.
22195 (check-abi-pattern variable): Redirect output of diff to $@.
22196 (check-abi variable): Likewise.
22197 * elf/Makefile (check-abi): Update dependencies.
22198
ace614b8
JM
22199 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
22200 unused.
22201 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
22202 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
22203 subnormal range.
22204 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
22205 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
22206 value has largest subnormal exponent.
22207 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
22208 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
22209 * sysdeps/aarch64/soft-fp/sfp-machine.h
22210 (_FP_TININESS_AFTER_ROUNDING): New macro.
22211 * sysdeps/alpha/soft-fp/sfp-machine.h
22212 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22213 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22214 Likewise.
22215 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
22216 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22217 * sysdeps/mips/soft-fp/sfp-machine.h
22218 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22219 * sysdeps/powerpc/soft-fp/sfp-machine.h
22220 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22221 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22222 Likewise.
22223 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22224 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22225 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22226 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22227 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22228 Likewise.
22229
fbfdf9cb
DAS
222302014-02-12 Dylan Alex Simon <dylan@dylex.net>
22231
22232 [BZ #16545]
22233 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
22234 model 1.
22235
68b7efaa
RH
222362014-02-12 Richard Henderson <rth@redhat.com>
22237
c70a4b1d 22238 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
22239 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
22240 * sysdeps/unix/sysv/linux/alpha: Move directory from
22241 ports/sysdeps/unix/sysv/linux/alpha.
22242 * README: Update listing for alpha-*-linux-gnu.
22243
cb4a2928
JM
222442014-02-11 Joseph Myers <joseph@codesourcery.com>
22245
c941736c
JM
22246 * include/features.h: Update comment documenting feature test
22247 macros.
22248 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
22249 _DEFAULT_SOURCE.
22250 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
22251 (_SVID_SOURCE): Likewise.
22252 (_DEFAULT_SOURCE): Update description of default features.
22253 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
22254 with _GNU_SOURCE.
22255 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
22256 (S_ISVTX): Likewise.
22257 * manual/math.texi (Mathematical Constants): Likewise.
22258 * manual/signal.texi (Interrupted Primitives): Likewise.
22259 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
22260 * math/test-matherr.c (_SVID_SOURCE): Do not define.
22261 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
22262 Don't refer to _SVID_SOURCE in warning text.
22263
e8d8d7ec
JM
22264 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22265
cb4a2928
JM
22266 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
22267 already defined.
22268 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
22269 * sysdeps/mips/dl-lookup.c: Remove.
22270 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
22271
7e6424e3
AK
222722014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22273
22274 [BZ #16447]
22275 * math/auto-libm-test-in: Add testcase for expl.
22276 * math/auto-libm-test-out: Regenerate.
22277 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
22278 calculation of unsafe.
22279 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
22280
75eff3fe
MS
222812014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
22282
22283 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
22284 * sysdeps/unix/sysv/linux/aarch64: Move directory from
22285 ports/sysdeps/unix/sysv/linux/aarch64.
22286 * README: Update listing for aarch64*-*-linux-gnu.
22287
d35f1e80
WN
222882014-02-11 Will Newton <will.newton@linaro.org>
22289
22290 * manual/probes.texi (Mathematical Function Probes): Use
22291 "triggered" instead of "hit".
22292
7b3436d4
WN
22293 * manual/probes.texi (Internal Probes): Add documentation
22294 of setjmp, longjmp and longjmp_target probes.
22295
b4f12ca3
WN
22296 * include/stap-probe.h: Add comment about probe argument
22297 format.
22298
c13a72b7
WN
22299 * malloc/mtrace.c (attribute_hidden): Remove unused macro
22300 definition. (tr_where, tr_freehook, tr_mallochook,
22301 tr_reallochook, tr_memalignhook): Use ANSI protoype.
22302
195b8165
DM
223032014-02-11 David S. Miller <davem@davemloft.net>
22304
22305 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
22306 processing int_tests.
22307
2ad7600b
JM
223082014-02-10 Joseph Myers <joseph@codesourcery.com>
22309
22310 * sysdeps/mips: Move directory from ports/sysdeps/mips.
22311 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
22312 * sysdeps/unix/sysv/linux/mips: Move directory from
22313 ports/sysdeps/unix/sysv/linux/mips.
22314 * README: Update listing for mips-*-linux-gnu and
22315 mips64-*-linux-gnu.
22316
73588a72
AS
223172014-02-10 Andreas Schwab <schwab@linux-m68k.org>
22318
22319 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
22320 * sysdeps/unix/sysv/linux/m68k: Move directory from
22321 ports/sysdeps/unix/sysv/linux/m68k.
22322 * README: Update listing for m68k-*-linux-gnu.
22323
4372980f
CM
223242014-02-10 Chris Metcalf <cmetcalf@tilera.com>
22325
22326 * sysdeps/tile: Move directory from ports/sysdeps/tile.
22327 * sysdeps/unix/sysv/linux/generic: Move directory from
22328 ports/sysdeps/unix/sysv/linux/generic.
22329 * sysdeps/unix/sysv/linux/tile: Move directory from
22330 ports/sysdeps/unix/sysv/linux/tile.
22331 * README: Update listing for tile*-*-linux-gnu.
22332
a1ffb40e
OB
223332014-02-10 Ondřej Bílka <neleai@seznam.cz>
22334
57f41c40
AS
22335 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
22336 __builtin_expect.
a1ffb40e
OB
22337 * benchtests/bench-memmem.c (simple_memmem): Likewise.
22338 * catgets/open_catalog.c (__open_catalog): Likewise.
22339 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
22340 * debug/confstr_chk.c: Likewise.
22341 * debug/fread_chk.c (__fread_chk): Likewise.
22342 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
22343 * debug/getgroups_chk.c: Likewise.
22344 * debug/mbsnrtowcs_chk.c: Likewise.
22345 * debug/mbsrtowcs_chk.c: Likewise.
22346 * debug/mbstowcs_chk.c: Likewise.
22347 * debug/memcpy_chk.c: Likewise.
22348 * debug/memmove_chk.c: Likewise.
22349 * debug/mempcpy_chk.c: Likewise.
22350 * debug/memset_chk.c: Likewise.
22351 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22352 * debug/strcat_chk.c (__strcat_chk): Likewise.
22353 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
22354 * debug/strncat_chk.c (__strncat_chk): Likewise.
22355 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
22356 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
22357 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
22358 * debug/wcpncpy_chk.c: Likewise.
22359 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22360 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
22361 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
22362 * debug/wcsncpy_chk.c: Likewise.
22363 * debug/wcsnrtombs_chk.c: Likewise.
22364 * debug/wcsrtombs_chk.c: Likewise.
22365 * debug/wcstombs_chk.c: Likewise.
22366 * debug/wmemcpy_chk.c: Likewise.
22367 * debug/wmemmove_chk.c: Likewise.
22368 * debug/wmempcpy_chk.c: Likewise.
22369 * debug/wmemset_chk.c: Likewise.
22370 * dirent/scandirat.c (SCANDIRAT): Likewise.
22371 * dlfcn/dladdr1.c (dladdr1): Likewise.
22372 * dlfcn/dladdr.c (dladdr): Likewise.
22373 * dlfcn/dlclose.c (dlclose_doit): Likewise.
22374 * dlfcn/dlerror.c (__dlerror): Likewise.
22375 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
22376 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
22377 * dlfcn/dlopen.c (dlopen_doit): Likewise.
22378 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22379 * dlfcn/dlsym.c (dlsym_doit): Likewise.
22380 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
22381 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
22382 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
22383 Likewise.
22384 * elf/dl-conflict.c: Likewise.
22385 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
22386 * elf/dl-dst.h: Likewise.
22387 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
22388 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
22389 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
22390 * elf/dl-init.c (call_init, _dl_init): Likewise.
22391 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
22392 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
22393 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
22394 Likewise.
a1ffb40e
OB
22395 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
22396 Likewise.
22397 * elf/dl-minimal.c (__libc_memalign): Likewise.
22398 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
22399 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22400 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
22401 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
22402 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
22403 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
22404 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
22405 * elf/dl-writev.h (_dl_writev): Likewise.
22406 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
22407 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
22408 (dl_main): Likewise.
a1ffb40e
OB
22409 * elf/setup-vdso.h (setup_vdso): Likewise.
22410 * grp/compat-initgroups.c (compat_call): Likewise.
22411 * grp/fgetgrent.c (fgetgrent): Likewise.
22412 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
22413 * grp/putgrent.c (putgrent): Likewise.
22414 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22415 Likewise.
22416 * hurd/hurdinit.c: Likewise.
22417 * iconvdata/8bit-gap.c (struct): Likewise.
22418 * iconvdata/ansi_x3.110.c : Likewise.
22419 * iconvdata/big5.c : Likewise.
22420 * iconvdata/big5hkscs.c : Likewise.
22421 * iconvdata/cp1255.c: Likewise.
22422 * iconvdata/cp1258.c : Likewise.
22423 * iconvdata/cp932.c : Likewise.
22424 * iconvdata/euc-cn.c: Likewise.
22425 * iconvdata/euc-jisx0213.c : Likewise.
22426 * iconvdata/euc-jp.c: Likewise.
22427 * iconvdata/euc-jp-ms.c : Likewise.
22428 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
22429 * iconvdata/gb18030.c : Likewise.
22430 * iconvdata/gbbig5.c (const): Likewise.
22431 * iconvdata/gbgbk.c: Likewise.
22432 * iconvdata/gbk.c : Likewise.
22433 * iconvdata/ibm1364.c : Likewise.
22434 * iconvdata/ibm930.c : Likewise.
22435 * iconvdata/ibm932.c: Likewise.
22436 * iconvdata/ibm933.c : Likewise.
22437 * iconvdata/ibm935.c : Likewise.
22438 * iconvdata/ibm937.c : Likewise.
22439 * iconvdata/ibm939.c : Likewise.
22440 * iconvdata/ibm943.c: Likewise.
22441 * iconvdata/iso_11548-1.c: Likewise.
22442 * iconvdata/iso-2022-cn.c : Likewise.
22443 * iconvdata/iso-2022-cn-ext.c : Likewise.
22444 * iconvdata/iso-2022-jp-3.c: Likewise.
22445 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
22446 * iconvdata/iso-2022-kr.c : Likewise.
22447 * iconvdata/iso646.c (gconv_end): Likewise.
22448 * iconvdata/iso_6937-2.c : Likewise.
22449 * iconvdata/iso_6937.c : Likewise.
22450 * iconvdata/iso8859-1.c: Likewise.
22451 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
22452 * iconvdata/shift_jisx0213.c : Likewise.
22453 * iconvdata/sjis.c : Likewise.
22454 * iconvdata/t.61.c : Likewise.
22455 * iconvdata/tcvn5712-1.c : Likewise.
22456 * iconvdata/tscii.c: Likewise.
22457 * iconvdata/uhc.c : Likewise.
22458 * iconvdata/unicode.c (gconv_end): Likewise.
22459 * iconvdata/utf-16.c (gconv_end): Likewise.
22460 * iconvdata/utf-32.c (gconv_end): Likewise.
22461 * iconvdata/utf-7.c (base64): Likewise.
22462 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
22463 * iconv/gconv_close.c (__gconv_close): Likewise.
22464 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
22465 * iconv/gconv_simple.c (internal_ucs4_loop_single)
22466 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
22467 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
22468 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
22469 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
22470 * iconv/iconv.c (iconv): Likewise.
22471 * iconv/iconv_close.c: Likewise.
22472 * iconv/loop.c (SINGLE): Likewise.
22473 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
22474 * include/atomic.h: Likewise.
22475 * inet/inet6_option.c (option_alloc): Likewise.
22476 * intl/bindtextdom.c (set_binding_values): Likewise.
22477 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
22478 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
22479 * intl/localealias.c (read_alias_file): Likewise.
22480 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
22481 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
22482 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
22483 * libio/fmemopen.c (fmemopen): Likewise.
22484 * libio/iofgets.c (_IO_fgets): Likewise.
22485 * libio/iofgets_u.c (fgets_unlocked): Likewise.
22486 * libio/iofgetws.c (fgetws): Likewise.
22487 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
22488 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
22489 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
22490 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
22491 * locale/findlocale.c (_nl_find_locale): Likewise.
22492 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
22493 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
22494 Likewise.
22495 * locale/setlocale.c (setlocale): Likewise.
22496 * login/programs/pt_chown.c (main): Likewise.
22497 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
22498 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
22499 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
22500 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
22501 * math/e_exp2l.c: Likewise.
22502 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
22503 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
22504 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
22505 * math/s_catan.c (__catan): Likewise.
22506 * math/s_catanf.c (__catanf): Likewise.
22507 * math/s_catanh.c (__catanh): Likewise.
22508 * math/s_catanhf.c (__catanhf): Likewise.
22509 * math/s_catanhl.c (__catanhl): Likewise.
22510 * math/s_catanl.c (__catanl): Likewise.
22511 * math/s_ccosh.c (__ccosh): Likewise.
22512 * math/s_ccoshf.c (__ccoshf): Likewise.
22513 * math/s_ccoshl.c (__ccoshl): Likewise.
22514 * math/s_cexp.c (__cexp): Likewise.
22515 * math/s_cexpf.c (__cexpf): Likewise.
22516 * math/s_cexpl.c (__cexpl): Likewise.
22517 * math/s_clog10.c (__clog10): Likewise.
22518 * math/s_clog10f.c (__clog10f): Likewise.
22519 * math/s_clog10l.c (__clog10l): Likewise.
22520 * math/s_clog.c (__clog): Likewise.
22521 * math/s_clogf.c (__clogf): Likewise.
22522 * math/s_clogl.c (__clogl): Likewise.
22523 * math/s_csin.c (__csin): Likewise.
22524 * math/s_csinf.c (__csinf): Likewise.
22525 * math/s_csinh.c (__csinh): Likewise.
22526 * math/s_csinhf.c (__csinhf): Likewise.
22527 * math/s_csinhl.c (__csinhl): Likewise.
22528 * math/s_csinl.c (__csinl): Likewise.
22529 * math/s_csqrt.c (__csqrt): Likewise.
22530 * math/s_csqrtf.c (__csqrtf): Likewise.
22531 * math/s_csqrtl.c (__csqrtl): Likewise.
22532 * math/s_ctan.c (__ctan): Likewise.
22533 * math/s_ctanf.c (__ctanf): Likewise.
22534 * math/s_ctanh.c (__ctanh): Likewise.
22535 * math/s_ctanhf.c (__ctanhf): Likewise.
22536 * math/s_ctanhl.c (__ctanhl): Likewise.
22537 * math/s_ctanl.c (__ctanl): Likewise.
22538 * math/w_pow.c: Likewise.
22539 * math/w_powf.c: Likewise.
22540 * math/w_powl.c: Likewise.
22541 * math/w_scalb.c (sysv_scalb): Likewise.
22542 * math/w_scalbf.c (sysv_scalbf): Likewise.
22543 * math/w_scalbl.c (sysv_scalbl): Likewise.
22544 * misc/error.c (error_tail): Likewise.
22545 * misc/pselect.c (__pselect): Likewise.
22546 * nis/nis_callback.c (__nis_create_callback): Likewise.
22547 * nis/nis_call.c (__nisfind_server): Likewise.
22548 * nis/nis_creategroup.c (nis_creategroup): Likewise.
22549 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
22550 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
22551 * nis/nis_getservlist.c (nis_getservlist): Likewise.
22552 * nis/nis_lookup.c (nis_lookup): Likewise.
22553 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
22554 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
22555 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 22556 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
22557 * nis/nss_compat/compat-grp.c (getgrent_next_file)
22558 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
22559 * nis/nss_compat/compat-initgroups.c (add_group)
22560 (internal_getgrent_r): Likewise.
22561 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
22562 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
22563 * nis/nss_compat/compat-spwd.c (getspent_next_file)
22564 (internal_getspnam_r): Likewise.
22565 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
22566 (_nss_nis_getaliasbyname_r): Likewise.
22567 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
22568 (_nss_nis_getntohost_r): Likewise.
22569 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
22570 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
22571 (_nss_nis_getgrgid_r): Likewise.
22572 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
22573 (internal_nis_gethostent_r, internal_gethostbyname2_r)
22574 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
22575 (_nss_nis_gethostbyname4_r): Likewise.
22576 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
22577 (initgroups_netid): Likewise.
a1ffb40e 22578 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
22579 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
22580 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
22581 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
22582 (_nss_nis_getprotobynumber_r): Likewise.
22583 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
22584 (_nss_nis_getsecretkey): Likewise.
22585 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
22586 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
22587 (_nss_nis_getpwuid_r): Likewise.
22588 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
22589 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
22590 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
22591 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
22592 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
22593 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
22594 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
22595 Likewise.
57f41c40
AS
22596 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
22597 (_nss_nisplus_getntohost_r): Likewise.
22598 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
22599 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
22600 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
22601 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 22602 Likewise.
57f41c40
AS
22603 * nis/nss_nisplus/nisplus-initgroups.c
22604 (_nss_nisplus_initgroups_dyn): Likewise.
22605 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
22606 (_nss_nisplus_getnetbyaddr_r): Likewise.
22607 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
22608 (_nss_nisplus_getprotobynumber_r): Likewise.
22609 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
22610 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
22611 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
22612 Likewise.
57f41c40
AS
22613 * nis/nss_nisplus/nisplus-service.c
22614 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
22615 (_nss_nisplus_getservbyport_r): Likewise.
22616 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
22617 (_nss_nisplus_getspnam_r): Likewise.
22618 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
22619 Likewise.
a1ffb40e
OB
22620 * nscd/aicache.c (addhstaiX): Likewise.
22621 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
22622 * nscd/connections.c (register_traced_file, send_ro_fd)
22623 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
22624 (main_loop_epoll): Likewise.
a1ffb40e
OB
22625 * nscd/grpcache.c (addgrbyX): Likewise.
22626 * nscd/hstcache.c (addhstbyX): Likewise.
22627 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22628 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
22629 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
22630 (addinnetgrX): Likewise.
22631 * nscd/nscd-client.h (__nscd_acquire_maplock)
22632 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
22633 * nscd/nscd_getai.c (__nscd_getai): Likewise.
22634 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22635 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
22636 Likewise.
22637 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
22638 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
22639 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
22640 (__nscd_get_map_ref): Likewise.
a1ffb40e 22641 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
22642 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
22643 Likewise.
a1ffb40e
OB
22644 * nscd/pwdcache.c (addpwbyX): Likewise.
22645 * nscd/selinux.c (preserve_capabilities): Likewise.
22646 * nscd/servicescache.c (addservbyX): Likewise.
22647 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
22648 * posix/fnmatch.c (fnmatch): Likewise.
22649 * posix/getopt.c (_getopt_internal_r): Likewise.
22650 * posix/glob.c (glob, glob_in_dir): Likewise.
22651 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
22652 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
22653 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
22654 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
22655 * resolv/res_init.c: Likewise.
22656 * resolv/res_mkquery.c (res_nmkquery): Likewise.
22657 * resolv/res_query.c (__libc_res_nquery): Likewise.
22658 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
22659 Likewise.
22660 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
22661 * stdio-common/perror.c (perror): Likewise.
22662 * stdio-common/printf_fp.c (___printf_fp): Likewise.
22663 * stdio-common/tmpnam.c (tmpnam): Likewise.
22664 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22665 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
22666 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22667 Likewise.
a1ffb40e
OB
22668 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
22669 * stdlib/putenv.c (putenv): Likewise.
22670 * stdlib/setenv.c (__add_to_environ): Likewise.
22671 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22672 * stdlib/strtol_l.c (INTERNAL): Likewise.
22673 * string/memmem.c (memmem): Likewise.
22674 * string/strerror.c (strerror): Likewise.
22675 * string/strnlen.c (__strnlen): Likewise.
22676 * string/test-memmem.c (simple_memmem): Likewise.
22677 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
22678 * sunrpc/pm_getport.c (__get_socket): Likewise.
22679 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
22680 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
22681 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
22682 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
22683 Likewise.
22684 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
22685 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22686 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
22687 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
22688 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
22689 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
22690 Likewise.
22691 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
22692 Likewise.
a1ffb40e
OB
22693 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
22694 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
22695 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22696 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22697 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
22698 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
22699 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22700 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
22701 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
22702 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
22703 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22704 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
22705 Likewise.
22706 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
22707 Likewise.
22708 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
22709 Likewise.
22710 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
22711 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22712 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
22713 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
22714 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
22715 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
22716 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22717 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
22718 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
22719 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
22720 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
22721 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22722 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22723 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
22724 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
22725 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
22726 Likewise.
a1ffb40e
OB
22727 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
22728 Likewise.
22729 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
22730 Likewise.
22731 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
22732 Likewise.
22733 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22734 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22735 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
22736 Likewise.
22737 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
22738 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
22739 * sysdeps/posix/opendir.c (__opendirat): Likewise.
22740 * sysdeps/posix/sleep.c: Likewise.
22741 * sysdeps/posix/tempname.c: Likewise.
22742 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
22743 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22744 Likewise.
57f41c40
AS
22745 * sysdeps/powerpc/powerpc32/dl-machine.h
22746 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
22747 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22748 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22749 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
22750 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
22751 Likewise.
22752 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
22753 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
22754 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22755 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
22756 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
22757 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
22758 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
22759 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
22760 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22761 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
22762 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
22763 (elf_machine_lazy_rel): Likewise.
a1ffb40e 22764 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
22765 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
22766 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
22767 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
22768 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
22769 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
22770 * sysdeps/unix/grantpt.c (grantpt): Likewise.
22771 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
22772 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
22773 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
22774 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22775 Likewise.
22776 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22777 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22778 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
22779 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
22780 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22781 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22782 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
22783 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
22784 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
22785 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22786 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22787 Likewise.
22788 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
22789 (__posix_fallocate64_l64): Likewise.
22790 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
22791 (posix_fallocate): Likewise.
57f41c40
AS
22792 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
22793 Likewise.
a1ffb40e 22794 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
22795 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
22796 (getifaddrs_internal): Likewise.
a1ffb40e
OB
22797 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
22798 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
22799 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
22800 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22801 * sysdeps/unix/sysv/linux/posix_fallocate64.c
22802 (__posix_fallocate64_l64): Likewise.
22803 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22804 Likewise.
22805 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
22806 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
22807 (__get_clockfreq): Likewise.
a1ffb40e
OB
22808 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
22809 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
22810 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
22811 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22812 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22813 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
22814 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
22815 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
22816 Likewise.
22817 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
22818 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
22819 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22820 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
22821 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22822 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
22823 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
22824 Likewise.
22825 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22826 (posix_fallocate): Likewise.
22827 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22828 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
22829 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
22830 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
22831 (elf_machine_rela, elf_machine_rela_relative)
22832 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
22833 * time/asctime.c (asctime_internal): Likewise.
22834 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
22835 * time/tzset.c (__tzset_parse_tz): Likewise.
22836 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22837 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
22838 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
22839 * wcsmbs/wcsmbsload.h: Likewise.
22840
f3d338c9
OB
22841 [BZ #15894]
22842 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
22843
57f41c40
AS
22844 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
22845 (arena_get2): Remove THREAD_STATS conditionals.
22846 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
22847 (__malloc_stats, int): Likewise.
bdfe308a 22848
d674667c
MF
228492014-02-08 Mike Frysinger <vapier@gentoo.org>
22850
22851 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
22852 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
22853
6349768c
MF
22854 * manual/setjmp.texi: Fix typos/grammar errors.
22855
0b7c7473
MF
22856 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
22857 Only return early when n is <= 0. Delete unused return statement.
22858
ac8cc9e3
MF
22859 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
22860 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
22861 * debug/tst-longjmp_chk3.c: New file.
22862
c5bb8e23
MF
22863 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
22864 (test_main): Replace code with set_fortify_handler call.
22865 * debug/test-strcpy_chk.c: Likewise.
22866 * debug/tst-chk1.c: Likewise.
22867 * debug/tst-longjmp_chk.c: Likewise.
22868 * test-skeleton.c: Include fcntl.h & paths.h
22869 (set_fortify_handler): Define.
22870
10444e42
MF
22871 * debug/tst-longjmp_chk.c: Add header comment and include
22872 ../test-skeleton.c.
22873 (do_test): Mark static.
22874 (TEST_FUNCTION): Define.
22875
1e805e8d
MF
22876 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
22877 (IP_PMTUDISC_INTERFACE): Likewise.
22878 (IP_MULTICAST_IF): Likewise.
22879 (IP_MULTICAST_TTL): Likewise.
22880 (IP_MULTICAST_LOOP): Likewise.
22881 (IP_ADD_MEMBERSHIP): Likewise.
22882 (IP_DROP_MEMBERSHIP): Likewise.
22883 (IP_UNBLOCK_SOURCE): Likewise.
22884 (IP_BLOCK_SOURCE): Likewise.
22885 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
22886 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
22887 (IP_MSFILTER): Likewise.
22888 (MCAST_JOIN_GROUP): Likewise.
22889 (MCAST_BLOCK_SOURCE): Likewise.
22890 (MCAST_UNBLOCK_SOURCE): Likewise.
22891 (MCAST_LEAVE_GROUP): Likewise.
22892 (MCAST_JOIN_SOURCE_GROUP): Likewise.
22893 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
22894 (MCAST_MSFILTER): Likewise.
22895 (IP_MULTICAST_ALL): Likewise.
22896 (IP_UNICAST_IF): Likewise.
22897
73f79bb7
MF
22898 * timezone/Makefile: Delete $(have-ksh) check.
22899 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
22900 * timezone/tzselect.ksh: Add +x mode bits.
22901
8da79b60
MF
22902 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
22903 (ANON_INODE_FS_MAGIC): Likewise.
22904 (BDEVFS_MAGIC): Likewise.
22905 (BINFMTFS_MAGIC): Likewise.
22906 (BTRFS_TEST_MAGIC): Likewise.
22907 (CRAMFS_MAGIC_WEND): Likewise.
22908 (DEBUGFS_MAGIC): Likewise.
22909 (ECRYPTFS_SUPER_MAGIC): Likewise.
22910 (EXT3_SUPER_MAGIC): Likewise.
22911 (EXT4_SUPER_MAGIC): Likewise.
22912 (FUTEXFS_SUPER_MAGIC): Likewise.
22913 (HOSTFS_SUPER_MAGIC): Likewise.
22914 (HUGETLBFS_MAGIC): Likewise.
22915 (MINIX3_SUPER_MAGIC): Likewise.
22916 (MTD_INODE_FS_MAGIC): Likewise.
22917 (NILFS_SUPER_MAGIC): Likewise.
22918 (OPENPROM_SUPER_MAGIC): Likewise.
22919 (PIPEFS_MAGIC): Likewise.
22920 (PSTOREFS_MAGIC): Likewise.
22921 (QNX6_SUPER_MAGIC): Likewise.
22922 (RAMFS_MAGIC): Likewise.
22923 (REISERFS_SUPER_MAGIC_STRING): Likewise.
22924 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
22925 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
22926 (SECURITYFS_MAGIC): Likewise.
22927 (SELINUX_MAGIC): Likewise.
22928 (SMACK_MAGIC): Likewise.
22929 (SOCKFS_MAGIC): Likewise.
22930 (SQUASHFS_MAGIC): Likewise.
22931 (STACK_END_MAGIC): Likewise.
22932 (TMPFS_MAGIC): Likewise.
22933 (USBDEVICE_SUPER_MAGIC): Likewise.
22934 (V9FS_MAGIC): Likewise.
22935 (XENFS_SUPER_MAGIC): Likewise.
22936 (CRAMFS_MAGIC): Fix typo in comment.
22937 (EXT2_SUPER_MAGIC): Update comment.
22938 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
22939
464263cc
JM
229402014-02-08 Joseph Myers <joseph@codesourcery.com>
22941
c6bfe5c4
JM
22942 * sysdeps/arm: Move directory from ports/sysdeps/arm.
22943 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
22944 * sysdeps/unix/sysv/linux/arm: Move directory from
22945 ports/sysdeps/unix/sysv/linux/arm.
22946 * README: Update listing for arm-*-linux-gnueabi.
22947
464263cc
JM
22948 * README: Remove mention of am33.
22949
32749f6c
RM
229502014-02-07 Roland McGrath <roland@hack.frob.com>
22951
22952 * bits/sigset.h (__sigemptyset): Use a statement expression rather
22953 than the comma operator, to avoid "rhs of comma has no effect"
22954 compiler warnings.
22955 (__sigfillset, __sigandset, __sigorset): Likewise.
22956 * include/signal.h (__sigemptyset): Likewise.
22957 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
22958
d5b396c1
AM
229592014-02-07 Allan McRae <allan@archlinux.org>
22960
22961 * version.h (RELEASE): Set to "development".
22962 (VERSION): Set to "2.19.90"
22963 * NEWS: Add 2.20 section.
22964
3bfff2ed
CD
229652014-02-06 Carlos O'Donell <carlos@redhat.com>
22966
22967 [BZ #16529]
22968 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
22969
ee7cc385
SP
229702014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22971
22972 * manual/contrib.texi: Update entry for Carlos O'Donell,
22973 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
22974
f877c4f2
CD
229752014-02-05 Carlos O'Donell <carlos@rehdat.com>
22976
27e839f6
CD
22977 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
22978
f877c4f2
CD
22979 * sysdeps/unix/sysv/linux/kernel-features.h
22980 [__LINUX_KERNEL_VERSION >= 0x020621]
22981 (__ASSUME_PROC_PID_TASK_COMM): Define.
22982
68159946
SP
229832014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22984
ba17cdbd
SP
22985 [BZ #16398]
22986 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
22987 conversion when destination buffer does not have enough space.
22988 * libio/tst-ftell-partial-wide.c: New test case.
22989 * libio/Makefile (tests): Add tst-ftell-partial-wide.
22990
68159946
SP
22991 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
22992 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
22993 Leonard and Allan McRae.
22994
2b528732
DM
229952014-02-04 David S. Miller <davem@davemloft.net>
22996
22997 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
22998 32-bit.
22999
0ff82463
AZ
230002014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23001
57f41c40
AS
23002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23003 New file
c01603f7
AZ
23004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23005 New file
57f41c40
AS
23006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23007 New file.
23008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23009 New file.
c01603f7
AZ
23010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23011 New file.
57f41c40
AS
23012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23013 New file.
23014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23015 New file.
c01603f7
AZ
23016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23017 New file.
23018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23019 New file.
23020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23021 New file.
23022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23023 New file.
23024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23025 New file.
23026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23027 New file.
23028
230292014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23030
0ff82463
AZ
23031 * nptl/shlib-versions: Change powerpc*le start to 2.17.
23032 * shlib-versions: Likewise.
23033
1695c773
AZ
230342014-02-04 Roland McGrath <roland@hack.frob.com>
23035 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23036
23037 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
23038 (abilist-pattern): New variable, set to %-le.abilist.
23039
23040 * Makerules (abilist-pattern): New variable.
23041 (vpath): Use $(abilist-pattern) in place of %.abilist.
23042 (check-abi-% pattern rule): Likewise.
23043 (check-abi, update-abi): Likewise.
23044
6c0ce4b4
EW
230452014-02-04 Eric Wong <normalperson@yhbt.net>
23046
23047 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23048
481e3524
CD
230492014-02-03 Carlos O'Donell <carlos@redhat.com>
23050
23051 * manual/startup.texi: Add next, previous, and top entries for
23052 the `Program Arguments' and `Environment Variables' nodes.
23053
375592d3
AO
230542014-02-03 Alexandre Oliva <aoliva@redhat.com>
23055
23056 * manual/macros.texi: Add comments before MTASC-safety macros.
23057
f54838ba
AO
23058 * manual/users.texi: Document MTASC-safety properties.
23059
57f41c40
AS
23060 * manual/threads.texi (pthread_key_create, pthread_key_delete)
23061 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
23062 @deftypefun, and add @safety note.
23063 * manual/signal.texi: Move comments that analyze the above
23064 functions to their home place.
23065
fd3daba4
AM
230662014-02-03 Allan McRae <allan@archlinux.org>
23067
23068 * po/sl.po: Update Slovenian translation from translation project.
23069
597636d7
AO
230702014-02-02 Alexandre Oliva <aoliva@redhat.com>
23071
23072 * manual/time.texi (timegm): Add missing blank after @c.
23073 Reported by Joseph Myers <joseph@codesourcery.com>.
23074
ee196e3c
AO
230752014-02-01 Alexandre Oliva <aoliva@redhat.com>
23076
23077 * manual/check-safety.sh: New.
23078 * manual/Makefile ($(objpfx)stamp-summary): Run it.
23079
f8d529d5
AO
23080 * manual/terminal.texi: Document MTASC-safety properties.
23081
de55fdf4
AO
23082 * manual/filesys.texi: Document MTASC-safety properties.
23083
c3299c08
AO
23084 * manual/errno.texi: Document MTASC-safety properties.
23085
06e90b14
AO
23086 * manual/intro.texi: Document safety identifiers and
23087 conditionals.
23088
1acd4371
AO
23089 * manual/string.texi (wcstok): Fix prototype.
23090 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
23091
23e5b8cb
AO
23092 * manual/time.texi: Document MTASC-safety properties.
23093
11087373
AO
23094 * manual/string.texi: Document MTASC-safety properties.
23095
5da2c93d
AO
23096 * manual/threads.texi: Document MTASC-safety properties.
23097
171e9210
AO
23098 * manual/stdio.texi: Document MTASC-safety properties.
23099
d9e02532
AO
23100 * manual/syslog.texi: Document MTASC-safety properties.
23101
6af8bab7
AO
23102 * manual/sysinfo.texi: Document MTASC-safety properties.
23103
663b02d7
AO
23104 * manual/startup.texi: Document MTASC-safety properties.
23105
973f180b
AO
23106 * manual/socket.texi: Document MTASC-safety properties.
23107
8f3c25c8
AO
23108 * manual/signal.texi: Document MTASC-safety properties.
23109
542210fb
AO
231102014-01-31 Alexandre Oliva <aoliva@redhat.com>
23111
23112 * manual/setjmp.texi: Document MTASC-safety properties.
23113
433c45a2
AO
23114 * manual/search.texi: Document MTASC-safety properties.
23115
c8ce789c
AO
23116 * manual/resource.texi: Document MTASC-safety properties.
23117
19f5d29c
AO
23118 * manual/process.texi: Document MTASC-safety properties.
23119
e2dfb7f4
AO
23120 * manual/platform.texi: Document MTASC-safety properties.
23121
8c1413f5
AO
23122 * manual/pipe.texi: Document MTASC-safety properties.
23123
03483ada
AO
23124 * manual/pattern.texi: Document MTASC-safety properties.
23125
29e7e2df
AO
23126 * manual/message.texi: Document MTASC-safety properties.
23127
9f529d7c
AO
23128 [BZ #12751]
23129 * manual/memory.texi: Document MTASC-safety properties.
23130
27aaa791
AO
23131 * manual/math.texi: Document MTASC-safety properties.
23132
f2d58726
AO
23133 * manual/locale.texi: Document MTASC-safety properties.
23134
2cc3615c
AO
23135 * manual/llio.texi: Document MTASC-safety properties.
23136
d9f0ec97
AO
23137 * manual/libdl.texi: New.
23138
e7c4409a
AO
23139 * manual/lang.texi: Document MTASC-safety properties.
23140
27bdc63c
AO
23141 * manual/job.texi: Document MTASC-safety properties.
23142
a7b90ea9
AO
23143 * manual/getopt.texi: Document MTASC-safety properties.
23144
c49130e3
AO
23145 * manual/ctype.texi: Document MTASC-safety properties.
23146
0d23a5c1
MR
231472014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
23148
23149 [BZ #16046]
23150 * csu/libc-tls.c (static_map): Remove variable.
23151 (__libc_setup_tls): Use main executable's link map for TLS data.
23152 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
23153 casing for LM_ID_BASE and GL(dl_nns).
23154 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
23155 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
23156 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
23157 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
23158 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
23159 member.
23160 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
23161 l_phnum members.
23162
0037bb60
AO
231632014-01-30 Alexandre Oliva <aoliva@redhat.com>
23164
23165 * manual/debug.texi: Document MTASC-safety properties.
23166
409e00bd
L
231672014-01-29 H.J. Lu <hongjiu.lu@intel.com>
23168
23169 [BZ #16510]
23170 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
23171 of __x86_64__ when disabling x87 inline functions.
23172
86e60666
AO
231732014-01-29 Alexandre Oliva <aoliva@redhat.com>
23174
23175 * manual/charset.texi: Document MTASC-safety properties.
23176
76167637
AO
23177 * manual/crypt.texi: Document MTASC-safety properties.
23178
e567f2a0
AO
23179 * manual/conf.texi: Document MTASC-safety properties.
23180
b719dafd
AO
23181 * manual/arith.texi: Document MTASC-safety properties.
23182
4a16c662
AO
23183 * manual/argp.texi: Document MTASC-safety properties.
23184
0a57b83e
AO
23185 * manual/macros.texi: Introduce macros to document multi
23186 thread, asynchronous signal and asynchronous cancellation
23187 safety properties.
23188 * manual/intro.texi: Introduce the properties themselves.
23189
feab2397
KK
231902014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23191
23192 * sysdeps/sh/sh4/Makefile: New file.
23193
1c0d11bc
AS
231942014-01-27 Andreas Schwab <schwab@linux-m68k.org>
23195
23196 * math/gen-libm-test.pl ($srcdir): New variable.
23197 ($auto_input): Use it.
23198
af37a8a3
SP
231992014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23200
d7b00f98
SP
23201 [BZ #16506]
23202 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
23203 access beyond array bounds when parsing netgroups file.
23204
af37a8a3
SP
23205 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
23206 the old buffer before realloc.
23207
0c00f062
AM
232082014-01-27 Allan McRae <allan@archlinux.org>
23209
23210 * po/fr.po: Update French translation from translation project.
23211
7d69a1b0
KK
232122014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23213
23214 * sysdeps/sh/libm-test-ulps: Regenerate.
23215
6e697ff7
DM
232162014-01-24 David S. Miller <davem@davemloft.net>
23217
23218 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
23219
9cadb35c
KK
232202014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23221
23222 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
23223 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
23224
5d41dadf
SP
232252013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23226
23227 [BZ #16474]
23228 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
23229 string pointers after reallocation.
23230
0bad441c
KK
232312014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23232
23233 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
23234 __SH4A__ instead of __SH_FPU_ANY__.
23235
7007c661
KK
232362014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23237
23238 * sysdeps/sh/fpu_control.h: New file.
23239 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
23240 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
23241 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
23242 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
23243 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
23244 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
23245 * sysdeps/sh/sys/ucontext.h: Remove.
23246 * sysdeps/sh/sys: Remove directory.
23247
0f0c35e4
AK
232482014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23249
23250 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
23251 s390/sys/ucontext.h.
23252 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
23253 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
23254
4959e284
L
232552014-01-20 H.J. Lu <hongjiu.lu@intel.com>
23256
23257 [BZ #15605]
23258 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
23259
d98720e0
AZ
232602014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23261
23262 [BZ#16431]
23263 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23264 Adjust the vDSO correctly for internal calls.
23265 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
23266
91cbd0bc
AM
232672014-01-20 Allan McRae <allan@archlinux.org>
23268
23269 * po/ca.po: Update Catalan translation from translation project.
23270
7a02cfad
MF
232712014-01-16 Mike Frysinger <vapier@gentoo.org>
23272
23273 * sysdeps/s390/sotruss-lib.c: New file.
23274
736c304a
AZ
232752014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23276
23277 [BZ#16430]
6e077ee5 23278 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
23279 (__GI___gettimeofday): Alias for a different internal symbol to avoid
23280 local calls issues by not having a PLT stub required for IFUNC calls.
23281 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
23282
94d0cea0
JM
232832014-01-16 Joseph Myers <joseph@codesourcery.com>
23284
23285 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
23286 * math/test-fpucw-static.c: Likewise.
23287
980cb518
SP
232882013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23289
23290 [BZ #16453]
23291 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
23292
2393fc01
AZ
232932014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23294
23295 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
23296 implementation for powerpc.
23297
d359bcc2
OB
232982014-01-15 Ondřej Bílka <neleai@seznam.cz>
23299
23300 [BZ #14782]
23301 * sysdeps/posix/system.c (__libc_system): Do not enable
23302 asynchronous cancellation.
23303
7beb48cb
AK
233042014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23305
23306 [BZ #16427]
23307 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
23308 handling only for numbers special also in the IEEE case.
23309
c20d5bf5
AK
233102014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23311
23312 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23313
e83bd4ee
AM
233142014-01-11 Allan McRae <allan@archlinux.org>
23315
76d0ea69
AM
23316 * po/bg.po: Update Bulgarian translation from translation project.
23317
e83bd4ee
AM
23318 * po/de.po: Update German translation from translation project.
23319
bc2ba20a
RM
233202014-01-10 Roland McGrath <roland@hack.frob.com>
23321
23322 * sysdeps/generic/gcc-compat.h: New file.
23323
649ecea2
SP
233242014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23325
23326 * benchtests/asin-inputs: Correct slow inputs.
23327 * benchtests/acos-inputs: Likewise.
23328
1b19c006
AM
233292014-01-10 Allan McRae <allan@archlinux.org>
23330
a46dab08
AM
23331 * po:sv.po: Update Swedish translation from translation project.
23332
421df74a
AM
23333 * po/vi.po: Update Vietnamese translation from translation project.
23334
d61c51a7
AM
23335 * po/eo.po: Update Esperanto translation from translation project.
23336
0339a319
AM
23337 * po/cs.po: Update Czech translation from translation project.
23338
94ad3e99
AM
23339 * po/nl.po: Update Dutch translation from translation project.
23340
e349ca71
AM
23341 * po/pl.po: Update Polish translation from translation project.
23342
ddf930c1
AM
23343 * po/ru.po: Update Russian translation from translation project.
23344
1b19c006
AM
23345 * po/uk.po: Update Ukrainian translation from translation project.
23346
9f236c49
BM
233472014-01-08 Brooks Moses <bmoses@google.com>
23348
23349 * elf/dl-load.c: Fix comment typo.
23350
cd6701cf
CD
233512014-01-08 Carlos O'Donell <carlos@redhat.com>
23352
23353 * po/header.pot: Rename to...
23354 * po/pot.header: ... this.
23355 * po/Makefile: Use pot.header.
23356
66671c84
YK
233572014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
23358 Maxim Kuvyrkov <maxim@kugelworks.com>
23359
23360 [BZ #16394]
cd6701cf
CD
23361 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
23362 SRC and DEST against LEN.
66671c84 23363
38f34581
AZ
233642014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23365
23366 [BZ #16414]
23367 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
23368 implementation.
23369 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
23370
233712014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
23372
23373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23374
4c327f2a
JM
233752014-01-08 Joseph Myers <joseph@codesourcery.com>
23376
23377 [BZ #16408]
23378 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
23379 for large positive arguments.
23380
b821f414
JM
233812014-01-07 Joseph Myers <joseph@codesourcery.com>
23382
1f0f2067
JM
23383 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23384
a5a326f6
JM
23385 * math/auto-libm-test-in: Mark various tests with
23386 xfail-rounding:ldbl-128ibm.
23387 * math/auto-libm-test-out: Regenerated.
23388
b821f414
JM
23389 [BZ #16407]
23390 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
23391 Increase overflow threshold.
23392
94c8a4bc
OB
233932014-01-07 Ondřej Bílka <neleai@seznam.cz>
23394
23395 [BZ #14286]
23396 * stdio-common/vfprintf.c: Check for integer overflow.
23397
87ded0c3
AK
233982014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23399
23400 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
23401 the first argument and return value of __tls_get_addr_internal.
23402
c5eebdd0
AK
234032014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23404
23405 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
23406 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
23407
05d138ef
AK
234082014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23409
23410 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
23411 * sysdeps/s390/rtld-global-offsets.sym: New file.
23412 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
23413 GLIBC_2.19 symbol.
23414 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
23415 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
23416 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23417 ... this.
23418 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
23419 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23420 ... this.
23421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23422 Regenerate.
23423 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23424 Regenerate.
23425 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
23426 halfs of GPRs for high_gprs contexts.
23427 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
23428 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
23429 field.
23430 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
23431 uc_flags field.
23432 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
23433 64 bit versions:
23434 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
23435 for high GPRs (uc_high_gprs) and for future extensions
23436 (__reserved).
23437 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
23438 for future extensions (__reserved).
23439 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
23440 64 bit versions:
23441 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
23442 SC_HIGHGPRS offset definition.
23443 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
23444 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
23445
93a45ff1
AK
23446 * Versions.def: Add GLIBC_2.19 for libpthread.
23447 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
23448 siglongjmp for libpthread with GLIBC_2.19 symver.
23449 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
23450 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
23451 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
23452 * sysdeps/s390/__longjmp.c: New file.
23453 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
23454 * sysdeps/s390/longjmp.c: New file.
23455 * sysdeps/s390/setjmp.S: New file.
23456 * sysdeps/s390/sigjmp.S: New file.
23457 * sysdeps/s390/v1-longjmp.c: New file.
23458 * sysdeps/s390/v1-setjmp.h: New file.
23459 * sysdeps/s390/v1-sigjmp.c: New file.
23460 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
23461 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
23462 GLIBC_2.19 version.
23463 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
23464 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
23465 versioned symbols for ____longjmp_chk.
23466 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23467 Likewise.
23468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23469 Regenerate.
23470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23471 Regenerate.
23472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23473 Regenerate.
23474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23475 Regenerate.
23476 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
23477 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
23478 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
23479 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
23480 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
23481 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
23482 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
23483 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
23484 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
23485 * sysdeps/s390/rtld-__longjmp.c: New file.
23486 * sysdeps/s390/rtld-setjmp.S: New file.
23487
eb3fc44b
JM
234882014-01-06 Joseph Myers <joseph@codesourcery.com>
23489
23490 [BZ #16400]
23491 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23492 Return -__logl (x) for small positive arguments without evaluating
23493 a polynomial.
23494
9341dde4
MF
234952014-01-06 Mike Frysinger <vapier@gentoo.org>
23496
23497 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
23498 Rename to ...
23499 (__ptrace_peeksiginfo_args): ... this.
23500 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23501 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23502 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23503
4cff0293
AM
235042014-01-06 Allan McRae <allan@archlinux.org>
23505
23506 * inet/netinet/in.h: Fix typo in comment.
23507
75595dcf
AJ
235082014-01-05 Andreas Jaeger <aj@suse.de>
23509
23510 * sysdeps/i386/fpu/libm-test-ulps: Update.
23511
79c1e109
AM
235122014-01-05 Allan McRae <allan@archlinux.org>
23513
dd804818
AM
23514 * po/libc.pot: Regenerated.
23515
79c1e109
AM
23516 * malloc/memusagestat.c: Fix gettext call formatting.
23517
0c813d1f
SK
235182014-01-04 Sami Kerola <kerolasa@iki.fi>
23519
23520 * nscd/nscd.c: Improve usage() output.
23521
20f4a8d9
MF
235222014-01-04 Mike Frysinger <vapier@gentoo.org>
23523
23524 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
23525 * sysdeps/unix/sysv/linux/configure: Regenerated.
23526 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
23527 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
23528
22562bb2
JM
235292014-01-03 Joseph Myers <joseph@codesourcery.com>
23530
23531 [BZ #16390]
23532 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23533 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
23534
d7ad2d9b
AZ
235352014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23536
23537 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
23538 extra tokens at end of #undef directive.
23539 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23540 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23541 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
23542
7dd009d8
JM
235432014-01-03 Joseph Myers <joseph@codesourcery.com>
23544
24db925a
JM
23545 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23546
7dd009d8
JM
23547 * math/auto-libm-test-in: Mark various tests with
23548 xfail-rounding:ldbl-128ibm.
23549 * math/auto-libm-test-out: Regenerated.
23550
396e3ecf
JM
235512014-01-02 Joseph Myers <joseph@codesourcery.com>
23552
819e5d50
JM
23553 [BZ #16386]
23554 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
23555 numbers with subnormal high part when calculating exponent.
23556
90b6a1e5
JM
23557 [BZ #16385]
23558 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
23559 fabs.
23560
396e3ecf
JM
23561 [BZ #16384]
23562 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
23563 M_LN2l.
23564 (__ieee754_acoshl): Use __log1pl not __log1p.
23565
6c8dbf00
OB
235662013-01-02 Ondřej Bílka <neleai@seznam.cz>
23567
57f41c40
AS
23568 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
23569 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
23570 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
23571 (grow_heap, heap_trim, _int_new_arena, get_free_list)
23572 (reused_arena, arena_get2): Convert to GNU style.
23573 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
23574 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
23575 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 23576 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
23577 * malloc/malloc.c (__malloc_assert, malloc_init_state)
23578 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
23579 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
23580 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
23581 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
23582 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 23583 * malloc/malloc.h: Likewise.
57f41c40
AS
23584 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
23585 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 23586 * malloc/mcheck.h: Likewise.
57f41c40
AS
23587 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
23588 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
23589 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
23590 * malloc/morecore.c (__default_morecore): Likewise.
23591 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
23592 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
23593 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
23594 (print_and_abort): Likewise.
6c8dbf00
OB
23595 * malloc/obstack.h: Likewise.
23596 * malloc/set-freeres.c (__libc_freeres): Likewise.
23597 * malloc/tst-mallocstate.c (main): Likewise.
23598 * malloc/tst-mtrace.c (main): Likewise.
23599 * malloc/tst-realloc.c (do_test): Likewise.
23600
d4124212
SP
236012013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23602
9a3c6a6f
SP
23603 [BZ #16366]
23604 * nscd/netgroupcache.c (do_notfound): New function.
23605 (addgetnetgrentX): Use it.
23606
d4124212
SP
23607 [BZ # 16365]
23608 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
23609 NSS_STATUS_NOTFOUND.
23610
97b9a009
JM
236112014-01-01 Joseph Myers <joseph@codesourcery.com>
23612
23613 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23615
d4697bc9
AM
236162014-01-01 Allan McRae <allan@archlinux.org>
23617
ddb3687f
AM
23618 * scripts/update-copyrights: Update configure input file suffix.
23619
88726d48
AM
23620 * NEWS: Update copyright year.
23621 * catgets/gencat.c: Likewise.
23622 * csu/version.c: Likewise.
23623 * debug/catchsegv.sh: Likewise.
23624 * debug/pcprofiledump.c: Likewise.
23625 * debug/xtrace.sh: Likewise.
23626 * elf/ldconfig.c: Likewise.
23627 * elf/ldd.bash.in: Likewise.
23628 * elf/pldd.c: Likewise.
23629 * elf/sotruss.ksh: Likewise.
23630 * elf/sprof.c: Likewise.
23631 * iconv/iconv_prog.c: Likewise.
23632 * iconv/iconvconfig.c: Likewise.
23633 * locale/programs/locale.c: Likewise.
23634 * locale/programs/localedef.c: Likewise.
23635 * login/programs/pt_chown.c: Likewise.
23636 * malloc/memusage.sh: Likewise.
23637 * malloc/memusagestat.c: Likewise.
23638 * malloc/mtrace.pl: Likewise.
23639 * manual/libc.texinfo: Likewise.
23640 * nscd/nscd.c: Likewise.
23641 * nss/getent.c: Likewise.
23642 * nss/makedb.c: Likewise.
23643 * posix/getconf.c: Likewise.
23644 * scripts/test-installation.pl: Likewise.
23645
d4697bc9
AM
23646 * All files with FSF copyright notices: Update copyright dates
23647 using scripts/update-copyrights.
23648 * intl/plural.c: Regenerated.
23649 * locale/programs/charmap-kw.h: Likewise.
23650 * locale/programs/locfile-kw.h: Likewise.
23651
c8590f9d
MF
236522013-12-31 Mike Frysinger <vapier@gentoo.org>
23653
23654 * sysdeps/unix/sysv/linux/configure: Regenerated.
23655 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
23656 the linux/fanotify.h header.
23657 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
23658 HAVE_LINUX_FANOTIFY_H is defined.
23659
b19221b9
SP
236602013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23661
dd1d85e5
SP
23662 * benchtests/cos-inputs: New inputs.
23663 * benchtests/sin-inputs: Likewise.
23664
1acbb90f
SP
23665 * benchtests/atan-inputs: New inputs. Fix name of multiple
23666 precision fallback inputs.
23667
4c012ed3
SP
23668 * benchtests/atanh-inputs: New inputs.
23669 * benchtests/tanh-inputs: Likewise.
23670
eff98324
SP
23671 * benchtests/acosh-inputs: New inputs.
23672 * benchtests/asinh-inputs: Likewise.
23673
ce641152
SP
23674 * benchtests/cosh-inputs: New inputs.
23675 * benchtests/sinh-inputs: Likewise.
23676
b19221b9
SP
23677 * benchtests/acos-inputs: Add more inputs.
23678 * benchtests/asin-inputs: Likewise.
23679
030a4976 236802013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 23681
030a4976 23682 [BZ #16375]
9dcc8f11
VS
23683 * manual/arith.texi: Fix spelling.
23684 * manual/charset.texi: Likewise.
23685 * manual/errno.texi: Likewise.
23686 * manual/filesys.texi: Likewise.
23687 * manual/lang.texi: Likewise.
23688 * manual/llio.texi: Likewise.
23689 * manual/locale.texi: Likewise.
23690 * manual/message.texi: Likewise.
23691 * manual/resource.texi: Likewise.
23692 * manual/search.texi: Likewise.
23693 * manual/setjmp.texi: Likewise.
23694 * manual/stdio.texi: Likewise.
23695 * manual/string.texi: Likewise.
23696 * manual/sysinfo.texi: Likewise.
23697 * manual/time.texi: Likewise.
23698
11520a57
CD
236992013-12-27 Carlos O'Donell <carlos@redhat.com>
23700
23701 * po/sl.po: New file.
23702
471103ae
MF
237032013-12-27 Mike Frysinger <vapier@gentoo.org>
23704
23705 * .gitignore: Add core/.gdbinit/.gdb_history.
23706
6c9642ed
AM
237072013-12-27 Allan McRae <allan@archlinux.org>
23708
23709 [BZ #16369]
23710 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
23711 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
23712
3f637079
BM
237132013-12-24 Brooks Moses <bmoses@google.com>
23714
23715 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
23716 all compilers that claim C++98 compliance, not just GCC.
23717 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23718 Likewise.
23719
abc26e99
MK
237202013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
23721
23722 * NEWS: Restore accidentally deleted bug-fix entries.
23723
362b47fe
MK
237242013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
23725 Ondřej Bílka <neleai@seznam.cz>
23726
23727 [BZ #15073]
23728 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 23729 have_lock.
362b47fe 23730
b9bcbbcb
OB
237312013-12-23 Ondřej Bílka <neleai@seznam.cz>
23732
23733 [BZ #12986]
23734 * manual/stdio.texi (String Input Conversions): Clarify that character
23735 classes are not supported.
23736
fb55fcd2
AZ
237372013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23738
23739 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23740
ef7344f0
JM
237412013-12-22 Joseph Myers <joseph@codesourcery.com>
23742
4f40e4b3
JM
23743 [BZ #16337]
23744 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23745 Calculate results for small negative arguments directly rather
23746 than using reflection formula with special underflow handling.
23747
ef7344f0
JM
23748 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
23749 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
23750 sysdeps/unix/bsd/bsd4.4/syscalls.list.
23751 (fchflags): Likewise.
23752 (revoke): Likewise.
23753 (setlogin): Likewise.
23754 (sigaltstack): Likewise.
23755 (wait4): Likewise.
23756 (sigblock): Remove.
23757 (sigsetmask): Likewise.
23758 (wait3): Likewise.
23759 (waitpid): Likewise.
23760 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
23761 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
23762 file.
23763 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
23764 * sysdeps/unix/bsd/Makefile: ... here.
23765 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
23766 * sysdeps/unix/bsd/Versions: ... here.
23767 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
23768 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
23769 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
23770 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
23771 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
23772 * sysdeps/unix/bsd/sigblock.c: ... here.
23773 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
23774 * sysdeps/unix/bsd/sigsetmask.c: ... here.
23775 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
23776 * sysdeps/unix/bsd/sigvec.c: ... here.
23777 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
23778 * sysdeps/unix/bsd/tcdrain.c: ... here.
23779 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
23780 * sysdeps/unix/bsd/tcgetattr.c: ... here.
23781 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
23782 * sysdeps/unix/bsd/tcsetattr.c: ... here.
23783 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
23784 * sysdeps/unix/bsd/wait.c: ... here.
23785 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
23786 * sysdeps/unix/bsd/wait3.c: ... here.
23787 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
23788 * sysdeps/unix/bsd/waitpid.c: ... here.
23789
5b0626b9
JM
237902013-12-21 Joseph Myers <joseph@codesourcery.com>
23791
23792 [BZ #16356]
23793 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
23794 round-to-nearest for [!USE_AS_EXPM1L].
23795 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
23796 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
23797 more tests of exp and exp10. Expect some exp10 tests to miss
23798 exceptions or fail in directed rounding modes.
23799 * math/auto-libm-test-out: Regenerated.
23800 * math/libm-test.inc (exp10_tonearest_test_data): New array.
23801 (exp10_test_tonearest): New function.
23802 (exp10_towardzero_test_data): New array.
23803 (exp10_test_towardzero): New function.
23804 (exp10_downward_test_data): New array.
23805 (exp10_test_downward): New function.
23806 (exp10_upward_test_data): New array.
23807 (exp10_test_upward): New function.
23808 (main): Call the new functions.
23809 * sysdeps/i386/fpu/libm-test-ulps: Update.
23810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23811
7fda5682
JM
238122013-12-20 Joseph Myers <joseph@codesourcery.com>
23813
31e3a405
JM
23814 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23815 asinh, atan, atan2, atanh, cbrt, cos and cosh.
23816 * math/auto-libm-test-out: Regenerated.
23817 * math/libm-test.inc (acosh_test_data): Add more tests.
23818 (atanh_test_data): Likewise.
23819 (ceil_test_data): Likewise.
23820 (copysign_test_data): Likewise.
23821 * sysdeps/i386/fpu/libm-test-ulps: Update.
23822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23823
85bff96a
JM
23824 * timezone/checktab.awk: Update from tzcode 2013i.
23825 * timezone/private.h: Likewise.
23826 * timezone/scheck.c: Likewise.
23827 * timezone/tzfile.h: Likewise.
23828 * timezone/tzselect.ksh: Likewise.
23829 * timezone/zdump.c: Likewise.
23830 * timezone/zic.c: Likewise.
23831
b7867a3b
JM
23832 * math/auto-libm-test-in: Add tests of cpow.
23833 * math/auto-libm-test-out: Regenerated.
23834 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 23835 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
23836 mpc_cc_c.
23837 (func_calc_desc): Add mpc_cc_c union field.
23838 (test_functions): Add cpow.
23839 (special_fill_2pi): New function.
23840 (special_real_inputs): Add 2pi.
23841 (calc_generic_results): Handle mpc_cc_c.
23842 * sysdeps/i386/fpu/libm-test-ulps: Update.
23843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23844
7fda5682
JM
23845 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
23846 csqrt, ctan and ctanh.
23847 * math/auto-libm-test-out: Regenerated.
23848 * math/libm-test.inc (TEST_COND_x86_64): New macro.
23849 (TEST_COND_x86): Likewise.
23850 (ccos_test_data): Use AUTO_TESTS_c_c.
23851 (ccosh_test_data): Likewise.
23852 (cexp_test_data): Likewise.
23853 (clog_test_data): Likewise.
23854 (csqrt_test_data): Likewise.
23855 (ctan_test_data): Likewise.
23856 (ctan_tonearest_test_data): Likewise.
23857 (ctan_towardzero_test_data): Likewise.
23858 (ctan_downward_test_data): Likewise.
23859 (ctan_upward_test_data): Likewise.
23860 (ctanh_test_data): Likewise.
23861 (ctanh_tonearest_test_data): Likewise.
23862 (ctanh_towardzero_test_data): Likewise.
23863 (ctanh_downward_test_data): Likewise.
23864 (ctanh_upward_test_data): Likewise.
23865 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23866 mpc_c_c.
23867 (func_calc_desc): Add mpc_c_c union field.
23868 (FUNC_mpc_c_c): New macro.
23869 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
23870 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
23871 ctanh.
23872 (special_fill_min_subnorm_p120): New function.
23873 (special_real_inputs): Add min_subnorm_p120.
23874 (calc_generic_results): Handle mpc_c_c.
23875 * sysdeps/i386/fpu/libm-test-ulps: Update.
23876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23877
5ff8d60e
SP
238782013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23879
57f41c40
AS
23880 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
23881 (do_sin_slow): New functions.
23882 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
23883 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 23884
84ba214c
SP
23885 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
23886 Use M to change sign of result instead of X. Assume X is
23887 positive.
23888 (csloww1): Likewise.
23889 (__sin): Adjust.
23890 (__cos): Adjust.
23891
975195e4
SP
23892 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
23893 arguments A and DA.
23894 (__sin): Adjust.
23895 (__cos): Likewise.
23896
5ff8d60e
SP
23897 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
23898 (__cos): Likewise.
23899 (sloww1): Don't adjust sign of DX.
23900 (csloww1): Likewise.
23901 (sloww2): Use X directly and don't adjust sign of DX.
23902 (csloww2): Likewise.
23903
eb983568
JM
239042013-12-19 Joseph Myers <joseph@codesourcery.com>
23905
64a17f1a
JM
23906 * math/auto-libm-test-in: Add tests of cabs and carg.
23907 * math/auto-libm-test-out: Regenerated.
23908 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
23909 (carg_test_data): Likewise.
23910 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23911 mpc_c_f.
23912 (func_calc_desc): Add mpc_c_f union field.
23913 (test_functions): Add cabs and carg.
23914 (calc_generic_results): Handle mpc_c_f.
23915
eb983568
JM
23916 * sysdeps/powerpc/powerpc32/libgcc-compat.S
23917 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
23918 as a macro and a compat symbol.
23919 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
23920 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
23921 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
23922 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
23923 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
23924 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
23925 not use .hidden.
23926 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
23927 Likewise.
23928 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
23929 Likewise.
23930 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
23931 Likewise.
23932 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
23933 Likewise.
23934 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
23935 Likewise.
23936 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
23937 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
23938 from GLIBC_2.3.2.
23939
6eeb678a
AZ
239402013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23941
23942 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23943
6f6fc482
JM
239442013-12-19 Joseph Myers <joseph@codesourcery.com>
23945
21fea2e2
JM
23946 * manual/texinfo.tex: Update to version 2013-11-26.10 with
23947 trailing whitespace removed.
23948 * scripts/config.guess: Update to version 2013-11-29.
23949 * scripts/config.sub: Update to version 2013-10-01.
23950
6f6fc482
JM
23951 * math/auto-libm-test-in: Add tests of sincos.
23952 * math/auto-libm-test-out: Regenerated.
23953 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
23954 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23955 mpfr_f_11.
23956 (func_calc_desc): Add mpfr_f_11 union field.
23957 (test_functions): Add sincos.
23958 (calc_generic_results): Handle mpfr_f_11.
23959 * sysdeps/i386/fpu/libm-test-ulps: Update.
23960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23961
83f5c32d
AS
239622013-12-19 Andreas Schwab <schwab@suse.de>
23963
23964 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
23965 CALL_MCOUNT.
23966 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23967 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
23968 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
23969
c688b419
JM
239702013-12-19 Joseph Myers <joseph@codesourcery.com>
23971
335ee092
JM
23972 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
23973 * sysdeps/i386/fpu/libm-test-ulps: Update.
23974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23975
f88acd39
JM
23976 [BZ #16293]
23977 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
23978 round-to-nearest mode when using frndint.
23979 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
23980 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23981 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
23982 Likewise.
23983 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
23984 sinh test to fail.
23985 * math/auto-libm-test-out: Regenerated.
23986 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
23987 (TEST_COND_x86): Likewise.
23988 (expm1_tonearest_test_data): New array.
23989 (expm1_test_tonearest): New function.
23990 (expm1_towardzero_test_data): New array.
23991 (expm1_test_towardzero): New function.
23992 (expm1_downward_test_data): New array.
23993 (expm1_test_downward): New function.
23994 (expm1_upward_test_data): New array.
23995 (expm1_test_upward): New function.
23996 (main): Run the new test functions.
23997 * sysdeps/i386/fpu/libm-test-ulps: Update.
23998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23999
c688b419
JM
24000 * include/features.h: Update comment documenting feature test
24001 macros. Mention _DEFAULT_SOURCE in comment.
24002 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
24003 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
24004 _BSD_SOURCE and _SVID_SOURCE.
24005 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
24006 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
24007 !_SVID_SOURCE]: Likewise.
24008 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24009 (__USE_POSIX_IMPLICITLY): Define.
24010 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24011 (_POSIX_SOURCE): Undefine and redefine.
24012 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24013 (_POSIX_C_SOURCE): Likewise.
24014 * manual/creature.texi (_DEFAULT_SOURCE): Document.
24015 (Feature Test Macros): Update documentation of default features.
24016
9f6e964c
RS
240172013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24018
24019 * benchtests/Makefile: Add bench-strtok.
24020 * benchtests/bench-strtok.c: New file: strtok benchtest.
24021
ee0a148a
AM
240222013-12-19 Allan McRae <allan@archlinux.org>
24023
24024 * manual/install.texi: Suppress menu for plain text output.
24025 * INSTALL: Regenerated.
24026
b9ab448f
BM
240272013-12-18 Brooks Moses <bmoses@google.com>
24028
24029 [BZ #15846]
24030 * misc/getauxval.c: Include errno.h.
24031 (__getauxval): Set errno to ENOENT if the requested type is not
24032 found.
24033 * misc/sys/auxv.h (getauxval): Document that it may set errno;
24034 don't declare with __attribute_const__.
24035 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
24036 * manual/startup.texi: Document that getauxval sets errno.
24037
23776487
JM
240382013-12-18 Joseph Myers <joseph@codesourcery.com>
24039
f889953b
JM
24040 * math/auto-libm-test-in: Add tests of jn and yn.
24041 * math/auto-libm-test-out: Regenerated.
24042 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
24043 (yn_test_data): Likewise.
24044 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24045 mpfr_if_f.
24046 (func_calc_desc): Add mpfr_if_f union field.
24047 (FUNC_mpfr_if_f): New macro.
24048 (test_functions): Add jn and yn.
24049 (calc_generic_results): Assert type of second input for
24050 mpfr_ff_f. Handle mpfr_if_f.
24051 (output_for_one_input_case): Disable all checking for arguments
24052 fitting floating-point types in case of an integer argument.
24053 * sysdeps/i386/fpu/libm-test-ulps: Update.
24054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24055
23776487
JM
24056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24057 Don't expect fegetround reference in libm.so.
24058
cb756c6d
MS
240592013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24060
24061 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
24062 $(config-cflags-nofma).
24063
2dec468f
JM
240642013-12-18 Joseph Myers <joseph@codesourcery.com>
24065
5953eb3a
JM
24066 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
24067 * math/auto-libm-test-out: Regenerated.
24068
2dec468f
JM
24069 [BZ #16338]
24070 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
24071 to determine exponent and adjust argument to have exponent of -1.
24072 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
24073 log2.
24074 * math/auto-libm-test-out: Regenerated.
24075 * sysdeps/i386/fpu/libm-test-ulps: Update.
24076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24077
4d84e6ad
OB
240782013-12-18 Ondřej Bílka <neleai@seznam.cz>
24079
24080 * manual/probes.texi: Remove cases when per-thread arenas are
24081 disabled.
24082
1818483b
AS
240832013-12-18 Andreas Schwab <schwab@suse.de>
24084
24085 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
24086 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
24087 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
24088 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
24089 * sysdeps/i386/i686/multiarch/Makefile: Update.
24090 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
24091
25de95bf
JM
240922013-12-17 Joseph Myers <joseph@codesourcery.com>
24093
24094 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
24095 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
24096
674762d9
PE
240972013-12-17 Paul Eggert <eggert@cs.ucla.edu>
24098
ed27ed83 24099 [BZ #15968]
0748546f
PE
24100 Support TZ transition times < 00:00:00.
24101 This is needed for version-3 tz-format files; it supports time
24102 stamps past 2037 for America/Godthab (the only entry in the tz
24103 database for which this change is relevant).
24104 * manual/time.texi (TZ Variable): Document transition times
24105 from -167:59:59 through -00:00:01.
24106 * time/tzset.c (tz_rule): Time of day is now signed.
24107 (__tzset_parse_tz): Parse negative time of day.
24108
4480e934
PE
24109 Document TZ transition times >= 25:00:00.
24110 * manual/time.texi (TZ Variable): Document transition times from
24111 25:00:00 through 167:59:59. These are already supported, and this
24112 support will help with version-3 tz-format files.
24113
69947401
PE
24114 * manual/time.texi (TZ Variable): Modernize North America example
24115 to reflect current (i.e., 2007-and-later) daylight saving rules.
24116
674762d9
PE
24117 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
24118
7011c262
JM
241192013-12-17 Joseph Myers <joseph@codesourcery.com>
24120
2fc6557e
JM
24121 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
24122 * sysdeps/unix/bsd/bits/stat.h: Likewise.
24123 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
24124 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24125 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
24126 * sysdeps/unix/bsd/bsdstat.h: Likewise.
24127 * sysdeps/unix/bsd/clock.c: Likewise.
24128 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
24129 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
24130 * sysdeps/unix/bsd/init-posix.c: Likewise.
24131 * sysdeps/unix/bsd/poll.c: Likewise.
24132 * sysdeps/unix/bsd/ptsname.c: Likewise.
24133 * sysdeps/unix/bsd/seekdir.c: Likewise.
24134 * sysdeps/unix/bsd/setegid.c: Likewise.
24135 * sysdeps/unix/bsd/seteuid.c: Likewise.
24136 * sysdeps/unix/bsd/setgid.c: Likewise.
24137 * sysdeps/unix/bsd/setrgid.c: Likewise.
24138 * sysdeps/unix/bsd/setruid.c: Likewise.
24139 * sysdeps/unix/bsd/setsid.c: Likewise.
24140 * sysdeps/unix/bsd/setuid.c: Likewise.
24141 * sysdeps/unix/bsd/sigaction.c: Likewise.
24142 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
24143 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
24144 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
24145 * sysdeps/unix/bsd/telldir.c: Likewise.
24146 * sysdeps/unix/bsd/times.c: Likewise.
24147 * sysdeps/unix/bsd/usleep.c: Likewise.
24148
029c7b25
JM
24149 * misc/Makefile (install-lib): Remove libbsd-compat.a.
24150 ($(objpfx)libbsd-compat.a): Remove rule.
24151
7011c262
JM
24152 * include/features.h (__FAVOR_BSD): Do not define.
24153 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
24154 features conflicting with POSIX.
24155 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
24156 (_BSD_SOURCE): Remove description of not being a subset of other
24157 feature test macros.
24158 * manual/job.texi (getpgrp): Do not document BSD version.
24159 (getpgid): Do not document by reference to BSD getpgrp.
24160 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
24161 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
24162 * signal/signal.h [__FAVOR_BSD]: Likewise.
24163 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
24164 instead of making contents conditional on [__FAVOR_BSD].
24165 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
24166
affb6f78
AZ
241672013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24168
24169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24170
c88769dd
JM
241712013-12-17 Joseph Myers <joseph@codesourcery.com>
24172
6432a540
JM
24173 [BZ #16314]
24174 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
24175 values below 2**-450, not 2**-500.
24176 * math/auto-libm-test-in: Don't allow spurious underflow from
24177 hypot.
24178 * math/auto-libm-test-out: Regenerated.
24179
c88769dd
JM
24180 [BZ #16316]
24181 [BZ #16330]
24182 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
24183 values of ha and hb and sort them after adjusting subnormal
24184 arguments.
24185 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24186 Likewise.
24187 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
24188 values of ea and eb and sort them after adjusting subnormal
24189 arguments.
24190 * math/auto-libm-test-in: Do not expect some hypot tests of
24191 subnormals to fail. Add more hypot tests.
24192 * math/auto-libm-test-out: Regenerated.
24193
29618f6b
KK
241942013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24195
24196 [BZ #13304]
24197 * sysdeps/sh/s_fma.c: New file.
24198 * sysdeps/sh/s_fmaf.c: New file.
24199 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
24200 version.
24201 * sysdeps/sh/Implies: Add sh/soft-fp.
24202
eacfdfbf
RM
242032013-12-16 Roland McGrath <roland@hack.frob.com>
24204
24205 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
24206 level of indirection to members `objname', `errstring', `malloced'.
24207 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
24208 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
24209 it as the __longjmp argument (just pass 1 instead).
24210 (_dl_catch_error): Initialize C with argument pointers and address of
24211 volatile local ERRCODE rather than copying values out of C at return.
24212
ff362e5b
JM
242132013-12-16 Joseph Myers <joseph@codesourcery.com>
24214
24215 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
24216 * math/auto-libm-test-out: Regenerated.
24217 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
24218 (hypot_test_data): Likewise.
24219 (pow_test_data): Likewise.
24220 (pow_tonearest_test_data): Likewise.
24221 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24222 mpfr_ff_f.
24223 (func_calc_desc): Add mpfr_ff_f union field.
24224 (FUNC_mpfr_ff_f): New macro.
24225 (test_functions): Add atan2, hypot and pow.
24226 (special_fill_min): New function.
24227 (special_fill_minus_min): Likewise.
24228 (special_fill_min_subnorm): Likewise.
24229 (special_fill_minus_min_subnorm): Likewise.
24230 (special_real_inputs): Add min, -min, min_subnorm and
24231 -min_subnorm.
24232 (calc_generic_results): Handle mpfr_ff_f.
24233 * sysdeps/i386/fpu/libm-test-ulps: Update.
24234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24235
5764c27f
WN
242362013-12-16 Will Newton <will.newton@linaro.org>
24237
24238 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
24239 (Aligned Memory Blocks): Add documentation for aligned_alloc
24240 and suggest it as an alternative to posix_memalign.
24241 (Hooks for Malloc): Document __memalign_hook is also called
24242 for aligned_alloc. (Summary of Malloc): Add summary for
24243 aligned alloc. Document __memalign_hook is also called
24244 for aligned_alloc.
24245
0a096e44
WN
242462013-12-16 Will Newton <will.newton@linaro.org>
24247
24248 * manual/memory.texi (Malloc Examples): Clarify default
24249 alignment documentation. Suggest posix_memalign rather
24250 than memalign or valloc.
24251 (Aligned Memory Blocks): Remove suggestion to use memalign
24252 or valloc. Remove obsolete comment about BSD.
24253 Document memalign errno values and mark the function obsolete.
24254 Document posix_memalign returned error codes. Mark valloc
24255 as obsolete. (Hooks for Malloc): __memalign_hook is also
24256 called for posix_memalign and valloc.
24257 (Summary of Malloc): Add posix_memalign to function summary.
24258 __memalign_hook is also called for posix_memalign and valloc.
24259
8d561986
SP
242602013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24261
24262 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
24263 TAYLOR_SIN.
24264 (__sin): Adjust.
24265 (__cos): Likewise.
24266 (sloww): Use mynumber union. Expand ternary operator into
24267 if-else statements.
24268 (cslow): use mynumber union.
24269
73616a74
AM
242702013-12-16 Allan McRae <allan@archlinux.org>
24271
9e8ac24b
AM
24272 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
24273 * configure: Regenerated.
24274
6f8e37eb
AM
24275 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
24276
8894bad3
AM
24277 [BZ #14120]
24278 * configure.ac: Added --enable-maintainer-mode. Check for
24279 autoconf when enabled.
24280 * configure: Regenerated.
24281
73616a74
AM
24282 * nscd/nscd.service: New file.
24283 * nscd/nscd.tmpfiles: New file.
24284
584b18eb
OB
242852013-12-14 Ondřej Bílka <neleai@seznam.cz>
24286
24287 [BZ #12100]
24288 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
24289 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
24290 * sysdeps/x86_64/multiarch/strstr.c: ... here.
24291 (strstr): Add __strstr_sse2_unaligned ifunc.
24292 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
24293 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
24294 (strcasestr): Remove __strcasestr_sse42 ifunc.
24295 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
24296 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24297 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24298
8a5c7897
KK
242992013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24300
24301 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
24302 * sysdeps/sh/bits/fenv.h: ... here.
24303 * sysdeps/sh/sh4/fpu/bits: Remove directory.
24304
fd712ef3
AZ
243052013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24306
24307 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
24308
42fcb46c
AZ
24309 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
24310 hypotf multiarch implementations.
24311 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
24312 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
24313 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
24314 multiarch hypot for PPC64.
24315 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
24316 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
24317 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
24318 multiarch hypotf for PPC64.
24319
83efded4
AZ
24320 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
24321 modff multiarch implementations.
24322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
24323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
24324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
24325 multiarch modf for PPC64.
24326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
24327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
24328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
24329 multiarch modff for PPC64.
24330
43e246d2
AZ
24331 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
24332 and logl multiarch implementations.
24333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
24334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
24335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
24336 multiarch logb for PPC64.
24337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
24338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
24339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
24340 multiarch logb for PPC64.
24341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
24342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
24343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
24344 multiarch logb for PPC64.
24345
8fdad123
AZ
24346 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
24347 isinff multiarch implementation.
24348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
24349 file.
24350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
24351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
24352 multiarch isinf for PPC64.
24353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
24354 file.
24355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
24356 multiarch isinff for PPC64.
24357
1481d706
AZ
24358 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
24359 finitef multiarch implementation.
24360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
24361 file.
24362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
24363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
24364 multiarch finite for PPC64.
24365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
24366 file.
24367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
24368 multiarch finitef for PPC64.
24369
5ccd5fc8
AZ
24370 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
24371 lrint multiarch implementation.
24372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
24373 file.
24374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
24375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
24376 multiarch llrint for PPC64.
24377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
24378 multiarch lrint for PPC64.
24379
2568f3fa
AZ
24380 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
24381 copysignf multiarch implementation.
24382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
24383 file.
24384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
24385 file.
24386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
24387 multiarch copysign for PPC64.
24388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
24389 multiarch copysignf for PPC64.
24390
1cb341fd
AZ
24391 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
24392 multiarch implementation.
24393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
24394 file.
24395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
24396 file.
24397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
24398 file.
24399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
24400 file.
24401 multiarch llround for PPC64.
24402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
24403 multiarch trunc for PPC64.
24404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
24405 multiarch truncf for PPC64.
24406
59a3e194
AZ
24407 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
24408 multiarch implementation.
24409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
24410 file.
24411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
24412 file.
24413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
24414 file.
24415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
24416 file.
24417 multiarch llround for PPC64.
24418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
24419 multiarch round for PPC64.
24420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
24421 multiarch roundf for PPC64.
24422
357fd3b4
AZ
24423 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
24424 multiarch implementation.
24425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
24426 file.
24427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
24428 file.
24429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
24430 file.
24431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
24432 file.
24433 multiarch llround for PPC64.
24434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
24435 multiarch floor for PPC64.
24436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
24437 multiarch floorf for PPC64.
24438
96770f12
AZ
24439 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
24440 multiarch implementation.
24441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
24442 file.
24443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
24444 file.
24445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
24446 file.
24447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
24448 file.
24449 multiarch llround for PPC64.
24450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
24451 multiarch ceil for PPC64.
24452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
24453 multiarch ceilf for PPC64.
24454
c3627f6e
AZ
24455 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24456 multiarch implementation.
24457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
24458 file.
24459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
24460 file.
24461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
24462 file.
24463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
24464 multiarch llround for PPC64.
24465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
24466 multiarch lround for PPC64.
24467
b2284ad7
AZ
24468 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24469 multiarch implementation.
24470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
24471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
24472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
24473 file.
24474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
24475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
24476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
24477 multiarch isnan for PPC64.
24478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
24479 multiarch isnanf for PPC64.
24480
69bbc63d
AZ
24481 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
24482 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
24483 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
24484 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
24485 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
24486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
24487
c24517c9
AZ
24488 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
24489 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24490 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24491 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24492
a52374e8
AZ
24493 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
24494 multiarch implementations.
24495 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24496 (__libc_ifunc_impl_list): Likewise.
24497 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
24498 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
24499 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
24500 multiarch stpcpy for PPC64.
24501
7f5ec113
AZ
24502 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
24503 multiarch implementations.
24504 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24505 (__libc_ifunc_impl_list): Likewise.
24506 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
24507 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
24508 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
24509 multiarch strcpy for PPC64.
24510
e28bcd42
AZ
24511 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
24512 redefine function name.
24513 (_wordcopy_fwd_dest_aligned): Likewise.
24514 (_wordcopy_bwd_aligned): Likewise.
24515 (_wordcopy_bwd_dest_aligned): Likewise.
24516 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
24517 multiarch implementations.
24518 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24519 (__libc_ifunc_impl_list): Likewise.
24520 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
24521 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
24522 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
24523 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
24524 multiarch wcscpy for PPC64.
24525
92cacfce
AZ
24526 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
24527 multiarch implementations.
24528 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24529 (__libc_ifunc_impl_list): Likewise.
24530 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
24531 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
24532 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
24533 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
24534 multiarch wcscpy for PPC64.
24535
7b714620
AZ
24536 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
24537 multiarch implementations.
24538 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24539 (__libc_ifunc_impl_list): Likewise.
24540 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
24541 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
24542 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
24543 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
24544 multiarch wcsrchr for PPC64.
24545
16fd2ae3
AZ
24546 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
24547 multiarch implementations.
24548 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24549 (__libc_ifunc_impl_list): Likewise.
24550 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
24551 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
24552 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
24553 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
24554 multiarch wcschr for PPC64.
24555
9ee2969b
AZ
24556 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
24557 multiarch implementations.
24558 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24559 (__libc_ifunc_impl_list): Likewise.
24560 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
24561 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
24562 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
24563 multiarch strchrnul for PPC64.
24564
372dc060
AZ
24565 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
24566 implementations.
24567 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24568 (__libc_ifunc_impl_list): Likewise.
24569 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
24570 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
24571 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
24572 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
24573 strchr for PPC64.
24574
24c2c3b9
AZ
24575 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
24576 implementations.
24577 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24578 (__libc_ifunc_impl_list): Likewise.
24579 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
24580 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
24581 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
24582 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
24583 strncmp for PPC64.
24584
1c92d9a0
AZ
24585 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
24586 multiarch implementations.
24587 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24588 (__libc_ifunc_impl_list): Likewise.
24589 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
24590 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
24591 strncasecmp for PPC64.
24592 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
24593 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
24594 multiarch strncasecmp_l for PPC64.
24595
17de3ee3
AZ
24596 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
24597 multiarch implementations.
24598 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24599 (__libc_ifunc_impl_list): Likewise.
24600 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
24601 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
24602 multiarch strcasecmp for PPC64.
24603 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
24604 file.
24605 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
24606 multiarch strcasecmp_l for PPC64.
24607
62982bf9
AZ
24608 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
24609 implementations.
24610 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24611 (__libc_ifunc_impl_list): Likewise.
24612 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
24613 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
24614 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
24615 strnlen for PPC64.
24616
a65f4904
AZ
24617 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
24618 implementations.
24619 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24620 (__libc_ifunc_impl_list): Likewise.
24621 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
24622 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
24623 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
24624 strlen for PPC64.
24625
1fd005ad
AZ
24626 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
24627 implementations.
24628 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24629 (__libc_ifunc_impl_list): Likewise.
24630 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
24631 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
24632 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
24633 rawmemrchr for PPC64.
24634
cd05ba91
AZ
24635 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
24636 implementation.
24637 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24638 (__libc_ifunc_impl_list): Likewise.
24639 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
24640 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
24641 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
24642 memrchr for PPC64.
24643
870f8676
AZ
24644 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
24645 implementation.
24646 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24647 (__libc_ifunc_impl_list): Likewise.
24648 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
24649 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
24650 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
24651 memchr for PPC64.
24652
f00be62b
AZ
24653 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
24654 implementation.
24655 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24656 (__libc_ifunc_impl_list): Likewise.
24657 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
24658 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
24659 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
24660 mempcpy for PPC64.
24661
8a29a3d0
AZ
24662 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
24663 avoid cretion of __bzero symbol.
24664 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
24665 Likewise.
24666 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
24667 Likewise.
24668 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
24669 Likewise.
24670 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
24671 multiarch implementations.
24672 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24673 (__libc_ifunc_impl_list): Likewise.
24674 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
24675 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
24676 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
24677 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
24678 bzero for PPC32.
24679 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
24680 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
24681 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
24682 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
24683 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
24684 memset for PPC64.
24685 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
24686
07253fcf
AZ
24687 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
24688 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
24689 implementations.
24690 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24691 (__libc_ifunc_impl_list): Likewise.
24692 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
24693 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
24694 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
24695 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
24696 memcmp for PPC64.
24697
b5beafbc
AZ
24698 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
24699 multiarch for POWER/PPC64.
24700 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
24701 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
24702 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
24703 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
24704 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
24705 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
24706 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
24707 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
24708 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
24709 memcpy for PPC64.
24710
5e6a4d4b
AZ
24711 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
24712 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
24713 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
24714 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
24715 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
24716 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
24717 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
24718 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
24719 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
24720 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
24721 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
24722 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
24723 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
24724 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
24725 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
24726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
24727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
24728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
24729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
24730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
24731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
24732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
24733
ddfab6dc
KK
247342013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24735
24736 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
24737
19b5525e
SP
247382013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24739
24740 * benchtests/Makefile (bench): Add exp2 and log2.
24741 (LDLIBS-bench-exp2): Add -lm.
24742 (LDLIBS-bench-log2): Likewise.
24743 * benchtests/exp2-inputs: New inputs file.
24744 * benchtests/log2-inputs: New inputs file.
24745 * benchtests/log-inputs: Add new inputs.
24746 * benchtests/tan-inputs: Likewise.
24747
196f7f5d
SP
247482013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24749
7a74607f
SP
24750 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
24751 definition...
57f41c40
AS
24752 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
24753 (csloww2): ... from here.
7a74607f 24754
196f7f5d
SP
24755 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
24756 instead of structures.
24757 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
24758 (POLYNOMIAL): Likewise.
24759 (TAYLOR_SLOW): Likewise.
24760 (__sin): Likewise.
24761 (__cos): Likewise.
24762 (slow1): Likewise.
24763 (slow2): Likewise.
24764 (sloww): Likewise.
24765 (sloww1); Likewise.
24766 (sloww2): Likewise.
24767 (bsloww1): Likewise.
24768 (bsloww2): Likewise.
24769 (cslow2): Likewise.
24770 (csloww): Likewise.
24771 (csloww1): Likewise.
24772 (csloww2): Likewise.
24773
0dfa665c
OB
247742013-12-10 Ondřej Bílka <neleai@seznam.cz>
24775
24776 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
24777 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
24778 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
24779 * malloc/hooks.c (realloc_check): Likewise.
24780
5782a80f
OB
24781 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
24782 * malloc/arena.c: Remove PER_THREAD conditional.
24783 [!PER_THREAD]: Remove code.
24784 (ptmalloc_unlock_all2): Likewise.
24785 (ptmalloc_init): Likewise.
24786 (_int_new_arena): Likewise.
24787 (arena_get2): Likewise.
24788 * malloc/hooks.c (__malloc_get_state): Likewise.
24789 (__malloc_set_state): Likewise.
24790 * malloc/malloc.c: Likewise.
24791 (struct malloc_state): Likewise.
24792 (struct malloc_par): Likewise.
24793 (__libc_realloc): Likewise.
24794 (__libc_mallopt): Likewise.
24795
aeb95445
AZ
247962013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24797
24798 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
24799
e8349efd
OB
248002013-12-09 Ondřej Bílka <neleai@seznam.cz>
24801
24802 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
24803 macro to a function. Check for zero perturb_byte.
24804 (_int_malloc, _int_free): Remove zero perturb_byte checks.
24805
f3eeb3fc 24806 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
24807 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
24808 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
24809 force_reg by atomic_forced_read.
24810 * malloc/arena.c (ptmalloc_init): Likewise.
24811 * malloc/hooks.c (top_check): Likewise.
24812
be2f9009
AZ
248132013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24814
24815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24816
e7b914bd
MT
248172013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
24818
24819 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24820
9f0be4f8
JM
248212013-12-08 Joseph Myers <joseph@codesourcery.com>
24822
24823 * math/auto-libm-test-in: Add tests of lgamma.
24824 * math/auto-libm-test-out: Regenerated.
24825 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
24826 (M_LOG_2_SQRT_PIl): Likewise.
24827 (lgamma_test_data): Use AUTO_TESTS_f_f1.
24828 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24829 mpfr_f_f1.
24830 (func_calc_desc): Add mpfr_f_f1 union field.
24831 (ARGS1): New macro.
24832 (ARGS2): Likewise.
24833 (ARGS3): Likewise.
24834 (ARGS4): Likewise.
24835 (RET1): Likewise.
24836 (RET2): Likewise.
24837 (CALC): Likewise.
24838 (FUNC): Likewise.
24839 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
24840 (test_functions): Add lgamma.
24841 (calc_generic_results): Handle mpfr_f_f1.
24842 * sysdeps/i386/fpu/libm-test-ulps: Update.
24843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24844
24eeafdb
AZ
248452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24846
24847 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
24848 __mpn_add_n for PowerPC64/POWER7.
24849 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
24850 __mpn_sub_n for PowerPC64/POWER7.
24851
4a2c0fd4
AZ
24852 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
24853 __mpn_addmul_1 for PowerPC64.
24854 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
24855 __mpn_submul_1 for PowerPC64.
24856 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
24857 for PowerPC64.
24858 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
24859 for PowerPC64.
24860
4b5b548c
FS
248612013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
24862
24863 [BZ #15089]
24864 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
24865
0a3ac0aa
AZ
248662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24867
24868 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
24869
ccdc8438
AZ
24870 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
24871 add multiarch folders.
24872 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
24873 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
24874 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
24875 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
24876 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
24877 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
24878 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
24879 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
24880 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
24881 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
24882 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
24883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
24884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
24885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
24886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
24887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
24888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
24889
2e973d99
AZ
24890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24891 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
24892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
24893 New file.
24894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
24895 New file.
24896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
24897 multiarch __ieee754_hypot for PowerPC32.
24898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
24899 New file.
24900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
24901 New file.
24902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
24903 multiarch __ieee754_hypotf for PowerPC32.
24904
2d9470b2
AZ
24905 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
24906 long_double_symbol only if __logbl is defined.
24907 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
24908 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
24909 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
24910 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
24911 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
24912 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
24913 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
24914 path for implementation.
24915 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
24916 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
24917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
24918 logb, and logbl multiarch implementations for PowerPC32.
24919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
24920 file.
24921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
24922 file.
24923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
24924 multiarch logb for PowerPC32.
24925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
24926 file.
24927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
24928 file.
24929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
24930 multiarch logbf for PowerPC32.
24931 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
24932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
24933 file.
24934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
24935 multiarch logbl implementation for PowerPC32.
24936
5212ffce
AZ
24937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
24938 and modff multiarch implementations.
24939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
24940 New file.
24941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
24942 New file.
24943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
24944 multiarch modf for PowerPC32.
24945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
24946 New file.
24947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
24948 New file.
24949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
24950 multiarch modff for PowerPC32.
24951
79dccf31
AZ
24952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
24953 and lrintf multiarch implementations.
24954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
24955 New file.
24956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
24957 New file.
24958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
24959 multiarch lrint for PowerPC32.
24960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
24961 file: multiarch lrintf for PowerPC32.
24962
deb66480
AZ
24963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
24964 and lroundf multiarch implementations.
24965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
24966 New file.
24967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
24968 New file.
24969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
24970 New file.
24971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
24972 multiarch lround for PowerPC32.
24973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
24974 file: multiarch lroundf for PowerPC32.
24975
264b036b
AZ
24976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24977 copysign and copysignf multiarch implementations.
24978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
24979 New file.
24980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
24981 New file.
24982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
24983 file: multiarch copysign for PowerPC32.
24984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
24985 file: multiarch copysignf for PowerPC32.
24986
d47db6c9
AZ
24987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
24988 and truncf multiarch implementations.
24989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
24990 New file.
24991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
24992 file.
24993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
24994 multiarch trunc for PowerPC32.
24995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
24996 New file.
24997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
24998 New file.
24999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
25000 multiarch truncf for PowerPC32.
25001
ddb60b5a
AZ
25002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
25003 and roundf multiarch implementations.
25004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
25005 New file.
25006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
25007 file.
25008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
25009 multiarch round for PowerPC32.
25010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
25011 New file.
25012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
25013 New file.
25014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
25015 multiarch roundf for PowerPC32.
25016
bedcf49b
AZ
25017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
25018 and floorf multiarch implementations.
25019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
25020 New file.
25021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
25022 file.
25023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
25024 multiarch floor for PowerPC32.
25025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
25026 New file.
25027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
25028 New file.
25029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
25030 multiarch floorf for PowerPC32.
25031
35ae5b40
AZ
25032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
25033 and ceilf multiarch implementations.
25034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
25035 New file.
25036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
25037 file.
25038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
25039 multiarch ceil for PowerPC32.
25040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
25041 New file.
25042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
25043 file.
25044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
25045 multiarch ceilf for PowerPC32.
25046
ae1a4cd9
AZ
25047 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
25048 is defined.
25049 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
25050 FINITEF is defined.
25051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
25052 and finitef multiarch implementations.
25053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
25054 New file.
25055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
25056 file.
25057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
25058 multiarch finite for PowerPC32.
25059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
25060 New file.
25061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
25062 file: multiarch finitef for PowerPC32.
25063
64fffd65
AZ
25064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
25065 and isinff multiarch implementations.
25066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
25067 file.
25068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
25069 file.
25070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
25071 multiarch isinf for PowerPC32.
25072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
25073 New file.
25074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
25075 multiarch isinff for PowerPC32.
25076
8e4e7ba2
AZ
25077 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
25078 alias when __isnan is defined.
25079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
25080 and isnanf multiarch implementations.
25081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
25082 file.
25083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
25084 file.
25085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
25086 file.
25087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
25088 file.
25089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
25090 multiarch isnan for PowerPC32.
25091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
25092 New file.
25093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
25094 New file.
25095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
25096 multiarch isnanf for PowerPC32.
25097
ddba588e
AZ
25098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
25099 and sqrtf multiarch implementations.
25100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
25101 file.
25102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
25103 file.
25104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
25105 multiarch sqrt for PowerPC32.
25106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
25107 file.
25108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
25109 file.
25110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
25111 multiarch sqrtf for PowerPC32.
25112
0f96a2f0
AZ
25113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
25114 and llroundf multiarch implementations.
25115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
25116 New file.
25117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
25118 New file.
25119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
25120 New file.
25121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
25122 file: multiarch llround for PowerPC32.
25123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
25124 file: multiarch llroundf for PowerPC32.
25125
c9b5d79e
AZ
25126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
25127 multiarch PowerPC32 fpu implementations.
25128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
25129 New file.
25130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
25131 New file.
25132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
25133 multiarch llrint for PowerPC32.
25134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
25135 New file.
25136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
25137 New file.
25138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
25139 file.
25140
9cbb3aab
AZ
25141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
25142
ea5a72f8
AZ
25143 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
25144 file.
25145 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
25146 file.
25147 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
25148 file.
25149 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
25150 multiarch wordcopy for PPC32.
25151 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25152 wordcopy objects.
25153 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25154 (__libc_ifunc_impl_list): Likewise.
25155 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
25156 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
25157 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
25158 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
25159 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
25160 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
25161
93be09e7
AZ
25162 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
25163 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
25164 file.
25165 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
25166 file.
25167 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
25168 file.
25169 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
25170 multiarch wcscpy for PPC32.
25171 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25172 multiarch objects.
25173 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25174 (__libc_ifunc_impl_list): Likewise.
25175 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25176 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25177 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
25178 sysdeps/powerpc/power6/wcscpy.c.
25179
bb04e529
AZ
25180 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
25181 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
25182 file.
25183 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
25184 file.
25185 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
25186 file.
25187 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
25188 multiarch wcsrchr for PPC32.
25189 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25190 multiarch objects.
25191 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25192 (__libc_ifunc_impl_list): Likewise.
25193 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25194 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25195 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
25196 sysdeps/powerpc/power6/wcsrchr.c.
25197
05b5cd1c
AZ
25198 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
25199 file.
25200 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
25201 file.
25202 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
25203 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
25204 multiarch wcschr for PPc32.
25205 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25206 multiarch objects.
25207 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25208 (__libc_ifunc_impl_list): Likewise.
25209 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
25210 * sysdeps/powerpc/power6/wcschr.c: ... to here.
25211 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
25212 sysdeps/powerpc/power6/wcschr.c.
25213
ba964147
AZ
25214 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
25215 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
25216 file.
25217 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
25218 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
25219 file: multiarch strchr for PPC32.
25220 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
25221 multiarch objects.
25222 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25223 (__libc_ifunc_impl_list): Likewise.
25224
31c81aaa
AZ
25225 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
25226 name.
25227 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
25228 file.
25229 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
25230 file.
25231 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
25232 multiarch strchrnul for PPC32.
25233 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
25234 multiarch objects.
25235 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25236 (__libc_ifunc_impl_list): Likewise.
25237
0d0607d9
AZ
25238 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
25239 file.
25240 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
25241 multiarch strncasecmp for PPC32.
25242 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
25243 file.
25244 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
25245 multiarch strncasecmp_l for PPC32.
25246 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
25247 strncasecmp multiarch objects.
25248 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25249 (__libc_ifunc_impl_list): Likewise.
25250
4dfd5c86
AZ
25251 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
25252 file.
25253 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
25254 multiarch strncasecmp for PPC32.
25255 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
25256 New file.
25257 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
25258 multiarch strcasecmp_l for PPC32.
25259 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
25260 multiarch objects.
25261 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25262 (__libc_ifunc_impl_list): Likewise.
25263
a19e01a3
AZ
25264 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
25265 file.
25266 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
25267 file.
25268 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
25269 multiarch strncmp for PPC32.
25270 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
25271 multiarch objects.
25272 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25273 (__libc_ifunc_impl_list): Likewise.
25274
ae9cf7a2
AZ
25275 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
25276 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
25277 file.
25278 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
25279 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
25280 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
25281 multiarch objects.
25282 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25283 (__libc_ifunc_impl_list): Likewise.
25284
3148bb7d
AZ
25285 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
25286 file.
25287 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
25288 file.
25289 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
25290 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
25291 multiarch objects.
25292 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25293 (__libc_ifunc_impl_list): Likewise.
25294
7af8b946
AZ
25295 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
25296 file.
25297 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
25298 file.
25299 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
25300 multiarch rawmemchr for PPC32.
25301 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
25302 multiarch objects.
25303 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25304 (__libc_ifunc_impl_list): Likewise.
25305
03a6aa6a
AZ
25306 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
25307 file.
25308 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
25309 file.
25310 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
25311 file: memrchr multiarch for PPC32.
25312 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
25313 multiarch objects.
25314 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25315 (__libc_ifunc_impl_list): Likewise.
25316
1c62e6d9
AZ
25317 * string/memchr.c (__memchr): Using macro to redefine symbol name.
25318 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
25319 file.
25320 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
25321 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
25322 multiarch memchr for PPC32.
25323 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
25324 multiarch objects.
25325 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25326 (__libc_ifunc_impl_list): Likewise.
25327
87da8bdb
AZ
25328 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
25329 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
25330 file.
25331 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
25332 file.
25333 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
25334 file: multiarch mempcpy for PPC32.
25335 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
25336 multiarch objects.
25337 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25338 (__libc_ifunc_impl_list): Likewise.
25339
20ed4714
AZ
25340 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
25341 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
25342 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
25343 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
25344 multiarch bzero for PPC32.
25345 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
25346 file.
25347 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
25348 file.
25349 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
25350 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
25351 file: multiarch memset for PPC32.
25352 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
25353 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
25354 memset multiarch objects.
25355 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25356 (__libc_ifunc_impl_list): Likewise.
25357
ab3e3a46
AZ
25358 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
25359 file.
25360 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
25361 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
25362 memcmp for PPC32.
25363 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
25364 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
25365 multiarch objects.
25366 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25367 (__libc_ifunc_impl_list): Likewise.
25368
930de6f0
AZ
25369 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
25370 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
25371 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
25372 file.
25373 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
25374 file.
25375 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
25376 file.
25377 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
25378 multiarch memcpy for PPC32.
25379 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
25380 multiarch objects.
25381 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25382 (__libc_ifunc_impl_list): Likewise.
25383
4c628e00
AZ
25384 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
25385 support multiarch for POWER/PPC32.
25386 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
25387 Likewise.
25388 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
25390 Implies file to make multiarch folder appers before the fpu and
25391 default folder for power4 configuration.
25392
f4479220
SP
253932013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25394
25395 * scripts/bench.pl: Append volatile keyword to type.
25396
8517800f
KK
253972013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25398
25399 * sysdeps/sh/sotruss-lib.c: New file.
25400 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
25401
180138f1
AZ
254022013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25403
25404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25405
bbf37bdc
JM
254062013-12-05 Joseph Myers <joseph@codesourcery.com>
25407
e47cc4e0
JM
25408 [BZ #6810]
25409 * math/w_tgamma.c: Include <errno.h>.
25410 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
25411 * math/w_tgammaf.c: Include <errno.h>.
25412 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
25413 * math/w_tgammal.c: Include <errno.h>.
25414 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
25415 * math/auto-libm-test-in: Do not allow missing errno on tgamma
25416 underflow. Add more tgamma tests.
25417 * math/auto-libm-test-out: Regenerated.
25418 * sysdeps/i386/fpu/libm-test-ulps: Update.
25419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25420
bbf37bdc
JM
25421 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
25422 sin, sinh, tan, tanh, tgamma, y0 and y1.
25423 * math/auto-libm-test-out: Regenerated.
25424 * math/libm-test.inc (TEST_COND_x86_64): New macro.
25425 (TEST_COND_x86): Likewise.
25426 (M_E2l): Remove macro.
25427 (M_E3l): Likewise.
25428 (M_2_SQRT_PIl): Likewise.
25429 (M_SQRT_PIl): Likewise.
25430 (M_1_DIV_El): Likewise.
25431 (log_test_data): Use AUTO_TESTS_f_f.
25432 (log10_test_data): Likewise.
25433 (log1p_test_data): Likewise.
25434 (log2_test_data): Likewise.
25435 (sin_test_data): Likewise.
25436 (sin_tonearest_test_data): Likewise.
25437 (sin_towardzero_test_data): Likewise.
25438 (sin_downward_test_data): Likewise.
25439 (sin_upward_test_data): Likewise.
25440 (sinh_test_data): Likewise.
25441 (sinh_tonearest_test_data): Likewise.
25442 (sinh_towardzero_test_data): Likewise.
25443 (sinh_downward_test_data): Likewise.
25444 (sinh_upward_test_data): Likewise.
25445 (tan_test_data): Likewise.
25446 (tan_tonearest_test_data): Likewise.
25447 (tan_towardzero_test_data): Likewise.
25448 (tan_downward_test_data): Likewise.
25449 (tan_upward_test_data): Likewise.
25450 (tanh_test_data): Likewise.
25451 (tgamma_test_data): Likewise.
25452 (y0_test_data): Likewise.
25453 (y1_test_data): Likewise.
25454 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
25455 (special_real_inputs): Add pi/4.
25456 * sysdeps/i386/fpu/libm-test-ulps: Update.
25457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25458
eb5ad6b9
AZ
254592013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25460
25461 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
25462 "longjmp_target" static probes.
25463 (__longjmp): Rename to __longjmp_symbol.
25464 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25465 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
25466 on which longjmp to generate.
25467 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25468 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
25469 probe.
25470 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25471 (__sigjmp_save): Rename to __sigjmp_save_symbol.
25472 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25473 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
25474 and __sigjmp_save_symbol based on which sigsetjmp to generated.
25475 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
25476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
25477 __longjmp_symbol based on which __longjmp to generate.
25478 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
25479 probe.
25480 (setjmp): Rename to setjmp_symbol.
25481 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25482 (_setjmp): Rename to _setjmp_symbol.
25483 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25484 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
25485 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
25486 which setjmp to generate.
25487 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
25488 "longjmp_target" static probes.
25489
d136c6dc
SP
254902013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25491
9298ecba
SP
25492 * benchtests/README: Add note about output arguments.
25493 * benchtests/bench-sincos.c: Remove file.
25494 * benchtests/sincos-inputs: New file.
25495 * scripts/bench.pl: Identify output arguments and define
25496 static variables for them.
25497
232983e9
SP
25498 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
25499
d136c6dc
SP
25500 [BZ #15941]
25501 * Makefile (INSTALL): Add install-plain.texi as the primary
25502 dependency.
25503 * manual/install-plain.texi: New file.
25504 * manual/install.texi: Include node directive only for
25505 non-plaintext output.
25506
699ff837
JM
255072013-12-04 Joseph Myers <joseph@codesourcery.com>
25508
ab07cea8
JM
25509 * stdlib/longlong.h: Update from GCC.
25510
699ff837
JM
25511 [BZ #6807]
25512 [BZ #15901]
25513 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
25514 * math/w_j0f.c (y0f): Likewise.
25515 * math/w_j0l.c (__y0l): Likewise.
25516 * math/w_j1.c (y1): Likewise.
25517 * math/w_j1f.c (y1f): Likewise.
25518 * math/w_j1l.c (__y1l): Likewise
25519 * math/w_jn.c (yn): Likewise.
25520 * math/w_jnf.c (ynf): Likewise.
25521 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
25522 Bessel function pole errors in _POSIX_ mode. Use NAN as return
25523 value for Bessel function domain errors outside _SVID_ mode.
25524 Adjust sign of return value for yn (negative integer, 0).
25525 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
25526 by zero in return for negative x and set sign appropriately for
25527 negative n.
25528 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
25529 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25530 * math/libm-test.inc (y0_test_data): Add more tests and adjust
25531 expectations in error cases.
25532 (y1_test_data): Likewise.
25533 (yn_test_data): Likewise.
25534 * sysdeps/i386/fpu/libm-test-ulps: Update.
25535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25536
5b118558
UW
255372013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25538
25539 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
25540 "64" to "64-v1". Add "64-v2".
25541 (abi-64-options): Rename to ...
25542 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
25543 (abi-64-condition): Rename to ...
25544 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
25545 (abi-64-ld-soname): Rename to ...
25546 (abi-64-v1-ld-soname): ... this.
25547 (abi-64-v2-options): Define.
25548 (abi-64-v2-condition): Likewise.
25549 (abi-64-v2-ld-soname): Likewise.
25550 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
25551 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
25552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
25553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
25554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
25555
61cd8fe4
UW
255562013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25557 Alan Modra <amodra@gmail.com>
25558
25559 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
25560 New versions for use with the ELFv2 ABI.
25561 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
25562 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
25563 declaration.
25564 (struct La_ppc64v2_retval): Likewise.
25565 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
25566 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
25567 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
25568 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
25569 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
25570 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25571 Do not save or restore CR.
25572 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
25573 (_dl_profile_resolve): Do no save or restore CR. Support extended
25574 return values for ELFv2 ABI. Fix location of FPR return registers.
25575 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
25576 updated values for _CALL_ELF == 2.
25577 (La_regs, La_retval, int_retval): Likewise.
25578
8b8a692c
UW
255792013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25580
25581 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
25582 (FRAME_MIN_SIZE_PARM): Likewise.
25583 (FRAME_BACKCHAIN): Likewise.
25584 (FRAME_CR_SAVE): Likewise.
25585 (FRAME_LR_SAVE): Likewise.
25586 (FRAME_TOC_SAVE): Likewise.
25587 (FRAME_PARM_SAVE): Likewise.
25588 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
25589 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
25590 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25591 (call_mcount_parm_offset): New macro.
25592 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
25593 (PROF): Use symbolic stack frame offsets.
25594 (TAIL_CALL_SYSCALL_ERROR): Likewise.
25595 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
25596 Redefine in terms of FRAME_MIN_SIZE.
25597 (_dl_runtime_resolve): Use symbolic stack frame offsets.
25598 (_dl_profile_resolve): Likewise. Update comment.
25599 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
25600 symbols stack frame offsets.
25601 (__sigsetjmp): Likewise.
25602 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
25603 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
25604 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
25605 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
25606
25607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
25608 (FRAME_BACKCHAIN): Remove.
25609 (FRAME_CR_SAVE): Likewise.
25610 (FRAME_LR_SAVE): Likewise.
25611 (FRAME_COMPILER_DW): Likewise.
25612 (FRAME_LINKER_DW): Likewise.
25613 (FRAME_TOC_SAVE): Likewise.
25614 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
25615 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
25616 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
25617 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
25618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
25619 (CHECK_SP): Use symbolic stack frame offsets.
25620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
25621 zone" instead of caller's parameter save area for temp storage.
25622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25623 Likewise. Also, use symbolic stack frame offsets.
25624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
25625 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
25626 our own stack frame instead of the caller's.
25627 (__socket): Use symbolic stack frame offsets.
25628
122b66de
UW
256292013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25630 Alan Modra <amodra@gmail.com>
25631
25632 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
25633 Define.
57f41c40
AS
25634 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
25635 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
25636 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
25637 New function.
25638 (elf_machine_fixup_plt): Call it.
25639 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
25640 reloc arguments.
25641 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
25642 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25643 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
25644 r2 before calling target.
25645
696caf1d
UW
256462013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25647 Alan Modra <amodra@gmail.com>
25648
25649 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
25650 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
25651 versions of macros to support ELFv2 ABI.
25652 (LOCALENTRY): New macro.
25653 (ENTRY, EALIGN): Use it.
25654 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
25655 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
25656 fall through into ENTRY entry point.
25657 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
25658 Only define if _CALL_ELF != 2.
25659
25660 (elf_machine_matches_host): Verify ABI version matches.
25661 (RTLD_START): Use LOCALENTRY.
25662 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
25663 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
25664 (PLT_ENTRY_WORDS): New macro.
25665 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
25666 (elf_machine_runtime_setup): Support ELFv2 ABI.
25667 (elf_machine_fixup_plt): Likewise.
25668 (elf_machine_plt_conflict): Likewise.
25669 (resolve_ifunc): Likewise.
25670 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25671 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25672 Likewise.
25673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
25674 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
25675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25676 (makecontext): Support ELFv2 ABI.
25677 * elf/elf.h (EF_PPC64_ABI): Define.
25678
d31beafa
UW
256792013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25680
57f41c40
AS
25681 * sysdeps/powerpc/powerpc64/sysdep.h
25682 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
25683 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
25684 (ENTRY) [ASSEMBLER]: ... but instead here ...
25685 (EALIGN) [ASSEMBLER]: ... and here.
25686 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
25687 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
25688 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
25689 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
25690 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
25691 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25692 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
25693 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
25694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
25695 Use PPC64_LOAD_FUNCPTR.
25696
b525166b
UW
25697 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
25698
7ec07d9a
AM
256992013-12-04 Alan Modra <amodra@gmail.com>
25700
25701 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
25702 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
25703 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
25704 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
25705
25706 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
25707 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
25708 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
25709 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
25710 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
25711 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
25712
5162e7dd
UW
257132013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25714
25715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25716 (__makecontext): Fix incorrect CFI when backtracing out of
25717 context created via makecontext.
25718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
25719 (__setcontext): Fix incorrect CFI during switch to new context.
25720 (__novec_setcontext): Likewise.
25721
19e3372b
OB
257222013-12-04 Ondřej Bílka <neleai@seznam.cz>
25723
25724 [BZ #4772]
25725 * time/strptime_l.c (__strptime_internal): Allow modifiers
25726 in strptime.
25727 * time/tst-strptime.c (day_tests): Add testcase.
25728
ecaf142d
SP
257292013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25730
25731 * scripts/bench.pl: Skip over blank lines.
25732
fbf964ae
PE
257332013-12-04 Paul Eggert <eggert@cs.ucla.edu>
25734
25735 [BZ #926]
25736 * manual/time.texi (Calendar Time): Clarify what timezone functions
25737 use.
25738
fa60a674
AZ
257392013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25740
25741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25742
d674f0ef
OB
257432013-12-04 Ondřej Bílka <neleai@seznam.cz>
25744
25745 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
25746 implementation.
25747 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
25748 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
25749 * debug/memset_chk.c (__memset_chk): Likewise.
25750 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
25751 * debug/strncpy_chk.c: Likewise.
25752
17dea188
JM
257532013-12-03 Joseph Myers <joseph@codesourcery.com>
25754
749008ff
JM
25755 [BZ #15268]
25756 [BZ #15425]
25757 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
25758 (__ieee754_exp): For possibly underflowing results, check size of
25759 result and force underflow exception if required.
25760 * math/auto-libm-test-in: Add more tests of exp.
25761 * math/auto-libm-test-out: Regenerated.
25762 * sysdeps/i386/fpu/libm-test-ulps: Update.
25763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25764
17dea188
JM
25765 [BZ #16283]
25766 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
25767 * math/w_exp2f.c (__exp2f): Likewise.
25768 * math/w_exp2l.c (__exp2l): Likewise.
25769 * math/auto-libm-test-in: Do not allow missing errno on exp2
25770 underflow.
25771 * math/auto-libm-test-out: Regenerated.
25772
b20de2c3
OB
257732013-12-03 Ondřej Bílka <neleai@seznam.cz>
25774
25775 [BZ #16274]
25776 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
25777 handle filename validation.
25778 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
25779 (do_open): Delete.
25780
d8e2dbe3
JM
257812013-12-03 Joseph Myers <joseph@codesourcery.com>
25782
34e16df5
JM
25783 [BZ #6786]
25784 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
25785 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
25786 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
25787 <float.h>.
25788 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
25789 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
25790 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25791 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
25792 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25793 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
25794 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25795 * math/auto-libm-test-in: Don't allow missing errno from erfc.
25796 Add more erfc tests.
25797 * math/auto-libm-test-out: Regenerated.
25798 * sysdeps/i386/fpu/libm-test-ulps: Update.
25799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25800
d8e2dbe3
JM
25801 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
25802 exp2, expm1, j0 and j1.
25803 * math/auto-libm-test-out: Regenerated.
25804 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
25805 (erfc_test_data): Likewise.
25806 (exp_test_data): Likewise.
25807 (exp_tonearest_test_data): Likewise.
25808 (exp_towardzero_test_data): Likewise.
25809 (exp_downward_test_data): Likewise.
25810 (exp_upward_test_data): Likewise.
25811 (exp10_test_data): Likewise.
25812 (exp2_test_data): Likewise.
25813 (expm1_test_data): Likewise.
25814 (j0_test_data): Likewise.
25815 (j1_test_data): Likewise.
25816 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
25817 (input_flag_type): Add flag_xfail_rounding.
25818 (input_flags): Add xfail-rounding.
25819 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
25820 (output_for_one_input_case): Handle flag_xfail_rounding.
25821 * sysdeps/i386/fpu/libm-test-ulps: Update.
25822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25823
18d14251
AJ
258242013-12-03 Aurelien Jarno <aurelien@aurel32.net>
25825
3d2e6075 25826 [BZ #16289]
18d14251
AJ
25827 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
25828 division by 0.
25829
520d437b
SP
258302013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25831
25832 [BZ #16195]
25833 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
25834 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
25835 (STAP_PROBE0): New macro.
25836 (STAP_PROBE1): Likewise.
25837 (STAP_PROBE2): Likewise.
25838 (STAP_PROBE3): Likewise.
25839 (STAP_PROBE4): Likewise.
25840
416e0145
OB
258412013-12-02 Ondřej Bílka <neleai@seznam.cz>
25842
25843 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
25844
9d17796a
SE
258452013-12-02 Steve Ellcey <sellcey@mips.com>
25846
25847 * benchtests/Makefile (bench): Add sqrt.
25848 (LDLIBS-bench-sqrt): New.
25849 * benchtests/sqrt-input: New.
25850
f524d6a8
PS
258512013-12-02 Pavel Simerda <psimerda@redhat.com>
25852
639a0ef8
PS
25853 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
25854 (GAIH_EAI): Likewise.
25855 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
25856 (gaih_inet): Likewise.
25857 (getaddrinfo): Don't use GAIH_EAI.
25858
f524d6a8
PS
25859 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
25860 (struct gaih): Remove definition.
25861
df3aedaf
SP
258622013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25863
25864 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
25865 Use HERRNOP directly.
25866
1ab19dec
AZ
258672013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25868
b42ad38d 25869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 25870
176b0c79
JM
258712013-11-30 Joseph Myers <joseph@codesourcery.com>
25872
25873 * math/gen-auto-libm-tests.c (test_functions): Add more
25874 single-argument functions.
25875 (special_fill_pi_2): New function.
25876 (special_fill_minus_pi_2): Likewise.
25877 (special_fill_pi_6): Likewise.
25878 (special_fill_minus_pi_6): Likewise.
25879 (special_fill_pi_3): Likewise.
25880 (special_fill_2pi_3): Likewise.
25881 (special_fill_e): Likewise.
25882 (special_fill_1_e): Likewise.
25883 (special_fill_e_minus_1): Likewise.
25884 (special_real_inputs): Add more special inputs.
25885 (output_for_one_input_case): Do not require ERANGE on underflow to
25886 zero if round-to-nearest result does not underflow to zero, unless
25887 exact results required.
25888 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
25889 atan, atanh, cbrt, cos and cosh.
25890 * math/auto-libm-test-out: Regenerated.
25891 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
25892 (acos_tonearest_test_data): Likewise.
25893 (acos_towardzero_test_data): Likewise.
25894 (acos_downward_test_data): Likewise.
25895 (acos_upward_test_data): Likewise.
25896 (acosh_test_data): Likewise.
25897 (asin_test_data): Likewise.
25898 (asin_tonearest_test_data): Likewise.
25899 (asin_towardzero_test_data): Likewise.
25900 (asin_upward_test_data): Likewise.
25901 (asinh_test_data): Likewise.
25902 (atan_test_data): Likewise.
25903 (atanh_test_data): Likewise.
25904 (cbrt_test_data): Likewise.
25905 (cos_test_data): Likewise.
25906 (cos_tonearest_test_data): Likewise.
25907 (cos_towardzero_test_data): Likewise.
25908 (cos_downward_test_data): Likewise.
25909 (cos_upward_test_data): Likewise.
25910 (cosh_test_data): Likewise.
25911 (cosh_tonearest_test_data): Likewise.
25912 (cosh_towardzero_test_data): Likewise.
25913 (cosh_downward_test_data): Likewise.
25914 (cosh_upward_test_data): Likewise.
25915 * sysdeps/i386/fpu/libm-test-ulps: Update.
25916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25917
ffb536d0
JM
259182013-11-29 Joseph Myers <joseph@codesourcery.com>
25919
2a77a467
JM
25920 [BZ #6787]
25921 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
25922 * math/w_exp10f.c (__exp10f): Likewise.
25923 * math/w_exp10l.c (__exp10l): Likewise.
25924 * math/libm-test.inc (exp10_test_data): Add more tests and expect
25925 errno settings in existing tests.
25926
ea3bc4e8
JM
25927 [BZ #14032]
25928 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
25929 precision control set to double precision.
25930 * sysdeps/i386/fpu/w_sqrt.c: New file.
25931 * math/auto-libm-test-in: Add more tests.
25932 * math/auto-libm-test-out: Update.
25933
0712c9d8
JM
25934 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
25935 (sqrt_test_tonearest): New function.
25936 (sqrt_towardzero_test_data): New variable.
25937 (sqrt_test_towardzero): New function.
25938 (sqrt_downward_test_data): New variable.
25939 (sqrt_test_downward): New function.
25940 (sqrt_upward_test_data): New variable.
25941 (sqrt_test_upward): New function.
25942 (main): Call the new functions.
25943
ffb536d0
JM
25944 * math/gen-auto-libm-tests.c: New file.
25945 * math/auto-libm-test-in: Likewise.
25946 * math/auto-libm-test-out: New generated file.
25947 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
25948 variables.
25949 (%beautify): Add generated representations of zero.
25950 (top level): Set $auto_input and call parse_auto_input.
25951 (beautify): Remove trailing "f" from hex float constants.
25952 (parse_args): Handle XFAIL_TEST.
25953 (convert_condition): New function.
25954 (or_value): Likewise.
25955 (or_cond_value): Likewise.
25956 (generate_testfile): Handle AUTO_TESTS_* lines.
25957 (parse_auto_input): New function.
25958 * math/libm-test.inc (XFAIL_TEST): New macro.
25959 (ERRNO_UNCHANGED): Update value.
25960 (ERRNO_EDOM): Likewise.
25961 (ERRNO_ERANGE): Likewise.
25962 (IGNORE_RESULT): Likewise.
25963 (TEST_COND_flt_32): New macro.
25964 (TEST_COND_dbl_64): Likewise.
25965 (TEST_COND_ldbl_96_intel): Likewise.
25966 (TEST_COND_ldbl_96_m68k): Likewise.
25967 (TEST_COND_ldbl_128): Likewise.
25968 (TEST_COND_ldbl_128ibm): Likewise.
25969 (TEST_COND_long32): Likewise.
25970 (TEST_COND_long64): Likewise.
25971 (TEST_COND_before_rounding): Likewise.
25972 (TEST_COND_after_rounding): Likewise.
25973 (enable_test): Handle XFAIL_TEST flag.
25974 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
25975 with finite results.
25976 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
25977 auto-libm-test-out.
25978
acd98a8e
AK
259792013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25980 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25981
25982 [BZ #16214]
25983 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
25984 __tls_get_addr_internal instead of __tls_get_offset in order to
25985 avoid GOT pointer dependency. Make rtld export
25986 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
25987 __tls_get_addr since we are a __tls_get_offset platform.
25988 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
25989 GOT pointer being set up before.
25990 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
25991
3c1c46a6
JM
259922013-11-28 Joseph Myers <joseph@codesourcery.com>
25993
7475aef5
JM
25994 * manual/math.texi (Errors in Math Functions): Document accuracy
25995 goals.
25996
8bca7cd8
JM
25997 [BZ #15004]
25998 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
25999 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
26000 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26001 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26002 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26003 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26004 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26005 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26006 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26007 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26008 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26009 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26010 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26011 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26012 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26013 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26014
91a1f3fe
JM
26015 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
26016 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
26017 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
26018 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
26019 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
26020 Likewise.
26021 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
26022 Likewise.
26023 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
26024 Likewise.
26025 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
26026 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
26027 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
26028 atomic-feupdateenv and flt-rounds.
26029 * sysdeps/powerpc/nofpu/Versions (libc): Add
26030 __atomic_feholdexcept, __atomic_feclearexcept,
26031 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
26032 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
26033 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
26034 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
26035 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
26036 here.
26037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26038 Update.
26039
c5df7609
JM
26040 * manual/arith.texi (FP Exceptions): Document that exceptions may
26041 not be raised when matherr is used.
26042 (Math Error Reporting): Document overflow in directed rounding
26043 modes. Document that errno may not be set when finite values are
26044 returned on overflow. Document intent to set errno on underflow
26045 only for underflow to zero.
26046
3c1c46a6
JM
26047 [BZ #16271]
26048 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
26049 round-to-nearest then adjust result for other rounding modes.
26050 * include/fenv.h (fegetround): Use libm_hidden_proto.
26051 * math/fegetround.c (fegetround): Use libm_hidden_def.
26052 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26053 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26054 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26055 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26056 Likewise.
26057 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
26058 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26059 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26060 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
26061
5a4c6d53
SP
260622013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26063
26064 [BZ #16077]
26065 * nss/Versions (libnss_files): Add
26066 _nss_files_gethostbyname3_r.
26067 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
26068 New function.
26069 (HOST_DB_LOOKUP): Remove macro.
26070 (_nss_files_gethostbyname_r): Implement function without the
26071 HOST_DB_LOOKUP macro.
26072 (_nss_files_gethostbyname2_r): Likewise.
26073
897b98ba
OB
260742013-11-28 Ondřej Bílka <neleai@seznam.cz>
26075
26076 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
26077
6f476861
UB
260782013-11-26 Uros Bizjak <ubizjak@gmail.com>
26079
26080 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
26081 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
26082 warning.
26083
bd12ab55
AZ
260842013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26085
26086 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
26087 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
26088 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
26089 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26090 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
26091 __fe_nomask_env_priv and attribute_hidden.
26092 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
26093 (libc_feupdateenv_test_ppc): Likewise.
26094 (libc_feresetround_ppc): Likewise.
26095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26096 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
26097 compat_symbol macro.
26098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26099 (__fe_nomask_env): Likewise.
26100 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
26101
52bb6543
OB
261022013-11-26 Ondřej Bílka <neleai@seznam.cz>
26103
26104 * string/Makefile: Remove ifunc tests.
26105 * string/test-string.h: Define TEST_IFUNC.
26106 * string/test-bcopy-ifunc.c: Remove.
26107 * string/test-bzero-ifunc.c: Likewise.
26108 * string/test-memccpy-ifunc.c: Likewise.
26109 * string/test-memchr-ifunc.c: Likewise.
26110 * string/test-memcmp-ifunc.c: Likewise.
26111 * string/test-memcpy-ifunc.c: Likewise.
26112 * string/test-memmem-ifunc.c: Likewise.
26113 * string/test-memmove-ifunc.c: Likewise.
26114 * string/test-mempcpy-ifunc.c: Likewise.
26115 * string/test-memrchr-ifunc.c: Likewise.
26116 * string/test-memset-ifunc.c: Likewise.
26117 * string/test-rawmemchr-ifunc.c: Likewise.
26118 * string/test-stpcpy-ifunc.c: Likewise.
26119 * string/test-stpncpy-ifunc.c: Likewise.
26120 * string/test-strcasecmp-ifunc.c: Likewise.
26121 * string/test-strcasestr-ifunc.c: Likewise.
26122 * string/test-strcat-ifunc.c: Likewise.
26123 * string/test-strchr-ifunc.c: Likewise.
26124 * string/test-strchrnul-ifunc.c: Likewise.
26125 * string/test-strcmp-ifunc.c: Likewise.
26126 * string/test-strcpy-ifunc.c: Likewise.
26127 * string/test-strcspn-ifunc.c: Likewise.
26128 * string/test-strlen-ifunc.c: Likewise.
26129 * string/test-strncasecmp-ifunc.c: Likewise.
26130 * string/test-strncat-ifunc.c: Likewise.
26131 * string/test-strncmp-ifunc.c: Likewise.
26132 * string/test-strncpy-ifunc.c: Likewise.
26133 * string/test-strnlen-ifunc.c: Likewise.
26134 * string/test-strpbrk-ifunc.c: Likewise.
26135 * string/test-strrchr-ifunc.c: Likewise.
26136 * string/test-strspn-ifunc.c: Likewise.
26137 * string/test-strstr-ifunc.c: Likewise.
26138
ab260039 261392013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
26140
26141 * benchtests/Makefile: Remove ifunc tests.
26142 * benchtests/bench-string.h: Define TEST_IFUNC.
26143 * benchtests/bench-bcopy-ifunc.c: Remove.
26144 * benchtests/bench-bzero-ifunc.c: Likewise.
26145 * benchtests/bench-memccpy-ifunc.c: Likewise.
26146 * benchtests/bench-memchr-ifunc.c: Likewise.
26147 * benchtests/bench-memcmp-ifunc.c: Likewise.
26148 * benchtests/bench-memcpy-ifunc.c: Likewise.
26149 * benchtests/bench-memmem-ifunc.c: Likewise.
26150 * benchtests/bench-memmove-ifunc.c: Likewise.
26151 * benchtests/bench-mempcpy-ifunc.c: Likewise.
26152 * benchtests/bench-memrchr-ifunc.c: Likewise.
26153 * benchtests/bench-memset-ifunc.c: Likewise.
26154 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
26155 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
26156 * benchtests/bench-stpcpy-ifunc.c: Likewise.
26157 * benchtests/bench-stpncpy-ifunc.c: Likewise.
26158 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
26159 * benchtests/bench-strcasestr-ifunc.c: Likewise.
26160 * benchtests/bench-strcat-ifunc.c: Likewise.
26161 * benchtests/bench-strchr-ifunc.c: Likewise.
26162 * benchtests/bench-strchrnul-ifunc.c: Likewise.
26163 * benchtests/bench-strcmp-ifunc.c: Likewise.
26164 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
26165 * benchtests/bench-strcpy-ifunc.c: Likewise.
26166 * benchtests/bench-strcspn-ifunc.c: Likewise.
26167 * benchtests/bench-strlen-ifunc.c: Likewise.
26168 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
26169 * benchtests/bench-strncat-ifunc.c: Likewise.
26170 * benchtests/bench-strncmp-ifunc.c: Likewise.
26171 * benchtests/bench-strncpy-ifunc.c: Likewise.
26172 * benchtests/bench-strnlen-ifunc.c: Likewise.
26173 * benchtests/bench-strpbrk-ifunc.c: Likewise.
26174 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 26175 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
26176 * benchtests/bench-strspn-ifunc.c: Likewise.
26177 * benchtests/bench-strstr-ifunc.c: Likewise.
26178
261792013-11-26 Ondřej Bílka <neleai@seznam.cz>
26180
ab260039
OB
26181 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
26182
d1d9eaf4 261832013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 26184
d1d9eaf4
OB
26185 * resolv/netdb.h: Use __glibc_reserved instead __unused.
26186 * rt/aio.h: Likewise.
26187 * sysdeps/gnu/bits/utmp.h: Likewise.
26188 * sysdeps/gnu/bits/utmpx.h: Likewise.
26189 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26190 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
26191 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
26192 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
26193 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
26194 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
26195 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
26196 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
26197 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
26198 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
26199 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
26200 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
26201 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
26202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
26203 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26204 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
26205 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
26206 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
26207 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
26208 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
26209 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
26210 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
26211 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
26212 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26213 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
26214 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26215 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
26216 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
26217 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
26218 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
26219 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
26220 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
26221 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
26222 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
26223 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
26224 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
26225 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
26226 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
26227 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
26228 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
26229 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
26230 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26231
a7624ed9
CD
262322013-11-25 Carlos O'Donell <carlos@redhat.com>
26233
26234 [BZ #16245]
26235 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
26236 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
26237
63cfe52b
JM
262382013-11-25 Joseph Myers <joseph@codesourcery.com>
26239
26240 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
26241 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26242 Likewise.
26243
41e8926a
AZ
262442013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26245
26246 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
26247 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
26248 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
26249 (__fesetround): Remove define.
26250 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
26251 rounding and exceptions handling.
26252 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
26253 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
26254 (__fe_nomask_env): Likewise.
26255 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
26256 __fegetround instead of fegetround.
26257 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26258 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
26259
6851bd4d
RM
262602013-11-21 Roland McGrath <roland@hack.frob.com>
26261
070906ff
RM
26262 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
26263 it's there.
26264
6851bd4d
RM
26265 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
26266
84ae135d
MI
262672013-11-21 Meador Inge <meadori@codesourcery.com>
26268
26269 [BZ #11157]
26270 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
26271 (encrypt_r): Likewise.
26272 * malloc/obstack.h (obstack_free): Likewise.
26273 * posix/unistd.h (encrypt): Likewise.
26274
daf75146
GM
262752013-11-21 Guy Martin <gmsoft@tuxicoman.be>
26276
26277 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
26278 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
26279 DL_CALL_DT_FINI() that call the functions directly.
26280 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
26281 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
26282 * elf/dl-fini.c: Likewise.
26283
10ad46bc
OB
262842013-11-20 Ondřej Bílka <neleai@seznam.cz>
26285
26286 * malloc/hooks.c (memalign_check): Add alignment rounding.
26287 * malloc/malloc.c (_mid_memalign): New function.
26288 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
26289 Implement by calling _mid_memalign.
26290 * manual/probes.texi (Memory Allocation Probes): Remove
26291 memory_valloc_retry and memory_pvalloc_retry.
26292
f3fd2628
SP
262932013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26294
4712799f
SP
26295 * locale/programs/locarchive.c (open_archive): Add const
26296 qualifier to ARCHIVEFNAME and copy default fname to
26297 DEFAULT_FNAME.
26298
0417b20f
SP
26299 [BZ #15601]
26300 * libio/tst-widetext.input: Rename Oriya to Odia.
26301 * locale/iso-639.def: Likewise.
26302
f3fd2628
SP
26303 * manual/probes.texi (Mathematical Function Probes): Add
26304 documentation for sin, cos, asin and acos probes.
26305 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
26306 (__sin32): Add slowasin probe.
26307 (__cos32): Add slowacos probe.
26308 (__mpsin): Add slowsin probe.
26309 (__mpcos): Add slowcos probe.
26310
73c1ce4f
JM
263112013-11-19 Joseph Myers <joseph@codesourcery.com>
26312
26313 [BZ #15483]
26314 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
26315 thread-local __sim_exceptions_thread and global
26316 __sim_exceptions_global.
26317 (__sim_disabled_exceptions): Change to thread-local
26318 __sim_disabled_exceptions_thread and global
26319 __sim_disabled_exceptions_global.
26320 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26321 and global __sim_round_mode_global.
26322 (__simulate_exceptions): Use thread-local floating-point state and
26323 set global state from it as needed.
26324 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
26325 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
26326 __sim_round_mode_thread.
26327 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
26328 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
26329 and global __sim_exceptions_global.
26330 (__sim_disabled_exceptions): Change to thread-local
26331 __sim_disabled_exceptions_thread and global
26332 __sim_disabled_exceptions_global.
26333 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26334 and global __sim_round_mode_global.
26335 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
26336 (SIM_SET_GLOBAL): Likewise.
26337 * sysdeps/powerpc/soft-fp/sfp-machine.h
26338 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
26339 __sim_round_mode_thread.
26340 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
26341 __sim_disabled_exceptions_thread.
26342 (__sim_exceptions): Change to __sim_exceptions_thread.
26343 (__sim_disabled_exceptions): Change to
26344 __sim_disabled_exceptions_thread.
26345 (__sim_round_mode): Change to __sim_round_mode_thread.
26346 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
26347 thread-local floating-point state and set global state from it as
26348 needed.
26349 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
26350 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
26351 (__sim_disabled_exceptions): Remove extern declaration.
26352 (feenableexcept): Use thread-local floating-point state and set
26353 global state from it as needed.
26354 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
26355 extern declaration.
26356 (__sim_disabled_exceptions): Likewise.
26357 (__sim_round_mode): Likewise.
26358 (__fegetenv): Use thread-local floating-point state.
26359 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
26360 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26361 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
26362 floating-point state and set global state from it as needed.
26363 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
26364 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26365 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
26366 Likewise.
26367 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26368 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
26369 Likewise.
26370 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
26371 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
26372 Use __sim_round_mode_thread.
26373 * math/test-fenv-tls.c: New file.
26374 * math/Makefile (tests): Add test-fenv-tls.
26375 ($(objpfx)test-fenv-tls): Depend on
26376 $(common-objpfx)nptl/libpthread.so.
26377
b5449b12
AS
263782013-11-19 Andreas Schwab <schwab@suse.de>
26379
26380 * locale/programs/locale.c (show_info): Decode wordarray elements.
26381 * locale/categories.def (LC_MONETARY): Add element for
26382 _NL_MONETARY_CRNCYSTR.
26383 * locale/C-monetary.c (conversion_rate): New variable.
26384 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
26385 element.
26386
e186536b
CM
263872013-11-18 Chris Metcalf <cmetcalf@tilera.com>
26388
26389 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
26390 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
26391
5c349950
PP
263922013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
26393
26394 * elf/Makefile (tst-auxv): New test.
26395 * elf/tst-auxv.c: New
26396 * elf/rtld.c (dl_main): Adjust AT_EXECFN
26397
699df45b
JM
263982013-11-18 Joseph Myers <joseph@codesourcery.com>
26399
26400 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
26401 (hidden_proto): Caller changed.
26402 (hidden_tls_proto): New macro.
26403 (libc_hidden_tls_proto): Likewise.
26404 (rtld_hidden_tls_proto): Likewise.
26405 (libm_hidden_tls_proto): Likewise.
26406 (libresolv_hidden_tls_proto): Likewise.
26407 (librt_hidden_tls_proto): Likewise.
26408 (libdl_hidden_tls_proto): Likewise.
26409 (libnss_files_hidden_tls_proto): Likewise.
26410 (libnsl_hidden_tls_proto): Likewise.
26411 (libnss_nisplus_hidden_tls_proto): Likewise.
26412 (libutil_hidden_tls_proto): Likewise.
26413
b7589107
OB
264142013-11-18 Ondřej Bílka <neleai@seznam.cz>
26415
26416 [BZ #10253]
26417 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
26418 (decompose_rpath): Defer expansion to fillin_rpath.
26419 (_dl_init_paths): Pass linkmap to fillin_rpath.
26420
250c23bd
RS
264212013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26422
26423 * benchtests/Makefile: Add strsep.
26424 * benchtests/bench-strsep.c: New file: strsep benchtest.
26425 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
26426
a7931fcf
AS
264272013-11-18 Andreas Schwab <schwab@suse.de>
26428
26429 * locale/programs/locale.c (show_info) [case byte]: Check for
26430 '\377' instead of '\177'.
26431 * locale/C-monetary.c (not_available): Always use "\377".
26432 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
26433 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
26434 detect unavailable sign_posn locale elements.
26435 * locale/localeconv.c (__localeconv): For grouping and
26436 mon_grouping handle "\177" and "\377" like no grouping.
26437 (INT_ELEM): New macro. Use it to set all numeric members.
26438 * locale/programs/ld-monetary.c (monetary_read)
26439 <tok_mon_grouping>: Normalize single -1 to the empty string.
26440 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
26441 Likewise.
26442
728dab0e
OB
264432013-11-07 Ondřej Bílka <neleai@seznam.cz>
26444
26445 [BZ #16055]
26446 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
26447 when we match (nil).
26448 * stdio-common/tst-sscanf.c (struct test): Add testcase.
26449
66294491
JM
264502013-11-16 Joseph Myers <joseph@codesourcery.com>
26451
ce665817
JM
26452 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
26453 (NO_TEST_INLINE): Update value.
26454 (ERRNO_UNCHANGED): Likewise.
26455 (ERRNO_EDOM): Likewise.
26456 (ERRNO_ERANGE): Likewise.
26457 (IGNORE_RESULT): Likewise.
26458 (check_float_internal): Check signs of NaN results if
26459 TEST_NAN_SIGN used.
26460 (check_complex): Pass TEST_NAN_SIGN flag through to second
26461 check_float_internal call.
26462 (copysign_test_data): Add tests with quiet NaNs as second
26463 argument. Use TEST_NAN_SIGN.
26464 (fabs_test_data): Add test of negative quiet NaN argument. Use
26465 TEST_NAN_SIGN.
26466 (signbit_test_data): Add tests of quiet NaN argument.
26467 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
26468
ee1466a9
JM
26469 * math/gen-libm-test.pl (show_exceptions): Take extra argument
26470 $ignore_result.
26471 (parse_args): Handle function results specified as IGNORE.
26472 * math/libm-test.inc (IGNORE_RESULT): New macro.
26473 (check_float_internal): Do not check numerical result if flag
26474 IGNORE_RESULT set.
26475 (check_complex): Pass through IGNORE_RESULT to second
26476 check_float_internal call.
26477 (check_int): Do not check numerical result if flag IGNORE_RESULT
26478 set.
26479 (check_long): Likewise.
26480 (check_bool): Likewise.
26481 (check_longlong): Likewise.
26482 (lrint_test_data): Add tests of infinite and NaN arguments.
26483 (lrint_tonearest_test_data): Likewise.
26484 (lrint_towardzero_test_data): Likewise.
26485 (lrint_downward_test_data): Likewise.
26486 (lrint_upward_test_data): Likewise.
26487 (llrint_test_data): Likewise.
26488 (llrint_tonearest_test_data): Likewise.
26489 (llrint_towardzero_test_data): Likewise.
26490 (llrint_downward_test_data): Likewise.
26491 (llrint_upward_test_data): Likewise.
26492 (lround_test_data): Likewise.
26493 (llround_test_data): Likewise.
26494
14407b7e
JM
26495 * math/libm-test.inc (NO_TEST_INLINE): New macro.
26496 (ERRNO_UNCHANGED): Update value.
26497 (ERRNO_EDOM): Likewise.
26498 (ERRNO_ERANGE): Likewise.
26499 (NO_TEST_INLINE_FLOAT): New macro.
26500 (NO_TEST_INLINE_DOUBLE): Likewise.
26501 (enable_test): New function.
26502 (RUN_TEST_f_f): Check enable_test before running test.
26503 (RUN_TEST_2_f): Likewise.
26504 (RUN_TEST_fff_f): Likewise.
26505 (RUN_TEST_c_f): Likewise.
26506 (RUN_TEST_f_f1): Likewise.
26507 (RUN_TEST_fF_f1): Likewise.
26508 (RUN_TEST_fI_f1): Likewise.
26509 (RUN_TEST_ffI_f1): Likewise.
26510 (RUN_TEST_c_c): Likewise.
26511 (RUN_TEST_cc_c): Likewise.
26512 (RUN_TEST_f_i): Likewise.
26513 (RUN_TEST_f_i_tg): Likewise.
26514 (RUN_TEST_ff_i_tg): Likewise.
26515 (RUN_TEST_f_b): Likewise.
26516 (RUN_TEST_f_b_tg): Likewise.
26517 (RUN_TEST_f_l): Likewise.
26518 (RUN_TEST_f_L): Likewise.
26519 (RUN_TEST_fFF_11): Likewise.
26520 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
26521 conditionals.
26522 (cosh_test_data): Likewise.
26523 (exp_test_data): Likewise.
26524 (expm1_test_data): Likewise.
26525 (hypot_test_data): Likewise.
26526 (pow_test_data): Likewise.
26527 (sinh_test_data): Likewise.
26528 (tanh_test_data): Likewise.
26529 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
26530 flags argument.
26531
ca07f197
JM
26532 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
26533 tests with quiet NaN input and output.
26534 (acosh_test_data): Likewise.
26535 (asin_test_data): Likewise.
26536 (asinh_test_data): Likewise.
26537 (atan_test_data): Likewise.
26538 (atanh_test_data): Likewise.
26539 (atan2_test_data): Likewise.
26540 (cbrt_test_data): Likewise.
26541 (cos_test_data): Likewise.
26542 (cosh_test_data): Likewise.
26543 (erf_test_data): Likewise.
26544 (erfc_test_data): Likewise.
26545 (exp_test_data): Likewise.
26546 (exp10_test_data): Likewise.
26547 (exp2_test_data): Likewise.
26548 (expm1_test_data): Likewise.
26549 (hypot_test_data): Likewise.
26550 (j0_test_data): Likewise.
26551 (j1_test_data): Likewise.
26552 (jn_test_data): Likewise.
26553 (lgamma_test_data): Likewise.
26554 (log_test_data): Likewise.
26555 (log10_test_data): Likewise.
26556 (log1p_test_data): Likewise.
26557 (log2_test_data): Likewise.
26558 (pow_test_data): Likewise.
26559 (scalb_test_data): Likewise.
26560 (sin_test_data): Likewise.
26561 (sincos_test_data): Likewise.
26562 (sinh_test_data): Likewise.
26563 (tan_test_data): Likewise.
26564 (tanh_test_data): Likewise.
26565 (tgamma_test_data): Likewise.
26566 (y0_test_data): Likewise.
26567 (y1_test_data): Likewise.
26568 (yn_test_data): Likewise.
26569
66294491
JM
26570 [BZ #16167]
26571 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
26572 argument being NaN and avoid computations with second argument in
26573 that case.
26574 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26575 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
26576 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26577
1820b143
CL
265782013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
26579
26580 * locale/iso-639.def: Add Chitwani Tharu (the).
26581
714bd261
AS
265822013-11-14 Andreas Schwab <schwab@suse.de>
26583
26584 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
26585 word instead of empty string.
26586
7ab44563
AZ
265872013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26588
26589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26590 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
26591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26592 (__fe_nomask_env): Likewise.
26593
e8470ea2
SE
265942013-11-13 Steve Ellcey <sellcey@mips.com>
26595
26596 * benchtests/bench-timing.h: Include time.h.
26597
17c1d9f0
L
265982013-11-13 H.J. Lu <hongjiu.lu@intel.com>
26599
26600 [BZ #15997]
26601 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
26602 to 3.4.0 for x32.
26603 * sysdeps/unix/sysv/linux/configure: Regenerated.
26604
9310c284
JM
266052013-11-13 Joseph Myers <joseph@codesourcery.com>
26606
26607 [BZ #16151]
26608 * stdlib/strtod_l.c (round_and_return): Do not consider
26609 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
26610 exponent one less than half the least subnormal exponent.
26611 * stdlib/test-strtod-round-data: Add more tests.
26612 * stdlib/tst-strtod-round.c (tests): Regenerated.
26613
7a2ad8cf
AZ
266142013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26615
26616 [BZ #14143]
26617 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
26618 (__fe_mask_env): Likewise.
26619 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
26620 libm_hidden_proto and add function prototype.
26621 (__fe_mask_env): Add function prototype.
26622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26623 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
26624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26625 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
26626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26627 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
26628
50727aa7
MS
266292013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26630
b2f386c1 26631 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
26632 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
26633
a615be46
MS
266342013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26635
26636 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
26637 of htab_find_slot().
26638
7ddace62
DM
266392013-11-11 David S. Miller <davem@davemloft.net>
26640
26641 [BZ #16150]
26642 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
26643 symbol in the non-vis3 case in static builds.
26644 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
26645 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
26646 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
26647 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
26648
9182aa67
JK
266492013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
26650
26651 [BZ #387]
26652 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
26653 it is empty.
26654
450a2e2d
AZ
266552013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26656
b2f386c1
SP
26657 * benchtests/Makefile: Add bench-strtod.
26658 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 26659
8ec3f656
AS
266602013-11-11 Andreas Schwab <schwab@suse.de>
26661
26662 [BZ #16153]
26663 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
26664 terminating NUL in key length.
26665
76a9b998
AZ
266662013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26667
26668 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26669 Add artificial ODP entry for vDSO symbol for PPC64.
26670 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
26671 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
26672
e4368156
OB
266732013-11-07 Ondřej Bílka <neleai@seznam.cz>
26674
26675 [BZ #15374]
26676 * nss/getent.c (services_keys): Recognize services starting with digit.
26677
8d6bb57c
DM
266782013-11-06 David S. Miller <davem@davemloft.net>
26679
26680 [BZ #15985]
26681 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
26682 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
26683
e256c421
WN
266842013-11-06 Will Newton <will.newton@linaro.org>
26685
26686 * manual/memory.texi (Malloc Examples): Remove register
26687 keyword from examples.
26688
f6e12daa 266892013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 26690
f6e12daa 26691 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 26692
9d880655
AS
266932013-11-04 Joseph Myers <joseph@codesourcery.com>
26694
fd2f9486 26695 [BZ #6981]
9d880655
AS
26696 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
26697 depending on [__GCC_IEC_559 > 0].
26698 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
26699 depending on [__GCC_IEC_559_COMPLEX > 0].
26700
ae129d3c
CL
267012013-11-03 Chris Leonard <cjl@sugarlabs.org>
26702
26703 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
26704 to iso-639.def.
26705
4a15c2a4 267062013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
26707
26708 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
26709
8b35e35d
OB
267102013-11-01 Ondřej Bílka <neleai@seznam.cz>
26711
26712 [BZ #16112]
26713 * malloc/malloc (malloc_info): Do not handle first bin as
26714 special case.
26715
1d70fd6c
CL
267162013-11-01 Chris Leonard <cjl@sugarlabs.org>
26717
26718 * locale/iso-639.def: Add Central Nahuatl (nhn).
26719
8c5c2600
BH
267202013-11-01 Bruno Haible <bruno@clisp.org>
26721
26722 [BZ #7003]
26723 * manual/math.texi (BSD Random): Specify range upper bound as
26724 in POSIX.
26725
da5579c2
CL
267262013-10-31 Chris Leonard <cjl@sugarlabs.org>
26727
26728 * locale/iso-639.def: Add Meadow Mari (mhr).
26729
5d30d853
OB
267302013-10-31 Ondřej Bílka <neleai@seznam.cz>
26731
26732 [BZ #14752], [BZ #15763]
26733 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
26734 Validate name.
26735 * rt/tst_shm.c: Add test for escaping directory.
26736
a4966c61
AS
267372013-10-31 Andreas Schwab <schwab@suse.de>
26738
8a43e768 26739 [BZ #15917]
a4966c61
AS
26740 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
26741 followed by 'x' as part of digit sequence.
26742 * stdio-common/tst-sscanf.c (double_tests2): New tests.
26743
28d708c4
MAP
267442013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
26745
26746 [BZ #16037]
26747 * configure.ac: allow GNU Make 4.0 and greater.
26748 * configure: Regenerated.
26749
a56ee40b
WN
267502013-10-30 Will Newton <will.newton@linaro.org>
26751
26752 [BZ #16038]
26753 * malloc/hooks.c (memalign_check): Limit alignment to the
26754 maximum representable power of two.
26755 * malloc/malloc.c (__libc_memalign): Likewise.
26756 * malloc/tst-memalign.c (do_test): Add test for very
26757 large alignment values.
26758 * malloc/tst-posix_memalign.c (do_test): Likewise.
26759
c6e4925d
OB
267602013-10-30 Ondřej Bílka <neleai@seznam.cz>
26761
26762 [BZ #11087]
26763 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
26764 (munmap_chunk): Likewise.
26765 (mremap_chunk): Likewise.
26766
267672013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 26768
8a43e768 26769 [BZ #15799]
bbea82f7
OB
26770 * stdlib/div.c (div): Remove obsolete code.
26771 * stdlib/ldiv.c (ldiv): Likewise.
26772 * stdlib/lldiv.c (lldiv): Likewise.
26773
977f4b31
SP
267742013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26775
26776 [BZ #16071]
26777 * nss/nss_files/files-XXX.c (get_contents_ret): New
26778 enumerator.
26779 (get_contents): New function.
26780 (internal_getent): Use it. Expand size of LINEBUFLEN.
26781
cb8a6dbd
MF
267822013-10-30 Mike Frysinger <vapier@gentoo.org>
26783
26784 * configure.in: Moved to ...
26785 * configure.ac: ... here. Change reference to configure.in
26786 to configure.ac.
26787 * sysdeps/arm/preconfigure.ac: ... here.
26788 configure.in to configure.ac.
26789 * sysdeps/gnu/configure.in: Moved to ...
26790 * sysdeps/gnu/configure.ac: ... here.
26791 * sysdeps/i386/configure.in: Moved to ...
26792 * sysdeps/i386/configure.ac: ... here.
26793 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
26794 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
26795 * sysdeps/mach/configure.in: Moved to ...
26796 * sysdeps/mach/configure.ac: ... here.
26797 * sysdeps/mach/hurd/configure.in: Moved to ...
26798 * sysdeps/mach/hurd/configure.ac: ... here.
26799 * sysdeps/powerpc/configure.in: Moved to ...
26800 * sysdeps/powerpc/configure.ac: ... here.
26801 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
26802 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
26803 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
26804 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
26805 * sysdeps/s390/s390-32/configure.in: Moved to ...
26806 * sysdeps/s390/s390-32/configure.ac: ... here.
26807 * sysdeps/s390/s390-64/configure.in: Moved to ...
26808 * sysdeps/s390/s390-64/configure.ac: ... here.
26809 * sysdeps/sh/configure.in: Moved to ...
26810 * sysdeps/sh/configure.ac: ... here.
26811 * sysdeps/sparc/configure.in: Moved to ...
26812 * sysdeps/sparc/configure.ac: ... here.
26813 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
26814 * sysdeps/unix/sysv/linux/configure.ac: ... here.
26815 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
26816 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
26817 * sysdeps/x86_64/configure.in: Moved to ...
26818 * sysdeps/x86_64/configure.ac: ... here.
26819 * sysdeps/x86_64/preconfigure.in: Moved to ...
26820 * sysdeps/x86_64/preconfigure.ac: ... here.
26821 * aclocal.m4: Change reference to configure.in to configure.ac.
26822 * config.h.in: Likewise.
26823 * manual/install.texi: Likewise.
26824 * manual/maint.texi: Likewise.
26825 * Makefile: Likewise.
26826 * malloc/Makefile: Likewise.
26827 * nscd/Makefile: Likewise.
26828 * Makeconfig: Change reference to configure.in and
26829 preconfigure.in to configure.ac and preconfigure.ac
26830 respectively.
26831 * INSTALL: Regenerated.
26832 * configure: Likewise.
26833 * sysdeps/gnu/configure: Likewise.
26834 * sysdeps/i386/configure: Likewise.
26835 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
26836 * sysdeps/mach/configure: Likewise.
26837 * sysdeps/mach/hurd/configure: Likewise.
26838 * sysdeps/powerpc/configure: Likewise.
26839 * sysdeps/powerpc/powerpc32/configure: Likewise.
26840 * sysdeps/powerpc/powerpc64/configure: Likewise.
26841 * sysdeps/s390/s390-32/configure: Likewise.
26842 * sysdeps/s390/s390-64/configure: Likewise.
26843 * sysdeps/sh/configure: Likewise.
26844 * sysdeps/sparc/configure: Likewise.
26845 * sysdeps/unix/sysv/linux/configure: Likewise.
26846 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
26847 * sysdeps/x86_64/configure: Likewise.
26848 * sysdeps/x86_64/preconfigure: Likewise.
26849
36a4953a
AS
268502013-10-29 Andreas Schwab <schwab@suse.de>
26851
26852 * stdio-common/Makefile (tst-swscanf-ENV): Define.
26853
c79a1204
SP
268542013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26855
dfa1b402
SP
26856 * benchtests/pow-inputs: Add new inputs.
26857
54f73d9c
SP
26858 * benchtests/exp-inputs: Add new inputs.
26859
c79a1204
SP
26860 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
26861 conditional check for return value.
26862 (__cos32): Likewise.
26863
67beb545 268642013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
26865
26866 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
26867 to provide a boost for large inputs with word alignment.
26868 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
26869 implementation based on optimized PPC64 strcpy.
26870 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
26871 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
26872 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
26873 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
26874
151659f6
OB
268752013-10-25 Ondřej Bílka <neleai@seznam.cz>
26876
482a077e 26877 [BZ #2801]
151659f6
OB
26878 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
26879
10b0f26b
OB
268802013-10-25 Ondřej Bílka <neleai@seznam.cz>
26881
26882 [BZ #14876]
26883 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
26884 * time/tst-strptime.c (day_tests): Add testcase.
26885
ca42d35e
OB
268862013-10-25 Ondřej Bílka <neleai@seznam.cz>
26887
482a077e 26888 [BZ #14029]
ca42d35e
OB
26889 * manual/pattern.texi: Acknowledge that fnmatch can fail.
26890
52e6d801
FB
268912013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
26892
26893 [BZ #16074]
26894 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
26895 MAP_FAILED on error.
26896
7cbcdb36
SP
268972013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26898
26899 [BZ #16072]
26900 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
26901 heap for large requests.
26902
894f3f10
AM
269032013-10-25 Aurelien Jarno <aurelien@aurel32.net>
26904
26905 [BZ #9954]
26906 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
26907 result if the result has no associated interface.
26908 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
26909 interface for all 127.X.Y.Z addresses.
26910
b85545a6
CL
269112013-10-24 Chris Leonard <cjl@sugarlabs.org>
26912
26913 * locale/iso-639.def: Add Ligurian (lij)
26914
d1f23d46
OB
269152013-10-21 Ondřej Bílka <neleai@seznam.cz>
26916
26917 [BZ #15825]
26918 * sunrpc/rpc_main.c: Document rpcgen -5.
26919
4db5b08f
MS
269202013-10-19 Michael Stahl <mstahl@redhat.com>
26921
26922 * elf/rtld.c (do_preload): Print the reason why preloading failed.
26923
a471e96a
OB
269242013-10-19 Ondřej Bílka <neleai@seznam.cz>
26925
d1f23d46 26926 [BZ #10278]
a471e96a
OB
26927 * posix/glob.c: Match only directories when trailing slash is present.
26928 * posix/tst-gnuglob.c (my_opendir): Do not open files.
26929 (main): Add testcase.
26930
45c30c61
OB
269312013-10-19 Ondřej Bílka <neleai@seznam.cz>
26932
26933 [BZ #15670]
26934 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
26935
484c12fb
CD
269362013-10-18 Carlos O'Donell <carlos@redhat.com>
26937
3d7dc513
CD
26938 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
26939 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
26940 AUTH_DES and cindex for FIPS 140-2.
26941 (DES Encryption): Add cindex FIPS 46-3.
26942
484c12fb
CD
26943 * locale/locarchive.h (struct locarhandle): Add fname.
26944 * locale/programs/localedef.c (main): Pass ARGV[remaining]
26945 if an optional argument was specified to --list-archive,
26946 otherwise NULL.
26947 * locale/programs/locarchive.c (show_archive_content): Take new
26948 argument fname and pass it via ah.fname to open_archive.
26949 * locale/programs/localedef.h: Update decl.
26950 (open_archive): If AH->fname is non-null, open that file
26951 rather than the default file name, and don't ignore ENOENT.
26952 (create_archive): Set AH.fname to NULL.
26953 (delete_locales_from_archive): Likewise.
26954 (add_locales_to_archive): Likewise.
26955 * locale/programs/locfile.c (write_all_categories): Likewise.
26956
3c8325fb
JM
269572013-10-18 Joseph Myers <joseph@codesourcery.com>
26958 Aldy Hernandez <aldyh@redhat.com>
26959
26960 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
26961 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
26962 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
26963 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
26964 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
26965 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
26966 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
26967 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
26968 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
26969 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
26970 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
26971 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
26972 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
26973 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
26974 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
26975 Likewise.
26976 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
26977 Likewise.
26978 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
26979 Likewise.
26980 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
26981 Likewise.
26982 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
26983 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
26984 Likewise.
26985 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
26986 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
26987 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
26988 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
26989 Likewise.
26990 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
26991 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
26992 * sysdeps/powerpc/preconfigure: Likewise.
26993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
26994 Likewise.
26995 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
26996 Replace contents of file by #include of <fenv_libc.h>.
26997 * sysdeps/powerpc/soft-fp/sfp-machine.h
26998 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
26999 and <sys/prctl.h>.
27000 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
27001 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
27002 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
27003 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
27004 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
27005 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
27006 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
27007 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
27008 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
27009 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
27010 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
27011 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
27012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27013 Allow copysignl PLT reference to be missing.
27014
5abe0682
RS
270152013-10-18 Richard Sandiford <richard@codesourcery.com>
27016 Joseph Myers <joseph@codesourcery.com
27017
27018 [BZ #15948]
27019 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
27020 single character.
27021 (add_to_tablewc): Assert sequence of wide characters is nonempty.
27022
c7738d08
SP
270232013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27024
27025 * elf/tst-tls-dlinfo.c: Don't include tls.h.
27026 * elf/tst-tls1.c: Likewise.
27027 * elf/tst-tls10.h: Likewise.
27028 * elf/tst-tls14.c: Likewise.
27029 * elf/tst-tls2.c: Likewise.
27030 * elf/tst-tls3.c: Likewise.
27031 * elf/tst-tls4.c: Likewise.
27032 * elf/tst-tls5.c: Likewise.
27033 * elf/tst-tls6.c: Likewise.
27034 * elf/tst-tls7.c: Likewise.
27035 * elf/tst-tls8.c: Likewise.
27036 * elf/tst-tls9.c: Likewise.
27037 * elf/tst-tlsmod1.c: Likewise.
27038 * elf/tst-tlsmod13.c: Likewise.
27039 * elf/tst-tlsmod13a.c: Likewise.
27040 * elf/tst-tlsmod14a.c: Likewise.
27041 * elf/tst-tlsmod16a.c: Likewise.
27042 * elf/tst-tlsmod16b.c: Likewise.
27043 * elf/tst-tlsmod2.c: Likewise.
27044 * elf/tst-tlsmod3.c: Likewise.
27045 * elf/tst-tlsmod4.c: Likewise.
27046 * elf/tst-tlsmod5.c: Likewise.
27047 * elf/tst-tlsmod6.c: Likewise.
27048
0bfcf2c7
OB
270492013-10-18 Ondřej Bílka <neleai@seznam.cz>
27050
27051 [BZ #12486]
27052 * malloc/malloc.c: remove checks for statistics.
27053
264aad1e
OB
270542013-10-17 Ondřej Bílka <neleai@seznam.cz>
27055
27056 [BZ #15277]
27057 * inet/inet_net.c (inet_network): Detect additional invalid strings.
27058 * inet/tst-network.c: Add testcase.
27059
b957ced8
AS
270602013-10-17 Andreas Schwab <schwab@suse.de>
27061
27062 [BZ #15218]
27063 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
27064 to determine canonical name.
27065
c5d5d574
OB
270662013-10-17 Ondřej Bílka <neleai@seznam.cz>
27067
27068 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
27069 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
27070 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27071 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27072 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27073 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27074 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27075 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27076 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27077 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27078 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27079 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27080 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27081 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27082 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27083 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27084 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27085 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27086 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27087 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27088 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27089 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27090 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27091 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
27092 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
27093 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27094 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27095 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
27096 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27097 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
27098 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27099 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27100 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27101 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27102 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27103 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27104 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27105 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27106 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27107 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27108 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27109 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27110 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27111 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27112 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27113 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27114 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27115 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27116 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27117 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27118 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27119 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27120 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27121 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27122 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27123 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27124 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27125 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27126
e5c2c2d0
JM
271272013-10-17 Joseph Myers <joseph@codesourcery.com>
27128
27129 [BZ #16041]
27130 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
27131 make result into a quiet NaN.
27132
51ca9e29
JM
271332013-10-16 Joseph Myers <joseph@codesourcery.com>
27134
27135 * soft-fp/adddf3.c: Fix horizontal whitespace.
27136 * soft-fp/addsf3.c: Likewise.
27137 * soft-fp/addtf3.c: Likewise.
27138 * soft-fp/divdf3.c: Likewise.
27139 * soft-fp/divsf3.c: Likewise.
27140 * soft-fp/divtf3.c: Likewise.
27141 * soft-fp/double.h: Likewise.
27142 * soft-fp/eqdf2.c: Likewise.
27143 * soft-fp/eqsf2.c: Likewise.
27144 * soft-fp/eqtf2.c: Likewise.
27145 * soft-fp/extenddftf2.c: Likewise.
27146 * soft-fp/extended.h: Likewise.
27147 * soft-fp/extendsfdf2.c: Likewise.
27148 * soft-fp/extendsftf2.c: Likewise.
27149 * soft-fp/extendxftf2.c: Likewise.
27150 * soft-fp/fixdfdi.c: Likewise.
27151 * soft-fp/fixdfsi.c: Likewise.
27152 * soft-fp/fixdfti.c: Likewise.
27153 * soft-fp/fixsfdi.c: Likewise.
27154 * soft-fp/fixsfsi.c: Likewise.
27155 * soft-fp/fixsfti.c: Likewise.
27156 * soft-fp/fixtfdi.c: Likewise.
27157 * soft-fp/fixtfsi.c: Likewise.
27158 * soft-fp/fixtfti.c: Likewise.
27159 * soft-fp/fixunsdfdi.c: Likewise.
27160 * soft-fp/fixunsdfsi.c: Likewise.
27161 * soft-fp/fixunsdfti.c: Likewise.
27162 * soft-fp/fixunssfdi.c: Likewise.
27163 * soft-fp/fixunssfsi.c: Likewise.
27164 * soft-fp/fixunssfti.c: Likewise.
27165 * soft-fp/fixunstfdi.c: Likewise.
27166 * soft-fp/fixunstfsi.c: Likewise.
27167 * soft-fp/fixunstfti.c: Likewise.
27168 * soft-fp/floatdidf.c: Likewise.
27169 * soft-fp/floatdisf.c: Likewise.
27170 * soft-fp/floatditf.c: Likewise.
27171 * soft-fp/floatsidf.c: Likewise.
27172 * soft-fp/floatsisf.c: Likewise.
27173 * soft-fp/floatsitf.c: Likewise.
27174 * soft-fp/floattidf.c: Likewise.
27175 * soft-fp/floattisf.c: Likewise.
27176 * soft-fp/floattitf.c: Likewise.
27177 * soft-fp/floatundidf.c: Likewise.
27178 * soft-fp/floatundisf.c: Likewise.
27179 * soft-fp/floatunditf.c: Likewise.
27180 * soft-fp/floatunsidf.c: Likewise.
27181 * soft-fp/floatunsisf.c: Likewise.
27182 * soft-fp/floatunsitf.c: Likewise.
27183 * soft-fp/floatuntidf.c: Likewise.
27184 * soft-fp/floatuntisf.c: Likewise.
27185 * soft-fp/floatuntitf.c: Likewise.
27186 * soft-fp/fmadf4.c: Likewise.
27187 * soft-fp/fmasf4.c: Likewise.
27188 * soft-fp/fmatf4.c: Likewise.
27189 * soft-fp/gedf2.c: Likewise.
27190 * soft-fp/gesf2.c: Likewise.
27191 * soft-fp/getf2.c: Likewise.
27192 * soft-fp/ledf2.c: Likewise.
27193 * soft-fp/lesf2.c: Likewise.
27194 * soft-fp/letf2.c: Likewise.
27195 * soft-fp/muldf3.c: Likewise.
27196 * soft-fp/mulsf3.c: Likewise.
27197 * soft-fp/multf3.c: Likewise.
27198 * soft-fp/negdf2.c: Likewise.
27199 * soft-fp/negsf2.c: Likewise.
27200 * soft-fp/negtf2.c: Likewise.
27201 * soft-fp/op-1.h: Likewise.
27202 * soft-fp/op-2.h: Likewise.
27203 * soft-fp/op-4.h: Likewise.
27204 * soft-fp/op-8.h: Likewise.
27205 * soft-fp/op-common.h: Likewise.
27206 * soft-fp/quad.h: Likewise.
27207 * soft-fp/single.h: Likewise.
27208 * soft-fp/soft-fp.h: Likewise.
27209 * soft-fp/sqrtdf2.c: Likewise.
27210 * soft-fp/sqrtsf2.c: Likewise.
27211 * soft-fp/sqrttf2.c: Likewise.
27212 * soft-fp/subdf3.c: Likewise.
27213 * soft-fp/subsf3.c: Likewise.
27214 * soft-fp/subtf3.c: Likewise.
27215 * soft-fp/truncdfsf2.c: Likewise.
27216 * soft-fp/trunctfdf2.c: Likewise.
27217 * soft-fp/trunctfsf2.c: Likewise.
27218 * soft-fp/trunctfxf2.c: Likewise.
27219 * soft-fp/unorddf2.c: Likewise.
27220 * soft-fp/unordsf2.c: Likewise.
27221 * soft-fp/unordtf2.c: Likewise.
27222
9ebb0332
JM
272232013-10-15 Joseph Myers <joseph@codesourcery.com>
27224
27225 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
27226 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
27227
4b1a6d8b
OB
272282013-10-15 Ondřej Bílka <neleai@seznam.cz>
27229
27230 * elf/dl-libc.c: Clear initfini list after freeing.
27231
1e145589
JM
272322013-10-14 Joseph Myers <joseph@codesourcery.com>
27233
27234 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
27235 * soft-fp/addsf3.c: Likewise.
27236 * soft-fp/addtf3.c: Likewise.
27237 * soft-fp/divdf3.c: Likewise.
27238 * soft-fp/divsf3.c: Likewise.
27239 * soft-fp/divtf3.c: Likewise.
27240 * soft-fp/double.h: Likewise.
27241 * soft-fp/eqdf2.c: Likewise.
27242 * soft-fp/eqsf2.c: Likewise.
27243 * soft-fp/eqtf2.c: Likewise.
27244 * soft-fp/extenddftf2.c: Likewise.
27245 * soft-fp/extended.h: Likewise.
27246 * soft-fp/extendsfdf2.c: Likewise.
27247 * soft-fp/extendsftf2.c: Likewise.
27248 * soft-fp/extendxftf2.c: Likewise.
27249 * soft-fp/fixdfdi.c: Likewise.
27250 * soft-fp/fixdfsi.c: Likewise.
27251 * soft-fp/fixdfti.c: Likewise.
27252 * soft-fp/fixsfdi.c: Likewise.
27253 * soft-fp/fixsfsi.c: Likewise.
27254 * soft-fp/fixsfti.c: Likewise.
27255 * soft-fp/fixtfdi.c: Likewise.
27256 * soft-fp/fixtfsi.c: Likewise.
27257 * soft-fp/fixtfti.c: Likewise.
27258 * soft-fp/fixunsdfdi.c: Likewise.
27259 * soft-fp/fixunsdfsi.c: Likewise.
27260 * soft-fp/fixunsdfti.c: Likewise.
27261 * soft-fp/fixunssfdi.c: Likewise.
27262 * soft-fp/fixunssfsi.c: Likewise.
27263 * soft-fp/fixunssfti.c: Likewise.
27264 * soft-fp/fixunstfdi.c: Likewise.
27265 * soft-fp/fixunstfsi.c: Likewise.
27266 * soft-fp/fixunstfti.c: Likewise.
27267 * soft-fp/floatdidf.c: Likewise.
27268 * soft-fp/floatdisf.c: Likewise.
27269 * soft-fp/floatditf.c: Likewise.
27270 * soft-fp/floatsidf.c: Likewise.
27271 * soft-fp/floatsisf.c: Likewise.
27272 * soft-fp/floatsitf.c: Likewise.
27273 * soft-fp/floattidf.c: Likewise.
27274 * soft-fp/floattisf.c: Likewise.
27275 * soft-fp/floattitf.c: Likewise.
27276 * soft-fp/floatundidf.c: Likewise.
27277 * soft-fp/floatundisf.c: Likewise.
27278 * soft-fp/floatunsidf.c: Likewise.
27279 * soft-fp/floatunsisf.c: Likewise.
27280 * soft-fp/floatuntidf.c: Likewise.
27281 * soft-fp/floatuntisf.c: Likewise.
27282 * soft-fp/floatuntitf.c: Likewise.
27283 * soft-fp/fmadf4.c: Likewise.
27284 * soft-fp/fmasf4.c: Likewise.
27285 * soft-fp/fmatf4.c: Likewise.
27286 * soft-fp/gedf2.c: Likewise.
27287 * soft-fp/gesf2.c: Likewise.
27288 * soft-fp/getf2.c: Likewise.
27289 * soft-fp/ledf2.c: Likewise.
27290 * soft-fp/lesf2.c: Likewise.
27291 * soft-fp/letf2.c: Likewise.
27292 * soft-fp/muldf3.c: Likewise.
27293 * soft-fp/mulsf3.c: Likewise.
27294 * soft-fp/multf3.c: Likewise.
27295 * soft-fp/negdf2.c: Likewise.
27296 * soft-fp/negsf2.c: Likewise.
27297 * soft-fp/negtf2.c: Likewise.
27298 * soft-fp/op-1.h: Likewise.
27299 * soft-fp/op-2.h: Likewise.
27300 * soft-fp/op-4.h: Likewise.
27301 * soft-fp/op-8.h: Likewise.
27302 * soft-fp/op-common.h: Likewise.
27303 * soft-fp/quad.h: Likewise.
27304 * soft-fp/single.h: Likewise.
27305 * soft-fp/soft-fp.h: Likewise.
27306 * soft-fp/sqrtdf2.c: Likewise.
27307 * soft-fp/sqrtsf2.c: Likewise.
27308 * soft-fp/sqrttf2.c: Likewise.
27309 * soft-fp/subdf3.c: Likewise.
27310 * soft-fp/subsf3.c: Likewise.
27311 * soft-fp/subtf3.c: Likewise.
27312 * soft-fp/truncdfsf2.c: Likewise.
27313 * soft-fp/trunctfdf2.c: Likewise.
27314 * soft-fp/trunctfsf2.c: Likewise.
27315 * soft-fp/trunctfxf2.c: Likewise.
27316 * soft-fp/unorddf2.c: Likewise.
27317 * soft-fp/unordsf2.c: Likewise.
27318 * soft-fp/unordtf2.c: Likewise.
27319
17c48a60
OB
273202013-10-14 Ondřej Bílka <neleai@seznam.cz>
27321
27322 [BZ #15672]
27323 * misc/error.c (error_tail): Fix possible buffer overflow.
27324
cabba934
OB
273252013-10-14 Aurelien Jarno <aurelien@aurel32.net>
27326
27327 [BZ #13028]
27328 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
27329 address.
27330
94bf958a
PM
273312013-10-14 P. J. McDermott <pj@pehjota.net>
27332
27333 [BZ #832]
27334 * elf/ldd.bash.in (try_trace): New function. Delete previous code
27335 testing pipefail option.
27336
71b4dea7
JM
273372013-10-12 Joseph Myers <joseph@codesourcery.com>
27338
27339 * soft-fp/double.h: Indent preprocessor directives inside #if.
27340 * soft-fp/extended.h: Likewise.
27341 * soft-fp/op-2.h: Likewise.
27342 * soft-fp/op-4.h: Likewise.
27343 * soft-fp/op-common.h: Likewise.
27344 * soft-fp/quad.h: Likewise.
27345 * soft-fp/single.h: Likewise.
27346 * soft-fp/soft-fp.h: Likewise.
27347
55602758
YC
273482013-10-12 Yuri Chornoivan <yurchor@ukr.net>
27349
27350 * iconv/iconv_prog.c: Fix typos.
27351 * stdio-common/psiginfo-data.h: Likewise.
27352
9cd83302
RT
273532013-10-12 Reuben Thomas <rrt@sc3d.org>
27354
27355 [BZ #15764]
27356 * locale/setlocale.c: Fix typo.
27357
99fd9f47
JM
273582013-10-12 Joseph Myers <joseph@codesourcery.com>
27359
b7ea74f0
JM
27360 [BZ #16036]
27361 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
27362 signaling NaN arguments.
27363 * soft-fp/unordsf2.c (__unordsf2): Likewise.
27364 * soft-fp/unordtf2.c (__unordtf2): Likewise.
27365
8a509447
JM
27366 [BZ #14910]
27367 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
27368 unordered operands.
27369 * soft-fp/gesf2.c (__gesf2): Likewise.
27370 * soft-fp/getf2.c (__getf2): Likewise.
27371 * soft-fp/ledf2.c (__ledf2): Likewise.
27372 * soft-fp/lesf2.c (__lesf2): Likewise.
27373 * soft-fp/letf2.c (__letf2): Likewise.
27374
98998e9f
JM
27375 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
27376 * soft-fp/eqsf2.c (__eqsf2): Likewise.
27377 * soft-fp/eqtf2.c (__eqtf2): Likewise.
27378 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
27379 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
27380 * soft-fp/fixdfti.c (__fixdfti): Likewise.
27381 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
27382 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
27383 * soft-fp/fixsfti.c (__fixsfti): Likewise.
27384 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
27385 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
27386 * soft-fp/fixtfti.c (__fixtfti): Likewise.
27387 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
27388 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
27389 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
27390 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
27391 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
27392 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
27393 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
27394 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
27395 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
27396 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
27397 * soft-fp/floatdisf.c (__floatdisf): Likewise.
27398 * soft-fp/floatsisf.c (__floatsisf): Likewise.
27399 * soft-fp/floattidf.c (__floattidf): Likewise.
27400 * soft-fp/floattisf.c (__floattisf): Likewise.
27401 * soft-fp/floattitf.c (__floattitf): Likewise.
27402 * soft-fp/floatundidf.c (__floatundidf): Likewise.
27403 * soft-fp/floatundisf.c (__floatundisf): Likewise.
27404 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
27405 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
27406 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
27407 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
27408 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
27409 * soft-fp/gesf2.c (__gesf2): Likewise.
27410 * soft-fp/getf2.c (__getf2): Likewise.
27411 * soft-fp/ledf2.c (__ledf2): Likewise.
27412 * soft-fp/lesf2.c (__lesf2): Likewise.
27413 * soft-fp/letf2.c (__letf2): Likewise.
27414
8edc4a11
JM
27415 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
27416 Undefine and redefine.
27417 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
27418 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
27419 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
27420 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
27421 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27422 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
27423 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27424 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
27425 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27426 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
27427 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27428 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
27429 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27430 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
27431 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27432
8399acaf
JM
27433 [BZ #16032]
27434 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
27435 without decrementing exponent if mantissa >= that for the
27436 denominator, not >.
27437 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
27438 denominator, not >. Decrement exponent in < case instead of
27439 incrementing in >= case.
27440 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
27441 without decrementing exponent if mantissa >= that for the
27442 denominator, not >.
27443
99fd9f47
JM
27444 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
27445 computing saturated result for unsigned overflow.
27446
10e1cf6b
SP
274472013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27448 Jeff Law <law@redhat.com>
27449
27450 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
27451 (atan2Mp): Add systemtap probe marker.
27452 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
27453 (__ieee754_log): Add systemtap probe marker.
27454 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
27455 (atanMp): Add systemtap probe marker.
27456 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
27457 (tanMp): Add systemtap probe marker.
27458 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
27459 (__slowexp): Add systemtap probe marker.
27460 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
27461 (__slowpow): Add systemtap probe marker.
27462 * manual/probes.texi: Document probes.
27463
3d110c7c
EB
274642013-10-11 Eric Biggers <ebiggers3@gmail.com>
27465
27466 [BZ #15362]
27467 * libio/fileops.c (_IO_new_file_write): Return count of bytes
27468 written.
27469 (_IO_new_file_xsputn): Don't return EOF if nothing has been
27470 written.
27471 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
27472 written to buffer but not flushed.
27473 * libio/iofwrite_u.c: Likewise.
27474 * libio/iopadn.c: Return bytes returned even if EOF was
27475 encountered.
27476 * libio/iowpadn.c: Likewise.
27477 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
27478 if _IO_padn does not write the whole buffer.
27479 [!COMPILE_WPRINTF] (PAD): Likewise.
27480
75b4202a
DM
274812013-10-10 David S. Miller <davem@davemloft.net>
27482
27483 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
27484 directory block.
27485
6c6352e6
JM
274862013-10-10 Joseph Myers <joseph@codesourcery.com>
27487
33b853c3
JM
27488 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
27489 instead of FSF address.
27490 * soft-fp/fixdfti.c: Likewise.
27491 * soft-fp/fixsfti.c: Likewise.
27492 * soft-fp/fixtfti.c: Likewise.
27493 * soft-fp/fixunsdfti.c: Likewise.
27494 * soft-fp/fixunssfti.c: Likewise.
27495 * soft-fp/fixunstfti.c: Likewise.
27496 * soft-fp/floattidf.c: Likewise.
27497 * soft-fp/floattisf.c: Likewise.
27498 * soft-fp/floattitf.c: Likewise.
27499 * soft-fp/floatuntidf.c: Likewise.
27500 * soft-fp/floatuntisf.c: Likewise.
27501 * soft-fp/floatuntitf.c: Likewise.
27502 * soft-fp/trunctfxf2.c: Likewise.
27503
6c6352e6
JM
27504 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
27505 * soft-fp/fixdfti.c: Likewise.
27506 * soft-fp/fixsfti.c: Likewise.
27507 * soft-fp/fixtfti.c: Likewise.
27508 * soft-fp/fixunsdfti.c: Likewise.
27509 * soft-fp/fixunssfti.c: Likewise.
27510 * soft-fp/fixunstfti.c: Likewise.
27511 * soft-fp/floattidf.c: Likewise.
27512 * soft-fp/floattisf.c: Likewise.
27513 * soft-fp/floattitf.c: Likewise.
27514 * soft-fp/floatuntidf.c: Likewise.
27515 * soft-fp/floatuntisf.c: Likewise.
27516 * soft-fp/floatuntitf.c: Likewise.
27517 * soft-fp/trunctfxf2.c: Likewise.
27518
3bf78b71
DM
275192013-10-10 David S. Miller <davem@davemloft.net>
27520
27521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27522
6f10289e
JM
275232013-10-10 Joseph Myers <joseph@codsourcery.com>
27524
bd878fc0
JM
27525 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27526 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
27527 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
27528 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
27529 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
27530 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
27531 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
27532
6f10289e
JM
27533 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
27534 for NaNs before doing comparisons on argument.
27535 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
27536 Likewise.
27537
321e2684
WN
275382013-10-10 Will Newton <will.newton@linaro.org>
27539
27540 * malloc/hooks.c (memalign_check): Ensure the value of bytes
27541 passed to _int_memalign does not overflow.
27542
40fefba1
TR
275432013-10-10 Torvald Riegel <triegel@redhat.com>
27544
27545 * scripts/bench.pl: Add include-sources directive.
27546 * benchtests/README: Update documentation.
27547
2ae21ed2
JM
275482013-10-10 Joseph Myers <joseph@codesourcery.com>
27549
dcc2dd3f
JM
27550 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
27551 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
27552 instead of FP_INIT_ROUNDMODE.
27553 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
27554 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
27555
2ae21ed2
JM
27556 [BZ #16034]
27557 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
27558 copy class of input value.
27559 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
27560 not handle exceptions.
27561 * soft-fp/negsf2.c (__negsf2): Likewise.
27562 * soft-fp/negtf2.c (__negtf2): Likewise.
27563 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
27564
cb8f9562
JM
275652013-10-09 Joseph Myers <joseph@codesourcery.com>
27566
27567 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
27568 semicolon. From Linux kernel.
27569
5b60c59d
AB
275702013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
27571
27572 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
27573
b86835ca
YC
275742013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
27575
27576 [BZ #156]
27577 * manual/socket.texi: Added statement about buffer
27578 for gethostbyname2_r.
27579
e7044ea7
OB
275802013-10-08 Ondřej Bílka <neleai@seznam.cz>
27581
27582 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
27583 Use .p2align directive instead, throughout.
27584 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27585 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27586 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
27587 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27588 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27589 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
27590 * sysdeps/x86_64/strchr.S: Likewise.
27591 * sysdeps/x86_64/strrchr.S: Likewise.
27592
09544cbc
SP
275932013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27594
88576635
SP
27595 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
27596
e7b2d1dd
SP
27597 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
27598
09544cbc
SP
27599 * sysdeps/generic/math_private.h (__mpsin1): Remove
27600 declaration.
27601 (__mpcos1): Likewise.
27602 (__mpsin): New argument __range_reduce.
27603 (__mpcos): Likewise.
27604 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27605 (slow): Use __mpsin and __mpcos.
27606 (slow1): Likewise.
27607 (slow2): Likewise.
27608 (sloww): Likewise.
27609 (sloww1): Likewise.
27610 (sloww2): Likewise.
27611 (bsloww): Likewise.
27612 (bsloww1): Likewise.
27613 (bsloww2): Likewise.
27614 (cslow2): Likewise.
27615 (csloww): Likewise.
27616 (csloww1): Likewise.
27617 (csloww2): Likewise.
27618 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
27619 range_reduce. Merge in __mpsin1.
27620 (__mpcos): Likewise.
27621 (__mpsin1): Remove.
27622 (__mpcos1): Likewise.
27623
7602d070
JM
276242013-10-07 Joseph Myers <joseph@codesourcery.com>
27625
27626 * locale/loadlocale.c (_nl_intern_locale_data): Use
27627 LOCFILE_ALIGNED_P.
27628 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
27629 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
27630 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
27631 obstack data is appropriately aligned.
27632 (obstack_int32_grow_fast): Likewise.
27633 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
27634 * locale/programs/locfile.c (add_locale_uint32): Likewise.
27635 (add_locale_uint32_array): Likewise.
27636
a357259b
SP
276372013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27638
27639 * benchtests/Makefile: Remove ARGLIST and RET variables.
27640 ($(objpfx)bench-%.c): Pass only function name to the script.
27641 * benchtests/README: Update documentation.
27642 * benchtests/acos-inputs: Add new directives.
27643 * benchtests/acosh-inputs: Likewise.
27644 * benchtests/asin-inputs: Likewise.
27645 * benchtests/asinh-inputs: Likewise.
27646 * benchtests/atan-inputs: Likewise.
27647 * benchtests/atanh-inputs: Likewise.
27648 * benchtests/cos-inputs: Likewise.
27649 * benchtests/cosh-inputs: Likewise.
27650 * benchtests/exp-inputs: Likewise.
27651 * benchtests/log-inputs: Likewise.
27652 * benchtests/pow-inputs: Likewise.
27653 * benchtests/rint-inputs: Likewise.
27654 * benchtests/sin-inputs: Likewise.
27655 * benchtests/sinh-inputs: Likewise.
27656 * benchtests/tan-inputs: Likewise.
27657 * benchtests/tanh-inputs: Likewise.
27658 * scripts/bench.pl: Add support for new directives.
27659
9ec1b13d
AM
276602013-10-07 Alan Modra <amodra@gmail.com>
27661
27662 * README: Fix careless merge.
27663
8b7d57cd
AM
276642013-10-05 Alan Modra <amodra@gmail.com>
27665
27666 * NEWS: Mention powerpc64le support and bugs fixed.
27667 * README: Both big-endian and little-endian powerpc64 supported.
27668
7b7bab13
ST
276692013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27670
57f41c40
AS
27671 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
27672 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
27673 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
27674 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
27675
d39baad1
RA
276762013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
27677
27678 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
27679 match prototype.
27680
cd78f7e7
JM
276812013-10-04 Joseph Myers <joseph@codesourcery.com>
27682
29d73d86
JM
27683 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
27684 Move -mhard-float appending from
27685 ports/sysdeps/powerpc/powerpc32/Makefile.
27686 [$(with-fp) = yes] (ASFLAGS): Likewise.
27687 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
27688 * sysdeps/powerpc/nofpu: Move directory from
27689 ports/sysdeps/powerpc/nofpu.
27690 * sysdeps/powerpc/soft-fp: Move directory from
27691 ports/sysdeps/powerpc/soft-fp.
27692 * sysdeps/powerpc/powerpc32/405: Move directory from
27693 ports/sysdeps/powerpc/powerpc32/405.
27694 * sysdeps/powerpc/powerpc32/440: Move directory from
27695 ports/sysdeps/powerpc/powerpc32/440.
27696 * sysdeps/powerpc/powerpc32/464: Move directory from
27697 ports/sysdeps/powerpc/powerpc32/464.
27698 * sysdeps/powerpc/powerpc32/476: Move directory from
27699 ports/sysdeps/powerpc/powerpc32/476.
27700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
27701 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
27702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
27703 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
27704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
27705 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
27706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
27707 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
27708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
27709 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
27710 * README: Update for powerpc-*-linux-gnu software floating point
27711 support in libc.
27712
e246b347
JM
27713 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
27714 case to powerpc/powerpc32*.
27715 * sysdeps/unix/sysv/linux/configure: Regenerated.
27716
89c2003e
JM
27717 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
27718 (_FPU_MASK_OM): Define as 0x04.
27719 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
27720 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
27721 0x00c10080.
27722 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
27723 0x0000003c.
27724 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
27725
cd78f7e7
JM
27726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
27727 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27728 getcontext_e500.
27729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
27730 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27731 setcontext_e500.
27732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
27733 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
27734 and setcontext_e500.
27735
c755294d
CL
277362013-10-04 Chris Leonard <cjl@sugarlabs,.org>
27737
27738 * locale/iso-3166.def: Update iso-1366.def and related occurrences
27739
e16d221c
SP
277402013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27741
27742 * manual/threads.texi (Default Thread Attributes): Fix typo.
27743
215c7d43
WN
277442013-10-04 Will Newton <will.newton@linaro.org>
27745
27746 * malloc/Makefile: Add tst-memalign.
27747 * malloc/tst-memalign.c: New file.
27748
27d0461b
WN
27749 * malloc/tst-posix_memalign.c: Add comments.
27750 (do_test): Add comments and call free on all potentially
27751 allocated pointers. Add space after cast.
27752
1bc92709
WN
27753 * malloc/tst-pvalloc.c: Add comments.
27754 (do_test): Add comments and call free on all potentially
27755 allocated pointers. Remove duplicate check for NULL pointer.
27756 Add space after cast.
27757
66a9be9d
WN
27758 * malloc/tst-valloc.c: Add comments.
27759 (do_test): Add comments and call free on all potentially
27760 allocated pointers. Remove duplicate check for NULL pointer.
27761 Add space after cast.
27762
4cb81307
AM
277632013-10-04 Alan Modra <amodra@gmail.com>
27764
27765 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27766 Use stdint types in rather than __attribute__((mode())).
27767 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27768
f8e3e9f3
AM
277692013-10-04 Alan Modra <amodra@gmail.com>
27770
27771 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27772 Correct handling of unaligned relocs for little-endian.
27773 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27774
8f9ebb08
AM
277752013-10-04 Alan Modra <amodra@gmail.com>
27776
27777 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
27778 * configure: Regenerate.
27779 * nptl/shlib-versions: Powerpc*le starts at 2.18.
27780 * shlib-versions: Likewise.
27781
0edf96c2
AM
277822013-10-04 Alan Modra <amodra@gmail.com>
27783
27784 * string/tester.c (test_memrchr): Increment reported test cycle.
27785
e0f7a380
AM
277862013-10-04 Alan Modra <amodra@gmail.com>
27787
27788 * string/test-memcpy.c (do_one_test): When reporting errors, print
27789 string address and don't overrun end of string.
27790
466b0393
AM
277912013-10-04 Alan Modra <amodra@gmail.com>
27792
27793 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
27794 insrdi. Make better use of reg selection to speed exit slightly.
27795 Schedule entry path a little better. Remove useless "are we done"
27796 checks on entry to main loop. Handle wrapping around zero address.
27797 Correct main loop count. Handle single left-over word from main
27798 loop inline rather than by using loop_small. Remove extra word
27799 case in loop_small caused by wrong loop count. Add little-endian
27800 support.
27801 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27802 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
27803 cache hint.
27804 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27805 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
27806 support. Avoid rlwimi.
27807 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
27808
3be87c77
AM
278092013-10-04 Alan Modra <amodra@gmail.com>
27810
27811 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 27812 insrdi. Formatting.
3be87c77
AM
27813 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
27814 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27815 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27816 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27817 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27818 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
27819
759cfef3
AM
278202013-10-04 Alan Modra <amodra@gmail.com>
27821
27822 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
27823 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27824 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
27825 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
27826 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27827 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27828 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27829 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27830 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
27831 use of regs. Use power7 mtocrf. Tidy function tails.
27832
fe6e95d7
AM
278332013-10-04 Alan Modra <amodra@gmail.com>
27834
27835 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
27836 Formatting. Consistently use rXXX register defines or rN defines.
27837 Use early exit labels that avoid restoring unused non-volatile regs.
27838 Make cr field use more consistent with rWORDn compares. Rename
27839 regs used as shift registers for unaligned loop, using rN defines
27840 for short lifetime/multiple use regs.
27841 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27842 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
27843 addi 1,1,64 to pop stack frame. Simplify return value code.
27844 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27845
664318c3
AM
278462013-10-04 Alan Modra <amodra@gmail.com>
27847
27848 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
27849 support. Correct typos, formatting. Optimize tail. Use insrdi
27850 rather than rlwimi.
27851 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
27852 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
27853 little-endian support. Correct typos.
27854 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
27855 rather than rlwimi.
27856 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
27857 in loop and entry code to keep "and." results.
27858 (strchr): Add little-endian support. Comment. Move cntlzd
27859 earlier in tail.
27860 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
27861
43b84013
AM
278622013-10-04 Alan Modra <amodra@gmail.com>
27863
27864 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
27865 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
27866 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
27867 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
27868
8a7413f9
AM
278692013-10-04 Alan Modra <amodra@gmail.com>
27870
27871 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
27872 (rTMP): Define as r11.
27873 (strcmp): Add little-endian support. Optimise tail.
27874 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
27875 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27876 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27877 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27878 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27879 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27880 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27881
33ee81de
AM
278822013-10-04 Alan Modra <amodra@gmail.com>
27883
27884 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
27885 little-endian support. Remove unnecessary "are we done" tests.
27886 Handle "s" wrapping around zero and extremely large "size".
27887 Correct main loop count. Handle single left-over word from main
27888 loop inline rather than by using small_loop. Correct comments.
27889 Delete "zero" tail, use "end_max" instead.
27890 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
27891
db9b4570
AM
278922013-10-04 Alan Modra <amodra@gmail.com>
27893
27894 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
27895 support. Don't branch over align.
27896 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
27897 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
27898 support. Rearrange tmp reg use to suit. Comment.
27899 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
27900
f7c399cf
AM
279012013-10-04 Alan Modra <amodra@gmail.com>
27902
27903 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
27904
0b2c2ace
AM
279052013-10-04 Alan Modra <amodra@gmail.com>
27906
27907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
27908 conditional form of branch and link when obtaining pc.
27909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
27910
02f04a6c
AM
279112013-10-04 Alan Modra <amodra@gmail.com>
27912
27913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
27914 HIWORD/LOWORD.
27915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
27916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
27917
9b874b2f
AM
279182013-10-04 Alan Modra <amodra@gmail.com>
27919
27920 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
27921 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
27922 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27923 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
27924 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27925 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27926 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
27927 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27928 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27929 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
27930
be1e5d31
AB
279312013-10-04 Anton Blanchard <anton@au1.ibm.com>
27932 Alistair Popple <alistair@ozlabs.au.ibm.com>
27933 Alan Modra <amodra@gmail.com>
27934
27935 [BZ #15723]
27936 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
27937 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
27938 _dl_hwcap access for little-endian.
27939 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
27940 destroy vmx regs when saving unaligned.
27941 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
27942 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
27943 destroy vmx regs when saving unaligned.
27944
fef13a78
AM
279452013-10-04 Alan Modra <amodra@gmail.com>
27946
27947 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
27948 Don't use a union to pack hi/low value.
27949
76a66d51
AB
279502013-10-04 Anton Blanchard <anton@au1.ibm.com>
27951
27952 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
27953 for little-endian.
27954 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27955 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
27956 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27957 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27958 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27959
6a31fe7f
AM
279602013-10-04 Alan Modra <amodra@gmail.com>
27961
27962 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
27963 constants to usual value for .cst8 section, and remove redundant
27964 high address load.
27965 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
27966 constant for 0x1p52. Load little-endian words of double from
27967 correct stack offsets.
27968
7b88401f
AM
279692013-10-04 Alan Modra <amodra@gmail.com>
27970
27971 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
27972 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
27973 words of double from correct stack offsets.
27974 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27975 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
27976 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27977 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27978 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27979 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27980 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27981 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27982 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
27983 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27984 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27985 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27986 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27987 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27988 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27989 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
27990 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
27991
9c008155
AM
279922013-10-04 Alan Modra <amodra@gmail.com>
27993
27994 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
27995 64-bit int/double union.
27996 (_FPU_SETCW): Likewise.
27997 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
27998 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
27999
da13146d
AM
280002013-10-04 Alan Modra <amodra@gmail.com>
28001
28002 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
28003 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
28004
603e8410
AM
280052013-10-04 Alan Modra <amodra@gmail.com>
28006
28007 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
28008 use vector int constants.
28009 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
28010
4a28b3ca
AB
280112013-10-04 Anton Blanchard <anton@au1.ibm.com>
28012
28013 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
28014 array with long long.
28015 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
28016 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
28017 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
28018 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
28019 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
28020 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
28021 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
28022 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
28023 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
28024 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
28025 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
28026 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
28027 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
28028
2ca85d2b
AB
280292013-10-04 Anton Blanchard <anton@au1.ibm.com>
28030
28031 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
28032 (__signbit): Likewise. Correct for little-endian.
28033 (__signbitl): Call __signbit.
28034 (lrint): Correct for little-endian.
28035 (lrintf): Call lrint.
28036
62a728ae
AM
280372013-10-04 Alan Modra <amodra@gmail.com>
28038
28039 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
28040 union 32-bit int array member with 64-bit int array.
28041 (t515, tm256): Double rather than long double.
28042 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
28043
32c301df
AM
280442013-10-04 Alan Modra <amodra@gmail.com>
28045
28046 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
28047 Delete.
28048 (IEEE854_LONG_DOUBLE_BIAS): Delete.
28049 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
28050 version of math_ldbl.h.
28051
650ef4bd
AM
280522013-10-04 Alan Modra <amodra@gmail.com>
28053
28054 [BZ #15734], [BZ #15735]
28055 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
28056 all uses of ieee875 long double macros and unions. Simplify test
28057 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
28058 ldbl_extract_mantissa value for ix,iy exponents. Properly
28059 normalize after ldbl_extract_mantissa, and don't add hidden bit
28060 already handled. Don't treat low word of ieee854 mantissa like
28061 low word of IBM long double and mask off bit when testing for
28062 zero.
28063 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
28064 all uses of ieee875 long double macros and unions. Simplify tests
28065 for 0.0L and inf. Correct double adjustment of k. Delete dead code
28066 adjusting ha,hb. Simplify code setting kld. Delete two600 and
28067 two1022, instead use their values. Recognise that tests for large
28068 "a" and small "b" are mutually exclusive. Rename vars. Comment.
28069 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
28070 Rewrite all uses of ieee875 long double macros and unions. Simplify
28071 test for 0.0L and nan. Correct negation.
28072 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
28073 ieee875 long double macros and unions. Correct output for large
28074 magnitude x. Correct absolute value calculation.
28075 (__erfcl): Likewise.
28076 * math/libm-test.inc: Add tests for errors discovered in IBM long
28077 double versions of fmodl, remainderl, erfl and erfcl.
28078
765714ca
AM
280792013-10-04 Alan Modra <amodra@gmail.com>
28080
28081 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
28082 all uses of ieee854 long double macros and unions. Simplify tests
28083 for long doubles that are fully specified by the high double.
28084 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28085 Likewise.
28086 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
28087 Remove dead code too.
28088 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28089 (__ieee754_ynl): Likewise.
28090 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28091 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
28092 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
28093 Remove dead code too.
28094 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
28095 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
28096 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
28097 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
28098 Simplify.
28099 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
28100 Simplify.
28101 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
28102 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
28103 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
28104 Comment on variable precision.
28105 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
28106 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28107 Likewise.
28108 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28109 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28110 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28111 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
28112 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
28113
4ebd120c
AM
281142013-10-04 Alan Modra <amodra@gmail.com>
28115
28116 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
28117 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
28118 all uses of ieee854 long double macros and unions.
28119 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
28120 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
28121 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
28122 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
28123 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28124 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28125 Likewise.
28126 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
28127 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28128 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
28129 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28130 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
28131 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
28132 Simplify sign and nan test too.
28133 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
28134 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
28135 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
28136 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
28137 Likewise.
28138 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28139 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
28140 Likewise.
28141 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28142 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
28143 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
28144 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
28145 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
28146 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
28147
1b6adf88
AM
281482013-10-04 Alan Modra <amodra@gmail.com>
28149
28150 * stdio-common/printf_size.c (__printf_size): Don't use
28151 union ieee854_long_double in fpnum union.
28152 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
28153 signbit macro to retrieve sign from long double.
28154 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
28155 retrieve sign from long double.
28156 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
28157 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
28158 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
28159 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28160 * math/test-misc.c (main): Don't use union ieee854_long_double.
28161
4cf69995
AM
281622013-10-04 Alan Modra <amodra@gmail.com>
28163
28164 [BZ #15680]
28165 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
28166 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
28167 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
28168 calculation. Remove unnecessary test for denormal exponent.
28169 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
28170 Correct handling of denormals. Avoid undefined shift behaviour.
28171 Correct normalisation of low mantissa when low double is denormal.
28172 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
28173 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
28174 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
28175 Correct normalisation of low mantissa. Test for overflow of high
28176 mantissa and normalise.
28177 (ldbl_nearbyint): Use more readable constant for two52.
28178 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
28179 (__mpn_construct_long_double): Fix test for overflow of high
28180 mantissa and correct normalisation. Avoid undefined shift.
28181
9605ca6c
AM
281822013-10-04 Alan Modra <amodra@gmail.com>
28183
28184 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28185 (union ibm_extended_long_double): Define as an array of ieee754_double.
28186 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
28187 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
28188 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
28189 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28190 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28191 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
28192 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28193 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28194 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28195 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
28196 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28197
975569d0
JM
281982013-10-03 Joseph Myers <joseph@codesourcery.com>
28199
d3d23756
JM
28200 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
28201 page size instead of calling getpagesize.
28202
975569d0
JM
28203 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
28204 (LOCFILE_ALIGN_MASK): Likewise.
28205 (LOCFILE_ALIGN_UP): Likewise.
28206 (LOCFILE_ALIGNED_P): Likewise.
28207 * locale/programs/ld-collate.c (collate_output): Use the new
28208 macros instead of __alignof__ (int32_t).
28209 * locale/weight.h (findidx): Likewise.
28210
b1fe1f2b
OB
282112013-10-03 Ondřej Bílka <neleai@seznam.cz>
28212
28213 [BZ #431]
28214 * manual/string.texi: Fix strncat and wcsncat.
28215
5f855e35
BM
282162013-10-03 Brooks Moses <bmoses@google.com>
28217
28218 [BZ #15915]
28219 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
28220 * Makerules: ...here, and adjust associated comments.
28221
3cef6009
WN
282222013-10-02 Will Newton <will.newton@linaro.org>
28223
28224 * malloc/Makefile: Add tst-pvalloc.
28225 * malloc/tst-pvalloc.c: New file.
28226
7815420b
WN
282272013-10-02 Will Newton <will.newton@linaro.org>
28228
28229 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
28230 improve test coverage.
28231
4868b204
WN
282322013-10-02 Will Newton <will.newton@linaro.org>
28233
28234 * malloc/Makefile: Add tst-posix_memalign.
28235 * malloc/tst-posix_memalign.c: New file.
28236
29c793b3
EB
282372013-10-01 Eric Blake <eblake@redhat.com>
28238
28239 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
28240 Use __THROWNL rather than __THROW on static functions.
28241
fd967522
PM
282422013-09-30 Petr Machata <pmachata@redhat.com>
28243
28244 * elf/elf.h (R_AARCH64_ABS16): New macro.
28245 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
28246 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
28247 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
28248 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
28249 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
28250 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
28251 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
28252 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
28253 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
28254 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
28255 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
28256 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
28257 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
28258 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
28259 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
28260 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
28261 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
28262 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
28263 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
28264 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
28265 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
28266 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
28267 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
28268 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
28269 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
28270 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
28271 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
28272 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
28273 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
28274 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
28275 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
28276 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
28277 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
28278 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
28279 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
28280 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
28281 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
28282 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
28283 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
28284 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
28285 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
28286 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
28287 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
28288 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
28289 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
28290 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
28291 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
28292 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
28293 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
28294 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
28295 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
28296 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
28297 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
28298 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
28299 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
28300 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
28301 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
28302 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
28303 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
28304 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
28305 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
28306 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
28307 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
28308 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
28309 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
28310 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
28311 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
28312 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
28313 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
28314 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
28315 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
28316 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
28317 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
28318 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
28319 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
28320 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
28321 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
28322 (R_AARCH64_TLSDESC_LDR): Likewise.
28323 (R_AARCH64_TLSDESC_ADD): Likewise.
28324 (R_AARCH64_TLSDESC_CALL): Likewise.
28325
b2179107
AS
283262013-09-30 Andreas Schwab <schwab@suse.de>
28327
28328 [BZ #15048]
28329 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
28330 the nss database lookup.
28331 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28332 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28333
47f28d0a
MF
283342013-09-28 Mike Frysinger <vapier@gentoo.org>
28335
28336 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
28337
283382013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
28339
28340 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
28341 ${Bash-specific parameter/pattern/string} parameter expansion.
28342 * sysdeps/unix/make-syscalls.sh: Likewise.
28343
f4518a17
KK
283442013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28345
28346 * sysdeps/sh/stackguard-macros.h: New file.
28347
dc1a95c7
OB
283482013-09-26 Ondřej Bílka <neleai@seznam.cz>
28349
28350 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28351 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
28352 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
28353 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
28354 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28355 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
28356
5ebbff8f
AZ
283572013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28358
28359 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
28360 Fix thread ID register.
28361
4fd2cf9f
JM
283622013-09-25 Joseph Myers <joseph@codesourcery.com>
28363
28364 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
28365 [POSIX || UNIX98]: Require rather than permitting all symbols from
28366 <time.h>.
28367 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
28368 element of struct sched_param.
28369 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
28370 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
28371 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
28372 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
28373 constant.
28374
12c22bc4
OL
283752013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
28376
28377 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
28378 argument calculation.
28379
a03d8ea7
JM
283802013-09-24 Joseph Myers <joseph@codesourcery.com>
28381
28382 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
28383 Expect macro.
28384 [POSIX] (pthread_attr_t): Do not require type.
28385 [POSIX] (pthread_cond_t): Likewise.
28386 [POSIX] (pthread_condattr_t): Likewise.
28387 [POSIX] (pthread_key_t): Likewise.
28388 [POSIX] (pthread_mutex_t): Likewise.
28389 [POSIX] (pthread_mutexattr_t): Likewise.
28390 [POSIX] (pthread_once_t): Likewise.
28391 [POSIX] (pthread_t): Likewise.
28392 [POSIX-based standards] (pthread_atfork): Expect function.
28393
6055173a
JM
283942013-09-24 Joseph Myers <joseph@codesourcery.com>
28395 Richard Sandiford <richard@codesourcery.com>
28396
28397 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
28398 (swap_endianness_p): New extern variable.
28399 (set_big_endian): New inline function.
28400 (maybe_swap_uint32): Likewise.
28401 (maybe_swap_uint32_array): Likewise.
28402 (maybe_swap_uint32_obstack): Likewise.
28403 * locale/programs/locfile.c: Include <stdbool.h>.
28404 (swap_endianness_p): New variable.
28405 (add_locale_uint32): Call maybe_swap_uint32.
28406 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
28407 (write_locale_data): Call maybe_swap_uint32_array.
28408 * locale/programs/ld-collate.c (obstack_int32_grow): Call
28409 maybe_swap_uint32.
28410 (obstack_int32_grow_fast): Likewise.
28411 (output_weightwc): Call maybe_swap_uint32_obstack.
28412 (collate_output): Likewise.
28413 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
28414 (OPT_LITTLE_ENDIAN): Likewise.
28415 (options): Add --little-endian and --big-endian options.
28416 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
28417 * locale/programs/locarchive.c: Include "locfile.h".
28418 (GET): New macro.
28419 (SET): Likewise.
28420 (INC): Likewise.
28421 (create_archive): Use the new macros to access fields of
28422 structures directly mapped from or written to locale archives.
28423 (oldlocrecentcmp): Likewise.
28424 (enlarge_archive): Likewise.
28425 (insert_name): Likewise.
28426 (add_alias): Likewise.
28427 (add_locale): Likewise.
28428 (delete_locales_from_archive): Likewise.
28429 (show_archive_content): Likewise.
28430 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
28431 locale data.
28432
39bf0bb4
RM
284332013-09-24 Roland McGrath <roland@hack.frob.com>
28434
28435 * manual/freemanuals.texi: Updated from (newly) canonical copy at
28436 http://www.gnu.org/doc/freemanuals.texi.
28437 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
28438
f02eed10
WN
284392013-09-24 Will Newton <will.newton@linaro.org>
28440
28441 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
28442 macro.
28443
a3a6c312
JM
284442013-09-23 Joseph Myers <joseph@codesourcery.com>
28445
28446 * locale/hashval.h (compute_hashval): Interpret bytes of key as
28447 unsigned char.
28448
107375ac
MR
284492013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
28450
28451 * manual/threads.texi (POSIX Threads): Fix a typo.
28452
141f3a77
SP
284532013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28454
303e567a
SP
28455 [BZ #14547]
28456 * string/tst-strcoll-overflow.c: New test case.
28457 * string/Makefile (xtests): Add tst-strcoll-overflow.
28458 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
28459 cache if string sizes may cause integer overflow.
28460
141f3a77
SP
28461 [BZ #14547]
28462 * string/strcoll_l.c (coll_seq): New members rule, idx,
28463 save_idx and back_us.
28464 (get_next_seq_nocache): New function.
28465 (do_compare_nocache): New function.
28466 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
28467 when malloc fails.
28468
c61b4d41
CD
284692013-09-23 Carlos O'Donell <carlos@redhat.com>
28470
0b1f8e35
CD
28471 [BZ #15754]
28472 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
28473 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
28474 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
28475
c61b4d41
CD
28476 [BZ #15754]
28477 * elf/Makefile (tests): Add tst-ptrguard1.
28478 (tests-static): Add tst-ptrguard1-static.
28479 (tst-ptrguard1-ARGS): Define.
28480 (tst-ptrguard1-static-ARGS): Define.
28481 * elf/tst-ptrguard1.c: New file.
28482 * elf/tst-ptrguard1-static.c: New file.
28483 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
28484 * sysdeps/i386/stackguard-macros.h: Likewise.
28485 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28486 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28487 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28488 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28489 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28490 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28491
284922013-09-23 Hector Marco <hecmargi@upv.es>
28493 Ismael Ripoll <iripoll@disca.upv.es>
28494 Carlos O'Donell <carlos@redhat.com>
28495
28496 [BZ #15754]
28497 * sysdeps/generic/stackguard-macros.h: Define
28498 __pointer_chk_guard_local and POINTER_CHK_GUARD.
28499 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
28500 Define __pointer_chk_guard_local.
28501 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
28502 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
28503
f5f4e7b4
VV
285042013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
28505
28506 [BZ #15859]
28507 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
28508
5bb43a43
AS
285092013-09-20 Andreas Schwab <schwab@linux-m68k.org>
28510
28511 * include/string.h (__ffs): Declare as hidden.
28512 * string/ffs.c (__ffs): Define as hidden.
28513 * sysdeps/i386/ffs.c (__ffs): Likewise.
28514 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
28515 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
28516 * sysdeps/s390/ffs.c (__ffs): Likewise.
28517 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
28518
3ea5be54
AO
285192013-09-20 Alexandre Oliva <aoliva@redhat.com>
28520
ffb89e53
AO
28521 * NEWS: Mention malloc probes.
28522
322dea08
AO
28523 * malloc/arena.c (new_heap): New memory_heap_new probe.
28524 (grow_heap): New memory_heap_more probe.
28525 (shrink_heap): New memory_heap_less probe.
28526 (heap_trim): New memory_heap_free probe.
28527 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
28528 (systrim): New memory_sbrk_less probe.
28529 * manual/probes.texi: Document them.
28530
655673f3
AO
28531 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
28532 * manual/probes.texi: Document it.
28533
35fed6f1
AO
28534 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
28535 (__libc_realloc): Add memory_realloc_retry probe.
28536 (__libc_memalign): Add memory_memalign_retry probe.
28537 (__libc_valloc): Add memory_valloc_retry probe.
28538 (__libc_pvalloc): Add memory_pvalloc_retry probe.
28539 (__libc_calloc): Add memory_calloc_retry probe.
28540 * manual/probes.texi: Document them.
28541
6999d38c
AO
28542 * malloc/arena.c (get_free_list): Add probe
28543 memory_arena_reuse_free_list.
28544 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
28545 and memory_arena_reuse.
28546 (arena_get2) [!PER_THREAD]: Likewise.
28547 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
28548 memory_arena_reuse_realloc.
28549 * manual/probes.texi: Document them.
28550
0653427f
AO
28551 * malloc/malloc.c (__libc_free): Add
28552 memory_mallopt_free_dyn_thresholds probe.
28553 (__libc_mallopt): Add multiple memory_mallopt probes.
28554 * manual/probes.texi: Document them.
28555
3ea5be54
AO
28556 * malloc/malloc.c: Include stap-probe.h.
28557 (__libc_mallopt): Add memory_mallopt probe.
28558 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
28559 * manual/probes.texi: New.
28560 * manual/Makefile (chapters): Add probes.
28561 * manual/threads.texi: Set next node.
28562
e35696c3 285632013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 28564
e35696c3
CL
28565 [BZ #15963, #13985]
28566 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
28567 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
28568 Add `Chinese' to `nan' entry name.
28569
4aafb73c
SP
285702013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28571
28572 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
28573 (POLYNOMIAL): Likewise.
28574 (TAYLOR_SINCOS): Likewise.
28575 (TAYLOR_SLOW): Likewise.
28576 (__sin): Use TAYLOR_SINCOS.
28577 (__cos): Likewise.
28578 (slow): Use TAYLOR_SLOW.
28579 (sloww): Likewise.
28580 (bsloww): Likewise.
28581 (csloww): Likewise.
28582
d84f25c7
LD
285832013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28584
28585 * stdlib/strtod_l.c: Fix buffer overrun.
28586
5eea0404
SP
285872013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28588
7849ff93
SP
28589 * benchtests/Makefile (bench): Add sincos.
28590 * benchtests/bench-sincos.c: New file.
28591
cfa3c886
SP
28592 * math/libm-test.inc (cos_test_data): New test inputs.
28593 (sin_test_data): Likewise.
28594
b348e1e3
SP
28595 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
28596 macro.
28597 (__sin): Use it.
28598 (__cos): Likewise.
28599 (slow1): Likewise.
28600 (slow2): Likewise.
28601 (sloww1): Likewise.
28602 (sloww2): Likewise.
28603 (bsloww1): Likewise.
28604 (bsloww2): Likewise.
28605 (cslow2): Likewise.
28606 (csloww1): Likewise.
28607 (csloww2): Likewise.
28608
6cce25f8
SP
28609 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
28610 function.
28611 (__sin): Use it.
28612 (__cos): Likewise.
28613
5eea0404
SP
28614 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
28615 gotos.
28616 (__cos): Likewise.
28617
9c21573c
MR
286182013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
28619
28620 * config.h.in (HAVE_MIPS_NAN2008): New macro.
28621 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
28622 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
28623 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
28624 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
28625 * elf/cache.c (print_entry): Handle the new cache flags.
28626
24d22e65
JM
286272013-09-18 Joseph Myers <joseph@codesourcery.com>
28628 Aldy Hernandez <aldyh@redhat.com>
28629
28630 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
28631 Change condition to [_SOFT_FLOAT].
28632 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
28633 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
28634 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
28635 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
28636 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
28637 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
28638 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
28639 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
28640 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
28641 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
28642 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
28643 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
28644 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
28645 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
28646 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
28647 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
28648 declaration.
28649
d13ef066
JM
286502013-09-18 Joseph Myers <joseph@codesourcery.com>
28651
2e071de0
JM
28652 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
28653 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28654 (__longjmp): Use LOAD_GP to load saved GPRs.
28655 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
28656 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28657 (__sigsetjmp): Use SAVE_GP to save GPRs.
28658
d13ef066
JM
28659 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
28660 Do not append -msoft-float.
28661 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
28662
97a0650b
SP
286632013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28664
28665 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
28666
11ca09e9
JM
286672013-09-17 Joseph Myers <joseph@codesourcery.com>
28668
28669 [BZ #15966]
28670 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
28671 (_FPU_GETCW): Use initial "__" on variable and field names but not
28672 on macro parameter name.
28673 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
28674 parentheses around reference to macro parameter.
28675
08ffcf34
RS
286762013-09-13 Richard Sandiford <richard@codesourcery.com>
28677
28678 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
28679 prototype.
28680 (ctype_startup): Use uint32_t in cast and sizeof for
28681 ctype->charnames.
28682
ae7080d3
JL
286832013-09-11 Jia Liu <proljc@gmail.com>
28684
28685 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
28686 __daddr_t_defined.
28687 [__FreeBSD__]: Likewise.
28688
5905e7b3
OB
286892013-09-11 Ondřej Bílka <neleai@seznam.cz>
28690
28691 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
28692 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
28693 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
28694 (strchr): Remove __strchr_sse42 ifunc selection.
28695 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
28696 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
28697
b987c776
WN
286982013-09-11 Will Newton <will.newton@linaro.org>
28699
28700 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
28701 parameter to RES. Remove hardcoded 1000 value.
28702 * benchtests/bench-skeleton.c (main): Pass RES parameter
28703 to TIMING_INIT and multiply result by 1000.
28704
ddf985af
AZ
287052013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28706
28707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28708
ffdd3181
AS
287092013-09-11 Andreas Schwab <schwab@suse.de>
28710
28711 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
28712 if not defined.
28713 (O_TMPFILE) [__USE_GNU]: Define.
28714 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
28715 Define.
28716
b73ed247
WN
287172013-09-11 Will Newton <will.newton@linaro.org>
28718
28719 [BZ #15857]
28720 * malloc/malloc.c (__libc_memalign): Check the value of bytes
28721 does not overflow.
28722
55e17aad
WN
287232013-09-11 Will Newton <will.newton@linaro.org>
28724
28725 [BZ #15856]
28726 * malloc/malloc.c (__libc_valloc): Check the value of bytes
28727 does not overflow.
28728
1159a193
WN
287292013-09-11 Will Newton <will.newton@linaro.org>
28730
28731 [BZ #15855]
28732 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
28733 does not overflow.
28734
5905e7b3 287352013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
28736
28737 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
28738 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28739 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28740 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28741 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28742
cdfc721b
AM
287432013-09-10 Allan McRae <allan@archlinux.org>
28744
aa04af00
AM
28745 [BZ #15748]
28746 * manual/arith.texi (Parsing of Floats): Clarify
28747 cross-reference.
28748
cdfc721b
AM
28749 [BZ #15849]
28750 * manual/install.texi (Running make install): Mention
28751 --enable-pt-chown.
28752 * INSTALL: Regenerated.
28753
95e7cf29
MR
287542013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
28755
28756 * csu/init-first.c (_init): Remove the !SHARED condition around
28757 FPU control word initialization.
28758 * elf/dl-support.c (_dl_fpu_control): New variable.
28759 (_dl_aux_init) <AT_FPUCW>: Initialize it.
28760 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
28761 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
28762 * math/test-fpucw-static.c: New file.
28763 * math/test-fpucw-ieee.c: New file.
28764 * math/test-fpucw-ieee-static.c: New file.
28765 * math/Makefile (tests): Add `test-fpucw-ieee' and
28766 `$(tests-static)'.
28767 (tests-static): New variable.
28768 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
28769 dependency to...
28770 [($(build-shared),yes)]
28771 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28772 ... this.
28773 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
28774 New dependency.
28775
83e43bf0
AM
287762013-09-09 Allan McRae <allan@archlinux.org>
28777
a9f5ce09
AM
28778 [BZ #15939]
28779 * manual/string.texi (Collation Functions): Fix typo in
28780 strcoll example.
28781 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
28782
34829bc2
AM
28783 [BZ #15893]
28784 * stdlib/isomac.c (get_null_defines): Fix memory leak.
28785
3932737d
AM
28786 [BZ #15892]
28787 * libio/memstream.c (open_memstream): Fix memory leak.
28788 * libio/wmemstream.c (open_wmemstream): Likewise.
28789
83e43bf0
AM
28790 [BZ #15895]
28791 * nscd/netgroupcache.c: Fix nesting of ifdefs.
28792
0c66b8e9
WN
287932013-09-09 Will Newton <will.newton@linaro.org>
28794
28795 * malloc/Makefile: Add tst-realloc to tests.
28796 * malloc/tst-realloc.c: New file.
28797
f6b00fd1
AM
287982013-09-09 Allan McRae <allan@archlinux.org>
28799
28800 [BZ #15844]
28801 * COPYING: Update from GNU website to fix FSF address.
28802 * COPYING.LIB: Likewise.
28803
eec55e16
DM
288042013-09-06 David S. Miller <davem@davemloft.net>
28805
28806 * po/zh_TW.po: Update Chinese (traditional) translation from
28807 translation project.
28808
1ecbb381
RS
288092013-09-06 Richard Sandiford <richard@codesourcery.com>
28810 Joseph Myers <joseph@codesourcery.com>
28811
28812 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
28813 "localeinfo.h".
28814 (obstack_chunk_alloc): New macro.
28815 (obstack_chunk_free): Likewise.
28816 (record_offset): New function.
28817 (init_locale_data): Likewise.
28818 (align_locale_data): Likewise.
28819 (add_locale_empty): Likewise.
28820 (add_locale_raw_data): Likewise.
28821 (add_locale_raw_obstack): Likewise.
28822 (add_locale_string): Likewise.
28823 (add_locale_wstring): Likewise.
28824 (add_locale_uint32): Likewise.
28825 (add_locale_uint32_array): Likewise.
28826 (add_locale_char): Likewise.
28827 (start_locale_structure): Likewise.
28828 (end_locale_structure): Likewise.
28829 (start_locale_prelude): Likewise.
28830 (end_locale_prelude): Likewise.
28831 (write_locale_data): Take locale_file structure rather than an
28832 iovec.
28833 * locale/programs/locfile.h: Include "obstack.h".
28834 (struct locale_file): Change to store locale file contents instead
28835 of header.
28836 (init_locale_data): New prototype.
28837 (align_locale_data): Likewise.
28838 (add_locale_empty): Likewise.
28839 (add_locale_raw_data): Likewise.
28840 (add_locale_raw_obstack): Likewise.
28841 (add_locale_string): Likewise.
28842 (add_locale_wstring): Likewise.
28843 (add_locale_uint32): Likewise.
28844 (add_locale_uint32_array): Likewise.
28845 (add_locale_char): Likewise.
28846 (start_locale_structure): Likewise.
28847 (end_locale_structure): Likewise.
28848 (start_locale_prelude): Likewise.
28849 (end_locale_prelude): Likewise.
28850 (write_locale_data): Update prototype.
28851 * locale/programs/3level.h (struct TABLE): Remove result field.
28852 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
28853 Use new locale_file interface.
28854 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
28855 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
28856 * locale/programs/ld-address.c (address_output): Use new
28857 locale_file interface.
28858 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
28859 NO_ADD_LOCALE.
28860 (collate_finish): Don't call collseq_table_finalize.
28861 (collate_output): Use new locale_file interface.
28862 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
28863 in file.
28864 (NO_FINALIZE): Change to NO_ADD_LOCALE.
28865 (TABLE): Move defines earlier in file.
28866 (ELEMENT): Likewise.
28867 (DEFAULT): Likewise.
28868 (wctrans_table_add): Move macro and inline function earlier in
28869 file.
28870 (struct wctype_table): Move type earlier in file.
28871 (add_locale_wctype_table): New static prototype.
28872 (struct locale_ctype_t): Use logical types instead of struct iovec
28873 pointers for members.
28874 (ctype_output): Use new locale_file interface.
28875 (wctype_table_finalize): Change to add_locale_wctype_table. Use
28876 new locale_file interface.
28877 (allocate_arrays): Update for use of new locale_file interface.
28878 * locale/programs/ld-identification.c (identification_output): Use
28879 new locale_file interface.
28880 * locale/programs/ld-measurement.c (measurement_output): Likewise.
28881 * locale/programs/ld-messages.c (messages_output): Likewise.
28882 * locale/programs/ld-monetary.c (monetary_output): Likewise.
28883 * locale/programs/ld-name.c (name_output): Likewise.
28884 * locale/programs/ld-numeric.c (numeric_output): Likewise.
28885 * locale/programs/ld-paper.c (paper_output): Likewise.
28886 * locale/programs/ld-telephone.c (telephone_output): Likewise.
28887 * locale/programs/ld-time.c (time_output): Likewise.
28888
e029e2e5
AZ
288892013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28890
28891 * benchtests/Makefile: Add memrchr benchmark.
28892 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
28893 benchmark as memrchr.
28894 * benchtests/bench-memrchr-ifunc.c: New file.
28895 * benchtests/bench-memrchr.c: New file.
28896
bbf6e8e4
WN
288972013-09-06 Will Newton <will.newton@linaro.org>
28898
28899 * benchtests/Makefile (string-bench): Add memcpy.
28900
6c82a2f8
CD
289012013-09-05 Carlos O'Donell <carlos@redhat.com>
28902 Cong Wang <amwang@redhat.com>
28903
e732c5f0 28904 [BZ #15850]
6c82a2f8
CD
28905 * sysdeps/unix/sysv/linux/bits/in.h
28906 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
28907 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
28908 before __USE_KERNEL_IPV6_DEFS uses.
28909 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
28910 IPPROTO_BEETPH.
28911 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
28912 sockaddr_in6, or ipv6_mreq.
28913
5430fc65
AZ
289142013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28915
28916 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
28917 memory access for final bytes in some large inputs.
28918 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
28919
4660856c
AZ
289202013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28921
28922 * string/test-memrchr.c: New file.
28923 * string/test-memrchr-ifunc.c: New file.
28924 * string/Makefile: Add new memrchr testcase.
28925
bb8ea713
MF
289262013-09-05 Mike Frysinger <vapier@gentoo.org>
28927
28928 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
28929 fanotify_init returns EPERM.
28930
b92a20b5
JM
289312013-09-04 Joseph Myers <joseph@codesourcery.com>
28932
28933 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
28934 errors.
28935 (top level): Treat second token from macro or constant entries for
28936 allowed headers as allowed.
28937 * include/complex.h: Condition internal declarations on
28938 [!_ISOMAC].
28939 * include/fenv.h: Condition include of <stdbool.h> and internal
28940 declarations on [!_ISOMAC].
7447ccd9
CL
28941
289422013-09-04 Chris Leonard <cjl@sugarlabs,.org>
28943
3e181dda 28944 [BZ #15923]
7447ccd9
CL
28945 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
28946
3f2e46a4
JM
289472013-09-04 Joseph Myers <joseph@codesourcery.com>
28948
28949 * configure.in (--enable-versioning): Remove configure option.
28950 (libc_cv_asm_symver_directive): Remove configure test.
28951 (libc_cv_ld_version_script_option): Likewise.
28952 (VERSIONING): Remove variable and AC_SUBST.
28953 (DO_VERSIONING): Remove AC_DEFINE.
28954 * configure: Regenerated.
28955 * config.h.in (DO_VERSIONING): Remove macro.
28956 * Makerules [$(versioning) = yes]: Change conditionals to
28957 [$(build-shared) = yes].
28958 * config.make.in (versioning): Remove variable.
28959 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
28960 [$(build-shared) = yes].
28961 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
28962 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
28963 * elf/Makefile [$(versioning) = yes]: Change conditionals to
28964 [$(build-shared) = yes].
28965 * extra-lib.mk [$(versioning) = yes]: Likewise.
28966 * hurd/Makefile [$(versioning) = yes]: Likewise.
28967 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
28968 [SHARED].
28969 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
28970 [SHARED].
28971 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
28972 [SHARED && !NO_HIDDEN].
28973 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
28974 [SHARED].
28975 [SHARED && DO_VERSIONING]: Likewise..
28976 * libio/Makefile [$(versioning) = yes]: Change conditionals to
28977 [$(build-shared) = yes].
28978 * manual/install.texi (--disable-versioning): Remove
28979 documentation.
28980 * INSTALL: Regenerated.
28981 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
28982 to [SHARED].
28983 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
28984 [$(build-shared) = yes].
28985 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
28986 * sysdeps/i386/i686/multiarch/strstr-c.c
28987 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
28988 [SHARED && !NO_HIDDEN].
28989 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
28990 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
28991 * sysdeps/powerpc/powerpc32/dl-machine.c
28992 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
28993 * sysdeps/powerpc/powerpc32/sysdep.h
28994 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
28995 to [SHARED && PIC && !NO_HIDDEN].
28996 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
28997 conditional to [SHARED].
28998
44558701
WN
289992013-09-04 Will Newton <will.newton@linaro.org>
29000
29001 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
29002 * benchtests/bench-string.h: Include bench-timing.h instead
29003 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
29004 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
29005 call to HP_TIMING_DIFF_INIT.
29006 * benchtests/bench-memccpy.c: Use bench-timing.h macros
29007 instead of hp-timing.h macros.
29008 * benchtests/bench-memchr.c: Likewise.
29009 * benchtests/bench-memcmp.c: Likewise.
29010 * benchtests/bench-memcpy.c: Likewise.
29011 * benchtests/bench-memmem.c: Likewise.
29012 * benchtests/bench-memmove.c: Likewise.
29013 * benchtests/bench-memset.c: Likewise.
29014 * benchtests/bench-rawmemchr.c: Likewise.
29015 * benchtests/bench-strcasecmp.c: Likewise.
29016 * benchtests/bench-strcasestr.c: Likewise.
29017 * benchtests/bench-strcat.c: Likewise.
29018 * benchtests/bench-strchr.c: Likewise.
29019 * benchtests/bench-strcmp.c: Likewise.
29020 * benchtests/bench-strcpy.c: Likewise.
29021 * benchtests/bench-strcpy_chk.c: Likewise.
29022 * benchtests/bench-strlen.c: Likewise.
29023 * benchtests/bench-strncasecmp.c: Likewise.
29024 * benchtests/bench-strncat.c: Likewise.
29025 * benchtests/bench-strncmp.c: Likewise.
29026 * benchtests/bench-strncpy.c: Likewise.
29027 * benchtests/bench-strnlen.c: Likewise.
29028 * benchtests/bench-strpbrk.c: Likewise.
29029 * benchtests/bench-strrchr.c: Likewise.
29030 * benchtests/bench-strspn.c: Likewise.
29031 * benchtests/bench-strstr.c: Likewise.
29032
cae16d66
WN
290332013-09-04 Will Newton <will.newton@linaro.org>
29034
29035 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
29036
ffa3cd7f
JM
290372013-09-03 Joseph Myers <joseph@codesourcery.com>
29038
29039 [BZ #15427]
29040 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
29041 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
29042 * math/libm-test.inc (lgamma_test_data): Add more tests.
29043 * sysdeps/i386/fpu/libm-test-ulps: Update.
29044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29045
8f02859f
OB
290462013-09-03 Ondřej Bílka <neleai@seznam.cz>
29047
29048 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
29049 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29050 Add ifunc.
29051 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29052 Add strcmp-sse2-unaligned
29053 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
29054
18d43716
MF
290552013-09-02 Mike Frysinger <vapier@gentoo.org>
29056
29057 * Versions.def (libc): Add GLIBC_2.19.
29058
ac444012
MF
290592013-09-02 Mike Frysinger <vapier@gentoo.org>
29060
29061 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
29062 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
29063
b7835e32
JM
290642013-09-02 Joseph Myers <joseph@codesourcery.com>
29065
29066 [BZ #14155]
29067 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
29068 intermediate calculations in recurrence.
29069 (__ieee754_ynf): Likewise.
29070 * math/libm-test.inc (jn_test_data): Do not allow spurious
29071 underflow exception. Add more tests.
29072 (yn_test_data): Add more tests.
29073 * sysdeps/i386/fpu/libm-test-ulps: Update.
29074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29075
8220f4f0
OB
290762013-09-02 Ondřej Bílka <neleai@seznam.cz>
29077
29078 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
29079
f24a6d08
OB
290802013-08-30 Ondřej Bílka <neleai@seznam.cz>
29081
29082 * csu/init-first.c: Fix then/than typos.
29083 * locale/programs/ld-collate.c: Likewise.
29084 * locale/programs/linereader.h: Likewise.
29085 * manual/charset.texi: Likewise.
29086 * manual/filesys.texi: Likewise.
29087 * manual/stdio.texi: Likewise.
29088 * manual/string.texi: Likewise.
29089 * stdlib/fmtmsg.c: Likewise.
29090 * sysdeps/i386/stpncpy.S: Likewise.
29091 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29092 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29093 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29094 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29095
382466e0
OB
290962013-08-30 Ondřej Bílka <neleai@seznam.cz>
29097
29098 * elf/dl-open.c: Fix typos.
29099 * iconvdata/gbbig5.c: Likewise.
29100 * iconvdata/iso-2022-jp.c: Likewise.
29101 * iconv/gconv_int.h: Likewise.
29102 * iconv/loop.c: Likewise.
29103 * nis/rpcsvc/nis.h: Likewise.
29104 * resolv/ns_name.c: Likewise.
29105 * stdio-common/vfscanf.c: Likewise.
29106 * streams/stropts.h: Likewise.
29107 * sunrpc/rpc_thread.c: Likewise.
29108 * sysdeps/i386/strpbrk.S: Likewise.
29109 * sysdeps/ieee754/k_standard.c: Likewise.
29110 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29111 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29112 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
29113 * sysdeps/mach/hurd/profil.c: Likewise.
29114 * sysdeps/s390/dl-procinfo.h: Likewise.
29115 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
29116 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29117 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
29118 * sysdeps/x86_64/dl-trampoline.S: Likewise.
29119 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29120
0186c6e9
OB
291212013-08-30 Ondřej Bílka <neleai@seznam.cz>
29122
29123 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
29124 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
29125
d4e16af1
OB
291262013-08-29 Ondřej Bílka <neleai@seznam.cz>
29127
29128 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
29129 aix specific files.
29130 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
29131 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
29132 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
29133 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
29134 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
29135 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
29136 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
29137 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
29138
88335980
TS
291392013-08-29 Thomas Schwinge <thomas@codesourcery.com>
29140 Roland McGrath <roland@hack.frob.com>
29141
29142 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
29143 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
29144
ed479b02
ST
291452013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
29146
29147 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
29148 __executable_start symbol instead of _start.
29149
f1cc4c86
TS
291502013-08-29 Thomas Schwinge <thomas@codesourcery.com>
29151
d821f07c
TS
29152 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
29153 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
29154 Move macros to...
29155 * sysdeps/gnu/ldsodefs.h: ... this new file.
29156
c54290cf
TS
29157 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
29158 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
29159 instead of ELFOSABI_LINUX.
29160
0007fc9b 29161 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
29162 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
29163 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
29164 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
29165 Likewise.
29166 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
29167 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
29168 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
29169 Likewise.
29170 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29171 (ibm_extended_long_double): Add ieee_nan member.
29172 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
29173 (do_test): New function.
29174
f1cc4c86
TS
29175 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
29176 TEST_TRUNC.
29177 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
29178 functions, renamed from truncdfsf_test, trunctfsf_test,
29179 trunctfdf_test.
29180 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
29181 functions.
29182 (do_test): Run all these.
29183
6f65e668
OB
291842013-08-29 Ondřej Bílka <neleai@seznam.cz>
29185
29186 * argp/argp-help.c: Fix typos.
29187 * argp/argp-parse.c: Likewise.
29188 * debug/backtracesyms.c: Likewise.
29189 * elf/elf.h: Likewise.
29190 * malloc/malloc.c: Likewise.
29191 * nis/nis_print.c: Likewise.
29192 * resolv/res_comp.c: Likewise.
29193 * stdlib/stdlib.h: Likewise.
29194 * sunrpc/clnt_tcp.c: Likewise.
29195 * sunrpc/clnt_udp.c: Likewise.
29196 * sunrpc/clnt_unix.c: Likewise.
29197 * sysdeps/unix/bsd/ptsname.c: Likewise.
29198 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29199 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
29200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
29201 Likewise.
29202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
29203 Likewise.
29204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
29205 Likewise.
6f65e668
OB
29206 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29207
3a309239
SP
292082013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29209
29210 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
29211 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29212
3b813b29
MF
292132013-08-27 Mike Frysinger <vapier@gentoo.org>
29214
29215 [BZ #15897]
29216 * dlfcn/Makefile (tests): Add bug-dl-leaf.
29217 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
29218 ($(objpfx)bug-dl-leaf): New rule.
29219 ($(objpfx)bug-dl-leaf.so): Likewise.
29220 ($(objpfx)bug-dl-leaf.out): Likewise.
29221 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
29222 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
29223 * dlfcn/bug-dl-leaf.c: New test.
29224 * dlfcn/bug-dl-leaf-lib.c: Likewise.
29225 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
29226 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
29227 (dlclose): Likewise.
29228 (dlmopen): Likewise.
29229
8cc3269f
RM
292302013-08-27 Roland McGrath <roland@hack.frob.com>
29231
7f9d0034
RM
29232 * include/netdb.h [!_ISOMAC]:
29233 Don't include <tls.h>.
29234 (h_errno, __libc_h_errno): Move declaration and macros out of
29235 [_LIBC_REENTRANT].
29236
fb431262
RM
29237 * include/resolv.h [_RESOLV_H_]:
29238 Don't include <tls.h>.
29239 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
29240 * resolv/res_libc.c: Don't include <tls.h>.
29241 (_res): Use __attribute__ ((nocommon)) in place of
29242 __attribute__ ((section (".bss"))).
29243
bd81123a
RM
29244 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
29245 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
29246
c4e42566
RM
29247 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
29248
f890a59b
RM
29249 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
29250 only under [SIOCGIFCONF && SIOCGIFNETMASK].
29251
29252 * resolv/res_mkquery.c: Include <sys/time.h>.
29253
5d1f0a09
RM
29254 * inet/ifreq.c: Moved to ...
29255 * sysdeps/unix/ifreq.c: ... here.
29256 * inet/ifreq.c: New file, true stub version.
29257
6fcf28b3
RM
29258 * socket/sa_len.c: New file.
29259 * socket/Makefile (aux): Add it.
29260 * sysdeps/unix/sysv/linux/Makefile
29261 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
29262 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
29263 and #include <socket/sa_len.c>.
29264 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
29265 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
29266
e041fb8b
RM
29267 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
29268 * bits/socket.h: ... here.
29269
8cc3269f
RM
29270 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
29271 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
29272 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
29273
5d228a43
AS
292742013-08-27 Andreas Schwab <schwab@suse.de>
29275
45b8accc
AS
29276 [BZ #15736]
29277 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
29278 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
29279 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
29280 * string/test-strcasecmp.c (test_main): Run tests in several
29281 locales.
29282 * string/test-strncasecmp.c (test_main): Likewise.
29283
5d228a43
AS
29284 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
29285 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
29286 to __strcasecmp_nonascii and __strncasecmp_nonascii.
29287 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
29288 (__strncasecmp_ssse3) [PIC]: Likewise.
29289
59d112a4
RM
292902013-08-26 Roland McGrath <roland@hack.frob.com>
29291
53234cc3
RM
29292 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
29293
59d112a4
RM
29294 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
29295 instead of explicitly declaring xdecrypt.
29296 * nis/nss_nis/nis-publickey.c: Likewise.
29297
595aba70
SP
292982013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29299
29300 [BZ #15890]
29301 * nscd/aicache.c: Include res_hconf.h.
29302 (addhstaiX): Initialize res_hconf.
29303
ffabd393
AS
293042013-08-26 Andreas Schwab <schwab@suse.de>
29305
29306 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
29307 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
29308
e0a69f5c
SP
293092013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29310
29311 * nscd/aicache.c (addhstaiX): Fix indentation.
29312
8c12f01d
MF
293132013-08-25 Mike Frysinger <vapier@gentoo.org>
29314
29315 * configure.ac: Quote $build_pt_chown test.
29316 * configure: Regenerated.
29317
8fe89494
JM
293182013-08-23 Joseph Myers <joseph@codesourcery.com>
29319
29320 [BZ #15532]
29321 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
29322 * math/s_cexpf.c (__cexpf): Likewise.
29323 * math/s_cexpl.c (__cexpl): Likewise.
29324 * math/libm-test.inc (cexp_test_data): Correct expected return
29325 value for NaN + i0. Add another test.
29326
75b181d6
DM
293272013-08-22 David S. Miller <davem@davemloft.net>
29328
29329 * po/ca.po: Update Catalan translation from translation project.
936241e4 29330 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 29331
acd06bb1
JM
293322013-08-21 Joseph Myers <joseph@codesourcery.com>
29333
29334 [BZ #15797]
29335 * math/s_fdim.c (__fdim): Check for infinite arguments if result
29336 is infinite, not alongside NaN test.
29337 * math/s_fdimf.c (__fdimf): Likewise.
29338 * math/s_fdiml.c (__fdiml): Likewise.
29339 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
29340 errno is unchanged.
29341
c0c3f78a
OB
293422013-08-21 Ondřej Bílka <neleai@seznam.cz>
29343
29344 * argp/argp-help.c: Fix typos.
29345 * crypt/speeds.c: Likewise.
29346 * csu/check_fds.c: Likewise.
29347 * elf/dl-load.c: Likewise.
29348 * elf/dl-open.c: Likewise.
29349 * elf/reldep3.c: Likewise.
29350 * elf/reldep.c: Likewise.
29351 * elf/sprof.c: Likewise.
29352 * iconv/iconv_charmap.c: Likewise.
29353 * iconv/skeleton.c: Likewise.
29354 * iconv/strtab.c: Likewise.
29355 * io/lockf64.c: Likewise.
29356 * libio/libioP.h: Likewise.
29357 * resolv/gai_notify.c: Likewise.
29358 * resolv/ns_name.c: Likewise.
29359 * resolv/ns_samedomain.c: Likewise.
29360 * resolv/res_send.c: Likewise.
29361 * stdlib/random.c: Likewise.
29362 * sunrpc/rpc/xdr.h: Likewise.
29363 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
29364 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29365 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29366 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29367 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29368 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29369 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29370 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29371 * sysdeps/mach/hurd/check_fds.c: Likewise.
29372 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29373 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29374 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29375 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29376 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29377 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29378 * sysdeps/pthread/aio_notify.c: Likewise.
29379 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
29380 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
29381 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
29382 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29383 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29384
46ed1038
LD
293852013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29386
29387 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
29388 version if bit_Slow_SSE4_2 is set.
29389 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29390 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29391
d400dcac
AZ
293922013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29393
29394 [BZ #15867]
29395 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
29396 trampoline stack frame information.
29397 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
29398 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
29399 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
29400 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
29401 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
29402 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29403 (_libc_vdso_platform_setup): Initialize the signal trampolines.
29404 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
29405 sa_flags value.
29406 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
29407 interrupting a syscall and set with option SA_SIGINFO.
29408
42c8fdd8
JM
294092013-08-20 Joseph Myers <joseph@codesourcery.com>
29410
c980f2f4
JM
29411 [BZ #15531]
29412 * math/s_cproj.c (__cproj): Only return an infinity if one part of
29413 argument is infinite.
29414 * math/s_cprojf.c (__cprojf): Likewise.
29415 * math/s_cprojl.c (__cprojl): Likewise.
29416 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
29417 * math/libm-test.inc (cproj_test_data): Add more tests.
29418
0716c4fc
JM
29419 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
29420
42c8fdd8
JM
29421 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
29422 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
29423 size. Use __ffs to determine corresponding shift.
29424
b31469d0
JM
294252013-08-20 Joseph Myers <joseph@codesourcery.com>
29426 Roland McGrath <roland@hack.frob.com>
29427
29428 * Makefile (INSTALL): Remove trailing blank lines from output of
29429 makeinfo.
29430
4e39af6e
AK
294312013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29432
29433 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
29434 Align 32 bit compat elf_greg to 8 bytes.
29435
f315524e
AA
294362013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
29437
29438 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
29439
1326ba1a
SP
294402013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29441
29442 * string/strcoll_l.c (coll_seq): New structure.
29443 (get_next_seq_cached): New function.
29444 (get_next_seq): New function.
29445 (do_compare): New function.
29446 (STRCOLL): Use GNU style definition. Simplify implementation
29447 by using get_next_seq, get_next_seq_cached and do_compare.
29448
91ce4085
FW
294492013-08-16 Florian Weimer <fweimer@redhat.com>
29450
29451 [BZ #14699]
29452 CVE-2013-4237
29453 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
29454 member.
29455 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
29456 member.
29457 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
29458 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
29459 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
29460 conditional.
29461 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
29462 GETDENTS_64BIT_ALIGNED.
29463 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29464 * manual/filesys.texi (Reading/Closing Directory): Document
29465 ENAMETOOLONG return value of readdir_r. Recommend readdir more
29466 strongly.
29467 * manual/conf.texi (Limits for Files): Add portability note to
29468 NAME_MAX, PATH_MAX.
29469 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
29470
ca0a6bc4
AS
294712013-08-13 Andreas Schwab <schwab@suse.de>
29472
29473 [BZ #15749]
29474 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
29475 of fabs.
29476 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
29477 LDBL_MAX_EXP >= 16384]: Add tests for it.
29478
6c1fd795
DM
294792013-08-12 David S. Miller <davem@davemloft.net>
29480
29481 * version.h (RELEASE): Set to "development".
29482 (VERSION): Set to "2.18.90".
29483 * NEWS: Add 2.19 section.
29484
31ad488d
DM
294852013-08-03 David S. Miller <davem@davemloft.net>
29486
29487 * po/ko.po: Update Korean translation from translation project.
29488
db24e684
DM
294892013-08-01 David S. Miller <davem@davemloft.net>
29490
29491 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
29492 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
29493 Bilka.
29494
f723285b
DM
294952013-07-30 David S. Miller <davem@davemloft.net>
29496
29497 * po/fr.po: Update French translation from translation project.
29498
3cbc52db
DM
294992013-07-28 David S. Miller <davem@davemloft.net>
29500
30bbc0cc
DM
29501 * po/cs.po: Update Czech translation from translation project.
29502
3cbc52db
DM
29503 * po/sv.po: Update Swedish translation from translation project.
29504
d492e6d0
DM
295052013-07-27 David S. Miller <davem@davemloft.net>
29506
f1a7f492
DM
29507 * po/eo.po: Update Esperanto translation from translation project.
29508
90e62a4a
DM
29509 * po/vi.po: Update Vietnamese translation from translation project.
29510
d492e6d0
DM
29511 * po/de.po: Update German translation from translation project.
29512
d4baa62d
DM
295132013-07-26 David S. Miller <davem@davemloft.net>
29514
641aa7b4
DM
29515 * po/bg.po: Update Bulgarian translation from translation project.
29516
d4baa62d
DM
29517 * po/nl.po: Update Dutch translation from translation project.
29518 * po/pl.po: Update Polish translation from translation project.
29519 * po/ru.po: Update Russian translation from translation project.
29520
61a9dcb9
DM
295212013-07-24 David S. Miller <davem@davemloft.net>
29522
29523 * po/libc.pot: Update.
29524
7b1f8b58
AZ
295252013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29526
29527 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
29528 variable page size.
29529 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
29530 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
29531 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
29532
a8fc7a03
AK
295332013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29534
29535 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
29536
e4608715
CD
295372013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29538 Andreas Schwab <schwab@suse.de>
29539 Roland McGrath <roland@hack.frob.com>
29540 Joseph Myers <joseph@codesourcery.com>
29541 Carlos O'Donell <carlos@redhat.com>
29542
29543 [BZ #15755]
29544 * config.h.in: Define HAVE_PT_CHOWN.
29545 * config.make.in (build-pt-chown): New variable.
29546 * configure.in (--enable-pt_chown): New configure option.
29547 * configure: Regenerate.
29548 * login/Makefile: Include Makeconfig. Build pt_chown only if
29549 build-pt-chown is enabled.
29550 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
29551 pt_chown to fix pty ownership.
29552 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
29553 CLOSE_ALL_FDS.
29554 * manual/install.texi (Configuring and compiling): Mention
29555 --enable-pt_chown. Add @findex for grantpt.
29556 * INSTALL: Regenerate.
29557
da2d62df
DM
295582013-07-20 David S. Miller <davem@davemloft.net>
29559
29560 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
29561 difference between 32-bit and 64-bit.
29562
d7e06450
CD
295632013-07-15 Carlos O'Donell <carlos@redhat.com>
29564
29565 [BZ #15711]
29566 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
29567 Avoid system header dependency with -ffreestanding.
29568 ($(objpfx)bits/syscall%d): Likewise.
29569
f959cfd7
DM
295702013-07-13 David S. Miller <davem@davemloft.net>
29571
29572 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
29573 underflows from atanl/atan2l due to bug 15319.
29574 (casinh_test_data): Likewise.
29575
c61f8513
DM
295762013-07-07 David S. Miller <davem@davemloft.net>
29577
29578 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
29579
72c90ed0
JA
295802013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
29581
29582 * sysdeps/i386/fpu/libm-test-ulps: Update.
29583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29584
52dfbe13
SP
295852013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29586
29587 * configure.in (--enable-lock-elision): Fix message text.
29588 * INSTALL: Regenerate.
29589 * configure: Regenerate.
29590
3f169543
AZ
295912013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29592
29593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29594
521c6785
AJ
295952013-07-03 Andreas Jaeger <aj@suse.de>
29596
29597 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
29598 define.
29599 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
29600 (ptrace_peeksiginfo_args): Add.
29601 (__ptrace_peeksiginfo_flags): Add.
29602 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29603 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29604 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29605
d2cc15cb
AM
296062013-07-03 Allan McRae <allan@archlinux.org>
29607
29608 * sysdeps/i386/fpu/libm-test-ulps: Update.
29609
3aaeeca7
DM
296102013-07-02 David S. Miller <davem@davemloft.net>
29611
29612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29613
5314ed1a
MT
296142013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
29615
29616 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29617
67338156
JM
296182013-07-02 Joseph Myers <joseph@codesourcery.com>
29619
29620 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29622
1717da59
AK
296232013-07-02 Andi Kleen <ak@linux.intel.com>
29624
29625 * config.h.in (ENABLE_LOCK_ELISION): Add.
29626 * configure.in (--enable-lock-elision): Add option.
29627 * manual/install.texi: Document --enable lock elision.
29628 * configure: Regenerate
29629 * INSTALL: Regenerate.
29630
1c81621c
L
296312013-07-02 H.J. Lu <hongjiu.lu@intel.com>
29632
29633 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
29634 SSE4.2 strcasecmp for libc.a.
29635 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29636
77f01ab5
JM
296372013-07-02 Joseph Myers <joseph@codesourcery.com>
29638
29639 [BZ #13304]
29640 * soft-fp/op-common.h (_FP_FMA): New macro.
29641 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
29642 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
29643 (_FP_MUL_MEAT_1_imm): ... here.
29644 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
29645 (_FP_MUL_MEAT_1_wide): ... here.
29646 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
29647 (_FP_MUL_MEAT_1_hard): ... here.
29648 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
29649 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
29650 (_FP_MUL_MEAT_2_wide): ... here.
29651 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
29652 (_FP_MUL_MEAT_2_wide_3mul): ... here.
29653 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
29654 (_FP_MUL_MEAT_2_gmp): ... here.
29655 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
29656 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
29657 (_FP_MUL_MEAT_4_wide): ... here.
29658 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
29659 (_FP_MUL_MEAT_4_gmp): ... here.
29660 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
29661 (_FP_WFRACBITS_DW_S): Likewise.
29662 (_FP_WFRACXBITS_DW_S): Likewise.
29663 (_FP_HIGHBIT_DW_S): Likewise.
29664 (FP_FMA_S): Likewise.
29665 (_FP_FRAC_HIGH_DW_S): Likewise.
29666 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
29667 (_FP_WFRACBITS_DW_D): Likewise.
29668 (_FP_WFRACXBITS_DW_D): Likewise.
29669 (_FP_HIGHBIT_DW_D): Likewise.
29670 (FP_FMA_D): Likewise.
29671 (_FP_FRAC_HIGH_DW_D): Likewise.
29672 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
29673 (_FP_WFRACBITS_DW_E): Likewise.
29674 (_FP_WFRACXBITS_DW_E): Likewise.
29675 (_FP_HIGHBIT_DW_E): Likewise.
29676 (FP_FMA_E): Likewise.
29677 (_FP_FRAC_HIGH_DW_E): Likewise.
29678 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
29679 (_FP_WFRACBITS_DW_Q): Likewise.
29680 (_FP_WFRACXBITS_DW_Q): Likewise.
29681 (_FP_HIGHBIT_DW_Q): Likewise.
29682 (FP_FMA_Q): Likewise.
29683 (_FP_FRAC_HIGH_DW_Q): Likewise.
29684 * soft-fp/fmasf4.c: New file.
29685 * soft-fp/fmadf4.c: Likewise.
29686 * soft-fp/fmatf4.c: Likewise.
29687
6308fd9a
LD
296882013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29689
29690 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29691 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
29692 Silvermont.
29693 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
29694 macro.
29695 (index_Slow_SSE4_2): Likewise.
29696 (index_Prefer_PMINUB_for_stringop): Likewise.
29697 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
29698 bit_Slow_SSE4_2 is set.
29699 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29700 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29701
89cd9569
RA
297022013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29703
29704 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
29705 rtld_global._dl_hwcap2.
29706 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
29707 POWER8.
29708 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
29709 POWER8 feature descriptions defined in _dl_hwcap2.
29710 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
29711 string handling for POWER8 feature bits.
29712 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
29713 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
29714 _dl_powerpc_cap_flags.
29715 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
29716 * sysdeps/powerpc/rtld-global-offsets.sym
29717 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
29718 _dl_hwcap2 in the rtld_global_ro structure.
29719
1ae8bfe0
RA
297202013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29721
29722 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
29723 hardware capabilities in support of AT_HWCAP2.
29724 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
29725 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
29726 GLRO(dl_hwcap2).
29727 (_dl_show_auxv): Add support for calling _dl_procinfo to display
29728 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
29729 explicitly the unknown a_type display mechanism is used.
29730 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
29731 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
29732 struct member.
29733 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
29734 to macro prototype for AT_HWCAP2 support.
29735 * sysdeps/i386/dl-procinfo.h: Likewise.
29736 * sysdeps/s390/dl-procinfo.h: Likewise.
29737 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
29738 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
29739 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
29740 return -1 for unknown a_type display fallback.
29741 * sysdeps/sparc/dl-procinfo.h: Likewise.
29742 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
29743 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
29744
8fbec010
JM
297452013-06-28 Joseph Myers <joseph@codesourcery.com>
29746
29747 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
29748 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
29749
0432680e
PY
297502013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
29751
29752 [BZ #12492]
29753 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
29754 mprotect making __stack_prot writable.
29755
ce61a2ad
NF
297562013-06-28 Nathan Froyd <froydnj@codesourcery.com>
29757 Joseph Myers <joseph@codesourcery.com>
29758
29759 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
29760 as being properly aligned.
29761
f91f1c0f
MR
297622013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
29763
3d0f5d0c
MR
29764 * dlfcn/modstatic5.c: New file.
29765 * dlfcn/tststatic5.c: New file.
29766 * dlfcn/Makefile (tests): Add tststatic5.
29767 (tests-static): Likewise.
29768 (modules-names): Add modstatic5.
29769 (tststatic5-ENV): New variable.
29770 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
29771
f91f1c0f
MR
29772 [BZ #15022]
29773 * elf/dl-support.c (_dl_main_map): New variable.
29774 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
29775 (_dl_nns, _dl_load_adds): Set to 1.
29776 (_dl_initial_searchlist): Refer to _dl_main_map.
29777 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
29778 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
29779 call to _dl_get_origin.
29780 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
29781 around call_map.
29782 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
29783 * dlfcn/modstatic3.c: New file.
29784 * dlfcn/tststatic3.c: New file.
29785 * dlfcn/tststatic4.c: New file.
29786 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
29787 (tests-static): Likewise.
29788 (modules-names): Add modstatic3.
29789 (tststatic3-ENV, tststatic4-ENV): New variables.
29790 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
29791 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
29792
cbe7d24b
JM
297932013-06-26 Joseph Myers <joseph@codesourcery.com>
29794
29795 * configure.in (CC): Require GCC version 4.4 or later.
29796 * configure: Regenerated.
29797 * manual/install.texi (Tools for Compilation): Update GCC version
29798 requirement.
29799 * INSTALL: Regenerated.
29800
11b8a0e1
LD
298012013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29802
29803 [BZ #15674]
bb5bb87c
L
29804 * string/test-memcmp.c (check2): New.
29805 (main): Call check2.
29806
11b8a0e1
LD
29807 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
29808
b0037103
MR
298092013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
29810
29811 [BZ #15022]
29812 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
29813 over to...
29814 (dl_open_worker) [!SHARED]: ... here.
29815
c18c701d
RA
298162013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29817
29818 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
29819
1d17fa5f
RH
298202013-06-25 Richard Henderson <rth@redhat.com>
29821
29822 * locale/programs/locarchive.c: Include <libc-internal.h>
29823
8fcb833a
JM
298242013-06-25 Joseph Myers <joseph@codesourcery.com>
29825
29826 * manual/texinfo.tex: Update to version 2013-06-21.17, with
29827 trailing whitespace removed.
29828
17db6e8d
MF
298292013-06-24 Mike Frysinger <vapier@gentoo.org>
29830
29831 [BZ #10283]
17db6e8d
MF
29832 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
29833 * locale/programs/locarchive.c: Include libc-mmap.h.
29834 (prepare_address_space): Take two new outputs (the mmap base and len).
29835 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
29836 values.
29837 (create_archive): Declare new mmap base and len values for
29838 prepare_address_space, and store the result in ah.
29839 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
29840 (enlarge_archive): If ah->mmap_base is not NULL, use that and
29841 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29842 Declare new mmap base and len values for
29843 prepare_address_space, and store the result in new_ah.
29844 (open_archive): Declare new mmap base and len values for
29845 prepare_address_space, and store the result in ah.
29846 (close_archive): If ah->mmap_base is not NULL, use that and
29847 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29848 * sysdeps/generic/libc-mmap.h: New file.
29849
d605071e
MF
298502013-06-24 Mike Frysinger <vapier@gentoo.org>
29851
29852 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
29853 (ALIGN_UP): Likewise.
29854 (PTR_ALIGN_DOWN): Likewise.
29855 (PTR_ALIGN_UP): Likewise.
29856
2f063a6e
RA
298572013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29858
29859 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
29860 entry mapped to PPC_PLATFORM_POWER8.
29861 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
29862 POWER8.
29863 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
29864 (_dl_string_platform): Add case for exporting platform position for
29865 POWER8.
29866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
29867 search path to sysdeps/powerpc/powerpc32/power8 directory.
29868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
29869 search path to sysdeps/powerpc/powerpc64/power8 directory.
29870 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
29871 power7 directories.
29872 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
29873 power7 directories.
29874
a31ee4b3
SP
298752013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29876
a74ca98f
SP
29877 * INSTALL: Regenerate.
29878
a31ee4b3
SP
29879 * nscd/connections.c (nscd_init): Fix comment.
29880
695c378f
JM
298812013-06-22 Joseph Myers <joseph@codesourcery.com>
29882
d8412221
JM
29883 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
29884
695c378f
JM
29885 [BZ #15667]
29886 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
29887 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
29888
d1d54715
MR
298892013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
29890
29891 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
29892 DL_DST_REQ_STATIC.
29893 (DL_DST_REQ_STATIC): Remove macro.
29894
8fdda7af
JM
298952013-06-21 Joseph Myers <joseph@codesourcery.com>
29896
29897 [BZ #7006]
29898 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
29899 with a shift of 0 bits.
29900
f3bc5e5a
MR
299012013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
29902
29903 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
29904 $(tststatic-ENV).
29905
be09e8c9
KK
299062013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29907
29908 [BZ #15655]
29909 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
29910
85c2e611
AZ
299112013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29912
29913 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
29914 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
29915 accepts -fno-tree-loop-distribute-patterns.
29916 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
29917 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
29918 recursive call.
29919 * string/memset.c (memset): Likewise.
29920 * string/test-memmove.c (simple_memmove): Disable loop transformation
29921 to library calls.
29922 * string/test-memset.c (simple_memset): Likewise.
29923 * benchtests/bench-memmove.c (simple_memmove): Likewise.
29924 * benchtests/bench-memset.c (simple_memset): Likewise.
29925 * configure: Regenerated.
29926
c91e0825
JM
299272013-06-20 Joseph Myers <joseph@codesourcery.com>
29928
b8c792af
JM
29929 * math/test-misc.c (main): Ignore fesetround failure when failures
29930 of subsequent rounding tests would be ignored.
29931
c91e0825
JM
29932 [BZ #15654]
29933 * math/fedisblxcpt.c (fedisableexcept): Return 0.
29934 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
29935 * math/fegetenv.c (__fegetenv): Return 0.
29936 * math/fegetexcept.c (fegetexcept): Return 0.
29937 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
29938 FE_TONEAREST.
29939 * math/feholdexcpt.c (feholdexcept): Return 0.
29940 * math/fesetenv.c (__fesetenv): Return 0.
29941 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
29942 argument FE_TONEAREST.
29943 * math/feupdateenv.c (__feupdateenv): Return 0.
29944 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
29945
bfcacbde
RM
299462013-06-18 Roland McGrath <roland@hack.frob.com>
29947
29948 * elf/rtld-Rules (rtld-compile-command.S): New variable.
29949 (rtld-compile-command.s, rtld-compile-command.c): New variables.
29950 ($(objpfx)rtld-%.os rules): Use them.
29951
e55a9b25
AZ
299522013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29953
29954 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
29955 fields.
29956
346d65b3
RM
299572013-06-17 Roland McGrath <roland@hack.frob.com>
29958
12086fb4
RM
29959 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
29960 length of target pattern, then descending length of dependency pattern.
29961 * configure.in (AWK): Require gawk 3.1.2 or newer.
29962 * manual/install.texi (Tools for Compilation): Say that we do.
29963 * configure: Regenerated.
29964
346d65b3
RM
29965 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
29966 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
29967 * scripts/sysd-rules.awk: ... this new script.
29968 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
29969 than a glob-style pattern.
29970
1a846317
JM
299712013-06-17 Joseph Myers <joseph@codesourcery.com>
29972
29973 * math/test-misc.c (main): Do not treat incorrectly rounded
29974 conversions as failure unless ROUNDING_TESTS passes.
29975
8fc75e6f
JM
299762013-06-15 Joseph Myers <joseph@codesourcery.com>
29977
3711a167
JM
29978 [BZ #15631]
29979 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
29980 restore exception state around main square root computation, then
29981 check for inexactness explicitly.
29982
8fc75e6f
JM
29983 * math/libm-test.inc (fma_test_data): Add another test.
29984
61dd6208
SP
299852013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29986
adf23d2c
SP
29987 * manual/threads.texi (Non-POSIX Extensions): New document
29988 node. Document pthread_getattr_default_np and
29989 pthread_setattr_default_np.
29990
61dd6208
SP
29991 * Versions.def (libpthread): Add GLIBC_2.18.
29992 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
29993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29994 Likewise.
29995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29996 Likewise.
29997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29998 Likewise.
29999 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30000 Likewise.
30001 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
30002 Likewise.
30003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30004 Likewise.
30005 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30006 Likewise.
30007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30008 Likewise.
30009 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30010 Likewise.
30011
d086fc7b
LD
300122013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30013
30014 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30015 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
30016
747ef469
SP
300172013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30018 H.J. Lu <hjl.tools@gmail.com>
30019
30020 [BZ #15627]
30021 * sysdeps/x86_64/rtld-memset.c: Remove file.
30022 * sysdeps/x86_64/rtld-memset.S: New file.
30023
1b2feed2
JM
300242013-06-14 Joseph Myers <joseph@codesourcery.com>
30025
30026 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
30027 (test_in_one_mode): Take arguments for whether the rounding mode
30028 is supported for each floating-point type.
30029 (do_test): Pass new arguments to test_in_one_mode using
30030 ROUNDING_TESTS.
30031
a58ad3f8
RM
300322013-06-13 Roland McGrath <roland@hack.frob.com>
30033
30034 * posix/tst-waitid.c (do_test): Distinguish different instances of
30035 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
30036 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
30037 before entering the kernel for waitpid.
30038
c204ab28
SP
300392013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30040
30041 * NEWS: Fix note on clock function precision. Text by Roland
30042 McGrath.
30043
f4a29fba
RM
300442013-06-13 Roland McGrath <roland@hack.frob.com>
30045
30046 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
30047 it into place only when and if the sanity check passes.
30048
1f24b9ad
JM
300492013-06-13 Joseph Myers <joseph@codesourcery.com>
30050
30051 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
30052 output for whether conversion result is exact. Take argument
30053 indicating whether type is IBM long double.
30054 (round_for_all): Change need_exact field to ibm_ld.
30055 * stdlib/tst-strtod-round.c (struct exactness): New type.
30056 (struct test): Change bool ld_ok field to struct exactness exact.
30057 (TEST): Update all definitions for change to field.
30058 (tests): Regenerate array contents.
30059 (test_in_one_mode): Take pointer to new field instead of old ld_ok
30060 field value. Check for IBM long double here.
30061 (do_test): Update calls to test_in_one_mode.
30062
58206c68
SP
300632013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30064
30065 [BZ #12515]
30066 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
30067 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
30068
2d6f4c5b 300692013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
30070
30071 [BZ #15605]
30072 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
30073 generated by the compiler on loop optimizations.
30074 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
30075 general definitions.
30076
94f2c076
JM
300772013-06-12 Joseph Myers <joseph@codesourcery.com>
30078
30079 * math/bug-nextafter.c: Include <math-tests.h>.
30080 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30081 the relevant type.
30082 * math/bug-nexttoward.c: Include <math-tests.h>.
30083 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30084 the relevant type.
30085 * math/test-misc.c: Include <math-tests.h>.
30086 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30087 the relevant type.
30088
e0e50a0a
AJ
300892013-06-12 Andreas Jaeger <aj@suse.de>
30090
30091 * po/ia.po: Update Interlingua translation from translation
30092 project.
30093
25061094
SP
300942013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30095
30096 * include/fenv.h: Include stdbool.h.
30097 (struct rm_ctx): New structure.
30098 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
30099 Define macro.
30100 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
30101 (SET_RESTORE_ROUNDF): Likewise.
30102 (SET_RESTORE_ROUNDL): Likewise.
30103 (SET_RESTORE_ROUND_NOEX): Likewise.
30104 (SET_RESTORE_ROUND_NOEXF): Likewise.
30105 (SET_RESTORE_ROUND_NOEXL): Likewise.
30106 (SET_RESTORE_ROUND_53BIT): Likewise.
30107 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
30108 (libc_feresetround_noexf_ctx): Likewise.
30109 (libc_feresetround_noexl_ctx): Likewise.
30110 (libc_feholdsetround_53bit_ctx): Likewise.
30111 (libc_feresetround_53bit_ctx): Likewise.
30112 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
30113 (libc_feholdexcept_setround_sse_ctx): New function.
30114 (libc_fesetenv_sse_ctx): Likewise.
30115 (libc_feupdateenv_sse_ctx): Likewise.
30116 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
30117 (libc_feholdexcept_setround_387_ctx): Likewise.
30118 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
30119 (libc_feholdsetround_387_prec_ctx): Likewise.
30120 (libc_feholdsetround_387_ctx): Likewise.
30121 (libc_feholdsetround_387_53bit_ctx): Likewise.
30122 (libc_feholdsetround_sse_ctx): Likewise.
30123 (libc_feresetround_sse_ctx): Likewise.
30124 (libc_feresetround_387_ctx): Likewise.
30125 (libc_feupdateenv_387_ctx): Likewise.
30126 (libc_feholdexcept_setroundf_ctx): Define macro.
30127 (libc_fesetenvf_ctx): Likewise.
30128 (libc_feupdateenvf_ctx): Likewise.
30129 (libc_feholdsetroundf_ctx): Likewise.
30130 (libc_feresetroundf_ctx): Likewise.
30131 (libc_feholdexcept_setround_ctx): Likewise.
30132 (libc_fesetenv_ctx): Likewise.
30133 (libc_feupdateenv_ctx): Likewise.
30134 (libc_feholdsetround_ctx): Likewise.
30135 (libc_feresetround_ctx): Likewise.
30136 (libc_feholdexcept_setroundl_ctx): Likewise.
30137 (libc_feupdateenvl_ctx): Likewise.
30138 (libc_feholdsetroundl_ctx): Likewise.
30139 (libc_feresetroundl_ctx): Likewise.
30140 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
30141 (libc_feresetround_53bit_ctx): Likewise.
30142
59b30555
SP
301432013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30144
30145 * locale/iso-639.def: Convert to UTF-8.
30146
f1d73d30
JM
301472013-06-11 Joseph Myers <joseph@codesourcery.com>
30148
30149 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
30150 (EXCEPTION_TESTS_double): Likewise.
30151 (EXCEPTION_TESTS_long_double): Likewise.
30152 (EXCEPTION_TESTS): Likewise.
30153 * math/libm-test.inc (test_exceptions): Only test exceptions if
30154 EXCEPTION_TESTS (FLOAT).
30155
94aca5e7
SP
301562013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30157
30158 * benchtests/Makefile (string-bench): Add strcpy_chk and
30159 stpcpy_chk.
30160 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
30161 * benchtests/bench-stpcpy_chk.c: New file.
30162 * benchtests/bench-strcpy_chk-ifunc.c: New file.
30163 * benchtests/bench-strcpy_chk.c: New file.
30164 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
30165 code.
30166 (do_test): Likewise.
30167
fac0c5f2
RA
301682013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30169
30170 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
30171 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
30172 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
30173 with tabs where appropriate.
30174 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
30175 dl-procinfo.h.
30176 [PPC_PLATFORM_PPC440]: Likewise.
30177 [PPC_PLATFORM_PPC464]: Likewise.
30178 [PPC_PLATFORM_PPC476]: Likewise.
30179 (_dl_string_platform): Add support for detecting ppc405, ppc440,
30180 ppc464, and ppc476 platform strings merging from ports/
30181 dl-procinfo.h.
30182
f22bc486
AS
301832013-06-11 Andreas Schwab <schwab@suse.de>
30184
30185 [BZ #14991]
30186 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
30187 (from_ucs4_idx): Regenerate.
30188 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
30189 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
30190 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
30191 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
30192 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
30193 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
30194 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
30195 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
30196 from FROM_LOOP and TO_LOOP specific macros.
30197 (BODY): Handle combining characters.
30198 * iconvdata/BIG5HKSCS.irreversible: Update.
30199 * iconvdata/BIG5HKSCS.precomposed: New file.
30200 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
30201 characters.
30202 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
30203
c1f75dc3
SP
302042013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30205
4eacded2
SP
30206 * include/sys/time.h: Fix indentation and add copyright header.
30207
fec799f8
SP
30208 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
30209 (do_test): Likewise.
30210 * string/test-memchr.c (do_one_test): Likewise.
30211 (do_test): Likewise.
30212 * string/test-memcmp.c (do_one_test): Likewise.
30213 (do_test): Likewise.
30214 * string/test-memcpy.c (do_one_test): Likewise.
30215 (do_test): Likewise.
30216 * string/test-memmem.c (do_one_test): Likewise.
30217 (do_test): Likewise.
30218 (do_random_tests): Likewise.
30219 * string/test-memmove.c (do_one_test): Likewise.
30220 (do_test): Likewise.
30221 * string/test-memset.c (do_one_test): Likewise.
30222 (do_test): Likewise.
30223 * string/test-rawmemchr.c (do_one_test): Likewise.
30224 (do_test): Likewise.
30225 * string/test-strcasecmp.c (do_one_test): Likewise.
30226 (do_test): Likewise.
30227 * string/test-strcasestr.c (do_one_test): Likewise.
30228 (do_test): Likewise.
30229 * string/test-strcat.c (do_one_test): Likewise.
30230 (do_test): Likewise.
30231 * string/test-strchr.c (do_one_test): Likewise.
30232 (do_test): Likewise.
30233 * string/test-strcmp.c (do_one_test): Likewise.
30234 (do_test): Likewise.
30235 * string/test-strcpy.c (do_one_test): Likewise.
30236 (do_test): Likewise.
30237 * string/test-string.h: Likewise.
30238 (test_init): Likewise.
30239 * string/test-strlen.c (do_one_test): Likewise.
30240 (do_test): Likewise.
30241 * string/test-strncasecmp.c (do_one_test): Likewise.
30242 (do_test): Likewise.
30243 * string/test-strncat.c (do_one_test): Likewise.
30244 (do_test): Likewise.
30245 * string/test-strncmp.c (do_one_test): Likewise.
30246 (do_test_limit): Likewise.
30247 (do_test): Likewise.
30248 * string/test-strncpy.c (do_one_test): Likewise.
30249 (do_test): Likewise.
30250 * string/test-strnlen.c (do_one_test): Likewise.
30251 (do_test): Likewise.
30252 * string/test-strpbrk.c (do_one_test): Likewise.
30253 (do_test): Likewise.
30254 * string/test-strrchr.c (do_one_test): Likewise.
30255 (do_test): Likewise.
30256 * string/test-strspn.c (do_one_test): Likewise.
30257 (do_test): Likewise.
30258 * string/test-strstr.c (do_one_test): Likewise.
30259 (do_test): Likewise.
30260
97020474
SP
30261 * benchtests/Makefile (string-bench): Add string benchmarks.
30262 * benchtests/bench-bcopy-ifunc.c: New file.
30263 * benchtests/bench-bcopy.c: New file.
30264 * benchtests/bench-bzero-ifunc.c: New file.
30265 * benchtests/bench-bzero.c: New file.
30266 * benchtests/bench-memccpy-ifunc.c: New file.
30267 * benchtests/bench-memccpy.c: New file.
30268 * benchtests/bench-memchr-ifunc.c: New file.
30269 * benchtests/bench-memchr.c: New file.
30270 * benchtests/bench-memcmp-ifunc.c: New file.
30271 * benchtests/bench-memcmp.c: New file.
30272 * benchtests/bench-memmem-ifunc.c: New file.
30273 * benchtests/bench-memmem.c: New file.
30274 * benchtests/bench-memmove-ifunc.c: New file.
30275 * benchtests/bench-memmove.c: New file.
30276 * benchtests/bench-mempcpy-ifunc.c: New file.
30277 * benchtests/bench-mempcpy.c: New file.
30278 * benchtests/bench-memset-ifunc.c: New file.
30279 * benchtests/bench-memset.c: New file.
30280 * benchtests/bench-rawmemchr-ifunc.c: New file.
30281 * benchtests/bench-rawmemchr.c: New file.
30282 * benchtests/bench-stpcpy-ifunc.c: New file.
30283 * benchtests/bench-stpcpy.c: New file.
30284 * benchtests/bench-stpncpy-ifunc.c: New file.
30285 * benchtests/bench-stpncpy.c: New file.
30286 * benchtests/bench-strcasecmp-ifunc.c: New file.
30287 * benchtests/bench-strcasecmp.c: New file.
30288 * benchtests/bench-strcasestr-ifunc.c: New file.
30289 * benchtests/bench-strcasestr.c: New file.
30290 * benchtests/bench-strcat-ifunc.c: New file.
30291 * benchtests/bench-strcat.c: New file.
30292 * benchtests/bench-strchr-ifunc.c: New file.
30293 * benchtests/bench-strchr.c: New file.
30294 * benchtests/bench-strchrnul-ifunc.c: New file.
30295 * benchtests/bench-strchrnul.c: New file.
30296 * benchtests/bench-strcmp-ifunc.c: New file.
30297 * benchtests/bench-strcmp.c: New file.
30298 * benchtests/bench-strcpy-ifunc.c: New file.
30299 * benchtests/bench-strcpy.c: New file.
30300 * benchtests/bench-strcspn-ifunc.c: New file.
30301 * benchtests/bench-strcspn.c: New file.
30302 * benchtests/bench-strlen-ifunc.c: New file.
30303 * benchtests/bench-strlen.c: New file.
30304 * benchtests/bench-strncasecmp-ifunc.c: New file.
30305 * benchtests/bench-strncasecmp.c: New file.
30306 * benchtests/bench-strncat-ifunc.c: New file.
30307 * benchtests/bench-strncat.c: New file.
30308 * benchtests/bench-strncmp-ifunc.c: New file.
30309 * benchtests/bench-strncmp.c: New file.
30310 * benchtests/bench-strncpy-ifunc.c: New file.
30311 * benchtests/bench-strncpy.c: New file.
30312 * benchtests/bench-strnlen-ifunc.c: New file.
30313 * benchtests/bench-strnlen.c: New file.
30314 * benchtests/bench-strpbrk-ifunc.c: New file.
30315 * benchtests/bench-strpbrk.c: New file.
30316 * benchtests/bench-strrchr-ifunc.c: New file.
30317 * benchtests/bench-strrchr.c: New file.
30318 * benchtests/bench-strspn-ifunc.c: New file.
30319 * benchtests/bench-strspn.c: New file.
30320 * benchtests/bench-strstr-ifunc.c: New file.
30321 * benchtests/bench-strstr.c: New file.
30322
c1f75dc3
SP
30323 * benchtests/Makefile: Disable parallel execution of targets.
30324 (string-bench): Add memcpy.
30325 (benchset): New variable to store a list of benchmark sets.
30326 (bench-func): Renamed from bench.
30327 (bench-set): New target.
30328 (bench): Depend on bench-func and bench-set.
30329 * benchtests/README: Add section on benchmark sets.
30330 * benchtests/bench-memcpy-ifunc.c: New file.
30331 * benchtests/bench-memcpy.c: New file.
30332 * benchtests/bench-string.h: New file.
30333
50fd745b
AS
303342013-06-11 Andreas Schwab <schwab@suse.de>
30335
30336 [BZ #15577]
30337 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
30338 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
30339 values in the triple.
30340 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
30341 terminator in the group key.
30342
3ee7e9fe
AJ
303432013-06-11 Andreas Jaeger <aj@suse.de>
30344
30345 * po/zh_TW.po: Update Chinese (traditional) translation from
30346 translation project.
30347
89fb6835
SP
303482013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30349
30350 * include/time.h (__clock_gettime): Add libc_hidden_proto.
30351 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
30352 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
30353 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30354 (clock_getcpuclockid): Likewise.
30355 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
30356 Add weak_alias and libc_hidden_def.
30357 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
30358 * rt/clock_gettime.c (clock_gettime): Rename to
30359 __clock_gettime. Add weak_alias and libc_hidden_def.
30360 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
30361 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
30362 __clock_nanosleep. Add weak_alias and libc_hidden_def.
30363 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
30364 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
30365 Likewise.
30366 * rt/clock_settime.c (clock_settime): Rename to
30367 __clock_settime. Add weak_alias and libc_hidden_def.
30368 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
30369
0efa6f8b
JM
303702013-06-10 Joseph Myers <joseph@codesourcery.com>
30371
b8c61b4b
JM
30372 * mach/err_boot.sub: Remove trailing whitespace.
30373 * mach/err_ipc.sub: Likewise.
30374 * mach/err_mach.sub: Likewise.
30375
0efa6f8b
JM
30376 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
30377 (ROUNDING_TESTS_double): Likewise.
30378 (ROUNDING_TESTS_long_double): Likewise.
30379 (ROUNDING_TESTS): Likewise.
30380 * math/libm-test.inc: Include <math-tests.h>.
30381 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
30382 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30383 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30384 (IF_ROUND_INIT_FE_UPWARD): Likewise.
30385
50b818bf
SP
303862013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30387
30388 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
30389 of assigning.
30390
60d2f8f3
JM
303912013-06-08 Joseph Myers <joseph@codesourcery.com>
30392
4902d2c3
JM
30393 * sysdeps/gnu/errlist.awk: Do not generate space at end of
30394 otherwise empty TRANS lines.
30395 * sysdeps/gnu/errlist.c: Regenerated.
30396
60d2f8f3
JM
30397 * catgets/gencat.c (error_print): Use (void) in function
30398 definition.
30399 * crypt/crypt_util.c (__init_des): Likewise.
30400 * crypt/speeds.c (Stop): Likewise.
30401 (main): Likewise.
30402 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
30403 * inet/ruserpass.c (token): Likewise.
30404 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
30405 * intl/localealias.c (extend_alias_table): Likewise.
30406 * intl/plural-exp.c (init_germanic_plural): Likewise.
30407 * libio/fcloseall.c (__fcloseall): Likewise.
30408 * libio/genops.c (_IO_flush_all): Likewise.
30409 (_IO_flush_all_linebuffered): Likewise.
30410 (_IO_cleanup): Likewise.
30411 (_IO_iter_begin): Likewise.
30412 (_IO_iter_end): Likewise.
30413 (_IO_list_lock): Likewise.
30414 (_IO_list_unlock): Likewise.
30415 (_IO_list_resetlock): Likewise.
30416 * libio/getchar.c (getchar): Likewise.
30417 * libio/getchar_u.c (getchar_unlocked): Likewise.
30418 * libio/getwchar.c (getwchar): Likewise.
30419 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
30420 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
30421 * login/getpt.c (__getpt): Likewise.
30422 * login/tst-utmp.c (main): Likewise.
30423 * malloc/hooks.c (__malloc_check_init): Likewise.
30424 * malloc/malloc.c (__malloc_stats): Likewise.
30425 * malloc/mtrace.c (tr_break): Likewise.
30426 (mtrace): Likewise.
30427 (muntrace): Likewise.
30428 * misc/fstab.c (endfsent): Likewise.
30429 * misc/getclktck.c (__getclktck): Likewise.
30430 * misc/getdtsz.c (__getdtablesize): Likewise.
30431 * misc/gethostid.c (gethostid): Likewise.
30432 * misc/getpagesize.c (__getpagesize): Likewise.
30433 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
30434 (__get_nprocs): Likewise.
30435 (__get_phys_pages): Likewise.
30436 (__get_avphys_pages): Likewise.
30437 * misc/getttyent.c (getttyent): Likewise.
30438 (setttyent): Likewise.
30439 (endttyent): Likewise.
30440 * misc/getusershell.c (getusershell): Likewise.
30441 (endusershell): Likewise.
30442 (setusershell): Likewise.
30443 (initshells): Likewise.
30444 * misc/hsearch.c (__hdestroy): Likewise.
30445 * misc/sync.c (sync): Likewise.
30446 * misc/syslog.c (closelog_internal): Likewise.
30447 (closelog): Likewise.
30448 * misc/ttyslot.c (ttyslot): Likewise.
30449 * misc/vhangup.c (vhangup): Likewise.
30450 * posix/fork.c (__fork): Likewise.
30451 * posix/getegid.c (__getegid): Likewise.
30452 * posix/geteuid.c (__geteuid): Likewise.
30453 * posix/getgid.c (__getgid): Likewise.
30454 * posix/getpid.c (__getpid): Likewise.
30455 * posix/getppid.c (__getppid): Likewise.
30456 * posix/getuid.c (__getuid): Likewise.
30457 * posix/pause.c (pause): Likewise.
30458 * posix/setpgrp.c (setpgrp): Likewise.
30459 * posix/setsid.c (__setsid): Likewise.
30460 * posix/test-vfork.c (noop): Likewise.
30461 * resolv/gethnamaddr.c (_endhtent): Likewise.
30462 (_gethtent): Likewise.
30463 (ht_endhostent): Likewise.
30464 (gethostent): Likewise.
30465 (dns_service): Likewise.
30466 * stdlib/drand48.c (drand48): Likewise.
30467 * stdlib/lrand48.c (lrand48): Likewise.
30468 * stdlib/mrand48.c (mrand48): Likewise.
30469 * stdlib/rand.c (rand): Likewise.
30470 * stdlib/random.c (__random): Likewise.
30471 * stdlib/setenv.c (clearenv): Likewise.
30472 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
30473 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
30474 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
30475 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
30476 (__get_nprocs): Likewise.
30477 (__get_phys_pages): Likewise.
30478 (__get_avphys_pages): Likewise.
30479 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
30480 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
30481 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
30482 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
30483 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
30484 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
30485 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
30486 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
30487 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
30488 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
30489 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
30490 * sysdeps/mach/hurd/sync.c (sync): Likewise.
30491 * sysdeps/posix/clock.c (clock): Likewise.
30492 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
30493 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
30494 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
30495 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30496 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
30497 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30498 (__get_nprocs_conf): Likewise.
30499 (__get_phys_pages): Likewise.
30500 (__get_avphys_pages): Likewise.
30501 * time/clock.c (clock): Likewise.
30502 * time/tzset.c (__tzname_max): Likewise.
30503
2e09a79a
JM
305042013-06-07 Joseph Myers <joseph@codesourcery.com>
30505
30506 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
30507 (__bswap_32): Do not use "register".
30508 * crypt/crypt.c (_ufc_doit_r): Likewise.
30509 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
30510 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
30511 * gmon/gmon.c (__monstartup): Likewise.
30512 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
30513 * hurd/hurdmalloc.c (more_memory): Likewise.
30514 (malloc): Likewise.
30515 (free): Likewise.
30516 (realloc): Likewise.
30517 (malloc_fork_prepare): Likewise.
30518 (malloc_fork_parent): Likewise.
30519 (malloc_fork_child): Likewise.
30520 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
30521 (_svcauth_des): Likewise.
30522 * inet/inet_lnaof.c (inet_lnaof): Likewise.
30523 * inet/inet_net.c (inet_network): Likewise.
30524 * inet/inet_netof.c (inet_netof): Likewise.
30525 * inet/rcmd.c (__validuser2_sa): Likewise.
30526 * io/fts.c (fts_open): Likewise.
30527 (fts_load): Likewise.
30528 (fts_close): Likewise.
30529 (fts_read): Likewise.
30530 (fts_children): Likewise.
30531 (fts_build): Likewise.
30532 (fts_stat): Likewise.
30533 (fts_sort): Likewise.
30534 (fts_alloc): Likewise.
30535 (fts_lfree): Likewise.
30536 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
30537 (_IO_file_xsgetn): Likewise.
30538 (_IO_file_xsgetn_mmap): Likewise.
30539 * libio/iofopncook.c (_IO_cookie_read): Likewise.
30540 (_IO_cookie_write): Likewise.
30541 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
30542 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
30543 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
30544 * malloc/obstack.c (_obstack_begin): Likewise.
30545 (_obstack_begin_1): Likewise.
30546 (_obstack_newchunk): Likewise.
30547 (_obstack_allocated_p): Likewise.
30548 (obstack_free): Likewise.
30549 (_obstack_memory_used): Likewise.
30550 * misc/getttyent.c (getttynam): Likewise.
30551 (getttyent): Likewise.
30552 (skip): Likewise.
30553 (value): Likewise.
30554 * misc/getusershell.c (initshells): Likewise.
30555 * misc/syslog.c (__vsyslog_chk): Likewise.
30556 * misc/ttyslot.c (ttyslot): Likewise.
30557 * nis/nis_hash.c (__nis_hash): Likewise.
30558 * posix/fnmatch_loop.c (FCT): Likewise.
30559 * posix/getconf.c (print_all): Likewise.
30560 (main): Likewise.
30561 * posix/getopt.c (exchange): Likewise.
30562 * posix/glob.c (globfree): Likewise.
30563 (prefix_array): Likewise.
30564 (__glob_pattern_type): Likewise.
30565 * resolv/arpa/nameser.h (NS_GET16): Likewise.
30566 (NS_GET32): Likewise.
30567 (NS_PUT16): Likewise.
30568 (NS_PUT32): Likewise.
30569 * resolv/gethnamaddr.c (getanswer): Likewise.
30570 (gethostbyname2): Likewise.
30571 (gethostbyaddr): Likewise.
30572 (_gethtent): Likewise.
30573 (_gethtbyname2): Likewise.
30574 (_gethtbyaddr): Likewise.
30575 * resolv/ns_print.c (dst_s_get_int16): Likewise.
30576 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
30577 * resolv/res_init.c (__res_vinit): Likewise.
30578 (net_mask): Likewise.
30579 * resolv/res_mkquery.c (outchar): Likewise.
30580 (PRINT): Likewise.
30581 * stdio-common/printf_fp.c (outchar): Likewise.
30582 (PRINT): Likewise.
30583 * stdio-common/printf_fphex.c (outchar): Likewise.
30584 (PRINT): Likewise.
30585 * stdio-common/printf_size.c (outchar): Likewise.
30586 (PRINT): Likewise.
30587 * stdio-common/test_rdwr.c (main): Likewise.
30588 * stdio-common/tfformat.c (matches): Likewise.
30589 * stdio-common/vfprintf.c (outchar): Likewise.
30590 (printf_unknown): Likewise.
30591 (buffered_vfprintf): Likewise.
30592 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
30593 * stdio-common/xbug.c (AppendToBuffer): Likewise.
30594 (ReadFile): Likewise.
30595 * stdlib/qsort.c (SWAP): Likewise.
30596 (_quicksort): Likewise.
30597 * stdlib/setenv.c (__add_to_environ): Likewise.
30598 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
30599 * stdlib/strtol_l.c (__strtol_l): Likewise.
30600 * stdlib/tst-strtod.c (main): Likewise.
30601 * stdlib/tst-strtol.c (main): Likewise.
30602 * stdlib/tst-strtoll.c (main): Likewise.
30603 * string/bits/string2.h (__strcmp_cc): Likewise.
30604 (__strcmp_cg): Likewise.
30605 (__strcspn_c1): Likewise.
30606 (__strcspn_c2): Likewise.
30607 (__strcspn_c3): Likewise.
30608 (__strspn_c1): Likewise.
30609 (__strspn_c2): Likewise.
30610 (__strspn_c3): Likewise.
30611 (__strsep_1c): Likewise.
30612 (__strsep_2c): Likewise.
30613 (__strsep_3c): Likewise.
30614 * string/memccpy.c (__memccpy): Likewise.
30615 * string/stpcpy.c (__stpcpy): Likewise.
30616 * string/strcmp.c (strcmp): Likewise.
30617 * string/strrchr.c (strrchr): Likewise.
30618 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
30619 Likewise.
30620 * sysdeps/mach/hurd/getcwd.c
30621 (_hurd_canonicalize_directory_name_internal): Likewise.
30622 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
30623 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
30624 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
30625 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
30626 Likewise, in both definitions.
30627 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
30628 definitions.
30629 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
30630 64] (__bswap_64): Likewise.
30631 * time/test_time.c (main): Likewise.
30632 * time/tzfile.c (__tzfile_read): Likewise.
30633 (__tzfile_compute): Likewise.
30634 * time/tzset.c (__tzset_parse_tz): Likewise.
30635 (tzset_internal): Likewise.
30636 (compute_change): Likewise.
30637 * wcsmbs/wcscat.c (__wcscat): Likewise.
30638 * wcsmbs/wcschr.c (wcschr): Likewise.
30639 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
30640 * wcsmbs/wcscspn.c (wcscspn): Likewise.
30641 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
30642 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
30643 * wcsmbs/wcsspn.c (wcsspn): Likewise.
30644 * wcsmbs/wcsstr.c (wcsstr): Likewise.
30645 * wcsmbs/wmemchr.c (wmemchr): Likewise.
30646 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30647 * wcsmbs/wmemset.c (wmemset): Likewise.
30648
9e54314b
JM
306492013-06-06 Joseph Myers <joseph@codesourcery.com>
30650
30651 * scripts/config.guess: Update to version 2013-05-16.
30652 * scripts/config.sub: Update to version 2013-04-24.
30653 * scripts/install-sh: Update to version 2011-11-20.07.
30654 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
30655 * scripts/move-if-change: Update to version 2012-01-06 07:23.
30656
350635a5
OB
306572013-06-06 Ondřej Bílka <neleai@seznam.cz>
30658
30659 * debug/fgetws_u_chk.c: Fix leading whitespaces.
30660 * elf/sln.c: Likewise.
30661 * hurd/hurd/ioctl.h: Likewise.
30662 * hurd/hurdmalloc.c: Likewise.
30663 * hurd/xattr.c: Likewise.
30664 * include/shlib-compat.h: Likewise.
30665 * inet/ruserpass.c: Likewise.
30666 * libio/iofgets_u.c: Likewise.
30667 * libio/iofgetws_u.c: Likewise.
30668 * locale/programs/ld-identification.c: Likewise.
30669 * locale/programs/ld-time.c: Likewise.
30670 * mach/msg-destroy.c: Likewise.
30671 * nss/nss_files/files-netgrp.c: Likewise.
30672 * resolv/res_data.c: Likewise.
30673 * soft-fp/op-1.h: Likewise.
30674 * soft-fp/op-2.h: Likewise.
30675 * soft-fp/op-4.h: Likewise.
30676 * soft-fp/op-common.h: Likewise.
30677 * stdio-common/printf_fphex.c: Likewise.
30678 * stdlib/strtod_l.c: Likewise.
30679 * sunrpc/rpc/clnt.h: Likewise.
30680 * sysdeps/generic/framestate.c: Likewise.
30681 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30682 * sysdeps/i386/bsd-setjmp.S: Likewise.
30683 * sysdeps/i386/__longjmp.S: Likewise.
30684 * sysdeps/i386/setjmp.S: Likewise.
30685 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30686 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30687 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30688 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30689 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30690 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30691 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30692 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30693 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30694 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30695 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30696 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30697 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30698 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30699 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30700 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30701 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30702 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
30703 * sysdeps/ieee754/support.c: Likewise.
30704 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30705 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
30706 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
30707 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
30708 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
30709 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
30710 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
30711 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
30712 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
30713 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
30714 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
30715 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
30716 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
30717 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
30718 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
30719 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
30720 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30722
44a988af
OB
307232013-06-05 Ondřej Bílka <neleai@seznam.cz>
30724
25506f09 30725 * posix/transbug.c: Remove executable mode.
44a988af 30726
9c84384c
JM
307272013-06-05 Joseph Myers <joseph@codesourcery.com>
30728
30729 * crypt/speeds.c: Remove trailing whitespace.
30730 * dlfcn/default.c: Likewise.
30731 * elf/ifuncdep2.c: Likewise.
30732 * elf/ifuncmain1.c: Likewise.
30733 * elf/ifuncmain1vis.c: Likewise.
30734 * elf/testobj.h: Likewise.
30735 * elf/tst-stackguard1.c: Likewise.
30736 * gmon/sys/gmon.h: Likewise.
30737 * hurd/hurdmsg.c: Likewise.
30738 * hurd/new-fd.c: Likewise.
30739 * hurd/ports-get.c: Likewise.
30740 * iconvdata/ibm1008_420.c: Likewise.
30741 * inet/tst-getni1.c: Likewise.
30742 * inet/tst-getni2.c: Likewise.
30743 * libio/ioungetc.c: Likewise.
30744 * libio/wfiledoalloc.c: Likewise.
30745 * manual/libm-err-tab.pl: Likewise.
30746 * math/w_dremf.c: Likewise.
30747 * misc/ftruncate.c: Likewise.
30748 * posix/bug-glob2.c: Likewise.
30749 * posix/tst-pcre.c: Likewise.
30750 * posix/wait4.c: Likewise.
30751 * resolv/README: Likewise.
30752 * resolv/res_debug.h: Likewise.
30753 * resolv/tst-inet_ntop.c: Likewise.
30754 * setjmp/bug269-setjmp.c: Likewise.
30755 * soft-fp/extended.h: Likewise.
30756 * soft-fp/op-1.h: Likewise.
30757 * soft-fp/op-2.h: Likewise.
30758 * soft-fp/op-4.h: Likewise.
30759 * soft-fp/op-8.h: Likewise.
30760 * soft-fp/testit.c: Likewise.
30761 * stdio-common/bug16.c: Likewise.
30762 * stdlib/random.c: Likewise.
30763 * sunrpc/rpcsvc/rquota.x: Likewise.
30764 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
30765 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30766 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30767 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30768 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30769 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30770 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30771 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30772 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30773 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30774 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30775 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30776 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30777 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30778 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30779 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30780 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30781 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30782 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30783 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30784 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30785 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30786 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
30787 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30788 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30789 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30790 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30791 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30792 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30793 * sysdeps/ieee754/s_lib_version.c: Likewise.
30794 * sysdeps/mach/hurd/check_fds.c: Likewise.
30795 * sysdeps/mach/hurd/getsockname.c: Likewise.
30796 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
30797 * sysdeps/mach/hurd/recvfrom.c: Likewise.
30798 * sysdeps/powerpc/bits/link.h: Likewise.
30799 * sysdeps/powerpc/dl-procinfo.c: Likewise.
30800 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
30801 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
30802 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
30803 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30804 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30805 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
30806 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30807 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
30808 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30809 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
30810 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30811 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
30812 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30813 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30814 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30815 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30816 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30817 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30818 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30819 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30820 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
30821 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30822 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30823 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
30824 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30825 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30826 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30827 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30828 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30829 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30830 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30831 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30832 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30833 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
30834 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30835 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
30836 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30837 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
30838 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
30839 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
30840 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
30841 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
30842 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
30843 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30844 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
30845 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
30846 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30847 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
30848 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
30849 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30850 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30851 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30852 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30853 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
30854 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
30855 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
30856 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30857 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
30858 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
30859 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
30860 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
30861 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
30862 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30863 * sysdeps/powerpc/sysdep.h: Likewise.
30864 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30865 * sysdeps/s390/s390-64/sub_n.S: Likewise.
30866 * sysdeps/sh/dl-trampoline.S: Likewise.
30867 * sysdeps/sh/memset.S: Likewise.
30868 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
30869 * sysdeps/sh/strlen.S: Likewise.
30870 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
30871 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
30872 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
30873 * sysdeps/sparc/sparc32/rem.S: Likewise.
30874 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
30875 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
30876 * sysdeps/sparc/sparc32/strchr.S: Likewise.
30877 * sysdeps/sparc/sparc32/udiv.S: Likewise.
30878 * sysdeps/sparc/sparc32/urem.S: Likewise.
30879 * sysdeps/sparc/sparc64/add_n.S: Likewise.
30880 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
30881 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
30882 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
30883 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
30884 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
30885 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
30886 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
30887 * sysdeps/unix/bsd/times.c: Likewise.
30888 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
30889 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
30890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
30891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
30892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
30893 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
30894 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
30895 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
30896 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
30897 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
30898 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
30899 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30900 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
30901 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
30902 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30903 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
30904 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30905 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
30906 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
30907 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
30908 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
30909 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
30910 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
30911 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
30912 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
30913 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
30914 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
30915 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30916 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
30917 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
30918 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
30919 * sysdeps/x86_64/strcspn.S: Likewise.
30920
869378a5
RA
309212013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30922
30923 * locale/C-translit.h: Revert #include <stdint.h> because this is a
30924 generated file. Regenerate properly from gen-translit.pl.
30925 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
30926 locale/C-translit.h.
30927
840e2943
AS
309282013-06-05 Andreas Schwab <schwab@suse.de>
30929
30930 [BZ #15100]
30931 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
30932 week as 6 instead of -1.
30933 * time/tst-strptime.c (day_tests): Add test case.
30934
4c60cb0c
SP
309352013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30936
30937 * sysdeps/generic/math_private.h
30938 (libc_feholdexcept_setround_53bit): Replace with
30939 libc_feholdsetround_53bit.
30940 (libc_feupdateenv_53bit): Replace with
30941 libc_feresetround_53bit.
30942 (SET_RESTORE_ROUND_53BIT): Adjust.
30943
d180203e
SP
309442013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30945
96df079a
SP
30946 * string/test-strchrnul.c: Add copyright header.
30947
d180203e
SP
30948 * posix/tst-getaddrinfo4.c: Increase test timeout.
30949
8b0ccb2d
CD
309502013-06-03 Carlos O'Donell <carlos@redhat.com>
30951
30952 [BZ #15536]
30953 * math/libm-test.inc (MAX_EXP): Remove
30954 (MIN_EXP): Define.
30955 (ulp): Use MIN_EXP - MANT_DIG.
30956 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
30957
3b3c4d40
CD
309582013-05-31 Carlos O'Donell <carlos@redhat.com>
30959
30960 * po/be.po: Revert last change.
30961 * po/zh_CN.po: Likewise.
30962 * po/header.pot: Likewise.
30963
fab7ce3f
JM
309642013-05-31 Joseph Myers <joseph@codesourcery.com>
30965
30966 * Makefile ($(common-objpfx)linkobj/libc.so): Define
30967 link-libc-deps to empty as target-specific variable.
30968 * Makerules (link-libc-args): New variable.
30969 (libc-for-link): Likewise.
30970 (link-libc-deps): Likewise.
30971 (lib%.so): Depend on $(link-libc-deps). Link with
30972 $(link-libc-args).
30973 (build-module): Link with $(link-libc-args).
30974 (build-module-asneeded): Likewise.
30975 (build-module-helper-objlist): Filter out $(link-libc-deps) from
30976 list of objects.
30977 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
30978 target-specific variable.
30979 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
30980 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
30981 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
30982 libc.
30983 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
30984 libc and ld.so.
30985 ($(objpfx)libpcprofile.so): Likewise.
30986 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
30987 libc_nonshared.a.
30988 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
30989 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
30990 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
30991 $(link-libc-deps).
30992 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
30993 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
30994 * login/Makefile ($(objpfx)libutil.so): Likewise.
30995 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
30996 * math/Makefile ($(objpfx)libm.so): Likewise.
30997 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
30998 $(objpfx)libnsl.so): Define libc-for-link as target-specific
30999 variable instead of depending directly on libc.
31000 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
31001 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
31002 $(link-libc-deps).
31003 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
31004 libc.
31005 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
31006 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
31007 ($(objpfx)libanl.so): Likewise.
31008 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
31009 ld.so.
31010 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
31011 $(link-libc-deps).
31012 * sysdeps/i386/fpu/Makefile: Remove file.
31013 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
31014 ($(objpfx)libm.so): Remove dependency on ld.so.
31015
eca5920c
PF
310162013-05-30 Patsy Franklin <pfrankli@redhat.com>
31017
31018 [BZ # 15553]
31019 * nis/yp_xdr.c (XDRMAXNAME): Define.
31020 (XDRMAXRECORD): Define.
31021 (xdr_domainname): Use XDRMAXNAME.
31022 (xdr_mapname): Likewise.
31023 (xdr_peername): Likewise.
31024 (xdr_keydat): Use XDRMAXRECORD.
31025 (xdr_valdat): Likewise.
31026
310272013-05-30 Jeff Law <law@redhat.com>
96945714
JL
31028
31029 [BZ #14256]
31030 * manual/errno.texi (ESTALE): Update to account for more than
31031 just NFS file systems.
31032 * sysdeps/gnu/errlist.c: Regenerated.
31033
b9375348
SP
310342013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31035
31036 [BZ #15465]
31037 * elf/Makefile (tests): Add tst-null-argv.
31038 (modules-names): Add tst-null-argv-lib.
31039 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
31040 (tst-null-argv-ENV): Set environment for tst-null-argv.
31041 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
31042 (RTLD_PROGNAME): New macro.
31043 * elf/tst-null-argv.c: New test case.
31044 * elf/tst-null-argv-lib.c: Library for test case.
31045 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
31046 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
31047 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
31048 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
31049 * elf/dl-init.c (call_init): Likewise.
31050 (_dl_init): Likewise.
31051 * elf/dl-load.c (print_search_path): Likewise.
31052 (_dl_map_object): Likewise.
31053 * elf/dl-lookup.c (do_lookup_x): Likewise.
31054 (add_dependency): Likewise.
31055 (_dl_lookup_symbol_x): Likewise.
31056 (_dl_debug_bindings): Likewise.
31057 * elf/dl-open.c (_dl_show_scope): Likewise.
31058 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31059 * elf/dl-version.c (match_symbol): Likewise.
31060 (_dl_check_map_versions): Likewise.
31061 * elf/rtld.c (dl_main): Likewise.
31062 (print_unresolved): Use RTLD_PROGNAME.
31063 (print_missing_version): Likewise.
31064 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
31065 (elf_machine_rela): Likewise.
31066 * sysdeps/powerpc/powerpc32/dl-machine.c
31067 (__process_machine_rela): Likewise.
31068 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31069 Likewise.
31070 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31071 Likewise.
31072 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31073 Likewise.
31074 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31075 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
31076 Likewise.
31077 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
31078 Likewise.
31079 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31080
8a9f20c8
CD
310812013-05-28 Carlos O'Donell <carlos@redhat.com>
31082
31083 * po/be.po: Add descriptive title.
31084 * po/zh_CN.po: Likewise.
31085 * po/header.pot: Likewise.
31086
0e60d68e
MF
310872013-05-28 Mike Frysinger <vapier@gentoo.org>
31088
31089 * locale/programs/locarchive.c (create_archive): Inlucde fname in
31090 error message.
31091 (enlarge_archive): Likewise.
31092
56b672e9
BN
310932013-05-28 Ben North <ben@redfrontdoor.org>
31094
31095 * manual/arith.texi (frexp): It is the magnitude of the return
31096 value which lies in [0.5, 1), not the return value itself.
31097
5e056687
AZ
310982013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31099
31100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31101
2b66ef5d
TS
311022013-05-26 Thomas Schwinge <thomas@codesourcery.com>
31103
528c2405
TS
31104 * stdio-common/bug26.c (main): Correct fscanf template.
31105
07b4c13d
TS
31106 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
31107 declare _dl_skip_args.
31108
ec9dd97c
TS
31109 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
31110 Don't declare.
31111
2b66ef5d
TS
31112 * manual/platform.texi: Add missing @end deftypefun.
31113
4f8dfe27
JM
311142013-05-24 Joseph Myers <joseph@codesourcery.com>
31115
0323d086
JM
31116 [BZ #15529]
31117 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
31118 bit of mantissa of 2^16382.
31119 * math/libm-test.inc (hypot_test_data): Add more tests.
31120
dd4259b9
JM
31121 * math/libm-test.inc: Add drem and pow10 to list of tested
31122 functions.
31123 (pow10_test): New function.
31124 (drem_test): Likewise.
31125 (drem_test_tonearest): Likewise.
31126 (drem_test_towardzero): Likewise.
31127 (drem_test_downward): Likewise.
31128 (drem_test_upward): Likewise.
31129 (main): Call the new functions.
31130
4f8dfe27
JM
31131 * math/libm-test.inc (finite_test_data): Remove.
31132 (finite_test): Run tests from isfinite_test_data.
31133 (gamma_test_data): Remove.
31134 (gamma_test): Run tests from lgamma_test_data.
31135 * sysdeps/i386/fpu/libm-test-ulps: Update.
31136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31137
d116b7c4
AZ
311382013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31139
31140 * manual/platform.texi: Add PowerPC PPR function set documentation.
31141 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
31142 implementation.
31143
e96e3767
CD
311442013-05-24 Carlos O'Donell <carlos@redhat.com>
31145
31146 * math/libm-test.inc (MAX_EXP): Define.
31147 (ULPDIFF): Define.
31148 (ulp): New function.
31149 (check_float_internal): Use ULPDIFF.
31150 (cpow_test): Disable failing test.
31151 (check_ulp): Test ulp() implemetnation.
31152 (main): Call check_ulp before starting tests.
31153
b679a606
JM
311542013-05-24 Joseph Myers <joseph@codesourcery.com>
31155
e8bdba36
JM
31156 * math/gen-libm-test.pl (generate_testfile): Do not handle
31157 START_DATA and END_DATA.
31158 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
31159 END_DATA.
31160 (acos_tonearest_test_data): Likewise.
31161 (acos_towardzero_test_data): Likewise.
31162 (acos_downward_test_data): Likewise.
31163 (acos_upward_test_data): Likewise.
31164 (acosh_test_data): Likewise.
31165 (asin_test_data): Likewise.
31166 (asin_tonearest_test_data): Likewise.
31167 (asin_towardzero_test_data): Likewise.
31168 (asin_downward_test_data): Likewise.
31169 (asin_upward_test_data): Likewise.
31170 (asinh_test_data): Likewise.
31171 (atan_test_data): Likewise.
31172 (atanh_test_data): Likewise.
31173 (atan2_test_data): Likewise.
31174 (cabs_test_data): Likewise.
31175 (cacos_test_data): Likewise.
31176 (cacosh_test_data): Likewise.
31177 (carg_test_data): Likewise.
31178 (casin_test_data): Likewise.
31179 (casinh_test_data): Likewise.
31180 (catan_test_data): Likewise.
31181 (catanh_test_data): Likewise.
31182 (cbrt_test_data): Likewise.
31183 (ccos_test_data): Likewise.
31184 (ccosh_test_data): Likewise.
31185 (ceil_test_data): Likewise.
31186 (cexp_test_data): Likewise.
31187 (cimag_test_data): Likewise.
31188 (clog_test_data): Likewise.
31189 (clog10_test_data): Likewise.
31190 (conj_test_data): Likewise.
31191 (copysign_test_data): Likewise.
31192 (cos_test_data): Likewise.
31193 (cos_tonearest_test_data): Likewise.
31194 (cos_towardzero_test_data): Likewise.
31195 (cos_downward_test_data): Likewise.
31196 (cos_upward_test_data): Likewise.
31197 (cosh_test_data): Likewise.
31198 (cosh_tonearest_test_data): Likewise.
31199 (cosh_towardzero_test_data): Likewise.
31200 (cosh_downward_test_data): Likewise.
31201 (cosh_upward_test_data): Likewise.
31202 (cpow_test_data): Likewise.
31203 (cproj_test_data): Likewise.
31204 (creal_test_data): Likewise.
31205 (csin_test_data): Likewise.
31206 (csinh_test_data): Likewise.
31207 (csqrt_test_data): Likewise.
31208 (ctan_test_data): Likewise.
31209 (ctan_tonearest_test_data): Likewise.
31210 (ctan_towardzero_test_data): Likewise.
31211 (ctan_downward_test_data): Likewise.
31212 (ctan_upward_test_data): Likewise.
31213 (ctanh_test_data): Likewise.
31214 (ctanh_tonearest_test_data): Likewise.
31215 (ctanh_towardzero_test_data): Likewise.
31216 (ctanh_downward_test_data): Likewise.
31217 (ctanh_upward_test_data): Likewise.
31218 (erf_test_data): Likewise.
31219 (erfc_test_data): Likewise.
31220 (exp_test_data): Likewise.
31221 (exp_tonearest_test_data): Likewise.
31222 (exp_towardzero_test_data): Likewise.
31223 (exp_downward_test_data): Likewise.
31224 (exp_upward_test_data): Likewise.
31225 (exp10_test_data): Likewise.
31226 (exp2_test_data): Likewise.
31227 (expm1_test_data): Likewise.
31228 (fabs_test_data): Likewise.
31229 (fdim_test_data): Likewise.
31230 (finite_test_data): Likewise.
31231 (floor_test_data): Likewise.
31232 (fma_test_data): Likewise.
31233 (fma_towardzero_test_data): Likewise.
31234 (fma_downward_test_data): Likewise.
31235 (fma_upward_test_data): Likewise.
31236 (fmax_test_data): Likewise.
31237 (fmin_test_data): Likewise.
31238 (fmod_test_data): Likewise.
31239 (fpclassify_test_data): Likewise.
31240 (frexp_test_data): Likewise.
31241 (gamma_test_data): Likewise.
31242 (hypot_test_data): Likewise.
31243 (ilogb_test_data): Likewise.
31244 (isfinite_test_data): Likewise.
31245 (isgreater_test_data): Likewise.
31246 (isgreaterequal_test_data): Likewise.
31247 (isinf_test_data): Likewise.
31248 (isless_test_data): Likewise.
31249 (islessequal_test_data): Likewise.
31250 (islessgreater_test_data): Likewise.
31251 (isnan_test_data): Likewise.
31252 (isnormal_test_data): Likewise.
31253 (issignaling_test_data): Likewise.
31254 (isunordered_test_data): Likewise.
31255 (j0_test_data): Likewise.
31256 (j1_test_data): Likewise.
31257 (jn_test_data): Likewise.
31258 (ldexp_test_data): Likewise.
31259 (lgamma_test_data): Likewise.
31260 (lrint_test_data): Likewise.
31261 (lrint_tonearest_test_data): Likewise.
31262 (lrint_towardzero_test_data): Likewise.
31263 (lrint_downward_test_data): Likewise.
31264 (lrint_upward_test_data): Likewise.
31265 (llrint_test_data): Likewise.
31266 (llrint_tonearest_test_data): Likewise.
31267 (llrint_towardzero_test_data): Likewise.
31268 (llrint_downward_test_data): Likewise.
31269 (llrint_upward_test_data): Likewise.
31270 (log_test_data): Likewise.
31271 (log10_test_data): Likewise.
31272 (log1p_test_data): Likewise.
31273 (log2_test_data): Likewise.
31274 (logb_test_data): Likewise.
31275 (logb_downward_test_data): Likewise.
31276 (lround_test_data): Likewise.
31277 (llround_test_data): Likewise.
31278 (modf_test_data): Likewise.
31279 (nearbyint_test_data): Likewise.
31280 (nextafter_test_data): Likewise.
31281 (nexttoward_test_data): Likewise.
31282 (pow_test_data): Likewise.
31283 (pow_tonearest_test_data): Likewise.
31284 (pow_towardzero_test_data): Likewise.
31285 (pow_downward_test_data): Likewise.
31286 (pow_upward_test_data): Likewise.
31287 (remainder_test_data): Likewise.
31288 (remainder_tonearest_test_data): Likewise.
31289 (remainder_towardzero_test_data): Likewise.
31290 (remainder_downward_test_data): Likewise.
31291 (remainder_upward_test_data): Likewise.
31292 (remquo_test_data): Likewise.
31293 (rint_test_data): Likewise.
31294 (rint_tonearest_test_data): Likewise.
31295 (rint_towardzero_test_data): Likewise.
31296 (rint_downward_test_data): Likewise.
31297 (rint_upward_test_data): Likewise.
31298 (round_test_data): Likewise.
31299 (scalb_test_data): Likewise.
31300 (scalbn_test_data): Likewise.
31301 (scalbln_test_data): Likewise.
31302 (signbit_test_data): Likewise.
31303 (sin_test_data): Likewise.
31304 (sin_tonearest_test_data): Likewise.
31305 (sin_towardzero_test_data): Likewise.
31306 (sin_downward_test_data): Likewise.
31307 (sin_upward_test_data): Likewise.
31308 (sincos_test_data): Likewise.
31309 (sinh_test_data): Likewise.
31310 (sinh_tonearest_test_data): Likewise.
31311 (sinh_towardzero_test_data): Likewise.
31312 (sinh_downward_test_data): Likewise.
31313 (sinh_upward_test_data): Likewise.
31314 (sqrt_test_data): Likewise.
31315 (tan_test_data): Likewise.
31316 (tan_tonearest_test_data): Likewise.
31317 (tan_towardzero_test_data): Likewise.
31318 (tan_downward_test_data): Likewise.
31319 (tan_upward_test_data): Likewise.
31320 (tanh_test_data): Likewise.
31321 (tgamma_test_data): Likewise.
31322 (trunc_test_data): Likewise.
31323 (y0_test_data): Likewise.
31324 (y1_test_data): Likewise.
31325 (yn_test_data): Likewise.
31326 (significand_test_data): Likewise.
31327
b679a606
JM
31328 * math/gen-libm-test.pl (@functions): Remove variable.
31329 (generate_testfile): Don't handle START and END lines.
31330 * math/libm-test.inc (START): New macro.
31331 (END): Likewise.
31332 (END_COMPLEX): Likewise.
31333 (acos_test): Use END macro without arguments.
31334 (acos_test_tonearest): Likewise.
31335 (acos_test_towardzero): Likewise.
31336 (acos_test_downward): Likewise.
31337 (acos_test_upward): Likewise.
31338 (acosh_test): Likewise.
31339 (asin_test): Likewise.
31340 (asin_test_tonearest): Likewise.
31341 (asin_test_towardzero): Likewise.
31342 (asin_test_downward): Likewise.
31343 (asin_test_upward): Likewise.
31344 (asinh_test): Likewise.
31345 (atan_test): Likewise.
31346 (atanh_test): Likewise.
31347 (atan2_test): Likewise.
31348 (cabs_test): Likewise.
31349 (cacos_test): Use END_COMPLEX macro without arguments.
31350 (cacosh_test): Likewise.
31351 (carg_test): Use END macro without arguments.
31352 (casin_test): Use END_COMPLEX macro without arguments.
31353 (casinh_test): Likewise.
31354 (catan_test): Likewise.
31355 (catanh_test): Likewise.
31356 (cbrt_test): Use END macro without arguments.
31357 (ccos_test): Use END_COMPLEX macro without arguments.
31358 (ccosh_test): Likewise.
31359 (ceil_test): Use END macro without arguments.
31360 (cexp_test): Use END_COMPLEX macro without arguments.
31361 (cimag_test): Use END macro without arguments.
31362 (clog_test): Use END_COMPLEX macro without arguments.
31363 (clog10_test): Likewise.
31364 (conj_test): Likewise.
31365 (copysign_test): Use END macro without arguments.
31366 (cos_test): Likewise.
31367 (cos_test_tonearest): Likewise.
31368 (cos_test_towardzero): Likewise.
31369 (cos_test_downward): Likewise.
31370 (cos_test_upward): Likewise.
31371 (cosh_test): Likewise.
31372 (cosh_test_tonearest): Likewise.
31373 (cosh_test_towardzero): Likewise.
31374 (cosh_test_downward): Likewise.
31375 (cosh_test_upward): Likewise.
31376 (cpow_test): Use END_COMPLEX macro without arguments.
31377 (cproj_test): Likewise.
31378 (creal_test): Use END macro without arguments.
31379 (csin_test): Use END_COMPLEX macro without arguments.
31380 (csinh_test): Likewise.
31381 (csqrt_test): Likewise.
31382 (ctan_test): Likewise.
31383 (ctan_test_tonearest): Likewise.
31384 (ctan_test_towardzero): Likewise.
31385 (ctan_test_downward): Likewise.
31386 (ctan_test_upward): Likewise.
31387 (ctanh_test): Likewise.
31388 (ctanh_test_tonearest): Likewise.
31389 (ctanh_test_towardzero): Likewise.
31390 (ctanh_test_downward): Likewise.
31391 (ctanh_test_upward): Likewise.
31392 (erf_test): Use END macro without arguments.
31393 (erfc_test): Likewise.
31394 (exp_test): Likewise.
31395 (exp_test_tonearest): Likewise.
31396 (exp_test_towardzero): Likewise.
31397 (exp_test_downward): Likewise.
31398 (exp_test_upward): Likewise.
31399 (exp10_test): Likewise.
31400 (exp2_test): Likewise.
31401 (expm1_test): Likewise.
31402 (fabs_test): Likewise.
31403 (fdim_test): Likewise.
31404 (finite_test): Likewise.
31405 (floor_test): Likewise.
31406 (fma_test): Likewise.
31407 (fma_test_towardzero): Likewise.
31408 (fma_test_downward): Likewise.
31409 (fma_test_upward): Likewise.
31410 (fmax_test): Likewise.
31411 (fmin_test): Likewise.
31412 (fmod_test): Likewise.
31413 (fpclassify_test): Likewise.
31414 (frexp_test): Likewise.
31415 (gamma_test): Likewise.
31416 (hypot_test): Likewise.
31417 (ilogb_test): Likewise.
31418 (isfinite_test): Likewise.
31419 (isgreater_test): Likewise.
31420 (isgreaterequal_test): Likewise.
31421 (isinf_test): Likewise.
31422 (isless_test): Likewise.
31423 (islessequal_test): Likewise.
31424 (islessgreater_test): Likewise.
31425 (isnan_test): Likewise.
31426 (isnormal_test): Likewise.
31427 (issignaling_test): Likewise.
31428 (isunordered_test): Likewise.
31429 (j0_test): Likewise.
31430 (j1_test): Likewise.
31431 (jn_test): Likewise.
31432 (ldexp_test): Likewise.
31433 (lgamma_test): Likewise.
31434 (lrint_test): Likewise.
31435 (lrint_test_tonearest): Likewise.
31436 (lrint_test_towardzero): Likewise.
31437 (lrint_test_downward): Likewise.
31438 (lrint_test_upward): Likewise.
31439 (llrint_test): Likewise.
31440 (llrint_test_tonearest): Likewise.
31441 (llrint_test_towardzero): Likewise.
31442 (llrint_test_downward): Likewise.
31443 (llrint_test_upward): Likewise.
31444 (log_test): Likewise.
31445 (log10_test): Likewise.
31446 (log1p_test): Likewise.
31447 (log2_test): Likewise.
31448 (logb_test): Likewise.
31449 (logb_test_downward): Likewise.
31450 (lround_test): Likewise.
31451 (llround_test): Likewise.
31452 (modf_test): Likewise.
31453 (nearbyint_test): Likewise.
31454 (nextafter_test): Likewise.
31455 (nexttoward_test): Likewise.
31456 (pow_test): Likewise.
31457 (pow_test_tonearest): Likewise.
31458 (pow_test_towardzero): Likewise.
31459 (pow_test_downward): Likewise.
31460 (pow_test_upward): Likewise.
31461 (remainder_test): Likewise.
31462 (remainder_test_tonearest): Likewise.
31463 (remainder_test_towardzero): Likewise.
31464 (remainder_test_downward): Likewise.
31465 (remainder_test_upward): Likewise.
31466 (remquo_test): Likewise.
31467 (rint_test): Likewise.
31468 (rint_test_tonearest): Likewise.
31469 (rint_test_towardzero): Likewise.
31470 (rint_test_downward): Likewise.
31471 (rint_test_upward): Likewise.
31472 (round_test): Likewise.
31473 (scalb_test): Likewise.
31474 (scalbn_test): Likewise.
31475 (scalbln_test): Likewise.
31476 (signbit_test): Likewise.
31477 (sin_test): Likewise.
31478 (sin_test_tonearest): Likewise.
31479 (sin_test_towardzero): Likewise.
31480 (sin_test_downward): Likewise.
31481 (sin_test_upward): Likewise.
31482 (sincos_test): Likewise.
31483 (sinh_test): Likewise.
31484 (sinh_test_tonearest): Likewise.
31485 (sinh_test_towardzero): Likewise.
31486 (sinh_test_downward): Likewise.
31487 (sinh_test_upward): Likewise.
31488 (sqrt_test): Likewise.
31489 (tan_test): Likewise.
31490 (tan_test_tonearest): Likewise.
31491 (tan_test_towardzero): Likewise.
31492 (tan_test_downward): Likewise.
31493 (tan_test_upward): Likewise.
31494 (tanh_test): Likewise.
31495 (tgamma_test): Likewise.
31496 (trunc_test): Likewise.
31497 (y0_test): Likewise.
31498 (y1_test): Likewise.
31499 (yn_test): Likewise.
31500 (significand_test): Likewise.
31501
bae143d2
OB
315022013-05-24 Ondřej Bílka <neleai@seznam.cz>
31503
31504 [BZ #15381]
31505 * libio/genops.c (_IO_no_init): Initialize wide struct info.
31506
9323d39b
EM
315072013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
31508
d4ea44a0 31509 [BZ #14894]
9323d39b
EM
31510 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
31511 __ppc_mdoio and __ppc_mdoom.
31512 * manual/platform.texi: Document new functions __ppc_yield,
31513 __ppc_mdoio and __ppc_mdoom.
31514
13e23af7
CD
315152013-05-22 Carlos O'Donell <carlos@redhat.com>
31516
31517 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
31518 (main): Mention "tls" pseudo-hwcap is legacy.
31519 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
31520
351fe550
JM
315212013-05-22 Joseph Myers <joseph@codesourcery.com>
31522
31523 * math/gen-libm-test.pl (parse_args): Output only string of
31524 arguments as text for test name, not full call or descriptions of
31525 tests for extra outputs.
31526 (generate_testfile): Do not pass function name to parse_args.
31527 Generate this_func variable from START.
31528 * math/libm-test.inc (struct test_f_f_data): Rename test_name
31529 field to arg_str.
31530 (struct test_ff_f_data): Likewise.
31531 (test_ff_f_data_nexttoward): Likewise.
31532 (struct test_fi_f_data): Likewise.
31533 (struct test_fl_f_data): Likewise.
31534 (struct test_if_f_data): Likewise.
31535 (struct test_fff_f_data): Likewise.
31536 (struct test_c_f_data): Likewise.
31537 (struct test_f_f1_data): Likewise. Remove field extra_name.
31538 (struct test_fF_f1_data): Likewise.
31539 (struct test_ffI_f1_data): Likewise.
31540 (struct test_c_c_data): Rename test_name field to arg_str.
31541 (struct test_cc_c_data): Likewise.
31542 (struct test_f_i_data): Likewise.
31543 (struct test_ff_i_data): Likewise.
31544 (struct test_f_l_data): Likewise.
31545 (struct test_f_L_data): Likewise.
31546 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
31547 and extra2_name.
31548 (COMMON_TEST_SETUP): New macro.
31549 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
31550 (COMMON_TEST_CLEANUP): Likewise.
31551 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
31552 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
31553 macros.
31554 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
31555 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
31556 macros.
31557 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
31558 (RUN_TEST_fff_f): Take argument string. Call new setup and
31559 cleanup macros.
31560 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
31561 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
31562 macros.
31563 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
31564 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
31565 macros.
31566 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31567 (RUN_TEST_fF_f1): Take argument string. Call new setup and
31568 cleanup macros.
31569 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31570 (RUN_TEST_fI_f1): Take argument string. Call new setup and
31571 cleanup macros.
31572 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31573 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
31574 cleanup macros.
31575 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31576 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
31577 macros.
31578 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
31579 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
31580 macros.
31581 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
31582 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
31583 macros.
31584 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
31585 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
31586 cleanup macros.
31587 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
31588 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
31589 cleanup macros.
31590 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
31591 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
31592 macros.
31593 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
31594 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
31595 cleanup macros.
31596 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
31597 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
31598 macros.
31599 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
31600 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
31601 macros.
31602 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
31603 (RUN_TEST_fFF_11): Take argument string. Call new setup and
31604 cleanup macros.
31605 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
31606
85118d4d
EBM
316072013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
31608
31609 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
31610 to _sifields.sigfault.
31611 (si_addr_lsb): Define new macro.
31612 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31613 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31614 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
31615
7a44c18f
CD
316162013-05-03 Carlos O'Donell <carlos at redhat.com>
31617
31618 [BZ #15441]
31619 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
31620 returns -1.
31621 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
31622 null return -1.
31623 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
31624 loading the domain.
31625
b50a7181
JM
316262013-05-22 Joseph Myers <joseph@codesourcery.com>
31627
31628 * math/gen-libm-test.pl (parse_args): Do not include expected
31629 result in test name.
31630 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
31631 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31632 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31633 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31634 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31636
051063c8
SP
316372013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31638
3ce9e010
SP
31639 * benchtests/Makefile: Sort function entries.
31640
051063c8
SP
31641 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
31642 tanh, asinh, acosh, atanh.
31643 * benchtests/acos-inputs: New file.
31644 * benchtests/acosh-inputs: New file.
31645 * benchtests/asin-inputs: New file.
31646 * benchtests/asinh-inputs: New file.
31647 * benchtests/atanh-inputs: New file.
31648 * benchtests/cosh-inputs: New file.
31649 * benchtests/log-inputs: New file.
31650 * benchtests/sinh-inputs: New file.
31651 * benchtests/tanh-inputs: New file.
31652
47c22455
DL
316532013-05-21 Dmitry V. Levin <ldv@altlinux.org>
31654
31655 [BZ #15339]
31656 * posix/tst-getaddrinfo4.c: New test.
31657 * posix/Makefile (tests): Add it.
31658
3d04f5db
SP
316592013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31660
31661 [BZ #15339]
31662 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
31663 when no services were used.
31664 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
31665 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
31666
d5dd6189
AS
316672013-05-21 Andreas Schwab <schwab@suse.de>
31668
31669 [BZ #15014]
31670 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
31671 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
31672 successful.
31673 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
31674 redundant variable declarations and reallocation of buffer when
31675 parsing as IPv6 address. Always set NSS status when called from
31676 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
31677 buffer too small. Correct computation of needed size.
31678 * nss/Makefile (tests): Add test-digits-dots.
31679 * nss/test-digits-dots.c: New test.
31680
fef94eab
SP
316812013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31682
31683 * benchtests/Makefile: Remove instructions for adding
31684 benchmark tests.
31685 * benchtests/README: New file to explain how to execute and
31686 enhance the benchmark tests.
31687
e39adf43
AS
316882013-05-21 Andreas Schwab <schwab@suse.de>
31689
31690 [BZ #15493]
31691 * setjmp/Makefile (tests): Add tst-sigsetjmp.
31692 * setjmp/tst-sigsetjmp.c: New test.
31693
b2b671b6
OB
316942013-05-20 Ondřej Bílka <neleai@seznam.cz>
31695
31696 * sysdeps/x86_64/memset.S (memset): New implementation.
31697 (__bzero): Likewise.
31698 (__memset_tail): New function.
31699
2d48b41c
OB
317002013-05-20 Ondřej Bílka <neleai@seznam.cz>
31701
31702 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
31703 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
31704 __memcpy_sse2_unaligned ifunc selection.
31705 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31706 Add memcpy-sse2-unaligned.S.
31707 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31708 Add: __memcpy_sse2_unaligned.
31709
f16cc3eb
JM
317102013-05-19 Joseph Myers <joseph@codesourcery.com>
31711
3e694268
JM
31712 [BZ #15490]
31713 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31714 math_force_eval before restoring floating-point envrionment.
31715 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
31716 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31717 Likewise.
31718 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
31719 <math_private.h>.
31720 (__nearbyintl): Use math_force_eval before restoring
31721 floating-point environment.
31722 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
31723
db62a907
JM
31724 * math/gen-libm-test.pl (special_functions): Remove.
31725 (parse_args): Don't handle TEST_extra. Handle functions with no
31726 return value.
31727 * math/libm-test.inc (struct test_sincos_data): Replace with
31728 struct test_fFF_11_data.
31729 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
31730 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
31731 (sincos_test_data): Change element type to struct
31732 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
31733 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
31734 RUN_TEST_LOOP_sincos.
31735 * math/README.libm-test: Don't mention special handling of
31736 individual functions.
31737 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
31738 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31739 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31740 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31741 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31743
f16cc3eb
JM
31744 * math/gen-libm-test.pl (get_variable): Remove function.
31745 (parse_args): Don't show pointer parameters to call in test
31746 names. Use "extra output N" in test names for extra outputs
31747 rather than naming variables.
31748
3779b5b6
JM
317492013-05-18 Joseph Myers <joseph@codesourcery.com>
31750
2ee094ff
JM
31751 [BZ #15488]
31752 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
31753 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
31754 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
31755 double tests.
31756 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
31757 disable.
31758 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
31759 check_long_double.
31760
3779b5b6
JM
31761 * math/gen-libm-test.pl (@tests): Remove variable.
31762 ($count): Likewise.
31763 (new_test): Remove function.
31764 (show_exceptions): New function.
31765 (special_functions): Use show_exceptions instead of new_test.
31766 (parse_args): Likewise.
31767 (generate_testfile): Pass only function name in generated call to
31768 print_max_error or print_complex_max_error.
31769 (get_ulps): Do not handle complex tests specially.
31770 (output_test): Rename to ...
31771 (get_all_ulps_for_test): ... this. Return a string rather than
31772 printing to a file. Require ulps to be present.
31773 (output_ulps): Generate arrays rather than #defines.
31774 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
31775 (struct ulp_data): New type.
31776 (BUILD_COMPLEX_ULP): Remove macro.
31777 (compare_ulp_data): New function.
31778 (find_ulps): Likewise.
31779 (find_test_ulps): Likewise.
31780 (find_function_ulps): Likewise.
31781 (find_complex_function_ulps): Likewise.
31782 (print_max_error): Determine allowed ulps using
31783 find_function_ulps.
31784 (print_complex_max_error): Determine allowed ulps using
31785 find_complex_function_ulps.
31786 (check_float_internal): Determine max ulps using find_test_ulps.
31787 (check_float): Do not take max_ulp parameter. Update call to
31788 check_float_internal.
31789 (check_complex): Likewise.
31790 (check_int): Do not take max_ulp parameter.
31791 (check_long): Likewise.
31792 (check_bool): Likewise.
31793 (check_longlong): Likewise.
31794 (struct test_f_f_data): Remove max_ulp field.
31795 (struct test_ff_f_data): Likewise.
31796 (struct test_ff_f_data_nexttoward): Likewise.
31797 (struct test_fi_f_data): Likewise.
31798 (struct test_fl_f_data): Likewise.
31799 (struct test_if_f_data): Likewise.
31800 (struct test_fff_f_data): Likewise.
31801 (struct test_c_f_data): Likewise.
31802 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
31803 (struct test_fF_f1_data): Likewise.
31804 (struct test_ffI_f1_data): Likewise.
31805 (struct test_c_c_data): Remove max_ulp field.
31806 (struct test_cc_c_data): Likewise.
31807 (struct test_f_i_data): Likewise.
31808 (struct test_ff_i_data): Likewise.
31809 (struct test_f_l_data): Likewise.
31810 (struct test_f_L_data): Likewise.
31811 (struct test_sincos_data): Likewise.
31812 (RUN_TEST_f_f): Do not handle ulps.
31813 (RUN_TEST_LOOP_f_f): Likewise.
31814 (RUN_TEST_2_f): Likewise.
31815 (RUN_TEST_LOOP_2_f): Likewise.
31816 (RUN_TEST_fff_f): Likewise.
31817 (RUN_TEST_LOOP_fff_f): Likewise.
31818 (RUN_TEST_c_f): Likewise.
31819 (RUN_TEST_LOOP_c_f): Likewise.
31820 (RUN_TEST_f_f1): Likewise.
31821 (RUN_TEST_LOOP_f_f1): Likewise.
31822 (RUN_TEST_fF_f1): Likewise.
31823 (RUN_TEST_LOOP_fF_f1): Likewise.
31824 (RUN_TEST_fI_f1): Likewise.
31825 (RUN_TEST_LOOP_fI_f1): Likewise.
31826 (RUN_TEST_ffI_f1): Likewise.
31827 (RUN_TEST_LOOP_ffI_f1): Likewise.
31828 (RUN_TEST_c_c): Likewise.
31829 (RUN_TEST_LOOP_c_c): Likewise.
31830 (RUN_TEST_cc_c): Likewise.
31831 (RUN_TEST_LOOP_cc_c): Likewise.
31832 (RUN_TEST_f_i): Likewise.
31833 (RUN_TEST_LOOP_f_i): Likewise.
31834 (RUN_TEST_f_i_tg): Likewise.
31835 (RUN_TEST_LOOP_f_i_tg): Likewise.
31836 (RUN_TEST_ff_i_tg): Likewise.
31837 (RUN_TEST_LOOP_ff_i_tg): Likewise.
31838 (RUN_TEST_f_b): Likewise.
31839 (RUN_TEST_LOOP_f_b): Likewise.
31840 (RUN_TEST_f_b_tg): Likewise.
31841 (RUN_TEST_LOOP_f_b_tg): Likewise.
31842 (RUN_TEST_f_l): Likewise.
31843 (RUN_TEST_LOOP_f_l): Likewise.
31844 (RUN_TEST_f_L): Likewise.
31845 (RUN_TEST_LOOP_f_L): Likewise.
31846 (RUN_TEST_sincos): Likewise.
31847 (RUN_TEST_LOOP_sincos): Likewise.
31848
8269107f
JM
318492013-05-17 Joseph Myers <joseph@codesourcery.com>
31850
bb38759d
JM
31851 [BZ #15480]
31852 [BZ #15485]
31853 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
31854 main case of finite arguments, set rounding mode to FE_TONEAREST
31855 and discard exceptions.
31856 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
31857 exceptions.
31858 (remainder_tonearest_test_data): New variable.
31859 (remainder_test_tonearest): New function.
31860 (remainder_towardzero_test_data): New variable.
31861 (remainder_test_towardzero): New function.
31862 (remainder_downward_test_data): New variable.
31863 (remainder_test_downward): New function.
31864 (remainder_upward_test_data): New variable.
31865 (remainder_test_upward): New function.
31866 (main): Call the new test functions.
31867
a00bdcf0
JM
31868 * math/libm-test.inc (struct test_f_f1_data): Remove field
31869 extra_init.
31870 (struct test_fF_f1_data): Likewise.
31871 (struct test_ffI_f1_data): Likewise.
31872 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
31873 based on value of EXTRA_EXPECTED.
31874 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31875 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
31876 EXTRA_VAR based on value of EXTRA_EXPECTED.
31877 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31878 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
31879 EXTRA_VAR based on value of EXTRA_EXPECTED.
31880 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31881 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
31882 EXTRA_VAR based on value of EXTRA_EXPECTED.
31883 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31884 * math/gen-libm-test.pl (parse_args): Don't output initializers
31885 for extra output values.
31886
de407f79
JM
31887 * math/libm-test.inc (check_int): Expect result to be exactly
31888 equal to expected value and do not handle ulps.
31889 (check_long): Likewise.
31890 (check_longlong): Likewise.
31891
8269107f
JM
31892 * math/libm-test.inc (ceil_test_data): Test for "inexact"
31893 exceptions.
31894 (cimag_test_data): Likewise.
31895 (conj_test_data): Likewise.
31896 (copysign_test_data): Likewise.
31897 (cproj_test_data): Likewise.
31898 (creal_test_data): Likewise.
31899 (fabs_test_data): Likewise.
31900 (fdim_test_data): Likewise.
31901 (finite_test_data): Likewise.
31902 (floor_test_data): Likewise.
31903 (fmax_test_data): Likewise.
31904 (fmin_test_data): Likewise.
31905 (fmod_test_data): Likewise.
31906 (fpclassify_test_data): Likewise.
31907 (frexp_test_data): Likewise.
31908 (ilogb_test_data): Likewise.
31909 (isfinite_test_data): Likewise.
31910 (isgreater_test_data): Likewise.
31911 (isgreaterequal_test_data): Likewise.
31912 (isinf_test_data): Likewise.
31913 (isless_test_data): Likewise.
31914 (islessequal_test_data): Likewise.
31915 (islessgreater_test_data): Likewise.
31916 (isnan_test_data): Likewise.
31917 (isnormal_test_data): Likewise.
31918 (issignaling_test_data): Likewise.
31919 (isunordered_test_data): Likewise.
31920 (ldexp_test_data): Likewise.
31921 (lrint_test_data): Likewise.
31922 (lrint_test_data) [TEST_FLOAT]: Disable one test.
31923 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
31924 (lrint_tonearest_test_data): Test for "inexact" exceptions.
31925 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31926 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
31927 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31928 test input.
31929 (lrint_towardzero_test_data): Test for "inexact" exceptions.
31930 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
31931 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
31932 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
31933 that test input.
31934 (lrint_downward_test_data): Test for "inexact" exceptions.
31935 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
31936 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
31937 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31938 test input.
31939 (lrint_upward_test_data): Test for "inexact" exceptions.
31940 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
31941 test input.
31942 (llrint_test_data): Test for "inexact" exceptions.
31943 (llrint_test_data) [TEST_FLOAT]: Disable one test.
31944 (llrint_tonearest_test_data): Test for "inexact" exceptions.
31945 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31946 (llrint_towardzero_test_data): Test for "inexact" exceptions.
31947 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
31948 (llrint_downward_test_data): Test for "inexact" exceptions.
31949 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
31950 (llrint_upward_test_data): Test for "inexact" exceptions.
31951 (logb_test_data): Likewise.
31952 (logb_downward_test_data): Likewise.
31953 (nextafter_test_data): Likewise.
31954 (nexttoward_test_data): Likewise.
31955 (remainder_test_data): Likewise.
31956 (remquo_test_data): Likewise.
31957 (scalbn_test_data): Likewise.
31958 (scalbln_test_data): Likewise.
31959 (signbit_test_data): Likewise.
31960 (sqrt_test_data): Likewise.
31961 (significand_test_data): Likewise.
31962
48a18de1
SP
319632013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31964
31965 [BZ #15424]
31966 * benchtests/bench-modf.c (struct args): Mark arg0 as
31967 volatile.
31968 * scripts/bench.pl: Mark members of struct args as volatile.
31969
13d3b41a
AZ
319702013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31971
68191c1d 31972 [BZ # 15497]
13d3b41a
AZ
31973 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
31974 negative infinity on POWER6 or lower.
31975 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
31976
2848b105
MR
319772013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
31978
31979 [BZ #15442]
31980 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
31981 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
31982 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
31983 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
31984 (_FP_SETQNAN): New macro.
31985 (_FP_SETQNAN_SEMIRAW): Likewise.
31986 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
31987 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
31988 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
31989 (FP_EXTEND): Use _FP_FRAC_SNANP.
31990 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
31991 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
31992 into account.
31993 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
31994 New macro.
31995 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
31996 Likewise.
31997
323e5cb7
JM
319982013-05-16 Joseph Myers <joseph@codesourcery.com>
31999
c58b274f
JM
32000 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
32001 with DIVIDE_BY_ZERO_EXCEPTION.
32002 (gamma_test_data): Likewise.
32003 (lgamma_test_data): Likewise.
32004 (log_test_data): Likewise.
32005 (log10_test_data): Likewise.
32006 (log2_test_data): Likewise.
32007 (tgamma_test_data): Likewise.
32008
0ab34904
JM
32009 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
32010 (acos_test_tonearest): Likewise.
32011 (acos_test_towardzero): Likewise.
32012 (acos_test_downward): Likewise.
32013 (acos_test_upward): Likewise.
32014 (acosh_test): Likewise.
32015 (asin_test): Likewise.
32016 (asin_test_tonearest): Likewise.
32017 (asin_test_towardzero): Likewise.
32018 (asin_test_downward): Likewise.
32019 (asin_test_upward): Likewise.
32020 (asinh_test): Likewise.
32021 (atan_test): Likewise.
32022 (atanh_test): Likewise.
32023 (atan2_test): Likewise.
32024 (cabs_test): Likewise.
32025 (cacos_test): Likewise.
32026 (cacosh_test): Likewise.
32027 (casin_test): Likewise.
32028 (casinh_test): Likewise.
32029 (catan_test): Likewise.
32030 (catanh_test): Likewise.
32031 (cbrt_test): Likewise.
32032 (ccos_test): Likewise.
32033 (ccosh_test): Likewise.
32034 (cexp_test): Likewise.
32035 (clog_test): Likewise.
32036 (clog10_test): Likewise.
32037 (cos_test): Likewise.
32038 (cos_test_tonearest): Likewise.
32039 (cos_test_towardzero): Likewise.
32040 (cos_test_downward): Likewise.
32041 (cos_test_upward): Likewise.
32042 (cosh_test): Likewise.
32043 (cosh_test_tonearest): Likewise.
32044 (cosh_test_towardzero): Likewise.
32045 (cosh_test_downward): Likewise.
32046 (cosh_test_upward): Likewise.
32047 (cpow_test): Likewise.
32048 (csin_test): Likewise.
32049 (csinh_test): Likewise.
32050 (csqrt_test): Likewise.
32051 (ctan_test): Likewise.
32052 (ctan_test_tonearest): Likewise.
32053 (ctan_test_towardzero): Likewise.
32054 (ctan_test_downward): Likewise.
32055 (ctan_test_upward): Likewise.
32056 (ctanh_test): Likewise.
32057 (ctanh_test_tonearest): Likewise.
32058 (ctanh_test_towardzero): Likewise.
32059 (ctanh_test_downward): Likewise.
32060 (ctanh_test_upward): Likewise.
32061 (erf_test): Likewise.
32062 (erfc_test): Likewise.
32063 (exp_test): Likewise.
32064 (exp_test_tonearest): Likewise.
32065 (exp_test_towardzero): Likewise.
32066 (exp_test_downward): Likewise.
32067 (exp_test_upward): Likewise.
32068 (exp10_test): Likewise.
32069 (exp2_test): Likewise.
32070 (expm1_test): Likewise.
32071 (fmod_test): Likewise.
32072 (gamma_test): Likewise.
32073 (hypot_test): Likewise.
32074 (j0_test): Likewise.
32075 (j1_test): Likewise.
32076 (jn_test): Likewise.
32077 (lgamma_test): Likewise.
32078 (log_test): Likewise.
32079 (log10_test): Likewise.
32080 (log1p_test): Likewise.
32081 (log2_test): Likewise.
32082 (logb_test_downward): Likewise.
32083 (pow_test): Likewise.
32084 (pow_test_tonearest): Likewise.
32085 (pow_test_towardzero): Likewise.
32086 (pow_test_downward): Likewise.
32087 (pow_test_upward): Likewise.
32088 (remainder_test): Likewise.
32089 (remquo_test): Likewise.
32090 (sin_test): Likewise.
32091 (sin_test_tonearest): Likewise.
32092 (sin_test_towardzero): Likewise.
32093 (sin_test_downward): Likewise.
32094 (sin_test_upward): Likewise.
32095 (sincos_test): Likewise.
32096 (sinh_test): Likewise.
32097 (sinh_test_tonearest): Likewise.
32098 (sinh_test_towardzero): Likewise.
32099 (sinh_test_downward): Likewise.
32100 (sinh_test_upward): Likewise.
32101 (sqrt_test): Likewise.
32102 (tan_test): Likewise.
32103 (tan_test_tonearest): Likewise.
32104 (tan_test_towardzero): Likewise.
32105 (tan_test_downward): Likewise.
32106 (tan_test_upward): Likewise.
32107 (tanh_test): Likewise.
32108 (tgamma_test): Likewise.
32109 (y0_test): Likewise.
32110 (y1_test): Likewise.
32111 (yn_test): Likewise.
32112
323e5cb7
JM
32113 * math/gen-libm-test.pl (adjust_arg): Remove function.
32114 (special_function): Remove argument $in_func. Only handle
32115 generating output for tables of tests, not inside functions.
32116 (parse_args): Likewise.
32117 (generate_testfile): Remove variable $in_func. Update call to
32118 parse_args.
32119 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
32120 (MINUS_ZERO_INIT): Rename macro to minus_zero.
32121 (PLUS_INFTY_INIT): Rename macro to plus_infty.
32122 (MINUS_INFTY_INIT): Rename macro to minus_infty.
32123 (QNAN_VALUE_INIT): Rename macro to qnan_value.
32124 (MAX_VALUE_INIT): Rename macro to max_value.
32125 (MIN_VALUE_INIT): Rename macro to min_value.
32126 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
32127 (plus_zero): Remove variable.
32128 (minus_zero): Likewise.
32129 (plus_infty): Likewise.
32130 (minus_infty): Likewise.
32131 (qnan_value): Likewise.
32132 (max_value): Likewise.
32133 (min_value): Likewise.
32134 (min_subnorm_value): Likewise.
32135
e054f494
RA
321362013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32137
32138 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
32139 uint64_t or uint32_t usage.
32140 * crypt/sha256-block.c: Likewise.
32141 * crypt/sha256-crypt.c: Likewise.
32142 * crypt/sha256.c: Likewise.
32143 * crypt/sha512-block.c: Likewise.
32144 * crypt/sha512-crypt.c: Likewise.
32145 * crypt/sha512.c: Likewise.
32146 * debug/backtrace-tst.c: Likewise.
32147 * debug/pcprofiledump.c: Likewise.
32148 * elf/cache.c: Likewise.
32149 * elf/dl-cache.c: Likewise.
32150 * elf/dl-misc.c: Likewise.
32151 * elf/dl-profile.c: Likewise.
32152 * elf/dl-support.c: Likewise.
32153 * elf/ldconfig.c: Likewise.
32154 * elf/sprof.c: Likewise.
32155 * iconv/dummy-repertoire.c: Likewise.
32156 * iconv/iconv_charmap.c: Likewise.
32157 * iconv/skeleton.c: Likewise.
32158 * iconvdata/8bit-generic.c: Likewise.
32159 * iconvdata/cp737.h: Likewise.
32160 * iconvdata/cp775.h: Likewise.
32161 * iconvdata/ibm1008.h: Likewise.
32162 * iconvdata/ibm1025.h: Likewise.
32163 * iconvdata/ibm1046.h: Likewise.
32164 * iconvdata/ibm1097.h: Likewise.
32165 * iconvdata/ibm1112.h: Likewise.
32166 * iconvdata/ibm1122.h: Likewise.
32167 * iconvdata/ibm1123.h: Likewise.
32168 * iconvdata/ibm1124.h: Likewise.
32169 * iconvdata/ibm1129.h: Likewise.
32170 * iconvdata/ibm1130.h: Likewise.
32171 * iconvdata/ibm1132.h: Likewise.
32172 * iconvdata/ibm1133.h: Likewise.
32173 * iconvdata/ibm1137.h: Likewise.
32174 * iconvdata/ibm1140.h: Likewise.
32175 * iconvdata/ibm1141.h: Likewise.
32176 * iconvdata/ibm1142.h: Likewise.
32177 * iconvdata/ibm1143.h: Likewise.
32178 * iconvdata/ibm1144.h: Likewise.
32179 * iconvdata/ibm1145.h: Likewise.
32180 * iconvdata/ibm1146.h: Likewise.
32181 * iconvdata/ibm1147.h: Likewise.
32182 * iconvdata/ibm1148.h: Likewise.
32183 * iconvdata/ibm1149.h: Likewise.
32184 * iconvdata/ibm1153.h: Likewise.
32185 * iconvdata/ibm1154.h: Likewise.
32186 * iconvdata/ibm1155.h: Likewise.
32187 * iconvdata/ibm1156.h: Likewise.
32188 * iconvdata/ibm1157.h: Likewise.
32189 * iconvdata/ibm1158.h: Likewise.
32190 * iconvdata/ibm1160.h: Likewise.
32191 * iconvdata/ibm1161.h: Likewise.
32192 * iconvdata/ibm1162.h: Likewise.
32193 * iconvdata/ibm1163.h: Likewise.
32194 * iconvdata/ibm1164.h: Likewise.
32195 * iconvdata/ibm1166.h: Likewise.
32196 * iconvdata/ibm1167.h: Likewise.
32197 * iconvdata/ibm12712.h: Likewise.
32198 * iconvdata/ibm1390.h: Likewise.
32199 * iconvdata/ibm1399.h: Likewise.
32200 * iconvdata/ibm16804.h: Likewise.
32201 * iconvdata/ibm4517.h: Likewise.
32202 * iconvdata/ibm4899.h: Likewise.
32203 * iconvdata/ibm4909.h: Likewise.
32204 * iconvdata/ibm4971.h: Likewise.
32205 * iconvdata/ibm5347.h: Likewise.
32206 * iconvdata/ibm803.h: Likewise.
32207 * iconvdata/ibm856.h: Likewise.
32208 * iconvdata/ibm901.h: Likewise.
32209 * iconvdata/ibm902.h: Likewise.
32210 * iconvdata/ibm9030.h: Likewise.
32211 * iconvdata/ibm9066.h: Likewise.
32212 * iconvdata/ibm921.h: Likewise.
32213 * iconvdata/ibm922.h: Likewise.
32214 * iconvdata/ibm9448.h: Likewise.
32215 * iconvdata/isiri-3342.h: Likewise.
32216 * iconvdata/jis0201.h: Likewise.
32217 * include/link.h: Likewise.
32218 * include/netdb.h: Likewise.
32219 * inet/check_native.c: Likewise.
32220 * inet/check_pf.c: Likewise.
32221 * inet/getipv4sourcefilter.c: Likewise.
32222 * inet/getnameinfo.c: Likewise.
32223 * inet/getsourcefilter.c: Likewise.
32224 * inet/htonl.c: Likewise.
32225 * inet/setipv4sourcefilter.c: Likewise.
32226 * inet/setsourcefilter.c: Likewise.
32227 * inet/test-inet6_opt.c: Likewise.
32228 * inet/tst-network.c: Likewise.
32229 * locale/C-collate.c: Likewise.
32230 * locale/C-ctype.c: Likewise.
32231 * locale/C-time.c: Likewise.
32232 * locale/C-translit.h: Likewise.
32233 * locale/loadarchive.c: Likewise.
32234 * locale/programs/3level.h: Likewise.
32235 * locale/programs/charmap.c: Likewise.
32236 * locale/programs/charmap.h: Likewise.
32237 * locale/programs/ld-address.c: Likewise.
32238 * locale/programs/ld-collate.c: Likewise.
32239 * locale/programs/ld-ctype.c: Likewise.
32240 * locale/programs/ld-identification.c: Likewise.
32241 * locale/programs/ld-measurement.c: Likewise.
32242 * locale/programs/ld-messages.c: Likewise.
32243 * locale/programs/ld-monetary.c: Likewise.
32244 * locale/programs/ld-name.c: Likewise.
32245 * locale/programs/ld-numeric.c: Likewise.
32246 * locale/programs/ld-paper.c: Likewise.
32247 * locale/programs/ld-telephone.c: Likewise.
32248 * locale/programs/ld-time.c: Likewise.
32249 * locale/programs/linereader.c: Likewise.
32250 * locale/programs/locale.c: Likewise.
32251 * locale/programs/locarchive.c: Likewise.
32252 * locale/programs/locfile.h: Likewise.
32253 * locale/programs/repertoire.c: Likewise.
32254 * locale/programs/simple-hash.c: Likewise.
32255 * locale/programs/simple-hash.h: Likewise.
32256 * malloc/memusage.c: Likewise.
32257 * malloc/memusagestat.c: Likewise.
32258 * nis/nis_defaults.c: Likewise.
32259 * nis/nis_hash.c: Likewise.
32260 * nis/nis_print.c: Likewise.
32261 * nis/nis_xdr.c: Likewise.
32262 * nscd/connections.c: Likewise.
32263 * nscd/hstcache.c: Likewise.
32264 * nscd/nscd_gethst_r.c: Likewise.
32265 * nscd/nscd_getserv_r.c: Likewise.
32266 * nscd/nscd_helper.c: Likewise.
32267 * nscd/servicescache.c: Likewise.
32268 * nss/makedb.c: Likewise.
32269 * nss/nss_db/db-XXX.c: Likewise.
32270 * nss/nss_db/db-initgroups.c: Likewise.
32271 * nss/nss_db/db-netgrp.c: Likewise.
32272 * nss/nss_files/files-network.c: Likewise.
32273 * nss/nss_files/files-parse.c: Likewise.
32274 * posix/bug-regex5.c: Likewise.
32275 * posix/fnmatch_loop.c: Likewise.
32276 * posix/regcomp.c: Likewise.
32277 * posix/regexec.c: Likewise.
32278 * posix/tst-rfc3484-2.c: Likewise.
32279 * posix/tst-rfc3484-3.c: Likewise.
32280 * posix/tst-rfc3484.c: Likewise.
32281 * resolv/nss_dns/dns-canon.c: Likewise.
32282 * resolv/nss_dns/dns-network.c: Likewise.
32283 * resolv/res_init.c: Likewise.
32284 * resolv/res_mkquery.c: Likewise.
32285 * resolv/tst-aton.c: Likewise.
32286 * stdlib/cxa_atexit.c: Likewise.
32287 * stdlib/cxa_finalize.c: Likewise.
32288 * stdlib/gen-fpioconst.c: Likewise.
32289 * stdlib/strtol_l.c: Likewise.
32290 * string/tst-endian.c: Likewise.
32291 * sunrpc/auth_des.c: Likewise.
32292 * sunrpc/clnt_udp.c: Likewise.
32293 * sunrpc/rtime.c: Likewise.
32294 * sunrpc/svcauth_des.c: Likewise.
32295 * sunrpc/xdr.c: Likewise.
32296 * sunrpc/xdr_intXX_t.c: Likewise.
32297 * sunrpc/xdr_rec.c: Likewise.
32298 * sysdeps/generic/ldconfig.h: Likewise.
32299 * sysdeps/generic/ldsodefs.h: Likewise.
32300 * sysdeps/generic/memusage.h: Likewise.
32301 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32302 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
32303 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
32304 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32305 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32306 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32307 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32308 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32309 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32310 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32311 * sysdeps/posix/getaddrinfo.c: Likewise.
32312 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32313 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32314 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32315 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32316 * sysdeps/powerpc/test-gettimebase.c: Likewise.
32317 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32318 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
32319 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
32320 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32321 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
32322 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32323 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32324 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
32325 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
32326 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
32327 * sysdeps/x86_64/dl-tls.h: Likewise.
32328 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
32329 * time/alt_digit.c: Likewise.
32330 * time/era.c: Likewise.
32331 * wcsmbs/tst-c16c32-1.c: Likewise.
32332
8c75f674
JM
323332013-05-16 Joseph Myers <joseph@codesourcery.com>
32334
32335 * math/libm-test.inc (struct test_sincos_data): New type.
32336 (RUN_TEST_LOOP_sincos): New macro.
32337 (sincos_test_data): New variable.
32338 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
32339
e6e49e59
RH
323402013-05-16 Richard Henderson <rth@redhat.com>
32341
32342 * math/atest-exp2.c (LIMB64): New macro.
32343 (CONSTSZ): New macro.
32344 (mp_exp1, mp_exp_m1, mp_log2): New variables.
32345 (hexdig): Move ...
32346 (print_mpn_fp): ... to function scope.
32347 (read_mpn_hex): Remove.
32348 (get_log2): Remove.
32349 (exp2_mpn): Use mp_log2.
32350 (main): Use mp_exp1.
32351
15c7c18d
JM
323522013-05-16 Joseph Myers <joseph@codesourcery.com>
32353
105a07df
JM
32354 * math/libm-test.inc: Remove comment about not testing "inexact"
32355 exceptions.
32356 (INEXACT_EXCEPTION): New macro.
32357 (NO_INEXACT_EXCEPTION): Likewise.
32358 (INVALID_EXCEPTION_OK): Update value.
32359 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32360 (OVERFLOW_EXCEPTION_OK): Likewise.
32361 (UNDERFLOW_EXCEPTION_OK): Likewise.
32362 (IGNORE_ZERO_INF_SIGN): Likewise.
32363 (ERRNO_UNCHANGED): Likewise.
32364 (ERRNO_EDOM): Likewise.
32365 (ERRNO_ERANGE): Likewise.
32366 (test_exceptions): Handle testing "inexact" exceptions.
32367 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
32368 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
32369 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
32370 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
32371 INEXACT_EXCEPTION.
32372 (rint_towardzero_test_data): Likewise.
32373 (rint_downward_test_data): Likewise.
32374 (rint_upward_test_data): Likewise.
32375
e9eee333
JM
32376 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
32377 with OVERFLOW_EXCEPTION.
32378 (exp10_test_data): Likewise.
32379 (exp2_test_data): Likewise.
32380 (expm1_test_data): Likewise.
32381 (lgamma_test_data): Likewise.
32382 (pow_test_data): Likewise.
32383 (tgamma_test_data): Likewise.
32384 (yn_test_data): Remove duplicate test of overflow.
32385
1c38ff73
JM
32386 * math/libm-test.inc (struct test_cc_c_data): New type.
32387 (RUN_TEST_LOOP_cc_c): New macro.
32388 (cpow_test_data): New variable.
32389 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
32390
15c7c18d
JM
32391 * math/libm-test.inc (struct test_f_L_data): New type.
32392 (RUN_TEST_LOOP_f_L): New macro.
32393 (llrint_test_data): New variable.
32394 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
32395 (llrint_tonearest_test_data): New variable.
32396 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
32397 (llrint_towardzero_test_data): New variable.
32398 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
32399 (llrint_downward_test_data): New variable.
32400 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
32401 (llrint_upward_test_data): New variable.
32402 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
32403 (llround_test_data): New variable.
32404 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
32405
f137ff13
PC
324062013-05-13 Peter Collingbourne <pcc@google.com>
32407
32408 * math/atest-exp2.c (get_log2): Remove const attribute.
32409
3608cb24
JM
324102013-05-15 Joseph Myers <joseph@codesourcery.com>
32411
32412 * math/libm-test.inc (struct test_f_l_data): New type.
32413 (RUN_TEST_LOOP_f_l): New macro.
32414 (lrint_test_data): New variable.
32415 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
32416 (lrint_tonearest_test_data): New variable.
32417 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
32418 (lrint_towardzero_test_data): New variable.
32419 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
32420 (lrint_downward_test_data): New variable.
32421 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
32422 (lrint_upward_test_data): New variable.
32423 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
32424 (lround_test_data): New variable.
32425 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
32426
39b1f617
PC
324272013-05-15 Peter Collingbourne <pcc@google.com>
32428
1deff3dc
PC
32429 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
32430 (EXTRACT_WORDS64) Use where appropriate.
32431 (INSERT_WORDS64) Likewise.
32432
791f3ba0
PC
32433 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
32434 constraints with x constraints.
32435 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
32436
39b1f617
PC
32437 * malloc/obstack.c (_obstack_compat): Add initializer.
32438
12fba011
EM
324392013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
32440
32441 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
32442 si_trapno and add si_addr_lsb to _sifields.sigfault.
32443 (si_trapno): Remove macro.
32444 (si_addr_lsb): Define new macro.
32445 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32446
d369f531
JM
324472013-05-15 Joseph Myers <joseph@codesourcery.com>
32448
b861c6c4
JM
32449 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
32450 instead of TEST_f_l.
32451 (llrint_test_tonearest): Likewise.
32452 (llrint_test_towardzero): Likewise.
32453 (llrint_test_downward): Likewise.
32454 (llrint_test_upward): Likewise.
32455 (llround_test): Likewise.
32456
7abeee12
JM
32457 * math/libm-test.inc (struct test_f_i_data): Add comment.
32458 (RUN_TEST_LOOP_f_b): New macro.
32459 (RUN_TEST_LOOP_f_b_tg): Likewise.
32460 (finite_test_data): New variable.
32461 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
32462 (isfinite_test_data): New variable.
32463 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32464 (isinf_test_data): New variable.
32465 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32466 (isnan_test_data): New variable.
32467 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32468 (isnormal_test_data): New variable.
32469 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32470 (issignaling_test_data): New variable.
32471 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32472 (signbit_test_data): New variable.
32473 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32474
cbe8c4d3
JM
32475 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
32476 with INVALID_EXCEPTION.
32477 (acosh_test_data): Likewise.
32478 (asin_test_data): Likewise.
32479 (atanh_test_data): Likewise.
32480 (fmod_test_data): Likewise.
32481 (log_test_data): Likewise.
32482 (log10_test_data): Likewise.
32483 (log2_test_data): Likewise.
32484 (pow_test_data): Likewise.
32485 (sqrt_test_data): Likewise.
32486 (y0_test_data): Likewise.
32487 (y1_test_data): Likewise.
32488 (yn_test_data): Likewise.
32489
5575c0e5
JM
32490 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
32491 function contents.
32492
d369f531
JM
32493 * math/libm-test.inc (struct test_ff_i_data): New type.
32494 (RUN_TEST_LOOP_ff_i_tg): New macro.
32495 (isgreater_test_data): New variable.
32496 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32497 (isgreaterequal_test_data): New variable.
32498 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32499 (isless_test_data): New variable.
32500 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32501 (islessequal_test_data): New variable.
32502 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32503 (islessgreater_test_data): New variable.
32504 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32505 (isunordered_test_data): New variable.
32506 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32507
781fd748
DM
325082013-05-14 David S. Miller <davem@davemloft.net>
32509
32510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32511
87aa21df
JM
325122013-05-14 Joseph Myers <joseph@codesourcery.com>
32513
5e908270
JM
32514 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
32515
f71172e5
JM
32516 * math/libm-test.inc (struct test_fF_f1_data): Change type of
32517 extra_test to int.
32518 (struct test_f_i_data): Change type of max_ulp to int.
32519
8cfa635a
JM
32520 * math/libm-test.inc (test_ffI_f1_data): New type.
32521 (RUN_TEST_LOOP_ffI_f1): New macro.
32522 (remquo_test_data): New variable.
32523 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
32524
2bcb36b2
JM
32525 * setjmp/tst-setjmp-fp.c: New file.
32526 * setjmp/Makefile (tests): Add tst-setjmp-fp.
32527 (link-libm): New variable.
32528 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
32529
acbd839a
JM
32530 * math/libm-test.inc (struct test_f_i_data): New type.
32531 (RUN_TEST_LOOP_f_i): New macro.
32532 (RUN_TEST_LOOP_f_i_tg): Likewise.
32533 (fpclassify_test_data): New variable.
32534 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
32535 (ilogb_test_data): New variable.
32536 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
32537
e414d745
JM
32538 * math/libm-test.inc (scalbln_test): Correct function name in END
32539 call.
32540
d9c2a0fd
JM
32541 * math/libm-test.inc (struct test_f_f1_data): Add comment.
32542 (RUN_TEST_LOOP_fI_f1): New macro.
32543 (frexp_test_data): New variable.
32544 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
32545
9dc9095d
JM
32546 * math/libm-test.inc (struct test_fF_f1_data): New type.
32547 (RUN_TEST_LOOP_fF_f1): New macro.
32548 (modf_test_data): New variable.
32549 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
32550
87aa21df
JM
32551 * math/libm-test.inc (struct test_f_f1_data): New type.
32552 (RUN_TEST_LOOP_f_f1): New macro.
32553 (gamma_test_data): New variable.
32554 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32555 (lgamma_test_data): New variable.
32556 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32557
141af660
CD
325582013-05-13 Carlos O'Donell <carlos@redhat.com>
32559
32560 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
32561 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
32562 (main): Comment "tls" pseudo-hwcap.
32563
6d33265c
JM
325642013-05-13 Joseph Myers <joseph@codesourcery.com>
32565
68fc074c
JM
32566 * math/libm-test.inc (struct test_fl_f_data): New type.
32567 (RUN_TEST_LOOP_fl_f): New variable.
32568 (scalbln_test_data): New variable.
32569 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
32570
243216e1
JM
32571 * math/libm-test.inc (struct test_fi_f_data): New type.
32572 (RUN_TEST_LOOP_fi_f): New macro.
32573 (ldexp_test_data): New variable.
32574 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
32575 (scalbn_test_data): New variable.
32576 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
32577
6a1992e2
JM
32578 * math/libm-test.inc (struct test_c_f_data): New type.
32579 (RUN_TEST_LOOP_c_f): New macro.
32580 (cabs_test_data): New variable.
32581 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
32582 (carg_test_data): New variable.
32583 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
32584 (cimag_test_data): New variable.
32585 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
32586 (creal_test_data): New variable.
32587 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
32588
0e400df5
JM
32589 * math/libm-test.inc (struct test_if_f_data): New type.
32590 (RUN_TEST_LOOP_if_f): New macro.
32591 (jn_test_data): New variable.
32592 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
32593 (yn_test_data): New variable.
32594 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
32595
6d33265c
JM
32596 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
32597
f98ece5f
AZ
325982013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32599
32600 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
32601 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
32602
0f7d347b
SP
326032013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32604
43fe811b
SP
32605 * benchtests/Makefile (CPPFLAGS-nonlib): Add
32606 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
32607 (bench-deps): Add bench-timing.h.
32608 * benchtests-bench-skeleton.c: Include bench-timing.h.
32609 (main): Use TIMING_* macros instead of clock_gettime.
32610 * benchtests/bench-timing.h: New file.
32611
0f7d347b
SP
32612 [BZ #14582]
32613 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
32614 Renamed from _LIB_VERSION.
32615 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
32616
601a3a5f
JM
326172013-05-12 Joseph Myers <joseph@codesourcery.com>
32618
4f184d30
JM
32619 * math/libm-test.inc (struct test_fff_f_data): New type.
32620 (RUN_TEST_LOOP_fff_f): New macro.
32621 (fma_test_data): New variable.
32622 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
32623 (fma_towardzero_test_data): New variable.
32624 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
32625 (fma_downward_test_data): New variable.
32626 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
32627 (fma_upward_test_data): New variable.
32628 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
32629
08198877
JM
32630 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
32631 (struct test_c_c_data): New type.
32632 (RUN_TEST_LOOP_c_c): New macro.
32633 (cacos_test_data): New variable.
32634 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
32635 (cacosh_test_data): New variable.
32636 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
32637 (casin_test_data): New variable.
32638 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
32639 (casinh_test_data): New variable.
32640 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
32641 (catan_test_data): New variable.
32642 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
32643 (catanh_test_data): New variable.
32644 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
32645 (ccos_test_data): New variable.
32646 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
32647 (ccosh_test_data): New variable.
32648 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
32649 (cexp_test_data): New variable.
32650 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
32651 (clog_test_data): New variable.
32652 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
32653 (clog10_test_data): New variable.
32654 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
32655 (conj_test_data): New variable.
32656 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
32657 (cproj_test_data): New variable.
32658 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
32659 (csin_test_data): New variable.
32660 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
32661 (csinh_test_data): New variable.
32662 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
32663 (csqrt_test_data): New variable.
32664 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
32665 (ctan_test_data): New variable.
32666 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
32667 (ctan_tonearest_test_data): New variable.
32668 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32669 (ctan_towardzero_test_data): New variable.
32670 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32671 (ctan_downward_test_data): New variable.
32672 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32673 (ctan_upward_test_data): New variable.
32674 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32675 (ctanh_test_data): New variable.
32676 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
32677 (ctanh_tonearest_test_data): New variable.
32678 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32679 (ctanh_towardzero_test_data): New variable.
32680 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32681 (ctanh_downward_test_data): New variable.
32682 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32683 (ctanh_upward_test_data): New variable.
32684 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32685 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
32686 of BUILD_COMPLEX.
32687
601a3a5f
JM
32688 * math/libm-test.inc (struct test_ff_f_data): New type.
32689 (struct test_ff_f_data_nexttoward): Likewise.
32690 (RUN_TEST_LOOP_2_f): New macro.
32691 (RUN_TEST_LOOP_ff_f): Likewise.
32692 (atan2_test_data): New variable.
32693 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
32694 (copysign_test_data): New variable.
32695 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
32696 (fdim_test_data): New variable.
32697 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
32698 (fmax_test_data): New variable.
32699 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
32700 (fmin_test_data): New variable.
32701 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
32702 (fmod_test_data): New variable.
32703 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
32704 (hypot_test_data): New variable.
32705 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
32706 (nextafter_test_data): New variable.
32707 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
32708 (nexttoward_test_data): New variable.
32709 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
32710 (pow_test_data): New variable.
32711 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
32712 (pow_tonearest_test_data): New variable.
32713 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
32714 (pow_towardzero_test_data): New variable.
32715 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
32716 (pow_downward_test_data): New variable.
32717 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
32718 (pow_upward_test_data): New variable.
32719 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
32720 (remainder_test_data): New variable.
32721 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
32722 (scalb_test_data): New variable.
32723 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
32724 * sysdeps/i386/fpu/libm-test-ulps: Update.
32725
74c57478
JM
327262013-05-11 Joseph Myers <joseph@codesourcery.com>
32727
8329e4da
JM
32728 * math/libm-test.inc (fma_test): Use max_value instead of local
32729 variable fltmax.
32730 (nextafter_test): Likewise.
32731
74c57478
JM
32732 * math/libm-test.inc (acos_towardzero_test_data): New variable.
32733 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32734 (acos_downward_test_data): New variable.
32735 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32736 (acos_upward_test_data): New variable.
32737 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32738 (acosh_test_data): New variable.
32739 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
32740 (asin_test_data): New variable.
32741 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
32742 (asin_tonearest_test_data): New variable.
32743 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32744 (asin_towardzero_test_data): New variable.
32745 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32746 (asin_downward_test_data): New variable.
32747 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32748 (asin_upward_test_data): New variable.
32749 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32750 (asinh_test_data): New variable.
32751 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
32752 (atan_test_data): New variable.
32753 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
32754 (atanh_test_data): New variable.
32755 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
32756 (cbrt_test_data): New variable.
32757 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
32758 (ceil_test_data): New variable.
32759 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
32760 (cos_test_data): New variable.
32761 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
32762 (cos_tonearest_test_data): New variable.
32763 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32764 (cos_towardzero_test_data): New variable.
32765 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32766 (cos_downward_test_data): New variable.
32767 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32768 (cos_upward_test_data): New variable.
32769 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32770 (cosh_test_data): New variable.
32771 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
32772 (cosh_tonearest_test_data): New variable.
32773 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32774 (cosh_towardzero_test_data): New variable.
32775 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32776 (cosh_downward_test_data): New variable.
32777 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32778 (cosh_upward_test_data): New variable.
32779 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32780 (erf_test_data): New variable.
32781 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
32782 (erfc_test_data): New variable.
32783 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
32784 (exp_test_data): New variable.
32785 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
32786 (exp_tonearest_test_data): New variable.
32787 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32788 (exp_towardzero_test_data): New variable.
32789 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32790 (exp_downward_test_data): New variable.
32791 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32792 (exp_upward_test_data): New variable.
32793 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32794 (exp10_test_data): New variable.
32795 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
32796 (exp2_test_data): New variable.
32797 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
32798 (expm1_test_data): New variable.
32799 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
32800 (fabs_test_data): New variable.
32801 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
32802 (floor_test_data): New variable.
32803 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
32804 (j0_test_data): New variable.
32805 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
32806 (j1_test_data): New variable.
32807 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
32808 (log_test_data): New variable.
32809 (log_test): Run tests with RUN_TEST_LOOP_f_f.
32810 (log10_test_data): New variable.
32811 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
32812 (log1p_test_data): New variable.
32813 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
32814 (log2_test_data): New variable.
32815 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
32816 (logb_test_data): New variable.
32817 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
32818 (logb_downward_test_data): New variable.
32819 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32820 (nearbyint_test_data): New variable.
32821 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
32822 (rint_test_data): New variable.
32823 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
32824 (rint_tonearest_test_data): New variable.
32825 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32826 (rint_towardzero_test_data): New variable.
32827 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32828 (rint_downward_test_data): New variable.
32829 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32830 (rint_upward_test_data): New variable.
32831 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32832 (round_test_data): New variable.
32833 (round_test): Run tests with RUN_TEST_LOOP_f_f.
32834 (sin_test_data): New variable.
32835 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
32836 (sin_tonearest_test_data): New variable.
32837 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32838 (sin_towardzero_test_data): New variable.
32839 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32840 (sin_downward_test_data): New variable.
32841 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32842 (sin_upward_test_data): New variable.
32843 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32844 (sinh_test_data): New variable.
32845 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
32846 (sinh_tonearest_test_data): New variable.
32847 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32848 (sinh_towardzero_test_data): New variable.
32849 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32850 (sinh_downward_test_data): New variable.
32851 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32852 (sinh_upward_test_data): New variable.
32853 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32854 (sqrt_test_data): New variable.
32855 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
32856 (tan_test_data): New variable.
32857 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
32858 (tan_tonearest_test_data): New variable.
32859 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32860 (tan_towardzero_test_data): New variable.
32861 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32862 (tan_downward_test_data): New variable.
32863 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32864 (tan_upward_test_data): New variable.
32865 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32866 (tanh_test_data): New variable.
32867 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
32868 (tgamma_test_data): New variable.
32869 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
32870 (trunc_test_data): New variable.
32871 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
32872 (y0_test_data): New variable.
32873 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
32874 (y1_test_data): New variable.
32875 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
32876 (significand_test_data): New variable.
32877 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
32878
7187d844
CG
328792013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
32880
32881 [BZ #12387]
32882 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
32883
f63fae73
PT
328842013-05-10 Pino Toscano <toscano.pino@tiscali.it>
32885
32886 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
32887
8a67a4b3
AJ
328882013-05-10 Andreas Jaeger <aj@suse.de>
32889
32890 [BZ #15448]
32891 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
32892 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
32893
51df539d
JM
328942013-05-10 Joseph Myers <joseph@codesourcery.com>
32895
32896 * math/gen-libm-test.pl (adjust_arg): New function.
32897 (special_functions): Handle generating output in both functions
32898 and arrays.
32899 (parse_args): Likewise.
32900 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
32901 $in_func argument to parse_args.
32902 * math/libm-test.inc (struct test_f_f_data): New type.
32903 (IF_ROUND_INIT_): New macro.
32904 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
32905 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32906 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32907 (IF_ROUND_INIT_FE_UPWARD): Likewise.
32908 (ROUND_RESTORE_): Likewise.
32909 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
32910 (ROUND_RESTORE_FE_TONEAREST): Likewise.
32911 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
32912 (ROUND_RESTORE_FE_UPWARD): Likewise.
32913 (RUN_TEST_LOOP_f_f): New macro.
32914 (acos_test_data): New variable.
32915 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
32916 (acos_tonearest_test_data): New variable.
32917 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32918
5c637fe5
SP
329192013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32920
32921 * benchtests/bench-skeleton.c (startup): Fix coding style.
32922
ab2b9461
JM
329232013-05-10 Joseph Myers <joseph@codesourcery.com>
32924
32925 [BZ #6809]
32926 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
32927 negative infinity argument.
32928 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
32929 negative infinity argument.
32930 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
32931 negative infinity argument.
32932 * math/libm-test.inc (tgamma_test): Expect errno to be set for
32933 domain errors.
32934
4c0fe6fe
FW
329352013-05-10 Florian Weimer <fweimer@redhat.com>
32936
32937 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
32938 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
32939 * iconv/iconv_prog.c (main): Likewise.
32940 * locale/programs/charmap-dir.c (charmap_readdir)
32941 (fopen_uncompressed): Likewise.
32942 * locale/programs/locfile.c (siblings_uncached)
32943 (write_locale_data): Use lstat64 instead of lstat.
32944 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
32945 stat.
32946
a3375d29
AJ
329472013-05-10 Andreas Jaeger <aj@suse.de>
32948
32949 [BZ #15395]
32950 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
32951 localization.
32952 Include <locale.h>.
32953
36129722
CD
329542013-05-09 Carlos O'Donell <carlos@redhat.com>
32955
32956 * elf/dl-close.c (_dl_close_worker): Add comments.
32957
faa7f811
JM
329582013-05-09 Joseph Myers <joseph@codesourcery.com>
32959
ed41ffef
JM
32960 [BZ #15359]
32961 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
32962 high part of pi/2.
32963 (__ieee754_rem_pio2l): Update comments.
32964
d0213cd0
JM
32965 [BZ #15429]
32966 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
32967 high part of pi/2.
32968 (__ieee754_rem_pio2l): Update comments.
32969
0d3e777a
JM
32970 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
32971 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
32972
24f56066
JM
32973 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
32974 M_PI_4l.
32975
faa7f811
JM
32976 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
32977 (M_PI_34_LOG10El): Likewise.
32978 (M_PI2_LOG10El): Likewise.
32979 (M_PI4_LOG10El): Likewise.
32980 (M_PI_LOG10El): Likewise.
32981
e9a5e0fd
AZ
329822013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32983
32984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32985
d8cd06db
JM
329862013-05-08 Joseph Myers <joseph@codesourcery.com>
32987
a0d9f9d7
JM
32988 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
32989 (MINUS_ZERO_INIT): Likewise.
32990 (PLUS_INFTY_INIT): Likewise.
32991 (MINUS_INFTY_INIT): Likewise.
32992 (QNAN_VALUE_INIT): Likewise.
32993 (MAX_VALUE_INIT): Likewise.
32994 (MIN_VALUE_INIT): Likewise.
32995 (MIN_SUBNORM_VALUE_INIT): Likewise.
32996 (plus_zero): Initialize with PLUS_ZERO_INIT.
32997 (minus_zero): Initialize with MINUS_ZERO_INIT.
32998 (plus_infty): Initialize with PLUS_INFTY_INIT.
32999 (minus_infty): Initialize with MINUS_INFTY_INIT.
33000 (qnan_value): Initialize with QNAN_VALUE_INIT.
33001 (max_value): Initialize with MAX_VALUE_INIT.
33002 (min_value): Initialize with MIN_VALUE_INIT.
33003 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
33004
ae08db3b
JM
33005 * math/libm-test.inc (RUN_TEST_if_f): New macro.
33006 (jn_test): Use TEST_if_f instead of TEST_ff_f.
33007 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
33008 (yn_test): Use TEST_if_f instead of TEST_ff_f.
33009
f44bf14a
JM
33010 * math/libm-test.inc (RUN_TEST_f_f): New macro.
33011 (RUN_TEST_2_f): Likewise.
33012 (RUN_TEST_ff_f): Likewise.
33013 (RUN_TEST_fi_f): Likewise.
33014 (RUN_TEST_fl_f): Likewise.
33015 (RUN_TEST_fff_f): Likewise.
33016 (RUN_TEST_c_f): Likewise.
33017 (RUN_TEST_f_f1): Likewise.
33018 (RUN_TEST_fF_f1): Likewise.
33019 (RUN_TEST_fI_f1): Likewise.
33020 (RUN_TEST_ffI_f1): Likewise.
33021 (RUN_TEST_c_c): Likewise.
33022 (RUN_TEST_cc_c): Likewise.
33023 (RUN_TEST_f_i): Likewise.
33024 (RUN_TEST_f_i_tg): Likewise.
33025 (RUN_TEST_ff_i_tg): Likewise.
33026 (RUN_TEST_f_b): Likewise.
33027 (RUN_TEST_f_b_tg): Likewise.
33028 (RUN_TEST_f_l): Likewise.
33029 (RUN_TEST_f_L): Likewise.
33030 (RUN_TEST_sincos): Likewise.
33031 * math/gen-libm-test.pl (new_test): Take new argument to indicate
33032 whether to show exceptions. Do not include ");\n" in return
33033 value.
33034 (special_functions): Output call to RUN_TEST_sincos instead of
33035 check_float calls. Update calls to new_test.
33036 (parse_args): Output call to single RUN_TEST_* macro instead of
33037 check_* calls and other assignments. Update calls to new_test.
33038
d8cd06db
JM
33039 [BZ #2546]
33040 [BZ #2560]
33041 [BZ #5159]
33042 [BZ #15426]
33043 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
33044 input to result for tgamma overflow.
33045 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
33046 (gamma_coeff): New variable.
33047 (NCOEFF): New macro.
33048 (gamma_positive): New function.
33049 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
33050 underflow here. Use gamma_positive instead of exp (lgamma) for
33051 other arguments.
33052 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
33053 (gamma_coeff): New variable.
33054 (NCOEFF): New macro.
33055 (gammaf_positive): New function.
33056 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
33057 underflow here. Use gamma_positive instead of exp (lgamma) for
33058 other arguments.
33059 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
33060 (gamma_coeff): New variable.
33061 (NCOEFF): New macro.
33062 (gammal_positive): New function.
33063 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
33064 underflow here. Use gamma_positive instead of exp (lgamma) for
33065 other arguments.
33066 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
33067 (gamma_coeff): New variable.
33068 (NCOEFF): New macro.
33069 (gammal_positive): New function.
33070 (__ieee754_gammal_r): Handle positive infinity, overflow and
33071 underflow here. Handle NaN the same as positive infinity. Remove
33072 check x < 0xffffffff for negative integers. Use gamma_positive
33073 instead of exp (lgamma) for other arguments.
33074 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
33075 (gamma_coeff): New variable.
33076 (NCOEFF): New macro.
33077 (gammal_positive): New function.
33078 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
33079 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
33080 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
33081 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
33082 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
33083 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
33084 * sysdeps/generic/math_private.h (__gamma_productf): New
33085 prototype.
33086 (__gamma_product): Likewise.
33087 (__gamma_productl): Likewise.
33088 * math/Makefile (libm-calls): Add gamma_product.
33089 * math/libm-test.inc (tgamma_test): Add more tests.
33090 * sysdeps/i386/fpu/libm-test-ulps: Update.
33091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33092
bb7cf681
OB
330932013-05-08 Ondřej Bílka <neleai@seznam.cz>
33094
33095 * benchtests/bench-skeleton.c (main): Preheat CPU.
33096
ba853947
AJ
330972013-05-07 Aurelien Jarno <aurelien@aurel32.net>
33098
33099 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
33100
8347c74c
RM
331012013-05-07 Roland McGrath <roland@hack.frob.com>
33102
33103 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
33104 and _dl_skip_args_internal.
33105
e8dd4791
CD
331062013-05-07 Carlos O'Donell <carlos@redhat.com>
33107
33108 * manual/message.texi (Message Translation): Talk about users.
33109 Message to key mapping impacts design.
33110
c7405830
RM
331112013-05-06 Roland McGrath <roland@hack.frob.com>
33112
a9173057
RM
33113 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
33114
976e2f03
RM
33115 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
33116
9723ffc5
RM
33117 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
33118 * sysdeps/wordsize-64/glob64.c: ... here.
33119
962e6658
RM
33120 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
33121 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
33122 New macros.
33123
ee586a6d
RM
33124 * debug/getlogin_r_chk.c: Moved to ...
33125 * login/getlogin_r_chk.c: ... here.
33126 * debug/Makefile (routines): Move getlogin_r_chk to ...
33127 * login/Makefile (routines): ... here.
33128 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
33129 * login/Versions (libc: GLIBC_2.4): ... here.
33130
355f9165
RM
33131 * io/poll.c (__poll): Renamed from poll.
33132 Add libc_hidden_def.
33133 (poll): Define as weak alias.
33134
bd9ffde6
RM
33135 * debug/ptsname_r_chk.c: Moved to ...
33136 * login/ptsname_r_chk.c: ... here.
33137 * debug/Makefile (routines): Move ptsname_r_chk to ...
33138 * login/Makefile (routines): ... here.
33139 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
33140 * login/Versions (libc: GLIBC_2.4): ... here.
33141
8fb16a04
RM
33142 * posix/getlogin.c: Moved to ...
33143 * login/getlogin.c: ... here.
33144 * posix/getlogin_r.c: Moved to ...
33145 * login/getlogin_r.c: ... here.
33146 * posix/getlogin_r.c: Moved to ...
33147 * login/getlogin_r.c: ... here.
33148 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
33149 * login/Makefile (routines): ... here.
33150 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
33151 * login/Versions (libc: GLIBC_2.0): ... here.
33152
b99b892f
RM
33153 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
33154 (setrlimit): Define as weak alias.
33155
c7405830
RM
33156 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
33157 Call __ names for open, ftruncate, and close.
33158 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
33159 (truncate): Define as weak alias.
33160
5bf96de5
JM
331612013-05-06 Joseph Myers <joseph@codesourcery.com>
33162
9ea3513c
JM
33163 * math/gen-libm-test.pl (parse_args): Initialize x before each
33164 test of frexp, modf and remquo.
33165
5bf96de5
JM
33166 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
33167 test signgam value.
33168
16e616a7
AZ
331692013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33170
33171 [BZ #15418]
33172 [BZ #15419]
33173 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
33174 internal tests.
33175 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33176
d5e82754
RM
331772013-05-06 Roland McGrath <roland@hack.frob.com>
33178
33179 * elf/dl-writev.h: New file.
33180 * elf/dl-misc.c: Include it.
33181 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
33182 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
33183
a7548d41
JM
331842013-05-04 Joseph Myers <joseph@codesourcery.com>
33185
b7dab1e4
JM
33186 * math/libm-test.inc (noXFails): Remove variable.
33187 (noXPasses): Likewise.
33188 (BUILD_COMPLEX_INT): Remove macro.
33189 (print_screen): Remove xfail argument.
33190 (print_screen_max_error): Likewise.
33191 (update_stats): Likewise.
33192 (print_max_error): Likewise. Update calls to other affected
33193 functions.
33194 (print_complex_max_error): Likewise.
33195 (test_single_exception): Update calls to print_screen.
33196 (test_single_errno): Likewise.
33197 (check_float_internal): Remove xfail argument. Update calls to
33198 other affected functions.
33199 (check_float): Likewise.
33200 (check_complex): Likewise.
33201 (check_int): Likewise.
33202 (check_long): Likewise.
33203 (check_bool): Likewise.
33204 (check_longlong): Likewise.
33205 (main): Don't print noXFails and noXPasses.
33206 * math/gen-libm-test.pl (top level): Don't mention expected
33207 failure handling in comment.
33208 (new_test): Don't handle expected failures.
33209 (parse_args): Don't mention expected failure handling in comment.
33210 (generate_testfile): Don't handle expected failures.
33211 (parse_ulps): Likewise.
33212 (print_ulps_file): Likewise.
33213 (get_failure): Remove function.
33214 (output_test): Don't handle expected failures.
33215 * make/README.libm-test: Don't mention expected failure handling.
33216
a7548d41
JM
33217 * math/libm-test.inc (plus_zero): Make const. Add initializer.
33218 (minus_zero): Likewise.
33219 (plus_infty): Likewise.
33220 (minus_infty): Likewise.
33221 (qnan_value): Likewise.
33222 (max_value): Likewise.
33223 (min_value): Likewise.
33224 (min_subnorm_value): Likewise.
33225 (initialize): Do not initialize those variables dynamically.
33226
60bfd54c
RM
332272013-05-03 Roland McGrath <roland@hack.frob.com>
33228
cc0e6ed8
RM
33229 * io/open.c (__open_2): Moved to ...
33230 * io/open_2.c: ... this new file.
33231 * io/open64.c (__open64_2): Moved to ...
33232 * io/open64_2.c: ... this new file.
33233 * io/openat.c (__openat_2): Moved to ...
33234 * io/openat_2.c: ... this new file.
33235 * io/openat64.c (__openat64_2): Moved to ...
33236 * io/openat64_2.c: ... this new file.
33237 * io/Makefile (routines): Add them.
33238 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
33239 * sysdeps/unix/sysv/linux/open_2.c: File removed.
33240 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
33241 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
33242 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
33243 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
33244 (__openat64): Add hidden_ver.
33245 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
33246 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
33247
60bfd54c
RM
33248 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
33249 Separately conditionalize setting of GLRO(dl_sysinfo) so
33250 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
33251 as well, but the actual setting is only under [NEED_DL_SYSINFO].
33252
83e7640f
AZ
332532013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33254
33255 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
33256 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
33257 definition.
33258 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
33259 * sysdeps/unix/sysv/linux/powerpc/init-first.c
33260 (_libc_vdso_platform_setup): Add __vdso_time initialization.
33261 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
33262 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
33263
d5dc2af3
JM
332642013-05-03 Joseph Myers <joseph@codesourcery.com>
33265
c31a5b1e
JM
33266 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
33267 test signgam value.
33268
d5dc2af3
JM
33269 * math/libm-test.inc (hypot_test): Do not use
33270 IGNORE_ZERO_INF_SIGN.
33271
164fd39d
AJ
332722013-05-03 Andreas Jaeger <aj@suse.de>
33273
33274 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
33275 Linux 3.9.
33276 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
33277 (PF_MAX): Adjust for VSOCK change.
33278
8237f48c
AZ
332792013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33280
33281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33282
9df02941
CD
332832013-05-02 Carlos O'Donell <carlos@redhat.com>
33284
33285 [BZ #15264]
33286 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
33287 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
33288 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
33289
d422395e
DM
332902013-05-02 David S. Miller <davem@davemloft.net>
33291
33292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33293
a07c5731
OB
332942013-05-01 Ondřej Bílka <neleai@seznam.cz>
33295
33296 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
33297
1324e37f
RM
332982013-05-01 Roland McGrath <roland@hack.frob.com>
33299
33300 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
33301
0695940b
RS
333022013-05-01 Richard Smith <richard@metafoo.co.uk>
33303
bb5f27ad 33304 [BZ #14952]
0695940b
RS
33305 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
33306 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33307 Use __attribute__ ((__gnu_inline__)).
33308 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33309 Don't use __attribute__ ((__gnu_inline__)).
33310
10de07f5
JM
333112013-05-01 Joseph Myers <joseph@codesourcery.com>
33312
33313 [BZ #15423]
33314 * math/s_catan.c (__catan): Handle small real or imaginary part of
33315 input specially to avoid spurious underflow.
33316 * math/s_catanf.c (__catanf): Likewise.
33317 * math/s_catanh.c (__catanh): Likewise.
33318 * math/s_catanhf.c (__catanhf): Likewise.
33319 * math/s_catanhl.c (__catanhl): Likewise.
33320 * math/s_catanl.c (__catanl): Likewise.
33321 * math/libm-test.inc (catan_test): Add more tests.
33322 (catanh_test): Likewise.
33323 * sysdeps/i386/fpu/libm-test-ulps: Update.
33324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33325
cb4d5414
AZ
333262013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33327
33328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33329
caf84319
JM
333302013-04-30 Joseph Myers <joseph@codesourcery.com>
33331
33332 [BZ #15416]
33333 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
33334 accurately for denominator in atan2.
33335 * math/s_catanf.c (__catanf): Likewise.
33336 * math/s_catanh.c (__catanh): Likewise.
33337 * math/s_catanhf.c (__catanhf): Likewise.
33338 * math/s_catanhl.c (__catanhl): Likewise.
33339 * math/s_catanl.c (__catanl): Likewise.
33340 * math/libm-test.inc (catan_test): Add more tests.
33341 (catanh_test): Likewise.
33342 * sysdeps/i386/fpu/libm-test-ulps: Update.
33343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33344
d569c6ee
SP
333452013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33346
6dbe713d
SP
33347 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
33348
f0ee064b
SP
33349 * benchtests/Makefile (bench): Remove slow benchmarks.
33350 * benchtests/atan-inputs: Add slow benchmark inputs.
33351 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
33352 (BENCH_FUNC): Accept variant offset.
33353 (VARIANT): Define.
33354 * benchtests/bench-skeleton.c (main): Run benchmark for each
33355 variant.
33356 * benchtests/cos-inputs: Add slow benchmark inputs.
33357 * benchtests/exp-inputs: Likewise.
33358 * benchtests/pow-inputs: Likewise.
33359 * benchtests/sin-inputs: Likewise.
33360 * benchtests/slowatan-inputs: Remove.
33361 * benchtests/slowatan.c: Remove.
33362 * benchtests/slowcos-inputs: Remove.
33363 * benchtests/slowcos.c: Remove.
33364 * benchtests/slowexp-inputs: Remove.
33365 * benchtests/slowexp.c: Remove.
33366 * benchtests/slowpow-inputs: Remove.
33367 * benchtests/slowpow.c: Remove.
33368 * benchtests/slowsin-inputs: Remove.
33369 * benchtests/slowsin.c: Remove.
33370 * benchtests/slowtan-inputs: Remove.
33371 * benchtests/slowtan.c: Remove.
33372 * benchtests/tan-inputs: Add slow benchmark inputs.
33373 * scripts/bench.pl: Parse comments and directives.
33374
d569c6ee
SP
33375 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
33376 in CPPFLAGS.
33377 ($(objpfx)bench-%.c): Remove *-ITER.
33378 * benchtests/bench-modf.c: Remove definition of ITER.
33379 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
33380 (main): Loop for DURATION seconds instead of fixed number of
33381 iterations.
33382 * scripts/bench.pl: Don't expect iterations in parameters.
33383
a6a242fe
RM
333842013-04-29 Roland McGrath <roland@hack.frob.com>
33385
33386 * io/fchdir.c (__fchdir): Renamed from fchdir.
33387 (fchdir): Define as weak alias.
33388
f2da7793
JM
333892013-04-29 Joseph Myers <joseph@codesourcery.com>
33390
33391 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
33392 (ERRNO_EDOM): Likewise.
33393 (ERRNO_ERANGE): Likewise.
33394 (noErrnoTests): New variable.
33395 (init_max_error): Set errno to 0.
33396 (test_single_errno): New function.
33397 (test_errno): Likewise.
33398 (check_float_internal): Call test_errno. Set errno to 0.
33399 (check_complex): Refer to errno tests in comment.
33400 (check_int): Call test_errno. Set errno to 0.
33401 (check_long): Likewise.
33402 (check_bool): Likewise.
33403 (check_longlong): Likewise.
33404 (cos_test): Use ERRNO_* flags for errno tests instead of
33405 check_int.
33406 (expm1_test): Likewise.
33407 (fmod_test): Likewise.
33408 (ilogb_test): Likewise.
33409 (lgamma_test): Likewise.
33410 (pow_test): Likewise.
33411 (remainder_test): Likewise.
33412 (sin_test): Likewise.
33413 (tan_test): Likewise.
33414 (yn_test): Likewise.
33415 (initialize): Set errno to 0.
33416 (main): Print number of errno tests.
33417 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
33418
b1a36ceb
AJ
334192013-04-29 Andreas Jaeger <aj@suse.de>
33420
c3ed8088
AJ
33421 [BZ #15084]
33422 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
33423 and RES_USEVC.
33424
f1a24198
AJ
33425 [BZ #15085]
33426 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
33427 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
33428 unimplemented.
33429
9ce3b2cb
AJ
33430 [BZ #15380]
33431 * stdlib/random.c (__initstate): Return NULL if
33432 __initstate fails.
33433
f1a24198 33434 [BZ #15086]
b1a36ceb
AJ
33435 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
33436 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
33437 RES_SNGLKUPREOP.
33438
7e7b6f36
AZ
334392013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33440
33441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33442
4d14f449
JM
334432013-04-29 Joseph Myers <joseph@codesourcery.com>
33444
33445 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
33446 of individual tests.
33447 (casin_test): Likewise.
33448 (casinh_test): Likewise.
33449
5b4217d7
JM
334502013-04-27 Joseph Myers <joseph@codesourcery.com>
33451
33452 [BZ #15409]
33453 * math/s_catan.c (__catan): Handle arguments with large real or
33454 imaginary part separately without squaring.
33455 * math/s_catanf.c (__catanf): Likewise.
33456 * math/s_catanh.c (__catanh): Likewise.
33457 * math/s_catanhf.c (__catanhf): Likewise.
33458 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33459 and redefine.
33460 (__catanhl): Handle arguments with large real or imaginary part
33461 separately without squaring.
33462 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33463 and redefine.
33464 (__catanl): Handle arguments with large real or imaginary part
33465 separately without squaring.
33466 * math/libm-test.inc (catan_test): Add more tests.
33467 (catanh_test): Likewise.
33468 * sysdeps/i386/fpu/libm-test-ulps: Update.
33469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33470
4220c3ef
AJ
334712013-04-27 Andreas Jaeger <aj@suse.de>
33472
33473 [BZ #15007]
33474 * stdlib/stdlib.h: Update guards for qecvt.
33475 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
33476 <stdlib.h>.
33477
4721b2d1
AM
334782013-04-27 Allan McRae <allan@archlinux.org>
33479
33480 * sysdeps/i386/fpu/libm-test-ulps: Update.
33481
f0302940
JM
334822013-04-26 Joseph Myers <joseph@codesourcery.com>
33483
9457fd95
JM
33484 [BZ #15406]
33485 * math/s_catan.c: Include <float.h>.
33486 (__catan): Ensure underflow exception occurs for underflowed
33487 result.
33488 * math/s_catanf.c: Include <float.h>.
33489 (__catanf): Ensure underflow exception occurs for underflowed
33490 result.
33491 * math/s_catanh.c: Include <float.h>.
33492 (__catanh): Ensure underflow exception occurs for underflowed
33493 result.
33494 * math/s_catanhf.c: Include <float.h>.
33495 (__catanhf): Ensure underflow exception occurs for underflowed
33496 result.
33497 * math/s_catanhl.c: Include <float.h>.
33498 (__catanhl): Ensure underflow exception occurs for underflowed
33499 result.
33500 * math/s_catanl.c: Include <float.h>.
33501 (__catanl): Ensure underflow exception occurs for underflowed
33502 result.
33503 * math/libm-test.inc (catan_test): Add more tests.
33504 (catanh_test): Likewise.
33505
f0302940
JM
33506 [BZ #15405]
33507 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
33508 underflowed result.
33509 * math/s_ccoshf.c (__ccoshf): Likewise.
33510 * math/s_ccoshl.c (__ccoshl): Likewise.
33511 * math/s_csin.c (__csin): Likewise.
33512 * math/s_csinf.c (__csinf): Likewise.
33513 * math/s_csinh.c (__csinh): Likewise.
33514 * math/s_csinhf.c (__csinhf): Likewise.
33515 * math/s_csinhl.c (__csinhl): Likewise.
33516 * math/s_csinl.c (__csinl): Likewise.
33517 * math/libm-test.inc (ccos_test): Add more tests.
33518 (ccosh_test): Likewise.
33519 (csin_test): Likewise.
33520 (csinh_test): Likewise.
33521
aa630f59
AZ
335222013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33523
33524 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
33525 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
33526 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
33527 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
33528 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
33529 powerpc/power5+/fpu folders.
33530 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
33531
33532
1b835983
MT
335332013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
33534
33535 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33536
73709b26
JM
335372013-04-25 Joseph Myers <joseph@codesourcery.com>
33538
33539 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
33540 additions to variable.
33541 [$(config-machine) = x86_64] (modules-names): Likewise.
33542 ($(objpfx)tst-audit3): Remove dependency.
33543 ($(objpfx)tst-audit3.out): Likewise.
33544 ($(objpfx)tst-audit4): Likewise.
33545 ($(objpfx)tst-audit4.out): Likewise.
33546 ($(objpfx)tst-audit5): Likewise.
33547 ($(objpfx)tst-audit5.out): Likewise.
33548 ($(objpfx)tst-audit6): Likewise.
33549 ($(objpfx)tst-audit6.out): Likewise.
33550 ($(objpfx)tst-audit7): Likewise.
33551 ($(objpfx)tst-audit7.out): Likewise.
33552 (tst-audit3-ENV): Remove variable.
33553 (tst-audit4-ENV): Likewise.
33554 (tst-audit5-ENV): Likewise.
33555 (tst-audit6-ENV): Likewise.
33556 (tst-audit7-ENV): Likewise.
33557 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
33558 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
33559 addition to variable.
33560 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
33561 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
33562 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
33563 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
33564 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
33565 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
33566 tst-audit3, tst-audit4 and tst-audit5.
33567 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
33568 tst-audit6 and tst-audit7.
33569 [$(subdir) = elf] (modules-names): Add audit modules for those
33570 tests.
33571 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
33572 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
33573 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
33574 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
33575 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
33576 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
33577 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
33578 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
33579 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
33580 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
33581 [$(subdir) = elf] (tst-audit3-ENV): New variable.
33582 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
33583 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
33584 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
33585 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
33586 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
33587 Likewise.
33588 [$(subdir) = elf && $(config-cflags-avx) = yes]
33589 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
33590 [$(subdir) = elf && $(config-cflags-avx) = yes]
33591 (CFLAGS-tst-auditmod4a.c): Likewise.
33592 [$(subdir) = elf && $(config-cflags-avx) = yes]
33593 (CFLAGS-tst-auditmod4b.c): Likewise.
33594 [$(subdir) = elf && $(config-cflags-avx) = yes]
33595 (CFLAGS-tst-auditmod6b.c): Likewise.
33596 [$(subdir) = elf && $(config-cflags-avx) = yes]
33597 (CFLAGS-tst-auditmod6c.c): Likewise.
33598 [$(subdir) = elf && $(config-cflags-avx) = yes]
33599 (CFLAGS-tst-auditmod7b.c): Likewise.
33600 * elf/tst-audit3.c: Move to ...
33601 * sysdeps/x86_64/tst-audit3.c: ... here.
33602 * elf/tst-audit4.c: Move to ...
33603 * sysdeps/x86_64/tst-audit4.c: ... here.
33604 * elf/tst-audit5.c: Move to ...
33605 * sysdeps/x86_64/tst-audit5.c: ... here.
33606 * elf/tst-audit6.c: Move to ...
33607 * sysdeps/x86_64/tst-audit6.c: ... here.
33608 * elf/tst-audit7.c: Move to ...
33609 * sysdeps/x86_64/tst-audit7.c: ... here.
33610 * elf/tst-auditmod3a.c: Move to ...
33611 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
33612 * elf/tst-auditmod3b.c: Move to ...
33613 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
33614 * elf/tst-auditmod4a.c: Move to ...
33615 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
33616 * elf/tst-auditmod4b.c: Move to ...
33617 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
33618 * elf/tst-auditmod5a.c: Move to ...
33619 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
33620 * elf/tst-auditmod5b.c: Move to ...
33621 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
33622 * elf/tst-auditmod6a.c: Move to ...
33623 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
33624 * elf/tst-auditmod6b.c: Move to ...
33625 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
33626 * elf/tst-auditmod6c.c: Move to ...
33627 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
33628 * elf/tst-auditmod7a.c: Move to ...
33629 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
33630 * elf/tst-auditmod7b.c: Move to ...
33631 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
33632
1ef74943
PP
336332013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
33634
33635 [BZ #15366]
33636 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
33637 define unconditionally.
33638 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
33639 define unconditionally.
33640 (INT8_C, INT16_C, etc.): Likewise.
33641
93fd48c5
MR
336422013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
33643
ae9552cf
MR
33644 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
33645 __ehdr_start with hidden visibility.
33646
93fd48c5
MR
33647 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
33648
418601aa
CD
336492013-04-24 Carlos O'Donell <carlos@redhat.com>
33650
33651 * math/libm-test.inc (cos_test): Use accurate hex constants.
33652 (sincost_test): Likewise.
33653
2f38fbfe
JM
336542013-04-24 Joseph Myers <joseph@codesourcery.com>
33655
5e221800
JM
33656 * math/libm-test.inc (catan_test): Add more tests.
33657 (catanh_test): Likewise.
33658
77f143fd
JM
33659 * math/s_catanf.c (__catanf): Use suffixed floating-point
33660 constants.
33661 * math/s_catanhf.c (__catanhf): Likewise.
33662 * math/s_catanhl.c (__catanhl): Likewise.
33663 * math/s_catanl.c (__catanl): Likewise.
33664
2f38fbfe
JM
33665 [BZ #15394]
33666 * math/s_catan.c (__catan): Calculate imaginary part of result
33667 with log1p not log unless computing log of number close to 0.
33668 * math/s_catanf.c (__catanf): Likewise.
33669 * math/s_catanl.c (__catanl): Likewise.
33670 * math/s_catanh.c (__catanh): Calculate real part of result with
33671 log1p not log unless computing log of number close to 0.
33672 * math/s_catanhf.c (__catanhf): Likewise.
33673 * math/s_catanhl.c (__catanhl): Likewise.
33674 * math/libm-test.inc (catan_test): Add more tests.
33675 (catanh_test): Likewise.
33676 * sysdeps/i386/fpu/libm-test-ulps: Update.
33677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33678
45d69176
SP
336792013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33680
33681 * benchtests/Makefile: Mention files in which fast and slow
33682 paths of math functions are implemented.
33683
87f51853
RM
336842013-04-23 Roland McGrath <roland@hack.frob.com>
33685
33686 * sysdeps/posix/timespec_get.c: New file.
33687
3c026539
AZ
336882013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33689
33690 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
33691 POWER.
33692 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
33693 for POWER.
33694 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
33695 powerpc/power5/fpu folders.
33696 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
33697 * benchtests/Makefile: Add modf testcase.
33698 * benchtests/bench-modf.c: New file: Benchmark test for mo
33699
ff491d14
SP
337002013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
33701
33702 [BZ #14888]
33703 * time/Makefile (tests): Add tst-strptime-whitespace.
33704 * time/strptime_l.c (get_number): Use ISSPACE.
33705 (__strptime_internal): Likewise.
33706 * time/tst-strptime-whitespace.c: New test case.
33707
7ed3f4e8
AS
337082013-04-23 Andreas Schwab <schwab@linux-m68k.org>
33709
33710 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
33711 member.
33712 (_nss_files_init): Set it here.
33713
5c95f7b6
HC
337142013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
33715
33716 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
33717 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
33718 unsigned.
33719
d34c9158
JBG
337202013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
33721
33722 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
33723
2169712d
SP
337242013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33725
33726 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
33727 size just once.
33728
29c5de99
DM
337292013-04-21 David S. Miller <davem@davemloft.net>
33730
33731 * po/ru.po: Update Russion translation from translation project.
33732
ccdad15d
AC
337332013-04-17 Adam Conrad <adconrad@0c3.net>
33734
33735 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
33736 and setfsgid.
33737
0f122b8d
CD
337382013-04-17 Carlos O'Donell <carlos@redhat.com>
33739
5c5b07da 33740 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 33741 * configure: Regenerate.
5c5b07da 33742 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
33743 Add example to error message.
33744 * sysdeps/i386/configure: Regenerate.
33745
037714dd
SP
337462013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33747
33748 * benchtests/Makefile (bench): Add cos, tan, slowcos and
33749 slowtan.
33750 * benchtests/cos-inputs: New file.
33751 * benchtests/slowcos-inputs: New file.
33752 * benchtests/slowcos.c: New file.
33753 * benchtests/slowtan-inputs: New file.
33754 * benchtests/slowtan.c: New file.
33755 * benchtests/tan-inputs: New file.
33756
e913141d
RM
337572013-04-16 Roland McGrath <roland@hack.frob.com>
33758
33759 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
33760 considered kosher.
33761
a2964074
SP
337622013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33763
4856bcd2
SP
33764 * benchtests/Makefile: Include cppflags-iterator.mk to add
33765 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
33766
a2964074
SP
33767 * Makefile.in (bench-clean): New target.
33768 * benchtests/Makefile (bench-clean): Likewise.
33769
9fbf9aca
DH
337702013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
33771
33772 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
33773
207d1e2a
TS
337742013-04-15 Thomas Schwinge <thomas@codesourcery.com>
33775
33776 * stdio-common/tstdiomisc.c: Fix coding-style violation.
33777
306dfba9
AS
337782013-04-15 Andreas Schwab <schwab@suse.de>
33779
33780 * nscd/grpcache.c (cache_addgr): Properly check for short write.
33781 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33782 * nscd/pwdcache.c (cache_addpw): Likewise.
33783 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
33784 more than recsize.
33785
206a6699
SP
337862013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33787
33788 * benchtests/Makefile (bench): Write all output to
33789 bench-out.tmp together.
33790
0582f6b3
AS
337912013-04-15 Andreas Schwab <schwab@suse.de>
33792
33793 * nscd/nscd.c (main): Don't fork again after closing files.
33794
acb4325f
SP
337952013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33796
5cb26d0a
SP
33797 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
33798
acb4325f
SP
33799 * benchtests/Rules (bench-deps): Collect dependencies into a
33800 single variable. Add Makefile to dependencies.
33801 ($(objpfx)bench-%.c): Depend on bench-deps.
33802
47792506
RM
338032013-04-12 Roland McGrath <roland@hack.frob.com>
33804 Xavier Roche <roche+kml2@exalead.com>
33805
33806 [BZ #15361]
33807 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
33808 just that it's a file descriptor.
33809 * manual/llio.texi (Synchronizing AIO Operations): Update description
33810 for EBADF error from aio_fsync.
33811
8fc1bee5
SP
338122013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
33813
33814 * Rules (bench): Move target definition...
33815 * benchtests/Makefile: ... here.
33816
aba5e333
CD
338172013-04-11 Carlos O'Donell <carlos@redhat.com>
33818
33819 * math/libm-test.inc (cos_test): Fix PI/2 test.
33820 (sincos_test): Likewise.
33821 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
33822 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
33823
273cdee8
AS
338242013-04-11 Andreas Schwab <schwab@suse.de>
33825
6ecec3b6
AS
33826 [BZ #13988]
33827 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
33828 accept exponent character only when digits were seen.
33829 * stdio-common/Makefile (tests): Add bug26.
33830 * stdio-common/bug26.c: New file.
33831
273cdee8
AS
33832 [BZ #14293]
33833 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
33834 non-freeable.
33835
8da491f5
SP
338362013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33837
01dc6df9
SP
33838 * Makeconfig (rtld-prefix): Define built linker prefix.
33839 * Rules (run-bench): Use it.
33840 * math/Makefile (run-regen-ulps): Likewise.
33841
8da491f5
SP
33842 * Rules (bench): Remove eval.
33843
abe7f530
SP
338442013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33845 Roland McGrath <roland@hack.frob.com>
33846 Ondrej Bilka <neleai@seznam.cz>
33847
33848 [BZ #15346]
33849 * time/getdate.c: Include ctype.h and alloca.h.
33850 (__getdate_r): Trim leading and trailing spaces of input.
33851 * time/tst-getdate.c (tests): Add tests with leading and
33852 trailing spaces.
33853
61c23e62
RM
338542013-04-08 Roland McGrath <roland@hack.frob.com>
33855
33856 [BZ #14280]
33857 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
33858 when computing value.
33859
7208a313
CD
338602013-04-06 Carlos O'Donell <carlos@redhat.com>
33861
085b2d41
CD
33862 * math/README.libm-test (How can I generate "libm-test-ulps"?):
33863 Use testrun.sh to run libm tests.
33864
7208a313
CD
33865 [BZ #15309]
33866 * elf/dl-open.c (dl_open_worker): memset all of seen array.
33867
872c0acd
MM
338682013-04-06 Marko Myllynen <myllynen@redhat.com>
33869
33870 [BZ #15264]
33871 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
33872
26510bdd
CD
338732013-04-06 Carlos O'Donell <carlos@redhat.com>
33874
33875 * Makefile.in (regen-ulps): New target.
33876 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
33877 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
33878 [ifneq (no,$(PERL)] (regen-ulps): New target.
33879 [ifeq (no,$(PERL)] (regen-ulps): New target.
33880 * math/libm-test.inc (ulps_file_name): Define.
33881 (output_dir): New variable.
33882 (options): Add "output-dir" option.
33883 (parse_opt): Handle 'o' case.
33884 (main): If output_dir is non-NULL use it as a prefix
33885 otherwise use "".
33886 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
33887
a01f19c8
CD
338882013-04-06 Carlos O'Donell <carlos@redhat.com>
33889
33890 [BZ #10060, #10062]
33891 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
33892 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
33893 fail configure if __sync_val_compare_and_swap is not inlined.
33894 * sysdeps/i386/configure: Regenerate.
33895 * configure.in: Build for i686 when configured for i386.
33896 * configure: Regenerate.
33897 * README: Remove i386 reference.
33898
b7a329a5
CD
338992013-04-06 Carlos O'Donell <carlos@redhat.com>
33900
33901 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
33902 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33903
bf0f50df
TS
339042013-04-05 Thomas Schwinge <thomas@codesourcery.com>
33905
ee091edf
TS
33906 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
33907 (lmsnanval): New variables.
33908 (F): Add conversion tests.
33909 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
33910 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
33911
a8b792d6
TS
33912 * stdio-common/tstdiomisc.c (F): Properly collect individual
33913 tests' results.
33914
a1cbf437
TS
33915 [BZ #14686, #15336]
33916 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
33917 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
33918 Instead, use input NaN values or generate a qNaN by arithmetic
33919 operation. Also fix bugs to comply with the standard.
33920 * math/libm-test.inc (remainder_test): Add more tests.
33921
8b43a0c9
TS
33922 [BZ #15335, #15342]
33923 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
33924 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
33925 input NaN values or generate a qNaN by arithmetic operation.
33926
d91da4ce
TS
33927 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
33928 unreachable code.
33929
bf0f50df
TS
33930 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
33931 definitions.
33932
05e166c8
JM
339332013-04-03 Joseph Myers <joseph@codesourcery.com>
33934
33935 [BZ #14478]
33936 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
33937 underflowed result.
33938 * math/s_cexpf.c (__cexpf): Likewise.
33939 * math/s_cexpl.c (__cexpl): Likewise.
33940 * math/libm-test.inc (cexp_test): Add more tests.
33941
1cef1b19
AS
339422013-04-03 Andreas Schwab <schwab@suse.de>
33943
33944 [BZ #15330]
33945 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
33946 order arrays from heap if bigger than alloca cutoff.
33947
74d87055
TS
339482013-04-03 Thomas Schwinge <thomas@codesourcery.com>
33949
33950 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
33951 (SNAN_TESTS_double): Refer to GCC PR56831.
33952 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
33953 GCC PR56828.
33954
d755bba4
SP
339552013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
33956
90d5d5bb
SP
33957 * Rules (bench): Move bench.out after the run is complete.
33958
73e0cd5d
SP
33959 * Rules (bench): Echo currently running benchmark.
33960
64aabd4b
SP
33961 * benchtests/Makefile (bench): Add atan and slowatan.
33962 * benchtests/atan-inputs: New file.
33963 * benchtests/slowatan-inputs: New file.
33964 * benchtests/slowatan.c: New file.
33965
c871eccd
SP
33966 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
33967 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
33968 its value.
33969
d755bba4
SP
33970 [BZ #15305]
33971 * sysdeps/unix/sysv/linux/kernel-features.h
33972 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
33973 __ASSUME_XFS_RESTRICTED_CHOWN.
33974 * sysdeps/unix/sysv/linux/pathconf.c
33975 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
33976 Save and restore errno.
33977
52ce4860
JM
339782013-04-02 Joseph Myers <joseph@codesourcery.com>
33979
33980 [BZ #15327]
33981 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
33982 arguments using __kernel_casinh.
33983 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
33984 arguments using __kernel_casinhf.
33985 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
33986 arguments using __kernel_casinhl.
33987 * math/libm-test.inc (cacosh_test): Add more tests.
33988 * sysdeps/i386/fpu/libm-test-ulps: Update.
33989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33990
81f311c2
SP
339912013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33992
e7906a47
SP
33993 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
33994 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
33995
92e3664b
SP
33996 * bench/Makefile (bench): Add sin and slowsin.
33997 * benchtests/sin-inputs: New file.
33998 * benchtests/slowsin-inputs: New file.
33999 * benchtests/slowsin.c: New file.
34000
81f311c2
SP
34001 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
34002 (bench): Add slowexp and slowpow.
34003 (exp-ITER): Increase iterations.
34004 (pow-ITER): Likewise.
34005 * benchtests/exp-inputs: Change input.
34006 * benchtests/pow-inputs: Likewise.
34007 * benchtests/slowexp-inputs: New file.
34008 * benchtests/slowexp.c: New file.
34009 * benchtests/slowpow-inputs: New file.
34010 * benchtests/slowpow.c: New file.
34011
ab0f1aa9
AZ
340122013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34013
34014 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
34015 instructions.
34016 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34017 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
34018 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
34019 * benchtests/Makefile: Add rint benchtest.
34020 * benchtests/rint-inputs: Input for rint benchtest.
34021
57267616
TS
340222013-04-02 Thomas Schwinge <thomas@codesourcery.com>
34023
34024 * Versions.def (libm): Add GLIBC_2.18.
34025 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
34026 hidden libm prototypes.
34027 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
34028 * math/Makefile (libm-calls): Add s_issignaling.
34029 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
34030 __issignalingf, __issignalingl. Adjust all libm.abilist files.
34031 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
34032 declaration.
34033 * math/math.h [__USE_GNU] (issignaling): New macro.
34034 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
34035 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
34036 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
34037 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
34038 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
34039 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
34040 * manual/arith.texi (issignaling): New section.
34041 * manual/libm-err-tab.pl (@all_functions): Update comment.
34042 * math/gen-libm-test.pl (parse_args): Apply special handling for
34043 issignaling.
34044 * math/libm-test.inc (print_float, issignaling_test): New
34045 functions.
34046 (check_float_internal): Add issignaling checks.
34047 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
34048 default definition.
34049 * sysdeps/powerpc/math-tests.h: New file.
34050 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
34051 tests.
34052 * math/test-snan.c (TEST_FUNC): Likewise.
34053
6142896d
DM
340542013-03-30 David S. Miller <davem@davemloft.net>
34055
34056 * po/de.po: Update from translation team.
34057
ccc8cadf
JM
340582013-03-30 Joseph Myers <joseph@codesourcery.com>
34059
34060 [BZ #10357]
34061 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34062 imaginary part less than 1.0 and real part less than 0.5
34063 specially.
34064 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34065 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34066 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
34067 (cacos_test): Add more tests.
34068 (casin_test): Likewise.
34069 (casinh_test): Likewise.
34070 * sysdeps/i386/fpu/libm-test-ulps: Update.
34071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34072
0f6a8d4b
SP
340732013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34074
0d1029de
SP
34075 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
34076 ONE with its value.
34077
c2d94018
SP
34078 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
34079 (__pow_mp): Replace ONE and MONE with their values.
34080 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34081 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
34082 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34083 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
34084 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34085 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34086
27ec37f1
SP
34087 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
34088
a64d7e0e
SP
34089 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
34090 (__pow_mp): Replace ZERO and MZERO with their values.
34091 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34092 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34093 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34094 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34095 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34096 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
34097 (__sqr): Likewise.
34098
d26dd3eb
SP
34099 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
34100
0f6a8d4b
SP
34101 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
34102
e57b0c61
RM
341032013-03-28 Roland McGrath <roland@hack.frob.com>
34104
34105 * include/stdlib.h [!SHARED] (__call_tls_dtors):
34106 Declare with __attribute__ ((weak)).
34107 * stdlib/exit.c (__libc_atexit) [!SHARED]:
34108 Call __call_tls_dtors only if it's not NULL.
34109
356b3480
RM
341102013-03-28 Roland McGrath <roland@hack.frob.com>
34111
288f7d79
RM
34112 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
34113 didn't do it already, then set _dl_phdr and _dl_phnum based on the
34114 magic __ehdr_start linker symbol if it's defined.
34115 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
34116 them up here if it was already done.
34117
dc0a0263
RM
34118 * elf/dl-support.c (_dl_phdr): Make pointer to const.
34119 (_dl_aux_init): Use const in cast when setting it.
34120 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
34121 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
34122 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
34123
3d3436ae
RM
34124 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
34125 Declare them here.
34126 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
34127 * csu/libc-tls.c: Nor here.
34128 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
34129
356b3480
RM
34130 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
34131 (__libc_message): Never call vsyslog.
34132
b0f1246a
AM
341332013-03-28 Alan Modra <amodra@gmail.com>
34134
34135 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
34136 Define as empty.
34137 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
34138 Likewise.
34139
fbbe2b9a
AZ
341402013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34141
34142 [BZ #15214]
34143 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
34144 underflow.
34145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34146
1728ab37
SP
341472013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34148
7a86be6e
SP
34149 [BZ #15304]
34150 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34151 Don't add gid passed as argument.
34152
1728ab37
SP
34153 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
34154
3a7182a1
JM
341552013-03-27 Joseph Myers <joseph@codesourcery.com>
34156
34157 [BZ #15307]
34158 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34159 imaginary part between 1.0 and 1.5 and real part less than 0.5
34160 specially.
34161 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34162 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34163 * math/libm-test.inc (cacos_test): Add more tests.
34164 (casin_test): Likewise.
34165 (casinh_test): Likewise.
34166 * sysdeps/i386/fpu/libm-test-ulps: Update.
34167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34168
6f2e90e7
SP
341692013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34170
5739f705
SP
34171 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
34172 constants.
34173 (norm): Likewise.
34174 (denorm): Likewise.
34175 (__dbl_mp): Likewise.
34176 (add_magnitudes): Likewise.
34177 (sub_magnitudes): Likewise.
34178 (__add): Likewise.
34179 (__sub): Likewise.
34180 (__mul): Likewise.
34181 (__sqr): Likewise.
34182 (__inv): Likewise.
34183 (__dvd): Likewise.
34184
e375e83d
SP
34185 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
34186 commented code.
34187 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
34188 (__dubcos): Likewise.
34189 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
34190 (__ieee754_acos): Likewise.
34191 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34192 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
34193 (__exp1): Likewise.
34194 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34195 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34196 (log1): Likewise.
34197 (my_log2): Likewise.
34198 (checkint): Likewise.
34199 * sysdeps/ieee754/dbl-64/e_remainder.c
34200 (__ieee754_remainder): Likewise.
34201 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34202 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
34203 (bsloww): Likewise.
34204 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34205
6f2e90e7
SP
34206 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34207 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
34208 MANTISSA_STORE_T to store computations on mantissa. Use
34209 macros for rounding and division.
34210 (denorm): Likewise.
34211 (__dbl_mp): Likewise.
34212 (add_magnitudes): Likewise.
34213 (sub_magnitudes): Likewise.
34214 (__mul): Likewise.
34215 (__sqr): Likewise.
34216 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
34217 powers of two in terms of TWOPOW macro.
34218 (mp_no): Make type of mantissa as MANTISSA_T.
34219 [!RADIXI]: Define RADIXI.
34220 [!TWO52]: Define TWO52.
34221 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34222
fce14d4e
AZ
342232013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34224
34225 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
34226 llroundl symbol when building for PPC32.
34227
9ad027fb
MW
342282013-03-24 Mark H Weaver <mhw@netris.org>
34229
34230 * manual/arith.texi (Normalization Functions): Fix prototypes for
34231 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
34232
e42a38dd
AZ
342332013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34234
34235 [BZ #13889]
34236 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
34237 high value to check if expl overflow.
34238 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
34239 to check for underflow and overflow.
34240 * math/libm-test.inc: Add exp test.
34241
2e0fb521
DL
342422013-03-21 Dmitry V. Levin <ldv@altlinux.org>
34243
34244 [BZ #11120]
34245 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
34246 with NOT_IN_libc.
34247
b5784d95
AZ
342482013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34249
34250 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
34251 symbol.
34252
5aa4a1a1
TS
342532013-03-21 Thomas Schwinge <thomas@codesourcery.com>
34254
bdef0be7
TS
34255 * math/gen-libm-test.pl (parse_args, special_functions): Properly
34256 wrap blocks consisting of several statements.
34257
5aa4a1a1
TS
34258 * sysdeps/generic/math-tests.h: New file.
34259 * sysdeps/i386/fpu/math-tests.h: Likewise.
34260 * math/test-snan.c: Include it.
34261 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
34262
98c48fe5
JM
342632013-03-21 Joseph Myers <joseph@codesourcery.com>
34264
34265 [BZ #15285]
34266 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
34267 (__ieee754_j0l): Do not improve calculations using cos of twice
34268 input for inputs above LDBL_MAX / 2.0L.
34269 (__ieee754_y0l): Likewise.
34270 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
34271 (__ieee754_j1l): Do not improve calculations using cos of twice
34272 input for inputs above LDBL_MAX / 2.0L.
34273 (__ieee754_y1l): Likewise.
34274 * math/libm-test.inc (j0_test): Add another test.
34275 (j1_test): Likewise.
34276 (y0_test): Likewise.
34277 (y1_test): Likewise.
34278 * sysdeps/i386/fpu/libm-test-ulps: Update.
34279
3775a8bc
SP
342802013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34281
34282 * Rules ($(objpfx)bench-%.c): Include code from a C source
34283 file.
34284
0a1b2ae6
JM
342852013-03-21 Joseph Myers <joseph@codesourcery.com>
34286
34287 [BZ #15287]
34288 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34289 imaginary part 1.0 and real part less than 0.5 specially.
34290 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34291 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34292 * math/libm-test.inc (cacos_test): Add more tests.
34293 (casin_test): Likewise.
34294 (casinh_test): Likewise.
34295 * sysdeps/i386/fpu/libm-test-ulps: Update.
34296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34297
b33d4ce4
SP
342982013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34299
34300 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
34301 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
34302
bef0b507
JM
343032013-03-20 Joseph Myers <joseph@codesourcery.com>
34304
34305 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
34306 * config.make.in (config-cflags-sse4): Remove variable.
34307 (config-cflags-avx): Likewise.
34308 (config-cflags-sse2avx): Likewise.
34309 (config-cflags-novzeroupper): Likewise.
34310 (config-asflags-i686): Likewise.
34311 (have-mfma4): Likewise.
34312 (have-as-vis3): Likewise.
34313 (MIG): Likewise.
34314 * configure.in (MIG): Do not AC_SUBST.
34315 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
34316 (libc_cv_cc_sse4): Do not AC_SUBST.
34317 (libc_cv_cc_avx): Likewise.
34318 (libc_cv_cc_sse2avx): Likewise.
34319 (libc_cv_cc_novzeroupper): Likewise.
34320 (libc_cv_cc_fma4): Likewise.
34321 (libc_cv_as_i686): Likewise.
34322 (libc_cv_sparc_as_vis3): Likewise.
34323 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
34324 LIBC_CONFIG_VAR.
34325 (config-asflags-i686): Likewise.
34326 (config-cflags-avx): Likewise.
34327 (config-cflags-sse2avx): Likewise.
34328 (have-mfma4): Likewise.
34329 (config-cflags-novzeroupper): Likewise.
34330 * sysdeps/mach/configure.in (MIG): Likewise.
34331 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
34332 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
34333 LIBC_CONFIG_VAR.
34334 (config-cflags-avx): Likewise.
34335 (config-cflags-sse2avx): Likewise.
34336 (have-mfma4): Likewise.
34337 (config-cflags-novzeroupper): Likewise.
34338 * configure: Regenerated.
34339 * sysdeps/i386/configure: Likewise.
34340 * sysdeps/mach/configure: Likewise.
34341 * sysdeps/sparc/configure: Likewise.
34342 * sysdeps/x86_64/configure: Likewise.
34343
912cc4b3
RM
343442013-03-20 Roland McGrath <roland@hack.frob.com>
34345
34346 [BZ #14812]
34347 * locale/programs/localedef.c (options): Put N_ translation marker
34348 on argument names, not just descriptions.
34349
04eed2b0
MS
343502013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34351
34352 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
34353
a065ceff
OB
343542013-03-20 Ondřej Bílka <neleai@seznam.cz>
34355
9bb2a810 34356 [BZ #14176]
a065ceff
OB
34357 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
34358
a600e5ce
RM
343592013-03-19 Roland McGrath <roland@hack.frob.com>
34360
34361 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
34362 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
34363 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
34364 [!BEFORE_ABORT] (before_abort): New function.
34365 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
34366 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
34367 (writev_for_fatal): New function.
34368 (WRITEV_FOR_FATAL): New macro; call that.
34369 (backtrace_and_maps): New function.
34370 (BEFORE_ABORT): New macro; call that.
34371 (struct str_list): Type removed.
34372 (__libc_message, __libc_fatal): Functions removed.
34373 Include <sysdeps/posix/libc_fatal.c> instead.
34374
6b18bea6
JM
343752013-03-19 Joseph Myers <joseph@codesourcery.com>
34376
34377 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
34378 constants.
34379 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
34380 double constants.
34381
aaa8cb4b
AS
343822013-03-19 Andreas Schwab <schwab@suse.de>
34383
44673770
AS
34384 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
34385 * sysdeps/gnu/configure: Regenerate.
34386
aaa8cb4b
AS
34387 * configure.in: Substitute libc_cv_rtlddir.
34388 * configure: Regenerate.
34389 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
34390 * Makeconfig (rtlddir, inst_rtlddir): New variables.
34391 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
34392 * elf/Makefile (install-others, CFLAGS-interp.c)
34393 (ldso_install, common-ldd-rewrite): Likewise.
34394 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
34395 $(inst_slibdir)/$(rtld-installed-name).
34396 * scripts/rellns-sh: Add -p option.
34397 * Makerules (make-shlib-link): Use rellns-sh to get relative name
34398 for source.
34399
d3cfc668
SP
344002013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34401
34402 * manual/nptl.texi: Renamed to ...
34403 * manual/threads.texi: ... this.
34404 * manual/Makefile (chapters): Update.
34405
0e2b9cdd
RM
344062013-03-18 Roland McGrath <roland@hack.frob.com>
34407
34408 [BZ #14812]
34409 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
34410 on argument names, not just descriptions.
0e2b9cdd
RM
34411 * malloc/memusagestat.c (options): Likewise.
34412 * nss/getent.c (options): Likewise.
63270c24
RM
34413
344142013-03-18 Benno Schulenberg <bensberg@justemail.net>
34415
34416 [BZ #14812]
34417 * iconv/iconv_prog.c (options): Put N_ translation marker
34418 on argument names, not just descriptions.
34419 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 34420
b2e1393c
OB
344212013-03-18 Ondrej Bilka <neleai@seznam.cz>
34422
34423 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
34424 implementation which is faster on all x86_64 architectures.
34425 Tested on AMD, Intel Nehalem, SNB, IVB.
34426 * sysdeps/x86_64/strnlen.S: Likewise.
34427
34428 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34429 Remove all multiarch strlen and strnlen versions.
34430 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
34431 Remove strlen and strnlen related parts.
34432
34433 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
34434 Inline strlen part.
34435 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
34436
34437 * sysdeps/x86_64/multiarch/strlen.S: Remove.
34438 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
34439 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
34440 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
34441 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34442 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
34443
ec4ff04d
CD
344442013-03-17 Carlos O'Donell <carlos@redhat.com>
34445
34446 * manual/memory.texi (Malloc Tunable Parameters):
34447 Sort parameters alphabetically. Add comments for missing entries.
34448
cd18e90a
DM
344492013-03-17 David S. Miller <davem@davemloft.net>
34450
34451 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34452
2a185d32
JM
344532013-03-16 Joseph Myers <joseph@codesourcery.com>
34454
d2f9799e
JM
34455 [BZ #15283]
34456 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
34457 for arguments at most half maximum finite value.
34458 * math/libm-test.inc (j0_test): Add more tests.
34459 (j1_test): Likewise.
34460 (y0_test): Likewise.
34461 (y1_test): Likewise.
34462 * sysdeps/i386/fpu/libm-test-ulps: Update.
34463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34464
2a185d32
JM
34465 [BZ #14155]
34466 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
34467 1 / x and functions P and Q for arguments above 0x1p256L.
34468 (__ieee754_y0l): Likewise.
34469 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
34470 (__ieee754_y1l): Likewise.
34471 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
34472 (j1_test): Likewise.
34473 (y0_test): Likewise.
34474 (y1_test): Likewise.
34475
6cbec759
TS
344762013-03-16 Thomas Schwinge <thomas@codesourcery.com>
34477
34478 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
34479 variable.
34480
bc16e260
RM
344812013-03-15 Roland McGrath <roland@hack.frob.com>
34482
aefc9b8c
RM
34483 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
34484 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
34485 zero since it's initialized to EXEC_PAGESIZE.
34486
bc16e260
RM
34487 * sysdeps/unix/sysv/linux/ldsodefs.h
34488 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
34489 * sysdeps/generic/ldsodefs.h: ... here.
34490
a57da955
TS
344912013-03-15 Thomas Schwinge <thomas@codesourcery.com>
34492
af00a34d
TS
34493 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
34494
495ded2c
TS
34495 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
34496 math/test-snan.c.
34497 * math/test-snan.c: Renamed from
34498 sysdeps/powerpc/fpu/test-powerpc-snan.c.
34499 * math/Makefile (tests): Add test-snan.
34500 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
34501 test-powerpc-snan.
34502
777b0332
TS
34503 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
34504 SUFFIX. Initialize qNaN_var with __builtin_nan family of
34505 functions.
34506 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
34507 __builtin_nan family of functions.
34508 * math/libm-test.inc (initialize): Initialize qnan_value with
34509 __builtin_nan family of functions.
34510 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
34511 Remove variables.
34512 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
34513 Remove functions.
34514 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
34515 storage class. Initialize qNaN_var and sNaN_var with
34516 __builtin_nan and __builtin_nans families of functions,
34517 respectively.
34518
64d063b8
TS
34519 * math/libm-test.inc (acosh_test): Also test with qNaN input.
34520 (sqrt_test): Remove duplicate test with qNaN input.
34521 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
34522 (round_test, signbit_test, significand_test): Note missing +/-Inf
34523 as well as qNaN tests.
34524
67e971f1
TS
34525 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
34526 qNaN_var. Fix a few strings, too.
34527 * math/libm-test.inc (nan_value): Rename to qnan_value.
34528 * math/gen-libm-test.pl (%beautify): Adjust to that.
34529 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
34530 * math/test-misc.c (main): Likewise.
34531 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
34532 to __qnan_bytes, and __qnan_union, respectively.
34533 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
34534 Likewise.
34535 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
34536 and lqnanval, respectively.
34537 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
34538 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
34539 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
34540 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
34541
64487e12
TS
34542 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
34543 * math/test-misc.c (main) [__x86_64__]: Enable test for long
34544 doubles.
34545
e015e27b
TS
34546 * math/test-misc.c (main): Fix copy'n'pastos.
34547 * misc/tst-efgcvt.c (special): Likewise.
34548
a57da955
TS
34549 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
34550 Remove declarations.
34551
1e380345
SP
345522013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34553
34554 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
34555 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
34556 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
34557 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
34558
ef26eece
AZ
345592013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34560
34561 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
34562 macro to return vdso values correctly in IFUNC implementations.
34563 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34564 Optimization by using IFUNC.
34565
8cfdb7e0
SP
345662013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34567 Richard Henderson <rth@redhat.com>
34568 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34569
34570 * Makefile.in (bench): New target.
34571 * NEWS: Mention the benchmark framework.
34572 * Rules (bench): Likewise.
34573 (binaries-bench): Generate binaries for functions to
34574 benchmark.
34575 * benchtests/Makefile: New makefile for benchmark tests.
34576 * benchtests/bench-skeleton.c: New skeleton file for benchmark
34577 programs.
34578 * benchtests/exp-inputs: New input file for EXP function.
34579 * benchtests/pow-inputs: New input file for POW function.
34580 * scripts/bench.pl: New script to generate source files for
34581 benchmark programs.
34582
bcda9880
SP
345832013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34584
d22ca8cd
SP
34585 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34586 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
34587 computations on mantissa. Use macros for rounding and
34588 division.
34589 (denorm): Likewise.
34590 (__dbl_mp): Likewise.
34591 (add_magnitudes): Likewise.
34592 (sub_magnitudes): Likewise.
34593 (__mul): Likewise.
34594 (__sqr): Likewise.
34595 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
34596 powers of two in terms of TWOPOW macro.
34597 (mp_no): Make type of mantissa as MANTISSA_T.
34598 [!RADIXI]: Define RADIXI.
34599 [!TWO52]: Define TWO52.
34600 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34601
bcda9880
SP
34602 * manual/nptl.texi (cindex): Modify threads to pthreads.
34603
06d5adfb
JM
346042013-03-15 Joseph Myers <joseph@codesourcery.com>
34605
34606 * sysdeps/x86_64/preconfigure: Regenerated.
34607
41c7328e
JM
346082013-03-14 Joseph Myers <joseph@codesourcery.com>
34609
34610 [BZ #14155]
34611 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
34612 0x1p28 and above.
34613 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
34614 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
34615 0x1p28 and above.
34616 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
34617 * math/libm-test.inc (j0_test): Do not allow one spurious
34618 underflow exception.
34619 (y1_test): Likewise.
34620
e25cfa60
SP
346212013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34622
0409959c
SP
34623 * manual/Makefile (chapters): Add nptl.
34624 * manual/debug.texi (Debugging Support): Add link to Threads
34625 chapter.
34626 * manual/nptl.texi: New file.
34627
e25cfa60
SP
34628 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
34629
58a1335e
PB
346302013-03-14 Petr Baudis <pasky@ucw.cz>
34631
34632 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
34633 for non-NULL pointer before the memory validity test. Pointed
34634 out by Holger Brunck <holger.brunck@keymile.com>.
34635
9dc7c64f
AS
346362013-03-13 Andreas Schwab <schwab@suse.de>
34637
34638 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
34639 instead of .os.
34640
54206aa6
JM
346412013-03-13 Joseph Myers <joseph@codesourcery.com>
34642
34643 * timezone/zic.c: Update from tzcode 2013b.
34644
e98cdb38
CD
346452013-03-12 Carlos O'Donell <carlos@redhat.com>
34646
34647 * manual/install.texi (Configuring and compiling):
34648 Mention i686 and i586.
34649 * INSTALL: Regenerate.
34650
9967e003
RM
346512013-03-12 Roland McGrath <roland@hack.frob.com>
34652
34653 * sysdeps/init_array/elf-init.c: New file.
34654 * csu/elf-init.c
34655 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
34656 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
34657
34658 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
34659 __gmon_start__ as global, but as static with a .preinit_array pointer.
34660 * sysdeps/init_array/gmon-start.c: New file. Use that.
34661 * sysdeps/init_array/crti.S: New file, empty except for comments.
34662 * sysdeps/init_array/crtn.S: Likewise.
34663
e6b5a293 346642013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
34665
34666 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
34667 definining bcopy.
80f844c9
OB
34668 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34669 Remove Prefer_SSE_for_memop.
34670 * sysdeps/x86_64/multiarch/init-arch.h: Remove
34671 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
34672 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
34673 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
34674 memset-x86-64.
80f844c9 34675 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 34676 Remove bzero, memset ifunc support.
80f844c9
OB
34677 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
34678 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
34679 * sysdeps/x86_64/multiarch/memset.S: Likewise.
34680 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34681
fb6b0fcb
AS
346822013-03-11 Andreas Schwab <schwab@suse.de>
34683
34684 [BZ #15234]
34685 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
34686 by SHLIB_COMPAT.
34687 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
34688 (GLIBC_2.16): Remove pthread_atfork.
34689
3e6bd4b1
PP
346902013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
34691
34692 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
34693 (ptestcases.h): Likewise.
34694
222d7f00
RM
346952013-03-08 Roland McGrath <roland@hack.frob.com>
34696
34697 * Makeconfig ($(common-objpfx)config.status): Depend on
34698 sysdeps/*/preconfigure{,.in} too.
34699
1ba4f030
JM
347002013-03-08 Joseph Myers <joseph@codesourcery.com>
34701
a222d91a
JM
34702 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
34703 (__free_hook): Use void * instead of __malloc_ptr_t.
34704 (__malloc_hook): Likewise.
34705 (__realloc_hook): Likewise.
34706 (__memalign_hook): Likewise.
34707 (__after_morecore_hook): Likewise.
34708 * malloc/arena.c (save_malloc_hook): Likewise.
34709 (save_free_hook): Likewise.
34710 * malloc/hooks.c (malloc_hook_ini): Likewise.
34711 (realloc_hook_ini): Likewise.
34712 (memalign_hook_ini): Likewise.
34713 * malloc/malloc.c (malloc_hook_ini): Likewise.
34714 (realloc_hook_ini): Likewise.
34715 (memalign_hook_ini): Likewise.
34716 (__free_hook): Likewise.
34717 (__malloc_hook): Likewise.
34718 (__realloc_hook): Likewise.
34719 (__memalign_hook): Likewise.
34720 (__libc_malloc): Likewise.
34721 (__libc_free): Likewise.
34722 (__libc_realloc): Likewise.
34723 (__libc_memalign): Likewise.
34724 (__libc_valloc): Likewise.
34725 (__libc_pvalloc): Likewise.
34726 (__libc_calloc): Likewise.
34727 (__posix_memalign): Likewise.
34728 * malloc/morecore.c (__sbrk): Likewise.
34729 (__default_morecore): Likewise.
34730
5cc45e10
JM
34731 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
34732
dd54b864
JM
34733 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
34734 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
34735 __malloc_ptrdiff_t.
34736
1ba4f030
JM
34737 * malloc/malloc.h (__malloc_size_t): Remove macro.
34738 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
34739 __malloc_size_t.
34740 (old_memalign_hook): Likewise.
34741 (old_realloc_hook): Likewise.
34742 (struct hdr): Likewise.
34743 (flood): Likewise.
34744 (mallochook): Likewise.
34745 (memalignhook): Likewise.
34746 (reallochook): Likewise.
34747 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
34748 (tr_old_realloc_hook): Likewise.
34749 (tr_old_memalign_hook): Likewise.
34750 (tr_mallochook): Likewise.
34751 (tr_reallochook): Likewise.
34752 (tr_memalignhook): Likewise.
34753
edf66e57
AZ
347542013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34755
34756 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
34757 default_ldbl_pack and using as default implementation.
34758 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
34759 implementation.
34760 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
34761 redundant definition.
34762 (ldbl_insert_mantissa): Likewise.
34763 (ldbl_canonicalize): Likewise.
34764 (ldbl_nearbyint): Likewise.
34765 (ldbl_pack): Rename to ldbl_pack_ppc.
34766 (ldbl_unpack): Rename to ldbl_unpack_ppc.
34767 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
34768 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
34769
6d9145d8
SP
347702013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34771
34772 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
34773 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
34774 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
34775 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
34776 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
34777 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
34778 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
34779 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
34780
4dd4e157
AJ
347812013-03-07 Andreas Jaeger <aj@suse.de>
34782
34783 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34784 bits/mman-linux.h.
34785
adbb8027
SP
347862013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
34787
ce544b5b
SP
34788 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
34789 Include mpa.h and declare __MPEXP.
34790 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
34791 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34792 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34793 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
34794 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34795 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34796 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
34797
4cc149fd
SP
34798 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
34799 (__slowpow): Use long double EXPL and LOGL functions to
34800 compute POW.
34801 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34802 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34803 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
34804 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34805 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34806 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
34807
e6ebd4a7
SP
34808 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
34809 intermediate variable to calculate exponent.
34810 (__sqr): Likewise.
34811 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34812 Likewise.
34813 (__sqr): Likewise.
34814
82a9811d
SP
34815 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
34816 [!NO__SQR]: Define __sqr.
34817 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
34818 and NO__SQR. Remove all code except __mul and __sqr. Include
34819 sysdeps/ieee754/dbl-64/mpa.c.
34820 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34821
adbb8027
SP
34822 [BZ #12723]
34823 * posix/Makefile (tests): Add tst-pathconf.
34824 * posix/tst-pathconf.c: New test case.
34825 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
34826 _PC_PIPE_BUF.
34827 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
34828
39120df9
PF
348292013-03-06 Patsy Franklin <pfrankli@redhat.com>
34830
34831 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
34832
67525cb8
AJ
348332013-03-06 Andreas Jaeger <aj@suse.de>
34834
664a9ce4
AJ
34835 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
34836 definition via __MAP_ANONYMOUS.
34837
8e39047d
AJ
34838 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
34839 it's not part of Linux headers.
34840
67525cb8
AJ
34841 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
34842 (MAP_HUGE_MASK): Define.
34843
34844 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34845 Define.
34846 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34847 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34848 Define.
34849 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34850 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34851 Define.
34852 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34853 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
34854 Define.
34855 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34856
34857 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
34858 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
34859 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
34860 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
34861 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
34862 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
34863
34864 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34865 Handle f2fs.
34866
34867 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34868 Handle f2fs and efivarfs.
34869
34870 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
34871 f2fs.
34872
34873 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
34874 (EFIVARFS_MAGIC): Add.
34875 (F2FS_LINK_MAX): Add.
34876
e1b42695
PP
348772013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34878
34879 * stdio-common/vfprintf.c: Replace __builtin_expect with
34880 __glibc_unlikely.
34881
2d67d91a
JM
348822013-03-06 Joseph Myers <joseph@codesourcery.com>
34883
34884 [BZ #13550]
34885 * sysdeps/generic/bp-sym.h: Remove file.
34886 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
34887 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
34888 <bp-sym.h> and <bp-asm.h>.
34889 (__longjmp): Don't use BP_SYM.
34890 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
34891 and <bp-asm.h>.
34892 (memcpy): Don't use BP_SYM.
34893 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
34894 <bp-sym.h> and <bp-asm.h>.
34895 (memcpy): Don't use BP_SYM.
34896 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
34897 <bp-asm.h>.
34898 (memcpy): Don't use BP_SYM.
34899 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
34900 <bp-asm.h>.
34901 (memset): Don't use BP_SYM.
34902 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34903 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34904 (__bzero): Don't use BP_SYM.
34905 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34906 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34907 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
34908 <bp-sym.h> and <bp-asm.h>.
34909 (memcmp): Don't use BP_SYM. Remove comment about bounded
34910 pointers.
34911 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
34912 <bp-sym.h> and <bp-asm.h>.
34913 (memcpy): Don't use BP_SYM.
34914 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
34915 <bp-sym.h> and <bp-asm.h>.
34916 (memset): Don't use BP_SYM.
34917 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34918 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34919 (__bzero): Don't use BP_SYM.
34920 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34921 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34922 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
34923 <bp-sym.h> and <bp-asm.h>.
34924 (strncmp): Don't use BP_SYM. Remove comment about bounded
34925 pointers.
34926 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
34927 <bp-sym.h> and <bp-asm.h>.
34928 (memcpy): Don't use BP_SYM.
34929 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
34930 <bp-sym.h> and <bp-asm.h>.
34931 (memset): Don't use BP_SYM.
34932 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34933 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34934 (__bzero): Don't use BP_SYM.
34935 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34936 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34937 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
34938 <bp-sym.h> and <bp-asm.h>.
34939 (__memchr): Don't use BP_SYM.
34940 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
34941 <bp-sym.h> and <bp-asm.h>.
34942 (memcmp): Don't use BP_SYM. Remove comment about bounded
34943 pointers.
34944 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
34945 <bp-sym.h> and <bp-asm.h>.
34946 (memcpy): Don't use BP_SYM.
34947 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
34948 <bp-sym.h> and <bp-asm.h>.
34949 (__mempcpy): Don't use BP_SYM.
34950 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
34951 <bp-sym.h> and <bp-asm.h>.
34952 (__memrchr): Don't use BP_SYM.
34953 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
34954 <bp-sym.h> and <bp-asm.h>.
34955 (memset): Don't use BP_SYM.
34956 (__bzero): Likewise.
34957 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
34958 <bp-sym.h> and <bp-asm.h>.
34959 (__rawmemchr): Don't use BP_SYM.
34960 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
34961 <bp-sym.h> and <bp-asm.h>.
34962 (__STRCMP): Don't use BP_SYM.
34963 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
34964 <bp-sym.h> and <bp-asm.h>.
34965 (strchr): Don't use BP_SYM.
34966 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
34967 <bp-sym.h> and <bp-asm.h>.
34968 (__strchrnul): Don't use BP_SYM.
34969 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
34970 <bp-sym.h> and <bp-asm.h>.
34971 (strlen): Don't use BP_SYM.
34972 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
34973 <bp-sym.h> and <bp-asm.h>.
34974 (strncmp): Don't use BP_SYM. Remove comment about bounded
34975 pointers.
34976 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
34977 <bp-sym.h> and <bp-asm.h>.
34978 (__strnlen): Don't use BP_SYM.
34979 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
34980 <bp-sym.h> and <bp-asm.h>.
34981 (__GI__setjmp): Don't use BP_SYM.
34982 (_setjmp): Likewise.
34983 (__sigsetjmp): Likewise.
34984 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
34985 (L(start_addresses)): Don't use BP_SYM.
34986 (_start): Likewise.
34987 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
34988 <bp-asm.h>.
34989 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
34990 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
34991 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34992 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34993 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
34994 <bp-asm.h>.
34995 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
34996 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
34997 about bounded pointers.
34998 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34999 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35000 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
35001 <bp-asm.h>.
35002 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
35003 about bounded pointers. Remove GKM FIXME comments.
35004 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35005 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
35006 <bp-asm.h>.
35007 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
35008 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
35009 Remove GKM FIXME comments.
35010 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35011 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35012 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
35013 <bp-asm.h>.
35014 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
35015 about bounded pointers. Remove GKM FIXME comment.
35016 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
35017 and <bp-asm.h>.
35018 (strncmp): Don't use BP_SYM. Remove comment about bounded
35019 pointers.
35020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
35021 <bp-sym.h> and <bp-asm.h>.
35022 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
35024 <bp-sym.h> and <bp-asm.h>.
35025 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
35026 comment.
35027
cdcf361f
PP
350282013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35029
35030 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
35031 call free(NULL).
35032
3c4a2b15
DM
350332013-03-05 David S. Miller <davem@davemloft.net>
35034
35035 * po/es.po: Update from translation team.
35036
cdcf361f 350372013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
35038
35039 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
35040 <bits/mman-linux.h>.
35041 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35042 is fine.
35043 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
35044 <bits/mman-linux.h> to end of file.
35045 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35046 is fine.
35047 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
35048 <bits/mman-linux.h> to end of file.
35049 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35050 is fine.
35051 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
35052 <bits/mman-linux.h> to end of file.
35053
35054 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
35055 (MCL_CURRENT, MCL_FUTURE): Define here.
35056
5f67c04f
AK
350572013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35058
8a4473cc 35059 [BZ #15232]
5f67c04f
AK
35060 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
35061 attribute_hidden.
35062 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35063
c3e94a95
AK
350642013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35065
35066 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
35067 fourth parameter needed for rt_sigprocmask syscall.
35068 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35069 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35070 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
35071 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35072 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35073 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
35074
cfb6382a
JM
350752013-03-04 Joseph Myers <joseph@codesourcery.com>
35076
35077 [BZ #13550]
35078 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
35079 comment about bounded pointers.
35080 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
35081 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
35082
539d8e01
AJ
350832013-03-04 Andreas Jaeger <aj@suse.de>
35084
35085 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
35086 common definitions.
35087
35088 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
35089 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
35090 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
35091 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35092 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
35093 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35094
2e167a70 350952013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
35096
35097 [BZ #15055]
35098 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
35099 __ieee754_sqrl instead of __sqrl.
35100
68508633
JM
351012013-03-01 Joseph Myers <joseph@codesourcery.com>
35102
35103 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
35104 * sysdeps/powerpc/fpu_control.h: ... here.
35105 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
35106 * sysdeps/powerpc/bits/fenvinline.h: ... here.
35107 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
35108 * sysdeps/powerpc/bits/mathinline.h: ... here.
35109
7775448e
RM
351102013-03-01 Roland McGrath <roland@hack.frob.com>
35111
35112 * elf/dl-hwcaps.c (_dl_important_hwcaps):
35113 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
35114 to just [NEED_DL_SYSINFO_DSO].
35115 * elf/dl-support.c: Likewise.
35116 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
35117 * elf/rtld.c (dl_main): Likewise.
35118 * elf/setup-vdso.h (setup_vdso): Likewise.
35119 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
35120 * sysdeps/unix/sysv/linux/dl-sysdep.c
35121 (_dl_discover_osversion): Likewise.
35122
4e9b5995
CD
351232013-03-01 Carlos O'Donell <carlos@redhat.com>
35124
35125 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
35126 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35127
e23872c8
SP
351282013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
35129
e5c74c63
SP
35130 * NEWS: Mention libm performance improvements and non-x86 PI
35131 futex support.
35132
e23872c8
SP
35133 * csu/libc-start.c (__pthread_initialize_minimal): Change
35134 function arguments.
35135 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35136
b5510883
JM
351372013-02-28 Joseph Myers <joseph@codesourcery.com>
35138
35139 [BZ #13550]
35140 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
35141 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
35142 <bp-sym.h> and <bp-asm.h>.
35143 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35144 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
35145 and <bp-asm.h>.
35146 (memcpy): Don't use BP_SYM.
35147 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
35148 <bp-asm.h>.
35149 (__mpn_add_n): Don't use BP_SYM.
35150 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
35151 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
35152 and <bp-asm.h>.
35153 (__mpn_addmul_1): Don't use BP_SYM.
35154 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35155 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
35156 <bp-sym.h>.
35157 (_setjmp): Don't use BP_SYM.
35158 (__novmx_setjmp): Likewise.
35159 (__GI__setjmp): Likewise.
35160 (__vmx_setjmp): Likewise.
35161 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
35162 <bp-sym.h>.
35163 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
35164 (__bzero): Don't use BP_SYM.
35165 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35166 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35167 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
35168 <bp-sym.h> and <bp-asm.h>.
35169 (memcpy): Don't use BP_SYM.
35170 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
35171 <bp-sym.h> and <bp-asm.h>.
35172 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35173 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
35174 <bp-sym.h> and <bp-asm.h>.
35175 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35176 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
35177 <bp-asm.h>.
35178 (__mpn_lshift): Don't use BP_SYM.
35179 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35180 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
35181 <bp-asm.h>.
35182 (memset): Don't use BP_SYM.
35183 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35184 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35185 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
35186 <bp-asm.h>.
35187 (__mpn_mul_1): Don't use BP_SYM.
35188 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35189 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
35190 <bp-sym.h> and <bp-asm.h>.
35191 (memcmp): Don't use BP_SYM.
35192 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
35193 <bp-sym.h> and <bp-asm.h>.
35194 (memcpy): Don't use BP_SYM.
35195 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
35196 <bp-sym.h> and <bp-asm.h>.
35197 (memset): Don't use BP_SYM.
35198 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
35199 <bp-sym.h> and <bp-asm.h>.
35200 (strncmp): Don't use BP_SYM.
35201 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
35202 <bp-sym.h> and <bp-asm.h>.
35203 (memcpy): Don't use BP_SYM.
35204 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
35205 <bp-sym.h> and <bp-asm.h>.
35206 (memset): Don't use BP_SYM.
35207 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
35208 <bp-sym.h> and <bp-asm.h>.
35209 (__memchr): Don't use BP_SYM.
35210 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
35211 <bp-sym.h> and <bp-asm.h>.
35212 (memcmp): Don't use BP_SYM.
35213 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
35214 <bp-sym.h> and <bp-asm.h>.
35215 (memcpy): Don't use BP_SYM.
35216 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
35217 <bp-sym.h> and <bp-asm.h>.
35218 (__mempcpy): Don't use BP_SYM.
35219 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
35220 <bp-sym.h> and <bp-asm.h>.
35221 (__memrchr): Don't use BP_SYM.
35222 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
35223 <bp-sym.h> and <bp-asm.h>.
35224 (memset): Don't use BP_SYM.
35225 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
35226 <bp-sym.h> and <bp-asm.h>.
35227 (__rawmemchr): Don't use BP_SYM.
35228 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
35229 <bp-sym.h> and <bp-asm.h>.
35230 (__STRCMP): Don't use BP_SYM.
35231 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
35232 <bp-sym.h> and <bp-asm.h>.
35233 (strchr): Don't use BP_SYM.
35234 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
35235 <bp-sym.h> and <bp-asm.h>.
35236 (__strchrnul): Don't use BP_SYM.
35237 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
35238 <bp-sym.h> and <bp-asm.h>.
35239 (strlen): Don't use BP_SYM.
35240 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
35241 <bp-sym.h> and <bp-asm.h>.
35242 (strncmp): Don't use BP_SYM.
35243 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
35244 <bp-sym.h> and <bp-asm.h>.
35245 (__strnlen): Don't use BP_SYM.
35246 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
35247 <bp-asm.h>.
35248 (__mpn_rshift): Don't use BP_SYM.
35249 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35250 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
35251 <bp-sym.h> and <bp-asm.h>.
35252 (__sigsetjmp): Don't use BP_SYM.
35253 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
35254 (L(start_addresses)): Don't use BP_SYM.
35255 (_start): Likewise.
35256 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
35257 <bp-asm.h>.
35258 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
35259 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35260 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35261 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
35262 <bp-asm.h>.
35263 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
35264 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35265 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35266 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
35267 <bp-asm.h>.
35268 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
35269 comments.
35270 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35271 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
35272 <bp-asm.h>.
35273 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
35274 FIXME comments.
35275 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35276 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35277 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
35278 <bp-asm.h>.
35279 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
35280 comment.
35281 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
35282 and <bp-asm.h>.
35283 (strncmp): Don't use BP_SYM,
35284 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
35285 <bp-asm.h>.
35286 (__mpn_sub_n): Don't use BP_SYM.
35287 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35288 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
35289 and <bp-asm.h>.
35290 (__mpn_submul_1): Don't use BP_SYM.
35291 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
35293 <bp-sym.h> and <bp-asm.h>.
35294 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
35296 <bp-sym.h> and <bp-asm.h>.
35297 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
35298 comment.
35299
8d19fe64
SP
353002013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35301
35302 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
35303 Use ZK to minimize writes to Z.
35304 (sub_magnitudes): Simplify code a bit.
35305 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
35306 Use ZK to minimize writes to Z.
35307 (sub_magnitudes): Simplify code a bit.
35308
85bd816a
RM
353092013-02-27 Roland McGrath <roland@hack.frob.com>
35310
35311 * csu/gmon-start.c: Add special exception to license text.
35312
b5977bf2
RH
353132013-02-27 Richard Henderson <rth@redhat.com>
35314
35315 * scripts/config.guess: Update from config.git.
35316 * scripts/config.sub: Likewise.
35317
11d6e2f2
SP
353182013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35319
09c14ed2
SP
35320 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
35321
a688864e
SP
35322 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
35323
6295157a
SP
35324 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
35325
b8de2202
SP
35326 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
35327
11d6e2f2
SP
35328 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
35329
7e80ddb8
RM
353302013-02-26 Roland McGrath <roland@hack.frob.com>
35331
35332 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
35333 [$(build-shared = yes].
7e80ddb8 35334
7da6d9ed
SP
353352013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35336
45f05884
SP
35337 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
35338 (__mul): Reduce iterations for calculating mantissa.
35339
2236d359
SP
35340 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
35341 MPTWO.
35342 (__mpranred): Likewise.
35343
7da6d9ed
SP
35344 [BZ #15160]
35345 * malloc/memusagestat.c (main): Draw graphs for heap and stack
35346 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
35347
b7688c42
PE
353482013-02-26 Paul Eggert <eggert@cs.ucla.edu>
35349
35350 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
35351 Define __attribute__.
35352
53a5c423
SP
353532013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35354
35355 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
35356 unused.
35357 * posix/regex_internal.h (__attribute): Remove.
35358 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
35359 (re_string_context_at): Likewise.
35360 (bitset_not): Use __attribute__ and mark function as possibly
35361 unused.
35362 (bitset_merge): Likewise.
35363 (bitset_mask): Likewise.
35364 (re_string_char_size_at): Likewise.
35365 (re_string_wchar_at): Likewise.
35366 (re_string_elem_size_at): Likewise.
35367
60f5a8b5
SP
353682013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35369
2a983a2e
SP
35370 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
35371 code.
35372 (cc32): Likewise.
35373
e69804d1
SP
35374 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
35375 (__acr): Likewise.
35376 (__cpy): Likewise.
35377 (norm): Likewise.
35378 (denorm): Likewise.
35379 (__dbl_mp): Likewise.
35380 (add_magnitudes): Likewise.
35381 (sub_magnitudes): Likewise.
35382 (__mul): Likewise.
35383 (__inv): Likewise.
35384
2f22a1e8
SP
35385 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
35386 style.
35387
8930ddc7
SP
35388 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
35389 style.
35390
dc60cb11
SP
35391 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
35392 code.
35393
60f5a8b5
SP
35394 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
35395 up changes with default code.
35396 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
35397 Likewise.
35398
b4d1fd33
AM
353992013-02-24 Allan McRae <allan@archlinux.org>
35400
faf6f8bc
AM
35401 * manual/socket.texi (The Internet Namespace): Order menu items
35402 to match that in the file.
35403
b4d1fd33
AM
35404 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
35405 node listing of the info page menu.
35406
2366713d
JM
354072013-02-21 Joseph Myers <joseph@codesourcery.com>
35408
35409 [BZ #13550]
35410 * sysdeps/i386/bp-asm.h: Remove file.
35411 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35412 (PARMS): Do not use macros from bp-asm.h.
35413 (S1): Likewise.
35414 (S2): Likewise.
35415 (SIZE): Likewise.
35416 (__mpn_add_n): Do not use BP_SYM
35417 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
35418 "bp-asm.h".
35419 (PARMS): Do not use macros from bp-asm.h.
35420 (S1): Likewise.
35421 (SIZE): Likewise.
35422 (__mpn_addmul_1): Do not use BP_SYM
35423 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
35424 "bp-asm.h".
35425 (PARMS): Do not use macros from bp-asm.h.
35426 (SIGMSK): Likewise.
35427 (_setjmp): Likewise. Do not use BP_SYM.
35428 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
35429 "bp-asm.h".
35430 (PARMS): Do not use macros from bp-asm.h.
35431 (SIGMSK): Likewise.
35432 (setjmp): Likewise. Do not use BP_SYM.
35433 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
35434 "bp-asm.h".
35435 (PARMS): Do not use macros from bp-asm.h.
35436 (__frexp): Do not use BP_SYM.
35437 (frexp): Likewise.
35438 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
35439 "bp-asm.h".
35440 (PARMS): Do not use macros from bp-asm.h.
35441 (__frexpf): Do not use BP_SYM.
35442 (frexpf): Likewise.
35443 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
35444 "bp-asm.h".
35445 (PARMS): Do not use macros from bp-asm.h.
35446 (__frexpl): Do not use BP_SYM.
35447 (frexpl): Likewise.
35448 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
35449 "bp-asm.h".
35450 (PARMS): Do not use macros from bp-asm.h.
35451 (__remquo): Do not use BP_SYM.
35452 (remquo): Likewise.
35453 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
35454 "bp-asm.h".
35455 (PARMS): Do not use macros from bp-asm.h.
35456 (__remquof): Do not use BP_SYM.
35457 (remquof): Likewise.
35458 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
35459 "bp-asm.h".
35460 (PARMS): Do not use macros from bp-asm.h.
35461 (__remquol): Do not use BP_SYM.
35462 (remquol): Likewise.
35463 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
35464 "bp-asm.h".
35465 (PARMS): Do not use macros from bp-asm.h.
35466 (DEST): Likewise.
35467 (SRC): Likewise.
35468 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
35469 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
35470 "bp-asm.h".
35471 (PARMS): Do not use macros from bp-asm.h.
35472 (strlen): Do not use BP_SYM.
35473 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
35474 "bp-asm.h".
35475 (PARMS): Do not use macros from bp-asm.h.
35476 (S1): Likewise.
35477 (S2): Likewise.
35478 (SIZE): Likewise.
35479 (__mpn_add_n): Do not use BP_SYM.
35480 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
35481 "bp-asm.h".
35482 (PARMS): Do not use macros from bp-asm.h.
35483 (S1): Likewise.
35484 (SIZE): Likewise.
35485 (__mpn_addmul_1): Do not use BP_SYM.
35486 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
35487 weak_alias.
35488 (bzero): Likewise.
35489 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
35490 "bp-asm.h".
35491 (PARMS): Do not use macros from bp-asm.h.
35492 (S): Likewise.
35493 (SIZE): Likewise.
35494 (__mpn_lshift): Do not use BP_SYM.
35495 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
35496 "bp-asm.h".
35497 (PARMS): Do not use macros from bp-asm.h.
35498 (DEST): Likewise.
35499 (SRC): Likewise.
35500 (LEN): Likewise.
35501 (memcpy): Likewise. Do not use BP_SYM.
35502 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
35503 libc_hidden_def and weak_alias.
35504 (mempcpy): Do not use BP_SYM in weak_alias.
35505 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
35506 "bp-asm.h".
35507 (PARMS): Do not use macros from bp-asm.h.
35508 (DEST): Likewise.
35509 (LEN): Likewise.
35510 [!BZERO_P] (CHR): Likewise.
35511 (memset): Likewise. Do not use BP_SYM.
35512 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
35513 "bp-asm.h".
35514 (PARMS): Do not use macros from bp-asm.h.
35515 (S1): Likewise.
35516 (SIZE): Likewise.
35517 (__mpn_mul_1): Do not use BP_SYM.
35518 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
35519 "bp-asm.h".
35520 (PARMS): Do not use macros from bp-asm.h.
35521 (S): Likewise.
35522 (SIZE): Likewise.
35523 (__mpn_rshift): Do not use BP_SYM.
35524 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
35525 "bp-asm.h".
35526 (PARMS): Do not use macros from bp-asm.h.
35527 (STR): Likewise.
35528 (CHR): Likewise.
35529 (strchr): Likewise. Do not use BP_SYM.
35530 (index): Do not use BP_SYM in weak_alias.
35531 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
35532 "bp-asm.h".
35533 (PARMS): Do not use macros from bp-asm.h.
35534 (DEST): Likewise.
35535 (SRC): Likewise.
35536 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
35537 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
35538 "bp-asm.h".
35539 (PARMS): Do not use macros from bp-asm.h.
35540 (strlen): Do not use BP_SYM.
35541 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
35542 "bp-asm.h".
35543 (PARMS): Do not use macros from bp-asm.h.
35544 (S1): Likewise.
35545 (S2): Likewise.
35546 (SIZE): Likewise.
35547 (__mpn_sub_n): Do not use BP_SYM.
35548 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
35549 "bp-asm.h".
35550 (PARMS): Do not use macros from bp-asm.h.
35551 (S1): Likewise.
35552 (SIZE): Likewise.
35553 (__mpn_submul_1): Do not use BP_SYM.
35554 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
35555 "bp-asm.h".
35556 (PARMS): Do not use macros from bp-asm.h.
35557 (S1): Likewise.
35558 (S2): Likewise.
35559 (SIZE): Likewise.
35560 (__mpn_add_n): Do not use BP_SYM.
35561 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
35562 weak_alias.
35563 (bzero): Likewise.
35564 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
35565 "bp-asm.h".
35566 (PARMS): Do not use macros from bp-asm.h.
35567 (BLK2): Likewise.
35568 (LEN): Likewise.
35569 (memcmp): Do not use BP_SYM.
35570 (bcmp): Do not use BP_SYM in weak_alias.
35571 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
35572 "bp-asm.h".
35573 (PARMS): Do not use macros from bp-asm.h.
35574 (DEST): Likewise.
35575 (SRC): Likewise.
35576 (LEN): Likewise.
35577 (memcpy): Likewise. Do not use BP_SYM.
35578 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
35579 "bp-asm.h".
35580 (PARMS): Do not use macros from bp-asm.h.
35581 (DEST): Likewise.
35582 (SRC): Likewise.
35583 (LEN): Likewise.
35584 (memmove): Likewise. Do not use BP_SYM.
35585 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
35586 "bp-asm.h".
35587 (PARMS): Do not use macros from bp-asm.h.
35588 (DEST): Likewise.
35589 (SRC): Likewise.
35590 (LEN): Likewise.
35591 (__mempcpy): Likewise. Do not use BP_SYM.
35592 (mempcpy): Do not use BP_SYM in weak_alias.
35593 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
35594 "bp-asm.h".
35595 (PARMS): Do not use macros from bp-asm.h.
35596 (DEST): Likewise.
35597 (LEN): Likewise.
35598 [!BZERO_P] (CHR): Likewise.
35599 (memset): Likewise. Do not use BP_SYM.
35600 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
35601 "bp-asm.h".
35602 (PARMS): Do not use macros from bp-asm.h.
35603 (STR2): Likewise.
35604 (strcmp): Do not use BP_SYM.
35605 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
35606 "bp-asm.h".
35607 (PARMS): Do not use macros from bp-asm.h.
35608 (STR): Likewise.
35609 (DELIM): Likewise.
35610 [USE_AS_STRTOK_R] (SAVE): Likewise.
35611 (FUNCTION): Likewise. Do not use BP_SYM.
35612 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
35613 aliases.
35614 (strtok_r): Likewise.
35615 (__GI___strtok_r): Likewise.
35616 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35617 (PARMS): Do not use macros from bp-asm.h.
35618 (S): Likewise.
35619 (SIZE): Likewise.
35620 (__mpn_lshift): Do not use BP_SYM.
35621 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35622 (PARMS): Do not use macros from bp-asm.h.
35623 (STR): Likewise.
35624 (CHR): Likewise.
35625 (__memchr): Do not use BP_SYM.
35626 (memchr): Do not use BP_SYM in weak_alias.
35627 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35628 (PARMS): Do not use macros from bp-asm.h.
35629 (BLK2): Likewise.
35630 (LEN): Likewise.
35631 (memcmp): Do not use BP_SYM.
35632 (bcmp): Do not use BP_SYM in weak_alias.
35633 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
35634 (PARMS): Do not use macros from bp-asm.h.
35635 (S1): Likewise.
35636 (SIZE): Likewise.
35637 (__mpn_mul_1): Do not use BP_SYM.
35638 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
35639 "bp-asm.h".
35640 (PARMS): Do not use macros from bp-asm.h.
35641 (STR): Likewise.
35642 (CHR): Likewise.
35643 (__rawmemchr): Do not use BP_SYM.
35644 (rawmemchr): Do not use BP_SYM in weak_alias.
35645 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35646 (PARMS): Do not use macros from bp-asm.h.
35647 (S): Likewise.
35648 (SIZE): Likewise.
35649 (__mpn_rshift): Do not use BP_SYM.
35650 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35651 (PARMS): Do not use macros from bp-asm.h.
35652 (SIGMSK): Likewise.
35653 (__sigsetjmp): Likewise. Do not use BP_SYM.
35654 * sysdeps/i386/start.S: Do not include "bp-sym.h".
35655 (_start): Do not use BP_SYM.
35656 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
35657 (PARMS): Do not use macros from bp-asm.h.
35658 (DEST): Likewise.
35659 (SRC): Likewise.
35660 (__stpcpy): Likewise. Do not use BP_SYM.
35661 (stpcpy): Do not use BP_SYM in weak_alias.
35662 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
35663 "bp-asm.h".
35664 (PARMS): Do not use macros from bp-asm.h.
35665 (DEST): Likewise.
35666 (SRC): Likewise.
35667 (LEN): Likewise.
35668 (__stpncpy): Likewise. Do not use BP_SYM.
35669 (stpncpy): Do not use BP_SYM in weak_alias.
35670 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35671 (PARMS): Do not use macros from bp-asm.h.
35672 (STR): Likewise.
35673 (CHR): Likewise.
35674 (strchr): Likewise. Do not use BP_SYM.
35675 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
35676 "bp-asm.h".
35677 (PARMS): Do not use macros from bp-asm.h.
35678 (STR): Likewise.
35679 (CHR): Likewise.
35680 (__strchrnul): Likewise. Do not use BP_SYM.
35681 (strchrnul): Do not use BP_SYM in weak_alias.
35682 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
35683 "bp-asm.h".
35684 (PARMS): Do not use macros from bp-asm.h.
35685 (STOP): Likewise.
35686 (strcspn): Do not use BP_SYM.
35687 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
35688 "bp-asm.h".
35689 (PARMS): Do not use macros from bp-asm.h.
35690 (STR): Likewise.
35691 (STOP): Likewise.
35692 (strpbrk): Likewise. Do not use BP_SYM.
35693 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
35694 "bp-asm.h".
35695 (PARMS): Do not use macros from bp-asm.h.
35696 (STR): Likewise.
35697 (CHR): Likewise.
35698 (strrchr): Likewise. Do not use BP_SYM.
35699 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
35700 (PARMS): Do not use macros from bp-asm.h.
35701 (SKIP): Likewise.
35702 (strspn): Do not use BP_SYM.
35703 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
35704 (PARMS): Do not use macros from bp-asm.h.
35705 (STR): Likewise.
35706 (DELIM): Likewise.
35707 (SAVE): Likewise.
35708 (FUNCTION): Likewise. Do not use BP_SYM.
35709 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
35710 aliases.
35711 (strtok_r): Likewise.
35712 (__GI___strtok_r): Likewise.
35713 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35714 (PARMS): Do not use macros from bp-asm.h.
35715 (S1): Likewise.
35716 (S2): Likewise.
35717 (SIZE): Likewise.
35718 (__mpn_sub_n): Do not use BP_SYM.
35719 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
35720 "bp-asm.h".
35721 (PARMS): Do not use macros from bp-asm.h.
35722 (S1): Likewise.
35723 (SIZE): Likewise.
35724 (__mpn_submul_1): Do not use BP_SYM.
35725 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
35726 <bp-sym.h>.
35727 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
35728 and <bp-asm.h>.
35729 (PARMS): Do not use macros from bp-asm.h.
35730 (FLAGS): Likewise.
35731 (PTID): Likewise.
35732 (TLS): Likewise.
35733 (CTID): Likewise.
35734 (__clone): Do not use BP_SYM.
35735 (clone): Do not use BP_SYM in weak_alias.
35736 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
35737 and <bp-asm.h>.
35738 (PARMS): Do not use macros from bp-asm.h.
35739 (LEN): Likewise.
35740 (__mmap64): Do not use BP_SYM.
35741 (mmap64): Do not use BP_SYM in weak_alias.
35742 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35743 <bp-sym.h> and <bp-asm.h>.
35744 (PARMS): Do not use macros from bp-asm.h.
35745 (__posix_fadvise64_l64): Do not use BP_SYM.
35746 * sysdeps/unix/sysv/linux/i386/semtimedop.S
35747 (PARMS): Do not use macros from bp-asm.h.
35748 (NSOPS): Likewise.
35749 (semtimedop): Do not use BP_SYM.
35750 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
35751 and <bp-asm.h>.
35752
582a3cff
AM
357532013-02-21 Allan McRae <allan@archlinux.org>
35754
35755 * manual/message.texi (Charset conversion in gettext):
35756 Move @end statement to beginning of line.
35757
bab8a695
SP
357582013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35759
80945231
SP
35760 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
35761 static.
35762 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
35763 Likewise.
35764
bab8a695
SP
35765 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
35766 (denorm): Likewise.
35767 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
35768 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
35769
e21d7aa7
AK
357702013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35771
35772 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
35773 tail-call to the resolved function if pltexit isn't needed.
35774
4c7a4263
SP
357752013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35776
35777 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
35778 or Y being zero as being unlikely.
35779 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35780 Likewise.
35781
41f49342
CD
357822013-02-20 Carlos O'Donell <carlos@redhat.com>
35783
35784 * manual/nss.texi (System Databases and Name Service Switch):
35785 Remove frobnicate @pxref.
35786
50022a93
TS
357872013-02-20 Thomas Schwinge <thomas@codesourcery.com>
35788
35789 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35790 __attribute__ ((unused)) to __attribute__ ((__unused__)).
35791
08cbd996
PM
357922013-02-20 Petr Machata <pmachata@redhat.com>
35793
35794 * elf/elf.h (R_ARM_TARGET1): New macro.
35795 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
35796 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
35797 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
35798 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
35799 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
35800 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
35801 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
35802 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
35803 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
35804 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
35805 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
35806 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
35807 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
35808 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
35809 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
35810 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
35811 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
35812 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
35813 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
35814 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
35815 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
35816 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
35817 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
35818 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
35819 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
35820 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
35821 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
35822 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
35823 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
35824 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
35825 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
35826 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
35827 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
35828 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
35829 (R_ARM_THM_GOT_BREL12): Likewise.
35830 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
35831 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
35832 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
35833 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
35834 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
35835 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
35836 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
35837 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
35838 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
35839
c7b275d6
TS
358402013-02-20 Thomas Schwinge <thomas@codesourcery.com>
35841
35842 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35843 __attribute_used__ to __attribute__ ((unused)).
35844
20cd7fb3
SP
358452013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35846
35847 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
35848 powerpc mpa.c.
35849 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
35850 comment formatting.
35851 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
35852
92945b52
JM
358532013-02-19 Joseph Myers <joseph@codesourcery.com>
35854
35855 [BZ #13550]
35856 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
35857 Remove macro.
35858 (ENTER): Remove both macro definitions.
35859 (LEAVE): Likewise.
35860 (CHECK_BOUNDS_LOW): Likewise.
35861 (CHECK_BOUNDS_HIGH): Likewise.
35862 (CHECK_BOUNDS_BOTH): Likewise.
35863 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
35864 (RETURN_BOUNDED_POINTER): Likewise.
35865 (RETURN_NULL_BOUNDED_POINTER): Likewise.
35866 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
35867 (POP_ERRNO_LOCATION_RETURN): Likewise.
35868 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
35869 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35870 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
35871 macros.
35872 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35873 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
35874 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
35875 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
35876 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
35877 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
35878 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
35879 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
35880 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
35881 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
35882 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
35883 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
35884 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35885 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
35886 removed macros.
35887 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35888 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
35889 macros.
35890 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35891 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
35892 * sysdeps/i386/i586/memset.S (memset): Likewise.
35893 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
35894 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35895 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
35896 macros.
35897 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35898 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
35899 Change uses of L(2) to L(out).
35900 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
35901 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
35902 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
35903 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35904 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
35905 removed macros.
35906 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35907 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
35908 macros.
35909 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35910 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
35911 (RETURN): Do not use macro LEAVE.
35912 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
35913 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
35914 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
35915 * sysdeps/i386/i686/memset.S (memset): Likewise.
35916 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
35917 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
35918 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35919 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
35920 Likewise.
35921 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35922 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
35923 L(1_2) and L(1_3) into L(1).
35924 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35925 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
35926 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35927 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
35928 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35929 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
35930 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
35931 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35932 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
35933 macros.
35934 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
35935 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35936 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
35937 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
35938 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
35939 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35940 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
35941 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
35942 * sysdeps/i386/strcspn.S (strcspn): Likewise.
35943 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
35944 * sysdeps/i386/strrchr.S (strrchr): Likewise.
35945 * sysdeps/i386/strspn.S (strspn): Likewise.
35946 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
35947 conditional code.
35948 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35949 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
35950 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35951 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
35952 L(1_3) into L(1_1).
35953 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
35954 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35955 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
35956 macros.
35957 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35958
2389741a
JJ
359592013-02-19 Jakub Jelinek <jakub@redhat.com>
35960
35961 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
35962 macro.
35963
2016b3cd
SP
359642013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35965
e4f22324
SP
35966 * math/atest-exp.c (exp_mpn): Remove ROUND.
35967 * math/atest-exp2.c (exp_mpn): Likewise.
35968 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
35969
2016b3cd
SP
35970 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
35971 * stdlib/tst-tls-atexit-lib.c: Likewise.
35972 * stdlib/tst-tls-atexit.c: Likewise.
35973
4be9b544
MF
359742013-02-18 Mike Frysinger <vapier@gentoo.org>
35975
35976 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
35977 and __attribute_alloc_size__.
35978
2f62b9ee
MF
359792013-02-18 Mike Frysinger <vapier@gentoo.org>
35980
35981 * include/programs/xmalloc.h: Change __attribute_alloc_size to
35982 __attribute_alloc_size__.
35983 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
35984 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
35985
6ff444c4
MF
359862013-02-18 Mike Frysinger <vapier@gentoo.org>
35987
35988 * include/programs/xmalloc.h: New file.
35989 * catgets/gencat.c: Include it.
35990 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
35991 * elf/pldd.c: Likewise.
35992 * iconv/iconv_charmap.c: Likewise.
35993 * iconv/iconvconfig.c: Likewise.
35994 * iconv/strtab.c: Likewise.
35995 * locale/programs/locale.c: Likewise.
35996 * locale/programs/localedef.h: Likewise.
35997 * locale/programs/simple-hash.c: Likewise.
35998 * nscd/nscd.h: Likewise.
35999 * nss/makedb.c: Likewise.
36000 * sysdeps/generic/ldconfig.h: Likewise.
36001
be179c8a
SP
360022013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36003
ba384f6e
SP
36004 * Versions.def: Add GLIBC_2.18.
36005 * include/link.h (struct link_map): New member l_tls_dtor_count.
36006 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
36007 (__call_tls_dtors): Likewise.
36008 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
36009 __cxa_thread_atexit_impl.
36010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36011 Likewise.
36012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36013 Likewise.
36014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36015 Likewise.
36016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36017 Likewise.
36018 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36019 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
36020 Likewise.
36021 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
36022 Likewise.
36023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36024 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36025 Likewise.
36026 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
36027 (tests): Add test case tst-tls-atexit.
36028 (modules-names): Add shared library for tst-tls-atexit.
85891aca 36029 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
36030 (GLIBC_PRIVATE): Add __call_tls_dtors.
36031 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
36032 for libstdc++.
36033 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
36034 * stdlib/tst-tls-atexit.c: New test case.
36035 * stdlib/tst-tls-atexit-lib.c: New test case.
36036
ffaa74cf 36037 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 36038
be179c8a
SP
36039 * elf/Versions (ld): Add _dl_find_dso_for_object.
36040 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
36041 * elf/dl-open.c (_dl_find_dso_for_object): New function.
36042 (dl_open_worker): Use _dl_find_dso_for_object.
36043 * elf/dl-sym.c (do_sym): Likewise.
36044 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
36045
f78b5caa
AK
360462013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36047
36048 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
36049 Syntactic changes only.
36050 (_dl_runtime_profile): Do a tail-call to the resolved function.
36051
29691210
JM
360522013-02-17 Joseph Myers <joseph@codesourcery.com>
36053
36054 [BZ #13550]
36055 * sysdeps/x86_64/bp-asm.h: Remove file.
36056 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
36057 <bp-sym.h> and <bp-asm.h>.
36058 (__clone): Do not use BP_SYM.
36059 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
36060 <bp-sym.h> and <bp-asm.h>.
36061 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36062 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
36063 "bp-asm.h".
36064 (_setjmp): Do not use BP_SYM.
36065 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
36066 "bp-asm.h".
36067 (setjmp): Do not use BP_SYM.
36068 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
36069 libc_hidden_def.
36070 (mempcpy): Do not use BP_SYM in weak_alias.
36071 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
36072 "bp-asm.h".
36073 (strchr): Do not use BP_SYM.
36074 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
36075 "bp-asm.h".
36076 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
36077 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
36078 (_start): Do not use BP_SYM.
36079 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
36080 "bp-asm.h".
36081 (strcat): Do not use BP_SYM.
36082 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
36083 "bp-asm.h".
36084 (STRCMP): Do not use BP_SYM.
36085 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
36086 "bp-asm.h".
36087 (STRCPY): Do not use BP_SYM.
36088 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
36089 "bp-asm.h".
36090 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
36091 "bp-asm.h".
36092 (FUNCTION): Do not use BP_SYM.
36093 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
36094 weak_alias.
36095 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
36096
f238fd19
AJ
360972013-02-17 Andreas Jaeger <aj@suse.de>
36098
36099 * time/Versions: Sort entries.
36100 * string/Versions: Likewise.
36101 * resolv/Versions: Likewise.
36102 * posix/Versions: Likewise.
36103 * iconv/Versions: Likewise.
36104 * elf/Versions: Likewise.
36105 * wcsmbs/Versions: Likewise.
36106
bd07f23c 361072013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 36108
22af19f9
SP
36109 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
36110 loop termination condition.
36111
4709fe76
SP
36112 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
36113 variable to calculate EZ.
36114 (__sqr): Likewise.
2d0e0f29
SP
36115
36116 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
36117 the lower precision input.
36118
daaa7713
JM
361192013-02-15 Joseph Myers <joseph@codesourcery.com>
36120
36121 [BZ #13550]
36122 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
36123 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
36124 (run-via-rtld-prefix): Do not handle %-bp tests.
36125 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
36126 (all-object-suffixes): Remove .ob.
36127 (bppfx): Remove variable.
36128 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
36129 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
36130 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
36131 [$(build-bounded) = yes] (libtype.ob): Likewise.
36132 * Makerules (elide-routines.ob): Remove variable.
36133 (do-tests-clean): Do not handle *-bp.out.
36134 (common-mostlyclean): Do not handle *-bp and *-bp.out.
36135 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
36136 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
36137 (tests): Do not include $(tests-bp.out).
36138 (xtests): Do not include $(xtests-bp.out).
36139 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
36140 [$(build-bounded) = yes] ($(addprefix
36141 $(objpfx),$(binaries-bounded))): Remove rule.
36142 ($(objpfx)%-bp.out): Remove rule.
36143 * config.make.in (build-bounded): Remove variable.
36144 * crypt/Makefile [$(build-bounded) = yes]
36145 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
36146 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
36147 append to variable.
36148 [$(build-bounded) = yes] (install-lib): Likewise.
36149 [$(build-bounded) = yes] (generated): Likewise.
36150 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
36151 Remove rule.
36152 * intl/Makefile [$(build-bounded) = yes]
36153 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
36154 * math/Makefile [$(build-bounded) = yes]
36155 ($(tests:%=$(objpfx)%-bp): Likewise.
36156 * misc/Makefile [$(build-bounded) = yes]
36157 ($(objpfx)tst-tsearch-bp): Likewise.
36158 * nptl/Makeconfig (bounded-thread-library): Remove variable.
36159 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
36160 Remove dependency.
36161 * string/Makefile (o-objects.ob): Remove variable.
36162 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
36163 (CFLAGS-.ob): Remove variable.
36164 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
36165 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
36166 both definitions of variable.
36167 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
36168 (ASFLAGS-.ob): Remove variable.
36169
e97ed6dd
JM
361702013-02-14 Joseph Myers <joseph@codesourcery.com>
36171
2bdd4ca6
JM
36172 [BZ #13550]
36173 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
36174 Remove __BOUNDED_POINTERS__ from condition.
36175 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
36176 * string/bits/string2.h [!__NO_STRING_INLINES &&
36177 !__BOUNDED_POINTERS__]: Likewise.
36178 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
36179 Likewise.
36180 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
36181 Remove conditional code.
36182 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
36183 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
36184 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
36185 condition.
36186
e97ed6dd
JM
36187 [BZ #13550]
36188 * csu/libc-start.c: Do not include <bp-sym.h>.
36189 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
36190 * elf/dl-open.c: Do not include <bp-sym.h>.
36191 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
36192 * math/fegetenv.c: Do not include <bp-sym.h>.
36193 (fegetenv): Do not use BP_SYM in versioned symbols.
36194 * nptl/sysdeps/pthread/bits/libc-lockP.h
36195 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
36196 <bp-sym.h>.
36197 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36198 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
36199 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36200 (__pthread_mutex_destroy): Likewise.
36201 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36202 (__pthread_mutex_lock): Likewise.
36203 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36204 (__pthread_mutex_trylock): Likewise.
36205 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36206 (__pthread_mutex_unlock): Likewise.
36207 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36208 (__pthread_mutexattr_init): Likewise.
36209 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36210 (__pthread_mutexattr_destroy): Likewise.
36211 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36212 (__pthread_mutexattr_settype): Likewise.
36213 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36214 (__pthread_rwlock_init): Likewise.
36215 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36216 (__pthread_rwlock_destroy): Likewise.
36217 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36218 (__pthread_rwlock_rdlock): Likewise.
36219 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36220 (__pthread_rwlock_tryrdlock): Likewise.
36221 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36222 (__pthread_rwlock_wrlock): Likewise.
36223 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36224 (__pthread_rwlock_trywrlock): Likewise.
36225 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36226 (__pthread_rwlock_unlock): Likewise.
36227 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36228 (__pthread_key_create): Likewise.
36229 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36230 (__pthread_setspecific): Likewise.
36231 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36232 (__pthread_getspecific): Likewise.
36233 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
36234 Likewise.
36235 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36236 (_pthread_cleanup_push_defer): Likewise.
36237 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36238 (_pthread_cleanup_pop_restore): Likewise.
36239 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36240 (pthread_setcancelstate): Likewise.
36241 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
36242 <bp-sym.h>.
36243 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
36244 (memchr): Do not use BP_SYM in weak_alias.
36245 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
36246 (fegetenv): Do not use BP_SYM in versioned symbols.
36247 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
36248 (fesetenv): Do not use BP_SYM in versioned symbols.
36249 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36250 (feupdateenv): Do not use BP_SYM in versioned symbols.
36251 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36252 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36253 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
36254 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
36255 (open64): Do not use BP_SYM in weak_alias.
36256 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
36257 (fegetenv): Do not use BP_SYM in versioned symbols.
36258 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
36259 (fesetenv): Do not use BP_SYM in versioned symbols.
36260 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36261 (feupdateenv): Do not use BP_SYM in versioned symbols.
36262 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
36263 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
36264 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
36265 (feraiseexcept): Do not use BP_SYM in versioned symbols.
36266 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36267 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36268 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
36269 <bp-sym.h>.
36270 (__libc_start_main): Do not use BP_SYM.
36271
d6752ccd
SP
362722013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
36273
cb57ce60
SP
36274 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
36275 redundant return line.
36276 (norm): Likewise.
36277 (denorm): Likewise.
36278 (dbl_mp): Likewise.
36279 (sub_magnitudes): Likewise.
36280 (__add): Likewise.
36281 (__sub): Likewise.
36282 (__mul): Likewise.
36283 (__inv): Likewise.
36284 (__dvd): Likewise.
36285 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
36286 (norm): Likewise.
36287 (denorm): Likewise.
36288 (dbl_mp): Likewise.
36289 (sub_magnitudes): Likewise.
36290 (__add): Likewise.
36291 (__sub): Likewise.
36292 (__mul): Likewise.
36293 (__inv): Likewise.
36294 (__dvd): Likewise.
36295
f414520d
SP
36296 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
36297 instead of __mul.
36298 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36299 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
36300 (cc32): Likewise.
36301
d6752ccd
SP
36302 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
36303 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
36304 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
36305 of __mul for squares.
36306 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
36307 function
36308 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
36309 Likewise.
36310 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
36311 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36312
70d9946a
JM
363132013-02-13 Joseph Myers <joseph@codesourcery.com>
36314
36315 [BZ #13550]
36316 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
36317 code.
36318 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
36319 prototype or function definition. Rename ubp_* variables and
36320 parameters. Remove argv definitions conditional on
36321 [__BOUNDED_POINTERS__].
36322 * debug/backtrace.c (__backtrace): Do not use __unbounded.
36323 * elf/dl-runtime.c (_dl_fixup): Likewise.
36324 * include/set-hooks.h (RUN_HOOK): Likewise.
36325 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
36326 definition.
36327 * string/strcpy.c (strcpy): Do not use __unbounded.
36328 * sysdeps/generic/frame.h (struct layout): Likewise.
36329 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
36330 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
36331 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
36332 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
36333 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
36334 (__backtrace): Likewise.
36335 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
36336 use __ptrvalue.
36337 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
36338 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36339 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
36340 Likewise.
36341 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
36342 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
36343 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36344 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36345 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
36346 Do not use __unbounded.
36347 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
36348 Rename __unboundedrlimits parameter to rlimits in prototype.
36349 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
36350 Do not use __unbounded.
36351 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
36352 not use __ptrvalue.
36353 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36354 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
36355 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36356 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
36357 __ptrvalue or __unbounded.
36358 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
36359 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
36360 use __unbounded.
36361 (__new_msgctl): Do not use __ptrvalue.
36362 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
36363 __unbounded.
36364 (__libc_msgrcv): Do not use __ptrvalue.
36365 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
36366 startup_info): Do not use __unbounded.
36367 (__libc_start_main): Likewise. Rename ubp_* variables and
36368 parameters. Remove argv definitions conditional on
36369 [__BOUNDED_POINTERS__].
36370 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
36371 __ptrvalue.
36372 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
36373 use __unbounded.
36374 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
36375 or __ptrvalue.
36376 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
36377 use __unbounded.
36378 (__new_shmctl): Do not use __ptrvalue.
36379 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
36380 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
36381 Likewise.
36382 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
36383 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
36384 (__libc_sigaction): Likewise.
36385 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
36386 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
36387 Likewise.
36388 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36389
cc7834d6
OB
363902013-02-13 Ondřej Bílka <neleai@seznam.cz>
36391
ffb1ec7b 36392 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
36393
36394 * string/mempcpy.c: Implement by calling memcpy.
36395
bdf02814
SP
363962013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36397
c2af38aa
SP
36398 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
36399
4e92d59e
SP
36400 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
36401 evaluation.
36402
909279a5
SP
36403 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
36404 values in the mantissa.
36405
bdf02814
SP
36406 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
36407 minimize writes to Z.
36408 (sub_magnitudes): Simplify code a bit.
36409
cd525923
RM
364102013-02-12 Roland McGrath <roland@hack.frob.com>
36411
36412 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
36413 from the message. The linker prefixes all warnings with that already.
36414
7e2f0d2d
AS
364152013-02-12 Andreas Schwab <schwab@suse.de>
36416
a445af0b
AS
36417 [BZ #15078]
36418 * posix/regexec.c (extend_buffers): Add parameter min_len.
36419 (check_matching): Pass minimum needed length.
36420 (clean_state_log_if_needed): Likewise.
36421 (get_subexp): Likewise.
36422 * posix/Makefile (tests): Add bug-regex34.
36423 (bug-regex34-ENV): Define.
36424 * posix/bug-regex34.c: New file.
36425
7e2f0d2d
AS
36426 [BZ #11561]
36427 * posix/regcomp.c (parse_bracket_exp): When looking up collating
36428 elements compare against the byte sequence of it, not its name.
36429 * posix/Makefile (tests): Add bug-regex35.
36430 (bug-regex35-ENV): Define.
36431 * posix/bug-regex35.c: New file.
36432
a175b684
TV
364332013-02-11 Tom de Vries <tom@codesourcery.com>
36434
36435 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
36436 comment.
36437 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
36438 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
36439 (CHECK_EOL): Add undef.
36440
310998fe 364412013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
36442
36443 * bits/stdlib-bsearch.h: New file.
36444 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 36445 * stdlib/stdlib.h: Likewise.
41eda41d 36446
8ded91fb
RM
364472013-02-11 Roland McGrath <roland@hack.frob.com>
36448
36449 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
36450 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
36451 declaration.
36452 * manual/search.texi (Array Search Function): Add missing const in
36453 lfind prototype.
36454 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
36455 declaration to use rlim_t.
36456 (Basic Scheduling Functions): Remove erroneous const from
36457 sched_getparam prototype. Remove erroneous * from
36458 sched_get_priority_max and sched_get_priority_min prototypes.
36459 (Resource Usage): Fix summary @comment on vtimes to refer to
36460 sys/vtimes.h rather than vtimes.h.
36461 Add missing *s in vtimes prototype.
36462 (Limits on Resources): Fix ulimit prototype to return long int.
36463 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
36464 prototypes to use long int rather than double.
36465 (BSD Random): Fix initstate and setstate to use char *, not void *.
36466 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
36467 prototype to make second argument 'struct aiocb64 *const[]'.
36468 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
36469 (Status of AIO Operations): Remove erroneous const in aio_return and
36470 aio_return64 prototypes.
36471 (Synchronizing I/O): Fix sync prototype to return void.
36472 * manual/startup.texi (Suboptions): Remove an erroneous const in
36473 getsubopt prototype.
36474 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
36475 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
36476 use size_t rather than int.
36477 (Scanning All Users): Likewise for getpwent_r.
36478 (Setting Groups): Add missing const to setgroups prototype.
36479 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
36480 * manual/socket.texi (Host Names): Fix gethostbyaddr and
36481 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
36482 'const void *' rather than 'const char *'.
36483 (Host Address Functions): Likewise for inet_ntop.
36484 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
36485 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
36486 ssize_t for return value.
36487 (Sending Data): Likewise for send, sendto, sendmsg.
36488 (Socket Option Functions): Add a missing const in setsockopt prototype.
36489 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
36490 use wchar_t for the argument.
36491 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
36492 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
36493 take no arguments.
36494 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
36495 double/float/long double for second argument.
36496 Fix return types of significand, significandf, significandl.
36497 * manual/filesys.texi (Setting Permissions): Use mode_t for second
36498 argument in fchmod prototype.
36499 (File Owner): Use uid_t and gid_t in fchown prototype.
36500 (File Times): Add const to utimes, futimes, and lutimes prototypes.
36501 (Making Special Files): Use mode_t and dev_t in mknod prototype.
36502 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
36503 use 'const struct dirent **' as argument types to CMP function pointer
36504 argument.
36505 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
36506 (File Times): Fix summary magic @comment for struct utimbuf and utime
36507 to refer to utime.h, not time.h.
36508 * manual/string.texi (Argz Functions): Add missing const in
36509 argz_extract and argz_next prototypes.
36510 (Finding Tokens in a String): Likewise for basename.
36511 (String/Array Comparison): Fix typo in wcscasecmp prototype.
36512 (Copying and Concatenation): Fix typo in wmemmove prototype.
36513 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
36514 (Signal Stack): Remove erroneous const in sigstack prototype.
36515 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
36516 prototype.
36517 (Simple Calendar Time): Likewise for stime.
36518 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
36519 prototype.
36520 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
36521 say sys/sysctl.h instead.
36522 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
36523 and vsyslog prototypes.
36524
fe77fe6d
TV
365252013-02-11 Tom de Vries <tom@codesourcery.com>
36526
36527 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
36528 Remove.
36529
3a09b620
RM
365302013-02-11 Roland McGrath <roland@hack.frob.com>
36531
36532 * misc/sys/mman.h: Fix typo in mremap comment.
36533
550a0b89
RM
365342013-02-08 Roland McGrath <roland@hack.frob.com>
36535
36536 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
36537 the '\0' terminator.
36538
a2da1673
JM
365392013-02-08 Joseph Myers <joseph@codesourcery.com>
36540
36541 [BZ #13550]
36542 * debug/segfault.c: Don't include <bp-checks.h>.
36543 * sysdeps/generic/bp-checks.h: Remove file.
36544 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
36545 (__GETDENTS): Don't use CHECK_N.
36546 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
36547 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
36548 (__getgroups): Don't use CHECK_N.
36549 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
36550 (setgroups): Don't use CHECK_N.
36551 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
36552 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
36553 (__libc_msgrcv): Don't use CHECK_N.
36554 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
36555 (__libc_msgsnd): Don't use CHECK_N.
36556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
36557 <bp-checks.h>.
36558 (__libc_pread): Don't use CHECK_N.
36559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
36560 include <bp-checks.h>.
36561 (__libc_pread64): Don't use CHECK_N.
36562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
36563 include <bp-checks.h>.
36564 (__libc_pwrite): Don't use CHECK_N.
36565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
36566 include <bp-checks.h>.
36567 (__libc_pwrite64): Don't use CHECK_N.
36568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
36569 <bp-checks.h>.
36570 (__libc_pread): Don't use CHECK_N.
36571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
36572 include <bp-checks.h>.
36573 (__libc_pread64): Don't use CHECK_N.
36574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
36575 include <bp-checks.h>.
36576 (__libc_pwrite): Don't use CHECK_N.
36577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
36578 include <bp-checks.h>.
36579 (__libc_pwrite64): Don't use CHECK_N.
36580 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
36581 (do_pread): Don't use CHECK_N.
36582 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
36583 (do_pread64): Don't use CHECK_N.
36584 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
36585 (do_pwrite): Don't use CHECK_N.
36586 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
36587 (do_pwrite64): Don't use CHECK_N.
36588 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
36589 (__libc_readv): Don't use CHECK_N.
36590 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
36591 (semop): Don't use CHECK_N.
36592 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
36593 <bp-checks.h>.
36594 (semtimedop): Don't use CHECK_N.
36595 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
36596 (__libc_pread): Don't use CHECK_N.
36597 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
36598 <bp-checks.h>.
36599 (__libc_pread64): Don't use CHECK_N.
36600 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
36601 <bp-checks.h>.
36602 (__libc_pwrite): Don't use CHECK_N.
36603 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
36604 <bp-checks.h>.
36605 (__libc_pwrite64): Don't use CHECK_N.
36606 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
36607 <bp-checks.h>.
36608 (__libc_msgrcv): Don't use CHECK_N.
36609 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
36610 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
36611 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
36612 (__libc_writev): Don't use CHECK_N.
36613
b84660a8
RM
366142013-02-08 Roland McGrath <roland@hack.frob.com>
36615
7f3e75f8
RM
36616 * string/strcpy.c: Removed unused variable.
36617
b84660a8
RM
36618 * Makeconfig (+sysdep-includes): Define with := rather than =.
36619 Use an existing include/ subdir of each sysdeps dir before it.
36620
471514d3
CD
366212013-02-08 Carlos O'Donell <carlos@redhat.com>
36622
36623 * nscd/connection.c (register_traced_file): Comment function.
36624 [HAVE_INOTIFY] (union __inev): Define.
36625 [HAVE_INOTIFY] (inotify_check_files): New function.
36626 [HAVE_INOTIFY] (clear_db_cache): Likewise.
36627 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
36628 clear_db_cache.
36629 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
36630
b2d3c3be
CD
366312013-02-08 Carlos O'Donell <carlos@redhat.com>
36632
36633 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
36634 loaded if not already and that a failure is permanent.
36635
b39949d2
CD
366362013-02-08 Carlos O'Donell <carlos@redhat.com>
36637
ddacd1db 36638 [BZ #15006]
b39949d2
CD
36639 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
36640 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
36641
b2c9eff4
JM
366422013-02-08 Joseph Myers <joseph@codesourcery.com>
36643
f3aae3f3
JM
36644 [BZ #13550]
36645 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
36646 (CHECK_1_NULL_OK): Likewise.
36647 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
36648 (__fxstat): Do not use CHECK_1.
36649 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
36650 <bp-checks.h>.
36651 (___fxstat64): Do not use CHECK_1.
36652 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
36653 <bp-checks.h>.
36654 (__fxstatat): Do not use CHECK_1.
36655 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
36656 <bp-checks.h>.
36657 (__fxstatat64): Do not use CHECK_1.
36658 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
36659 <bp-checks.h>.
36660 (__fxstat): Do not use CHECK_1.
36661 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
36662 <bp-checks.h>.
36663 (__fxstatat): Do not use CHECK_1.
36664 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36665 <bp-checks.h>.
36666 (__getresgid): Do not use CHECK_1.
36667 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36668 <bp-checks.h>.
36669 (__getresuid): Do not use CHECK_1.
36670 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
36671 <bp-checks.h>.
36672 (__lxstat): Do not use CHECK_1.
36673 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36674 <bp-checks.h>.
36675 (__old_msgctl): Do not use CHECK_1.
36676 (__new_msgctl): Likewise.
36677 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
36678 <bp-checks.h>.
36679 (__new_setrlimit): Do not use CHECK_1.
36680 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36681 <bp-checks.h>.
36682 (__old_shmctl): Do not use CHECK_1.
36683 (__new_shmctl): Likewise.
36684 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
36685 <bp-checks.h>.
36686 (__xstat): Do not use CHECK_1.
36687 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
36688 (__lxstat): Do not use CHECK_1.
36689 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
36690 <bp-checks.h>.
36691 (___lxstat64): Do not use CHECK_1.
36692 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
36693 (__old_msgctl): Do not use CHECK_1.
36694 (__new_msgctl): Likewise.
36695 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
36696 <bp-checks.h>.
36697 (__gettimeofday): Do not use CHECK_1.
36698 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
36699 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
36700 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
36701 <bp-checks.h>.
36702 (__gettimeofday): Do not use CHECK_1.
36703 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
36704 (__old_shmctl): Do not use CHECK_1_NULL_OK.
36705 (__new_shmctl): Do not use CHECK_1.
36706 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
36707 <bp-checks.h>.
36708 (do_sigtimedwait): Do not use CHECK_1.
36709 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
36710 <bp-checks.h>.
36711 (do_sigwaitinfo): Do not use CHECK_1.
36712 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
36713 <bp-checks.h>.
36714 (msgctl): Do not use CHECK_1.
36715 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
36716 <bp-checks.h>.
36717 (shmctl): Do not use CHECK_1.
36718 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
36719 (ustat): Do not use CHECK_1.
36720 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
36721 <bp-checks.h>.
36722 (__fxstat): Do not use CHECK_1.
36723 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
36724 <bp-checks.h>.
36725 (__fxstatat): Do not use CHECK_1.
36726 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
36727 <bp-checks.h>.
36728 (__lxstat): Do not use CHECK_1.
36729 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
36730 <bp-checks.h>.
36731 (__xstat): Do not use CHECK_1.
36732 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
36733 (__xstat): Do not use CHECK_1.
36734 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
36735 (___xstat64): Do not use CHECK_1.
36736
b2c9eff4
JM
36737 [BZ #13550]
36738 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
36739 definitions.
36740 (CHECK_BOUNDS_HIGH): Likewise.
36741 * string/strcpy.c: Do not include <bp-checks.h>.
36742 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
36743
f1d70dad
RM
367442013-02-07 Roland McGrath <roland@hack.frob.com>
36745
36746 * nscd/nscd-client.h (__nscd_drop_map_ref):
36747 Add __attribute__ ((unused)).
36748 * nis/nss-nisplus.h (niserr2nss): Likewise.
36749
36750 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
36751 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
36752
36753 * csu/libc-tls.c (init_static_tls, init_slotinfo):
36754 Remove inline keyword.
36755 * include/rounding-mode.h (round_away): Likewise.
36756 * libio/wfileops.c (adjust_wide_data): Likewise.
36757 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
36758 (__m128i_strloadu_tolower): Likewise.
36759 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
36760 (__m128i_strloadu_tolower): Likewise.
36761 * time/mktime.c (ydhms_diff): Likewise.
36762 * locale/elem-hash.h (elem_hash): Likewise.
36763 * locale/setlocale.c (setdata): Likewise.
36764 * posix/regex_internal.h (re_string_char_size_at): Likewise.
36765 (re_string_wchar_at): Likewise.
36766 (bitset_not, bitset_merge, bitset_mask): Likewise.
36767 [!(__GNUC__ > 3)] (inline): Remove macro.
36768 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
36769 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
36770 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
36771 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
36772 * string/memcmp.c (memcmp_bytes): Likewise.
36773 * locale/programs/locarchive.c (compute_hashval): Likewise.
36774 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
36775 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36776 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
36777 * nss/getent.c (print_rpc, print_protocols): Likewise.
36778 (print_passwd, print_group, print_aliases): Likewise.
36779 * nis/nss-nisplus.h (niserr2nss): Likewise.
36780 * nscd/connections.c (restart_p): Likewise.
36781 Change return type to bool.
36782
eab55bfb
RM
367832013-02-05 Roland McGrath <roland@hack.frob.com>
36784
7bd642f5
RM
36785 * Makeconfig (all-Depend-files): Add existing
36786 $(sorted-subdirs:=/Depend) files.
36787 (all-subdirs): Remove nss.
36788 * sysdeps/unix/inet/Subdirs: Add it here instead.
36789 * hesiod/Depend: New file.
36790
573c29b2
RM
36791 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
36792 instead of calling alloca.
36793
b2e25af0
RM
36794 * io/lseek.c (__lseek): Rename to __libc_lseek.
36795 Define __lseek as an alias.
36796
eab55bfb
RM
36797 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
36798
9a0d1941
CD
367992013-02-04 Carlos O'Donell <carlos@redhat.com>
36800
36801 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
36802 else clause and remove check for non-standard endianness.
36803
b83bbec4
DM
368042013-02-04 David S. Miller <davem@davemloft.net>
36805
36806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36807
6277fdab
JM
368082013-02-04 Joseph Myers <joseph@codesourcery.com>
36809
36810 [BZ #13550]
36811 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
36812 (__ubp_memchr): Remove prototype.
36813 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
36814 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36815 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
36816 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36817 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
36818 Remove alias.
36819 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
36820 (__ubp_memchr): Likewise.
36821 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
36822 (__ubp_memchr): Likewise.
36823 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
36824 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
36825 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
36826 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
36827 CHECK_STRING.
36828 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
36829 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
36830 (__getcwd): Do not use CHECK_STRING.
36831 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36832 <bp-checks.h>.
36833 (__real_chown): Do not use CHECK_STRING.
36834 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
36835 <bp-checks.h>.
36836 (fchownat): Do not use CHECK_STRING.
36837 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
36838 CHECK_STRING.
36839 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36840 <bp-checks.h>.
36841 (__lchown): Do not use CHECK_STRING.
36842 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36843 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36844 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36845 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
36846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36847 include <bp-checks.h>.
36848 (truncate64): Do not use CHECK_STRING.
36849 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36850 <bp-checks.h>.
36851 (__real_chown): Do not use CHECK_STRING.
36852 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36853 <bp-checks.h>.
36854 (__lchown): Do not use CHECK_STRING.
36855 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36856 <bp-checks.h>.
36857 (__chown): Do not use CHECK_STRING.
36858 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
36859 <bp-checks.h>.
36860 (truncate64): Do not use CHECK_STRING.
36861 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
36862 Likewise.
36863 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
36864 (__xmknod): Do not use CHECK_STRING.
36865 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
36866 <bp-checks.h>.
36867 (__xmknodat): Do not use CHECK_STRING.
36868 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36869 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
36870
903ae060
AS
368712013-02-04 Andreas Schwab <schwab@suse.de>
36872
36873 [BZ #14142]
36874 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
36875 * include/netdb.h: Likewise for h_errno.
36876 * elf/tst-stackguard1.c: Include <tls.h>.
36877
542f9466
JK
368782013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
36879
36880 * elf/link.h (struct link_map): Extend the l_addr comment.
36881 * include/link.h (struct link_map): Likewise.
36882
e782a927
JM
368832013-02-01 Joseph Myers <joseph@codesourcery.com>
36884
36885 [BZ #13550]
36886 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
36887 (BOUNDED_1): Remove macro.
36888 * debug/backtrace.c: Don't include <bp-checks.h>.
36889 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
36890 (__backtrace): Likewise.
36891 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
36892 <bp-checks.h>.
36893 (__backtrace): Don't use BOUNDED_1.
36894 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
36895 <bp-checks.h>.
36896 (__backtrace): Don't use BOUNDED_1.
36897 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
36898 (__backtrace): Don't use BOUNDED_1.
36899 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
36900 (shmat): Don't use BOUNDED_N.
36901
8cf28c5e
JM
369022013-01-31 Joseph Myers <joseph@codesourcery.com>
36903
3a7ac8a0
JM
36904 [BZ #13550]
36905 * sysdeps/generic/bp-start.h: Remove file.
36906 * csu/libc-start.c: Don't include <bp-start.h>.
36907 (LIBC_START_MAIN): Set up __environ directly instead of using
36908 INIT_ARGV_and_ENVIRON.
36909 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
36910 <bp-start.h>.
36911
f3499f95
JM
36912 [BZ #13550]
36913 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
36914 definitions.
36915 (CHECK_FCNTL): Likewise.
36916 (CHECK_N_PAGES): Likewise.
36917
32a45bea
JM
36918 [BZ #13550]
36919 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
36920 definitions.
36921 (CHECK_SIGSET_NULL_OK): Likewise.
36922 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
36923 <bp-checks.h>.
36924 (sigpending): Don't use CHECK_SIGSET.
36925 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
36926 <bp-checks.h>.
36927 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36928 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
36929 <bp-checks.h>.
36930 (do_sigsuspend): Don't use CHECK_SIGSET.
36931 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
36932 use CHECK_SIGSET.
36933 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
36934 (do_sigwait): Don't use CHECK_SIGSET.
36935 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
36936 use CHECK_SIGSET.
36937 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
36938 include <bp-checks.h>.
36939 (sigpending): Don't use CHECK_SIGSET.
36940 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
36941 include <bp-checks.h>.
36942 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36943 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
36944 <bp-checks.h>.
36945 (sigpending): Don't use CHECK_SIGSET.
36946 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
36947 <bp-checks.h>.
36948 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36949
2e8a5c8c
JM
36950 [BZ #13550]
36951 * sysdeps/generic/bp-semctl.h: Remove file.
36952 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
36953 <bp-checks.h> and <bp-semctl.h>.
36954 (__old_semctl): Don't use CHECK_SEMCTL.
36955 (__new_semctl): Likewise.
36956 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
36957 and <bp-semctl.h>.
36958 (__old_semctl): Don't use CHECK_SEMCTL.
36959 (__new_semctl): Likewise.
36960 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
36961 <bp-checks.h> and <bp-semctl.h>.
36962 (__old_semctl): Don't use CHECK_SEMCTL.
36963 (__new_semctl): Likewise.
36964 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
36965 <bp-checks.h> and <bp-semctl.h>.
36966 (semctl): Don't use CHECK_SEMCTL.
36967
c2d54929
JM
36968 [BZ #13550]
36969 * Makerules (elide-bp-thunks): Remove variable.
36970 (elide-routines.oS): Don't use $(elide-bp-thunks).
36971 (elide-routines.os): Likewise.
36972 (elide-routines.o): Likewise.
36973 (elide-routines.op): Likewise.
36974 (elide-routines.og): Likewise.
36975 (objects): Don't use $(bp-thunks).
36976 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
36977 include.
36978 (common-generated): Do not add s-proto-bp.d.
36979 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
36980 (int): Likewise.
36981 (typ): Likewise.
36982 Do not generate makefile rules for bounded-pointer thunks.
36983 * sysdeps/generic/bp-thunks.h: Remove file.
36984 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
36985 * sysdeps/unix/s-proto-bp.S: Likewise.
36986
8cf28c5e
JM
36987 [BZ #15062]
36988 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
36989 parts of result separately when argument is not close to line from
36990 -i to i and one part of argument is small.
36991 * math/k_casinhf.c (__kernel_casinhf): Likewise.
36992 * math/k_casinhl.c (__kernel_casinhl): Likewise.
36993 * math/libm-test.inc (cacos_test): Add more tests.
36994 (casin_test): Likewise.
36995 (casinh_test): Likewise.
36996 * sysdeps/i386/fpu/libm-test-ulps: Update.
36997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36998
c4e33b8d
DM
369992013-01-31 David S. Miller <davem@davemloft.net>
37000
37001 * po/de.po: Update from translation team.
37002
3b60b421
MK
370032013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
37004
37005 * time/tzfile.c: Include stdint.h for SIZE_MAX.
37006
bb931195
TS
370072013-01-25 Thomas Schwinge <thomas@codesourcery.com>
37008
b5a5da23
TS
37009 * configure.in (_AC_PROG_CC_C89): New definition.
37010 * configure: Regenerate.
37011
bb931195
TS
37012 * configure.in (AC_PROG_CPP): New definition.
37013 * configure: Regenerate.
37014
8c53a12c
JM
370152013-01-23 Joseph Myers <joseph@codesourcery.com>
37016
37017 * debug/tst-backtrace.h: New file.
37018 * debug/tst-backtrace2.c: Include tst-backtrace.h.
37019 (ret): Remove variable.
37020 (x): Likewise.
37021 (FAIL): Remove macro.
37022 (NO_INLINE): Likewise.
37023 (fn1): Use match function instead of strstr.
37024 * debug/tst-backtrace3.c: Include tst-backtrace.h.
37025 (ret): Remove variable.
37026 (x): Likewise.
37027 (FAIL): Remove macro.
37028 (NO_INLINE): Likewise.
37029 (fn): Use match function instead of strstr.
37030 * debug/tst-backtrace4.c: Include tst-backtrace.h.
37031 (ret): Remove variable.
37032 (x): Likewise.
37033 (FAIL): Remove macro.
37034 (NO_INLINE): Likewise.
37035 (handle_signal): Use match function instead of strstr.
37036 * debug/tst-backtrace5.c: Include tst-backtrace.h.
37037 (ret): Remove variable.
37038 (x): Likewise.
37039 (FAIL): Remove macro.
37040 (NO_INLINE): Likewise.
37041 (handle_signal): Use match function instead of strstr.
37042
4858fa2a
RM
370432013-01-23 Roland McGrath <roland@hack.frob.com>
37044
37045 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
37046
bae8e7f5
DM
370472013-01-23 David S. Miller <davem@davemloft.net>
37048
37049 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
37050 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
37051 argument of CAS if possible.
37052 * sysdeps/sparc/sparc64/bits/atomic.h
37053 (__arch_compare_and_exchange_val_32_acq): Likewise.
37054 (__arch_compare_and_exchange_val_64_acq): Likewise.
37055
9cbbc4ae
PT
370562013-01-23 Pino Toscano <toscano.pino@tiscali.it>
37057
37058 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
37059 * sysdeps/posix/ulimit.c: ... this.
92a601b8 37060 Include <limits.h>.
67b3f58c 37061 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 37062
5655a0b5
AC
370632013-01-23 Adam Conrad <adconrad@0c3.net>
37064
37065 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
37066 (LDFLAGS-tst-array5): Likewise.
37067
052aff95
JM
370682013-01-23 Joseph Myers <joseph@codesourcery.com>
37069
37070 [BZ #15036]
37071 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
37072 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
37073 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
37074 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
37075
7c1e01aa
DM
370762013-01-21 David S. Miller <davem@davemloft.net>
37077
37078 * sysdeps/sparc/backtrace.c: New file.
37079 * sysdeps/sparc/sparc32/backtrace.h: New file.
37080 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
37081 * sysdeps/sparc/sparc64/backtrace.h: New file.
37082 * sysdeps/sparc/sparc64/backtrace.c: Delete.
37083 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
37084 -funwind-tables.
37085
ab087e0a
AS
370862013-01-21 Andreas Schwab <schwab@suse.de>
37087
37088 [BZ #15020]
37089 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
37090 closed its stdout.
37091
ed689c2f
AS
370922013-01-20 Andreas Schwab <schwab@linux-m68k.org>
37093
37094 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
37095 "mpa2.h".
37096 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37097
31d470ac
JM
370982013-01-18 Joseph Myers <joseph@codesourcery.com>
37099 Mark Mitchell <mark@codesourcery.com>
37100 Tom de Vries <tom@codesourcery.com>
37101 Paul Pluzhnikov <ppluzhnikov@google.com>
37102
37103 * debug/tst-backtrace2.c: New file.
37104 * debug/tst-backtrace3.c: Likewise.
37105 * debug/tst-backtrace4.c: Likewise.
37106 * debug/tst-backtrace5.c: Likewise.
37107 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
37108 (CFLAGS-tst-backtrace3.c): Likewise.
37109 (CFLAGS-tst-backtrace4.c): Likewise.
37110 (CFLAGS-tst-backtrace5.c): Likewise.
37111 (LDFLAGS-tst-backtrace2): Likewise.
37112 (LDFLAGS-tst-backtrace3): Likewise.
37113 (LDFLAGS-tst-backtrace4): Likewise.
37114 (LDFLAGS-tst-backtrace5): Likewise.
37115 (tests): Add new tests tst-backtrace2, tst-backtrace3,
37116 tst-backtrace4 and tst-backtrace5.
37117
90567f30 371182013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
37119 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37120
37121 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
37122 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
37123 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
37124 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
37125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37126 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
37127 "+r" and remove output regs list as redundant. Add explicit inline
37128 asm to specify register of return val to work around compiler codegen
37129 bug. Remove (int) cast on return value. Add return type parameter to
37130 use in macro so that this macro does not truncate return value for
37131 64-bit values.
37132 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
37133 pass to INTERNAL_VSYSCALL_NCS.
37134 (INLINE_VSYSCALL): Add 'long int' as return type to
37135 INTERNAL_VSYSCALL_NCS macro invocation.
37136 (INTERNAL_VSYSCALL): Add 'long int' as return type to
37137 INTERNAL_VSYSCALL_NCS macro invocation.
37138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37139
d3b9ea61
SP
371402013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37141
0b57daeb
SP
37142 [BZ #14496]
37143 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
37144 Fix application of SIMD FP exception mask.
37145
caa99d06
SP
37146 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
37147 mp_no from a power of two.
37148 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
37149 __mpexp_twomm1. Use __pow_mp.
37150
d3b9ea61
SP
37151 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
37152 multiplication.
37153
1dbaee3c
DM
371542013-01-17 David S. Miller <davem@davemloft.net>
37155
37156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37157
728d7b43
JM
371582013-01-17 Joseph Myers <joseph@codesourcery.com>
37159
37160 [BZ #15023]
37161 * include/complex.h: Condition contents on [!_COMPLEX_H].
37162 (__kernel_casinhf): New prototype.
37163 (__kernel_casinh): Likewise.
37164 (__kernel_casinhl): Likewise.
37165 * math/Makefile (libm_calls): Add k_casinh.
37166 * math/k_casinh.c: New file.
37167 * math/k_casinhf.c: Likewise.
37168 * math/k_casinhl.c: Likewise.
37169 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
37170 finite nonzero arguments.
37171 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
37172 finite nonzero arguments.
37173 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
37174 finite nonzero arguments.
37175 * math/s_casinh.c: Do not include <float.h>.
37176 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
37177 * math/s_casinhf.c: Do not include <float.h>.
37178 (__casinhf): Move code for finite nonzero arguments to
37179 k_casinhf.c.
37180 * math/s_casinhl.c: Do not include <float.h>.
37181 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
37182 redefine.
37183 (__casinhl): Move code for finite nonzero arguments to
37184 k_casinhl.c.
37185 * math/libm-test.inc (cacos_test): Add more tests.
37186 * sysdeps/i386/fpu/libm-test-ulps: Update.
37187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37188
2a26ef3a
PT
371892013-01-17 Pino Toscano <toscano.pino@tiscali.it>
37190
37191 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
37192 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
37193 [!HAVE_MREMAP]: Remove [defined linux] case.
37194 * malloc/arena.c: Do not include <malloc-sysdep.h>.
37195
a897655d
SP
371962013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
37197
37198 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
37199
881ebe89 372002013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
37201
37202 * elf/elf.h (R_386_SIZE32): New relocation.
37203 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
37204 R_386_SIZE32.
37205 (elf_machine_rela): Likewise.
37206 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37207 R_X86_64_SIZE64 and R_X86_64_SIZE32.
37208
59981e9b
JM
372092013-01-17 Joseph Myers <joseph@codesourcery.com>
37210
37211 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
37212 (FP_FAST_FMA): Do not define.
37213 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
37214 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
37215 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
37216 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
37217 !_SOFT_FLOAT]: Likewise.
37218 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
37219 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
37220 value.
37221 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
37222 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
37223 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
37224 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
37225 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
37226 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
37227 file.
37228
cfa8054f
AS
372292013-01-16 Andreas Schwab <schwab@suse.de>
37230
37231 [BZ #14327]
37232 * include/stdlib.h (__mktemp): Add declaration.
37233 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
37234 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
37235
dd930cc5
SP
372362013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37237
881ebe89
SP
37238 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
37239 definitions.
37240 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37241 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
37242 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
37243 definitions here.
37244 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
37245 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
37246 definitions.
37247 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
37248 and ONE.
37249 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
37250 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
37251 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
37252 definitions.
37253 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
37254 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
37255 definitions.
37256 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 37257
dd930cc5
SP
37258 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
37259
c19a9f89
DM
372602013-01-15 David S. Miller <davem@davemloft.net>
37261
1aa61767
DM
37262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37263 trunc{,f} to libm-sysdep_routes.
37264 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
37266 file.
37267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
37268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
37269 file.
37270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
37271 file.
37272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
37273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
37274 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
37275 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
37276 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
37277 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
37278 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
37279 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
37280
c42d5e98
DM
37281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37282 nearbyint{,f} to libm-sysdep_routes.
37283 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
37285 New file.
37286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
37287 file.
37288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
37289 New file.
37290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
37291 file.
37292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
37293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
37294 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
37295 file.
37296 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
37297 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
37298 file.
37299 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
37300 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
37301 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
37302
c19a9f89
DM
37303 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
37304 libc_feholdexcept and libc_fesetenv.
37305
357679d2
MF
373062013-01-15 Mike Frysinger <vapier@gentoo.org>
37307
37308 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
37309
65a82e3d
DM
373102013-01-14 David S. Miller <davem@davemloft.net>
37311
8b954ab9
DM
37312 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
37313 (SPARC_ASM_VIS2_IFUNC): Likewise.
37314 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
37315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
37316 use of 'siam' instruction.
37317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
37318 Likewise.
37319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
37320 Likewise.
37321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
37322 Likewise.
37323 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
37324 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
37325 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
37326 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
37327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
37328 file.
37329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
37330 file.
37331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
37332 file.
37333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
37334 file.
37335 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
37336 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
37337 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
37338 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
37339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
37340 new VIS2 routines.
37341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37344 Likewise.
37345 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37346 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37347 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37348 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
37350 routines to libm-sysdep_routines.
37351 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37352
65a82e3d
DM
37353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37354 fdim/fdimf to libm-sysdep_routines.
37355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
37356 file.
37357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
37358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
37359 file.
37360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
37361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
37362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
37363 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
37364 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
37365 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
37366 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
37367
e34ab705
SP
373682013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
37369
2a91b573
SP
37370 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
37371 to optimize copies.
37372
1066a534
SP
37373 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
37374 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37375 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37376
e34ab705
SP
37377 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
37378 local variable MPTWO.
37379 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37380 Likewise.
37381
aba5e596
MF
373822013-01-13 Mike Frysinger <vapier@gentoo.org>
37383
37384 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
37385 GLOB_NOESCAPE.
37386
e557e9e5
MF
373872013-01-13 Mike Frysinger <vapier@gentoo.org>
37388
37389 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
37390
0428cec9
MF
373912013-01-13 Mike Frysinger <vapier@gentoo.org>
37392
37393 * manual/pattern.texi (glob_t): Document gl_flags.
37394 (glob64_t): Likewise.
37395
8794a964
DM
373962013-01-11 David S. Miller <davem@davemloft.net>
37397
66438c3f
RM
37398 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
37399 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
37400 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
37401 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
37402 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
37403 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
37404 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
37405 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
37406 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
37407 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
37408 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
37409 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
37410 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
37411
4ae4244d
DM
37412 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37413 sparc V9 rather than using V8 code.
37414 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37415 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37416
8794a964
DM
37417 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37418 Move to...
37419 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
37420 Here.
37421
6270516e
RM
374222013-01-11 Roland McGrath <roland@hack.frob.com>
37423
37424 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
37425 not in the main loop.
37426 * configure: Regenerated.
37427
6a57d931
JM
374282013-01-11 Joseph Myers <joseph@codesourcery.com>
37429
37430 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
37431 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
37432 to just #else.
37433 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
37434 [!__GLIBC_HAVE_LONG_LONG] case.
37435 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
37436 condition to just #else.
37437 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
37438 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
37439 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
37440 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
37441 unconditional.
37442 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
37443 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37444 #elif condition to just #else.
37445 * sysdeps/unix/sysv/linux/sys/sysmacros.h
37446 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
37447 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37448 #elif condition to just #else.
37449
0e8529e9
SE
374502013-01-11 Steve Ellcey <sellcey@mips.com>
37451
37452 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
37453 (EF_MIPS_ARCH_64): Fix value.
37454 (EF_MIPS_ARCH_32R2): New.
37455 (EF_MIPS_ARCH_64R2): New.
37456
740b3dbe
L
374572013-01-11 H.J. Lu <hongjiu.lu@intel.com>
37458
37459 * Makeconfig (+link-pie-before-libc): New.
37460 (+link-pie-after-libc): Likewise.
37461 (+link-pie-tests): Likewise.
37462 (+link-pie): Rewritten.
37463 (link-before-libc): Remove $(config-LDFLAGS).
37464 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
37465 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
37466 (config-LDFLAGS): Renamed to ...
37467 (rtld-LDFLAGS): This.
37468 (rtld-tests-LDFLAGS): New macro.
37469 (link-libc-rpath-link): Likewise.
37470 (link-libc-tests-rpath-link): Likewise.
37471 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
37472 (link-libc): Prepand $(link-libc-rpath-link).
37473 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
37474 (test-program-prefix): New macro.
37475 (test-via-rtld-prefix): Likewise.
37476 (test-program-cmd): Likewise.
37477 (host-test-program-cmd): Likewise.
37478 * Makefile ($(common-objpfx)testrun.sh): Replace
37479 $(run-program-prefix) with $(test-program-prefix).
37480 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
37481 $(rtld-LDFLAGS).
37482 ($(common-objpfx)shlib.lds): Likewise.
37483 (build-module-helper): Likewise.
37484 ($(common-objpfx)format.lds): Likewise.
37485 * Rules (binaries-pie-tests): New.
37486 (binaries-pie-notests): Likewise.
37487 (binaries-pie): Rewritten.
37488 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
37489 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
37490 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
37491 (make-test-out): Replace $(host-built-program-cmd) with
37492 $(host-test-program-cmd).
37493 * config.make.in (build-hardcoded-path-in-tests): New variable.
37494 * configure.in (--enable-hardcoded-path-in-tests): New configure
37495 option.
37496 (hardcoded_path_in_tests): New AC_SUBST.
37497 * configure: Regenerated.
37498 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
37499 $(built-program-cmd) with $(test-program-cmd).
37500 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
37501 (test_program_cmd): This.
37502 * elf/Makefile ($(objpfx)order.out): Run test with
37503 $(test-program-prefix).
37504 ($(objpfx)order2.out): Likewise.
37505 ($(objpfx)tst-initorder.out): Likewise.
37506 ($(objpfx)tst-initorder2.out): Likewise.
37507 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
37508 $(test-program-cmd).
37509 ($(objpfx)tst-array1-static.out): Likewise.
37510 ($(objpfx)tst-array2.out): Likewise.
37511 ($(objpfx)tst-array3.out): Likewise.
37512 ($(objpfx)tst-array4.out): Likewise.
37513 ($(objpfx)tst-array5.out): Likewise.
37514 ($(objpfx)tst-array5-static.out): Likewise.
37515 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
37516 $(test-program-cmd).
37517 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
37518 $(run-program-prefix) with $(test-program-prefix).
37519 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
37520 (test_program_prefix): This.
37521 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
37522 $(run-program-prefix) with $(test-program-prefix).
37523 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
37524 (test_program_prefix): This.
37525 * iconvdata/tst-tables.sh: Likewise.
37526 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
37527 $(run-program-prefix) with $(test-program-prefix).
37528 ($(objpfx)tst-translit.out): Likewise.
37529 ($(objpfx)tst-gettext2.out): Likewise.
37530 ($(objpfx)tst-gettext4.out): Likewise.
37531 ($(objpfx)tst-gettext6.out): Likewise.
37532 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
37533 (test_program_prefix): This.
37534 * intl/tst-gettext2.sh: Likewise.
37535 * intl/tst-gettext4.sh Likewise.
37536 * intl/tst-gettext6.sh: Likewise.
37537 * intl/tst-translit.sh: Likewise.
37538 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
37539 with $(test-program-cmd).
37540 * libio/Makefile ($(objpfx)test-freopen.out): Replace
37541 $(run-program-prefix) with $(test-program-prefix).
37542 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
37543 (test_program_prefix): This.
37544 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
37545 $(run-program-prefix) with $(test-program-prefix).
37546 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
37547 (test_program_prefix): This.
37548 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
37549 * posix/Makefile ($(objpfx)globtest.out): Replace
37550 $(run-via-rtld-prefix) and $(test-wrapper) with
37551 $(test-program-prefix) and $(test-via-rtld-prefix).
37552 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
37553 $(test-program-prefix).
37554 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
37555 $(host-test-program-cmd).
37556 (tst-spawn-ARGS): Likewise.
37557 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
37558 $(test-program-prefix).
37559 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
37560 (test_via_rtld_prefix): This.
37561 (test_wrapper): Renamed to ...
37562 (test_program_prefix): This.
37563 (run_program_prefix): Replaced by test_program_prefix.
37564 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
37565 (test_program_prefix): This.
37566 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
37567 with $(host-test-program-cmd).
37568 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
37569 $(run-program-prefix) with $(test-program-prefix).
37570 ($(objpfx)tst-printf.out): Likewise.
37571 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
37572 $(test-program-cmd).
37573 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
37574 (test_program_prefix): This.
37575 * stdio-common/tst-unbputc.sh: Likewise.
37576 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
37577 $(run-program-prefix) with $(test-program-prefix).
37578 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
37579 (test_program_prefix): This.
37580 * string/Makefile ($(objpfx)tst-svc.out): Replace
37581 $(built-program-cmd) with $(test-program-cmd).
37582
c6fe55cf
AJ
375832013-01-11 Andreas Jaeger <aj@suse.de>
37584
37585 [BZ #15003]
37586 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
37587 value. Sync with Linux 3.7.
37588
9e6919c8
DM
375892013-01-10 David S. Miller <davem@davemloft.net>
37590
37591 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
37592 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37593 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37594
1c9f1a02
RM
375952013-01-10 Roland McGrath <roland@hack.frob.com>
37596
37597 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
37598 never set.
37599 * configure: Regenerated.
37600
b9de2dde
DM
376012013-01-10 David S. Miller <davem@davemloft.net>
37602
37603 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37604 sparc V9 rather than using V8 code.
37605 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37606 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37607
e7f68ef4
RM
376082013-01-10 Roland McGrath <roland@hack.frob.com>
37609
37610 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
37611 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
37612 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
37613 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
37614 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
37615 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
37616 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
37617 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
37618 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
37619 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
37620 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
37621 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
37622 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
37623 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
37624 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
37625 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
37626 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
37627 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
37628 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
37629 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
37630 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
37631 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
37632 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
37633 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
37634 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
37635 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
37636 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
37637
5a47cc9c
DM
376382013-01-10 David S. Miller <davem@davemloft.net>
37639
37640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37641
4cf8f209
L
376422013-01-10 H.J. Lu <hongjiu.lu@intel.com>
37643
37644 * posix/Makefile (tests-static): New variable.
37645 (tests): Add $(tests-static).
37646 (tst-exec-static-ARGS): New variable.
37647 (tst-spawn-static-ARGS): Likewise.
37648 * posix/tst-exec-static.c: New file.
37649 * posix/tst-spawn-static.c: Likewise.
37650 * posix/tst-exec.c: Support run directly.
37651 * posix/tst-spawn.c: Likewise.
37652
fed0faa1
JM
376532013-01-10 Joseph Myers <joseph@codesourcery.com>
37654
828beb13
JM
37655 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
37656 long.
37657 * math/bits/mathcalls.h (llrint): Likewise.
37658 (llround): Likewise.
37659 * stdlib/stdlib.h (struct drand48_data): Likewise.
37660 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
37661 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
37662 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
37663 Likewise.
37664 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
37665 Likewise.
37666 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
37667 (elf_greg_t): Likewise.
37668 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
37669 (__jmp_buf): Likewise.
37670 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
37671 definitions.
37672 (llrint): Likewise, for all definitions.
37673 (llrintl): Likewise.
37674
fed0faa1
JM
37675 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
37676 Remove [__GNUC__] condition.
37677 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
37678 condition to just [__USE_ISOC99].
37679 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
37680
1a20cb20
L
376812013-01-10 H.J. Lu <hongjiu.lu@intel.com>
37682
37683 [BZ #14200]
37684 * sysdeps/unix/sysv/linux/x86/bits/environments.h
37685 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
37686 defined.
37687 (_POSIX_V6_ILP32_OFF32): Likewise.
37688 (_XBS5_ILP32_OFF32): Likewise.
37689 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
37690 (__ILP32_OFFBIG_LDFLAGS): Likewise.
37691
751b85f7
SP
376922013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37693
7490eb81
SP
37694 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
37695
751b85f7
SP
37696 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
37697 doubles __mpexp_twomm1. Adjust usage.
37698 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
37699 Remove.
37700
988197f0
AS
377012013-01-10 Andreas Schwab <schwab@suse.de>
37702
37703 [BZ #14964]
37704 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
37705 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
37706
e83d7298
DM
377072013-01-09 David S. Miller <davem@davemloft.net>
37708
034ed64b 37709 [BZ #15003]
57f41c40
AS
37710 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
37711 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
37712 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
37713 (TCP_FASTOPEN): Define.
e83d7298
DM
37714 (tcp_repair_opt): New structure.
37715 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
37716 enum values.
57f41c40
AS
37717 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
37718 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
37719 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
37720 (tcp_cookie_transactions): New structure.
37721
d5e0b9bd
AB
377222013-01-09 Anton Blanchard <anton@samba.org>
37723
37724 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
37725 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
37726 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
37727 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
37728
0c07e3ea
JM
377292013-01-09 Joseph Myers <joseph@codesourcery.com>
37730
37731 * include/features.h (__USE_ANSI): Remove.
37732
232f7002
RM
377332013-01-09 Roland McGrath <roland@hack.frob.com>
37734
ad98e30c
RM
37735 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
37736
232f7002
RM
37737 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
37738
950c99ca
SP
377392013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
37740
b5792741
SP
37741 * sysdeps/s390/fpu/libm-test-ulps: Update.
37742
47cf2278
SP
37743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37744
950c99ca
SP
37745 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
37746 (__acr): Likewise.
37747 (__cpy): Likewise.
37748 (norm): Likewise.
37749 (denorm): Likewise.
37750 (__mp_dbl): Likewise.
37751 (__dbl_mp): Likewise.
37752 (add_magnitudes): Likewise.
37753 (sub_magnitudes): Likewise.
37754 (__add): Likewise.
37755 (__sub): Likewise.
37756 (__mul): Likewise.
37757 (__inv): Likewise.
37758 (__dvd): Likewise.
37759 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
37760 (__acr): Likewise.
37761 (__cpy): Likewise.
37762 (norm): Likewise.
37763 (denorm): Likewise.
37764 (__mp_dbl): Likewise.
37765 (__dbl_mp): Likewise.
37766 (add_magnitudes): Likewise.
37767 (sub_magnitudes): Likewise.
37768 (__add): Likewise.
37769 (__sub): Likewise.
37770 (__mul): Likewise.
37771 (__inv): Likewise.
37772 (__dvd): Likewise.
37773 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
37774 (__acr): Likewise.
37775 (__cpy): Likewise.
37776 (norm): Likewise.
37777 (denorm): Likewise.
37778 (__mp_dbl): Likewise.
37779 (__dbl_mp): Likewise.
37780 (add_magnitudes): Likewise.
37781 (sub_magnitudes): Likewise.
37782 (__add): Likewise.
37783 (__sub): Likewise.
37784 (__mul): Likewise.
37785 (__inv): Likewise.
37786 (__dvd): Likewise.
37787
eede9df9
JM
377882013-01-08 Joseph Myers <joseph@codesourcery.com>
37789
37790 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
37791 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
37792 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
37793 2 && __USE_EXTERN_INLINES]: Likewise.
37794
c40ea3d9
AJ
377952013-01-08 Andreas Jaeger <aj@suse.de>
37796
37797 [BZ# 14985]
37798 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
37799 Remove.
37800 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37801 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37802
2ccdea26
AB
378032013-01-07 Anton Blanchard <anton@samba.org>
37804
37805 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
37806 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
37807 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
37808 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
37809 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
37810 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37811 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
37812 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37813 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37814 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37815 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37816 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37817 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37818 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37819 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
37820 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37821 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37822 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37823 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
37824 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
37825 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
37826 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
37827 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37828 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
37829 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
37830 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
37831 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37832 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
37833 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
37834 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37835 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
37836 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37837 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37838 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37839 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
37840 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37841 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37842 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37843 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
37844 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
37845 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
37846 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37847 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
37848
a9708fed
JM
378492013-01-07 Joseph Myers <joseph@codesourcery.com>
37850
375607b9
JM
37851 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
37852 (__MALLOC_PMT): Likewise.
37853 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
37854 [__GNUC__], only on [_LIBC].
37855 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37856 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
37857 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37858 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
37859 forward declaration.
37860 (realloc_hook_ini): Likewise.
37861 (memalign_hook_ini): Likewise.
37862 (__libc_memalign): Do not use __MALLOC_PMT in variable
37863 declaration.
37864 (__libc_valloc): Likewise.
37865 (__libc_pvalloc): Likewise.
37866 (__libc_calloc): Likewise.
37867 (__posix_memalign): Likewise.
37868
a9708fed
JM
37869 [BZ #14996]
37870 * math/s_casinh.c: Include <float.h>.
37871 (__casinh): Do not do computation with squaring and square root
37872 for large arguments.
37873 * math/s_casinhf.c: Include <float.h>.
37874 (__casinhf): Do not do computation with squaring and square root
37875 for large arguments.
37876 * math/s_casinhl.c: Include <float.h>.
37877 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
37878 (__casinhl): Do not do computation with squaring and square root
37879 for large arguments.
37880 * math/libm-test.inc (casin_test): Add more tests.
37881 (casinh_test): Likewise.
37882 * sysdeps/i386/fpu/libm-test-ulps: Update.
37883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37884
afec409a
L
378852013-01-04 H.J. Lu <hongjiu.lu@intel.com>
37886
37887 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
37888 (__x86_64_raw_data_cache_size): Likewise.
37889 (__x86_64_data_cache_size_half): Likewise.
37890 (__x86_64_raw_data_cache_size_half): Likewise.
37891 (__x86_64_shared_cache_size): Likewise.
37892 (__x86_64_raw_shared_cache_size): Likewise.
37893 (__x86_64_shared_cache_size_half): Likewise.
37894 (__x86_64_raw_shared_cache_size_half): Likewise.
37895 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
37896 to ...
37897 (__x86_data_cache_size): This.
37898 (__x86_64_raw_data_cache_size): Renamed to ...
37899 (__x86_raw_data_cache_size): This.
37900 (__x86_64_data_cache_size_half): Renamed to ...
37901 (__x86_data_cache_size_half): This.
37902 (__x86_64_raw_data_cache_size_half): Renamed to ...
37903 (__x86_raw_data_cache_size_half): This.
37904 (__x86_64_shared_cache_size): Renamed to ...
37905 (__x86_shared_cache_size): This.
37906 (__x86_64_raw_shared_cache_size): Renamed to ...
37907 (__x86_raw_shared_cache_size): This.
37908 (__x86_64_shared_cache_size_half): Renamed to ...
37909 (__x86_shared_cache_size_half): This.
37910 (__x86_64_raw_shared_cache_size_half): Renamed to ...
37911 (__x86_raw_shared_cache_size_half): This.
37912 * sysdeps/x86_64/memcpy.S: Updated.
37913 * sysdeps/x86_64/memset.S: Likewise.
37914 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37915 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37916 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37917
0b3986d0
DM
379182013-01-04 David S. Miller <davem@davemloft.net>
37919
37920 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37921
e47686e9
AS
379222013-01-04 Andreas Schwab <schwab@linux-m68k.org>
37923
d643bac1
AS
37924 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
37925 1 to avoid redefinition warning.
37926 (__USE_GNU): Don't define.
37927 (init_signaling_nan): Protoize.
37928
e47686e9
AS
37929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37930
b18decba
SP
379312013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37932
fffb407f
SP
37933 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
37934 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
37935 (__cpymn): Likewise.
37936 (norm): Remove commented code.
37937 (denorm): Likewise.
37938 (__mp_dbl): Likewise.
37939 (__inv): Likewise.
37940 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
37941 (__cpymn): Likewise.
37942 (norm): Remove commented code.
37943 (denorm): Likewise.
37944 (__mp_dbl): Likewise.
37945 (__inv): Likewise.
37946
b18decba
SP
37947 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
37948 mp_no value for 1.0 and 2.0.
37949 (norm): Use RADIXI instead of radixi.d.
37950 (denorm): Likewise.
37951 (__mul): Use 0.0 instead of zero.d.
37952 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
37953 mp_no value for 1.0 and 2.0.
37954 (norm): Use RADIXI instead of radixi.d.
37955 (denorm): Likewise.
37956 (__mul): Use 0.0 instead of zero.d.
37957
cdc1c96f
JM
379582013-01-04 Joseph Myers <joseph@codesourcery.com>
37959
37960 [BZ #14994]
37961 * math/s_casinh.c (__casinh): Reduce finite argument to first
37962 quadrant then set signs of results at the end.
37963 * math/s_casinhf.c (__casinhf): Likewise.
37964 * math/s_casinhl.c (__casinhl): Likewise.
37965 * math/libm-test.inc (casin_test): Add more tests.
37966 (casinh_test): Likewise.
37967 * sysdeps/i386/fpu/libm-test-ulps: Update.
37968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37969
302913e1
SP
379702013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37971
6420d207
SP
37972 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
37973
a9e48ab4
SP
37974 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
37975
b7837264
SP
37976 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
37977 declarations.
37978 (denorm): Likewise.
37979 (__mp_dbl): Likewise.
37980 (__inv): Likewise.
37981
f8af25d2
SP
37982 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
37983 and adjust the header comment.
37984
302913e1
SP
37985 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
37986 variable name from declaration.
37987
5d7dd1ca
L
379882013-01-03 H.J. Lu <hongjiu.lu@intel.com>
37989
37990 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37991 Initialize COMMON_CPUID_INDEX_7 element.
37992 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
37993 (CPUID_RTM): Likewise.
37994 (HAS_RTM): Likewise.
37995 (COMMON_CPUID_INDEX_7): New enum.
37996
2f5f40f4
AS
379972013-01-03 Andreas Schwab <schwab@linux-m68k.org>
37998
37999 [BZ #14981]
38000 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
38001 size is zero, record memory as freed.
38002
4056f4a0
AJ
380032013-01-03 Andreas Jaeger <aj@suse.de>
38004
38005 * po/ia.po: Add new Interlingua translation.
38006
ab15736f 380072012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
38008
38009 * locale/programs/localedef.c: Fix description of '--posix' flag.
38010
568035b7
JM
380112013-01-02 Joseph Myers <joseph@codesourcery.com>
38012
e6898b8d
JM
38013 * NEWS: Update dates in second copyright notice.
38014 * README: Update copyright dates in example.
38015 * manual/libc.texinfo: Update copyright dates.
38016 * scripts/test-installation.pl: Update copyright date in --version
38017 output.
38018
0e2f9562
JM
38019 * hurd/ctty-input.c: Fix copyright notice formatting.
38020 * hurd/ctty-output.c: Likewise.
38021 * hurd/dtable.c: Likewise.
38022 * hurd/hurd-raise.c: Likewise.
38023 * hurd/hurdprio.c: Likewise.
38024 * hurd/msgportdemux.c: Likewise.
38025 * misc/sys/file.h: Likewise.
38026 * misc/sys/ioctl.h: Likewise.
38027 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38028 * sysdeps/mach/hurd/chdir.c: Likewise.
38029 * sysdeps/mach/hurd/fchdir.c: Likewise.
38030 * sysdeps/mach/hurd/rename.c: Likewise.
38031 * sysdeps/mach/hurd/rmdir.c: Likewise.
38032 * sysdeps/mach/hurd/seekdir.c: Likewise.
38033 * sysdeps/mach/hurd/setsid.c: Likewise.
38034 * sysdeps/posix/wait3.c: Likewise.
38035
568035b7
JM
38036 * All files with FSF copyright notices: Update copyright dates
38037 using scripts/update-copyrights.
38038 * intl/plural.c: Regenerated.
38039 * locale/programs/charmap-kw.h: Likewise.
38040 * locale/programs/locfile-kw.h: Likewise.
38041
da08f647
SP
380422013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
38043
0f5477af
SP
38044 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
38045 four values.
38046
44e0d4c2
SP
38047 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
38048 calculation loop and add branch prediction.
38049
4d55b4e5
SP
38050 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
38051 check access beyond bounds of m1np.
38052
da08f647
SP
38053 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38054 MPTWO.
38055 (__inv): Remove local variable MPTWO to use the global
38056 constant.
38057 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
38058 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38059 variable MPTWO.
38060 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
38061 MP3HALFS static const.
38062
8e051029
DM
380632013-01-01 David S. Miller <davem@davemloft.net>
38064
38065 * po/ca.po: Update from translation team.
38066
f4cf5f2d
JM
380672013-01-01 Joseph Myers <joseph@codesourcery.com>
38068
38069 * scripts/update-copyrights: New file.
38070 * Makeconfig: Reformat copyright notice.
38071 * ctype/ctype.h: Likewise.
38072 * debug/swprintf_chk.c: Likewise.
38073 * elf/dl-cache.c: Likewise.
38074 * elf/dl-debug.c: Likewise.
38075 * elf/dl-object.c: Likewise.
38076 * grp/initgroups.c: Likewise.
38077 * hurd/Makefile: Likewise.
38078 * hurd/hurd/signal.h: Likewise.
38079 * hurd/hurdfault.c: Likewise.
38080 * hurd/hurdioctl.c: Likewise.
38081 * hurd/hurdlookup.c: Likewise.
38082 * hurd/intr-msg.c: Likewise.
38083 * iconv/gconv_open.c: Likewise.
38084 * libio/swprintf.c: Likewise.
38085 * locale/lc-ctype.c: Likewise.
38086 * locale/nl_langinfo.c: Likewise.
38087 * mach/Machrules: Likewise.
38088 * mach/Makefile: Likewise.
38089 * malloc/obstack.h: Likewise.
38090 * manual/Makefile: Likewise.
38091 * manual/tsort.awk: Likewise.
38092 * misc/bits/stab.def: Likewise.
38093 * nis/nis_print_group_entry.c: Likewise.
38094 * nis/nis_table.c: Likewise.
38095 * nis/nss_compat/compat-pwd.c: Likewise.
38096 * nis/nss_compat/compat-spwd.c: Likewise.
38097 * po/Makefile: Likewise.
38098 * posix/fnmatch.c: Likewise.
38099 * posix/regex.h: Likewise.
38100 * resolv/Makefile: Likewise.
38101 * resolv/nss_dns/dns-network.c: Likewise.
38102 * resolv/res_hconf.c: Likewise.
38103 * scripts/gen-sorted.awk: Likewise.
38104 * soft-fp/soft-fp.h: Likewise.
38105 * stdio-common/printf.h: Likewise.
38106 * stdlib/monetary.h: Likewise.
38107 * stdlib/random.c: Likewise.
38108 * stdlib/random_r.c: Likewise.
38109 * sysdeps/generic/Makefile: Likewise.
38110 * sysdeps/gnu/Makefile: Likewise.
38111 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38112 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38113 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38114 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38115 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38116 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38117 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38118 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38119 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38120 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38121 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38122 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38123 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38124 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38125 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
38126 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38127 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38128 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38129 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38130 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38131 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38132 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38133 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38134 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
38135 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
38136 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38137 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38138 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
38139 * sysdeps/mach/hurd/errnos.awk: Likewise.
38140 * sysdeps/mach/hurd/fork.c: Likewise.
38141 * sysdeps/mach/hurd/getcwd.c: Likewise.
38142 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
38143 * sysdeps/mach/hurd/mmap.c: Likewise.
38144 * sysdeps/mach/hurd/utimes.c: Likewise.
38145 * sysdeps/mach/hurd/xmknod.c: Likewise.
38146 * sysdeps/posix/profil.c: Likewise.
38147 * sysdeps/posix/readdir_r.c: Likewise.
38148 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38149 * sysdeps/powerpc/bits/setjmp.h: Likewise.
38150 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
38151 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38152 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38153 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38154 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38155 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38156 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38157 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38158 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38159 * sysdeps/pthread/lio_listio.c: Likewise.
38160 * sysdeps/sparc/dl-procinfo.h: Likewise.
38161 * sysdeps/unix/i386/sysdep.S: Likewise.
38162 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
38163 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
38164 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
38165 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
38166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38167 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
38168 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
38169 * sysdeps/unix/sysv/linux/speed.c: Likewise.
38170 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38171 * sysdeps/wordsize-32/divdi3.c: Likewise.
38172 * time/sys/time.h: Likewise.
38173 * wcsmbs/Makefile: Likewise.
38174
0549fbba
DM
381752013-01-01 David S. Miller <davem@davemloft.net>
38176
a141f1a7
DM
38177 * po/fr.po: Update from translation team.
38178
0549fbba
DM
38179 * catgets/gencat.c: Update copyright year.
38180 * csu/version.c: Likewise.
38181 * debug/catchsegv.sh: Likewise.
38182 * debug/pcprofiledump.c: Likewise.
38183 * debug/xtrace.sh: Likewise.
38184 * elf/ldconfig.c: Likewise.
38185 * elf/ldd.bash.in: Likewise.
38186 * elf/pldd.c: Likewise.
38187 * elf/sotruss.ksh: Likewise.
38188 * elf/sprof.c: Likewise.
38189 * iconv/iconv_prog.c: Likewise.
38190 * iconv/iconvconfig.c: Likewise.
38191 * locale/programs/locale.c: Likewise.
38192 * locale/programs/localedef.c: Likewise.
38193 * login/programs/pt_chown.c: Likewise.
38194 * malloc/memusage.sh: Likewise.
38195 * malloc/memusagestat.c: Likewise.
38196 * malloc/mtrace.pl: Likewise.
38197 * nscd/nscd.c: Likewise.
38198 * nss/getent.c: Likewise.
38199 * nss/makedb.c: Likewise.
38200 * posix/getconf.c: Likewise.
38201
18ea052c
SP
382022012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38203
38204 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
38205 numbers.
38206
9c89fca6
MF
382072012-12-30 Mike Frysinger <vapier@gentoo.org>
38208
38209 * math/bits/mathcalls.h (modf): Use __nonnull.
38210
085ec079
SP
382112012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38212
38213 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
38214 (split): Use macro CN instead of the bare value.
38215 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
38216 could be used.
38217 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
38218 instead of the bare value.
38219 (power1): Likewise.
38220
6d9f97e1
SP
382212012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38222
d63f73be
SP
38223 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
38224 __ATAN_TWOM.
38225 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38226
6d9f97e1
SP
38227 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
38228 their values.
38229 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38230 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38231 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
38232 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38233
4c4febf5
AJ
382342012-12-28 Andreas Jaeger <aj@suse.de>
38235
af5843ef
AJ
38236 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
38237 values are from Linux 3.7.
38238
4c4febf5
AJ
38239 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
38240 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
38241
99136f82
SP
382422012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38243
2f216c3c 38244 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
38245 TRUE case.
38246
99136f82
SP
38247 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
38248 (norm): Likewise.
38249 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
38250 variables with preprocessor constants.
38251 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38252 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38253 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38254
7fffbdff
BH
382552012-12-27 Bruno Haible <bruno@clisp.org>
38256
38257 [BZ #14317]
38258 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
38259 only if needed.
38260
b76eb5f0
SP
382612012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38262
31a7fe5c
SP
38263 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
38264 and use variable directly.
38265 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
38266
b76eb5f0
SP
38267 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38268 MPONE.
38269 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
38270 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38271 variable MPONE.
38272 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38273 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38274 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
38275 include directive. Remove local variable MPONE.
38276 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
38277 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
38278 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38279
2c8bfe7d
DM
382802012-12-25 David S. Miller <davem@davemloft.net>
38281
38282 * version.h (RELEASE): Set to "development".
38283 (VERSION): Set to "2.17.90".
38284 * NEWS: Add 2.18 section.
38285
147d03b0
DM
382862012-12-21 David S. Miller <davem@davemloft.net>
38287
38288 * po/hr.po: Update from translation team.
38289
a8ebb2b9
AK
382902012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38291
38292 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
38293
95b4f1b6
SE
382942012-12-19 Steve Ellcey <sellcey@mips.com>
38295
b2d94007 38296 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 38297
cedb2a90
MS
382982012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38299
38300 * manual/contrib.texi (Contributors): Spelling correction.
38301
bbf527d6
DM
383022012-12-15 David S. Miller <davem@davemloft.net>
38303
38304 * po/ru.po: Update from translation team.
38305
bc38c906
DM
383062012-12-13 David S. Miller <davem@davemloft.net>
38307
85429b1a
DM
38308 * NEWS: Mention IFUNC testsuite enhancements.
38309
d283e353
DM
38310 * po/pl.po: Update from translation team.
38311 * po/bg.po: Likewise.
38312
bc38c906
DM
38313 * manual/contrib.texi (Contributors): Update entries for Hongjiu
38314 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
38315
a181b0d7
DM
383162012-12-11 David S. Miller <davem@davemloft.net>
38317
4641d57e
DM
38318 * po/sv.po: Update from translation team.
38319
f7bc6495
DM
38320 * po/vi.po: Update from translation team.
38321
6fc9048f
DM
38322 * po/cs.po: Update from translation team.
38323
a181b0d7
DM
38324 * po/de.po: Update from translation team.
38325 * po/eo.po: Likewise.
38326 * po/nl.po: Likewise.
38327
f70bfe80
SP
383282012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
38329
3c8b4190
SP
38330 [BZ #14246]
38331 * manual/argp.texi (Argp Helper Functions): Move node to follow
38332 Argp Parsing State.
38333
f70bfe80
SP
38334 [BZ #14872]
38335 * manual/conf.texi (Limits on File System Capacity): Mention if
38336 terminating null is included in the max size.
38337
188f0adf
AJ
383382012-12-10 Andreas Jaeger <aj@suse.de>
38339
38340 * po/cs.po: Update from translation team.
38341
56e7d3ad
SP
383422012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
38343
38344 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
38345 void pointer and cast to uintptr_t.
38346 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
38347 path.
38348 * sysdeps/s390/s390-64/memcpy.S: Likewise.
38349 * sysdeps/s390/s390-64/memset.S: Likewise.
38350
76f2d2ea 383512012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
38352
38353 [BZ #14833]
38354 * menual/message.texi (Message Translation): Fix typos.
38355 (Helper programs for gettext): Likewise.
38356
67cbf9a2
AS
383572012-12-07 Andreas Schwab <schwab@linux-m68k.org>
38358
38359 [BZ #14898]
38360 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
38361 Change to -1.
38362
682d0e9a
DM
383632012-12-07 David S. Miller <davem@davemloft.net>
38364
38365 * po/libc.pot: Update.
38366
573cd484
RH
383672012-12-07 Richard Henderson <rth@redhat.com>
38368
7e9da188 38369 [BZ #10114]
573cd484
RH
38370 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
38371 normal/normal case to before the switch.
38372 (_FP_DIV): Likewise.
38373
e933a943
MF
383742012-12-06 Carlos O'Donell <carlos@systemhalted.org>
38375 Mike Frysinger <vapier@gentoo.org>
38376
38377 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
38378 check for __NR_fadvise64_64.
38379
82123268
CM
383802012-12-06 Chris Metcalf <cmetcalf@tilera.com>
38381
38382 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
38383 0, not just to plain "0" as a statement.
38384 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
38385 with cw.
38386
d9814526
JM
383872012-12-06 Joseph Myers <joseph@codesourcery.com>
38388
38389 * NEWS: Use sourceware.org in Bugzilla URL.
38390
7728c574
SP
383912012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
38392
f16946dd
SP
38393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
38394 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38395
5704bbcb
SP
38396 * stdio-common/tst-put-error.c (do_test): Add newline to the
38397 padded test to ensure flush.
38398
17aa0516
JL
383992012-12-05 Jeff Law <law@redhat.com>
38400
38401 * sunrpc/etc.rpc (fedfs_admin): Add entry.
38402
363313b5
JM
384032012-12-05 Joseph Myers <joseph@codesourcery.com>
38404
effbd42a
JM
38405 * README: Don't refer to ports add-on as distributed separately.
38406 Mention AArch64 in list of systems supported in the ports add-on.
38407
87600365
JM
38408 * LICENSES: Add more non-FSF copyright and license notices.
38409
a0d7066a
JM
38410 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
38411 ((unused)).
38412
66ca5a5b
JM
38413 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
38414
363313b5
JM
38415 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
38416 10000 as width of padded output.
38417
b37984ad
JM
384182012-12-04 Joseph Myers <joseph@codesourcery.com>
38419
9003570a
JM
38420 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
38421
b37984ad
JM
38422 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
38423 variable LX with __attribute__ ((unused)).
38424 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38425 Likewise.
38426 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38427 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38428 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
38429 with __attribute__ ((unused)).
38430
c8df52ec
DM
384312012-12-04 David S. Miller <davem@abraco.davemloft.net>
38432
38433 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
38434
b3b099af
JM
384352012-12-04 Joseph Myers <joseph@codesourcery.com>
38436
c33aa6e3
JM
38437 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
38438 (CFLAGS-nldbl-acos.c): New variable.
38439 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
38440 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
38441 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
38442 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
38443 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
38444 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
38445 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
38446 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
38447 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
38448 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
38449 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
38450 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
38451 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
38452 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
38453 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
38454 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
38455 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
38456 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
38457 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
38458 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
38459 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
38460 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
38461 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
38462 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
38463 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
38464 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
38465 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
38466 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
38467 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
38468 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
38469 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
38470 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
38471 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
38472 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
38473 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
38474 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
38475 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
38476 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
38477 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
38478 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
38479 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
38480 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
38481 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
38482 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
38483 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
38484 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
38485 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
38486 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
38487 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
38488 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
38489 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
38490 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
38491 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
38492 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
38493 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
38494 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
38495 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
38496 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
38497 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
38498 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
38499 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
38500 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
38501 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
38502 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
38503 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
38504 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
38505 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
38506 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
38507 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
38508 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
38509 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
38510 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
38511 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
38512 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
38513 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
38514 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
38515 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
38516 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
38517 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
38518 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
38519 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
38520 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
38521 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
38522 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
38523 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
38524 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
38525 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
38526 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
38527 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
38528 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
38529 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
38530 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
38531 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
38532 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
38533 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
38534 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
38535 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
38536
20f0018d
JM
38537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38538 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38539
b3b099af
JM
38540 [BZ #14914]
38541 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
38542 whole low double instead of just low 47 bits when splitting values
38543 into two parts.
38544
029264d1
AM
385452012-12-03 Allan McRae <allan@archlinux.org>
38546
38547 * manual/stdio.texi (Predefined Printf Handlers): Remove
38548 @hsep and @vsep usage.
38549
c9d6789e
MF
385502012-12-03 Mike Frysinger <vapier@gentoo.org>
38551
38552 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
38553 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
38554
4b7634a5
JL
385552012-12-03 Jeff Law <law@redhat.com>
38556
38557 * time/sys/time.h (settimeofday): Do not mark TV argument
38558 as __nonnull.
38559
eb6cbd24
MF
385602012-12-01 Mike Frysinger <vapier@gentoo.org>
38561
38562 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
38563 when currently writing and seek to current position when not.
38564 * libio/Makefile (tests): Remove bug-fclose1.
38565 * libio/bug-fclose1.c: Delete.
38566
f638872a
JM
385672012-12-01 Joseph Myers <joseph@codesourcery.com>
38568
38569 * manual/arith.texi (feenableexcept): Fix typo.
38570 (fedisableexcept): Likewise.
38571
48085d14
RM
385722012-11-30 Roland McGrath <roland@hack.frob.com>
38573
38574 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
38575 second, differently-typed declaration, rather than a cast.
38576
1a538b9f
SP
385772012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38578
38579 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
38580 * include/rpc/svc.h: ... here.
38581
d07f2ff1 385822012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
38583
38584 [BZ #13013]
38585 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
38586 depending n and resplen2 to catch cases where answer
38587 equals answerp2.
38588
c93ec1f0
CD
385892012-11-29 Carlos O'Donell <carlos@systemhalted.org>
38590
38591 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
38592 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
38593
37db69de
MF
385942012-11-29 Mike Frysinger <vapier@gentoo.org>
38595
38596 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
38597
e10c4e4f
RM
385982012-11-29 Roland McGrath <roland@hack.frob.com>
38599
38600 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
38601
2af1b328
JL
386022012-11-28 Jeff Law <law@redhat.com>
38603
38604 [BZ #13761]
38605 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
38606 dataset_temporary. Track alloca usage into alloca_used.
38607 If dataset is large allocate and release it via malloc/free.
38608
111db5b1
FW
386092012-06-04 Florian Weimer <fweimer@redhat.com>
38610
f06cc227 38611 [BZ #14197]
111db5b1
FW
38612 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
38613
dd694abd
DM
386142012-11-28 David S. Miller <davem@davemloft.net>
38615
38616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38617
9984dd01
JM
386182012-11-28 Joseph Myers <joseph@codesourcery.com>
38619
38620 [BZ #14803]
38621 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
38622 of pi/2 rounded to nearest to 64 bits.
38623 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
38624 nearest to 64 bits.
38625 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
38626 bits.
38627
14bc93a9
JL
386282012-11-28 Jeff Law <law@redhat.com>
38629 Martin Osvald <mosvald@redhat.com>
38630
38631 [BZ #14889]
38632 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
38633 * sunrpc/svc.c: Include time.h.
38634 (__svc_accept_failed): New function.
38635 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
38636 any reason other than EINTR, call __svc_accept_failed.
38637 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
38638 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
38639
e3c6aa3a
AS
386402012-11-28 Andreas Schwab <schwab@suse.de>
38641
38642 * scripts/abilist.awk: Also handle indirect functions in .opd
38643 section.
38644
1bead169
JM
386452012-11-28 Joseph Myers <joseph@codesourcery.com>
38646
38647 [BZ #13881]
38648 * sysdeps/x86/fpu/powl_helper.c: New file.
38649 * sysdeps/x86/fpu/Makefile: Likewise.
38650 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
38651 (p3): New object.
38652 (__ieee754_powl): Use __powl_helper for finite arguments except
38653 integer exponents below 8.
38654 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
38655 (p3): New object.
38656 (__ieee754_powl): Use __powl_helper for finite arguments except
38657 integer exponents below 8.
38658 * math/libm-test.inc (pow_test): Add more tests and enable some
38659 previously disabled tests.
38660 * sysdeps/i386/fpu/libm-test-ulps: Update.
38661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38662
0817d63d
SP
386632012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38664 Carlos O'Donell <carlos_odonell@mentor.com>
38665
38666 * nss/makedb.c (is_prime): Assert that input is odd and greater
38667 than 4. Note that fact in a comment too.
38668 (next_prime): Add 4 to input.
38669
de2fd463
SP
386702012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38671
38672 [BZ #11741]
38673 * libio/Makefile (tests): Add test case tst-fwrite-error.
38674 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
38675 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
38676 * libio/tst-fwrite-error.c: New test case.
38677
c515fb51
L
386782012-11-26 H.J. Lu <hongjiu.lu@intel.com>
38679
38680 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
38681 before casting to void *.
38682 * include/libc-internal.h (__pointer_type): New macro.
38683 (__integer_if_pointer_type_sub): Likewise.
38684 (__integer_if_pointer_type): Likewise.
38685 (cast_to_integer): Likewise.
38686 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
38687 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
38688 before casting to atomic64_t.
38689 (atomic_exchange_acq): Likewise.
38690 (__arch_exchange_and_add_body): Likewise.
38691 (__arch_add_body): Likewise.
38692 (atomic_add_negative): Likewise.
38693 (atomic_add_zero): Likewise.
38694
4cf77aa9
JM
386952012-11-26 Joseph Myers <joseph@codesourcery.com>
38696
38697 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
38698 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
38699 (add_fdes): Likewise.
38700 (linear_search_fdes): Likewise.
38701 (binary_search_unencoded_fdes): Likewise.
38702
d260b3b4
AS
387032012-11-26 Andreas Schwab <schwab@linux-m68k.org>
38704
38705 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
38706
67060746
AC
387072012-11-24 Adam Conrad <adconrad@0c3.net>
38708
38709 * configure.in: Autodetect C++ header directories.
38710 * configure: Regenerated.
38711
800938a1
MF
387122012-11-23 Mike Frysinger <vapier@gentoo.org>
38713
38714 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
38715
4e6e34e6
AS
387162012-11-23 Andreas Schwab <schwab@linux-m68k.org>
38717
38718 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38719
7c7feb47
JM
387202012-11-22 Joseph Myers <joseph@codesourcery.com>
38721
7184dcdf
JM
38722 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
38723 LDBL_MANT_DIG == 106]: Disable some tests.
38724 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38725 Likewise.
38726 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38727 Likewise.
38728
0a42601f
JM
38729 [BZ #14871]
38730 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
38731 input for small inputs. Return +/- pi/2 for large inputs.
38732 * math/libm-test.inc (atan_test): Add more tests.
38733
79c9b9fe
JM
38734 * sysdeps/generic/unwind-dw2-fde-glibc.c
38735 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
38736 __attribute__ ((unused)).
38737
c60d3bf2
JM
38738 [BZ #14645]
38739 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
38740 x * y if x and y are nonzero and z is zero.
38741
ef1e0867
JM
38742 [BZ #14811]
38743 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
38744 nonzero exponents with absolute value below 0x1p-117 to +/-
38745 0x1p-117.
38746
1468ded3
JM
38747 [BZ #14869]
38748 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
38749 up arguments below 2**-450, not just those below 2**-500.
38750 * math/libm-test.inc (hypot_test): Add another test.
38751
8e27e3cc
JM
38752 [BZ #14868]
38753 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
38754 Return a+b for ratio over 2**120, not 2**60.
38755 * math/libm-test.inc (hypot_test): Add another test.
38756
c9c0279b
JM
38757 * math/libm-test.inc (clog_test): Use
38758 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
38759 (clog10_test): Likewise.
38760
7c7feb47
JM
38761 [BZ #6778]
38762 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
38763
fff1530e
AS
387642012-11-22 Andreas Schwab <schwab@suse.de>
38765
38766 * sysdeps/i386/fpu/libm-test-ulps: Update.
38767
94558d30
PT
387682012-11-22 Pino Toscano <toscano.pino@tiscali.it>
38769
38770 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
38771 printf output with newline.
38772
7e1be741
L
387732012-11-21 H.J. Lu <hongjiu.lu@intel.com>
38774
6bfea974
L
38775 [BZ #14865]
38776 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
38777 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
38778 -z nodlopen, -z initfirst and -z execstack support.
38779 * configure: Regenerated.
38780
7e1be741
L
38781 * elf/elf.h (DF_1_NODIRECT): New macro.
38782 (DF_1_IGNMULDEF): Likewise.
38783 (DF_1_NOKSYMS): Likewise.
38784 (DF_1_NOHDR): Likewise.
38785 (DF_1_EDITED): Likewise.
38786 (DF_1_NORELOC): Likewise.
38787 (DF_1_SYMINTPOSE): Likewise.
38788 (DF_1_GLOBAUDIT): Likewise.
38789 (DF_1_SINGLETON): Likewise.
38790 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
38791 DT_1_SUPPORTED_MASK bits.
38792 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
38793
105ce2ce
CD
387942012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
38795
38796 * sysdeps/unix/make-syscalls.sh: Document prefixes.
38797
123be9de
TS
387982012-11-20 Thomas Schwinge <thomas@codesourcery.com>
38799
d072f3f7
TS
38800 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
38801 macro.
38802
123be9de
TS
38803 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
38804 (sendmmsg): Move declarations...
38805 * socket/sys/socket.h: ... here.
38806 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
38807 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
38808 include it from...
38809 * socket/recvmmsg.c: ... this new file.
38810 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
38811 (sendmmsg): Rename to __sendmmsg, create weak alias and make
38812 definition of __sendmmsg hidden.
38813 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
38814 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
38815 Move ENOSYS stub into and include it from...
38816 * socket/sendmmsg.c: ... this new file.
38817 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
38818 (sysdep_routines): Move recvmmsg and sendmmsg...
38819 * socket/Makefile (routines): ... here.
38820 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
38821 (GLIBC_PRIVATE): Add __sendmmsg.
38822 * include/sys/socket.h (__sendmmsg): Add declarations.
38823 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
38824 sendmmsg.
38825
cf9a5d18
JM
388262012-11-20 Joseph Myers <joseph@codesourcery.com>
38827
38828 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
38829 variable I1 with __attribute__ ((unused)).
38830 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38831
ecd4caf9
JM
388322012-11-19 Joseph Myers <joseph@codesourcery.com>
38833
be14d48f
JM
38834 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
38835 DUMMY variables with __attribute__ ((unused)).
38836
ecd4caf9
JM
38837 * bits/byteswap.h: Include <bits/types.h>.
38838 (__bswap_64): Use __uint64_t instead of unsigned long long int.
38839
986cab95
PT
388402012-11-19 Pino Toscano <toscano.pino@tiscali.it>
38841
38842 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
38843 string_t. Do not manually set errno.
38844 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
38845 length with __strnlen. Make sure to both set errno and return it on
38846 failure.
38847
6d33cc9d
DM
388482012-11-19 David S. Miller <davem@davemloft.net>
38849
38850 With help from Joseph Myers.
38851 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
38852 very large arguments properly.
38853 * math/libm-test.inc (atan_test): New tests.
38854 (atan2_test): New tests.
38855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38856 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38857
ee663277
JM
388582012-11-19 Joseph Myers <joseph@codesourcery.com>
38859
877f2d8e
JM
38860 [BZ #14856]
38861 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
38862 Define to 3.
38863
116fc08a
JM
38864 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
38865 [POSIX] (EADDRNOTAVAIL): Likewise.
38866 [POSIX] (EAFNOSUPPORT): Likewise.
38867 [POSIX] (EALREADY): Likewise.
38868 [POSIX] (ECONNABORTED): Likewise.
38869 [POSIX] (ECONNREFUSED): Likewise.
38870 [POSIX] (ECONNRESET): Likewise.
38871 [POSIX] (EDESTADDRREQ): Likewise.
38872 [POSIX] (EDQUOT): Likewise.
38873 [POSIX] (EHOSTUNREACH): Likewise.
38874 [POSIX] (EIDRM): Likewise.
38875 [POSIX] (EISCONN): Likewise.
38876 [POSIX] (ELOOP): Likewise.
38877 [POSIX] (EMULTIHOP): Likewise.
38878 [POSIX] (ENETDOWN): Likewise.
38879 [POSIX] (ENETUNREACH): Likewise.
38880 [POSIX] (ENOBUFS): Likewise.
38881 [POSIX] (ENODATA): Likewise.
38882 [POSIX] (ENOLINK): Likewise.
38883 [POSIX] (ENOMSG): Likewise.
38884 [POSIX] (ENOPROTOOPT): Likewise.
38885 [POSIX] (ENOSR): Likewise.
38886 [POSIX] (ENOSTR): Likewise.
38887 [POSIX] (ENOTCONN): Likewise.
38888 [POSIX] (ENOTSOCK): Likewise.
38889 [POSIX] (EOPNOTSUPP): Likewise.
38890 [POSIX] (EOVERFLOW): Likewise.
38891 [POSIX] (EPROTO): Likewise.
38892 [POSIX] (EPROTONOSUPPORT): Likewise.
38893 [POSIX] (EPROTOTYPE): Likewise.
38894 [POSIX] (ESTALE): Likewise.
38895 [POSIX] (ETIME): Likewise.
38896 [POSIX] (ETXTBSY): Likewise.
38897 [POSIX] (EWOULDBLOCK): Likewise.
38898 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
38899 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
38900 [POSIX] (SEEK_CUR): Likewise.
38901 [POSIX] (SEEK_END): Likewise.
38902 [POSIX || UNIX98] (mode_t): Do not require.
38903 [POSIX] (off_t): Likewise.
38904 [POSIX] (pid_t): Likewise.
38905 [POSIX] (sys/stat.h): Do not allow header.
38906 [POSIX] (unistd.h): Likewise.
38907 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
38908 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
38909 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
38910 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
38911 require.
38912 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
38913 sigevent): Specify elements.
38914 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
38915 entry.
38916 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
38917 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
38918
a483863f
JM
38919 * conform/data/cpio.h-data [POSIX]: Disable whole file.
38920 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
38921 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
38922 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
38923 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
38924 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
38925 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
38926 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
38927 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
38928 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
38929 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
38930 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
38931 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
38932 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
38933 Likewise.
38934 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
38935 Likewise.
38936 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
38937 Likewise.
38938 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
38939 Likewise.
38940 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
38941 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
38942 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
38943 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
38944 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
38945 Specify lower bound on value.
38946 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
38947 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
38948 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
38949 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
38950 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
38951 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
38952 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
38953 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
38954 value.
38955 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
38956 as optional.
38957 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
38958 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
38959 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
38960 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
38961 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
38962 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
38963 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
38964 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
38965 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
38966 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
38967 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
38968 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
38969 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
38970 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
38971 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
38972 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
38973 entry.
38974 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
38975 optional.
38976 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
38977 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
38978 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
38979 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
38980 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
38981 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
38982 Likewise.
38983 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
38984 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
38985 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
38986 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
38987 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
38988 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
38989 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
38990 as optional.
38991 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
38992 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
38993 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
38994 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
38995 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
38996 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
38997 specify as optional.
38998 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
38999 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
39000 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
39001 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
39002 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
39003 [XPG3] (NL_LANGMAX): Likewise.
39004 [POSIX || XPG3] (NL_MSGMAX): Likewise.
39005 [POSIX || XPG3] (NL_NMAX): Likewise.
39006 [POSIX || XPG3] (NL_SETMAX): Likewise.
39007 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
39008 [XPG3] (NZERO): Likewise.
39009 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
39010 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
39011 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
39012 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
39013 (REG_ERANGE): Expect.
39014 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
39015 optional-constant.
39016 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
39017 Use (void) in prototype.
39018 [POSIX] (*_t): Allow.
39019 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
39020 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
39021 (WRDE_BADVAL): Expect.
39022
5ba924e3
JM
39023 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
39024 expect.
39025 [XPG3 || XPG4] (O_RSYNC): Likewise.
39026 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
39027 Likewise.
39028 [XPG3 || XPG4] (pthread_sigmask): Likewise.
39029 [XPG3 || XPG4] (sigqueue): Likewise.
39030 [XPG3 || XPG4] (sigtimedwait): Likewise.
39031 [XPG3 || XPG4] (sigwaitinfo): Likewise.
39032 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
39033 [XPG3 || XPG4] (vsnprintf): Likewise.
39034 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
39035 Likewise.
39036 [XPG3 || XPG4] (blksize_t): Likewise.
39037 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
39038 Likewise.
39039 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
39040 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39041 [XPG3 || XPG4] (struct itimerspec): Likewise.
39042 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
39043 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
39044 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
39045 [XPG3 || XPG4] (clockid_t): Likewise.
39046 [XPG3 || XPG4] (timer_t): Likewise.
39047 [XPG3 || XPG4] (clock_getres): Likewise.
39048 [XPG3 || XPG4] (clock_gettime): Likewise.
39049 [XPG3 || XPG4] (clock_settime): Likewise.
39050 [XPG3 || XPG4] (nanosleep): Likewise.
39051 [XPG3 || XPG4] (timer_create): Likewise.
39052 [XPG3 || XPG4] (timer_delete): Likewise.
39053 [XPG3 || XPG4] (timer_gettime): Likewise.
39054 [XPG3 || XPG4] (timer_getoverrun): Likewise.
39055 [XPG3 || XPG4] (timer_settime): Likewise.
39056 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
39057 [XPG3 || XPG4] (getlogin_r): Likewise.
39058 [XPG3 || XPG4] (pread): Likewise.
39059 [XPG3 || XPG4] (pthread_atfork): Likewise.
39060 [XPG3 || XPG4] (pwrite): Likewise.
39061
ee663277
JM
39062 [BZ #14835]
39063 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
39064 <bits/siginfo.h>.
39065
942caa16
PT
390662012-11-19 Pino Toscano <toscano.pino@tiscali.it>
39067
e19af380
PT
39068 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
39069 finalizing MALLSTREAM.
39070
942caa16
PT
39071 * sysdeps/mach/hurd/syncfs.c: New file.
39072
cfde9b46
SP
390732012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39074
39075 [BZ #14719]
39076 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
39077 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
39078 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
39079 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
39080 (_nss_dns_gethostbyname4_r): Likewise.
39081 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
39082 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
39083
f6da27e5
PH
390842012-11-19 Peng Haitao <penght@cn.fujitsu.com>
39085
39086 [BZ #13763]
39087 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
39088
6665d4a2
SM
390892012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
39090
1f51ee92
SM
39091 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
39092 * elf/cache.c (print_entry): Print ",AArch64" for
39093 FLAG_AARCH64_LIB64
39094
6665d4a2
SM
39095 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
39096 * elf/cache.c (print_entry): Print ",hard-float" for
39097 FLAG_ARM_LIBHF.
39098
05b227bd
DM
390992012-11-18 David S. Miller <davem@davemloft.net>
39100
39101 With help from Joseph Myers.
39102 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
39103 cutoff to 2**-13.
39104 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
39105 cutoff to 2**-25.
39106 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
39107 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
39108 small.
39109 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
39110 * math/libm-test.inc (y0_test): New tests.
39111 (y1_test): New tests.
39112 * sysdeps/i386/fpu/libm-test-ulps: Update.
39113 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39114 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39115
786b0b67
AS
391162012-11-18 Andreas Schwab <schwab@linux-m68k.org>
39117
39118 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
39119 64-bit targets.
39120 * configure: Regenerated.
39121
8e18b86d
DM
391222012-11-17 David S. Miller <davem@davemloft.net>
39123
39124 [BZ #14811]
39125 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
39126 nonzero exponents with absolute value below 0x1p-128 to +/-
39127 0x1p-128.
39128
531f1ae0
JM
391292012-11-17 Joseph Myers <joseph@codesourcery.com>
39130
12df29e2
JM
39131 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
39132
150dc1a0
JM
39133 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
39134
531f1ae0
JM
39135 * posix/getconf-speclist.c: New file.
39136 * posix/posix-envs.def: Likewise.
39137 * posix/confstr.c (START_ENV_GROUP): New macro.
39138 (END_ENV_GROUP): Likewise.
39139 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39140 (KNOWN_PRESENT_ENV_STRING): Likewise.
39141 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39142 (UNKNOWN_ENVIRONMENT): Likewise.
39143 (confstr): Include posix-envs.def instead of handling
39144 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
39145 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
39146 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
39147 (END_ENV_GROUP): Likewise.
39148 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39149 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39150 (UNKNOWN_ENVIRONMENT): Likewise.
39151 (__sysconf): Include posix-envs.def instead of handling associated
39152 cases directly here.
39153 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
39154 preprocessing getconf-speclist.c rather than running getconf or
39155 generating empty file.
39156
a93f9cbc
PT
391572012-11-16 Pino Toscano <toscano.pino@tiscali.it>
39158
39159 * scripts/check-local-headers.sh: Ignore 'mach' headers.
39160
d64d9f87
AL
391612012-11-16 Andrej Lajovic <natrij@gmail.com>
39162
39163 [BZ #14672]
39164 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
39165
447885eb
DM
391662012-11-16 David S. Miller <davem@davemloft.net>
39167
39168 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
39169 smaller than LDBL_EPSILON/2.0L, just return xm1.
39170
bcbf9830
L
391712012-11-16 H.J. Lu <hongjiu.lu@intel.com>
39172
39173 * elf/tst-array1.c (init): Set constructor priority to 1000.
39174 (fini): Set destructor priority to 1000.
39175 * elf/tst-array2dep.c: Likewise.
39176
2b766585
SP
391772012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39178
39179 [BZ #11741]
39180 * libio/fileops.c (_IO_new_file_write): Correctly return error.
39181 (_IO_new_file_xsputn): Also return EOF if none of the input
39182 data was written when overflow failed.
39183 * libio/iopadn.c (_IO_padn): Likewise.
39184 * libio/iowpadn.c (_IO_wpadn): Likewise.
39185 * stdio-common/tst-put-error.c: Add copyright notice.
39186 (do_test): Add case for printing padded string.
39187 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
39188 _IO_padn returned error.
39189 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
39190 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
39191 return EOF.
39192
b1848fde
SP
391932012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39194
39195 * libio/libioP.h: Add comment note that the references to C++
39196 bits are now obsolete.
39197
2fd89785
MS
391982012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39199
39200 * math/libm-test.inc (check_complex): Use asprintf.
39201
e3ea5409
JM
392022012-11-14 Joseph Myers <joseph@codesourcery.com>
39203
39204 * debug/pcprofiledump.c (print_version): Update copyright year.
39205 * malloc/memusagestat.c (print_version): Likewise.
39206
2e64d265
L
392072012-11-14 H.J. Lu <hongjiu.lu@intel.com>
39208
39209 [BZ #14831]
39210 * elf/Makefile (tests): Add tst-audit8.
39211 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
39212 ($(objpfx)tst-audit8.out): New target.
39213 (tst-audit8-ENV): New variable.
39214 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
39215 audit if l_reloc_result is NULL.
39216 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
39217 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
39218 * elf/tst-audit8.c: New file.
39219
c485e4d2
MS
392202012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39221
39222 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
39223 * misc/Makefile (CFLAGS-select.c): Define.
39224 * posix/Makefile (CFLAGS-pause.c): Define.
39225
3a0d900a
DM
392262012-11-13 David S. Miller <davem@davemloft.net>
39227
39228 * crypt/Makefile: Move test targets after toplevel Rules
39229 inclusion. Grab any necessary sysdep routines when linking.
39230 * crypt/md5.c (md5_process_block): Remove define, we will always
39231 name it __md5_process_block.
39232 (md5_finish_ctx): Update md5_process_block call.
39233 (md5_stream): Likewise.
39234 (md5_process_bytes): Likewise.
39235 (md5_process_block): Rename to __md5_process_block and move to ...
39236 * crypt/md5-block.c: ... here.
39237 * crypt/sha256.c (sha256_process_block): Move to ...
39238 * crypt/sha256-block.c: ... here.
39239 * crypt/sha512.c (sha512_process_block): Move to ...
39240 * crypt/sha512-block.c: ... here.
39241 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
39242 path.
39243 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
39244 * sysdeps/sparc/sparc64/multiarch/Makefile
39245 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
39246 crypt subdir.
39247 (localedef-aux): Add md5 crypto assembler when in locale subdir.
39248 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
39249 multiarch changes.
39250 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
39251 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
39252 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
39253 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
39254 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
39255 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
39256 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
39257 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
39258 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
39259 file.
39260 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
39261 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
39262 file.
39263 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
39264
8ca89318
JM
392652012-11-13 Joseph Myers <joseph@codesourcery.com>
39266
e27d476a
JM
39267 * timezone/tzselect.ksh: Update from tzcode git revision
39268 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
39269 * timezone/zdump.c: Likewise.
39270 * timezone/zic.c: Likewise.
39271 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
39272 in TZVERSION setting, not $(PKGVERSION).
39273 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
39274 REPORT_BUGS_TO settings.
39275
8ca89318
JM
39276 [BZ #14838]
39277 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
39278 macro.
39279
47594329
MS
392802012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39281
39282 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
39283 detection to immediately after _FP_ROUND().
39284 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
39285 bits are 0.
39286
640ac3f1
DM
392872012-11-11 David S. Miller <davem@davemloft.net>
39288
39289 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
39290 inttypes.h
39291 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
39292 __close rather than their public counterparts.
39293
3d2577bb
JM
392942012-11-10 Joseph Myers <joseph@codesourcery.com>
39295
39296 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
39297 file.
39298 [UNIX98] (sem_timedwait): Do not expect.
39299 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
39300 [XPG4 || UNIX98] (sockatmark): Do not expect.
39301 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
39302 (clock_getcpuclockid): Do not expect.
39303 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
39304 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
39305 Do not expect.
39306 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
39307 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
39308 [UNIX98] (vwscanf): Likewise.
39309 [UNIX98] (vswscanf): Likewise.
39310
fb1ae1ee
JM
393112012-11-09 Joseph Myers <joseph@codesourcery.com>
39312
9ec6f8bd
JM
39313 * timezone/version.h: Remove file.
39314 * timezone/README: Do not refer to version.h.
39315 * timezone/Makefile ($(objpfx)zic.o): New dependency on
39316 $(objpfx)version.h.
39317 ($(objpfx)zdump.o): Likewise.
c3f81911 39318 ($(objpfx)version.h): New target.
9ec6f8bd 39319
0aa8f8a1
JM
39320 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
39321 2012i.
39322 * timezone/README: Don't mention modification to tzselect.ksh.
39323 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
39324 work on unmodified tzselect.ksh. Substitute version numbers in
39325 tzselect.ksh.
39326
4e87147f
JM
39327 * Makefile (format-me): Remove.
39328 (INSTALL): Adjust indentation. Use commands directly instead of
39329 using $(format-me).
39330
8b748aed
JM
39331 * aclocal.m4 (ACX_PKGVERSION): New macro.
39332 (ACX_BUGURL): Likewise.
39333 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
39334 (PKGVERSION): New AC_DEFINE_UNQUOTED.
39335 (REPORT_BUGS_TO): Likewise.
39336 * configure: Regenerated.
39337 * config.h.in (PKGVERSION): New macro.
39338 (REPORT_BUGS_TO): Likewise.
39339 * config.make.in (PKGVERSION): New variable.
39340 (PKGVERSION_TEXI): Likewise.
39341 (REPORT_BUGS_TO): Likewise.
39342 (REPORT_BUGS_TEXI): Likewise.
39343 * Makefile (format-me): Use -I$(common-objpfx)manual.
39344 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
39345 ($(common-objpfx)manual/%): New target.
39346 (manual/%): Remove target.
39347 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
39348 (print_version): Use PKGVERSION.
39349 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
39350 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
39351 and REPORT_BUGS_TO.
39352 ($(objpfx)xtrace): Likewise.
39353 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
39354 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
39355 (print_version): Use PKGVERSION.
39356 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
39357 (do_version): Use PKGVERSION.
39358 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
39359 REPORT_BUGS_TO.
39360 (common-ldd-rewrite): Likewise.
39361 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
39362 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
39363 (print_version): Use PKGVERSION.
39364 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
39365 * elf/pldd.c (argp_program_bug_address): Remove variable.
39366 (more_help): New function.
39367 (argp): Use more_help.
39368 (print_version): Use PKGVERSION.
39369 * elf/sln.c (main): Use PKGVERSION.
39370 (usage): Use REPORT_BUGS_TO.
39371 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
39372 (top level): Use PKGVERSION.
39373 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
39374 (print_version): Use PKGVERSION.
39375 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
39376 (print_version): Use PKGVERSION.
39377 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
39378 (print_version): Use PKGVERSION.
39379 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
39380 (print_version): Use PKGVERSION.
39381 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
39382 (print_version): Use PKGVERSION.
39383 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
39384 (print_version): Use PKGVERSION.
39385 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
39386 and BUGURL.
39387 ($(objpfx)memusage): Likewise.
39388 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
39389 (do_version): Use PKGVERSION.
39390 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
39391 (print_version): Use PKGVERSION.
39392 * malloc/mtrace.pl ($PACKAGE): Remove variable.
39393 ($PKGVERSION): New variable.
39394 ($REPORT_BUGS_TO): Likewise.
39395 (usage): Use $REPORT_BUGS_TO.
39396 (top level): Use $PKGVERSION.
39397 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
39398 ($(objpfx)pkgvers.texi): New rule.
39399 ($(objpfx)stamp-pkgvers): Likewise.
39400 * manual/install.texi: Include pkgvers.texi.
39401 (--with-pkgversion): Document new configure option.
39402 (--with-bugurl): Likewise.
39403 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
39404 than necessarily for this particular distribution. Use
39405 REPORT_BUGS_TO for where to report bugs.
39406 * INSTALL: Regenerated.
39407 * manual/libc.texinfo: Include pkgvers.texi.
39408 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
39409 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
39410 (print_version): Use PKGVERSION.
39411 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
39412 (print_version): Use PKGVERSION.
39413 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
39414 (print_version): Use PKGVERSION.
39415 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
39416 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
39417 macro.
39418 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
39419 (print_version): Use PKGVERSION.
39420 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
39421 (print_version): Use PKGVERSION.
39422 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
39423 and PKGVERSION.
39424
92e4b6a9
JM
39425 * timezone/checktab.awk: Update from tzcode 2012i.
39426 * timezone/ialloc.c: Likewise.
39427 * timezone/private.h: Likewise.
39428 * timezone/scheck.c: Likewise.
39429 * timezone/tzfile.h: Likewise.
39430 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
39431 (TZVERSION): Hardcode tzcode version number.
39432 * timezone/zdump.c: Update from tzcode 2012i.
39433 * timezone/zic.c: Likewise.
39434 * timezone/version.h: New file.
39435 * timezone/README: Describe version.h. Update upstream location.
39436
9bde902c
JM
39437 [BZ #14824]
39438 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
39439 (mktemp): Enable declaration.
39440 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
39441 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
39442 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
39443 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
39444 Likewise.
39445 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
39446 Likewise.
39447 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
39448 Likewise.
39449 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
39450 Likewise.
39451 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
39452 Likewise.
39453 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
39454 Likewise.
39455
fb1ae1ee
JM
39456 [BZ #14821]
39457 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
39458 offset in buffer as u_int32_t not u_long. Consistently use memcpy
39459 for copies of such integer values.
39460 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39461 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39462
2c1adbcb
AJ
394632012-11-09 Andreas Jaeger <aj@suse.de>
39464
39465 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
39466 definitions and declarations that are provided by
39467 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39468
d0f8457e
AK
394692012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39470
3a235abb 39471 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
39472 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
39473 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
39474 definition.
39475
57241e26
MS
394762012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39477
39478 * elf/elf.h: Update comment before AArch64 relocations.
39479
60e8270d
DM
394802012-11-07 David S. Miller <davem@davemloft.net>
39481
39482 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
39483 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39484 (__start_context): Declare.
39485 (__makecontext_ret): Delete.
39486 (__makecontext): Hook up __start_context instead of
39487 __makecontext_ret.
39488 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
39489 (sysdep_routines): Add __start_context when in stdlib.
39490
0fbb0fbc
JM
394912012-11-07 Joseph Myers <joseph@codesourcery.com>
39492
39493 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
39494 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
39495 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
39496 hardcoded "nm".
39497 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
39498 (READELF): New variable. Use it instead of hardcoded "readelf".
39499
eb48db7e
L
395002012-11-07 H.J. Lu <hongjiu.lu@intel.com>
39501
39502 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
39503 * sysdeps/x86/Makefile: Here.
39504 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
39505 * sysdeps/x86/tst-xmmymm.sh: This.
39506
05bcf62a
JM
395072012-11-07 Joseph Myers <joseph@codesourcery.com>
39508
c4b6cf53
JM
39509 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
39510 expectations.
39511 [UNIX98] (pthread_barrier_t): Do not expect.
39512 [UNIX98] (pthread_barrierattr_t): Likewise.
39513 [UNIX98] (pthread_spinlock_t): Likewise.
39514 [UNIX98] (pthread_barrier_destroy): Likewise.
39515 [UNIX98] (pthread_barrier_init): Likewise.
39516 [UNIX98] (pthread_barrier_wait): Likewise.
39517 [UNIX98] (pthread_barrierattr_destroy): Likewise.
39518 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
39519 [UNIX98] (pthread_barrierattr_init): Likewise.
39520 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
39521 [UNIX98] (pthread_getcpuclockid): Likewise.
39522 [UNIX98] (pthread_mutex_timedlock): Likewise.
39523 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
39524 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
39525 [UNIX98] (pthread_sigmask): Likewise.
39526 [UNIX98] (pthread_spin_destroy): Likewise.
39527 [UNIX98] (pthread_spin_init): Likewise.
39528 [UNIX98] (pthread_spin_lock): Likewise.
39529 [UNIX98] (pthread_spin_trylock): Likewise.
39530 [UNIX98] (pthread_spin_unlock): Likewise.
39531 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
39532 Do not expect.
39533 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
39534 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
39535 [XPG3 || XPG4] (pthread_cond_t): Likewise.
39536 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
39537 [XPG3 || XPG4] (pthread_key_t): Likewise.
39538 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
39539 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
39540 [XPG3 || XPG4] (pthread_once_t): Likewise.
39541 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
39542 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
39543 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
39544 [XPG3 || XPG4] (pthread_t): Likewise.
39545
cbe6e120
JM
39546 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
39547 not expect.
39548 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
39549
1b126443
JM
39550 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
39551 Change function return type to int.
39552
b961a573
JM
39553 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
39554 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
39555 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
39556 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
39557 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
39558 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
39559 [!POSIX] (posix_madvise): Likewise.
39560 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
39561 && !UNIX98].
39562 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
39563 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
39564 (mode_t): Likewise.
39565 (posix_mem_offset): Likewise.
39566 (posix_typed_mem_get_info): Likewise.
39567 (posix_typed_mem_open): Likewise.
39568
9e188909
JM
39569 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
39570 Change condition to [XOPEN2K8].
39571
05bcf62a
JM
39572 * conform/conformtest.pl: Preprocess allow-header data with -x c
39573 instead of from stdin.
39574 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
39575 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
39576 [C99-based standards] (cerfc): Likewise.
39577 [C99-based standards] (cexp2): Likewise.
39578 [C99-based standards] (cexpm1): Likewise.
39579 [C99-based standards] (clog10): Likewise.
39580 [C99-based standards] (clog1p): Likewise.
39581 [C99-based standards] (clog2): Likewise.
39582 [C99-based standards] (clgamma): Likewise.
39583 [C99-based standards] (ctgamma): Likewise.
39584 [C99-based standards] (cerff): Likewise.
39585 [C99-based standards] (cerfcf): Likewise.
39586 [C99-based standards] (cexp2f): Likewise.
39587 [C99-based standards] (cexpm1f): Likewise.
39588 [C99-based standards] (clog10f): Likewise.
39589 [C99-based standards] (clog1pf): Likewise.
39590 [C99-based standards] (clog2f): Likewise.
39591 [C99-based standards] (clgammaf): Likewise.
39592 [C99-based standards] (ctgammaf): Likewise.
39593 [C99-based standards] (cerfl): Likewise.
39594 [C99-based standards] (cerfcl): Likewise.
39595 [C99-based standards] (cexp2l): Likewise.
39596 [C99-based standards] (cexpm1l): Likewise.
39597 [C99-based standards] (clog10l): Likewise.
39598 [C99-based standards] (clog1pl): Likewise.
39599 [C99-based standards] (clog2l): Likewise.
39600 [C99-based standards] (clgammal): Likewise.
39601 [C99-based standards] (ctgammal): Likewise.
39602 * conform/data/inttypes.h-data [C99-based standards]: Include
39603 stdint.h-data. Remove all expectations for stdint.h contents.
39604 [C99-based standards] (PRI*): Do not allow.
39605 [C99-based standards] (SCN*): Likewise.
39606 [C99-based standards] (*_t): Likewise.
39607 [C99-based-standards] (PRId8): Expect macro.
39608 [C99-based-standards] (PRIi8): Likewise.
39609 [C99-based-standards] (PRIo8): Likewise.
39610 [C99-based-standards] (PRIu8): Likewise.
39611 [C99-based-standards] (PRIx8): Likewise.
39612 [C99-based-standards] (PRIX8): Likewise.
39613 [C99-based-standards] (SCNd8): Likewise.
39614 [C99-based-standards] (SCNi8): Likewise.
39615 [C99-based-standards] (SCNo8): Likewise.
39616 [C99-based-standards] (SCNu8): Likewise.
39617 [C99-based-standards] (SCNx8): Likewise.
39618 [C99-based-standards] (PRIdLEAST8): Likewise.
39619 [C99-based-standards] (PRIiLEAST8): Likewise.
39620 [C99-based-standards] (PRIoLEAST8): Likewise.
39621 [C99-based-standards] (PRIuLEAST8): Likewise.
39622 [C99-based-standards] (PRIxLEAST8): Likewise.
39623 [C99-based-standards] (PRIXLEAST8): Likewise.
39624 [C99-based-standards] (SCNdLEAST8): Likewise.
39625 [C99-based-standards] (SCNiLEAST8): Likewise.
39626 [C99-based-standards] (SCNoLEAST8): Likewise.
39627 [C99-based-standards] (SCNuLEAST8): Likewise.
39628 [C99-based-standards] (SCNxLEAST8): Likewise.
39629 [C99-based-standards] (PRIdFAST8): Likewise.
39630 [C99-based-standards] (PRIiFAST8): Likewise.
39631 [C99-based-standards] (PRIoFAST8): Likewise.
39632 [C99-based-standards] (PRIuFAST8): Likewise.
39633 [C99-based-standards] (PRIxFAST8): Likewise.
39634 [C99-based-standards] (PRIXFAST8): Likewise.
39635 [C99-based-standards] (SCNdFAST8): Likewise.
39636 [C99-based-standards] (SCNiFAST8): Likewise.
39637 [C99-based-standards] (SCNoFAST8): Likewise.
39638 [C99-based-standards] (SCNuFAST8): Likewise.
39639 [C99-based-standards] (SCNxFAST8): Likewise.
39640 [C99-based-standards] (PRId16): Likewise.
39641 [C99-based-standards] (PRIi16): Likewise.
39642 [C99-based-standards] (PRIo16): Likewise.
39643 [C99-based-standards] (PRIu16): Likewise.
39644 [C99-based-standards] (PRIx16): Likewise.
39645 [C99-based-standards] (PRIX16): Likewise.
39646 [C99-based-standards] (SCNd16): Likewise.
39647 [C99-based-standards] (SCNi16): Likewise.
39648 [C99-based-standards] (SCNo16): Likewise.
39649 [C99-based-standards] (SCNu16): Likewise.
39650 [C99-based-standards] (SCNx16): Likewise.
39651 [C99-based-standards] (PRIdLEAST16): Likewise.
39652 [C99-based-standards] (PRIiLEAST16): Likewise.
39653 [C99-based-standards] (PRIoLEAST16): Likewise.
39654 [C99-based-standards] (PRIuLEAST16): Likewise.
39655 [C99-based-standards] (PRIxLEAST16): Likewise.
39656 [C99-based-standards] (PRIXLEAST16): Likewise.
39657 [C99-based-standards] (SCNdLEAST16): Likewise.
39658 [C99-based-standards] (SCNiLEAST16): Likewise.
39659 [C99-based-standards] (SCNoLEAST16): Likewise.
39660 [C99-based-standards] (SCNuLEAST16): Likewise.
39661 [C99-based-standards] (SCNxLEAST16): Likewise.
39662 [C99-based-standards] (PRIdFAST16): Likewise.
39663 [C99-based-standards] (PRIiFAST16): Likewise.
39664 [C99-based-standards] (PRIoFAST16): Likewise.
39665 [C99-based-standards] (PRIuFAST16): Likewise.
39666 [C99-based-standards] (PRIxFAST16): Likewise.
39667 [C99-based-standards] (PRIXFAST16): Likewise.
39668 [C99-based-standards] (SCNdFAST16): Likewise.
39669 [C99-based-standards] (SCNiFAST16): Likewise.
39670 [C99-based-standards] (SCNoFAST16): Likewise.
39671 [C99-based-standards] (SCNuFAST16): Likewise.
39672 [C99-based-standards] (SCNxFAST16): Likewise.
39673 [C99-based-standards] (PRId32): Likewise.
39674 [C99-based-standards] (PRIi32): Likewise.
39675 [C99-based-standards] (PRIo32): Likewise.
39676 [C99-based-standards] (PRIu32): Likewise.
39677 [C99-based-standards] (PRIx32): Likewise.
39678 [C99-based-standards] (PRIX32): Likewise.
39679 [C99-based-standards] (SCNd32): Likewise.
39680 [C99-based-standards] (SCNi32): Likewise.
39681 [C99-based-standards] (SCNo32): Likewise.
39682 [C99-based-standards] (SCNu32): Likewise.
39683 [C99-based-standards] (SCNx32): Likewise.
39684 [C99-based-standards] (PRIdLEAST32): Likewise.
39685 [C99-based-standards] (PRIiLEAST32): Likewise.
39686 [C99-based-standards] (PRIoLEAST32): Likewise.
39687 [C99-based-standards] (PRIuLEAST32): Likewise.
39688 [C99-based-standards] (PRIxLEAST32): Likewise.
39689 [C99-based-standards] (PRIXLEAST32): Likewise.
39690 [C99-based-standards] (SCNdLEAST32): Likewise.
39691 [C99-based-standards] (SCNiLEAST32): Likewise.
39692 [C99-based-standards] (SCNoLEAST32): Likewise.
39693 [C99-based-standards] (SCNuLEAST32): Likewise.
39694 [C99-based-standards] (SCNxLEAST32): Likewise.
39695 [C99-based-standards] (PRIdFAST32): Likewise.
39696 [C99-based-standards] (PRIiFAST32): Likewise.
39697 [C99-based-standards] (PRIoFAST32): Likewise.
39698 [C99-based-standards] (PRIuFAST32): Likewise.
39699 [C99-based-standards] (PRIxFAST32): Likewise.
39700 [C99-based-standards] (PRIXFAST32): Likewise.
39701 [C99-based-standards] (SCNdFAST32): Likewise.
39702 [C99-based-standards] (SCNiFAST32): Likewise.
39703 [C99-based-standards] (SCNoFAST32): Likewise.
39704 [C99-based-standards] (SCNuFAST32): Likewise.
39705 [C99-based-standards] (SCNxFAST32): Likewise.
39706 [C99-based-standards] (PRId64): Likewise.
39707 [C99-based-standards] (PRIi64): Likewise.
39708 [C99-based-standards] (PRIo64): Likewise.
39709 [C99-based-standards] (PRIu64): Likewise.
39710 [C99-based-standards] (PRIx64): Likewise.
39711 [C99-based-standards] (PRIX64): Likewise.
39712 [C99-based-standards] (SCNd64): Likewise.
39713 [C99-based-standards] (SCNi64): Likewise.
39714 [C99-based-standards] (SCNo64): Likewise.
39715 [C99-based-standards] (SCNu64): Likewise.
39716 [C99-based-standards] (SCNx64): Likewise.
39717 [C99-based-standards] (PRIdLEAST64): Likewise.
39718 [C99-based-standards] (PRIiLEAST64): Likewise.
39719 [C99-based-standards] (PRIoLEAST64): Likewise.
39720 [C99-based-standards] (PRIuLEAST64): Likewise.
39721 [C99-based-standards] (PRIxLEAST64): Likewise.
39722 [C99-based-standards] (PRIXLEAST64): Likewise.
39723 [C99-based-standards] (SCNdLEAST64): Likewise.
39724 [C99-based-standards] (SCNiLEAST64): Likewise.
39725 [C99-based-standards] (SCNoLEAST64): Likewise.
39726 [C99-based-standards] (SCNuLEAST64): Likewise.
39727 [C99-based-standards] (SCNxLEAST64): Likewise.
39728 [C99-based-standards] (PRIdFAST64): Likewise.
39729 [C99-based-standards] (PRIiFAST64): Likewise.
39730 [C99-based-standards] (PRIoFAST64): Likewise.
39731 [C99-based-standards] (PRIuFAST64): Likewise.
39732 [C99-based-standards] (PRIxFAST64): Likewise.
39733 [C99-based-standards] (PRIXFAST64): Likewise.
39734 [C99-based-standards] (SCNdFAST64): Likewise.
39735 [C99-based-standards] (SCNiFAST64): Likewise.
39736 [C99-based-standards] (SCNoFAST64): Likewise.
39737 [C99-based-standards] (SCNuFAST64): Likewise.
39738 [C99-based-standards] (SCNxFAST64): Likewise.
39739 [C99-based-standards] (PRIdMAX): Likewise.
39740 [C99-based-standards] (PRIiMAX): Likewise.
39741 [C99-based-standards] (PRIoMAX): Likewise.
39742 [C99-based-standards] (PRIuMAX): Likewise.
39743 [C99-based-standards] (PRIxMAX): Likewise.
39744 [C99-based-standards] (PRIXMAX): Likewise.
39745 [C99-based-standards] (SCNdMAX): Likewise.
39746 [C99-based-standards] (SCNiMAX): Likewise.
39747 [C99-based-standards] (SCNoMAX): Likewise.
39748 [C99-based-standards] (SCNuMAX): Likewise.
39749 [C99-based-standards] (SCNxMAX): Likewise.
39750 [C99-based-standards] (PRIdPTR): Likewise.
39751 [C99-based-standards] (PRIiPTR): Likewise.
39752 [C99-based-standards] (PRIoPTR): Likewise.
39753 [C99-based-standards] (PRIuPTR): Likewise.
39754 [C99-based-standards] (PRIxPTR): Likewise.
39755 [C99-based-standards] (PRIXPTR): Likewise.
39756 [C99-based-standards] (SCNdPTR): Likewise.
39757 [C99-based-standards] (SCNiPTR): Likewise.
39758 [C99-based-standards] (SCNoPTR): Likewise.
39759 [C99-based-standards] (SCNuPTR): Likewise.
39760 [C99-based-standards] (SCNxPTR): Likewise.
39761 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
39762 allow.
39763 * conform/data/stdint.h-data: Update comments to clarify
39764 requirements.
39765 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
39766 type.
39767 [C99-based standards] (INT8_MAX): Likewise.
39768 [C99-based standards] (INT16_MIN): Likewise.
39769 [C99-based standards] (INT16_MAX): Likewise.
39770 [C99-based standards] (INT32_MIN): Likewise.
39771 [C99-based standards] (INT32_MAX): Likewise.
39772 [C99-based standards] (INT64_MIN): Likewise.
39773 [C99-based standards] (INT64_MAX): Likewise.
39774 [C99-based standards] (UINT8_MAX): Likewise.
39775 [C99-based standards] (UINT16_MAX): Likewise.
39776 [C99-based standards] (UINT32_MAX): Likewise.
39777 [C99-based standards] (UINT64_MAX): Likewise.
39778 [C99-based standards] (INT_LEAST8_MIN): Likewise.
39779 [C99-based standards] (INT_LEAST8_MAX): Likewise.
39780 [C99-based standards] (INT_LEAST16_MIN): Likewise.
39781 [C99-based standards] (INT_LEAST16_MAX): Likewise.
39782 [C99-based standards] (INT_LEAST32_MIN): Likewise.
39783 [C99-based standards] (INT_LEAST32_MAX): Likewise.
39784 [C99-based standards] (INT_LEAST64_MIN): Likewise.
39785 [C99-based standards] (INT_LEAST64_MAX): Likewise.
39786 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
39787 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
39788 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
39789 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
39790 [C99-based standards] (INT_FAST8_MIN): Likewise.
39791 [C99-based standards] (INT_FAST8_MAX): Likewise.
39792 [C99-based standards] (INT_FAST16_MIN): Likewise.
39793 [C99-based standards] (INT_FAST16_MAX): Likewise.
39794 [C99-based standards] (INT_FAST32_MIN): Likewise.
39795 [C99-based standards] (INT_FAST32_MAX): Likewise.
39796 [C99-based standards] (INT_FAST64_MIN): Likewise.
39797 [C99-based standards] (INT_FAST64_MAX): Likewise.
39798 [C99-based standards] (UINT_FAST8_MAX): Likewise.
39799 [C99-based standards] (UINT_FAST16_MAX): Likewise.
39800 [C99-based standards] (UINT_FAST32_MAX): Likewise.
39801 [C99-based standards] (UINT_FAST64_MAX): Likewise.
39802 [C99-based standards] (INTPTR_MIN): Likewise.
39803 [C99-based standards] (INTPTR_MAX): Likewise.
39804 [C99-based standards] (UINTPTR_MAX): Likewise.
39805 [C99-based standards] (INTMAX_MIN): Likewise.
39806 [C99-based standards] (INTMAX_MAX): Likewise.
39807 [C99-based standards] (UINTMAX_MAX): Likewise.
39808 [C99-based standards] (PTRDIFF_MIN): Likewise.
39809 [C99-based standards] (PTRDIFF_MAX): Likewise.
39810 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
39811 [C99-based standards] (SIZE_MAX): Likewise.
39812 [C99-based standards] (WCHAR_MAX): Likewise.
39813 [C99-based standards] (WINT_MAX): Likewise.
39814 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
39815 constraint on value.
39816 [C99-based standards] (WCHAR_MIN): Likewise.
39817 [C99-based standards] (WINT_MIN): Likewise.
39818 [C99-based standards] (*_t): Allow.
39819 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
39820 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
39821 Include math.h-data and complex.h-data. Remove all expectations
39822 of math.h and complex.h contents.
39823 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
39824 at end of line.
39825 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
39826 (struct tm): Expect tag.
39827 [C99-based-standards] (wcstof): Expect function.
39828 [C99-based-standards] (wcstold): Likewise.
39829 [C99-based-standards] (wcstoll): Likewise.
39830 [C99-based-standards] (wcstoull): Likewise.
39831 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
39832 macro-int-constant. Specify type.
39833 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
39834 constraint on value.
39835 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39836 Specify type.
39837 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
39838 Specify value.
39839 [ISO C standards]: Do not allow headers.
39840 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
39841 wcs[abcdefghijklmnopqrstuvwxyz]*.
39842 [ISO C standards] (*_t): Do not allow.
39843 * conform/data/wctype.h-data [C99-based standards] (iswblank):
39844 Expect function.
39845 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
39846 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39847 Specify type.
39848 [ISO C standards]: Do not allow headers.
39849 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
39850 is[abcdefghijklmnopqrstuvwxyz]*.
39851 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
39852 to[abcdefghijklmnopqrstuvwxyz]*.
39853 [ISO C standards] (*_t): Do not allow.
39854 * conform/data/stdalign.h-data: New file.
39855 * conform/data/stdbool.h-data: Likewise.
39856 * conform/data/stdnoreturn.h-data: Likewise.
39857
7514feb8
RM
398582012-11-07 Roland McGrath <roland@hack.frob.com>
39859
39860 [BZ #14815]
39861 * manual/filesys.texi (Directory Entries): Typo fix.
39862 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
39863
19b2ecfc
MS
398642012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39865
39866 * elf/elf.h (EM_AARCH64): New macro.
39867 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
39868 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
39869 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
39870 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
39871 (R_AARCH64_TLSDESC): Likewise.
39872 (NT_ARM_TLS): Likewise.
39873 (NT_ARM_HW_BREAK): Likewise.
39874 (NT_ARM_HW_WATCH): Likewise.
39875
60e235ee
JM
398762012-11-07 Joseph Myers <joseph@codesourcery.com>
39877
39878 [BZ #14811]
39879 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
39880 (__ieee754_powl): Saturate nonzero exponents with absolute value
39881 below 0x1p-79 to +/- 0x1p-79.
39882 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
39883 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
39884 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
39885 nonzero exponents with absolute value below 0x1p-32 to +/-
39886 0x1p-32.
39887 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
39888 (__ieee754_powl): Saturate nonzero exponents with absolute value
39889 below 0x1p-79 to +/- 0x1p-79.
39890 * math/libm-test.inc (pow_test): Add more tests.
39891
0ab234b7
AK
398922012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39893
39894 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
39895 _dl_s390_cap_flags with kernel. Increase string length.
39896 (_dl_s390_platforms): Add z196 and zEC12.
39897
45832f74
JM
398982012-11-07 Joseph Myers <joseph@codesourcery.com>
39899
39900 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
39901 Change XOPEN21K to XOPEN2K.
39902
19218757
MK
399032012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
39904
39905 * string/memmove.c: Use memcpy when possible.
39906
c5f45721
AJ
399072012-11-06 Andreas Jaeger <aj@suse.de>
39908
39909 * po/eo.po: Update from translation team.
39910
82477c28
JM
399112012-11-06 Joseph Myers <joseph@codesourcery.com>
39912
39913 [BZ #14793]
39914 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
39915 exponent and small x and y exponents, scale x or y up. Increase
39916 by 2 the exponent used in scaling up.
39917 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39918 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39919 * math/libm-test.inc (fma_test): Add more tests.
39920 (fma_test_towardzero): Likewise.
39921 (fma_test_downward): Likewise.
39922 (fma_test_upward): Likewise.
39923
99252c8c
JM
399242012-11-05 Joseph Myers <joseph@codesourcery.com>
39925
acfa885f
JM
39926 [BZ #14805]
39927 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
39928 fenv_t *.
39929
99252c8c
JM
39930 [BZ #14801]
39931 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
39932 namespace for names of struct fields.
39933 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
39934 fenv_t fields.
39935 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
39936 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
39937
d6d98dea
ST
399382012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
39939
39940 [BZ #3665]
39941 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
39942
e10bb107
TS
399432012-11-04 Thomas Schwinge <thomas@codesourcery.com>
39944
39945 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
39946 PTR_DEMANGLE.
39947
39948 [BZ #5246]
39949 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
39950 PTR_DEMANGLE.
39951
a0c2940d
JM
399522012-11-04 Joseph Myers <joseph@codesourcery.com>
39953
39954 [BZ #14797]
39955 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
39956 definitely overflow as x * y not x * y + z.
39957 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39958 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39959 * math/libm-test.inc (fma_test): Add more tests.
39960 (fma_test_towardzero): Likewise.
39961 (fma_test_downward): Likewise.
39962 (fma_test_upward): Likewise.
39963
b830319d
TS
399642012-11-04 Thomas Schwinge <thomas@codesourcery.com>
39965
39966 [BZ #157]
39967
39968 * include/stub-tag.h: Remove file.
39969 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
39970 '#include' of it.
39971 * manual/maint.texi (Porting): Don't reference it.
39972 * Makerules ($(objpfx)stubs): Likewise.
39973 * dirent/closedir.c: Don't include <stub-tag.h>.
39974 * dirent/dirfd.c: Likewise.
39975 * dirent/fdopendir.c: Likewise.
39976 * dirent/getdents.c: Likewise.
39977 * dirent/getdents64.c: Likewise.
39978 * dirent/opendir.c: Likewise.
39979 * dirent/readdir.c: Likewise.
39980 * dirent/readdir64.c: Likewise.
39981 * dirent/readdir64_r.c: Likewise.
39982 * dirent/readdir_r.c: Likewise.
39983 * dirent/rewinddir.c: Likewise.
39984 * dirent/seekdir.c: Likewise.
39985 * dirent/telldir.c: Likewise.
39986 * gmon/profil.c: Likewise.
39987 * grp/setgroups.c: Likewise.
39988 * inet/if_index.c: Likewise.
39989 * io/access.c: Likewise.
39990 * io/chdir.c: Likewise.
39991 * io/chmod.c: Likewise.
39992 * io/chown.c: Likewise.
39993 * io/close.c: Likewise.
39994 * io/dup.c: Likewise.
39995 * io/dup2.c: Likewise.
39996 * io/dup3.c: Likewise.
39997 * io/euidaccess.c: Likewise.
39998 * io/faccessat.c: Likewise.
39999 * io/fchdir.c: Likewise.
40000 * io/fchmod.c: Likewise.
40001 * io/fchmodat.c: Likewise.
40002 * io/fchown.c: Likewise.
40003 * io/fchownat.c: Likewise.
40004 * io/fcntl.c: Likewise.
40005 * io/flock.c: Likewise.
40006 * io/fstatfs.c: Likewise.
40007 * io/fstatfs64.c: Likewise.
40008 * io/fstatvfs.c: Likewise.
40009 * io/fstatvfs64.c: Likewise.
40010 * io/futimens.c: Likewise.
40011 * io/fxstat.c: Likewise.
40012 * io/fxstat64.c: Likewise.
40013 * io/fxstatat.c: Likewise.
40014 * io/fxstatat64.c: Likewise.
40015 * io/getcwd.c: Likewise.
40016 * io/isatty.c: Likewise.
40017 * io/lchmod.c: Likewise.
40018 * io/lchown.c: Likewise.
40019 * io/link.c: Likewise.
40020 * io/linkat.c: Likewise.
40021 * io/lseek.c: Likewise.
40022 * io/lseek64.c: Likewise.
40023 * io/lxstat64.c: Likewise.
40024 * io/mkdir.c: Likewise.
40025 * io/mkdirat.c: Likewise.
40026 * io/mkfifo.c: Likewise.
40027 * io/mkfifoat.c: Likewise.
40028 * io/open.c: Likewise.
40029 * io/open64.c: Likewise.
40030 * io/openat.c: Likewise.
40031 * io/openat64.c: Likewise.
40032 * io/pipe.c: Likewise.
40033 * io/pipe2.c: Likewise.
40034 * io/poll.c: Likewise.
40035 * io/posix_fadvise.c: Likewise.
40036 * io/posix_fadvise64.c: Likewise.
40037 * io/posix_fallocate.c: Likewise.
40038 * io/posix_fallocate64.c: Likewise.
40039 * io/read.c: Likewise.
40040 * io/readlink.c: Likewise.
40041 * io/readlinkat.c: Likewise.
40042 * io/rmdir.c: Likewise.
40043 * io/sendfile.c: Likewise.
40044 * io/sendfile64.c: Likewise.
40045 * io/statfs.c: Likewise.
40046 * io/statfs64.c: Likewise.
40047 * io/statvfs.c: Likewise.
40048 * io/statvfs64.c: Likewise.
40049 * io/symlink.c: Likewise.
40050 * io/symlinkat.c: Likewise.
40051 * io/ttyname.c: Likewise.
40052 * io/ttyname_r.c: Likewise.
40053 * io/umask.c: Likewise.
40054 * io/unlink.c: Likewise.
40055 * io/unlinkat.c: Likewise.
40056 * io/utime.c: Likewise.
40057 * io/utimensat.c: Likewise.
40058 * io/write.c: Likewise.
40059 * io/xmknod.c: Likewise.
40060 * io/xmknodat.c: Likewise.
40061 * io/xstat.c: Likewise.
40062 * io/xstat64.c: Likewise.
40063 * login/getpt.c: Likewise.
40064 * login/grantpt.c: Likewise.
40065 * login/unlockpt.c: Likewise.
40066 * math/e_acoshl.c: Likewise.
40067 * math/e_acosl.c: Likewise.
40068 * math/e_asinl.c: Likewise.
40069 * math/e_atan2l.c: Likewise.
40070 * math/e_atanhl.c: Likewise.
40071 * math/e_coshl.c: Likewise.
40072 * math/e_expl.c: Likewise.
40073 * math/e_fmodl.c: Likewise.
40074 * math/e_gammal_r.c: Likewise.
40075 * math/e_hypotl.c: Likewise.
40076 * math/e_j0l.c: Likewise.
40077 * math/e_j1l.c: Likewise.
40078 * math/e_jnl.c: Likewise.
40079 * math/e_lgammal_r.c: Likewise.
40080 * math/e_log10l.c: Likewise.
40081 * math/e_log2l.c: Likewise.
40082 * math/e_logl.c: Likewise.
40083 * math/e_powl.c: Likewise.
40084 * math/e_rem_pio2l.c: Likewise.
40085 * math/e_sinhl.c: Likewise.
40086 * math/e_sqrtl.c: Likewise.
40087 * math/fclrexcpt.c: Likewise.
40088 * math/fedisblxcpt.c: Likewise.
40089 * math/feenablxcpt.c: Likewise.
40090 * math/fegetenv.c: Likewise.
40091 * math/fegetexcept.c: Likewise.
40092 * math/fegetround.c: Likewise.
40093 * math/feholdexcpt.c: Likewise.
40094 * math/fesetenv.c: Likewise.
40095 * math/fesetround.c: Likewise.
40096 * math/feupdateenv.c: Likewise.
40097 * math/fgetexcptflg.c: Likewise.
40098 * math/fraiseexcpt.c: Likewise.
40099 * math/fsetexcptflg.c: Likewise.
40100 * math/ftestexcept.c: Likewise.
40101 * math/k_cosl.c: Likewise.
40102 * math/k_rem_pio2l.c: Likewise.
40103 * math/k_sinl.c: Likewise.
40104 * math/k_tanl.c: Likewise.
40105 * math/s_asinhl.c: Likewise.
40106 * math/s_atanl.c: Likewise.
40107 * math/s_cbrtl.c: Likewise.
40108 * math/s_erfl.c: Likewise.
40109 * math/s_expm1l.c: Likewise.
40110 * math/s_log1pl.c: Likewise.
40111 * math/s_tanhl.c: Likewise.
40112 * misc/acct.c: Likewise.
40113 * misc/brk.c: Likewise.
40114 * misc/chflags.c: Likewise.
40115 * misc/chroot.c: Likewise.
40116 * misc/fchflags.c: Likewise.
40117 * misc/fgetxattr.c: Likewise.
40118 * misc/flistxattr.c: Likewise.
40119 * misc/fremovexattr.c: Likewise.
40120 * misc/fsetxattr.c: Likewise.
40121 * misc/fsync.c: Likewise.
40122 * misc/ftruncate.c: Likewise.
40123 * misc/futimes.c: Likewise.
40124 * misc/futimesat.c: Likewise.
40125 * misc/getdomain.c: Likewise.
40126 * misc/getdtsz.c: Likewise.
40127 * misc/gethostid.c: Likewise.
40128 * misc/gethostname.c: Likewise.
40129 * misc/getloadavg.c: Likewise.
40130 * misc/getpagesize.c: Likewise.
40131 * misc/getsysstats.c: Likewise.
40132 * misc/getxattr.c: Likewise.
40133 * misc/gtty.c: Likewise.
40134 * misc/ioctl.c: Likewise.
40135 * misc/lgetxattr.c: Likewise.
40136 * misc/listxattr.c: Likewise.
40137 * misc/llistxattr.c: Likewise.
40138 * misc/lremovexattr.c: Likewise.
40139 * misc/lsetxattr.c: Likewise.
40140 * misc/lutimes.c: Likewise.
40141 * misc/madvise.c: Likewise.
40142 * misc/mincore.c: Likewise.
40143 * misc/mlock.c: Likewise.
40144 * misc/mlockall.c: Likewise.
40145 * misc/mmap.c: Likewise.
40146 * misc/mprotect.c: Likewise.
40147 * misc/msync.c: Likewise.
40148 * misc/munlock.c: Likewise.
40149 * misc/munlockall.c: Likewise.
40150 * misc/munmap.c: Likewise.
40151 * misc/preadv.c: Likewise.
40152 * misc/preadv64.c: Likewise.
40153 * misc/ptrace.c: Likewise.
40154 * misc/pwritev.c: Likewise.
40155 * misc/pwritev64.c: Likewise.
40156 * misc/readv.c: Likewise.
40157 * misc/reboot.c: Likewise.
40158 * misc/remap_file_pages.c: Likewise.
40159 * misc/removexattr.c: Likewise.
40160 * misc/revoke.c: Likewise.
40161 * misc/select.c: Likewise.
40162 * misc/setdomain.c: Likewise.
40163 * misc/setegid.c: Likewise.
40164 * misc/seteuid.c: Likewise.
40165 * misc/sethostid.c: Likewise.
40166 * misc/sethostname.c: Likewise.
40167 * misc/setregid.c: Likewise.
40168 * misc/setreuid.c: Likewise.
40169 * misc/setxattr.c: Likewise.
40170 * misc/sstk.c: Likewise.
40171 * misc/stty.c: Likewise.
40172 * misc/swapoff.c: Likewise.
40173 * misc/swapon.c: Likewise.
40174 * misc/sync.c: Likewise.
40175 * misc/syncfs.c: Likewise.
40176 * misc/syscall.c: Likewise.
40177 * misc/truncate.c: Likewise.
40178 * misc/ualarm.c: Likewise.
40179 * misc/usleep.c: Likewise.
40180 * misc/ustat.c: Likewise.
40181 * misc/utimes.c: Likewise.
40182 * misc/vhangup.c: Likewise.
40183 * misc/writev.c: Likewise.
40184 * posix/_exit.c: Likewise.
40185 * posix/alarm.c: Likewise.
40186 * posix/execve.c: Likewise.
40187 * posix/fexecve.c: Likewise.
40188 * posix/fork.c: Likewise.
40189 * posix/fpathconf.c: Likewise.
40190 * posix/getaddrinfo.c: Likewise.
40191 * posix/getegid.c: Likewise.
40192 * posix/geteuid.c: Likewise.
40193 * posix/getgid.c: Likewise.
40194 * posix/getgroups.c: Likewise.
40195 * posix/getlogin.c: Likewise.
40196 * posix/getlogin_r.c: Likewise.
40197 * posix/getpgid.c: Likewise.
40198 * posix/getpid.c: Likewise.
40199 * posix/getppid.c: Likewise.
40200 * posix/getresgid.c: Likewise.
40201 * posix/getresuid.c: Likewise.
40202 * posix/getsid.c: Likewise.
40203 * posix/getuid.c: Likewise.
40204 * posix/glob64.c: Likewise.
40205 * posix/nanosleep.c: Likewise.
40206 * posix/pathconf.c: Likewise.
40207 * posix/pause.c: Likewise.
40208 * posix/posix_madvise.c: Likewise.
40209 * posix/pread.c: Likewise.
40210 * posix/pread64.c: Likewise.
40211 * posix/pwrite.c: Likewise.
40212 * posix/pwrite64.c: Likewise.
40213 * posix/sched_getaffinity.c: Likewise.
40214 * posix/sched_getp.c: Likewise.
40215 * posix/sched_gets.c: Likewise.
40216 * posix/sched_primax.c: Likewise.
40217 * posix/sched_primin.c: Likewise.
40218 * posix/sched_rr_gi.c: Likewise.
40219 * posix/sched_setaffinity.c: Likewise.
40220 * posix/sched_setp.c: Likewise.
40221 * posix/sched_sets.c: Likewise.
40222 * posix/sched_yield.c: Likewise.
40223 * posix/setgid.c: Likewise.
40224 * posix/setlogin.c: Likewise.
40225 * posix/setpgid.c: Likewise.
40226 * posix/setresgid.c: Likewise.
40227 * posix/setresuid.c: Likewise.
40228 * posix/setsid.c: Likewise.
40229 * posix/setuid.c: Likewise.
40230 * posix/sleep.c: Likewise.
40231 * posix/spawni.c: Likewise.
40232 * posix/sysconf.c: Likewise.
40233 * posix/times.c: Likewise.
40234 * posix/wait.c: Likewise.
40235 * posix/wait3.c: Likewise.
40236 * posix/wait4.c: Likewise.
40237 * posix/waitpid.c: Likewise.
40238 * resolv/gai_sigqueue.c: Likewise.
40239 * resource/getpriority.c: Likewise.
40240 * resource/getrlimit.c: Likewise.
40241 * resource/getrusage.c: Likewise.
40242 * resource/nice.c: Likewise.
40243 * resource/setpriority.c: Likewise.
40244 * resource/setrlimit.c: Likewise.
40245 * resource/ulimit.c: Likewise.
40246 * rt/aio_cancel.c: Likewise.
40247 * rt/aio_fsync.c: Likewise.
40248 * rt/aio_read.c: Likewise.
40249 * rt/aio_sigqueue.c: Likewise.
40250 * rt/aio_suspend.c: Likewise.
40251 * rt/aio_write.c: Likewise.
40252 * rt/clock_getres.c: Likewise.
40253 * rt/clock_gettime.c: Likewise.
40254 * rt/clock_nanosleep.c: Likewise.
40255 * rt/clock_settime.c: Likewise.
40256 * rt/lio_listio.c: Likewise.
40257 * rt/mq_close.c: Likewise.
40258 * rt/mq_getattr.c: Likewise.
40259 * rt/mq_notify.c: Likewise.
40260 * rt/mq_open.c: Likewise.
40261 * rt/mq_receive.c: Likewise.
40262 * rt/mq_send.c: Likewise.
40263 * rt/mq_setattr.c: Likewise.
40264 * rt/mq_timedreceive.c: Likewise.
40265 * rt/mq_timedsend.c: Likewise.
40266 * rt/mq_unlink.c: Likewise.
40267 * rt/shm_open.c: Likewise.
40268 * rt/shm_unlink.c: Likewise.
40269 * rt/timer_create.c: Likewise.
40270 * rt/timer_delete.c: Likewise.
40271 * rt/timer_getoverr.c: Likewise.
40272 * rt/timer_gettime.c: Likewise.
40273 * rt/timer_settime.c: Likewise.
40274 * setjmp/__longjmp.c: Likewise.
40275 * setjmp/setjmp.c: Likewise.
40276 * signal/kill.c: Likewise.
40277 * signal/killpg.c: Likewise.
40278 * signal/raise.c: Likewise.
40279 * signal/sigaction.c: Likewise.
40280 * signal/sigaltstack.c: Likewise.
40281 * signal/sigblock.c: Likewise.
40282 * signal/sigignore.c: Likewise.
40283 * signal/sigintr.c: Likewise.
40284 * signal/signal.c: Likewise.
40285 * signal/sigpause.c: Likewise.
40286 * signal/sigpending.c: Likewise.
40287 * signal/sigqueue.c: Likewise.
40288 * signal/sigreturn.c: Likewise.
40289 * signal/sigset.c: Likewise.
40290 * signal/sigsetmask.c: Likewise.
40291 * signal/sigstack.c: Likewise.
40292 * signal/sigsuspend.c: Likewise.
40293 * signal/sigtimedwait.c: Likewise.
40294 * signal/sigvec.c: Likewise.
40295 * signal/sigwait.c: Likewise.
40296 * signal/sigwaitinfo.c: Likewise.
40297 * signal/sysv_signal.c: Likewise.
40298 * socket/accept.c: Likewise.
40299 * socket/accept4.c: Likewise.
40300 * socket/bind.c: Likewise.
40301 * socket/connect.c: Likewise.
40302 * socket/getpeername.c: Likewise.
40303 * socket/getsockname.c: Likewise.
40304 * socket/getsockopt.c: Likewise.
40305 * socket/isfdtype.c: Likewise.
40306 * socket/listen.c: Likewise.
40307 * socket/recv.c: Likewise.
40308 * socket/recvfrom.c: Likewise.
40309 * socket/recvmsg.c: Likewise.
40310 * socket/send.c: Likewise.
40311 * socket/sendmsg.c: Likewise.
40312 * socket/sendto.c: Likewise.
40313 * socket/setsockopt.c: Likewise.
40314 * socket/shutdown.c: Likewise.
40315 * socket/sockatmark.c: Likewise.
40316 * socket/socket.c: Likewise.
40317 * socket/socketpair.c: Likewise.
40318 * stdio-common/ctermid.c: Likewise.
40319 * stdio-common/cuserid.c: Likewise.
40320 * stdio-common/remove.c: Likewise.
40321 * stdio-common/rename.c: Likewise.
40322 * stdio-common/renameat.c: Likewise.
40323 * stdio-common/tempname.c: Likewise.
40324 * stdlib/getcontext.c: Likewise.
40325 * stdlib/makecontext.c: Likewise.
40326 * stdlib/setcontext.c: Likewise.
40327 * stdlib/swapcontext.c: Likewise.
40328 * stdlib/system.c: Likewise.
40329 * streams/fattach.c: Likewise.
40330 * streams/fdetach.c: Likewise.
40331 * streams/getmsg.c: Likewise.
40332 * streams/getpmsg.c: Likewise.
40333 * streams/putmsg.c: Likewise.
40334 * streams/putpmsg.c: Likewise.
40335 * sysdeps/unix/bsd/getpt.c: Likewise.
40336 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
40337 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
40338 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40340 Likewise.
40341 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
40342 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40343 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
40344 * sysvipc/msgctl.c: Likewise.
40345 * sysvipc/msgget.c: Likewise.
40346 * sysvipc/msgrcv.c: Likewise.
40347 * sysvipc/msgsnd.c: Likewise.
40348 * sysvipc/semctl.c: Likewise.
40349 * sysvipc/semget.c: Likewise.
40350 * sysvipc/semop.c: Likewise.
40351 * sysvipc/semtimedop.c: Likewise.
40352 * sysvipc/shmat.c: Likewise.
40353 * sysvipc/shmctl.c: Likewise.
40354 * sysvipc/shmdt.c: Likewise.
40355 * sysvipc/shmget.c: Likewise.
40356 * termios/tcdrain.c: Likewise.
40357 * termios/tcflow.c: Likewise.
40358 * termios/tcflush.c: Likewise.
40359 * termios/tcgetattr.c: Likewise.
40360 * termios/tcgetpgrp.c: Likewise.
40361 * termios/tcsendbrk.c: Likewise.
40362 * termios/tcsetattr.c: Likewise.
40363 * termios/tcsetpgrp.c: Likewise.
40364 * time/adjtime.c: Likewise.
40365 * time/clock.c: Likewise.
40366 * time/getitimer.c: Likewise.
40367 * time/gettimeofday.c: Likewise.
40368 * time/setitimer.c: Likewise.
40369 * time/settimeofday.c: Likewise.
40370 * time/stime.c: Likewise.
40371 * time/time.c: Likewise.
40372
403732012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 40374
a20492cf
PT
40375 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
40376 /usr/old/bin.
40377
72e182e3
PT
40378 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
40379 instead of spaces.
40380 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
40381
fbeafede
JM
403822012-11-03 Joseph Myers <joseph@codesourcery.com>
40383
5b5b04d6
JM
40384 [BZ #14796]
40385 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
40386 FE_TONEAREST before applying Dekker multiplication and Knuth
40387 addition. Clear inexact exceptions and check for exact zero
40388 results afterwards.
40389 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40390 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40391 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40392 * math/libm-test.inc (fma_test): Add more tests.
40393 (fma_test_towardzero): Likewise.
40394 (fma_test_downward): Likewise.
40395 (fma_test_upward): Likewise.
40396 * sysdeps/generic/math_private.h (default_libc_fesetround): New
40397 function.
40398 (libc_fesetround): New macro.
40399 (libc_fesetroundf): Likewise.
40400 (libc_fesetroundl): Likewise.
40401 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
40402 function.
40403 (libc_fesetround_387): Likewise.
40404 (libc_fesetroundf): New macro.
40405 (libc_fesetround): Likewise.
40406 (libc_fesetroundl): Likewise.
40407 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
40408 function.
40409 (libc_fesetroundf): New macro.
40410 (libc_fesetround): Likewise.
40411 (libc_fesetroundl): Likewise.
40412 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
40413 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
40414 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
40415 libm_hidden_ver.
40416 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
40417 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
40418 libm_hidden_def.
40419 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
40420 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
40421 libm_hidden_ver.
40422 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
40423 libm_hidden_def.
40424
fbeafede
JM
40425 [BZ #3439]
40426 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
40427 integer constant usable in #if and use that to give value to enum
40428 constant.
40429 (FE_DIVBYZERO): Likewise.
40430 (FE_UNDERFLOW): Likewise.
40431 (FE_OVERFLOW): Likewise.
40432 (FE_INVALID): Likewise.
40433 (FE_INVALID_SNAN): Likewise.
40434 (FE_INVALID_ISI): Likewise.
40435 (FE_INVALID_IDI): Likewise.
40436 (FE_INVALID_ZDZ): Likewise.
40437 (FE_INVALID_IMZ): Likewise.
40438 (FE_INVALID_COMPARE): Likewise.
40439 (FE_INVALID_SOFTWARE): Likewise.
40440 (FE_INVALID_SQRT): Likewise.
40441 (FE_INVALID_INTEGER_CONVERSION): Likewise.
40442 (FE_TONEAREST): Likewise.
40443 (FE_TOWARDZERO): Likewise.
40444 (FE_UPWARD): Likewise.
40445 (FE_DOWNWARD): Likewise.
40446 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
40447 (FE_DIVBYZERO): Likewise.
40448 (FE_OVERFLOW): Likewise.
40449 (FE_UNDERFLOW): Likewise.
40450 (FE_INEXACT): Likewise.
40451 (FE_TONEAREST): Likewise.
40452 (FE_DOWNWARD): Likewise.
40453 (FE_UPWARD): Likewise.
40454 (FE_TOWARDZERO): Likewise.
40455 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
40456 (FE_UNDERFLOW): Likewise.
40457 (FE_OVERFLOW): Likewise.
40458 (FE_DIVBYZERO): Likewise.
40459 (FE_INVALID): Likewise.
40460 (FE_TONEAREST): Likewise.
40461 (FE_TOWARDZERO): Likewise.
40462 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
40463 (FE_OVERFLOW): Likewise.
40464 (FE_UNDERFLOW): Likewise.
40465 (FE_DIVBYZERO): Likewise.
40466 (FE_INEXACT): Likewise.
40467 (FE_TONEAREST): Likewise.
40468 (FE_TOWARDZERO): Likewise.
40469 (FE_UPWARD): Likewise.
40470 (FE_DOWNWARD): Likewise.
40471 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
40472 (FE_DIVBYZERO): Likewise.
40473 (FE_OVERFLOW): Likewise.
40474 (FE_UNDERFLOW): Likewise.
40475 (FE_INEXACT): Likewise.
40476 (FE_TONEAREST): Likewise.
40477 (FE_DOWNWARD): Likewise.
40478 (FE_UPWARD): Likewise.
40479 (FE_TOWARDZERO): Likewise.
40480
105ca950
CM
404812012-11-02 Chris Metcalf <cmetcalf@tilera.com>
40482
40483 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
40484
a542b389
AS
404852012-11-03 Andreas Schwab <schwab@linux-m68k.org>
40486
40487 * scripts/cross-test-ssh.sh (command): Use newlines to separate
40488 commands. Quote $PWD.
40489 (blacklist_exports): Don't use remove_newlines. Replace "declare
40490 -x" by "export".
40491 (remove_newlines): Remove.
40492
f62c8abc
L
404932012-11-02 H.J. Lu <hongjiu.lu@intel.com>
40494
40495 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
40496 * stdlib/stdlib.h (atof): Moved to ...
40497 * include/bits/stdlib-float.h: Here. New file.
40498 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
40499 * stdlib/bits/stdlib-float.h: New file.
40500 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
40501 -mno-sse -mno-mmx.
40502 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
40503 <xmmintrin.h>.
40504
0155d5b2
JM
405052012-11-02 Joseph Myers <joseph@codesourcery.com>
40506
a68d0680
JM
40507 * conform/conformtest.pl (@headers): Add fenv.h.
40508 * conform/data/fenv.h-data: New file.
40509 * include/fenv.h [_ISOMAC]: Disable all contents of file except
40510 include of <math/fenv.h>.
40511
caf7f573
JM
40512 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
40513 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
40514 && !UNIX98]. Enables tests for XOPEN2K8.
40515 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
40516 POSIX2008]: Likewise.
40517
6c073ad6
JM
40518 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
40519 (struct rusage): Do not expect type or its members.
40520
0155d5b2
JM
40521 [BZ #3439]
40522 * math/math.h (FP_NAN): Define macro to integer constant usable in
40523 #if and use that to give value to enum constant.
40524 (FP_INFINITE): Likewise.
40525 (FP_ZERO): Likewise.
40526 (FP_SUBNORMAL): Likewise.
40527 (FP_NORMAL): Likewise.
40528
b5dcacb4
AS
405292012-11-02 Andreas Schwab <schwab@linux-m68k.org>
40530
40531 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
40532 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
40533 arguments.
40534
f7934be8
RM
405352012-11-02 Roland McGrath <roland@hack.frob.com>
40536
40537 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
40538 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
40539 autoconf-time if not.
40540 * configure.in: Remove AC_PREREQ.
40541
d7d08bde
TMQMF
405422012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40543
40544 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
40545 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
40546 of the internal implementation.
40547
dcdae19a
JM
405482012-11-02 Joseph Myers <joseph@codesourcery.com>
40549
40550 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
40551 except include of <misc/sys/syslog.h>.
40552
d6cffd3e
AS
405532012-11-01 Andreas Schwab <schwab@linux-m68k.org>
40554
40555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
40556 function returns with a NULL context exit with zero.
40557
b3563932
TMQMF
405582012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40559
40560 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
40561
b288a93d
L
405622012-11-01 H.J. Lu <hongjiu.lu@intel.com>
40563
40564 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
40565 (run_program_cmd): This.
40566 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
40567 (tst_langinfo): New variable. Use it.
40568
a2421a68
SAS
405692012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
40570
40571 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
40572 floating point opcodes.
40573
6f796e1b
TS
405742012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40575
7402596b
TS
40576 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
40577 variable.
40578
d0d4f868
TS
40579 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
40580
6f796e1b
TS
40581 * sysdeps/mach/hurd/powerpc: Remove directory.
40582 * sysdeps/mach/powerpc: Likewise.
40583
4da224a2
AS
405842012-11-01 Andreas Schwab <schwab@linux-m68k.org>
40585
40586 * scripts/check-local-headers.sh: Ignore c++ headers.
40587
341dd673
TS
405882012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40589
40590 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
40591 __libc_cleanup_region_start argument.
40592
473611b2
JM
405932012-11-01 Joseph Myers <joseph@codesourcery.com>
40594
40595 [BZ #14784]
40596 [BZ #14785]
40597 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
40598 x * y using scaling, not as x * y + z.
40599 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40600 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40601 * math/libm-test.inc (fma_test): Add more tests.
40602 (fma_test_towardzero): Likewise.
40603 (fma_test_downward): Likewise.
40604 (fma_test_upward): Likewise.
40605
4078da3d
TS
406062012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40607
40608 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
40609
903252aa
JM
406102012-10-31 Joseph Myers <joseph@codesourcery.com>
40611
40612 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
40613 New variable.
40614
cbc818d0
TS
406152012-10-31 Thomas Schwinge <thomas@codesourcery.com>
40616
40617 * rt/tst-shm.c (worker): Correct checking for mmap failure.
40618
5a03cb1e
AS
406192012-10-31 Andreas Schwab <schwab@linux-m68k.org>
40620
40621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40622 Fix sort order.
40623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40624 Likewise.
40625
90aff2ff
TMQMF
406262012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40627
40628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40629 Fix the order of the list for glibc 2.17.
40630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40631 Likewise.
40632
1818fcb7
AS
406332012-10-31 Andreas Schwab <schwab@linux-m68k.org>
40634
40635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40636
ef82f4da
JM
406372012-10-31 Joseph Myers <joseph@codesourcery.com>
40638
16a0e2ec
JM
40639 [BZ #14610]
40640 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
40641 for low part of x being zero before using __atanl (y).
40642 * math/libm-test.inc (atan2_test): Add another test.
40643
0eb69512
JM
40644 * manual/install.texi (Configuring and compiling): Document
40645 general use of test-wrapper and test-wrapper-env.
40646 * INSTALL: Regenerated.
40647
ef82f4da
JM
40648 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
40649 (__fma): Do not extract and scale down low bits on after-rounding
40650 systems when result rounded to normal precision would have normal
40651 exponent.
40652 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
40653 (__fmal): Do not extract and scale down low bits on after-rounding
40654 systems when result rounded to normal precision would have normal
40655 exponent.
40656 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
40657 (__fmal): Do not extract and scale down low bits on after-rounding
40658 systems when result rounded to normal precision would have normal
40659 exponent.
40660 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
40661 macro.
40662 (fma_test): Add more tests.
40663 (fma_test_towardzero): Likewise.
40664 (fma_test_downward): Likewise.
40665 (fma_test_upward): Likewise.
40666
954ef0d9
L
406672012-10-30 H.J. Lu <hongjiu.lu@intel.com>
40668
40669 * sysdeps/i386/tininess.h: Renamed to ...
40670 * sysdeps/x86/tininess.h: This.
40671 * sysdeps/x86_64/tininess.h: Removed.
40672
df61ffb2
JM
406732012-10-30 Joseph Myers <joseph@codesourcery.com>
40674
40675 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
40676 input. Use $(build-program-cmd).
40677 ($(objpfx)tst-array1-static.out): Likewise.
40678 ($(objpfx)tst-array2.out): Likewise.
40679 ($(objpfx)tst-array3.out): Likewise.
40680 ($(objpfx)tst-array4.out): Likewise.
40681 ($(objpfx)tst-array5.out): Likewise.
40682 ($(objpfx)tst-array5-static.out): Likewise.
40683
01767843
CM
406842012-10-30 Chris Metcalf <cmetcalf@tilera.com>
40685
47cc1490
CM
40686 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
40687 if defined.
40688
01767843
CM
40689 * nss/nsswitch.h (nss_interface_function): Provide new
40690 macro for use with NSS functions.
40691 * grp/initgroups.c: Use new macro.
40692 * nss/getXXbyYY.c: Likewise.
40693 * nss/getXXbyYY_r.c: Likewise.
40694 * nss/getXXent.c: Likewise.
40695 * nss/getXXent_r.c: Likewise.
40696 * sysdeps/posix/getaddrinfo.c: Likewise.
40697
8321aa97
AJ
406982012-10-30 Andreas Jaeger <aj@suse.de>
40699
40700 * po/ru.po: Update Russion translation from translation project.
40701
2a27fd6d
JM
407022012-10-30 Joseph Myers <joseph@codesourcery.com>
40703
8627a232
JM
40704 [BZ #14152]
40705 [BZ #14783]
40706 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
40707 result and shift together with sticky bit instead of replicating
40708 round-to-nearest rounding.
40709 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40710 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40711 * math/libm-test.inc (fma_test): Add more tests. Do not permit
40712 missing underflow exceptions.
40713 (fma_test_towardzero): Add more tests.
40714 (fma_test_downward): Likewise.
40715 (fma_test_upward): Likewise.
40716
2a27fd6d
JM
40717 [BZ #14047]
40718 * sysdeps/generic/tininess.h: New file.
40719 * sysdeps/i386/tininess.h: Likewise.
40720 * sysdeps/sh/tininess.h: Likewise.
40721 * sysdeps/x86_64/tininess.h: Likewise.
40722 * stdlib/tst-strtod-underflow.c: Likewise.
40723 * stdlib/tst-tininess.c: Likewise.
40724 * stdlib/strtod_l.c: Include <tininess.h>.
40725 (round_and_return): Do not set errno for exact underflow cases.
40726 Force an underflow exception when setting errno for underflow.
40727 Determine underflow based on rounding to normal precision if
40728 TININESS_AFTER_ROUNDING.
40729 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
40730 ERANGE for exact underflow cases.
40731 * stdlib/Makefile (tests): Add tst-tininess and
40732 tst-strtod-underflow.
40733 ($(objpfx)tst-tininess): Use $(link-libm).
40734 ($(objpfx)tst-strtod-underflow): Likewise.
40735
e7170363
AJ
407362012-10-30 Andreas Jaeger <aj@suse.de>
40737
e5088dc6
AJ
40738 [BZ#14767]
40739 * elf/Makefile (tests): Remove conditional for have-initfini-array
40740 since this is now always required and the variable does not exist
40741 anymore.
40742 (tests-static): Likewise.
40743 (modules-names): Likewise.
40744
e7170363 40745 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
40746
40747 * elf/tst-array1.c (fini_array): Make writeable so that it can be
40748 merged with constructor/destructor.
40749 (init_array): Likewise.
40750 * elf/tst-array2dep.c (fini_array): Likewise.
40751 (init_array): Likewise.
40752
60457d8a
MF
407532012-10-29 Mike Frysinger <vapier@gentoo.org>
40754
40755 * manual/message.texi: Delete @cartouche tags.
40756
8bece752
PT
407572012-10-29 Pino Toscano <toscano.pino@tiscali.it>
40758
94ce799f
PT
40759 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
40760 EOPNOTSUPP.
40761 * sysdeps/mach/hurd/fsync.c: Likewise.
40762
8bece752
PT
40763 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
40764 [_POSIX_REALTIME_SIGNALS]: Change condition to
40765 [_POSIX_REALTIME_SIGNALS > 0].
40766
86ebe6b1
AJ
407672012-10-27 Andreas Jaeger <aj@suse.de>
40768
40769 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
40770 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
40771 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
40772 [__WORDSIZE != 64]: Likewise.
40773
54399c08
L
407742012-10-26 H.J. Lu <hongjiu.lu@intel.com>
40775
40776 * iconvdata/tst-table.sh: Remove ${SHELL}.
40777 * iconvdata/tst-tables.sh: Likewise.
40778
e2211bed
DM
407792012-10-25 David S. Miller <davem@davemloft.net>
40780
40781 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40782 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
40783 of strtoull.
40784
f303f97c
DM
40785 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
40786 ifunc-impl-list.c
40787 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40788 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
40789 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
40790 file.
40791
1e9d84cd
RM
407922012-10-25 Roland McGrath <roland@hack.frob.com>
40793
40794 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40795 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
40796 __getdirentries.
40797
df381762
JM
407982012-10-25 Joseph Myers <joseph@codesourcery.com>
40799 Jim Blandy <jimb@codesourcery.com>
40800
40801 * scripts/cross-test-ssh.sh: New file.
40802 * manual/install.texi (Configuring and compiling): Document use of
40803 cross-test-ssh.sh.
40804 * INSTALL: Regenerated.
40805
bff64913
PT
408062012-10-25 Pino Toscano <toscano.pino@tiscali.it>
40807
40808 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
40809 EOPNOTSUPP.
40810
25fe8932
JM
408112012-10-25 Joseph Myers <joseph@codesourcery.com>
40812
40813 * Makeconfig (run-program-prefix): Fix comment.
40814
cc1290d0
JM
408152012-10-24 Joseph Myers <joseph@codesourcery.com>
40816 Jim Blandy <jimb@codesourcery.com>
40817
40818 * Makeconfig (test-wrapper): New variable,
40819 (test-wrapper-env): Likewise.
40820 [$(cross-compiling) = yes && $(test-wrapper) != ""]
40821 (run-built-tests): Define to yes.
40822 (run-program-prefix): Use $(test-wrapper).
40823 (built-program-cmd): Likewise.
40824 * Rules (make-test-out): Use $(test-wrapper-env) and
40825 $(host-built-program-cmd).
40826 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
40827 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
40828 tst-pathopt.sh.
40829 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
40830 $(test-wrapper-env) to tst-rtld-load-self.sh.
40831 ($(objpfx)order2.out): Use $(test-wrapper).
40832 ($(objpfx)tst-initorder.out): Likewise.
40833 ($(objpfx)tst-initorder2.out): Likewise.
40834 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
40835 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
40836 (test_wrapper_env): New variable. Use it to run ld.so.
40837 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
40838 Use it to run ld.so.
40839 (test_wrapper_env): Likewise.
40840 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
40841 $(test-wrapper) to run-iconv-test.sh.
40842 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
40843 (ICONV): Use $test_wrapper.
40844 * posix/Makefile ($(objpfx)globtest.out): Pass
40845 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
40846 globtest.sh, not $(run-program-prefix).
40847 * posix/globtest.sh (run_via_rtld_prefix): New variable.
40848 (test_wrapper): Likewise.
40849 (test_wrapper_env): Likewise. Use it to run globtest with HOME
40850 set together with run_via_rtld_prefix.
40851 (run_program_prefix): Define in terms of test_wrapper and
40852 run_via_rtld_prefix.
40853
6e6249d0
RM
408542012-10-24 Roland McGrath <roland@hack.frob.com>
40855
40856 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
40857 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
40858 Targets removed.
40859
40860 [BZ #14743]
40861 * include/time.h: Remove librt_hidden_proto (clock_gettime).
40862 Declare __clock_getres, __clock_gettime, __clock_settime,
40863 __clock_nanosleep, and __clock_getcpuclockid.
40864 * rt/clock_gettime.c: Define __clock_gettime as an alias.
40865 Remove librt_hidden_def (clock_gettime).
40866 * sysdeps/unix/clock_gettime.c: Likewise.
40867 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
40868 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
40869 * rt/clock_getres.c: Define __clock_getres as an alias.
40870 * sysdeps/posix/clock_getres.c: Likewise.
40871 * rt/clock_settime.c: Define __clock_settime as an alias.
40872 * sysdeps/unix/clock_settime.c: Likewise.
40873 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
40874 * sysdeps/unix/clock_nanosleep.c: Likewise.
40875 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
40876 * rt/clock-compat.c: New file.
40877 * rt/Makefile (librt-routines): Add clock-compat and move
40878 $(clock-routines) to ...
40879 (routines): ... here, new variable.
40880 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
40881 Don't add get_clockfreq here.
40882 * rt/Versions (libc: GLIBC_2.17): New version set.
40883 Add clock_* symbols here.
40884 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
40885 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
40886 (GLIBC_2.17): Add clock_* symbols.
40887 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40888 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40889 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40891 Likewise.
40892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40893 Likewise.
40894 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40898 * NEWS: Mention the move.
40899
40900 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
40901 Use __open, __read, __close rather than their public counterparts.
40902 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40903 (__get_clockfreq_via_cpuinfo): Likewise.
40904 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
40905 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
40906
40907 * config.h.in (HAVE_IFUNC): New #undef.
40908 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
40909 was successful.
40910 * configure: Regenerated.
40911
0cae3f4b
MF
409122012-10-24 Mike Frysinger <vapier@gentoo.org>
40913
40914 * configure.in: Move READELF check to start of file.
40915 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
40916 libc_cv_asm_gnu_indirect_function in the process.
40917 * configure: Regenerated.
40918
8175a253
MF
409192012-10-24 Mike Frysinger <vapier@gentoo.org>
40920
40921 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
40922 send the output to /dev/null.
40923 (libc_cv_cc_with_libunwind): Likewise.
40924 (libc_cv_as_noexecstack): Likewise.
40925 * configure: Regenerate.
40926
0708a7d1
JM
409272012-10-24 Joseph Myers <joseph@codesourcery.com>
40928
10b40d85
JM
40929 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
40930
0708a7d1
JM
40931 * posix/globtest.sh (TMPDIR): Do not set.
40932 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
40933 (testout): Likewise.
40934
9fddec1a
AJ
409352012-10-24 Andreas Jaeger <aj@suse.de>
40936
3a8db22f
AJ
40937 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
40938 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
40939 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
40940 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
40941 posix_fadvise64, posix_fallocate64.
40942
9fddec1a
AJ
40943 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
40944 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
40945 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
40946 Likewise.
40947 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
40948 Likewise.
40949 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
40950
40951 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
40952 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
40953 <bits/fcntl-linux.h>.
40954 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
40955
40956 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
40957 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
40958 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
40959 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
40960 [__WORDSIZE != 64]: Likewise.
40961
ebfd1bbd
JM
409622012-10-23 Joseph Myers <joseph@codesourcery.com>
40963
03ac099f
JM
40964 * Makeconfig (run-built-tests): New variable.
40965 * Rules [$(cross-compiling) = yes]: Change condition to
40966 [$(run-built-tests) = no].
40967 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
40968 to [$(run-built-tests) = yes].
40969 * elf/Makefile [$(cross-compiling) = no]: Likewise
40970 * grp/Makefile [$(cross-compiling) = no]: Likewise.
40971 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
40972 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
40973 * intl/Makefile [$(cross-compiling) = no]: Likewise.
40974 * io/Makefile [$(cross-compiling) = no]: Likewise.
40975 * libio/Makefile [$(cross-compiling) = no]: Likewise.
40976 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
40977 * misc/Makefile [$(cross-compiling) = no]: Likewise.
40978 * posix/Makefile [$(cross-compiling) = no]: Likewise.
40979 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
40980 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
40981 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
40982 * string/Makefile [$(cross-compiling) = no]: Likewise.
40983
ebfd1bbd
JM
40984 * posix/Makefile ($(objpfx)globtest.out): Pass
40985 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
40986 $(rtld-installed-name).
40987 * posix/globtest.sh (elf_objpfx): Remove variable.
40988 (rtld_installed_name): Likewise.
40989 (library_path): Likewise.
40990 (run_program_prefix): New variable. Use for running globtest
40991 binary.
40992
166bca24
JB
409932012-10-23 Jim Blandy <jimb@codesourcery.com>
40994 Joseph Myers <joseph@codesourcery.com>
40995
40996 * Makeconfig (host-built-program-cmd): New variable.
40997 * elf/Makefile (tst-stackguard1-ARGS): Use
40998 $(host-built-program-cmd).
40999 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
41000 (tst-spawn-ARGS): Likewise.
41001 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
41002
88866099
JM
410032012-10-23 Joseph Myers <joseph@codesourcery.com>
41004 Jim Blandy <jimb@codesourcery.com>
41005
41006 * Makeconfig (run-via-rtld-prefix): New variable.
41007 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
41008 (built-program-cmd): Likewise.
41009
b4b4c296
AJ
410102012-10-22 Andreas Jaeger <aj@suse.de>
41011
41012 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
41013 __O_RSYNC if it exists, otherwise to O_SYNC.
41014
6fb54a22
JB
410152012-10-22 Jim Blandy <jimb@codesourcery.com>
41016 Joseph Myers <joseph@codesourcery.com>
41017
41018 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
41019 /dev/null.
41020 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
41021 from /dev/null
41022 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
41023 /dev/null.
41024
481b90b9
AJ
410252012-10-22 Andreas Jaeger <aj@suse.de>
41026
2a0e2669
AJ
41027 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
41028 Define always.
41029 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
41030
76e38f9a
AJ
41031 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41032 bits/fcntl-linux.h.
41033
7cd37b43
AJ
41034 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
41035 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
41036
481b90b9
AJ
41037 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
41038 to __O_LARGEFILE.
41039 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
41040 to __O_LARGEFILE.
41041
aba75984
JB
410422012-10-21 Jim Blandy <jimb@codesourcery.com>
41043 Joseph Myers <joseph@codesourcery.com>
41044
41045 * config.make.in (NM): New variable.
41046
88d4247f
AJ
410472012-10-21 Andreas Jaeger <aj@suse.de>
41048
41049 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
41050 definitions and declarations that are provided by
41051 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41052
f2eed205
L
410532012-10-20 H.J. Lu <hongjiu.lu@intel.com>
41054
41055 [BZ #14683]
41056 * elf/Makefile (tests-static): Add tst-leaks1-static.
41057 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
41058 ($(objpfx)tst-leaks1-static): New rule.
41059 ($(objpfx)tst-leaks1-static-mem): Likewise.
41060 (tst-leaks1-static-ENV): New macro.
41061 * elf/dl-open.c (dl_open_worker): Check the main application
41062 only if SHARED is defined.
41063 * elf/tst-leaks1-static.c: New file.
41064
335e6931
AJ
410652012-10-20 Andreas Jaeger <aj@suse.de>
41066
41067 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
41068 generic values for Linux.
41069 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
41070 and declarations that are provided by <bits/fcntl-linux.h> and
41071 include <bits/fcntl-linux.h>.
41072 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41073 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41074
ac5c94d3
RM
410752012-10-20 Roland McGrath <roland@hack.frob.com>
41076
41077 * io/fcntl.h: Move include of <bits/types.h> to the top and
41078 include it unconditionally.
41079
de54b33a
L
410802012-10-20 H.J. Lu <hongjiu.lu@intel.com>
41081
228cfb01
L
41082 * wcsmbs/Makefile (tests-ifunc): New variable.
41083 (tests): Add $(tests-ifunc).
41084 * wcsmbs/test-wcschr-ifunc.c: New file.
41085 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
41086 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
41087 * wcsmbs/test-wcslen-ifunc.c: Likewise.
41088 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
41089 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
41090
69f07e5f
L
41091 * string/Makefile (tests-ifunc): New variable.
41092 (tests): Add $(tests-ifunc).
41093 * string/test-memccpy.c (TEST_NAME): New macro.
41094 * string/test-memchr.c (TEST_NAME): Likewise.
41095 * string/test-memcmp.c (TEST_NAME): Likewise.
41096 * string/test-memcpy.c (TEST_NAME): Likewise.
41097 * string/test-memmem.c (TEST_NAME): Likewise.
41098 * string/test-memmove.c (TEST_NAME): Likewise.
41099 * string/test-memset.c (TEST_NAME): Likewise.
41100 * string/test-rawmemchr.c (TEST_NAME): Likewise.
41101 * string/test-stpcpy.c (TEST_NAME): Likewise.
41102 * string/test-stpncpy.c (TEST_NAME): Likewise.
41103 * string/test-strcasecmp.c (TEST_NAME): Likewise.
41104 * string/test-strcasestr.c (TEST_NAME): Likewise.
41105 * string/test-strcat.c (TEST_NAME): Likewise.
41106 * string/test-strchr.c (TEST_NAME): Likewise.
41107 * string/test-strcmp.c(TEST_NAME): Likewise.
41108 * string/test-strcpy.c (TEST_NAME): Likewise.
41109 * string/test-strcspn.c (TEST_NAME): Likewise.
41110 * string/test-strlen.c (TEST_NAME): Likewise.
41111 * string/test-strncasecmp.c (TEST_NAME): Likewise.
41112 * string/test-strncmp.c (TEST_NAME): Likewise.
41113 * string/test-strncpy.c (TEST_NAME): Likewise.
41114 * string/test-strnlen.c (TEST_NAME): Likewise.
41115 * string/test-strpbrk.c (TEST_NAME): Likewise.
41116 * string/test-strrchr.c (TEST_NAME): Likewise.
41117 * string/test-strspn.c (TEST_NAME): Likewise.
41118 * string/test-strstr.c (TEST_NAME): Likewise.
41119 * string/test-bcopy-ifunc.c: New file.
41120 * string/test-bzero-ifunc.c: Likewise.
41121 * string/test-memccpy-ifunc.c: Likewise.
41122 * string/test-memchr-ifunc.c: Likewise.
41123 * string/test-memcmp-ifunc.c: Likewise.
41124 * string/test-memcpy-ifunc.c: Likewise.
41125 * string/test-memmem-ifunc.c: Likewise.
41126 * string/test-memmove-ifunc.c: Likewise.
41127 * string/test-mempcpy-ifunc.c: Likewise.
41128 * string/test-memset-ifunc.c: Likewise.
41129 * string/test-rawmemchr-ifunc.c: Likewise.
41130 * string/test-stpcpy-ifunc.c: Likewise.
41131 * string/test-stpncpy-ifunc.c: Likewise.
41132 * string/test-strcasecmp-ifunc.c: Likewise.
41133 * string/test-strcasestr-ifunc.c: Likewise.
41134 * string/test-strcat-ifunc.c: Likewise.
41135 * string/test-strchr-ifunc.c: Likewise.
41136 * string/test-strchrnul-ifunc.c: Likewise.
41137 * string/test-strcmp-ifunc.c: Likewise.
41138 * string/test-strcpy-ifunc.c: Likewise.
41139 * string/test-strcspn-ifunc.c: Likewise.
41140 * string/test-strlen-ifunc.c: Likewise.
41141 * string/test-strncasecmp-ifunc.c: Likewise.
41142 * string/test-strncat-ifunc.c: Likewise.
41143 * string/test-strncmp-ifunc.c: Likewise.
41144 * string/test-strncpy-ifunc.c: Likewise.
41145 * string/test-strnlen-ifunc.c: Likewise.
41146 * string/test-strpbrk-ifunc.c: Likewise.
41147 * string/test-strrchr-ifunc.c: Likewise.
41148 * string/test-strspn-ifunc.c: Likewise.
41149 * string/test-strstr-ifunc.c: Likewise.
41150
de54b33a
L
41151 * debug/Makefile (tests-ifunc): New variable.
41152 (tests): Add $(tests-ifunc).
41153 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
41154 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
41155 * debug/test-stpcpy_chk-ifunc.c: New file.
41156 * debug/test-strcpy_chk-ifunc.c: Likewise.
41157
88481c16
SP
411582012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
41159
41160 [BZ #13601]
41161 * elf/dl-load.c (open_verify): Retry read if the entire ELF
41162 header is not read in.
41163
135948bd
JM
411642012-10-19 Joseph Myers <joseph@codesourcery.com>
41165
89f1c388
JM
41166 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
41167 script to $(SHELL) as $<. Pass $(common-objpfx) to script
41168 directly. Pass built executable to script as
41169 $(built-program-cmd).
41170 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
41171 $testprogram without using LD_LIBRARY_PATH and $ldso.
41172
e40a0d21
JM
41173 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
41174 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
41175 $(rtld-installed-name).
41176 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
41177 (rtld_installed_name): Likewise.
41178 (library_path): Likewise.
41179 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
41180 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
41181 $(run-program-prefix) to tst-tables.sh.
41182 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
41183 it to run tst-table-from and tst-table-to.
41184 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
41185 Pass it to tst-table.sh.
41186 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
41187 $(run-program-prefix) to tst-gettext.sh.
41188 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
41189 tst-translit.sh.
41190 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
41191 tst-gettext2.sh.
41192 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
41193 to run tst-gettext.
41194 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
41195 to run tst-gettext2.
41196 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
41197 to run tst-translit.
41198 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
41199 $(run-program-prefix) to tst-mtrace.sh.
41200 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
41201 to run tst-mtrace.
41202 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
41203 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
41204 $(rtld-installed-name).
41205 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
41206 (rtld_installed_name): Likewise.
41207 (run_program_prefix): New variable. Use it to run wordexp-test.
41208
728e272a
JM
41209 * Makeconfig (ARCH): Remove all definitions.
41210 (machine): Likewise.
41211 [ARCH]: Remove conditional code.
41212 [!objdir]: Give error.
41213 [!objdir] (objpfx): Remove.
41214 [!objdir] (common-objpfx): Likewise.
41215 [!objdir] (common-objdir): Likewise.
41216 * configure.in (config_makefile): Remove. Hardcode Makefile in
41217 AC_CONFIG_FILES call.
41218 * configure: Regenerated.
41219
d528cdcf
JM
41220 [BZ #13888]
41221 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
41222 or TMPDIR.
41223 (testout): Likewise.
41224
135948bd
JM
41225 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
41226 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
41227 $(rtld-installed-name).
41228 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
41229 (rtld_installed_name): Likwise.
41230 (runit): Remove function.
41231 (run_getconf): New variable, Use it for running getconf binary.
41232
38c78296
L
412332012-10-18 H.J. Lu <hongjiu.lu@intel.com>
41234
41235 [BZ #14716]
41236 * string/test-memmem.c (check_result): New function.
41237 (do_one_test): Use it.
41238 (check1): New function.
41239 (test_main): Use it.
41240
d077f65f
MT
412412012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
41242
41243 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
41244
ced52c71
JM
412452012-10-18 Joseph Myers <joseph@codesourcery.com>
41246
41247 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
41248 (_G_LSEEK64): Likewise.
41249 (_G_MMAP64): Likewise.
41250 (_G_FSTAT64): Likewise.
41251 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
41252 (_G_LSEEK64): Likewise.
41253 (_G_MMAP64): Likewise.
41254 (_G_FSTAT64): Likewise.
41255 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
41256 unconditional. Call __mmap64 directly.
41257 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
41258 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
41259 __lseek64 directly.
41260 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
41261 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
41262 __mmap64 directly.
41263 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
41264 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
41265 __lseek64 directly.
41266 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
41267 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
41268 __lseek64 directly.
41269 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
41270 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
41271 __lseek64 directly.
41272 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
41273 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
41274 __fxstat64 directly.
41275 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
41276 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
41277 unconditional.
41278 (freopen64) [!_G_OPEN64]: Remove conditional code.
41279 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
41280 unconditional.
41281 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
41282 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
41283 unconditional.
41284 (ftello64) [!_G_LSEEK64]: Remove conditional code.
41285 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
41286 unconditional.
41287 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41288 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
41289 unconditional.
41290 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
41291 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
41292 unconditional.
41293 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41294 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
41295 unconditional.
41296 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41297 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
41298 unconditional.
41299 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41300
b741de23
SP
413012012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
41302
41303 [BZ #12140]
41304 * manual/memory.texi (Malloc Tunable Parameters): Add note
41305 about free list pointers overwriting some perturb bytes.
41306 Wording suggested by Roland McGrath.
41307
f9b9d9c9
JM
413082012-10-17 Joseph Myers <joseph@codesourcery.com>
41309
41310 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
41311 (lgamma_test): Likewise.
41312 (tgamma_test): Likewise.
41313
172a631a
FW
413142012-10-16 Florian Weimer <fweimer@redhat.com>
41315
41316 [BZ #14700]
41317 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
41318 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
41319
e9f37252
MK
413202012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
41321
41322 * NEWS: Mention BZ #14716.
41323 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
41324 when removing AVAILABLE1_USES_J macro.
41325
d394eb74
L
413262012-10-12 H.J. Lu <hongjiu.lu@intel.com>
41327
41328 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
41329 (__bswap_64): __uint64_t for unsigned 64-bit int.
41330
ca38dc17
AS
413312012-10-12 Andreas Schwab <schwab@linux-m68k.org>
41332
41333 * include/string.h (memmem): Declare libc hidden alias.
41334 * string/memmem.c (memmem): Define libc hidden alias.
41335 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
41336 __read, __close instead of open, read, close.
41337
9a387d1f
L
413382012-10-11 H.J. Lu <hongjiu.lu@intel.com>
41339
ac49ecaf
L
41340 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
41341 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
41342 global and hidden.
41343 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
41344 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
41345 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
41346 Likewise.
41347 (__rawmemchr_sse2): Likewise.
41348 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
41349 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
41350 (__strchr_sse2): Likewise.
41351 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
41352 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
41353 (__strcasecmp_sse2): Likewise.
41354 (__strncasecmp_sse2): Likewise.
41355 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
41356 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
41357 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
41358 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
41359 (__strrchr_sse2): Likewise.
41360 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
41361 ifunc-impl-list.c.
41362 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
41363 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
41364 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
41365 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41366 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
41367 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
41368 * sysdeps/x86_64/multiarch/memset.S: Likewise.
41369 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41370 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
41371 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
41372 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
41373 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
41374 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
41375 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
41376 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
41377 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41378 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
41379 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
41380 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
41381 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
41382 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
41383 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
41384 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
41385 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
41386 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
41387 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41388 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
41389 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
41390 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
41391 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
41392
b090e8ea
L
41393 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
41394 global and hidden.
41395 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
41396 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
41397 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
41398 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
41399 Likewise.
41400 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
41401 Likewise.
41402 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
41403 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
41404 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
41405 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
41406 ifunc-impl-list.c.
41407 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41408 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41409 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41410 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41411 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41412 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41413 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41414 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41415 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41416 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41417 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41418 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41419 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41420 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
41421 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
41422 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41423 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
41424 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
41425 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41426 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41427 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41428 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41429 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41430 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41431 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41432 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
41433 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
41434 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
41435 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
41436 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41437 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
41438 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41439 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41440 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
41441 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41442 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41443 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41444 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41445 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41446 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41447 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
41448
11dd4af6
L
41449 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
41450 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
41451 * include/ifunc-impl-list.h: New file.
41452 * misc/ifunc-impl-list.c: Likewise.
41453 * misc/Makefile (routines): Add ifunc-impl-list.
41454 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
41455 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
41456 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
41457 TEST_NAME]: New variables.
11dd4af6
L
41458 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
41459 are defined.
41460 (test_init): Call __libc_ifunc_impl_list to initialize
41461 func_list if TEST_IFUNC and TEST_NAME are defined.
41462
9a387d1f
L
41463 * string/Makefile (strop-tests): Add bcopy and bzero.
41464 * string/test-bcopy.c: New file.
41465 * string/test-bzero.c: Likewise.
41466 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
41467 defined.
41468 * string/test-memset.c: Support bzero test if TEST_BZERO is
41469 defined.
41470 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
41471 __libc_memmove.
41472 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
41473 __libc_memset.
41474 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
41475 of memset.
41476
472371b9
JM
414772012-10-10 Joseph Myers <joseph@codesourcery.com>
41478
1e4a9536
JM
41479 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
41480 * configure: Regenerated.
41481
d173d12e
JM
41482 * Makeconfig (+link-static-before-libc): Don't include
41483 $(link-static-libc).
41484
472371b9
JM
41485 * libio/libio.h (_IO_pos_t): Remove.
41486
89a3ad0b
AO
414872012-10-10 Alexandre Oliva <aoliva@redhat.com>
41488
41489 * NEWS: Add note about FIPS mode. Wording suggested by Roland
41490 McGrath.
41491
e7451425
AO
414922012-10-10 Alexandre Oliva <aoliva@redhat.com>
41493
41494 * crypt/crypt-entry.c: Include fips-private.h.
41495 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
41496 * crypt/md5c-test.c (main): Tolerate disabled MD5.
41497 * sysdeps/unix/sysv/linux/fips-private.h: New file.
41498 * sysdeps/generic/fips-private.h: New file, dummy fallback.
41499
4ba74a35
AO
415002012-10-10 Alexandre Oliva <aoliva@redhat.com>
41501
41502 * crypt/crypt-private.h: Include stdbool.h.
41503 (_ufc_setup_salt_r): Return bool.
41504 * crypt/crypt-entry.c: Include errno.h.
41505 (__crypt_r): Return NULL with EINVAL for bad salt.
41506 * crypt/crypt_util.c (bad_for_salt): New.
41507 (_ufc_setup_salt_r): Check that salt is long enough and within
41508 the specified alphabet.
41509 * crypt/badsalttest.c: New file.
41510 * crypt/Makefile (tests): Add it.
41511 ($(objpfx)badsalttest): New.
41512
f96f1242
MK
415132012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
41514
41515 * NEWS: Add entry for BZ #14602.
41516
0e8e0c1c
JM
415172012-10-09 Joseph Myers <joseph@codesourcery.com>
41518
41519 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
41520 type-generic.
41521 * math/libm-test.inc: Update comment listing what functions and
41522 macros are tested.
41523 (isgreater_test): New function.
41524 (isgreaterequal_test): Likewise.
41525 (isless_test): Likewise.
41526 (islessequal_test): Likewise.
41527 (islessgreater_test): Likewise.
41528 (isunordered_test): Likewise.
41529 (main): Call the new functions.
41530
273edc5e
RM
415312012-10-09 Roland McGrath <roland@hack.frob.com>
41532
b8493de0
RM
41533 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
41534 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
41535 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
41536 * sysdeps/i386/configure: Regenerated.
41537 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
41538 * sysdeps/mach/configure: Regenerated.
41539 * sysdeps/mach/hurd/configure: Regenerated.
41540 * sysdeps/powerpc/configure: Regenerated.
41541 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41542 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41543 * sysdeps/s390/s390-32/configure: Regenerated.
41544 * sysdeps/s390/s390-64/configure: Regenerated.
41545 * sysdeps/sh/configure: Regenerated.
41546 * sysdeps/sparc/configure: Regenerated.
41547 * sysdeps/unix/sysv/linux/configure: Regenerated.
41548 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
41549 * sysdeps/x86_64/configure: Regenerated.
41550
273edc5e
RM
41551 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
41552 defined. Don't check if MAP is NULL.
41553
c8450f70
JM
415542012-10-09 Joseph Myers <joseph@codesourcery.com>
41555
41556 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
41557 (_G_stat64): Likewise.
41558 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
41559 (_G_stat64): Likewise.
41560 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
41561 instead of struct _G_stat64.
41562 * libio/fileops.c (mmap_remap_check): Likewise.
41563 (decide_maybe_mmap): Likewise.
41564 (_IO_new_file_seekoff): Likewise.
41565 (_IO_file_stat): Likewise.
41566 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
41567 _G_off64_t.
41568 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
41569 instead of struct _G_stat64.
41570 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41571
57e605ba
MK
415722012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
41573
41574 [BZ #14602]
41575 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41576 Replace with ...
41577 (CHECK_EOL): New macro.
41578 (two_way_short_needle): Check beginning of haystack for EOL. Use
41579 CHECK_EOL.
41580 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41581 Replace with CHECK_EOL.
41582 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41583 Replace with CHECK_EOL.
41584
ef1bb361
JM
415852012-10-08 Joseph Myers <joseph@codesourcery.com>
41586
41587 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
41588 type-generic.
41589 * math/libm-test.inc: Update comment listing what functions and
41590 macros are tested.
41591 (finite_test): New function.
41592 (isinf_test): Likewise.
41593 (isnan_test): Likewise.
41594 (fpclassify_test): Test subnormal input.
41595 (isfinite_test): Likewise.
41596 (isnormal_test): Likewise.
41597 (main): Call the new functions.
41598
55f11534
JN
415992012-10-08 Jonathan Nieder <jrnieder@gmail.com>
41600
41601 [BZ #14660]
41602 * Makerules (%.dynsym): Force C locale when running
41603 $(OBJDUMP) --dynamic-syms.
41604
1ab29350
AS
416052012-10-08 Andreas Schwab <schwab@linux-m68k.org>
41606
41607 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
41608 <stdint.h>.
41609
f1ecb7ef
DM
416102012-10-06 David S. Miller <davem@davemloft.net>
41611
41612 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
41613 upper 32-bits of the length value in %o2 since we use branch-on-register
41614 tests which consider the entire 64-bit register.
41615
5d41d91a
L
416162012-10-06 H.J. Lu <hongjiu.lu@intel.com>
41617
41618 * string/test-strstr.c (check2): Add a test for page boundary.
41619
3baddb72
DM
416202012-10-05 David S. Miller <davem@davemloft.net>
41621
41622 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
41623 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
41624 file.
41625 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41626 sysdep_routines.
41627 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41628 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
41629 and bzero when HWCAP_SPARC_CRYPTO is present.
41630
9cee5585
L
416312012-10-05 H.J. Lu <hongjiu.lu@intel.com>
41632
d7e0dab9
L
41633 [BZ #14602]
41634 * string/test-strstr.c (check2): New function.
41635 (test_main): Call check2.
41636
03759f47
L
41637 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
41638 and bug-strchr1.
41639 * string/bug-strcasestr1.c (do_test): Moved to ...
41640 * string/test-strcasestr.c (check1): Here. New function.
41641 (do_one_test): Break out result checking code into ...
41642 (check_result): This. New function.
41643 (do_one_test): Call check_result.
41644 (test_main): Call check1.
41645 * string/bug-strchr1.c (do_test): Moved to ...
41646 * string/test-strchr.c (check1): Here. New function.
41647 (do_one_test): Break out result checking code into ...
41648 (check_result): This. New function.
41649 (do_one_test): Call check_result.
41650 (test_main): Call check1.
41651 * string/bug-strstr1.c (main): Moved to ...
046f153e 41652 * string/test-strstr.c (check1): Here. New function.
03759f47
L
41653 (do_one_test): Break out result checking code into ...
41654 (check_result): This. New function.
41655 (do_one_test): Call check_result.
41656 (test_main): Call check1.
41657 * string/bug-strcasestr1.c: Removed.
41658 * string/bug-strchr1.c: Likewise.
41659 * string/bug-strstr1.c: Likewise.
41660
53cea63e
L
41661 * elf/Makefile (dl-routines): Add hwcaps.
41662 * elf/dl-support.c (_dl_important_hwcaps): Removed.
41663 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
41664 (_dl_important_hwcaps): Moved to ...
41665 * elf/dl-hwcaps.c: Here. New file.
41666 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
41667
9cee5585 41668 [BZ #14557]
bb859b06
L
41669 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
41670 if IS_IN_rtld isn't defined.
41671
9cee5585
L
41672 * elf/dl-support.c (_dl_sysinfo_map): New.
41673 Include "get-dynamic-info.h" and "setup-vdso.h".
41674 (_dl_non_dynamic_init): Call setup_vdso.
41675 * elf/dynamic-link.h: Don't include <assert.h>.
41676 (elf_get_dynamic_info): Moved to ...
41677 * elf/get-dynamic-info.h: Here. New file.
41678 * elf/dynamic-link.h: Include "get-dynamic-info.h".
41679 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
41680 * elf/setup-vdso.h: Here. New file.
41681 * elf/rtld.c: Include "setup-vdso.h".
41682 (dl_main): Call setup_vdso.
41683
23c31b76
JM
416842012-10-05 Joseph Myers <joseph@codesourcery.com>
41685
28234b07
JM
41686 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
41687 creal in comment listing functions tested. List finite, isinf,
41688 isnan, isless, islessequal, isgreater, isgreaterequal,
41689 islessgreater, isunordered, lgamma_r and pow10 as functions and
41690 macros not tested. Mention which functions not tested are aliases
41691 for other functions. Fix typo. Note that signs of NaNs are not
41692 tested.
41693
23c31b76
JM
41694 * scripts/config.guess: Update from config.git.
41695 * scripts/config.sub: Likewise.
41696
9043e228
RM
416972012-10-04 Roland McGrath <roland@hack.frob.com>
41698
41699 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
41700 * misc/madvise.c (madvise): Renamed to __madvise.
41701 Make madvise a weak alias.
41702 * include/sys/mman.h: Declare __madvise.
41703 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
41704 * sysdeps/unix/syscalls.list
41705 (madvise): Make __madvise the strong name, and madvise a weak alias.
41706 * sysdeps/unix/sysv/linux/syscalls.list
41707 (madvise, mmap): Remove redundant entries.
41708 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
41709 * malloc/malloc.c (mtrim): Likewise.
41710 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
41711
f57f8055
RM
417122012-10-03 Roland McGrath <roland@hack.frob.com>
41713
41714 * sysdeps/mach/hurd/dl-cache.c: File removed.
41715 * config.h.in (USE_LDCONFIG): New #undef.
41716 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
41717 * configure: Regenerated.
41718 * elf/Makefile (dl-routines): Add dl-cache only under
41719 [$(use-ldconfig) = yes].
41720 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
41721 cache on [USE_LDCONFIG].
41722 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
41723 [USE_LDCONFIG].
41724 * elf/rtld.c (dl_main): Likewise.
41725
5bb0c10a
PT
417262012-10-03 Pino Toscano <toscano.pino@tiscali.it>
41727
41728 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
41729 _SC_LEVEL4_CACHE_LINESIZE.
41730
010188c6
RM
417312012-10-03 Roland McGrath <roland@hack.frob.com>
41732
41733 * sysdeps/unix/bsd/confstr.h: File removed.
41734
b6c5ec07
AO
417352012-10-02 Alexandre Oliva <aoliva@redhat.com>
41736
41737 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
41738 sys/sdt-config.h.
41739
408223d4
RM
417402012-10-02 Roland McGrath <roland@hack.frob.com>
41741
41742 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
41743 Make 'mapoff' field ElfW(Off) rather than off_t.
41744
bb9510dc
DL
417452012-10-02 Dmitry V. Levin <ldv@altlinux.org>
41746
fc997c6e
DL
41747 * nscd/Makefile: Remove nscd-cflags and all its users.
41748 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
41749 (CFLAGS-nonlib): Add compiler flags for nscd modules.
41750
bb9510dc
DL
41751 [BZ #10631]
41752 * malloc.c (malloc_printerr): Clarify error message.
41753
05699367
L
417542012-10-02 H.J. Lu <hongjiu.lu@intel.com>
41755
41756 [BZ #14648]
41757 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41758 Set bit_FMA_Usable if FMA is supported.
41759 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
41760 macro.
41761 (bit_FMA4_Usable): Updated.
41762 (index_FMA_Usable): New macro.
41763 (CPUID_FMA): Likewise
41764 (HAS_FMA): Defined with bit_FMA_Usable.
41765
51367701
RM
417662012-10-01 Roland McGrath <roland@hack.frob.com>
41767
41768 * bits/types.h (__swblk_t): Type removed.
41769 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
41770 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
41771 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41772 (__SWBLK_T_TYPE): Likewise.
41773 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41774 (__SWBLK_T_TYPE): Likewise.
41775 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41776 (__SWBLK_T_TYPE): Likewise.
41777 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41778 (__SWBLK_T_TYPE): Likewise.
41779
4d57bf63 417802012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 41781 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
41782
41783 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
41784 (xdr_mapname): Use YPMAXMAP as maxsize.
41785 (xdr_peername): Use YPMAXPEER as maxsize.
41786 (xdr_keydat): Use YPAXRECORD as maxsize.
41787 (xdr_valdat): Use YPMAXRECORD as maxsize.
41788
93c65d43
RM
417892012-10-01 Roland McGrath <roland@hack.frob.com>
41790
497a03d6
RM
41791 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
41792
93c65d43
RM
41793 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
41794 * csu/init-first.c: ... here.
41795 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
41796 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
41797 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
41798 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
41799 * sysdeps/i386/init-first.c: File removed.
41800 * sysdeps/sh/init-first.c: File removed.
41801
bec749fd
JM
418022012-10-01 Joseph Myers <joseph@codesourcery.com>
41803
41804 [BZ #14645]
41805 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
41806 if x * y might underflow to zero and z is zero.
41807 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41808 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41809 * math/libm-test.inc (min_subnorm_value): New variable.
41810 (fma_test): Add more tests.
41811 (fma_test_towardzero): Likewise.
41812 (fma_test_downward): Likewise
41813 (fma_test_upward): Likewise.
41814 (initialize): Set min_subnorm_value.
41815
8ec5b013
JM
418162012-09-29 Joseph Myers <joseph@codesourcery.com>
41817
41818 [BZ #14638]
41819 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
41820 0 + 0.
41821 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
41822 mode for addition resulting in exact zero.
41823 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
41824 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
41825 exact 0 + 0.
41826 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41827 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41828 * math/libm-test.inc (fma_test): Add more tests.
41829 (fma_test_towardzero): New function.
41830 (fma_test_downward): Likewise.
41831 (fma_test_upward): Likewise.
41832 (main): Call the new functions.
41833
b1fa802e
DM
418342012-09-28 David S. Miller <davem@davemloft.net>
41835
41836 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
41837
d3b9fd9e
RM
418382012-09-28 Roland McGrath <roland@hack.frob.com>
41839
ea4d37b3
RM
41840 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
41841 instead of SIGALRM.
41842
ac51c949
RM
41843 * sysdeps/gnu/_G_config.h: Moved to ...
41844 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
41845 * sysdeps/mach/hurd/_G_config.h: Moved to ...
41846 * sysdeps/generic/_G_config.h: ... here.
41847
28c195f7
RM
41848 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
41849
848917f9
RM
41850 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
41851
6bacf05b
RM
41852 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
41853 Conditionalize target on [libnss_test1.so-version].
41854
91363dbb
RM
41855 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
41856
cc87f7d8
RM
41857 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
41858 (elfobjdir): Move out of conditionals.
41859
b1c608fe
RM
41860 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
41861 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
41862 (__nss_lookup_function): Conditionalize label remove_from_tree on
41863 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 41864
1d9a6d96
DM
418652012-09-28 David S. Miller <davem@davemloft.net>
41866
41867 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
41868 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
41869 file.
41870 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41871 sysdep_routines.
41872 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41873 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
41874 when HWCAP_SPARC_CRYPTO is present.
41875
72581615
PT
418762012-09-28 Pino Toscano <toscano.pino@tiscali.it>
41877
41878 * io/tst-mknodat.c: Create a FIFO instead of a socket.
41879
715a900c
JL
418802012-09-28 Andreas Schwab <schwab@linux-m68k.org>
41881
41882 [BZ #6530]
41883 * stdio-common/vfprintf.c (process_string_arg): Revert
41884 2000-07-22 change.
41885
418862011-09-28 Jonathan Nieder <jrnieder@gmail.com>
41887
41888 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
41889 for testcase.
41890 * stdio-common/tst-sprintf.c: Include <locale.h>
41891 (main): Test sprintf's handling of incomplete multibyte
41892 characters.
41893
9bac1d86
L
418942012-09-28 H.J. Lu <hongjiu.lu@intel.com>
41895
41896 * elf/dl-runtime.c (VERSYMIDX): Removed.
41897 * elf/dl-version.c (VERSYMIDX): Likewise.
41898 * elf/do-rel.h (VERSYMIDX): Likewise.
41899 (VALIDX): Likewise.
41900 * elf/dynamic-link.h (VERSYMIDX): Likewise.
41901 * elf/rtld.c (VALIDX): Likewise.
41902 (ADDRIDX): Likewise.
9bac1d86
L
41903 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
41904 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
41905 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
41906 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
41907 (VALIDX): Likewise.
41908 (ADDRIDX): Likewise.
9bac1d86 41909
b31606c0
PT
419102012-09-28 Pino Toscano <toscano.pino@tiscali.it>
41911
41912 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
41913
11541177
JL
419142012-09-28 Dmitry V. Levin <ldv@altlinux.org>
41915
41916 [BZ #11438]
41917 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
41918 to global scope.
41919 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
41920 addresses are in the same scope as 192.0.2/24.
41921 * posix/gai.conf: Document new scope table defaults.
41922
adb26fae
SP
419232012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41924
41925 [BZ #5298]
41926 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
41927 for ftell. Compute offsets from write pointers instead.
41928 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41929
4573c6b0
SP
419302012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41931
41932 [BZ #14543]
41933 * libio/Makefile (tests): New test case tst-fseek.
41934 * libio/tst-fseek.c: New test case to verify that fseek/ftell
41935 combination works in wide mode.
41936 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
41937 state when the external buffer state changes.
41938
aa9bbfe6
DM
419392012-09-27 David S. Miller <davem@davemloft.net>
41940
41941 [BZ #14376]
41942 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
41943 pass reloc->r_addend in as the 'high' argument to
41944 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
41945
784421e7
DM
41946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41947
c39bc8b8
PT
419482012-09-28 Pino Toscano <toscano.pino@tiscali.it>
41949
41950 * rt/tst-aio2.c: Include <pthread.h>.
41951 * rt/tst-aio3.c: Likewise.
41952
1ccc2399
SE
419532012-09-27 Steve Ellcey <sellcey@mips.com>
41954
41955 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
41956
31ed4153
L
419572012-09-27 H.J. Lu <hongjiu.lu@intel.com>
41958
25f5f885
L
41959 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
41960 contents on [SHARED].
31ed4153 41961
b7bfe116
MP
419622012-09-26 Marek Polacek <polacek@redhat.com>
41963
41964 [BZ #14530]
41965 [BZ #13741]
41966 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
41967 for C++ and GCC <4.3 as well as for non GCC compilers.
41968
43c4edba
MT
419692012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
41970
41971 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41972
6a1bf82f
RM
419732012-09-25 Roland McGrath <roland@hack.frob.com>
41974
41975 * Makefile.in (all, install): Declare with .PHONY.
41976 Reported by Michael Hope <michael.hope@linaro.org>.
41977
8ad11b9a
TMQMF
419782012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41979
41980 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
41981 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
41982 system header.
41983 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
41984 Likewise.
41985 (sydep_routines): Add the new and the internal functions.
41986 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
41987 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
41988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
41989 (GLIBC_2.17): Add the new function.
41990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41991 (GLIBC_2.17): Likewise.
41992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
41993 (GLIBC_2.17): Likewise.
41994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
41995 (GLIBC_2.17): Likewise.
41996 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
41997
7e2fca8d
AM
419982012-09-25 Alan Modra <amodra@gmail.com>
41999
42000 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
42001 Add release barrier before setting once_control to say
42002 initialisation is done. Add hints on lwarx. Use macro in
42003 place of isync.
42004 (clear_once_control): Add release barrier.
42005
b87c4b24
JM
420062012-09-25 Joseph Myers <joseph@codesourcery.com>
42007
d032e0d2
JM
42008 [BZ #13629]
42009 * math/s_clog.c (__clog): Handle more values close to |z| = 1
42010 specially.
42011 * math/s_clog10.c (__clog10): Likewise.
42012 * math/s_clog10f.c (__clog10f): Likewise.
42013 * math/s_clog10l.c (__clog10l): Likewise.
42014 * math/s_clogf.c (__clogf): Likewise.
42015 * math/s_clogl.c (__clogl): Likewise.
42016 * math/Makefile (libm-calls): Add x2y2m1.
42017 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
42018 (__x2y2m1): Likewise.
42019 (__x2y2m1l): Likewise.
42020 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
42021 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
42022 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
42023 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42024 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
42025 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
42026 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
42027 * sysdeps/i386/fpu/libm-test-ulps: Update.
42028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42029
b87c4b24
JM
42030 [BZ #14621]
42031 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
42032 int as type of variable DEPTH.
42033 (glob): Use size_t instead of int as type of variables NEWCOUNT
42034 and OLD_PATHC.
42035
6d3bf199
LD
420362012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42037
22bf5c17
LD
42038 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42039 Add s_sincosf-sse2.
42040 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
42041 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
42042 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
42043 macros for using routine as __sincosf_ia32.
42044 Use macro for function declaration and weak_alias.
42045 * sysdeps/i386/fpu/libm-test-ulps: Update.
42046
42047 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
42048 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42049
42050 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
42051 subnormal argument.
42052 * math/s_cexpf.c (__cexpf): Likewise.
42053 * math/s_csinf.c (__csinf): Likewise.
42054 * math/s_csinhf.c (__csinhf): Likewise.
42055 * math/s_ctanf.c (__ctanf): Likewise.
42056 * math/s_ctanhf.c (__ctanhf): Likewise.
42057 * math/s_ccosh.c (__ccoshf): Likewise.
42058 * math/s_cexp.c (__cexpl): Likewise.
42059 * math/s_csin.c (__csin): Likewise.
42060 * math/s_csinh.c (__csinh): Likewise.
42061 * math/s_ctan.c (__ctan): Likewise.
42062 * math/s_ctanh.c (ctanh): Likewise.
42063 * math/s_ccoshl.c (__ccoshl): Likewise.
42064 * math/s_cexpl.c (__cexpl): Likewise.
42065 * math/s_csinl.c (__csinl): Likewise.
42066 * math/s_csinhl.c (__csinhl): Likewise.
42067 * math/s_ctanl.c (__ctanl): Likewise.
42068 * math/s_ctanhl.c (__ctanhl): Likewise.
42069
203e5603
JM
420702012-09-25 Joseph Myers <joseph@codesourcery.com>
42071
42072 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
42073 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
42074 (_IO_off_t): Define to __off_t, not _G_off_t.
42075 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
42076 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
42077 (_IO_wint_t): Define to wint_t, not _G_wint_t.
42078 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
42079 type of __dummy and __dummy2 fields.
42080 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
42081 (_G_ssize_t): Likewise.
42082 (_G_off_t): Likewise.
42083 (_G_pid_t): Likewise.
42084 (_G_uid_t): Likewise.
42085 (_G_wchar_t): Likewise.
42086 (_G_wint_t): Likewise.
42087 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
42088 (_G_ssize_t): Likewise.
42089 (_G_off_t): Likewise.
42090 (_G_pid_t): Likewise.
42091 (_G_uid_t): Likewise.
42092 (_G_wchar_t): Likewise.
42093 (_G_wint_t): Likewise.
42094 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
42095 (_G_ssize_t): Likewise.
42096 (_G_off_t): Likewise.
42097 (_G_pid_t): Likewise.
42098 (_G_uid_t): Likewise.
42099 (_G_wchar_t): Likewise.
42100 (_G_wint_t): Likewise.
42101
9fab36eb
SP
421022012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42103
42104 * malloc/arena.c: Include malloc-sysdep.h.
42105 (shrink_heap): Use check_may_shrink_heap to decide if madvise
42106 is sufficient to shrink the heap or an unmap is needed.
42107 * sysdeps/generic/malloc-sysdep.h: New file. Define
42108 new function check_may_shrink_heap.
42109 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
42110 new function check_may_shrink_heap.
42111
2b4f00d1
SP
421122012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42113
42114 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
42115 comments.
42116
9a9028b1
DL
421172012-09-24 Dmitry V. Levin <ldv@altlinux.org>
42118
57c69bef
DL
42119 * catgets/test-gencat.sh: Add "set -e".
42120 * elf/tst-pathopt.sh: Likewise.
42121 * grp/tst_fgetgrent.sh: Likewise.
42122 * iconvdata/run-iconv-test.sh: Likewise.
42123 * intl/tst-gettext.sh: Likewise.
42124 * intl/tst-gettext2.sh: Likewise.
42125 * intl/tst-gettext4.sh: Likewise.
42126 * intl/tst-gettext6.sh: Likewise.
42127 * intl/tst-translit.sh: Likewise.
42128 * io/ftwtest-sh: Likewise.
42129 * libio/test-freopen.sh: Likewise.
42130 * malloc/tst-mtrace.sh: Likewise.
42131 * posix/globtest.sh: Likewise.
42132 * posix/tst-getconf.sh: Likewise.
42133 * posix/wordexp-tst.sh: Likewise.
42134 * stdio-common/tst-printf.sh: Likewise.
42135 * stdio-common/tst-unbputc.sh: Likewise.
42136 * stdlib/tst-fmtmsg.sh: Likewise.
42137 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42138 * catgets/Makefile: Do not specify -e option when running
42139 testsuite shell scripts.
42140 * elf/Makefile: Likewise.
42141 * grp/Makefile: Likewise.
42142 * iconvdata/Makefile: Likewise.
42143 * intl/Makefile: Likewise.
42144 * io/Makefile: Likewise.
42145 * libio/Makefile: Likewise.
42146 * malloc/Makefile: Likewise.
42147 * posix/Makefile: Likewise.
42148 * stdio-common/Makefile: Likewise.
42149 * stdlib/Makefile: Likewise.
42150 * sysdeps/x86_64/Makefile: Likewise.
42151
9a9028b1
DL
42152 * io/ftwtest-sh: Add copyright header.
42153 * posix/globtest.sh: Likewise.
42154 * posix/tst-getconf.sh: Likewise.
42155 * posix/wordexp-tst.sh: Likewise.
42156 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42157
ced6f16e
L
421582012-09-24 H.J. Lu <hongjiu.lu@intel.com>
42159
94b32c39
L
42160 [BZ #13679]
42161 * Makeconfig (+link): Defined as $(+link-static) if
42162 $(build-shared) isn't yes.
42163 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
42164 isn't yes.
42165 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
42166
189e935b
L
42167 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
42168
ced6f16e
L
42169 [BZ #14562]
42170 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
42171 new chunk size with MALLOC_ALIGN_MASK.
42172
a9f8e53a
JM
421732012-09-24 Joseph Myers <joseph@codesourcery.com>
42174
42175 [BZ #5044]
42176 * stdio-common/printf_fphex.c: Include <stdbool.h> and
42177 <rounding-mode.h>.
42178 (__printf_fphex): Determine rounding using get_rounding_mode and
42179 round_away.
42180 * stdio-common/tst-printf-round.c (struct hex_test): New
42181 structure.
42182 (hex_tests): New variable.
42183 (test_hex_in_one_mode): New function.
42184 (do_test): Also run tests for hex float output.
42185
43153109
JM
421862012-09-21 Joseph Myers <joseph@codesourcery.com>
42187
42188 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42189 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42190 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
42191 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42192 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42193 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
42194 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42195 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42196
8a26625d
JM
421972012-09-20 Joseph Myers <joseph@codesourcery.com>
42198
42199 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
42200 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
42201 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
42202 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
42203
f3fd569c
DL
422042012-09-19 Dmitry V. Levin <ldv@altlinux.org>
42205
42206 [BZ #14579]
42207 * elf/rtld.c (dl_main): Limit the check for self loading to normal
42208 mode only.
42209 * elf/tst-rtld-load-self.sh: New test.
42210 * elf/Makefile: Run it.
42211
63bbedd4
JM
422122012-09-18 Joseph Myers <joseph@codesourcery.com>
42213
42214 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
42215 (tst-writev-ENV): Remove.
42216 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
42217
626f8b6a
CM
422182012-09-17 Chris Metcalf <cmetcalf@tilera.com>
42219
42220 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
42221
b7aaa4d6
JM
422222012-09-17 Joseph Myers <joseph@codesourcery.com>
42223
42224 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
42225 unconditional.
42226 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
42227 Likewise.
42228 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
42229 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
42230 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
42231 Likewise.
42232
65513990
L
422332012-09-14 H.J. Lu <hongjiu.lu@intel.com>
42234
42235 [BZ #14587]
42236 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
42237 * config.make.in (have-cpp-asm-debuginfo): Removed.
42238 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
42239 * configure: Regenerated.
42240
784761be
JM
422412012-09-14 Joseph Myers <joseph@codesourcery.com>
42242
42243 [BZ #5044]
42244 * stdio-common/printf_fp.c: Include <stdbool.h> and
42245 <rounding-mode.h>.
42246 (___printf_fp): Determine rounding using get_rounding_mode and
42247 round_away.
42248 * stdio-common/tst-printf-round.c: New file.
42249 * stdio-common/Makefile (tests): Add tst-printf-round.
42250 (link-libm): New variable.
42251 ($(objpfx)tst-printf-round): Depend in $(link-libm).
42252
9503345f
L
422532012-09-13 H.J. Lu <hongjiu.lu@intel.com>
42254
42255 [BZ #14576]
42256 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
42257 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
42258 Likewise.
42259 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
42260 Likewise.
42261
ad35fc00
JM
422622012-09-13 Joseph Myers <joseph@codesourcery.com>
42263
42264 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
42265 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42266 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42267 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42268
6c9b0f68
JM
422692012-09-12 Joseph Myers <joseph@codesourcery.com>
42270
42271 [BZ #14518]
42272 * include/rounding-mode.h: New file.
42273 * sysdeps/generic/get-rounding-mode.h: Likewise.
42274 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
42275 * stdlib/strtod_l.c: Include <rounding-mode.h>.
42276 (MAX_VALUE): New macro.
42277 (MIN_VALUE): Likewise.
42278 (overflow_value): New function.
42279 (underflow_value): Likewise.
42280 (round_and_return): Use overflow_value and underflow_value to
42281 determine return values in overflow and underflow cases. Use
42282 round_away to determine rounding depending on rounding mode.
42283 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
42284 determine return values in overflow and underflow cases.
42285 * stdlib/tst-strtod-round.c: Include <fenv.h>.
42286 (struct test_results): New structure.
42287 (struct test): Use struct test_results to store expected results
42288 for all rounding modes.
42289 (TEST): Include expected results for all rounding modes.
42290 (test_in_one_mode): New function.
42291 (do_test): Use test_in_one_mode to compute and check results.
42292 Check results for all rounding modes.
42293 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
42294 $(link-libm).
42295
19fcedd5
AM
422962012-12-09 Allan McRae <allan@archlinux.org>
42297
1e9d84cd 42298 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 42299
8bbfd2f1
JM
423002012-09-11 Joseph Myers <joseph@codesourcery.com>
42301
42302 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
42303 (_G_int32_t): Likewise.
42304 (_G_uint16_t): Likewise.
42305 (_G_uint32_t): Likewise.
42306 (_G_HAVE_BOOL): Likewise.
42307 (_G_HAVE_ATEXIT): Likewise.
42308 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42309 (_G_HAVE_IO_FILE_OPEN): Likewise.
42310 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
42311 (_G_int32_t): Likewise.
42312 (_G_uint16_t): Likewise.
42313 (_G_uint32_t): Likewise.
42314 (_G_HAVE_BOOL): Likewise.
42315 (_G_HAVE_ATEXIT): Likewise.
42316 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42317 (_G_HAVE_IO_FILE_OPEN): Likewise.
42318 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
42319 (_G_int32_t): Likewise.
42320 (_G_uint16_t): Likewise.
42321 (_G_uint32_t): Likewise.
42322 (_G_HAVE_BOOL): Likewise.
42323 (_G_HAVE_ATEXIT): Likewise.
42324 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42325 (_G_HAVE_IO_FILE_OPEN): Likewise.
42326
b1dc5912
L
423272012-09-11 H.J. Lu <hongjiu.lu@intel.com>
42328
42329 * csu/libc-tls.c: Update copyright years.
42330
0e886ef9
JM
423312012-09-10 Joseph Myers <joseph@codesourcery.com>
42332
28361c5e
JM
42333 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
42334 [!_G_USING_THUNKS]: Remove conditional code.
42335 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
42336 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
42337
0e886ef9
JM
42338 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
42339 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
42340 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42341 (_G_VTABLE_LABEL_PREFIX): Likewise.
42342 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42343 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42344 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42345 (_G_VTABLE_LABEL_PREFIX): Likewise.
42346 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42347 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42348 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42349 (_G_VTABLE_LABEL_PREFIX): Likewise.
42350 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42351
bcba7aa2
L
423522012-09-10 H.J. Lu <hongjiu.lu@intel.com>
42353
42354 * libio/Makefile: Include ../Makeconfig before tests.
42355 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
42356 only if $(build-shared) is yes.
42357
06585ee8
L
42358 * iconv/gconv_db.c: Update copyright years.
42359
80ccd52c
LD
423602012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42361
42362 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
42363 unwind info if defined PIC. Fix special cases description.
42364 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
42365
42366 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
42367 DP_HI_MASK entry.
42368 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
42369
691bc9c1
L
423702012-09-07 H.J. Lu <hongjiu.lu@intel.com>
42371
3d9b46b3
L
42372 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
42373
de2139a9
L
42374 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
42375 is NULL.
42376
5ca78dd0
L
42377 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
42378 (LDLIBS-tst-chk4): This.
42379 (LDFLAGS-tst-chk5): Renamed to ...
42380 (LDLIBS-tst-chk5): This.
42381 (LDFLAGS-tst-chk6): Renamed to ...
42382 (LDLIBS-tst-chk6): This.
42383 (LDFLAGS-tst-lfschk4): Renamed to ...
42384 (LDLIBS-tst-lfschk4): This.
42385 (LDFLAGS-tst-lfschk5): Renamed to ...
42386 (LDLIBS-tst-lfschk5): This.
42387 (LDFLAGS-tst-lfschk6): Renamed to ...
42388 (LDLIBS-tst-lfschk6): This.
42389
691bc9c1
L
42390 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
42391 on $(common-objpfx)soversions.mk.
42392
65cafb1c
JM
423932012-09-07 Joseph Myers <joseph@codesourcery.com>
42394
42395 [BZ #10014]
42396 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
42397 example host name.
42398
c78ab094
SP
423992012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
42400
42401 * malloc/arena.c (arena_get_retry): New function that gets
42402 another arena for the caller to try its request on.
42403 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
42404 current arena cannot fulfill the request.
42405 (__libc_memalign): Likewise.
42406 (__libc_memalign): Likewise.
42407 (__libc_pvalloc): Likewise.
42408 (__libc_calloc): Likewise.
42409
01f49f59
JT
424102012-09-05 John Tobey <john.tobey@gmail.com>
42411
42412 [BZ #13542]
42413 * manual/arith.texi (Operations on Complex): Fix description
42414 of carg branch cut.
42415
4c23fed5
JM
424162012-09-06 Joseph Myers <joseph@codesourcery.com>
42417
1d3c8572
JM
42418 [BZ #10014]
42419 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
42420 host name.
42421
4c23fed5
JM
42422 [BZ #10038]
42423 * manual/memory.texi (Memory): Make order of menu items match
42424 order of sections.
42425
04570aaa
L
424262012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42427
42428 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
42429 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
42430 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
42431
b80af2f4
L
424322012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42433
42434 * csu/libc-tls.c (static_dtv): Renamed to ...
42435 (_dl_static_dtv): This. Make it global.
42436 (_dl_initial_dtv): Removed.
42437 (__libc_setup_tls): Updated.
42438 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
42439 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
42440 DL_INITIAL_DTV.
42441
2abe9f15
PM
424422012-09-06 Petr Machata <pmachata@redhat.com>
42443
42444 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
42445 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
42446 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
42447 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
42448
0948c3af
L
424492012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42450
42451 [BZ #14545]
42452 * csu/libc-tls.c (_dl_initial_dtv): New variable.
42453 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
42454 freeing dtv[-1].
42455
a5055ad1
L
424562012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42457
42458 [BZ #14544]
42459 * Makeconfig (link-static-before-libc): Replace $(+prector)
42460 with $(+prectorT).
42461 (link-static-after-libc): Replace $(+postctor) with
42462 $(+postctorT).
42463 (link-bounded): Replace $(+prector)/$(+postctor) with
42464 $(+prectorT)/$(+postctorT).
42465 (+prectorT): New macro.
42466 (+postctorT): Likewise.
42467
ed8c2ecd
JM
424682012-09-06 Joseph Myers <joseph@codesourcery.com>
42469
42470 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
42471 (round_str): Handle values above the maximum for IBM long double
42472 as inexact.
42473 * stdlib/tst-strtod-round.c (tests): Regenerated.
42474
14c996c8
AK
424752012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42476
42477 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
42478 assembler flag.
42479 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
42480 zarch_nohighgprs around the zarch optimized routines.
42481 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
42482 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
42483 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
42484 for zarch.
42485
430d6ce6
DM
424862012-09-05 David S. Miller <davem@davemloft.net>
42487
42488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42489
57f41c40
AS
42490 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
42491 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
42492 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
42493 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42494 entries.
42495
24d4e01b
AO
424962012-09-05 Alexandre Oliva <aoliva@redhat.com>
42497
42498 * malloc/arena.c: Fold copyright years.
42499 * malloc/mcheck.c, malloc/memusage.c: Likewise.
42500
61d58174
AO
425012012-09-05 Alexandre Oliva <aoliva@redhat.com>
42502
42503 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
42504
20196a5e
AO
425052012-09-05 Alexandre Oliva <aoliva@redhat.com>
42506
42507 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
42508
5c447383
AO
425092012-09-05 Alexandre Oliva <aoliva@redhat.com>
42510
42511 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
42512 change internal state upon failure.
42513
fad64255
AO
425142012-09-05 Alexandre Oliva <aoliva@redhat.com>
42515
42516 * malloc/mcheck.c (mcheck_check_all): Fix typo.
42517 * malloc/memusage.c (mmap): Likewise.
42518 (mmap64, mremap): Likewise. Adjust name in comment.
42519
1ffb8c90
SP
425202012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
42521
42522 * libio/fileops.c: Fix typos in comments.
42523 * libio/oldfileops.c: Likewise.
42524 * libio/wfileops.c: Likewise.
42525
6ef9cc37
SP
425262012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
42527
42528 [BZ #1349]
42529 * malloc/Makefile (tests): Add tst-malloc-usable test case.
42530 (tst-malloc-usable-ENV): Set environment for test case.
42531 * malloc/hooks.c (malloc_check_get_size): New function to get
42532 requested size.
42533 * malloc/malloc.c (musable): Use malloc_check_get_size.
42534 * malloc/tst-malloc-usable.c: New test case.
42535
4d038ae3
AS
425362012-09-05 Andreas Schwab <schwab@linux-m68k.org>
42537
42538 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
42539
c4e85184
AM
425402012-09-05 Allan McRae <allan@archlinux.org>
42541
b9dafc56 42542 [BZ #13966]
c4e85184
AM
42543 * configure.in (CXX_SYSINCLUDES): Use compiler output to
42544 determine header location.
42545 * configure: Regenerated.
42546
e1343020
AS
425472012-09-05 Andreas Schwab <schwab@linux-m68k.org>
42548
42549 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
42550 float format.
42551 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
42552 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
42553 format.
e1343020
AS
42554 (test): Regenerate.
42555
0a9f1987
DM
425562012-09-04 David S. Miller <davem@davemloft.net>
42557
42558 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
42559 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
42560 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
42561
29237804
FW
425622012-09-04 Florian Weimer <fweimer@redhat.com>
42563
42564 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
42565 failures.
42566
edb3cb88
FW
42567 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
42568
60160d83
JM
425692012-09-04 Joseph Myers <joseph@codesourcery.com>
42570
42571 [BZ #9914]
42572 * libio/iogetdelim.c: Include <limits.h>.
42573 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
42574 + len + 1 would overflow.
42575
bcd6c8dc
AJ
425762012-09-03 Andreas Jaeger <aj@suse.de>
42577
42578 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42579 * sysdeps/i386/fpu/libm-test-ulps: Update.
42580
4ffffbd2
LD
425812012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42582
42583 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42584 Add s_sinf-sse2, s_conf-sse2.
42585
42586 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
42587 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
42588 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
42589 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
42590
42591 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
42592 for using routine as __sinf_ia32.
42593 Use macro for function declaration and weak_alias.
42594 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
42595 for using routine as __cosf_ia32.
42596 Use macro for function declaration and weak_alias.
42597
42598 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
42599 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
42600
42601 * sysdeps/x86_64/fpu/s_sinf.S: New file.
42602 * sysdeps/x86_64/fpu/s_cosf.S: New file.
42603 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42604
42605 * math/libm-test.inc (cos_test): Add more test cases.
42606 (sin_test): Likewise.
42607 (sincos_test): Likewise.
42608
511fa286
AK
426092012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42610
42611 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
42612 (IFUNC_RESOLVE): Make pointers to the specialized implementations
42613 hidden.
42614 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42615
5f30cfec
L
426162012-09-02 H.J. Lu <hongjiu.lu@intel.com>
42617
42618 [BZ #14538]
42619 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
42620 first element of the GOT.
42621 (elf_machine_load_address): Return the difference between
42622 the runtime address of _DYNAMIC and elf_machine_dynamic ().
42623
0786794f
AM
426242012-09-01 Allan McRae <allan@archlinux.org>
42625
5f30cfec
L
42626 [BZ #13412]
42627 * configure.in (AWK): Require gawk version 3.0 or later.
42628 * configure: Regenerated.
0786794f 42629
26889eac
JM
426302012-09-01 Joseph Myers <joseph@codesourcery.com>
42631
42632 * sysdeps/unix/sysv/linux/kernel-features.h
42633 (__ASSUME_POSIX_CPU_TIMERS): Remove.
42634 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42635 [__NR_clock_getres]: Make code unconditional.
42636 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
42637 (clock_getcpuclockid): Remove code left unreachable by removal of
42638 conditionals.
42639 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
42640 code unconditional.
42641 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42642 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42643 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
42644 Make code unconditional.
42645 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42646 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42647 * sysdeps/unix/sysv/linux/clock_settime.c
42648 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
42649 conditional code.
42650 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
42651 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42652
d22e28b0
L
426532012-08-29 H.J. Lu <hongjiu.lu@intel.com>
42654
42655 [BZ #14476]
42656 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
42657 scripts/test-installation.pl.
42658
42659 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
42660 and $ld_so_version if it is set.
42661
050af9c4
SP
426622012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42663
42664 [BZ #14516]
42665 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
42666 failure if reading from procfs failed.
42667 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
42668
ad845c0b
JM
426692012-08-27 Joseph Myers <joseph@codesourcery.com>
42670
42671 * sysdeps/unix/sysv/linux/kernel-features.h
42672 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
42673 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42674 Remove conditional code.
42675 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42676 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
42677 Remove conditional code.
42678 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42679 * sysdeps/unix/sysv/linux/i386/fxstat.c
42680 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42681 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42682 * sysdeps/unix/sysv/linux/i386/fxstatat.c
42683 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42684 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42685 * sysdeps/unix/sysv/linux/i386/lxstat.c
42686 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42687 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42688 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
42689 Remove conditional code.
42690 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42691 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42692 Remove conditional code.
42693 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42694 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
42695 <kernel-features.h>.
42696 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
42697 Remove.
42698 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
42699 Remove conditional code.
42700 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42701 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
42702 Remove conditional.
42703
5dbf56af
MF
427042012-08-27 Mike Frysinger <vapier@gentoo.org>
42705
42706 [BZ #5400]
42707 * NEWS: Add fixed bug number.
42708
d6e70f43
JM
427092012-08-27 Joseph Myers <joseph@codesourcery.com>
42710
7efb4737
JM
42711 [BZ #14519]
42712 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
42713 underflowing exponent in case of negative sign.
42714 * stdlib/tst-strtod-round-data: Add more tests.
42715 * stdlib/tst-strtod-round.c (tests): Regenerated.
42716
af92131a
JM
42717 [BZ #3479]
42718 * stdlib/strtod_l.c (NDIG): Remove.
42719 (HEXNDIG): Likewise.
42720 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
42721 smallest representable value.
42722 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
42723 lie within an exact representation of 1/2 ulp of the result.
42724 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
42725 unconditionally.
42726 (TENS_P9_IDX): Define unconditionally.
42727 (TENS_P9_SIZE): Likewise.
42728 (TENS_P10_IDX): Likewise.
42729 (TENS_P10_SIZE): Likewise.
42730 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
42731 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
42732 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
42733 entries for 10^2^13 and 10^2^14.
42734 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
42735 (TENS_P13_IDX): Define.
42736 (TENS_P13_SIZE): Likewise.
42737 (TENS_P14_IDX): Likewise.
42738 (TENS_P14_SIZE): Likewise.
42739 (_fpioconst_pow10): Change array size to
42740 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
42741 unconditional.
42742 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
42743 1024]: Add entries for 10^2^13 and 10^2^14.
42744 [LAST_POW10 > _LAST_POW10]: Remove #error.
42745 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
42746 (_fpioconst_pow10): Change array size to
42747 FPIOCONST_POW10_ARRAY_SIZE.
42748 * stdlib/gen-fpioconst.c: New file.
42749 * stdlib/gen-tst-strtod-round.c: Likewise.
42750 * stdlib/tst-strtod-round-data: Likewise.
42751 * stdlib/tst-strtod-round.c: Likewise.
42752 * stdlib/Makefile (tests): Add tst-strtod-round.
42753
d6e70f43
JM
42754 [BZ #14459]
42755 * stdlib/strtod_l.c: Include <stdint.h>.
42756 (NDEBUG): Do not define.
42757 (round_and_return): Change EXPONENT parameter to type intmax_t.
42758 Rearrange calculations to avoid internal overflow possibilities.
42759 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
42760 Rearrange calculations to avoid internal overflow possibilities.
42761 Assert that number fits inside MPNSIZE limbs.
42762 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
42763 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
42764 calculations and add assertions to avoid internal overflow
42765 possibilities. Add casts to avoid signed/unsigned operations.
42766 * stdlib/tst-strtod-overflow.c: New file.
42767 * stdlib/Makefile (tests): Add tst-strtod-overflow.
42768
1f529f7d
MP
427692012-08-25 Marek Polacek <polacek@redhat.com>
42770
42771 * time/time.h: Fix some typos in comments.
42772
59a629f1
RM
427732012-08-23 Roland McGrath <roland@hack.frob.com>
42774
42775 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
42776 * posix/tst-rfc3484-2.c: Likewise.
42777 * posix/tst-rfc3484-3.c: Likewise.
42778
d3bafbc9
SM
427792012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
42780
42781 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
42782 (EF_ARM_ABI_FLOAT_HARD): Likewise.
42783
4efcc022
JM
427842012-08-23 Joseph Myers <joseph@codesourcery.com>
42785
42786 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
42787 #include of fxstatat64.c.
42788
3cc3ef96
RM
427892012-08-22 Roland McGrath <roland@hack.frob.com>
42790
f04e2132
RM
42791 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
42792 * shadow/getspent_r.c: Likewise.
42793 * shadow/getspnam.c: Likewise.
42794 * shadow/getspnam_r.c: Likewise.
42795 * gshadow/getsgent.c: Likewise.
42796 * gshadow/getsgent_r.c: Likewise.
42797 * gshadow/getsgnam.c: Likewise.
42798 * gshadow/getsgnam_r.c: Likewise.
42799 * inet/getnetbyad.c: Likewise.
42800 * inet/getnetbyad_r.c: Likewise.
42801 * inet/getnetbynm.c: Likewise.
42802 * inet/getnetbynm_r.c: Likewise.
42803 * inet/getnetent.c: Likewise.
42804 * inet/getnetent_r.c: Likewise.
42805 * inet/getproto.c: Likewise.
42806 * inet/getproto_r.c: Likewise.
42807 * inet/getprtent.c: Likewise.
42808 * inet/getprtent_r.c: Likewise.
42809 * inet/getprtname.c: Likewise.
42810 * inet/getprtname_r.c: Likewise.
42811 * inet/getrpcbyname.c: Likewise.
42812 * inet/getrpcbyname_r.c: Likewise.
42813 * inet/getrpcbynumber.c: Likewise.
42814 * inet/getrpcbynumber_r.c: Likewise.
42815 * inet/getrpcent.c: Likewise.
42816 * inet/getrpcent_r.c: Likewise.
42817 * inet/getaliasent.c: Likewise.
42818 * inet/getaliasent_r.c: Likewise.
42819 * inet/getaliasname.c: Likewise.
42820 * inet/getaliasname_r.c: Likewise.
42821 * nscd/getgrgid_r.c: Likewise.
42822 * nscd/getgrnam_r.c: Likewise.
42823 * nscd/gethstbyad_r.c: Likewise.
42824 * nscd/gethstbynm3_r.c: Likewise.
42825 * nscd/getpwnam_r.c: Likewise.
42826 * nscd/getpwuid_r.c: Likewise.
42827 * nscd/getsrvbynm_r.c: Likewise.
42828 * nscd/getsrvbypt_r.c: Likewise.
42829 * nscd/gai.c: Likewise.
42830
c53d909c
RM
42831 * configure.in (build_nscd): New substituted variable, set
42832 by --disable-build-nscd and defaults to $use_nscd.
42833 * configure: Regenerated.
42834 * config.make.in (build-nscd): New substituted variable.
42835 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
42836 Change conditional to require [$(build-nscd) = yes] as well.
42837 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
42838
3cc3ef96
RM
42839 [BZ# 13696]
42840 * configure.in (use_nscd): New substituted variable, set by
42841 --disable-nscd. If enabled, define USE_NSCD.
42842 * configure: Regenerated.
42843 * config.h.in: Add USE_NSCD.
42844 * config.make.in (use-nscd): New substituted variable.
42845 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
42846 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
42847 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
42848 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
42849 (CFLAGS-getgrnam_r.c): Likewise.
42850 (CFLAGS-initgroups.c): Likewise.
42851 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
42852 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
42853 Variables removed.
42854 * inet/getnetgrent_r.c
42855 (nscd_setnetgrent): New function, broken out of ...
42856 (setnetgrent): ... here. Call it.
42857 (innetgr): Conditionalize nscd bits on [USE_NSCD].
42858 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
42859 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
42860 * nscd/Makefile (routines, aux): Move definitions after include of
42861 Makeconfig. Conditionalize on [$(use-nscd) != no].
42862 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
42863 Conditionalize on [USE_NSCD].
42864 (is_nscd, nscd_init_cb): Likewise.
42865 (nss_load_library): Conditionalize init callback on [USE_NSCD].
42866 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
42867 * nss/nss_db/db-init.c: Likewise.
42868 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
42869 [USE_NSCD].
42870 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
42871 (make_request): Use it.
42872 (cache_valid_p): New function.
42873 (__check_pf): Use it.
42874 * NEWS: Add item for --disable-nscd.
42875
07e51550
DL
428762012-08-22 Dmitry V. Levin <ldv@altlinux.org>
42877
42878 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
42879 to support sed >= 4.2.1-20-ga9bf076.
42880 * configure: Regenerated.
42881
35a5b08b
RM
428822012-08-22 Roland McGrath <roland@hack.frob.com>
42883
42884 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
42885 Conditionalize whole body on [IREL].
42886
8479f23a
JL
428872012-08-22 Jeff Law <law@redhat.com>
42888
42889 [BZ #14505]
42890 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
42891 if the family is PF_UNSPEC.
42892
48da0b21
MF
428932012-08-22 Mike Frysinger <vapier@gentoo.org>
42894
42895 * Makerules (lib-version): Rename from V.
42896 (install-lib-nosubdir): Change V to lib-version.
42897
15d0da8c
WS
428982012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
42899
42900 [BZ #14252]
42901 * powerpc32/power6/wcschr.c: New file.
42902 * powerpc32/power6/wcscpy.c: New file.
42903 * powerpc32/power6/wcsrchr.c: New file.
42904 * powerpc64/power6/wcschr.c: New file.
42905 * powerpc64/power6/wcscpy.c: New file.
42906 * powerpc64/power6/wcsrchr.c: New file.
42907
bcca0895
MK
429082012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
42909
42910 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
42911 (two_way_short_needle): Use it.
5a4aaa33
RM
42912 * string/strstr.c (AVAILABLE1_USES_J): Define.
42913 * string/strcasestr.c: Likewise.
99677e57
MK
42914
42915 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
42916 array references.
42917 * string/strcasestr.c (TOLOWER): Make side-effect safe.
42918
400726de
MK
42919 [BZ #11607]
42920 * NEWS: Add an entry.
42921 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
42922 define their defaults.
42923 (two_way_short_needle): Detect end-of-string on-the-fly.
42924 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
42925 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
42926 * string/bug-strcasestr1.c: New test.
42927 * string/Makefile: Run it.
42928
20a71f2c
MK
429292012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
42930
42931 [BZ #11607]
42932 * string/str-two-way.h (two_way_short_needle): Optimize matching of
42933 the first character.
42934
21ad0558
RM
429352012-08-21 Roland McGrath <roland@hack.frob.com>
42936
42937 * csu/elf-init.c (__libc_csu_irel): Function removed.
42938 * csu/libc-start.c (apply_irel): New function.
42939 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
42940
0e1d9911
JM
429412012-08-21 Joseph Myers <joseph@codesourcery.com>
42942
42943 * sysdeps/unix/sysv/linux/kernel-features.h
42944 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
42945 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
42946 <kernel-features.h>.
42947 [__NR_fadvise64_64]: Make code unconditional.
42948 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
42949 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
42950 !__NR_fadvise64_64)]: Likewise.
42951 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
42952 !__NR_fadvise64_64))]: Likewise.
42953 [__NR_fadvise64]: Make code unconditional.
42954 [!__NR_fadvise64]: Remove conditional code.
42955 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
42956 <kernel-features.h>.
42957 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42958 unconditional.
42959 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42960 conditional code.
42961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
42962 not include <kernel-features.h>.
42963 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42964 unconditional.
42965 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42966 conditional code.
42967 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
42968 include <kernel-features.h>.
42969 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42970 unconditional.
42971 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42972 conditional code.
42973
14a50c9d
WS
429742012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42975
42976 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
42977 slight instruction rearrangements per scrollpipe analysis.
42978 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
42979
c0f4faf0
RM
429802012-08-20 Roland McGrath <roland@hack.frob.com>
42981
696da859
RM
42982 * manual/syslog.texi (syslog; vsyslog, closelog):
42983 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
42984 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
42985
c0f4faf0
RM
42986 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
42987 DSOCAPS to match condition on defining it.
42988
348363b2
JM
429892012-08-20 Joseph Myers <joseph@codesourcery.com>
42990
a35cbf28
JM
42991 * sysdeps/unix/sysv/linux/kernel-features.h
42992 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
42993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
42994 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42995 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
42997 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42998 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
43000 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43001 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43002
445f7ecd
JM
43003 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
43004 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
43005
348363b2
JM
43006 * sysdeps/unix/sysv/linux/kernel-features.h
43007 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
43008 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
43009 unconditional.
43010 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43011 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
43012 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43013 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43014 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
43015 Make code unconditional.
43016 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43017 (__mmap64) [!__NR_mmap2]: Likewise.
43018 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
43019 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43020 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43021 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
43022 [__NR_mmap2]: Make code unconditional.
43023 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43024 (__mmap64) [!__NR_mmap2]: Likewise.
43025
bc5bc0e5
AK
430262012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43027
43028 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
43029
88d506de
AJ
430302012-08-18 Andreas Jaeger <aj@suse.de>
43031
43032 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
43033
493387d2
MF
430342012-08-18 Mike Frysinger <vapier@gentoo.org>
43035
43036 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
43037 * include/unistd.h (__have_sock_cloexec): Likewise.
43038 (__have_pipe2): Likewise.
43039 (__have_dup3): Likewise.
43040
a277af22
MF
430412012-08-18 Mike Frysinger <vapier@gentoo.org>
43042
43043 [BZ #9685]
43044 * include/unistd.h (__have_pipe2): Change define into an extern int.
43045 (__have_dup3): Likewise.
43046 * socket/have_sock_cloexec.c: Include fcntl.h.
43047 (__have_pipe2): New variable.
43048 (__have_dup3): Likewise.
43049
fdab8fd3
MF
430502012-08-17 Mike Frysinger <vapier@gentoo.org>
43051
43052 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
43053
31035e80
MP
430542012-08-17 Marek Polacek <polacek@redhat.com>
43055
43056 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
43057 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
43058
3bd9e993
RM
430592012-08-17 Roland McGrath <roland@hack.frob.com>
43060
c91c505f
RM
43061 * configure.in: Add AC_SUBST for sysheaders.
43062 * configure: Regenerated.
43063 * config.make.in (sysheaders): New substituted variable.
43064
7c6f9d53
RM
43065 * sysdeps/unix/mkfifo.c: Moved ...
43066 * sysdeps/posix/mkfifo.c: ... here.
43067 * sysdeps/unix/mkfifoat.c: Moved ...
43068 * sysdeps/posix/mkfifoat.c: ... here.
43069
43070 * sysdeps/unix/utime.c: Moved ...
43071 * sysdeps/posix/utime.c: ... here.
43072
43073 * sysdeps/unix/time.c: Moved ...
43074 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
43075 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
43076 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
43077
43078 * sysdeps/unix/nice.c: Moved ...
43079 * sysdeps/posix/nice.c: ... here.
43080
43081 * sysdeps/unix/alarm.c: Moved ...
43082 * sysdeps/posix/alarm.c: ... here.
43083
3bd9e993
RM
43084 * intl/Makefile ($(codeset_mo)): Depend on the input file.
43085
d1f09384
JL
430862012-08-17 Jeff Law <law@redhat.com>
43087
43088 * intl/Makefile (codeset_mo): New variable.
43089 ($(codeset_mo)): New target.
43090 (tst-codeset.out): Depend on that. Remove explicit rule.
43091 (tst-gettext3.out, tst-gettext5.out): Likewise.
43092 (LOCPATH-ENV, tst-codeset-ENV): New variables.
43093 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
43094 * intl/tst-codeset.sh: Remove.
43095 * intl/tst-gettext3.sh: Likewise.
43096 * intl/tst-gettext5.sh: Likewise.
43097
2ae1ae5c
RM
430982012-08-17 Roland McGrath <roland@hack.frob.com>
43099
c31fdb83
RM
43100 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
43101 * sysdeps/unix/syscalls.list: ... here.
43102
a0844057
RM
43103 * sysdeps/posix/getaddrinfo.c
43104 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
43105 (gaiconf_init, gaiconf_reload): Use them.
43106 [!_STATBUF_ST_NSEC]
43107 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
43108 Define using time_t rather than struct timespec.
43109
750c1f2a
RM
43110 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
43111 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
43112 Macros removed.
43113 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
43114 [!NO_THREADS].
43115 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
43116 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
43117 Likewise.
43118
2ae1ae5c
RM
43119 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
43120 __libc_cleanup_push argument.
43121
e66a42f5
RM
43122 * bits/param.h: New file.
43123 * misc/sys/param.h: New file.
43124 * include/sys/param.h: New file.
43125 * misc/Makefile (headers): Add bits/param.h.
43126 * sysdeps/generic/sys/param.h: File removed.
43127 * sysdeps/unix/sysv/linux/bits/param.h: New file.
43128 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
43129 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 43130 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 43131
b7c08a66
RM
43132 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
43133 last change.
43134
b2e1c562
RM
43135 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
43136 [_IO_MTSAFE_IO].
43137 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
43138 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
43139 New macros.
43140
c75ccd4c
RM
43141 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
43142 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
43143 rather than -D_IO_MTSAFE_IO conditionally.
43144 * stdio-common/Makefile (CPPFLAGS): Likewise.
43145 * wcsmbs/Makefile (CPPFLAGS): Likewise.
43146 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
43147 Use $(libio-mtsafe).
43148 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
43149 of -D_IO_MTSAFE_IO.
43150 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
43151 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
43152 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
43153 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
43154 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
43155 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
43156 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
43157 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
43158 (CFLAGS-fread_u_chk.c): Likewise.
43159 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
43160 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
43161 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
43162 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
43163 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
43164 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
43165 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
43166 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
43167 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
43168
43169 * libio/Makefile: Test [$(libc-reentrant) = yes]
43170 instead of [$(filter %REENTRANT, $(defines)) nonempty].
43171
43172 * Makeconfig
43173 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
43174 * sysdeps/pthread/configure: File removed.
43175 * sysdeps/pthread/Makeconfig: New file.
43176 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
43177 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
43178
d9195db8
GB
431792012-08-16 Gary Benson <gbenson@redhat.com>
43180
43181 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
43182 unmapping the first object in a namespace.
43183
86466cd9
RM
431842012-08-16 Roland McGrath <roland@hack.frob.com>
43185
43186 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
43187 (__internal_setnetgrent): ... this. Add internal_function to
43188 definition. Add libc_hidden_def.
43189 (setnetgrent): Update caller.
43190 (internal_endnetgrent): Renamed to ...
43191 (__internal_endnetgrent): ... this. Add internal_function to
43192 definition. Add libc_hidden_def.
43193 (endnetgrent): Update caller.
43194 (internal_getnetgrent_r): Renamed to ...
43195 (__internal_getnetgrent_r): ... this. Add internal_function to
43196 definition. Add libc_hidden_def.
43197 (__getnetgrent_r): Update caller.
43198 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
43199
c3c8283c
JM
432002012-08-16 Joseph Myers <joseph@codesourcery.com>
43201
43202 * stdlib/longlong.h: Update from GCC.
43203
db1ee0a8
RM
432042012-08-16 Roland McGrath <roland@hack.frob.com>
43205
43206 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
43207 on _QL, which is set by umul_ppmm but never used.
43208 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
43209 variables, which are set by GMP macros but never used.
43210 * stdio-common/_itowa.c (_itowa): Likewise.
43211 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
43212 * stdlib/mod_1.c (mpn_mod_1): Likewise.
43213
30f69637
CD
432142012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
43215
43216 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
43217 struct La_sh_regs is not constant.
43218 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
43219 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
43220 and struct La_sparc64_regs are not constant.
43221
93a78ac4
JM
432222012-08-16 Joseph Myers <joseph@codesourcery.com>
43223
43224 * sysdeps/unix/sysv/linux/kernel-features.h
43225 (__ASSUME_POSIX_TIMERS): Remove.
43226 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43227 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43228 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
43229 Make code unconditional.
43230 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43231 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
43232 Make code unconditional.
43233 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43234 * sysdeps/unix/sysv/linux/clock_nanosleep.c
43235 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
43236 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43237 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
43238 Make code unconditional.
43239 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43240 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
43241 (__libc_missing_posix_timers): Remove.
43242
dd924cd7
RM
432432012-08-15 Roland McGrath <roland@hack.frob.com>
43244
4b4f2771
RM
43245 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
43246 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
43247
601c888b
RM
43248 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
43249
176790a7
RM
43250 * elf/dl-sym.c: Include <stdlib.h>.
43251
329bc018
RM
43252 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
43253 constants, which avoids warnings in 32-bit builds.
43254
e04e272d
RM
43255 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
43256 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
43257
952bf94a
RM
43258 * misc/lseek.c: File moved to ...
43259 * io/lseek.c: ... here.
43260
7c99b50a
RM
43261 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
43262
dd924cd7
RM
43263 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
43264 shifting LEN more than 31 bits at once.
43265
b3f479a8
LD
432662012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43267
43268 [BZ #14195]
8c4ae0d4
RM
43269 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
43270 segmentation fault for a case of two empty input strings.
b3f479a8
LD
43271 * string/test-strncasecmp.c (check1): Renamed to...
43272 (bz12205): ...this.
43273 (bz14195): Add new testcase for two empty input strings and N > 0.
43274 (test_main): Call new testcase, adapt for renamed function.
43275
9c55864e
AJ
432762012-08-15 Andreas Jaeger <aj@suse.de>
43277
43278 [BZ #14090]
43279 * crypt/md5test2.c: New test, based on test supplied by Serge
43280 Belyshev <belyshev@depni.sinp.msu.ru>.
43281 * crypt/Makefile (xtests): Add md5test-giant..
43282 * crypt/Makefile ($(objpfx)md5test-giant): Add.
43283
02dcb6c5
PE
432842012-08-15 Paul Eggert <eggert@cs.ucla.edu>
43285
43286 [BZ #14090]
43287 * crypt/md5.c (md5_process_block): Don't assume the buffer
43288 length is less than 2**32.
43289 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
43290 length is less than 2**64.
43291
a3f95dcc
RM
432922012-08-15 Roland McGrath <roland@hack.frob.com>
43293
be75d758
RM
43294 * string/str-two-way.h: Include <sys/param.h>.
43295 (MAX): Macro removed.
43296
7312ca90
RM
43297 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
43298 Move #define and #undef of memmove to just before and after
43299 including <string.h>.
43300
9a0a5486
RM
43301 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
43302 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
43303 and after including <string.h>. Move declarations of
43304 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
43305 to before #include "string/memmove.c".
43306
67cc348d
RM
43307 * include/dirent.h: Declare __getdirentries.
43308
a3f95dcc
RM
43309 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
43310 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
43311
ca98e171
MF
433122012-08-14 Mike Frysinger <vapier@gentoo.org>
43313
43314 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
43315 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
43316 * sysdeps/i386/configure: Regenerated.
43317 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
43318 STABS_CURRENT_FILE, and STABS_FUN.
43319 (END): Remove call to STABS_FUN_END.
43320 (STABS_CURRENT_FILE1): Delete.
43321 (STABS_CURRENT_FILE): Likewise.
43322 (STABS_FUN): Likewise.
43323 (STABS_FUN_END): Likewise.
43324 (STABS_FUN2): Likewise.
43325 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
43326 * sysdeps/x86_64/configure: Regenerated.
43327
5908bf46
RM
433282012-08-14 Roland McGrath <roland@hack.frob.com>
43329
43330 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 43331 * elf/dl-lookup.c: Likewise.
5908bf46 43332
f2c05b9e
JM
433332012-08-14 Joseph Myers <joseph@codesourcery.com>
43334
43335 * sysdeps/unix/sysv/linux/kernel-features.h
43336 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
43337 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
43338 unconditionally.
43339 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
43340 unconditionally.
43341 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
43342 condition on __ASSUME_CLONE_THREAD_FLAGS.
43343
e11f5155
AJ
433442012-08-14 Andreas Jaeger <aj@suse.de>
43345
43346 * sysdeps/i386/fpu/libm-test-ulps: Update.
43347
51a9ba86
MK
433482012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
43349
2fdd4f78
AJ
43350 * include/atomic.h (atomic_exchange_and_add): Split into ...
43351 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
43352 New atomic macros.
51a9ba86 43353
ba6cba9e
MT
433542012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
43355
43356 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43357
42443a47
JL
433582012-08-13 Jeff Law <law@redhat.com>
43359
43360 * manual/stdio.texi (snprintf): Clarify handling of the trailing
43361 null byte in the output string.
43362
121dce05
JM
433632012-08-10 Joseph Myers <joseph@codesourcery.com>
43364
43365 * sysdeps/unix/sysv/linux/kernel-features.h
43366 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
43367 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
43368 (__ASSUME_ARG_MAX_STACK_BASED): Define.
43369 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
43370 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
43371 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
43372 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
43373
bf51f568
JL
433742012-08-09 Jeff Law <law@redhat.com>
43375
43376 [BZ #13939]
43377 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
43378 When avoid_arena is set, don't retry in the that arena. Pick the
43379 next one, whatever it might be.
43380 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
43381 (arena_lock): Pass in new parameter to arena_get2.
43382 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
43383 arena_get2.
43384 (__libc_malloc): Unify retrying after main arena failure with
43385 __libc_memalign version.
43386 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
43387
f85fa270
L
433882012-08-09 H.J. Lu <hongjiu.lu@intel.com>
43389
43390 [BZ #14166]
43391 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
43392 to __redirect_strstr.
43393 (__strstr_sse42): Use typeof __redirect_strstr.
43394 (__strstr_ia32): Likewise.
43395 (__libc_strstr): New prototype.
43396 (strstr): Renamed to ...
43397 (__libc_strstr): This.
43398 (strstr): New strong alias of __libc_strstr.
43399 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43400 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
43401 __redirect_time.
43402 Include <time.h>.
43403 (__libc_time): New prototype.
43404 (time_ifunc): Replace time with __libc_time.
43405 (time): New strong alias and hidden definition of __libc_time.
43406 (__GI_time): Remove strong alias.
43407 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
43408 Include <stddef.h>.
43409 (memmove): Redefined to __redirect_memmove.
43410 (__memmove_sse2): Use typeof __redirect_memmove.
43411 (__memmove_ssse3): Likewise.
43412 (__memmove_ssse3_back): Likewise.
43413 (__libc_memmove): New prototype.
43414 (memmove): Renamed to ...
43415 (__libc_memmove): This.
43416 (memmove): New strong alias of __libc_memmove.
43417
33b4a91e
MS
434182012-08-08 Mark Salter <msalter@redhat.com>
43419
43420 * elf/elf.h
43421 (R_MN10300_TLS_GD): Define.
43422 (R_MN10300_TLS_LD): Likewise.
43423 (R_MN10300_TLS_LDO): Likewise.
43424 (R_MN10300_TLS_GOTIE): Likewise.
43425 (R_MN10300_TLS_IE): Likewise.
43426 (R_MN10300_TLS_LE): Likewise.
43427 (R_MN10300_TLS_DTPMOD): Likewise.
43428 (R_MN10300_TLS_DTPOFF): Likewise.
43429 (R_MN10300_TLS_TPOFF): Likewise.
43430 (R_MN10300_SYM_DIFF): Likewise.
43431 (R_MN10300_ALIGN): Likewise.
43432 (R_MN10300_NUM): Update.
43433
b36137f1
JM
434342012-08-08 Joseph Myers <joseph@codesourcery.com>
43435
43436 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
43437 Remove.
43438
cdd915fd
RM
434392012-08-08 Roland McGrath <roland@hack.frob.com>
43440
a2433aac
RM
43441 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
43442
cdd915fd
RM
43443 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
43444 sysdeps/unix -> sysdeps/posix move.
43445 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
43446
bf9b740a
AM
434472012-08-07 Allan McRae <allan@archlinux.org>
43448
43449 [BZ #14303]
43450 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
43451 (SUNOS_CPP): Likewise.
43452 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
43453 not found.
43454 (open_input): Call CPP using execvp.
43455
93df14ee
JM
434562012-08-07 Joseph Myers <joseph@codesourcery.com>
43457
43458 * sysdeps/unix/sysv/linux/kernel-features.h
43459 (__ASSUME_PROT_GROWSUPDOWN): Remove.
43460 (__ASSUME_NO_CLONE_DETACHED): Likewise.
43461 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43462 (__ASSUME_WAITID_SYSCALL): Likewise.
43463 * sysdeps/unix/sysv/linux/dl-execstack.c
43464 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
43465 code unconditional.
43466 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
43467 conditional code.
43468 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
43469 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
43470 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
43471 code.
43472 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
43473 unconditional.
43474 [__ASSUME_WAITID_SYSCALL]: Likewise.
43475 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
43476
d34689de
RM
434772012-08-07 Roland McGrath <roland@hack.frob.com>
43478
a281decc
RM
43479 * sysdeps/unix/closedir.c: Renamed to ...
43480 * sysdeps/posix/closedir.c: ... here.
43481 * sysdeps/unix/dirfd.c: Renamed to ...
43482 * sysdeps/posix/dirfd.c: ... here.
43483 * sysdeps/unix/dirstream.h: Renamed to ...
43484 * sysdeps/posix/dirstream.h: ... here.
43485 * sysdeps/unix/fdopendir.c: Renamed to ...
43486 * sysdeps/posix/fdopendir.c: ... here.
43487 * sysdeps/unix/opendir.c: Renamed to ...
43488 * sysdeps/posix/opendir.c: ... here.
43489 * sysdeps/unix/readdir.c: Renamed to ...
43490 * sysdeps/posix/readdir.c: ... here.
43491 * sysdeps/unix/readdir_r.c: Renamed to ...
43492 * sysdeps/posix/readdir_r.c: ... here.
43493 * sysdeps/unix/rewinddir.c: Renamed to ...
43494 * sysdeps/posix/rewinddir.c: ... here.
43495 * sysdeps/unix/seekdir.c: Renamed to ...
43496 * sysdeps/posix/seekdir.c: ... here.
43497 * sysdeps/unix/telldir.c: Renamed to ...
43498 * sysdeps/posix/telldir.c: ... here.
43499 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
43500 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
43501 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
43502 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
43503
22895b47
RM
43504 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
43505 * bits/fcntl.h: ... here.
43506
707a53b6
RM
43507 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
43508 not 0.
43509 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
43510 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
43511 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
43512 (struct flock): Move l_start, l_len to the beginning.
43513 Use __pid_t for l_pid.
43514 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
43515 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
43516 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
43517 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
43518 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
43519 [__USE_LARGEFILE64] (struct flock64): New type.
43520 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
43521
f0bd3e25
RM
43522 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
43523 * bits/dirent.h: ... here.
43524
d34689de
RM
43525 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
43526 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
43527
6dad2c06
JM
435282012-08-07 Joseph Myers <joseph@codesourcery.com>
43529
43530 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43531 Change from 2.6.0 to 2.6.16.
43532 * sysdeps/unix/sysv/linux/configure: Regenerated.
43533 * sysdeps/unix/sysv/linux/kernel-features.h
43534 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
43535 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
43536 version.
43537 (__ASSUME_UTIMES): Likewise.
43538 (__ASSUME_CLONE_STOPPED): Remove.
43539 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
43540 architectures, not kernel version.
43541 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
43542 (__ASSUME_NO_CLONE_DETACHED): Likewise.
43543 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43544 (__ASSUME_WAITID_SYSCALL): Likewise.
43545 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
43546 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
43547 * README: State 2.6.16 as minimum Linux kernel version. Do not
43548 refer to older versions.
43549
03af9520
RM
435502012-08-06 Roland McGrath <roland@hack.frob.com>
43551
8e49df1d
RM
43552 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
43553 Define alphasort64 as an alias.
43554 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
43555 Define versionsort64 as an alias.
43556 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
43557 Define scandir64 as an alias.
43558 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
43559 Define scandirat64 as an alias.
43560 * dirent/alphasort64.c (alphasort64):
43561 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
43562 * dirent/versionsort64.c: Likewise.
43563 * dirent/scandir64.c: Likewise.
43564 * dirent/scandirat64.c: Likewise.
43565 * sysdeps/wordsize-64/alphasort.c: File removed.
43566 * sysdeps/wordsize-64/alphasort64.c: File removed.
43567 * sysdeps/wordsize-64/scandir.c: File removed.
43568 * sysdeps/wordsize-64/scandir64.c: File removed.
43569 * sysdeps/wordsize-64/scandirat.c: File removed.
43570 * sysdeps/wordsize-64/scandirat64.c: File removed.
43571 * sysdeps/wordsize-64/versionsort.c: File removed.
43572 * sysdeps/wordsize-64/versionsort64.c: File removed.
43573 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
43574 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
43575 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
43576 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
43577 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
43578 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
43579 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
43580 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
43581
43582 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
43583 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43584 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
43585 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43586 [defined __arch64__ || defined __sparcv9]
43587 (__INO_T_MATCHES_INO64_T): New macro.
43588 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43589 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
43590 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
43591 * sysdeps/unix/sysv/linux/bits/dirent.h
43592 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
43593 (_DIRENT_MATCHES_DIRENT64): New macro.
43594
03af9520
RM
43595 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
43596 Define lockf64 as an alias.
43597 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
43598 Define fseeko64 as an alias.
43599 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
43600 Define ftello64 as an alias.
43601 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
43602 Define _IO_fgetpos64 and fgetpos64 as aliases.
43603 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
43604 Define _IO_fsetpos64 and fsetpos64 as aliases.
43605 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
43606 Conditionalize body on this.
43607 * libio/fseeko64.c: Likewise.
43608 * libio/ftello64.c: Likewise.
43609 * libio/iofgetpos64.c: Likewise.
43610 * libio/iofsetpos64.c: Likewise.
43611 * sysdeps/wordsize-64/lockf.c: File removed.
43612 * sysdeps/wordsize-64/lockf64.c: File removed.
43613 * sysdeps/wordsize-64/fseeko.c: File removed.
43614 * sysdeps/wordsize-64/fseeko64.c: File removed.
43615 * sysdeps/wordsize-64/ftello.c: File removed.
43616 * sysdeps/wordsize-64/ftello64.c: File removed.
43617 * sysdeps/wordsize-64/iofgetpos.c: File removed.
43618 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
43619 * sysdeps/wordsize-64/iofsetpos.c: File removed.
43620 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
43621 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
43622 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
43623 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
43624 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
43625 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
43626 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
43627 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
43628 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
43629 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
43630 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
43631
43632 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43633 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43634 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
43635 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43636 [defined __arch64__ || defined __sparcv9]
43637 (__OFF_T_MATCHES_OFF64_T): New macro.
43638 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43639 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43640 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43641 (__OFF_T_MATCHES_OFF64_T): New macro.
43642
c5757acd
L
436432012-08-06 H.J. Lu <hongjiu.lu@intel.com>
43644
43645 * stdlib/secure-getenv.c (__secure_getenv): Replace
43646 GLIBC_2_16 with GLIBC_2_17.
43647
3a31811e
L
436482012-08-06 H.J. Lu <hongjiu.lu@intel.com>
43649
43650 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
43651 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43652
faa2bccb
DM
436532012-08-03 David S. Miller <davem@davemloft.net>
43654
43655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43656
85fe1997
JM
436572012-08-03 Joseph Myers <joseph@codesourcery.com>
43658
43659 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
43660 Remove.
43661 (__ASSUME_CORRECT_SI_PID): Likewise.
43662 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
43663 (__ASSUME_TMPFS_NAME): Likewise.
43664 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
43665 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
43666 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
43667 (HAVE_AUX_SECURE): Make definition unconditional.
43668 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
43669 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
43670
4f75b7a0
RM
436712012-08-03 Roland McGrath <roland@hack.frob.com>
43672
43673 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
43674 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
43675 * sysdeps/mach/hurd/eloop-threshold.h: New file.
43676 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43677 __eloop_threshold instead of SYMLOOP_MAX.
43678
43679 * sysdeps/generic/eloop-threshold.h: New file.
43680 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
43681 of MAXSYMLINKS.
43682 * elf/chroot_canon.c (chroot_canon): Likewise.
43683
7aab07e4
JM
436842012-08-03 Joseph Myers <joseph@codesourcery.com>
43685
43686 [BZ #13717]
43687 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43688 Change to 2.6.0 everywhere.
43689 * sysdeps/unix/sysv/linux/configure: Regenerated.
43690 * sysdeps/unix/sysv/linux/kernel-features.h
43691 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
43692 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
43693 kernel versions.
43694 (__ASSUME_POSIX_TIMERS): Define unconditionally.
43695 (__ASSUME_FUTEX_REQUEUE): Remove.
43696 (__ASSUME_STATFS64): Define unconditionally.
43697 (__ASSUME_AT_SECURE): Likewise.
43698 (__ASSUME_CORRECT_SI_PID): Likewise.
43699 (__ASSUME_TGKILL): Define without depending on kernel version for
43700 i386.
43701 (__ASSUME_UTIMES): Likewise.
43702 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
43703 kernel version.
43704 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
43705 (__ASSUME_TMPFS_NAME): Likewise.
43706 * README: Update reference to Linux kernel versions.
43707
b67e9372
MP
437082012-08-02 Marek Polacek <polacek@redhat.com>
43709
1f529f7d 43710 [BZ# 14150]
b67e9372
MP
43711 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
43712 libc_cv_asm_type_prefix with %.
43713 * configure: Regenerated.
d2441631
RM
43714 * include/libc-symbols.h: Remove comment about
43715 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
43716 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
43717 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
43718 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
43719 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
43720 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43721 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
43722 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
43723 * elf/tst-unique2mod1.c: Likewise.
43724 * elf/tst-unique1mod2.c: Likewise.
43725 * elf/tst-unique1mod1.c: Likewise.
43726 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
43727 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
43728 Replace ASM_TYPE_DIRECTIVE with .type.
43729 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43730 * sysdeps/i386/sysdep.h: Likewise.
43731 * sysdeps/x86_64/sysdep.h: Likewise.
43732 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
43733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43734 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 43735 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
43736 * sysdeps/powerpc/powerpc32/sysdep.h:
43737 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
43738 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43739 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43740 * sysdeps/i386/fpu/e_powf.S: Likewise.
43741 * sysdeps/i386/fpu/e_expl.S: Likewise.
43742 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43743 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43744 * sysdeps/i386/fpu/e_pow.S: Likewise.
43745 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43746 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43747 * sysdeps/i386/fpu/s_expm1.S: Likewise.
43748 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43749 * sysdeps/i386/fpu/e_log2.S: Likewise.
43750 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43751 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43752 * sysdeps/i386/fpu/e_powl.S: Likewise.
43753 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43754 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43755 * sysdeps/i386/fpu/e_logl.S: Likewise.
43756 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43757 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43758 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43759 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43760 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43761 * sysdeps/i386/fpu/e_log.S: Likewise.
43762 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43763 * sysdeps/i386/fpu/e_logf.S: Likewise.
43764 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43765 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43766 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43767 * sysdeps/i386/fpu/e_log10.S: Likewise.
43768 * sysdeps/i386/fpu/s_frexp.S: Likewise.
43769 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43770 * sysdeps/i386/fpu/s_asinh.S: Likewise.
43771 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43772 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43773 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
43774 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43775 * sysdeps/i386/i686/strtok.S: Likewise.
43776 * sysdeps/i386/i386-mcount.S: Likewise.
43777 * sysdeps/i386/strtok.S: Likewise.
43778 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
43779 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43780 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43781 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43782 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43783 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43784 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43785 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43786 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43787 * sysdeps/x86_64/_mcount.S: Likewise.
43788 * sysdeps/x86_64/strtok.S: Likewise.
43789 * sysdeps/sh/_mcount.S: Likewise.
43790
2747bf9a
RM
437912012-08-01 Roland McGrath <roland@hack.frob.com>
43792
43793 * libio/iofopen.c: Include <fcntl.h>.
43794 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
43795 (_IO_fopen64, fopen64): Define as aliases.
43796 * libio/iofopen64.c: Include <fcntl.h>.
43797 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
43798 Conditionalize body on this.
43799 * sysdeps/wordsize-64/iofopen.c: File removed.
43800 * sysdeps/wordsize-64/iofopen64.c: File removed.
43801
3fb791b8
MP
438022012-08-01 Marek Polacek <polacek@redhat.com>
43803
43804 * libc/Makeconfig: Use elf in place of binfmt-subdir.
43805 Use dlfcn directly instead of a variable.
43806 (binfmt-subdir): Do not define.
43807 (dlfcn): Likewise.
43808
a9f1039f
JM
438092012-08-01 Joseph Myers <joseph@codesourcery.com>
43810
23bddc06
JM
43811 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
43812 Remove all definitions.
43813 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
43814 <kernel-features.h>.
43815 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43816 (miss_F_GETOWN_EX): Remove all definitions.
43817 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
43818 macro definition.
43819 [!__ASSUME_FCNTL64]: Remove conditional code.
43820 [__ASSUME_FCNTL64]: Make code unconditional.
43821 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
43822 <kernel-features.h>.
43823 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43824 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
43825 (lockf64) [__NR_fcntl64]: Make code unconditional.
43826 (lockf64) [__ASSUME_FCNTL64]: Likewise.
43827
a9f1039f
JM
43828 * sysdeps/unix/sysv/linux/kernel-features.h
43829 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
43830 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
43831 Make code unconditional.
43832 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43833 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
43835 [__NR_vfork]: Make code unconditional.
43836 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43837 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
43839 [__NR_vfork]: Make code unconditional.
43840 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43841 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43842
09c0ee5f
RM
438432012-08-01 Roland McGrath <roland@hack.frob.com>
43844
48aec5b9
RM
43845 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
43846 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
43847
cd97c966
RM
43848 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43849 Define mkstemp64 as an alias.
3f55550c
RM
43850 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43851 Define mkstemps64 as an alias.
cd97c966
RM
43852 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43853 Define mkostemp64 as an alias.
b8625cfc
RM
43854 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43855 Define mkostemps64 as an alias.
cd97c966
RM
43856 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
43857 Conditionalize body on this.
43858 * misc/mkostemp64.c: Likewise.
b8625cfc 43859 * misc/mkostemps64.c: Likewise.
3f55550c 43860 * misc/mkstemps64.c: Likewise.
cd97c966
RM
43861 * sysdeps/wordsize-64/mkstemp64.c: File removed.
43862 * sysdeps/wordsize-64/mkostemp64.c: File removed.
43863 * sysdeps/wordsize-64/mkostemp.c: File removed.
43864 * sysdeps/wordsize-64/mkstemp.c: File removed.
43865 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
43866 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
43867 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
43868 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
43869
09c0ee5f
RM
43870 [BZ #14138]
43871 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
43872 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
43873 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
43874 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
43875
43876 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
43877 compat_symbol macros from <shlib-compat.h> rather than the underlying
43878 default_symbol_version and symbol_version macros, so that DEFAULT
43879 lines in shlib-versions are respected.
43880 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
43881
7e66ee51
FW
438822012-08-01 Florian Weimer <fweimer@redhat.com>
43883
43884 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
43885 Declare with warn_unused_result.
43886 (setgid, setregid, setegid, setresgid): Likewise.
43887 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
43888 Likewise.
43889 * WUR-REPORT: Remove set*id functions.
43890
d2a54255
PT
438912012-07-31 Pino Toscano <toscano.pino@tiscali.it>
43892
43893 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
43894
7ecdb005
RM
438952012-07-31 Roland McGrath <roland@hack.frob.com>
43896
b4180a5e 43897 [BZ #10191]
789bd351
RM
43898 * include/sys/socket.h (__libc_accept, __libc_accept4):
43899 Add attribute_hidden.
43900 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
43901
40ce302d
RM
43902 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
43903 use of PTR_MANGLE.
43904 * inet/getnetgrent_r.c (setup): Likewise.
43905
7ecdb005
RM
43906 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
43907
e2eabb2c
DM
439082012-07-31 David S. Miller <davem@davemloft.net>
43909
43910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43911
d0419dbf
JM
439122012-07-31 Joseph Myers <joseph@codesourcery.com>
43913
43914 [BZ #13629]
43915 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
43916 value between 1.0 and 2.0 and smaller part has absolute value less
43917 than 1.0.
43918 * math/s_clog10.c (__clog10): Likewise.
43919 * math/s_clog10f.c (__clog10f): Likewise.
43920 * math/s_clog10l.c (__clog10l): Likewise.
43921 * math/s_clogf.c (__clogf): Likewise.
43922 * math/s_clogl.c (__clogl): Likewise.
43923 * math/libm-test.inc (clog_test): Add more tests.
43924 (clog10_test): Likewise.
43925 * sysdeps/i386/fpu/libm-test-ulps: Update.
43926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43927
2bc13872
FW
439282012-07-31 Florian Weimer <fweimer@redhat.com>
43929
43930 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
43931 Exit with zero in case no suitable GID is found, and write a
43932 message to standard error.
43933
bea9b193
RM
439342012-07-30 Roland McGrath <roland@hack.frob.com>
43935
43936 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
43937 rather than to 1.
43938 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
43939 (MAXPATHLEN): Removed.
43940 (NOGROUP, NODEV): New macros.
43941 (setbit, clrbit, isset, isclr): New macros.
43942 (howmany, roundup, powerof2): New macros.
43943 (DEV_BSIZE): New macro.
43944
43945 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
43946 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
43947
43948 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
43949 definition on [!__NO_LONG_DOUBLE_MATH].
43950
43951 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
43952 PTR_MANGLE and PTR_DEMANGLE.
43953
43954 * socket/accept4.c (accept4): Rename to __libc_accept4.
43955 Define accept4 as a weak alias.
43956
43957 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
43958 on [_DIRENT_HAVE_D_TYPE].
43959 * io/ftw.c (ftw_dir): Likewise.
43960
43961 * io/xmknod.c (__xmknod): Don't check PATH for being null.
43962
43963 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
43964
43965 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
43966 Use the BSD numbers rather than the arbitrary ones we had.
43967 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
43968 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
43969 (SIGXCPU, SIGXFSZ): New macros.
43970 (_NSIG): Now 32.
43971
43972 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
43973 initializer on [_LIBC_REENTRANT].
43974
43975 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
43976 definitions inside [_POSIX_MAPPED_FILES].
43977
43978 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
43979
43980 * dirent/opendir.c: Include <fcntl.h>.
43981
43982 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
43983 (__libc_getspecific): Likewise.
43984 (__libc_key_create): Likewise.
43985
43986 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
43987 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
43988 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
43989 (tmpfile64): Define as alias.
43990 * sysdeps/wordsize-64/tmpfile.c: File removed.
43991 * sysdeps/wordsize-64/tmpfile64.c: File removed.
43992 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
43993 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
43994
43995 * stdio-common/vfscanf.c: Include <stdbool.h>.
43996 * nss/makedb.c: Likewise.
43997 * stdio-common/_i18n_number.h: Likewise.
43998 * argp/argp-help.c: Likewise.
43999 * posix/wordexp.c: Likewise.
44000 * sysdeps/posix/spawni.c: Likewise.
44001 * nss/nss_files/files-initgroups.c: Likewise.
44002 * stdio-common/reg-modifier.c: Include <stdlib.h>.
44003 * nss/nss_files/files-initgroups.c: Likewise.
44004 * nss/nss_db/db-netgrp.c: Likewise.
44005 * nss/nss_db/db-initgroups.c: Likewise.
44006 * io/fchmodat.c: Include <sys/stat.h>.
44007
44008 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
44009 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
44010
44011 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
44012 [HAVE_MMAP].
44013
44014 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
44015 Add multiple inclusion protection.
44016
e5abc686
DM
440172012-07-27 David S. Miller <davem@davemloft.net>
44018
44019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44020
815e6fa3
GB
440212012-07-27 Gary Benson <gbenson@redhat.com>
44022
44023 [BZ #14298]
44024 * elf/rtld.c: Include <stap-probe.h>.
44025 (dl_main): Added static probes "init_start" and "init_complete".
44026 * elf/dl-load.c: Include <stap-probe.h>.
44027 (lose): Take new parameter "nsid".
44028 Added static probe "map_failed".
44029 (_dl_map_object_from_fd): Pass namespace id to lose.
44030 Added static probe "map_start".
44031 (open_verify): Pass namespace id to lose.
44032 * elf/dl-open.c: Include <stap-probe.h>.
44033 (dl_open_worker) Added static probes "map_complete", "reloc_start"
44034 and "reloc_complete".
44035 * elf/dl-close.c: Include <stap-probe.h>.
44036 (_dl_close_worker): Added static probes "unmap_start" and
44037 "unmap_complete".
44038 * elf/rtld-debugger-interface.txt: New file documenting the above.
44039
9f98c16c
RM
440402012-07-26 Roland McGrath <roland@hack.frob.com>
44041
44042 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
44043 rather than a string variable.
44044 * sunrpc/rpc_main.c (h_output): Likewise.
44045 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
44046
f3c22df3
PT
440472012-07-26 Pino Toscano <toscano.pino@tiscali.it>
44048
44049 * inet/check_native.c: New file.
44050
3129cfc6
JM
440512012-07-26 Joseph Myers <joseph@codesourcery.com>
44052
da865e95
JM
44053 [BZ #13629]
44054 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
44055 if larger part has absolute value 1.0.
44056 * math/s_clog10.c (__clog10): Likewise.
44057 * math/s_clog10f.c (__clog10f): Likewise.
44058 * math/s_clog10l.c (__clog10l): Likewise.
44059 * math/s_clogf.c (__clogf): Likewise.
44060 * math/s_clogl.c (__clogl): Likewise.
44061 * math/libm-test.inc (clog_test): Add more tests.
44062 (clog10_test): Likewise.
44063 * sysdeps/i386/fpu/libm-test-ulps: Update.
44064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44065
3129cfc6
JM
44066 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
44067 (pltexit): Likewise.
44068 (La_regs): Likewise.
44069 (La_retval): Likewise.
44070 (int_retval): Likewise.
44071 Update #error for removed macros to refer only to definitions in
44072 tst-audit.h.
44073 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
44074 macro.
44075 (pltexit): Likewise.
44076 (La_regs): Likewise.
44077 (La_retval): Likewise.
44078 (int_retval): Likewise.
44079 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
44080 macro.
44081 (pltexit): Likewise.
44082 (La_regs): Likewise.
44083 (La_retval): Likewise.
44084 (int_retval): Likewise.
44085 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
44086 macro.
44087 (pltexit): Likewise.
44088 (La_regs): Likewise.
44089 (La_retval): Likewise.
44090 (int_retval): Likewise.
44091 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
44092 macro.
44093 (pltexit): Likewise.
44094 (La_regs): Likewise.
44095 (La_retval): Likewise.
44096 (int_retval): Likewise.
44097 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
44098 macro.
44099 (pltexit): Likewise.
44100 (La_regs): Likewise.
44101 (La_retval): Likewise.
44102 (int_retval): Likewise.
44103 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
44104 macro.
44105 (pltexit): Likewise.
44106 (La_regs): Likewise.
44107 (La_retval): Likewise.
44108 (int_retval): Likewise.
44109 * sysdeps/generic/tst-audit.h: Update comment to refer only to
44110 macro definitions in tst-audit.h.
44111 * sysdeps/i386/tst-audit.h: New file.
44112 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
44113 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
44114 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
44115 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
44116 * sysdeps/sh/tst-audit.h: Likewise.
44117 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
44118 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
44119 * sysdeps/x86_64/tst-audit.h: Likewise.
44120
bfc07087
AJ
441212012-07-26 Andreas Jaeger <aj@suse.de>
44122
b1b2aaf8
AJ
44123 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
44124 ptrace.
44125
44126 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
44127 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
44128 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
44129 PTRACE_O_MASK.
44130 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
44131 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
44132 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
44133
bfc07087
AJ
44134 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
44135 value.
44136
44137 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
44138 _sigsys.
44139 (si_call_addr, si_syscall, si_arch): Define new macro.
44140 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
44141 _sigsys.
44142 (si_call_addr, si_syscall, si_arch): Define new marcro.
44143 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
44144 _sigsys.
44145 (si_call_addr, si_syscall, si_arch): Define new macro.
44146 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
44147 _sigsys.
44148 (si_call_addr, si_syscall, si_arch): Define new macro.
44149
89b4b02f
JM
441502012-07-25 Joseph Myers <joseph@codesourcery.com>
44151
44152 [BZ #13717]
44153 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44154 Change to 2.4.21 where previously 2.4.1.
44155 * sysdeps/unix/sysv/linux/configure: Regenerated.
44156 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
44157 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
44158 Linux kernel version.
44159 (__ASSUME_STD_AUXV): Remove.
44160 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
44161 kernel version.
44162 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
44163 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
44164 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
44165 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
44166 (__ASSUME_NETLINK_SUPPORT): Likewise.
44167 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
44168 (__no_netlink_support): Remove conditional definition.
44169 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
44170 Remove.
44171 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44172 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
44173 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
44174 (if_nameindex_ioctl): Remove.
44175 (if_nameindex_netlink): Do not handle __no_netlink_support.
44176 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44177 code.
44178 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
44179 Remove conditional code.
44180 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44181 code.
44182 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
44183 unconditional.
44184 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44185 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
44186 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
44187 Remove.
44188 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
44189 [!__ASSUME_STD_AUXV]: Remove conditional code.
44190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
44191 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
44192 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
44193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
44194 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
44195 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44196 code.
44197 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44199 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
44200 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44201 conditional code.
44202 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44204 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44205 code.
44206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44207 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44208 conditional code.
44209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
44210 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44211 code unconditional.
44212 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44213 conditional code.
44214 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44215 unconditional.
44216 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44217 conditional code.
44218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44219 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44220 unconditional.
44221 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44222 conditional code.
44223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
44224 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44225 code unconditional.
44226 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44227 conditional code.
44228 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44229 unconditional.
44230 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44231 conditional code.
44232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
44233 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44234 code unconditional.
44235 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44236 conditional code.
44237 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44238 unconditional.
44239 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44240 conditional code.
44241
842a39cd
AS
442422012-07-25 Andreas Schwab <schwab@linux-m68k.org>
44243
44244 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
44245 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
44246 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
44247 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
44248 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
44249 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
44250 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
44251 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
44252 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
44253 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
44254 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
44255 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
44256 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
44257 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
44258 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
44259 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
44260 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
44261 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
44262 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
44263 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
44264 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
44265 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
44266 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44267
84b3fd84
FW
442682012-07-25 Florian Weimer <fweimer@redhat.com>
44269
44270 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
44271 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
44272 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
44273 Introduce __libc_secure_getenv.
0c7936d5
FW
44274 * stdlib/Versions (2.17): Add secure_getenv
44275 (GLIBC_PRIVATE): Add __libc_secure_getenv.
44276 * stdlib/secure-getenv.c: Rename __secure_getenv to
44277 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
44278 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
44279 * stdlib/tst-secure-getenv.c: New.
44280 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
44281 * manual/startup.texi (Environment Access): Document
44282 secure_getenv.
84b3fd84
FW
44283 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
44284 __libc_secure_getenv.
44285 * inet/ruserpass.c (ruserpass): Likewise.
44286 * malloc/mtrace.c (mtrace): Likewise.
44287 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 44288 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
44289 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
44290 * sysdeps/posix/tempname.c: Likewise. Evaluate
44291 HAVE_SECURE_GETENV.
44292 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 44293 __secure_getenv to __libc_secure_getenv.
84b3fd84 44294 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
44295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44296 Likewise.
44297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44298 Likewise.
44299 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44301 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44302 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44303 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44304 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 44306
56e49b71
JM
443072012-07-25 Joseph Myers <joseph@codesourcery.com>
44308
44309 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
44310 (struct La_i86_retval): Likewise.
44311 (struct La_x86_64_regs): Likewise.
44312 (struct La_x86_64_retval): Likewise.
44313 (struct La_x32_regs): Likewise.
44314 (struct La_x32_retval): Likewise.
44315 (struct La_ppc32_regs): Likewise.
44316 (struct La_ppc32_retval): Likewise.
44317 (struct La_ppc64_regs): Likewise.
44318 (struct La_ppc64_retval): Likewise.
44319 (struct La_sh_regs): Likewise.
44320 (struct La_sh_retval): Likewise.
44321 (struct La_s390_32_regs): Likewise.
44322 (struct La_s390_32_retval): Likewise.
44323 (struct La_s390_64_regs): Likewise.
44324 (struct La_s390_64_retval): Likewise.
44325 (struct La_sparc32_regs): Likewise.
44326 (struct La_sparc32_retval): Likewise.
44327 (struct La_sparc64_regs): Likewise.
44328 (struct La_sparc64_retval): Likewise.
44329 (struct audit_ifaces): Remove architecture-specific pltenter and
44330 pltexit members.
44331 * sysdeps/i386/ldsodefs.h: New file.
44332 * sysdeps/powerpc/ldsodefs.h: Likewise.
44333 * sysdeps/s390/ldsodefs.h: Likewise.
44334 * sysdeps/sh/ldsodefs.h: Likewise.
44335 * sysdeps/sparc/ldsodefs.h: Likewise.
44336 * sysdeps/x86_64/ldsodefs.h: Likewise.
44337
354691b7
MP
443382012-07-25 Marek Polacek <polacek@redhat.com>
44339
44340 [BZ #6808]
44341 * math/libm-test.inc (yn_test): Add another test.
44342 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
44343 to ERANGE when the result is +-Inf.
44344 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44345 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
44346 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
44347 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
44348
bf9e2071
JM
443492012-07-24 Joseph Myers <joseph@codesourcery.com>
44350
44351 * conform/data/time.h-data (NULL): Use macro-constant. Require
44352 equal to 0.
44353 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
44354 clock_t.
44355 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
44356
57633811
TS
443572012-07-23 Thomas Schwinge <thomas@codesourcery.com>
44358
44359 * configure.in <sysdeps resolving>: Correct printing
44360 Implies_before.
44361 * configure: Regenerate.
44362
c23c33b0
TS
443632012-07-22 Thomas Schwinge <thomas@codesourcery.com>
44364
44365 * math/w_ilogb.c: Include <limits.h>.
44366 * math/w_ilogbl.c: Likewise.
44367
b5982523
JM
443682012-07-20 Joseph Myers <joseph@codesourcery.com>
44369
44370 * manual/lang.texi (__va_copy): Document primarily as ISO C99
44371 va_copy. Document allowing for unavailable va_copy only as
44372 pre-C99 compatibility.
44373 * manual/string.texi (Copying and Concatenation): Use va_copy
44374 instead of __va_copy in concat example.
44375
ac4ea442
PT
443762012-07-20 Pino Toscano <toscano.pino@tiscali.it>
44377
44378 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
44379 (__sendto): Use create_address_port. Initialize APORT and deallocate
44380 it if not null.
44381
f98eafbd
PT
44382 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
44383 with O_NOLINK passed to __file_name_lookup.
44384
898c7aab
PT
44385 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
44386 with O_NOLINK passed to __file_name_lookup.
44387
0ced335a
PT
44388 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
44389 negative N or less than NGIDS.
44390
b3404dbd
PT
44391 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
44392 type to string_t. Set ERANGE as errno and return it if NAME is not big
44393 enough. Use memcpy instead of strncpy.
44394
0f48659e
JM
443952012-07-20 Joseph Myers <joseph@codesourcery.com>
44396
44397 * elf/Makefile (check-data): Remove.
44398 (localplt.data): New vpath directive.
44399 ($(objpfx)check-localplt.out): Use localplt.data from vpath
44400 instead of $(check-data).
44401 * scripts/data/localplt-generic.data: Move to ...
44402 * sysdeps/generic/localplt.data: ... here.
44403 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
44404 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
44405 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
44406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
44407 ... here.
44408 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
44409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
44410 ... here.
44411 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
44412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
44413 ... here.
44414 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
44415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
44416 ... here.
44417 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
44418 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
44419 ... here.
44420 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
44421 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
44422 ... here.
44423
d37cbdaa
AZ
444242012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44425
44426 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
44427 PPC32 and PPC64 files.
44428 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
44429 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
44430
46f85fc2
AK
444312012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44432
44433 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
44434 __makecontext_ret to ...
44435 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
44436 ... here and call exit if uc_link is NULL. New file.
44437 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
44438 __makecontext_ret.S.
44439 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
44440 __makecontext_ret to ...
44441 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
44442 ... here and call exit if uc_link is NULL. New file.
44443 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
44444 __makecontext_ret.S.
44445
08f43f9b
AK
444462012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44447
44448 * elf/elf.h (R_390_IRELATIVE): New definition.
44449 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
44450 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
44451 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
44452 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
44453 (elf_machine_lazy_rel): Likewise.
44454 * sysdeps/s390/dl-irel.h: New file.
44455 * sysdeps/s390/s390-64/memcpy.S: New asm code.
44456 * sysdeps/s390/s390-64/memset.S: New asm code.
44457 * sysdeps/s390/s390-64/memcmp.S: New asm code.
44458 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
44459 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
44460 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
44461 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
44462 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
44463 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
44464 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
44465 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
44466 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
44467 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
44468 * sysdeps/s390/s390-32/memcpy.S: New asm code.
44469 * sysdeps/s390/s390-32/memset.S: New asm code.
44470 * sysdeps/s390/s390-32/memcmp.S: New asm code.
44471
3b05db33
MP
444722012-07-17 Marek Polacek <polacek@redhat.com>
44473
44474 [BZ #14349]
44475 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
44476 * sysdeps/s390/s390-64/configure.in: Likewise.
44477 * sysdeps/sparc/configure.in: Likewise.
44478 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
44479 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
44480 * sysdeps/i386/configure.in: Likewise.
44481 * sysdeps/x86_64/configure.in: Likewise.
44482 * sysdeps/sh/configure.in: Likewise.
44483 * sysdeps/s390/s390-32/configure: Regenerated.
44484 * sysdeps/s390/s390-64/configure: Likewise.
44485 * sysdeps/x86_64/configure: Likewise.
44486 * sysdeps/sh/configure: Likewise.
44487 * sysdeps/powerpc/powerpc64/configure: Likewise.
44488 * sysdeps/powerpc/powerpc32/configure: Likewise.
44489 * sysdeps/sparc/configure: Likwise.
44490 * sysdeps/i386/configure: Likewise.
44491
a66877c6
MP
44492 * elf/dl-open.c: Comment fixes.
44493
cfc82fd8
JM
444942012-07-17 Joseph Myers <joseph@codesourcery.com>
44495
bd29910a
JM
44496 * Makefile [CXX] (check-data): Remove.
44497 [CXX] (c++-types.data): New vpath directive.
44498 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
44499 vpath. Do not allow for C++ type data being missing.
44500 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
44501 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
44502 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
44503 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
44504 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
44505 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
44506 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
44507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
44508 ... here.
44509 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
44510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
44511 ... here.
44512 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
44513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
44514 ... here.
44515 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
44516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
44517 ... here.
44518 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
44519 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
44520 ... here.
44521 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
44522 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
44523 ... here.
44524 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
44525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
44526 ... here.
44527 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
44528 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
44529
cfc82fd8
JM
44530 * elf/tls-macros.h (TLS_LE): Move architecture-specific
44531 definitions to architecture-specific files.
44532 (TLS_IE): Likewise.
44533 (TLS_LD): Likewise.
44534 (TLS_GD): Likewise.
44535 * sysdeps/i386/tls-macros.h: New file.
44536 * sysdeps/powerpc/tls-macros.h: Likewise.
44537 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
44538 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
44539 * sysdeps/sh/tls-macros.h: Likewise.
44540 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
44541 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
44542 * sysdeps/x86_64/tls-macros.h: Likewise.
44543
f7db3170
TS
445442012-07-17 Thomas Schwinge <thomas@codesourcery.com>
44545
07cbfc23
TS
44546 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
44547 zero value for regular exit case.
44548
f7db3170
TS
44549 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
44550 (__start_context): Preserve zero value for regular exit case.
44551
dc97c227
TS
445522012-07-17 Thomas Schwinge <thomas@codesourcery.com>
44553 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44554
44555 * manual/setjmp.texi (setcontext): Clarify normal process
44556 termination when uc_link is the null pointer.
44557 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
44558 exit call.
44559
d0cd7d02
AS
445602012-07-16 Andreas Schwab <schwab@linux-m68k.org>
44561
44562 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
44563 preprocessor. Test for each exception mask separately.
44564
dd318934
AJ
445652012-07-16 Andreas Jaeger <aj@suse.de>
44566
44567 * po/ru.po: Update from translation team.
44568
8048311a
JM
445692012-07-15 Joseph Myers <joseph@codesourcery.com>
44570
44571 * conform/data/string.h-data (NULL): Use macro-constant. Require
44572 equal to 0.
44573 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44574 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44575 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
44576 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
44577 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44578
b637d46e
AJ
445792012-07-13 Andreas Jaeger <aj@suse.de>
44580
44581 * po/fr.po: Update from translation team.
44582
541428fe
MP
445832012-07-12 Marek Polacek <polacek@redhat.com>
44584
44585 [BZ #14173]
44586 * math/libm-test.inc (yn_test): Add test for BZ #14173.
44587 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
44588 loop condition.
44589
ec332e94
JM
445902012-07-12 Joseph Myers <joseph@codesourcery.com>
44591
44592 [BZ #13717]
44593 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44594 Change to 2.4.1 where previously 2.4.0.
44595 * sysdeps/unix/sysv/linux/configure: Regenerated.
44596 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
44597 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
44598 version.
44599 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
44600 (__ASSUME_AT_CLKTCK): Remove.
44601 (__ASSUME_AT_PAGESIZE): Likewise.
44602 (__ASSUME_AT_XID): Likewise.
44603 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
44604 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
44605 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
44606 unconditionally.
44607 (HAVE_AUX_PAGESIZE): Likewise.
44608 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
44609 [__ASSUME_AT_CLKTCK]: Make code unconditional.
44610 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
44611
7b6e99be
JB
446122012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
44613
44614 [BZ #14307]
44615 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
44616 the temporary buffer used to invoke __gethostbyname2_r,
44617 __gethostbyaddr_r and gethostbyname4_r to make room for struct
44618 host_data / struct gaih_addrtuple.
44619 * resolv/nss_dns/dns-host.c (global scope): Move definition of
44620 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
44621 header file nss/nsswitch.h.
44622 * nss/nsswitch.h (global scope): Add definition of implementation
44623 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
44624 resolv/nss_dns/dns-host.c).
44625
608404eb
AJ
446262012-07-11 Andreas Jaeger <aj@suse.de>
44627
44628 * po/fr.po: Update from translation team.
44629
71220aca
AJ
44630 * po/sv.po: Update from translation team
44631 * po/fr.po: Another update from translation team.
44632
28cfe843
AZ
446332012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44634
44635 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
44636 for subnormals or multiply small sinh result by itself.
44637 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44639
6b90f981
DM
446402012-07-11 David S. Miller <davem@davemloft.net>
44641
44642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44643
c6825772
AS
446442012-07-10 Andreas Schwab <schwab@linux-m68k.org>
44645
44646 [BZ #14347]
44647 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
44648 (INTERNAL_MARK): Shift it here.
44649
7b8e0d49
MP
446502012-07-10 Marek Polacek <polacek@redhat.com>
44651
44652 [BZ #14151]
44653 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
44654 libc_cv_asm_global_directive with .globl.
44655 * configure: Regenerated.
44656 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
44657 with .globl.
44658 * sysdeps/i386/configure: Regenerated.
44659 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
44660 with .globl.
44661 * sysdeps/x86_64/configure: Regenerated.
44662 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
44663 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
44664 * elf/tst-unique2mod2.c: Likewise.
44665 * elf/tst-unique2mod1.c: Likewise.
44666 * elf/tst-unique1mod2.c: Likewise.
44667 * elf/tst-unique1mod1.c: Likewise.
44668 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44669 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44670 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44671 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44672 * sysdeps/mach/sysdep.h: Likewise.
44673 * sysdeps/i386/sysdep.h: Likewise.
44674 * sysdeps/i386/i386-mcount.S: Likewise.
44675 * sysdeps/x86_64/_mcount.S: Likewise.
44676 * sysdeps/x86_64/sysdep.h: Likewise.
44677 * sysdeps/sh/_mcount.S: Likewise.
44678 * sysdeps/sh/sysdep.h: Likewise.
44679 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
44680 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
44681 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
44682 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44683 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
44684 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
44685 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
44686 * locale/localeinfo.h: Likewise.
44687 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
44688 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
44689
6c55cda3
RM
446902012-07-09 Roland McGrath <roland@hack.frob.com>
44691
44692 [BZ #14336]
44693 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
44694 system".
44695 * manual/message.texi (The Uniforum approach): Likewise.
44696 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
44697 (glibc iconv Implementation): Likewise.
44698
638a572e
JM
446992012-07-09 Joseph Myers <joseph@codesourcery.com>
44700
44701 [BZ #14337]
44702 * math/s_clog.c (__clog): Avoid scaling a value down where that
44703 could result in underflow.
44704 * math/s_clog10.c (__clog10): Likewise.
44705 * math/s_clog10f.c (__clog10f): Likewise.
44706 * math/s_clog10l.c (__clog10l): Likewise.
44707 * math/s_clogf.c (__clogf): Likewise.
44708 * math/s_clogl.c (__clogl): Likewise.
44709 * math/libm-test.inc (clog_test): Add more tests.
44710 (clog10_test): Likewise.
44711 * sysdeps/i386/fpu/libm-test-ulps: Update.
44712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44713
261f4859
AS
447142012-07-06 Andreas Schwab <schwab@linux-m68k.org>
44715
0abaf3e4
AS
44716 [BZ #14283]
44717 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
44718 by 7 not 8 to examine high bit of fractional part.
44719
261f4859
AS
44720 [BZ #14042]
44721 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
44722 for call to __mcount_internal.
44723 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
44724 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
44725 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
44726
f17ac40d
JM
447272012-07-06 Joseph Myers <joseph@codesourcery.com>
44728
9ad63c23
JM
44729 [BZ #14154]
44730 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
44731 approximation for values within 0x1p-13f of an odd multiple of
44732 pi/4.
44733 * math/libm-test.inc (tan_test): Do not allow spurious underflow
44734 exception. Add more tests.
44735 * sysdeps/i386/fpu/libm-test-ulps: Update.
44736
f17ac40d
JM
44737 [BZ #6778]
44738 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
44739 inputs and return -1 for them. Do not check for +Inf in case not
44740 reachable for +Inf.
44741 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
44742 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
44743 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44744 and return -1 for them. Do not check for +Inf in case not
44745 reachable for +Inf.
44746 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
44747 define.
44748 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44749 and return -1 for them. Do not check for +Inf in case not
44750 reachable for +Inf.
44751 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
44752 spurious underflow.
44753 * sysdeps/i386/fpu/libm-test-ulps: Update.
44754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44755
fb21f89b
MF
447562012-07-06 Mike Frysinger <vapier@gentoo.org>
44757
44758 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
44759
cdfe2c5e
JM
447602012-07-05 Joseph Myers <joseph@codesourcery.com>
44761
44762 [BZ #14157]
44763 [BZ #14331]
44764 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
44765 could result in spurious underflow. Scale down values above
44766 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
44767 * math/s_csqrtf.c (__csqrtf): Likewise.
44768 * math/s_csqrtl.c (__csqrtl): Likewise.
44769 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
44770 spurious underflow.
44771 * sysdeps/i386/fpu/libm-test-ulps: Update.
44772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44773
70d35b67
AS
447742012-07-04 Andreas Schwab <schwab@linux-m68k.org>
44775
704bc459
AS
44776 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
44777 xopen-msg.sed.
44778 * catgets/xopen-msg.awk: New file.
44779 * catgets/xopen-msg.sed: Removed.
44780
70d35b67
AS
44781 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
44782 po2text.sed.
44783 * intl/po2test.awk: New file.
44784 * intl/po2test.sed: Removed.
44785
ca61cf32
JM
447862012-07-04 Joseph Myers <joseph@codesourcery.com>
44787
44788 [BZ #14328]
44789 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
44790 or multiply small sinh result by itself.
44791 * math/s_ctanf.c (__ctanf): Likewise.
44792 * math/s_ctanh.c (__ctanh): Likewise.
44793 * math/s_ctanhf.c (__ctanhf): Likewise.
44794 * math/s_ctanhl.c (__ctanhl): Likewise.
44795 * math/s_ctanl.c (__ctanl): Likewise.
44796 * math/libm-test.inc (ctan_test_tonearest): New function.
44797 (ctan_test_towardzero): Likewise.
44798 (ctan_test_downward): Likewise.
44799 (ctan_test_upward): Likewise.
44800 (ctanh_test_tonearest): Likewise.
44801 (ctanh_test_towardzero): Likewise.
44802 (ctanh_test_downward): Likewise.
44803 (ctanh_test_upward): Likewise.
44804 (main): Call these new functions.
44805 * sysdeps/i386/fpu/libm-test-ulps: Update.
44806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44807
ca48a46a
MF
448082012-07-03 Mike Frysinger <vapier@gentoo.org>
44809
44810 * .gitignore: Delete /ports entry.
44811
9d63d37d
AJ
448122012-07-03 Andreas Jaeger <aj@suse.de>
44813
44814 * po/bg.po: Update from translation team.
44815 * po/cs.po: Likewise.
44816 * po/de.po: Likewise.
44817 * po/hr.po: Likewise.
44818 * po/nl.pl: Likewise.
44819 * po/pl.po: Likewise.
44820 * po/vi.po: Likewise.
44821
370ca3d2
JM
448222012-07-03 Joseph Myers <joseph@codesourcery.com>
44823
95f5a9a8
JM
44824 * Makeconfig [!+link] (+link-before-libc): New variable.
44825 [!+link] (+link-after-libc): Likewise.
44826 [!+link] (+link-tests): Likewise.
44827 [!+link] (+link): Define in terms of $(+link-before-libc) and
44828 $(+link-after-libc).
44829 [!+link-static] (+link-static-before-libc): New variable.
44830 [!+link-static] (+link-static-after-libc): Likewise.
44831 [!+link-static] (+link-static-tests): Likewise.
44832 [!+link-static] (+link-static): Define in terms of
44833 $(+link-static-before-libc) and $(+link-static-after-libc).
44834 [build-shared] (link-libc-before-gnulib): New variable.
44835 [build-shared] (link-libc-tests): Likewise.
44836 [build-shared] (link-libc): Define in terms of
44837 $(link-libc-before-gnulib).
44838 [!build-shared] (link-libc-tests): New variable.
44839 (link-libc-static-tests): New variable.
44840 [!gnulib] (gnulib-arch): New variable.
44841 [!gnulib] (gnulib-tests): Likewise.
44842 [!gnulib] (static-gnulib-arch): Likewise.
44843 [!gnulib] (static-gnulib-tests): Likewise.
44844 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
44845 Define with "=" instead of ":=".
44846 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
44847 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
44848 * Rules (binaries-all-notests): New variable.
44849 (binaries-all-tests): Likewise.
44850 (binaries-static-notests): Likewise.
44851 (binaries-static-tests): Likewise.
44852 (binaries-all): Define using $(binaries-all-notests) and
44853 $(binaries-all-tests).
44854 (binaries-static): Define using $(binaries-static-notests) and
44855 $(binaries-static-tests).
44856 (binaries-shared-tests): New variable.
44857 (binaries-shared-notests): Likewise.
44858 (binaries-shared): Remove variable.
44859 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
44860 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
44861 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
44862 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
44863 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
44864 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
44865 * elf/Makefile (sln-modules): New variable.
44866 (extra-objs): Add $(sln-modules:=.o).
44867 (ldconfig-modules): Add static-stubs.
44868 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
44869 * elf/static-stubs.c: New file.
44870
7a845b2c
JM
44871 [BZ #14283]
44872 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
44873 by 7 not 8 to examine high bit of fractional part. Use volatile
44874 variables when splitting into final array of floats if
44875 __FLT_EVAL_METHOD__ != 0.
44876 * math/libm-test.inc (cos_test): Add another test.
44877 (sin_test): Likewise.
44878 * sysdeps/i386/fpu/libm-test-ulps: Update.
44879
e2283f38
JM
44880 [BZ #14273]
44881 * math/libm-test.inc (cosh_test): Add more tests.
44882
370ca3d2
JM
44883 * version.h (RELEASE): Set to "development".
44884 (VERSION): Set to "2.16.90".
44885
ee9247c3
CD
448862012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
44887
44888 * NEWS: Update copyright. Remove last-updated date.
44889 Mention math library bug fixes and timezone data changes.
44890 * README: Mention GNU/Hurd, x32, and HPPA support status.
44891
4648c381
TS
448922012-06-28 Thomas Schwinge <thomas@codesourcery.com>
44893
44894 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
44895
aac78a43
AJ
448962012-06-27 Andreas Jaeger <aj@suse.de>
44897
44898 * manual/contrib.texi (Contributors): Add Samuel Thibault.
44899
ed3dbfad
AJ
449002012-06-25 Andreas Jaeger <aj@suse.de>
44901
44902 * sysdeps/s390/fpu/libm-test-ulps: Update.
44903
4d0ee855
AS
449042012-06-23 Andreas Schwab <schwab@linux-m68k.org>
44905 Thomas Schwinge <thomas@codesourcery.com>
44906
44907 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
44908 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
44909 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
44910 fanotify_mark.
44911
af1bce34
TS
449122012-06-23 Thomas Schwinge <thomas@codesourcery.com>
44913
a9fa33ba
TS
44914 * sysdeps/mach/start.c: Remove file.
44915 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
44916 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
44917 * sysdeps/sh/init-first.c: Likewise.
44918
58f902b8
TS
44919 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
44920 registers for frame unwinding purposes, add CFI directives.
44921 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44922 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
44923 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
44924 Likewise.
44925
1518f58b
TS
44926 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
44927 __fortify_fail returning.
44928 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44929
db9b5059
TS
44930 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
44931 sysdeps/sh/____longjmp_chk.S.
44932 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
44933 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
44934 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
44935 (gen-as-const-headers): Append sigaltstack-offsets.sym.
44936
967705fe
TS
44937 * sysdeps/sh/abort-instr.h: New file.
44938 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
44939 process in case exit returns.
44940
a9def8c4
TS
44941 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
44942 initialize the GOT register before use.
44943
2a649725
TS
44944 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
44945 calculation of ARGC > 4.
44946
af1bce34
TS
44947 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
44948 meaningful names to some local labels.
44949
d230f50a
KK
449502012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44951 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44952
44953 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
44954 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
44955 (__arch_compare_and_exchange_val_16_acq): Likewise.
44956 (__arch_compare_and_exchange_val_32_acq): Likewise.
44957 (atomic_exchange_and_add): Fix gUSA sequence.
44958 (atomic_add): Likewise.
44959 (atomic_add_negative): Likewise.
44960 (atomic_add_zero): Likewise.
44961 (atomic_bit_test_set): Likewise.
44962
0479b305
AS
449632012-06-22 Andreas Schwab <schwab@redhat.com>
44964
44965 [BZ #13579]
44966 * include/link.h (struct link_map): Add l_free_initfini.
44967 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
44968 l_initfini.
44969 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
44970 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
44971 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
44972 set.
44973
0e3933b9
CD
449742012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
44975
44976 * configure.in: Use AC_LANG_SOURCE.
44977 * configure: Regenerate.
44978
4248b1b1
RM
449792012-06-22 Roland McGrath <roland@hack.frob.com>
44980
44981 * configure.in (libc_cv_localstatedir): New substituted variable.
44982 * configure: Regenerated.
44983 * config.make.in (localstatedir): New variable, substituted from
44984 libc_cv_localstatedir.
44985 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
44986 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
44987 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
44988 * sysdeps/gnu/configure: Regenerated.
44989
006dd861
JL
449902012-06-21 Jeff Law <law@redhat.com>
44991
44992 [BZ #14277]
44993 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
44994 free. Simplify list management for _LIBC case.
44995
79662d42
JM
449962012-06-21 Joseph Myers <joseph@codesourcery.com>
44997
b7abb4bf
JM
44998 [BZ #14273]
44999 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
45000 Clear sign bit of 64-bit integer value before comparing against
45001 overflow value.
45002
79662d42
JM
45003 * sysdeps/mach/configure: Regenerated.
45004
1f150908
L
450052012-06-21 H.J. Lu <hongjiu.lu@intel.com>
45006
45007 [BZ #14278]
45008 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
45009
28363bbf
JL
450102012-06-21 Jeff Law <law@redhat.com>
45011
45012 [BZ #13882]
45013 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
45014 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 45015 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
45016 * elf/dl-open.c (dl_open_worker): Likewise.
45017
09615db4
CD
450182012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
45019
45020 * scripts/list-sources.sh: Scan PORTS for translations.
45021 * po/libc.pot: Regenerated.
45022
2174c6dd
AJ
450232012-06-21 Andreas Jaeger <aj@suse.de>
45024
45025 [BZ #12194]
45026 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
45027 warning.
45028 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
45029 * bits/byteswap-16.h (__bswap_16): Likewise.
45030 * bits/byteswap.h (__bswap_constant_16): Likewise.
45031
3ee947b1
L
450322012-06-18 H.J. Lu <hongjiu.lu@intel.com>
45033
45034 [BZ #14117]
a2f34833
L
45035 * sysdeps/i386/fpu_control.h: Removed.
45036 * sysdeps/x86_64/fpu_control.h: Moved to ...
45037 * sysdeps/x86/fpu_control.h: Here.
45038
3ee947b1
L
45039 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
45040 (_FPU_SETCW): Likewise.
45041
ed1825f8
L
450422012-06-15 H.J. Lu <hongjiu.lu@intel.com>
45043
25f1282a
L
45044 [BZ #14117]
45045 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
45046 * sysdeps/x86/fpu/bits/mathinline.h: This.
45047 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
45048
ed1825f8
L
45049 [BZ #14050]
45050 [BZ #14117]
45051 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
45052 functions if __x86_64__ is defined.
45053
36d54b74
CLT
450542012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
45055
45056 * string/endian.h: Add !__ASSEMBLER__ condition for including
45057 conversion interfaces.
45058
10285c21
JM
450592012-06-15 Joseph Myers <joseph@codesourcery.com>
45060
45061 [BZ #14241]
45062 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
45063 of ABS(x) in calculating zero to negative powers other than odd
45064 integers.
45065 * math/libm-test.inc (pow_test): Add more tests.
45066
06c5abbd
AJ
450672012-06-15 Andreas Jaeger <aj@suse.de>
45068
45069 * manual/contrib.texi (Contributors): Update entry of Liubov
45070 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
45071 Machado Filho.
45072
a3aeac40
CH
450732012-06-15 Cyril Hrubis <metan@ucw.cz>
45074
45075 * string/string.h: Add __wur to GNU version of strerror_r.
45076
49bdf4c1
L
450772012-06-14 H.J. Lu <hongjiu.lu@intel.com>
45078
45079 [BZ #14229]
45080 * string/Makefile (tests): Add tst-strtok_r.
45081 * string/tst-strtok_r.c: New file.
45082 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
45083 RAX_LP/RDX_LP on SAVE_PTR.
45084
834f9b8d
RM
450852012-06-14 Roland McGrath <roland@hack.frob.com>
45086
45087 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
45088
75fa1921
JM
450892012-06-14 Joseph Myers <joseph@codesourcery.com>
45090
45091 * libm_test.inc (csqrt_test): Allow more spurious underflow
45092 exceptions.
45093 (j0_test): Likewise.
45094 (j1_test): Likewise.
45095 (y0_test): Likewise.
45096 (y1_test): Likewise.
45097
771766df
CD
450982012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
45099
45100 * po/Makefile (libc.pot): Use UTF-8 charset.
45101
ceb9e56b
PP
451022012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
45103
45104 [BZ #14210]
45105 Suppress sign-conversion warning from FD_SET.
45106 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
45107 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
45108 not unsigned long int.
45109 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
45110
ddb28975
L
451112012-06-12 H.J. Lu <hongjiu.lu@intel.com>
45112
45113 [BZ #14050]
45114 [BZ #14117]
45115 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
45116 __extern_always_inline instead of __extern_inline.
45117 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
45118 (__signbit): Likewise.
45119 (__signbitl): Support C++ namespace.
45120 (lrintf): New inline function.
45121 (lrint): Likewise.
45122 (llrintf): Likewise.
45123 (llrint): Likewise.
45124 (fmaxf): Likewise.
45125 (fmax): Likewise.
45126 (fminf): Likewise.
45127 (fmin): Likewise.
45128 (rint): Likewise.
45129 (rintf): Likewise.
45130 (ceil): Likewise.
45131 (ceilf): Likewise.
45132 (floor): Likewise.
45133 (floorf): Likewise.
45134 (nearbyint): Likewise.
45135 (nearbyintf): Likewise.
45136
d7b4fb26
TS
451372012-06-12 Thomas Schwinge <thomas@codesourcery.com>
45138
45139 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
45140 non-default versions.
45141
eb55f5c2
RM
451422012-06-11 Roland McGrath <roland@hack.frob.com>
45143
45144 [BZ #14218]
45145 * manual/argp.texi (Argp): Reword argp_parse description slightly.
45146
366af02c
TS
451472012-06-09 Thomas Schwinge <thomas@codesourcery.com>
45148
99ff6e5c
TS
45149 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
45150 (FE_UPWARD, FE_DOWNWARD): Don't define.
45151 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
45152 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45153
366af02c
TS
45154 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
45155 reading it.
45156 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45157 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45158
793ea851
KK
451592012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45160
45161 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45162 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
45163 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
45164 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
45165
a728a38f
L
451662012-06-06 H.J. Lu <hongjiu.lu@intel.com>
45167
45168 [BZ #14117]
c08010c7
L
45169 * sysdeps/i386/fpu/bits/fenv.h: Removed.
45170 * sysdeps/i386/fpu/Implies: New file.
45171 * sysdeps/x86_64/fpu/Implies: Likewise.
45172 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
45173 * sysdeps/x86/fpu/bits/fenv.h: This.
45174
a728a38f
L
45175 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
45176 __SSE_MATH__.
45177
6e230d11
SP
451782012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
45179
45180 [BZ #14134]
45181 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
45182 character 0xffff that matches the last element of the
45183 conversion table.
45184
1b671feb
AZ
451852012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45186
45187 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
45188 fmodl commit.
45189
6043738b
AZ
451902012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45191
45192 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
45193 values higher than 25.6283.
45194
34ae0b32
AZ
451952012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45196
45197 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
45198 subnormal exponent extraction and add some __builtin_expect.
45199 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
45200 Fix for subnormal mantissa calculation.
45201
1214ec8f
MF
452022012-06-04 Mike Frysinger <vapier@gentoo.org>
45203
45204 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
45205 cpu2 is -1 and errno is not ENOSYS.
45206
f3d1f93c
L
452072012-06-04 H.J. Lu <hongjiu.lu@intel.com>
45208
45209 [BZ #14117]
0e4a3cd7
L
45210 * sysdeps/i386/i486/bits/string.h: Renamed to ...
45211 * sysdeps/x86/bits/string.h: This.
45212 * sysdeps/x86_64/bits/string.h: Removed.
45213
6704c645
L
45214 * sysdeps/i386/i486/bits/string.h: Define inline functions only
45215 if not compiling for x86-64, but compiling for >= i486.
45216
48495318
L
45217 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
45218 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
45219
14adcbfc
L
45220 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
45221 New macro from Linux kernel 3.4.0.
45222 (FP_XSTATE_MAGIC2): Likewise.
45223 (FP_XSTATE_MAGIC2_SIZE): Likewise.
45224 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
45225 (struct _fpx_sw_bytes): New struct.
45226 (struct _xsave_hdr): Likewise.
45227 (struct _ymmh_state): Likewise.
45228 (struct _xstate): Likewise.
45229
68e408ab
L
45230 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
45231 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
45232 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
45233 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
45234 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
45235 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
45236
f3d1f93c
L
45237 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
45238 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
45239 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
45240 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
45241 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
45242 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
45243
d9dc34cd
TMQMF
452442012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45245
45246 [BZ #13743]
45247 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
45248 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
45249 (sysdep_headers): Include sys/platform/ppc.h.
45250 * sysdeps/powerpc/test-gettimebase.c: Test for
45251 __ppc_get_timebase() to catch future ISA opcode/insn changes.
45252 * manual/Makefile (appendices): Include platform.texi.
45253 * manual/contrib.texi (Contributors): Update @node pointers.
45254 * manual/maint.texi (Maintenance): Likewise.
45255 (Platform): New node.
45256 * manual/platform.texi: New file. Document the new features.
45257
4af3879c
SP
452582012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
45259 Jakub Jelinek <jakub@redhat.com>
45260
45261 [BZ #14188]
45262 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
45263 where __builtin_expect is unavailable.
45264
2fd6ff13
DM
452652012-06-03 David S. Miller <davem@davemloft.net>
45266
45267 * stdlib/longlong.h: Updated from GCC.
45268
173f7220
AS
452692012-06-02 Andreas Schwab <schwab@linux-m68k.org>
45270
45271 [BZ #14042]
45272 * sysdeps/powerpc/powerpc32/mcount.c: New file.
45273 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
45274 __mcount_internal.
45275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45276 (GLIBC_2.16): Likewise.
45277
f34a1c6f
L
452782012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45279
45280 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
45281
88a4576f
JM
452822012-06-01 Joseph Myers <joseph@codesourcery.com>
45283
ea32bcdd
JM
45284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
45285 (default-abi): New variable.
45286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
45287 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
45288 variable.
45289 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
45290 Likewise.
45291 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
45292 Likewise.
45293 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
45294 Likewise.
45295
88a4576f
JM
45296 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
45297 definition. Document in comment.
45298
402fe938
DM
452992012-06-01 David S. Miller <davem@davemloft.net>
45300
45301 * stdlib/longlong.h: Updated from GCC.
45302
3553723f
L
453032012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45304
45305 [BZ #14117]
3bd872c4
L
45306 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
45307 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
45308 sys/debugreg.h sys/io.h here.
45309 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
45310 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
45311 sys/io.h.
45312 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
45313 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
45314 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
45315 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
45316 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
45317 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
45318
3553723f
L
45319 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
45320 Define only if __x86_64__ is defined.
45321
4842e4fe
JM
453222012-06-01 Joseph Myers <joseph@codesourcery.com>
45323
c5bfe3d5
JM
45324 [BZ #14048]
45325 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
45326 Use int64_t for variable i.
45327 * math/libm-test.inc (fmod_test): Add more tests.
45328
4842e4fe
JM
45329 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
45330 z computation is not scheduled after fetestexcept.
45331 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
45332 Use math_force_eval instead of asm to ensure calculation scheduled
45333 before exception test.
45334 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
45335 Ensure a1 + u.d computation is not scheduled after fetestexcept.
45336
efb73488
AJ
453372012-06-01 Aurelien Jarno <aurelien@aurel32.net>
45338
45339 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
45340 computation is not scheduled after fetestexcept.
45341
29bcce7c
L
453422012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45343
45344 [BZ #14117]
45345 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
45346 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
45347
73a68f94
AZ
453482012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45349
45350 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
45351 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45352
67b6df78
L
453532012-05-31 H.J. Lu <hongjiu.lu@intel.com>
45354
edf2933a 45355 [BZ #14117]
ebc64a18
L
45356 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
45357 <bits/wordsize.h>.
45358 (__WCHAR_MIN): Support __WORDSIZE == 64.
45359 (__WCHAR_MAX): Likewise.
45360
edf2933a
L
45361 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
45362 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
45363
57c6cf40
L
45364 [BZ #14183]
45365 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
45366 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
45367
67b6df78 45368 [BZ #14117]
8eb6281e
L
45369 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
45370 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
45371
aac639f4
L
45372 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
45373 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
45374
67b6df78
L
45375 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
45376 Defined to 1 if __x86_64__ isn't defined.
45377 (_STAT_VER_LINUX_OLD): New.
45378 (st_atime): Remove duplicate.
45379 (st_mtime): Likewise.
45380 (st_ctime): Likewise.
45381
1c2cfe81
DM
453822012-05-31 David S. Miller <davem@davemloft.net>
45383
45384 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
45385 entries.
45386
5be8418c
AS
453872012-06-01 Andreas Schwab <schwab@linux-m68k.org>
45388
e7725326
AS
45389 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
45390 gen-libm-test.pl.
45391
5be8418c
AS
45392 [BZ #14132]
45393 * elf/dl-reloc.c: Include <_itoa.h>.
45394 (_dl_reloc_bad_type): Remove use of INTUSE.
45395 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
45396 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
45397 * stdio-common/psiginfo.c (psiginfo): Likewise.
45398 * stdio-common/psignal.c (psignal): Likewise.
45399 * string/strsignal.c (strsignal): Likewise.
45400 * include/signal.h (_sys_siglist): Declare hidden proto.
45401 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
45402 INTVARDEF with libc_hidden_data_def.
45403 * stdio-common/itoa-udigits.c: Likewise.
45404 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
45405 (_itoa_lower_digits_internal): Remove declaration.
45406 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
45407 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
45408 (_sys_sigabbrev_internal): Remove aliases.
45409 (_sys_siglist): Define hidden alias.
45410
507352f1
MT
454112012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
45412
45413 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45414 bits/sysctl.h.
45415
42bbb1c3
L
454162012-05-31 H.J. Lu <hongjiu.lu@intel.com>
45417
45418 [BZ #14117]
6bd784b6
L
45419 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
45420 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
45421
8bca20f0
L
45422 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
45423 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
45424 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
45425 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
45426 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
45427 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
45428
f9e890a9
L
45429 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
45430 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
45431 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
45432
471101a1
L
45433 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
45434 with __addr.
45435 (insw): Likewise.
45436 (insl): Likewise.
45437 (outsb): Likewise.
45438 (outsw): Likewise.
45439 (outsl): Likewise.
45440
6451c862
L
45441 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
45442 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
45443 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
45444
a254b8c9
L
45445 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
45446 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
45447 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
45448 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
45449 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
45450 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
45451
b8dfdd92
L
45452 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
45453 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
45454
578cd270
L
45455 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
45456 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
45457
de662f5f
L
45458 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
45459 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
45460 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
45461
25653439
L
45462 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
45463 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
45464 to ...
45465 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
45466
6bad24a0
L
45467 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
45468 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
45469 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
45470
42bbb1c3
L
45471 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
45472 for x86-64.
45473 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
45474
2d10d547
JM
454752012-05-31 Joseph Myers <joseph@codesourcery.com>
45476
45477 * math/math.h (M_El): Use two more decimal places.
45478 (M_LOG2El): Likewise.
45479 (M_LOG10El): Likewise.
45480 (M_LN2l): Likewise.
45481 (M_LN10l): Likewise.
45482 (M_PIl): Likewise.
45483 (M_PI_2l): Likewise.
45484 (M_PI_4l): Likewise.
45485 (M_1_PIl): Likewise.
45486 (M_2_PIl): Likewise.
45487 (M_2_SQRTPIl): Likewise.
45488 (M_SQRT2l): Likewise.
45489 (M_SQRT1_2l): Likewise.
45490
f230c29b
DM
454912012-05-31 David S. Miller <davem@davemloft.net>
45492
45493 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
45494 values between float registers.
45495 * sysdeps/sparc/sparc64/memset.S: Likewise.
45496 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45497
fed806c3
MF
454982012-05-31 Mike Frysinger <vapier@gentoo.org>
45499
45500 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
45501 -D_FORTIFY_SOURCE=1.
45502 (CPPFLAGS-tst-longjmp_chk.c): Define.
45503 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
45504 (CPPFLAGS-tst-longjmp_chk2.c): Define.
45505 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
45506 CFLAGS-tst-wchar-h.c.
45507
30917259
MP
455082012-05-31 Marek Polacek <polacek@redhat.com>
45509
45510 [BZ #14132]
45511 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
45512 __endmntent_internal): Remove declaration.
45513 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
45514 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
45515 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
45516
1c58d5dc
DM
455172012-05-30 David S. Miller <davem@davemloft.net>
45518
45519 * sysdeps/sparc/sparc32/soft-fp/q_util.c
45520 (___Q_simulate_exceptions): Use real FP ops rather than writing
45521 into the %fsr.
45522 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
45523 Likewise.
45524
7dc00e0d
L
455252012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45526
45527 [BZ #14117]
0bd53985
L
45528 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
45529 * sysdeps/x86/bits/xtitypes.h: This.
45530
3a257e66
L
45531 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
45532 * sysdeps/x86/bits/wordsize.h: This.
45533
62f62904
L
45534 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
45535 * sysdeps/x86/bits/huge_vall.h: This.
45536
404fe9d9
L
45537 * sysdeps/i386/bits/select.h: Removed.
45538 * sysdeps/x86_64/bits/select.h: Renamed to ...
45539 * sysdeps/x86/bits/select.h: This.
45540
d48d0446
L
45541 * sysdeps/i386/bits/setjmp.h: Removed.
45542 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
45543 * sysdeps/x86/bits/setjmp.h: This.
45544
7dc00e0d
L
45545 * sysdeps/i386/bits/mathdef.h: Removed.
45546 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
45547 * sysdeps/x86/bits/mathdef.h: This.
45548
03277f8f
AS
455492012-05-30 Andreas Schwab <schwab@linux-m68k.org>
45550
45551 [BZ #14132]
45552 * include/sys/socket.h (__connect_internal)
45553 (__libc_sa_len_internal): Remove declaration.
45554 (__connect, __libc_sa_len): Declare hidden_proto.
45555 (SA_LEN): Remove use of INTUSE.
45556 * socket/connect.c: Add libc_hidden_def.
45557 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
45558 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
45559 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
45560 alias.
45561 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
45562 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
45563 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
45564 of adding _internal alias.
45565
13764867
L
455662012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45567
45568 [BZ #14117]
6bd97696
L
45569 * sysdeps/i386/bits/link.h: Removed.
45570 * sysdeps/i386/bits/linkmap.h: Likewise.
45571 * sysdeps/x86_64/bits/link.h: Renamed to ...
45572 * sysdeps/x86/bits/link.h: This.
45573 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
45574 * sysdeps/x86/bits/linkmap.h: This.
45575
f726f0bb
L
45576 * sysdeps/i386/bits/endian.h: Removed.
45577 * sysdeps/x86_64/bits/endian.h: Renamed to ...
45578 * sysdeps/x86/bits/endian.h: This.
45579
13764867
L
45580 * sysdeps/i386/bits/byteswap.h: Removed.
45581 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45582 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
45583 * sysdeps/x86/bits/byteswap.h: This.
45584 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
45585 * sysdeps/x86/bits/byteswap-16.h: This.
45586 * sysdeps/i386/Implies: Add x86.
45587 * sysdeps/x86_64/Implies: Likewise.
45588
ae251b0b
DM
455892012-05-30 David S. Miller <davem@davemloft.net>
45590
45591 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
45592 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
45593 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
45594 (FP_TRAPPING_EXCEPTIONS): Define.
45595 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
45596 (FP_TRAPPING_EXCEPTIONS): Define.
45597 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
45598 subnormals only when inexact has been signalled or underflow
45599 exceptions are enabled.
45600 (_FP_PACK_CANONICAL): Likewise.
45601
d5c90867
L
456022012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45603
45604 [BZ #14183]
45605 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
45606 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
45607
63f1549e
RH
456082012-05-30 Richard Henderson <rth@twiddle.net>
45609
8d8f2279
RH
45610 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
45611 with #ifndef NOT_IN_libc.
45612
63f1549e
RH
45613 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
45614 marked to avoid plt entry.
45615
0ab0291b
L
456162012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45617
45618 [BZ #14112]
45619 * Makeconfig (default-abi): New macro.
45620 (abi-includes): Likewise.
45621 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
45622 $(abi-$(default-abi)-lib-soname) for soname if defined.
45623 ($(common-objpfx)gnu/lib-names.stmp): Generate from
45624 abi-variants.
45625 * Makefile (installed-stubs): Likewise.
45626 * include/stubs-biarch.h: Removed.
45627 * scripts/lib-names.awk: Only handle one library at a time.
45628 * scripts/soversions.awk: Remove WORDSIZE support.
45629 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
45630 entries.
45631 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
45632 Removed.
45633 (syscall-list-default-condition): Likewise.
45634 (syscall-list-default-condition): Likewise.
45635 (syscall-list-includes): Likewise.
45636 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
45637 syscall-list-* with abi-*. Handle undefined abi-variants.
45638 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
45639 * sysdeps/unix/sysv/linux/i386/Implies: New file.
45640 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
45641 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
45642 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
45643 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
45644 Removed.
45645 (syscall-list-32-options): Likewise.
45646 (syscall-list-32-condition): Likewise.
45647 (syscall-list-64-options): Likewise.
45648 (syscall-list-64-condition): Likewise.
45649 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
45650 macro.
45651 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
45652 Renamed to ...
45653 (abi-*): This.
45654 (abi-64-ld-soname): New macro.
45655 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
45656 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
45657 Renamed to ...
45658 (abi-*): This.
45659 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
45660 * sysdeps/x86_64/x32/shlib-versions: Likewise.
45661
4da0431d
JM
456622012-05-30 Joseph Myers <joseph@codesourcery.com>
45663
3a85279c
JM
45664 * sysdeps/unix/sysv/linux/kernel-features.h
45665 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
45666 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
45667 include <kernel-features.h>.
45668 [!__NR_ftruncate64]: Remove conditional code.
45669 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45670 [__NR_ftruncate64]: Make code unconditional.
45671 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45672 * sysdeps/unix/sysv/linux/truncate64.c: Do not
45673 include <kernel-features.h>.
45674 [!__NR_ftruncate64]: Remove conditional code.
45675 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45676 [__NR_ftruncate64]: Make code unconditional.
45677 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
45679 include <kernel-features.h>.
45680 [!__NR_ftruncate64]: Remove conditional code.
45681 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45682 [__NR_ftruncate64]: Make code unconditional.
45683 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
45685 include <kernel-features.h>.
45686 [!__NR_ftruncate64]: Remove conditional code.
45687 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45688 [__NR_ftruncate64]: Make code unconditional.
45689 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45690
4da0431d
JM
45691 * configure.in (libc_cv_fpie): Weaken to a compile test using
45692 LIBC_TRY_CC_OPTION.
45693 * configure: Regenerated.
45694
11ef492c
AK
456952012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45696
45697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
45698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
45699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
45700 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45701 Refreshed.
45702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
45703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
45704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
45705 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
45706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
45707 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45708 Refreshed.
45709
d66ef399
DM
457102012-05-27 David S. Miller <davem@davemloft.net>
45711
45712 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
45713 (___Q_zero): New.
45714 (__Q_simulate_exceptions): Return void. Change to simulate
45715 exceptions by writing into the %fsr.
45716 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
45717 (__Qp_handle_exceptions): Likewise.
45718 (numbers): Delete.
45719 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
45720 __Qp_handle_exceptions.
45721 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
45722 __Qp_handle_exceptions.
45723 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45724 as unused and give dummy FP_RND_NEAREST initializer.
45725 (FP_INHIBIT_RESULTS): Define.
45726 (___Q_simulate_exceptions): Update declaration.
45727 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
45728 formatting.
45729 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45730 as unused and give dummy FP_RND_NEAREST initializer.
45731 (__Qp_handle_exceptions): Update declaration.
45732 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
45733 formatting.
45734
04fb54b5
TS
457352012-05-27 Thomas Schwinge <thomas@codesourcery.com>
45736
45737 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
45738 the temporary FPU control word.
45739 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
45740 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
45741 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
45742 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45743 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45744 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
45745 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
45746 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45747 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
45748 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
45749 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45750
3f99608f
KK
457512012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45752
45753 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
45754 fields.
45755
65a4de4e
CLT
457562012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
45757
45758 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
45759 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
45760 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
45761 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
45762 Likewise.
45763 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
45764 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
45765 Likewise.
45766
15749d40
UD
457672012-05-27 Ulrich Drepper <drepper@gmail.com>
45768
45769 * po/h.po: Update from translation team.
45770
25dbcb27
AS
457712012-05-26 Andreas Schwab <schwab@linux-m68k.org>
45772
3d3f8e55
AS
45773 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
45774
25dbcb27
AS
45775 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
45776 handling of denormals.
45777 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45778 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
45779 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
45780 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
45781 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45782 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
45783 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
45784 Likewise.
45785
7ad47a80 457862012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
45787
45788 [BZ #14152]
45789 * math/libm-test.inc (fma_test): Don't always expect underflow
45790 exception.
45791
9c6ea9fa
SP
457922012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45793
45794 [BZ #12416]
45795 * elf/tst-execstack.c: Include stackinfo.h.
45796 (do_test): Adjust test case to ensure that pthread_getattr_np
45797 behaviour remains the same after marking stack executable.
45798
a8239222
JM
457992012-05-25 Joseph Myers <joseph@codesourcery.com>
45800
45801 * sysdeps/unix/sysv/linux/kernel-features.h
45802 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
45803 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
45804 kernel-features.h.
45805 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45806 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45807 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
45808 kernel-features.h.
45809 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45810 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45811
918b5606
L
458122012-05-25 H.J. Lu <hongjiu.lu@intel.com>
45813
45814 * configure.in: Define the default includes to being none.
45815 * configure: Regenerated.
45816
3a097cc7
RM
458172012-05-25 Roland McGrath <roland@hack.frob.com>
45818
8422c9a5
RM
45819 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
45820 * sysdeps/x86_64/setjmp.S: Likewise.
45821 * sysdeps/i386/bsd-setjmp.S: Likewise.
45822 * sysdeps/i386/bsd-_setjmp.S: Likewise.
45823 * sysdeps/i386/setjmp.S: Likewise.
45824 * sysdeps/i386/__longjmp.S: Likewise.
45825 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45826 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
45827
3a097cc7
RM
45828 * include/stap-probe.h: New file.
45829 * configure.in: Handle --enable-systemtap.
45830 * configure: Regenerated.
45831 * config.h.in (USE_STAP_PROBE): New #undef.
45832 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
45833 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
45834 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
45835
21708942
JM
458362012-05-25 Joseph Myers <joseph@codesourcery.com>
45837
45838 [BZ #13717]
45839 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
45840 to 2.4.0 where earlier.
45841 * sysdeps/unix/sysv/linux/configure: Regenerated.
45842 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
45843 <kernel-features.h>.
45844 [__ASSUME_32BITUIDS]: Make code unconditional.
45845 [!__ASSUME_32BITUIDS]: Remove conditional code.
45846 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
45847 <kernel-features.h>.
45848 [__ASSUME_32BITUIDS]: Make code unconditional.
45849 [!__ASSUME_32BITUIDS]: Remove conditional code.
45850 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
45851 [__ASSUME_32BITUIDS]: Make code unconditional.
45852 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
45853 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
45854 <kernel-features.h>.
45855 [__ASSUME_32BITUIDS]: Make code unconditional.
45856 [!__ASSUME_32BITUIDS]: Remove conditional code.
45857 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
45858 <kernel-features.h>.
45859 [__ASSUME_32BITUIDS]: Make code unconditional.
45860 [!__ASSUME_32BITUIDS]: Remove conditional code.
45861 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
45862 <kernel-features.h>.
45863 [__ASSUME_32BITUIDS]: Make code unconditional.
45864 [!__ASSUME_32BITUIDS]: Remove conditional code.
45865 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
45866 <kernel-features.h>.
45867 [__ASSUME_32BITUIDS]: Make code unconditional.
45868 [!__ASSUME_32BITUIDS]: Remove conditional code.
45869 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
45870 <kernel-features.h>.
45871 [__ASSUME_32BITUIDS]: Make code unconditional.
45872 [!__ASSUME_32BITUIDS]: Remove conditional code.
45873 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
45874 <kernel-features.h>.
45875 [__ASSUME_32BITUIDS]: Make code unconditional.
45876 [!__ASSUME_32BITUIDS]: Remove conditional code.
45877 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
45878 <kernel-features.h>.
45879 [__ASSUME_32BITUIDS]: Make code unconditional.
45880 [!__ASSUME_32BITUIDS]: Remove conditional code.
45881 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
45882 <kernel-features.h>.
45883 [__ASSUME_32BITUIDS]: Make code unconditional.
45884 [!__ASSUME_32BITUIDS]: Remove conditional code.
45885 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
45886 <kernel-features.h>.
45887 [__ASSUME_32BITUIDS]: Make code unconditional.
45888 [!__ASSUME_32BITUIDS]: Remove conditional code.
45889 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
45890 <kernel-features.h>.
45891 [__ASSUME_32BITUIDS]: Make code unconditional.
45892 [!__ASSUME_32BITUIDS]: Remove conditional code.
45893 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
45894 <kernel-features.h>.
45895 [__NR_setresgid] (__setresgid): Do not declare.
45896 [__ASSUME_32BITUIDS]: Make code unconditional.
45897 [!__ASSUME_32BITUIDS]: Remove conditional code.
45898 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
45899 <kernel-features.h>.
45900 [__NR_setresuid] (__setresuid): Do not declare.
45901 [__ASSUME_32BITUIDS]: Make code unconditional.
45902 [!__ASSUME_32BITUIDS]: Remove conditional code.
45903 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
45904 <kernel-features.h>.
45905 [__ASSUME_32BITUIDS]: Make code unconditional.
45906 [!__ASSUME_32BITUIDS]: Remove conditional code.
45907 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
45908 <kernel-features.h>.
45909 [__ASSUME_32BITUIDS]: Make code unconditional.
45910 [!__ASSUME_32BITUIDS]: Remove conditional code.
45911 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
45912 <kernel-features.h>.
45913 [__ASSUME_32BITUIDS]: Make code unconditional.
45914 [!__ASSUME_32BITUIDS]: Remove conditional code.
45915 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
45916 <kernel-features.h>.
45917 [__ASSUME_32BITUIDS]: Make code unconditional.
45918 [!__ASSUME_32BITUIDS]: Remove conditional code.
45919 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
45920 <kernel-features.h>.
45921 [__ASSUME_32BITUIDS]: Make code unconditional.
45922 [!__ASSUME_32BITUIDS]: Remove conditional code.
45923 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
45924 <kernel-features.h>.
45925 [__ASSUME_32BITUIDS]: Make code unconditional.
45926 [!__ASSUME_32BITUIDS]: Remove conditional code.
45927 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
45928 <kernel-features.h>.
45929 [__ASSUME_32BITUIDS]: Make code unconditional.
45930 [!__ASSUME_32BITUIDS]: Remove conditional code.
45931 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
45932 <kernel-features.h>.
45933 [__ASSUME_32BITUIDS]: Make code unconditional.
45934 [!__ASSUME_32BITUIDS]: Remove conditional code.
45935 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
45936 <kernel-features.h>.
45937 [__ASSUME_32BITUIDS]: Make code unconditional.
45938 [!__ASSUME_32BITUIDS]: Remove conditional code.
45939 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
45940 <kernel-features.h>.
45941 [__ASSUME_32BITUIDS]: Make code unconditional.
45942 [!__ASSUME_32BITUIDS]: Remove conditional code.
45943 * sysdeps/unix/sysv/linux/kernel-features.h
45944 (__ASSUME_SETRESUID_SYSCALL): Remove.
45945 (__ASSUME_SETRESGID_SYSCALL): Likewise.
45946 (__ASSUME_32BITUIDS): Likewise.
45947 (__ASSUME_LDT_WORKS): Likewise.
45948 (__ASSUME_O_DIRECTORY): Likewise.
45949 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
45950 architecture but not kernel version.
45951 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
45952 (__ASSUME_MMAP2_SYSCALL): Likewise.
45953 (__ASSUME_STAT64_SYSCALL): Likewise.
45954 (__ASSUME_IPC64): Likewise.
45955 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
45956 <kernel-features.h>.
45957 [__ASSUME_32BITUIDS]: Make code unconditional.
45958 [!__ASSUME_32BITUIDS]: Remove conditional code.
45959 * sysdeps/unix/sysv/linux/opendir.c: Do not include
45960 <kernel-features.h>.
45961 [__ASSUME_O_DIRECTORY]: Make code unconditional.
45962 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
45963 132096]: Remove conditional code.
45964 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
45965 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
45966 <kernel-features.h>.
45967 [__ASSUME_32BITUIDS]: Make code unconditional.
45968 [!__ASSUME_32BITUIDS]: Remove conditional code.
45969 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
45970 <kernel-features.h>.
45971 [__ASSUME_32BITUIDS]: Make code unconditional.
45972 [!__ASSUME_32BITUIDS]: Remove conditional code.
45973 * sysdeps/unix/sysv/linux/setegid.c: Do not include
45974 <kernel-features.h>.
45975 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
45976 unconditional.
45977 (__setresgid): Do not declare.
45978 [__ASSUME_32BITUIDS]: Make code unconditional.
45979 [!__ASSUME_32BITUIDS]: Remove conditional code.
45980 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
45981 <kernel-features.h>.
45982 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
45983 unconditional.
45984 (__setresuid): Do not declare.
45985 [__ASSUME_32BITUIDS]: Make code unconditional.
45986 [!__ASSUME_32BITUIDS]: Remove conditional code.
45987 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
45988 <kernel-features.h>.
45989 [__ASSUME_32BITUIDS]: Make code unconditional.
45990 [!__ASSUME_32BITUIDS]: Remove conditional code.
45991 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
45992 <kernel-features.h>.
45993 [__ASSUME_32BITUIDS]: Make code unconditional.
45994 [!__ASSUME_32BITUIDS]: Remove conditional code.
45995
a386f1cc
RH
459962012-05-25 Richard Henderson <rth@twiddle.net>
45997
45998 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
45999 dl_hwcap to ifunc resolver.
46000 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
46001 elf_ifunc_invoke.
46002 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
46003 dl_hwcap to ifunc resolver.
46004 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
46005
b6550497
JM
460062012-05-24 Joseph Myers <joseph@codesourcery.com>
46007
46008 [BZ #14153]
46009 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
46010 for |x| <= 2**-26, not 2**-57.
46011 * math/libm-test.inc (acos_test): Do not allow spurious underflow
46012 exception.
46013
b0bc23a1
JL
460142012-05-24 Jeff Law <law@redhat.com>
46015
46016 * stdio-common/Makefile (tests): Add bug25.
46017 * stdio-common/bug25.c: New test.
46018
347c92e9
L
460192012-05-24 H.J. Lu <hongjiu.lu@intel.com>
46020
46021 [BZ #13576]
46022 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
46023 multiple of MALLOC_ALIGNMENT in size.
46024 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
46025
6bcc8b3f
JM
460262012-05-24 Joseph Myers <joseph@codesourcery.com>
46027
46028 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
46029 Require >= 256.
46030 (FILENAME_MAX): Use macro-int-constant.
46031 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
46032 (_IOFBF): Use macro-int-constant.
46033 (_IOLBF): Likewise.
46034 (_IONBF): Likewise.
46035 (SEEK_CUR): Likewise.
46036 (SEEK_END): Likewise.
46037 (SEEK_SET): Likewise.
46038 (TMP_MAX): Likewise.
46039 (EOF): Use macro-int-constant. Require < 0.
46040 (NULL): Use macro-constant. Require == 0.
46041 (stdin): Require type to be FILE *.
46042 (stdout): Likewise.
46043 (stderr): Likewise.
46044 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
46045 macro-int-constant.
46046 (EXIT_SUCCESS): Likewise.
46047 (NULL): Use macro-constant. Require == 0.
46048 (RAND_MAX): Use macro-int-constant.
46049 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
46050 [C99-based standards] (strtof): Require function.
46051 [C99-based standards] (strtold): Likewise.
46052 [C99-based standards] (strtoll): Likewise.
46053 [C99-based standards] (strtoull): Likewise.
46054 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46055 [ISO || ISO99 || ISO11] (limits.h): Likewise.
46056 [ISO || ISO99 || ISO11] (math.h): Likewise.
46057 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
46058 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46059 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46060
d18ea0c5
AS
460612012-05-24 Andreas Schwab <schwab@linux-m68k.org>
46062
46063 [BZ #14132]
56d25bb8
AS
46064 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
46065 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
46066 * intl/dgettext.c (DCGETTEXT): Likewise.
46067 * intl/gettext.c (DCGETTEXT): Likewise.
46068 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
46069 * posix/regex_internal.h (gettext): Likewise.
46070 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
46071 Remove declaration.
46072 * include/argz.h (__argz_count_internal)
46073 (__argz_stringify_internal): Remove declaration.
46074 (__argz_count, __argz_stringify): Declare hidden proto.
46075 * intl/dcgettext.c: Remove use of INTDEF.
46076 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
46077 * string/argz-stringify.c: Likewise.
46078 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46079 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46080 Declare hidden proto.
d18ea0c5
AS
46081 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46082 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46083 Declare hidden proto.
46084 * include/stdio.h (__asprintf_internal): Don't declare.
46085 (__asprintf): Don't define as macro. Declare hidden proto.
46086 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
46087 (__fsetlocking): Declare hidden proto.
46088 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
46089 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
46090 hidden proto.
46091 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
46092 (_IO_setlinebuf): Remove use of INTUSE.
46093 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
46094 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
46095 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
46096 Remove declaration.
46097 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
46098 (_IO_do_flush): Remove use of INTUSE.
46099 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
46100 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
46101 (_IO_adjust_column, _IO_least_wmarker)
46102 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
46103 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
46104 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
46105 (_IO_default_doallocate, _IO_wdefault_doallocate)
46106 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
46107 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
46108 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
46109 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
46110 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
46111 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
46112 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
46113 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
46114 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
46115 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
46116 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
46117 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
46118 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
46119 proto.
46120 (_IO_flush_all_internal, _IO_adjust_column_internal)
46121 (_IO_default_uflow_internal, _IO_default_finish_internal)
46122 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
46123 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
46124 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
46125 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
46126 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
46127 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
46128 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
46129 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
46130 (_IO_file_close_internal, _IO_file_close_it_internal)
46131 (_IO_file_underflow_internal, _IO_file_overflow_internal)
46132 (_IO_file_init_internal, _IO_file_attach_internal)
46133 (_IO_file_fopen_internal, _IO_file_read_internal)
46134 (_IO_file_sync_internal, _IO_file_seek_internal)
46135 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
46136 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
46137 (_IO_str_underflow_internal, _IO_str_overflow_internal)
46138 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
46139 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
46140 (_IO_list_all_internal, _IO_link_in_internal)
46141 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
46142 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
46143 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
46144 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
46145 (_IO_do_write_internal, _IO_padn_internal)
46146 (_IO_getline_info_internal, _IO_getline_internal)
46147 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
46148 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
46149 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
46150 (_IO_vfscanf_internal, _IO_vfprintf_internal)
46151 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
46152 (_IO_init_internal, _IO_un_link_internal): Don't declare.
46153 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
46154 with libc_hidden_ver, remove use of INTUSE.
46155 * libio/genops.c: Likewise.
46156 * libio/freopen.c: Likewise.
46157 * libio/freopen64.c: Likewise.
46158 * libio/iofclose.c: Likewise.
46159 * libio/iofdopen.c: Likewise.
46160 * libio/iofflush.c: Likewise.
46161 * libio/iofflush_u.c: Likewise.
46162 * libio/iofgets.c: Likewise.
46163 * libio/iofgets_u.c: Likewise.
46164 * libio/iofopen.c: Likewise.
46165 * libio/iofopncook.c: Likewise.
46166 * libio/iofread.c: Likewise.
46167 * libio/iofread_u.c: Likewise.
46168 * libio/ioftell.c: Likewise.
46169 * libio/iofwrite.c: Likewise.
46170 * libio/iogetline.c: Likewise.
46171 * libio/iogets.c: Likewise.
46172 * libio/iogetwline.c: Likewise.
46173 * libio/iopadn.c: Likewise.
46174 * libio/iopopen.c: Likewise.
46175 * libio/ioseekoff.c: Likewise.
46176 * libio/ioseekpos.c: Likewise.
46177 * libio/iosetbuffer.c: Likewise.
46178 * libio/iosetvbuf.c: Likewise.
46179 * libio/ioungetc.c: Likewise.
46180 * libio/ioungetwc.c: Likewise.
46181 * libio/iovdprintf.c: Likewise.
46182 * libio/iovsprintf.c: Likewise.
46183 * libio/iovsscanf.c: Likewise.
46184 * libio/memstream.c: Likewise.
46185 * libio/obprintf.c: Likewise.
46186 * libio/oldfileops.c: Likewise.
46187 * libio/oldiofclose.c: Likewise.
46188 * libio/oldiofdopen.c: Likewise.
46189 * libio/oldiofopen.c: Likewise.
46190 * libio/oldiopopen.c: Likewise.
46191 * libio/oldstdfiles.c: Likewise.
46192 * libio/putc.c: Likewise.
46193 * libio/setbuf.c: Likewise.
46194 * libio/setlinebuf.c: Likewise.
46195 * libio/stdfiles.c: Likewise.
46196 * libio/strops.c: Likewise.
46197 * libio/vasprintf.c: Likewise.
46198 * libio/vscanf.c: Likewise.
46199 * libio/vsnprintf.c: Likewise.
46200 * libio/vswprintf.c: Likewise.
46201 * libio/wfiledoalloc.c: Likewise.
46202 * libio/wfileops.c: Likewise.
46203 * libio/wgenops.c: Likewise.
46204 * libio/wmemstream.c: Likewise.
46205 * libio/wstrops.c: Likewise.
46206 * libio/__fpurge.c: Likewise.
46207 * libio/__fsetlocking.c: Likewise.
46208 * assert/assert.c: Likewise.
46209 * debug/fgets_chk.c: Likewise.
46210 * debug/fgets_u_chk.c: Likewise.
46211 * debug/fread_chk.c: Likewise.
46212 * debug/fread_u_chk.c: Likewise.
46213 * debug/gets_chk.c: Likewise.
46214 * debug/obprintf_chk.c: Likewise.
46215 * debug/vasprintf_chk.c: Likewise.
46216 * debug/vdprintf_chk.c: Likewise.
46217 * debug/vsnprintf_chk.c: Likewise.
46218 * debug/vsprintf_chk.c: Likewise.
46219 * malloc/mtrace.c: Likewise.
46220 * misc/error.c: Likewise.
46221 * misc/syslog.c: Likewise.
46222 * stdio-common/asprintf.c: Likewise.
46223 * stdio-common/fxprintf.c: Likewise.
46224 * stdio-common/getw.c: Likewise.
46225 * stdio-common/isoc99_fscanf.c: Likewise.
46226 * stdio-common/isoc99_scanf.c: Likewise.
46227 * stdio-common/isoc99_vfscanf.c: Likewise.
46228 * stdio-common/isoc99_vscanf.c: Likewise.
46229 * stdio-common/isoc99_vsscanf.c: Likewise.
46230 * stdio-common/printf-prs.c: Likewise.
46231 * stdio-common/printf_fp.c: Likewise.
46232 * stdio-common/printf_fphex.c: Likewise.
46233 * stdio-common/printf_size.c: Likewise.
46234 * stdio-common/putw.c: Likewise.
46235 * stdio-common/scanf.c: Likewise.
46236 * stdio-common/sprintf.c: Likewise.
46237 * stdio-common/tmpfile.c: Likewise.
46238 * stdio-common/vfprintf.c: Likewise.
46239 * stdio-common/vfscanf.c: Likewise.
46240 * stdlib/strfmon_l.c: Likewise.
46241 * sunrpc/openchild.c: Likewise.
46242 * sunrpc/xdr_stdio.c: Likewise.
46243 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
46244 * sysdeps/mach/hurd/tmpfile.c: Likewise.
46245
d6c33fda
RM
462462012-05-24 Roland McGrath <roland@hack.frob.com>
46247
c1487492
RM
46248 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46249
46250 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
46251 in the third column, to generate for the shared library an IFUNC
46252 that uses _dl_vdso_vsym.
46253 * Makerules (COMPILE.c, compile-stdin.c): New variables.
46254 * Makeconfig (object-suffixes-noshared): New variable.
46255
46256 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
46257 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
46258 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
46259 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
46260
d6c33fda
RM
46261 [BZ #14132]
46262 * include/sys/time.h (__gettimeofday): Remove macro.
46263 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
46264 * time/gettimeofday.c (__gettimeofday): Remove #undef.
46265 Remove INTDEF.
46266 (__gettimeofday): Add libc_hidden_def.
46267 (gettimeofday): Add libc_hidden_weak.
46268 * sysdeps/mach/gettimeofday.c: Likewise.
46269 * sysdeps/posix/gettimeofday.c: Likewise.
46270 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
46271 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
46272 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
46273 (__gettimeofday_internal): Remove strong_alias.
46274 (__gettimeofday): Add libc_hidden_def.
46275 (gettimeofday): Add libc_hidden_weak.
46276 * sysdeps/unix/syscalls.list (gettimeofday):
46277 Remove __gettimeofday_internal alias.
46278
b5a2bbe6
L
462792012-05-24 Daniel Jacobowitz <drow@false.org>
46280 H.J. Lu <hongjiu.lu@intel.com>
46281
46282 [BZ #12495]
46283 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
46284 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
46285 (largebin_index_32_big): New.
46286 (largebin_index): Use it for 16-byte alignment.
46287 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
46288 correction with front_misalign.
46289
cfba4fda
L
462902012-05-24 H.J. Lu <hongjiu.lu@intel.com>
46291
7f907421
L
46292 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
46293 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
46294 Likewise.
46295 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
46296 Likewise.
46297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46298 Likewise.
46299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
46300 Likewise.
46301 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
46302 Likewise.
46303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
46304 Likewise.
46305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
46306 Likewise.
46307 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46308 Likewise.
46309 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
46310 Likewise.
46311 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
46312 Likewise.
46313 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46314 Likewise.
46315 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
46316 Likewise.
46317
cfba4fda
L
46318 * scripts/data/c++-types-x32-linux-gnu.data: New file.
46319 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
46320
80bad0cc
JM
463212012-05-24 Joseph Myers <joseph@codesourcery.com>
46322
7a25eb06
JM
46323 [BZ #10846]
46324 [BZ #14036]
46325 * math/libm-test.inc (exp_test): Add test from bug 14036.
46326 (pow_test): Add test from bug 10846.
46327
795405f9
JM
46328 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
46329 and other flags.
46330 (special_function): Do not include flags in test name.
46331 (parse_args): Likewise.
46332 * sysdeps/i386/fpu/libm-test-ulps: Update.
46333 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46334 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46335 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46337
80bad0cc
JM
46338 * math/gen-libm-test.pl (%beautify): Add entries for underflow
46339 exceptions.
46340 * math/libm-test.inc ("Philosophy"): Update comment about
46341 exception testing.
46342 (UNDERFLOW_EXCEPTION): New macro.
46343 (UNDERFLOW_EXCEPTION_OK): Likewise.
46344 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
46345 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
46346 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
46347 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
46348 (INVALID_EXCEPTION_OK): Update value.
46349 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46350 (OVERFLOW_EXCEPTION_OK): Likewise.
46351 (IGNORE_ZERO_INF_SIGN): Likewise.
46352 (test_exceptions): Handle underflow exceptions.
46353 (acos_test): Update for underflow exception expectations.
46354 (cexp_test): Likewise.
46355 (clog_test): Likewise.
46356 (clog10_test): Likewise.
46357 (csqrt_test): Likewise.
46358 (ctan_test): Likewise.
46359 (ctanh_test): Likewise.
46360 (exp_test): Likewise.
46361 (exp10_test): Likewise.
46362 (exp2_test): Likewise.
46363 (expm1_test): Likewise.
46364 (fma_test): Likewise.
46365 (j0_test): Likewise.
46366 (jn_test): Likewise.
46367 (nexttoward_test): Likewise.
46368 (pow_test): Likewise.
46369 (scalbn_test): Likewise.
46370 (scalbln_test): Likewise.
46371 (tan_test): Likewise.
46372 (y1_test): Likewise.
46373 * sysdeps/i386/fpu/libm-test-ulps: Update.
46374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46375
9e0e3d0b
DM
463762012-05-23 David S. Miller <davem@davemloft.net>
46377
46378 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46379 (__libc_sigaction): Remove unused local variables.
46380
ccd0a08f
L
463812012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46382
46383 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
46384
62bdf9a6
PE
463852012-05-23 Paul Eggert <eggert@cs.ucla.edu>
46386
f8591f80
PE
46387 mktime: avoid signed integer overflow
46388 * time/mktime.c (__mktime_internal): Do not mishandle the case
46389 where diff == INT_MIN.
46390
94c7d826
PE
46391 mktime: simplify computation of average
46392 * time/mktime.c (ranged_convert): Use new time_t_avg function
46393 instead of rolling our own (probably-slower) code.
46394
ce73d683
PE
46395 mktime: do not assume signed right shift propagates sign bit
46396 * time/mktime.c (isdst_differ): New static function.
46397 (__mktime_internal): No need to normalize tm_isdst now.
46398 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
46399 tm_isdst values.
46400
72a22e59
PE
46401 mktime: merge another wrapv change from gnulib
46402 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
46403 from some compilers.
46404
68605433
PE
46405 mktime: remove incorrect attempt at unusual arithmetics
46406 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
46407 The code didn't really work on such machines anyway.
46408 (TYPE_MINIMUM): Assume two's complement.
46409 (twos_complement_arithmetic): Verify that long_int and time_t
46410 are two's complement (or unsigned, in the latter case).
46411
03cf7fe3
PE
46412 mktime: check signed shifts on long_int and time_t, too
46413 * time/mktime.c (SHR): Check that shifts work as desired
46414 on the types long_int and time_t too, as SHR is used on
46415 such types.
46416
f04dfbc2
PE
46417 mktime: do not assume 'long' is wide enough
46418 * time/mktime.c (verify): Move decl up.
46419 (long_int): New type.
46420 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
46421 to remove assumption in the code that 'long' is wide enough to
46422 store year values. This assumption is not true on x32 and on
46423 some non-glibc platforms.
46424
62bdf9a6
PE
46425 mktime: merge wrapv change from gnulib
46426 * time/mktime.c (WRAPV): New macro.
46427 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
46428 (guess_time_tm, __mktime_internal): Do not assume that signed
46429 integer overflow wraps around; modern compilers generate code
46430 where this assumption is no longer valid.
46431
5e292e4f
L
464322012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46433
46434 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46435 Replace "jmp L(pseudo_end)" with "ret".
46436 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
46437 Likewise.
46438
8caf8c87
AJ
464392012-05-23 Andreas Jaeger <aj@suse.de>
46440
46441 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
46442 * sysdeps/unix/sysv/linux/poll.c: Remove file.
46443
1a09dc56
AJ
464442012-05-23 Andreas Jaeger <aj@suse.de>
46445 Maximilian Attems <max@stro.at>
46446
46447 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
46448 New macros.
46449
1c87aba0
L
464502012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46451
46452 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
46453 code so that pseudo_end is just ret and the stack pointer is
46454 correct also for static library in error case.
46455
40e45bd5
JM
464562012-05-23 Joseph Myers <joseph@codesourcery.com>
46457
c2670533
JM
46458 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
46459 move to syscalls.list.
46460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
46461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
46462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
46463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
46464
40e45bd5
JM
46465 * manual/install.texi (Running make install): Do not mention Linux
46466 kernel version for which pt_chown is not needed.
46467 (Linux): Do not mention problems with nscd with 2.0 kernels.
46468 * INSTALL: Regenerated.
46469
be08eda5
AJ
464702012-05-23 Andreas Jaeger <aj@suse.de>
46471
46472 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
46473 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
46474 macro.
46475 * sysdeps/unix/sysv/linux/s390/bits/mman.h
46476 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46477 * sysdeps/unix/sysv/linux/sh/bits/mman.h
46478 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46479 * sysdeps/unix/sysv/linux/i386/bits/mman.h
46480 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46481 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
46482 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46483 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
46484 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46485 * sysdeps/unix/sysv/linux/bits/in.h
46486 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
46487
a6a056bb
RM
464882012-05-22 Roland McGrath <roland@hack.frob.com>
46489
46490 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
46491 (PREPARE_VERSION): Just use assert instead, it will be elided
46492 under [NDEBUG] anyway.
46493
c9009328
L
464942012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46495
46496 * sysdeps/unix/sysv/linux/Makefile: Include
46497 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 46498 (sysdep_routines): Remove sysctl.
c9009328
L
46499 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
46500 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
46501 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
46502 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
46503 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
46504
73338355
AJ
465052012-05-22 Andreas Jaeger <aj@suse.de>
46506
46507 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
46508 that pseudo_end is just ret and the stack pointer is correct also
46509 for static library in error case.
46510
d44638b0
PP
465112012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
46512
46513 [BZ #14122]
46514 * nss/nsswitch.c (defconfig_entries): New variable.
46515 (__nss_database_lookup): Don't leak defconfig entries.
46516 (nss_parse_service_list): Don't leak on error paths.
46517 (free_database_entries): New function.
46518 (free_defconfig): New function.
46519 (free_mem): Move common code to free_database_entries.
46520
31a39bd8
L
465212012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46522
da0331a8
L
46523 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
46524 Add arch_prctl.
46525 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
46526
31a39bd8
L
46527 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
46528 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
46529 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
46530 New macro.
46531 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
46532 (INTERNAL_SYSCALL_TYPES): Likewise.
46533 (LOAD_ARGS_TYPES_[1-6]): Likewise.
46534 (LOAD_REGS_TYPES_[1-6]): Likewise.
46535 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
46536 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
46537
45470df3
AZ
465382012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46539
46540 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
46541 copysignl for GLIBC_2_0.
46542 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
46543 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
46544 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
46545 logbl for GLIBC_2_0.
46546 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
46547 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
46548
98a61bcb
L
465492012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46550
a4f6e481
L
46551 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
46552 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
46553
f63d5db6
L
46554 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46555 Use "neg %eax".
46556
98a61bcb
L
46557 * time/mktime.c: Update copyright years.
46558
95770f14
PE
465592012-05-22 Paul Eggert <eggert@cs.ucla.edu>
46560
6226efbd
PE
46561 mktime: merge comment-quoting-style change from gnulib
46562 * time/mktime.c: Quote 'like this' in comments.
46563 The GNU coding standards suggest that we no longer quote `like this',
46564 as "`" and "'" are typically rendered asymmetrically nowadays.
46565 The typical gnulib style is to quote 'like this' when quoting
46566 code, and "like this" when quoting English.
46567
b99e4f78
PE
46568 * time/mktime.c (compile-command): Add "-I.".
46569
643e01e6
PE
46570 mktime: merge mktime-internal.h change from gnulib
46571 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
46572
2554247d
PE
46573 mktime: merge time_r change from gnulib
46574 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
46575
826dd0ab
PE
46576 mktime: merge DEBUG change from gnulib
46577 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
46578 case system <time.h> has a #define.
46579
bd83aabe
PE
46580 mktime: merge <sys/types.h> change from gnulib
46581 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
46582 since <time.t> is now guaranteed to define time_t.
46583
95770f14
PE
46584 mktime: merge HAVE_CONFIG_H change from gnulib
46585 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
46586
5e1a27a9
L
465872012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46588
0e44a77e
L
46589 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46590 Use "neg %eax".
46591
5e1a27a9
L
46592 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
46593 __rlim_t cast.
46594 (struct rusage): Use anonymous union to pad each field to
46595 __syscall_slong_t.
46596
46259bec
DM
465972012-05-21 David S. Miller <davem@davemloft.net>
46598
46599 * Makefules (o-iterator): Remove .s cases.
46600 (compile-command.s): Delete.
46601 (COMPILE.s): Delete.
46602 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
46603
59f0c22e
JM
466042012-05-21 Joseph Myers <joseph@codesourcery.com>
46605
46606 * configure.in (libc_cv_predef_stack_protector): Only consider
46607 "foobar" and "__stack_chk_fail" lines in libc_undefs.
46608 * configure: Regenerated.
46609
20c07380
L
466102012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46611
bbb3154b
L
46612 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46613 New macro. Use R*LP on int and pointer.
46614 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
46615 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
46616 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
46617 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
46618
20c07380
L
46619 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
46620 [__WORDSIZE_TIME64_COMPAT32] instead of
46621 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
46622 (struct utmp): Likewise.
46623 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
46624 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
46625 Renamed to ...
46626 (__WORDSIZE_TIME64_COMPAT32): This.
46627 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
46628 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
46629 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
46630 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
46631 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
46632 (__WORDSIZE_TIME64_COMPAT32): New macro.
46633
d8d1017e
AJ
466342012-05-21 Andreas Jaeger <aj@suse.de>
46635
46636 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
46637 only if [SHARED]. Add prototype for __wcschr_ia32.
46638
6c7fb145
RM
466392012-05-21 Roland McGrath <roland@hack.frob.com>
46640
46641 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
46642 of %rbp unmolested in the jmp_buf while mangling the low bits.
46643 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
46644 unmolested high bits of %rbp while demangling the low bits.
46645 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46646
66274218
AJ
466472012-05-21 Andreas Jaeger <aj@suse.de>
46648
07c58f8f
AJ
46649 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
46650 * sunrpc/svc_simple.c: Use it for registerrpc.
46651 * sunrpc/xcrypt.c: Use it for passwd2des.
46652
66274218
AJ
46653 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
46654
61f65140
L
466552012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46656
46657 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
46658 Don't define if [__SYSCALL_WORDSIZE != 32].
46659 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
46660 New macro.
46661
5fefb436
AJ
466622012-05-21 Bruno Haible <bruno@clisp.org>
46663 Andreas Jaeger <aj@suse.de>
46664
46665 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
46666 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
46667 inptr and inend for must_buffer_ch.
46668 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
46669 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
46670 * stdio-common/Makefile (tests): Remove bug15.
46671 (bug15-ENV): Remove macro.
46672 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
46673 anymore.
46674
d8e272ab
AJ
466752012-05-19 Andreas Jaeger <aj@suse.de>
46676 Roland McGrath <roland@hack.frob.com>
46677
46678 * manual/contrib.texi: Completely rewritten. It contains now an
46679 alphabetical list of contributors and their contributions.
46680
4a56a162
RH
466812012-05-21 Richard Henderson <rth@twiddle.net>
46682
46683 * misc/getauxval.c (__getauxval): Use unsigned long int.
46684 * misc/sys/auxv.h: Include <sys/cdefs.h>.
46685 (getauxval): Use unsigned long int.
46686
d024d23c
L
466872012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46688
46689 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46690
cbc00a03
RM
466912012-05-21 Roland McGrath <roland@hack.frob.com>
46692
46693 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
46694 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
46695 __alignof__ (long double).
46696
478143fa
AZ
466972012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46698
46699 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46700
c7683a6d
RH
467012012-05-20 Richard Henderson <rth@twiddle.net>
46702
46703 * misc/getauxval.c: New file.
46704 * misc/sys/auxv.h: New file.
46705 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
46706 (routines): Add getauxval.
46707 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
46708 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
46709 * elf/dl-sysdep.c (_dl_auxv): Remove.
46710 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
46711 * elf/dl-support.c (_dl_auxv): New variable.
46712 (_dl_aux_init): Initialize it.
46713 * manual/startup.texi (Auxiliary Vector): New node.
46714 * sysdeps/generic/bits/hwcap.h: New file.
46715 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
46716 * sysdeps/powerpc/sysdep.h: ... here. Include it.
46717 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
46718 * sysdeps/sparc/sysdep.h: ... here. Include it.
46719 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
46720 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
46721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46722 Update.
c7683a6d
RH
46723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
46724 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
46725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
46726 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
46727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46729 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
46730 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
46731
a6f1845d
AZ
467322012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46733
46734 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46735
cbcbe830
DM
467362012-05-19 David S. Miller <davem@davemloft.net>
46737
46738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46739
e0b16cc2
JM
467402012-05-19 Joseph Myers <joseph@codesourcery.com>
46741
46742 [BZ #14123]
46743 * math/s_ccosh.c: Include <float.h>
46744 (__ccosh): Avoid internal overflow calculating sinh and cosh
46745 values before multiplying by sin and cos values.
46746 * math/s_ccoshf.c: Likewise.
46747 * math/s_ccoshl.c: Likewise.
46748 * math/s_csin.c: Likewise.
46749 * math/s_csinf.c: Likewise.
46750 * math/s_csinl.c: Likewise.
46751 * math/s_csinh.c: Likewise.
46752 * math/s_csinhf.c: Likewise.
46753 * math/s_csinhl.c: Likewise.
46754 * math/libm-test.inc (ccos_test): Add more tests.
46755 (ccosh_test): Likewise.
46756 (csin_test): Likewise.
46757 (csinh_test): Likewise.
46758 * sysdeps/i386/fpu/libm-test-ulps: Update.
46759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46760
6ad13e08
L
467612012-05-19 H.J. Lu <hongjiu.lu@intel.com>
46762
f66f0ce8
L
46763 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
46764 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
46765
6ad13e08
L
46766 * sysdeps/x86_64/x32/_itoa.h: Add comment.
46767
b1d072a7
JM
467682012-05-19 Joseph Myers <joseph@codesourcery.com>
46769
46770 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
46771 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
46772 * sysdeps/powerpc/soft-fp/Versions: Likewise.
46773 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
46774 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
46775 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
46776 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
46777 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
46778 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
46779 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
46780 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
46781 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
46782 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
46783 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
46784 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
46785 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
46786 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
46787 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
46788 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
46789 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
46790 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
46791 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
46792 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
46793 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
46794 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
46795 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
46796 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
46797 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
46798 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
46799 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
46800 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
46801
9eae47cb
AJ
468022012-05-18 Andreas Jaeger <aj@suse.de>
46803
46804 * csu/.gitignore: Delete.
46805
bb07f69f
L
468062012-05-18 H.J. Lu <hongjiu.lu@intel.com>
46807
46808 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
46809 (timex): Use __syscall_slong_t.
46810
e6bdb741
AJ
468112012-05-18 Andreas Jaeger <aj@suse.de>
46812 Carlos O'Donell <carlos_odonell@mentor.com>
46813
46814 * manual/install.texi (Configuring and compiling): Update
46815 description about files modified in the source directory.
d6c33fda 46816 * INSTALL: Regenerated.
e6bdb741 46817
1b74487e
L
468182012-05-18 H.J. Lu <hongjiu.lu@intel.com>
46819
46820 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
46821 value. Use "or" to set return value to -1.
46822 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
46823 negate return value.
46824
a88b64b9
TMQMF
468252012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46826
57f41c40
AS
46827 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
46828 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
46829 failure if the compiler has Graphite support disabled.
46830 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
46831 Likewise.
57f41c40
AS
46832 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
46833 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
46834 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
46835 Likewise.
46836
3707636e
L
468372012-05-18 H.J. Lu <hongjiu.lu@intel.com>
46838
610b8622
L
46839 * sysdeps/x86_64/x32/_itoa.h: New file.
46840
7cd195df
L
46841 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
46842 getdents system call only if kernel and user dirents have the
46843 same d_ino and d_off.
46844
94b07d20
L
46845 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46846 LLONG_MAX != LONG_MAX.
46847 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46848 (_fitoa_word): Likewise.
46849
18298070
L
46850 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
46851 years.
46852 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
46853 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
46854 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
46855
553c7ea4
L
46856 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
46857 include <bits/wordsize.h>. Check __x86_64__ instead of
46858 __WORDSIZE.
46859 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
46860 if __x86_64__ is defined. Use anonymous union on fpstate.
46861
3707636e
L
46862 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
46863 anonymous union.
46864
b53ef01a
AS
468652012-05-18 Andreas Schwab <schwab@linux-m68k.org>
46866
37fb1dc0
AS
46867 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
46868 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
46869 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
46870 Refer to _rtld_local_ro instead of _rtld_global_ro.
46871 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
46872 Likewise.
46873 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
46874 Likewise.
46875 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
46876 Likewise.
46877 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
46878 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
46879 of _rtld_global, and rtld_progname instead of _dl_argv[0].
46880
b53ef01a
AS
46881 * sysdeps/powerpc/powerpc32/dl-machine.c
46882 (__elf_machine_runtime_setup) [PROF]: Don't reference
46883 _dl_prof_resolve.
46884
7a185db2
AJ
468852012-05-18 Andreas Jaeger <aj@suse.de>
46886
46887 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
46888 function only available for GCCs before 3.4 since GCC 3.4
46889 introduced a builtin.
46890 (lrint): Likewise.
46891 (llrintf): Likewise.
46892 (llrint): Likewise.
46893 (fmaxf): Likewise.
46894 (fmax): Likewise.
46895 (fminf): Likewise.
46896 (fmin): Likewise.
46897 (rint): Likewise.
46898 (rintf): Likewise.
46899 (nearbyint): Likewise.
46900 (nearbyintf): Likewise.
46901 (ceil): Likewise.
46902 (ceilf): Likewise.
46903 (floor): Likewise.
46904 (floorf): Likewise.
46905
3e5aef87
L
469062012-05-17 H.J. Lu <hongjiu.lu@intel.com>
46907
428bd707
L
46908 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
46909 on both fields and cast pointer to __syscall_ulong_t.
46910
3e5aef87
L
46911 * bits/types.h (__fsword_t): New type.
46912 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
46913 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
46914 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46915 (__FSWORD_T_TYPE): Likewise.
46916 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46917 (__FSWORD_T_TYPE): Likewise.
46918 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46919 (__FSWORD_T_TYPE): Likewise.
46920 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
46921 (__FSWORD_T_TYPE): Likewise.
46922 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
46923 __SWORD_TYPE with __fsword_t.
46924 (statfs64): Likewise.
46925
1ba7c3dc
DM
469262012-05-17 David S. Miller <davem@davemloft.net>
46927
46928 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
46929
59910343
AJ
469302012-05-17 Andreas Jaeger <aj@suse.de>
46931
46932 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
46933 warning.
46934
2e4c1e9e
L
469352012-05-17 H.J. Lu <hongjiu.lu@intel.com>
46936
46937 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
46938
de7f5ce7
AJ
469392012-05-17 Andreas Jaeger <aj@suse.de>
46940
46941 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
46942 when it is used.
46943
286abc3d
CM
469442012-05-17 Chris Metcalf <cmetcalf@tilera.com>
46945
46946 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
46947
477cc68e
L
469482012-05-17 H.J. Lu <hongjiu.lu@intel.com>
46949
46950 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
46951 * sysdeps/x86_64/tst-mallocalign1.c: New file.
46952
1a0994f5
CD
469532012-05-17 Andreas Jaeger <aj@suse.de>
46954 Carlos O'Donell <carlos_odonell@mentor.com>
46955
46956 [BZ #14059]
46957 * sysdeps/x86_64/multiarch/init-arch.h
46958 (bit_YMM_Usable): Rename to...
46959 (bit_AVX_Usable): ... this.
46960 (bit_FMA4_Usable): New macro.
46961 (bit_XMM_state): New macro.
46962 (bit_YMM_state): New macro.
46963 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
46964 [__ASSEMBLER__] (index_AVX_Usable): ... this.
46965 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
46966 (CPUID_OSXSAVE): New macro.
46967 (CPUID_AVX): New macro.
46968 (CPUID_FMA4): New macro.
46969 (index_YMM_Usable): Rename to...
46970 (index_AVX_Usable): ... this.
46971 (HAS_AVX): Use HAS_ARCH_FEATURE.
46972 (HAS_FMA4): Likewise.
46973 (HAS_YMM_USABLE): Remove.
46974 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46975 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
46976 are present.
46977 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
46978 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
46979 * sysdeps/x86_64/multiarch/Makefile: Likewise.
46980 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
46981 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
46982
0af797de
CM
469832012-05-17 Chris Metcalf <cmetcalf@tilera.com>
46984
46985 * math/libm-test.c: Support platforms without multiple rounding modes.
46986 * math/bug-nextafter.c: Support platforms without FP exceptions.
46987 * math/bug-nexttoward.c: Likewise.
46988 * math/test-fenv.c: Likewise.
46989 * math/test-misc.c: Likewise.
46990 * stdlib/bug-getcontext.c: Likewise.
46991
e39745ff
AJ
469922012-05-17 Andreas Jaeger <aj@suse.de>
46993
46994 * manual/examples/search.c (critter_cmp): Change signature to
46995 avoid warnings.
46996 * manual/string.texi (Collation Functions): Likewise.
46997
48970aba
L
469982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46999
47000 * bits/types.h: Fold copyright years.
47001 * bits/typesizes.h: Likewise.
47002 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
47003 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47004 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
47005 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
47006 * time/time.h: Likewise.
47007
bedee953
PP
470082012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
47009
47010 [BZ #208]
47011 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
47012 in instead of returning them. Return void.
47013 (__libc_mallinfo): Accumulate over all arenas.
47014 (__malloc_stats): Adjust for change in int_mallinfo interface.
47015
61653dfb
RM
470162012-05-16 Roland McGrath <roland@hack.frob.com>
47017
30b99d79
RM
47018 [BZ #10375]
47019 * configure.in (NM): Add AC_CHECK_TOOL for it.
47020 (libc_extra_cflags): New substituted variable.
47021 Check for -fstack-protector being used implicitly.
47022 * configure: Regenerated.
47023 * config.make.in (config-extra-cflags): New variable,
47024 gets @libc_extra_cflags@.
47025 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
47026
61653dfb
RM
47027 [BZ #10375]
47028 * configure.in: Check for _FORTIFY_SOURCE being predefined.
47029 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
47030 * configure: Regenerated.
47031 * config.make.in (CPPUNDEFS): New substituted variable.
47032 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
47033 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
47034 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
47035
661768bb
L
470362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47037
47038 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
47039 (mq_attr): Use __syscall_slong_t.
47040
d4261567
L
470412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47042
47043 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
47044 Check __x86_64__ instead of __WORDSIZE.
47045 (_STAT_VER_LINUX): Likewise.
47046 (stat): Check __x86_64__ instead of __WORDSIZE. Use
47047 __syscall_ulong_t and __syscall_slong_t.
47048 (stat64): Likewise.
47049
cf3ff365
L
470502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47051
47052 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
47053
76cf3e4d
L
470542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47055
47056 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
47057
a637753a
L
470582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47059
47060 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
47061 __syscall_ulong_t.
47062
d5e05119
L
47063 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
47064 include <bits/wordsize.h>. Check __x86_64__ instead of
47065 __WORDSIZE.
47066 (greg_t): Use "__extension__ long long int" if __x86_64__ is
47067 defined.
47068 (mcontext_t): Replace "unsigned long" with "unsigned long long".
47069
f62ee380
L
47070 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
47071 include <bits/wordsize.h>. Check __x86_64__ instead of
47072 __WORDSIZE.
47073 (user_regs_struct): Use "__extension__ unsigned long long"
47074 instead of "unsigned long" if __x86_64__ is defined.
47075 (user): Likewise. Pad after pointer field if __ILP32__ is
47076 defined.
47077
4e124ced
JM
470782012-05-16 Joseph Myers <joseph@codesourcery.com>
47079
6a3951a0
JM
47080 * configure.in (makeinfo): Require version 4.5 or later. Allow
47081 versions 5 to 9.
47082 * configure: Regenerated.
47083 * manual/install.texi (texinfo): Increase version requirement to
47084 4.5 or later.
47085 * INSTALL: Regenerated.
47086
4e124ced
JM
47087 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
47088
953ca31a
L
470892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47090
47091 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
47092
617aca05
L
47093 * sysdeps/x86_64/x32/ffs.c: New file.
47094
5762f7ae
L
47095 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
47096 __syscall_ulong_t.
47097 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
47098 defined. Use __syscall_ulong_t.
47099 (shminfo): Use __syscall_ulong_t.
47100 (shm_info): Likewise.
47101
a26b6856
L
47102 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
47103 __syscall_ulong_t.
47104
cb2b9ef7
L
47105 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
47106 <bits/wordsize.h>.
47107 (msgqnum_t): Use __syscall_ulong_t.
47108 (msglen_t): Likewise.
47109 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
47110 __syscall_ulong_t.
47111
34683bb0
L
47112 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
47113 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
47114
84a68786
L
47115 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
47116
48baa5f1
L
47117 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
47118 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
47119
180be88b
L
47120 * sysvipc/sys/msg.h (msgbuf): Replace long int with
47121 __syscall_slong_t.
47122
5e90c8ad
L
47123 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
47124 include <bits/wordsize.h>. Check __x86_64__ instead of
47125 __WORDSIZE.
47126
23dfb58b
L
47127 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
47128 "unsigned long long int" if __x86_64__ is defined.
47129 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
47130
ce5d54b0
L
47131 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
47132 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
47133 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
47134
13dc9eac
L
47135 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
47136 <stdint.h>.
47137 (GET_PC): Cast to uintptr_t first.
47138 (GET_FRAME): Likewise.
47139 (GET_STACK): Likewise.
47140
a7895d15
L
47141 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
47142 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
47143 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
47144 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
47145 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
47146 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
47147 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
47148 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
47149 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
47150 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
47151 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
47152 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
47153 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47154 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
47155 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
47156 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
47157 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
47158 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
47159 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
47160 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
47161 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
47162 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
47163 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
47164 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
47165 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
47166 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
47167 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
47168 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
47169 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
47170
656416c9
AS
471712012-05-16 Andreas Schwab <schwab@linux-m68k.org>
47172
5bd66283
AS
47173 * Makerules (+depfiles): Also collect depfiles from .oS in
47174 $(extra-objs).
47175 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
47176 .oS, $(libnldbl-routines)).
47177
656416c9
AS
47178 * Makerules (native-compile-mkdep-flags): Define.
47179 * sunrpc/Makefile (extra-objs): Add $(addprefix
47180 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
47181 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
47182 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
47183 calling $(make-target-directory).
47184
a46f2169
L
471852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47186
47187 * bits/types.h (__snseconds_t): Removed.
47188 * time/time.h (struct timespec): Replace __snseconds_t with
47189 __syscall_slong_t.
47190 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
47191 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
47192 Likewise.
47193 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47194 (__SNSECONDS_T_TYPE): Likewise.
47195 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47196 (__SNSECONDS_T_TYPE): Likewise.
47197 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47198 (__SNSECONDS_T_TYPE): Likewise.
47199
6af6528b
L
472002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47201
47202 * sysdeps/mach/hurd/bits/typesizes.h
47203 (__SYSCALL_SLONG_TYPE): New macro.
47204 (__SYSCALL_ULONG_TYPE): Likewise.
47205
de986b56
L
472062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47207
47208 * bits/types.h (__syscall_slong_t): New type.
47209 (__syscall_ulong_t): Likewise.
47210
47211 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
47212 (__SYSCALL_ULONG_TYPE): Likewise.
47213 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47214 (__SYSCALL_SLONG_TYPE): Likewise.
47215 (__SYSCALL_ULONG_TYPE): Likewise.
47216 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47217 (__SYSCALL_SLONG_TYPE): Likewise.
47218 (__SYSCALL_ULONG_TYPE): Likewise.
47219 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47220 (__SYSCALL_SLONG_TYPE): Likewise.
47221 (__SYSCALL_ULONG_TYPE): Likewise.
47222
85736dc7
L
472232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47224
47225 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
47226 Add sigaltstack-offsets.sym.
47227 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
47228 <sigaltstack-offsets.h>.
47229 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
47230 longjmp_msg pointer.
47231 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
47232 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
47233 signal stack.
47234 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
47235
cc03b296
JM
472362012-05-15 Joseph Myers <joseph@codesourcery.com>
47237
a9538892
JM
47238 * elf/stackguard-macros.h: Remove file.
47239 * sysdeps/generic/stackguard-macros.h: New file.
47240 * sysdeps/i386/stackguard-macros.h: Likewise.
47241 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47242 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47243 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47244 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47245 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47246 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47247 * sysdeps/x86_64/stackguard-macros.h: Likewise.
47248 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
47249 <elf/stackguard-macros.h>.
47250
cc03b296
JM
47251 [BZ #14109]
47252 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
47253 __aligned__ in attribute.
47254 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
47255 (gregset_t): Likewise.
47256
93171016
L
472572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47258
47259 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
47260 * sysdeps/x86_64/64/Implies-after: Here. New file.
47261 * sysdeps/x86_64/x32/Implies-after: New file.
47262
d86813a0
L
472632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47264
47265 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
47266 and access return value for _dl_profile_fixup. Use R10_LP to
47267 load frame size.
47268
2953ec75
L
472692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47270
47271 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
47272
3b550e9e
L
472732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47274
47275 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
47276 * sysdeps/x86_64/x32/sysdep.h: New file.
47277
eda41706
L
472782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47279
47280 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
47281 * sysdeps/x86_64/setjmp.S: Likewise.
47282
9ea01d93
AZ
472832012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47284
47285 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
47286 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
47287 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
47288 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
47289 remove unused global constant.
47290
02a91938
CM
472912012-05-15 Chris Metcalf <cmetcalf@tilera.com>
47292
47293 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
47294 include of <not-cancel.h>.
47295
6540185f
RM
472962012-05-15 Roland McGrath <roland@hack.frob.com>
47297
47298 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
47299
509072a0
AJ
473002012-05-15 Jeff Law <law@redhat.com>
47301 Andreas Jaeger <aj@suse.de>
47302
47303 [BZ #13594]
47304 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
47305 out from...
47306 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
47307 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
47308 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
47309 code changing __hst_map_handle.map.
47310
ba75122d
RM
473112012-05-15 Roland McGrath <roland@hack.frob.com>
47312
47313 * configure.in (sysnames): Look for Implies-before and Implies-after
47314 files.
47315 * configure: Regenerated.
47316
890d8bd8
L
473172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47318
47319 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
47320 8-byte data alignment with LP_SIZE alignment.
47321
f6ee6623
L
473222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47323
47324 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
47325 into R10_LP.
47326
ea2626f6
L
473272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47328
47329 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
47330
085f715e
L
473312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47332
47333 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
47334 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
47335 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
47336 Likewise.
47337 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47338
be8498fc
L
473392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47340
47341 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
47342 (stackinfo_sub_sp): Likewise.
47343
70bc83b9
L
473442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47345
47346 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
47347 RAX_LP.
47348
9bc0b730
L
473492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47350
47351 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
47352 into R*_LP.
47353
6d2850e7
L
473542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47355
47356 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
47357 sizes into R*_LP.
47358
3cb84561
L
473592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47360
47361 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
47362
54e2ed81
L
473632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47364
47365 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
47366 into R11_LP and load __x86_64_shared_cache_size_half into
47367 R8_LP.
47368
8a17f349
L
473692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47370
47371 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
47372 R8_LP.
47373
777b1eea
AZ
473742012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47375
47376 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
47377 logb for POWER7.
47378 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
47379 logbf for POWER7.
47380 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
47381 logbl for POWER7.
47382 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
47383 powerpc32/power7/fpu/s_logb.c via #include.
47384 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
47385 powerpc32/power7/fpu/s_logbf.c via #include.
47386 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
47387 powerpc32/power7/fpu/s_logbl.c via #include.
47388
d20d4ac2
JM
473892012-05-15 Joseph Myers <joseph@codesourcery.com>
47390
47391 * README.libm: Remove file.
47392
6cdef1ab
L
473932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47394
47395 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
47396 count for x32. Use R*_LP and omit operand-size suffix.
47397
0b254d8f
L
473982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47399
47400 * shlib-versions: Move x86_64-.*-linux.* entries to ...
47401 * sysdeps/x86_64/64/shlib-versions: Here. New file.
47402 * sysdeps/x86_64/x32/shlib-versions: New file.
47403
ceb809dc
RM
474042012-05-14 Roland McGrath <roland@hack.frob.com>
47405
47406 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
47407 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
47408 Use _dl_fatal_printf instead.
47409
37f1abd4
JM
474102012-05-14 Joseph Myers <joseph@codesourcery.com>
47411
47412 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
47413 set if not set by the user. Do not allow for being unset.
47414 * sysdeps/unix/sysv/linux/configure: Regenerated.
47415
11de3a33
L
474162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47417
47418 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
47419 the `q' suffix from lea and replace .quad with ASM_ADDR.
47420
e02f153a
L
474212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47422
47423 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
47424 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
47425 instead of $17.
47426 (PTR_DEMANGLE): Likewise.
47427
520ae0fd
L
474282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47429
47430 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
47431 (LP_OP): Likewise.
47432 (ASM_ADDR): Likewise.
47433 (RAX_LP): Likewise.
47434 (RBP_LP): Likewise.
47435 (RBX_LP): Likewise.
47436 (RCX_LP): Likewise.
47437 (RDI_LP): Likewise.
47438 (RSI_LP): Likewise.
47439 (RSP_LP): Likewise.
47440 (R8_LP): Likewise.
47441 (R9_LP): Likewise.
47442 (R10_LP): Likewise.
47443 (R10_LP): Likewise.
47444 (R11_LP): Likewise.
47445 (R12_LP): Likewise.
47446 (R13_LP): Likewise.
47447 (R14_LP): Likewise.
47448 (R15_LP): Likewise.
47449
b985be81
L
474502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47451
47452 * sysdeps/x86_64/x32/dl-machine.h: New file.
47453
6a4888ff
AJ
474542012-05-14 Andreas Jaeger <aj@suse.de>
47455
47456 * manual/Makefile (subdir): Remove export of subdir.
47457 (all): Remove target.
47458 (.PHONY): Remove all from list.
47459 (mkinstalldirs): Remove.
47460 (.PHONY): Remove installdirs from list.
47461 ($(inst_infodir)/libc.info): Use make-target-directory.
47462 (installdirs): Remove.
47463 (subdir_%): Remove.
47464 (glibc-targets): Remove.
47465 (lib): Remove.
47466 (stubs): Remove.
47467 ($(objpfx)stubs ../po/manual.pot): Remove.
47468 ($(objpfx)stamp%): Remove.
47469 (make-target-directory): Remove.
47470 (subdir_install): Remove.
47471 (routines): Remove.
47472 (aux): Remove.
47473 (sources): Remove.
47474 (objects): Remove.
47475 (headers): Remove.
47476
47477 [BZ #13750]
47478 * manual/.gitignore: Remove, it's not needed anymore.
47479 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
47480 all files in it.
47481 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
47482 directory.
47483 (texis): Renamed to $(objpfx)texis.
47484 (texis-path): New, contains path to generated files.
47485 (chapters.%): Use texis-path for complete path, add extra argument
47486 libc-texinfo.sh.
47487 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
47488 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
47489 (summary,texi, stamp-summary): Use complete path of
47490 files. Generate files in build dir.
47491 (dir-add.texi): Build in build dir.
47492 (libm-err.texi,stamp-libm-err): Likewise.
47493 (version.texi, stamp-version): Likewise.
47494 (.%c.texi): Likewise.
47495 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
47496 (mostlyclean): Remove target.
47497 (realclean): Remove target.
47498 (generated): Add new variable with contents from mostlyclean and
47499 realclean, remove entries duplicated in common-mostlyclean, add
47500 stamp-libm-err and stamp-version.
47501 (generated-dirs): Add libc directory.
47502 ($(inst_infodir)/libc.info): Install files from build dir.
47503
47504 * manual/install.texi (Configuring and compiling): Adjust since
47505 the info files are not part of the tar ball anymore.
47506
7ac77294
AJ
475072012-05-14 Andreas Jaeger <aj@suse.de>
47508
47509 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
47510 variable.
47511
ffb7875d
JM
475122012-05-14 Joseph Myers <joseph@codesourcery.com>
47513
47514 [BZ #13717]
47515 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47516 to 2.2.0 where earlier.
47517 * sysdeps/unix/sysv/linux/configure: Regenerated.
47518 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
47519 Remove conditional code.
47520 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
47521 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
47522 Remove conditional code.
47523 [!__NR_lchown]: Likewise.
47524 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47525 [__NR_lchown]: Likewise.
47526 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
47527 comment referencing __ASSUME_LCHOWN_SYSCALL.
47528 * sysdeps/unix/sysv/linux/i386/sigaction.c
47529 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47530 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47531 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
47532 Remove conditional code.
47533 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
47534 (__protocol_available): Remove #if 0 code.
47535 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
47536 conditional code.
47537 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
47538 * sysdeps/unix/sysv/linux/kernel-features.h
47539 (__ASSUME_GETCWD_SYSCALL): Don't define.
47540 (__ASSUME_REALTIME_SIGNALS): Likewise.
47541 (__ASSUME_PREAD_SYSCALL): Likewise.
47542 (__ASSUME_PWRITE_SYSCALL): Likewise.
47543 (__ASSUME_POLL_SYSCALL): Likewise.
47544 (__ASSUME_LCHOWN_SYSCALL): Likewise.
47545 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
47546 non-SPARC.
47547 (__ASSUME_SIOCGIFNAME): Don't define.
47548 (__ASSUME_MSG_NOSIGNAL): Likewise.
47549 (__ASSUME_SENDFILE): Define unconditionally.
47550 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
47551 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
47552 conditional code.
47553 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
47554 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
47555 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47556 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47557 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
47558 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47559 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
47561 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47562 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
47564 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47565 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
47567 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47568 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
47570 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47571 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
47573 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47574 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
47576 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47577 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
47579 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47580 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
47582 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47583 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47584 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
47585 Remove conditional code.
47586 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47587 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47588 Remove conditional code.
47589 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47590 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
47591 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
47592 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47593 Remove conditional code.
47594 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47595 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
47596 Remove conditional code.
47597 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47598 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
47599 Remove conditional code.
47600 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47601 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47602 Remove conditional code.
47603 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47604 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47605 Remove conditional code.
47606 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47607 * sysdeps/unix/sysv/linux/sh/pwrite64.c
47608 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47609 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47610 * sysdeps/unix/sysv/linux/sigaction.c
47611 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47612 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47613 * sysdeps/unix/sysv/linux/sigpending.c
47614 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47615 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47616 * sysdeps/unix/sysv/linux/sigprocmask.c
47617 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47618 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47619 * sysdeps/unix/sysv/linux/sigsuspend.c
47620 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47621 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47622 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47623 (__libc_missing_rt_sigs): Remove.
47624 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
47625 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
47626 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
47627 Remove conditional code.
47628 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
47629 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
47630 return 1.
47631 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
47632 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
47633 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
47634 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
47635
1bfb7291
AJ
476362012-05-14 Andreas Jaeger <aj@suse.de>
47637
caae5a81
AJ
47638 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
47639 it's not used in glibc.
47640 (__coshm1): Likewise.
47641 (__acosh1p): Likewise.
47642 (__sgn): Likewise.
47643
1bfb7291
AJ
47644 * manual/string.texi (Copying and Concatenation): Add missing
47645 variable in concat example.
47646 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
47647
c044d724
L
476482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47649
144c5467 47650 [BZ #14103]
c044d724
L
47651 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
47652 __builtin_clzl with __builtin_clzll.
47653
2523c62b
L
476542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47655
47656 [BZ #14104]
47657 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
47658 libc_freeres_ptr.
47659
d7bb4c42
LD
476602012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47661
47662 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
47663 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
47664 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
47665 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
47666
9dc4e1fb
MF
476672012-05-14 Mike Frysinger <vapier@gentoo.org>
47668
47669 * NEWS: Update ia64 info.
47670
c7df0112
AS
476712012-05-12 Andreas Schwab <schwab@linux-m68k.org>
47672
47673 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
47674 used as bcopy.
47675
dc70356c
TS
476762012-05-12 Thomas Schwinge <thomas@codesourcery.com>
47677
47678 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
47679 * sysdeps/unix/syscalls.list (dup3): Likewise.
47680 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
47681 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
47682
9fb1a21f
L
476832012-05-11 H.J. Lu <hongjiu.lu@intel.com>
47684
47685 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
47686 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
47687
4822a2a5
L
476882012-05-11 H.J. Lu <hongjiu.lu@intel.com>
47689
47690 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
47691 thread pointer.
47692 (TLS_IE): Use mov/add instead of movq/addq to load thread
47693 pointer.
47694 (TLS_GD_PREFIX): New.
47695 (TLS_GD): Use it.
47696
842b81d6
DM
476972012-05-11 David S. Miller <davem@davemloft.net>
47698
47699 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
47700 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
47701 (_FPU_SETCW): Likewise.
47702
1cf463cd
L
477032012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47704
47705 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
47706 is 32-byte aligned.
47707
60cc4a18
AS
477082012-05-11 Andreas Schwab <schwab@linux-m68k.org>
47709
47710 [BZ #11837]
47711 * iconvdata/gb18030.c: Update tables.
47712 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
47713 characters specially.
47714 (BODY for TO_LOOP): Add encoding of missing ranges.
47715
febb44a4
TS
477162012-05-11 Thomas Schwinge <thomas@codesourcery.com>
47717
47718 [BZ #13673]
47719 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
47720 * sysdeps/mach/hurd/dup3.c: Likewise.
47721 * sysdeps/mach/hurd/readlinkat.c: Likewise.
47722 * sysdeps/powerpc/memmove.c:: Likewise.
47723
0a10fb9e
L
477242012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47725
47726 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
47727 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
47728
df8a552f
L
477292012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47730
47731 * elf/elf.h (R_X86_64_RELATIVE64): New.
47732 (R_X86_64_NUM): Updated.
47733 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47734 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
47735 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
47736 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
47737 tst-quad1pie tst-quad2pie
47738 (modules-names): Add tst-quadmod1 tst-quadmod2.
47739 ($(objpfx)tst-quad1): New dependency.
47740 ($(objpfx)tst-quad2): Likewise.
47741 ($(objpfx)tst-quad1pie): Likewise.
47742 ($(objpfx)tst-quad2pie): Likewise.
47743 * sysdeps/x86_64/tst-quad1.c: New file.
47744 * sysdeps/x86_64/tst-quad1pie.c: New file.
47745 * sysdeps/x86_64/tst-quad2.c: Likewise.
47746 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
47747 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
47748 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
47749 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
47750 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
47751
f34d6f84
ST
477522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47753
f42d41d1
ST
47754 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
47755 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
47756 * streams/stropts.h (t_scalar_t): Define type.
47757
3c3571fc
ST
47758 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
47759 (_PATH_PRESERVE): Set to "/var/lib".
47760 (_PATH_RWHODIR): Set to "/var/spool/rwho".
47761
61f06bd3
ST
47762 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
47763 instead of int.
47764
918d4d71
ST
47765 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
47766 if __dir_mkfile succeeded.
47767
f34d6f84
ST
47768 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
47769 checking for _hurd_dtablesize. Unlock it right after having
47770 finished _hurd_dtable allocation.
47771
10589b4a
TS
477722012-05-10 Thomas Schwinge <thomas@schwinge.name>
47773
674cdbc7
TS
47774 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
47775 * sysdeps/mach/hurd/configure: Regenerated.
47776 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
47777 special-casing to...
47778 * sysdeps/gnu/configure.in: ... this new file.
47779 * sysdeps/unix/sysv/linux/configure: Regenerated.
47780 * sysdeps/gnu/configure: New generated file.
47781
8e41b99f
TS
47782 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
47783 for Linux: use nsec instead of usec, as well as:
47784 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
47785 members of type struct timespec.
47786 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
47787 New macros.
47788 (struct stat64): Likewise.
47789 (_STATBUF_ST_NSEC): New macro.
47790 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
47791
10589b4a
TS
47792 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47793 __strtoul_internal rather than strtoul.
47794
63643c85
PT
477952012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47796
47797 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
47798 and reject them.
47799
3faebe6a
ST
478002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47801
47802 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
47803 which preserves existing values.
47804 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
47805
c6474b07
PT
478062012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47807
47808 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
47809 TIMEOUT values. Return EINVAL for NFDS values either negative or
47810 greater than FD_SETSIZE.
47811
1043890b
ST
478122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47813
47814 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
47815 allocated, call __vm_protect to finish enabling the existing space, and
47816 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
47817 allocate the remainder.
47818
37ed8b9b
PT
478192012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47820
47821 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
47822 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
47823
db653660
ST
478242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47825
37ed8b9b
PT
47826 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
47827 sysdeps/mach/hurd/readlink.c.
b29d4053 47828
db653660
ST
47829 * posix/tst-sysconf.c (posix_options): Only use
47830 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
47831 _POSIX_SYNCHRONIZED_IO when they are defined
47832 * sysdeps/mach/hurd/bits/posix_opt.h:
47833 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
47834 (_XOPEN_REALTIME): Undefine macro.
47835 (_XOPEN_REALTIME_THREADS): Undefine macro.
47836 (_XOPEN_SHM): Undefine macro.
47837 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
47838 macro to -1.
47839 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
47840 macro to -1.
47841 (_POSIX_ASYNC_IO): Undefine macro.
47842 (_POSIX_PRIORITIZED_IO): Undefine macro.
47843 (_POSIX_SPIN_LOCKS): Define macro to -1.
47844
ee16e894
ST
47845 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
47846 SA_NODEFER, SA_RESETHAND.
47847 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
47848 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
47849 F_DUPFD_CLOEXEC.
47850
6103ae3b
TS
478512012-05-10 Thomas Schwinge <thomas@schwinge.name>
47852
47853 * elf/Makefile (pldd-modules): Define unconditionally.
47854
80b4e5f3
TS
478552012-05-10 Thomas Schwinge <thomas@schwinge.name>
47856
47857 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
47858
edadcbd6
ST
478592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47860
47861 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
47862 Return ENOENT when name is empty.
47863 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
47864
80694780
TS
478652012-05-10 Thomas Schwinge <thomas@schwinge.name>
47866
1792c087
TS
47867 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
47868
80694780
TS
47869 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
47870
6b645f0d
ST
478712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47872
80694780
TS
47873 Fix mlock in all cases except non-readable pages.
47874 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
47875 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 47876
6b645f0d
ST
47877 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
47878 (__mkdir): When path is `/', just fail with EEXIST.
47879 * sysdeps/mach/hurd/mkdirat.c: Likewise.
47880
e468f8a3
TS
478812012-05-10 Thomas Schwinge <thomas@schwinge.name>
47882
47883 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
47884 <sys/uio.h> (for writev).
47885 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
47886 and <sys/param.h> (for MIN).
47887
a4186cff
PT
478882012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47889
47890 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
47891 REQUESTED_TIME. Properly set the remaining time and return EINTR
47892 if interrupted.
47893
510bbf14
TS
478942012-05-10 Thomas Schwinge <thomas@schwinge.name>
47895
47896 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
47897 Depend on against $(link-rpcuserlibs).
47898
5d5722e8
ST
478992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47900
a4186cff
PT
47901 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
47902 (__libc_stack_end): Do not use attribute_relro.
47903 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
47904 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 47905 to libthread-provided value.
a4186cff
PT
47906 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
47907 attribute_relro.
5d5722e8 47908
37233df9
TS
479092012-05-10 Thomas Schwinge <thomas@schwinge.name>
47910
be971a2b
TS
47911 [BZ #3748]
47912 * bits/libc-lock.h (__libc_once_get): New macro.
47913 * sysdeps/mach/bits/libc-lock.h: Likewise.
47914 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
47915 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
47916 instead of using implementation details.
47917
37233df9
TS
47918 * libio/fileops.c: Unconditionally include <kernel-features.h>.
47919 * libio/freopen.c: Likewise.
47920 * libio/freopen64.c: Likewise.
47921 * misc/syslog.c: Likewise.
47922 * nscd/connections.c: Likewise.
47923 * nscd/netgroupcache.c: Likewise.
47924 * sysdeps/posix/getcwd.c: Likewise.
47925
38de94a5
RM
479262012-05-10 Roland McGrath <roland@hack.frob.com>
47927
47928 * math/w_ilogbf.c: Add #include <limits.h>.
47929
67530489
ST
479302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47931
a4186cff 47932 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
47933 path instead of returning without unlocking.
47934
67530489
ST
47935 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
47936 immediate-write ioctls.
47937 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
47938
5aa3a74a
TS
479392012-05-10 Thomas Schwinge <thomas@schwinge.name>
47940
18bad2ae
TS
47941 * sysdeps/mach/hurd/i386/init-first.c (init): Use
47942 __builtin_frame_address instead of making assumptions about the
47943 location of the return address relative to DATA. Force early load of
47944 the return address.
47945 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
47946 __builtin_frame_address.
47947
5aa3a74a
TS
47948 dup3 for GNU Hurd.
47949 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
47950 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
47951 implement dup3 and do some further code clean-ups.
47952 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
47953 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
47954
ecd0de9a
ST
479552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47956
cd9fa985
ST
47957 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
47958
a4186cff
PT
47959 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
47960 HURD_CRITICAL_END around holding _hurd_dtable_lock.
47961 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
47962 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
47963 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
47964 d->port.lock.
802ca5a5 47965
a4186cff
PT
47966 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
47967 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
47968 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 47969
bcf55240
TS
479702012-05-10 Thomas Schwinge <thomas@schwinge.name>
47971
6960eb42
TS
47972 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
47973 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
47974 definitions.
47975
eb43375f
TS
47976 accept4 for GNU Hurd.
47977 * include/sys/socket.h (__libc_accept4): New prototype.
47978 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
47979 to implement __libc_accept4.
47980 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
47981 __libc_accept4.
47982 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
47983
bcf55240
TS
47984 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
47985 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
47986 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
47987 signal-defines.sym.
47988
6178c55b
ST
479892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47990
a4186cff 47991 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 47992
6f080c2f
TS
479932012-05-10 Thomas Schwinge <thomas@schwinge.name>
47994
47995 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
47996 assertion on O_CLOEXEC flag.
47997 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
47998 * hurd/intern-fd.c: Likewise.
47999 * hurd/port2fd.c: Likewise.
48000
bcfe3a54
ST
480012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48002
48003 [BZ #3906]
48004 * bits/in.h (IPV6_PKTINFO): Define new macro.
48005 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
48006
89c9aa49
AZ
480072012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48008
48009 [BZ #13954]
48010 [BZ #13955]
48011 [BZ #13956]
48012 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
48013 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48014 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
48015 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48016 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48017 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48018 * math/libm-test.inc (logb_test) : Additional logb tests.
48019
021db4be
AJ
480202012-05-09 Andreas Schwab <schwab@linux-m68k.org>
48021 Andreas Jaeger <aj@suse.de>
48022
48023 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
48024 * configure: Regenerated.
48025 * config.h.in (LINK_OBSOLETE_RPC): New macro.
48026 * config.make.in (link-obsolete-rpc): New substituted variable.
48027 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
48028 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
48029 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48030 (shared-only-routines): Don't set it under [link-obsolete-rpc],
48031 so that libc.a contains the symbols.
48032 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48033 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
48034 * sunrpc/auth_none.c: Likewise.
48035 * sunrpc/auth_unix.c: Likewise.
48036 * sunrpc/authdes_prot.c: Likewise.
48037 * sunrpc/authuxprot.c: Likewise.
48038 * sunrpc/clnt_gen.c: Likewise.
48039 * sunrpc/clnt_perr.c: Likewise.
48040 * sunrpc/clnt_raw.c: Likewise.
48041 * sunrpc/clnt_simp.c: Likewise.
48042 * sunrpc/clnt_tcp.c: Likewise.
48043 * sunrpc/clnt_udp.c: Likewise.
48044 * sunrpc/clnt_unix.c: Likewise.
48045 * sunrpc/des_crypt.c: Likewise.
48046 * sunrpc/des_soft.c: Likewise.
48047 * sunrpc/get_myaddr.c: Likewise.
48048 * sunrpc/key_call.c: Likewise.
48049 * sunrpc/key_prot.c: Likewise.
48050 * sunrpc/netname.c: Likewise.
48051 * sunrpc/pm_getmaps.c: Likewise.
48052 * sunrpc/pm_getport.c: Likewise.
48053 * sunrpc/pmap_clnt.c: Likewise.
48054 * sunrpc/pmap_prot.c: Likewise.
48055 * sunrpc/pmap_prot2.c: Likewise.
48056 * sunrpc/pmap_rmt.c: Likewise.
48057 * sunrpc/publickey.c: Likewise.
48058 * sunrpc/rpc_cmsg.c: Likewise.
48059 * sunrpc/rpc_common.c: Likewise.
48060 * sunrpc/rpc_dtable.c: Likewise.
48061 * sunrpc/rpc_prot.c: Likewise.
48062 * sunrpc/rpc_thread.c: Likewise.
48063 * sunrpc/rtime.c: Likewise.
48064 * sunrpc/svc.c: Likewise.
48065 * sunrpc/svc_auth.c: Likewise.
48066 * sunrpc/svc_raw.c: Likewise.
48067 * sunrpc/svc_run.c: Likewise.
48068 * sunrpc/svc_tcp.c: Likewise.
48069 * sunrpc/svc_udp.c: Likewise.
48070 * sunrpc/svc_unix.c: Likewise.
48071 * sunrpc/svcauth_des.c: Likewise.
48072 * sunrpc/xcrypt.c: Likewise.
48073 * sunrpc/xdr.c: Likewise.
48074 * sunrpc/xdr_array.c: Likewise.
48075 * sunrpc/xdr_float.c: Likewise.
48076 * sunrpc/xdr_intXX_t.c: Likewise.
48077 * sunrpc/xdr_mem.c: Likewise.
48078 * sunrpc/xdr_rec.c: Likewise.
48079 * sunrpc/xdr_ref.c: Likewise.
48080 * sunrpc/xdr_sizeof.c: Likewise.
48081 * sunrpc/xdr_stdio.c: Likewise.
48082
b5c086a2
RM
480832012-05-10 Roland McGrath <roland@hack.frob.com>
48084
48085 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
48086 change. Update copyright years.
48087
6d74dd09
JM
480882012-05-10 Joseph Myers <joseph@codesourcery.com>
48089
48090 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
48091
28e72501
MK
480922012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
48093 Joseph Myers <joseph@codesourcery.com>
48094 Paul Pluzhnikov <ppluzhnikov@google.com>
48095
48096 [BZ #14012]
48097 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
48098 requiring rpcgen.
48099 [cross-compiling] (extra-libs): Likewise.
48100 [cross-compiling] (extra-libs-others): Likewise.
48101 [cross-compiling] (librpcsvc-routines): Likewise.
48102 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
48103 [cross-compiling] (omit-deps): Likewise.
48104 (sunrpc-CPPFLAGS): New variable.
48105 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
48106 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
48107 (cross-rpcgen-objs): New variable.
48108 (extra-objs): Append $(cross-rpcgen-objs).
48109 ($(cross-rpcgen-objs)): New rule.
48110 ($(objpfx)cross-rpcgen): Likewise.
48111 (rpcgen-cmd): Define to use $(built-program-file). Expand
48112 comment.
48113 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
48114 ($(objpfx)x%.stmp): Likewise.
48115 * sunrpc/proto.h [IS_IN_build] (_): Define.
48116 [IS_IN_build] (_libc_intl_domainname): Likewise.
48117
c8c59454
L
481182012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48119
48120 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
48121 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
48122 and R_X86_64_TPOFF64.
48123
6f27cd16
JM
481242012-05-10 Joseph Myers <joseph@codesourcery.com>
48125
48126 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
48127 sysdeps/unix/sysv/syscalls.list.
48128 (stime): Likewise.
48129 (utime): Likewise.
48130 * sysdeps/unix/sysv/syscalls.list: Remove file.
48131
02467e1c
PE
481322012-05-10 Paul Eggert <eggert@cs.ucla.edu>
48133
48134 [BZ #3440]
48135 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
48136 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
48137 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
48138 (__LC_IDENTIFICATION): Make these macros useful in #if
48139 expressions, as required by C99.
48140
da392631
AS
481412012-05-10 Andreas Schwab <schwab@linux-m68k.org>
48142
48143 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
48144 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
48145 after this.
48146
8115f29b
L
481472012-05-09 H.J. Lu <hongjiu.lu@intel.com>
48148
48149 * stdlib/longlong.h: Updated from GCC.
48150
bdd74070
AJ
481512012-05-09 Andreas Jaeger <aj@suse.de>
48152
edfe0dbe
AJ
48153 * nscd/nscd.c (run_modes): Make named enum, reorder so that
48154 default is first entry.
48155 (run_mode): Set type.
48156 (main): Remove informal message about syslog.
48157 (options): Fix typo.
48158
bcfe3a54
ST
48159 [BZ #14053]
48160 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 48161 to asm.
bcfe3a54
ST
48162 (lrint): Likewise.
48163 (llrintf): Likewise.
48164 (llrint): Likewise.
48165 (rint): Likewise.
48166 (rintf): Likewise.
48167 (nearbyint): Likewise.
48168 (nearbyintf): Likewise.
bdd74070 48169
91d8d69e
AJ
481702012-05-09 Andreas Jaeger <aj@suse.de>
48171 Pedro Alves <palves@redhat.com>
48172
48173 * nscd/nscd.c (run_mode): Use enum.
48174 (main): Cleanup coding style issue.
48175
bb90b80b
AJ
481762012-05-09 Alexandre Oliva <aoliva@redhat.com>
48177 Andreas Jaeger <aj@suse.de>
48178
bcfe3a54
ST
48179 * nscd/nscd.c (go_background): Replaced with...
48180 (run_mode): ... this.
bb90b80b 48181 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
48182 (options): Add -F --foreground.
48183 (main): Implement it.
48184 (parse_opt): Parse it.
bb90b80b 48185
1a4b75a1
AJ
481862012-05-09 Andreas Jaeger <aj@suse.de>
48187
48188 [BZ #14083]
48189 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
48190 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
48191 -Wconversion warning.
48192 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
48193 Likewise.
48194
b1cc2472
JM
481952012-05-09 Joseph Myers <joseph@codesourcery.com>
48196
48197 * conform/data/locale.h-data (NULL): Use macro-constant. Require
48198 == 0.
48199 (LC_ALL): Use macro-int-constant.
48200 (LC_COLLATE): Likewise.
48201 (LC_CTYPE): Likewise.
48202 (LC_MESSAGES): Likewise.
48203 (LC_MONETARY): Likewise.
48204 (LC_NUMERIC): Likewise.
48205 (LC_TIME): Likewise.
48206 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
48207 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48208 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48209 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
48210 Specify type.
48211 [C99-based standards] (float_t): Expect type.
48212 [C99-based standards] (double_t): Expect type.
48213 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
48214 type.
48215 [C99-based standards] (HUGE_VALL): Likewise.
48216 [C99-based standards] (INFINITY): Likewise.
48217 [C99-based standards] (NAN): Likewise.
48218 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
48219 [C99-based standards] (FP_NAN): Likewise.
48220 [C99-based standards] (FP_NORMAL): Likewise.
48221 [C99-based standards] (FP_SUBNORMAL): Likewise.
48222 [C99-based standards] (FP_ZERO): Likewise.
48223 [C99-based standards] (FP_FAST_FMA): Use
48224 optional-macro-int-constant. Specify type. Require == 1.
48225 [C99-based standards] (FP_FAST_FMAF): Likewise.
48226 [C99-based standards] (FP_FAST_FMAL): Likewise.
48227 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
48228 [C99-based standards] (FP_ILOGBNAN): Likewise.
48229 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
48230 Specify type.
48231 [C99-based standards] (MATH_ERREXCEPT): Likewise.
48232 [C99-based standards] (math_errhandling): Specify type.
48233 [ISO99 || ISO11] (signgam): Do not allow.
48234 [non-C99-based standards] (copysignf): Do not allow.
48235 [non-C99-based standards] (exp2f): Likewise.
48236 [non-C99-based standards] (log2f): Likewise.
48237 [non-C99-based standards] (modff): Allow.
48238 [non-C99-based standards] (erff): Do not allow.
48239 [non-C99-based standards] (erfcf): Likewise.
48240 [non-C99-based standards] (gammaf): Likewise.
48241 [non-C99-based standards] (hypotf): Likewise.
48242 [non-C99-based standards] (j0f): Likewise.
48243 [non-C99-based standards] (j1f): Likewise.
48244 [non-C99-based standards] (jnf): Likewise.
48245 [non-C99-based standards] (lgammaf): Likewise.
48246 [non-C99-based standards] (tgammaf): Likewise.
48247 [non-C99-based standards] (y0f): Likewise.
48248 [non-C99-based standards] (y1f): Likewise.
48249 [non-C99-based standards] (ynf): Likewise.
48250 [non-C99-based standards] (isnanf): Likewise.
48251 [non-C99-based standards] (acoshf): Likewise.
48252 [non-C99-based standards] (asinhf): Likewise.
48253 [non-C99-based standards] (atanhf): Likewise.
48254 [non-C99-based standards] (cbrtf): Likewise.
48255 [non-C99-based standards] (expm1f): Likewise.
48256 [non-C99-based standards] (ilogbf): Likewise.
48257 [non-C99-based standards] (log1pf): Likewise.
48258 [non-C99-based standards] (logbf): Likewise.
48259 [non-C99-based standards] (nextafterf): Likewise.
48260 [non-C99-based standards] (remainderf): Likewise.
48261 [non-C99-based standards] (rintf): Likewise.
48262 [non-C99-based standards] (scalbf): Likewise.
48263 [non-C99-based standards] (copysignl): Likewise.
48264 [non-C99-based standards] (exp2l): Likewise.
48265 [non-C99-based standards] (log2l): Likewise.
48266 [non-C99-based standards] (modfl): Allow.
48267 [non-C99-based standards] (erfl): Do not allow.
48268 [non-C99-based standards] (erfcl): Likewise.
48269 [non-C99-based standards] (gammal): Likewise.
48270 [non-C99-based standards] (hypotl): Likewise.
48271 [non-C99-based standards] (j0l): Likewise.
48272 [non-C99-based standards] (j1l): Likewise.
48273 [non-C99-based standards] (jnl): Likewise.
48274 [non-C99-based standards] (lgammal): Likewise.
48275 [non-C99-based standards] (tgammal): Likewise.
48276 [non-C99-based standards] (y0l): Likewise.
48277 [non-C99-based standards] (y1l): Likewise.
48278 [non-C99-based standards] (ynl): Likewise.
48279 [non-C99-based standards] (isnanl): Likewise.
48280 [non-C99-based standards] (acoshl): Likewise.
48281 [non-C99-based standards] (asinhl): Likewise.
48282 [non-C99-based standards] (atanhl): Likewise.
48283 [non-C99-based standards] (cbrtl): Likewise.
48284 [non-C99-based standards] (expm1l): Likewise.
48285 [non-C99-based standards] (ilogbl): Likewise.
48286 [non-C99-based standards] (log1pl): Likewise.
48287 [non-C99-based standards] (logbl): Likewise.
48288 [non-C99-based standards] (nextafterl): Likewise.
48289 [non-C99-based standards] (remainderl): Likewise.
48290 [non-C99-based standards] (rintl): Likewise.
48291 [non-C99-based standards] (scalbl): Likewise.
48292 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48293 [non-C99-based standards] (FP_*): Do not allow.
48294 [C99-based standards] (FP_*): Change to
48295 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48296 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48297 allow.
48298 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
48299 (SIG_ERR): Likewise.
48300 [X/Open-based standards] (SIG_HOLD): Likewise.
48301 (SIG_IGN): Likewise.
48302 (SIGABRT): Use macro-int-constant. Specify type. Require
48303 positive value.
48304 (SIGFPE): Likewise.
48305 (SIGILL): Likewise.
48306 (SIGINT): Likewise.
48307 (SIGSEGV): Likewise.
48308 (SIGTER): Likewise.
48309 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
48310 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
48311 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
48312 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
48313 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
48314 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
48315 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
48316 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
48317 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
48318 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
48319 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
48320 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
48321 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
48322 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
48323 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
48324 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
48325 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
48326 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
48327 [X/Open-based standards] (SIGTRAP): Likewise.
48328 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
48329 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
48330 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
48331 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
48332 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48333 allow.
48334
b9f1922d
IW
483352012-05-08 Ian Wienand <ianw@vmware.com>
48336
48337 [BZ #14080]
48338 * time/tzset.c (__tzset_parse_tz): Update default rules for
48339 daylight time changes in the Energy Policy Act of 2005.
48340
1db86e88
AJ
483412012-05-09 Andreas Jaeger <aj@suse.de>
48342
48343 [BZ #13983]
48344 * elf/ldconfig.c (parse_conf): Change string to make clear that
48345 ldconfig only issued a warning if ld.so.conf does not exist.
48346
dee4a4e3
DM
483472012-05-08 David S. Miller <davem@davemloft.net>
48348
ee0db190
DM
48349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
48350 movxtod instead of popping the value on the stack.
48351
dee4a4e3
DM
48352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48353
6a43ec98
CD
483542012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
48355
48356 * config.h.in: Add HAVE_ARM_PCS_VFP.
48357
05c2c961
RMG
483582012-05-08 Roland Mc Grath <roland@hack.frob.com>
48359
bcfe3a54
ST
48360 [BZ #13979]
48361 * include/features.h: Warn if user requests __FORTIFY_SOURCE
48362 checking but the checks are disabled for any reason.
05c2c961 48363
4b30f61a
L
483642012-05-08 H.J. Lu <hongjiu.lu@intel.com>
48365
48366 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
48367 and ELF64_R_TYPE with ELFW(R_TYPE).
48368
eee2bc67
JM
483692012-05-08 Joseph Myers <joseph@codesourcery.com>
48370
7ea5391a
JM
48371 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
48372 (ulimit): Likewise.
48373
eee2bc67
JM
48374 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
48375 (settimeofday): Likewise.
48376
abb66a67
MF
483772012-05-08 Mike Frysinger <vapier@gentoo.org>
48378
48379 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
48380 a struct th_u2 inside the union, and move tu_block/tu_code into
48381 a new th_u3 union of tu_block/tu_code inside of that. Move
48382 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
48383 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
48384 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
48385 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
48386 (th_stuff): Change to th_u1.tu_stuff.
48387 (th_data): Define.
48388 (th_msg): Change to th_u1.th_u2.tu_data.
48389
7f18b530
DM
483902012-05-07 David S. Miller <davem@davemloft.net>
48391
05760585
DM
48392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48393
7f18b530
DM
48394 [BZ #14074]
48395 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
48396 (SETUP_PIC_REG): Use it.
48397 (SETUP_PIC_REG_LEAF): Use it.
48398
495fd99f
JM
483992012-05-07 Joseph Myers <joseph@codesourcery.com>
48400
48401 [BZ #13885]
48402 [BZ #13923]
48403 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48404 USE_AS_EXPM1L.
48405 (EXPL_FINITE): Likewise.
48406 (FLDLOG): Likewise.
48407 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48408 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48409 e_expl.S.
48410 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48411 USE_AS_EXPM1L.
48412 (EXPL_FINITE): Likewise.
48413 (FLDLOG): Likewise.
48414 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48415 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48416 e_expl.S.
48417 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
48418 test of -max_value argument for long double.
48419 * sysdeps/i386/fpu/libm-test-ulps: Update.
48420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48421
6693d694
DM
484222012-05-06 David S. Miller <davem@davemloft.net>
48423
48424 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
48425 quad soft-float symbols whose references which are compiler
48426 generated.
48427 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48428
6c23e11c
JM
484292012-05-06 Joseph Myers <joseph@codesourcery.com>
48430
d8b82cad
JM
48431 [BZ #13884]
48432 [BZ #13914]
48433 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48434 USE_AS_EXP10L.
48435 (EXPL_FINITE): Likewise.
48436 (FLDLOG): Likewise.
48437 (c0): Likewise.
48438 (c1): Likewise.
48439 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
48440 Adjust comments for base varying.
48441 (__expl_finite): Change alias to EXPL_FINITE.
48442 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
48443 e_expl.S.
48444 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
48445 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
48446 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
48447 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
48448 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48449 USE_AS_EXP10L.
48450 (EXPL_FINITE): Likewise.
48451 (FLDLOG): Likewise.
48452 (c0): Likewise.
48453 (c1): Likewise.
48454 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
48455 Adjust comments for base varying.
48456 (__expl_finite): Change alias to EXPL_FINITE.
48457 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
48458 tests for bugs.
48459 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48460
6c23e11c
JM
48461 [BZ #14064]
48462 * math/libm-test.inc (check_float_internal): Correct ulp
48463 calculation for subnormal expected results.
48464
29ba805c
AJ
484652012-05-06 Andreas Jaeger <aj@suse.de>
48466
48467 * Makeconfig (+math-flags): New, set to -frounding-math.
48468 (+cflags): Add +math-flags so that all of glibc gets compiled with
48469 it.
48470
48471 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
48472
7b17aeda
JM
484732012-05-05 Joseph Myers <joseph@codesourcery.com>
48474
5779f134
JM
48475 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
48476 Disable one test.
48477
41498f4d
JM
48478 [BZ #13787]
48479 [BZ #13922]
48480 [BZ #14036]
48481 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
48482 (__ieee754_expl): Allow for and saturate large arguments.
48483 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
48484 (u_threshold): Likewise.
48485 (__exp): Call __ieee754_exp before checking for overflow and
48486 underflow.
48487 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
48488 (u_threshold): Likewise.
48489 (__expf): Call __ieee754_expf before checking for overflow and
48490 underflow.
48491 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
48492 (u_threshold): Likewise.
48493 (__expl): Call __ieee754_expl before checking for overflow and
48494 underflow.
48495 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
48496 (__ieee754_expl): Allow for and saturate large arguments.
48497 * math/libm-test.inc (exp_test): Add another test. Do not allow
48498 missing overflow exception on overflow.
48499 (expm1_test): Do not allow missing overflow exception on overflow.
48500
6698b8bf
JM
48501 * sysdeps/i386/fpu/e_expl.c: Move to ...
48502 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
48503 rather than using inline asm.
48504 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
48505 * sysdeps/x86_64/fpu/e_expl.S: Copy from
48506 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
48507
7b17aeda
JM
48508 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
48509 (nice): Likewise.
48510 (poll): Likewise.
48511 (signal): Likewise.
48512 (time): Likewise.
48513 (times): Likewise.
48514
f7c85819
JM
485152012-05-04 Joseph Myers <joseph@codesourcery.com>
48516
48517 * sysdeps/unix/syscalls.list (adjtime): Add entry from
48518 sysdeps/unix/common/syscalls.list.
48519 (fchmod): Likewise.
48520 (fchown): Likewise.
48521 (ftruncate): Likewise.
48522 (getrusage): Likewise.
48523 (gettimeofday): Likewise.
48524 (setpgid): Likewise.
48525 (setregid): Likewise.
48526 (setreuid): Likewise.
48527 (sigaction): Likewise.
48528 (truncate): Likewise.
48529 (vhangup): Likewise.
48530 * sysdeps/unix/common/syscalls.list: Remove file.
48531 * sysdeps/unix/bsd/Implies: Don't include unix/common.
48532 * sysdeps/unix/sysv/linux/Implies: Likewise.
48533
336270d0
L
485342012-05-04 H.J. Lu <hongjiu.lu@intel.com>
48535
48536 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
48537 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
48538 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
48539 Moved to ...
48540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
48541 Here.
48542 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
48543 to ...
48544 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
48545 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
48546 to ...
48547 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
48548 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
48549 to ...
48550 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
48551 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
48552 to ...
48553 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
48554 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
48555 to ...
48556 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
48557 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
48558 to ...
48559 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
48560 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
48561 to ...
48562 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48563 Here.
48564 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
48565 to ...
48566 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
48567 Here.
48568 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
48569 to ...
48570 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
48571 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
48572 Moved to ...
48573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
48574 Here.
48575 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
48576 to ...
48577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
48578
d128e450
JM
485792012-05-04 Joseph Myers <joseph@codesourcery.com>
48580
fa8ee516
JM
48581 * sysdeps/unix/common/bits/dirent.h: Remove file.
48582 * sysdeps/unix/common/bits/fcntl.h: Likewise.
48583
d128e450
JM
48584 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
48585 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
48586 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
48587 * sysdeps/unix/bsd/isatty.c: Likewise.
48588 * sysdeps/unix/bsd/tcdrain.c: Likewise.
48589 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
48590 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
48591
ff8faaf0 485922012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 48593
62881be4 48594 [BZ #13563]
31dc8730
AZ
48595 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
48596 long double comparison inaccuracies.
48597 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
48598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48599
6fef930c
AS
486002012-05-04 Andreas Schwab <schwab@linux-m68k.org>
48601
48602 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
48603 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
48604
8f203e6c
JM
486052012-05-04 Joseph Myers <joseph@codesourcery.com>
48606
48607 [BZ #14049]
48608 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
48609 nonzero digits before rounding a hex value.
48610 * stdlib/tst-strtod.c (tests): Add another test.
48611
5197d9c2
AK
486122012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48613
48614 * sysdeps/s390/fpu/libm-test-ulps: Update.
48615
f0c1dedf
AJ
486162012-05-03 Andreas Jaeger <aj@suse.de>
48617
48618 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
48619 does not get optimized out.
48620 (malloc_opt_barrier): New.
48621
a65ef2ae 486222012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 48623 Roland McGrath <roland@hack.frob.com>
a65ef2ae 48624
2b942cb7 48625 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 48626 intermediate file deletion.
2b942cb7 48627 (generated): Add .symlist files.
a65ef2ae 48628
54b71e02
JM
486292012-05-03 Joseph Myers <joseph@codesourcery.com>
48630
48631 [BZ #13775]
48632 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
48633 Redirect under this condition.
48634 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48635 [__USE_GNU] (__dprintf_chk): Not under this condition.
48636 [__USE_GNU] (__vdprintf_chk): Likewise.
48637 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
48638 under this condition.
48639 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48640 [__USE_XOPEN2K8] (dprintf): Define under this condition.
48641 [__USE_XOPEN2K8] (vdprintf): Likewise.
48642 [__USE_GNU] (__dprintf_chk): Not under this condition.
48643 [__USE_GNU] (__vdprintf_chk): Likewise.
48644 [__USE_GNU] (dprintf): Likewise.
48645 [__USE_GNU] (vdprintf): Likewise.
48646
d3dfcc41
RM
486472012-05-03 Roland McGrath <roland@hack.frob.com>
48648
48649 * elf/Makefile (common-generated): Set this instead of generated for
48650 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
48651 $(all-built-dso)-derived lists.
48652
7ac30cc5
AJ
486532012-05-03 Andreas Jaeger <aj@suse.de>
48654
0c51e550
AJ
48655 * sysdeps/i386/fpu/libm-test-ulps: Update.
48656
7ac30cc5
AJ
48657 * FAQ: Removed.
48658 * FAQ.in: Likewise.
48659 * scripts/gen-FAQ.pl: Likewise.
48660 * manual/install.texi (Installation): Point to online location of
48661 FAQ.
48662 * Makefile (files-for-dist): Remove FAQ.
48663 (FAQ): Remove.
48664
d4c2917f
AM
486652012-05-02 Allan McRae <allan@archlinux.org>
48666
48667 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
48668 (LDFLAGS-reldepmod5.so): Likewise.
48669 (LDFLAGS-reldep6mod1.so): Likewise.
48670 (LDFLAGS-reldep6mod4.so): Likewise.
48671 (LDFLAGS-reldep8mod3.so): Likewise.
48672 (LDFLAGS-unload4mod1.so): Likewise.
48673 (LDFLAGS-unload4mod2.so): Likewise.
48674 (LDFLAGS-tst-initorder): Likewise.
48675 (LDFLAGS-tst-initordera2.so): Likewise.
48676 (LDFLAGS-tst-initordera3.so): Likewise.
48677 (LDFLAGS-tst-initordera4.so): Likewise.
48678 (LDFLAGS-tst-initorderb2.so): Likewise.
48679 (LDFLAGS-noload): Likewise.
48680 (LDFLAGS-next): Likewise.
48681 (LDFLAGS-order2mod1.so): Likewise.
48682 (LDFLAGS-order2mod2.so): Likewise.
48683 (LDFLAGS-tst-initorder2): Likewise.
48684 (LDFLAGS-tst-initorder2a.so): Likewise.
48685 (LDFLAGS-tst-initorder2b.so): Likewise.
48686 (LDFLAGS-tst-initorder2c.so): Likewise.
48687 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
48688
d77f993f
DM
486892012-05-02 David S. Miller <davem@davemloft.net>
48690
48691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48692
171a70b4
PP
486932012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
48694
48695 [BZ #14055]
48696 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
48697
0be196ad
AJ
486982012-05-02 Andreas Jaeger <aj@suse.de>
48699
48700 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
48701 since we manipulate rounding mode.
48702 (CPPFLAGS-test-idouble.c): Likewise.
48703 (CPPFLAGS-test-ifloat.c): Likewise.
48704 (CFLAGS-test-ldouble.c): Likewise.
48705 (CFLAGS-test-double.c): Likewise.
48706 (CFLAGS-test-float.c): Likewise.
48707 (CFLAGS-test-misc.c): Likewise.
48708 (CFLAGS-test-test-fenv.c): Likewise.
48709
4f9d04aa
AZ
487102012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48711
2b942cb7
RM
48712 [BZ #2550]
48713 [BZ #2570]
48714 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
48715 comparisons to determine direction to adjust input.
4f9d04aa 48716
82a79e7d
RM
487172012-05-01 Roland McGrath <roland@hack.frob.com>
48718
f5a01ca9
RM
48719 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
48720 output to the target.
48721
90fe4186
RM
48722 * scripts/localplt.awk: New file.
48723 * elf/Makefile ($(objpfx)check-localplt): Target removed.
48724 (check-localplt-CFLAGS): Variable removed.
48725 ($(all-built-dso:=.jmprel)): New static pattern rule.
48726 (generated): Add those targets.
48727 (localplt-built-dso): New variable.
48728 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
48729
48730 * elf/check-localplt.c: File removed.
48731
82397ed6
RM
48732 * scripts/check-execstack.awk: New file.
48733 * elf/Makefile ($(objpfx)check-execstack): Target removed.
48734 (check-execstack-CFLAGS): Variable removed.
48735 ($(objpfx)check-execstack.h): Target removed.
48736 ($(objpfx)execstack-default): New target.
48737 (generated): Add that instead of check-execstack.h.
48738 ($(all-built-dso:=.phdr)): New static pattern rule.
48739 (generated): Add those targets.
48740 * elf/check-execstack.c: File removed.
48741
82a79e7d
RM
48742 * scripts/check-textrel.awk: New file.
48743 * elf/Makefile ($(objpfx)check-textrel): Target removed.
48744 (check-textrel-CFLAGS): Variable removed.
48745 (all-built-dso): Use := to define.o
48746 ($(all-built-dso:=.dyn)): New static pattern rule.
48747 (generated): Add those targets.
48748 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
48749 * config.make.in (READELF): New substituted variable.
48750 * elf/check-textrel.c: File removed.
48751
62fde54f 487522012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 48753
615605c9
JM
48754 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48755 allow.
48756 * conform/data/ctype.h-data [C99-based standards] (isblank):
48757 Expect function.
48758 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
48759 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
48760 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48761 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
48762 Specify type. Require positive value.
48763 (EILSEQ): Likewise.
48764 (ERANGE): Likewise.
48765 [ISO || POSIX] (EILSEQ): Do not expect.
48766 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
48767 Specify type. Require positive value.
48768 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
48769 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
48770 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
48771 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
48772 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
48773 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
48774 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
48775 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
48776 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
48777 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
48778 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
48779 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
48780 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
48781 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
48782 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
48783 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
48784 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
48785 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
48786 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
48787 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
48788 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
48789 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
48790 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
48791 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
48792 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
48793 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
48794 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
48795 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
48796 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
48797 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
48798 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
48799 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
48800 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
48801 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
48802 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
48803 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
48804 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
48805 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
48806 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
48807 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
48808 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
48809 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
48810 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
48811 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
48812 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
48813 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
48814 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
48815 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
48816 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
48817 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
48818 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
48819 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
48820 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
48821 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
48822 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
48823 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
48824 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
48825 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
48826 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
48827 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
48828 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
48829 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
48830 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
48831 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
48832 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
48833 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
48834 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
48835 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
48836 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
48837 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
48838 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
48839 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
48840 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
48841 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
48842 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
48843 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
48844 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
48845 Require >= 2.
48846 (FLT_ROUNDS): Expect as macro, not constant.
48847 (FLT_MANT_DIG): Use macro-int-constant.
48848 (DBL_MANT_DIG): Likewise.
48849 (LDBL_MANT_DIG): Likewise.
48850 (FLT_DIG): Likewise.
48851 (DBL_DIG): Likewise.
48852 (LDBL_DIG): Likewise.
48853 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
48854 (DBL_MIN_EXP): Likewise.
48855 (LDBL_MIN_EXP): Likewise.
48856 (FLT_MAX_EXP): Use macro-int-constant.
48857 (DBL_MAX_EXP): Likewise.
48858 (LDBL_MAX_EXP): Likewise.
48859 (FLT_MAX_10_EXP): Likewise.
48860 (DBL_MAX_10_EXP): Likewise.
48861 (LDBL_MAX_10_EXP): Likewise.
48862 (FLT_MAX): Use macro-constant.
48863 (DBL_MAX): Likewise.
48864 (LDBL_MAX): Likewise.
48865 (FLT_EPSILON): Use macro-constant. Give upper bound.
48866 (DBL_EPSILON): Likewise.
48867 (LDBL_EPSILON): Likewise.
48868 (FLT_MIN): Likewise.
48869 (DBL_MIN): Likewise.
48870 (LDBL_MIN): Likewise.
48871 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
48872 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
48873 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
48874 [ISO11] (FLT_HAS_SUBNORM): Likewise.
48875 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
48876 [ISO11] (DBL_DECIMAL_DIG): Likewise.
48877 [ISO11] (FLT_DECIMAL_DIG): Likewise.
48878 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
48879 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
48880 [ISO11] (FLT_TRUE_MIN): Likewise.
48881 [ISO11] (LDBL_TRUE_MIN): Likewise.
48882 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48883 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
48884 (SCHAR_MIN): Use macro-int-constant. Specify type.
48885 (SCHAR_MAX): Likewise.
48886 (UCHAR_MAX): Likewise.
48887 (CHAR_MIN): Likewise.
48888 (CHAR_MAX): Likewise.
48889 (MB_LEN_MAX): Use macro-int-constant.
48890 (SHRT_MIN): Use macro-int-constant. Specify type.
48891 (SHRT_MAX): Likewise.
48892 (USHRT_MAX): Likewise.
48893 (INT_MAX): Likewise.
48894 (INT_MIN): Use macro-int-constant. Specify type. Make upper
48895 bound negative.
48896 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
48897 bound with "U".
48898 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
48899 bound with "L".
48900 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
48901 bound negative. Suffix upper bound with "L".
48902 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
48903 bound with "UL".
48904 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
48905 Specify type.
48906 [C99-based standards] (LLONG_MAX): Likewise.
48907 [C99-based standards] (ULLONG_MAX): Likewise.
48908 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
48909 == 0.
48910 [ISO11] (max_align_t): Require type.
48911 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48912
c9140a62
JM
48913 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
48914 from $CFLAGS, without defining away __attribute__ calls.
48915 (checknamespace): Use $CFLAGS_namespace.
48916
9af0bf29
JM
48917 * conform/conformtest.pl (@keywords): Only include C99 keywords
48918 for standards based on C99 or C11.
48919
343222a2
JM
48920 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
48921 Disable tests.
48922 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
48923 UNIX98]: Likewise.
48924
661f8cf0
JM
48925 * conform/conformtest.pl: Handle "macro-int-constant" and test for
48926 usability of symbols in #if.
48927
ee74b9cb
JM
48928 * conform/conformtest.pl: If macro or constant types start
48929 "promoted:", expect the symbol to be of the following type
48930 promoted by the integer promotions.
62fde54f 48931
aafc49b3
JM
48932 * conform/conformtest.pl: Parse all "constant" and "macro" lines
48933 in one place. Also handle "macro-constant".
48934
fefdf574
JM
48935 * conform/conformtest.pl: Only accept expected macro values with
48936 "==". Parse all "macro" lines in one place.
48937 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
48938
f2d922fe
JM
48939 * conform/conformtest.pl: Handle braced types on "constant" lines
48940 instead of handling "typed-constant".
48941 * conform/data/signal.h-data: Use "constant" instead of
48942 "typed-constant".
48943
d22956c9
JM
48944 * conform/conformtest.pl: Handle "optional-" at start of lines in
48945 one place rather than duplicating several cases. Handle each
48946 format of "macro" line with initial "optional-".
48947
028e2e38
JM
48948 * conform/conformtest.pl: Only accept expected constant or
48949 optional-constant values with "==". Parse all "constant" lines in
48950 one place. Parse all "optional-constant" lines in one place.
48951 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
48952 * conform/data/fmtmsg.h-data: Likewise.
48953 * conform/data/netinet/in.h-data: Likewise.
48954 * conform/data/tar.h-data: Likewise.
48955 * conform/data/limits.h-data: Use "==" form on "constant" and
48956 "optional-constant" lines.
48957
1b8f2850
JM
48958 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
48959 Use -std=c99 for XOPEN2K.
48960 (@knownproblems): Remove.
48961 (newtoken): Don't check %isknown.
48962
a05a144b
JM
48963 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
48964 Do not expect macro.
48965 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
48966 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
48967 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
48968 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
48969 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
48970 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
48971 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
48972 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
48973 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
48974 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
48975 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
48976 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
48977 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
48978 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
48979 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
48980 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
48981 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
48982 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
48983 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
48984 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
48985 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
48986 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
48987 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
48988 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
48989 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
48990 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
48991 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
48992 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
48993 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
48994 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
48995 [XPG3] (acosh): Likewise.
48996 [XPG3] (asinh): Likewise.
48997 [XPG3] (atanh): Likewise.
48998 [XPG3] (cbrt): Likewise.
48999 [XPG3] (expm1): Likewise.
49000 [XPG3] (ilogb): Likewise.
49001 [XPG3] (log1p): Likewise.
49002 [XPG3] (logb): Likewise.
49003 [XPG3] (nextafter): Likewise.
49004 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
49005 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
49006 [XPG3] (remainder): Likewise.
49007 [XPG3] (rint): Likewise.
49008 [XPG3 || XPG4 || UNIX98] (round): Likewise.
49009 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
49010 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
49011 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
49012 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
49013 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
49014 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
49015 [UNIX98 || XOPEN2K] (scalb): Expect.
49016 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
49017 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
49018 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
49019 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
49020 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
49021 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
49022 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
49023 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
49024 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
49025 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
49026 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
49027 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
49028 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
49029 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
49030 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
49031 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
49032 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
49033 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
49034 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
49035 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
49036 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
49037 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
49038 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
49039 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
49040 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
49041 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
49042 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
49043 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
49044 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
49045 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
49046 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
49047 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
49048 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
49049 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
49050 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
49051 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
49052 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
49053 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
49054 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
49055 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
49056 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
49057 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
49058 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
49059 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
49060 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
49061 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
49062 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
49063 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
49064 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
49065 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
49066 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
49067 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
49068 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
49069 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
49070 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
49071 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
49072 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
49073 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
49074 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
49075 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
49076 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
49077 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
49078 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
49079 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
49080 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
49081 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
49082 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
49083 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
49084 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
49085 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
49086 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
49087 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
49088 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
49089 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
49090 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
49091 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
49092 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
49093 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
49094 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
49095 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
49096 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
49097 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
49098 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
49099 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
49100 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
49101 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
49102 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
49103 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
49104 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
49105 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
49106 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
49107 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
49108 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
49109 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
49110 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
49111 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
49112 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
49113 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
49114 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
49115 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
49116 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
49117 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
49118 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
49119 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
49120 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
49121 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
49122 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
49123 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
49124 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
49125 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
49126 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
49127 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
49128 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
49129 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
49130 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
49131 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
49132 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
49133 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
49134 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
49135 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
49136 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
49137 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
49138 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
49139 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
49140 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
49141 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
49142 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
49143 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
49144 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
49145 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
49146 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
49147 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
49148 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
49149 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
49150 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
49151 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
49152 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
49153
73c5ebe3
JM
49154 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
49155 _XOPEN_SOURCE_EXTENDED for XPG4.
49156
39c33b6c
JM
49157 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
49158
62fde54f
JM
49159 * Makeconfig (localtime): Remove variable.
49160 (inst_localtime-file): Likewise.
49161
0741d64c
AS
491622012-05-01 Andreas Schwab <schwab@linux-m68k.org>
49163
49164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49165 Update.
49166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49167 Update.
49168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49169 Update.
49170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49171 Update.
49172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49173 Update.
49174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
49175 Update.
49176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49177 Update.
49178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
49179 Update.
49180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49181 Update.
49182
7cb029ee
JM
491832012-05-01 Joseph Myers <joseph@codesourcery.com>
49184
49185 [BZ #2550]
49186 [BZ #2570]
49187 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
49188 comparisons to determine direction to adjust input.
49189 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
49190 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
49191 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
49192 Likewise.
49193 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
49194 Likewise.
49195 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49196 Likewise.
49197 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
49198 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
49199 Likewise.
49200 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
49201 Likewise.
49202 * math/libm-test.inc (nexttoward_test): Add more tests.
49203
412bd966
AS
492042012-05-01 Andreas Schwab <schwab@linux-m68k.org>
49205
49206 [BZ #14040]
49207 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
49208 in version GLIBC_2.1, not GLIBC_2.0.
49209 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
49210 Likewise.
49211
9568c0c2
JM
492122012-04-30 Joseph Myers <joseph@codesourcery.com>
49213
adfbc8ac
JM
49214 [BZ #13942]
49215 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
49216 (1 - x) * (1 + x).
49217 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49218 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
49219 * math/libm-test.inc (acos_test): Add more tests.
49220 (asin_test): Likewise.
49221 * sysdeps/i386/fpu/libm-test-ulps: Update.
49222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49223
5ba3cc69
JM
49224 [BZ #14034]
49225 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
49226 of square root.
49227 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
49228 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49229 * math/libm-test.inc (acos_test_tonearest): New function.
49230 (acos_test_towardzero): Likewise.
49231 (acos_test_downward): Likewise.
49232 (acos_test_upward): Likewise.
49233 (asin_test_tonearest): Likewise.
49234 (asin_test_towardzero): Likewise.
49235 (asin_test_downward): Likewise.
49236 (asin_test_upward): Likewise.
49237 (main): Call the new functions.
49238 * sysdeps/i386/fpu/libm-test-ulps: Update.
49239 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49240
9568c0c2
JM
49241 [BZ #13884]
49242 [BZ #13924]
49243 * math/e_exp10.c: Include <float.h>.
49244 (__ieee754_exp10): Handle underflow here rather than multiplying
49245 large negative argument by M_LN10.
49246 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
49247 of __ieee754_expf.
49248 * math/e_exp10l.c: Include <float.h>.
49249 (__ieee754_exp10l): Handle underflow here rather than multiplying
49250 large negative argument by M_LN10l.
49251 * math/libm-test.inc (exp10_test): Add another test. Do not allow
49252 spurious overflow exception on underflow.
49253
5ac3ea17
MP
492542012-04-29 Marek Polacek <polacek@redhat.com>
49255
49256 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
49257 (__fortify_function): New macro.
49258 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
49259 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
49260 __extern_always_inline.
49261 * libio/bits/stdio2.h: Likewise.
49262 * libio/bits/stdio.h: Likewise.
49263 * string/string.h: Likewise.
49264 * string/bits/string3.h: Likewise.
49265 * include/stdio.h: Likewise.
49266 * stdlib/bits/stdlib.h: Likewise.
49267 * stdlib/stdlib.h: Likewise.
49268 * rt/bits/mqueue2.h: Likewise.
49269 * rt/mqueue.h: Likewise.
49270 * posix/bits/unistd.h: Likewise.
49271 * posix/unistd.h: Likewise.
49272 * io/bits/poll2.h: Likewise.
49273 * io/bits/fcntl2.h: Likewise.
49274 * io/fcntl.h: Likewise.
49275 * io/sys/poll.h: Likewise.
49276 * misc/bits/syslog.h: Likewise.
49277 * misc/bits/syslog-ldbl.h: Likewise.
49278 * misc/sys/syslog.h: Likewise.
49279 * socket/bits/socket2.h: Likewise.
49280 * socket/sys/socket.h: Likewise.
49281 * debug/tst-chk1.c: Likewise.
49282 * wcsmbs/bits/wchar2.h: Likewise.
49283 * wcsmbs/bits/wchar-ldbl.h: Likewise.
49284 * wcsmbs/wchar.h: Likewise.
49285
ecf0ebfb
AJ
492862012-04-29 Andreas Jaeger <aj@suse.de>
49287
49288 * Makerules (tests): Remove enable-check-abi protection.
49289 (check-abi-warn): Remove.
49290 (check-abi-%): Remove check-abi-warn usage.
49291
49292 * configure.in: Remove check-abi configure option.
49293 * configure: Regenerated.
49294 * config.make.in (enable-check-abi): Remove.
49295
6d5c57fa
AS
492962012-04-28 Andreas Schwab <schwab@linux-m68k.org>
49297
24c5d07e 49298 [BZ #14033]
ded5180a
AS
49299 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
49300 double functions to double *_finite functions.
49301
7e0d315d
AS
49302 [BZ #13941]
49303 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
49304 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
49305 LDBL_MIN_EXP.
49306 * stdio-common/Makefile (tests): Add tst-sprintf3.
49307 * stdio-common/tst-sprintf3.c: New file.
49308
6d5c57fa
AS
49309 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
49310 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
49311
0749ff8b
JM
493122012-04-28 Joseph Myers <joseph@codesourcery.com>
49313
49314 * conform/conformtest.pl: Remove duplicate typed-constant
49315 handling.
49316
8dbd5d7b
DM
493172012-04-28 David S. Miller <davem@davemloft.net>
49318
49319 * Makerules (%.abilist): Add vpath on sysdep_dirs.
49320 (check-abi-%): Remove AWK script prerequisite and explicit
49321 abilist directory.
49322 (check-abi): Rewrite to just diff the symlist with the abilist.
49323 (config-tls, config-abi-config): Delete, no longer used.
49324 (update-abi-%): Remove AWK script and explicit abilist directory.
49325 (update-abi): Rewrite to simply compare and conditionally copy the
49326 symlist and the sysdep abilist file. Remove update-abi-config
49327 checks.
49328 * abilist/ld.abilist: Remove.
49329 * abilist/libBrokenLocale.abilist: Remove.
49330 * abilist/libanl.abilist: Remove.
49331 * abilist/libcrypt.abilist: Remove.
49332 * abilist/libdl.abilist: Remove.
49333 * abilist/librt.abilist: Remove.
49334 * abilist/libthread_db.abilist: Remove.
49335 * abilist/libutil.abilist: Remove.
49336 * scripts/extract-abilist.awk: Remove.
49337 * scripts/merge-abilist.awk: Remove.
49338 * sysdeps/generic/libcidn.abilist: New file.
49339 * sysdeps/generic/libnss_compat.abilist: New file.
49340 * sysdeps/generic/libnss_db.abilist: New file.
49341 * sysdeps/generic/libnss_dns.abilist: New file.
49342 * sysdeps/generic/libnss_files.abilist: New file.
49343 * sysdeps/generic/libnss_hesiod.abilist: New file.
49344 * sysdeps/generic/libnss_nis.abilist: New file.
49345 * sysdeps/generic/libnss_nisplus.abilist: New file.
49346 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
49347 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
49348 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
49349 file.
49350 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
49351 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
49352 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
49353 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
49354 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
49355 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
49356 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
49357 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
49358 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
49359 file.
49360 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
49361 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
49362 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
49363 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
49364 file.
49365 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
49366 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
49367 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
49368 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
49369 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
49370 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
49371 file.
49372 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
49373 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
49374 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
49375 file.
49376 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
49377 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
49378 New file.
49379 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
49380 New file.
49381 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
49382 New file.
49383 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
49384 New file.
49385 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
49386 New file.
49387 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
49388 New file.
49389 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
49390 New file.
49391 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
49392 New file.
49393 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
49394 New file.
49395 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
49396 New file.
49397 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
49398 New file.
49399 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
49400 New file.
49401 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
49402 New file.
49403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
49404 file.
49405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49406 New file.
49407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49408 New file.
49409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
49410 file.
49411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49412 New file.
49413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49414 New file.
49415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
49416 file.
49417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49418 New file.
49419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49420 New file.
49421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49422 New file.
49423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49424 New file.
49425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49426 New file.
49427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49428 New file.
49429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
49430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
49431 file.
49432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
49433 New file.
49434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
49435 file.
49436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
49437 file.
49438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
49439 file.
49440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
49441 file.
49442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
49443 file.
49444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49445 New file.
49446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
49447 file.
49448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
49449 file.
49450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
49451 New file.
49452 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
49453 file.
49454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
49455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
49456 file.
49457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
49458 New file.
49459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
49460 file.
49461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
49462 file.
49463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
49464 file.
49465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
49466 file.
49467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
49468 file.
49469 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49470 New file.
49471 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
49472 file.
49473 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
49474 file.
49475 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
49476 New file.
49477 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
49478 file.
49479 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49480 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
49481 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
49482 file.
49483 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
49484 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
49485 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
49486 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
49487 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
49488 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
49489 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
49490 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
49491 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
49492 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
49493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
49494 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
49495 file.
49496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
49497 New file.
49498 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
49499 file.
49500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
49501 file.
49502 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
49503 file.
49504 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
49505 file.
49506 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
49507 file.
49508 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49509 New file.
49510 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
49511 New file.
49512 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
49513 file.
49514 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
49515 New file.
49516 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
49517 file.
49518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
49519 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
49520 file.
49521 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
49522 New file.
49523 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
49524 file.
49525 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
49526 file.
49527 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
49528 file.
49529 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
49530 file.
49531 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
49532 file.
49533 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49534 New file.
49535 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
49536 New file.
49537 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
49538 file.
49539 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
49540 New file.
49541 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
49542 file.
49543
41d73a1b
JM
495442012-04-28 Joseph Myers <joseph@codesourcery.com>
49545
49546 * conform/conformtest.pl: Fix typo in handling typed-constant from
49547 allow-header.
49548
28aeeda4
JM
495492012-04-27 Joseph Myers <joseph@codesourcery.com>
49550
adae8f5e
JM
49551 * README: Cut down references to pre-2.6 Linux kernels and
49552 Linuxthreads. Update lists of configurations in libc and ports
49553 and sort alphabetically. Say "or newer" with Linux kernel version
49554 requirements.
49555
28aeeda4
JM
49556 * config.h.in [IS_IN_build]: Allow compiling without optimization.
49557
a462cb63
RA
495582012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
49559
49560 [BZ #887]
49561 * math/libm-test.inc (logb_test_downward): New test to expose
49562 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
49563 rounding mode.
49564
6ad3493e
JM
495652012-04-27 Joseph Myers <joseph@codesourcery.com>
49566
49567 [BZ #14027]
49568 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
49569 to be done.
49570 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
49571 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
49572
2ce4f015
JM
495732012-04-26 Joseph Myers <joseph@codesourcery.com>
49574
5aeb141a
JM
49575 * sysdeps/unix/i386/brk.S: Remove file.
49576 * sysdeps/unix/i386/dl-brk.S: Likewise.
49577 * sysdeps/unix/i386/pipe.S: Likewise.
49578 * sysdeps/unix/i386/sigreturn.S: Likewise.
49579 * sysdeps/unix/i386/syscall.S: Likewise.
49580 * sysdeps/unix/i386/vfork.S: Likewise.
49581 * sysdeps/unix/i386/wait.S: Likewise.
49582
7143acae
JM
49583 * sysdeps/unix/common/tcsendbrk.c: Move to ...
49584 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
49585
2ce4f015
JM
49586 * configure.in (arm*-none*): Do not allow without
49587 --enable-hacker-mode.
49588 (netbsd*): Remove case setting base_os.
49589 (386bsd*): Likewise.
49590 (freebsd*): Likewise.
49591 (bsdi*): Likewise.
49592 (osf*): Likewise.
49593 (sunos*): Likewise.
49594 (ultrix*): Likewise.
49595 (newsos*): Likewise.
49596 (dynix*): Likewise.
49597 (*bsd*): Likewise.
49598 (sysv*): Likewise.
49599 (isc*): Likewise.
49600 (esix*): Likewise.
49601 (sco*): Likewise.
49602 (minix*): Likewise.
49603 (irix4*): Likewise.
49604 (irix6*): Likewise.
49605 (solaris[2-9]*): Likewise.
49606 (none): Likewise.
49607 * configure: Regenerated.
49608
0ac229c8
AZ
496092012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49610
49611 [BZ #11521]
49612 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
49613 overflow or cancellation in calculating denominator.
49614 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
49615 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
49616 down expression to avoid unexpected rounding in newer GCCs.
49617 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
49618
33f244f4
DM
496192012-04-26 David S. Miller <davem@davemloft.net>
49620
49621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
49622 long-double compat symbols.
49623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
49627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
49629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
49630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
49631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
49632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
49633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
49634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
49635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49636
cfa1f3e8
DM
496372012-04-25 David S. Miller <davem@davemloft.net>
49638
49639 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
49640 HWCAP_* values only after the memory barriers have been defined.
49641 (atomic_full_barrier): Define.
49642 (atomic_read_barrier): Define.
49643 (atomic_write_barrier): Define.
49644
6e236b92
SP
496452012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
49646
49647 * shlib-versions: Add libgcc_s version information.
49648 * sysdeps/generic/libgcc_s.h: Remove.
49649 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
49650 libgcc_s.h.
49651 * sysdeps/gnu/unwind-resume.c: Likewise.
49652 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
49653
aab39a09
DM
496542012-04-25 David S. Miller <davem@davemloft.net>
49655
49656 * sysdeps/unix/sparc/brk.S: Delete.
49657 * sysdeps/unix/sparc/dl-brk.S: Delete.
49658 * sysdeps/unix/sparc/pipe.S: Delete.
49659 * sysdeps/unix/sparc/sysdep.S: Delete.
49660 * sysdeps/unix/sparc/sysdep.h: Delete.
49661 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
49662 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
49663 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
49664 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
49665 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
49666 (JUMPTARGET): Remove.
49667 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
49668 sysdeps/unix/sparc/sysdep.h
49669 (ENTRY, END): Remove.
49670 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49671
a3cc4f48
JM
496722012-04-25 Joseph Myers <joseph@codesourcery.com>
49673
2ed8cda2
JM
49674 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
49675 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
49676 -DIS_IN_build.
49677
35d76d59
JM
49678 * timezone/README: Update upstream location and email address for
49679 tzcode and tzdata.
49680 * timezone/zdump.c: Update from tzcode 2012b.
49681 * timezone/zic.c: Likewise.
49682
a3cc4f48
JM
49683 * configure.in (libc_cv_as_needed): Remove test.
49684 * configure: Regenerated.
49685 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
49686 conditional definition.
49687 [$(have-as-needed) != yes] (no-as-needed): Likewise.
49688 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
49689 * config.make.in (have-as-needed): Remove variable.
49690
ceab42c3
SP
496912012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
49692 Paul Pluzhnikov <ppluzhnikov@google.com>
49693
49694 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
49695 strings correctly.
49696
3ce2865f
CLT
496972012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
49698
49699 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
49700 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
49701 * sysdeps/sh/strlen.S: Likewise.
49702
f37e0d68
JM
497032012-04-24 Joseph Myers <joseph@codesourcery.com>
49704
ae186e9a
JM
49705 * sysdeps/unix/fork.S: Remove file.
49706 * sysdeps/unix/i386/fork.S: Likewise.
49707 * sysdeps/unix/sparc/fork.S: Likewise.
49708
b96914af
JM
49709 * sysdeps/unix/system.c: Remove file.
49710 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
49711
f37e0d68
JM
49712 * sysdeps/unix/getegid.S: Remove file.
49713 * sysdeps/unix/geteuid.S: Likewise.
49714
87ef29ca
RM
497152012-04-24 Roland McGrath <roland@hack.frob.com>
49716
83bcd236
RM
49717 * scripts/check-localplt.awk: New file.
49718 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
49719 of diff.
49720 * scripts/data/localplt-generic.data: Add a comment.
49721
87ef29ca
RM
49722 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
49723 NODE when __dir_mkfile failed.
49724 * sysdeps/mach/hurd/symlinkat.c: Likewise.
49725 Reported by Ludovic Courtès <ludo@gnu.org>.
49726
e5a6e567
AJ
497272012-04-24 Andreas Jaeger <aj@suse.de>
49728
49729 * Makerules (common-clean): Also remove gen-as-const-headers
49730 files.
49731
c1820385
JM
497322012-04-24 Joseph Myers <joseph@codesourcery.com>
49733
49734 * Makerules (native-compile): Do not change working directory for
49735 build. Use $(OUTPUT_OPTION) in command.
49736 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
49737
94e02fc4
AZ
497382012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49739
49740 [BZ #13886]
49741 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
49742 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
49743 * math/libm-test.inc (floor_test): Add more tests.
49744 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
49745
3a533ca3
JM
497462012-04-24 Joseph Myers <joseph@codesourcery.com>
49747
940ab4b3
JM
49748 * sysdeps/unix/getdents.c: Remove file.
49749 * sysdeps/unix/sysv/getdents.c: Likewise.
49750 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
49751
90e037bd
JM
49752 * sysdeps/unix/syscalls.list (madvise): Add syscall from
49753 sysdeps/unix/mman/syscalls.list.
49754 (mmap): Likewise.
49755 (mprotect): Likewise.
49756 (msync): Likewise.
49757 (munmap): Likewise.
49758 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
49759 * sysdeps/unix/mman/syscalls.list: Remove.
49760 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
49761
3a533ca3
JM
49762 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
49763 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
49764 * configure: Regenerated.
49765 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
49766 $(libgcc_s_suffix).
49767 * config.make.in (libgcc_s_suffix): Remove variable.
49768
1ad743de
JM
497692012-04-23 Joseph Myers <joseph@codesourcery.com>
49770
4ad451e2
JM
49771 * sysdeps/unix/sysv/gethostname.c: Move to ...
49772 * sysdeps/posix/gethostname.c: ... here.
49773
5e37ce39
JM
49774 * sysdeps/unix/execve.S: Remove file.
49775
1ad743de
JM
49776 * sysdeps/unix/_exit.S: Remove file.
49777
4e681b5b
AJ
497782012-04-23 Andreas Jaeger <aj@suse.de>
49779
49780 [BZ #13739]
49781 * manual/Makefile: Remove make dist support, there's no
49782 need for a stand-alone documentation tar ball.
49783 (TEXI2DVI): Define always, it's not in Makeconfig.
49784 (dist): Removed.
49785 (tar-it): Removed.
49786 (edition): Removed.
49787 (glibc-doc-$(edition).tar): Removed
49788 (%.Z): Removed.
49789 (%.gz): Removed.
49790 (%.uu): Removed.
49791 (ETAGS): Remove, it's in Makeconfig.
49792 (move-if-change): Remove, it's in Makeconfig.
49793
38686a03 497942012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
49795
49796 [BZ #13970]
49797 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
49798 (strtod, strtof, strtold, strtol, strtoul, strtoq)
49799 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
49800 (strtod_l, strtof_l, strtold_l): Remove __wur.
49801 It is not necessarily an error to ignore strtol's return value.
49802 One can reliably look at the stored endptr to decide whether
49803 the number had valid syntax.
49804
7c0616fa
AJ
498052012-04-21 Andreas Jaeger <aj@suse.de>
49806
803cb6b7 49807 [BZ #13739]
7c0616fa
AJ
49808 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
49809
b0fe253f
JM
498102012-04-21 Joseph Myers <joseph@codesourcery.com>
49811
49812 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
49813 * sysdeps/unix/sysv/Versions: Remove file.
49814
8280f22d
MT
498152012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
49816
49817 [BZ #13927]
49818 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49819
75ce411f 498202012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
49821
49822 [BZ #7064]
49823 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
49824 version from __vm86.
49825
097d59fa
JM
498262012-04-20 Joseph Myers <joseph@codesourcery.com>
49827
a90f3bcb
JM
49828 * sysdeps/unix/common/lxstat.c: Remove file.
49829 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
49830
edc7ea78
JM
49831 * sysdeps/unix/sysv/Makefile: Remove file.
49832
cb78c221
JM
49833 * sysdeps/unix/sysv/direct.h: Remove file.
49834
efa6a45f
JM
49835 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
49836 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
49837 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
49838 * sysdeps/unix/sysv/bits/signum.h: Likewise.
49839 * sysdeps/unix/sysv/bits/stat.h: Likewise.
49840 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
49841 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
49842
9c9f2d0c
JM
49843 * sysdeps/unix/sysv/setrlimit.c: Remove file.
49844
4541c83b
JM
49845 * sysdeps/unix/xmknod.c: Remove file.
49846 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
49847
f5d153a0
JM
49848 * sysdeps/unix/sysv/settimeofday.c: Remove file.
49849
aa746595
JM
49850 * sysdeps/unix/sysv/i386/time.S: Remove file.
49851
cce5905e
JM
49852 * sysdeps/unix/fxstat.c: Remove file.
49853 * sysdeps/unix/xstat.c: Likewise.
49854 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
49855
37fa3841
JM
49856 * sysdeps/unix/sysv/sigaction.c: Remove file.
49857
ff1962a3
JM
49858 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
49859 (sysdep_headers): Remove variable.
49860 [termio.h not in sysdep_headers] (generated): Likewise.
49861 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
49862 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
49863 * sysdeps/unix/sysv/tcdrain.c: Likewise.
49864 * sysdeps/unix/sysv/tcflow.c: Likewise.
49865 * sysdeps/unix/sysv/tcflush.c: Likewise.
49866 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
49867 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
49868 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
49869 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
49870 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
49871
e7740d31
JM
49872 * sysdeps/unix/siglist.c: Remove file.
49873
ee06f18b
JM
49874 * sysdeps/unix/getppid.S: Remove file.
49875
097d59fa
JM
49876 * sysdeps/unix/mkdir.c: Remove file.
49877 * sysdeps/unix/rmdir.c: Likewise.
49878
ff3d51ec
AS
498792012-04-19 Andreas Schwab <schwab@linux-m68k.org>
49880
49881 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
49882 ERR_MAX value.
49883 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
49884 errlist-compat value.
49885
50f81fd7
DM
498862012-04-18 David S. Miller <davem@davemloft.net>
49887
49888 * sysdeps/generic/memcopy.h (reg_char): Delete.
49889 * debug/strcat_chk.c: Use char, not reg_char.
49890 * debug/strcpy_chk.c: Likewise.
49891 * debug/strncat_chk.c: Likewise.
49892 * debug/strncpy_chk.c: Likewise.
49893 * string/memchr.c: Likewise.
49894 * string/memrchr.c: Likewise.
49895 * string/rawmemchr.c: Likewise.
49896 * string/strcat.c: Likewise.
49897 * string/strchr.c: Likewise.
49898 * string/strchrnul.c: Likewise.
49899 * string/strcmp.c: Likewise.
49900 * string/strcpy.c: Likewise.
49901 * string/strncat.c: Likewise.
49902 * string/strncmp.c: Likewise.
49903 * string/strncpy.c: Likewise.
49904
8ff41c46
WS
499052012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
49906
49907 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
49908 __builtin_memcopy is called when src and dest ranges are known to not
49909 overlap.
49910
6b652f46
WS
499112012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
49912
49913 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
49914 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
49915 fwd_align_merge macro call.
49916 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
49917 bwd_align_merge macro call.
49918 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49919
b282631e
WS
499202012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
49921
49922 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
49923 bwd_align_merge macros.
49924 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
49925 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
49926 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49927
95aa737c
DM
499282012-04-18 David S. Miller <davem@davemloft.net>
49929
49930 * sysdeps/sparc/sparc64/memcopy.h: Delete.
49931
7a99a614
AJ
499322012-04-18 Andreas Jaeger <aj@suse.de>
49933
49934 [BZ# 6794]
49935 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
49936 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
49937 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49938
49939 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
49940 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
49941 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49942
49943 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
49944 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
49945 Adjust for changed ldbl-128 files.
49946
49947 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
49948 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
49949 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49950
e5270c23
DM
499512012-04-17 David S. Miller <davem@davemloft.net>
49952
49953 * sysdeps/sparc/sparc32/memcopy.h: Delete.
49954
fb5e92c9
AS
499552012-04-17 Andreas Schwab <schwab@linux-m68k.org>
49956
49957 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
49958 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
49959 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
49960 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
49961 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
49962 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
49963
76da7265
AZ
499642012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49965
49966 [BZ #6794]
49967 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
49968 * math/libm-test.inc: Add ilogb errno and exception tests.
49969 * math/w_ilogb.c: New file: ilogb wrapper.
49970 * math/w_ilogbf.c: New file: ilogbf wrapper.
49971 * math/w_ilogbl.c: New file: ilogbl wrapper.
49972 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
49973 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
49974 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
49975 exception being thrown with 0.0 as argument.
49976 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
49977 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
49978 exception being thrown with 0.0 as argument.
49979 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
49980 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
49981 exception being thrown with 0.0 as argument.
49982 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
49983 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
49984 exception being thrown with 0.0 as argument.
49985 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
49986 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 49987 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
49988 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
49989 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
49990 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
49991 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
49992 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
49993 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
49994
0396e69d
PB
499952012-04-17 Petr Baudis <pasky@ucw.cz>
49996
49997 * include/sys/uio.h: Change __vector to __iovec to avoid clash
49998 with altivec.
49999
750b5926
MP
500002012-04-16 Marek Polacek <polacek@redhat.com>
50001
50002 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
50003
751728a1
MP
500042012-04-16 Marek Polacek <polacek@redhat.com>
50005
50006 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
50007 operands of fdivp instruction.
50008
34a27407
L
500092012-04-13 H.J. Lu <hongjiu.lu@intel.com>
50010
50011 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
50012 * elf/tst-auditmod3b.c: Likewise.
50013 * elf/tst-auditmod4b.c: Likewise.
50014 * elf/tst-auditmod5b.c: Likewise.
50015 * elf/tst-auditmod6b.c: Likewise.
50016 * elf/tst-auditmod6c.c: Likewise.
50017 * elf/tst-auditmod7b.c: Likewise.
50018 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
50019 * sysdeps/x86_64/preconfigure.in: Likewise.
50020 * sysdeps/x86_64/preconfigure: Regenerated.
50021
7e73e17d
L
500222012-04-13 H.J. Lu <hongjiu.lu@intel.com>
50023
50024 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
50025 __ILP32__.
50026
c7a6ab72
AB
500272012-04-13 Antoine Balestrat <merkil33@gmail.com>
50028
50029 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50030 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
50031
a9e8e0e0
CL
500322012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
50033
50034 [BZ #13973]
50035 * locale/iso-639.def: Fix gl language name. Spotted by
50036 Yaron Shahrabani.
50037
ec98af7d
RM
500382012-04-12 Roland McGrath <roland@hack.frob.com>
50039
50040 [BZ #2074]
50041 * libio/libio.h (__io_write_fn): Update comment.
50042
247c3ede
PB
500432012-04-12 Petr Baudis <pasky@ucw.cz>
50044
50045 [BZ #2074]
50046 * stdio.texi (Hook Functions): The user provided writer function
50047 is not allowed to return -1.
50048
55939d6d
DM
500492012-04-11 David S. Miller <davem@davemloft.net>
50050
50051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50052
90020f5a
MF
500532012-04-11 Mike Frysinger <vapier@gentoo.org>
50054
50055 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
50056 Add a leading slash to rtkaio.
50057
288f9098
JM
500582012-04-11 Jim Meyering <meyering@redhat.com>
50059
90020f5a
MF
50060 [BZ #11959]
50061 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
50062 It is not necessarily an error to ignore fwrite's return
50063 value. One can reliably use ferror to test for errors after
50064 the fact.
288f9098 50065
4be2b570
L
500662012-04-10 H.J. Lu <hongjiu.lu@intel.com>
50067
50068 * bits/types.h (__snseconds_t): New type.
50069 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
50070
50071 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
50072 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50073 (__SNSECONDS_T_TYPE): Likewise.
50074 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50075 (__SNSECONDS_T_TYPE): Likewise.
50076 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50077 (__SNSECONDS_T_TYPE): Likewise.
50078
288f9098 500792012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
50080
50081 [BZ #2636]
50082 * manual/time.texi (Processor Time): Return type of times is
50083 elapsed real time since an arbitrary point in the past.
50084 (CPU Time): Move CLK_TCK from here...
50085 (Processor Time): ...to here. Correct description.
50086 * manual/conf.texi (Constants for Sysconf): Correct description of
50087 _SC_CLK_TCK.
50088
d7dd4413
DM
500892012-04-10 David S. Miller <davem@davemloft.net>
50090
50091 [BZ #13967]
50092 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
50093 where the is a gap between DT_REL(A) and DT_JMPREL.
50094
b46068fc
L
500952012-04-10 H.J. Lu <hongjiu.lu@intel.com>
50096
50097 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
50098 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50099 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50100
73d65cc3
SP
501012012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
50102
50103 * elf/dl-support.c (_dl_inhibit_cache): New variable.
50104 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
50105 (dl_main): Handle --inhibit-cache.
50106 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
50107 _dl_inhibit_cache.
50108 * elf/dl-load.c (_dl_map_object): Use it.
50109 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
50110
bcc8d661
JM
501112012-04-09 Joseph Myers <joseph@codesourcery.com>
50112
8f9a2fae
JM
50113 [BZ #13872]
50114 * sysdeps/i386/fpu/e_powl.S (p78): New object.
50115 (__ieee754_powl): Saturate large exponents rather than testing for
50116 overflow of y*log2(x).
50117 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50118 * math/libm-test.inc (pow_test): Do not permit spurious overflow
50119 exceptions.
50120
bcc8d661
JM
50121 [BZ #11521]
50122 * math/s_ctan.c: Include <float.h>.
50123 (__ctan): Avoid internal overflow or cancellation in calculating
50124 denominator.
50125 * math/s_ctanf.c: Likewise.
50126 * math/s_ctanl.c: Likewise.
50127 * math/s_ctanh.c: Likewise.
50128 * math/s_ctanhf.c: Likewise.
50129 * math/s_ctanhl.c: Likewise.
50130 * math/libm-test.inc (ctan_test): Add more tests.
50131 (ctanh_test): Likewise.
50132 * sysdeps/i386/fpu/libm-test-ulps: Update.
50133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50134
823fbbb4
AJ
501352012-04-09 Andreas Jaeger <aj@suse.de>
50136
03879793
AJ
50137 [BZ #6894]
50138 * manual/filesys.texi (Directory Entries): Mention that d_namlen
50139 is an optional BSD extension.
50140
823fbbb4
AJ
50141 [BZ #10254]
50142 * manual/stdio.texi (Opening Streams): Document additional fopen
50143 parameters.
50144
8de131cb
RM
501452012-04-09 Roland McGrath <roland@hack.frob.com>
50146
50147 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
50148 %eax without telling the compiler.
50149
c0ed9d7d
CD
501502012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
50151
50152 [BZ # 13963]
50153 * manual/install.texi: Use sourceware.org.
50154
c483f6b4
JM
501552012-04-09 Joseph Myers <joseph@codesourcery.com>
50156
d7dd9453
JM
50157 [BZ #13873]
50158 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
50159 (__ieee754_pow): Generate overflow and underflow using huge*huge
50160 and tiny*tiny rather than just returning constant infinity or zero
50161 for large exponents.
50162 * math/libm-test.inc (pow_test): Require overflow exceptions for
50163 applicable cases of large exponents.
50164
c483f6b4
JM
50165 [BZ #706]
50166 * sysdeps/i386/fpu/e_pow.S (p10): New object.
50167 (__ieee754_pow): Use iterative multiplication algorithm only for
50168 integer exponents with absolute value below 1024. Check for odd
50169 integer exponents when using algorithm for real exponents.
50170 * math/libm-test.inc (pow_test): Add more tests.
50171 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50172
d2de7579
JM
501732012-04-08 Joseph Myers <joseph@codesourcery.com>
50174
50175 [BZ #13705]
50176 * math/libm-test.inc (exp_test): Do not allow overflow exception
50177 on underflow test.
50178
f77f1232
AJ
501792012-04-08 Aurelien Jarno <aurelien@aurel32.net>
50180
50181 [BZ #13705]
50182 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
50183 instead of __kernel_standard_f.
50184
3884932b
MF
501852012-04-08 Mike Frysinger <vapier@gentoo.org>
50186
50187 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
50188 * sysdeps/x86_64/memset_chk.S: Likewise.
50189
54472e9c
AJ
501902012-04-08 Andreas Jaeger <aj@suse.de>
50191
6ab0fbfc
AJ
50192 [BZ #10153]
50193 * manual/startup.texi (Environment Access): Describe return value
50194 for putenv and setenv.
50195
61efba8c
AJ
50196 [BZ #6895]
50197 * manual/filesys.texi (Directory Entries): Add description for
50198 DT_LNK.
50199
95c3f29a
AJ
50200 [BZ #6890]
50201 * manual/filesys.texi (Directory Entries): Clarify that it's file
50202 system not operating system in the description of DT_UNKNOWN.
50203
54472e9c
AJ
50204 [BZ #6578]
50205 * manual/syslog.texi (closelog): Fix reference, it's openlog.
50206
624254b1
SC
502072012-04-08 Stephen Compall <s11@member.fsf.org>
50208
50209 [BZ #6649]
50210 * manual/llio.texi (Opening and Closing Files): Add cross
50211 reference to explain mode argument.
50212
1e4920e0
MF
502132012-04-07 Mike Frysinger <vapier@gentoo.org>
50214
50215 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
50216 * sysdeps/x86_64/memset_chk.S: Likewise.
50217
5ed848f3
DM
502182012-04-07 David S. Miller <davem@davemloft.net>
50219
50220 * elf/elf.h (R_SPARC_WDISP10): Define.
50221 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
50222 R_SPARC_SIZE32.
50223 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
50224 R_SPARC_SIZE64 and R_SPARC_H34.
50225
96154cd8
CD
502262012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
50227
50228 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
50229 conditions and remove no longer applicable assertion.
50230
9904dc47
L
502312012-04-06 H.J. Lu <hongjiu.lu@intel.com>
50232
50233 * bits/byteswap.h: Include <features.h>.
50234 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50235 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50236
f8887d0a
L
502372012-04-06 H.J. Lu <hongjiu.lu@intel.com>
50238
50239 * bits/byteswap.h (__bswap_16): Removed.
50240 Include <bits/byteswap-16.h> to get __bswap_16.
50241 * sysdeps/i386/bits/byteswap.h: Likewise.
50242 * sysdeps/s390/bits/byteswap.h: Likewise.
50243 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50244 * bits/byteswap-16.h: New file.
50245 * sysdeps/i386/bits/byteswap-16.h: Likewise.
50246 * sysdeps/s390/bits/byteswap-16.h: Likewise.
50247 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
50248 * string/Makefile (headers): Add bits/byteswap-16.h.
50249
62470f60
PP
502502012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50251
50252 [BZ #13895]
50253 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
50254 extra indirection.
50255 * nss/Makefile (tests-static, tests): Add tst-nss-static.
50256 * nss/tst-nss-static.c: New.
50257
4dad7bab
RM
502582012-04-06 Robert Millan <rmh@gnu.org>
50259
50260 [BZ #6486]
50261 * manual/llio.texi (File Position Primitive): lseek
50262 refers to WHENCE when it really means OFFSET.
50263
e9142a17
AJ
502642012-04-06 Andreas Jaeger <aj@suse.de>
50265
2c040eff
AJ
50266 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
50267 strncmp declarations.
50268
e9142a17
AJ
50269 * abilist/libc.abilist: Add __poll and __ppoll.
50270
ff9f1c5f
DM
502712012-04-05 David S. Miller <davem@davemloft.net>
50272
dcd2ae90
DM
50273 * scripts/check-local-headers.sh: Accept a host triplet in the
50274 path matched by the exclude regexp.
50275
993eb054
DM
50276 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
50277 definition.
50278 * sysdeps/powerpc/powerpc32/dl-machine.h
50279 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
50280 * sysdeps/s390/s390-32/dl-machine.h
50281 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50282 * sysdeps/sparc/sparc32/dl-machine.h
50283 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50284 * sysdeps/sparc/sparc64/dl-machine.h
50285 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50286
ff9f1c5f
DM
50287 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
50288 lazy binding.
48e2e132 50289 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
50290 undefined symbol errors.
50291
48e2e132 50292 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
50293 DT_NEEDED entries.
50294
e80d6f94
MM
502952012-04-05 Michael Matz <matz@suse.de>
50296
50297 [BZ #13592]
50298 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
50299
349fa79f
AJ
503002012-04-05 Andreas Jaeger <aj@suse.de>
50301
50302 [BZ #13908]
50303 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
50304 comment.
50305
f402708f
KK
503062012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50307
50308 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
50309 which ROUND is no valid rounding mode.
50310
2ecccfc9
KK
503112012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50312
50313 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
50314 read again.
50315 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
50316
8a53f50f
KK
503172012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50318
50319 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
50320 an exception using FPU order intentionally.
50321
503222012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50323
50324 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
50325 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
50326 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
50327 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
50328
d653abb7
SJ
503292012-04-05 Simon Josefsson <simon@josefsson.org>
50330
50331 [BZ #12340]
50332 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
50333 EINVAL when BUFLEN is too smal.
50334
c3b1bf7d
TS
503352012-04-05 Thomas Schwinge <thomas@codesourcery.com>
50336
50337 [BZ #13553]
50338 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
50339 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
50340
b1aa60f3
AJ
503412012-04-03 Andreas Jaeger <aj@suse.de>
50342
c3b1bf7d 50343 [BZ #13938]
67f60a26
AJ
50344 * manual/setjmp.texi (System V contexts): Fix sentence.
50345
b1aa60f3
AJ
50346 [BZ #13926]
50347 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
50348 New macro for this case.
50349 [!__GNUC__] (__bswap_64): New inline function for this case.
50350 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50351 * bits/byteswap.h: Likewise.
50352 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
50353 ull, guard with __GLIBC_HAVE_LONG_LONG.
50354
50355 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
50356 __GLIBC_HAVE_LONG_LONG.
50357
50358 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
50359 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
50360
39c59c35
TMQMF
503612012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50362
50363 [BZ #13691]
50364 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
50365 inptr and inend, rather than using last_ch.
50366
135ffda8
DM
503672012-04-02 David S. Miller <davem@davemloft.net>
50368
50369 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
50370 * stdio-common/printf-parse.h (read_int): Change return type to
50371 'int', return -1 on INT_MAX overflow.
50372 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
50373 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
50374 overflows INT_MAX. Check for overflow of in-format-string precision
50375 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
50376 SIZE_MAX not INT_MAX for integer overflow test.
50377 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
50378 skip the construct in the format string but do not record anything.
50379 * stdio-common/bug22.c: Adjust to test both width/prevision
50380 INT_MAX overflow as well as total length INT_MAX overflow. Check
50381 explicitly for proper errno values.
50382
228c019e
TS
503832012-04-02 Thomas Schwinge <thomas@codesourcery.com>
50384
302cadd3
TS
50385 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
50386 CHAR_MAX.
50387 * string/test-strcmp.c [! WIDE]: Likewise.
50388 * time/tst-mktime2.c: Likewise for INT_MAX.
50389 * string/test-string.h: #include <sys/param.h> for MIN.
50390
228c019e
TS
50391 * csu/init-first.c (__libc_init_first): Call __ctype_init.
50392 * sysdeps/i386/init-first.c (init): Likewise.
50393 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
50394 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
50395 * sysdeps/sh/init-first.c (init): Likewise.
50396
cfa633f5
UD
503972012-04-01 Ulrich Drepper <drepper@gmail.com>
50398
50399 * po/ru.po: Update from translation team.
d1635ef8 50400 * po/vi.po: Likewise.
cfa633f5 50401
6cd0a5ea
SP
504022012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
50403
50404 * resolv/nss_dns/dns-host.c: Merge copyright years.
50405
4b43400f
LD
504062012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50407
50408 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50409 Optimize memcpy with prefetch if
50410 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
50411 src, dst pointers have unequal 16 byte alignments.
50412
48c41d04
SP
504132012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
50414
50415 [BZ #13928]
50416 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
50417 from a CNAME entry and return the minimum ttl for the query.
50418 (gaih_getanswer_slice): Likewise.
50419
b8dc394d
JL
504202012-03-30 Jeff Law <law@redhat.com>
50421
50422 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
50423 due to long keys.
50424 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
50425 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
50426
2f5a5ed0
JL
50427 * resolv/nss_dns/dns-host.c: Update copyright year.
50428
1d39e359
UD
504292012-03-30 Ulrich Drepper <drepper@gmail.com>
50430
c030f70c 50431 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 50432 requests to save a system call. Fix check that all bytes are sent.
c030f70c 50433
1d39e359
UD
50434 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
50435 comments for sendmmsg.
50436
504372012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
50438
50439 [BZ #13691]
50440 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
50441 with only 1 character between 0x0041 and 0x01b0.
50442 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
50443 * wcsmbs/tst-mbsnrtowcs.c: New file.
50444
20fde227
DM
504452012-03-29 David S. Miller <davem@davemloft.net>
50446
50447 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
50448 small copies by hand.
50449
984a4237
JL
504502012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50451
50452 [BZ #13761]
57f41c40
AS
50453 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
50454 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
50455 group memberships.
984a4237 50456
18c9d62b
DM
504572012-03-28 David S. Miller <davem@davemloft.net>
50458
88d85d4f
DM
50459 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
50460 that branches into memcpy.
50461 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50462 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
50463 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50464 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
50465 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
50466 bits.
50467 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
50468 implementation too.
50469 * sysdeps/sparc/mempcpy.S: New file.
50470
e5aa83e1
DM
50471 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
50472 the IFUNC routine in the libc case.
50473 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50474
88570753
DM
50475 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
50476 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
50477 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
50478 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
50479 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
50480 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
50481 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
50482 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
50483
249d7567
DM
50484 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
50485 loop to 256 bytes instead of 64 bytes and fix test signedness.
50486
18c9d62b
DM
50487 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
50488 * sysdeps/sparc/sparc32/Makefile: rather than here...
50489 * sysdeps/sparc/sparc64/Makefile: and here.
50490
05f3d1f6
UD
504912012-03-28 Ulrich Drepper <drepper@gmail.com>
50492
50493 * malloc/mallocbug.c: Avoid warnings about unused variables.
50494
86ae07a8
JL
504952012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
50496
50497 [BZ #13760]
50498 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
50499 in the right place. Discard and retry query if response is
50500 larger than input buffer size.
50501
41bf21a1
JM
505022012-03-28 Joseph Myers <joseph@codesourcery.com>
50503
d6270972
JM
50504 [BZ #369]
50505 [BZ #2678]
50506 [BZ #3866]
50507 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
50508 x for large integer exponent.
50509 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50510 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
50511 sign of result as needed afterwards.
50512 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50513 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
50514 result for underflowing pow the same as for overflow.
50515 (__kernel_standard_l): Handle powl overflow and underflow here
50516 rather than calling __kernel_standard.
50517 * math/libm-test.inc (pow_test): Add more tests.
50518
414fca03 50519 [BZ #3868]
41bf21a1
JM
50520 [BZ #13879]
50521 [BZ #13910]
50522 [BZ #13911]
50523 [BZ #13912]
50524 [BZ #13913]
50525 [BZ #13915]
50526 [BZ #13916]
50527 [BZ #13917]
50528 [BZ #13918]
50529 [BZ #13919]
50530 [BZ #13920]
50531 [BZ #13921]
50532 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
50533 * sysdeps/ieee754/k_standard.c: Include <float.h>.
50534 (__kernel_standard_l): New function.
50535 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
50536 __kernel_standard.
50537 * math/w_acosl.c (__acosl): Likewise.
50538 * math/w_asinl.c (__asinl): Likewise.
50539 * math/w_atan2l.c (__atan2l): Likewise.
50540 * math/w_atanhl.c (__atanhl): Likewise.
50541 * math/w_coshl.c (__coshl): Likewise.
50542 * math/w_exp10l.c (__exp10l): Likewise.
50543 * math/w_exp2l.c (__exp2l): Likewise.
50544 * math/w_fmodl.c (__fmodl): Likewise.
50545 * math/w_hypotl.c (__hypotl): Likewise.
50546 * math/w_j0l.c (__j0l, __y0l): Likewise.
50547 * math/w_j1l.c (__j1l, __y1l): Likewise.
50548 * math/w_jnl.c (__jnl, __ynl): Likewise.
50549 * math/w_lgammal.c (__lgammal): Likewise.
50550 * math/w_log10l.c (__log10l): Likewise.
50551 * math/w_log2l.c (__log2l): Likewise.
50552 * math/w_logl.c (__logl): Likewise.
50553 * math/w_powl.c (__powl): Likewise.
50554 * math/w_remainderl.c (__remainderl): Likewise.
50555 * math/w_scalbl.c (sysv_scalbl): Likewise.
50556 * math/w_sinhl.c (__sinhl): Likewise.
50557 * math/w_sqrtl.c (__sqrtl): Likewise.
50558 * math/w_tgammal.c (__tgammal): Likewise.
50559 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
50560 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
50561 * math/libm-test.inc (acos_test): Add more tests.
50562 (acosh_test): Likewise.
50563 (asin_test): Likewise.
50564 (atanh_test): Likewise.
50565 (exp_test): Likewise.
50566 (exp10_test): Likewise.
50567 (exp2_test): Likewise.
50568 (expm1_test): Likewise.
50569 (lgamma_test): Likewise.
50570 (log_test): Likewise.
50571 (log10_test): Likewise.
50572 (log1p_test): Likewise.
50573 (log2_test): Likewise.
50574 (pow_test): Do not allow some spurious overflow exceptions.
50575 (sqrt_test): Add more tests.
50576 (tgamma_test): Likewise.
50577 (y0_test): Likewise.
50578 (y1_test): Likewise.
50579 (yn_test): Likewise.
50580
dd62fda6
AB
505812012-03-27 Anton Blanchard <anton@samba.org>
50582
50583 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
50584 MAP_HUGETLB.
50585 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50586 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50587 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50588
1e3cdfda
AJ
505892012-03-27 David S. Miller <davem@davemloft.net>
50590
b855ab85
DM
50591 * conform/Makefile: Run run-conformtest.sh using $(BASH).
50592
1e3cdfda
AJ
50593 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
50594 have-as-vis3 check.
50595
505962012-03-27 Andreas Jaeger <aj@suse.de>
50597
50598 * sysdeps/x86_64/elf/configure.in: Moved to ...
50599 * sysdeps/x86_64/configure.in: ... here.
50600 * sysdeps/x86_64/elf/start.S: Moved to ...
50601 * sysdeps/x86_64/start.S: ... here.
50602 * sysdeps/x86_64/elf/configure: Delete.
50603
50604 * sysdeps/x86_64/configure.in: Merge contents from
50605 sysdeps/i386/configure.in (without i686 check).
50606
50607 * sysdeps/i386/elf/Versions: Merge into ...
50608 * sysdeps/i386/Versions: ... this.
50609 * sysdeps/i386/elf/Versions: Delete file.
50610 * sysdeps/i386/elf/start.S: Moved to ...
50611 * sysdeps/i386/start.S: ...here.
50612 * sysdeps/i386/elf/configure.in: Merge into...
50613 * sysdeps/i386/configure.in: ...here.
50614 * sysdeps/i386/elf/configure.in: Delete file.
50615 * sysdeps/i386/elf/configure: Delete file.
50616
50617 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
50618 * debug/backtracesyms.c: ... here.
50619 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
50620 * debug/backtracesymsfd.c: ... here.
50621 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
50622 * sysdeps/generic/ifunc-sel.h: ... here.
50623
50624 * sysdeps/unix/i386/start.c: Delete file.
50625 * sysdeps/unix/sparc/start.c: Delete file.
50626 * sysdeps/unix/start.c: Delete file.
50627
50628 * sysdeps/sh/elf/configure.in: Moved to ...
50629 * sysdeps/sh/configure.in: ... here.
50630 * sysdeps/sh/elf/start.S: Moved to ...
50631 * sysdeps/sh/start.S: ... here.
50632 * sysdeps/sh/elf/configure: Delete file.
50633
50634 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
50635 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
50636 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
50637 * sysdeps/powerpc/powerpc64/entry.h: ... here.
50638 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
50639 * sysdeps/powerpc/powerpc64/start.S: here.
50640 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
50641 * sysdeps/powerpc/powerpc64/Makefile: ... this.
50642 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
50643 * sysdeps/powerpc/powerpc64/configure.in: ... this.
50644 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
50645
50646 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
50647 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
50648 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
50649 * sysdeps/powerpc/powerpc32/start.S: ... here.
50650 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
50651 * sysdeps/powerpc/powerpc32/configure.in: ... this.
50652 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
50653
50654 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
50655 * sysdeps/powerpc/ifunc-sel.h: ... here.
50656 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
50657 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
50658
50659 * sysdeps/sparc/elf/configure.in: Moved to ...
50660 * sysdeps/sparc/configure.in: ... here.
50661 * sysdeps/sparc/elf/configure: Delete file.
50662 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
50663 * sysdeps/sparc/sparc32/start.S: ... here.
50664 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
50665 * sysdeps/sparc/sparc64/start.S: ... here.
50666 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
50667 * sysdeps/sparc/sparc32/Makefile: ... this.
50668 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
50669 * sysdeps/sparc/sparc64/Makefile: ... this.
50670
50671 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
50672 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
50673 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
50674 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
50675 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
50676 * sysdeps/s390/s390-32/setjmp.S: ... here.
50677 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
50678 * sysdeps/s390/s390-32/configure.in: ... here.
50679 * sysdeps/s390/s390-32/elf/configure: Delete file.
50680 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
50681 * sysdeps/s390/s390-32/start.S: ... here.
50682
50683 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
50684 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
50685 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
50686 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
50687 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
50688 * sysdeps/s390/s390-64/setjmp.S: ... here.
50689 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
50690 * sysdeps/s390/s390-64/configure.in: ... here
50691 * sysdeps/s390/s390-64/elf/configure: Delete file.
50692 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
50693 * sysdeps/s390/s390-64/start.S: ... here.
50694 * sysdeps/s390/s390-64/elf/configure: Delete.
50695
50696 * configure.in: Remove support for elf directories in sysdeps.
50697
50698 * configure: Regenerated.
50699 * sysdeps/i386/configure: Regenerated.
50700 * sysdeps/powerpc/powerpc32/configure: Regenerated.
50701 * sysdeps/powerpc/powerpc64/configure: Regenerated.
50702 * sysdeps/s390/s390-32/configure: Regenerated.
50703 * sysdeps/s390/s390-64/configure: Regenerated.
50704 * sysdeps/sh/configure: Regenerated.
50705 * sysdeps/sparc/configure: Regenerated.
50706 * sysdeps/x86_64/configure: Regenerated.
50707
a3f61311
AS
507082012-03-26 Andreas Schwab <schwab@linux-m68k.org>
50709
c876e002
AS
50710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50711
a3f61311
AS
50712 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
50713 denormal result into account.
50714
ac4c54f0
RM
507152012-03-25 Roland McGrath <roland@hack.frob.com>
50716
50717 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
50718 Reported by Allan McRae <allan@archlinux.org>.
50719
6a9b9c02
JL
507202012-03-23 Jeff Law <law@redhat.com>
50721
50722 * nss/getnssent.c (__nss_getent): Fix typo.
50723
4c42a0c1
DM
507242012-03-23 David S. Miller <davem@davemloft.net>
50725
50726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50727
1532c7ac
L
507282012-03-23 H.J. Lu <hongjiu.lu@intel.com>
50729
50730 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
50731 to pad to uint64_t for each field.
50732 (dl_tls_index): Replace unsigned long with uint64_t.
50733
3ff42526
PP
507342012-03-23 Daniel Jacobowitz <dmj@google.com>
50735 Paul Pluzhnikov <ppluzhnikov@google.com>
50736
50737 [BZ #6528]
50738 * grp/Makefile (otherlibs): Don't set it.
50739 * inet/Makefile (otherlibs): Likewise.
50740 * login/Makefile (otherlibs): Likewise.
50741 * nscd/Makefile (otherlibs): Likewise.
50742 * posix/Makefile (otherlibs): Likewise.
50743 * pwd/Makefile (otherlibs): Likewise.
50744 * rt/Makefile (otherlibs): Likewise.
50745 * sunrpc/Makefile (otherlibs): Likewise.
50746 * nss/Makefile (otherlibs): Likewise.
50747 Add libnss_files to routines and static-only-routines.
50748 ($(objpfx)getent): Remove rule.
50749 * resolv/Makefile: Add libnss_dns and libresolv to routines and
50750 static-only-routines.
50751
7c69cd14
JM
507522012-03-22 Joseph Myers <joseph@codesourcery.com>
50753
50754 [BZ #13892]
50755 * math/s_cexp.c: Include <float.h>.
50756 (__cexp): Handle exp result overflowing not necessarily
50757 overflowing both real and imaginary parts of result.
50758 * math/s_cexpf.c: Likewise.
50759 * math/s_cexpl.c: Likewise.
50760 * math/libm-test.inc (cexp_test): Add more tests.
50761 * sysdeps/i386/fpu/libm-test-ulps: Update.
50762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50763
81b035fe
L
507642012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50765
50766 * include/link.h (ELFW): New macro.
50767 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
50768 Replace ELF64_R_TYPE with ELFW(R_TYPE).
50769
1da7940c
L
507702012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50771
50772 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
50773 with uint64_t.
50774
b749dbb9
L
507752012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50776
50777 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
50778 declaration.
50779 (struct La_x32_retval): Likewise.
50780
2ff87f3f
L
507812012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50782
50783 * sysdeps/x86_64/preconfigure.in: New file.
50784 * sysdeps/x86_64/preconfigure: New generated file.
50785
c0df8e69
JM
507862012-03-22 Joseph Myers <joseph@codesourcery.com>
50787
48e44791
JM
50788 [BZ #13824]
50789 * math/e_exp2l.c: Include <float.h>.
50790 (__ieee754_exp2l): Handle overflow and underflow cases
50791 separately. Only pass fractional part of argument to
50792 __ieee754_expl.
50793 * math/libm-test.inc (exp2_test): Add more tests.
50794
c0df8e69
JM
50795 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
50796 negating x to take absolute value.
50797 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
50798 Likewise.
50799 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
50800 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
50801 Likewise.
50802 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
50803 computing low part if x was negated.
50804 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
50805
c8e43ba7
L
508062012-03-21 H.J. Lu <hongjiu.lu@intel.com>
50807
50808 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
50809 la_x32_gnu_pltexit.
50810 (pltexit): Cast int_retval to ptrdiff_t.
50811 * elf/tst-auditmod3b.c: Likewise.
50812 * elf/tst-auditmod4b.c: Likewise.
50813 * elf/tst-auditmod5b.c: Likewise.
50814 * elf/tst-auditmod6b.c: Likewise.
50815 * elf/tst-auditmod6c.c: Likewise.
50816 * elf/tst-auditmod7b.c: Likewise.
50817
50818 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
50819 and x32_gnu_pltexit.
50820
50821 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
50822 __ELF_NATIVE_CLASS.
50823 (La_x32_regs): New macro.
50824 (La_x32_retval): Likewise.
50825 (la_x32_gnu_pltenter): New function prototype.
50826 (la_x32_gnu_pltexit): Likewise.
50827
7998fa78
AS
508282012-03-21 Andreas Schwab <schwab@linux-m68k.org>
50829
dcb33988
AS
50830 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
50831 exponent.
50832
233fc563
AS
50833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50834
7998fa78
AS
50835 * configure.in (libc_cv_cc_nofma): Check for option to disable
50836 generation of FMA instructions.
50837 * configure: Regenerate.
50838 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
50839 * sysdeps/ieee754/dbl-64/Makefile: New file.
50840 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
50841 Remove brandred-fma4.
50842 (CFLAGS-brandred-fma4.c): Remove.
50843 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
50844 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
50845 define.
50846 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
50847 define.
50848
8e95c99a
L
508492012-03-21 H.J. Lu <hongjiu.lu@intel.com>
50850
50851 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50852 LLONG_MAX != LONG_MAX.
50853 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50854 (_fitoa_word): Likewise.
50855 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
50856 LLONG_MAX != LONG_MAX.
50857 * stdio-common/_itowa.h: Include <_itoa.h>.
50858 (_itowa_word): Use _ITOA_WORD_TYPE on value.
50859 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
50860 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
50861 only if not defined.
50862 (_ITOA_WORD_TYPE): Likewise.
50863 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50864 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
50865
6f4db457
DM
508662012-03-21 David S. Miller <davem@davemloft.net>
50867
50868 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50869
7785fe5a
L
508702012-03-21 H.J. Lu <hongjiu.lu@intel.com>
50871
50872 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
50873 of x86_64 when setting libc_cv_slibdir, libdir and
50874 libc_cv_localedir.
50875 * sysdeps/unix/sysv/linux/configure: Regenerated.
50876
4535cd55
JM
508772012-03-21 Joseph Myers <joseph@codesourcery.com>
50878
50879 * manual/lang.texi (Old Varargs): Remove section.
50880 (How Variadic): Update menu.
50881 (va_start): Do not mention varargs.h.
50882
17228132
TS
508832012-03-21 Thomas Schwinge <thomas@codesourcery.com>
50884 Joseph Myers <joseph@codesourcery.com>
50885
50886 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
50887 link test.
50888 * configure: Regenerated.
50889
8149f976
TS
508902012-03-21 Thomas Schwinge <thomas@codesourcery.com>
50891
05f3d1f6
UD
50892 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
50893 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
50894 conformtest.pl
8149f976 50895
1a4ac776
JM
508962012-03-21 Joseph Myers <joseph@codesourcery.com>
50897
be22ce65
JM
50898 * NOTES: Remove.
50899 * Makefile (files-for-dist): Remove NOTES.
50900 (NOTES): Remove rule.
50901 * README: Don't refer to NOTES.
50902 * manual/creature.texi: Don't include macros.texi.
50903 * manual/intro.texi (creature.texi): Remove comment referring to
50904 NOTES.
50905
40b601fb
JM
50906 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
50907 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
50908 * configure: Regenerated.
50909 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
50910 LIBC_TRY_CC_OPTION.
50911 (libc_cv_as_i686): Likewise.
50912 (libc_cv_cc_avx): Likewise.
50913 (libc_cv_cc_sse2avx): Likewise.
50914 (libc_cv_cc_fma4): Likewise.
50915 (libc_cv_cc_novzeroupper): Likewise.
50916 * sysdeps/i386/configure: Regenerated.
50917
1a4ac776
JM
50918 [BZ #13883]
50919 * sysdeps/i386/fpu/s_cexp.S: Remove.
50920 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50921 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50922 * math/libm-test.inc (cexp_test): Add more tests.
50923 * sysdeps/i386/fpu/libm-test-ulps: Update.
50924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50925
a458e7fe
AM
509262012-03-21 Allan McRae <allan@archlinux.org>
50927
50928 * timezone/Makefile: Do not install iso3166.tab and zone.tab
50929
0cb7efc5
JM
509302012-03-21 Joseph Myers <joseph@codesourcery.com>
50931
50932 [BZ #13871]
50933 * math/w_exp2.c: Do not include <float.h>.
50934 (o_threshold, u_threshold): Remove.
50935 (__exp2): Calculate result before checking finiteness and calling
50936 __kernel_standard.
50937 * math/w_exp2f.c: Likewise.
50938 * math/w_exp2l.c: Likewise.
50939 * math/libm-test.inc (exp2_test): Require overflow exception for
50940 1e6 input.
2460d3aa
JM
50941
50942 [BZ #3866]
50943 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
50944 range of signed 64-bit integers before using fistpll. Remove
50945 checks for whether integers fit in mantissa bits.
50946 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
50947 the range of signed 32-bit integers before using fistpl. Remove
50948 checks for whether integers fit in mantissa bits.
50949 * sysdeps/i386/fpu/e_powl.S (p64): New object.
50950 (__ieee754_powl): Test for y outside the range of signed 64-bit
50951 integers before using fistpll. Reduce 64-bit values to 63-bit
50952 ones as needed.
50953 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
50954 divide-by-zero is raised for zero to large negative powers.
50955 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
50956 (__ieee754_powl): Test for y outside the range of signed 64-bit
50957 integers before using fistpll. Reduce 64-bit values to 63-bit
50958 ones as needed.
50959 * math/libm-test.inc (pow_test): Add more tests.
50960
eb96ffb0
L
509612012-03-20 H.J. Lu <hongjiu.lu@intel.com>
50962
50963 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
50964 <stdio-common/_itoa.h>.
50965 * debug/segfault.c: Likewise.
50966 * elf/dl-cache.c: Likewise.
50967 * elf/dl-minimal.c: Likewise.
50968 * elf/dl-misc.c: Likewise.
50969 * elf/dl-sysdep.c: Likewise.
50970 * elf/dl-version.c: Likewise.
50971 * elf/rtld.c: Likewise.
50972 * hurd/hurdsock.c: Likewise.
50973 * hurd/lookup-retry.c: Likewise.
50974 * malloc/malloc.c: Likewise.
50975 * malloc/mtrace.c: Likewise.
50976 * nscd/nscd_getgr_r.c: Likewise.
50977 * nscd/nscd_getpw_r.c: Likewise.
50978 * nscd/nscd_getserv_r.c: Likewise.
50979 * posix/getopt_init.c: Likewise.
50980 * posix/wordexp.c: Likewise.
50981 * stdio-common/_itoa.c: Likewise.
50982 * stdio-common/printf_fphex.c: Likewise.
50983 * stdio-common/vfprintf.c: Likewise.
50984 * string/_strerror.c: Likewise.
50985 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
50986 * sysdeps/i386/i686/hp-timing.h: Likewise.
50987 * sysdeps/mach/_strerror.c: Likewise.
50988 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
50989 * sysdeps/mach/hurd/sethostid.c: Likewise.
50990 * sysdeps/mach/hurd/xmknodat.c: Likewise.
50991 * sysdeps/mach/xpg-strerror.c: Likewise.
50992 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50993 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
50994 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
50995 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
50996 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
50997 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
50998 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
50999 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
51000 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
51001 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
51002 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
51003 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51004 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
51005 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51006 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51007 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
51008 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
51009 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
51010 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
51011 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
51012 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
51013
51014 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
51015
51016 * stdio-common/_itoa.h: Moved to ...
51017 * sysdeps/generic/_itoa.h: Here.
51018
51019 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
51020
51021 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
51022 instead of "_itoa.h" and "_itowa.h".
51023 * stdio-common/vfprintf.: Likewise.
51024
d1af992d
L
510252012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51026
51027 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
51028 <bits/wordsize.h>.
51029 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
51030 (__signbit): Likwise.
51031 (llrintf): Likwise.
51032 (llrint): Likwise.
51033
114883e0
L
510342012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51035
51036 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
51037 __WORDSIZE != 64.
51038
c135cc1b
JM
510392012-03-20 Joseph Myers <joseph@codesourcery.com>
51040
51041 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
51042 OVERFLOW_EXCEPTION_OK.
51043 * math/libm-test.inc ("Philosophy"): Update comment about
51044 exception testing.
51045 (OVERFLOW_EXCEPTION): Define.
51046 (OVERFLOW_EXCEPTION_OK): Likewise.
51047 (INVALID_EXCEPTION_OK): Renumber.
51048 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51049 (IGNORE_ZERO_INF_SIGN): Likewise.
51050 (test_exceptions): Handle FE_OVERFLOW.
51051 (exp10_test): Expect overflow exceptions.
51052 (exp2_test): Likewise.
51053 (expm1_test): Likewise.
51054 (nextafter_test): Likewise.
51055 (pow_test): Likewise.
51056 (scalbn_test): Likewise.
51057 (scalbln_test): Likewise.
51058
95443d88
L
510592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51060
51061 * sysdeps/x86_64/bits/atomic.h
51062 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
51063 64bit integer.
51064 (atomic_exchange_acq): Likewise.
51065 (__arch_exchange_and_add_body): Likewise.
51066 (__arch_add_body): Likewise.
51067 (atomic_add_negative): Likewise.
51068 (atomic_add_zero): Likewise.
51069
490df6c4
L
510702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51071
c2722551 51072 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
51073 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
51074
5e52b189
L
510752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51076
51077 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
51078 Check __x86_64__ instead of __WORDSIZE.
51079
a9879d4c
L
510802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51081
51082 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
51083
5df98260
DM
510842012-03-19 David S. Miller <davem@davemloft.net>
51085
e1497744
DM
51086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51087
5df98260
DM
51088 * sysdeps/sparc/fpu/fenv_private.h: New file.
51089 * sysdeps/sparc/fpu/math_private.h: Use it.
51090 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
51091 Remove.
57f41c40 51092 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
51093 (libc_feholdexcept_setroundl): Remove.
51094 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
51095 Remove.
51096 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
51097 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
51098
b4c35121
L
510992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51100
51101 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
51102 int64_t instead of long int.
51103 (INSERT_WORDS64): Likwise.
51104
56965fd7
L
511052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51106
51107 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
51108 _Unwind_GetCFA return to _Unwind_Ptr first.
51109
83d1aec8
JM
511102012-03-19 Joseph Myers <joseph@codesourcery.com>
51111
1897ad44
JM
51112 [BZ #13629]
51113 * math/s_clog.c: Include <float.h>.
51114 (__clog): Scale large or subnormal inputs.
51115 * math/s_clogf.c: Likewise.
51116 * math/s_clogl.c: Likewise.
51117 * math/s_clog10.c: Include <float.h>.
51118 (M_LOG10_2): Define.
51119 (__clog10): Scale large or subnormal inputs.
51120 * math/s_clog10f.c: Likewise.
51121 * math/s_clog10l.c: Likewise.
51122 * math/libm-test.inc (clog_test): Add more tests.
51123 (clog10_test): Likewise.
51124 * sysdeps/i386/fpu/libm-test-ulps: Update.
51125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51126
7726d6a9
JM
51127 [BZ #11451]
51128 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
51129 x and y.
51130 * math/libm-test.inc (atan2_test): Add another test.
51131
83d1aec8
JM
51132 * Makerules (common-objdir-compile): Remove.
51133 * sysdeps/unix/Makefile (config-generated): Do not add
51134 $(unix-generated) to variable.
51135 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
51136 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
51137 Remove rule.
51138 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
51139 Likewise.
51140 [generic bits/local_lim.h] (before-compile): Do not append to
51141 variable.
51142 [generic bits/local_lim.h] (common-generated): Likewise.
51143 [generic sys/param.h] (before-compile): Do not append to variable.
51144 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
51145 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
51146 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
51147 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
51148 include.
51149 [generic sys/param.h] (sys/param.h-includes): Remove variable.
51150 [generic sys/param.h] (sys/param.h-includes): Remove rule.
51151 [generic sys/param.h] ($(addprefix
51152 $(common-objpfx),$(sys/param.h-includes))): Likewise.
51153 [generic sys/param.h] (common-generated): Do not append to
51154 variable.
51155 [generic sys/param.h] (sysdep_headers): Likewise.
51156 [generic bits/errno.h] (before-compile): Do not append to
51157 variable.
51158 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
51159 rule.
51160 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
51161 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
51162 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
51163 [generic bits/errno.h] (common-generated): Do not append to
51164 variable.
51165 [generic bits/ioctls.h] (before-compile): Do not append to
51166 variable.
51167 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
51168 rule.
51169 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
51170 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
51171 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
51172 rule.
51173 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
51174 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
51175 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
51176 [generic bits/ioctls.h] (common-generated): Do not append to
51177 variable.
51178 [generic sys/syscall.h] (syscall.h): Remove variable.
51179 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
51180 rule.
51181 [generic sys/syscall.h] (before-compile): Do not append to
51182 variable.
51183 [generic sys/syscall.h] (common-generated): Likewise.
51184 * sysdeps/unix/errnos-tmpl.c: Remove file.
51185 * sysdeps/unix/errnos.awk: Likewise.
51186 * sysdeps/unix/ioctls-tmpl.c: Likewise.
51187 * sysdeps/unix/ioctls.awk: Likewise.
51188 * sysdeps/unix/mk-local_lim.c: Likewise.
51189 * sysdeps/unix/snarf-ioctls: Likewise.
51190
4851a949
RH
511912012-03-19 Richard Henderson <rth@twiddle.net>
51192
bd37f2ee
RH
51193 * sysdeps/i386/fpu/fenv_private.h: New file.
51194 * sysdeps/i386/fpu/math_private.h: Use it.
51195 (math_opt_barrier, math_force_eval): Remove.
51196 (libc_feholdexcept_setround_53bit): Remove.
51197 (libc_feupdateenv_53bit): Remove.
51198 * sysdeps/x86_64/fpu/math_private.h: Likewise.
51199 (math_opt_barrier, math_force_eval): Remove.
51200 (libc_feholdexcept): Remove.
51201 (libc_feholdexcept_setround): Remove.
51202 (libc_fetestexcept, libc_fesetenv): Remove.
51203 (libc_feupdateenv_test): Remove.
51204 (libc_feupdateenv, libc_feholdsetround): Remove.
51205 (libc_feresetround): Remove.
51206
d0adc922
RH
51207 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
51208 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
51209
0fe0f1f8
RH
51210 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
51211 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
51212 (libc_feupdateenv_testl): New.
51213 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
51214 (libc_feupdateenv_testf): New.
51215 (libc_feupdateenv): Use libc_feupdateenv_test.
51216 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
51217 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
51218
eb92c487
RH
51219 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
51220 (libc_feholdsetroundf, libc_feholdsetroundl): New.
51221 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
51222 (libc_feresetround_noex): New.
51223 (libc_feresetround_noexf): New.
51224 (libc_feresetround_noexl): New.
51225 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
51226 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
51227 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
51228 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
51229 SET_RESTORE_ROUND.
51230 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51231 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
51232 (__cos): Likewise.
51233 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
51234 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
51235 SET_RESTORE_ROUND_NOEX.
51236 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
51237 SET_RESTORE_ROUND_NOEXF.
51238 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
51239 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
51240 (libc_feholdsetroundf): New.
51241 (libc_feresetround, libc_feresetroundf): New.
51242
7d2e8012
RH
51243 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
51244 (libc_feholdexcept_setround_53bit): Convert from macro to function.
51245 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
51246
b4dabbb4
RH
51247 * sysdeps/generic/math_private.h: Include <fenv.h>.
51248 (default_libc_feholdexcept): New.
51249 (default_libc_feholdexcept_setround): New.
51250 (default_libc_fesetenv, default_libc_feupdateenv): New.
51251 (libc_feholdexcept): Only define if undefined.
51252 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
51253 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
51254 (libc_feholdexcept_setroundl): Likewise.
51255 (libc_feholdexcept_setround_53bit): Likewise.
51256 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
51257 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
51258 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
51259 (libc_feupdateenv_53bit): Likewise.
51260 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
51261 (libc_feholdexcept): Convert from macro to inline function.
51262 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
51263 (libc_fesetenv, libc_feupdateenv): Likewise.
51264
4851a949
RH
51265 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
51266 not previously defined.
51267 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
51268 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
51269 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
51270 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
51271 * sysdeps/ieee754/flt-32/math_private.h: New file.
51272 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
51273 math_private.h below SET_FLOAT_WORD.
51274 (__isnan, __isinf_ns, __finite): Remove.
51275 (__isnanf, __isinf_nsf, __finitef): Remove.
51276
e79d442e
AS
512772012-03-18 Andreas Schwab <schwab@linux-m68k.org>
51278
51279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51280
90b80344
DM
512812012-03-17 David S. Miller <davem@davemloft.net>
51282
51283 [BZ #6471]
51284 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
51285 for 2.16.
51286
edc21804
DM
512872012-03-16 David S. Miller <davem@davemloft.net>
51288
77e927af
DM
51289 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
51290 warnings.
51291
374976dd
DM
51292 [BZ #6471]
51293 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
51294 properly.
51295 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
51296 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
51297 sysdep_routines when subdir is sysvipc.
51298 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
51299 __getshmlba helper.
51300
edc21804
DM
51301 * sysdeps/sparc/fpu/libm-test/ulps: Update.
51302
473c3ef3
L
513032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51304
51305 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
51306 [__LP64__].
51307
eb0f39b6
L
513082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51309
51310 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
51311 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
51312 (__lround): Renamed to ...
51313 (__llround): This. Replace long int with long long int.
51314 Define lround functions as aliases of llround functions.
51315 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
51316
6b6cd74b
L
513172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51318
51319 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
51320 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
51321 adresses to uintptr_t. Replace "long int" and "unsigned long
51322 int" with "greg_t" on va_arg.
51323
f1a77b01
L
513242012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51325
51326 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
51327 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
51328
51329 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
51330 Move e_machine check before EI_CLASS check. Handle x32
51331 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
51332 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
51333 SKIP_EM_IA_64 and include
51334 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
51335
51336 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
51337 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
51338 (add_system_dir): New macro.
51339
51340 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
51341 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
51342
11b90b9f
JM
513432012-03-16 Joseph Myers <joseph@codesourcery.com>
51344
c36e1d23
JM
51345 [BZ #2551]
51346 [BZ #2552]
51347 [BZ #2553]
51348 [BZ #2554]
51349 [BZ #2562]
51350 [BZ #2563]
51351 [BZ #2565]
51352 [BZ #2566]
51353 [BZ #2576]
51354 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
51355 (y0): Likewise.
51356 * math/w_j0f.c (j0f): Likewise.
51357 (y0f): Likewise.
51358 * math/w_j0l.c (__j0l): Likewise.
51359 (__y0l): Likewise.
51360 * math/w_j1.c (j1): Likewise.
51361 (y1): Likewise.
51362 * math/w_j1f.c (j1f): Likewise.
51363 (y1f): Likewise.
51364 * math/w_j1l.c (__j1l): Likewise.
51365 (__y1l): Likewise.
51366 * math/w_jn.c (jn): Likewise.
51367 (yn): Likewise.
51368 * math/w_jnf.c (jnf): Likewise.
51369 (ynf): Likewise.
51370 * math/w_jnl.c (__jnl): Likewise.
51371 (__ynl): Likewise.
51372 * math/libm-test.inc (j0_test): Add more tests.
51373 (j1_test): Likewise.
51374 (jn_test): Likewise. Add trailing semicolon to existing test.
51375 (y0_test): Likewise.
51376 (y1_test): Likewise.
51377 * sysdeps/i386/fpu/libm-test-ulps: Update.
51378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51379
11b90b9f
JM
51380 [BZ #13851]
51381 [BZ #13854]
51382 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
51383 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
51384 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
51385 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
51386 (__tanl): Set errno for infinite argument.
51387 * sysdeps/i386/fpu/mptan.c: Remove.
51388 * sysdeps/i386/fpu/s_tan.S: Likewise.
51389 * sysdeps/i386/fpu/s_tanl.S: Likewise.
51390 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
51391 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
51392 * math/libm-test.inc (tan_test): Add more tests and enable more
51393 tests for double and long double.
51394 * sysdeps/i386/fpu/libm-test-ulps: Update.
51395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51396
6a1bd2a1
JK
513972012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
51398
51399 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
51400 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
51401
10a803e0
RM
514022012-03-16 Roland McGrath <roland@hack.frob.com>
51403
51404 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
51405 * configure.in: Use it for both main tree and add-ons.
51406 * configure: Regenerated.
51407
f196c7f7
L
514082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51409
51410 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
51411
8848d99d
JM
514122012-03-16 Joseph Myers <joseph@codesourcery.com>
51413
96cbe7f4
JM
51414 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
51415 in comment.
51416
8848d99d
JM
51417 [BZ #13851]
51418 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
51419 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
51420 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
51421 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
51422 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
51423 infinite argument.
51424 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
51425 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
51426 != 0 for prec == 2.
51427 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
51428 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
51429 * sysdeps/i386/fpu/s_cosl.S: Likewise.
51430 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
51431 * sysdeps/i386/fpu/s_sinl.S: Likewise.
51432 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
51433 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
51434 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
51435 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
51436 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
51437 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
51438 * math/libm-test.inc (cos_test): Add more tests and enable more
51439 tests for long double.
51440 (sin_test): Likewise.
51441 (sincos_test): Likewise.
51442 * sysdeps/i386/fpu/libm-test-ulps: Update.
51443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51444
dd7f4703
DM
514452012-03-16 David S. Miller <davem@davemloft.net>
51446
51447 * sysdeps/sparc/fpu/math_private.h: New file.
51448
006f1daa
DM
514492012-03-15 David S. Miller <davem@davemloft.net>
51450
c0c83bc8
DM
51451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
51452 file.
e6a62e18 51453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
51454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
51455 file.
e6a62e18
DM
51456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
51457 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
51458 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
51459 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
51460 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
51461 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
51462 sysdep routines.
51463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51464
88cb87d9
DM
51465 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
51466 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
51467
006f1daa 51468 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
51469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
51470 sparc-ifunc.h
006f1daa 51471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
51472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
51473 Likewise.
51474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
51475 Likewise.
006f1daa
DM
51476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
51477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
51478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
51479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51480 Likewise.
006f1daa
DM
51481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
51483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
51485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
51486 Likewise.
51487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
51488 Likewise.
006f1daa
DM
51489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
51491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
51492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
51493 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
51494 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51495 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
51496 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
51497 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
51498 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
51499 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
51500 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
51501 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
51502 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
51503 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
51504 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
51505 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
51506 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
51507 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
51508 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
51509 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
51510 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
51511 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
51512 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
51513
11e0098e
AS
515142012-03-15 Andreas Schwab <schwab@linux-m68k.org>
51515
51516 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
51517 scaling.
51518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51519
e85b09d0
AJ
515202012-03-15 Andreas Jaeger <aj@suse.de>
51521
51522 [BZ #13852]
51523 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
51524 ieee754/flt-32 implementation for sin, cos and sincos.
51525 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
51526 * sysdeps/i386/fpu/s_cosf.S: Likewise.
51527 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
51528 * sysdeps/i386/fpu/s_sinf.S: Likewise.
51529 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
51530 ieee754/flt-32 implementation for tan.
51531
51532 * math/libm-test.inc (cos_test): Enable some large input tests for
51533 float as well
51534 (sin_test): Likewise.
51535 (sincos_test): Likewise.
51536 (tan_test): Add tests for large input.
51537
51538 * sysdeps/i386/fpu/libm-test-ulps: Update.
51539
81c64153
AJ
515402012-03-15 Andreas Jaeger <aj@suse.de>
51541
51542 [BZ #13658]
51543 * math/libm-test.inc (cos_test): Add more test cases.
51544 (sin_test): Likewise.
51545 (sincos_test): Likewise.
51546
7bbfa5c6
AJ
515472012-03-15 Andreas Jaeger <aj@suse.de>
51548
51549 [BZ #13837]
51550 * math/libm-test.inc (cos_test): Add a test case for large input
51551 value.
51552 (sin_test): Likewise.
51553 (sincos_test): Likewise.
51554
57f41c40
AS
515552012-03-15 Andreas Jaeger <aj@suse.de>
51556 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
51557
51558 [BZ #13658]
0671f479 51559 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
51560 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
51561 * sysdeps/i386/fpu/branred.c: Likewise.
51562 * sysdeps/i386/fpu/dosincos.c: Likewise.
51563 * sysdeps/i386/fpu/mpa.c: Likewise.
51564 * sysdeps/i386/fpu/s_cos.S: Likewise.
51565 * sysdeps/i386/fpu/s_sin.S: Likewise.
51566 * sysdeps/i386/fpu/s_sincos.S: Likewise.
51567 * sysdeps/i386/fpu/sincos32.c: Likewise.
51568
51569 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
51570 Define.
51571 (libc_feupdateenv_53bit): Define.
51572 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
51573 Define.
51574 (libc_feupdateenv_53bit): Define.
51575
51576 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
51577 53 bit (without extend i386 double precision).
51578
51579 * math/libm-test.inc (sincos_test): Add tests for large input.
51580 (sin): Likewise.
51581 (cos): Likewise.
51582
51583 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
51584
9cad04ea
AS
515852012-03-15 Andreas Schwab <schwab@linux-m68k.org>
51586
51587 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51588
f7062b9a
DM
515892012-03-15 David S. Miller <davem@davemloft.net>
51590
51591 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
51592 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
51593 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
51594 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
51595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
51596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
51597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
51598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
51599 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
51600 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
51601 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
51602 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
51603 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
51604 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
51605 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
51606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
51607 file.
f7062b9a 51608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
51609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
51610 file.
f7062b9a 51611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
51612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
51613 file.
f7062b9a 51614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
51615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
51616 file.
f7062b9a
DM
51617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
51618 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
51619 fmin/fmax sysdep routines.
51620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51621
7bd951ff
DM
516222012-03-14 David S. Miller <davem@davemloft.net>
51623
559398ab
DM
51624 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
51625 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
51626 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
51627 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
51628 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
51629 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
51630 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
51631 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
51632 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
51633 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
51634 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
51635 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
51636 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
51637 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
51638 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
51639 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
51640 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
51641 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
51642 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
51643 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
51644 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
51645 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
51646 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
51647 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
51648 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
51649 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
51650 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
51651 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
51652 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
51653 routines.
51654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
51655 file.
559398ab 51656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
51657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
51658 file.
559398ab 51659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
51660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
51661 file.
559398ab 51662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
51663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
51664 file.
559398ab 51665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
51666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
51667 file.
559398ab 51668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
51669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
51670 file.
51671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
51672 file.
51673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
51674 file.
51675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
51676 file.
51677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
51678 New file.
51679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
51680 file.
51681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
51682 file.
559398ab 51683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
51684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
51685 file.
559398ab 51686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
51687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
51688 file.
559398ab 51689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
51690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
51691 file.
559398ab 51692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
51693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
51694 VIS3 routines.
559398ab
DM
51695
51696 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
51697 New file.
51698
5a1c1e32
DM
51699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51700
eae47a36
DM
51701 * sysdeps/sparc/configure.in: New file.
51702 * sysdeps/sparc/configure: Generate.
51703 * configure.in (libc_cv_sparc_as_vis3): Substitute.
51704 * configure: Regenerate.
51705 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
51706 * config.make.in (have-as-vis3): New.
51707 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
51708 available use -Av9d instead of -Av9a.
51709 * sysdeps/sparc/sparc64/Makefile: Likewise.
51710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
51711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
51712 New file.
51713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
51714 file.
51715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
51716 New file.
51717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
51718 file.
eae47a36
DM
51719 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
51720 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
51721 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
51722 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
51723 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
51724
c0c83bc8
DM
51725 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
51726 fzeros/fnegs to load 0x80000000 into a float register instead of
51727 using the stack.
7bd951ff
DM
51728 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
51729
bd951ccb
JM
517302012-03-14 Joseph Myers <joseph@codesourcery.com>
51731
51732 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51733 bits/syscall.h.
51734 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
51735 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
51736 ($(inst_includedir)/bits/syscall.h): Remove rule.
51737 ($(objpfx)bits/syscall.d): Include instead of
51738 $(objpfx)syscall-list.d.
51739 (generated): Change syscall-list.h and syscall-list.d to
51740 bits/syscall.h and bits/syscall.d.
51741
bb4e6db2
RM
517422012-03-14 Roland McGrath <roland@hack.frob.com>
51743
51744 [BZ #13846]
51745 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
51746
aa4a2ae1
JM
517472012-03-14 Joseph Myers <joseph@codesourcery.com>
51748
e456826d
JM
51749 [BZ #13841]
51750 * math/s_csqrt.c: Include <float.h>.
51751 (__csqrt): Scale large or subnormal inputs.
51752 * math/s_csqrtf.c: Likewise.
51753 * math/s_csqrtl.c: Likewise.
51754 * math/libm-test.inc (csqrt_test): Add more tests.
51755 * sysdeps/i386/fpu/libm-test-ulps: Update.
51756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51757
aa4a2ae1
JM
51758 [BZ #13840]
51759 * math/libm-test.inc (hypot_test): Add more tests.
51760
7c10fd35
DM
517612012-03-13 David S. Miller <davem@davemloft.net>
51762
51763 [BZ #13840]
51764 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
51765 double-precision for the calculation instead of scaling.
51766
f453b98b
JM
517672012-03-13 Joseph Myers <joseph@codesourcery.com>
51768
51769 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
51770 manipulate bits before adding and subtracting TWO52[sx].
51771 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
51772 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
51773 Likewise.
51774 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
51775
09a3453f
DM
517762012-03-13 David S. Miller <davem@davemloft.net>
51777
8e59da90
DM
51778 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
51779 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
51780 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
51781 rtld-global-offsets.h
51782 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51783
2a8ab7f2
DM
51784 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
51785 large parameters.
51786
10f62770
DM
51787 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
51788
5f0bdb18
DM
51789 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
51790 'err' in the ifdef scope in which it is actually used.
51791
09a3453f
DM
51792 * nss/nss_db/db-init.c: Include string.h
51793
b4b2eb5e
DM
517942012-03-12 David S. Miller <davem@davemloft.net>
51795
98bb2f1c
DM
51796 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51797 masking out of the most significant byte of random value used.
51798 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51799 Fix coding style in previous change.
51800
b4b2eb5e
DM
51801 * sysdeps/unix/sysv/linux/kernel-features.h
51802 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
51803 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
51804 expression.
51805 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
51806 later.
51807
6e226b09
DM
518082012-03-11 David S. Miller <davem@davemloft.net>
51809
a1bcbd40
DM
51810 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
51811 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
51812 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
51813 for 'resultvar' otherwise things get truncated on 64-bit.
51814
cb9d6174
DM
51815 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51816 Fix masking out of the most significant byte of random value used.
51817
6e226b09
DM
51818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51819
058c132d
AS
518202012-03-10 Andreas Schwab <schwab@linux-m68k.org>
51821
51822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51823
2d2cd515
DM
518242012-03-09 David S. Miller <davem@davemloft.net>
51825
51826 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
51827 variables with appropriate CPP guards.
57f41c40
AS
51828 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
51829 from the frame pointer, not the stack pointer. Correct layout
51830 comments. Fix test on resulting framesize and the management of
51831 the outregs buffer for pltexit. Preserve floating point return
51832 values across _dl_call_pltexit call.
2d2cd515
DM
51833 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
51834 framesize and the management of the outregs buffer for pltexit.
51835 Preserve floating point return values across _dl_call_pltexit
51836 call.
57f41c40
AS
51837 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
51838 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
51839 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
51840 (print_exit): Fix format string for return register value.
51841
9a07f9d0
JM
518422012-03-10 Joseph Myers <joseph@codesourcery.com>
51843
51844 * sunrpc/Makefile (others): Add rpcgen.
51845 ($(objpfx)rpcgen): Remove special build rule and dependency on
51846 libc.
51847 * sunrpc/rpcgen.c: New file.
51848
547b5e30
PE
518492012-03-09 Paul Eggert <eggert@cs.ucla.edu>
51850
c524201a
PE
51851 [BZ #13673]
51852 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
51853 * stdio-common/bug-vfprintf-nargs.c: Likewise.
51854 * sysdeps/i386/crti.S: Likewise.
51855 * sysdeps/i386/crtn.S: Likewise.
51856 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
51857 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
51858 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
51859 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
51860 * sysdeps/sh/crti.S: Likewise.
51861 * sysdeps/sh/crtn.S: Likewise.
51862 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
51863
7b6235f2
PE
51864 [BZ #13673]
51865 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
51866 with URL.
51867 * locale/programs/locfile-kw.gperf: Likewise.
51868 * locale/programs/charmap-kw.h: Regenerated.
51869 * locale/programs/locfile-kw.h: Likewise.
51870
547b5e30
PE
51871 [BZ #13673]
51872 * intl/plural.y: Replace FSF snail mail address with URL.
51873 * intl/plural.c: Regenerated.
51874
5f0a5dae
RH
518752012-03-09 Richard Henderson <rth@twiddle.net>
51876
51877 * include/math_private.h: Remove file.
51878 * math/math_private.h: Move file ...
51879 * sysdeps/generic/math_private.h: ... here.
51880
b8c03620
RH
51881 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
51882 * sysdeps/powerpc/fpu/math_private.h: Likewise.
51883 * sysdeps/x86_64/fpu/math_private.h: Likewise.
51884
4e234f5d 51885 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
51886 and <math_private.h>.
51887 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
51888 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
51889 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
51890 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
51891 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
51892 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
51893 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51894 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51895 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51896 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51897 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51898 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51899 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51900 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51901 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51902 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51903 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51904 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51905 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51906 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51907 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51908 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51909 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51910 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51911 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
51912 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51913 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51914 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51915 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51916 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51917 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51918 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51919 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
51920 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51921 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51922 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51923 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51924 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51925 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51926 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51927 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
51928 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51929 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
51930 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
51931 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
51932 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51933 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
51934 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
51935 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51936 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51937 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
51938 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
51939 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
51940 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51941 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
51942 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51943 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51944 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
51945 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
51946 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
51947 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51948 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
51949 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51950 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51951 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
51952 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51953 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51954 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51955 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
51956 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
51957 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
51958 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51959 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
51960 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51961 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
51962 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
51963 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
51964 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51965 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
51966 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
51967 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
51968 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
51969 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
51970 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51971 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51972 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
51973 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
51974 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
51975 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51976 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51977 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51978 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51979 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51980 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51981 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51982 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51983 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51984 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51985 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51986 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51987 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51988 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51989 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51990 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51991 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
51992 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51993 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51994 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51995 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51996 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51997 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51998 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51999 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52000 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52001 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
52002 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52003 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52004 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52005 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52006 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52007 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52008 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52009 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52010 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
52011 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52012 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52013 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52014 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
52015 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52016 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
52017 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
52018 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52019 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52020 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
52021 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
52022 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52023 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52024 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52025 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
52026 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52027 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52028 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52029 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52030 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
52031 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
52032 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52033 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52034 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52035 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
52036 * sysdeps/ieee754/k_standard.c: Likewise.
52037 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52038 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52039 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52040 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52041 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52042 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52043 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52044 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52045 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52046 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52047 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52048 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52049 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52050 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52051 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52052 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52053 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52054 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52055 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52056 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
52057 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
52058 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
52059 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52060 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52061 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52062 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
52063 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52064 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52065 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52066 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52067 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52068 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52069 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52070 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52071 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52072 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52073 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52074 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
52075 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
52076 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52077 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52078 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52079 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52080 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52081 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52082 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52083 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52084 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52085 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52086 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52087 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52088 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52089 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52090 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
52091 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52092 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52093 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
52094 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
52095 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52096 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52097 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52098 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52099 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52100 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52101 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52102 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52103 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52104 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52105 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52106 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52107 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52108 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52109 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52110 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52111 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52112 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52113 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
52114 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52115 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52116 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52117 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52118 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52119 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52120 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52121 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
52122 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52123 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52124 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
52125 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
52126 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52127 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
52128 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52129 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
52130 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52131 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52132 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52133 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
52134 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
52135 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
52136 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
52137 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52138 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52139 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52140 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52141 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
52142 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52143 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52144 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
52145 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
52146 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52147 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52148 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52149 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52150 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52151 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52152 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52153 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52154 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52155 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52156 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52157 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52158 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52159 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52160 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52161 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52162 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
52163 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52164 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52165 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52166 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52167 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52168 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52169 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52170 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
52171 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52172 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52173 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
52174 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
52175 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52176 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
52177 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
52178 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52179 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
52180 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
52181 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52182 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52183 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52184 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52185 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52186 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
52187 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52188 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52189 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52190 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52191 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
52192 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
52193 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52194 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52195 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52196 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
52197 * sysdeps/ieee754/s_lib_version.c: Likewise.
52198 * sysdeps/ieee754/s_matherr.c: Likewise.
52199 * sysdeps/ieee754/s_signgam.c: Likewise.
52200 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52201 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52202 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
52203 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
52204 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
52205 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
52206 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
52207 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
52208 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
52209 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
52210 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52211 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
52212 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52213 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52214 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
52215 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52216 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52217 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52218 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52219 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52220 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 52221
1991fa03
JM
522222012-03-09 Joseph Myers <joseph@codesourcery.com>
52223
52224 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
52225 * sunrpc/rpc_main.c: Likewise.
52226 * sunrpc/rpc_svcout.c: Likewise.
52227
60d6f5a6
DM
522282012-03-09 David S. Miller <davem@davemloft.net>
52229
52230 * include/math_private.h: New file.
52231
4962050e
JM
522322012-03-09 Joseph Myers <joseph@codesourcery.com>
52233
02a6f887
JM
52234 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
52235 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
52236 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
52237 from <bits/socket_type.h>.
52238 (enum __socket_type): Don't define here.
52239 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
52240 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52241 bits/socket_type.h.
52242
c6e013c1
JM
52243 [BZ #13566]
52244 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
52245 checking __USE_GNU.
52246
4962050e
JM
52247 * Makerules ($(inst_includedir)/%.h): New rule.
52248 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
52249 (install-others): Remove variable setting.
52250 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
52251
38842f45
RH
522522012-03-08 Richard Henderson <rth@twiddle.net>
52253
67bb6da6
RH
52254 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
52255 from macro to inline function; merge with the
52256 !__LIBC_INTERNAL_MATH_INLINES version.
52257 (__ieee754_sqrtf): Likewise.
52258
15194b4b
RH
52259 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
52260 to inline function.
52261 (__rintf, __floor, __floorf): Likewise.
52262
64e21ede
RH
52263 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
52264 macro to inline function.
52265 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
52266
38842f45
RH
52267 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
52268 not <math/math_private.h>.
52269
c64bf5fe
DM
522702012-03-08 David S. Miller <davem@davemloft.net>
52271
52272 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
52273 copyright year.
52274 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
52275
82d86f28
TS
522762012-03-08 Thomas Schwinge <thomas@codesourcery.com>
52277
52278 * resolv/gai_misc.c (handle_requests): Fix struct timespec
52279 normalization.
52280 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
52281 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
52282
aea5d727
UD
522832012-03-08 Ulrich Drepper <drepper@gmail.com>
52284
52285 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
52286 be defined individually, they must be defined as a block. Define
52287 S for printing a string instead of hidint the different by using a
52288 macro for adding the 'l'.
52289 * stdio-common/tst-fphex-wide.c: Adjust.
52290
70bca0a3
MP
522912012-03-07 Marek Polacek <polacek@redhat.com>
52292
52293 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
52294
65b81130
MP
522952012-03-08 Marek Polacek <polacek@redhat.com>
52296
52297 [BZ #13806]
52298 * stdio-common/Makefile (tests): Add tst-fphex-wide.
52299 * stdio-common/tst-fphex.c: Define a few macros to make the
52300 test reusable. Use them.
52301 * stdio-common/tst-fphex-wide.c: New file.
52302
07037eeb
JM
523032012-03-08 Joseph Myers <joseph@codesourcery.com>
52304
a7a93d50
JM
52305 [BZ #6911]
52306 * manual/macros.texi (gnusystems): New macro.
52307 (nongnusystems): Likewise.
52308 (gnulinuxhurdsystems): Likewise.
52309 (gnuhurdsystems): Likewise..
52310 (gnulinuxsystems): Likewise.
52311 * manual/charset.texi: Use new macros or @theglibc{} to refer to
52312 variants of the GNU system, not "GNU system".
52313 * manual/conf.texi: Likewise.
52314 * manual/errno.texi: Likewise. Update example of errno macro
52315 expansion.
52316 * manual/filesys.texi: Likewise.
52317 (getumask): Document as specific to GNU/Hurd.
52318 * manual/install.texi: Likewise. Reword some references to
52319 GNU/Linux.
52320 * manual/intro.texi: Likewise.
52321 * manual/io.texi: Likewise.
52322 (File Name Portability): Detail which constraints are inapplicable
52323 to all GNU systems and which are only inapplicable to GNU/Hurd.
52324 * manual/job.texi: Likewise.
52325 * manual/llio.texi: Likewise.
52326 (O_NOCTTY): Document as present on GNU/Linux.
52327 * manual/maint.texi: Likewise.
52328 * manual/memory.texi: Likewise.
52329 * manual/pattern.texi: Likewise.
52330 * manual/pipe.texi: Likewise.
52331 * manual/process.texi: Likewise.
52332 * manual/resource.texi: Likewise.
52333 (RUSAGE_CHILDREN): Remove statement about specifying a particular
52334 child on GNU/Hurd.
52335 * manual/setjmp.texi: Likewise.
52336 * manual/signal.texi: Likewise.
52337 * manual/startup.texi: Likewise.
52338 * manual/stdio.texi: Likewise.
52339 * manual/terminal.texi: Likewise.
52340 (ONLCR): Document as POSIX.
52341 (OXTABS): Document availability on GNU/Linux as XTABS.
52342 (ONOEOT): Document availability separately from other bits.
52343 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
52344 * manual/time.texi: Likewise.
52345 * manual/users.texi: Likewise.
52346 * INSTALL: Regenerated.
52347 * sysdeps/gnu/errlist.c: Regenerated.
52348
07037eeb
JM
52349 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
52350 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
52351 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
52352 puts.
52353 * configure: Regenerated.
52354
d1d3431a
JM
523552012-03-07 Joseph Myers <joseph@codesourcery.com>
52356
af6a1e37
JM
52357 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
52358 default includes instead of AC_HEADER_CHECK.
52359 * sysdeps/i386/configure: Regenerated.
52360
d1d3431a
JM
52361 [BZ #10716]
52362 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
52363 * math/s_cacoshf.c (__cacoshf): Likewise.
52364 * math/s_cacoshl.c (__cacoshl): Likewise.
52365 * math/s_casinh.c (__casinh): Set signs of result from argument.
52366 * math/s_casinhf.c (__casinhf): Likewise.
52367 * math/s_casinhl.c (__casinhl): Likewise.
52368 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
52369 (casinh_test): Add more tests.
52370 * sysdeps/i386/fpu/libm-test-ulps: Update.
52371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52372
482ff4da
UD
523732012-03-07 Ulrich Drepper <drepper@gmail.com>
52374
872fda05
UD
52375 * po/zh_TW.po: Update from translation team.
52376
a4300c7a
UD
52377 * login/Makefile (distribute): Remove variable.
52378 * catgets/Makefile: Likewise.
52379 * mach/Makefile: Likewise.
52380 * malloc/Makefile: Likewise.
52381 * misc/Makefile: Likewise.
52382 * iconv/Makefile: Likewise.
52383 * nscd/Makefile: Likewise.
52384 * hurd/Makefile: Likewise.
52385 * manual/Makefile: Likewise.
52386 * locale/Makefile: Likewise.
52387 * intl/Makefile: Likewise.
52388 * conform/Makefile: Likewise.
52389 * nss/Makefile: Likewise.
52390 * time/Makefile: Likewise.
52391 * soft-fp/Makefile: Likewise.
52392 * dirent/Makefile: Likewise.
52393 * gmon/Makefile: Likewise.
52394 * po/Makefile: Likewise.
52395 * rt/Makefile: Likewise.
52396 * socket/Makefile: Likewise.
52397 * math/Makefile: Likewise.
52398 * signal/Makefile: Likewise.
52399 * debug/Makefile: Likewise.
52400 * elf/Makefile: Likewise.
52401 * timezone/Makefile: Likewise.
52402 * stdlib/Makefile: Likewise.
52403 * iconvdata/Makefile: Likewise.
52404 * sunrpc/Makefile: Likewise.
52405 * io/Makefile: Likewise.
52406 * argp/Makefile: Likewise.
52407 * inet/Makefile: Likewise.
52408 * hesiod/Makefile: Likewise.
52409 * grp/Makefile: Likewise.
52410 * csu/Makefile: Likewise.
52411 * wctype/Makefile: Likewise.
52412 * crypt/Makefile: Likewise.
52413 * libio/Makefile: Likewise.
52414 * string/Makefile: Likewise.
52415 * nis/Makefile: Likewise.
52416 * resolv/Makefile: Likewise.
52417 * stdio-common/Makefile: Likewise.
52418 * wcsmbs/Makefile: Likewise.
52419 * dlfcn/Makefile: Likewise.
52420 * posix/Makefile: Likewise.
52421
3b7c4e74 52422 [BZ #6959]
482ff4da
UD
52423 * timezone/Makefile: Don't install timezone files, just the programs
52424 and scripts.
52425
f72ed77d
UD
524262012-03-06 Ulrich Drepper <drepper@gmail.com>
52427
a000466f
UD
52428 * nss/databases.def: Add missing gshadow entry.
52429
f72ed77d
UD
52430 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
52431
a53b7a4e
MP
524322012-03-06 Marek Polacek <polacek@redhat.com>
52433
52434 [BZ #13726]
52435 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
52436 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52437 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
52438 * stdio-common/tst-long-dbl-fphex.c: New file.
52439
e9258400
DM
524402012-03-06 David S. Miller <davem@davemloft.net>
52441
52442 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52443 (set_obp_int): New function.
52444 (get_obp_int): New function.
52445 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
52446 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
52447 Avoid unused variable warnings on 'val' and use builtin_expect.
52448 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
52449 __builtin_expect.
e9258400
DM
52450 (INLINE_CLONE_SYSCALL): Likewise.
52451
3bd2c723
DM
524522012-03-05 David S. Miller <davem@davemloft.net>
52453
52454 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52455
bbb78d03
AS
524562012-03-05 Andreas Schwab <schwab@linux-m68k.org>
52457
884c5db4
AS
52458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52459
bbb78d03
AS
52460 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
52461 only for |x| >= 40.
52462 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52463
1c9f702a 524642012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
52465
52466 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
52467 Replace gettimeofday with __vdso_gettimeofday.
52468
7be16f82
RM
52469 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52470 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
52471 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
52472
52473 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
52474 time with __vdso_time.
52475
ed58a00f
JM
524762012-03-05 Joseph Myers <joseph@codesourcery.com>
52477
52478 * manual/lang.texi (size_t): Note types to which size_t may be
52479 equivalent with the GNU C Library, but do not describe when
52480 differences between them are significant.
52481
30ee4ced
AJ
524822012-03-05 Andreas Jaeger <aj@suse.de>
52483
52484 * sysdeps/i386/fpu/libm-test-ulps: Update.
52485
b7cd39e8
JM
524862012-03-05 Joseph Myers <joseph@codesourcery.com>
52487
52488 [BZ #3976]
52489 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
52490 (__ieee754_pow): Save and restore rounding mode and use
52491 round-to-nearest for main computations.
52492 * math/libm-test.inc (pow_test_tonearest): New function.
52493 (pow_test_towardzero): Likewise.
52494 (pow_test_downward): Likewise.
52495 (pow_test_upward): Likewise.
52496 (main): Call the new functions.
52497 * sysdeps/i386/fpu/libm-test-ulps: Update.
52498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
52499
52500 [BZ #3976]
52501 * math/libm-test.inc (cosh_test_tonearest): New function.
52502 (cosh_test_towardzero): Likewise.
52503 (cosh_test_downward): Likewise.
52504 (cosh_test_upward): Likewise.
52505 (sinh_test_tonearest): Likewise.
52506 (sinh_test_towardzero): Likewise.
52507 (sinh_test_downward): Likewise.
52508 (sinh_test_upward): Likewise.
52509 (main): Call the new functions.
52510 * sysdeps/i386/fpu/libm-test-ulps: Update.
52511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52512
6c6a98c9
TV
525132012-03-05 Tom de Vries <tom@codesourcery.com>
52514
52515 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
52516 default stack guard is set in last bytes.
52517 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
52518
21bb2d2e 525192012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 52520
21bb2d2e 52521 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 52522
21bb2d2e
AJ
52523 [BZ #13656]
52524 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
52525 possibly allocate from heap instead of stack.
52526 * stdio-common/bug-vfprintf-nargs.c: New file.
52527 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 52528
c6922934
AS
525292012-03-03 Andreas Schwab <schwab@linux-m68k.org>
52530
52531 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52532
bc957d53
MP
525332012-03-03 Marek Polacek <polacek@redhat.com>
52534
52535 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
52536 * math/math_private.h: Likewise.
52537 * stdlib/tst-strtod.c: Likewise.
52538 * sysdeps/i386/i486/bits/atomic.h: Likewise.
52539 * sysdeps/x86_64/bits/atomic.h: Likewise.
52540
6358490d
DM
525412012-03-02 David S. Miller <davem@davemloft.net>
52542
52543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
52544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
52545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
52546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
52547 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
52548 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
52549 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
52550 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
52551
01ae168d
RM
525522012-03-02 Roland McGrath <roland@hack.frob.com>
52553
d9a17c07
RM
52554 [BZ #13792]
52555 * manual/examples/README: New file, says the example source files
52556 can be used under GPL>=2.
52557 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
52558 line containing just "*/".
52559 * manual/examples/add.c: Add copyright header (GPL>=2).
52560 * manual/examples/argp-ex1.c: Likewise.
52561 * manual/examples/argp-ex2.c: Likewise.
52562 * manual/examples/argp-ex3.c: Likewise.
52563 * manual/examples/argp-ex4.c: Likewise.
52564 * manual/examples/atexit.c: Likewise.
52565 * manual/examples/db.c: Likewise.
52566 * manual/examples/dir.c: Likewise.
52567 * manual/examples/dir2.c: Likewise.
52568 * manual/examples/execinfo.c: Likewise.
52569 * manual/examples/filecli.c: Likewise.
52570 * manual/examples/filesrv.c: Likewise.
52571 * manual/examples/fmtmsgexpl.c: Likewise.
52572 * manual/examples/genpass.c: Likewise.
52573 * manual/examples/inetcli.c: Likewise.
52574 * manual/examples/inetsrv.c: Likewise.
52575 * manual/examples/isockad.c: Likewise.
52576 * manual/examples/longopt.c: Likewise.
52577 * manual/examples/memopen.c: Likewise.
52578 * manual/examples/memstrm.c: Likewise.
52579 * manual/examples/mkfsock.c: Likewise.
52580 * manual/examples/mkisock.c: Likewise.
52581 * manual/examples/mygetpass.c: Likewise.
52582 * manual/examples/pipe.c: Likewise.
52583 * manual/examples/popen.c: Likewise.
52584 * manual/examples/rprintf.c: Likewise.
52585 * manual/examples/search.c: Likewise.
52586 * manual/examples/select.c: Likewise.
52587 * manual/examples/setjmp.c: Likewise.
52588 * manual/examples/sigh1.c: Likewise.
52589 * manual/examples/sigusr.c: Likewise.
52590 * manual/examples/stpcpy.c: Likewise.
52591 * manual/examples/strdupa.c: Likewise.
52592 * manual/examples/strftim.c: Likewise.
52593 * manual/examples/strncat.c: Likewise.
52594 * manual/examples/subopt.c: Likewise.
52595 * manual/examples/swapcontext.c: Likewise.
52596 * manual/examples/termios.c: Likewise.
52597 * manual/examples/testopt.c: Likewise.
52598 * manual/examples/testpass.c: Likewise.
52599 * manual/examples/timeval_subtract.c: Likewise.
52600
01ae168d
RM
52601 [BZ #13792]
52602 * manual/time.texi (Elapsed Time): Move timeval_subtract example
52603 function to ...
52604 * manual/timeval_subtract.c.texi: ... here, new file.
52605
49efa33d
DM
526062012-03-02 David S. Miller <davem@davemloft.net>
52607
52608 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
52609
28afd92d
JM
526102012-03-02 Joseph Myers <joseph@codesourcery.com>
52611
804360ed
JM
52612 [BZ #3976]
52613 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
52614 (__sin): Save and restore rounding mode and use round-to-nearest
52615 for all computations.
52616 (__cos): Save and restore rounding mode and use round-to-nearest
52617 for all computations.
52618 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
52619 <fenv.h>.
52620 (tan): Save and restore rounding mode and use round-to-nearest for
52621 all computations.
52622 * math/libm-test.inc (cos_test_tonearest): New function.
52623 (cos_test_towardzero): Likewise.
52624 (cos_test_downward): Likewise.
52625 (cos_test_upward): Likewise.
52626 (sin_test_tonearest): Likewise.
52627 (sin_test_towardzero): Likewise.
52628 (sin_test_downward): Likewise.
52629 (sin_test_upward): Likewise.
52630 (tan_test_tonearest): Likewise.
52631 (tan_test_towardzero): Likewise.
52632 (tan_test_downward): Likewise.
52633 (tan_test_upward): Likewise.
52634 (main): Call the new functions.
52635 * sysdeps/i386/fpu/libm-test-ulps: Update.
52636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52637
a6d06d7b
JM
52638 [BZ #10135]
52639 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
52640 small n, then large n, before computing and testing k+n.
52641 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
52642 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
52643 Likewise.
52644 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
52645 Likewise.
52646 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
52647 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
52648 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
52649 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
52650 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52651 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52652 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
52653 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
52654 * math/libm-test.inc (scalbn_test): Add more tests.
52655 (scalbln_test): Likewise.
52656
07e12bb3
JM
52657 * manual/filesys.texi (mode_t): Describe constraints on size and
52658 signedness, not exact equivalence to a particular type.
52659 (ino_t): Likewise.
52660 (ino64_t): Likewise.
52661 (dev_t): Likewise.
52662 (nlink_t): Likewise.
52663 (blkcnt_t): Likewise.
52664 (blkcnt64_t): Likewise.
52665 * manual/llio.texi (off_t): Likewise.
52666
28afd92d
JM
52667 [BZ #3976]
52668 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
52669 (__ieee754_exp): Save and restore rounding mode and use
52670 round-to-nearest for all computations.
52671 * math/libm-test.inc (exp_test_tonearest): New function.
52672 (exp_test_towardzero): Likewise.
52673 (exp_test_downward): Likewise.
52674 (exp_test_upward): Likewise.
52675 (main): Call the new functions.
52676 * sysdeps/i386/fpu/libm-test-ulps: Update.
52677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52678
b1eeb65d
CD
526792012-03-01 Chris Demetriou <cgd@google.com>
52680
52681 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
52682 have predictable order.
52683
53362a4b
DM
526842012-03-01 David S. Miller <davem@davemloft.net>
52685
3c969083
DM
52686 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
52687
759707de
DM
52688 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
52689 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
52690 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
52691 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
52692
dfdb8ff2
DM
52693 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
52694 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
52695 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
52696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
52697 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
52698 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
52699 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
52700 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
52701 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
52702
ead89f96
DM
52703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52704
7f66bd07
DM
52705 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
52706 * sysdeps/sparc/fpu/libm-test-ulps: to here.
52707 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
52708
53362a4b
DM
52709 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
52710 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52711 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52712 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
52713 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
52714 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
52715 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
52716 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52717 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52718 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
52719 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
52720 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52721 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52722 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52723 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52724 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52725 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
52726 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
52727 * sysdeps/sparc/elf/configure: Regenerated.
52728
7b1902cb
JM
527292012-03-01 Joseph Myers <joseph@codesourcery.com>
52730
bec039bc
JM
52731 * configure.in (AS, LD): Require binutils 2.20 or later.
52732 * configure: Regenerated.
52733 * manual/install.texi (Tools for Compilation): Give binutils 2.20
52734 as required minimum version.
52735 * INSTALL: Regenerated.
52736
7b1902cb
JM
52737 [BZ #2541]
52738 [BZ #4108]
52739 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
52740 before squaring exponent.
52741 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
52742 bottom long double and 27 bits of top long double before squaring
52743 exponent.
52744 * math/libm-test.inc (erfc_test): Add more tests.
52745 * sysdeps/i386/fpu/libm-test-ulps: Update.
52746 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52748
f775c276
KT
527492012-03-01 Kai Tietz <ktietz@redhat.com>
52750
52751 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
52752 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
52753 containing bit-fields.
52754 * soft-fp/extended.h (_FP_UNION_E): Likewise.
52755 * soft-fp/single.h (_FP_UNION_S): Likewise.
52756 * soft-fp/double.h (_FP_UNION_D): Likewise.
52757
5b8a4d4a
JM
527582012-02-29 Joseph Myers <joseph@codesourcery.com>
52759
0bab47b6
JM
52760 [BZ #13786]
52761 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
52762 not include ../strcmp.S.
52763 [USE_AS_STRNCASECMP_L]: Likewise.
52764 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
52765 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
52766 * sysdeps/i386/i686/multiarch/strncase_l-c.c
52767 (__strncasecmp_l_ia32): Define as alias to
52768 __strncasecmp_l_nonascii.
52769
0fcad3e2
JM
52770 [BZ #5794]
52771 * math/libm-test.inc (expm1_test): Add test for bug 5794.
52772 * sysdeps/i386/fpu/libm-test-ulps: Update.
52773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52774
5b8a4d4a
JM
52775 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
52776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52777
8fdceb2e
JL
527782012-02-29 Jeff Law <law@redhat.com>
52779
52780 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
52781 out of bounds read.
52782
1f393a11
MP
527832012-02-29 Marek Polacek <polacek@redhat.com>
52784
52785 [BZ #13706]
52786 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
52787 * elf/Makefile: Add rules to run tst-unused-dep.out.
52788
8847f037
DM
527892012-02-28 David S. Miller <davem@davemloft.net>
52790
52791 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
52792 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
52793 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
52794 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
52795 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
52796 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
52797
169d7f11
JM
527982012-02-29 Joseph Myers <joseph@codesourcery.com>
52799
52800 * math/libm-test.inc (llround_test): Move one test from
52801 lround_test. Use TEST_f_L in moved test.
52802 (lround_test): Move misplaced test to llround_test. Add testcase
52803 from bug 2561.
52804
39adf059
UD
528052012-02-28 Ulrich Drepper <drepper@gmail.com>
52806
52807 * sysdeps/x86_64/fpu/e_expf.S: New file.
52808 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
52809
71b5d1c5
SB
528102012-02-28 Stanislav Brabec <sbrabec@suse.cz>
52811
52812 [BZ #13637]
52813 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
52814 of remain_len that may cause incomplete multi-byte character and
52815 false match.
52816 * posix/bug-regex33.c: New file.
52817 * posix/Makefile (tests): Add bug-regex33.
52818
1f77f049
JM
528192012-02-28 Joseph Myers <joseph@codesourcery.com>
52820
52821 * manual/macros.texi: New file.
52822 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
52823 * manual/libc.texinfo: Include macros.texi.
52824 * manual/creatute.texi: Likewise.
52825 * manual/install.texi: Likewise.
52826 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
52827 @glibcadj{} in references to the GNU C Library.
52828 * manual/charset.texi: Likewise.
52829 * manual/conf.texi: Likewise.
52830 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
52831 when not using those macros.
52832 * manual/creature.texi: Likewise.
52833 * manual/crypt.texi: Likewise.
52834 * manual/errno.texi: Likewise.
52835 * manual/filesys.texi: Likewise.
52836 * manual/header.texi: Likewise.
52837 * manual/install.texi: Likewise.
52838 * manual/intro.texi: Likewise.
52839 * manual/io.texi: Likewise.
52840 * manual/job.texi: Likewise.
52841 * manual/lang.texi: Likewise.
52842 * manual/libc.texiinfo: Likewise.
52843 * manual/llio.texi: Likewise.
52844 * manual/locale.texi: Likewise.
52845 * manual/maint.texi: Likewise.
52846 * manual/math.texi: Likewise.
52847 * manual/memory.texi: Likewise.
52848 * manual/message.texi: Likewise.
52849 * manual/nss.texi: Likewise.
52850 * manual/pattern.texi: Likewise.
52851 * manual/process.texi: Likewise.
52852 * manual/resource.texi: Likewise.
52853 * manual/search.texi: Likewise.
52854 * manual/setjmp.texi: Likewise.
52855 * manual/signal.texi: Likewise.
52856 * manual/socket.texi: Likewise.
52857 * manual/startup.texi: Likewise.
52858 * manual/stdio.texi: Likewise.
52859 * manual/string.texi: Likewise.
52860 * manual/sysinfo.texi: Likewise.
52861 * manual/syslog.texi: Likewise.
52862 * manual/terminal.texi: Likewise.
52863 * manual/time.texi: Likewise.
52864 * manual/users.texi: Likewise.
52865 * INSTALL: Regenerated.
52866 * NOTES: Regenerated.
d40c5d54 52867 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 52868
450bf206
AS
528692012-02-28 Andreas Schwab <schwab@linux-m68k.org>
52870
52871 * include/dirent.h: Include <dirstream.h> before
52872 <dirent/dirent.h>.
52873
741a235b
DM
528742012-02-28 David S. Miller <davem@davemloft.net>
52875
52876 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
52877 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
52878 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
52879 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
52880
d6b5aa58
DM
528812012-02-27 David S. Miller <davem@davemloft.net>
52882
1aff59a3
DM
52883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
52884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
52885 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
52886 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
52887
d6b5aa58
DM
52888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
52889 frame pointer instead of stack pointer relative arg slot.
52890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52891 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52892 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52893
433f48bf
CD
528942012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
52895
52896 [BZ #3992]
52897 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
52898
d674b76d
DM
528992012-02-27 David S. Miller <davem@davemloft.net>
52900
52901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
52902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
52905 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52906 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52907 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
52908 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
52909
0e7727f7
JM
529102012-02-27 Joseph Myers <joseph@codesourcery.com>
52911
52912 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
52913 later. Allow versions 5-9.
43be4ca2 52914 * configure: Regenerated.
0e7727f7
JM
52915 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
52916 required minimum version and 4.6 as recommended version. Do not
52917 mention bugs in GCC 2.7 and 2.8.
43be4ca2 52918 * INSTALL: Regenerated.
0e7727f7 52919
a78bc654
DM
529202012-02-27 David S. Miller <davem@davemloft.net>
52921
428d5830
DM
52922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
52923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
52924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
52925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
52926 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
52927 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
52928 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
52929 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
52930
a78bc654
DM
52931 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
52932 manipulate bits before adding and subtracting TWO112[sx].
52933 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
52934
4579f81c
RM
529352012-02-27 Roland McGrath <roland@hack.frob.com>
52936
36c8acb4
RM
52937 [BZ #13775]
52938 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
52939 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
52940 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
52941 being in POSIX, because they are in 1003.1-2008.
52942
84ad622b
RM
52943 * rt/tst-aio.c: Include <fcntl.h>.
52944 * rt/tst-aio7.c: Likewise.
52945 * rt/tst-aio64.c: Likewise.
52946
4579f81c
RM
52947 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
52948
abd923db
JM
529492012-02-27 Joseph Myers <joseph@codesourcery.com>
52950
52951 * manual/install.texi (--with-headers): Describe headers as
52952 interface headers, not private headers.
52953 (Specific advice for GNU/Linux systems): Describe use of headers
52954 from "make headers_install", not private headers from older
52955 kernels.
43be4ca2 52956 * INSTALL: Regenerated.
abd923db
JM
52957 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
52958 Change to 2.6.19.
52959 * sysdeps/unix/sysv/linux/configure: Regenerated.
52960
6664049b
JM
52961 * manual/llio.texi (fclean): Remove documentation.
52962
bb8b6697
JM
52963 * manual/Makefile (libc-texi-generated): New variable. Include
52964 version.texi.
52965 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
52966 $(libc-texi-generated), not duplicated list of files.
52967 (version.texi, stamp-version): New rules.
52968 (realclean): Remove $(libc-texi-generated), not individual files
52969 from that list. Do not remove dir-add.texinfo.
52970 * manual/libc.texinfo: Comment out uses of edition numbers and
52971 references to printed manual. Remove last-updated dates.
52972 (EDITION): Comment out.
52973 (ISBN): Likewise.
52974 (VERSION, UPDATED): Remove.
52975 (version.texi): Include.
52976
12e5c3b9
AS
529772012-02-27 Andreas Schwab <schwab@linux-m68k.org>
52978
52979 * sysdeps/posix/spawni.c: Include <signal.h>.
52980 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
52981 * sysdeps/pthread/aio_fsync.c: Likewise.
52982
4efeffc1 529832012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 52984
ba63ba08
UD
52985 * conform/Makefile (tests): Run only when not cross-compiling and
52986 when fast-check is not defined.
52987
d94a4670
UD
52988 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
52989 * conform/data/limits.h-data: Fixes for POSIX2008.
52990 * conform/run-conformtest.sh: Run all tests.
52991 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
52992 headers.
52993 * include/bits/dlfcn.h: Likewise.
52994 * include/langinfo.h: Likewise.
52995 * include/monetary.h: Likewise.
52996 * include/sys/poll.h: Likewise.
52997
52998 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
52999 for __USE_GNU.
53000 * posix/spawn.h: Define __need_sigset_t.
53001 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
53002 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
53003 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
53004 to get sigevent_t only.
53005 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
53006 only for __USE_GNU.
53007 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53008 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53009 process_vm_writev only for __USE_GNU.
53010 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
53011
53012 * conform/Makefile: For now ignore errors from run-conformtest.
53013 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
53014 POSIX to avoid namespace pollution. Don't prepend headers.
53015 * conform/data/aio.h-data: Fixes for POSIX testing.
53016 * conform/data/fcntl.h-data: Likewise.
53017 * conform/data/glob.h-data: Likewise.
53018 * conform/data/grp.h-data: Likewise.
53019 * conform/data/pthread.h-data: Likewise.
53020 * conform/data/pwd.h-data: Likewise.
53021 * conform/data/signal.h-data: Likewise.
53022 * conform/data/spawn.h-data: Likewise.
53023 * conform/data/stdio.h-data: Likewise.
53024 * conform/data/stdlib.h-data: Likewise.
53025 * conform/data/stropts.h-data: Likewise.
53026 * conform/data/sys/mman.h-data: Likewise.
53027 * conform/data/sys/stat.h-data: Likewise.
53028 * conform/data/sys/types.h-data: Likewise.
53029 * conform/data/sys/wait.h-data: Likewise.
53030 * conform/data/time.h-data: Likewise.
53031 * conform/data/unistd.h-data: Likewise.
53032 * conform/data/utime.h-data: Likewise.
53033
53034 * io/sys/stat.h: fchmod was always in POSIX.
53035 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
53036 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
53037 * rt/aio.h: Define __need_timespec before including <time.h>.
53038 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
53039 struct. Add forward declaration of pthread_attr_t and use it in
53040 sigevent.
53041 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53042 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53043 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
53044 always remove CLK_TCK definition.
53045
c20105c3
AS
530462012-02-26 Andreas Schwab <schwab@linux-m68k.org>
53047
53048 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
53049
7a270350
UD
530502012-02-25 Ulrich Drepper <drepper@gmail.com>
53051
31341567
UD
53052 * conform/run-conformtest.sh: New file.
53053 * conform/Makefile: Run run-conformtest for tests.
53054 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
53055 support.
53056
53057 * conform/data/uchar.h-data: New file.
53058 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
53059 * conform/data/arpa/inet.h-data: Likewise.
53060 * conform/data/assert.h-data: Likewise.
53061 * conform/data/complex.h-data: Likewise.
53062 * conform/data/cpio.h-data: Likewise.
53063 * conform/data/ctype.h-data: Likewise.
53064 * conform/data/dirent.h-data: Likewise.
53065 * conform/data/dlfcn.h-data: Likewise.
53066 * conform/data/errno.h-data: Likewise.
53067 * conform/data/fcntl.h-data: Likewise.
53068 * conform/data/float.h-data: Likewise.
53069 * conform/data/fmtmsg.h-data: Likewise.
53070 * conform/data/fnmatch.h-data: Likewise.
53071 * conform/data/ftw.h-data: Likewise.
53072 * conform/data/glob.h-data: Likewise.
53073 * conform/data/grp.h-data: Likewise.
53074 * conform/data/iconv.h-data: Likewise.
53075 * conform/data/inttypes.h-data: Likewise.
53076 * conform/data/langinfo.h-data: Likewise.
53077 * conform/data/libgen.h-data: Likewise.
53078 * conform/data/limits.h-data: Likewise.
53079 * conform/data/locale.h-data: Likewise.
53080 * conform/data/math.h-data: Likewise.
53081 * conform/data/monetary.h-data: Likewise.
53082 * conform/data/mqueue.h-data: Likewise.
53083 * conform/data/ndbm.h-data: Likewise.
53084 * conform/data/net/if.h-data: Likewise.
53085 * conform/data/netdb.h-data: Likewise.
53086 * conform/data/netinet/in.h-data: Likewise.
53087 * conform/data/nl_types.h-data: Likewise.
53088 * conform/data/poll.h-data: Likewise.
53089 * conform/data/pthread.h-data: Likewise.
53090 * conform/data/pwd.h-data: Likewise.
53091 * conform/data/regex.h-data: Likewise.
53092 * conform/data/sched.h-data: Likewise.
53093 * conform/data/search.h-data: Likewise.
53094 * conform/data/semaphore.h-data: Likewise.
53095 * conform/data/setjmp.h-data: Likewise.
53096 * conform/data/signal.h-data: Likewise.
53097 * conform/data/spawn.h-data: Likewise.
53098 * conform/data/stdarg.h-data: Likewise.
53099 * conform/data/stdio.h-data: Likewise.
53100 * conform/data/stdlib.h-data: Likewise.
53101 * conform/data/string.h-data: Likewise.
53102 * conform/data/strings.h-data: Likewise.
53103 * conform/data/stropts.h-data: Likewise.
53104 * conform/data/sys/ipc.h-data: Likewise.
53105 * conform/data/sys/mman.h-data: Likewise.
53106 * conform/data/sys/msg.h-data: Likewise.
53107 * conform/data/sys/resource.h-data: Likewise.
53108 * conform/data/sys/select.h-data: Likewise.
53109 * conform/data/sys/sem.h-data: Likewise.
53110 * conform/data/sys/shm.h-data: Likewise.
53111 * conform/data/sys/socket.h-data: Likewise.
53112 * conform/data/sys/stat.h-data: Likewise.
53113 * conform/data/sys/statvfs.h-data: Likewise.
53114 * conform/data/sys/time.h-data: Likewise.
53115 * conform/data/sys/timeb.h-data: Likewise.
53116 * conform/data/sys/times.h-data: Likewise.
53117 * conform/data/sys/types.h-data: Likewise.
53118 * conform/data/sys/uio.h-data: Likewise.
53119 * conform/data/sys/un.h-data: Likewise.
53120 * conform/data/sys/utsname.h-data: Likewise.
53121 * conform/data/sys/wait.h-data: Likewise.
53122 * conform/data/syslog.h-data: Likewise.
53123 * conform/data/tar.h-data: Likewise.
53124 * conform/data/termios.h-data: Likewise.
53125 * conform/data/utime.h-data: Likewise.
53126 * conform/data/utmpx.h-data: Likewise.
53127 * conform/data/varargs.h-data: Likewise.
53128 * conform/data/wchar.h-data: Likewise.
53129 * conform/data/wctype.h-data: Likewise.
53130 * conform/data/wordexp.h-data: Likewise.
53131
53132 * include/stropts.h: New file.
53133 * include/uchar.h: New file.
53134 * include/aio.h: Changes to allow conformtest.pl to use the headers.
53135 * include/assert.h: Likewise.
53136 * include/ctype.h: Likewise.
53137 * include/dirent.h: Likewise.
53138 * include/dlfcn.h: Likewise.
53139 * include/fcntl.h: Likewise.
53140 * include/fnmatch.h: Likewise.
53141 * include/glob.h: Likewise.
53142 * include/grp.h: Likewise.
53143 * include/libio.h: Likewise.
53144 * include/locale.h: Likewise.
53145 * include/math.h: Likewise.
53146 * include/net/if.h: Likewise.
53147 * include/netdb.h: Likewise.
53148 * include/netinet/in.h: Likewise.
53149 * include/pthread.h: Likewise.
53150 * include/pwd.h: Likewise.
53151 * include/regex.h: Likewise.
53152 * include/sched.h: Likewise.
53153 * include/search.h: Likewise.
53154 * include/setjmp.h: Likewise.
53155 * include/signal.h: Likewise.
53156 * include/stdio.h: Likewise.
53157 * include/stdlib.h: Likewise.
53158 * include/string.h: Likewise.
53159 * include/sys/cdefs.h: Likewise.
53160 * include/sys/mman.h: Likewise.
53161 * include/sys/msg.h: Likewise.
53162 * include/sys/resource.h: Likewise.
53163 * include/sys/select.h: Likewise.
53164 * include/sys/socket.h: Likewise.
53165 * include/sys/stat.h: Likewise.
53166 * include/sys/statvfs.h: Likewise.
53167 * include/sys/time.h: Likewise.
53168 * include/sys/times.h: Likewise.
53169 * include/sys/uio.h: Likewise.
53170 * include/sys/utsname.h: Likewise.
53171 * include/sys/wait.h: Likewise.
53172 * include/termios.h: Likewise.
53173 * include/time.h: Likewise.
53174 * include/ulimit.h: Likewise.
53175 * include/unistd.h: Likewise.
53176 * include/utime.h: Likewise.
53177 * include/wchar.h: Likewise.
53178 * include/wctype.h: Likewise.
53179 * include/wordexp.h: Likewise.
53180
53181 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
53182
7a270350
UD
53183 * time/time.h: TIME_UTC must be a macro.
53184 Make timespec_get available for ISO C11 only as well.
53185
7724defc
UD
531862012-02-24 Ulrich Drepper <drepper@gmail.com>
53187
53188 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
53189 Reported by Peng Haitao <penght@cn.fujitsu.com>.
53190
6b1d1d46
JM
531912012-02-24 Joseph Myers <joseph@codesourcery.com>
53192
53193 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 53194
0f8bbd69
JM
531952012-02-24 Joseph Myers <joseph@codesourcery.com>
53196
53197 * manual/texinfo.tex: Update to version 2012-01-19.16.
53198
66ab80bc
JM
531992012-02-24 Joseph Myers <joseph@codesourcery.com>
53200
53201 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
53202
74981cc5
RM
532032012-02-24 Roland McGrath <roland@hack.frob.com>
53204
ee968201
RM
53205 [BZ #13738]
53206 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
53207 * manual/fdl-1.3.texi: New file.
53208 * manual/fdl-1.1.texi: File removed.
53209
74981cc5
RM
53210 [BZ #13738]
53211 * manual/libc.texinfo (FDL_VERSION): New @set.
53212 Use it for mention of FDL in cover text.
53213 (Documentation License): Use it in @include file name.
53214
7bb764bc
JM
532152012-02-22 Joseph Myers <joseph@codesourcery.com>
53216 Roland McGrath <roland@hack.frob.com>
53217
53218 [BZ #5461]
57f41c40
AS
53219 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
53220 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
53221 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
53222 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
53223 name.
53224 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
53225
6cbeae47
JM
532262012-02-22 Joseph Myers <joseph@codesourcery.com>
53227
53228 [BZ #2547]
53229 [BZ #11365]
53230 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
53231 manipulate bits before adding and subtracting TWO23[sx].
53232 * math/libm-test.inc (nearbyint_test): Add more tests.
53233
fe45ce09
JM
532342012-02-22 Joseph Myers <joseph@codesourcery.com>
53235
53236 [BZ #2548]
53237 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
53238 bits before adding and subtracting TWO23[sx].
53239 * math/libm-test.inc (rint_test): Add more tests.
53240 (rint_test_tonearest): Likewise.
53241 (rint_test_towardzero): Likewise.
53242 (rint_test_downward): Likewise.
53243 (rint_test_upward: Likewise.
53244
ff3b3d82
JM
532452012-02-22 Joseph Myers <joseph@codesourcery.com>
53246
53247 [BZ #10110]
53248 * include/stdc-predef.h: New file. Extracted from features.h.
53249 * include/features.h: Include stdc-predef.h.
53250 * Makefile (headers): Add stdc-predef.h.
53251 * CONFORMANCE (Compiler limitations): Update.
53252
ef0aab35
JM
532532012-02-22 Joseph Myers <joseph@codesourcery.com>
53254
53255 * manual/libc.texinfo (VERSION, UPDATED): Revert.
53256
58639409
DM
532572012-02-21 David S. Miller <davem@davemloft.net>
53258
53259 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
53260 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53261
c0e70b25
DM
532622012-02-20 David S. Miller <davem@davemloft.net>
53263
53264 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
53265 using a normal save/restore sequence, rather than allocating a
53266 dummy stack frame just to store a frame pointer and restore.
53267 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53268
fb06851d
JM
532692012-02-21 Joseph Myers <joseph@codesourcery.com>
53270
53271 * manual/install.texi: Fix stray word in line-wrapped comment.
53272
7a8b71c3
DM
532732012-02-20 David S. Miller <davem@davemloft.net>
53274
d510c123
DM
53275 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
53276 both binutils and gcc support GOTDATA.
53277
0722d7c2
DM
53278 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
53279 "rd %pc" in the PIC register setup sequences.
53280
3d2b3019
DM
53281 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
53282 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
53283 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53284 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
53285 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53286 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53287 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53288 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53289 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
53290 (SYSCALL_ERROR_HANDLER): Likewise.
53291 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53292 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53293 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
53294 (SYSCALL_ERROR_HANDLER): Likewise.
53295
c80098a9
DM
53296 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
53297 (HAVE_GCC_GOTDATA): New.
53298 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
53299 relocation support in both binutils and gcc.
53300 * sysdeps/sparc/elf/configure: Regenerate.
53301
3a2545a0
DM
53302 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
53303 * sysdeps/sparc/sparc32/elf/configure: Delete.
53304 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
53305 * sysdeps/sparc/sparc64/elf/configure: Delete.
53306 * sysdeps/sparc/elf/configure.in: New file.
53307 * sysdeps/sparc/elf/configure: Generate.
53308
7a8b71c3
DM
53309 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
53310 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
53311 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53312 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
53313 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
53314
f1e86fca
JM
533152012-02-21 Joseph Myers <joseph@codesourcery.com>
53316
53317 * manual/install.texi: Do not mention specific glibc version
53318 numbers.
53319 * manual/libc.texinfo (VERSION, UPDATED): Update.
53320 (@copying): Use @copyright{} and range of years.
53321
0e7dfaef
JM
533222012-02-21 Joseph Myers <joseph@codesourcery.com>
53323
53324 [BZ #13695]
53325 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
53326 [crti.S not in sysdirs] (generated): Do not append.
53327 [crti.S not in sysdirs] (omit-deps): Likewise.
53328 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
53329 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
53330 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
53331 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
53332 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
53333 Likewise.
53334 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
53335 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
53336 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
53337 * csu/defs.awk: Remove file.
53338 * sysdeps/generic/initfini.c: Likewise.
53339 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
53340 variable.
53341 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
53342 Likewise.
53343
599af3ca
JM
533442012-02-20 Joseph Myers <joseph@codesourcery.com>
53345
53346 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
53347 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
53348 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
53349 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
53350 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53351 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
53352 <bits/epoll.h>.
53353 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
53354 (__EPOLL_PACKED): Define to empty if not defined by
53355 <bits/epoll.h>.
53356 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
53357 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53358 bits/epoll.h.
53359
0e499750
JM
533602012-02-20 Joseph Myers <joseph@codesourcery.com>
53361
53362 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
53363 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
53364 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
53365 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
53366 <bits/timerfd.h>.
53367 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
53368 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53369 bits/timerfd.h.
53370
5ad91f6e
JM
533712012-02-20 Joseph Myers <joseph@codesourcery.com>
53372
53373 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
53374 in C locale.
53375 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53376 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53377 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
53378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53379
06b99b02
AJ
533802012-02-20 Aurelien Jarno <aurelien@aurel32.net>
53381
53382 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53383 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53384
7638c0fd
AS
533852012-02-19 Andreas Schwab <schwab@linux-m68k.org>
53386
53387 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
53388 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
53389 defined.
53390 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
53391 Likewise.
53392 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
53393 entry for 2.16.
53394
92221550
AJ
533952012-02-19 Aurelien Jarno <aurelien@aurel32.net>
53396
53397 * math/w_acos.c: Use non-signaling floating-point comparisons.
53398 * math/w_acosf.c: Likewise.
53399 * math/w_acosh.c: Likewise.
53400 * math/w_acoshf.c: Likewise.
53401 * math/w_acoshl.c: Likewise.
53402 * math/w_acosl.c: Likewise.
53403 * math/w_asin.c: Likewise.
53404 * math/w_asinf.c: Likewise.
53405 * math/w_asinl.c: Likewise.
53406 * math/w_atanh.c: Likewise.
53407 * math/w_atanhf.c: Likewise.
53408 * math/w_atanhl.c: Likewise.
53409 * math/w_exp2.c: Likewise.
53410 * math/w_exp2f.c: Likewise.
53411 * math/w_exp2l.c: Likewise.
53412 * math/w_j0.c: Likewise.
53413 * math/w_j0f.c: Likewise.
53414 * math/w_j0l.c: Likewise.
53415 * math/w_j1.c: Likewise.
53416 * math/w_j1f.c: Likewise.
53417 * math/w_j1l.c: Likewise.
53418 * math/w_jn.c: Likewise.
53419 * math/w_jnf.c: Likewise.
53420 * math/w_log.c: Likewise.
53421 * math/w_log10.c: Likewise.
53422 * math/w_log10f.c: Likewise.
53423 * math/w_log10l.c: Likewise.
53424 * math/w_log2.c: Likewise.
53425 * math/w_log2f.c: Likewise.
53426 * math/w_log2l.c: Likewise.
53427 * math/w_logf.c: Likewise.
53428 * math/w_logl.c: Likewise.
53429 * math/w_sqrt.c: Likewise.
53430 * math/w_sqrtf.c: Likewise.
53431 * math/w_sqrtl.c: Likewise.
53432 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53433 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
53434 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53435 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53436 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53437
ebaf36eb
JM
534382012-02-19 Joseph Myers <joseph@codesourcery.com>
53439
53440 [BZ #9739]
53441 * manual/string.texi (strnlen): Use correct parameter name in
53442 equivalent expression.
53443
71c254a6
JM
534442012-02-19 Joseph Myers <joseph@codesourcery.com>
53445
53446 [BZ #11174]
53447 * manual/users.texi (seteuid): Consistently use neweuid for
53448 argument name.
53449
16d2c631
JM
534502012-02-19 Joseph Myers <joseph@codesourcery.com>
53451
53452 [BZ #13704]
53453 * manual/nss.texi (Services in the NSS configuration): Correct
53454 list of services in example configuration file.
53455
cd837b09
NB
534562012-02-19 Nick Bowler <nbowler@draconx.ca>
53457
53458 [BZ #11322]
53459 * manual/arith.texi: Remove statements about negative zero
53460 behaving identically to zero.
53461
02c4bbad
JM
534622012-02-18 Joseph Myers <joseph@codesourcery.com>
53463
53464 [BZ #5993]
53465 * manual/install.texi: Do not document upgrading from libc5.
53466
366842e7
JM
534672012-02-18 Joseph Myers <joseph@codesourcery.com>
53468
53469 [BZ #4596]
53470 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
53471
dd54084d
DM
534722012-02-18 David S. Miller <davem@davemloft.net>
53473
53474 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
53475 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
53476 %o7 across the call.
53477 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
53478 instead.
53479 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
53480 SETUP_PIC_REG_LEAF.
53481 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53482 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
53483 * sysdeps/sparc/crtn.S: Likewise.
53484
2bcc53a3
UD
534852012-02-17 Ulrich Drepper <drepper@gmail.com>
53486
53487 * aout/Makefile: Remove.
53488
09c093b5
RK
534892012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
53490
53491 [BZ #13058]
53492 * manual/examples/argp-ex1.c (main): Format definition in GNU
53493 style.
53494 * manual/examples/argp-ex2.c (main): Likewise.
53495 * manual/examples/argp-ex3.c (main): Likewise.
53496 * manual/examples/argp-ex4.c (main): Likewise.
53497 * manual/examples/longopt.c (main): Use new-style prototype
53498 definition.
53499 * manual/examples/strncat.c (main): Specify return type and use
53500 (void) for arguments.
53501 * manual/examples/subopt.c (main): Use char **argv argument.
53502
2ee633a2
JM
535032012-02-17 Joseph Myers <joseph@codesourcery.com>
53504
53505 [BZ #5077]
53506 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
53507 rounding modes.
53508
0520adde
FB
535092012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
53510
53511 [BZ #6907]
53512 * manual/string.texi (strchr): Change when strchrnul is
53513 recommended.
53514
3f4081cd
DGM
535152012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
53516
53517 [BZ #174]
53518 * manual/locale.texi (setlocale): Document LOCPATH.
53519
d1b10e78
JM
535202012-02-17 Joseph Myers <joseph@codesourcery.com>
53521
53522 [BZ #10210]
53523 * manual/process.texi (execle): Move @dots{} before last argument.
53524
79c6869c
PB
535252012-02-17 Paul Bolle <pebolle@tiscali.nl>
53526
53527 [BZ #12047]
53528 * manual/charset.texi (Generic Charset Conversion): Fix typo
53529 (LC_TYPE -> LC_CTYPE).
53530
cc6e48bc
NB
535312012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
53532
53533 [BZ #5805]
53534 * manual/arith.texi (scalbn): Use @var{} on parameter names.
53535 (scalbnf): Likewise.
53536 (scalbnl): Likewise.
53537 (scalbln): Likewise.
53538 (scalblnf): Likewise.
53539 (scalblnl): Likewise.
53540 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
53541 (vwarnx): Likewise.
53542 (verr): Likewise.
53543 (verrx): Likewise.
53544 * manual/filesys.texi (telldir): Use braces around return type.
53545 * manual/llio.texi (mmap): Add space after comma.
53546 (mmap64): Likewise.
53547 * manual/math.texi (jn): Use @var{} on parameter names.
53548 (jnf): Likewise.
53549 (jnl): Likewise.
53550 (yn): Likewise.
53551 (ynf): Likewise.
53552 (ynl): Likewise.
53553 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
53554 line.
53555 * manual/resource.texi (ulimit): Use @dots{} instead of literal
53556 "...".
53557 (sched_get_priority_min): Remove semicolon on @deftypefun line.
53558 (sched_get_priority_max): Likewise.
53559 * manual/signal.texi (sigvec): Add space after comma.
53560 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
53561 names.
53562 (if_indextoname): Likewise.
53563 (if_freenameindex): Likewise.
53564 (sendto): Use ',' instead of '.' in prototype.
53565 * manual/startup.texi (syscall): Use @dots{} instead of literal
53566 "...".
53567 * manual/stdio.texi (__fpending): Separate initial words of
53568 paragraph from @deftypefun line.
53569 * manual/syslog.texi (syslog): Use @dots{} instead of literal
53570 "...".
53571 (vsyslog): Use @var{} on parameter names.
53572 * manual/terminal.texi (stty): Use @var{} on parameter names.
53573 * manual/users.texi (getutmp): Use @var{} on parameter names.
53574 (getutmpx): Likewise.
53575
5b23062f
JM
535762012-02-17 Joseph Myers <joseph@codesourcery.com>
53577
53578 [BZ #6884]
53579 * manual/stdio.texi (fopen): Fix typos in description of
53580 ",ccs=STRING".
53581
8dee4833
AJ
535822012-02-17 Aurelien Jarno <aurelien@aurel32.net>
53583
53584 [BZ #4026]
53585 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
53586 get clock_id definition.
53587
9078ce93
TS
535882012-02-17 Thomas Schwinge <thomas@schwinge.name>
53589
53590 [BZ #4822]
53591 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
53592 (madvise): Cast every argument to void on its own.
53593
3835c55f
JM
535942012-02-17 Joseph Myers <joseph@codesourcery.com>
53595
53596 [BZ #9902]
53597 * manual/startup.texi (Exit Status): Fix typo.
53598
35c47e37
JM
535992012-02-17 Joseph Myers <joseph@codesourcery.com>
53600
53601 [BZ #10140]
53602 * manual/examples/argp-ex1.c: Include <stdlib.h>.
53603 * manual/examples/argp-ex2.c: Likewise.
53604 * manual/examples/argp-ex3.c: Likewise.
53605
e3b69ca7
RH
536062012-02-16 Richard Henderson <rth@redhat.com>
53607
53608 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
53609 * sysdeps/s390/s390-32/initfini.c: Remove.
53610 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
53611 * sysdeps/s390/s390-64/initfini.c: Remove.
53612
df83af67
KK
536132012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
53614
53615 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
53616 compiler output for sysdeps/generic/initfini.c.
53617 * sysdeps/sh/elf/initfini.c: Remove file.
53618
f63f3380
DM
536192012-02-16 David S. Miller <davem@davemloft.net>
53620
fb59b3a4
DM
53621 [BZ #11494]
53622 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
53623
f63f3380
DM
53624 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
53625 * sysdeps/sparc/crti.S: New file.
53626 * sysdeps/sparc/crtn.S: New file.
53627 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
53628 * sysdeps/sparc/sparc64/Makefile: Likewise.
53629
df6a4a4a
MF
536302012-02-15 Mike Frysinger <vapier@gentoo.org>
53631
6dd8f3dc 53632 [BZ #3335]
df6a4a4a
MF
53633 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
53634
1cac7236
RM
536352012-02-15 Roland McGrath <roland@hack.frob.com>
53636
d2c736f8
RM
53637 [BZ #4822]
53638 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
53639
1cac7236
RM
53640 * mach/devstream.c (cookie_io_functions_t): Macro removed.
53641 (write, read, close): Likewise.
53642 Patch by Aurelien Jarno <aurelien@aurel32.net>.
53643
8e475601
JM
536442012-02-15 Joseph Myers <joseph@codesourcery.com>
53645
53646 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
53647 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
53648 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
53649 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
53650 <bits/signalfd.h>.
53651 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
53652 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53653 bits/signalfd.h.
53654
ed656b40
MP
536552012-02-14 Marek Polacek <polacek@redhat.com>
53656
53657 * sysdeps/x86_64/crti.S: New file.
53658 * sysdeps/x86_64/crtn.S: New file.
53659 * sysdeps/x86_64/elf/initfini.c: Remove file.
53660
2a979d3a
JM
536612012-02-13 Joseph Myers <joseph@codesourcery.com>
53662
53663 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
53664 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
53665 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
53666 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
53667 <bits/inotify.h>.
53668 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
53669 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53670 bits/inotify.h.
53671
2a418ac3
JM
536722012-02-13 Joseph Myers <joseph@codesourcery.com>
53673
53674 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
53675 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
53676 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
53677 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
53678 <bits/eventfd.h>.
53679 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
53680 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53681 bits/eventfd.h.
53682
fb779be7
TS
536832012-02-10 Thomas Schwinge <thomas@codesourcery.com>
53684
e19e83c5
RM
53685 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
53686 __feraiseexcept instead of feraiseexcept.
7c35ffed 53687
fb779be7
TS
53688 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
53689 nanosleep invocations.
53690 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
53691 strings, and add error checking for a nanosleep invocations.
53692
59ba27a6
PE
536932012-02-09 Paul Eggert <eggert@cs.ucla.edu>
53694
53695 Replace FSF snail mail address with URLs, as per GNU coding standards.
53696 Most of the snail mail addresses were wrong anyway, and omitting
53697 them makes the source code easier to maintain. Almost all of the
53698 changes are to license notices and to locale LC_IDENTIFICATION
53699 addresses, except for this one:
53700 * manual/libc.texinfo: In "Published by", give the FSF's URL,
53701 not its snail mail address.
53702
57b957eb
RH
537032012-02-09 Richard Henderson <rth@twiddle.net>
53704
af850b1c
RH
53705 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
53706 of kernel-features.h.
53707
57b957eb
RH
53708 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
53709
6b73181a
MP
537102012-02-08 Marek Polacek <polacek@redhat.com>
53711
53712 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
53713 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
53714 * sysdeps/gnu/_G_config.h: Likewise.
53715 * sysdeps/generic/_G_config.h: Likewise.
53716
26ecc33a
AS
537172012-02-08 Andreas Schwab <schwab@linux-m68k.org>
53718
6c6dbc63
AS
53719 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
53720 tests.
53721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53722
e216c012
AS
53723 * sysdeps/powerpc/powerpc32/crti.S: New file.
53724 * sysdeps/powerpc/powerpc32/crtn.S: New file.
53725 * sysdeps/powerpc/powerpc64/crti.S: New file.
53726 * sysdeps/powerpc/powerpc64/crtn.S: New file.
53727
26ecc33a
AS
53728 * Makeconfig (have-initfini): Don't set.
53729 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
53730 * configure.in (nopic_initfini): Don't substitute.
53731 * config.h.in (HAVE_INITFINI): Don't #undef.
53732 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
53733 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
53734
3add8e13
JM
537352012-02-08 Joseph Myers <joseph@codesourcery.com>
53736
53737 Support crti.S and crtn.S provided directly by architectures.
53738 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
53739 [crti.S in sysdirs] (omit-deps): Likewise.
53740 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
53741 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
53742 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
53743 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
53744 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
53745 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
53746 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
53747 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
53748 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
53749 compiler output for sysdeps/generic/initfini.c.
53750 * sysdeps/i386/elf/Makefile: Remove file.
53751 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
53752
a22f12b4
MP
537532012-02-07 Marek Polacek <polacek@redhat.com>
53754
53755 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
53756 * sysdeps/gnu/_G_config.h: Likewise.
53757 * sysdeps/mach/hurd/_G_config.h: Likewise.
53758
148cf100
MP
537592012-02-07 Marek Polacek <polacek@redhat.com>
53760
53761 * math/Makefile (tests): Add tst-CMPLX2.
53762 * math/tst-CMPLX2.c: New file.
53763
cfdc0dd7
AS
537642012-02-07 Andreas Schwab <schwab@linux-m68k.org>
53765
84ba42c4
AS
53766 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53767
cfdc0dd7
AS
53768 * math/libm-test.inc (jn_test): Add missing L suffix.
53769
622c86f4
MP
537702012-02-06 Marek Polacek <polacek@redhat.com>
53771
53772 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
53773 * sysdeps/i386/fpu/e_powf.S: Likewise.
53774 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53775 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53776 * sysdeps/i386/fpu/e_acosh.S: Likewise.
53777 * sysdeps/i386/fpu/e_pow.S: Likewise.
53778 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
53779 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53780 * sysdeps/i386/fpu/s_expm1.S: Likewise.
53781 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
53782 * sysdeps/i386/fpu/e_log2.S: Likewise.
53783 * sysdeps/i386/fpu/e_log2l.S: Likewise.
53784 * sysdeps/i386/fpu/e_scalb.S: Likewise.
53785 * sysdeps/i386/fpu/e_powl.S: Likewise.
53786 * sysdeps/i386/fpu/s_log1p.S: Likewise.
53787 * sysdeps/i386/fpu/e_log10f.S: Likewise.
53788 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
53789 * sysdeps/i386/fpu/e_logl.S: Likewise.
53790 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
53791 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
53792 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
53793 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
53794 * sysdeps/i386/fpu/e_log2f.S: Likewise.
53795 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53796 * sysdeps/i386/fpu/e_log.S: Likewise.
53797 * sysdeps/i386/fpu/s_cexp.S: Likewise.
53798 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53799 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
53800 * sysdeps/i386/fpu/e_logf.S: Likewise.
53801 * sysdeps/i386/fpu/e_log10l.S: Likewise.
53802 * sysdeps/i386/fpu/e_atanh.S: Likewise.
53803 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
53804 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
53805 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53806 * sysdeps/i386/fpu/e_log10.S: Likewise.
53807 * sysdeps/i386/fpu/s_frexp.S: Likewise.
53808 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53809 * sysdeps/i386/fpu/s_asinh.S: Likewise.
53810 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
53811 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53812 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
53813 * sysdeps/i386/asm-syntax.h: Likewise.
53814 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53815 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53816 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53817 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
53818 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
53819 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53820 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
53821 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
53822 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53823 * sysdeps/powerpc/sysdep.h: Likewise.
53824 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
53825 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53826
d4a54ac6
JM
538272012-02-06 Joseph Myers <joseph@codesourcery.com>
53828
53829 [BZ #411]
53830 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
53831
314054ea
JM
538322012-02-06 Joseph Myers <joseph@codesourcery.com>
53833
53834 * sysdeps/i386/sysdep.h: Include <features.h>.
53835 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
53836 version.
53837
d8e0ca50
JM
538382012-02-05 Joseph Myers <joseph@codesourcery.com>
53839
53840 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
53841 Define.
53842 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
53843 LOAD_PIC_REG_STR.
53844
b1da7dd9
JM
538452012-02-03 Joseph Myers <joseph@codesourcery.com>
53846
53847 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
53848 (SETUP_PIC_REG): Use GET_PC_THUNK.
53849 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
53850 macro.
53851
9a1d9254
JM
538522012-02-03 Joseph Myers <joseph@codesourcery.com>
53853
53854 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
53855 for non-PIC compilation.
53856 (SETUP_PIC_REG): Add .p2align directive.
53857 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
53858 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
53859 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
53860 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
53861 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53862 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
53863 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
53864 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53865 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
53866 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
53867 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
53868 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
53869 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
53870 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
53871 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
53872 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53873 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53874 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
53875 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
53876 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
53877 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53878 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53879 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
53880 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
53881 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53882 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53883 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53884 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53885 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
53886 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
53887 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
53888 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53889 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
53890 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
53891 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
53892 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
53893 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
53894 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
53895 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
53896 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
53897 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
53898
65dc3b75
JM
538992012-02-03 Joseph Myers <joseph@codesourcery.com>
53900
53901 * math/tst-CMPLX.c: Include <stdio.h>.
53902
d55bf177
JM
539032012-01-31 Joseph Myers <joseph@codesourcery.com>
53904
53905 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
53906 float.
53907 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53908 * sysdeps/sparc/bits/mathdef.h: Likewise.
53909
69db4f8f
MP
539102012-01-31 Marek Polacek <polacek@redhat.com>
53911
53912 * libio/libio.h: Don't define _PARAMS.
53913 * locale/programs/config.h: Don't define PARAMS.
53914 * stdlib/strtol_l.c: Likewise.
53915 (__strtol_l): Remove PARAMS from the prototype.
53916
41b81892
UD
539172012-01-31 Ulrich Drepper <drepper@gmail.com>
53918
3b49edc0
UD
53919 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
53920 names. Just use the correct names. Remove unnecessary wrapper
53921 functions.
53922 * malloc/arena.c: Likewise.
53923 * malloc/hooks.c: Likewise.
53924
41b81892
UD
53925 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
53926 ARENA_TEST says not to. Simplify test for creation of a new arena.
53927 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
53928
27a25b6e
UD
539292012-01-30 Ulrich Drepper <drepper@gmail.com>
53930
53931 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
53932 into tail calls.
53933 (update_get_addr): New function.
53934 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
53935 GET_ADDR_MODULE parameter.
53936
c8a89e7d
JM
539372012-01-30 Joseph Myers <joseph@codesourcery.com>
53938
53939 * crypt/cert.c: Remove __STDC__ conditionals.
53940 * crypt/crypt-entry.c: Likewise.
53941 * crypt/crypt_util.c: Likewise.
53942 * libio/filedoalloc.c: Likewise.
53943 * libio/fileops.c: Likewise.
53944 * libio/genops.c: Likewise.
53945 * libio/iofclose.c: Likewise.
53946 * libio/iofdopen.c: Likewise.
53947 * libio/iofopen.c: Likewise.
53948 * libio/iofopen64.c: Likewise.
53949 * libio/iogetdelim.c: Likewise.
53950 * libio/iopopen.c: Likewise.
53951 * libio/obprintf.c: Likewise.
53952 * libio/oldfileops.c: Likewise.
53953 * libio/oldiofclose.c: Likewise.
53954 * libio/oldiofdopen.c: Likewise.
53955 * libio/oldiofopen.c: Likewise.
53956 * libio/oldiopopen.c: Likewise.
53957 * libio/wfiledoalloc.c: Likewise.
53958 * libio/wgenops.c: Likewise.
53959 * locale/programs/xmalloc.c: Likewise.
53960 * misc/syslog.c: Likewise.
53961 * stdio-common/xbug.c: Likewise.
53962 * string/memchr.c: Likewise.
53963 * string/memcmp.c: Likewise.
53964 * string/memrchr.c: Likewise.
53965 * string/rawmemchr.c: Likewise.
53966 * sysdeps/posix/getcwd.c: Likewise.
53967 * time/strftime_l.c: Likewise.
53968
3b100462
JM
539692012-01-30 Joseph Myers <joseph@codesourcery.com>
53970
53971 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
53972 * config.make.in (config-cflags-sse2avx): Define.
53973 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
53974 Fix typo.
53975
607998af
CM
539762012-01-29 Chris Metcalf <cmetcalf@tilera.com>
53977
53978 * scripts/config.guess: Update from upstream config git repository.
53979 * scripts/config.sub: Likewise.
53980
3601428f
CM
539812012-01-28 Chris Metcalf <cmetcalf@tilera.com>
53982
3ac8b282
CM
53983 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
53984 (EM_NUM): Update.
53985 (R_TILEPRO_*, R_TILEGX_*): New macros.
53986
e034841e
CM
53987 * scripts/firstversions.awk: Fix bug in version range handling.
53988
540d7568
CM
53989 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
53990
3601428f
CM
53991 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
53992
463de862
CM
53993 * include/sys/epoll.h: New file.
53994 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
53995 libc_hidden_def.
53996
73139a76
UD
539972012-01-28 Ulrich Drepper <drepper@gmail.com>
53998
96bc5b45
UD
53999 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
54000 Avoid unnecessary __WORDSIZE == 64 test.
54001 (fmaxf): Use VEX format if possible.
54002 (fmax): Likewise.
54003 (fminf): Likewise.
54004 (fmin): Likewise.
54005
56f6f6a2
UD
54006 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
54007 * math/math_private.h: Remove libc_fegetround* and
54008 libc_fesetround*.
54009 * sysdeps/i386/configure.in: Check for -msse2avx.
54010 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
54011 also if SSE2AVX is defined.
54012 Remove libc_fegetround* and libc_fesetround*.
54013 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
54014 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
54015 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
54016 of HAS_YMM_USABLE.
54017 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54018 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54019 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54020 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54021 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54022
73139a76
UD
54023 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
54024
d73f93a4
AZ
540252012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54026
54027 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
54028 size is not set.
54029 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54030
6ee65ed6
UD
540312012-01-27 Ulrich Drepper <drepper@gmail.com>
54032
54033 [BZ #13618]
54034 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
54035 relocation.
54036 * Makeconfig (libm): Define.
54037 * elf/Makefile: Add rules to build and run tst-relsort1.
54038 * elf/tst-relsort1.c: New file.
54039 * elf/tst-relsort1mod1.c: New file.
54040 * elf/tst-relsort1mod2.c: New file.
54041
8db21882
JM
540422012-01-27 Joseph Myers <joseph@codesourcery.com>
54043
54044 * math/s_ldexp.c: Remove __STDC__ conditionals.
54045 * math/s_ldexpf.c: Likewise.
54046 * math/s_ldexpl.c: Likewise.
54047 * math/s_nextafter.c: Likewise.
54048 * math/s_nexttowardf.c: Likewise.
54049 * math/s_significand.c: Likewise.
54050 * math/s_significandf.c: Likewise.
54051 * math/s_significandl.c: Likewise.
54052 * math/w_jnl.c: Likewise.
54053 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54054 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54055 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54056 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54057 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54058 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54059 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
54060 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54061 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54062 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54063 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54064 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54065 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54066 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54067 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54068 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54069 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54070 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54071 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54072 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54073 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54074 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54075 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54076 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54077 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54078 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54079 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54080 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54081 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54082 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54083 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54084 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54085 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54086 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54087 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54088 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54089 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54090 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54091 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54092 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54093 * sysdeps/ieee754/k_standard.c: Likewise.
54094 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54095 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54096 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54097 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54098 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54099 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54100 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54101 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54102 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54103 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54104 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54105 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54106 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54107 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54108 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54109 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54110 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54111 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54112 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54113 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54114 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54115 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54116 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54117 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54118 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54119 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54120 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54121 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54122 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54123 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54124 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54125 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
54126 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54127 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54128 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54129 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54130 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
54131 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54132 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54133 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
54134 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
54135 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54136 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
54137 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
54138 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54139 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
54140 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54141 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54142 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54143 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
54144 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
54145 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54146 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54147 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54148 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54149 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54150 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
54151 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54152 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54153 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54154 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54155 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54156 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54157 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54158 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54159 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54160 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54161 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54162 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54163 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54164 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54165 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54166 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54167 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54168 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54169 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54170 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54171 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54172 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54173 * sysdeps/ieee754/s_matherr.c: Likewise.
54174 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54175 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54176 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54177 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54178
965a54a4
JM
541792012-01-26 Joseph Myers <joseph@codesourcery.com>
54180
54181 * crypt/md5.h: Remove __STDC__ conditionals.
54182 * libio/libioP.h: Likewise.
54183 * locale/programs/config.h: Likewise.
54184 * sysdeps/generic/sysdep.h: Likewise.
54185 * sysdeps/i386/asm-syntax.h: Likewise.
54186 * sysdeps/s390/asm-syntax.h: Likewise.
54187 * sysdeps/unix/sysdep.h: Likewise.
54188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
54189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54190
7071ad79
JM
541912012-01-26 Joseph Myers <joseph@codesourcery.com>
54192
54193 * libio/libio.h: Remove __STDC__ conditionals.
54194 * malloc/obstack.h: Likewise.
54195 * math/complex.h: Likewise.
54196 * math/math.h: Likewise.
54197 * sysdeps/generic/_G_config.h: Likewise.
54198 * sysdeps/gnu/_G_config.h: Likewise.
54199 * sysdeps/mach/hurd/_G_config.h: Likewise.
54200 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54201 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54202 * sysdeps/sparc/bits/mathdef.h: Likewise.
54203
afc5ed09
UD
542042012-01-26 Ulrich Drepper <drepper@gmail.com>
54205
54206 [BZ #13583]
54207 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 54208 Clean up HAS_* macros.
afc5ed09 54209 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
54210 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
54211 possible.
54212 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
54213 HAS_AVX.
54214 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54215 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54216 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54217 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54218 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 54219
bdb6de1d
JM
542202012-01-25 Joseph Myers <joseph@codesourcery.com>
54221
54222 * elf/tst-unique3.cc (gets): Remove declaration.
54223 * elf/tst-unique3lib.cc (gets): Likewise.
54224 * elf/tst-unique3lib2.cc (gets): Likewise.
54225 * elf/tst-unique4.cc (gets): Likewise.
54226
b15549e6
UD
542272012-01-24 Ulrich Drepper <drepper@gmail.com>
54228
54229 * include/stdio.h: Add C++ protection. Add gets declarations and
54230 definitions.
54231 * debug/tst-chk1.c: Don't declare gets here.
54232 * stdio-common/tst-gets.c: Likewise.
54233
a037381f
JM
542342012-01-24 Joseph Myers <joseph@codesourcery.com>
54235
54236 * posix/glob: Remove directory.
54237
f1d4aa75
JM
542382012-01-24 Joseph Myers <joseph@codesourcery.com>
54239
54240 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
54241
81c0c964
PT
542422012-01-22 Pino Toscano <toscano.pino@tiscali.it>
54243
54244 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
54245 of the non-standard EPFNOSUPPORT.
54246
0ea698ae
ST
542472011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
54248
54249 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
54250 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
54251 ANYWHERE set to 1 only on KERN_NO_SPACE error.
54252
d220b117
UD
542532012-01-21 Ulrich Drepper <drepper@gmail.com>
54254
54255 * wcsmbs/uchar.h: Test __STDC_VERSION__.
54256
3e1aa84e
UD
542572012-01-20 Ulrich Drepper <drepper@gmail.com>
54258
54259 * nscd/aicache.c (addhstaiX): Do not cache negative results of
54260 transient errors.
54261 * nscd/grpcache.c (cache_addgr): Likewise.
54262 * nscd/hstcache.c (cache_addhst): Likewise.
54263 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54264 * nscd/pwdcache.c (cache_addpw): Likewise.
54265 * nscd/servicescache.c (cache_addserv): Likewise.
54266
400aa020
UD
542672012-01-16 Ulrich Drepper <drepper@gmail.com>
54268
d77e7869
UD
54269 * malloc/malloc.c: Various cleanups.
54270 * malloc/hooks.c: Likewise.
54271
400aa020
UD
54272 * stdlib/Makefile (tests): Add bug-fmtmsg1.
54273 * stdlib/bug-fmtmsg1.c: New file.
54274
54275 * stdlib/fmtmsg.c (init): Add missing unlock.
54276 Patch by Peng Haitao <penght@cn.fujitsu.com>.
54277
e0a309cf
MP
542782012-01-12 Marek Polacek <polacek@redhat.com>
54279
54280 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
54281 and _GNU_SOURCE.
54282
929d11c7
WS
542832012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
54284
54285 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
54286 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
54287 macro to ensure uniqueness of label name.
54288 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54289 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54290
41d0e869
UD
542912012-01-11 Ulrich Drepper <drepper@gmail.com>
54292
0cc5ed3b
UD
54293 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
54294
41d0e869
UD
54295 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
54296 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54297 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54298 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
54299
a47a831a
UD
543002012-01-10 Ulrich Drepper <drepper@gmail.com>
54301
daa891c0
UD
54302 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
54303
54304 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
54305 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54306 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54307
e58ef0f2
UD
54308 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
54309
a47a831a 54310 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
54311 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54312 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 54313 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
54314
54315 * math/bits/math-finite.h: Add ldexp support.
54316
a0bfc9c7
MP
543172012-01-10 Marek Polacek <polacek@redhat.com>
54318
54319 * locale/programs/localedef.h (show_archive_content): Add noreturn
54320 attribute.
54321
d6e97a1d
UD
543222012-01-09 Ulrich Drepper <drepper@gmail.com>
54323
54324 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
54325
d5835c26
UD
543262012-01-08 Ulrich Drepper <drepper@gmail.com>
54327
e5f484c6
UD
54328 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
54329
d5835c26
UD
54330 * io/Makefile (headers): Add bits/poll2.h.
54331
d1f741e9
WS
543322011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
54333
54334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
54335 typo #include statement.
54336
ec09c1c4
UD
543372012-01-08 Ulrich Drepper <drepper@gmail.com>
54338
54339 * include/sys/cdefs.h: Define __attribute_alloc_size.
54340 * catgets/gencat.c: Add alloc_size attribute and apply consistently
54341 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
54342 * elf/pldd.c: Likewise.
54343 * iconv/iconv_charmap.c: Likewise.
54344 * iconv/iconvconfig.c: Likewise.
54345 * iconv/strtab.c: Likewise.
54346 * locale/programs/locale.c: Likewise.
54347 * locale/programs/localedef.h: Likewise.
54348 * locale/programs/simple-hash.c: Likewise.
54349 * nscd/nscd.h: Likewise.
54350 * nss/makedb.c: Likewise.
54351 * sysdeps/generic/ldconfig.h: Likewise.
54352 * locale/programs/localedef.c: Remove xmalloc prototype.
54353 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
54354
20b38e03
PP
543552012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54356
54357 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
54358 appropriate.
54359
a0da5fe1
UD
543602012-01-08 Ulrich Drepper <drepper@gmail.com>
54361
1d5a644a 54362 * math/Makefile (tests): Add tst-CMPLX.
669704fd 54363 * math/tst-CMPLX.c: New file.
1d5a644a 54364
8784a6db
UD
54365 * math/complex.h (CMPLXL): Fix typo.
54366
d9a216c0
UD
54367 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
54368 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
54369 GLIBC_2.16.
54370 * debug/tst-chk1.c: Add poll and ppoll tests.
54371 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
54372 * include/sys/poll.h: Add hidden proto for ppoll.
54373 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
54374 * sysdeps/mach/hurd/ppoll.c: Likewise.
54375 * io/ppoll.c: Likewise.
54376 * debug/poll_chk.c: New file.
54377 * debug/ppoll_chk.c: New file.
54378 * include/bits/poll2.h: New file.
54379 * io/bits/poll2.h: New file.
54380
ac097f5c
UD
54381 [BZ #1350]
54382 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
54383
2119dcfa
UD
54384 * configure.in: static is always set to yes. Remove.
54385 * config.make.in: Don't set build-static.
54386 * Makeconfig: Remove use of build-static.
54387 * dlfcn/Makefile: Likewise.
54388 * elf/Makefile: Likewise.
54389 * math/Makefile: Likewise.
54390 * misc/Makefile: Likewise.
54391 * nptl/Makefile: Likewise.
54392 * sysdeps/mach/hurd/Makefile: Likewise.
54393
121766a9
UD
54394 * configure.in: PWD_P is not used anymore.
54395 * config.make.in: Remove PWD_P entry.
54396
51a1d39c 54397 * configure.in: Remove last remnants of RANLIB.
8720d066 54398 No need to check for signed size_t anymore.
215f4bdc
UD
54399 Don't set libc_commonpagesize and libc_relro_required here for Alpha
54400 and IA-64.
3857022a 54401 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
54402 * aclocal.m4: Likewise.
54403
d3ed7225
UD
54404 * wcsmbs/mbrtoc16.c: Implement using towc function.
54405 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
54406 * wcsmbs/wcsmbsload.c: Likewise.
54407 * iconv/gconv_simple.c: Likewise.
54408 * iconv/gconv_int.h: Likewise.
54409 * iconv/gconv_builtin.h: Likewise.
54410 * iconv/iconv_prog.c: Remove CHAR16 handling.
54411
54412 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
54413
54414 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
54415
a0da5fe1
UD
54416 * configure.in: Remove --with-elf and --enable-bounded options.
54417 Dont set base_machine for ia64. More non-ELF conditions removed.
54418 Remove testing and setting of leading underscore information.
54419 * config.make.in (build-bounded): Set to no.
54420 * config.h.in: Remove NO_UNDERSCORES entry.
54421 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
54422 them.
54423 * csu/start.c: Remove !NO_UNDERSCORE code.
54424 * locale/localeinfo.h: Likewise.
54425 * sysdeps/generic/machine-gmon.h: Likewise.
54426 * sysdeps/generic/sysdep.h: Likewise.
54427 * sysdeps/i386/sysdep.h: Likewise.
54428 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54429 * sysdeps/mach/sysdep.h: Likewise.
54430 * sysdeps/s390/s390-32/sysdep.h: Likewise.
54431 * sysdeps/s390/s390-64/sysdep.h: Likewise.
54432 * sysdeps/sh/sysdep.h: Likewise.
54433 * sysdeps/sparc/sparc32/alloca.S: Likewise.
54434 * sysdeps/unix/i386/sysdep.S: Likewise.
54435 * sysdeps/unix/sparc/start.c: Likewise.
54436 * sysdeps/unix/sparc/sysdep.S: Likewise.
54437 * sysdeps/unix/sparc/sysdep.h: Likewise.
54438 * sysdeps/unix/start.c: Likewise.
54439 * sysdeps/unix/x86_64/sysdep.S: Likewise.
54440 * sysdeps/x86_64/sysdep.h: Likewise.
54441
df78418a
UD
544422012-01-07 Ulrich Drepper <drepper@gmail.com>
54443
a784e502
UD
54444 [BZ #13553]
54445 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
54446 for non-gcc.
54447 * argp/argp-fmtstream.h: Use const instead __const.
54448 * argp/argp.h: Likewise.
54449 * assert/assert.h: Likewise.
54450 * bits/fenv.h: Likewise.
54451 * bits/sched.h: Likewise.
54452 * bits/sigset.h: Likewise.
54453 * bits/sigthread.h: Likewise.
54454 * catgets/nl_types.h: Likewise.
54455 * conform/data/pthread.h-data: Likewise.
54456 * crypt/crypt-private.h: Likewise.
54457 * crypt/crypt.h: Likewise.
54458 * crypt/crypt_util.c: Likewise.
54459 * ctype/ctype.h: Likewise.
54460 * debug/execinfo.h: Likewise.
54461 * debug/mbsnrtowcs_chk.c: Likewise.
54462 * debug/mbsrtowcs_chk.c: Likewise.
54463 * debug/wcsnrtombs_chk.c: Likewise.
54464 * debug/wcsrtombs_chk.c: Likewise.
54465 * debug/wcstombs_chk.c: Likewise.
54466 * dirent/dirent.h: Likewise.
54467 * dlfcn/dlfcn.h: Likewise.
54468 * elf/neededtest4.c: Likewise.
54469 * grp/grp.h: Likewise.
54470 * gshadow/gshadow.h: Likewise.
54471 * iconv/gconv.h: Likewise.
54472 * iconv/gconv_int.h: Likewise.
54473 * iconv/gconv_simple.c: Likewise.
54474 * iconv/iconv.h: Likewise.
54475 * iconv/loop.c: Likewise.
54476 * iconv/skeleton.c: Likewise.
54477 * include/aio.h: Likewise.
54478 * include/aliases.h: Likewise.
54479 * include/argz.h: Likewise.
54480 * include/arpa/inet.h: Likewise.
54481 * include/assert.h: Likewise.
54482 * include/dirent.h: Likewise.
54483 * include/dlfcn.h: Likewise.
54484 * include/execinfo.h: Likewise.
54485 * include/fcntl.h: Likewise.
54486 * include/fenv.h: Likewise.
54487 * include/glob.h: Likewise.
54488 * include/grp.h: Likewise.
54489 * include/libintl.h: Likewise.
54490 * include/mntent.h: Likewise.
54491 * include/netdb.h: Likewise.
54492 * include/pwd.h: Likewise.
54493 * include/rpc/netdb.h: Likewise.
54494 * include/sched.h: Likewise.
54495 * include/search.h: Likewise.
54496 * include/shadow.h: Likewise.
54497 * include/signal.h: Likewise.
54498 * include/stdio.h: Likewise.
54499 * include/stdlib.h: Likewise.
54500 * include/string.h: Likewise.
54501 * include/sys/socket.h: Likewise.
54502 * include/sys/stat.h: Likewise.
54503 * include/sys/statfs.h: Likewise.
54504 * include/sys/statvfs.h: Likewise.
54505 * include/sys/syslog.h: Likewise.
54506 * include/sys/time.h: Likewise.
54507 * include/sys/uio.h: Likewise.
54508 * include/time.h: Likewise.
54509 * include/unistd.h: Likewise.
54510 * include/utmp.h: Likewise.
54511 * include/wchar.h: Likewise.
54512 * include/wctype.h: Likewise.
54513 * inet/aliases.h: Likewise.
54514 * inet/arpa/inet.h: Likewise.
54515 * inet/netinet/ether.h: Likewise.
54516 * inet/netinet/in.h: Likewise.
54517 * intl/libintl.h: Likewise.
54518 * io/bits/fcntl2.h: Likewise.
54519 * io/fcntl.h: Likewise.
54520 * io/ftw.h: Likewise.
54521 * io/sys/poll.h: Likewise.
54522 * io/sys/stat.h: Likewise.
54523 * io/sys/statfs.h: Likewise.
54524 * io/sys/statvfs.h: Likewise.
54525 * io/utime.h: Likewise.
54526 * libio/bits/stdio.h: Likewise.
54527 * libio/bits/stdio2.h: Likewise.
54528 * libio/libio.h: Likewise.
54529 * libio/libioP.h: Likewise.
54530 * libio/stdio.h: Likewise.
54531 * locale/lc-ctype.c: Likewise.
54532 * locale/locale.h: Likewise.
54533 * login/utmp.h: Likewise.
54534 * malloc/arena.c: Likewise.
54535 * malloc/malloc.c: Likewise.
54536 * malloc/malloc.h: Likewise.
54537 * malloc/mcheck.c: Likewise.
54538 * malloc/mtrace.c: Likewise.
54539 * math/bits/mathcalls.h: Likewise.
54540 * math/fenv.h: Likewise.
54541 * math/math_private.h: Likewise.
54542 * misc/bits/error.h: Likewise.
54543 * misc/bits/syslog.h: Likewise.
54544 * misc/err.h: Likewise.
54545 * misc/error.h: Likewise.
54546 * misc/fstab.h: Likewise.
54547 * misc/mntent.h: Likewise.
54548 * misc/regexp.h: Likewise.
54549 * misc/search.h: Likewise.
54550 * misc/sgtty.h: Likewise.
54551 * misc/sys/mman.h: Likewise.
54552 * misc/sys/syslog.h: Likewise.
54553 * misc/sys/uio.h: Likewise.
54554 * misc/sys/xattr.h: Likewise.
54555 * misc/ttyent.h: Likewise.
54556 * nis/rpcsvc/ypclnt.h: Likewise.
54557 * nss/nss.h: Likewise.
54558 * posix/bits/unistd.h: Likewise.
54559 * posix/fnmatch.h: Likewise.
54560 * posix/glob.h: Likewise.
54561 * posix/sched.h: Likewise.
54562 * posix/spawn.h: Likewise.
54563 * posix/sys/wait.h: Likewise.
54564 * posix/unistd.h: Likewise.
54565 * posix/wordexp.h: Likewise.
54566 * pwd/pwd.h: Likewise.
54567 * resolv/netdb.h: Likewise.
54568 * resource/sys/resource.h: Likewise.
54569 * rt/aio.h: Likewise.
54570 * rt/bits/mqueue2.h: Likewise.
54571 * rt/mqueue.h: Likewise.
54572 * shadow/shadow.h: Likewise.
54573 * signal/signal.h: Likewise.
54574 * socket/send.c: Likewise.
54575 * socket/sendto.c: Likewise.
54576 * socket/sys/socket.h: Likewise.
54577 * stdio-common/printf.h: Likewise.
54578 * stdlib/bits/stdlib.h: Likewise.
54579 * stdlib/fmtmsg.h: Likewise.
54580 * stdlib/monetary.h: Likewise.
54581 * stdlib/stdlib.h: Likewise.
54582 * stdlib/ucontext.h: Likewise.
54583 * streams/stropts.h: Likewise.
54584 * string/argz.h: Likewise.
54585 * string/bits/string2.h: Likewise.
54586 * string/string.h: Likewise.
54587 * string/strings.h: Likewise.
54588 * sunrpc/rpc/auth.h: Likewise.
54589 * sunrpc/rpc/auth_des.h: Likewise.
54590 * sunrpc/rpc/clnt.h: Likewise.
54591 * sunrpc/rpc/netdb.h: Likewise.
54592 * sunrpc/rpc/pmap_clnt.h: Likewise.
54593 * sunrpc/rpc/xdr.h: Likewise.
54594 * sysdeps/generic/inttypes.h: Likewise.
54595 * sysdeps/generic/net/if.h: Likewise.
54596 * sysdeps/generic/sys/swap.h: Likewise.
54597 * sysdeps/gnu/net/if.h: Likewise.
54598 * sysdeps/gnu/utmpx.h: Likewise.
54599 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
54600 * sysdeps/i386/i486/bits/string.h: Likewise.
54601 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
54602 * sysdeps/s390/bits/string.h: Likewise.
54603 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
54604 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
54605 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
54606 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
54607 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
54608 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
54609 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
54610 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
54611 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
54612 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
54613 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
54614 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
54615 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
54616 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
54617 * sysdeps/unix/sysv/linux/readv.c: Likewise.
54618 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
54619 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
54620 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54621 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
54622 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
54623 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54624 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
54625 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
54626 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
54627 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
54628 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
54629 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
54630 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54631 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
54632 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
54633 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
54634 * sysvipc/sys/ipc.h: Likewise.
54635 * sysvipc/sys/msg.h: Likewise.
54636 * sysvipc/sys/sem.h: Likewise.
54637 * sysvipc/sys/shm.h: Likewise.
54638 * termios/termios.h: Likewise.
54639 * time/sys/time.h: Likewise.
54640 * time/time.h: Likewise.
54641 * wcsmbs/bits/wchar2.h: Likewise.
54642 * wcsmbs/uchar.h: Likewise.
54643 * wcsmbs/wchar.h: Likewise.
54644 * wctype/wctype.h: Likewise.
54645
0269750c
UD
54646 [BZ #13551]
54647 * Makeconfig: Remove all but ELF support including AIX support.
54648 * Makerules: Likewise.
54649 * config.h.in: Likewise.
54650 * config.make.in: Likewise.
54651 * configure: Likewise.
54652 * configure.in: Likewise.
54653 * csu/Makefile: Likewise.
54654 * csu/version.c: Likewise.
54655 * debug/Makefile: Likewise.
54656 * dlfcn/Makefile: Likewise.
54657 * elf/Makefile: Likewise.
54658 * extra-lib.mk: Likewise.
54659 * iconv/Makefile: Likewise.
54660 * include/libc-symbols.h: Likewise.
54661 * include/shlib-compat.h: Likewise.
54662 * resolv/Makefile: Likewise.
54663 * resolv/res_libc.c: Likewise.
54664 * rt/Makefile: Likewise.
54665 * sysdeps/i386/asm-syntax.h: Likewise.
54666 * sysdeps/i386/sysdep.h: Likewise.
54667 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54668 * sysdeps/mach/sysdep.h: Likewise.
54669 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
54670 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
54671 * sysdeps/s390/asm-syntax.h: Likewise.
54672 * sysdeps/s390/s390-32/sysdep.h: Likewise.
54673 * sysdeps/s390/s390-64/sysdep.h: Likewise.
54674 * sysdeps/sh/sysdep.h: Likewise.
54675 * sysdeps/unix/sparc/sysdep.h: Likewise.
54676 * sysdeps/wordsize-32/divdi3.c: Likewise.
54677 * sysdeps/x86_64/sysdep.h: Likewise.
54678
00bbd29b
UD
54679 * argp/Versions: Remove _argp_unlock_xxx.
54680
54681 [BZ #13559]
54682 * abilist/ld.abilist: Update. Adjust for removal of tls option.
54683 * abilist/libBrokenLocale.abilist: Likewise.
54684 * abilist/libanl.abilist: Likewise.
54685 * abilist/libc.abilist: Likewise.
54686 * abilist/libcrypt.abilist: Likewise.
54687 * abilist/libdl.abilist: Likewise.
54688 * abilist/libm.abilist: Likewise.
54689 * abilist/libnsl.abilist: Likewise.
54690 * abilist/libpthread.abilist: Likewise.
54691 * abilist/libresolv.abilist: Likewise.
54692 * abilist/librt.abilist: Likewise.
54693 * abilist/libthread_db.abilist: Likewise.
54694 * abilist/libutil.abilist: Likewise.
54695 * abilist/libnss_db.abilist: New file.
54696
54697 * scripts/abilist.awk: Add support for indirect functions.
54698
a2693a0e
UD
54699 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
54700
3f05895f
UD
54701 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
54702
ecb6fb48
UD
54703 * shlib-versions: Remove entries for ports architectures.
54704
664f8cb9
UD
54705 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
54706 files in ports.
54707 * elf/stackguard-macros.h: Remove support for IA-64.
54708 * elf/tst-auditmod1.c: Likewise.
54709 * sysdeps/generic/ldsodefs.h: Likewise.
54710
7ae81d88
UD
54711 * sysdeps/unix/sysv/linux/configure.in: Ports should define
54712 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
54713 configure files.
54714
bdeba135
UD
54715 [BZ #13552]
54716 * configure.in: Remove --enable-omitfp support.
54717 * FAQ.in: Adjust.
54718 * config.make.in: Likewise.
54719 * Makeconfig: Likewise.
54720 * manual/install.texi: Likewise.
54721
d75a0a62
UD
54722 In case anyone cares, the IA-64 architecture could move to ports.
54723 * sysdeps/ia64/*: Removed.
54724 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 54725 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 54726
dcc9756b
UD
54727 [BZ #13555]
54728 * configure.in: Remove entries for unsupported architectures.
54729
d3761ebc 54730 [BZ #13533]
9954432e
UD
54731 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
54732 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
54733 routines.
54734 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
54735 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
54736 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
54737 fall back to using wcrtomb.
54738 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
54739 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
54740 renaming.
54741 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
54742 * wcsmbs/tst-c16c32-1.c: New file.
54743
54744 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
54745 local variable.
54746
c3a87236
UD
54747 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
54748
28926a1b
UD
54749 * elf/tst-unique3.cc: Add explicit declaration of gets.
54750 * elf/tst-unique3lib.cc: Likewise.
54751 * elf/tst-unique3lib2.cc: Likewise.
54752 * elf/tst-unique4.cc: Likewise.
54753
df78418a
UD
54754 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
54755
8ecd6b2a
JM
547562012-01-06 Joseph Myers <joseph@codesourcery.com>
54757
54758 [BZ #13566]
54759 * assert/assert.h (static_assert): Don't define for C++.
54760 * libio/stdio.h (gets): Do declare for C++ <= C++11.
54761 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
54762
9f115170
UD
547632012-01-03 Ulrich Drepper <drepper@gmail.com>
54764
5e0d0300
UD
54765 * iconv/loop.c (single loop): Fix assertion in storing of
54766 remaining bytes.
54767
9f115170
UD
54768 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
54769
81fb02b0
UD
547702012-01-01 Ulrich Drepper <drepper@gmail.com>
54771
54772 * posix/getconf.c: Update copyright year.
54773 * nss/getent.c: Likewise.
a316c1f6 54774 * nss/makedb.c: Likewise.
81fb02b0
UD
54775 * iconv/iconvconfig.c: Likewise.
54776 * iconv/iconv_prog.c: Likewise.
54777 * elf/ldconfig.c: Likewise.
a316c1f6
UD
54778 * elf/pldd.c: Likewise.
54779 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
54780 * catgets/gencat.c: Likewise.
54781 * csu/version.c: Likewise.
54782 * elf/ldd.bash.in: Likewise.
54783 * elf/sprof.c (print_version): Likewise.
54784 * locale/programs/locale.c: Likewise.
54785 * locale/programs/localedef.c: Likewise.
a316c1f6 54786 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
54787 * nscd/nscd.c (print_version): Likewise.
54788 * debug/xtrace.sh: Likewise.
54789 * malloc/memusage.sh: Likewise.
54790 * malloc/mtrace.pl: Likewise.
54791 * debug/catchsegv.sh: Likewise.
54792
2ba92745
JJ
547932011-12-30 Jakub Jelinek <jakub@redhat.com>
54794
54795 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
54796 pure attribute.
54797
dadebdae
UD
547982011-12-24 Ulrich Drepper <drepper@gmail.com>
54799
d3761ebc 54800 [BZ #13533]
db6af3eb
UD
54801 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
54802 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
54803 transformations.
54804 * iconv/gconv_int.h: Likewise.
54805 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
54806 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
54807 from libc for GLIBC_2.16.
54808 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
54809 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
54810 * wcsmbs/uchar.h: Really define mbstate_t.
54811 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
54812 * wcsmbs/c16rtomb.c: New file.
54813 * wcsmbs/mbrtoc16.c: New file.
54814 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
54815 for C/POSIX locale.
54816 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
54817 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
54818
dadebdae
UD
54819 * wcsmbs/wchar.h: Add missing __restrict.
54820
67371b56
UD
548212011-12-23 Ulrich Drepper <drepper@gmail.com>
54822
74033a25
UD
54823 [BZ #13532]
54824 * time/Makefile (routines): Add timespec_get.
54825 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
54826 * time/time.h: Define TIME_UTC and declare timespec_get. Define
54827 timespec for ISO C11.
54828 * time/timespec_get.c: New file.
54829 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
54830 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
54831
380d7e87
UD
54832 [BZ #13531]
54833 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
54834 * stdlib/stdlib.h: Declare aligned_alloc.
54835 * Versions.def: Add GLIBC_2.16 for libc.
54836 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
54837
4e9e7a35
UD
54838 [BZ 13527]
54839 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
54840 ISO C11.
54841
380d7e87 54842 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
54843 code.
54844
03a71829
UD
54845 [BZ #13528]
54846 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
54847
839e283e
UD
54848 [BZ #13529]
54849 * assert/assert.h (static_assert): Define.
54850
ce5294e2 54851 * version.h: Update for 2.16 development version.
90fa7312 54852
8d44e150 54853 [BZ #13526]
d7809905
UD
54854 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
54855 _ISOC11_SOURCE.
54856
c0da14cd
UD
54857 * version.h (RELEASE): Bump for 2.15 release.
54858 * include/features.h (__GLIBC_MINOR__): Bump to 15.
54859
530a3249
MP
54860 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
54861 Patch by Marek Polacek <mpolacek@redhat.com>.
54862
67371b56
UD
54863 * bits/byteswap.h: Protect long long constants with __extension__.
54864 * sysdeps/i386/bits/byteswap.h: Likewise.
54865 * sysdeps/ia64/bits/byteswap.h: Likewise.
54866 * sysdeps/s390/bits/byteswap.h: Likewise.
54867 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54868
15db4de1
LD
548692011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54870
54871 [BZ #13540]
bbe315ea
LD
54872 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
54873 destination buffer.
15db4de1
LD
54874 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
54875
2b2596b1
MP
548762011-12-23 Marek Polacek <polacek@redhat.com>
54877
54878 * elf/dl-addr.c (determine_info): Add inline keyword.
54879 * elf/tst-auditmod4b.c (check_avx): Likewise.
54880 * elf/tst-auditmod6b.c (check_avx): Likewise.
54881 * elf/tst-auditmod6c.c (check_avx): Likewise.
54882 * elf/tst-auditmod7b.c (check_avx): Likewise.
54883
70c6c246
UD
548842011-12-23 Ulrich Drepper <drepper@gmail.com>
54885
54886 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
54887 !__SSE_MATH__.
54888
c044cf14
LD
548892011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54890
15db4de1 54891 [BZ #13540]
c044cf14
LD
54892 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
54893 processing for last bytes.
54894
6b13d9d9
BH
548952011-08-06 Bruno Haible <bruno@clisp.org>
54896
d455f537
BH
54897 [BZ #13061]
54898 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
54899 U+0385, not to U+1FEE.
54900
6b13d9d9
BH
54901 [BZ #13062]
54902 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
54903 entry for U+00A5 U+0301.
54904
db910efd
UD
549052011-12-22 Ulrich Drepper <drepper@gmail.com>
54906
27deeafc
UD
54907 [BZ #13166]
54908 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
54909 buffer for the output is too small.
54910
aed9d171
UD
54911 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
54912 optimization.
54913
db910efd
UD
54914 [BZ #13185]
54915 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
54916 SSE flags if possible.
54917
2bd779ae
LD
549182011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54919
e7f9dac3 54920 [BZ #13540]
2bd779ae
LD
54921 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
54922 processing for last bytes.
54923
154bfc16
JM
549242011-12-22 Joseph Myers <joseph@codesourcery.com>
54925
54926 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
54927 (syscall-list-default-options, syscall-list-default-condition)
54928 (syscall-list-includes): Define.
54929 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
54930 list of ABIs and options and #if conditions for each ABI. Do not
54931 handle common syscalls between ABIs specially.
54932 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
54933 Remove.
54934 (syscall-list-variants, syscall-list-32bit-options)
54935 (syscall-list-32bit-condition, syscall-list-64bit-options)
54936 (syscall-list-64bit-condition): Define.
54937 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
54938 (syscall-list-variants, syscall-list-32bit-options)
54939 (syscall-list-32bit-condition, syscall-list-64bit-options)
54940 (syscall-list-64bit-condition): Define.
54941 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
54942 Remove.
54943 (syscall-list-variants, syscall-list-32bit-options)
54944 (syscall-list-32bit-condition, syscall-list-64bit-options)
54945 (syscall-list-64bit-condition): Define.
54946 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
54947 Remove.
54948 (syscall-list-variants, syscall-list-32bit-options)
54949 (syscall-list-32bit-condition, syscall-list-64bit-options)
54950 (syscall-list-64bit-condition): Define.
54951
21eaf3a5
UD
549522011-12-22 Ulrich Drepper <drepper@gmail.com>
54953
16c6f992
UD
54954 * locale/iso-639.def: Add brx entry.
54955
41043168
UD
54956 [BZ #13328]
54957 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
54958 Proposed by Mariusz_Cukr <marcukr@op.pl>.
54959
21eaf3a5
UD
54960 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
54961 __feraiseexcept_renamed.
54962
e3a851a2
UD
549632011-12-21 Ulrich Drepper <drepper@gmail.com>
54964
4920765e
UD
54965 [BZ #13538]
54966 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
54967 EPOLLET with unsigned values.
54968 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54969 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54970
e3a851a2
UD
54971 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
54972 to large cancellation.
54973 * math/s_cacoshf.c: Likewise.
54974 * math/s_cacoshl.c: Likewise.
54975
b27e24b8
RK
549762011-11-18 Richard B. Kreckel <kreckel@ginac.de>
54977
54978 [BZ #13305]
aebefeee 54979 [BZ #12786]
b27e24b8
RK
54980 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
54981 * math/s_cacoshf.c: Likewise.
54982 * math/s_cacoshl.c: Likewise.
54983
ee190f67
UD
549842011-12-21 Ulrich Drepper <drepper@gmail.com>
54985
54986 [BZ #13439]
54987 * iconv/gconv.h: Define __GCONV_SWAP.
54988 * iconvdata/unicode.c: The swap bit must be stored in __flags.
54989 * iconvdata/utf-16.c: Likewise.
54990 * iconvdata/utf-32.c: Likewise.
54991
707f25df
AS
549922011-12-21 Andreas Schwab <schwab@linux-m68k.org>
54993
54994 [BZ #13524]
54995 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
54996 numerator after shifting it by one limb.
54997
d2daaa1e
RÁE
549982011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
54999
55000 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
55001 under [__USE_EXTERN_INLINES].
55002
a4647e72
UD
550032011-12-17 Ulrich Drepper <drepper@gmail.com>
55004
55005 [BZ #13446]
55006 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
55007
f0b264f1
AZ
550082011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55009
55010 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
55011 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
55012 optimized code.
55013 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
55014 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
55015 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
55016 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
55017 for strncasecmp/strncasecmp_l compilation.
55018 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
55019 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
55020
8ef4f244
MP
550212011-12-08 Marek Polacek <mpolacek@redhat.com>
55022
55023 [BZ #13484]
55024 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
55025 of __asm__.
55026
97ac2654
UD
550272011-12-17 Ulrich Drepper <drepper@gmail.com>
55028
55029 [BZ #13506]
55030 * time/tzfile.c (__tzfile_read): Check values from file header.
55031
91d2a845
WS
550322011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
55033
55034 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
55035 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
55036 * powerpc/powerpc32/dl-start.S: Likewise.
55037 * powerpc/powerpc32/elf/start.S: Likewise.
55038 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
55039 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
55040 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
55041 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
55042 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55043 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
55044 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
55045 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55046 * powerpc/powerpc32/fpu/s_round.S: Likewise.
55047 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55048 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55049 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55050 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
55051 * powerpc/powerpc32/memset.S: Likewise.
55052 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55053 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55054 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55055 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55056 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55057 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55058 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55059 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55060 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
55061 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
55062 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
55063 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55064 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55065
a1267ba1
AZ
550662011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55067
55068 * math/libm-test.inc: Added more nearbyint tests.
55069 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
55070 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
55071 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
55072 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
55073
ad8ac1bd
RL
550742011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
55075
55076 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
55077 FD_CLOEXEC.
55078
1d3e4b61
UD
550792011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55080
55081 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
55082 Add wcscpy-ssse3 wcscpy-c.
55083 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
55084 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
55085 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
55086 * sysdeps/x86_64/wcschr.S: New file.
55087 * sysdeps/x86_64/wcsrchr.S: New file.
55088 * string/test-strcmp.c: Remove checking of wcscmp function for
55089 wrong alignments.
55090 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
55091 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
55092 wcsrchr-sse2 wcsrchr-c.
55093 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
55094 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
55095 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
55096 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
55097 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
55098 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
55099 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
55100 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
55101 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
55102 * wcsmbc/wcschr.c (WCSCHR): New macro.
55103
5b330a2d
UD
551042011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55105
55106 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
55107 * wcsmbs/test-wcsrchr.c: New file.
55108 * string/test-strrchr.c: Add wcsrchr support.
55109 (WIDE): New macro.
55110 * wcsmbs/test-wcscpy.c: New file.
55111 * string/test-strcpy.c: Add wcscpy support.
55112 (WIDE): New macro.
26428b7c 55113
f039c043
UD
551142011-12-10 Ulrich Drepper <drepper@gmail.com>
55115
55116 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
55117 the inner loop.
55118
850fb039
AS
551192011-12-06 Andreas Schwab <schwab@linux-m68k.org>
55120
55121 [BZ #13472]
55122 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
55123
4efbd5cb
UD
551242011-12-04 Ulrich Drepper <drepper@gmail.com>
55125
52ff5dd0 55126 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 55127 Minor optimizations.
52ff5dd0 55128
4efbd5cb
UD
55129 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
55130 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
55131 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
55132
8a426e12
UD
551332011-12-03 Ulrich Drepper <drepper@gmail.com>
55134
aff2453d
UD
55135 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
55136 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
55137 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
55138 for gcc to avoid warnings.
55139 * inet/Makefile (tests): Add tst-checks.
55140 * inet/tst-checks.c: New file.
55141
55142 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
55143 warning.
55144
55145 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
55146 __wmemcmp_sse2.
55147
55148 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
55149 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
55150
8a426e12
UD
55151 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
55152
9bea3473
UD
551532011-12-02 Ulrich Drepper <drepper@gmail.com>
55154
3a965496
UD
55155 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
55156 problem.
55157
9bea3473
UD
55158 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
55159
f101631b
UD
551602011-11-29 Joseph Myers <joseph@codesourcery.com>
55161
55162 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
55163 conditional on GCC version.
55164 (__arch_compare_and_exchange_val_8_acq)
55165 (__arch_compare_and_exchange_val_16_acq)
55166 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
55167 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
55168 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
55169
a98275aa
UD
551702011-12-02 Joseph Myers <joseph@codesourcery.com>
55171
55172 * sysdeps/sh/backtrace.c: New file.
55173
d4cc29a2
AS
551742011-12-02 Andreas Schwab <schwab@redhat.com>
55175
55176 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
55177 parenthesis.
55178
6257af2d
AS
551792011-12-01 Andreas Schwab <schwab@redhat.com>
55180
55181 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
55182 falling back to utime.
55183
b5f44c1a
AS
551842011-11-30 Andreas Schwab <schwab@redhat.com>
55185
55186 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
55187 expectations for float.
55188
f3a6cc0a
AS
551892011-11-29 Andreas Schwab <schwab@redhat.com>
55190
55191 * locale/weight.h (findidx): Add parameter len.
55192 * locale/weightwc.h (findidx): Likewise.
55193 * posix/fnmatch_loop.c (FCT): Adjust caller.
55194 * posix/regcomp.c (build_equiv_class): Likewise.
55195 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
55196 * posix/regexec.c (check_node_accept_bytes): Likewise.
55197 * string/strcoll_l.c (STRCOLL): Likewise.
55198 * string/strxfrm_l.c (STRXFRM): Likewise.
55199
9d65ea3a
UD
552002011-11-17 Ulrich Drepper <drepper@gmail.com>
55201
55202 * Makefile.in: Remove CVSOPT handling.
55203 * configure.in: Remove use of AC_REVISION.
55204 * iconvdata/Makefile (distribute): No need to filter out CVS.
55205 * scripts/list-sources.sh: Remove CVS, subversion and monotone
55206 handling.
55207
5583a086
AS
552082011-11-16 Andreas Schwab <schwab@redhat.com>
55209
55210 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
55211 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
55212 [USE_AS_STRNCASECMP_L]: Likewise.
55213 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
55214 NO_TLS_DIRECT_SEG_REFS.
55215 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
55216 Fix argument offsets for non-PIC.
55217 [USE_AS_STRNCASECMP_L]: Likewise.
55218 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
55219 NO_TLS_DIRECT_SEG_REFS.
55220
d62a8200
UD
552212011-11-15 Ulrich Drepper <drepper@gmail.com>
55222
9d65ea3a 55223 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
55224 O_CLOEXEC.
55225 * locale/loadlocale.c (_nl_load_locale): Likewise.
55226
09f93bd3
AS
552272011-11-15 Andreas Schwab <schwab@redhat.com>
55228
446514f9
AS
55229 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
55230 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
55231 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
55232 (SYSCALL_GETTIME): Set errno on error.
55233
09f93bd3
AS
55234 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
55235 count references to noai6ai_cached.
55236
312be3f9
UD
552372011-11-15 Ulrich Drepper <drepper@gmail.com>
55238
55239 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
55240
55241 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
55242 FD_CLOEXEC for /proc/self/maps.
55243
55244 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
55245 FD_CLOEXEC for /proc/meminfo.
55246
55247 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
55248 gai.conf.
55249
55250 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
55251 FD_CLOEXEC for given file.
55252
55253 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
55254
55255 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
55256 FD_CLOEXEC for /etc/hosts.
55257 (_gethtent): Likewise.
55258
55259 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
55260
55261 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
55262 cancellation and set FD_CLOEXEC for /etc/netgroup.
55263
55264 * nss/nss_files/files-key.c (search): Don't allow cancellation when
55265 reading /etc/publickey.
55266
55267 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
55268 allow cancellation when reading /etc/group.
55269
55270 * nss/nss_files/files-alias.c (internal_setent): Don't allow
55271 cancellation.
55272 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
55273
55274 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
55275 when using data file.
55276
55277 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
55278
55279 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
55280 (write_nis_obj): Use "c" and "e" in fopen.
55281
55282 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
55283
55284 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
55285
55286 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
55287
55288 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
55289
55290 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
55291 locale.alias.
55292
55293 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
55294
55295 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
55296
55297 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
55298
55299 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
55300 file parsing and set FD_CLOEXEC.
55301
82af0fa8
UD
553022011-11-14 Ulrich Drepper <drepper@gmail.com>
55303
55304 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
55305
a5fb313c
AS
553062011-11-14 Andreas Schwab <schwab@redhat.com>
55307
55308 * malloc/arena.c (arena_get2): Don't call reused_arena when
55309 _int_new_arena failed.
55310
6abf3465
UD
553112011-11-14 Ulrich Drepper <drepper@gmail.com>
55312
55313 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
55314 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
55315 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
55316 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55317 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55318 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
55319 to compile strcasecmp and strncasecmp.
55320 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
55321 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
55322
55323 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
55324
76e3966e
UD
553252011-11-13 Ulrich Drepper <drepper@gmail.com>
55326
55327 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
55328 locale-defines.sym to gen-as-const-headers.
55329 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
55330 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
55331 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
55332 to compile strcasecmp and strncasecmp.
55333 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
55334 strcasecmp_l and strncasecmp_l.
55335 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
55336 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
55337 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
55338 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
55339 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
55340 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
55341 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
55342 * sysdeps/i386/i686/multiarch/strncase.S: New file.
55343 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
55344 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
55345 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
55346
ab26144e
UD
553472011-11-12 Ulrich Drepper <drepper@gmail.com>
55348
7edb22ef
UD
55349 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
55350 result of SYSDEP_GETTIME_CPU to retval.
55351 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
55352 parameter list to macro. Remove trailing semicolon. Adjust users.
55353
9694fc44
UD
55354 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
55355 variable.
55356
8ad89ef8
UD
55357 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
55358 mantissa words.
55359 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
55360
0c822ef9
UD
55361 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
55362 from unused variable.
55363
874e0564
UD
55364 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
55365 DWARF definitions.
55366 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
55367 for assembling.
55368
3a2edc79
UD
55369 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
55370 over namespaces.
55371
f3c2577f
UD
55372 * sunrpc/rpc_prot.c (rejected): Fix case value.
55373
294ce126
UD
55374 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
55375 unsigned long long int to avoid warnings in shift.
55376
5e2b63c6
UD
55377 * posix/regex_internal.c (re_string_reconstruct): Actually use result
55378 of use of trans.
55379 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
55380 variable tmp.
55381
e7f4b08e
UD
55382 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
55383 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
55384 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
55385
ab26144e
UD
55386 * nis/nis_table.c (nis_list): Use variable of correct type for
55387 result of __follow_path call.
55388
8a6d5255
AZ
553892011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55390
55391 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
55392 of math functions ceil, trunc, floor, round, and sqrt, when
55393 avaliable on the platform.
55394 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
55395 name clash.
55396 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55397 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55398 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55399
aaddc98c
MP
554002011-10-30 Marek Polacek <mpolacek@redhat.com>
55401
55402 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
55403 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55404
95b7042b
RM
554052011-11-11 Roland McGrath <roland@hack.frob.com>
55406
55407 * include/unistd.h: Fix __readlink return type.
55408 Reported by Chris Metcalf <cmetcalf@tilera.com>.
55409
57769839
UD
554102011-11-11 Ulrich Drepper <drepper@gmail.com>
55411
55412 * stdlib/ucontext.h: Undo last change for makecontext.
55413
edc5984d
AS
554142011-11-11 Andreas Schwab <schwab@redhat.com>
55415
98591e58
AS
55416 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
55417
edc5984d
AS
55418 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
55419 * setjmp/setjmp.h: Mark functions as non-leaf.
55420 * setjmp/bits/setjmp2.h: Likewise.
55421 * stdlib/ucontext.h: Likewise.
55422
77cdc054
AS
554232011-11-10 Andreas Schwab <schwab@redhat.com>
55424
55425 * malloc/arena.c (_int_new_arena): Don't increment narenas.
55426 (reused_arena): Don't check arena limit.
55427 (arena_get2): Atomically check arena limit.
55428
fe72eebd
UD
554292011-11-08 Ulrich Drepper <drepper@gmail.com>
55430
5f078c32
UD
55431 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
55432 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
55433
fe72eebd
UD
55434 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
55435 instructions.
55436
ae1bc2fa
AS
554372011-11-07 Andreas Schwab <schwab@redhat.com>
55438
7583a88d
AS
55439 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
55440 handler when locking.
55441
ae1bc2fa
AS
55442 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55443 Fix size of allocated buffer.
55444
10fb0bfa
AS
554452011-11-04 Andreas Schwab <schwab@redhat.com>
55446
998832a4
AS
55447 [BZ #10103]
55448 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
55449 declarations for long double functions.
55450 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
55451
10fb0bfa
AS
55452 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
55453
3d7ba52b
AS
554542011-11-03 Andreas Schwab <schwab@redhat.com>
55455
a9ae54a1
AS
55456 * nscd/nscd.c (main): Don't start AVC thread until credentials are
55457 installed.
55458
3d7ba52b
AS
55459 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
55460 is disabled.
55461
bc8db248
ST
554622011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
55463
55464 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
55465
45b96dd6
AS
554662011-11-01 Andreas Schwab <schwab@linux-m68k.org>
55467
647776f6
AS
55468 * include/alloca.h (stackinfo_alloca_round): Define.
55469 (extend_alloca): Use it.
55470 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
55471 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
55472 here.
55473
d91a8b93
AS
55474 * scripts/check-local-headers.sh: Ignore libaudit.h.
55475
45b96dd6
AS
55476 * nscd/Makefile (extra-objs): Make recursively expanded.
55477
432d41ce
UD
554782011-11-01 Ulrich Drepper <drepper@gmail.com>
55479
34372fc6
UD
55480 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
55481 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
55482
fadb59f8
UD
55483 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
55484 * posix/tst-rfc3484-2.c: Likewise.
55485 * posix/tst-rfc3484-3.c: Likewise.
55486
78239589
UD
55487 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55488 process_vm_writev.
55489 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
55490 process_vm_writev.
55491 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
55492 process_vm_writev from libc using GLIBC_2.15 version.
55493
432d41ce
UD
55494 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
55495
02f9c6cf
PP
554962011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
55497
55498 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
55499 stack usage.
55500
3a2c0242
UD
555012011-10-31 Ulrich Drepper <drepper@gmail.com>
55502
f4ec4833
UD
55503 [BZ #13367]
55504 * nss/getent.c (initgroups_keys): Show error message in case no group
55505 names are given.
55506
3a2c0242
UD
55507 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
55508 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
55509 __bump_nl_timestamp.
55510 * nscd/connections (nscd_init): When host database is served open
55511 netlink socket and request notification about configuration changes.
55512 (main_loop_poll): Track netlink file descriptor and bump timestamp
55513 in case data becomes available.
55514 (main_loop_epoll): Likewise.
55515 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
55516 (database_pers_head): Add extra_data fileds.
55517 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
55518 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
55519 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
55520 Adjust caller.
55521 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
55522 in6ai data, call __free_in6ai.
55523 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
55524 Add -DHAVE_NETLINK.
55525 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
55526 interface information. Reuse previous data if netlink timestamp
55527 is not changed.
55528 (__bump_nl_timestamp): New function.
55529 (__free_in6ai): New function.
55530
636064eb
UD
555312011-10-30 Ulrich Drepper <drepper@gmail.com>
55532
55533 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
55534 close_not_cancel_no_status here.
55535 (__check_pf): Reorganize code a bit to not call close twice if OOM.
55536
9beb2334
UD
555372011-10-29 Ulrich Drepper <drepper@gmail.com>
55538
6ef76f3b
UD
55539 [BZ #13276]
55540 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
55541 return value.
55542
0ffc4f3e 55543 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
55544 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
55545 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
55546
cb95113e
UD
555472011-07-03 Andreas Jaeger <aj@suse.de>
55548
55549 [BZ #10709]
55550 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
55551 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
55552 * math/libm-test.inc (sin_test): Add test case.
55553
a1b560ff
UD
555542011-10-29 Ulrich Drepper <drepper@gmail.com>
55555
c9aaface
UD
55556 [BZ #13337]
55557 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
55558 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55559
d272e7f1
UD
55560 * elf/chroot_canon.c (chroot_canon): Cleanups.
55561
1bc33071
UD
55562 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
55563
1760874d
TJ
55564 [BZ #13335]
55565 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
55566 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55567
51d91b18
UD
55568 * string/test-strchr.c: Make usable for strchrnul testing.
55569 * string/test-strchrnul.c: New file.
55570 * string/Makefile (strop-tests): Add strchrnul.
55571
a1b560ff 55572 * po/it.po: Update from translation team.
b611fb81 55573 * po/es.po: Likewise.
a1b560ff 55574
a5b81e1f
UD
555752011-10-28 Ulrich Drepper <drepper@gmail.com>
55576
fd52bc6d
UD
55577 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
55578 the three constants needed as parameters. Drop the others.
55579 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
55580 __m128i_strloadu_tolower.
52e4b9eb
UD
55581 Create and initialize variable zero and use it in all the places
55582 where _mm_setzero_si128 was used.
fd52bc6d 55583
a5b81e1f
UD
55584 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
55585 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
55586 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
55587 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
55588 anymore.
55589 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
55590 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
55591 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
55592 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
55593 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
55594 __mpranred, __mptan.
55595 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
55596 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
55597 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
55598 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
55599 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
55600 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
55601 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
55602 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
55603 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
55604
b4343346
AS
556052011-10-28 Andreas Schwab <schwab@redhat.com>
55606
0c92d8a8
AS
55607 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
55608 redefine if SHARED.
55609 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
55610
b4343346
AS
55611 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
55612 wide char related routines to wcsmbs subdir.
55613
3871f58f
AS
556142011-10-27 Andreas Schwab <schwab@redhat.com>
55615
55616 [BZ #13344]
55617 * misc/sys/cdefs.h (__THROWNL): Define.
55618 * posix/unistd.h: Use __THREADNL instead of __THREAD
55619 for memory synchronization functions.
55620
94d44d9f
RM
556212011-10-26 Roland McGrath <roland@hack.frob.com>
55622
21b64b15 55623 [BZ #13349]
94d44d9f
RM
55624 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
55625 doesn't exist.
55626 * manual/stdio.texi (Obstack Streams): Node removed.
55627
f6ce9294
AS
556282011-10-26 Andreas Schwab <schwab@redhat.com>
55629
80479147
AS
55630 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
55631 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55632 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55633
f6ce9294
AS
55634 * math/math_private.h (math_force_eval): Allow non-addressable
55635 arguments.
55636 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
55637
618280a1
UD
556382011-10-25 Ulrich Drepper <drepper@gmail.com>
55639
e0016b11
UD
55640 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
55641 file is not needed.
55642
55643 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
55644 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
55645 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55646 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55647 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55648 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55649 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55650 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
55651 Add AVX variants.
55652 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
55653 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
55654 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
55655 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
55656 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
55657 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
55658 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
55659 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
55660 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
55661 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
55662 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
55663 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
55664 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
55665 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
55666 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
55667 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
55668 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
55669 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
55670 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
55671
55672 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
55673 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
55674
618280a1
UD
55675 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
55676 place. Use VEX encoding when compiling for AVX.
55677
37822576
AS
556782011-10-25 Andreas Schwab <schwab@redhat.com>
55679
1f1e1947
AS
55680 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
55681 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
55682
37822576
AS
55683 * string/test-strchr.c (do_test): Don't generate NUL bytes.
55684
31ea014d
UD
556852011-10-25 Ulrich Drepper <drepper@gmail.com>
55686
d7826aa1 55687 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 55688 useless if() expression.
d7826aa1
UD
55689 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55690 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55691 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55692 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55693 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55694 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55695 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55696 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55697 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55698 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55699 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55700 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55701 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55702 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55703 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55704 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55705 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55706 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55707 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55708
31ea014d
UD
55709 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
55710
16437fec
AS
557112011-10-25 Andreas Schwab <schwab@redhat.com>
55712
55713 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
55714 condition.
55715 * elf/dl-fini.c (_dl_sort_fini): Likewise.
55716
31d3cc00
UD
557172011-10-25 Ulrich Drepper <drepper@gmail.com>
55718
55719 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
55720 .text section. Avoid duplicate constants.
55721 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55722 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55723 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55724 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55725 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55726 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55727 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55728 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55729 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55730 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
55731 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55732 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55733 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
55734 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
55735 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
55736 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
55737 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
55738 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55739 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55740 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55741 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55742 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55743 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55744 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
55745 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
55746 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
55747 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
55748 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
55749 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
55750 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
55751 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
55752 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
55753 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55754 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
55755 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
55756 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
55757 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
55758 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
55759 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
55760 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
55761 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
55762 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
55763 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
55764 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
55765 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
55766
58985aa9
UD
557672011-10-24 Ulrich Drepper <drepper@gmail.com>
55768
202c9deb
UD
55769 * sysdeps/x86_64/dla.h: Move to ...
55770 * sysdeps/x86_64/fpu/dla.h: ...here.
55771 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
55772 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 55773
af968f62
UD
55774 * config.make.in: Add have-mfma4 entry.
55775 * configure.in: Substitute libc_cv_cc_fma4.
55776 * math/Makefile (dbl-only-routines): Add sincostab.
55777 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
55778 Use __sincostab not sincos.
55779 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
55780 name is a macro.
55781 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55782 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55783 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55784 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
55785 using __copysign.
55786 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
55787 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
55788 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
55789 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
55790 and __inv.
55791 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
55792 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
55793 __copysign.
55794 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
55795 define aliases when function name is a macro.
55796 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
55797 sysdeps/ieee754/dbl-64/sincos.tbl.
55798 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
55799 fma4-enabled routines.
55800 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
55801 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
55802 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
55803 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
55804 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
55805 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
55806 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
55807 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
55808 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
55809 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
55810 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
55811 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
55812 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
55813 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
55814 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
55815 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
55816 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
55817 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
55818 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
55819 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
55820 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
55821 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
55822 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
55823 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
55824 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
55825 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
55826 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
55827 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
55828 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
55829 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
55830
58985aa9
UD
55831 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
55832 rename.
55833 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55834 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55835 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55836 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55837 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55838 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55839 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55840 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55841
a201fbcf
AS
558422011-10-24 Andreas Schwab <schwab@redhat.com>
55843
55844 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
55845
fc2ee42a
LD
558462011-10-23 Ulrich Drepper <drepper@gmail.com>
55847
bb3129bd
UD
55848 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
55849
0275fff8
UD
55850 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
55851 prediction.
55852 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
55853
2fa2ae85
UD
55854 * string/strnlen.c: Don't define STRNLEN, reverse logic.
55855 Remove unused variable magic_bits.
55856 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
55857
fc2ee42a
LD
55858 * string/strnlen.c: Define and use STRNLEN macro.
55859 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
55860 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
55861 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
55862 * wcsmbs/wcslen.c: Define and use WCSLEN.
55863 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
55864 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
55865 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
55866 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
55867 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
55868 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
55869 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55870
ce7dd29f
LD
558712011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55872
55873 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55874 strnlen-sse2-no-bsf.
55875 Rename strlen-no-bsf to strlen-sse2-no-bsf.
55876 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
55877 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
55878 Add strnlen support.
55879 (USE_AS_STRNLEN): New macro.
55880 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
55881 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
55882 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
55883 * sysdeps/x86_64/wcslen.S: New file.
55884
979c70a3
MZ
558852011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
55886
55887 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
55888 XMM-moves are used for copying on small sizes.
55889
2d09f82f
LD
558902011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55891
55892 * wcsmbs/Makefile (strop-tests): Add wcschr.
55893 * wcsmbs/test-wcschr.c: New file.
55894 * string/test-strchr.c: Update.
55895 Add wcschr support.
55896 (WIDE): New macro.
55897
619fccca
LD
558982011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55899
2d09f82f 55900 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
55901 * wcsmbs/test-wcslen.c: New file.
55902 * string/test-strlen.c: Update.
55903 Add wcslen support.
55904 (WIDE): New macro.
55905
09f699ea
UD
559062011-10-23 Ulrich Drepper <drepper@gmail.com>
55907
55908 * po/it.po: Update from translation team.
55909
95584d3b
LD
559102011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55911
55912 * sysdeps/x86_64/wcscmp.S: Update.
55913 Fix wrong comparison semantics.
55914 wcscmp shall use signed comparison not unsigned.
55915 Don't use substraction to avoid overflow bug.
55916 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
55917 * wcsmbc/wcscmp.c: Likewise.
55918 * string/test-strcmp.c: Likewise.
55919 Add new tests to check cases with negative values.
55920
c8b3296b
UD
559212011-10-23 Ulrich Drepper <drepper@gmail.com>
55922
55923 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
55924 * sysdeps/x86_64/dla.h: ...here. New file.
55925 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
55926 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55927 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55928 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55929 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55930 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55931 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55932 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55933 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55934
246ad57a
AS
559352011-10-23 Andreas Schwab <schwab@linux-m68k.org>
55936
55937 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
55938 __ynl_finite aliases.
55939
a1a87169
UD
559402011-10-22 Ulrich Drepper <drepper@gmail.com>
55941
0d355eb7
UD
55942 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55943
a1a87169
UD
55944 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
55945 define DLA_FMA.
55946 [DLA_FMA] (EMULV): Use DLA_FMA.
55947 [DLA_FMA] (MUL12): Use EMULV.
55948 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
55949 that are not needed.
55950 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55951 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55952 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55953 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55954 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55955 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55956 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55957
ee2aafe0
AS
559582011-10-22 Andreas Schwab <schwab@linux-m68k.org>
55959
55960 * math/s_nan.c: Undef __nan.
55961 * math/s_nanf.c: Undef __nanf.
55962 * math/s_nanl.c: Undef __nanl.
55963 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
55964 "math_private.h".
55965
bc62c2fb
UD
559662011-10-22 Ulrich Drepper <drepper@gmail.com>
55967
77425c63
UD
55968 * math/s_catan.c: Add branch predictions.
55969 * math/s_catanf.c: Likewise.
55970 * math/s_catanh.c: Likewise.
55971 * math/s_catanhf.c: Likewise.
55972 * math/s_catanhl.c: Likewise.
55973 * math/s_catanl.c: Likewise.
55974 * math/s_cexp.c: Likewise.
55975 * math/s_cexpf.c: Likewise.
55976 * math/s_cexpl.c: Likewise.
55977 * math/s_clog.c: Likewise.
55978 * math/s_clog10.c: Likewise.
55979 * math/s_clog10f.c: Likewise.
55980 * math/s_clog10l.c: Likewise.
55981 * math/s_clogf.c: Likewise.
55982 * math/s_clogl.c: Likewise.
55983 * math/s_csqrt.c: Likewise.
55984 * math/s_csqrtf.c: Likewise.
55985 * math/s_csqrtl.c: Likewise.
55986 * math/s_ctanf.c: Likewise.
55987 * math/s_ctanh.c: Likewise.
55988 * math/s_ctanhf.c: Likewise.
55989 * math/s_ctanhl.c: Likewise.
55990 * math/s_ctanl.c: Likewise.
55991
bc62c2fb
UD
55992 * math/math_private.h: Define __nan, __nanf, __nanl.
55993 * math/s_cacosh.c: Include <math_private.h>.
55994 * math/s_cacoshl.c: Likewise.
55995 * math/s_casinh.c: Likewise.
55996 * math/s_casinhf.c: Likewise.
55997 * math/s_casinhl.c: Likewise.
55998 * math/s_ccos.c: Rely entire on ccosh.
55999 * math/s_ccosf.c: Rely entire on ccoshf.
56000 * math/s_ccosl.c: Rely entirely on ccoshl.
56001 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
56002 Remove tests for FE_INVALID.
56003 * math/s_ccoshf.c: Likewise.
56004 * math/s_ccoshl.c: Likewise.
56005 * math/s_csin.c: Likewise.
56006 * math/s_csinf.c: Likewise.
56007 * math/s_csinh.c Likewise.
56008 * math/s_csinhf.c: Likewise.
56009 * math/s_csinhl.c: Likewise.
56010 * math/s_csinl.c: Likewise.
56011 * math/s_ctan.c: Likewise.
56012 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
56013 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
56014 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
56015
8ec250a4
UD
560162011-10-21 Ulrich Drepper <drepper@gmail.com>
56017
c196fed8
UD
56018 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
56019 compilation problems.
56020
8ec250a4
UD
56021 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
56022 __builtin_expect.
56023
8d4f46c6
UD
560242011-10-20 Ulrich Drepper <drepper@gmail.com>
56025
ed72b654
UD
56026 * sysdeps/i386/configure.in: Test for -mfma4 option.
56027 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
56028 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
56029 COMMON_CPUID_INDEX_80000001.
56030 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
56031 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
56032 use it if FMA3 is not supported.
56033 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
56034
8d4f46c6
UD
56035 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
56036 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56037
d45c60c2
AS
560382011-10-20 Andreas Schwab <schwab@redhat.com>
56039
56040 [BZ #12892]
56041 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
56042 it would create a cycle with a link time dependency.
56043
d9a4d2ab
UD
560442011-10-19 Ulrich Drepper <drepper@gmail.com>
56045
855d1560
UD
56046 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
56047 instruction.
56048 * string/Makefile (strop-tests): Add rawmemchr.
56049 * string/test-rawmemchr.c: New file.
56050
d9a4d2ab
UD
56051 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
56052 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
56053 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
56054 when compiling str{,n}casecmp and when AVX is available. Hook up
56055 new optimized code in initializers.
56056
8f3b1ffe
AS
560572011-10-19 Andreas Schwab <schwab@redhat.com>
56058
56059 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
56060 __feraiseexcept instead of feraiseexcept.
56061
d38f1dba
UD
560622011-10-18 Ulrich Drepper <drepper@gmail.com>
56063
d9a8d0ab
UD
56064 * math/math_private.h: Define defaults for libc_fetestexcept and
56065 libc_feupdateenv.
56066 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
56067 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
56068 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56069 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56070 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56071 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56072 libc_fetestexcept and libc_feupdateenv.
56073
4855e3dd
UD
56074 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
56075 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
56076 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
56077 * sysdeps/x86_64/fpu/math_private.h: Define special version of
56078 libc_feholdexcept_setround.
56079
581d30e3
UD
56080 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
56081 Add s_nearbyint-c and s_nearbyintf-c.
56082 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
56083 nearbyintf inlines.
56084 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
56085 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
56086 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
56087 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
56088
d38f1dba
UD
56089 * math/math_private.h: Define defaults for libc_fegetround,
56090 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
56091 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
56092 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
56093 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
56094 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
56095 standard functions.
56096 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56097 Remove comments and hacks for old compiler versions.
56098 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56099 libc_fegetround, libc_fesetround, libc_feholdexcept, and
56100 libc_feholdexceptl.
56101
caa6c9d8
AS
561022011-10-18 Andreas Schwab <schwab@redhat.com>
56103
56104 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
56105 (__feraiseexcept_renamed): Add __NTH.
56106 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
56107 namespace violations.
56108
97c066e6
UD
561092011-10-17 Ulrich Drepper <drepper@gmail.com>
56110
99ce7b04
UD
56111 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
56112
1004d182
UD
56113 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
56114
228a984d
UD
56115 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
56116 recently added interfaces.
56117 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
56118
c8553a6a
UD
56119 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
56120 about macro parameter expansion.
56121
ed22dcf6
UD
56122 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
56123 __NO_MATH_INLINES is defined. Cleanups.
56124
56125 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
56126 and __floorf is target has SSE4.1.
56127 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
56128 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
56129 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
56130 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
56131
b171c137
UD
56132 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
56133 name.
56134 (floorf): Likewise.
56135
97c066e6
UD
56136 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
56137
629f62ef
AS
561382011-10-17 Andreas Schwab <schwab@redhat.com>
56139
49a43d80
AS
56140 * misc/sys/cdefs.h: Fix last change.
56141
629f62ef
AS
56142 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
56143 database lookup.
56144
e453f6cd
UD
561452011-10-16 Ulrich Drepper <drepper@gmail.com>
56146
aa78043a
UD
56147 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
56148
ad0f5cad
UD
56149 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
56150 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56151 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56152 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56153 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56154 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56155 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56156 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56157 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56158 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
56159 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
56160 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
56161 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
56162 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
56163 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
56164 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
56165 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
56166 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
56167 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
56168 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
56169 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
56170 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
56171
56172 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
56173 ceil, ceilf, floor, floorf.
56174
56175 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
56176 Perform IRELATIVE relocations last.
56177
e453f6cd
UD
56178 * elf/do-rel.h: Add another parameter nrelative, replacing the
56179 local variable with the same name. Change name of the function
56180 to end in Rel or Rela (uppercase).
56181 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
56182 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
56183 elf_dynamic_do_##reloc function.
56184
fd5bdc09
UD
561852011-10-15 Ulrich Drepper <drepper@gmail.com>
56186
79b195b5
UD
56187 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
56188 is sufficient, at least on modern CPUs.
56189
d4a28569
UD
56190 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
56191
b61099b5
UD
56192 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
56193 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
56194
bcf01e6d
UD
56195 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
56196 __expl_finite.
56197 * math/bits/math-finite.h: Add entries for exp.
56198 * math/e_expl.c: Add __*_finite alias.
56199 * sysdeps/i386/fpu/e_exp.S: Likewise.
56200 * sysdeps/i386/fpu/e_expf.S: Likewise.
56201 * sysdeps/i386/fpu/e_expl.c: Likewise.
56202 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56203 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56204 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56205 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56206 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
56207 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56208 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56209
ba1a0d59
UD
56210 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
56211 is sufficient, at least on modern CPUs.
56212
fd5bdc09
UD
56213 * ctype/ctype-info.c (__ctype_init): Define.
56214 * include/ctype.h (__ctype_init): Declare.
56215 (__ctype_b_loc): The variable is always initialized.
56216 (__ctype_toupper_loc): Likewise.
56217 (__ctype_tolower_loc): Likewise.
56218 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
56219 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
56220
7872cfb0
AS
562212011-10-15 Andreas Schwab <schwab@linux-m68k.org>
56222
b468825a
AS
56223 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
56224
7872cfb0
AS
56225 * configure.in: Also look in $cxxmachine/include for C++ system
56226 headers.
56227
be13f7bf
LD
562282011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56229
56230 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
56231 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
56232 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
56233 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
56234 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
56235 (USE_AS_WMEMCMP): New macro.
56236 Fixing indents.
56237 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
56238 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
56239 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
56240 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
56241 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56242 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
56243 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
56244 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
56245 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
56246 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
56247 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
56248 (USE_AS_WMEMCMP): New macro.
56249 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
56250 * sysdeps/string/test-memcmp.c: Update.
56251 Fix simple_wmemcmp.
56252 Add new tests.
56253 * wcsmbs/wmemcmp.c: Update.
56254 (WMEMCMP): New macro.
56255 Fix overflow bug.
56256
556a2007
AJ
562572011-10-12 Andreas Jaeger <aj@suse.de>
56258
56259 [BZ #13268]
56260 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
56261
538faaa7
UD
562622011-10-15 Ulrich Drepper <drepper@gmail.com>
56263
ab6737ff
UD
56264 * libio/iofwide.c (do_length): Avoid warning.
56265
538faaa7
UD
56266 * ctype/ctype.h (__isctype_f): Add missing __THROW.
56267
396a21b1
UD
562682011-10-14 Ulrich Drepper <drepper@gmail.com>
56269
cdf2901f
UD
56270 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
56271
38ad40ce
UD
56272 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
56273 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
56274 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
56275 * sysdeps/i386/i686/fpu/e_log.S: New file.
56276 * sysdeps/i386/i686/fpu/e_logf.S: New file.
56277 * sysdeps/i386/i686/fpu/e_logl.S: New file.
56278
396a21b1
UD
56279 * ctype/ctype.h: Add support for inlined isXXX functions when
56280 compiling C++ code.
56281
6b1f68c9
AS
562822011-10-14 Andreas Schwab <schwab@redhat.com>
56283
349290c0
AS
56284 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56285
6b1f68c9
AS
56286 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
56287
f2282d42
RM
562882011-10-13 Roland McGrath <roland@hack.frob.com>
56289
56290 [BZ #13291]
56291 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
56292
5298ffa8
AS
562932011-10-13 Andreas Schwab <schwab@redhat.com>
56294
714fad23
AS
56295 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
56296 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
56297 feraiseexcept.
56298
81dcc7fb
AS
56299 * sysdeps/x86_64/memrchr.S: Check for zero size.
56300
5298ffa8
AS
56301 * string/stratcliff.c: Add memrchr tests.
56302
951fbcec
LD
563032011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56304
56305 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56306 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
56307 rawmemchr-sse2 rawmemchr-sse2-bsf.
56308 * sysdeps/i386/i686/multiarch/memchr.S: New file.
56309 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
56310 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
56311 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
56312 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
56313 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
56314 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
56315 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
56316 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
56317 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
56318 * string/memrchr.c (MEMRCHR): New macro.
56319
0ac5ae23
UD
563202011-10-12 Ulrich Drepper <drepper@gmail.com>
56321
56322 Add integration with gcc's -ffinite-math-only and optimize wrapper
56323 functions in libm.
56324 * Versions.def: Define GLIBC_2.15 version for libm.
56325 * math/Makefile (headers): Add bits/math-finite.h.
56326 * math/bits/math-finite.h: New file.
56327 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
56328 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
56329 * math/e_acoshl.c: Add __*_finite alias.
56330 * math/e_acosl.c: Likewise.
56331 * math/e_asinl.c: Likewise.
56332 * math/e_atan2l.c: Likewise.
56333 * math/e_atanhl.c: Likewise.
56334 * math/e_coshl.c: Likewise.
56335 * math/e_exp10.c: Likewise.
56336 * math/e_exp10f.c: Likewise.
56337 * math/e_exp10l.c: Likewise.
56338 * math/e_exp2l.c: Likewise.
56339 * math/e_fmodl.c: Likewise.
56340 * math/e_gammal_r.c: Likewise.
56341 * math/e_hypotl.c: Likewise.
56342 * math/e_j0l.c: Likewise.
56343 * math/e_j1l.c: Likewise.
56344 * math/e_jnl.c: Likewise.
56345 * math/e_lgammal_r.c: Likewise.
56346 * math/e_log10l.c: Likewise.
56347 * math/e_log2l.c: Likewise.
56348 * math/e_logl.c: Likewise.
56349 * math/e_powl.c: Likewise.
56350 * math/e_sinhl.c: Likewise.
56351 * math/e_sqrtl.c: Likewise.
56352 * math/e_scalb.c: Completely rewritten and optimized.
56353 * math/e_scalbf.c: Likewise.
56354 * math/e_scalbl.c: Likewise.
56355 * math/w_acos.c: Likewise.
56356 * math/w_acosf.c: Likewise.
56357 * math/w_acosl.c: Likewise.
56358 * math/w_acosh.c: Likewise.
56359 * math/w_acoshf.c: Likewise.
56360 * math/w_acoshl.c: Likewise.
56361 * math/w_asin.c: Likewise.
56362 * math/w_asinf.c: Likewise.
56363 * math/w_asinl.c: Likewise.
56364 * math/w_atan2.c: Likewise.
56365 * math/w_atan2f.c: Likewise.
56366 * math/w_atan2l.c: Likewise.
56367 * math/w_atanh.c: Likewise.
56368 * math/w_atanhf.c: Likewise.
56369 * math/w_atanhl.c: Likewise.
56370 * math/w_exp10.c: Likewise.
56371 * math/w_exp10f.c: Likewise.
56372 * math/w_exp10l.c: Likewise.
56373 * math/w_fmod.c: Likewise.
56374 * math/w_fmodf.c: Likewise.
56375 * math/w_fmodl.c: Likewise.
56376 * math/w_j0.c: Likewise.
56377 * math/w_j0f.c: Likewise.
56378 * math/w_j0l.c: Likewise.
56379 * math/w_j1.c: Likewise.
56380 * math/w_j1f.c: Likewise.
56381 * math/w_j1l.c: Likewise.
56382 * math/w_jn.c: Likewise.
56383 * math/w_jnf.c: Likewise.
56384 * math/w_log.c: Likewise.
56385 * math/w_logf.c: Likewise.
56386 * math/w_logl.c: Likewise.
56387 * math/w_log10.c: Likewise.
56388 * math/w_log10f.c: Likewise.
56389 * math/w_log10l.c: Likewise.
56390 * math/w_log2.c: Likewise.
56391 * math/w_log2f.c: Likewise.
56392 * math/w_log2l.c: Likewise.
56393 * math/w_pow.c: Likewise.
56394 * math/w_powf.c: Likewise.
56395 * math/w_powl.c: Likewise.
56396 * math/w_remainder.c: Likewise.
56397 * math/w_remainderf.c: Likewise.
56398 * math/w_remainderl.c: Likewise.
56399 * math/w_scalb.c: Likewise.
56400 * math/w_scalbf.c: Likewise.
56401 * math/w_scalbl.c: Likewise.
56402 * math/w_sqrt.c: Likewise.
56403 * math/w_sqrtf.c: Likewise.
56404 * math/w_sqrtl.c: Likewise.
56405 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
56406 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
56407 used.
56408 * math/math_private.h: Declare __kernel_standard_f.
56409 * math/w_cosh.c: Remove cruft and optimize a bit.
56410 * math/w_coshf.c: Likewise.
56411 * math/w_coshl.c: Likewise.
56412 * math/w_exp2.c: Likewise.
56413 * math/w_exp2f.c: Likewise.
56414 * math/w_exp2l.c: Likewise.
56415 * math/w_hypot.c: Likewise.
56416 * math/w_hypotf.c: Likewise.
56417 * math/w_hypotl.c: Likewise.
56418 * math/w_lgamma.c: Likewise.
56419 * math/w_lgamma_r.c: Likewise.
56420 * math/w_lgammaf.c: Likewise.
56421 * math/w_lgammaf_r.c: Likewise.
56422 * math/w_lgammal.c: Likewise.
56423 * math/w_lgammal_r.c: Likewise.
56424 * math/w_sinh.c: Likewise.
56425 * math/w_sinhf.c: Likewise.
56426 * math/w_sinhl.c: Likewise.
56427 * math/w_tgamma.c: Likewise.
56428 * math/w_tgammaf.c: Likewise.
56429 * math/w_tgammal.c: Likewise.
56430 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56431 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56432 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
56433 Minor optimizations. Pretty printing. Remove cruft.
56434 * sysdeps/i386/fpu/e_acosf.S: Likewise.
56435 * sysdeps/i386/fpu/e_acosh.S: Likewise.
56436 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56437 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56438 * sysdeps/i386/fpu/e_acosl.c: Likewise.
56439 * sysdeps/i386/fpu/e_asin.S: Likewise.
56440 * sysdeps/i386/fpu/e_asinf.S: Likewise.
56441 * sysdeps/i386/fpu/e_atan2.S: Likewise.
56442 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
56443 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
56444 * sysdeps/i386/fpu/e_atanh.S: Likewise.
56445 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56446 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56447 * sysdeps/i386/fpu/e_exp10.S: Likewise.
56448 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
56449 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
56450 * sysdeps/i386/fpu/e_exp2.S: Likewise.
56451 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
56452 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
56453 * sysdeps/i386/fpu/e_fmod.S: Likewise.
56454 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
56455 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
56456 * sysdeps/i386/fpu/e_hypot.S: Likewise.
56457 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
56458 * sysdeps/i386/fpu/e_log.S: Likewise.
56459 * sysdeps/i386/fpu/e_log10.S: Likewise.
56460 * sysdeps/i386/fpu/e_log10f.S: Likewise.
56461 * sysdeps/i386/fpu/e_log10l.S: Likewise.
56462 * sysdeps/i386/fpu/e_log2.S: Likewise.
56463 * sysdeps/i386/fpu/e_log2f.S: Likewise.
56464 * sysdeps/i386/fpu/e_log2l.S: Likewise.
56465 * sysdeps/i386/fpu/e_logf.S: Likewise.
56466 * sysdeps/i386/fpu/e_logl.S: Likewise.
56467 * sysdeps/i386/fpu/e_pow.S: Likewise.
56468 * sysdeps/i386/fpu/e_powf.S: Likewise.
56469 * sysdeps/i386/fpu/e_powl.S: Likewise.
56470 * sysdeps/i386/fpu/e_remainder.S: Likewise.
56471 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
56472 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
56473 * sysdeps/i386/fpu/e_scalb.S: Likewise.
56474 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56475 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56476 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
56477 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
56478 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
56479 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56480 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56481 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56482 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56483 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56484 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56485 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
56486 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56487 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56488 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56489 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56490 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56491 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56492 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56493 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56494 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56495 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56496 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56497 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56498 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56499 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56500 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56501 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56502 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56503 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
56504 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
56505 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56506 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
56507 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
56508 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
56509 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56510 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
56511 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56512 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
56513 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
56514 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
56515 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
56516 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
56517 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
56518 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
56519 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
56520 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56521 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56522 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56523 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56524 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56525 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56526 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56527 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56528 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
56529 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56530 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56531 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56532 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56533 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56534 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56535 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56536 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56537 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56538 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56539 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56540 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56541 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56542 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56543 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56544 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56545 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56546 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56547 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
56548 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56549 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56550 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56551 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56552 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56553 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56554 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56555 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56556 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56557 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56558 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56559 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56560 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56561 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
56562 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56563 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56564 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56565 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56566 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
56567 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56568 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
56569 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56570 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56571 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56572 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
56573 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56574 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56575 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56576 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
56577 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
56578 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
56579 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
56580 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
56581 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
56582 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
56583 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56584 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56585 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56586 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56587 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
56588 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56589 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
56590 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
56591 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
56592 (__isnanf): Likewise.
56593 (__isinf_ns): Likewise.
56594 (__isinf_nsf): Likewise.
56595 (__finite): Likewise.
56596 (__finitef): Likewise.
56597 (__ieee754_sqrt): Define as macro.
56598 (__ieee754_sqrtf): Define as macro.
56599 (__ieee754_sqrtl): Define as macro.
56600 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
56601 inlined copy.
56602 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
56603 __FINITE_MATH_ONLY__ consistent.
56604 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
56605
12cc2fcd
AS
566062011-10-10 Andreas Schwab <schwab@linux-m68k.org>
56607
a843a204
AS
56608 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
56609 of rawmemchr.
56610
12cc2fcd
AS
56611 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
56612
c853acd5
UD
566132011-10-09 Ulrich Drepper <drepper@gmail.com>
56614
56615 * po/ja.po: Update from translation team.
56616
c658d255
RM
566172011-10-08 Roland McGrath <roland@hack.frob.com>
56618
110946e4
RM
56619 * locale/programs/locarchive.c (prepare_address_space): New function.
56620 (create_archive, enlarge_archive, open_archive): Use it.
56621
50604220
RM
56622 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
56623 inside [SHARED], where it is used.
56624
c658d255
RM
56625 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
56626
56627 * nss/getent.c (netgroup_keys): Remove unused variable.
56628 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56629
6a621eb7
UD
566302011-10-08 Ulrich Drepper <drepper@gmail.com>
56631
7edb55ce
UD
56632 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
56633 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
56634 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
56635 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
56636 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
56637 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
56638 * math/Makefile (libm-calls): Add s_isinf_ns.
56639 * math/divtc3.c: Use __isinf_nsl instead of isinf.
56640 * math/multc3.c: Likewise.
56641 * math/s_casin.c: Likewise.
56642 * math/s_casinf.c: Likewise.
56643 * math/s_casinl.c: Likewise.
56644 * math/s_ccos.c: Likewise.
56645 * math/s_ccosf.c: Likewise.
56646 * math/s_ccosl.c: Likewise.
56647 * math/s_ctan.c: Likewise.
56648 * math/s_ctanf.c: Likewise.
56649 * math/s_ctanh.c: Likewise.
56650 * math/s_ctanhf.c: Likewise.
56651 * math/s_ctanhl.c: Likewise.
56652 * math/s_ctanl.c: Likewise.
56653 * math/w_fmod.c: Likewise.
56654 * math/w_fmodf.c: Likewise.
56655 * math/w_fmodl.c: Likewise.
56656 * math/w_remainder.c: Likewise.
56657 * math/w_remainderf.c: Likewise.
56658 * math/w_remainderl.c: Likewise.
56659 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
56660 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
56661 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
56662 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
56663 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
56664 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
56665 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
56666 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
56667
187da0ae
UD
56668 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
56669 of the number.
56670 * stdio-common/printf_fphex.c: Likewise.
56671 * stdio-common/printf_size.c: Likewise.
56672
9277c064
UD
56673 * math/e_exp10.c: Include math_private.h using <...> not "...".
56674 * math/e_exp10f.c: Likewise.
56675 * math/e_exp10l.c: Likewise.
56676 * math/e_exp2l.c: Likewise.
56677 * math/e_j0l.c: Likewise.
56678 * math/e_j1l.c: Likewise.
56679 * math/e_jnl.c: Likewise.
56680 * math/e_lgammal_r.c: Likewise.
56681 * math/e_rem_pio2l.c: Likewise.
56682 * math/e_scalb.c: Likewise.
56683 * math/e_scalbf.c: Likewise.
56684 * math/e_scalbl.c: Likewise.
56685 * math/k_cosl.c: Likewise.
56686 * math/k_sinl.c: Likewise.
56687 * math/k_tanl.c: Likewise.
56688 * math/s_cacoshf.c: Likewise.
56689 * math/s_catan.c: Likewise.
56690 * math/s_catanf.c: Likewise.
56691 * math/s_catanh.c: Likewise.
56692 * math/s_catanhf.c: Likewise.
56693 * math/s_catanhl.c: Likewise.
56694 * math/s_catanl.c: Likewise.
56695 * math/s_ccosh.c: Likewise.
56696 * math/s_ccoshf.c: Likewise.
56697 * math/s_ccoshl.c: Likewise.
56698 * math/s_cexp.c: Likewise.
56699 * math/s_cexpf.c: Likewise.
56700 * math/s_cexpl.c: Likewise.
56701 * math/s_clog.c: Likewise.
56702 * math/s_clog10.c: Likewise.
56703 * math/s_clog10f.c: Likewise.
56704 * math/s_clog10l.c: Likewise.
56705 * math/s_clogf.c: Likewise.
56706 * math/s_clogl.c: Likewise.
56707 * math/s_csin.c: Likewise.
56708 * math/s_csinf.c: Likewise.
56709 * math/s_csinh.c: Likewise.
56710 * math/s_csinhf.c: Likewise.
56711 * math/s_csinhl.c: Likewise.
56712 * math/s_csinl.c: Likewise.
56713 * math/s_csqrt.c: Likewise.
56714 * math/s_csqrtf.c: Likewise.
56715 * math/s_csqrtl.c: Likewise.
56716 * math/s_ctan.c: Likewise.
56717 * math/s_ctanf.c: Likewise.
56718 * math/s_ctanh.c: Likewise.
56719 * math/s_ctanhf.c: Likewise.
56720 * math/s_ctanhl.c: Likewise.
56721 * math/s_ctanl.c: Likewise.
56722 * math/s_ldexp.c: Likewise.
56723 * math/s_ldexpf.c: Likewise.
56724 * math/s_ldexpl.c: Likewise.
56725 * math/s_significand.c: Likewise.
56726 * math/s_significandf.c: Likewise.
56727 * math/s_significandl.c: Likewise.
56728 * math/w_acos.c: Likewise.
56729 * math/w_acosf.c: Likewise.
56730 * math/w_acosh.c: Likewise.
56731 * math/w_acoshf.c: Likewise.
56732 * math/w_acoshl.c: Likewise.
56733 * math/w_acosl.c: Likewise.
56734 * math/w_asin.c: Likewise.
56735 * math/w_asinf.c: Likewise.
56736 * math/w_asinl.c: Likewise.
56737 * math/w_atan2.c: Likewise.
56738 * math/w_atan2f.c: Likewise.
56739 * math/w_atan2l.c: Likewise.
56740 * math/w_atanh.c: Likewise.
56741 * math/w_atanhf.c: Likewise.
56742 * math/w_atanhl.c: Likewise.
56743 * math/w_cosh.c: Likewise.
56744 * math/w_coshf.c: Likewise.
56745 * math/w_coshl.c: Likewise.
56746 * math/w_dremf.c: Likewise.
56747 * math/w_exp10.c: Likewise.
56748 * math/w_exp10f.c: Likewise.
56749 * math/w_exp10l.c: Likewise.
56750 * math/w_exp2.c: Likewise.
56751 * math/w_exp2f.c: Likewise.
56752 * math/w_fmod.c: Likewise.
56753 * math/w_fmodf.c: Likewise.
56754 * math/w_fmodl.c: Likewise.
56755 * math/w_hypot.c: Likewise.
56756 * math/w_hypotf.c: Likewise.
56757 * math/w_hypotl.c: Likewise.
56758 * math/w_j0.c: Likewise.
56759 * math/w_j0f.c: Likewise.
56760 * math/w_j0l.c: Likewise.
56761 * math/w_j1.c: Likewise.
56762 * math/w_j1f.c: Likewise.
56763 * math/w_j1l.c: Likewise.
56764 * math/w_jn.c: Likewise.
56765 * math/w_jnf.c: Likewise.
56766 * math/w_jnl.c: Likewise.
56767 * math/w_lgamma.c: Likewise.
56768 * math/w_lgamma_r.c: Likewise.
56769 * math/w_lgammaf.c: Likewise.
56770 * math/w_lgammaf_r.c: Likewise.
56771 * math/w_lgammal.c: Likewise.
56772 * math/w_lgammal_r.c: Likewise.
56773 * math/w_log.c: Likewise.
56774 * math/w_log10.c: Likewise.
56775 * math/w_log10f.c: Likewise.
56776 * math/w_log10l.c: Likewise.
56777 * math/w_log2.c: Likewise.
56778 * math/w_log2f.c: Likewise.
56779 * math/w_log2l.c: Likewise.
56780 * math/w_logf.c: Likewise.
56781 * math/w_logl.c: Likewise.
56782 * math/w_pow.c: Likewise.
56783 * math/w_powf.c: Likewise.
56784 * math/w_powl.c: Likewise.
56785 * math/w_remainder.c: Likewise.
56786 * math/w_remainderf.c: Likewise.
56787 * math/w_remainderl.c: Likewise.
56788 * math/w_scalb.c: Likewise.
56789 * math/w_scalbf.c: Likewise.
56790 * math/w_scalbl.c: Likewise.
56791 * math/w_sinh.c: Likewise.
56792 * math/w_sinhf.c: Likewise.
56793 * math/w_sinhl.c: Likewise.
56794 * math/w_sqrt.c: Likewise.
56795 * math/w_sqrtf.c: Likewise.
56796 * math/w_sqrtl.c: Likewise.
56797 * math/w_tgamma.c: Likewise.
56798 * math/w_tgammaf.c: Likewise.
56799 * math/w_tgammal.c: Likewise.
56800
6a621eb7
UD
56801 * po/ja.po: Update from translation team.
56802
bf582445
AJ
568032011-09-29 Andreas Jaeger <aj@suse.de>
56804
f9efbf3a
AJ
56805 [BZ #13179]
56806 * sunrpc/netname.c (netname2host): Fix logic.
56807
bf582445
AJ
56808 [BZ #6779]
56809 [BZ #6783]
56810 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
56811 correctly.
56812 * math/w_remainder.c (__remainder): Likewise.
56813 * math/w_remainderf.c (__remainderf): Likewise.
56814 * math/libm-test.inc (remainder_test): Add test cases.
56815
48693bea
AK
568162011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56817
56818 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
56819 sdiv_qrnnd.
56820
42622229
LD
568212011-10-07 Ulrich Drepper <drepper@gmail.com>
56822
56823 * string/test-memcmp.c: Avoid unncessary #defines.
56824 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56825
093ecf92
LD
568262011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56827
56828 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
56829 Use new sse2 version for core i3 - i7 as it's faster
56830 than sse42 version.
56831 (bit_Prefer_PMINUB_for_stringop): New.
56832 * sysdeps/x86_64/rawmemchr.S: Update.
56833 Replace with faster SSE2 version.
56834 * sysdeps/x86_64/memrchr.S: New file.
56835 * sysdeps/x86_64/memchr.S: Update.
56836 Replace with faster SSE2 version.
56837
fde56e5c
MP
568382011-09-12 Marek Polacek <mpolacek@redhat.com>
56839
56840 * elf/dl-load.c (lose): Add cast to avoid warning.
56841
21fd49a9
UD
568422011-10-07 Ulrich Drepper <drepper@gmail.com>
56843
5a06e643
UD
56844 * po/ca.po: Update from translation team.
56845
684ae515
UD
56846 * inet/getnetgrent_r.c: Hook up nscd.
56847 * nscd/Makefile (routines): Add nscd_netgroup.
56848 (nscd-modules): Add netgroupcache.
56849 (CFLAGS-netgroupcache.c): Define.
56850 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
56851 (cache_search): Add const to second parameter.
56852 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
56853 INNETGR.
56854 (dbs): Add netgrdb entry.
56855 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
56856 (verify_persistent_db): Handle netgrdb.
56857 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
56858 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
56859 GETFDNETGR.
56860 (netgroup_response_header): Define.
56861 (innetgroup_response_header): Define.
56862 (datahead): Add netgroup_response_header and innetgroup_response_header
56863 elements.
56864 * nscd/nscd.conf: Add entries for netgroup cache.
56865 * nscd/nscd.h (dbtype): Add netgrdb.
56866 (_PATH_NSCD_NETGROUP_DB): Define.
56867 (netgroup_iov_disabled): Declare.
56868 (xmalloc, xcalloc, xrealloc): Move declarations here.
56869 (cache_search): Adjust prototype.
56870 Add netgroup-related prototypes.
56871 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
56872 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
56873 (__nscd_innetgr): Declare.
56874 * nscd/selinux.c (perms): Use access_vector_t as element type and
56875 add netgroup-related initializers.
56876 * nscd/netgroupcache.c: New file.
56877 * nscd/nscd_netgroup.c: New file.
56878 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
56879 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
56880 For four parameters use innetgr.
56881 * nss/nss_files/files-init.c: Add definition and callback for netgr.
56882 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
56883 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
56884 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
56885
21fd49a9
UD
56886 * nscd/connections.c (register_traced_file): Don't register file
56887 for disabled databases.
56888
054c0457
UD
568892011-10-06 Ulrich Drepper <drepper@gmail.com>
56890
32b63198
UD
56891 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
56892
054c0457
UD
56893 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
56894 from tree and freeing node.
56895
64031225
JO
568962011-09-25 Jiri Olsa <jolsa@redhat.com>
56897
56898 * nss/nsswitch.c (__nss_database_lookup): Handle
56899 nss_parse_service_list out of memory case.
56900
0490345c
JO
569012011-09-15 Jiri Olsa <jolsa@redhat.com>
56902
56903 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
56904 out of memory case.
56905
3a62d00d
AS
569062011-10-04 Andreas Schwab <schwab@redhat.com>
56907
56908 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
56909 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
56910 pass it down.
56911 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
56912 elf_machine_rela, elf_machine_lazy_rel.
56913 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
56914 (ELF_DYNAMIC_DO_REL): Likewise.
56915 (ELF_DYNAMIC_DO_RELA): Likewise.
56916 (ELF_DYNAMIC_RELOCATE): Likewise.
56917 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
56918 to ELF_DYNAMIC_DO_REL.
56919 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
56920 (dl_main): In trace mode always set __RTLD_NOIFUNC.
56921 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
56922 elf_machine_rela.
56923 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
56924 skip_ifunc, don't call ifunc function if non-zero.
56925 (elf_machine_rela): Likewise.
56926 (elf_machine_lazy_rel): Likewise.
56927 (elf_machine_lazy_rela): Likewise.
56928 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
56929 (elf_machine_lazy_rel): Likewise.
56930 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
56931 Likewise.
56932 (elf_machine_lazy_rel): Likewise.
56933 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56934 Likewise.
56935 (elf_machine_lazy_rel): Likewise.
56936 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
56937 (elf_machine_lazy_rel): Likewise.
56938 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
56939 (elf_machine_lazy_rel): Likewise.
56940 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
56941 (elf_machine_lazy_rel): Likewise.
56942 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
56943 (elf_machine_lazy_rel): Likewise.
56944 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
56945 (elf_machine_lazy_rel): Likewise.
56946 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
56947 (elf_machine_lazy_rel): Likewise.
56948
68577918
UD
569492011-09-28 Ulrich Drepper <drepper@gmail.com>
56950
56951 * nss/nss_files/files-init.c (_nss_files_init): Use static
56952 initialization for all the *_traced_file variables.
56953
68822d74
AS
569542011-09-28 Andreas Schwab <schwab@redhat.com>
56955
56956 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56957
2056100b
RM
569582011-09-27 Roland McGrath <roland@hack.frob.com>
56959
56960 [BZ #13226]
56961 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
56962
32c76b63
AS
569632011-09-27 Andreas Schwab <schwab@redhat.com>
56964
56965 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56966 Reread the line before reparsing it.
56967
bf972c9d
AS
569682011-09-26 Andreas Schwab <schwab@redhat.com>
56969
56970 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
56971
e057a1b5
JM
569722011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
56973 Maxim Kuvyrkov <maxim@codesourcery.com>
56974 Joseph Myers <joseph@codesourcery.com>
56975
56976 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
56977 if needed for __stack_chk_guard.
56978
bc7e1c36
RM
569792011-09-19 Roland McGrath <roland@hack.frob.com>
56980
ecb1482f
RM
56981 * sysdeps/posix/spawni.c (script_execute): Always define it.
56982 It will be optimized away if unused.
56983 (maybe_script_execute): New function.
56984 (__spawni): Call it.
56985
bc7e1c36
RM
56986 * Makerules: Don't include tls.make.
56987 (config-tls): Always set to thread.
56988 * tls.make.c: File removed.
56989
1c3b002b
MF
569902011-09-19 Mike Frysinger <vapier@gentoo.org>
56991
56992 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
56993 * config.make.in (CPPFLAGS-config): New substituted variable.
56994
2840865d
UD
569952011-09-15 Ulrich Drepper <drepper@gmail.com>
56996
88738eb6
UD
56997 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
56998
cbf645a6 56999 [BZ #13192]
2840865d
UD
57000 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
57001 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
57002
b402e91a
RM
570032011-09-15 Roland McGrath <roland@hack.frob.com>
57004
57005 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
57006 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
57007 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57008 (CALL_FAIL): Likewise.
57009 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
57010 (CALL_FAIL): Macro removed.
57011 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
57012
4c1a1f71
UD
570132011-09-15 Ulrich Drepper <drepper@gmail.com>
57014
57015 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
57016 for __FINITE_MATH_ONLY__ == 1.
57017
edc121be
AS
570182011-09-15 Andreas Schwab <schwab@redhat.com>
57019
57020 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
57021 __ieee754_sqrt instead of sqrt.
57022 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
57023 __ieee754_sqrtf instead of sqrtf.
57024 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
57025 __floorf instead of floorf.
57026 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
57027 __floorf, __truncf instead of floorf, truncf.
57028
cd205654
UD
570292011-09-14 Ulrich Drepper <drepper@gmail.com>
57030
ee4d0315
UD
57031 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
57032
cd205654
UD
57033 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
57034 __extern_always_inline.
57035 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
57036 32-bit.
57037
48b67d71
AS
570382011-09-14 Andreas Schwab <schwab@redhat.com>
57039
57040 * elf/rtld.c (dl_main): Also relocate in dependency order when
57041 doing symbol dependency testing.
57042
1ae12c75
AS
570432011-09-13 Andreas Schwab <schwab@linux-m68k.org>
57044
57045 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57046 Always define `refsym'.
57047
995a80df
AS
570482011-09-13 Andreas Schwab <schwab@redhat.com>
57049
e529793b
AS
57050 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
57051 (__FD_ELT): Renamed from __FDELT.
57052 * misc/bits/select2.h (__FD_ELT): Likewise.
57053 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
57054 __FD_MASK instead of __FDELT, __FDMASK.
57055 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57056 Likewise.
57057 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57058 Likewise.
57059
52d4fef8
AS
57060 * elf/Makefile (gen-ldd): Fix pattern.
57061
995a80df
AS
57062 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
57063 (init_tls): Likewise.
57064
8682f8b0
UD
570652011-09-12 Ulrich Drepper <drepper@gmail.com>
57066
57067 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
57068
de82006d
AS
570692011-09-12 Andreas Schwab <schwab@redhat.com>
57070
a7c8e6a1
AS
57071 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
57072 `struct cmsghdr *' instead of `void *'.
57073 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
57074 Likewise.
57075
0f31fe77
AS
570762011-09-11 Andreas Schwab <schwab@linux-m68k.org>
57077
57078 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
57079 if non-absolute.
57080 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
57081 ldd_rewrite_script.
0f31fe77 57082
32b4c839
UD
570832011-09-11 Ulrich Drepper <drepper@gmail.com>
57084
83cd1420
UD
57085 * configure.in: Remove --with-tls option.
57086 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
57087 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
57088 out in case it is missing.
57089 * sysdeps/ia64/elf/configure.in: Likewise.
57090 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
57091 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
57092 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
57093 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
57094 * sysdeps/sh/elf/configure.in: Likewise.
57095 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
57096 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57097 * sysdeps/x86_64/elf/configure.in: Likewise.
57098 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
57099 * sysdeps/mach/hurd/tls.h: Likewise.
57100
633f745d
UD
57101 [BZ #13067]
57102 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
57103
f318beb8
UD
57104 [BZ #13090]
57105 * configure.in: Fix use of AC_INIT.
57106
32b4c839
UD
57107 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
57108
3ce1f295
UD
571092011-09-10 Ulrich Drepper <drepper@gmail.com>
57110
bb016596
UD
57111 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
57112 __set_errno.
8e58439c
UD
57113 * malloc/hooks.c: Likewise.
57114
aebae053 57115 [BZ #11929]
02d46fc4
UD
57116 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
57117 variables statically.
57118 (narenas): Initialize.
57119 (list_lock): Initialize.
bb016596
UD
57120 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
57121 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
57122 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
57123 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
57124 Add initializers to main_arena and mp_.
57125 (malloc_state): Remove pagesize member. Change all users to use
57126 GLRO(dl_pagesize).
57127
57128 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
57129 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
57130 is always initialized.
57131
22a89187
UD
57132 * malloc/malloc.c: Removed unused configurations and dead code.
57133 * malloc/arena.c: Likewise.
57134 * malloc/hooks.c: Likewise.
02d46fc4 57135 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 57136
d063d164
UD
57137 * include/tls.h: Removed. USE___THREAD must always be defined.
57138 * bits/libc-tsd.h: Don't handle !USE___THREAD.
57139 * elf/dl-libc.c: Likewise.
57140 * elf/dl-tsd.c: Likewise.
57141 * include/errno.h: Likewise.
57142 * include/netdb.h: Likewise.
57143 * include/resolv.h: Likewise.
57144 * inet/herrno-loc.c: Likewise.
57145 * inet/herrno.c: Likewise.
57146 * malloc/arena.c: Likewise.
57147 * malloc/hooks.c: Likewise.
57148 * malloc/malloc.c: Likewise.
57149 * resolv/res-state.c: Likewise.
57150 * resolv/res_libc.c: Likewise.
57151 * sysdeps/i386/dl-machine.h: Likewise.
57152 * sysdeps/ia64/dl-machine.h: Likewise.
57153 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
57154 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57155 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
57156 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
57157 * sysdeps/sh/dl-machine.h: Likewise.
57158 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57159 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57160 * sysdeps/unix/i386/sysdep.S: Likewise.
57161 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57162 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
57163 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
57164 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57165 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
57166 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57167 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
57168 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57169 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57170 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57171 * sysdeps/unix/x86_64/sysdep.S: Likewise.
57172 * sysdeps/x86_64/dl-machine.h: Likewise.
57173 * tls.make.c: Likewise.
57174
3ce1f295
UD
57175 * configure.in: Remove --with-__thread option. Make tests for
57176 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
57177 tls_model attribute fail if no support is available. Remove
57178 USE_IN_LIBIO.
57179 * Makeconfig: Adjust for dropped configure option. All features are
57180 now mandatory.
57181 * Makerules: Likewise.
57182 * Versions.def: Likewise.
57183 * argp/argp-fmtstream.c: Likewise.
57184 * argp/argp-fmtstream.h: Likewise.
57185 * argp/argp-help.c: Likewise.
57186 * assert/assert.c: Likewise.
57187 * config.h.in: Likewise.
57188 * config.make.in: Likewise.
57189 * configure: Likewise.
57190 * configure.in: Likewise.
57191 * csu/Versions: Likewise.
57192 * csu/init.c: Likewise.
57193 * elf/tst-audit2.c: Likewise.
57194 * elf/tst-tls10.c: Likewise.
57195 * elf/tst-tls10.h: Likewise.
57196 * elf/tst-tls11.c: Likewise.
57197 * elf/tst-tls12.c: Likewise.
57198 * elf/tst-tls14.c: Likewise.
57199 * elf/tst-tlsmod11.c: Likewise.
57200 * elf/tst-tlsmod12.c: Likewise.
57201 * elf/tst-tlsmod13.c: Likewise.
57202 * elf/tst-tlsmod13a.c: Likewise.
57203 * elf/tst-tlsmod14a.c: Likewise.
57204 * elf/tst-tlsmod15b.c: Likewise.
57205 * elf/tst-tlsmod16a.c: Likewise.
57206 * elf/tst-tlsmod16b.c: Likewise.
57207 * elf/tst-tlsmod7.c: Likewise.
57208 * elf/tst-tlsmod8.c: Likewise.
57209 * elf/tst-tlsmod9.c: Likewise.
57210 * gmon/gmon.c: Likewise.
57211 * grp/fgetgrent_r.c: Likewise.
57212 * grp/putgrent.c: Likewise.
57213 * hurd/fopenport.c: Likewise.
57214 * include/libc-symbols.h: Likewise.
57215 * include/tls.h: Likewise.
57216 * intl/gettextP.h: Likewise.
57217 * intl/loadinfo.h: Likewise.
57218 * locale/global-locale.c: Likewise.
57219 * locale/localeinfo.h: Likewise.
57220 * mach/devstream.c: Likewise.
57221 * malloc/arena.c: Likewise.
57222 * malloc/set-freeres.c: Likewise.
57223 * misc/err.c: Likewise.
57224 * misc/getttyent.c: Likewise.
57225 * misc/mntent_r.c: Likewise.
57226 * posix/getopt.c: Likewise.
57227 * posix/wordexp.c: Likewise.
57228 * pwd/fgetpwent_r.c: Likewise.
57229 * resolv/Versions: Likewise.
57230 * resolv/res_hconf.c: Likewise.
57231 * shadow/fgetspent_r.c: Likewise.
57232 * shadow/putspent.c: Likewise.
57233 * stdio-common/printf_fphex.c: Likewise.
57234 * stdio-common/tmpfile.c: Likewise.
57235 * stdlib/abort.c: Likewise.
57236 * stdlib/fmtmsg.c: Likewise.
57237 * sunrpc/auth_unix.c: Likewise.
57238 * sunrpc/clnt_perr.c: Likewise.
57239 * sunrpc/clnt_tcp.c: Likewise.
57240 * sunrpc/clnt_udp.c: Likewise.
57241 * sunrpc/clnt_unix.c: Likewise.
57242 * sunrpc/openchild.c: Likewise.
57243 * sunrpc/svc_simple.c: Likewise.
57244 * sunrpc/svc_tcp.c: Likewise.
57245 * sunrpc/svc_udp.c: Likewise.
57246 * sunrpc/svc_unix.c: Likewise.
57247 * sunrpc/xdr.c: Likewise.
57248 * sunrpc/xdr_array.c: Likewise.
57249 * sunrpc/xdr_rec.c: Likewise.
57250 * sunrpc/xdr_ref.c: Likewise.
57251 * sunrpc/xdr_stdio.c: Likewise.
57252
1248c1c4
PB
572532011-09-09 Ulrich Drepper <drepper@gmail.com>
57254
57255 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57256
572572011-07-03 Andreas Jaeger <aj@suse.de>
57258
57259 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
57260 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
57261 regenerate with gen-libm-tests.pl.
57262
572632010-05-12 Petr Baudis <pasky@suse.cz>
57264
57265 [BZ #11589]
57266 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
57267 around j0() zero points by switching to j1().
57268 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57269 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57270 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57271 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57272
f22e1074
UD
572732011-09-09 Ulrich Drepper <drepper@gmail.com>
57274
f19009c1
UD
57275 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
57276 instead of 0.
57277 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 57278 instead of 0.
f19009c1
UD
57279 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57280 Patch in part by Pavel Roskin <proski@gnu.org>.
57281
3f8cc204
UD
57282 [BZ #13138]
57283 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
57284 realloc.
57285 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
57286 Free memory block if necessary.
57287
f22e1074
UD
57288 [BZ #12847]
57289 * libio/genops.c (INTDEF): For string streams the _lock pointer can
57290 be NULL. Don't lock in this case.
57291
0a2349f9
RM
572922011-09-09 Roland McGrath <roland@hack.frob.com>
57293
57294 * elf/elf.h (ELFOSABI_GNU): New macro.
57295 (ELFOSABI_LINUX): Define to that.
57296
f3cdd467
DZ
572972011-07-29 Denis Zaitceff <zaitceff@gmail.com>
57298
57299 * string/strncat.c (strncat): Undef the symbol in case it has been
57300 defined in bits/string.h.
57301
74718d13
UD
573022011-09-09 Ulrich Drepper <drepper@gmail.com>
57303
633e9e0f
UD
57304 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
57305
0a2349f9 57306 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
57307 link map.
57308
f9924780
AJ
573092011-08-17 Andreas Jaeger <aj@suse.de>
57310
57311 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
57312
7f5517aa
PP
573132011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
57314 Ian Lance Taylor <iant@google.com>
57315
57316 * math/libm-test.inc (lround_test): New testcase.
57317 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
57318
762011fe
UD
573192011-09-08 Ulrich Drepper <drepper@gmail.com>
57320
92963737
UD
57321 * Makefile: Remove support for automatic cvs check-ins.
57322 * Makerules: Likewise.
57323 * config.make.in: Likewise.
57324 * configure.in: Likewise.
57325 * intl/Makefile: Likewise.
57326 * locale/Makefile: Likewise.
57327 * po/Makefile: Likewise.
57328 * posix/Makefile: Likewise.
57329 * sysdeps/gnu/Makefile: Likewise.
57330 * sysdeps/mach/hurd/Makefile: Likewise.
57331 * sysdeps/sparc/sparc32/Makefile: Likewise.
57332
b0727fd8
JS
57333 [BZ #13118]
57334 * posix/Makefile (bug-regex32-ENV): Define.
57335 Patch by John Stanley <jpsinthemix@verizon.net>.
57336
a0f33f99
UD
57337 * misc/Makefile (headers): Add bits/select2.h.
57338 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
57339 * misc/bits/select2.h: New file.
57340 * include/bits/select2.h: New file.
57341 * debug/Makefile (routines): Add fdelt_chk.
57342 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
57343 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
57344 FD_ISSET.
57345 * debug/fdelt_chk.c: New file.
57346
762011fe
UD
57347 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
57348 * wcsmbs/test-wmemcmp.c: Likewise.
57349 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 57350 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
57351
573522011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57353
57354 * string/Makefile (strop-tests): Add memcmp.
57355 * string/test-wmemcmp.c: New file.
57356 * string/test-memcmp.c: Add wmemcmp support.
57357
7f513ec8
RM
573582011-09-08 Roland McGrath <roland@hack.frob.com>
57359
0442afb4
RM
57360 [BZ #13153]
57361 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
57362 2011-07-19 change.
57363
7f513ec8
RM
57364 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
57365 garbage value in a __mach_port_mod_refs call in the cases of the
57366 task-self and thread-self ports.
57367
a12b2239
ST
573682011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57369
57370 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
57371
610f9ab4
AS
573722011-09-08 Andreas Schwab <schwab@redhat.com>
57373
7f513ec8 57374 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 57375
48882a1a
LD
573762011-09-07 Ulrich Drepper <drepper@gmail.com>
57377
b49865be
UD
57378 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
57379
fdc86bc9
UD
57380 * elf/dl-libc.c (dlerror_run): Pass back error code from
57381 dl_catch_error.
57382
c966526a
UD
57383 [BZ #13123]
57384 * elf/dl-load.c (lose): Free l_origin if it is valid.
57385
48882a1a
LD
57386 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
57387 names.
57388 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
57389 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57390 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57391 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57392 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
57393 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
57394
77a2a8b4
AZ
573952011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57396
57397 * sysdeps/powerpc/fpu/e_hypot.c: New file.
57398 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
57399 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
57400 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
57401 * sysdeps/powerpc/fpu/k_cosf.c: New file.
57402 * sysdeps/powerpc/fpu/k_sinf.c: New file.
57403 * sysdeps/powerpc/fpu/s_cosf.c: New file.
57404 * sysdeps/powerpc/fpu/s_sinf.c: New file.
57405 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
57406 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
57407
24f579d8
AM
574082011-08-15 Alan Modra <amodra@gmail.com>
57409
57410 [BZ #13092]
57411 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
57412 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
57413 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
57414 ppc_mcount to static-only-routines.
57415 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
57416 __mcount_internal.
57417 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
57418 __mcount_internal with usual JUMPTARGET. Remove useless nop.
57419
3d4837df
UD
574202011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
57421
57422 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
57423 for finite and infinity parameters.
57424
22700377
WS
574252011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
57426
57427 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
57428 and add nop instructions for throughput optimization.
57429 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57430
5025581e
WS
574312011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
57432
57433 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
57434 aligned copy for power7 with vector-scalar instructions.
57435 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
57436
08a300c9
L
574372011-07-24 H.J. Lu <hongjiu.lu@intel.com>
57438
57439 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
57440 AVX check.
57441
59178ef9
AS
574422011-09-07 Andreas Schwab <schwab@redhat.com>
57443
57444 [BZ #13144]
57445 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
57446 last change.
57447
e38ba7ab
UD
574482011-09-07 Ulrich Drepper <drepper@gmail.com>
57449
57450 * sysdeps/unix/sysv/linux/x86_64/init-first.c
57451 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
57452 syscall wrapper around clock_gettime in __vdso_clock_gettime.
57453 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
57454 clock_gettime.
57455
d53a73ac
UD
574562011-09-06 Ulrich Drepper <drepper@gmail.com>
57457
fc8bffcc
UD
57458 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
57459 Forgot to demangle the pointer.
57460
ceaa0c5d
UD
57461 * sysdeps/i386/sysdep.h: Define atom_text_section.
57462 * sysdeps/x86_64/sysdep.h: Likewise.
57463 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
57464 section with atom_text_section.
57465 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57466 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57467 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
57468 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57469 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
57470
a77d3c17
UD
57471 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
57472 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
57473 already be defined. Change to take two parameters and don't assign
57474 result to variable. Adjust all users.
57475 Define INTERNAL_GETTIME if not already defined.
57476 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
57477 call.
57478 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
57479 HAVE_CLOCK_GETTIME_VSYSCALL.
57480 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
57481
d53a73ac
UD
57482 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
57483 gettimeofday vsyscall, just use time.
57484
a8f84144
AS
574852011-09-06 Andreas Schwab <schwab@redhat.com>
57486
57487 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
57488 <errno.h>.
57489
ef606249
UD
574902011-09-06 Ulrich Drepper <drepper@gmail.com>
57491
57492 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
57493 syscall on x86-64.
57494 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
57495 syscall.
57496 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
57497 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
57498 syscall if possible.
57499
6585cb60
UD
575002011-09-05 Ulrich Drepper <drepper@gmail.com>
57501
57502 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
57503 e_ident. Don't pass to find_mapsXX.
57504 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
57505
a5f524e4
LD
575062011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57507
57508 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57509 strchr-sse2-no-bsf strrchr-sse2-no-bsf
57510 * sysdeps/x86_64/multiarch/strchr.S: Update.
57511 Check bit_slow_BSF bit.
57512 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57513 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
57514 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
57515
554881ef
UD
575162011-09-05 Ulrich Drepper <drepper@gmail.com>
57517
d96de963
UD
57518 [BZ #13134]
57519 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
57520 before glibc 2.15.
57521 (tryshell): Define.
57522 (__spawni): Change last parameter to be flag. Test
57523 SPAWN_XFLAGS_USE_PATH flag to use path or not.
57524 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
57525 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
57526 * posix/spawni.c: Likewise.
57527 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
57528 * posix/spawnp.c: Likewise. Change normal version to use
57529 SPAWN_XFLAGS_USE_PATH.
57530 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
57531 SPAWN_XFLAGS_TRY_SHELL.
57532
d48e5868
UD
57533 [BZ #13150]
57534 * posix/glob.h: Remove gcc 1.x support.
57535
554881ef
UD
57536 [BZ #13068]
57537 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
57538
693fb948
LD
575392011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57540
57541 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57542 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
57543 strrchr-sse2-bsf
57544 * sysdeps/i386/i686/multiarch/strchr.S: New file.
57545 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
57546 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
57547 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
57548 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
57549 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
57550
1b48c537
UD
575512011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57552
49d42c37
UD
57553 * sysdeps/x86_64/wcscmp.S: New file.
57554
1b48c537
UD
57555 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
57556 wcscmp-c wcscmp-sse2
57557 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
57558 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
57559 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
57560 * wcsmbs/wcscmp.c: Allow renaming.
57561
15c95c5d
DM
575622011-09-05 David S. Miller <davem@davemloft.net>
57563
57564 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
57565 stack slot, rather than the struct return pointer slot.
57566 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
57567 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
57568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
57569 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
57570
2f0ad8f3
UD
575712011-09-05 Ulrich Drepper <drepper@gmail.com>
57572
d88ae418
UD
57573 * po/ja.po: Update from translation team.
57574
2f0ad8f3
UD
57575 [BZ #13144]
57576 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
57577 kernel in 64-bit binaries.
57578
5f4318d1
DM
575792011-09-01 David S. Miller <davem@davemloft.net>
57580
57581 * elf/elf.h (HWCAP_SPARC_*): Move to..
57582 * sysdeps/sparc/sysdep.h: this new file and add new values.
57583 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
57584 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
57585 _DL_HWCAP_COUNT to 24.
57586 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
57587 entries.
57588 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
57589 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
57590 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
57591 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
57592 instead of magic constants.
57593 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57594
3ba57516
DM
575952011-08-31 David S. Miller <davem@davemloft.net>
57596
57597 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
57598 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
57599 Reimplement to do errno handling inline.
57600 (SYSCALL_ERROR_HANDLER): New macro.
57601 (__SYSCALL_STRING): Do not do errno handling in asm.
57602 (__CLONE_SYSCALL_STRING): Delete.
57603 (__INTERNAL_SYSCALL_STRING): Delete.
57604 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
57605 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
57606 (PSEUDO): Reimplement to do errno handling inline.
57607 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
57608 (SYSCALL_ERROR_HANDLER): New macro.
57609 (__SYSCALL_STRING): Do not do errno handling in asm.
57610 (__CLONE_SYSCALL_STRING): Delete.
57611 (__INTERNAL_SYSCALL_STRING): Delete.
57612 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
57613 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
57614 i386.
57615 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
57616 (inline_syscall*): Add 'err' argument.
57617 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
57618 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
57619 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
57620 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
57621
57622 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
57623 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
57624
2bc17433
AS
576252011-08-30 Andreas Schwab <schwab@redhat.com>
57626
57627 * elf/rtld.c (dl_main): Relocate objects in dependency order.
57628
fbeb5f4d
JO
576292011-08-29 Jiri Olsa <jolsa@redhat.com>
57630
57631 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
57632 directive.
57633
ad69cc26
DM
576342011-08-24 David S. Miller <davem@davemloft.net>
57635
57636 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
57637
39dd69df
AS
576382011-08-24 Andreas Schwab <schwab@redhat.com>
57639
57640 * elf/Makefile: Add rules to build and run unload8 test.
57641 * elf/unload8.c: New file.
57642 * elf/unload8mod1.c: New file.
57643 * elf/unload8mod1x.c: New file.
57644 * elf/unload8mod2.c: New file.
57645 * elf/unload8mod3.c: New file.
57646
57647 * elf/dl-close.c (_dl_close_worker): Reset private search list if
57648 it wasn't used.
57649
2c0b250a
DM
576502011-08-23 David S. Miller <davem@davemloft.net>
57651
57652 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
57653 subtract stack bias.
57654 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
57655 %sp not %fp in calculations.
57656 (_JMPBUF_UNWINDS_ADJ): Likewise.
57657
22044b48
DM
57658 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
57659 (aio_suspend): Call it to force an exception region around the
57660 AIO_MISC_WAIT() invocation.
57661
2cae4995
AS
576622011-08-23 Andreas Schwab <schwab@redhat.com>
57663
57664 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
57665 backslash.
57666
873a772e
AJ
576672011-07-04 Aurelien Jarno <aurelien@aurel32.net>
57668
57669 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
57670 protection macro.
57671 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
57672 and <dl-machine.h>.
57673 (Elf64_FuncDesc): Remove.
57674
25ad0df1
DM
576752011-08-22 David S. Miller <davem@davemloft.net>
57676
57677 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
57678 sigaltstack check, add missing cfi directives.
57679 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
57680 missing cfi directives, and sigaltstack handling.
57681
e888bcbe
AS
576822011-08-16 Andreas Schwab <schwab@redhat.com>
57683
57684 [BZ #11724]
57685 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
57686 object is seen twice.
57687 * elf/dl-fini.c (_dl_sort_fini): Likewise.
57688
57689 * elf/Makefile (distribute): Add tst-initorder2.c.
57690 (tests): Add tst-initorder2.
57691 (modules-names): Add tst-initorder2a tst-initorder2b
57692 tst-initorder2c tst-initorder2d. Add rules to build them.
57693 ($(objpfx)tst-initorder2.out): New rule.
57694 * elf/tst-initorder2.c: New file.
57695 * elf/tst-initorder2.exp: New file.
57696
87162f46
AS
576972011-08-22 Andreas Schwab <schwab@redhat.com>
57698
70538b7f
AS
57699 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
57700
f55ffe58
AS
57701 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
57702 dependencies back to end of function.
57703
87162f46
AS
57704 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57705 $(elfobjdir)/ld.so.
57706
91b392a4
UD
577072011-08-21 Ulrich Drepper <drepper@gmail.com>
57708
57709 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
57710 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
57711 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
57712 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
57713 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
57714 of __vdso_gettimeofday.
57715 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
57716 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
57717 attribute_hidden.
57718 (_libc_vdso_platform_setup): Remove initialization of
57719 __vdso_gettimeofday and __vdso_time.
57720
5c43483f
UD
577212011-08-20 Ulrich Drepper <drepper@gmail.com>
57722
775a77e7
UD
57723 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
57724 and fgetc_unlocked.
57725 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
57726 getc_unlocked.
89f447ed 57727
49c74ba9
UD
57728 * elf/dl-open.c (add_to_global): Report additions to the global scope
57729 for LD_DEBUG=scopes.
57730 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 57731 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 57732
5c43483f
UD
57733 [BZ #13114]
57734 * stdio-common/Makefile (tests): Add bug24.
57735 * stdio-common/bug24.c: New file.
57736
a101b025
AJ
577372011-08-19 Andreas Jaeger <aj@suse.de>
57738
57739 [BZ #13114]
57740 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
57741 non-existant file when using close-on-exec mode.
57742
c88f1766
UD
577432011-08-20 Ulrich Drepper <drepper@gmail.com>
57744
0276a718
UD
57745 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
57746 the very first instruction.
57747
c88f1766
UD
57748 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
57749 the CFI state in the end.
57750 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
57751 inclusion of dl-trampoline.h.
57752 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
57753
51ccffa0
AS
577542011-08-19 Andreas Schwab <schwab@redhat.com>
57755
94d7165f
AS
57756 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
57757 expectations for long double.
57758
51ccffa0
AS
57759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
57760 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
57761
fd708658 577622011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
57763
57764 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
57765 artificual limit depends upon the system page size.
57766
44f0a71e
UD
577672011-08-17 Ulrich Drepper <drepper@gmail.com>
57768
57769 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
57770 * resolv/Makefile: Define CFLAGS-libresolv.
57771
8de79a24
AS
577722011-08-17 Andreas Schwab <schwab@redhat.com>
57773
57774 * nss/makedb.c (compute_tables): Make variables used in nested
57775 function static.
57776
27724598
UD
577772011-08-17 Ulrich Drepper <drepper@gmail.com>
57778
c5305d88
UD
57779 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
57780 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
57781 if buffer was too small.
57782
27724598
UD
57783 * elf/pldd.c (main): Attach to all threads in the process.
57784 Rewrite /proc handling to use *at functions.
57785
076fe015
UD
577862011-08-16 Ulrich Drepper <drepper@gmail.com>
57787
174baab3
UD
57788 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
57789 specifies first scope to show.
57790 (dl_open_worker): Update callers. Move printing scope of new
57791 object to before the relocation.
44f0a71e 57792 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
57793 * sysdeps/generic/ldsodefs.h: Update declaration.
57794
076fe015
UD
57795 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
57796 string for the scope number.
57797
a60df2c3
UD
577982011-08-14 Ulrich Drepper <drepper@gmail.com>
57799
57800 * nscd/servicescache.c (cache_addserv): Make sure written is always
57801 initialized.
57802
5e4287d1
RM
578032011-08-14 Roland McGrath <roland@hack.frob.com>
57804
85ae0589
RM
57805 * sysdeps/i386/i486/bits/atomic.h
57806 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
57807 statement expression, so as to suppress "set but not used" warning.
57808 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
57809
69f63097
RM
57810 * string/strncat.c (STRNCAT): Use prototype definition.
57811
675456ef
RM
57812 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
57813 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
57814 -Iprograms here.
57815 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
57816 (localedef-modules): Add localedef.
57817 (locale-modules): Add locale.
57818
5e4287d1
RM
57819 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
57820 * elf/rtld.c (dl_main): Invert order of assignment in last change,
57821 to avoid a warning.
57822
9c96ff23
DM
578232011-08-14 David S. Miller <davem@davemloft.net>
57824
57825 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
57826 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
57827
f9ddf089
UD
578282011-08-13 Ulrich Drepper <drepper@gmail.com>
57829
44f0a71e 57830 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
57831 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
57832 * elf/rtld.c (dl_main): Set l_name of vDSO.
57833 Call _dl_show_scope when DL_DEBUG_SCOPES.
57834 (process_dl_debug): Recognize scopes flag and also set it for all.
57835 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
57836 Declare _dl_show_scope.
57837
1dc27704
UD
57838 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
57839 (do_dlopen): Pass caller_dlopen to dl_open.
57840 (__libc_dlopen_mode): Initialize caller_dlopen.
57841
f9ddf089
UD
57842 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
57843 of libc. Make tolower call locale-independent. Optimize a bit by
57844 using isdigit instead of isalnum.
57845 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
57846
9ac533d3
UD
578472011-08-12 Ulrich Drepper <drepper@gmail.com>
57848
57849 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
57850 was a dependency or dynamically loaded.
57851
89edf2e9
UD
578522011-08-11 Ulrich Drepper <drepper@gmail.com>
57853
8e999d29
UD
57854 * intl/l10nflist.c: Allow architecture-specific pop function.
57855 * sysdeps/x86_64/l10nflist.c: New file.
57856
89edf2e9
UD
57857 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
57858 classification.
57859
14d96785
AS
578602011-08-10 Andreas Schwab <schwab@redhat.com>
57861
57862 * include/dirent.h: Add libc_hidden_proto for scandirat and
57863 scandirat64. Don't declare __scandirat64.
57864 * dirent/scandirat.c: Add libc_hidden_def.
57865 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
57866 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
57867
6761ac04
DM
578682011-08-10 David S. Miller <davem@davemloft.net>
57869
57870 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
57871 enum.
57872 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57873 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57874 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57875
c55fbd1e
UD
578762011-08-09 Ulrich Drepper <drepper@gmail.com>
57877
57878 * Versions.def [libc]: Add GLIBC_2.15.
57879 * dirent/Makefile (routines): Add scandirat and scandirat64.
57880 * dirent/Versions [libc]: Export scandirat and scandirat64 for
57881 GLIBC_2.15.
57882 * dirent/dirent.h: Declare scandirat and scandirat64.
57883 * dirent/scandirat.c: New file.
57884 * dirent/scandirat64.c: New file.
57885 * sysdeps/wordsize-64/scandirat.c: New file.
57886 * sysdeps/wordsize-64/scandirat64.c: New file.
57887 * dirent/opendir.c: Define opendirat.
57888 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
57889 using scandirat.
57890 * dirent/scandir64.c: Adjust for scandir.c change.
57891 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
57892 __scandirat64, and __scandir_cancel_handler.
57893 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
57894 additional parameter and use openat instead of open (outside of ld.so).
57895 Add new __opendir as wrapper around __opendirat.
57896 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
57897 here without requiring old scandirat implementation.
57898
879165f2
UD
578992011-08-08 Ulrich Drepper <drepper@gmail.com>
57900
57901 * dirent/scandir.c (cancel_handler): Renamed to
57902 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
57903 defined. Adjust users.
57904 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
57905 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
57906
cb7e923b
UD
579072011-08-04 Ulrich Drepper <drepper@gmail.com>
57908
16292edd
UD
57909 * string/test-string.h (IMPL): Use __STRING to expand name and then
57910 stringify it.
57911
cb7e923b
UD
57912 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
57913 of cleanups.
57914
cff82933
LD
579152011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57916
57917 * string/Makefile: Update.
57918 (strop-tests): Append strncat.
57919 * string/test-wcscmp.c: New file.
57920 New comprehensive test for wcscmp.
57921 * string/test-strcmp.c: Update.
57922 (WIDE): New define.
57923
9be9bfcc
AS
579242011-07-22 Andreas Schwab <schwab@redhat.com>
57925
57926 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
57927 line.
57928
2e96f1c7
AS
579292011-07-26 Andreas Schwab <schwab@redhat.com>
57930
57931 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
57932 encoding to ACE if AI_IDN.
57933
85188888
JJ
579342011-08-01 Jakub Jelinek <jakub@redhat.com>
57935
57936 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
57937 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
57938
5fa16e9b
LD
579392011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57940
57941 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
57942 Fix overflow bug in strncat.
57943 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
57944
57945 * string/test-strncat.c: Update.
57946 Add new tests for checking overflow bugs.
57947
579482011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57949
57950 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57951 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
57952 * sysdeps/i386/i686/multiarch/strcat.S: New file.
57953 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
57954 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
57955 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
57956 * sysdeps/i386/i686/multiarch/strncat.S: New file.
57957 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
57958 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
57959
57960 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
57961 (USE_AS_STRCAT): Define.
57962 Add strcat and strncat support.
57963 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57964
8c1a459f
AS
579652011-07-25 Andreas Schwab <schwab@redhat.com>
57966
57967 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
57968 __n bigger than INT_MAX+1.
57969 (__strncmp_g): Likewise.
57970
bba33c28
UD
579712011-07-23 Ulrich Drepper <drepper@gmail.com>
57972
798be72d
UD
57973 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
57974 * libio/stido.h: Likewise.
57975
8accd4dc
UD
57976 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
57977 (AF_NFC): Define.
57978 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
57979 (AF_NFC): Define.
57980
cbff0d96
UD
57981 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
57982 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57983 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57984 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
57985 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57986
9191c04a
UD
57987 [BZ #13021]
57988 * scripts/test-installation.pl: Don't expect libnss_test1 to be
57989 installed.
57990
bba33c28
UD
57991 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
57992 typo.
57993 (_dl_x86_64_save_sse): Likewise.
57994
90f139dd
UD
579952011-07-22 Ulrich Drepper <drepper@gmail.com>
57996
1aae088a
UD
57997 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
57998 OSXSAVE.
57999 (_dl_x86_64_save_sse): Likewise.
58000
8e2045f5
UD
58001 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
58002
90f139dd
UD
58003 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
58004
1d002f25
AS
580052011-07-21 Andreas Schwab <schwab@redhat.com>
58006
58007 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
58008 change.
58009 (_dl_x86_64_save_sse): Use correct AVX check.
58010
21137f89
UD
580112011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58012
58013 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
58014 bug in strncpy/strncat.
58015 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
58016
a65c0b7a
UD
580172011-07-21 Ulrich Drepper <drepper@gmail.com>
58018
58019 * string/tester.c (test_strcat): Add tests for different alignments
58020 of source and destination.
58021 (test_strncat): Likewise.
58022
6986b98a
UD
580232011-07-20 Ulrich Drepper <drepper@gmail.com>
58024
90bb2039
UD
58025 [BZ #12852]
58026 * posix/glob.c (glob): Check passed in values before using them in
58027 expressions to avoid some overflows.
58028 (glob_in_dir): Likewise.
58029
5644ef54
UD
58030 [BZ #13007]
58031 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
58032 check for AVX enablement so that we don't crash with old kernels and
58033 new hardware.
58034 * elf/tst-audit4.c: Add same checks here.
58035 * elf/tst-audit6.c: Likewise.
58036
58037 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 58038
bfc9dc9b
AS
580392011-07-09 Andreas Schwab <schwab@linux-m68k.org>
58040
58041 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
58042
702e64bb
UD
580432011-07-20 Ulrich Drepper <drepper@gmail.com>
58044
58045 * po/cs.po: Update from translation team.
58046 * po/bg.po: Likewise.
58047
295e904f
MP
580482011-07-12 Marek Polacek <mpolacek@redhat.com>
58049
58050 * misc/sys/cdefs.h: Add support for const attribute.
58051 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
58052 to gnu_dev_{major,minor,makedev} functions.
58053
3ff94596
MP
580542011-07-20 Marek Polacek <mpolacek@redhat.com>
58055
58056 * intl/dcigettext.c (get_output_charset): Add missing bracket.
58057
28b59fca
AS
580582011-07-20 Andreas Schwab <schwab@redhat.com>
58059
58060 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
58061 strlen results.
58062
19df733e
AK
580632011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58064
58065 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
58066 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
58067 register in order to avoid conflicts with the soft frame pointer
58068 being held in r11 when necessary.
58069 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
58070 (INTERNAL_VSYSCALL_NCS): Likewise.
58071
c8835729
MP
580722011-07-14 Marek Polacek <mpolacek@redhat.com>
58073
58074 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
58075 * elf/dl-fini.c (_dl_fini): Adjust caller.
58076 * elf/dl-close.c (_dl_close_worker): Likewise.
58077 * sysdeps/generic/ldsodefs.h: Adjust declaration.
58078
b902330c
MP
580792011-07-15 Marek Polacek <mpolacek@redhat.com>
58080
8991e135
MP
58081 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
58082 "aux_cache->nlibs < 0".
58083
b902330c
MP
58084 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
58085 in the reload-count case.
58086
99710781
LD
580872011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58088
58089 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58090 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
58091 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
58092 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
58093 * sysdeps/x86_64/multiarch/strcat.S: New file.
58094 * sysdeps/x86_64/multiarch/strncat.S: New file.
58095 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
58096 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
58097 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
58098 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
58099 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
58100 (USE_AS_STRCAT): Define.
58101 Add strcat and strncat support.
58102 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58103 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58104 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
58105 * string/strncat.c: Update.
58106 (USE_AS_STRNCAT): Define.
58107 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58108 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
58109 and i7.
58110 * sysdeps/x86_64/multiarch/init-arch.h
58111 (bit_Prefer_PMINUB_for_stringop): New.
58112 (index_Prefer_PMINUB_for_stringop): Likewise.
58113 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
58114 bit_Prefer_PMINUB_for_stringop.
58115
7dc6bd90
UD
581162011-07-19 Ulrich Drepper <drepper@gmail.com>
58117
58118 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
58119 buffer64.
58120 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
58121 of casting of buffer.
58122 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
58123 buffer32 and buffer64.
58124 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
58125 writes instead of casting of buffer.
58126 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
58127 buffer32.
58128 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
58129 casting of buffer.
58130
e0e72284
AS
581312011-07-19 Andreas Schwab <schwab@redhat.com>
58132
58133 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
58134
feb1eb0b
UD
581352011-07-19 Ulrich Drepper <drepper@gmail.com>
58136
58137 * nscd/nscd.c (termination_handler): Don't do anything for a database
58138 if it has not yet been initialized.
58139
298711ff
UD
581402011-07-18 Ulrich Drepper <drepper@gmail.com>
58141
58142 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58143
581442011-07-15 Marek Polacek <mpolacek@redhat.com>
58145
58146 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58147
f9d68389
UD
581482011-07-18 Ulrich Drepper <drepper@gmail.com>
58149
58150 * po/nl.po: Update from translation team.
58151 * po/sv.po: Likewise.
58152
db290cf5
RM
581532011-07-16 Roland McGrath <roland@hack.frob.com>
58154
58155 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
58156 now disallowed by GCC.
5c550700 58157
fd5e21c7
RM
58158 * configure.in (use-default-link): Default to yes if a test -shared
58159 link meets our qualifications.
58160 * configure: Regenerated.
58161
5c550700
RM
58162 * config.make.in (output-format): New variable.
58163 * configure.in: Check for ld --print-output-format support.
58164 * configure: Regenerated.
58165 * Makerules ($(common-objpfx)format.lds)
58166 [$(output-format) != unknown]: Just use $(output-format),
58167 instead of the linker-script munging.
58168
9fa2c032
RM
581692011-07-14 Roland McGrath <roland@hack.frob.com>
58170
a6928d51
RM
58171 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
58172 of $(common-objpfx)shlib.lds.
58173 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
58174
661607b3
RM
58175 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
58176 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
58177
9fa2c032
RM
58178 * configure.in (-z relro check): Adjust test code to add a large
58179 writable data section after it.
58180 * configure: Regenerated.
58181
defe9061
RM
581822011-07-11 Roland McGrath <roland@hack.frob.com>
58183
58184 * configure.in (-z relro check): Fix test code to make the variable
58185 truly const.
58186 * configure: Regenerated.
58187
319b9ad4
UD
581882011-07-11 Ulrich Drepper <drepper@gmail.com>
58189
58190 * nscd/nscd.h (struct traced_file): Define.
58191 (struct database_dyn): Remove inotify_descr, reset_res, and filename
58192 elements. Add traced_files.
58193 (inotify_fd): Declare.
58194 (register_traced_file): Declare.
58195 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
58196 (inotify_fd): Export.
58197 (resolv_conf_descr): Remove.
58198 (nscd_init): Move inotify descriptor creation to main.
58199 Don't register files for notification here.
58200 (register_traced_file): New function.
58201 (invalidate_cache): Don't use reset_res to determine whether to call
58202 res_init, go through the list of registered files.
58203 (main_loop_poll): The inotify descriptors are now stored in the
58204 structures for the traced files.
58205 (main_loop_epoll): Likewise
58206 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
58207 to __nss_disable_nscd.
58208 * nscd/cache.c (prune_cache): There is no single inotify descriptor
58209 for a database anymore. Check the records for all the registered
58210 files instead.
58211 * nss/Makefile (libnss_files-routines): Add files-init.
58212 (libnss_db-routines): Add db-init.
58213 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
58214 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
58215 * nss/nss_db/db-init.c: New file.
58216 * nss/nss_files/files-init.c: New file.
58217 * nss/nsswitch.c (nss_load_library): New function. Broken out of
58218 __nss_lookup_function.
58219 (__nss_lookup_function): Call nss_load_library.
58220 (nss_load_all_libraries): New function.
58221 (__nss_disable_nscd): Take parameter with callback function for files
58222 to register. Set is_nscd. Load all the DSOs for the NSS modules
58223 used for the cached services.
58224 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
58225 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
58226 options for features to all the files in nscd.
58227
58228 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
58229
23bee3e8
RM
582302011-07-10 Roland McGrath <roland@hack.frob.com>
58231
58232 * csu/elf-init.c (__libc_csu_init): Comment typo.
58233
46a5b7f0
UD
582342011-07-09 Ulrich Drepper <drepper@gmail.com>
58235
58236 * po/pl.po: Update from translation team.
58237 * po/ja.po: Likewise.
58238 * po/ru.po: Likewise.
58239 * po/ko.po: Likewise.
58240 * po/fr.po: Likewise.
58241
d30cf5bb
RM
582422011-07-09 Roland McGrath <roland@hack.frob.com>
58243
113ddea4
RM
58244 * configure.in (.ctors/.dtors header and trailer check):
58245 Use an empirical test on a built program.
58246 * configure: Regenerated.
58247
574920b4
RM
58248 * configure.in (-z relro check): Use an empirical test on a built DSO.
58249 Detect, but do not require, on ia64.
58250 * configure: Regenerated.
58251
d30cf5bb
RM
58252 * configure.in (READELF): Find it with AC_CHECK_TOOL.
58253 Update tests that use readelf to use $READELF instead.
58254 * configure: Regenerated.
58255
8538fdb3
UD
582562011-07-08 Ulrich Drepper <drepper@gmail.com>
58257
58258 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
58259 if the result is not used.
58260
04d08991
AJ
582612011-07-05 Andreas Jaeger <aj@suse.de>
58262
58263 [BZ#9696]
58264 * stdlib/tst-strtod.c: Add testcase.
58265
de283087
AD
582662011-07-07 Ulrich Drepper <drepper@gmail.com>
58267
4e5f31c8 58268 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 58269 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
58270 The latter has a higher limit. Take additional parameter to pass to
58271 the new function.
58272 (__pathconf): Pass file to __statfs_link_max.
58273 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
58274 __statfs_link_max.
58275 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
58276 __statfs_link_max.
58277
de283087
AD
58278 [BZ #12868]
58279 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
58280 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58281 Handle Lustre.
58282 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
58283 (__statfs_filesize_max): Likewise.
58284 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
58285
c75fa153
AJ
582862011-07-05 Andreas Jaeger <aj@suse.de>
58287
58288 * resolv/res_comp.c (dn_skipname): Remove unused variable.
58289
1a544854
UD
582902011-07-06 Marek Polacek <mpolacek@redhat.com>
58291
58292 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
58293 `status' variable.
58294 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
58295 Likewise.
58296
6f0eec67
UD
582972011-07-04 H.J. Lu <hongjiu.lu@intel.com>
58298
58299 * Makefile (strop-tests): Add strncat.
58300 * string/test-strncat.c: New file.
58301
aae30307
UD
583022011-06-30 Marek Polacek <mpolacek@redhat.com>
58303
58304 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
58305
c0cfb5eb
UD
583062011-06-21 Andreas Jaeger <aj@suse.de>
58307
58308 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
58309 Copy rule from iconvdata/Makefile.
58310
01636b21
UD
583112011-07-06 Ulrich Drepper <drepper@gmail.com>
58312
58313 [BZ #12922]
58314 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
58315 but no long options are defined, just return 'W'.
58316
9895c8bc
UD
583172011-06-22 Marek Polacek <mpolacek@redhat.com>
58318
58319 [BZ #9696]
58320 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
58321
5d4cf042
UD
583222011-07-06 Ulrich Drepper <drepper@gmail.com>
58323
58324 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
58325 netgroups to read.
960e5535 58326 (innetgr): Likewise.
5d4cf042 58327
751eb97e
RM
583282011-07-05 Roland McGrath <roland@hack.frob.com>
58329
58330 * config.make.in (install_root): Default to $(DESTDIR).
58331
f15f1e45
UD
583322011-07-05 Ulrich Drepper <drepper@gmail.com>
58333
58334 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
58335
4e34ac6a
RM
583362011-07-02 Roland McGrath <roland@hack.frob.com>
58337
5e9b6af4
RM
58338 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
58339
84f9ea0f
RM
58340 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
58341 containing directory rather than embedding absolute directory names.
58342
ea5ee9f7
RM
58343 * scripts/check-local-headers.sh: Rewritten using awk.
58344 Match by word, not by line. Print error messages for matches.
58345 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
58346
1b74661a
RM
58347 * Makerules [shlib-lds-flags empty]:
58348 ($(common-objpfx)libc_pic.opts): New target.
58349 ($(common-objpfx)libc_pic.os.clean): New target.
58350 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
58351
58352 * config.make.in (OBJCOPY): New variable.
58353 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
58354 * configure: Regenerated.
58355
f781ef40
RM
58356 * config.make.in (use-default-link): New variable.
58357 * configure.in (use_default_link): Grok --with-default-link to set it.
58358 * configure: Regenerated.
58359 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
58360 (shlib-lds, shlib-lds-flags): Define to empty.
58361
2d4fa81e
RM
58362 * Makerules (shlib-lds): New variable.
58363 (shlib-lds-flags): New variable.
58364 (build-shlib, build-moduile, build-module-asneeded): Use it.
58365 ($(common-objpfx)libc.so): Use $(shlib-lds).
58366 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
58367 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
58368
31fffa6b
RM
58369 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
58370 DT_FLAGS/DT_FLAGS_1 with zero flags.
58371
4e34ac6a
RM
58372 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
58373 linker script munging.
58374
fcfc776b
UD
583752011-07-02 Ulrich Drepper <drepper@gmail.com>
58376
58377 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
58378 as 128-bit value.
58379 * crypt/sha512.c (sha512_process_block): Perform total addition using
58380 128-bit if possible.
58381 (__sha512_finish_ctx): Likewise.
58382 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
58383 as 64-bit value.
58384 * crypt/sha256.c (SWAP64): Define.
58385 (sha256_process_block): Perform total addition using 64-bit if
58386 possible.
58387 (__sha256_finish_ctx): Likewise.
58388
99231d9a
UD
583892011-07-01 Ulrich Drepper <drepper@gmail.com>
58390
58391 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
58392 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58393 * nscd/hstcache.c (cache_addhst): Likewise.
58394 * nscd/grpcache.c (cache_addgr): Likewise.
58395 * nscd/aicache.c (addhstaiX): Likewise
58396 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
58397
445b4a53
TK
583982011-07-01 Thorsten Kukuk <kukuk@suse.de>
58399
58400 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
58401 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58402 * nscd/hstcache.c (cache_addhst): Likewise.
58403 * nscd/grpcache.c (cache_addgr): Likewise.
58404 * nscd/aicache.c (addhstaiX): Likewise
58405
6d4d8e8e
AS
584062011-07-01 Andreas Schwab <schwab@redhat.com>
58407
58408 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
58409 domain only when needed.
58410
89f654c5
AS
584112011-06-30 Andreas Schwab <schwab@redhat.com>
58412
58413 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
58414 is always restored.
58415
cf3b23ff
UD
584162011-06-29 Ulrich Drepper <drepper@gmail.com>
58417
58418 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
58419 are re-adding the entry.
58420 * nscd/servicescache.c (cache_addserv): Likewise.
58421
751626f9
AJ
584222011-06-30 Aurelien Jarno <aurelien@aurel32.net>
58423
58424 * sysdeps/generic/dl-irel.h: fix protection against multiple
58425 inclusions.
58426 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
58427
9113ea1f
UD
584282011-06-28 Ulrich Drepper <drepper@gmail.com>
58429
5c0b8d90
UD
58430 [BZ #12935]
58431 * malloc/memusage.sh: Fix quoting in message.
58432 * debug/xtrace.sh: Likewise.
58433
9113ea1f
UD
58434 * configure.in: Remove support for --experimental-malloc option, make
58435 it the default.
58436 * config.make.in: Likewise.
58437 * malloc/Makefile: Likewise.
58438
a4172181
AS
584392011-06-27 Andreas Schwab <schwab@redhat.com>
58440
58441 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
58442 two-byte characters.
58443
78a7eee7
RM
584442011-06-27 Roland McGrath <roland@hack.frob.com>
58445
62bede13
RM
58446 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
58447 AC_CACHE_CHECK invocation.
58448 * configure: Regenerated.
58449
78a7eee7
RM
58450 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
58451
5ce33a62
UD
584522011-06-27 Ulrich Drepper <drepper@gmail.com>
58453
034807a9
UD
58454 [BZ #12350]
58455 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
58456 bit from old_res_options.
58457
4902da17
UD
58458 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
58459
5ce33a62
UD
58460 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
58461 value type for setfct.
58462
c2344f56
L
584632011-06-23 H.J. Lu <hongjiu.lu@intel.com>
58464
58465 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58466 __gettimeofday instead of gettimeofday.
58467
68468076
UD
584682011-06-26 Ulrich Drepper <drepper@gmail.com>
58469
58470 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
58471
acb0d739
L
584722011-06-24 H.J. Lu <hongjiu.lu@intel.com>
58473
58474 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
58475
58476 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
58477 info.
58478
8912479f
L
584792011-06-22 H.J. Lu <hongjiu.lu@intel.com>
58480
58481 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58482 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58483 strcpy-sse2-unaligned strncpy-sse2-unaligned
58484 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
58485 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
58486 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
58487 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
58488 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
58489 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
58490 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
58491 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
58492 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
58493 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
58494 (STRCPY): Support SSE2 and SSSE3 versions.
58495
d5495a11
UD
584962011-06-24 Ulrich Drepper <drepper@gmail.com>
58497
58498 [BZ #12874]
58499 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
58500 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
58501 kernels which artificially limit size of requests.
58502
0b1cbaae
L
585032011-06-22 H.J. Lu <hongjiu.lu@intel.com>
58504
58505 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58506 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58507 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
58508 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
58509 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
58510 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
58511 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
58512 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
58513 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
58514 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
58515 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
58516 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
58517 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
58518 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
58519 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
58520 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58521 Enable unaligned load optimization for Intel Core i3, i5 and i7
58522 processors.
58523 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
58524 Define.
58525 (index_Fast_Unaligned_Load): Define.
58526 (HAS_FAST_UNALIGNED_LOAD): Define.
58527
07f494a0
MP
585282011-06-23 Marek Polacek <mpolacek@redhat.com>
58529
58530 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
58531
fa3fc0fe
UD
585322011-06-22 Ulrich Drepper <drepper@gmail.com>
58533
58534 [BZ #12907]
58535 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
58536 until it is clear that the information is realy needed.
58537 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
58538
e12df166
AS
585392011-06-22 Andreas Schwab <schwab@redhat.com>
58540
58541 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
58542
852eb34d
UD
585432011-06-22 Ulrich Drepper <drepper@gmail.com>
58544
84e2a551
UD
58545 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58546 /sys/devices/system/cpu/online if it is usable.
58547
852eb34d
UD
58548 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
58549 reading the information from the /proc filesystem to once a second.
58550
6e502e19
UD
585512011-06-21 Andreas Jaeger <aj@suse.de>
58552
58553 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
58554 NULL after inclusion of kernel headers.
58555
75d39ff2
UD
585562011-06-21 Ulrich Drepper <drepper@gmail.com>
58557
51f9aa6a
UD
58558 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
58559 calls to internal_setent.
58560
c0244a9d
UD
58561 [BZ #12885]
58562 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
58563 addresses using gethostbyname4_r ignore IPv4 addresses.
58564
c5e3c2ae
UD
58565 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
58566 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
58567
75d39ff2
UD
58568 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
58569
42675c6f
DM
585702011-06-20 David S. Miller <davem@davemloft.net>
58571
58572 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
58573 inclusions.
58574 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
58575
58576 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
58577 (elf_irel): Use it.
58578 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
58579 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
58580 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
58581 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
58582 * sysdeps/x86_64/dl-irel.h: Likewise.
58583
58584 * elf/dl-runtime.c: Use elf_ifunc_invoke.
58585 * elf/dl-sym.c: Likewise.
58586
57912a71
UD
585872011-06-15 Ulrich Drepper <drepper@gmail.com>
58588
58589 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
58590 need to dereference resplen2.
58591
ee22793d
AS
585922011-06-14 Andreas Schwab <schwab@redhat.com>
58593
58594 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
58595
a9e836b0
UD
585962011-06-15 Ulrich Drepper <drepper@gmail.com>
58597
77fb9117
UD
58598 * Makeconfig: Define vardbdir and inst_vardbdir.
58599 * nss/Makefile: Add rules to install db-Makefile.
58600
40c1b22c
UD
58601 * nss/nss_db/db-XXX.c: Cleanup.
58602
9f2da732
UD
58603 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
58604 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
58605 GLIBC_PRIVATE.
58606 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
58607 * nss/makedb.c: Implement -g option to specify that value strings
58608 are generated and should not be added to table iterated over for
58609 get*ent calls.
58610 * nss/nss_db/db-initgroups.c: New file.
58611
82e9a1f7
UD
58612 * nss/getent.c: Add support for initgroups lookups through getgrouplist
58613 interface.
58614
c41af17e
UD
58615 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
58616 (internal_getgrouplist): Adjust to name change.
58617 Update use_initgroups_entry if this is not the first call.
58618 * nss/databases.def: Add initgroups entry.
58619
a9e836b0
UD
58620 * nss/makedb.c (compute_tables): Check result of multiple hash table
58621 sizes to minimize maximum chain length.
58622
2666d441
UD
586232011-06-14 Ulrich Drepper <drepper@gmail.com>
58624
58625 * Versions.def: Add entry for libnss_db.
58626 * shlib-versions: Likewise.
58627 * nss/Makefile: Add rules to build libnss_db.
58628 * nss/Versions: Add libnss_db information. Organize libnss_files
58629 entries better.
58630 * nss/db-Makefile: Add gshadow support. Change rules for the new
58631 makedb progra. Some minor improvements to generate smaller files.
58632 * nss/nss_db/nss_db.h: Move NSS database header data structures to
58633 here from...
58634 * nss/makedb.c: ...here.
58635 Improve database format to be smaller and require less memory at
58636 runtime.
58637 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
58638 db anymore.
58639 * nss/nss_db/db-netgrp.c: Likewise.
58640 * nss/nss_db/db-open.c: Likewise.
58641 * nss/nss_files/flies-XXX.x: Adjust comments.
58642 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
58643 * nss/nss_files/files-grp.c: Likewise.
58644 * nss/nss_files/files-hosts.c: Likewise.
58645 * nss/nss_files/files-network.c: Likewise.
58646 * nss/nss_files/files-proto.c: Likewise.
58647 * nss/nss_files/files-pwd.c: Likewise.
58648 * nss/nss_files/files-rpc.c: Likewise.
58649 * nss/nss_files/files-service.c: Likewise.
58650 * nss/nss_files/files-sgrp.c: Likewise.
58651 * nss/nss_files/files-spwd.c: Likewise.
58652 * nss/nss_db/db-alias.c: Removed.
58653 * nss/nss_db/dummy-db.h: Removed.
58654
9ee76b5a
UD
586552011-06-02 Ulrich Drepper <drepper@gmail.com>
58656
58657 * nss/makedb.c: Rewritten to not use database library.
58658 * nss/Makefile: Update to build new makedb program.
58659
c71ca1f8
AJ
586602011-06-14 Andreas Jaeger <aj@suse.de>
58661
58662 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
58663 memset declaration.
58664
3154bfb8
UD
586652011-06-10 Andreas Schwab <schwab@redhat.com>
58666
58667 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
58668 tmpbuf.
58669
b350afab
RM
586702011-06-10 Roland McGrath <roland@hack.frob.com>
58671
decd4e50
RM
58672 * Makerules (shlib.lds): Fail if the linker script comes out empty.
58673 * elf/Makefile ($(objpfx)ld.so): Likewise.
58674
5615eaf2
RM
58675 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
58676 Don't list ld.so twice in dependencies.
58677
58678 * posix/bug-regex31.c: Include <stdlib.h>.
58679
58680 * nscd/hstcache.c (cache_addhst): Remove unused variable.
58681
58682 * nis/nss_compat/compat-spwd.c
58683 (getspent_next_nss_netgr): Remove unused variable.
58684 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
58685
58686 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
58687 nonmembers" output to use the right array.
58688
58689 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
58690
58691 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
58692
58693 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
58694 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
58695 * catgets/gencat.c (read_input_file): Likewise.
58696 * locale/programs/locarchive.c (enlarge_archive): Likewise.
58697
58698 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
58699 variable definition inside #if's controlling its use.
58700
58701 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
58702
58703 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
58704
58705 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
58706
58707 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
58708 unreachable code.
58709
58710 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
58711
b68e08db
RM
58712 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
58713 * configure: Regenerated.
58714
b350afab
RM
58715 * Makerules: Revert last change.
58716 * elf/Makefile: Likewise.
58717
28368601
RM
587182011-06-09 Roland McGrath <roland@hack.frob.com>
58719
58720 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
58721 * elf/Makefile ($(objpfx)librtld.os): Likewise.
58722 (reloc-link): Likewise.
58723
11988f8f
UD
587242011-06-09 Ulrich Drepper <drepper@gmail.com>
58725
58726 * elf/Makefile: Add rules to build pldd.
58727 * elf/pldd.c: New file.
58728 * elf/pldd-xx.c: New file.
58729
e80fab37
UD
587302011-06-07 Ulrich Drepper <drepper@gmail.com>
58731
58732 * version.h: Update for 2.15 development version.
58733
9b849836
DM
587342011-06-07 David S. Miller <davem@davemloft.net>
58735
58736 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
58737 ifuncs.
58738 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
58739 elf_machine_lazy_rel): Likewise.
58740 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
58741 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
58742 elf_machine_lazy_rel): Likewise.
58743 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
58744 dl_hwcap via passed in argument.
58745 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
58746 Likewise.
58747
5a31b283
AK
587482011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58749
58750 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
58751
069e52f8
RM
587522011-06-06 Roland McGrath <roland@hack.frob.com>
58753
58754 [BZ #12849]
58755 * manual/fdl-1.1.texi: New file, verbatim from:
58756 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
58757 * manual/lgpl-2.1.texi: New file, verbatim from:
58758 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
58759 * manual/Makefile (licenses): New variable, list those new file names.
58760 (texis): Use it.
58761 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
58762
58763 * manual/fdl.texi: File removed.
58764 * manual/lesser.texi: File removed.
58765 * manual/libc.texinfo (Copying, Documentation License):
58766 Use new @include file names, put @appendix directive before @include.
58767
f16846a5
JJ
587682011-06-04 Jakub Jelinek <jakub@redhat.com>
58769
58770 [BZ #12841]
58771 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
58772 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
58773 (mq_open): Add __NTH.
58774
3d29045b
L
587752011-06-02 H.J. Lu <hongjiu.lu@intel.com>
58776
58777 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58778 Assume Intel Core i3/i5/i7 processor if AVX is available.
58779
8c297311
UD
587802011-05-31 Ulrich Drepper <drepper@gmail.com>
58781
58782 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
58783 typo.
58784
c8fc0c91
UD
587852011-05-31 Andreas Schwab <schwab@redhat.com>
58786
58787 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
58788 memory. Use alloca_account. Fix memory leak when retrying.
58789
5b27a807
UD
587902011-05-31 Ulrich Drepper <drepper@gmail.com>
58791
356f8bc6
UD
58792 * version.h (RELEASE): Bump for 2.14 release.
58793 * include/features.h (__GLIBC_MINOR__): Bump to 14.
58794
5b27a807
UD
58795 * config.make.in (RANLIB): Remove entry.
58796
01f16ab0
UD
587972011-05-30 Ulrich Drepper <drepper@gmail.com>
58798
41fce8bd
UD
58799 * po/Makefile (po-sed-cmd): Add ksh to extensions.
58800 (libc.pot): Work around missing support for .ksh extension in xgettext.
58801
4769ae77
UD
58802 [BZ #12684]
58803 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
58804 if both request failed.
58805 (send_dg): In case of server errors clear resplen or *resplen2.
58806
6b1e7d19
UD
58807 [BZ #12454]
58808 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
58809 when there are multiple maps.
58810 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
58811 (_dl_fini): Remove test here.
58812
01f16ab0
UD
58813 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
58814
b1ebd700
UD
588152011-05-29 Ulrich Drepper <drepper@gmail.com>
58816
7ae22829
UD
58817 [BZ #12350]
58818 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
58819 bit from old_res_options.
58820 (gaih_inet): Likewise.
58821
553149f6 58822 [BZ #11099]
18a84741 58823 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
58824 as signed.
58825
652ffab1
UD
58826 * resolv/res_init.c (res_setoptions): Make the code more compact.
58827
16985fd0
UD
58828 [BZ #11558]
58829 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
58830 set RES_USEVC.
58831
0464f746
UD
58832 [BZ #11634]
58833 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
58834
7d17596c
UD
58835 * malloc/malloc.h: Mark malloc hook variables as deprecated.
58836
cf6bbbd7
UD
58837 [BZ #11781]
58838 * malloc/malloc.h: Declare malloc hook variables as volatile.
58839
13f1ab36
UD
58840 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
58841 in last patch.
58842
b1ebd700
UD
58843 [BZ #11799]
58844 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 58845 raise in the comment.
80e2212d
UD
58846 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
58847 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
58848 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 58849
ce67228d
UD
588502011-05-28 Ulrich Drepper <drepper@gmail.com>
58851
8887a920
UD
58852 [BZ #12811]
58853 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
58854 grow the buffers more if it already has to be sufficient.
58855 (build_wcs_upper_buffer): Likewise.
58856 * posix/regexec.c (check_matching): Likewise.
58857 (clean_state_log_if_needed): Likewise.
58858 (extend_buffers): Don't enlarge buffers beyond size of the input
58859 buffer.
58860 Patches mostly by Emil Wojak <emil@wojak.eu>.
58861 * posix/bug-regex32.c: New file.
58862 * posix/Makefile (tests): Add bug-regex32.
58863
4f031072
UD
58864 * locale/findlocale.c (_nl_find_locale): Return right away if
58865 _nl_explode_name failed.
58866 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
58867
d0478f0c
UD
58868 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
58869
de81b246
UD
58870 * debug/xtrace.sh: Unify messages.
58871 * malloc/memusage.sh: Likewise.
58872
c738465a
UD
58873 [BZ #12813]
58874 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
58875 time symbol from vDSO. Substitute with vsyscall if not available.
58876 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
58877 __vdso_time.
58878
f1f929d7
UD
58879 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
58880 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
58881 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
58882 Add sendmmsg and internal_sendmmsg.
58883 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
58884 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
58885 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
58886
ce67228d
UD
58887 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
58888 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
58889 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
58890
e57420c6
UD
588912011-05-27 Ulrich Drepper <drepper@gmail.com>
58892
a8509ca5
UD
58893 [BZ #12813]
58894 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
58895 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
58896 available.
58897 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
58898 __vdso_getcpu.
58899
e57420c6
UD
58900 [BZ #12814]
58901 * iconvdata/Makefile (tests): Add bug-iconv9.
58902 * iconvdata/bug-iconv9.c: New file.
58903
4d07db15
AS
589042011-05-27 Andreas Schwab <schwab@redhat.com>
58905
58906 [BZ #12814]
58907 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
58908
ea486f69
JJ
589092011-05-25 Jakub Jelinek <jakub@redhat.com>
58910
58911 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
58912 (struct user_regs_struct): Change intcs field back to cs.
58913
6f038433
UD
589142011-05-25 Ulrich Drepper <drepper@gmail.com>
58915
58916 * po/ja.po: Update from translation team.
58917
67f86a25
UD
589182011-05-23 Ulrich Drepper <drepper@gmail.com>
58919
58920 [BZ #12795]
58921 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
58922 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
58923
def7fbd6
AS
589242011-05-20 Andreas Schwab <schwab@redhat.com>
58925
58926 * stdlib/longlong.h: Update from GCC.
58927
f50ef8f1
AS
589282011-05-23 Andreas Schwab <schwab@redhat.com>
58929
58930 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
58931 parameter name.
58932 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
58933 Add parameter name.
58934 (__sysconf): Pass it down.
58935
de7ce8f1
UD
589362011-05-22 Ulrich Drepper <drepper@gmail.com>
58937
f2962a71
UD
58938 [BZ #12671]
58939 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
58940 some situations.
58941 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
58942 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
58943 add in in __libc_use_alloca calls. Adjust callers.
58944 (glob): Use malloc in some situations.
58945
de7ce8f1
UD
58946 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
58947 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
58948 pltexit.
58949
aec84f53
UD
589502011-05-21 Ulrich Drepper <drepper@gmail.com>
58951
05bb4a68
UD
58952 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
58953 and CLOCK_BOOTTIME_ALARM.
58954
7ea72f99
UD
58955 [BZ #12782]
58956 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
58957 is returned.
58958
7e4afad5
UD
58959 * string/_strerror.c (__strerror_r): Print negative errors as signed
58960 numbers.
58961
8e211fec
UD
58962 [BZ #12777]
58963 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
58964 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
58965 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
58966
f7d82dc9
UD
58967 * configure.in: Fix typo in redirection and correct removal of test
58968 files in two cases.
58969
cc9e536d
UD
58970 [BZ #12788]
58971 * locale/setlocale.c (new_composite_name): Fix test to check for
58972 identical name of all categories.
58973
aec84f53
UD
58974 [BZ #12792]
58975 * libio/filedoalloc.c (local_isatty): New function.
58976 (_IO_file_doallocate): Use local_isatty.
58977 * stdio-common/perror.c (perror): In case a new stream is used
58978 forward the stream error.
58979 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
58980 error flag.
58981
78e64fdc
RT
589822011-05-20 Ulrich Drepper <drepper@gmail.com>
58983
34a9094f
UD
58984 [BZ #11869]
58985 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
58986 alloca.
58987 * include/alloca.h (extend_alloca_account): Define.
58988
78e64fdc
RT
58989 [BZ #11857]
58990 * posix/regex.h: Fix comments with documentation of user-accessible
58991 fields after compilation and describe correct free'ing of pattern
58992 after re_compile_pattern.
58993 Patch by Reuben Thomas <rrt@sc3d.org>.
58994
457bddfc
RA
589952011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
58996
58997 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
58998 and -mno-altivec to prevent the compiler from using Altivec and/or
58999 VSX instructions when the corresponding registers are not available.
59000
a4527b51
AS
590012011-05-19 Andreas Schwab <schwab@redhat.com>
59002
59003 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
59004
ed690b2f
UD
590052011-05-19 Ulrich Drepper <drepper@gmail.com>
59006
59007 * libio/freopen.c (freopen): Use __dup2, not dup2.
59008 * libio/freopen64.c (freopen64): Likewise.
59009
8db73634
L
590102011-05-17 H.J. Lu <hongjiu.lu@intel.com>
59011
59012 [BZ #12775]
59013 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
59014 * math/Makefile (tests): Add test-powl.
59015 (CFLAGS-test-powl.c): Define.
59016 * math/test-powl.c: New file.
59017
0a197a9d
L
590182011-05-16 H.J. Lu <hongjiu.lu@intel.com>
59019
59020 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
59021
ee30c380
UD
590222011-05-17 Ulrich Drepper <drepper@gmail.com>
59023
59024 [BZ #11837]
59025 * iconvdata/gb18030.c: Update to GB18020-2005.
59026
6ce75379
UD
590272011-05-16 Ulrich Drepper <drepper@gmail.com>
59028
a4b89fd8
AR
59029 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
59030 RE_SYNTAX_POSIX_AWK): Update to match recent development.
59031 Patch by Aharon Robbins <arnold@skeeve.com>.
59032
ea389b12
UD
59033 [BZ #11892]
59034 * stdlib/putenv.c (putenv): Don't always create copy of the variable
59035 on the stack.
59036
68a3f91f
UD
59037 [BZ #11895]
59038 * misc/pselect.c (__pselect): Handle timeout value errors hidden
59039 through underflows.
59040
15cc7dd1
UD
59041 [BZ #12766]
59042 * misc/error.c (error_at_line): Ensure file_name and old_file_name
59043 point to strings before performing equality test for error_one_per_line
59044 mode.
59045
f3799213
UD
59046 [BZ #11697]
59047 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
59048
d79a9c94
UD
59049 [BZ #11820]
59050 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59051 (struct user_fpregs_struct): Avoid __uint*_t types.
59052
56e5eb46
UD
59053 [BZ #6420]
59054 * malloc/mtrace.c (tr_where): Add additional parameter to point to
59055 symbol info. Use it instead of calling _dl_addr locally.
59056 (lock_and_info): New function.
59057 (tr_freehook): Call lock_and_info and pass symbol info as additional
59058 parameter to tr_where.
59059 (tr_mallochook): Likewise.
59060 (tr_reallochook): Likewise.
59061 (tr_memalignhook): Likewise.
59062
6ce75379
UD
59063 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
59064 used and couldn't be at all thread-safe.
59065
f8a3b5bf
UD
590662011-05-15 Ulrich Drepper <drepper@gmail.com>
59067
94b7cc37
UD
59068 * libio/freopen.c (freopen): Don't close old file descriptor
59069 before the new one is opened. Instead dup the new file descriptor
59070 to the old one after the new stream is created.
59071 * libio/freopen64.c (freopen64): Likewise.
59072 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
59073 * libio/fileops.c (_IO_new_file_close_it): Handle new
59074 _IO_FLAGS2_NOCLOSE flag.
59075 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
59076 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
59077 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
59078 _IO_FLAGS2_NOCLOSE flag.
59079 * include/unistd.h: Add hidden_proto for dup3.
59080 Define __have_dup3.
59081 * io/dup3.c: Define hidden symbol.
59082 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
59083
bd25564e
UD
59084 [BZ #7101]
59085 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
59086 when an incomplete long option is used.
59087 * posix/tst-getopt_long1.c: New file.
59088 * posix/Makefile (tests): Add tst-getopt_long1.
59089
c84cfef4
UD
59090 [BZ #10138]
59091 * scripts/config.guess: Update from autoconf-2.68.
59092 * scripts/config.sub: Likewise.
59093
3b85df27
UD
59094 [BZ #10157]
59095 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
59096 tests into ...
59097 (has_cpuclock): ...this. New function.
59098 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
59099 macro here based on has_cpuclock code.
59100
15a856b1
UD
59101 [BZ #10149]
59102 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59103 First byte (not low byte) is now always NUL.
59104 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
59105
05f399e6
UD
59106 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59107 Use non-cancelable interfaces.
59108
10a52685 59109 [BZ #9809]
94ecc67d
UD
59110 * locale/iso-639.def: Add entry for Sorani.
59111
f8a3b5bf
UD
59112 [BZ #11901]
59113 * include/stdlib.h: Move include protection to the right place.
59114 Define abort_msg_s. Declare __abort_msg with it.
59115 * stdlib/abort.c (__abort_msg): Adjust type.
59116 * assert/assert.c (__assert_fail_base): New function. Majority
59117 of code from __assert_fail. Allocate memory for __abort_msg with
59118 mmap.
59119 (__assert_fail): Now call __assert_fail_base.
59120 * assert/assert-perr.c: Remove bulk of implementation. Use
59121 __assert_fail_base.
59122 * include/assert.hL Declare __assert_fail_base.
59123 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
59124 mmap.
59125 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
59126
1af4e298
UD
591272011-05-14 Ulrich Drepper <drepper@gmail.com>
59128
f8a3b5bf 59129 [BZ #11952]
d26dfc60
MG
59130 [BZ #12453]
59131 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
59132 until all modules are registered in the DTV.
59133 * elf/Makefile: Add rules to build and run tst-tls19.
59134 * elf/tst-tls19.c: New file.
59135 * elf/tst-tls19mod1.c: New file.
59136 * elf/tst-tls19mod2.c: New file.
59137 * elf/tst-tls19mod3.c: New file.
59138 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
59139
2fc54d6f
UD
59140 [BZ #12083]
59141 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
59142 correctly.
59143
98d76b46
UD
59144 [BZ #12601]
59145 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
59146 two-byte sequence errors.
59147 * iconvdata/Makefile (tests): Add bug-iconv8.
59148 * iconvdata/bug-iconv8.c: New file.
59149
da3c19ef
UD
59150 [BZ #12626]
59151 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
59152 buf2 definition.
59153
ca408c15
UD
59154 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
59155
d6f67f7d
UD
59156 [BZ #12432]
59157 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
59158 (dummy_getcfa): New function.
59159 (init): Get _Unwind_GetCFA address, use dummy if not found.
59160 (backtrace_helper): In recursion check, also check whether CFA changes.
59161 (__backtrace): Completely initialize arg.
59162
1af4e298 59163 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
59164 storing incomplete byte sequence in state object. Avoid testing for
59165 guaranteed too small input if we know there is enough data available.
1af4e298 59166
da62f81b
AS
591672011-05-11 Andreas Schwab <schwab@redhat.com>
59168
59169 * Makeconfig (+link-pie): Indent.
59170 * Rules (binaries-pie): Define if $(have-fpie) and
59171 $(build-shared).
59172 (binaries-shared): Also filter out $(binaries-pie).
59173 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
59174 * nscd/Makefile (others-pie): Add nscd.
59175 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
59176 ($(objpfx)nscd): Remove command override.
59177 * login/Makefile (others-pie): Add pt_chown.
59178 ($(objpfx)pt_chown): Remove command override.
59179 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
59180 remove command overrides.
59181
fcabc0f8
UD
591822011-05-13 Ulrich Drepper <drepper@gmail.com>
59183
20030ae6
UD
59184 * libio/tst_putwc.c: Fix error messages.
59185
fcabc0f8
UD
59186 [BZ #12724]
59187 * libio/fileops.c (_IO_new_file_close_it): Always flush when
59188 currently writing and seek to current position when not.
59189 * libio/Makefile (tests): Add bug-fclose1.
59190 * libio/bug-fclose1.c: New file.
59191
320a5dc0
PB
591922011-05-12 Ulrich Drepper <drepper@gmail.com>
59193
59194 [BZ #12511]
59195 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
59196 don't set DF_1_NODELETE here.
59197 (do_lookup_x): When entering new entry test for copy relocation
59198 and if necessary set DF_1_NODELETE flag.
59199 * elf/tst-unique4.cc: New file.
59200 * elf/tst-unique4.h: New file.
59201 * elf/tst-unique4lib.cc: New file.
59202 * elf/Makefile: Add rules to build and run tst-unique4.
59203 Patch by Piotr Bury <pbury@goahead.com>.
59204
22836f52
UD
592052011-05-11 Ulrich Drepper <drepper@gmail.com>
59206
f574184a
UD
59207 [BZ #12052]
59208 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
59209
e1fb097f
UD
59210 [BZ #12625]
59211 * misc/mntent_r.c (addmntent): Flush the stream after the output
59212
22836f52
UD
59213 [BZ #12393]
59214 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
59215 (is_trusted_path_normalize): Skip initial colon. Append slash
59216 to empty buffer. Duplicate is_trusted_path code but allow
59217 constructed patch to be prefix.
59218 (is_dst): Allow $ORIGIN followed by /.
59219 (_dl_dst_substitute): Correct clearing of check_for_trusted.
59220 Correct testing of result of is_trusted_path_normalize
59221 (decompose_rpath): Fix warning.
59222
7b3b0b2a
UD
592232011-05-10 Ulrich Drepper <drepper@gmail.com>
59224
59225 [BZ #11257]
59226 * grp/initgroups.c (internal_getgrouplist): When we found the service
59227 list through the initgroups entry in nsswitch.conf do not always
59228 continue on a successful lookup. Don't always use the
eac80ce2 59229 __nss_group_database value if it is set.
7b3b0b2a
UD
59230 * nss/nsswitch.conf (initgroups): Change action for successful db
59231 lookup to continue for compatibility.
59232
2a81eaa5
UD
592332011-05-09 Ulrich Drepper <drepper@gmail.com>
59234
be97a69e
UD
59235 [BZ #11532]
59236 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
59237 and CP774 modules.
59238 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
59239 and CP774 modules.
59240 * iconvdata/tst-tables.sh: Likewise.
59241 * iconvdata/cp770.c: New file.
59242 * iconvdata/cp771.c: New file.
59243 * iconvdata/cp772.c: New file.
59244 * iconvdata/cp773.c: New file.
59245 * iconvdata/cp774.c: New file.
59246 * iconvdata/testdata/CP770: New file.
59247 * iconvdata/testdata/CP770..UTF8: New file.
59248 * iconvdata/testdata/CP771: New file.
59249 * iconvdata/testdata/CP771..UTF8: New file.
59250 * iconvdata/testdata/CP772: New file.
59251 * iconvdata/testdata/CP772..UTF8: New file.
59252 * iconvdata/testdata/CP773: New file.
59253 * iconvdata/testdata/CP773..UTF8: New file.
59254 * iconvdata/testdata/CP774: New file.
59255 * iconvdata/testdata/CP774..UTF8: New file.
59256
59257 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
59258 END CHARMAP line.
59259 * iconvdata/gen-8bit-gap.sh: Likewise.
59260 * iconvdata/gen-8bit.sh: Likewise.
59261
c1e9e399
UD
59262 * locale/iso-639.def: Add ary entry.
59263
24c55fb3 59264 [BZ #11258]
96b4b1b0
UD
59265 * locale/C-translit.h.in: Add U20A1 transliteration.
59266
bdc2f971
KB
59267 [BZ #12178]
59268 * locale/iso-639.def: Add wae entry.
59269 Patch by Kevin Bortis <bortis@translate-wae.ch>.
59270
2952b117
UD
59271 [BZ #12545]
59272 * locale/programs/localedef.c (construct_output_path): Use ssize_t
59273 for n.
59274
2a81eaa5
UD
59275 [BZ #12711]
59276 * locale/C-translit.h.in: Add entry for U20B9.
59277 Patch by pravin.d.s@gmail.com.
59278
28377d1b
UD
592792011-05-08 Ulrich Drepper <drepper@gmail.com>
59280
7fb90fb8
UD
59281 [BZ #12713]
59282 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
59283 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
59284 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
59285 in rtld. Use *stat64.
7fb90fb8 59286 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 59287 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 59288 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
59289 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
59290 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
59291 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
59292 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
59293 __fstatat64 macros.
7fb90fb8
UD
59294 * include/dirent.h: Add libc_hidden_proto for rewinddir.
59295 * dirent/rewinddir.c: Add libc_hidden_def.
59296 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 59297 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 59298
28377d1b
UD
59299 * include/dirent.h (__alloc_dir): Add flags parameter.
59300 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
59301 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
59302 __alloc_dir.
59303 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
59304 from fdopendir if O_CLOEXEC is already set.
59305
66bdbaa4
AM
593062011-03-15 Alan Modra <amodra@gmail.com>
59307
59308 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
59309 l_tls_firstbyte_offset non-zero. Save padding offset in
59310 l_tls_firstbyte_offset for later use.
59311 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
59312 freeing static tls block.
59313
95721191
JN
593142011-03-05 Jonathan Nieder <jrnieder@gmail.com>
59315
59316 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
59317 where #ifdef was intended. The intent is to prevent ARG_MAX from
59318 being defined by the kernel headers.
59319
f87dfb1f
UD
593202011-05-07 Ulrich Drepper <drepper@gmail.com>
59321
59322 [BZ #12734]
59323 * resolv/resolv.h: Define RES_NOTLDQUERY.
59324 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
59325 no-tld-query and set RES_NOTLDQUERY.
59326 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
59327 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
59328 modern BIND to search name as TLD unless forbidden.
59329
47c3cd7a
UD
593302011-05-07 Petr Baudis <pasky@suse.cz>
59331 Ulrich Drepper <drepper@gmail.com>
59332
59333 [BZ #12393]
59334 * elf/dl-load.c (fillin_rpath): Move trusted path check...
59335 (is_trusted_path): ...to here.
c1e9ea35 59336 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 59337 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 59338 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 59339
8a35c912
PP
593402011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
59341
59342 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
59343 __BEGIN/__END_DECLS.
59344
acd41f47
UD
593452011-05-06 Ulrich Drepper <drepper@gmail.com>
59346
59347 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
59348 NSS_STATUS_NOTFOUND if no record was found.
59349
597df647
AS
593502011-05-05 Andreas Schwab <schwab@redhat.com>
59351
59352 * sunrpc/Makefile (headers): Add rpc/netdb.h.
59353 (headers-not-in-tirpc): Remove rpc/netdb.h
59354 * resolv/netdb.h: Revert last change.
59355
b9af1301
PP
593562011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
59357
59358 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
59359 circular dependency between libgcc.a and libc.a.
59360
4e34d5f5
AS
593612011-05-05 Andreas Schwab <schwab@redhat.com>
59362
59363 * resolv/netdb.h: Don't include <rpc/netdb.h>.
59364 * nis/Makefile: Don't install rpcsvc/*.
59365 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
59366 instead of <rpc/types.h>.
59367 (MAXHOSTNAMELEN): Define.
59368
00ee369c
AS
593692011-05-03 Andreas Schwab <schwab@redhat.com>
59370
59371 * elf/ldconfig.c (add_dir): Don't crash on empty path.
59372
0b592a30
MB
593732011-04-28 Maciej Babinski <mbabinski@google.com>
59374
59375 [BZ #12714]
59376 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
59377 gethostbyname4_r when IPv6 results are possible.
59378
6e04cbbe
UD
593792011-05-02 Ulrich Drepper <drepper@gmail.com>
59380
59381 [BZ #12723]
59382 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
59383 _PC_PIPE_BUF handling.
59384
e4ecafe0
BH
593852011-04-30 Bruno Haible <bruno@clisp.org>
59386
59387 [BZ #12717]
59388 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
59389 * resolv/netdb.h (getnameinfo): Change type of flags parameter
59390 to 'int'.
59391 * inet/getnameinfo.c (getnameinfo): Likewise.
59392
125ee683
UD
593932011-04-29 Ulrich Drepper <drepper@gmail.com>
59394
59395 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
59396 to groups setting in database lookup.
59397 * nss/nsswitch.conf: Add initgroups entry.
59398
b722481a
EB
593992011-04-22 Ulrich Drepper <drepper@gmail.com>
59400
59401 [BZ #12685]
59402 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
59403 mode string.
59404 Patch by Eric Blake <eblake@redhat.com>.
59405
4df46dbd
L
594062011-04-20 H.J. Lu <hongjiu.lu@intel.com>
59407
59408 * sunrpc/Makefile (need-export-routines): Add svc_run.
59409 (routines): Remove svc_run.
59410 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
59411 * sunrpc/clnt_perr.c (clnt_perrno): Export.
59412 * sunrpc/svc_run.c (svc_run): Likewise.
59413 * sunrpc/svc_udp.c (svcudp_create): Likewise.
59414
e84142d2
UD
594152011-04-21 Ulrich Drepper <drepper@gmail.com>
59416
59417 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
59418 problem in reallocation in last patch.
59419
877175d8
UD
594202011-04-20 Ulrich Drepper <drepper@gmail.com>
59421
59422 * sunrpc/Makefile: Move inclusion of Rules.
59423
ab8eed78
UD
594242011-04-19 Ulrich Drepper <drepper@gmail.com>
59425
59426 * nss/nss_files/files-initgroups.c: New file.
59427 * nss/Makefile (libnss_files-routines): Add files-initgroups.
59428 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
59429 _nss_files_initgroups_dyn.
59430
e3d8f584
RS
594312011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
59432
59433 * elf/elf.h (R_ARM_IRELATIVE): Define.
59434
af190f45
UD
594352011-04-19 Ulrich Drepper <drepper@gmail.com>
59436
59437 * po/ru.po: Update from translation team.
59438
53cf59ef
UD
594392011-04-17 Ulrich Drepper <drepper@gmail.com>
59440
59441 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
59442 dependencies.
59443
4c559bcd
MF
594442011-02-06 Mike Frysinger <vapier@gentoo.org>
59445
59446 [BZ #12653]
59447 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
59448 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
59449 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
59450 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59451 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59452
4420675c
AS
594532011-03-28 Andreas Schwab <schwab@linux-m68k.org>
59454
59455 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
59456 differing bytes.
59457 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59458 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59459 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59460
75ea32ab
UD
594612011-04-17 Ulrich Drepper <drepper@gmail.com>
59462
59463 [BZ #12420]
59464 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
59465 storing it.
59466 * stdlib/bug-getcontext.c: New file.
59467 * stdlib/Makefile: Add rules to build and run bug-getcontext.
59468
27390476
AK
594692011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59470
59471 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
59472 instructions into .machine "z9-109".
59473 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
59474 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
59475
10442705
AK
594762011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59477
59478 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
59479 between environment variables and auxiliary vector.
59480
7b57bfe5
UD
594812011-04-16 Ulrich Drepper <drepper@gmail.com>
59482
59483 * Makefile: Add rules to build linkobj/libc.so.
59484 * include/libc-symbols.h: Define libc_hidden_nolink.
59485 * include/rpc/auth.h: Mark functions which are to be hidden.
59486 * include/rpc/auth_des.h: Likewise.
59487 * include/rpc/auth_unix.h: Likewise.
59488 * include/rpc/clnt.h: Likewise.
59489 * include/rpc/des_crypt.h: Likewise.
59490 * include/rpc/key_prot.h: Likewise.
59491 * include/rpc/pmap_clnt.h: Likewise.
59492 * include/rpc/pmap_prot.h: Likewise.
59493 * include/rpc/pmap_rmt.h: Likewise.
59494 * include/rpc/rpc_msg.h: Likewise.
59495 * include/rpc/svc.h: Likewise.
59496 * include/rpc/svc_auth.h: Likewise.
59497 * include/rpc/xdr.h: Likewise.
59498 * nis/Makefile: Link all DSOs against linkobj/libc.so.
59499 * nss/Makefile: Likewise.
59500 * sunrpc/Makefile: Don't install headers. Build library with normal
59501 entry points. Don't build rpcinfo. Link RPC tests appropriately.
59502 * sunrpc/auth_des.c: Hide exported symbols by default, export some
59503 for the compat linking library. Remove use of INTDEF/INTUSE.
59504 * sunrpc/auth_none.c: Likewise.
59505 * sunrpc/auth_unix.c: Likewise.
59506 * sunrpc/authdes_prot.c: Likewise.
59507 * sunrpc/authuxprot.c: Likewise.
59508 * sunrpc/clnt_gen.c: Likewise.
59509 * sunrpc/clnt_perr.c: Likewise.
59510 * sunrpc/clnt_raw.c: Likewise.
59511 * sunrpc/clnt_simp.c: Likewise.
59512 * sunrpc/clnt_tcp.c: Likewise.
59513 * sunrpc/clnt_udp.c: Likewise.
59514 * sunrpc/clnt_unix.c: Likewise.
59515 * sunrpc/des_crypt.c: Likewise.
59516 * sunrpc/des_soft.c: Likewise.
59517 * sunrpc/get_myaddr.c: Likewise.
59518 * sunrpc/key_call.c: Likewise.
59519 * sunrpc/key_prot.c: Likewise.
59520 * sunrpc/netname.c: Likewise.
59521 * sunrpc/pm_getmaps.c: Likewise.
59522 * sunrpc/pm_getport.c: Likewise.
59523 * sunrpc/pmap_clnt.c: Likewise.
59524 * sunrpc/pmap_prot.c: Likewise.
59525 * sunrpc/pmap_prot2.c: Likewise.
59526 * sunrpc/pmap_rmt.c: Likewise.
59527 * sunrpc/publickey.c: Likewise.
59528 * sunrpc/rpc_cmsg.c: Likewise.
59529 * sunrpc/rpc_common.c: Likewise.
59530 * sunrpc/rpc_dtable.c: Likewise.
59531 * sunrpc/rpc_prot.c: Likewise.
59532 * sunrpc/rpc_thread.c: Likewise.
59533 * sunrpc/rtime.c: Likewise.
59534 * sunrpc/svc.c: Likewise.
59535 * sunrpc/svc_auth.c: Likewise.
59536 * sunrpc/svc_authux.c: Likewise.
59537 * sunrpc/svc_raw.c: Likewise.
59538 * sunrpc/svc_run.c: Likewise.
59539 * sunrpc/svc_simple.c: Likewise.
59540 * sunrpc/svc_tcp.c: Likewise.
59541 * sunrpc/svc_udp.c: Likewise.
59542 * sunrpc/svc_unix.c: Likewise.
59543 * sunrpc/svcauth_des.c: Likewise.
59544 * sunrpc/xcrypt.c: Likewise.
59545 * sunrpc/xdr.c: Likewise.
59546 * sunrpc/xdr_array.c: Likewise.
59547 * sunrpc/xdr_float.c: Likewise.
59548 * sunrpc/xdr_intXX_t.c: Likewise.
59549 * sunrpc/xdr_mem.c: Likewise.
59550 * sunrpc/xdr_rec.c: Likewise.
59551 * sunrpc/xdr_ref.c: Likewise.
59552 * sunrpc/xdr_sizeof.c: Likewise.
59553 * sunrpc/xdr_stdio.c: Likewise.
59554
e6c61494
UD
595552011-04-10 Ulrich Drepper <drepper@gmail.com>
59556
59557 [BZ #12650]
59558 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
59559 * sysdeps/ia64/dl-tls.h: Likewise.
59560 * sysdeps/powerpc/dl-tls.h: Likewise.
59561 * sysdeps/s390/dl-tls.h: Likewise.
59562 * sysdeps/sh/dl-tls.h: Likewise.
59563 * sysdeps/sparc/dl-tls.h: Likewise.
59564 * sysdeps/x86_64/dl-tls.h: Likewise.
59565 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
59566
34fe483e
AS
595672011-03-14 Andreas Schwab <schwab@redhat.com>
59568
59569 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
59570 rpath element also skip the following colon.
59571 (expand_dynamic_string_token): Add is_path parameter and pass
59572 down to DL_DST_REQUIRED and _dl_dst_substitute.
59573 (decompose_rpath): Call expand_dynamic_string_token with
59574 non-zero is_path. Ignore empty rpaths.
59575 (_dl_map_object_from_fd): Call expand_dynamic_string_token
59576 with zero is_path.
59577
f12a32e6
AS
595782011-04-08 Andreas Schwab <schwab@linux-m68k.org>
59579
59580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59581 Make cancelable.
59582
38a7d692
UD
595832011-04-09 Ulrich Drepper <drepper@gmail.com>
59584
59585 [BZ #12655]
59586 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
59587 Patch by Filipe David Manana <fdmanana@apache.org>.
59588
e451d22b
AS
595892011-04-07 Andreas Schwab <schwab@redhat.com>
59590
59591 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
59592 Maintain aligned stack.
59593 (CHECK_RSP): Remove unused macro.
59594
dedc7c7b
UD
595952011-04-03 Ulrich Drepper <drepper@gmail.com>
59596
59597 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
59598 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
59599
94521213
UD
596002011-04-02 Ulrich Drepper <drepper@gmail.com>
59601
59602 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
59603
8cb700c0 59604 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 59605
0354e355
L
596062011-03-26 H.J. Lu <hongjiu.lu@intel.com>
59607
59608 [BZ #12518]
59609 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
59610 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
59611 * sysdeps/x86_64/memmove.c: New file.
59612 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
59613 (memcpy): Renamed to ...
59614 (__new_memcpy): This.
59615 (memcpy): Provide GLIBC_2_14 memcpy.
59616 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
59617 (memcpy): Provide GLIBC_2_2_5 memcpy.
59618
8593482f
UD
596192011-04-01 Ulrich Drepper <drepper@gmail.com>
59620
59621 [BZ #12631]
59622 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
59623
81a5726b
AS
596242011-03-30 Andreas Schwab <schwab@redhat.com>
59625
59626 * misc/syncfs.c: New file.
59627 * misc/Makefile (routines): Add syncfs.
59628 * posix/unistd.h: Declare syncfs.
59629 * sysdeps/unix/syscalls.list: Add syncfs.
59630
00e5419f
AS
596312011-04-01 Andreas Schwab <schwab@redhat.com>
59632
59633 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
59634 open_by_handle_at.
59635 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59636 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59637 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59638 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59639 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59640 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
59641 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59642
748876bf
UD
596432011-04-01 Ulrich Drepper <drepper@gmail.com>
59644
658e451d
UD
59645 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
59646 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59647 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
59648 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59649 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59650 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59651 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59652
748876bf
UD
59653 * io/Makefile: Compile fallocate.c, fallocate64.c, and
59654 sync_file_range.c with -fexceptions.
59655 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
59656 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
59657 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
59658 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
59659 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
59660 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59661 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
59662 sync_file_range as cancellation point
59663 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
59664 now a wrapper around __call_sync_file_range with cancellation handling.
59665 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
59666 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
59667 function name to __call_sync_file_range.
59668 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
59669 Add call_sync_file_range.
748876bf 59670
6e63d5e1
AS
596712011-04-01 Andreas Schwab <schwab@redhat.com>
59672
59673 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 59674 bits/timex.h.
6e63d5e1 59675
46998f74
UD
596762011-04-01 Ulrich Drepper <drepper@gmail.com>
59677
4c1423ed
UD
59678 * iconv/iconv.h: Fix typo in comment.
59679 * io/fcntl.h: Likewise.
59680 * libio/stdio.h: Likewise.
59681 * posix/spawn.h: Likewise.
59682 * posix/unistd.h: Likewise.
59683 * stdlib/stdlib.h: Likewise.
59684 * time/time.h: Likewise.
59685 * wcsmbs/wchar.h: Likewise.
59686
158648c0
UD
59687 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
59688 open_by_handle): Add.
59689 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
59690 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
59691 Augment a few comments.
59692 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59693 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59694 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59695 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59696 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59697 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
59698 open_by_handle.
59699
46998f74
UD
59700 * io/fcntl.h (AT_EMPTY_PATH): Define.
59701
83fe108b
UD
597022011-03-30 Ulrich Drepper <drepper@gmail.com>
59703
59704 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
59705 * sysdeps/unix/sysv/linux/bits/time.h: New file.
59706 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
59707 to...
59708 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
59709 * Versions.def: Add GLIBC_2.14.
59710 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
59711 Export.
83fe108b 59712
bb242059
UD
597132011-03-22 Ulrich Drepper <drepper@gmail.com>
59714
59715 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
59716 round counter.
59717 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59718
c97a1282
L
597192011-03-20 H.J. Lu <hongjiu.lu@intel.com>
59720
59721 [BZ #12597]
59722 * string/test-strncmp.c (do_page_test): New function.
59723 (check2): Likewise.
59724 (test_main): Call check2.
59725 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
59726
2a115601
UD
597272011-03-20 Ulrich Drepper <drepper@gmail.com>
59728
59729 [BZ #12587]
59730 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
59731 Handle cache information in CPU leaf 4.
59732 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59733
8126d904
UD
597342011-03-18 Ulrich Drepper <drepper@gmail.com>
59735
042c49c6 59736 [BZ #12583]
8126d904
UD
59737 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
59738 character representation.
59739 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
59740
ccfe366e
RA
597412011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
59742
59743 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
59744 END(__isnan) to END(__isnanf) to match function entry point/label
59745 EALIGN(__isnanf,...).
59746
c6e13027
JJ
597472011-03-10 Jakub Jelinek <jakub@redhat.com>
59748
59749 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
59750
33f85a3f
UD
597512011-03-10 Ulrich Drepper <drepper@gmail.com>
59752
028478fa
UD
59753 [BZ #12510]
59754 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
59755 copy from the symbol referenced in the relocation to initialize the
59756 used variable.
59757 Patch by Piotr Bury <pbury@goahead.com>.
59758 * elf/Makefile: Add rules to build and tst-unique3.
59759 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
59760 * elf/tst-unique3.cc: New file.
59761 * elf/tst-unique3.h: New file.
59762 * elf/tst-unique3lib.cc: New file.
59763 * elf/tst-unique3lib2.cc: New file.
59764
33f85a3f
UD
59765 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
59766
03592fc7
MF
597672011-03-10 Mike Frysinger <vapier@gentoo.org>
59768
59769 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
59770 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
59771 to _start.
03592fc7 59772
6a5ee102
UD
597732011-03-06 Ulrich Drepper <drepper@gmail.com>
59774
59775 * elf/dl-load.c (_dl_map_object): If we are looking for the first
59776 to-be-loaded object along a path to loader is ld.so.
59777
7e4ba49c
HJ
597782011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
59779 Ulrich Drepper <drepper@gmail.com>
59780
59781 * sysdeps/x86_64/memset.S: After aligning destination, code
59782 branches to different locations depending on the value of
59783 misalignment, when multiarch is enabled. Fix this.
59784
597852011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
59786
59787 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
59788 Set _x86_64_preferred_memory_instruction for AMD processsors.
59789 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59790 Set bit_Prefer_SSE_for_memop for AMD processors.
59791
13a804de
UD
597922011-03-04 Ulrich Drepper <drepper@gmail.com>
59793
59794 * libio/fmemopen.c (fmemopen): Optimize a bit.
59795
9d25c392
AS
597962011-03-03 Andreas Schwab <schwab@redhat.com>
59797
59798 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
59799
a5543c6a
RM
598002011-03-03 Roland McGrath <roland@redhat.com>
59801
59802 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
59803
012d35f7
DM
598042011-02-28 Aurelien Jarno <aurelien@aurel32.net>
59805
7e4ba49c 59806 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
59807 __bzero_ultra1 instead of __memset_ultra1.
59808
4bff6e01
AS
598092011-02-23 Andreas Schwab <schwab@redhat.com>
59810 Ulrich Drepper <drepper@gmail.com>
59811
59812 [BZ #12509]
59813 * include/link.h (struct link_map): Add l_orig_initfini.
59814 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
59815 returning unsuccessfully.
59816 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
59817 close of a file loaded at startup, restore the original l_initfini
59818 list.
59819 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
59820 list, store the pointer.
59821 * elf/Makefile ($(objpfx)noload-mem): New rule.
59822 (noload-ENV): Define.
59823 (tests): Add $(objpfx)noload-mem.
59824 * elf/noload.c: Include <memcheck.h>.
59825 (main): Call mtrace. Close all opened handles.
59826
f2092faf
AS
598272011-02-17 Andreas Schwab <schwab@redhat.com>
59828
59829 [BZ #12454]
59830 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
59831 dependencies are missing.
59832
6c8a2e88
ST
598332011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
59834
f2092faf 59835 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
59836 Hurd needs munmap.
59837 * sysdeps/mach/hurd/ifreq.h: New file.
59838
84a42118
PB
598392011-01-27 Petr Baudis <pasky@suse.cz>
59840 Ulrich Drepper <drepper@gmail.com>
59841
071f805e 59842 [BZ 12445]#
84a42118
PB
59843 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
59844 to extend_alloca().
59845 * stdio-common/bug23.c: New file.
59846 * stdio-common/Makefile (tests): Add bug23.
59847
e23fe25b
AS
598482010-09-28 Andreas Schwab <schwab@redhat.com>
59849 Ulrich Drepper <drepper@gmail.com>
59850
59851 [BZ #12489]
59852 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
59853 before performing relro protection. At old place add assertion
59854 to make sure nothing changed.
59855
d3f02e10
NS
598562011-02-17 Nathan Sidwell <nathan@codesourcery.com>
59857 Glauber de Oliveira Costa <glommer@gmail.com>
59858
59859 * elf/elf.h: Add new ARM TLS relocs.
59860
d55fd7a5
RA
598612011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
59862
59863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59864 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
59865 cast from r3.
59866 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
59867 'tests' variable.
59868 * sysdeps/wordsize-64/tst-writev.c: New file.
59869
2206397e
RA
598702011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
59871
59872 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
59873 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
59874 insns in _dl_start to prevent a TOC reference before relocs are
59875 resolved.
59876
e9433893
UD
598772011-02-15 Ulrich Drepper <drepper@gmail.com>
59878
59879 [BZ #12469]
59880 * Makeconfig: Remove RANLIB definition.
59881 * Makerules: Don't use RANLIB.
59882 * aclocal.m4: Remove ranlib test.
59883 * configure.in: No need to check for ranlib.
59884 * elf/rtld-Rules: Don't use RANLIB.
59885
f75286c6
ST
598862011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
59887
8e31c82d
ST
59888 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
59889 protection macro.
59890 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
59891 inclusion protection macro.
59892
f75286c6
ST
59893 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
59894 SIGRTMIN and SIGRTMAX and print information in that case only when
59895 SIGRTMIN is defined.
59896
c1d0e639
JJ
598972011-02-11 Jakub Jelinek <jakub@redhat.com>
59898
59899 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
59900 arginfo fn returning -1.
59901
59902 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
59903 and thousands string is zero terminated.
59904
edf9294e
AS
599052011-02-03 Andreas Schwab <schwab@redhat.com>
59906
59907 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
59908 sysdeps/unix/sysv/linux/bits/socket.h.
59909
2b7e92df
ST
599102011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
59911
edf9294e
AS
59912 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
59913 (__CPU_COUNT): Remove old macros.
59914 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
59915 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
59916 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
59917 (__sched_cpualloc, __sched_cpufree): Add declarations.
59918
a4c7ea7b
UD
599192011-02-05 Ulrich Drepper <drepper@gmail.com>
59920
59921 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
59922 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
59923 * nscd/aicache.c (addhstaiX): Return timeout of added value.
59924 (readdhstai): Return value of addhstaiX call.
59925 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
59926 (addgrbyX): Return value returned by cache_addgr.
59927 (readdgrbyname): Return value returned by addgrbyX.
59928 (readdgrbygid): Likewise.
59929 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
59930 (addpwbyX): Return value returned by cache_addpw.
59931 (readdpwbyname): Return value returned by addhstbyX.
59932 (readdpwbyuid): Likewise.
59933 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
59934 (addservbyX): Return value returned by cache_addserv.
59935 (readdservbyname): Return value returned by addservbyX:
59936 (readdservbyport): Likewise.
59937 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
59938 (addhstbyX): Return value returned by cache_addhst.
59939 (readdhstbyname): Return value returned by addhstbyX.
59940 (readdhstbyaddr): Likewise.
59941 (readdhstbynamev6): Likewise.
59942 (readdhstbyaddrv6): Likewise.
59943 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
59944 (readdinitgroups): Return value returned by addinitgroupsX.
59945 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
59946 (prune_cache): Keep track of timeout value of re-added entries.
59947 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
59948 * nscd/nscd.h: Adjust prototypes of readd* functions.
59949
a0bf67cc
RM
599502011-02-04 Roland McGrath <roland@redhat.com>
59951
59952 * nis/nis_server.c (nis_servstate): Use the right name for 0.
59953 (nis_stats): Likewise.
59954 * nis/nis_modify.c (nis_modify): Likewise.
59955 * nis/nis_remove.c (nis_remove): Likewise.
59956 * nis/nis_add.c (nis_add): Likewise.
59957
59958 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
59959
59960 * posix/fnmatch_loop.c: Add some consts.
59961
59962 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
59963
435b95eb
L
599642011-02-02 H.J. Lu <hongjiu.lu@intel.com>
59965
59966 [BZ #12460]
59967 * config.make.in (config-cflags-novzeroupper): Define.
59968 * configure.in: Substitute libc_cv_cc_novzeroupper.
59969 * elf/Makefile (AVX-CFLAGS): Define.
59970 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
59971 (CFLAGS-tst-auditmod4a.c): Likewise.
59972 (CFLAGS-tst-auditmod4b.c): Likewise.
59973 (CFLAGS-tst-auditmod6b.c): Likewise.
59974 (CFLAGS-tst-auditmod6c.c): Likewise.
59975 (CFLAGS-tst-auditmod7b.c): Likewise.
59976 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
59977
8517b15e
UD
599782011-02-02 Ulrich Drepper <drepper@gmail.com>
59979
59980 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
59981 function to the callback.
59982 Patch partly by Jiri Olsa <jolsa@redhat.com>.
59983
10a656fe
AS
599842011-02-02 Andreas Schwab <schwab@redhat.com>
59985
59986 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
59987 of errno.
59988
968dad0a
UD
599892011-01-19 Ulrich Drepper <drepper@gmail.com>
59990
9f94d2ea 59991 [BZ #11724]
968dad0a
UD
59992 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
59993 of constructors.
59994 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
59995 of destructors.
59996 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
59997
59998 [BZ #11724]
59999 * elf/Makefile: Add rules to build and run new test.
60000 * elf/tst-initorder.c: New file.
60001 * elf/tst-initorder.exp: New file.
60002 * elf/tst-initordera1.c: New file.
60003 * elf/tst-initordera2.c: New file.
60004 * elf/tst-initordera3.c: New file.
60005 * elf/tst-initordera4.c: New file.
60006 * elf/tst-initorderb1.c: New file.
60007 * elf/tst-initorderb2.c: New file.
60008 * elf/tst-order-a1.c: New file.
60009 * elf/tst-order-a2.c: New file.
60010 * elf/tst-order-a3.c: New file.
60011 * elf/tst-order-a4.c: New file.
60012 * elf/tst-order-b1.c: New file.
60013 * elf/tst-order-b2.c: New file.
60014 * elf/tst-order-main.c: New file.
60015 New test case by George Gensure <werkt0@gmail.com>.
60016
86e92359
UD
600172010-10-01 Andreas Schwab <schwab@redhat.com>
60018
60019 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60020 decoding ACE if AI_CANONIDN.
60021
5d5732b0
UD
600222011-01-18 Ulrich Drepper <drepper@gmail.com>
60023
60024 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
60025
a77e8cbc
UD
600262011-01-17 Ulrich Drepper <drepper@gmail.com>
60027
6392473f
UD
60028 * version.h (RELEASE): Bump for 2.13 release.
60029 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
60030
620a0529
UD
60031 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
60032
18ba70a5
UD
60033 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
60034 MADV_NOHUGEPAGE.
32465c3e
UD
60035 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
60036 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
60037 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60038 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60039 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60040 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60041
c0dafcf1
UD
60042 * posix/getconf.c: Update copyright year.
60043 * catgets/gencat.c: Likewise.
60044 * csu/version.c: Likewise.
60045 * debug/catchsegv.sh: Likewise.
60046 * debug/xtrace.sh: Likewise.
60047 * elf/ldconfig.c: Likewise.
60048 * elf/ldd.bash.in: Likewise.
60049 * elf/sprof.c (print_version): Likewise.
60050 * iconv/iconv_prog.c: Likewise.
60051 * iconv/iconvconfig.c: Likewise.
60052 * locale/programs/locale.c: Likewise.
60053 * locale/programs/localedef.c: Likewise.
60054 * malloc/memusage.sh: Likewise.
60055 * malloc/mtrace.pl: Likewise.
60056 * nscd/nscd.c (print_version): Likewise.
60057 * nss/getent.c: Likewise.
60058
a77e8cbc
UD
60059 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
60060 PF_CAIF, and PF_ALG.
60061 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60062
77e8bddf
AS
600632011-01-16 Andreas Schwab <schwab@linux-m68k.org>
60064
1f20b93a
AS
60065 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
60066 (modules-names): Use them.
60067 (ifunc-test-modules, ifunc-pie-tests): Define.
60068 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
60069 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
60070 (test-extras): Likewise.
60071 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
60072 $(compile-command.c).
60073 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
60074 (all-built-dso): Define.
60075 (check-textrel.out, check-execstack.out): Depend on it.
60076
77e8bddf
AS
60077 * configure.in: Don't override --enable-multi-arch.
60078
bc425b33
UD
600792011-01-15 Ulrich Drepper <drepper@gmail.com>
60080
60081 [BZ #6812]
60082 * nscd/hstcache.c (tryagain): Define.
60083 (cache_addhst): Return tryagain not notfound for temporary errors.
60084 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
60085 failed.
60086
794c3ad3
UD
600872011-01-14 Ulrich Drepper <drepper@gmail.com>
60088
70181fdd
UD
60089 [BZ #10563]
60090 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
60091 to make the syscall.
60092 * sysdeps/unix/sysv/linux/setgroups.c: New file.
60093
794c3ad3
UD
60094 [BZ #12378]
60095 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
60096 and fall back to matching as normal character if the string ends before
60097 the matching ']' is found. This is what POSIX requires.
60098 * posix/testfnm.c: Adjust test result.
60099 * posix/globtest.sh: Adjust test result. Add new test.
60100 * posix/tst-fnmatch.input: Likewise.
60101 * posix/tst-fnmatch2.c: Add new test.
60102
68dc9497
AS
601032010-12-28 Andreas Schwab <schwab@linux-m68k.org>
60104
60105 * elf/Makefile (check-execstack): Revert last change. Depend on
60106 check-execstack.h.
60107 (check-execstack.h): New target.
60108 (generated): Add check-execstack.h.
60109 * elf/check-execstack.c: Include "check-execstack.h".
60110 (main): Revert last change.
60111 (handle_file): Return zero if GNU_STACK is absent and
60112 DEFAULT_STACK_PERMS doesn't include PF_X.
60113
451f001b
UD
601142011-01-13 Ulrich Drepper <drepper@gmail.com>
60115
cfa28e56
UD
60116 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
60117 in child fails because the descriptor is already closed.
8cf8ce17
UD
60118 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
60119 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
60120 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 60121
1086d70d
UD
60122 [BZ #12397]
60123 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
60124 syscall.
60125
451f001b
UD
60126 [BZ #10484]
60127 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
60128 temporary buffer used to handle multi lookups locally.
a85b5cb4 60129 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 60130
08769175
UD
601312011-01-12 Ulrich Drepper <drepper@gmail.com>
60132
60133 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
60134 loader is ld.so.
60135
5e49c52e
UD
601362011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
60137
60138 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
60139 alignment for SSE2.
60140
60522a5f
UD
601412011-01-12 Ulrich Drepper <drepper@gmail.com>
60142
60143 [BZ #12394]
60144 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
60145 characters. When rounding increased number of integer digits recompute
60146 number of groups.
60147 * stdio-common/tst-grouping.c: New file.
60148 * stdio-common/Makefile: Add rules to build and run tst-grouping.
60149
f257bbd7
UD
601502011-01-09 Ulrich Drepper <drepper@gmail.com>
60151
60152 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
60153 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
60154
60155 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
60156 void.
60157 * bits/select.h: Likewise.
60158
fa9c15cb
UD
601592011-01-08 Ulrich Drepper <drepper@gmail.com>
60160
60161 * po/ja.po: Update from translation team.
60162
16c2895f
DM
601632011-01-04 David S. Miller <davem@sunset.davemloft.net>
60164
60165 [BZ #11155]
60166 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
60167 implementation just like for lxstat, fxstatat, et al.
60168
2543fef2
JM
601692010-12-27 Jim Meyering <meyering@redhat.com>
60170
60171 [BZ #12348]
60172 * posix/regexec.c (build_trtable): Return failure indication upon
60173 calloc failure. Otherwise, re_search_internal could infloop on OOM.
60174
98727dbe
UD
601752010-12-25 Ulrich Drepper <drepper@gmail.com>
60176
5bd6dc5c
UD
60177 [BZ #12201]
60178 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
60179 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
60180 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
60181 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
60182
97983464
UD
60183 [BZ #12207]
60184 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
60185
98727dbe
UD
60186 [BZ #12204]
60187 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
60188 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
60189
4a531bb0
L
601902010-12-15 H.J. Lu <hongjiu.lu@intel.com>
60191
60192 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
60193 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
60194 script has SORT_BY_INIT_PRIORITY.
60195 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
60196 NO_CTORS_DTORS_SECTIONS is defined.
60197 * elf/soinit.c: Likewise.
60198 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
60199 NO_CTORS_DTORS_SECTIONS is defined.
60200 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
60201 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
60202 * sysdeps/sh/init-first.c: Likewise.
60203 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
60204
07eb4b71
UD
602052010-12-24 Ulrich Drepper <drepper@gmail.com>
60206
60207 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
60208 always use the slow path.
60209
30950a5f
RA
602102010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
60211
60212 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
60213 similar rule which adds the sysdep directories to the header search in
60214 order to pick up the correct platform stackinfo.h.
60215 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
60216 perform test if it is, otherwise return successfully without testing.
60217 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
60218 DEFAULT_STACK_PERMS define in stackinfo.h.
60219 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
60220 defined in stackinfo.h.
60221 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
60222 DEFAULT_STACK_PERMS defined in stackinfo.h.
60223 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
60224 * sysdeps/ia64/stackinfo.h: Likewise.
60225 * sysdeps/s390/stackinfo.h: Likewise.
60226 * sysdeps/sh/stackinfo.h: Likewise.
60227 * sysdeps/sparc/stackinfo.h: Likewise.
60228 * sysdeps/x86_64/stackinfo.h: Likewise.
60229 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
60230 PF_X for powerpc64. Retain PF_X for powerpc32.
60231
db753e2c
UD
602322010-12-19 Ulrich Drepper <drepper@gmail.com>
60233
14b697f7
UD
60234 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
60235 accurately.
db753e2c
UD
60236 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
60237 GETDENTS_64BIT_ALIGNED.
60238
28300719
UD
602392010-12-14 Ulrich Drepper <dreper@gmail.com>
60240
14b697f7 60241 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 60242
4f197237
AS
602432010-12-10 Andreas Schwab <schwab@redhat.com>
60244
dbb0472f
AS
60245 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
60246 _GNU_SOURCE.
60247
4f197237
AS
60248 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
60249 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
60250 Remove __restrict.
60251 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
60252 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
60253
fb88ac72
UD
602542010-12-09 Ulrich Drepper <drepper@gmail.com>
60255
60256 [BZ #11655]
60257 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
60258 are initialized.
60259
42acbb92
JJ
602602010-12-09 Jakub Jelinek <jakub@redhat.com>
60261
60262 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
60263
c038d98d
UD
602642010-12-03 Ulrich Drepper <drepper@gmail.com>
60265
60266 * po/it.po: Update from translation team.
60267
3a4a2499
L
602682010-12-01 H.J. Lu <hongjiu.lu@intel.com>
60269
60270 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
60271 unused codes.
60272
1e24cf6e
UD
602732010-11-30 Ulrich Drepper <drepper@gmail.com>
60274
60275 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
60276
a7690819
AS
602772010-11-24 Andreas Schwab <schwab@redhat.com>
60278
60279 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
60280 specially.
60281 (gaih_getanswer_slice): Likewise.
60282
3bf8d1b1
JJ
602832010-10-20 Jakub Jelinek <jakub@redhat.com>
60284
60285 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
60286
6db52fbb
PB
602872010-05-31 Petr Baudis <pasky@suse.cz>
60288
60289 [BZ #11149]
60290 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
60291 silently even in the chroot mode.
60292
eaca7569
UD
602932010-11-22 Ulrich Drepper <drepper@gmail.com>
60294
60295 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
60296 last patch a bit. Pretty printing
60297
3056dcdb
UD
602982010-05-31 Petr Baudis <pasky@suse.cz>
60299
60300 [BZ #10085]
60301 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
60302 initialization of skip_initgroups_dyn.
60303
cf7c9078
UD
603042010-11-19 Ulrich Drepper <drepper@gmail.com>
60305
60306 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
60307 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60308
a1fb5e3e
UD
603092010-11-16 Ulrich Drepper <drepper@gmail.com>
60310
60311 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
60312
3540d66b
AS
603132010-11-11 Andreas Schwab <schwab@redhat.com>
60314
60315 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
60316 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
60317 (tst-fnmatch-ENV): Set MALLOC_TRACE.
60318 ($(objpfx)tst-fnmatch-mem): New rule.
60319 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
60320 * posix/tst-fnmatch.c (main): Call mtrace.
60321
13b69574
L
603222010-11-11 H.J. Lu <hongjiu.lu@intel.com>
60323
60324 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60325 Support Intel processor model 6 and model 0x2c.
60326
da93d214
LM
603272010-11-10 Luis Machado <luisgpm@br.ibm.com>
60328
60329 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
60330 signed comparison.
60331
8ca52c6e
L
603322010-11-09 H.J. Lu <hongjiu.lu@intel.com>
60333
60334 [BZ #12205]
60335 * string/test-strncasecmp.c (check_result): New function.
60336 (do_one_test): Use it.
60337 (check1): New function.
60338 (test_main): Use it.
60339 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
60340 Support strcasecmp and strncasecmp.
60341
69da074d
UD
603422010-11-08 Ulrich Drepper <drepper@gmail.com>
60343
60344 [BZ #12194]
60345 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
60346 * sysdeps/x86_64/bits/byteswap.h: Likewise.
60347
ff02d528
L
603482010-11-07 H.J. Lu <hongjiu.lu@intel.com>
60349
60350 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
60351 IFUNC support.
60352 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60353 memset-x86-64.
60354 * sysdeps/x86_64/multiarch/bzero.S: New file.
60355 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
60356 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
60357 * sysdeps/x86_64/multiarch/memset.S: New file.
60358 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
60359 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60360 Set bit_Prefer_SSE_for_memop for Intel processors.
60361 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
60362 Define.
60363 (index_Prefer_SSE_for_memop): Define.
60364 (HAS_PREFER_SSE_FOR_MEMOP): Define.
60365
344d0b54
LM
603662010-11-04 Luis Machado <luisgpm@br.ibm.com>
60367
60368 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
60369 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
60370
c0dde15b
UD
603712010-11-03 H.J. Lu <hongjiu.lu@intel.com>
60372
60373 [BZ #12191]
60374 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60375 (__x86_64_raw_data_cache_size_half): Likewise.
60376 (__x86_64_raw_shared_cache_size): Likewise.
60377 (__x86_64_raw_shared_cache_size_half): Likewise.
60378
60379 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60380 (__x86_64_raw_data_cache_size_half): Likewise.
60381 (__x86_64_raw_shared_cache_size): Likewise.
60382 (__x86_64_raw_shared_cache_size_half): Likewise.
60383 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
60384 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
60385 and __x86_64_raw_shared_cache_size_half. Round
60386 __x86_64_data_cache_size_half, __x86_64_data_cache_size
60387 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
60388 to multiple of 256 bytes.
60389
0e516e0e
MS
603902010-11-03 Ulrich Drepper <drepper@gmail.com>
60391
60392 [BZ #12167]
60393 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
60394 of inacessible symlinks. Verify result of symlink before returning it.
60395 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
60396 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
60397
0e012e87
ER
603982010-10-28 Erich Ritz <erichritz@gmail.com>
60399
60400 * math/math.h (isinf): Fix typo in comment.
60401
de0ff7bc
UD
604022010-11-01 Ulrich Drepper <drepper@gmail.com>
60403
60404 * po/da.po: Update from translation team.
60405
fa41c84d
UD
604062010-10-26 Ulrich Drepper <drepper@gmail.com>
60407
60408 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
60409 is added to the list.
60410
f0967738
AK
604112010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60412 Ulrich Drepper <drepper@gmail.com>
60413
60414 * elf/dl-object.c (_dl_new_object): Don't append the new object to
60415 the global list here. Move code to...
60416 (_dl_add_to_namespace_list): ...here. New function.
60417 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
60418 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
60419 * elf/dl-load.c (lose): Don't remove the element from the list.
60420 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
60421 (_dl_map_object): Likewise.
60422
604232010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
60424
60425 [BZ #12159]
60426 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
60427 into all bytes of SSE register.
60428 Patch by Richard Li <richardpku@gmail.com>.
60429
f0967738 604302010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
60431
60432 [BZ #12140]
60433 * malloc/malloc.c (_int_free): Fill correct number of bytes when
60434 perturbing.
60435
d0b9e94f
MB
604362010-10-20 Michael B. Brutman <brutman@us.ibm.com>
60437
60438 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
60439 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
60440 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
60441 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
60442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
60443 submachine.
60444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
60445
8e9f92e9
AS
604462010-10-22 Andreas Schwab <schwab@redhat.com>
60447
60448 * include/dlfcn.h (__RTLD_SECURE): Define.
60449 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
60450 mode & __RTLD_SECURE instead.
60451 (open_path): Rename preloaded parameter to secure.
60452 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
60453 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
60454 * elf/dl-deps.c (openaux): Likewise.
60455 * elf/rtld.c (struct map_args): Remove is_preloaded.
60456 (map_doit): Don't use it.
60457 (dl_main): Likewise.
60458 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
60459 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
60460
bc96fbda
AS
604612010-09-09 Andreas Schwab <schwab@redhat.com>
60462
60463 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
60464 (sysd-rules-targets): Remove duplicates.
60465 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
60466 rtld-%.$o dependency.
60467
22cd1c9b
AS
604682010-10-18 Andreas Schwab <schwab@redhat.com>
60469
60470 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
60471 _dl_map_object do it.
60472
18edac48
UD
604732010-10-19 Ulrich Drepper <drepper@gmail.com>
60474
60475 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
60476 fast fma builtins, define the macros in the C99 standard.
60477 (FP_FAST_FMAF): Likewise.
60478 (FP_FAST_FMAL): Likewise.
60479 * sysdeps/x86_64/bits/mathdef.h: Likewise.
60480
60481 * bits/mathdef.h: Update copyright year.
60482 * sysdeps/powerpc/bits/mathdef.h: Likewise.
60483
d2050124
MM
604842010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
60485
60486 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
60487 builtins, define the macros in the C99 standard.
60488 (FP_FAST_FMAF): Likewise.
60489 (FP_FAST_FMAL): Likewise.
60490 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
60491 multiply/add.
60492 (FP_FAST_FMAF): Likewise.
60493
475facd1
JJ
604942010-10-15 Jakub Jelinek <jakub@redhat.com>
60495
60496 [BZ #3268]
60497 * math/libm-test.inc (fma_test): Some new testcases.
60498 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
60499 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
60500 y and infinite z. Do multiplication by C already in long double.
60501 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
60502 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
60503 y and infinite z. Do bitwise or of inexact bit into u.d.
60504 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
60505 * sysdeps/i386/fpu/s_fmaf.S: Removed.
60506 * sysdeps/i386/fpu/s_fma.S: Removed.
60507 * sysdeps/i386/fpu/s_fmal.S: Removed.
60508
7c08a05c
JJ
605092010-10-16 Jakub Jelinek <jakub@redhat.com>
60510
60511 [BZ #3268]
60512 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
60513 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
60514 computation is not scheduled after fetestexcept. Fix value
60515 of minimum denormal long double.
60516
f3f7372d
JJ
605172010-10-14 Jakub Jelinek <jakub@redhat.com>
60518
60519 [BZ #3268]
60520 * math/libm-test.inc (fma_test): Add some more tests.
60521 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
60522 correctly.
60523
14d43591
AS
605242010-10-15 Andreas Schwab <schwab@redhat.com>
60525
60526 * scripts/data/localplt-s390-linux-gnu.data: New file.
60527 * scripts/data/localplt-s390x-linux-gnu.data: New file.
60528
5e908464
JJ
605292010-10-13 Jakub Jelinek <jakub@redhat.com>
60530
60531 [BZ #3268]
60532 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
60533 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
60534 instead of dbl-64.
60535 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
60536 inlines.
60537 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
60538 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
60539 if one of x and y is very large and the other is subnormal.
60540 * sysdeps/s390/fpu/s_fmaf.c: New file.
60541 * sysdeps/s390/fpu/s_fma.c: New file.
60542 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
60543 * sysdeps/powerpc/fpu/s_fma.S: New file.
60544 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
60545 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
60546 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
60547
605482010-10-12 Jakub Jelinek <jakub@redhat.com>
60549
60550 [BZ #3268]
60551 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
60552 fma tests.
60553 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
60554 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
60555 * sysdeps/i386/i686/multiarch/s_fma.c: Include
60556 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
60557 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
60558 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
60559 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
60560
b833d51f
UD
605612010-10-12 Ulrich Drepper <drepper@redhat.com>
60562
60563 [BZ #12078]
60564 * posix/regcomp.c (parse_branch): One more memory leak plugged.
60565 * posix/bug-regex31.input: Add test case.
60566
1751705d
UD
605672010-10-11 Ulrich Drepper <drepper@gmail.com>
60568
e9b9cbf5
UD
60569 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
60570 * posix/bug-regex31.input: New file.
60571
60572 [BZ #12078]
60573 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
60574 (parse_sub_exp): Fix last change, use postorder.
60575
ef06edbe
UD
60576 * posix/bug-regex31.c: New file.
60577 * posix/Makefile: Add rules to build and run bug-regex31.
60578
a129c80d
UD
60579 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
60580
60581 [BZ #12078]
60582 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
60583
b76b818e
UD
60584 [BZ #12108]
60585 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
60586 to have entries in sys_siglist.
60587
1751705d
UD
60588 [BZ #12093]
60589 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
60590 be NULL.
60591
9ff8d36f
JJ
605922010-10-07 Jakub Jelinek <jakub@redhat.com>
60593
60594 [BZ #3268]
60595 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
60596 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
60597 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
60598 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
60599 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60600 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
60601 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
60602 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
60603 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
60604 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
60605 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
60606 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
60607 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
60608 * math/ftestexcept.c (fetestexcept): Likewise.
60609 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
60610 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
60611 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
60612 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
60613 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
60614 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
60615 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60616
af325969
UD
606172010-10-11 Ulrich Drepper <drepper@gmail.com>
60618
c579b202 60619 [BZ #12107]
af325969
UD
60620 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
60621 newline.
60622
67a67b95
UD
606232010-10-06 Ulrich Drepper <drepper@gmail.com>
60624
60625 * string/bug-strstr1.c: New file.
60626 * string/Makefile: Add rules to build and run bug-strstr1.
60627
5fb308bc
EB
606282010-10-05 Eric Blake <eblake@redhat.com>
60629
60630 [BZ #12092]
60631 * string/str-two-way.h (two_way_long_needle): Always clear memory
60632 when skipping input due to the shift table.
60633
45db99c7
UD
606342010-10-03 Ulrich Drepper <drepper@gmail.com>
60635
3b111893
UD
60636 [BZ #12005]
60637 * malloc/mcheck.c: Handle large requests.
60638
45db99c7
UD
60639 [BZ #12077]
60640 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
60641 for strncmp and strncasecmp.
60642 * string/stratcliff.c: Add tests for strcmp and strncmp.
60643 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
60644
cf7a1eb8
NI
606452010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
60646
60647 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
60648 __set_fpscr.
60649
6484ba5e
AJ
606502010-09-30 Andreas Jaeger <aj@suse.de>
60651
60652 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
60653 (CGROUP_SUPER_MAGIC): Define.
60654 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60655 Handle btrfs and cgroup file systems.
60656 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
60657 Likewise.
60658
91c42559
LM
606592010-09-27 Luis Machado <luisgpm@br.ibm.com>
60660
60661 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
60662 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
60663
87a97932
AK
606642010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60665
60666 [BZ #12067]
60667 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
60668 trying to locate the ELF header.
60669
c21cc9bc
AS
606702010-09-27 Andreas Schwab <schwab@redhat.com>
60671
60672 [BZ #11611]
60673 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
60674 Mask out sign-bit copies when constructing f_fsid.
60675
315970f6
PB
606762010-09-24 Petr Baudis <pasky@suse.cz>
60677
60678 * debug/stack_chk_fail_local.c: Add missing licence exception.
60679 * debug/warning-nop.c: Likewise.
60680
1ac7a2c7
JM
606812010-09-15 Joseph Myers <joseph@codesourcery.com>
60682
60683 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
60684 implementing getdents64 using getdents syscall, set d_type if
60685 __ASSUME_GETDENTS32_D_TYPE.
60686
56801c50
AS
606872010-09-16 Andreas Schwab <schwab@redhat.com>
60688
60689 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
60690 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
60691
dda51327
UD
606922010-09-21 Ulrich Drepper <drepper@redhat.com>
60693
60694 [BZ #12037]
60695 * posix/unistd.h: Undo change of feature selection for ftruncate from
60696 2010-01-11.
60697
8ffcee4a
UD
606982010-09-20 Ulrich Drepper <drepper@redhat.com>
60699
a545ecd9 60700 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
60701 detection.
60702
e24f0a8b
AS
607032010-09-20 Andreas Schwab <schwab@redhat.com>
60704
60705 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
60706 fanotify_mark.
60707 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60708
7291c56f
AS
607092010-09-14 Andreas Schwab <schwab@redhat.com>
60710
60711 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
60712 variables after CHECK_SP call.
60713 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
60714
bc5fb037
AS
607152010-09-13 Andreas Schwab <schwab@redhat.com>
60716 Ulrich Drepper <drepper@redhat.com>
60717
60718 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
60719 re-relocationg ld.so.
60720 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
60721 _dl_init_paths call.
60722 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
60723 here anymore.
60724
e66e7419
UD
607252010-09-14 Ulrich Drepper <drepper@redhat.com>
60726
60727 * resolv/res_init.c (__res_vinit): Count the default server we added.
60728
c044aa75
CLT
607292010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
60730 Ulrich Drepper <drepper@redhat.com>
60731
60732 [BZ #11968]
60733 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60734 (____longjmp_chk): Use %ebx for saving value across system call.
60735 Add unwind info.
60736
32cf4069
AS
607372010-09-06 Andreas Schwab <schwab@redhat.com>
60738
60739 * manual/Makefile: Don't mix pattern rules with normal rules.
60740
817328ee
AS
607412010-09-05 Andreas Schwab <schwab@linux-m68k.org>
60742
60743 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
60744 operation.
60745 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
60746 * libio/iofopncook.c (_IO_cookie_init): Likewise.
60747 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
60748 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
60749 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60750 Likewise.
60751
29fddf61
UD
607522010-09-04 Ulrich Drepper <drepper@redhat.com>
60753
60754 [BZ #11979]
60755 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
60756 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
60757
0959ffc9
UD
607582010-09-02 Ulrich Drepper <drepper@redhat.com>
60759
60760 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
60761 * sysdeps/x86_64/addmul_1.S: Likewise.
60762 * sysdeps/x86_64/lshift.S: Likewise.
60763 * sysdeps/x86_64/mul_1.S: Likewise.
60764 * sysdeps/x86_64/rshift.S: Likewise.
60765 * sysdeps/x86_64/sub_n.S: Likewise.
60766 * sysdeps/x86_64/submul_1.S: Likewise.
60767
ece29840
ST
607682010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
60769
0959ffc9
UD
60770 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
60771 Define __sched_param instead of SCHED_* and sched_param when
ece29840 60772 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 60773 * bits/sched.h [__need_schedparam]
ece29840 60774 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
60775 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
60776 (__defined_schedparam): Define to 1.
ece29840
ST
60777 (__sched_param): New structure, identical to sched_param.
60778 (__need_schedparam): Undefine.
60779
e53a31fe
MF
607802010-08-31 Mike Frysinger <vapier@gentoo.org>
60781
fdc0c10d
MF
60782 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
60783 (epoll_create1): Declare.
60784
e53a31fe
MF
60785 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
60786
a726d796
AS
607872010-08-31 Andreas Schwab <schwab@redhat.com>
60788
60789 [BZ #7066]
60790 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
60791 shifting retval into place.
60792
2f3e3dc7
UD
607932010-09-01 Ulrich Drepper <drepper@redhat.com>
60794
f2933da9
UD
60795 * nis/rpcsvc/nis.h: Update copyright notice.
60796 * nis/rpcsvc/nis.x: Likewise.
60797 * nis/rpcsvc/nis_callback.h: Likewise.
60798 * nis/rpcsvc/nis_callback.x: Likewise.
60799 * nis/rpcsvc/nis_object.x: Likewise.
60800 * nis/rpcsvc/nis_tags.h: Likewise.
60801 * nis/rpcsvc/yp.h: Likewise.
60802 * nis/rpcsvc/yp.x: Likewise.
60803 * nis/rpcsvc/ypupd.h: Likewise.
60804 * nis/yp_xdr.c: Likewise.
60805 * nis/ypupdate_xdr.c: Likewise.
60806
2f3e3dc7
UD
60807 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
60808 mainly the body of pmap_getport. Add parameters to specify timeouts.
60809 (pmap_getport): Use __libc_rpc_getport.
60810 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
60811 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
60812 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
60813
f3dcc2f9
AS
608142010-08-31 Andreas Schwab <schwab@linux-m68k.org>
60815
60816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
60817 fanotify_mark.
60818
6d34eb5b
RM
608192010-08-27 Roland McGrath <roland@redhat.com>
60820
60821 * sysdeps/i386/i686/multiarch/Makefile
60822 (CFLAGS-varshift.c): New variable.
60823
9ea3de11
UD
608242010-08-27 Ulrich Drepper <drepper@redhat.com>
60825
c96d23fc
UD
60826 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
60827 * sysdeps/i386/i686/multiarch/varshift.c: New file.
60828
9ea3de11
UD
60829 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
60830
60831 * sysdeps/x86_64/strlen.S: Minimal code improvement.
60832
623aac7f
L
608332010-08-26 H.J. Lu <hongjiu.lu@intel.com>
60834
60835 * sysdeps/x86_64/strlen.S: Unroll the loop.
60836 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60837 strlen-sse2 strlen-sse2-bsf.
60838 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
60839 __strlen_no_bsf if bit_Slow_BSF is set.
60840 (__strlen_sse42): Removed.
60841 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
60842 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
60843
8b2b7715
RM
608442010-08-25 Roland McGrath <roland@redhat.com>
60845
60846 * sysdeps/x86_64/multiarch/varshift.S: File removed.
60847 * sysdeps/x86_64/multiarch/varshift.c: New file.
60848 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
60849 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
60850 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
60851 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60852
e73015f2
L
608532010-08-25 H.J. Lu <hongjiu.lu@intel.com>
60854
60855 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60856 strlen-sse2 strlen-sse2-bsf.
60857 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
60858 __strlen_sse2_bsf if bit_Slow_BSF is unset.
60859 (__strlen_sse2): Removed.
60860 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
60861 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
60862 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
60863 bit_Slow_BSF for Atom.
60864 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
60865 (index_Slow_BSF): Define.
60866 (HAS_SLOW_BSF): Define.
60867
df24a73e
UD
608682010-08-25 Ulrich Drepper <drepper@redhat.com>
60869
60870 [BZ #10851]
60871 * resolv/res_init.c (__res_vinit): When no server address at all
60872 is given default to loopback.
60873
f2ac4868
RM
608742010-08-24 Roland McGrath <roland@redhat.com>
60875
09055553
RM
60876 * configure.in: Remove config-name.h generation.
60877 * configure: Regenerated.
60878 * config-name.in: File removed.
60879 * scripts/config-uname.sh: New file.
60880 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
60881 ($(objdir)config-name.h): New target.
60882
f2ac4868
RM
60883 * sunrpc/rpc_parse.h: Avoid nested comment.
60884
73f27d5e
RH
608852010-08-24 Richard Henderson <rth@redhat.com>
60886 Ulrich Drepper <drepper@redhat.com>
60887 H.J. Lu <hongjiu.lu@intel.com>
60888
60889 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
60890 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
60891 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
60892 Replace _mm_srli_si128 with __m128i_shift_right. Replace
60893 _mm_alignr_epi8 with _mm_loadu_si128.
60894 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
60895 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
60896 (__m128i_shift_right): Removed.
60897 * sysdeps/i386/i686/multiarch/varshift.h: New file.
60898 * sysdeps/i386/i686/multiarch/varshift.S: New file.
60899 * sysdeps/x86_64/multiarch/varshift.h: New file.
60900 * sysdeps/x86_64/multiarch/varshift.S: New file.
60901
84b9230c
MF
609022010-08-21 Mike Frysinger <vapier@gentoo.org>
60903
60904 * configure.in: Move assembler checks to before sysdep dir checking.
60905
9bbd0ddc
PB
609062010-08-20 Petr Baudis <pasky@suse.cz>
60907
60908 * LICENSES: Sync the sunrpc license.
60909
9da4bb31
UD
609102010-08-19 Ulrich Drepper <drepper@redhat.com>
60911
a7ab6ec8
UD
60912 * sunrpc/auth_des.c: Update copyright notice once again.
60913 * sunrpc/auth_none.c: Likewise.
60914 * sunrpc/auth_unix.c: Likewise.
60915 * sunrpc/authdes_prot.c: Likewise.
60916 * sunrpc/authuxprot.c: Likewise.
60917 * sunrpc/bindrsvprt.c: Likewise.
60918 * sunrpc/clnt_gen.c: Likewise.
60919 * sunrpc/clnt_perr.c: Likewise.
60920 * sunrpc/clnt_raw.c: Likewise.
60921 * sunrpc/clnt_simp.c: Likewise.
60922 * sunrpc/clnt_tcp.c: Likewise.
60923 * sunrpc/clnt_udp.c: Likewise.
60924 * sunrpc/clnt_unix.c: Likewise.
60925 * sunrpc/des_crypt.c: Likewise.
60926 * sunrpc/des_soft.c: Likewise.
60927 * sunrpc/get_myaddr.c: Likewise.
60928 * sunrpc/getrpcport.c: Likewise.
60929 * sunrpc/key_call.c: Likewise.
60930 * sunrpc/key_prot.c: Likewise.
60931 * sunrpc/openchild.c: Likewise.
60932 * sunrpc/pm_getmaps.c: Likewise.
60933 * sunrpc/pm_getport.c: Likewise.
60934 * sunrpc/pmap_clnt.c: Likewise.
60935 * sunrpc/pmap_prot.c: Likewise.
60936 * sunrpc/pmap_prot2.c: Likewise.
60937 * sunrpc/pmap_rmt.c: Likewise.
60938 * sunrpc/rpc/auth.h: Likewise.
60939 * sunrpc/rpc/auth_unix.h: Likewise.
60940 * sunrpc/rpc/clnt.h: Likewise.
60941 * sunrpc/rpc/des_crypt.h: Likewise.
60942 * sunrpc/rpc/key_prot.h: Likewise.
60943 * sunrpc/rpc/netdb.h: Likewise.
60944 * sunrpc/rpc/pmap_clnt.h: Likewise.
60945 * sunrpc/rpc/pmap_prot.h: Likewise.
60946 * sunrpc/rpc/pmap_rmt.h: Likewise.
60947 * sunrpc/rpc/rpc.h: Likewise.
60948 * sunrpc/rpc/rpc_des.h: Likewise.
60949 * sunrpc/rpc/rpc_msg.h: Likewise.
60950 * sunrpc/rpc/svc.h: Likewise.
60951 * sunrpc/rpc/svc_auth.h: Likewise.
60952 * sunrpc/rpc/types.h: Likewise.
60953 * sunrpc/rpc/xdr.h: Likewise.
60954 * sunrpc/rpc_clntout.c: Likewise.
60955 * sunrpc/rpc_cmsg.c: Likewise.
60956 * sunrpc/rpc_common.c: Likewise.
60957 * sunrpc/rpc_cout.c: Likewise.
60958 * sunrpc/rpc_dtable.c: Likewise.
60959 * sunrpc/rpc_hout.c: Likewise.
60960 * sunrpc/rpc_main.c: Likewise.
60961 * sunrpc/rpc_parse.c: Likewise.
60962 * sunrpc/rpc_parse.h: Likewise.
60963 * sunrpc/rpc_prot.c: Likewise.
60964 * sunrpc/rpc_sample.c: Likewise.
60965 * sunrpc/rpc_scan.c: Likewise.
60966 * sunrpc/rpc_scan.h: Likewise.
60967 * sunrpc/rpc_svcout.c: Likewise.
60968 * sunrpc/rpc_tblout.c: Likewise.
60969 * sunrpc/rpc_util.c: Likewise.
60970 * sunrpc/rpc_util.h: Likewise.
60971 * sunrpc/rpcinfo.c: Likewise.
60972 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
60973 * sunrpc/rpcsvc/key_prot.x: Likewise.
60974 * sunrpc/rpcsvc/klm_prot.x: Likewise.
60975 * sunrpc/rpcsvc/mount.x: Likewise.
60976 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
60977 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
60978 * sunrpc/rpcsvc/rex.x: Likewise.
60979 * sunrpc/rpcsvc/rstat.x: Likewise.
60980 * sunrpc/rpcsvc/rusers.x: Likewise.
60981 * sunrpc/rpcsvc/sm_inter.x: Likewise.
60982 * sunrpc/rpcsvc/spray.x: Likewise.
60983 * sunrpc/rpcsvc/yppasswd.x: Likewise.
60984 * sunrpc/rtime.c: Likewise.
60985 * sunrpc/svc.c: Likewise.
60986 * sunrpc/svc_auth.c: Likewise.
60987 * sunrpc/svc_authux.c: Likewise.
60988 * sunrpc/svc_raw.c: Likewise.
60989 * sunrpc/svc_run.c: Likewise.
60990 * sunrpc/svc_simple.c: Likewise.
60991 * sunrpc/svc_tcp.c: Likewise.
60992 * sunrpc/svc_udp.c: Likewise.
60993 * sunrpc/svc_unix.c: Likewise.
60994 * sunrpc/svcauth_des.c: Likewise.
60995 * sunrpc/xcrypt.c: Likewise.
60996 * sunrpc/xdr.c: Likewise.
60997 * sunrpc/xdr_array.c: Likewise.
60998 * sunrpc/xdr_float.c: Likewise.
60999 * sunrpc/xdr_mem.c: Likewise.
61000 * sunrpc/xdr_rec.c: Likewise.
61001 * sunrpc/xdr_ref.c: Likewise.
61002 * sunrpc/xdr_sizeof.c: Likewise.
61003 * sunrpc/xdr_stdio.c: Likewise.
61004
9da4bb31
UD
61005 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
61006 handling.
61007
bdaa77bc
AS
610082010-08-19 Andreas Schwab <schwab@redhat.com>
61009
61010 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
61011
fe2f79db
LM
610122010-08-19 Luis Machado <luisgpm@br.ibm.com>
61013
61014 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
61015 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
61016 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
61017 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
61018 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
61019 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
61020 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
61021 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
61022 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
61023 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
61024 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
61025 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
61026 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
61027 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
61028
b9b42ee0
AB
610292010-07-26 Anton Blanchard <anton@samba.org>
61030
61031 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
61032 * malloc/arena.c (heap_trim): Likewise.
61033
1c06ba31
UD
610342010-08-16 Ulrich Drepper <drepper@redhat.com>
61035
61036 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
61037 here. Not...
61038 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
61039 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
61040
f8392f40
L
610412010-08-12 H.J. Lu <hongjiu.lu@intel.com>
61042
61043 * sysdeps/i386/elf/Makefile: New file.
61044
3162f12e
AS
610452010-08-14 Andreas Schwab <schwab@linux-m68k.org>
61046
61047 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
61048 from fanotify_init.
61049 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
61050 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61051
28c90b2c
UD
610522010-08-15 Ulrich Drepper <drepper@redhat.com>
61053
61054 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
61055 of strncasecmp_l.
1feccb6c 61056 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 61057
ca6bb004
UD
610582010-08-14 Ulrich Drepper <drepper@redhat.com>
61059
e9f82e0d
UD
61060 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61061 strncase_l-nonascii.
61062 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61063 Add strncase_l-ssse3.
61064 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
61065 * sysdeps/x86_64/strcmp.S: Likewise.
61066 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
61067 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
61068 * sysdeps/x86_64/strncase.S: New file.
61069 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
61070 * sysdeps/x86_64/strncase_l.S: New file.
61071 * string/Makefile (strop-tests): Add strncasecmp.
61072 * string/test-strncasecmp.c: New file.
61073
61074 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
61075 warning.
61076
ca6bb004
UD
61077 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
61078 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
61079
052fa7b3
AS
610802010-08-14 Andreas Schwab <schwab@linux-m68k.org>
61081
61082 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
61083
962dba78
UD
610842010-08-12 Ulrich Drepper <drepper@redhat.com>
61085
61086 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
61087 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
61088 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
61089
bebff237
AM
610902010-05-01 Alan Modra <amodra@gmail.com>
61091
61092 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
61093 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
61094 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
61095 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
61096 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
61097 tidying. Don't tail-call __sigjmp_save for static lib.
61098 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
61099 save location.
61100 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
61101 (CALL_MCOUNT): Add eh info, and nop after bl.
61102 (TAIL_CALL_SYSCALL_ERROR): New macro.
61103 (PSEUDO_RET): Use it.
61104 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
61105 Correct save location of integer regs and cr.
61106 (_dl_profile_resolve): Correct cr save location. Delete nops
61107 after bl when SHARED. Reduce cfi size a little by better
61108 placement of cfi directives.
61109 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
61110 make a stack frame. Instead use parm save area as a temp.
61111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
61112 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
61113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
61114 Don't make a stack frame for parent, use parm save area.
61115 Increase child stack frame to 112 bytes. Don't save unused reg,
61116 and adjust reg usage. Set up cfi on error recovery and
61117 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
61118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61119 (__makecontext): Add dummy nop after jump to exit.
61120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
61121 Use correct parm save area and cr save, reduce stack frame.
61122 Correct cfi for possible PSEUDO_RET frame setup.
61123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
61124 Branch to local label emitted by PSEUDO_RET rather than
61125 __syscall_error.
61126
02637374
AS
611272010-08-12 Andreas Schwab <schwab@redhat.com>
61128
61129 [BZ #11904]
61130 * locale/programs/locale.c (print_assignment): New function.
61131 (show_locale_vars): Use it.
61132
c3e2f19b
UD
611332010-08-11 Ulrich Drepper <drepper@redhat.com>
61134
3cdaa6ad
UD
61135 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
61136 field.
61137 (struct statfs64): Likewise.
61138 (_STATFS_F_FLAGS): Define.
61139 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
61140 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61141 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
61142 (ST_VALID): Define locally.
61143 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
61144 __statvfs_getflags, use the provided value.
61145 * sysdeps/unix/sysv/linux/kernel-features.h: Define
61146 __ASSUME_STATFS_F_FLAGS.
61147
754f7da3
UD
61148 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
61149
10b3bedc
UD
61150 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
61151 Add sys/fanotify.h.
61152 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
61153 fanotify_mask for GLIBC_2.13.
61154 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
61155 fanotify_init and fanotify_mark.
61156 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61157 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
61158
c08fb0d7
UD
61159 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
61160 Add prlimit.
61161 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
61162 prlimit64 for GLIBC_2.13.
61163 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
61164 prlimit64.
61165 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
61166 syscall.
61167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
61168 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61169 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
61170 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
61171 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
61172 add prlimit alias.
61173 * sysdeps/unix/sysv/linux/prlimit.c: New file.
61174
15bac72b
UD
61175 [BZ #11903]
61176 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
61177 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
61178
c3e2f19b
UD
61179 * nss/Makefile: Add rules to build and run tst-nss-test1.
61180 * shlib-versions: Add entry for libnss_test1.
61181 * nss/nss_test1.c: New file.
61182 * nss/tst-nss-test1.c: New file.
61183
61184 * nss/nsswitch.c (__nss_database_custom): Define new variable.
61185 (__nss_configure_lookup): Set appropriate entry in
61186 __nss_configure_lookup to true.
61187 * nss/nsswitch.h: Define enum with indeces of databases in
61188 databases and __nss_database_custom arrays. Declare
61189 __nss_database_custom.
61190 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
61191 to avoid using nscd when custom rules are installed.
61192 * nss/getXXbyYY_r.c: Likewise.
61193 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61194
61195 * nss/nss_files/files-parse.c: Whitespace fixes.
61196
f15ce4d8
UD
611972010-08-09 Ulrich Drepper <drepper@redhat.com>
61198
61199 [BZ #11883]
61200 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
61201 * posix/fnmatch_loop.c: Likewise.
61202
d22e4cc9
AK
612032010-07-17 Andi Kleen <ak@linux.intel.com>
61204
61205 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
61206 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
61207 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
61208 * Versions.def [GLIBC_2.13]: Add.
61209
805bc17d
UD
612102010-08-06 Ulrich Drepper <drepper@redhat.com>
61211
61212 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61213 Also fail if tpwd after pwuid call is NULL.
61214
5a42321d
ST
612152010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
61216
61217 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
61218 when converting to ms.
61219
fd3ebeda
ST
612202010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
61221
61222 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
61223 EOPNOTSUPP errors with ENOTTY.
61224 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
61225 EOPNOTSUPP errors with ENOTTY.
61226
73507d3a
UD
612272010-07-31 Ulrich Drepper <drepper@redhat.com>
61228
61229 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61230 Add strcasecmp_l-ssse3.
61231 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
61232 strcasecmp.
61233 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
61234 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
61235 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
61236
fe36dd02
UD
612372010-07-30 Ulrich Drepper <drepper@redhat.com>
61238
66f6765a
UD
61239 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
61240
42e08a54
UD
61241 * string/Makefile (strop-tests): Add strcasecmp.
61242 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61243 strcasecmp_l-nonascii.
61244 (gen-as-const-headers): Add locale-defines.sym.
61245 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
61246 * sysdeps/x86_64/strcasecmp.S: New file.
61247 * sysdeps/x86_64/strcasecmp_l.S: New file.
61248 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
61249 * sysdeps/x86_64/locale-defines.sym: New file.
61250 * string/test-strcasecmp.c: New file.
61251
fe36dd02
UD
61252 * string/test-strcasestr.c: Test both ends of the range of characters.
61253 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
61254
48cbc0d6
RM
612552010-07-29 Roland McGrath <roland@redhat.com>
61256
76e6d6bc 61257 [BZ #11856]
48cbc0d6
RM
61258 * manual/locale.texi (Yes-or-No Questions): Fix example code.
61259
880113d9
UD
612602010-07-27 Ulrich Drepper <drepper@redhat.com>
61261
61262 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
61263 for ld.so.
61264
deb9cabb
AS
612652010-07-27 Andreas Schwab <schwab@redhat.com>
61266
61267 * manual/memory.texi (Malloc Tunable Parameters): Document
61268 M_PERTURB.
61269
1c7570ff
RM
612702010-07-26 Roland McGrath <roland@redhat.com>
61271
61272 [BZ #11840]
61273 * configure.in (-fgnu89-inline check): Set and substitute
61274 gnu89_inline, not libc_cv_gnu89_inline.
61275 * configure: Regenerated.
61276 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
61277
24fb0f88
UD
612782010-07-26 Ulrich Drepper <drepper@redhat.com>
61279
61280 * string/test-strnlen.c: New file.
61281 * string/Makefile (strop-tests): Add strnlen.
61282 * string/tester.c (test_strnlen): Add a few more test cases.
61283 * string/tst-strlen.c: Better error reporting.
61284
61285 * sysdeps/x86_64/strnlen.S: New file.
61286
8e96b93a
UD
612872010-07-24 Ulrich Drepper <drepper@redhat.com>
61288
61289 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
61290 lower-latency instructions.
61291
dbc676d4
UD
612922010-07-23 Ulrich Drepper <drepper@redhat.com>
61293
61294 * string/test-strcasestr.c: New file.
61295 * string/test-strstr.c: New file.
61296 * string/Makefile (strop-tests): Add strstr and strcasestr.
61297 * string/str-two-way.h: Don't undefine MAX.
61298 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
61299
f6a31e0e
AS
613002010-07-21 Andreas Schwab <schwab@redhat.com>
61301
61302 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61303 strcasestr-nonascii.
61304 (CFLAGS-strcasestr-nonascii.c): Define.
61305 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
61306 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
61307 Remove unused attribute.
61308
5dbc3b6c
RM
613092010-07-20 Roland McGrath <roland@redhat.com>
61310
61311 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
61312 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
61313 ld.so.cache was broken. With it, there is no way to disable dsocaps
61314 like LD_HWCAP_MASK can disable hwcaps.
61315
23d101d8
EPM
613162010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
61317
61318 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
61319
cc9f2e47
UD
613202010-07-16 Ulrich Drepper <drepper@redhat.com>
61321
61322 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
61323 call in strcasestr.
61324 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
61325 __strcasestr_sse42_nonascii.
61326 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
61327 strcasestr-nonascii.c.
61328 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
61329
77c1b069
LM
613302010-06-15 Luis Machado <luisgpm@br.ibm.com>
61331
61332 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
61333 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
61334 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
61335 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
61336
440566c3
UD
613372010-07-09 Ulrich Drepper <drepper@redhat.com>
61338
61339 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
61340 fcntl.
61341
5be9d05d
AS
613422010-07-06 Andreas Schwab <schwab@redhat.com>
61343
c30b7ee2 61344 [BZ #11577]
5be9d05d
AS
61345 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
61346 dl_signal_cerror.
61347
8a492a67
UD
613482010-07-06 Ulrich Drepper <drepper@redhat.com>
61349
61350 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
61351 _PC_PIPE_BUF using F_GETPIPE_SZ.
61352
713df3d5
RM
613532010-07-05 Roland McGrath <roland@redhat.com>
61354
61355 * manual/arith.texi (Rounding Functions): Fix rint description
61356 implicit in round description.
61357
702e8f14
UD
613582010-07-02 Ulrich Drepper <drepper@redhat.com>
61359
61360 * elf/Makefile: Fix linking for a few tests to make recent linker
61361 happy.
61362
52ed8be9
AS
613632010-06-30 Andreas Schwab <schwab@redhat.com>
61364
61365 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61366 $(common-objpfx)libc_nonshared.a.
61367
f47c9a11
LM
613682010-06-21 Luis Machado <luisgpm@br.ibm.com>
61369
61370 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
61371 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
61372 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61373 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61374 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
61375 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
61376 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61377 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
61379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
61380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
61381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
61383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
61385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
61386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
61387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
61388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
61390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
61392 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
61393 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
61394 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
61395 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
61396 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
61397 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
61398 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
61399 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
61400 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
61401 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
61402 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
61403 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
61404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
61405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
61406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
61407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
61408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
61409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
61410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
61411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
61412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
61413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
61414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
61415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
61416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
61417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
61418
6fb8cbcb
L
614192010-06-25 H.J. Lu <hongjiu.lu@intel.com>
61420
61421 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
61422 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
61423 * string/memmove.c (memmove): Renamed to ...
61424 (MEMMOVE): ...this. Default to memmove.
61425 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
61426 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
61427 (END_CHK): Define.
61428 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61429 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
61430 mempcpy-ssse3-back memmove-ssse3-back.
61431 * sysdeps/x86_64/multiarch/bcopy.S: New file .
61432 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
61433 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
61434 * sysdeps/x86_64/multiarch/memcpy.S: New file.
61435 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
61436 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
61437 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
61438 * sysdeps/x86_64/multiarch/memmove.c: New file.
61439 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
61440 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
61441 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
61442 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
61443 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
61444 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
61445 Define.
61446 (index_Fast_Copy_Backward): Define.
61447 (HAS_ARCH_FEATURE): Define.
61448 (HAS_FAST_REP_STRING): Define.
61449 (HAS_FAST_COPY_BACKWARD): Define.
61450
4e733bac 614512010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
61452
61453 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61454 Restore proper fallback handling.
61455
63c4ed22
UD
614562010-06-19 Ulrich Drepper <drepper@redhat.com>
61457
ac2b484c
UD
61458 [BZ #11701]
61459 * posix/group_member.c (__group_member): Correct checking loop.
61460
63c4ed22
UD
61461 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
61462 OOM in getpwuid_r correctly. Return error number when the caller
61463 should return, otherwise -1.
61464 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
61465 call returning > 0 value.
61466 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
61467
765ade4b
AS
614682010-06-07 Andreas Schwab <schwab@redhat.com>
61469
61470 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
61471 libc_nonshared.a from targets in modules-names.
61472
80da2e09
KS
614732010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
61474
61475 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
61476 requires it.
61477
158db122
LM
614782010-06-10 Luis Machado <luisgpm@br.ibm.com>
61479
61480 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
61481 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
61482 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
61483 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
61484
caa78cf8
AS
614852010-06-02 Andreas Schwab <schwab@redhat.com>
61486
61487 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
61488
b2ef2c01
UD
614892010-06-14 Ulrich Drepper <drepper@redhat.com>
61490
61491 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
61492 and F_GETPIPE_SZ.
61493 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61494 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61495 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61496 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61497 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61498 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
61499
fbd643b6
RM
615002010-06-14 Roland McGrath <roland@redhat.com>
61501
61502 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
61503
f32f2869
JJ
615042010-06-07 Jakub Jelinek <jakub@redhat.com>
61505
61506 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
61507 __REDIRECT followed by __THROW.
61508 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
61509 * posix/getopt.h (getopt): Likewise.
61510
2a50c078
EPM
615112010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
61512
61513 * hurd/lookup-at.c (__file_name_lookup_at): Accept
61514 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
61515 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
61516 in AT_FLAGS.
61517 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
61518 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
61519
eb5ad2eb
LM
615202010-05-28 Luis Machado <luisgpm@br.ibm.com>
61521
61522 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
61523
3c88fe1e
L
615242010-05-26 H.J. Lu <hongjiu.lu@intel.com>
61525
61526 [BZ #11640]
61527 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61528 Properly check family and model.
61529
d2f73151
TY
615302010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
61531
61532 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
61533
ebd2e13d
LM
615342010-05-24 Luis Machado <luisgpm@br.ibm.com>
61535
61536 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
61537
b32b8b45
UD
615382010-05-21 Ulrich Drepper <drepper@redhat.com>
61539
61540 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
61541 symbol reference.
61542
9acbe24d
AS
615432010-05-19 Andreas Schwab <schwab@redhat.com>
61544
61545 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
61546 symbol reference.
61547
f0ccf6ea
AS
615482010-05-21 Andreas Schwab <schwab@redhat.com>
61549
3d04ff3a
AS
61550 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
61551 and internal_recvmmsg.
61552 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
61553 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
61554 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
61555 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
61556
f0ccf6ea
AS
61557 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
61558 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61559 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61560
5b08ac57
AS
615612010-05-20 Andreas Schwab <schwab@redhat.com>
61562
61563 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
61564
4828935d
LM
615652010-05-17 Luis Machado <luisgpm@br.ibm.com>
61566
61567 POWER7 optimizations.
61568 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
61569 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
61570
373d545e
UD
615712010-05-19 Ulrich Drepper <drepper@redhat.com>
61572
61573 * version.h: Update for 2.13 development version.
61574
21a2b1ae
AS
615752010-05-12 Andrew Stubbs <ams@codesourcery.com>
61576
61577 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
61578 exceptions. Return 0.
61579
3f7dcb2b
RM
615802010-05-07 Roland McGrath <roland@redhat.com>
61581
61582 * elf/ldconfig.c (main): Add a const.
61583
5f24d53a 615842010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 61585
a160f8d8
UD
61586 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
61587 (args_options): Add no-idn option.
61588 (ahosts_keys_int): Add idn_flags to ai_flags.
61589 (parse_option): Handle 'i' option to clear idn_flags.
61590
5f24d53a
UD
61591 * malloc/malloc.c (_int_free): Possible race in the most recently
61592 added check. Only act on the data if no current modification
61593 happened.
265bb1ce
UD
61594
61595See ChangeLog.17 for earlier changes.