]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Refine errno / "inexact" expectations in libm-test.inc.
[thirdparty/glibc.git] / ChangeLog
1 2015-09-30 Joseph Myers <joseph@codesourcery.com>
2
3 * math/libm-test.inc (acos_test_data): Refine expectations for
4 errno and "inexact" exceptions.
5 (acosh_test_data): Likewise.
6 (asin_test_data): Likewise.
7 (asinh_test_data): Likewise.
8 (atan_test_data): Likewise.
9 (atanh_test_data): Likewise.
10 (atan2_test_data): Likewise.
11 (cbrt_test_data): Likewise.
12 (ceil_test_data): Likewise.
13 (copysign_test_data): Likewise.
14 (cosh_test_data): Likewise.
15 (erf_test_data): Likewise.
16 (erfc_test_data): Likewise.
17 (exp_test_data): Likewise.
18 (exp10_test_data): Likewise.
19 (exp2_test_data): Likewise.
20 (expm1_test_data): Likewise.
21 (fabs_test_data): Likewise.
22 (floor_test_data): Likewise.
23 (fma_test_data): Likewise.
24 (fmax_test_data): Likewise.
25 (fmin_test_data): Likewise.
26 (fmod_test_data): Likewise.
27 (fpclassify_test_data): Likewise.
28 (frexp_test_data): Likewise.
29 (hypot_test_data): Likewise.
30 (ilogb_test_data): Likewise.
31 (isgreater_test_data): Likewise.
32 (isgreaterequal_test_data): Likewise.
33 (isinf_test_data): Likewise.
34 (isless_test_data): Likewise.
35 (islessequal_test_data): Likewise.
36 (islessgreater_test_data): Likewise.
37 (isnan_test_data): Likewise.
38 (isnormal_test_data): Likewise.
39 (issignaling_test_data): Likewise.
40 (isunordered_test_data): Likewise.
41 (j0_test_data): Likewise.
42 (j1_test_data): Likewise.
43 (jn_test_data): Likewise.
44 (lgamma_test_data): Likewise.
45 (lrint_test_data): Likewise.
46 (llrint_test_data): Likewise.
47 (log_test_data): Likewise.
48 (log10_test_data): Likewise.
49 (log1p_test_data): Likewise.
50 (log2_test_data): Likewise.
51 (logb_test_data): Likewise.
52 (lround_test_data): Likewise.
53 (llround_test_data): Likewise.
54 (modf_test_data): Likewise.
55 (nearbyint_test_data): Likewise.
56 (nextafter_test_data): Likewise.
57 (nexttoward_test_data): Likewise.
58 (pow_test_data): Likewise.
59 (remainder_test_data): Likewise.
60 (remquo_test_data): Likewise.
61 (rint_test_data): Likewise.
62 (round_test_data): Likewise.
63 (signbit_test_data): Likewise.
64 (sinh_test_data): Likewise.
65 (sqrt_test_data): Likewise.
66 (tanh_test_data): Likewise.
67 (tgamma_test_data): Likewise.
68 (trunc_test_data): Likewise.
69 (y0_test_data): Likewise.
70 (y1_test_data): Likewise.
71 (yn_test_data): Likewise.
72 (significand_test_data): Likewise.
73
74 2015-09-29 Carlos O'Donell <carlos@redhat.com>
75
76 * manual/filesys.texi (Storage Allocation): Document that
77 posix_fallocate emulation fails when fd is open with O_WRONLY.
78
79 2015-09-28 Joseph Myers <joseph@codesourcery.com>
80
81 [BZ #19016]
82 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
83 allow more cases with X^2 + Y^2 >= 0.5.
84 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
85 normal element in sum instead of special-casing based on values of
86 arguments.
87 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
88 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
89 -1 as normal element in sum instead of special-casing based on
90 values of arguments.
91 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
92 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
93 (__x2y2m1): Update comment.
94 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
95 as normal element in sum instead of special-casing based on values
96 of arguments.
97 * math/s_clog.c (__clog): Handle more cases using log1p without
98 hypot.
99 * math/s_clog10.c (__clog10): Likewise.
100 * math/s_clog10f.c (__clog10f): Likewise.
101 * math/s_clog10l.c (__clog10l): Likewise.
102 * math/s_clogf.c (__clogf): Likewise.
103 * math/s_clogl.c (__clogl): Likewise.
104 * math/auto-libm-test-in: Add more tests of clog and clog10.
105 * math/auto-libm-test-out: Regenerated.
106 * sysdeps/i386/fpu/libm-test-ulps: Update.
107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
108
109 2015-09-28 Martin Sebor <msebor@redhat.com>
110
111 [BZ #18969]
112 * string/Makefile (LOCALES): Define.
113 (gen-locales.mk): Include.
114 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
115 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
116 * string/tst-strxfrm2.c (do_test): Print the name of the locale
117 on setlocale failure.
118
119 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
120
121 [BZ #18985]
122 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
123 (__strftime_internal): Likewise.
124 * time/tst-strftime.c (do_bz18985): New test.
125 (do_test): Call it.
126
127 2015-09-26 Joseph Myers <joseph@codesourcery.com>
128
129 [BZ #18956]
130 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
131 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
132 extracting high part.
133 * math/auto-libm-test-in: Add another test of pow.
134 * math/auto-libm-test-out: Regenerated.
135 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
136
137 2015-09-25 Joseph Myers <joseph@codesourcery.com>
138
139 [BZ #18825]
140 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
141 New macro.
142 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
143 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
144 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
145 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
146 DBL_NARROW_EVAL, reloading the PIC register as needed.
147 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
148 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
149 FLT_NARROW_EVAL. Use separate return path for case when first
150 argument is NaN.
151 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
152 DEFINE_LDBL_MIN.
153 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
154 PIC register.
155 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
156 math_check_force_underflow_nonneg.
157 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
158 underflow for subnormal result.
159 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
160 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
161 math_check_force_underflow_nonneg.
162 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
163 math_check_force_underflow.
164 * sysdeps/x86_64/fpu/x86_64-math-asm.h
165 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
166 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
167 DEFINE_LDBL_MIN.
168 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
169 * math/auto-libm-test-in: Add more tests of pow.
170 * math/auto-libm-test-out: Regenerated.
171
172 2015-09-25 Florian Weimer <fweimer@redhat.com>
173
174 * nss/bug17079.c (init_test_items): Add diagnostic for
175 inconsistent entries.
176 (test_buffer_size): Skip inconsistent entries.
177
178 2015-09-25 Joseph Myers <joseph@codesourcery.com>
179
180 [BZ #13304]
181 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
182 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
183 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
184
185 [BZ #13304]
186 * sysdeps/microblaze/s_fma.c: New file.
187 * sysdeps/microblaze/s_fmaf.c: Likewise.
188 * sysdeps/microblaze/sfp-machine.h: Likewise.
189
190 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
191
192 [BZ #17250]
193 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
194 member.
195
196 2015-09-24 Joseph Myers <joseph@codesourcery.com>
197
198 [BZ #18803]
199 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
200 (MO): New macro.
201 (__ieee754_hypot) [PIC]: Load PIC register.
202 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
203 DBL_NARROW_EVAL.
204 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
205 math_check_force_underflow_nonneg in case where result might be
206 tiny.
207 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
208 Likewise.
209 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
210 Likewise.
211 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
212 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
213 * math/auto-libm-test-in: Add more tests of hypot.
214 * math/auto-libm-test-out: Regenerated.
215
216 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
217
218 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
219
220 2015-09-24 Joseph Myers <joseph@codesourcery.com>
221
222 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
223 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
224 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
225 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
226 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
227 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
228 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
229
230 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
231 LOAD_PIC_REG.
232
233 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
234 (FLT_CHECK_FORCE_UFLOW): Likewise.
235 (DBL_CHECK_FORCE_UFLOW): Likewise.
236 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
237 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
238 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
239 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
240 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
241 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
242 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
243 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
244 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
245 (dbl_min): Replace with use of DEFINE_DBL_MIN.
246 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
247 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
248 (flt_min): Replace with use of DEFINE_FLT_MIN.
249 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
250 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
251 (dbl_min): Replace with use of DEFINE_DBL_MIN.
252 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
253 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
254 (flt_min): Replace with use of DEFINE_FLT_MIN.
255 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
256 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
257 (dbl_min): Replace with use of DEFINE_DBL_MIN.
258 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
259 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
260 (flt_min): Replace with use of DEFINE_FLT_MIN.
261 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
262 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
263 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
264 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
265 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
266 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
267 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
268 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
269 (dbl_min): Replace with use of DEFINE_DBL_MIN.
270 (__atan): Use DBL_CHECK_FORCE_UFLOW.
271 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
272 (flt_min): Replace with use of DEFINE_FLT_MIN.
273 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
274 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
275 (dbl_min): Replace with use of DEFINE_DBL_MIN.
276 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
277 main computation.
278 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
279 (flt_min): Replace with use of DEFINE_FLT_MIN.
280 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
281 main computation.
282 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
283 (dbl_min): Replace with use of DEFINE_DBL_MIN.
284 (MO): New macro.
285 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
286 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
287 (flt_min): Replace with use of DEFINE_FLT_MIN.
288 (MO): New macro.
289 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
290 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
291 (__log1pl): Use MO.
292
293 [BZ #19003]
294 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
295 $(config-cflags-nofma).
296
297 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
298
299 * sysdeps/aarch64/libm-test-ulps: Regenerated.
300
301 2015-09-23 Joseph Myers <joseph@codesourcery.com>
302
303 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
304 (TWO127): Likewise.
305
306 * sysdeps/generic/math_private.h (fabs_tg): New macro.
307 (min_of_type): Likewise.
308 (math_check_force_underflow): Likewise.
309 (math_check_force_underflow_nonneg): Likewise.
310 (math_check_force_underflow_complex): Likewise.
311 * math/e_exp2l.c (__ieee754_exp2l): Use
312 math_check_force_underflow_nonneg.
313 * math/k_casinh.c (__kernel_casinh): Likewise.
314 * math/k_casinhf.c (__kernel_casinhf): Likewise.
315 * math/k_casinhl.c (__kernel_casinhl): Likewise.
316 * math/s_catan.c (__catan): Use
317 math_check_force_underflow_complex.
318 * math/s_catanf.c (__catanf): Likewise.
319 * math/s_catanh.c (__catanh): Likewise.
320 * math/s_catanhf.c (__catanhf): Likewise.
321 * math/s_catanhl.c (__catanhl): Likewise.
322 * math/s_catanl.c (__catanl): Likewise.
323 * math/s_ccosh.c (__ccosh): Likewise.
324 * math/s_ccoshf.c (__ccoshf): Likewise.
325 * math/s_ccoshl.c (__ccoshl): Likewise.
326 * math/s_cexp.c (__cexp): Likewise.
327 * math/s_cexpf.c (__cexpf): Likewise.
328 * math/s_cexpl.c (__cexpl): Likewise.
329 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
330 * math/s_clog10.c (__clog10): Likewise.
331 * math/s_clog10f.c (__clog10f): Likewise.
332 * math/s_clog10l.c (__clog10l): Likewise.
333 * math/s_clogf.c (__clogf): Likewise.
334 * math/s_clogl.c (__clogl): Likewise.
335 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
336 * math/s_csinf.c (__csinf): Likewise.
337 * math/s_csinh.c (__csinh): Likewise.
338 * math/s_csinhf.c (__csinhf): Likewise.
339 * math/s_csinhl.c (__csinhl): Likewise.
340 * math/s_csinl.c (__csinl): Likewise.
341 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
342 * math/s_csqrtf.c (__csqrtf): Likewise.
343 * math/s_csqrtl.c (__csqrtl): Likewise.
344 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
345 * math/s_ctanf.c (__ctanf): Likewise.
346 * math/s_ctanh.c (__ctanh): Likewise.
347 * math/s_ctanhf.c (__ctanhf): Likewise.
348 * math/s_ctanhl.c (__ctanhl): Likewise.
349 * math/s_ctanl.c (__ctanl): Likewise.
350 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
351 instead of volatile.
352 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
353 math_check_force_underflow.
354 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
355 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
356 volatile when forcing underflow.
357 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
358 math_check_force_underflow_nonneg.
359 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
360 Likewise.
361 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
362 math_check_force_underflow.
363 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
364 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
365 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
366 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
367 math_check_force_underflow_nonneg.
368 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
369 math_check_force_underflow.
370 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
371 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
372 instead of volatile.
373 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
374 math_check_force_underflow.
375 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
376 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
377 math_check_force_underflow_nonneg.
378 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
379 math_check_force_underflow.
380 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
381 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
382 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
383 math_check_force_underflow_nonneg.
384 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
385 Likewise.
386 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
387 math_check_force_underflow.
388 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
389 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
390 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
391 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
392 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
393 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
394 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
395 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
396 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
397 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
398 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
399 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
400 Likewise.
401 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
402 math_check_force_underflow_nonneg.
403 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
404 Likewise.
405 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
406 math_check_force_underflow.
407 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
408 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
409 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
410 Likewise.
411 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
412 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
413 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
414 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
415 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
416 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
417 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
418 instead of volatile.
419 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
420 math_check_force_underflow.
421 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
422 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
423 math_check_force_underflow.
424 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
425 Likewise.
426 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
427 Use math_check_force_underflow_nonneg.
428 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
429 math_check_force_underflow.
430 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
431 Likewise.
432 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
433 Likewise.
434 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
435 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
436 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
437 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
438 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
439 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
440 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
441 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
442 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
443 math_check_force_underflow_nonneg.
444 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
445 math_check_force_underflow.
446 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
447 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
448 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
449 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
450 math_check_force_underflow_nonneg.
451 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
452 math_check_force_underflow.
453 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
454 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
455 instead of volatile.
456 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
457 math_check_force_underflow.
458
459 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
460 * stdlib/strtod_l.c: Include <math_private.h>.
461 (overflow_value): Use math_narrow_eval.
462 (underflow_value): Likewise.
463 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
464 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
465 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
466 (__ieee754_gamma_r): Likewise.
467 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
468 Likewise.
469 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
470 Likewise.
471 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
472 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
473 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
474 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
475 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
476 (__ieee754_gammaf_r): Likewise.
477 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
478 Likewise.
479 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
480 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
481 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
482 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
483 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
484 volatile.
485 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
486 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
487 math_narrow_eval.
488 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
489 Likewise.
490 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
491 Likewise.
492 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
493 Likewise.
494 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
495 volatile.
496 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
497 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
498 math_narrow_eval.
499 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
500 Likewise.
501 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
502 Likewise.
503
504 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
505
506 * nptl/Versions: Remove ignored symbols.
507
508 2015-09-22 Florian Weimer <fweimer@redhat.com>
509
510 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
511 * nss/Makefile (tests): Update.
512
513 2015-09-22 Florian Weimer <fweimer@redhat.com>
514
515 * nss/bug18287.c: New file.
516 * nss/Makefile (tests): Add bug18287.
517
518 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
519
520 * mach/Versions (__mach_host_self_): Add symbol.
521
522 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
523
524 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
525 vm_page_size.
526
527 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
528
529 Really fix sysdeps/i386/fpu/s_scalbn.S build
530
531 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
532 (libc: GLIBC_2_22): Remove unused version set.
533
534 2015-09-18 Mike Frysinger <vapier@gentoo.org>
535
536 * config.make.in (enable-timezone-tools): New variable.
537 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
538 (enable_timezone_tools): Export to generated files.
539 * configure: Regenerate.
540 * INSTALL: Regenerate.
541 * manual/install.texi (--disable-timezone-tools): Document new flag.
542 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
543 ifeq ($(enable-timezone-tools),yes) check.
544
545 2015-09-18 Joseph Myers <joseph@codesourcery.com>
546
547 * timezone/Makefile: Revert previous change.
548
549 [BZ #18980]
550 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
551 (DEFINE_DBL_MIN): Likewise.
552 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
553 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
554 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
555 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
556 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
557 (dbl_min): Replace with use of DEFINE_DBL_MIN.
558 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
559 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
560 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
561 (dbl_min): Replace with use of DEFINE_DBL_MIN.
562 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
563 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
564 (flt_min): Replace with use of DEFINE_FLT_MIN.
565 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
566 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
567 (dbl_min): Replace with use of DEFINE_DBL_MIN.
568 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
569 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
570 (flt_min): Replace with use of DEFINE_FLT_MIN.
571 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
572 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
573 (flt_min): Replace with use of DEFINE_FLT_MIN.
574 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
575 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
576 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
577 (__ieee754_hypot): Use DBL_NARROW_EVAL.
578 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
579 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
580 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
581 (__ieee754_pow): Use DBL_NARROW_EVAL.
582 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
583 (__ieee754_powf): Use FLT_NARROW_EVAL.
584 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
585 (__ieee754_expf_sse2): Convert double-precision result to single
586 precision.
587 * sysdeps/i386/fpu/libm-test-ulps: Update.
588
589 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
590
591 * timezone/Makefile: Ignore unused variable errors due to private.h
592 (time_t_min) and (time_t_max).
593 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
594 Likewise.
595
596 2015-09-18 Joseph Myers <joseph@codesourcery.com>
597
598 [BZ #18981]
599 * sysdeps/i386/fpu/i386-math-asm.h: New file.
600 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
601 (__ieee754_scalb): Use DBL_NARROW_EVAL.
602 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
603 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
604 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
605 (__scalbn): Use DBL_NARROW_EVAL.
606 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
607 (__scalbnf): Use FLT_NARROW_EVAL.
608
609 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
610
611 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
612 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
613 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
614 * stdio-common/printf_fp.c (___printf_fp):
615 Use signbit to get the sign. Use isinf macro to allow inlining.
616 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
617 * stdio-common/printf_size.c (__printf_size): Likewise.
618
619 2015-09-18 Mike Frysinger <vapier@gentoo.org>
620
621 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
622
623 2015-09-18 Joseph Myers <joseph@codesourcery.com>
624
625 [BZ #18980]
626 * sysdeps/generic/math_private.h: Include <float.h>.
627 (math_narrow_eval): New macro.
628 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
629 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
630 math_narrow_eval on overflowing return value.
631 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
632 Likewise.
633 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
634 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
635 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
636 Likewise.
637 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
638
639 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
640
641 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
642 * math/Makefile: Remove isinf_ns.c.
643 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
644 * math/multc3.c (__multc3): Likewise.
645 * math/s_casin.c (__casin): Likewise.
646 * math/s_casinf.c (__casinf): Likewise.
647 * math/s_casinl.c (__casinl): Likewise.
648 * math/s_cproj.c (__cproj): Likewise.
649 * math/s_cprojf.c (__cprojf): Likewise.
650 * math/s_cprojl.c (__cprofl): Likewise.
651 * math/s_ctan.c (__ctan): Likewise.
652 * math/s_ctanf.c (__ctanf): Likewise.
653 * math/s_ctanh.c (__ctanh): Likewise.
654 * math/s_ctanhf.c (__ctanhf): Likewise.
655 * math/s_ctanhl.c (__ctanhl): Likewise.
656 * math/s_ctanl.c (__ctanl): Likewise.
657 * math/w_fmod.c (__fmod): Likewise.
658 * math/w_fmodf.c (__fmodf): Likewise.
659 * math/w_fmodl.c (_fmodl): Likewise.
660 * math/w_remainder.c (__remainder): Likewise.
661 * math/w_remainderf.c (__remainderf): Likewise.
662 * math/w_remainderl.c (__remainderl): Likewise.
663 * math/w_scalb.c (__scalb): Likewise.
664 * math/w_scalbf.c (__scalbf): Likewise.
665 * math/w_scalbl.c (__scalbl): Likewise.
666 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
667 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
668 with isinf.
669 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
670 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
671 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
672 __isinf_nsf with isinf.
673 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
674 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
675 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
676 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
677 with isinf.
678 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
679 __isinf_nsl with isinf.
680 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
681 with isinf.
682 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
683 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
684 __isinf_nsl with isinf.
685 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
686 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
687 with isinf.
688
689 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
690
691 * resolv/base64.c (rcsid): Remove unused static.
692 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
693 static. (tqpi1): Likewise.
694 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
695 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
696 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
697 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
698 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
699 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
700 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
701 * timezone/private.h (time_t_min): Likewise. (time_t_max):
702 Likewise.
703
704 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
705
706 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
707 <nptl/pthreadP.h>.
708 (_longjmp_unwind): Use __libc_ptf_call.
709 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
710
711 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
712
713 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
714 * sysdeps/arm/__longjmp.S: Likewise
715
716 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
717
718 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
719 Use __builtin_signbit.
720 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
721 Use __builtin_signbitf.
722 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
723 Use __builtin_signbitl.
724 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
725 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
726
727 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
728
729 [BZ #15367]
730 [BZ #17441]
731
732 * math/Makefile: Build test-snan.c with -fsignaling-nans.
733 * math/math.h (fpclassify): Use __builtin_fpclassify when
734 available. (signbit): Use __builtin_signbit(f/l).
735 (isfinite): Use__builtin_isfinite. (isnormal): Use
736 __builtin_isnormal. (isnan): Use __builtin_isnan.
737 (isinf): Use __builtin_isinf_sign.
738
739 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
740
741 * benchtests/Makefile: Add bench-math-inlines, link with libm.
742 * benchtests/bench-math-inlines.c: New benchmark.
743 * benchtests/bench-util.h: New file.
744 * benchtests/bench-util.c: New file.
745 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
746
747 2015-09-18 Carlos O'Donell <carlos@redhat.com>
748
749 * elf/tst-dlmopen1.c: Define TEST_SO.
750 (do_test): Use TEST_SO.
751
752 * elf/dl-load.c: Include libc-internal.h.
753 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
754
755 2015-09-18 Vincent Bernat <vincent@bernat.im>
756
757 [BZ #17887]
758 * time/strptime_l.c (__strptime_internal): Make %z accept
759 [+-]HH:MM time zones.
760
761 2015-09-18 Vincent Bernat <vincent@bernat.im>
762
763 [BZ #17886]
764 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
765 valid time zone.
766
767 2015-09-17 Mike Frysinger <vapier@gentoo.org>
768
769 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
770 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
771 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
772 (__ASSUME_FDATASYNC): Delete.
773
774 2015-09-17 Joseph Myers <joseph@codesourcery.com>
775
776 * conform/linknamespace.pl: Require weak undefined symbols to be
777 in the standard namespace.
778 (%strong_syms): Rename to %seen_syms.
779 (%strong_seen): Rename to %seen_where.
780
781 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
782
783 [BZ #18970]
784 * misc/error.c (error): Replace pthread_setcancelstate with
785 __pthread_setcancelstate.
786 (error_at_line): Likewise.
787 * posix/wordexp.c (parse_comm): Likewise.
788 * stdlib/fmtmsg.c (fmtmsg): Likewise.
789 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
790 (__pthread_setcancelstate): This.
791 (pthread_setcancelstate): Add an alias.
792 * nptl/nptl-init.c (pthread_functions): Replace
793 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
794 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
795 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
796 hidden_proto.
797 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
798 it with hidden_def.
799 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
800 (pthread_setcancelstate): Renamed to ...
801 (__pthread_setcancelstate): This.
802 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
803 __libc_ptf_call with __pthread_setcancelstate.
804
805 2015-09-17 Joseph Myers <joseph@codesourcery.com>
806 Andreas Schwab <schwab@suse.de>
807
808 [BZ #17118]
809 * math/s_ctan.c (__ctan): Determine sign of zero real part of
810 result when imaginary part of argument is infinite using sine and
811 cosine.
812 * math/s_ctanf.c (__ctanf): Likewise.
813 * math/s_ctanl.c (__ctanl): Likewise.
814 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
815 of result when real part of argument is infinite using sine and
816 cosine.
817 * math/s_ctanhf.c (__ctanhf): Likewise.
818 * math/s_ctanhl.c (__ctanhl): Likewise.
819 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
820 (ctanh_test_data): Add more tests of ctanh.
821
822 2015-09-17 Joseph Myers <joseph@codesourcery.com>
823
824 [BZ #15384]
825 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
826 bit-mask as in subtraction.
827 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
828 Likewise.
829 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
830 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
831 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
832
833 [BZ #18951]
834 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
835 underflow exception for small results.
836 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
837 Likewise.
838 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
839 Likewise.
840 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
841 Likewise.
842 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
843 Likewise.
844 * math/auto-libm-test-in: Add more tests of tgamma.
845 * math/auto-libm-test-out: Regenerated.
846
847 2015-09-17 Andreas Schwab <schwab@suse.de>
848
849 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
850
851 2015-09-16 Joseph Myers <joseph@codesourcery.com>
852
853 [BZ #18977]
854 * math/bits/mathcalls.h
855 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
856 not declare.
857 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
858 Likewise.
859 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
860 Likewise.
861 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
862 Likewise.
863 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
864 Likewise.
865 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
866 Likewise.
867 * conform/data/math.h-data
868 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
869 function.
870 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
871 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
872 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
873 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
874 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
875 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
876 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
877 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
878 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
879 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
880 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
881
882 [BZ #6803]
883 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
884 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
885 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
886 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
887 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
888 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
889 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
890 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
891 [NO_LONG_DOUBLE] (scalbnl): Likewise.
892 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
893 Likewise.
894 [NO_LONG_DOUBLE] (scalbnl): Likewise.
895 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
896 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
897 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
898 long_double_symbol calls.
899 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
900 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
901 strong alias of __ldexpl.
902 (scalbnl): Define using long_double_symbol.
903 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
904 Remove alias.
905 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
906 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
907 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
908 (scalbln_test_data): Add more errno expectations.
909
910 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
911
912 Cache the host port like we cache the task port. This way we do not
913 need to call the kernel just to get the port. Furthermore, we no
914 longer increase the reference count on every invocation of
915 `mach_host_self'.
916
917 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
918 Protect declarations against the macro expansion.
919 * mach/mach_init.c (__mach_host_self_): New variable.
920 (mach_init): Initialize `__mach_host_self_'.
921 * mach/mach_init.h (__mach_host_self_): New declaration.
922 (__mach_host_self, mach_host_self): New macros.
923 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
924 Release reference.
925
926 2015-09-16 Joseph Myers <joseph@codesourcery.com>
927
928 [BZ #4404]
929 * po/de.po: Update from Translation Project.
930
931 [BZ #16415]
932 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
933 (__expm1l): Remove code to handle positive infinity and overflow.
934 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
935 variable.
936 (__expm1l): Remove code to handle positive infinity and overflow.
937
938 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
939 Paul Pluzhnikov <ppluzhnikov@google.com>
940
941 [BZ #18872]
942 * stdio-common/Makefile (tst-printf-bz18872): New test.
943 (tst-printf-bz18872-mem.out): Likewise.
944 * stdio-common/tst-printf-bz18872.sh: Generate new test.
945 * stdio-common/vfprintf.c: Fix memory leaks.
946
947 2015-09-16 Andreas Schwab <schwab@suse.de>
948
949 [BZ #17244]
950 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
951 Remove extra va_start/va_end calls.
952
953 [BZ #17243]
954 * posix/execl.c (execl): Add missing va_end.
955 * posix/execle.c (execle): Likewise.
956 * posix/execlp.c (execlp): Likewise.
957
958 2015-09-15 Roland McGrath <roland@hack.frob.com>
959
960 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
961 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
962
963 2015-09-15 Joseph Myers <joseph@codesourcery.com>
964
965 [BZ #18967]
966 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
967 undefine around includes of <bits/mathcalls.h>.
968 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
969 not declare function.
970 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
971 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
972 (scalb): Likewise.
973 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
974 not define macro.
975 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
976 variable.
977 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
978 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
979 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
980
981 [BZ #18857]
982 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
983 return non-finite argument without doing ordered comparisons on
984 it.
985
986 [BZ #16296]
987 * math/fenv.h (fegetround): Use __attribute_pure__.
988 * include/fenv.h (__fegetround): Likewise.
989
990 [BZ #18595]
991 * math/s_ctan.c (__ctan): Force underflow exception for results
992 whose real or imaginary part has small absolute value.
993 * math/s_ctanf.c (__ctanf): Likewise.
994 * math/s_ctanh.c (__ctanh): Likewise.
995 * math/s_ctanhf.c (__ctanhf): Likewise.
996 * math/s_ctanhl.c (__ctanhl): Likewise.
997 * math/s_ctanl.c (__ctanl): Likewise.
998 * math/auto-libm-test-in: Do not allow missing underflow for ctan
999 and ctanh. Add more tests of ctan and ctanh.
1000
1001 [BZ #15918]
1002 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
1003 handling of cases where one argument is an infinity.
1004
1005 [BZ #18875]
1006 [BZ #18966]
1007 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
1008 (MO): New macro.
1009 (__ieee754_exp10): For small results, force underflow exception
1010 and remove excess range and precision from return value.
1011 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
1012 (MO): New macro.
1013 (__ieee754_exp10f): For small results, force underflow exception
1014 and remove excess range and precision from return value.
1015 * math/auto-libm-test-in: Add more tests of exp10.
1016 * math/auto-libm-test-out: Regenerated.
1017
1018 2015-09-14 Joseph Myers <joseph@codesourcery.com>
1019
1020 [BZ #18875]
1021 [BZ #18961]
1022 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
1023 (MO): New macro.
1024 (__ieee754_exp): For small results, force underflow exception and
1025 remove excess range and precision from return value.
1026 (__exp_finite): Likewise.
1027 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
1028 (MO): New macro.
1029 (__ieee754_expf): For small results, force underflow exception and
1030 remove excess range and precision from return value.
1031 (__expf_finite): Likewise.
1032 * math/auto-libm-test-in: Add more tests of exp.
1033 * math/auto-libm-test-out: Regenerated.
1034
1035 [BZ #16521]
1036 [BZ #18875]
1037 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
1038 small results.
1039 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
1040 (MO): New macro.
1041 (__ieee754_exp2): For small results, force underflow exception and
1042 remove excess range and precision from return value.
1043 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
1044 (MO): New macro.
1045 (__ieee754_exp2f): For small results, force underflow exception
1046 and remove excess range and precision from return value.
1047 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
1048 (MO): New macro.
1049 (__ieee754_exp2l): Force underflow exception for small results.
1050 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1051 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1052 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
1053 (MO): New macro.
1054 (__ieee754_exp2l): Force underflow exception for small results.
1055 * math/auto-libm-test-in: Add more tests or exp2.
1056 * math/auto-libm-test-out: Regenerated.
1057
1058 2015-09-14 Carlos O'Donell <carlos@redhat.com>
1059
1060 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
1061
1062 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
1063 /dev/null.
1064
1065 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
1066
1067 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1068 io fs process)): Drop spurious backslash.
1069
1070 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1071
1072 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
1073 Use sysinfo system call instead of parsing /proc/meminfo.
1074 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
1075 Likewise.
1076
1077 2015-09-11 Mike Frysinger <vapier@gentoo.org>
1078
1079 [BZ #16985]
1080 * programs/localedef.c (main): Display argv[remaining] when
1081 output_path is NULL.
1082
1083 2015-09-11 Joseph Myers <joseph@codesourcery.com>
1084
1085 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1086 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
1087 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
1088 tanh.
1089 * math/auto-libm-test-out: Regenerated.
1090 * sysdeps/i386/fpu/libm-test-ulps: Update.
1091 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1092 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1094
1095 2015-09-11 Roland McGrath <roland@hack.frob.com>
1096
1097 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
1098 Use 'override' keyword to freeze the value here, preventing
1099 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
1100
1101 2015-09-11 Joseph Myers <joseph@codesourcery.com>
1102
1103 [BZ #14912]
1104 * sysdeps/aarch64/bits/atomic.h: Move to ...
1105 * sysdeps/aarch64/atomic-machine.h: ...here.
1106 (_AARCH64_BITS_ATOMIC_H): Rename macro to
1107 _AARCH64_ATOMIC_MACHINE_H.
1108 * sysdeps/alpha/bits/atomic.h: Move to ...
1109 * sysdeps/alpha/atomic-machine.h: ...here.
1110 * sysdeps/arm/bits/atomic.h: Move to ...
1111 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
1112 * bits/atomic.h: Move to ...
1113 * sysdeps/generic/atomic-machine.h: ...here.
1114 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1115 * sysdeps/i386/bits/atomic.h: Move to ...
1116 * sysdeps/i386/atomic-machine.h: ...here.
1117 * sysdeps/ia64/bits/atomic.h: Move to ...
1118 * sysdeps/ia64/atomic-machine.h: ...here.
1119 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
1120 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
1121 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1122 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
1123 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
1124 * sysdeps/microblaze/bits/atomic.h: Move to ...
1125 * sysdeps/microblaze/atomic-machine.h: ...here.
1126 * sysdeps/mips/bits/atomic.h: Move to ...
1127 * sysdeps/mips/atomic-machine.h: ...here.
1128 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
1129 * sysdeps/powerpc/bits/atomic.h: Move to ...
1130 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
1131 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
1132 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
1133 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
1134 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
1135 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
1136 <atomic-machine.h> instead of <bits/atomic.h>.
1137 * sysdeps/s390/bits/atomic.h: Move to ...
1138 * sysdeps/s390/atomic-machine.h: ...here.
1139 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
1140 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
1141 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1142 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
1143 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
1144 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
1145 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
1146 * sysdeps/tile/bits/atomic.h: Move to ...
1147 * sysdeps/tile/atomic-machine.h: ...here.
1148 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
1149 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
1150 <sysdeps/tile/atomic-machine.h> instead of
1151 <sysdeps/tile/bits/atomic.h>.
1152 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1153 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
1154 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
1155 <sysdeps/tile/atomic-machine.h> instead of
1156 <sysdeps/tile/bits/atomic.h>.
1157 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1158 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
1159 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
1160 <sysdeps/arm/atomic-machine.h> instead of
1161 <sysdeps/arm/bits/atomic.h>.
1162 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
1163 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
1164 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1165 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
1166 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
1167 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1168 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
1169 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
1170 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
1171 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
1172 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
1173 * sysdeps/x86_64/bits/atomic.h: Move to ...
1174 * sysdeps/x86_64/atomic-machine.h: ...here.
1175 * include/atomic.h: Include <atomic-machine.h> instead of
1176 <bits/atomic.h>.
1177
1178 * sysdeps/mips/mips32/libm-test-ulps: Update.
1179 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1180
1181 [BZ #18952]
1182 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
1183 not convert non-integer negative arguments to int to determine the
1184 value of signgam.
1185 * math/auto-libm-test-in: Add more tests of lgamma.
1186 * math/auto-libm-test-out: Regenerated.
1187
1188 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
1189 cosh, csqrt, erfc, expm1 and lgamma.
1190 * math/auto-libm-test-out: Regenerated.
1191 * sysdeps/i386/fpu/libm-test-ulps: Update.
1192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1193
1194 2015-09-10 Joseph Myers <joseph@codesourcery.com>
1195
1196 [BZ #2542]
1197 [BZ #2543]
1198 [BZ #2558]
1199 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
1200 __lgamma_neg for arguments from -28.0 to -2.0.
1201 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
1202 __lgamma_negf for arguments from -15.0 to -2.0.
1203 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1204 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
1205 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
1206 Call __lgamma_negl for arguments from -33.0 to -2.0.
1207 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
1208 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
1209 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
1210 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
1211 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1212 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1213 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
1214 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
1215 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
1216 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
1217 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
1218 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
1219 (__lgamma_neg): Likewise.
1220 (__lgamma_negl): Likewise.
1221 (__lgamma_product): Likewise.
1222 (__lgamma_productl): Likewise.
1223 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
1224 * math/auto-libm-test-in: Add more tests of lgamma.
1225 * math/auto-libm-test-out: Regenerated.
1226 * sysdeps/i386/fpu/libm-test-ulps: Update.
1227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1228
1229 2015-09-09 Justin Maggard <jmaggard@netgear.com>
1230
1231 [BZ #18675]
1232 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
1233
1234 2015-09-08 Joseph Myers <joseph@codesourcery.com>
1235
1236 [BZ #14912]
1237 * bits/libc-lock.h: Move to ...
1238 * sysdeps/generic/libc-lock.h: ...here.
1239 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1240 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
1241 * sysdeps/mach/hurd/libc-lock.h: ...here.
1242 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1243 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
1244 * sysdeps/mach/bits/libc-lock.h: Move to ...
1245 * sysdeps/mach/libc-lock.h: ...here.
1246 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1247 * sysdeps/nptl/bits/libc-lock.h: Move to ...
1248 * sysdeps/nptl/libc-lock.h: ...here.
1249 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1250 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
1251 * sysdeps/nptl/libc-lockP.h: ...here.
1252 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
1253 * crypt/crypt_util.c: Include <libc-lock.h> instead of
1254 <bits/libc-lock.h>.
1255 * dirent/scandir-tail.c: Likewise.
1256 * dlfcn/dlerror.c: Likewise.
1257 * elf/dl-close.c: Likewise.
1258 * elf/dl-iteratephdr.c: Likewise.
1259 * elf/dl-lookup.c: Likewise.
1260 * elf/dl-open.c: Likewise.
1261 * elf/dl-support.c: Likewise.
1262 * elf/dl-writev.h: Likewise.
1263 * elf/rtld.c: Likewise.
1264 * grp/fgetgrent.c: Likewise.
1265 * gshadow/fgetsgent.c: Likewise.
1266 * gshadow/sgetsgent.c: Likewise.
1267 * iconv/gconv_conf.c: Likewise.
1268 * iconv/gconv_db.c: Likewise.
1269 * iconv/gconv_dl.c: Likewise.
1270 * iconv/gconv_int.h: Likewise.
1271 * iconv/gconv_trans.c: Likewise.
1272 * include/link.h: Likewise.
1273 * inet/getnameinfo.c: Likewise.
1274 * inet/getnetgrent.c: Likewise.
1275 * inet/getnetgrent_r.c: Likewise.
1276 * intl/bindtextdom.c: Likewise.
1277 * intl/dcigettext.c: Likewise.
1278 * intl/finddomain.c: Likewise.
1279 * intl/gettextP.h: Likewise.
1280 * intl/loadmsgcat.c: Likewise.
1281 * intl/localealias.c: Likewise.
1282 * intl/textdomain.c: Likewise.
1283 * libidn/idn-stub.c: Likewise.
1284 * libio/libioP.h: Likewise.
1285 * locale/duplocale.c: Likewise.
1286 * locale/freelocale.c: Likewise.
1287 * locale/newlocale.c: Likewise.
1288 * locale/setlocale.c: Likewise.
1289 * login/getutent_r.c: Likewise.
1290 * login/getutid_r.c: Likewise.
1291 * login/getutline_r.c: Likewise.
1292 * login/utmp-private.h: Likewise.
1293 * login/utmpname.c: Likewise.
1294 * malloc/mtrace.c: Likewise.
1295 * misc/efgcvt.c: Likewise.
1296 * misc/error.c: Likewise.
1297 * misc/fstab.c: Likewise.
1298 * misc/getpass.c: Likewise.
1299 * misc/mntent.c: Likewise.
1300 * misc/syslog.c: Likewise.
1301 * nis/nis_call.c: Likewise.
1302 * nis/nis_callback.c: Likewise.
1303 * nis/nss-default.c: Likewise.
1304 * nis/nss_compat/compat-grp.c: Likewise.
1305 * nis/nss_compat/compat-initgroups.c: Likewise.
1306 * nis/nss_compat/compat-pwd.c: Likewise.
1307 * nis/nss_compat/compat-spwd.c: Likewise.
1308 * nis/nss_nis/nis-alias.c: Likewise.
1309 * nis/nss_nis/nis-ethers.c: Likewise.
1310 * nis/nss_nis/nis-grp.c: Likewise.
1311 * nis/nss_nis/nis-hosts.c: Likewise.
1312 * nis/nss_nis/nis-network.c: Likewise.
1313 * nis/nss_nis/nis-proto.c: Likewise.
1314 * nis/nss_nis/nis-pwd.c: Likewise.
1315 * nis/nss_nis/nis-rpc.c: Likewise.
1316 * nis/nss_nis/nis-service.c: Likewise.
1317 * nis/nss_nis/nis-spwd.c: Likewise.
1318 * nis/nss_nisplus/nisplus-alias.c: Likewise.
1319 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1320 * nis/nss_nisplus/nisplus-grp.c: Likewise.
1321 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1322 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
1323 * nis/nss_nisplus/nisplus-network.c: Likewise.
1324 * nis/nss_nisplus/nisplus-proto.c: Likewise.
1325 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1326 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1327 * nis/nss_nisplus/nisplus-service.c: Likewise.
1328 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1329 * nis/ypclnt.c: Likewise.
1330 * nptl/libc_pthread_init.c: Likewise.
1331 * nss/getXXbyYY.c: Likewise.
1332 * nss/getXXent.c: Likewise.
1333 * nss/getXXent_r.c: Likewise.
1334 * nss/nss_db/db-XXX.c: Likewise.
1335 * nss/nss_db/db-netgrp.c: Likewise.
1336 * nss/nss_db/nss_db.h: Likewise.
1337 * nss/nss_files/files-XXX.c: Likewise.
1338 * nss/nss_files/files-alias.c: Likewise.
1339 * nss/nsswitch.c: Likewise.
1340 * posix/regex_internal.h: Likewise.
1341 * posix/wordexp.c: Likewise.
1342 * pwd/fgetpwent.c: Likewise.
1343 * resolv/res_hconf.c: Likewise.
1344 * resolv/res_libc.c: Likewise.
1345 * shadow/fgetspent.c: Likewise.
1346 * shadow/lckpwdf.c: Likewise.
1347 * shadow/sgetspent.c: Likewise.
1348 * socket/opensock.c: Likewise.
1349 * stdio-common/reg-modifier.c: Likewise.
1350 * stdio-common/reg-printf.c: Likewise.
1351 * stdio-common/reg-type.c: Likewise.
1352 * stdio-common/vfprintf.c: Likewise.
1353 * stdio-common/vfscanf.c: Likewise.
1354 * stdlib/abort.c: Likewise.
1355 * stdlib/cxa_atexit.c: Likewise.
1356 * stdlib/fmtmsg.c: Likewise.
1357 * stdlib/random.c: Likewise.
1358 * stdlib/setenv.c: Likewise.
1359 * string/strsignal.c: Likewise.
1360 * sunrpc/auth_none.c: Likewise.
1361 * sunrpc/bindrsvprt.c: Likewise.
1362 * sunrpc/create_xid.c: Likewise.
1363 * sunrpc/key_call.c: Likewise.
1364 * sunrpc/rpc_thread.c: Likewise.
1365 * sysdeps/arm/backtrace.c: Likewise.
1366 * sysdeps/generic/ldsodefs.h: Likewise.
1367 * sysdeps/generic/stdio-lock.h: Likewise.
1368 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
1369 * sysdeps/i386/backtrace.c: Likewise.
1370 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1371 * sysdeps/m68k/backtrace.c: Likewise.
1372 * sysdeps/mach/hurd/cthreads.c: Likewise.
1373 * sysdeps/mach/hurd/dirstream.h: Likewise.
1374 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
1375 * sysdeps/nptl/malloc-machine.h: Likewise.
1376 * sysdeps/nptl/stdio-lock.h: Likewise.
1377 * sysdeps/posix/dirstream.h: Likewise.
1378 * sysdeps/posix/getaddrinfo.c: Likewise.
1379 * sysdeps/posix/system.c: Likewise.
1380 * sysdeps/pthread/aio_suspend.c: Likewise.
1381 * sysdeps/s390/s390-32/backtrace.c: Likewise.
1382 * sysdeps/s390/s390-64/backtrace.c: Likewise.
1383 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1384 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1385 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
1386 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
1387 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
1388 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1389 * sysdeps/unix/sysv/linux/system.c: Likewise.
1390 * sysdeps/x86_64/backtrace.c: Likewise.
1391 * time/alt_digit.c: Likewise.
1392 * time/era.c: Likewise.
1393 * time/tzset.c: Likewise.
1394 * wcsmbs/wcsmbsload.c: Likewise.
1395 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
1396 instead of <bits/libc-lock.h> in comment.
1397
1398 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
1399
1400 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
1401 Only use .set mips2 if the current ISA is below mips2.
1402 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
1403 Likewise.
1404 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
1405 mips32r2 if the current ISA is below mips32r2.
1406 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
1407 (TLS_IE): Updated to use the TLD_RDHWR macro.
1408 (TLS_LE): Likewise.
1409 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
1410 __ASSEMBLER__ condition.
1411
1412 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1413
1414 Fix parallel build of before-compile targets.
1415
1416 * sysdeps/mach/Makefile ($(patsubst
1417 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
1418 mach-before-compile target.
1419 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1420 io fs process)): Move rule to dedicated hurd-before-compile target.
1421
1422 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
1423
1424 Fix rules generating headers in hurd/ and mach/ when initial make call
1425 has subdir= explicitly set.
1426
1427 * sysdeps/mach/Makefile ($(patsubst
1428 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
1429 calling $(MAKE).
1430 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1431 io fs process)): Force subdir to hurd when calling $(MAKE).
1432 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
1433 subdir to mach when calling $(MAKE).
1434
1435 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
1436
1437 Check sysheaders when looking for Mach and Hurd headers
1438
1439 * sysdeps/mach/configure.ac: Add sysheaders check.
1440 * sysdeps/mach/configure: Regenerate.
1441 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
1442 * sysdeps/mach/hurd/configure: Regenerate.
1443
1444 2015-09-04 Roland McGrath <roland@hack.frob.com>
1445
1446 [BZ #18921]
1447 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
1448 Fix inverted sense of test of 'o_directory_works' value.
1449 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
1450 Bernhard Voelker <mail@bernhard-voelker.de>.
1451
1452 2015-09-04 Joseph Myers <joseph@codesourcery.com>
1453
1454 [BZ #14912]
1455 * bits/linkmap.h: Move to ...
1456 * sysdeps/generic/linkmap.h: ...here.
1457 * sysdeps/aarch64/bits/linkmap.h: Move to ...
1458 * sysdeps/aarch64/linkmap.h: ...here.
1459 * sysdeps/arm/bits/linkmap.h: Move to ...
1460 * sysdeps/arm/linkmap.h: ...here.
1461 * sysdeps/hppa/bits/linkmap.h: Move to ...
1462 * sysdeps/hppa/linkmap.h: ...here.
1463 * sysdeps/ia64/bits/linkmap.h: Move to ...
1464 * sysdeps/ia64/linkmap.h: ...here.
1465 * sysdeps/mips/bits/linkmap.h: Move to ...
1466 * sysdeps/mips/linkmap.h: ...here.
1467 * sysdeps/s390/bits/linkmap.h: Move to ...
1468 * sysdeps/s390/linkmap.h: ...here.
1469 * sysdeps/sh/bits/linkmap.h: Move to ...
1470 * sysdeps/sh/linkmap.h: ...here.
1471 * sysdeps/x86/bits/linkmap.h: Move to ...
1472 * sysdeps/x86/linkmap.h: ...here.
1473 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
1474
1475 2015-09-04 Andreas Schwab <schwab@suse.de>
1476
1477 [BZ #18635]
1478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
1479 (__makecontext): Terminate FDE before return label.
1480 (__novec_makecontext): Likewise.
1481
1482 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1483
1484 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
1485 first member of struct sv in syscall macro.
1486
1487 2015-09-04 Joseph Myers <joseph@codesourcery.com>
1488
1489 [BZ #14912]
1490 * bits/stdio-lock.h: Move to ...
1491 * sysdeps/generic/stdio-lock.h: ...here.
1492 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
1493 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
1494 * sysdeps/nptl/stdio-lock.h: ...here.
1495 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
1496 * include/libio.h: Include <stdio-lock.h> instead of
1497 <bits/stdio-lock.h>.
1498 * sysdeps/nptl/fork.c: Likewise.
1499 * sysdeps/pthread/flockfile.c: Likewise.
1500 * sysdeps/pthread/ftrylockfile.c: Likewise.
1501 * sysdeps/pthread/funlockfile.c: Likewise.
1502
1503 [BZ #14912]
1504 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
1505 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
1506 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
1507 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
1508 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
1509 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1510 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
1511
1512 2015-09-03 Roland McGrath <roland@hack.frob.com>
1513
1514 * elf/Makefile (test-xfail-tst-protected1a): New variable.
1515 (test-xfail-tst-protected1b): New variable.
1516
1517 2015-09-03 Joseph Myers <joseph@codesourcery.com>
1518
1519 [BZ #14912]
1520 * bits/libc-tsd.h: Move to ...
1521 * sysdeps/generic/libc-tsd.h: ...here.
1522 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
1523 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
1524 * sysdeps/mach/hurd/libc-tsd.h: ...here.
1525 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
1526 * include/ctype.h: Include <libc-tsd.h> instead of
1527 <bits/libc-tsd.h>.
1528 * include/rpc/rpc.h: Likewise.
1529 * locale/localeinfo.h: Likewise.
1530 * sunrpc/rpc_thread.c: Likewise.
1531 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
1532 * sysdeps/nptl/malloc-machine.h: Likewise.
1533
1534 * Makefile (headers): Remove bits/libc-lock.h.
1535 * libio/Makefile (headers): Remove bits/stdio-lock.h.
1536
1537 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
1538 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
1539 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
1540 <bits/stdio-lock.h>.
1541 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
1542 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
1543
1544 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1545
1546 [BZ #18757]
1547 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
1548 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
1549 BZ #18757.
1550
1551 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1552
1553 * malloc/mtrace.pl: Filter out NULL entries.
1554
1555 2015-09-01 Joseph Myers <joseph@codesourcery.com>
1556
1557 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
1558 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
1559 macro.
1560
1561 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
1562 (TCP_CC_INFO): Likewise.
1563 (TCP_SAVE_SYN): Likewise.
1564 (TCP_SAVED_SYN): Likewise.
1565
1566 2015-08-31 Brett Neumeier <brett@neumeier.us>
1567
1568 [BZ #18870]
1569 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
1570
1571 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
1572
1573 [BZ #18873]
1574 Fix broken overflow check in posix_fallocate
1575 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
1576 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1577 Fix parenthesization typo.
1578
1579 2015-08-28 Mike Frysinger <vapier@gentoo.org>
1580
1581 [BZ #18887]
1582 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
1583 tst-mntent-blank-passno.
1584 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
1585 * misc/tst-mntent-blank-corrupt.c: New test.
1586 * misc/tst-mntent-blank-passno.c: New test ripped from ...
1587 * misc/tst-mntent.c (do_test): ... here.
1588
1589 2015-08-29 Mike Frysinger <vapier@gentoo.org>
1590
1591 [BZ #4404]
1592 * po/de.po: Fix SIGALRM typo.
1593
1594 2015-08-28 James Perkins <james@loowit.net>
1595
1596 * time/tst-strptime2.c (tests): Replace short list of test
1597 strings for strptime %z specifier with code which exhaustively
1598 tests every combination of sign and 0 to 5 digits. Tests for
1599 rejection of invalid strings.
1600
1601 2015-08-28 James Perkins <james@loowit.net>
1602
1603 [BZ #16141]
1604 * time/strptime_l.c (__strptime_internal): Fix %z minutes
1605 calculation, removing incorrect decimal time rounding, so that
1606 all minute values result in a valid seconds value.
1607 * time/strptime_l.c (__strptime_internal): Extend %z time zone
1608 offset range limits to UTC-99:59 through UTC+99:59 to parse
1609 current and historical use cases.
1610 * time/tst-strptime2.c (tests): Modify and add tests for the
1611 strptime %z input field descriptor, specifically conversion of
1612 minutes to seconds and validating an offset range of -9959 to
1613 +9959.
1614
1615 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1616 Dmitry V. Levin <ldv@altlinux.org>
1617
1618 [BZ #18877]
1619 * posix/Makefile (tests): Add tst-mmap-offset.
1620 * posix/tst-mmap.c: New file.
1621 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
1622 offset calculation for negative values.
1623
1624 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1625
1626 * sysdeps/i386/init-arch.h: New file.
1627 * sysdeps/i386/i586/init-arch.h: Likewise.
1628 * sysdeps/i386/i686/init-arch.h: Likewise.
1629 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
1630 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
1631 * sysdeps/x86/cpu-features.h (bit_I586): New.
1632 (bit_I686): Likewise.
1633 (bit_CX8): Likewise.
1634 (bit_CMOV): Likewise.
1635 (index_CX8): Likewise.
1636 (index_CMOV): Likewise.
1637 (index_I586): Likewise.
1638 (index_I686): Likewise.
1639 (reg_CX8): Likewise.
1640 (reg_CMOV): Likewise.
1641 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
1642 available at compile-time.
1643 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
1644 available at compile-time.
1645 * sysdeps/x86/init-arch.h (USE_I586): New macro.
1646 (USE_I686): Likewise.
1647
1648 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1649
1650 * sysdeps/i386/bcopy.S: New file.
1651 * sysdeps/i386/bzero.S: Likewise.
1652 * sysdeps/i386/memcpy.S: Likewise.
1653 * sysdeps/i386/memmove.S: Likewise.
1654 * sysdeps/i386/mempcpy.S: Likewise.
1655 * sysdeps/i386/memset.S: Likewise.
1656 * sysdeps/i386/bzero.c: Removed.
1657 * sysdeps/i386/memset.c: Likewise.
1658 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
1659 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
1660 * sysdeps/i386/i586/memset_chk.S: Likewise.
1661 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
1662 * sysdeps/i386/memcpy_chk.S: Here.
1663 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
1664 * sysdeps/i386/memmove_chk.S: Here.
1665 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
1666 * sysdeps/i386/mempcpy_chk.S: Likewise.
1667 * sysdeps/i386/i686/memset_chk.S: Moved to ...
1668 * sysdeps/i386/memset_chk.S: Likewise.
1669
1670 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
1671
1672 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
1673 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
1674 file, move DIAG_POP_NEEDS_COMMENT to end of file.
1675 * soft-fp/fmadf4.c: Ditto.
1676 * soft-fp/fmatf4.c: Ditto.
1677
1678 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1679
1680 * sysdeps/i386/i586/Implies: Removed.
1681 * sysdeps/i386/i686/Implies: Likewise.
1682
1683 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1684
1685 * sysdeps/i386/i486/strlen.S: Moved to ...
1686 * sysdeps/i386/strlen.S: Here.
1687
1688 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1689
1690 * sysdeps/i386/i486/strcat.S: Moved to ...
1691 * sysdeps/i386/strcat.S: Here.
1692
1693 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1694
1695 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
1696 * sysdeps/i386/pthread_spin_trylock.S: Here.
1697 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
1698 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
1699
1700 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1701
1702 * sysdeps/i386/i486/string-inlines.c: Moved to ...
1703 * sysdeps/i386/string-inlines.c: Here.
1704
1705 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1706
1707 * sysdeps/i386/i486/htonl.S: Moved ...
1708 * sysdeps/i386/htonl.S: here.
1709
1710 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1711
1712 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
1713 * sysdeps/i386/bits/atomic.h: Here.
1714
1715 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1716
1717 * sysdeps/i386/i486/Versions: Removed.
1718
1719 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
1720
1721 [BZ #2898]
1722 * misc/mktemp.c: Add mkdtemp to the link_warning message.
1723 Based on patch by Aurelien Jarno.
1724
1725 2015-08-26 Stan Shebs <stanshebs@google.com>
1726
1727 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
1728 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1729
1730 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1731
1732 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
1733 * sysdeps/powerpc/dl-procinfo.c:
1734 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
1735 feature so it shows when LD_SHOW_AUXV=1.
1736
1737 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1738
1739 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1740 (__arch_compare_and_exchange_val_32_acq): Remove and use common
1741 definition. ISA 2.07B no longer requires full sync.
1742
1743 2015-08-26 Mike Frysinger <vapier@gentoo.org>
1744
1745 [BZ #18863]
1746 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
1747 (si_call_addr): Define.
1748 (si_syscall): Define.
1749 (si_arch): Define.
1750
1751 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
1752
1753 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
1754 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
1755 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
1756 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
1757 (__memset_zero_constant_len_parameter): New.
1758 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
1759 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
1760 (__memset_zero_constant_len_parameter): Don't define if
1761 __memset_chk or USE_AS_BZERO are defined.
1762
1763 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
1764 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
1765 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
1766
1767 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
1768 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
1769 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
1770 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
1771 comments.
1772 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
1773 -mno-mmx for $(all-rtld-routines).
1774 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
1775 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
1776 i386.
1777
1778 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1779
1780 * sysdeps/generic/unwind.h
1781 (_Unwind_Word): Use __mode__(__unwind_word__)
1782 instead of __mode__(__word__).
1783 (_Unwind_Sword): Likewise.
1784
1785 * sysdeps/s390/s390-64/utf8-utf16-z9.c
1786 (MAX_NEEDED_INPUT): New define.
1787 (MAX_NEEDED_OUTPUT): New define.
1788
1789 * NEWS: New item for IBM z13 string optimizations.
1790
1791 * sysdeps/s390/multiarch/memrchr-c.c: New File.
1792 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
1793 * sysdeps/s390/multiarch/memrchr.c: Likewise.
1794 * sysdeps/s390/multiarch/Makefile
1795 (sysdep_routines): Add memrchr functions.
1796 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1797 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
1798
1799 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
1800 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
1801 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
1802 * sysdeps/s390/multiarch/Makefile
1803 (sysdep_routines): Add wmemcmp functions.
1804 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1805 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
1806 * benchtests/bench-wmemcmp.c: New File.
1807 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
1808
1809 * sysdeps/s390/multiarch/wmemset-c.c: New File.
1810 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
1811 * sysdeps/s390/multiarch/wmemset.c: Likewise.
1812 * sysdeps/s390/multiarch/Makefile
1813 (sysdep_routines): Add wmemset functions.
1814 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1815 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
1816 * wcsmbs/wmemset.c: Use WMEMSET if defined.
1817 * string/test-memset.c: Add wmemset support.
1818 * wcsmbs/test-wmemset.c: New File.
1819 * wcsmbs/Makefile (strop-tests): Add wmemset.
1820 * benchtests/bench-memset.c: Add wmemset support.
1821 * benchtests/bench-wmemset.c: New File.
1822 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
1823
1824 * sysdeps/s390/multiarch/memccpy-c.c: New File.
1825 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
1826 * sysdeps/s390/multiarch/memccpy.c: Likewise.
1827 * sysdeps/s390/multiarch/Makefile
1828 (sysdep_routines): Add memccpy functions.
1829 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1830 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
1831 * string/memccpy.c: Use MEMCCPY if defined.
1832
1833 * sysdeps/s390/multiarch/memchr-vx.S: New File.
1834 * sysdeps/s390/multiarch/memchr.c: Likewise.
1835 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
1836 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
1837 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
1838 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
1839 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
1840 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
1841 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
1842 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
1843 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
1844 and rawmemchr functions.
1845 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1846 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
1847 and wmemchr.
1848 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
1849 * string/test-memchr.c: Add wmemchr support.
1850 * wcsmbs/test-wmemchr.c: New File.
1851 * wcsmbs/Makefile (strop-tests): Add wmemchr.
1852 * benchtests/bench-memchr.c: Add wmemchr support.
1853 * benchtests/bench-wmemchr.c: New File.
1854 * benchtests/Makefile (wcsmbs-bench): wmemchr.
1855
1856 * sysdeps/s390/multiarch/strcspn-c.c: New File.
1857 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
1858 * sysdeps/s390/multiarch/strcspn.c: Likewise.
1859 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
1860 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
1861 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
1862 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
1863 wcscspn functions.
1864 * sysdeps/s390/multiarch/ifunc-impl-list.c
1865 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
1866 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
1867 * string/test-strcspn.c: Add wcscspn support.
1868 * wcsmbs/test-wcscspn.c: New File.
1869 * wcsmbs/Makefile (strop-tests): Add wcscspn.
1870 * benchtests/bench-strcspn.c: Add wcscspn support.
1871 * benchtests/bench-wcscspn.c: New File.
1872 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
1873
1874 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
1875 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
1876 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
1877 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
1878 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
1879 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
1880 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
1881 wcspbrk functions.
1882 * sysdeps/s390/multiarch/ifunc-impl-list.c
1883 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
1884 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
1885 * string/test-strpbrk.c: Add wcspbrk support.
1886 * wcsmbs/test-wcspbrk.c: New File.
1887 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
1888 * benchtests/bench-strpbrk.c: Add wcspbrk support.
1889 * benchtests/bench-wcspbrk.c: New File.
1890 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
1891
1892 * sysdeps/s390/multiarch/strspn-c.c: New File.
1893 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
1894 * sysdeps/s390/multiarch/strspn.c: Likewise.
1895 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
1896 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
1897 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
1898 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
1899 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
1900 wcsspn functions.
1901 * sysdeps/s390/multiarch/ifunc-impl-list.c
1902 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
1903 * string/test-strspn.c: Add wcsspn support.
1904 * wcsmbs/test-wcsspn.c: New File.
1905 * wcsmbs/Makefile (strop-tests): Add wcsspn.
1906 * benchtests/bench-strspn.c: Add wcsspn support.
1907 * benchtests/bench-wcsspn.c: New File.
1908 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
1909
1910 * sysdeps/s390/multiarch/strrchr-c.c: New File.
1911 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
1912 * sysdeps/s390/multiarch/strrchr.c: Likewise.
1913 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
1914 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
1915 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
1916 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
1917 wcsrchr functions.
1918 * sysdeps/s390/multiarch/ifunc-impl-list.c
1919 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
1920 * benchtests/bench-wcsrchr.c: New File.
1921 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
1922
1923 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
1924 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
1925 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
1926 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
1927 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
1928 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
1929 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
1930 wcschrnul functions.
1931 * sysdeps/s390/multiarch/ifunc-impl-list.c
1932 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
1933 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
1934 * string/test-strchr.c: Add wcschrnul support.
1935 * wcsmbs/test-wcschrnul.c: New File.
1936 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
1937 * benchtests/bench-strchr.c: Add wcschrnul support.
1938 * benchtests/bench-wcschrnul.c: New File.
1939 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
1940
1941 * sysdeps/s390/multiarch/strchr-c.c: New File.
1942 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
1943 * sysdeps/s390/multiarch/strchr.c: Likewise.
1944 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
1945 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
1946 * sysdeps/s390/multiarch/wcschr.c: Likewise.
1947 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
1948 wcschr functions.
1949 * sysdeps/s390/multiarch/ifunc-impl-list.c
1950 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
1951 * string/strchr.c (STRCHR): Define and use macro.
1952 * benchtests/bench-wcschr.c: New File.
1953 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
1954
1955 * sysdeps/s390/multiarch/strncmp-c.c: New File.
1956 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
1957 * sysdeps/s390/multiarch/strncmp.c: Likewise.
1958 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
1959 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
1960 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
1961 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
1962 wcsncmp functions.
1963 * sysdeps/s390/multiarch/ifunc-impl-list.c
1964 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
1965 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
1966 * benchtests/bench-strncmp.c: Add wcsncmp support.
1967 * benchtests/bench-wcsncmp.c: New File.
1968 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
1969
1970 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
1971 * sysdeps/s390/multiarch/strcmp.c: Likewise.
1972 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
1973 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
1974 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
1975 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
1976 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
1977 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
1978 wcscmp functions.
1979 * sysdeps/s390/multiarch/ifunc-impl-list.c
1980 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
1981 * string/strcmp.c (STRCMP): Define and use macro.
1982 * benchtests/bench-wcscmp.c: New File.
1983 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
1984 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
1985 instead of _HAVE_STRING_ARCH_memchr.
1986
1987 * sysdeps/s390/multiarch/strncat-c.c: New File.
1988 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
1989 * sysdeps/s390/multiarch/strncat.c: Likewise.
1990 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
1991 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
1992 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
1993 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
1994 wcsncat functions.
1995 * sysdeps/s390/multiarch/ifunc-impl-list.c
1996 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
1997 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
1998 * string/test-strncat.c: Add wcsncat support.
1999 * wcsmbs/test-wcsncat.c: New File.
2000 * wcsmbs/Makefile (strop-tests): Add wcsncat.
2001 * benchtests/bench-strncat.c: Add wcsncat support.
2002 * benchtests/bench-wcsncat.c: New File.
2003 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
2004
2005 * sysdeps/s390/multiarch/strcat-c.c: New File.
2006 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
2007 * sysdeps/s390/multiarch/strcat.c: Likewise.
2008 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
2009 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
2010 * sysdeps/s390/multiarch/wcscat.c: Likewise.
2011 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
2012 wcscat functions.
2013 * sysdeps/s390/multiarch/ifunc-impl-list.c
2014 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
2015 * string/strcat.c (STRCAT): Define and use macro.
2016 * wcsmbs/wcscat.c: Use WCSCAT if defined.
2017 * string/test-strcat.c: Add wcscat support.
2018 * wcsmbs/test-wcscat.c: New File.
2019 * wcsmbs/Makefile (strop-tests): Add wcscat.
2020 * benchtests/bench-strcat.c: Add wcscat support.
2021 * benchtests/bench-wcscat.c: New File.
2022 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
2023
2024 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
2025 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
2026 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
2027 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
2028 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
2029 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
2030 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
2031 wcpncpy functions.
2032 * sysdeps/s390/multiarch/ifunc-impl-list.c
2033 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
2034 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
2035 * string/test-stpncpy.c: Add wcpncpy support.
2036 * wcsmbs/test-wcpncpy.c: New File.
2037 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
2038 * benchtests/bench-stpncpy.c: Add wcpncpy support.
2039 * benchtests/bench-wcpncpy.c: New File.
2040 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
2041
2042 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
2043 * sysdeps/s390/multiarch/strncpy.c: Likewise.
2044 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
2045 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
2046 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
2047 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
2048 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
2049 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
2050 wcsncpy functions.
2051 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
2052 * sysdeps/s390/multiarch/ifunc-impl-list.c
2053 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
2054 * string/test-strncpy.c: Add wcsncpy support.
2055 * wcsmbs/test-wcsncpy.c: New File.
2056 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
2057 * benchtests/bench-strncpy.c: Add wcsncpy support.
2058 * benchtests/bench-wcsncpy.c: New File.
2059 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
2060
2061 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
2062 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
2063 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
2064 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
2065 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
2066 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
2067 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
2068 wcpcpy functions.
2069 * string/stpcpy.c: Use STPCPY if defined.
2070 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
2071 * sysdeps/s390/multiarch/ifunc-impl-list.c
2072 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
2073 * string/test-stpcpy.c: Add wcpcpy support.
2074 * wcsmbs/test-wcpcpy.c: New File.
2075 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
2076 * benchtests/bench-stpcpy.c: Add wcpcpy support.
2077 * benchtests/bench-wcpcpy.c: New File.
2078 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
2079
2080 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
2081 * sysdeps/s390/multiarch/strcpy.c: Likewise.
2082 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
2083 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
2084 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
2085 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
2086 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
2087 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
2088 wcscpy functions.
2089 * sysdeps/s390/multiarch/ifunc-impl-list.c
2090 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
2091 * benchtests/bench-wcscpy.c: New File.
2092 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
2093
2094 * sysdeps/s390/multiarch/strnlen-c.c: New File.
2095 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
2096 * sysdeps/s390/multiarch/strnlen.c: Likewise.
2097 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
2098 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
2099 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
2100 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
2101 wcsnlen functions.
2102 * sysdeps/s390/multiarch/ifunc-impl-list.c
2103 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
2104 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
2105 * string/test-strnlen.c: Add wcsnlen support.
2106 * wcsmbs/test-wcsnlen.c: New File.
2107 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
2108 * benchtests/bench-strnlen.c: Add wcsnlen support.
2109 * benchtests/bench-wcsnlen.c: New File.
2110 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
2111
2112 * sysdeps/s390/multiarch/Makefile: New File.
2113 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
2114 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
2115 * sysdeps/s390/multiarch/strlen.c: Likewise.
2116 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
2117 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
2118 * sysdeps/s390/multiarch/wcslen.c: Likewise.
2119 * string/strlen.c (STRLEN): Define and use macro.
2120 * sysdeps/s390/multiarch/ifunc-impl-list.c
2121 (IFUNC_VX_IMPL): New macro function.
2122 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
2123 * benchtests/Makefile (wcsmbs-bench): New variable.
2124 (string-bench-all): Added wcsmbs-bench.
2125 * benchtests/bench-wcslen.c: New File.
2126
2127 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
2128 s390_vx_libc_ifunc2): New macro function.
2129
2130 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
2131 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
2132 assembler support.
2133 * sysdeps/s390/configure: Regenerated.
2134
2135 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
2136 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
2137
2138 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
2139 * sysdeps/s390/dl-procinfo.h: Add vector capability.
2140 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
2141
2142 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2143 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
2144 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
2145 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
2146 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
2147 (memcmp, bcmp): Use __memcmp_default as alias source.
2148 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
2149 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
2150 Rename to __memcmp_default.
2151 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
2152 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
2153 (memcpy): Use __memcpy_default as alias source.
2154 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
2155 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
2156 Rename to __memcpy_default.
2157 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
2158 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
2159 (memset): Use __memset_default as alias source.
2160 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
2161 * sysdeps/s390/s390-32/memset.S (__memset_g5):
2162 Rename to __memset_default.
2163 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
2164 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
2165 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
2166 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
2167 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
2168 (memcmp, bcmp): Use __memcmp_default as alias source.
2169 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
2170 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
2171 Rename to __memcmp_default.
2172 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
2173 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
2174 (memcpy): Use __memcpy_default as alias source.
2175 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
2176 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
2177 Rename to __memcpy_default.
2178 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
2179 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
2180 (memset): Use __memset_default as alias source.
2181 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
2182 * sysdeps/s390/s390-64/memset.S (__memset_z900):
2183 Rename to __memset_default.
2184 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
2185 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
2186
2187 [BZ #18610]
2188 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
2189 __ieee_instruction_pointer to __unused.
2190 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
2191 __ieee_instruction_pointer.
2192 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
2193 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
2194 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2195 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
2196 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
2197 Mark dxc-field as reserved.
2198
2199 2015-08-25 Roland McGrath <roland@hack.frob.com>
2200
2201 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
2202 if the weak reference is not null.
2203
2204 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
2205
2206 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
2207
2208 [BZ #11214]
2209 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
2210
2211 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2212
2213 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
2214 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
2215 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
2216 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
2217 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
2218 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
2219 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
2220 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
2221 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
2222 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
2223 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
2224 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
2225 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
2226 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
2227 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
2228 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
2229 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
2230 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
2231
2232 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2233
2234 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
2235 register other than r0 for tabort, it has special meaning.
2236 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
2237 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
2238 transaction before starting syscall.
2239
2240 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2241
2242 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
2243
2244 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
2245
2246 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
2247
2248 * sysdeps/x86_64/rtld-memcmp.c: Removed.
2249 * sysdeps/x86_64/rtld-memset.S: Likewise.
2250 * sysdeps/x86_64/rtld-strchr.S: Likewise.
2251 * sysdeps/x86_64/rtld-strlen.S: Likewise.
2252 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
2253 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2254
2255 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
2256
2257 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
2258
2259 * debug/strcpy_chk.c: Improve performance.
2260 * debug/stpcpy_chk.c: Likewise.
2261 * sysdeps/x86_64/strcpy_chk.S: Remove.
2262 * sysdeps/x86_64/stpcpy_chk.S: Remove.
2263
2264 [BZ #18240]
2265 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
2266
2267 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
2268
2269 [BZ #15128]
2270 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
2271 ifuncmain8.
2272 (modules-names): Add ifuncmod8.
2273 ($(objpfx)ifuncmain8): New rule.
2274 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
2275 <cpuid.h>.
2276 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
2277 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
2278 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
2279 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
2280 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
2281 * sysdeps/x86_64/dl-trampoline.h: Likewise.
2282 * sysdeps/x86_64/ifuncmain8.c: New file.
2283 * sysdeps/x86_64/ifuncmod8.c: Likewise.
2284 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
2285 Removed.
2286 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
2287 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
2288 Change rtld_savespace_sse to __glibc_unused2.
2289 (RTLD_CHECK_FOREIGN_CALL): Removed.
2290 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
2291 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
2292 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
2293
2294 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
2295
2296 * sysdeps/aarch64/bzero.S (__bzero): Remove.
2297
2298 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
2299
2300 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
2301 Unconditionally set __fpcr to avoid uninialized warning.
2302 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
2303
2304 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2305
2306 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
2307 is corrupt.
2308
2309 * malloc/arena.c (arena_get2): Drop unused argument.
2310 (arena_lock): Adjust.
2311 (arena_get_retry): Likewise.
2312
2313 2015-08-24 Andreas Schwab <schwab@suse.de>
2314
2315 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
2316 Don't define.
2317 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2318 (__ASSUME_IPC64): Don't undef.
2319 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
2320 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2321 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2322 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
2323 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
2324 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
2325 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
2326 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
2327 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
2328 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
2329 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
2330 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
2331 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
2332 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
2333 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
2334 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
2335 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
2336 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
2337 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
2338 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
2339 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
2340
2341 2015-08-21 Mike Frysinger <vapier@gentoo.org>
2342
2343 * manual/Makefile (install): Only build manual when perl is available.
2344
2345 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2346
2347 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
2348 '#undef memcpy' by '#undef memchr'.
2349
2350 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2351
2352 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
2353 memchr not point to the internal __GI_memchr implementation.
2354
2355 2015-08-20 Joseph Myers <joseph@codesourcery.com>
2356
2357 * timezone/Makefile (CFLAGS-zdump.c): Remove
2358 -Wno-strict-prototypes.
2359 (CFLAGS-zic.c): Likewise.
2360 (CFLAGS-ialloc.c): Likewise.
2361 (CFLAGS-scheck.c): Likewise.
2362
2363 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
2364 -Wno-error=undef.
2365
2366 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
2367
2368 * i386/i686/multiarch/strcasestr-c.c: Removed.
2369 * x86_64/multiarch/strcasestr.c: Likewise.
2370 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2371 Remove strcasestr.
2372
2373 2015-08-20 Joseph Myers <joseph@codesourcery.com>
2374
2375 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
2376
2377 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
2378 variables for high and low parts before possibly modifying them.
2379
2380 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
2381
2382 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
2383 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
2384 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
2385 of "multiarch/init-arch.h".
2386 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
2387 * sysdeps/x86/init-arch.h: This.
2388
2389 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
2390
2391 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
2392 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
2393
2394 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
2395
2396 [BZ #17787]
2397 * manual/macros.texi: Add twoexp macro.
2398 * manual/filesys.texi: Fix exponents.
2399 * manual/llio.texi: Likewise.
2400 * manual/stdio.texi: Likewise.
2401
2402 2015-08-20 Florian Weimer <fweimer@redhat.com>
2403
2404 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
2405 incorrect use.
2406
2407 2015-08-19 Joseph Myers <joseph@codesourcery.com>
2408
2409 [BZ #18370]
2410 * math/s_csqrt.c (__csqrt): Force underflow exception for results
2411 whose real or imaginary part has small absolute value.
2412 * math/s_csqrtf.c (__csqrtf): Likewise.
2413 * math/s_csqrtl.c (__csqrtl): Likewise.
2414 * math/auto-libm-test-in: Add more tests of csqrt.
2415 * math/auto-libm-test-out: Regenerated.
2416 * sysdeps/i386/fpu/libm-test-ulps: Update.
2417
2418 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2419
2420 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
2421 __ppc_set_ppr_very_low): New functions.
2422 * manual/platform.texi: Add documentation about
2423 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
2424
2425 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
2426
2427 * string/stpncpy.c (stpncpy): Improve performance using
2428 __strnlen/memcpy/memset.
2429
2430 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
2431
2432 [BZ #18796]
2433 * scripts/test-installation.pl: Don't add -lmvec to build options if
2434 libmvec wasn't built.
2435
2436 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
2437
2438 [BZ #14341]
2439 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
2440 case when there is a gap between DT_REL and DT_JMPREL sections.
2441 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
2442 (LDFLAGS-tst-split-dynreloc): New.
2443 (tst-split-dynreloc-ENV): Likewise.
2444 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
2445 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
2446
2447 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2448
2449 [BZ #18822]
2450 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
2451 attribute_hidden.
2452 (__xstat64_conv): Likewise.
2453 (__xstat32_conv): Likewise.
2454
2455 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2456
2457 [BZ #18822]
2458 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
2459 Don't load %ebx when calling __setcontext. Call __setcontext
2460 with HIDDEN_JUMPTARGET.
2461 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
2462 libc_hidden_def.
2463
2464 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2465
2466 * sysdeps/i386/i686/Makefile
2467 [$(subdir) == string] (sysdep_routines): Moved to ...
2468 * sysdeps/i386/Makefile: Here.
2469 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
2470 * sysdeps/i386/cacheinfo.c: Here.
2471 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
2472 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
2473 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
2474 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
2475
2476 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2477
2478 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
2479 __i586__ is defined.
2480 (HAS_I686): Defined to 1 if __i686__ is defined.
2481
2482 2015-08-19 Joseph Myers <joseph@codesourcery.com>
2483
2484 * elf/Makefile [$(have-z-execstack) = yes]
2485 (CPPFLAGS-tst-execstack.c): New variable.
2486
2487 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
2488 conditional to [defined UTMPX || _HAVE_UT_TYPE].
2489 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
2490 UTMPX || _HAVE_UT_TV].
2491 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
2492 UTMPX || _HAVE_UT_TV - 0].
2493
2494 2015-08-18 Joseph Myers <joseph@codesourcery.com>
2495
2496 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
2497 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
2498 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
2499
2500 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2501
2502 * sysdeps/powerpc/dl-procinfo.c:
2503 (_dl_powerpc_cap_flags): Added missing strings for some
2504 hwcap features.
2505 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
2506
2507 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
2508
2509 Port the 0x7efe...feff pattern to GCC 6.
2510 See Steve Ellcey's bug report in:
2511 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
2512 * string/memrchr.c (MEMRCHR):
2513 * string/rawmemchr.c (RAWMEMCHR):
2514 * string/strchr.c (strchr):
2515 * string/strchrnul.c (STRCHRNUL):
2516 Rewrite code to avoid issues with signed shift overflow.
2517
2518 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
2519
2520 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
2521 whether cpuid is available only if HAS_CPUID is 0.
2522 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
2523 (HAS_I586): Likewise.
2524 (HAS_I686): Likewise.
2525
2526 2015-08-18 Zack Weinberg <zackw@panix.com>
2527
2528 * misc/Versions (libc): Add GLIBC_2.23.
2529
2530 2015-08-18 Alan Modra <amodra@gmail.com>
2531
2532 [BZ #18421]
2533 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
2534 .Lp__global.
2535 (_start): Load %dp via .Lp__global.
2536 [!SHARED]: Use .section .rodata.
2537
2538 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2539
2540 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
2541 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
2542
2543 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2544
2545 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
2546 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
2547
2548 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2549
2550 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
2551 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
2552
2553 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2554
2555 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
2556 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
2557
2558 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2559
2560 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
2561 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
2562
2563 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2564
2565 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
2566 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
2567
2568 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2569
2570 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
2571
2572 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2573
2574 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
2575 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
2576 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2577 (__ASSUME_LWS_CAS): Delete.
2578
2579 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2580
2581 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
2582 * sysdeps/hppa/configure: Regenerated.
2583 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
2584 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
2585 * sysdeps/hppa/nptl/tls.h: Likewise.
2586
2587 2015-08-17 Joseph Myers <joseph@codesourcery.com>
2588
2589 [BZ #18823]
2590 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
2591 for scaling up small arguments.
2592 * math/s_csqrtf.c (__csqrtf): Likewise.
2593 * math/s_csqrtl.c (__csqrtl): Likewise.
2594 * math/auto-libm-test-in: Add more tests of csqrt.
2595 * math/auto-libm-test-out: Regenerated.
2596
2597 2015-08-17 Andreas Schwab <schwab@suse.de>
2598
2599 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
2600 version set GLIBC_2.19.
2601
2602 2015-08-16 Zack Weinberg <zackw@panix.com>
2603
2604 [BZ #18681]
2605 * misc/regexp.h: This interface is no longer supported.
2606 Remove all contents, leaving only an #error directive.
2607 * misc/regexp.c (loc1, loc2, locs, step, advance):
2608 Demote to compatibility symbols.
2609
2610 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
2611
2612 [BZ #18084]
2613 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
2614 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
2615 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
2616 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
2617 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
2618 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
2619 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
2620 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
2621 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
2622
2623 2015-08-15 Zack Weinberg <zackw@panix.com>
2624
2625 [BZ #18795]
2626 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
2627 buffer length is known to be too large, not if it's known to be
2628 small enough.
2629 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
2630 overflow at runtime, involving a length parameter, twice: once
2631 with a compile-time constant length parameter, once without.
2632
2633 2015-08-14 Joseph Myers <joseph@codesourcery.com>
2634
2635 [BZ #18824]
2636 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
2637 scaling x * y up instead of down.
2638 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2639 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2640 * math/auto-libm-test-in: Add more tests of fma.
2641 * math/auto-libm-test-out: Regenerated.
2642
2643 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2644
2645 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2646
2647 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2648
2649 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
2650 unnecessary movq.
2651 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
2652 Likewise.
2653
2654 2015-08-13 Joseph Myers <joseph@codesourcery.com>
2655
2656 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2657 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
2658 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
2659 and tgamma.
2660 * math/auto-libm-test-out: Regenerated.
2661 * sysdeps/i386/fpu/libm-test-ulps: Update.
2662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2663
2664 [BZ #16520]
2665 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
2666 (__tanh): Force underflow exception for arguments with small
2667 absolute value.
2668 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
2669 (__tanhf): Force underflow exception for arguments with small
2670 absolute value.
2671 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
2672 (__tanhl): Force underflow exception for arguments with small
2673 absolute value.
2674 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
2675 (__tanhl): Force underflow exception for arguments with small
2676 absolute value.
2677 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
2678 (__tanhl): Force underflow exception for arguments with small
2679 absolute value.
2680 * math/auto-libm-test-in: Add more tests of tanh.
2681 * math/auto-libm-test-out: Regenerated.
2682 * sysdeps/i386/fpu/libm-test-ulps: Update.
2683
2684 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2685
2686 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
2687 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
2688
2689 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2690
2691 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
2692 <cpuid.h>.
2693
2694 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2695
2696 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
2697 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
2698
2699 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2700
2701 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
2702 Remove $(objpfx)init-arch.o.
2703 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
2704 init-arch.
2705 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
2706 (INIT_ARCH_EXT): Defined as empty.
2707 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
2708 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
2709 __init_cpu_features call. Replace HAS_XXX with
2710 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2711 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
2712 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
2713 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
2714 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
2715 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
2716 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
2717 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
2718 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
2719 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
2720 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
2721 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
2722 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
2723 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
2724 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
2725 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
2726 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
2727 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
2728 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
2729 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
2730 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
2731 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
2732 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
2733 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
2734 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
2735 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
2736 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
2737 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
2738 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
2739 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
2740 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
2741 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
2742 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
2743 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
2744 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
2745 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
2746
2747 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2748
2749 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
2750 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2751 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
2752 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
2753 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
2754 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
2755 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
2756 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
2757 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
2758 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
2759 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
2760 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
2761 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2762 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2763 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2764 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2765 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2766 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2767 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2768 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2769 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2770 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2771 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2772 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2773 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2774 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2775 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2776 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2777 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2778 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2779 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2780 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2781 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2782 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2783 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2784 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2785 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2786 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2787 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2788 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2789 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2790 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2791 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2792
2793 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2794
2795 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
2796 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2797 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
2798 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2799 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2800 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
2801 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2802 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
2803 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
2804 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2805 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2806 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
2807 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
2808 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
2809 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
2810 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
2811 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
2812 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
2813 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
2814 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
2815 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
2816 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
2817 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
2818 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2819 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2820 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
2821 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
2822 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
2823 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2824 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2825 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2826 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2827 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2828 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2829 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2830 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2831 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2832 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2833 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2834 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2835 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2836 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2837 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2838
2839 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2840
2841 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
2842 (dl_platform_init): Call init_cpu_features.
2843 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
2844 * sysdeps/i386/i686/cacheinfo.c
2845 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
2846 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
2847 * sysdeps/i386/i686/multiarch/Versions: Removed.
2848 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
2849 Removed.
2850 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
2851 * sysdeps/unix/sysv/linux/x86/Makefile
2852 (libpthread-sysdep_routines): Remove init-arch.
2853 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
2854 <sysdeps/x86_64/dl-procinfo.c> instead of
2855 sysdeps/generic/dl-procinfo.c>.
2856 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
2857 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
2858 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
2859 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
2860 [$(subdir) == elf] (tests-static): Add
2861 tst-get-cpu-features-static.
2862 * sysdeps/x86/Versions: New file.
2863 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
2864 * sysdeps/x86/cpu-features.c: Likewise.
2865 * sysdeps/x86/cpu-features.h: Likewise.
2866 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
2867 * sysdeps/x86/libc-start.c: Likewise.
2868 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
2869 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
2870 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
2871 * sysdeps/x86_64/dl-procinfo.c: Likewise.
2872 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
2873 Assume USE_MULTIARCH is defined and don't check it.
2874 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
2875 (is_amd): Likewise.
2876 (max_cpuid): Likewise.
2877 (intel_check_word): Likewise.
2878 (__cache_sysconf): Don't call __init_cpu_features.
2879 (__x86_preferred_memory_instruction): Removed.
2880 (init_cacheinfo): Don't call __init_cpu_features. Replace
2881 __cpu_features with GLRO(dl_x86_cpu_features).
2882 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
2883 (dl_platform_init): Call init_cpu_features.
2884 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
2885 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
2886 * sysdeps/x86_64/multiarch/Versions: Removed.
2887 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
2888 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
2889 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
2890 Removed.
2891 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
2892
2893 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2894
2895 [BZ #18820]
2896 * libio/Makefile (test-fmemopen-mem): New test.
2897 * libio/test-fmemopen.c (do_bz18820): New test.
2898 * libio/fmemopen.c (__fmemopen): Fix memory leak.
2899 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
2900
2901 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2902
2903 [BZ #16734]
2904 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
2905 (FREE_BUF): Delete.
2906 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
2907 * libio/genops.c (_IO_setb): Use malloc and free directly.
2908 (_IO_default_doallocate, _IO_default_finish): Likewise.
2909 ( _IO_unbuffer_all): Likewise.
2910 ( libc_freeres_fn): Likewise.
2911 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2912 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
2913 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
2914 (_IO_wdefault_doallocate): Likewise.
2915
2916 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2917
2918 [BZ #18086]
2919 * sysdeps/posix/nice.c (nice): Restore old errno.
2920 * posix/tst-nice.c (do_test): Add test for BZ #18086.
2921
2922 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
2923
2924 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
2925
2926 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2927
2928 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
2929 __bcopy and add a weak_alias to bcopy.
2930 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
2931 for static build.
2932
2933 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
2934 cleanup macro usage.
2935 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
2936 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
2937 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2938 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
2939 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2940 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
2941 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
2942 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
2943 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2944 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
2945 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2946 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
2947 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2948 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
2949 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2950 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
2951 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
2952 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
2953 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
2954
2955 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
2956 libc_hidden_def.
2957 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
2958
2959 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
2960 (sysdep_routines): Add strstr-ppc64.
2961 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
2962
2963 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
2964
2965 [BZ #18778]
2966 * elf/Makefile (tests): Add Add tst-nodelete2.
2967 (modules-names): Add tst-nodelete2mod.
2968 (tst-nodelete2mod.so-no-z-defs): New.
2969 ($(objpfx)tst-nodelete2): Likewise.
2970 ($(objpfx)tst-nodelete2.out): Likewise.
2971 (LDFLAGS-tst-nodelete2): Likewise.
2972 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
2973 out of loop through all loaded libraries.
2974 * elf/tst-nodelete2.c: New file.
2975 * elf/tst-nodelete2mod.c: Likewise.
2976 * elf/tst-znodelete-zlib.cc: Delete.
2977
2978 2015-08-11 Andreas Schwab <schwab@suse.de>
2979
2980 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
2981 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
2982 (__openat64_nocancel): Likewise.
2983
2984 2015-08-11 Joseph Myers <joseph@codesourcery.com>
2985
2986 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
2987 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
2988 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
2989 * math/auto-libm-test-out: Regenerated.
2990 * sysdeps/i386/fpu/libm-test-ulps: Update.
2991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2992
2993 2015-08-10 Joseph Myers <joseph@codesourcery.com>
2994
2995 [BZ #18790]
2996 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
2997 threshold for returning +/- 1.
2998 * math/auto-libm-test-in: Add more tests of tanh.
2999 * math/auto-libm-test-out: Regenerated.
3000 * sysdeps/i386/fpu/libm-test-ulps: Update.
3001
3002 2015-08-10 Andreas Schwab <schwab@suse.de>
3003
3004 [BZ #18781]
3005 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
3006 MORE_OFLAGS to oflag.
3007 * io/test-lfs.c (do_test): Test openat64.
3008
3009 2015-08-10 Joseph Myers <joseph@codesourcery.com>
3010
3011 [BZ #18789]
3012 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
3013 smaller threshold for returning the argument.
3014 * math/auto-libm-test-in: Add more tests of sinh.
3015 * math/auto-libm-test-out: Regenerated.
3016 * sysdeps/i386/fpu/libm-test-ulps: Update.
3017
3018 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
3019
3020 [BZ #18674]
3021 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
3022 break.
3023
3024 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
3025
3026 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
3027 (generated): Don't add $(addprefix z.,$(tzfiles)).
3028
3029 2015-08-09 Mike Frysinger <vapier@gentoo.org>
3030
3031 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
3032 * scripts/sysd-rules.awk: Likewise.
3033
3034 2015-08-09 Mike Frysinger <vapier@gentoo.org>
3035
3036 * iconvdata/tst-tables.sh: Change echo -n to printf.
3037 * nss/db-Makefile: Likewise.
3038 * posix/tst-getconf.sh: Likewise.
3039 * stdio-common/tst-unbputc.sh: Likewise.
3040
3041 2015-08-09 Mike Frysinger <vapier@gentoo.org>
3042
3043 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
3044 MADV_*_PAGES defines behind this feature check.
3045
3046 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
3047
3048 [BZ #18480]
3049 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
3050 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
3051 Define.
3052 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
3053 LOAD_REGS_5, LOAD_REGS_6): Update.
3054 (INTERNAL_SYSCALL): Update using new LOAD defines.
3055 (INTERNAL_SYSCALL_NCS): Likewise.
3056 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
3057
3058 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3059
3060 [BZ #16734]
3061 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
3062
3063 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3064
3065 [BZ #17905]
3066 * catgets/Makefile (tst-catgets-mem): New test.
3067 * catgets/catgets.c (catopen): Don't use unbounded alloca.
3068 * catgets/open_catalog.c (__open_catalog): Likewise.
3069 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
3070
3071 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
3072
3073 [BZ #18787]
3074 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
3075 clobber registers.
3076 (atomic_compare_and_exchange_val_acq): Use register asms to assign
3077 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
3078 Cast return to __typeof (oldval).
3079
3080 2015-08-08 Mike Frysinger <vapier@gentoo.org>
3081
3082 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
3083 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
3084 and delete sys/syscall.h include.
3085
3086 2015-08-07 Joseph Myers <joseph@codesourcery.com>
3087
3088 [BZ #16517]
3089 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
3090 (tan): Force underflow exception for arguments with small absolute
3091 value.
3092 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
3093 (__kernel_tanf): Force underflow exception for arguments with
3094 small absolute value.
3095 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
3096 (__kernel_tanl): Force underflow exception for arguments with
3097 small absolute value.
3098 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
3099 (__kernel_tanl): Force underflow exception for arguments with
3100 small absolute value.
3101 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
3102 (__kernel_tanl): Force underflow exception for arguments with
3103 small absolute value.
3104 * math/auto-libm-test-in: Add more tests of tan.
3105 * math/auto-libm-test-out: Regenerated.
3106
3107 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3108
3109 Fix sysdeps/i386/fpu/s_scalbn.S build
3110
3111 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
3112
3113 2015-08-07 Mike Frysinger <vapier@gentoo.org>
3114
3115 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
3116
3117 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3118
3119 Fix gcrt0.o compilation
3120
3121 When static-start-installed-name is different from
3122 start-installed-name, we must not use the shared objects.
3123
3124 * csu/Makefile
3125 (extra-objs): Add gmon-start.o when building shared library and
3126 $(static-start-installed-name) is different from
3127 $(start-installed-name).
3128 $(objpfx)g$(static-start-installed-name): When building shared
3129 library and $(static-start-installed-name) is different from
3130 $(static-start-installed-name), revert to non-shared rule,
3131 i.e. using $(objpfx)% and gmon-start.o.
3132
3133 2015-08-06 Joseph Myers <joseph@codesourcery.com>
3134
3135 [BZ #16519]
3136 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
3137 (__ieee754_sinh): Force underflow exception for arguments with
3138 small absolute value.
3139 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
3140 (__ieee754_sinhf): Force underflow exception for arguments with
3141 small absolute value.
3142 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
3143 (__ieee754_sinhl): Force underflow exception for arguments with
3144 small absolute value.
3145 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
3146 (__ieee754_sinhl): Force underflow exception for arguments with
3147 small absolute value.
3148 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
3149 (__ieee754_sinhl): Force underflow exception for arguments with
3150 small absolute value.
3151 * math/auto-libm-test-in: Add more tests of sinh.
3152 * math/auto-libm-test-out: Regenerated.
3153 * sysdeps/i386/fpu/libm-test-ulps: Update.
3154
3155 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3156
3157 * libio/oldfileops.c: Include unistd.h.
3158
3159 2015-08-06 Mike Frysinger <vapier@gentoo.org>
3160
3161 * stdlib/isomac.c: Include ctype.h.
3162
3163 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
3164
3165 * dirent/tst-seekdir.c (main): Converted to ...
3166 (do_test): ... this.
3167 (TEST_FUNCTION): New macro.
3168 Include test-skeleton.c.
3169 * elf/tst-dlmodcount.c (main): Converted to ...
3170 (do_test): ... this.
3171 (TEST_FUNCTION): New macro.
3172 Include test-skeleton.c.
3173 * elf/tst-order-main.c (main): Converted to ...
3174 (do_test): ... this.
3175 (TEST_FUNCTION): New macro.
3176 Include test-skeleton.c.
3177 * elf/tst-pie2.c (main): Converted to ...
3178 (do_test): ... this.
3179 (TEST_FUNCTION): New macro.
3180 Include test-skeleton.c.
3181 * inet/tst-ether_aton.c (main): Converted to ...
3182 (do_test): ... this.
3183 (TEST_FUNCTION): New macro.
3184 Include test-skeleton.c.
3185 * misc/tst-mntent.c (main): Converted to ...
3186 (do_test): ... this.
3187 (TEST_FUNCTION): New macro.
3188 Include test-skeleton.c.
3189 * misc/tst-tsearch.c (main): Converted to ...
3190 (do_test): ... this.
3191 (TEST_FUNCTION): New macro.
3192 Include test-skeleton.c.
3193 * posix/tst-regexloc.c (main): Converted to ...
3194 (do_test): ... this.
3195 (TEST_FUNCTION): New macro.
3196 Include test-skeleton.c.
3197 * resolv/tst-aton.c (main): Converted to ...
3198 (do_test): ... this.
3199 (TEST_FUNCTION): New macro.
3200 Include test-skeleton.c.
3201 * stdio-common/test-fwrite.c (main): Converted to ...
3202 (do_test): ... this.
3203 (TEST_FUNCTION): New macro.
3204 Include test-skeleton.c.
3205 * stdio-common/tst-ferror.c (main): Converted to ...
3206 (do_test): ... this.
3207 (TEST_FUNCTION): New macro.
3208 Include test-skeleton.c.
3209 * stdio-common/tst-printf.c (main): Converted to ...
3210 (do_test): ... this.
3211 (TEST_FUNCTION): New macro.
3212 Include test-skeleton.c.
3213 * stdio-common/tst-printfsz.c (main): Converted to ...
3214 (do_test): ... this.
3215 (TEST_FUNCTION): New macro.
3216 Include test-skeleton.c.
3217 * stdlib/tst-strtod.c (main): Converted to ...
3218 (do_test): ... this.
3219 (TEST_FUNCTION): New macro.
3220 Include test-skeleton.c.
3221 * string/tst-strlen.c (main): Converted to ...
3222 (do_test): ... this.
3223 (TEST_FUNCTION): New macro.
3224 Include test-skeleton.c.
3225 * string/tst-svc.c (main): Converted to ...
3226 (do_test): ... this.
3227 (TEST_FUNCTION): New macro.
3228 Include test-skeleton.c.
3229 * time/tst-strptime.c (main): Converted to ...
3230 (do_test): ... this.
3231 (TEST_FUNCTION): New macro.
3232 Include test-skeleton.c.
3233 * timezone/tst-timezone.c (main): Converted to ...
3234 (do_test): ... this.
3235 (TEST_FUNCTION): New macro.
3236 Include test-skeleton.c.
3237
3238 2015-08-05 Zack Weinberg <zackw@panix.com>
3239
3240 * misc/regexp.h: Update comments.
3241
3242 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
3243
3244 [BZ #18635]
3245 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
3246 before return label.
3247
3248 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3249
3250 [BZ #18661]
3251 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
3252 when calling __errno_location.
3253 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
3254 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
3255
3256 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3257
3258 [BZ #18661]
3259 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
3260 (__lll_timedwait_tid): Align stack to 16 bytes when calling
3261 __gettimeofday.
3262
3263 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3264
3265 [BZ #18661]
3266 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3267 (__start_context): Don't use pop to restore %rdi so that stack
3268 is aligned to 16 bytes when calling __setcontext.
3269
3270 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3271
3272 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
3273 only for libc.
3274 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3275
3276 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3277
3278 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
3279 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
3280 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
3281
3282 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3283
3284 * string/memccpy.c (memccpy):
3285 Improve performance by using memchr/memcpy/__mempcpy.
3286
3287 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3288
3289 * string/strncpy.c (strncpy):
3290 Improve performance by using __strnlen/memcpy.
3291
3292 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3293
3294 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3295 Optimize to avoid an unnecessary FPCR read.
3296
3297 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3298
3299 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3300 Optimize to reduce FPCR/FPSR accesses.
3301
3302 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3303
3304 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
3305 dead->data[category] != NULL.
3306
3307 2015-08-05 Joseph Myers <joseph@codesourcery.com>
3308
3309 [BZ #18647]
3310 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
3311 and |x| close to 1, use absolute value of x when computing log.
3312 * math/auto-libm-test-in: Add more tests of pow.
3313 * math/auto-libm-test-out: Regenerated.
3314
3315 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3316
3317 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
3318 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
3319 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
3320
3321 2015-08-05 Marko Myllynen <myllynen@redhat.com>
3322
3323 [BZ #18525]
3324 * locales/km_KH: Remove timezone definition.
3325 * locales/lo_LA: Likewise.
3326 * locales/my_MM: Likewise.
3327 * locales/nan_TW@latin: Likewise.
3328 * locales/th_TH: Likewise.
3329 * locales/uk_UA: Likewise.
3330
3331 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
3332
3333 [BZ #18265]
3334 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
3335 (wcsncat): Likewise.
3336 (wcscmp): Likewise.
3337 (wcsncmp): Likewise.
3338
3339 2015-08-05 Mike Frysinger <vapier@gentoo.org>
3340
3341 * test-skeleton.c (usage): New function.
3342 (main): Call usage when opt is '?'.
3343
3344 2015-08-05 Mike Frysinger <vapier@gentoo.org>
3345
3346 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
3347 before first use.
3348
3349 2015-08-05 Mike Frysinger <vapier@gentoo.org>
3350
3351 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
3352 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
3353 in there too.
3354
3355 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
3356
3357 * version.h (RELEASE): Set to "development".
3358 (VERSION): Set to "2.22.90"
3359
3360 * version.h (RELEASE): Set to "stable".
3361 (VERSION): Set to "2.22"
3362 * include/features.h (__GLIBC_MINOR__): Set to 22.
3363
3364 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
3365
3366 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
3367 Restructure macro to avoid "value computed is not used" warning.
3368 (atomic_compare_and_exchange_val_acq): Likewise.
3369
3370 2015-08-04 Andreas Schwab <schwab@suse.de>
3371
3372 [BZ #18635]
3373 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
3374 ret.
3375 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
3376
3377 2015-08-01 Carlos O'Donell <carlos@redhat.com>
3378
3379 * po/pl.po: Updated translation.
3380 * po/uk.po: Likewise.
3381 * po/fi.po: Likewise.
3382 * po/ko.po: Likewise.
3383 * po/ru.po: Likewise.
3384 * po/vi.po: Likewise.
3385
3386 2015-07-31 Zack Weinberg <zackw@panix.com>
3387
3388 [BZ #18681]
3389 * regexp.h: Add unconditional #warning stating that this header
3390 will be removed soon. Revise banner comment to match.
3391 (compile): Consistently use ERROR instead of RETURN to report
3392 errors (partial fix for bz#18681).
3393 * regexp.c: Don't include regexp.h. Remove some unnecessary
3394 declarations.
3395
3396 2015-07-31 Carlos O'Donell <carlos@redhat.com>
3397
3398 * po/libc.pot: Regenerated.
3399
3400 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
3401
3402 [BZ #18740]
3403 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
3404 float-vlen4-arch-ext-cflags): Removed.
3405 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
3406 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
3407
3408 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3409
3410 [BZ #14113]
3411 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
3412 aligned to __aligned__.
3413 (pthread_cond_t, pthread_rwlock_t): Likewise.
3414
3415 2015-07-30 Torvald Riegel <triegel@redhat.com>
3416
3417 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
3418
3419 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3420
3421 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
3422 (struct sigaction): Change sa_flags from a long to an int, and add
3423 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
3424
3425 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3426
3427 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
3428 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
3429 sysdeps/generic/sysdep.h include.
3430 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
3431 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
3432 sysdeps/hppa/sysdep.h.
3433 (ENTRY, PSEUDO): Undefine before defining.
3434
3435 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3436
3437 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
3438 from scratch to use INTERNAL_SYSCALL.
3439
3440 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
3441
3442 [BZ #18078]
3443 * scripts/check-localplt.awk: Support alternate relocations.
3444 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
3445 sections.
3446 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
3447 malloc entries with + REL R_386_GLOB_DAT.
3448 * sysdeps/x86_64/localplt.data: New file.
3449
3450 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
3451
3452 [BZ #18731]
3453 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
3454 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3455 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3456
3457 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3458
3459 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
3460
3461 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3462
3463 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
3464 directly in terms of __sync_fetch_and_add and delete (int) cast.
3465
3466 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3467
3468 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
3469 the -D_ASM_IA64_CURRENT_H flag.
3470
3471 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3472
3473 [BZ #18641]
3474 * pwd/pwd.h (putpwent): Delete __nonnull markings.
3475
3476 2015-07-27 Andreas Schwab <schwab@suse.de>
3477
3478 * conform/conformtest.pl (checknamespace): Filter out string
3479 literals while tokenizing.
3480
3481 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
3482
3483 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3484 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
3485 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3486
3487 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
3488
3489 * nptl/tst-join7mod.c: Add #include <string.h>.
3490
3491 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
3492
3493 * sysdeps/nios2/libm-test-ulps: Update.
3494
3495 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
3496
3497 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
3498 Fix order of arguments to the rt_sigprocmask syscall.
3499 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
3500 Likewise.
3501
3502 2015-07-24 Roland McGrath <roland@hack.frob.com>
3503
3504 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
3505
3506 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3507
3508 [BZ #18457]
3509 * nptl/Makefile (tests): New test case tst-join7.
3510 (modules-names): New test case module tst-join7mod.
3511 * nptl/tst-join7.c: New file.
3512 * nptl/tst-join7mod.c: New file.
3513 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
3514 all translation units in libc.so, libpthread.so and rtld.
3515
3516 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3517
3518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3519
3520 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
3521
3522 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
3523 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
3524 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
3525 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
3526 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
3527 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
3528 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
3529 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
3530 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
3531 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
3532 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
3533 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
3534 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
3535 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
3536 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
3537 implementation.
3538
3539 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
3540
3541 [BZ #17711]
3542 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3543 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
3544 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3545 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3546 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
3547 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3548
3549 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3550
3551 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
3552 instead of just saying load lock in the comments.
3553
3554 2015-07-23 Roland McGrath <roland@hack.frob.com>
3555
3556 * sysdeps/unix/Subdirs: Moved ...
3557 * sysdeps/posix/Subdirs: ... here.
3558 * login/pty.h (struct termios, struct winsize): Add forward decls.
3559 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
3560 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
3561 * sysdeps/arm/nacl/libc.abilist: Updated.
3562 * sysdeps/nacl/libutil.abilist: New file.
3563
3564 * bits/signum.h: Update comments to mention 1003.1-2013 too.
3565 (SIGWINCH): New macro.
3566
3567 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
3568 * sysdeps/arm/nacl/libc.abilist: Add it.
3569
3570 2015-07-23 Mike Frysinger <vapier@gentoo.org>
3571
3572 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
3573
3574 2015-07-23 Mike Frysinger <vapier@gentoo.org>
3575
3576 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
3577 Swap __glibc_reserved0 and sa_flags order.
3578
3579 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3580
3581 [BZ #18657]
3582 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
3583 are pending TLS destructor calls.
3584 * include/link.h (struct link_map): Add concurrency note for
3585 L_TLS_DTOR_COUNT.
3586 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
3587 Don't touch the link map flag. Atomically increment
3588 l_tls_dtor_count.
3589 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
3590 Avoid taking the load lock and don't touch the link map flag.
3591 * stdlib/tst-tls-atexit-nodelete.c: New test case.
3592 * stdlib/Makefile (tests): Use it.
3593 * stdlib/tst-tls-atexit.c (do_test): dlopen
3594 tst-tls-atexit-lib.so again before dlclose. Add conditionals
3595 to allow tst-tls-atexit-nodelete test case to use it.
3596
3597 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3598
3599 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
3600 to bits/types.h.
3601 (msgqnum_t): New typedef.
3602 (msglen_t): Likewise.
3603 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
3604 and msg_qbytes type to msglen_t.
3605
3606 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3607
3608 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
3609 pad0 to __glibc_reserved0.
3610 (struct stat64): Likewise.
3611
3612 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3613
3614 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
3615 Change sa_flags from a long to an int and add __glibc_reserved0 before
3616 it for padding.
3617
3618 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3619
3620 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
3621 anonymous by deleting "siginfo" name.
3622
3623 2015-07-21 Roland McGrath <roland@hack.frob.com>
3624
3625 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
3626 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
3627 rather than __nacl_irt_filename.
3628 * sysdeps/nacl/xstat.c (__xstat): Likewise.
3629
3630 * NEWS: New item for arm-nacl port.
3631 * sysdeps/arm/nacl/libc.abilist: New file.
3632 * sysdeps/nacl/ld.abilist: New file.
3633 * sysdeps/nacl/libBrokenLocale.abilist: New file.
3634 * sysdeps/nacl/libanl.abilist: New file.
3635 * sysdeps/nacl/libcrypt.abilist: New file.
3636 * sysdeps/nacl/libdl.abilist: New file.
3637 * sysdeps/nacl/libm.abilist: New file.
3638 * sysdeps/nacl/libpthread.abilist: New file.
3639 * sysdeps/nacl/libresolv.abilist: New file.
3640 * sysdeps/nacl/librt.abilist: New file.
3641
3642 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
3643
3644 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
3645 __startcontext to initialize the new context.
3646 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
3647 up CFI directive to forbid further backtracing.
3648
3649 2015-07-21 Marko Myllynen <myllynen@redhat.com>
3650
3651 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
3652 reference.
3653 * charmaps/ANSI_X3.4-1968: Likewise.
3654 * charmaps/BS_4730: Likewise.
3655 * charmaps/BS_VIEWDATA: Likewise.
3656 * charmaps/CP1250: Likewise.
3657 * charmaps/CP1251: Likewise.
3658 * charmaps/CP1252: Likewise.
3659 * charmaps/CP1253: Likewise.
3660 * charmaps/CP1254: Likewise.
3661 * charmaps/CP1255: Likewise.
3662 * charmaps/CP1256: Likewise.
3663 * charmaps/CSN_369103: Likewise.
3664 * charmaps/EBCDIC-DK-NO: Likewise.
3665 * charmaps/GB_1988-80: Likewise.
3666 * charmaps/GREEK-CCITT: Likewise.
3667 * charmaps/GREEK7: Likewise.
3668 * charmaps/INIS-8: Likewise.
3669 * charmaps/ISIRI-3342: Likewise.
3670 * charmaps/ISO_2033-1983: Likewise.
3671 * charmaps/ISO_5427-EXT: Likewise.
3672 * locales/POSIX: Likewise.
3673 * locales/ar_SA: Likewise.
3674 * locales/be_BY: Likewise.
3675 * locales/be_BY@latin: Likewise.
3676 * locales/ca_ES: Likewise.
3677 * locales/cs_CZ: Likewise.
3678 * locales/da_DK: Likewise.
3679 * locales/de_BE: Likewise.
3680 * locales/de_CH: Likewise.
3681 * locales/de_LU: Likewise.
3682 * locales/en_AU: Likewise.
3683 * locales/en_BW: Likewise.
3684 * locales/en_CA: Likewise.
3685 * locales/en_DK: Likewise.
3686 * locales/en_GB: Likewise.
3687 * locales/en_IE: Likewise.
3688 * locales/en_NZ: Likewise.
3689 * locales/en_ZA: Likewise.
3690 * locales/en_ZW: Likewise.
3691 * locales/es_AR: Likewise.
3692 * locales/es_BO: Likewise.
3693 * locales/es_CL: Likewise.
3694 * locales/es_CO: Likewise.
3695 * locales/es_DO: Likewise.
3696 * locales/es_EC: Likewise.
3697 * locales/es_ES: Likewise.
3698 * locales/es_HN: Likewise.
3699 * locales/es_MX: Likewise.
3700 * locales/es_PA: Likewise.
3701 * locales/es_PE: Likewise.
3702 * locales/es_PY: Likewise.
3703 * locales/es_SV: Likewise.
3704 * locales/es_US: Likewise.
3705 * locales/es_UY: Likewise.
3706 * locales/es_VE: Likewise.
3707 * locales/et_EE: Likewise.
3708 * locales/fa_IR: Likewise.
3709 * locales/fo_FO: Likewise.
3710 * locales/fr_CA: Likewise.
3711 * locales/fr_CH: Likewise.
3712 * locales/gv_GB: Likewise.
3713 * locales/he_IL: Likewise.
3714 * locales/hr_HR: Likewise.
3715 * locales/id_ID: Likewise.
3716 * locales/is_IS: Likewise.
3717 * locales/it_CH: Likewise.
3718 * locales/iw_IL: Likewise.
3719 * locales/kl_GL: Likewise.
3720 * locales/ko_KR: Likewise.
3721 * locales/kw_GB: Likewise.
3722 * locales/lg_UG: Likewise.
3723 * locales/lt_LT: Likewise.
3724 * locales/lv_LV: Likewise.
3725 * locales/mi_NZ: Likewise.
3726 * locales/nhn_MX: Likewise.
3727 * locales/nl_BE: Likewise.
3728 * locales/pl_PL: Likewise.
3729 * locales/sk_SK: Likewise.
3730 * locales/sl_SI: Likewise.
3731 * locales/sv_FI: Likewise.
3732 * locales/tl_PH: Likewise.
3733 * locales/tr_TR: Likewise.
3734 * locales/vi_VN: Likewise.
3735
3736 2015-07-21 Khem Raj <raj.khem@gmail.com>
3737
3738 [BZ #17475]
3739 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
3740 of tu_IN and bh_IN.
3741
3742 2015-07-21 Mike Frysinger <vapier@gentoo.org>
3743
3744 [BZ #18694]
3745 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
3746 bits/wordsize.h.
3747 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
3748
3749 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3750
3751 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
3752 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
3753 (spawn_thread): New function.
3754 (load): Rename to reg_dtor_and_close. Move dlopen to...
3755 (do_test): ... here. Use IS_LOADED to test for its
3756 availability.
3757
3758 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
3759
3760 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3761
3762 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
3763
3764 [BZ #18696]
3765 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
3766 si_addr_bnd.
3767 (si_lower): New.
3768 (si_upper): Likewise.
3769
3770 2015-07-16 David S. Miller <davem@davemloft.net>
3771
3772 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
3773
3774 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3775
3776 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
3777 buffer.
3778 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
3779 fail output information.
3780
3781 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3782
3783 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
3784 and strstr-ppc64..
3785 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3786 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
3787 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
3788 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
3789 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
3790
3791 2015-07-16 Mike Frysinger <vapier@gentoo.org>
3792
3793 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
3794 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3795 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
3796 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3797
3798 2015-07-16 Mike Frysinger <vapier@gentoo.org>
3799
3800 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
3801 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
3802 rtld_hidden_proto.
3803 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
3804
3805 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3806
3807 * tst-nodelete-opened.c (do_test): Add comment to clarify how
3808 the test can fail.
3809
3810 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
3811
3812 [BZ #18676]
3813 * elf/tst-nodelete-opened.c: New test case.
3814 * elf/tst-nodelete-opened-lib.c: New test case module.
3815 * elf/Makefile (tests, modules-names): Use them.
3816 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
3817 early.
3818
3819 2015-07-15 David S. Miller <davem@davemloft.net>
3820
3821 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
3822 futex-intenal.h
3823 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
3824 * sysdeps/sparc/sparc64/Makefile: Likewise.
3825 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
3826 Remove space from macro define.
3827 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
3828
3829 2015-07-15 Pravin Satpute <psatpute@redhat.com>
3830
3831 [BZ #17475]
3832 * locale/iso-639.def: Update Bhili and Tulu language codes as
3833 per iso639-3.
3834
3835 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
3836
3837 * elf/tst-leaks1.c (main): Converted to ...
3838 (do_test): ... this.
3839 (TEST_FUNCTION): New macro.
3840 Include test-skeleton.c.
3841 * localedata/tst-langinfo.c (main): Converted to ...
3842 (do_test): ... this.
3843 (TEST_FUNCTION): New macro.
3844 Include test-skeleton.c.
3845 * math/test-fpucw.c (main): Converted to ...
3846 (do_test): ... this.
3847 (TEST_FUNCTION): New macro.
3848 Include test-skeleton.c.
3849 * math/test-tgmath.c (main): Converted to ...
3850 (do_test): ... this.
3851 (TEST_FUNCTION): New macro.
3852 Include test-skeleton.c.
3853 * math/test-tgmath2.c (main): Converted to ...
3854 (do_test): ... this.
3855 (TEST_FUNCTION): New macro.
3856 Include test-skeleton.c.
3857 * setjmp/tst-setjmp.c (main): Converted to ...
3858 (do_test): ... this.
3859 (TEST_FUNCTION): New macro.
3860 Include test-skeleton.c.
3861 * stdio-common/tst-sscanf.c (main): Converted to ...
3862 (do_test): ... this.
3863 (TEST_FUNCTION): New macro.
3864 Include test-skeleton.c.
3865 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
3866 (do_test): ... this.
3867 (TEST_FUNCTION): New macro.
3868 Include test-skeleton.c.
3869
3870 * elf/tst-audit9.c (main): Converted to ...
3871 (do_test): ... this.
3872 (TEST_FUNCTION): New macro.
3873 Include test-skeleton.c.
3874
3875 2015-07-15 Mike Frysinger <vapier@gentoo.org>
3876
3877 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
3878
3879 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
3880
3881 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
3882 New variable.
3883
3884 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
3885
3886 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3887
3888 2015-07-14 Roland McGrath <roland@hack.frob.com>
3889
3890 * sysdeps/generic/dl-fileid.h: New file.
3891 * sysdeps/posix/dl-fileid.h: New file.
3892 * sysdeps/nacl/dl-fileid.h: New file.
3893 * include/link.h: Include <dl-fileid.h>.
3894 (struct link_map): Replace l_dev and l_ino with l_file_id.
3895 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
3896 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
3897 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
3898
3899 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3900
3901 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
3902
3903 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3904
3905 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
3906 Add iff $CXX is set.
3907 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
3908 Likewise.
3909 (tst-nodelete-zmodiff): Likewise.
3910 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
3911
3912 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3913
3914 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
3915
3916 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
3917
3918 * sysdeps/aarch64/fpu/math_private.h
3919 (define math_opt_barrier): Add AArch64 version.
3920 (math_force_eval): Likewise.
3921
3922 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
3923
3924 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
3925
3926 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
3927
3928 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
3929 %ld with %jd and cast to intmax_t.
3930 (do_test_length_zero): Likewise.
3931
3932 2015-07-10 Roland McGrath <roland@hack.frob.com>
3933
3934 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
3935
3936 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
3937
3938 * sysdeps/tile/libm-test-ulps: Regenerated.
3939
3940 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
3941 Comment out the whole function, not just its body.
3942
3943 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3944
3945 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
3946 locks.
3947
3948 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
3949
3950 2015-07-10 Torvald Riegel <triegel@redhat.com>
3951
3952 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
3953 (sem_assume_only_signals_cause_futex_EINTR): Remove.
3954
3955 2015-07-10 Torvald Riegel <triegel@redhat.com>
3956
3957 * sysdeps/nptl/futex-internal.h: New file.
3958 * sysdeps/nacl/futex-internal.h: New file.
3959 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
3960 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
3961 error checking.
3962 (setxid_unmark_thread): Likewise.
3963 (__nptl_setxid): Likewise.
3964 (__wait_lookup_done): Likewise.
3965 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
3966 * nptl/nptl-init.c (sighandler_setxid): Likewise.
3967 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
3968 * nptl/pthread_once.c (clear_once_control): Likewise.
3969 (__pthread_once_slow): Likewise.
3970 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
3971 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
3972 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
3973 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3974 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
3975 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
3976 Likewise.
3977 (__pthread_rwlock_rdlock): Likewise.
3978 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3979 Likewise.
3980 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3981 Likewise.
3982 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3983 Likewise.
3984 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
3985 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
3986 Likewise.
3987 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
3988 __ASSUME_PRIVATE_FUTEX check.
3989 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
3990 Check that shared futexes are supported.
3991 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
3992 wrappers with error checking.
3993 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
3994 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
3995 * nptl/pthread_barrierattr_setpshared.c
3996 (pthread_barrierattr_setpshared): Check that shared futexes are
3997 supported.
3998 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
3999 Likewise.
4000 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
4001 Likewise.
4002 * nptl/sem_init.c (futex_private_if_supported): Remove.
4003 (__new_sem_init): Adapt and check that shared futexes are supported.
4004 * nptl/sem_open.c (sem_open): Likewise.
4005 * nptl/sem_post.c (futex_wake): Remove.
4006 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
4007 (do_futex_wait): Use futex wrappers with error checking.
4008 * nptl/sem_wait.c: Include lowlevellock.h.
4009 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
4010 Use futex_supports_pshared.
4011 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
4012 Use futex wrappers with error checking.
4013 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
4014 Likewise.
4015 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
4016 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
4017 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
4018 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
4019 (futex_wake): Likewise.
4020 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
4021 (do_futex_wait): Use futex wrappers with error checking.
4022 (__new_sem_wait_slow): Update EINTR handling.
4023 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
4024
4025 2015-07-09 Martin Sebor <msebor@redhat.com>
4026
4027 [BZ #18435]
4028 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
4029 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
4030 * nptl/Makefile (test-xfail-tst-once5): Define.
4031
4032 2015-07-09 Roland McGrath <roland@hack.frob.com>
4033
4034 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
4035 * elf/dl-minimal.c: For readability, reorder some definitions and
4036 introduce more page breaks. Include <stdio.h>.
4037 (__libc_fatal): New function.
4038
4039 * include/unistd.h: Add rtld_hidden_proto for _exit.
4040 * posix/_exit.c: Add rtld_hidden_def.
4041 * sysdeps/mach/hurd/_exit.c: Likewise.
4042 * sysdeps/nacl/_exit.c: Likewise.
4043 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
4044 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
4045
4046 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
4047
4048 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
4049 bndmov encoding with zero displacement.
4050
4051 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
4052 H.J. Lu <hongjiu.lu@intel.com>
4053
4054 [BZ #18134]
4055 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
4056 * sysdeps/i386/configure: Regenerated.
4057 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4058 (_dl_runtime_profile): Save and restore Intel MPX return bound
4059 registers when calling _dl_call_pltexit. Add
4060 PRESERVE_BND_REGS_PREFIX before return.
4061 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
4062 (LRV_BND1_OFFSET): Likewise.
4063 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
4064 lrv_bnd1.
4065 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
4066 typo in bndmov encoding.
4067 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
4068 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
4069 branch instructions to preserve bounds.
4070
4071 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4072
4073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4074 [GLIBC_2.22]: Add fmemopen.
4075
4076 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
4077
4078 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
4079 returns an error, also try to use host port from __mach_host_self for
4080 the __vm_wire call.
4081 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
4082
4083 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4084
4085 [BZ #18400]
4086 [BZ #18648]
4087 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
4088 Fix pr_uid and pr_gid members.
4089 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
4090 definition to elf_greg_t.
4091
4092 2015-07-08 Roland McGrath <roland@hack.frob.com>
4093
4094 [BZ #18383]
4095 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
4096 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
4097 * sysdeps/arm/configure: Regenerated.
4098 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
4099 (test-xfail-tst-tlsalign-static): Variable removed.
4100
4101 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
4102 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
4103 rather than explicit 'ln -s'.
4104
4105 * resolv/rpc/netdb.h: New file.
4106 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
4107
4108 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4109
4110 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
4111 length buffers.
4112 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4113 test-skeleton.c.
4114
4115 [BZ #6544]
4116 [BZ #11216]
4117 [BZ #12836]
4118 [BZ #13151]
4119 [BZ #13152]
4120 [BZ #14292]
4121 * include/stdio.h (fmemopen): Remove hidden prototype.
4122 (__fmemopen): Add new hidden prototype.
4123 * libio/Makefile: Add oldfmemopen object.
4124 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
4125 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
4126 compliance.
4127 * libio/oldfmemopen.c: New file: old fmemopen implementation for
4128 symbol compatibility.
4129 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
4130 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
4131 fmemopen.
4132 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
4133 on append and read mode.
4134 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
4135 fmemopen.
4136 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
4137 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
4138 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
4139 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
4140 Likewise.
4141 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
4142 [GLIBC_2.22]: Likewise.
4143 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
4144 Likewise.
4145 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
4146 Likewise.
4147 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4148 [GLIBC_2.22]: Likewise.
4149 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4150 [GLIBC_2.22]: Likewise.
4151 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4152 [GLIBC_2.22]: Likewise.
4153 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4154 [GLIBC_2.22]: Likewise.
4155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4156 [GLIBC_2.22]: Likewise.
4157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4158 [GLIBC_2.22]: Likewise.
4159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4160 [GLIBC_2.22]: Likewise.
4161 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
4162 Likewise.
4163 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
4164 Likewise.
4165 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
4166 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
4167 [GLIBC_2.22]: Likewise.
4168 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
4169 [GLIBC_2.22]: Likewise.
4170 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
4171 [GLIBC_2.22]: Likewise.
4172 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
4173 [GLIBC_2.22]: Likewise.
4174 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
4175 Likewise.
4176 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
4177 Likewise.
4178 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
4179 Likewise.
4180 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
4181 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
4182
4183 2015-07-08 Carlos O'Donell <carlos@redhat.com>
4184
4185 [BZ #18643]
4186 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
4187 IPV6_PATHMTU, and IPV6_DONTFRAG.
4188
4189 2015-07-08 Feng Gao <gfree.wind@gmail.com>
4190
4191 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
4192 and _IO_UNBUFFERED.
4193 * libio/oldfileops.c: Likewise.
4194 * libio/wfileops.c: Likewise.
4195
4196 2015-07-08 Mike Frysinger <vapier@gentoo.org>
4197
4198 * nscd/selinux.c: Delete selinux/flask.h include.
4199
4200 2015-07-08 Mike Frysinger <vapier@gentoo.org>
4201
4202 [BZ #18641]
4203 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
4204 (putpwent): Likewise.
4205 (getpwnam): Likewise.
4206 (getpwent_r): Likewise.
4207 (getpwuid_r): Likewise.
4208 (getpwnam_r): Likewise.
4209 (fgetpwent_r): Likewise.
4210
4211 2015-07-08 Carlos O'Donell <carlos@redhat.com>
4212
4213 [BZ #18557]
4214 * inet/rcmd.c (__validuser2_sa): Check user first to
4215 short-circuit host check.
4216
4217 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
4218 Mikhail Ilin <m.ilin@samsung.com>
4219
4220 [BZ #17833]
4221 * elf/Makefile (tests): Add tst-nodelete.
4222 (modules-names): Add tst-nodelete-uniquemod.
4223 (tst-nodelete-uniquemod.so-no-z-defs): New.
4224 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
4225 (tst-nodelete-zmod.so-no-z-defs): Likewise.
4226 ($(objpfx)tst-nodelete): Likewise.
4227 ($(objpfx)tst-nodelete.out): Likewise.
4228 (LDFLAGS-tst-nodelete): Likewise.
4229 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
4230 * elf/dl-close.c (_dl_close_worker): Add a parameter to
4231 implement forced object deletion.
4232 (_dl_close): Pass false to _dl_close_worker.
4233 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
4234 * elf/tst-nodelete.cc: New file.
4235 * elf/tst-nodeletelib.cc: Likewise.
4236 * elf/tst-znodeletelib.cc: Likewise.
4237 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
4238
4239 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4240
4241 [BZ #18508]
4242 * stdlib/Makefile ($(objpfx)tst-makecontext3):
4243 Depend on $(libdl).
4244 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
4245 is not called infinitely times.
4246 (backtrace_helper): New function.
4247 (trace_arg): New struct.
4248 (st1): Enlarge stack size.
4249 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
4250 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
4251 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
4252 Likewise.
4253
4254 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4255
4256 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4257
4258 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4259
4260 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
4261 Include sys/types.h instead of bits/types.h.
4262 Remove inclusion of bits/wordsize.h.
4263
4264 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
4265
4266 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
4267 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
4268 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
4269 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
4270 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
4271 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
4272
4273 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
4274
4275 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
4276 link-defines.sym.
4277 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
4278 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
4279 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
4280 and LR_SIZE.
4281 * sysdeps/i386/link-defines.sym: New file.
4282
4283 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
4284
4285 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
4286 (modules-names): Add tst-auditmod3a tst-auditmod3b.
4287 ($(objpfx)tst-audit3): New rule.
4288 ($(objpfx)tst-audit3.out): Likewise.
4289 * sysdeps/i386/tst-audit3.c: New file.
4290 * sysdeps/i386/tst-audit3.h: Likewise.
4291 * sysdeps/i386/tst-auditmod3a.c: Likewise.
4292 * sysdeps/i386/tst-auditmod3b.c: Likewise.
4293
4294 2015-07-07 Torvald Riegel <triegel@redhat.com>
4295
4296 [BZ #18633]
4297 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
4298 pointer in C code.
4299 (__strcat_c): Likewise.
4300 (__strcat_g): Likewise.
4301
4302 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
4303
4304 [BZ #18592]
4305 * misc/sbrk.c: Set errno to ENOMEM on overflow.
4306
4307 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
4308
4309 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
4310 New function. (__ieee754_sqrtf): New function.
4311 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
4312 New function.
4313 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
4314 New function.
4315
4316 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
4317
4318 * sysdeps/ieee754/support.c: Remove unused file.
4319
4320 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
4321
4322 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
4323 registers instead of d ones so the layout is kernel abi compatible.
4324 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
4325 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
4326 Likewise.
4327
4328 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
4329
4330 * sysdeps/aarch64/libm-test-ulps: Regenerated.
4331
4332 2015-07-01 Joseph Myers <joseph@codesourcery.com>
4333
4334 [BZ #18619]
4335 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
4336 and return argument in case of subnormal argument.
4337
4338 2015-07-01 Martin Sebor <msebor@redhat.com>
4339
4340 [BZ #18435]
4341 * nptl/Makefile: Add tst-once5.cc.
4342 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
4343 Remove macro redefinitions.
4344 * nptl/tst-once5.cc: New test.
4345
4346 2015-07-01 Joseph Myers <joseph@codesourcery.com>
4347
4348 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4349
4350 * sysdeps/arm/libm-test-ulps: Regenerated.
4351
4352 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4353 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4354
4355 2015-06-30 Torvald Riegel <triegel@redhat.com>
4356
4357 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
4358 lll_lock_wait_private and lll_futex_wake probes.
4359
4360 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
4361 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
4362 Likewise.
4363 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
4364 atomic_spin_nop.
4365 * sysdeps/x86_64/bits/atomic.h: Likewise.
4366 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
4367 to atomic_spin_nop and move ...
4368 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
4369 ... here and ...
4370 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
4371 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
4372 atomic_spin_nop instead of BUSY_WAIT_NOP.
4373 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
4374 Likewise.
4375 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
4376 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
4377 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
4378 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
4379 instead of atomic_delay.
4380
4381 2015-06-29 Joseph Myers <joseph@codesourcery.com>
4382
4383 [BZ #18613]
4384 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
4385 X_ADJ not X when adjusting exponent.
4386 (__ieee754_gamma_r): Do intermediate computations in
4387 round-to-nearest then adjust overflowing and underflowing results
4388 as needed.
4389 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
4390 of X_ADJ not X when adjusting exponent.
4391 (__ieee754_gammaf_r): Do intermediate computations in
4392 round-to-nearest then adjust overflowing and underflowing results
4393 as needed.
4394 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
4395 log of X_ADJ not X when adjusting exponent.
4396 (__ieee754_gammal_r): Do intermediate computations in
4397 round-to-nearest then adjust overflowing and underflowing results
4398 as needed. Use 1.0L not 1.0f as numerator of division.
4399 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
4400 log of X_ADJ not X when adjusting exponent.
4401 (__ieee754_gammal_r): Do intermediate computations in
4402 round-to-nearest then adjust overflowing and underflowing results
4403 as needed. Use 1.0L not 1.0f as numerator of division.
4404 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
4405 of X_ADJ not X when adjusting exponent.
4406 (__ieee754_gammal_r): Do intermediate computations in
4407 round-to-nearest then adjust overflowing and underflowing results
4408 as needed. Use 1.0L not 1.0f as numerator of division.
4409 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
4410 to auto-libm-test-in.
4411 (tgamma_test): Use ALL_RM_TEST.
4412 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
4413 tests of tgamma with spurious-overflow.
4414 * math/auto-libm-test-out: Regenerated.
4415 * math/gen-libm-have-vector-test.sh: Do not check for START.
4416 * sysdeps/i386/fpu/libm-test-ulps: Update.
4417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4418
4419 [BZ #18612]
4420 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
4421 arguments, just return 0.5 times the argument, with underflow
4422 forced as needed.
4423 * math/auto-libm-test-in: Add more tests of j1.
4424 * math/auto-libm-test-out: Regenerated.
4425
4426 [BZ #16559]
4427 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
4428 (__ieee754_j1): Force underflow exception for small results.
4429 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4430 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
4431 (__ieee754_j1f): Force underflow exception for small results.
4432 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4433 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4434 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4435 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
4436 (__ieee754_j1l): Force underflow exception for small results.
4437 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4438 * math/auto-libm-test-in: Add more tests of j1 and jn.
4439 * math/auto-libm-test-out: Regenerated.
4440
4441 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
4442 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
4443 (PF_MPLS): Likewise.
4444 (AF_IB): Likewise.
4445 (AF_MPLS): Likewise.
4446 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
4447 value and macro.
4448 (MS_RMT_MASK): Include MS_LAZYTIME.
4449
4450 2015-06-26 Mel Gorman <mgorman@suse.de>
4451
4452 [BZ #18502]
4453 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
4454 already minimal.
4455
4456 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
4457
4458 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
4459 (DT_MIPS_NUM): Update.
4460 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
4461 DT_MIPS_RLD_MAP_REL.
4462
4463 2015-06-25 Joseph Myers <joseph@codesourcery.com>
4464
4465 [BZ #16559]
4466 [BZ #18602]
4467 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
4468 round-to-nearest internally then recompute results that
4469 underflowed to zero in the original rounding mode.
4470 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4471 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4472 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4473 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
4474 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
4475 * sysdeps/i386/fpu/libm-test-ulps: Update.
4476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4477
4478 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
4479
4480 * NEWS: Fixed description of link with vector math library.
4481
4482 2015-06-25 Andreas Schwab <schwab@suse.de>
4483
4484 [BZ #18549]
4485 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
4486 * libio/test-fmemopen.c (do_test): Add test for it.
4487
4488 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
4489
4490 [BZ #17841]
4491 * Makeconfig (no-pie-ldflag): New.
4492 (+link): Set to $(+link-pie) if default to PIE.
4493 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
4494 * config.make.in (build-pie-default): New.
4495 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
4496 is default. AC_SUBST.
4497 * configure: Regenerated.
4498 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
4499
4500 2015-06-24 Roland McGrath <roland@hack.frob.com>
4501
4502 * nptl/descr.h (struct pthread): Change type of field setxid_futex
4503 to 'unsigned int'.
4504
4505 * resolv/gai_misc.h (struct waitlist): Change type of field
4506 counterp to 'volatile unsigned int *'.
4507 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
4508 FUTEXADDR and OLDVAL.
4509 * resolv/getaddrinfo_a.c (getaddrinfo_a):
4510 Give local variable TOTAL type 'volatile unsigned int'.
4511 (struct async_waitlist): Change type of field counter to 'unsigned int'.
4512 * resolv/gai_suspend.c (gai_suspend):
4513 Give local variable CNTR type 'unsigned int'.
4514
4515 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
4516 counterp to 'volatile unsigned int *'.
4517 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
4518 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
4519 (aio_suspend): Give local variable CNTR type 'unsigned int'.
4520 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
4521 Give local variable TOTAL type 'volatile unsigned int'.
4522 (struct async_waitlist): Change type of field counter to 'unsigned int'.
4523
4524 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
4525
4526 [BZ #18383]
4527 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
4528 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
4529 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
4530 comment for i386/x86-64.
4531 (test-xfail-tst-tlsalign-extern-static): Removed.
4532
4533 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4534
4535 * math/test-double.h: New file.
4536 * math/test-float.h: Likewise.
4537 * math/test-ldouble.h: Likewise.
4538 * math/test-math-inline.h: Likewise.
4539 * math/test-math-no-inline.h: Likewise.
4540 * math/test-math-scalar.h: Likewise.
4541 * math/test-math-vector.h: Likewise.
4542 * math/test-vec-loop.h: Remove file. Contents moved into
4543 test-math-vector.h.
4544 * math/libm-test.inc (MATHCONST): Do not document macro.
4545 * math/test-double.c: Include test-double.h, test-math-no-inline.h
4546 and test-math-scalar.h.
4547 (FUNC): Remove macro.
4548 (FUNC_TEST): Likewise.
4549 (FLOAT): Likewise.
4550 (MATHCONST): Likewise.
4551 (PRINTF_EXPR): Likewise.
4552 (PRINTF_XEXPR): Likewise.
4553 (PRINTF_NEXPR): Likewise.
4554 (TEST_DOUBLE): Likewise.
4555 (TEST_MATHVEC): Likewise.
4556 (__NO_MATH_INLINES): Likewise.
4557 * math/test-float.c: Include test-float.h, test-math-no-inline.h
4558 and test-math-scalar.h.
4559 (FUNC): Remove macro.
4560 (FUNC_TEST): Likewise.
4561 (FLOAT): Likewise.
4562 (MATHCONST): Likewise.
4563 (PRINTF_EXPR): Likewise.
4564 (PRINTF_XEXPR): Likewise.
4565 (PRINTF_NEXPR): Likewise.
4566 (TEST_FLOAT): Likewise.
4567 (TEST_MATHVEC): Likewise.
4568 (__NO_MATH_INLINES): Likewise.
4569 * math/test-idouble.c: Include test-double.h, test-math-inline.h
4570 and test-math-scalar.h.
4571 (FUNC): Remove macro.
4572 (FUNC_TEST): Likewise.
4573 (FLOAT): Likewise.
4574 (MATHCONST): Likewise.
4575 (PRINTF_EXPR): Likewise.
4576 (PRINTF_XEXPR): Likewise.
4577 (PRINTF_NEXPR): Likewise.
4578 (TEST_DOUBLE): Likewise.
4579 (TEST_MATHVEC): Likewise.
4580 (TEST_INLINE): Likewise.
4581 (__NO_MATH_INLINES): Likewise.
4582 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
4583 test-math-scalar.h.
4584 (FUNC): Remove macro.
4585 (FUNC_TEST): Likewise.
4586 (FLOAT): Likewise.
4587 (MATHCONST): Likewise.
4588 (PRINTF_EXPR): Likewise.
4589 (PRINTF_XEXPR): Likewise.
4590 (PRINTF_NEXPR): Likewise.
4591 (TEST_FLOAT): Likewise.
4592 (TEST_MATHVEC): Likewise.
4593 (TEST_INLINE): Likewise.
4594 (__NO_MATH_INLINES): Likewise.
4595 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
4596 and test-math-scalar.h.
4597 (FUNC): Remove macro.
4598 (FUNC_TEST): Likewise.
4599 (FLOAT): Likewise.
4600 (MATHCONST): Likewise.
4601 (PRINTF_EXPR): Likewise.
4602 (PRINTF_XEXPR): Likewise.
4603 (PRINTF_NEXPR): Likewise.
4604 (TEST_LDOUBLE): Likewise.
4605 (TEST_MATHVEC): Likewise.
4606 (TEST_INLINE): Likewise.
4607 (__NO_MATH_INLINES): Likewise.
4608 * math/test-ldouble.c: Include test-ldouble.h,
4609 test-math-no-inline.h and test-math-scalar.h.
4610 (FUNC): Remove macro.
4611 (FUNC_TEST): Likewise.
4612 (FLOAT): Likewise.
4613 (MATHCONST): Likewise.
4614 (PRINTF_EXPR): Likewise.
4615 (PRINTF_XEXPR): Likewise.
4616 (PRINTF_NEXPR): Likewise.
4617 (TEST_LDOUBLE): Likewise.
4618 (TEST_MATHVEC): Likewise.
4619 (__NO_MATH_INLINES): Likewise.
4620 * math/test-double-vlen2.h: Include test-double.h,
4621 test-math-no-inline.h and test-math-vector.h.
4622 (FLOAT): Remove macro.
4623 (FUNC): Likewise.
4624 (MATHCONST): Likewise.
4625 (PRINTF_EXPR): Likewise.
4626 (PRINTF_XEXPR): Likewise.
4627 (PRINTF_NEXPR): Likewise.
4628 (TEST_DOUBLE): Likewise.
4629 (TEST_MATHVEC): Likewise.
4630 (__NO_MATH_INLINES): Likewise.
4631 (CNCT): Likewise.
4632 (CONCAT): Likewise.
4633 (WRAPPER_NAME): Likewise.
4634 (WRAPPER_DECL): Likewise.
4635 (WRAPPER_DECL_ff): Likewise.
4636 (WRAPPER_DECL_fFF): Likewise.
4637 (VECTOR_WRAPPER): Likewise.
4638 (VECTOR_WRAPPER_ff): Likewise.
4639 (VECTOR_WRAPPER_fFF): Likewise.
4640 (VEC_LEN): New macro.
4641 * math/test-double-vlen4.h: Include test-double.h,
4642 test-math-no-inline.h and test-math-vector.h.
4643 (FLOAT): Remove macro.
4644 (FUNC): Likewise.
4645 (MATHCONST): Likewise.
4646 (PRINTF_EXPR): Likewise.
4647 (PRINTF_XEXPR): Likewise.
4648 (PRINTF_NEXPR): Likewise.
4649 (TEST_DOUBLE): Likewise.
4650 (TEST_MATHVEC): Likewise.
4651 (__NO_MATH_INLINES): Likewise.
4652 (CNCT): Likewise.
4653 (CONCAT): Likewise.
4654 (WRAPPER_NAME): Likewise.
4655 (WRAPPER_DECL): Likewise.
4656 (WRAPPER_DECL_ff): Likewise.
4657 (WRAPPER_DECL_fFF): Likewise.
4658 (VECTOR_WRAPPER): Likewise.
4659 (VECTOR_WRAPPER_ff): Likewise.
4660 (VECTOR_WRAPPER_fFF): Likewise.
4661 (VEC_LEN): New macro.
4662 * math/test-double-vlen8.h: Include test-double.h,
4663 test-math-no-inline.h and test-math-vector.h.
4664 (FLOAT): Remove macro.
4665 (FUNC): Likewise.
4666 (MATHCONST): Likewise.
4667 (PRINTF_EXPR): Likewise.
4668 (PRINTF_XEXPR): Likewise.
4669 (PRINTF_NEXPR): Likewise.
4670 (TEST_DOUBLE): Likewise.
4671 (TEST_MATHVEC): Likewise.
4672 (__NO_MATH_INLINES): Likewise.
4673 (CNCT): Likewise.
4674 (CONCAT): Likewise.
4675 (WRAPPER_NAME): Likewise.
4676 (WRAPPER_DECL): Likewise.
4677 (WRAPPER_DECL_ff): Likewise.
4678 (WRAPPER_DECL_fFF): Likewise.
4679 (VECTOR_WRAPPER): Likewise.
4680 (VECTOR_WRAPPER_ff): Likewise.
4681 (VECTOR_WRAPPER_fFF): Likewise.
4682 (VEC_LEN): New macro.
4683 * math/test-float-vlen4.h: Include test-float.h,
4684 test-math-no-inline.h and test-math-vector.h.
4685 (FLOAT): Remove macro.
4686 (FUNC): Likewise.
4687 (MATHCONST): Likewise.
4688 (PRINTF_EXPR): Likewise.
4689 (PRINTF_XEXPR): Likewise.
4690 (PRINTF_NEXPR): Likewise.
4691 (TEST_FLOAT): Likewise.
4692 (TEST_MATHVEC): Likewise.
4693 (__NO_MATH_INLINES): Likewise.
4694 (CNCT): Likewise.
4695 (CONCAT): Likewise.
4696 (WRAPPER_NAME): Likewise.
4697 (WRAPPER_DECL): Likewise.
4698 (WRAPPER_DECL_ff): Likewise.
4699 (WRAPPER_DECL_fFF): Likewise.
4700 (VECTOR_WRAPPER): Likewise.
4701 (VECTOR_WRAPPER_ff): Likewise.
4702 (VECTOR_WRAPPER_fFF): Likewise.
4703 (VEC_LEN): New macro.
4704 * math/test-float-vlen8.h: Include test-float.h,
4705 test-math-no-inline.h and test-math-vector.h.
4706 (FLOAT): Remove macro.
4707 (FUNC): Likewise.
4708 (MATHCONST): Likewise.
4709 (PRINTF_EXPR): Likewise.
4710 (PRINTF_XEXPR): Likewise.
4711 (PRINTF_NEXPR): Likewise.
4712 (TEST_FLOAT): Likewise.
4713 (TEST_MATHVEC): Likewise.
4714 (__NO_MATH_INLINES): Likewise.
4715 (CNCT): Likewise.
4716 (CONCAT): Likewise.
4717 (WRAPPER_NAME): Likewise.
4718 (WRAPPER_DECL): Likewise.
4719 (WRAPPER_DECL_ff): Likewise.
4720 (WRAPPER_DECL_fFF): Likewise.
4721 (VECTOR_WRAPPER): Likewise.
4722 (VECTOR_WRAPPER_ff): Likewise.
4723 (VECTOR_WRAPPER_fFF): Likewise.
4724 (VEC_LEN): New macro.
4725 * math/test-float-vlen16.h: Include test-float.h,
4726 test-math-no-inline.h and test-math-vector.h.
4727 (FLOAT): Remove macro.
4728 (FUNC): Likewise.
4729 (MATHCONST): Likewise.
4730 (PRINTF_EXPR): Likewise.
4731 (PRINTF_XEXPR): Likewise.
4732 (PRINTF_NEXPR): Likewise.
4733 (TEST_FLOAT): Likewise.
4734 (TEST_MATHVEC): Likewise.
4735 (__NO_MATH_INLINES): Likewise.
4736 (CNCT): Likewise.
4737 (CONCAT): Likewise.
4738 (WRAPPER_NAME): Likewise.
4739 (WRAPPER_DECL): Likewise.
4740 (WRAPPER_DECL_ff): Likewise.
4741 (WRAPPER_DECL_fFF): Likewise.
4742 (VECTOR_WRAPPER): Likewise.
4743 (VECTOR_WRAPPER_ff): Likewise.
4744 (VECTOR_WRAPPER_fFF): Likewise.
4745 (VEC_LEN): New macro.
4746 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
4747 test-vec-loop.h.
4748 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4749 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4750 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4751 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4752 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4753 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4754 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4755
4756 2015-06-24 Roland McGrath <roland@hack.frob.com>
4757
4758 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
4759 (__getlogin_r): ... this.
4760
4761 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4762
4763 [BZ #18594]
4764 * math/s_ccosh.c (__ccosh): Compare with least normal value
4765 instead of comparing class with FP_SUBNORMAL.
4766 * math/s_ccoshf.c (__ccoshf): Likewise.
4767 * math/s_ccoshl.c (__ccoshl): Likewise.
4768 * math/s_cexp.c (__cexp): Likewise.
4769 * math/s_cexpf.c (__cexpf): Likewise.
4770 * math/s_cexpl.c (__cexpl): Likewise.
4771 * math/s_csin.c (__csin): Likewise.
4772 * math/s_csinf.c (__csinf): Likewise.
4773 * math/s_csinh.c (__csinh): Likewise.
4774 * math/s_csinhf.c (__csinhf): Likewise.
4775 * math/s_csinhl.c (__csinhl): Likewise.
4776 * math/s_csinl.c (__csinl): Likewise.
4777 * math/s_ctan.c (__ctan): Likewise.
4778 * math/s_ctanf.c (__ctanf): Likewise.
4779 * math/s_ctanh.c (__ctanh): Likewise.
4780 * math/s_ctanhf.c (__ctanhf): Likewise.
4781 * math/s_ctanhl.c (__ctanhl): Likewise.
4782 * math/s_ctanl.c (__ctanl): Likewise.
4783 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
4784 csin, csinh, ctan and ctanh.
4785 * math/auto-libm-test-out: Regenerated.
4786 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
4787 * sysdeps/i386/fpu/libm-test-ulps: Update.
4788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4789
4790 2015-06-24 Roland McGrath <roland@hack.frob.com>
4791
4792 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
4793 return value is wrong, print the expected value too.
4794
4795 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
4796
4797 [BZ #18585]
4798 * elf/readlib.c (is_gdb_python_file): New.
4799 (process_file): Don't issue errors on filenames with -gdb.py
4800 suffix.
4801
4802 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4803
4804 * math/auto-libm-test-in: Add more tests of csin and csinh.
4805 * math/auto-libm-test-out: Regenerated.
4806 * math/libm-test.inc (csin_test_data): Remove tests moved to
4807 auto-libm-test-in.
4808 (csinh_test_data): Likewise.
4809
4810 [BZ #18593]
4811 * math/s_csin.c (__csin): Negate before rather than after possibly
4812 overflowing multiplication.
4813 * math/s_csinf.c (__csinf): Likewise.
4814 * math/s_csinh.c (__csinh): Likewise.
4815 * math/s_csinhf.c (__csinhf): Likewise.
4816 * math/s_csinhl.c (__csinhl): Likewise.
4817 * math/s_csinl.c (__csinl): Likewise.
4818 * math/auto-libm-test-in: Add some tests of csin and csinh.
4819 * math/auto-libm-test-out: Regenerated.
4820 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
4821 (csinh_test_data): Likewise.
4822 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4823
4824 [BZ #18586]
4825 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
4826 underflow exception for small results.
4827
4828 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
4829
4830 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
4831 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
4832 variable and included header.
4833 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
4834 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
4835 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
4836 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
4837 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
4838 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
4839 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
4840 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
4841 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
4842 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
4843 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
4844 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
4845 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
4846 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
4847 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
4848 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
4849
4850 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4851
4852 [BZ #16526]
4853 [BZ #16538]
4854 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
4855 (__sin): Force underflow exception for arguments with small
4856 absolute value.
4857 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
4858 (__kernel_sinf): Force underflow exception for arguments with
4859 small absolute value.
4860 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
4861 (__kernel_sincosl): Force underflow exception for arguments with
4862 small absolute value.
4863 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
4864 (__kernel_sinl): Force underflow exception for arguments with
4865 small absolute value.
4866 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
4867 (__kernel_sincosl): Force underflow exception for arguments with
4868 small absolute value.
4869 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
4870 (__kernel_sinl): Force underflow exception for arguments with
4871 small absolute value.
4872 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
4873 (__kernel_sinl): Force underflow exception for arguments with
4874 small absolute value.
4875 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
4876 (__kernel_sinf): Force underflow exception for arguments with
4877 small absolute value.
4878 * math/auto-libm-test-in: Add more tests of sin and sincos.
4879 * math/auto-libm-test-out: Regenerated.
4880
4881 [BZ #18245]
4882 [BZ #18583]
4883 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
4884 (__kernel_standard_l): Use feholdexcept and fesetenv around
4885 conversion to double instead of special-casing overflow and
4886 underflow.
4887 * math/libm-test.inc (fmod_test_data): Add more tests.
4888 (remainder_test_data): Likewise.
4889 (sqrt_test_data): Likewise.
4890
4891 2015-06-23 Torvald Riegel <triegel@redhat.com>
4892
4893 [BZ #17403]
4894 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
4895 atomic_read_barrier, atomic_write_barrier): Define.
4896 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
4897 atomic_read_barrier, atomic_write_barrier): Define.
4898
4899 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4900
4901 * math/Makefile [$(PERL) != no]
4902 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
4903 dependency on libm-test.stmp below the inclusion of Rules.
4904
4905 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
4906
4907 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
4908 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
4909 and included header.
4910 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
4911 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
4912 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
4913 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
4914 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
4915 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
4916 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
4917 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
4918 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
4919 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
4920 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
4921 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
4922 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
4923 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
4924 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
4925 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
4926 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
4927 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
4928 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
4929
4930 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4931
4932 [BZ #18371]
4933 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
4934 intermediate but not final result might underflow.
4935 * math/s_csqrtf.c (__csqrtf): Likewise.
4936 * math/s_csqrtl.c (__csqrtl): Likewise.
4937 * math/auto-libm-test-in: Add more tests of csqrt.
4938 * math/auto-libm-test-out: Regenerated.
4939 * sysdeps/i386/fpu/libm-test-ulps: Update.
4940
4941 [BZ #18219]
4942 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
4943 threshold on absolute value of exponent for which scaling is used.
4944 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4945 * math/auto-libm-test-in: Add more tests of exp2.
4946 * math/auto-libm-test-out: Regenerated.
4947
4948 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
4949
4950 [BZ #17977]
4951 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
4952 when initializing interface list, based on the bug analysis
4953 and the patch proposed by Eric Newton.
4954 * resolv/tst-res_hconf_reorder.c: New test.
4955 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
4956 tst-res_hconf_reorder.
4957 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
4958 and $(shared-thread-library).
4959 (tst-res_hconf_reorder-ENV): New variable.
4960
4961 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
4962 in comment.
4963
4964 2015-06-22 Joseph Myers <joseph@codesourcery.com>
4965
4966 [BZ #16353]
4967 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
4968 (__expm1): Force underflow exception for arguments with small
4969 absolute value.
4970 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
4971 (__expm1f): Force underflow exception for arguments with small
4972 absolute value.
4973 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
4974 (__expm1): Force underflow exception for arguments with small
4975 absolute value.
4976 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
4977 (__expm1f): Force underflow exception for arguments with small
4978 absolute value.
4979 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4980 Check for small arguments before calling __expm1.
4981 * math/auto-libm-test-in: Do not mark underflow exceptions as
4982 possibly missing for bug 16353.
4983 * math/auto-libm-test-out: Regenerated.
4984
4985 2015-06-22 Andreas Schwab <schwab@suse.de>
4986
4987 [BZ #18513]
4988 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
4989 PTR queries.
4990
4991 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
4992
4993 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
4994
4995 * string/strcoll_l.c: Remove unused struct element idxnow.
4996
4997 2015-06-21 Joseph Myers <joseph@codesourcery.com>
4998
4999 [BZ #18569]
5000 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
5001 underflow and return argument in case of subnormal argument.
5002 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5003 Likewise.
5004 * math/auto-libm-test-in: Add more tests of expm1.
5005 * math/auto-libm-test-out: Regenerated.
5006
5007 [BZ #16361]
5008 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
5009 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
5010 tiny results.
5011 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
5012 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
5013 tiny results.
5014 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
5015 mark underflow exceptions as possibly missing for bug 16361.
5016 * math/auto-libm-test-out: Regenerated.
5017
5018 2015-06-19 Joseph Myers <joseph@codesourcery.com>
5019
5020 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
5021 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
5022 Remove variable.
5023 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5024 (test-xfail-XOPEN2K8/utmpx.h/conform).
5025
5026 * conform/conformtest.pl ($xerrors): New variable.
5027 (note_error): New function.
5028 (compiletest): New argument $xfail. Use not_error.
5029 (runtest): Likewise.
5030 (top level): Handle xfail- lines. Update calls to compiletest and
5031 runtest. Handle xfail- and optional- in headers listed with
5032 allow-header.
5033 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
5034 (O_EXEC): Likewise.
5035 (O_SEARCH): Likewise.
5036 * conform/data/stropts.h-data (ioctl): Likewise.
5037 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
5038 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
5039 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
5040 (msghdr.msg_controllen): Likewise.
5041 (cmsghdr.cmsg_len): Likewise.
5042 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
5043 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
5044 variable.
5045 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5046 (test-xfail-XPG4/stropts.h/conform): Likewise.
5047 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5048 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5049 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5050 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5051 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5052 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5053 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5054 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5055 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5056 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5057 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5058 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5059 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5060 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5061 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5062 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5063 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5064 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5065 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5066
5067 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
5068
5069 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
5070 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
5071 definitions for proper unfolding of __MATHDECL_VEC.
5072
5073 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
5074
5075 * benchtests/bench-strcoll.c:
5076 Include string.h.
5077 (main): Remove unused variable res.
5078
5079 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
5080
5081 * timezone/Makefile (%/UTC %/Universal):
5082 Generate test-result files for UTC and Universal.
5083
5084 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
5085
5086 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5087
5088 2015-06-18 Joseph Myers <joseph@codesourcery.com>
5089
5090 [BZ #16350]
5091 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
5092 for arguments with small absolute value.
5093 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
5094 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
5095 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
5096 (__asinh): Force underflow exception for arguments with small
5097 absolute value.
5098 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
5099 (__asinhf): Force underflow exception for arguments with small
5100 absolute value.
5101 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
5102 (__asinhl): Force underflow exception for arguments with small
5103 absolute value.
5104 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
5105 (__asinhl): Force underflow exception for arguments with small
5106 absolute value.
5107 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
5108 (__asinhl): Force underflow exception for arguments with small
5109 absolute value.
5110 * math/auto-libm-test-in: Do not mark underflow exceptions as
5111 possibly missing for bug 16350.
5112 * math/auto-libm-test-out: Regenerated.
5113
5114 * include/bits/ipc.h: Remove file.
5115 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
5116 variable.
5117 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5118 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5119 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5120 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5121 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5122 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5123 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5124 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5125 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5126
5127 * math/auto-libm-test-in: Remove spurious underflow allowance for
5128 tests of cexp.
5129 * math/auto-libm-test-out: Regenerated.
5130
5131 [BZ #18558]
5132 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
5133 unconditional definition.
5134 (MCAST_BLOCK_SOURCE): Likewise.
5135 (MCAST_UNBLOCK_SOURCE): Likewise.
5136 (MCAST_LEAVE_GROUP): Likewise.
5137 (MCAST_JOIN_SOURCE_GROUP): Likewise.
5138 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5139 (MCAST_MSFILTER): Likewise.
5140 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
5141 Remove variable.
5142 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5143 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5144 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5145 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5146 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5147
5148 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
5149
5150 * NEWS: Mention addition of x86_64 vector sincosf.
5151 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
5152 * math/test-float-vlen4.h: Likewise.
5153 * math/test-float-vlen8.h: Likewise.
5154 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5155 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
5156 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5157 * sysdeps/x86_64/fpu/Versions: New versions added.
5158 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5159 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5160 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5161 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
5162 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
5163 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
5164 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
5165 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
5166 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
5167 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
5168 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
5169 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
5170 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
5171 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
5172 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
5173 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
5174 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
5175 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
5176 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5177 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5178 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5179 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5180 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5181 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5182
5183 * NEWS: Mention addition of x86_64 vector sincos.
5184 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
5185 * math/math.h (__MATHDECL_VEC): New macro.
5186 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
5187 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
5188 declaration under condition.
5189 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
5190 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
5191 TEST_VEC_LOOP change.
5192 * math/test-double-vlen4.h: Likewise.
5193 * math/test-double-vlen8.h: Likewise.
5194 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
5195 * math/test-float-vlen4.h: Likewise.
5196 * math/test-float-vlen8.h: Likewise.
5197 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5198 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
5199 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5200 * sysdeps/x86_64/fpu/Versions: New versions added.
5201 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5202 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5203 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5204 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
5205 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
5206 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
5207 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
5208 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
5209 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
5210 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
5211 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
5212 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
5213 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
5214 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
5215 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
5216 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
5217 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
5218 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5219 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5220 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5221 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5222 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5223 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5224 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5225
5226 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5227 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5228 redirections for powf.
5229 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5230 * sysdeps/x86_64/fpu/Versions: New versions added.
5231 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5232 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5233 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5234 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
5235 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
5236 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
5237 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
5238 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
5239 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
5240 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
5241 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
5242 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
5243 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
5244 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
5245 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
5246 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
5247 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
5248 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5249 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5250 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5251 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5252 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5253 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5254 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5255 * math/test-float-vlen16.h: Fixed 2 argument macro.
5256 * math/test-float-vlen4.h: Likewise.
5257 * math/test-float-vlen8.h: Likewise.
5258 * NEWS: Mention addition of x86_64 vector powf.
5259
5260 2015-06-17 Joseph Myers <joseph@codesourcery.com>
5261
5262 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5263 and redefine.
5264 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5265 and redefine.
5266 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
5267 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5268 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5269
5270 [BZ #18553]
5271 * resource/getpriority.c (getpriority): Rename to __getpriority
5272 and define as weak alias of __getpriority.
5273 * resource/setpriority.c (setpriority): Rename to __setpriority
5274 and define as weak alias of __setpriority.
5275 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
5276 __getpriority and define as weak alias of __getpriority.
5277 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
5278 __setpriority and define as weak alias of __setpriority.
5279 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
5280 strong name.
5281 (setpriority): Use __setpriority as strong name.
5282 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
5283 __getpriority and define as weak alias of __getpriority.
5284 * include/sys/resource.h (__getpriority): Declare. Use
5285 libc_hidden_proto.
5286 (__setpriority): Likewise.
5287 (getpriority): Don't use libc_hidden_proto.
5288 (setpriority): Likewise.
5289 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
5290 getpriority. Call __setpriority instead of setpriority.
5291 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
5292 Remove variable.
5293
5294 [BZ #18547]
5295 * misc/getttyent.c (getttynam): Rename to __getttynam and define
5296 as weak alias of __getttynam. Use prototype function definition.
5297 Call __setttyent, __getttyent and __endttyent instead of
5298 setttyent, getttyent and endttyent.
5299 (getttyent): Rename to __getttyent and define as weak alias of
5300 __getttyent. Call __setttyent instead of setttyent. Call
5301 __fgets_unlocked instead of fgets_unlocked.
5302 (setttyent): Rename to __setttyent and define as weak alias of
5303 __setttyent.
5304 (endttyent): Rename to __endttyent and define as weak alias of
5305 __endttyent.
5306 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
5307 (__setttyent): Likewise.
5308 (__endttyent): Likewise.
5309 (getttyent): Don't use libc_hidden_proto.
5310 (setttyent): Likewise.
5311 (endttyent): Likewise.
5312 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
5313 __endttyent instead of setttyent, getttyent and endttyent.
5314 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
5315 Remove variable.
5316
5317 [BZ #18546]
5318 * socket/recv.c (__recv): Use libc_hidden_def.
5319 * socket/socket.c (__socket): Likewise.
5320 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
5321 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
5322 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
5323 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
5324 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
5325 libc_hidden_def.
5326 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
5327 libc_hidden_weak.
5328 * include/sys/socket.h (__socket): Do not use attribute_hidden.
5329 Use libc_hidden_proto.
5330 (__recv): Likewise.
5331 * socket/Versions (libc): Export __recv and __socket at version
5332 GLIBC_PRIVATE.
5333 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
5334 instead of recv.
5335 (init_mq_netlink): Call __socket instead of socket.
5336 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
5337 Remove variable.
5338
5339 [BZ #18545]
5340 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
5341 __mq_timedreceive and define as alias of __mq_timedreceive. Use
5342 hidden_weak.
5343 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
5344 define as alias of __mq_timedsend. Use hidden_weak.
5345 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
5346 __mq_timedsend as strong name.
5347 (mq_timedreceive): Use __mq_timedreceive as strong name.
5348 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
5349 (__mq_timedreceive): Likewise.
5350 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
5351 __mq_timedreceive instead of mq_timedreceive.
5352 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
5353 instead of mq_timedsend.
5354 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
5355 Remove variable.
5356
5357 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
5358 hidden_def and hidden_weak instead of libc_hidden_def and
5359 libc_hidden_weak.
5360 (top level): Refer to hidden_def in comment.
5361 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
5362 macro. Use it instead of libc_hidden_def.
5363 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
5364 specify __GI_* name explicitly.
5365 (mq_timedreceive): Likewise.
5366 (mq_setattr): Likewise.
5367
5368 [BZ #18544]
5369 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
5370 __pthread_barrier_init and define as weak alias of
5371 __pthread_barrier_init.
5372 * sysdeps/sparc/nptl/pthread_barrier_init.c
5373 (pthread_barrier_init): Likewise.
5374 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
5375 __pthread_barrier_wait and define as weak alias of
5376 __pthread_barrier_wait.
5377 * sysdeps/sparc/nptl/pthread_barrier_wait.c
5378 (pthread_barrier_wait): Likewise.
5379 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
5380 (pthread_barrier_wait): Likewise.
5381 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
5382 (pthread_barrier_wait): Likewise.
5383 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
5384 (pthread_barrier_wait): Likewise.
5385 * nptl/Versions (libpthread): Export __pthread_barrier_init and
5386 __pthread_barrier_wait at version GLIBC_PRIVATE.
5387 * include/pthread.h (__pthread_barrier_init): Declare.
5388 (__pthread_barrier_wait): Likewise.
5389 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
5390 Call __pthread_barrier_wait instead of pthread_barrier_wait.
5391 (helper_thread): Likewise.
5392 (init_mq_netlink): Call __pthread_barrier_init instead of
5393 pthread_barrier_init.
5394
5395 [BZ #18542]
5396 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
5397 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
5398 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
5399 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
5400 vswscanf.
5401 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
5402 Remove variable.
5403
5404 [BZ #18540]
5405 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
5406 strong alias of _IO_fflush. Use libc_hidden_def.
5407 * libio/iofflush_u.c (fflush_unlocked): Rename to
5408 __fflush_unlocked and define as weak alias of __fflush_unlocked.
5409 Use libc_hidden_weak.
5410 * include/stdio.h (__fflush_unlocked): Declare. Use
5411 libc_hidden_proto.
5412 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
5413 fflush_unlocked.
5414 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
5415 Remove variable.
5416
5417 [BZ #18539]
5418 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
5419 define as weak alias of __addseverity.
5420 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
5421 Remove variable.
5422 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5423 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5424 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5425
5426 [BZ #18536]
5427 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
5428 (__tfind): Likewise.
5429 (__tdelete): Likewise.
5430 (__twalk): Likewise.
5431 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
5432 __twalk to GLIBC_PRIVATE.
5433 * include/search.h (__tsearch): Use libc_hidden_proto.
5434 (__tfind): Likewise.
5435 (__tdelete): Likewise.
5436 (__twalk): Likewise.
5437 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
5438 Call __tdelete instead of tdelete.
5439 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
5440 tfind. Call __tsearch instead of tsearch.
5441 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
5442 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
5443 Remove variable.
5444 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5445
5446 [BZ #18534]
5447 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
5448 (dprintf): Define as a weak alias of __dprintf, not a strong
5449 alias.
5450 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
5451 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
5452 dprintf.
5453 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
5454 Remove variable.
5455 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5456 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5457
5458 [BZ #18533]
5459 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
5460 not a strong alias.
5461 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
5462 Remove variable.
5463
5464 [BZ #18532]
5465 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
5466 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
5467 (in6addr_loopback): Rename to __in6addr_loopback and define as
5468 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
5469 * include/netinet/in.h (__in6addr_loopback): Declare. Use
5470 libc_hidden_proto.
5471 (__in6addr_any): Likewise.
5472 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
5473 in6addr_any.
5474 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
5475 variable.
5476 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5477
5478 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
5479
5480 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
5481 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
5482 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5483 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5484 redirections for pow.
5485 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5486 * sysdeps/x86_64/fpu/Versions: New versions added.
5487 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5488 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5489 build of SSE, AVX2 and AVX512 IFUNC versions.
5490 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
5491 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
5492 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
5493 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
5494 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
5495 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
5496 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
5497 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
5498 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
5499 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
5500 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
5501 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
5502 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
5503 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
5504 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5505 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5506 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5507 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5508 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5509 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5510 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5511 * NEWS: Mention addition of x86_64 vector pow.
5512
5513 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5514 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5515 redirections for expf.
5516 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5517 * sysdeps/x86_64/fpu/Versions: New versions added.
5518 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5519 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5520 build of SSE, AVX2 and AVX512 IFUNC versions.
5521 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
5522 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
5523 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
5524 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
5525 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
5526 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
5527 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
5528 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
5529 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
5530 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
5531 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
5532 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
5533 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
5534 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5535 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5536 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5537 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5538 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5539 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5540 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5541 * NEWS: Mention addition of x86_64 vector expf.
5542
5543 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
5544 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
5545 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5546 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5547 redirections for exp.
5548 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5549 * sysdeps/x86_64/fpu/Versions: New versions added.
5550 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5551 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5552 build of SSE, AVX2 and AVX512 IFUNC versions.
5553 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
5554 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
5555 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
5556 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
5557 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
5558 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
5559 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
5560 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
5561 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
5562 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
5563 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
5564 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
5565 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
5566 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5567 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5568 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5569 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5570 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5571 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5572 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5573 * NEWS: Mention addition of x86_64 vector exp.
5574
5575 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5576 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5577 redirections for logf.
5578 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5579 * sysdeps/x86_64/fpu/Versions: New versions added.
5580 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5581 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5582 build of SSE, AVX2 and AVX512 IFUNC versions.
5583 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
5584 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
5585 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
5586 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
5587 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
5588 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
5589 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
5590 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
5591 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
5592 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
5593 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
5594 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
5595 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
5596 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5597 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5598 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5599 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5600 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5601 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5602 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5603 * NEWS: Mention addition of x86_64 vector logf.
5604
5605 * bits/libm-simd-decl-stubs.h: Added stubs for log.
5606 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
5607 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5608 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5609 redirections for log.
5610 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5611 * sysdeps/x86_64/fpu/Versions: New versions added.
5612 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5613 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5614 build of SSE, AVX2 and AVX512 IFUNC versions.
5615 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
5616 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
5617 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
5618 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
5619 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
5620 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
5621 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
5622 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
5623 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
5624 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
5625 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
5626 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
5627 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
5628 test.
5629 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5630 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5631 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5632 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5633 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5634 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5635 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5636 * NEWS: Mention addition of x86_64 vector log.
5637
5638 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
5639
5640 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
5641 cfi_adjust_cfa_offset argument.
5642 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
5643 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
5644
5645 [BZ #18034]
5646 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
5647 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
5648 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
5649 ordering using ldar.
5650 (_dl_tlsdesc_dynamic): Likewise.
5651 (_dl_tlsdesc_return_lazy): Likewise.
5652 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
5653 relaxed atomics instead of volatile and synchronize with release store.
5654 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
5655 volatile.
5656 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
5657
5658 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
5659
5660 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5661 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
5662 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5663 * sysdeps/x86_64/fpu/Versions: New versions added.
5664 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5665 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5666 build of SSE, AVX2 and AVX512 IFUNC versions.
5667 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
5668 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
5669 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
5670 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
5671 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
5672 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
5673 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
5674 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
5675 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
5676 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
5677 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
5678 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
5679 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
5680 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5681 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5682 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5683 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5684 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5685 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5686 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5687 * NEWS: Mention addition of x86_64 vector sinf.
5688
5689 2015-06-14 Joseph Myers <joseph@codesourcery.com>
5690
5691 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
5692 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
5693 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
5694 Remove variable.
5695 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5696 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5697
5698 2015-06-12 Joseph Myers <joseph@codesourcery.com>
5699
5700 [BZ #18530]
5701 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
5702 strong alias of _IO_fputs. Use libc_hidden_def.
5703 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
5704 and define as weak alias of __fputs_unlocked. Use
5705 libc_hidden_weak.
5706 * include/stdio.h (__fputs_unlocked): Declare. Use
5707 libc_hidden_proto.
5708 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
5709 fputs_unlocked.
5710
5711 [BZ #18529]
5712 * resolv/netdb.h [__USE_POSIX]: Change condition to
5713 [__USE_XOPEN2K].
5714 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
5715 not expect.
5716 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
5717 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
5718 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
5719 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
5720 [XPG4 || UNIX98] (AI_ALL): Likewise.
5721 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
5722 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
5723 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
5724 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
5725 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
5726 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
5727 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
5728 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
5729 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
5730 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
5731 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
5732 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
5733 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
5734 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
5735 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
5736 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
5737 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
5738 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
5739 [XPG4 || UNIX98] (gai_strerror): Likewise.
5740 [XPG4 || UNIX98] (getaddrinfo): Likewise.
5741 [XPG4 || UNIX98] (getnameinfo): Likewise.
5742
5743 [BZ #18528]
5744 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
5745 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
5746 __USE_XOPEN2K8].
5747 (getgrent): Likewise.
5748 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
5749 expect.
5750 [XPG3 || POSIX2008] (endgrent): Likewise.
5751 [XPG3] (setgrent): Likewise.
5752 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
5753 variable.
5754 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5755
5756 [BZ #18527]
5757 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
5758 define as weak alias of __getlogin_r. Use libc_hidden_weak.
5759 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
5760 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
5761 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
5762 * include/unistd.h (__getlogin_r): Declare. Use
5763 libc_hidden_proto.
5764 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
5765 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
5766 variable.
5767 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5768 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5769 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5770
5771 2015-06-12 Martin Sebor <msebor@redhat.com>
5772
5773 [BZ #18512]
5774 * Makerules (check-install-supported): New target.
5775 (install): Add check-install-supported as a dependency.
5776 * manual/install.texi (Installing the C Library): Document
5777 that overriding prefix and exec_prefix is not supported.
5778 Mention DESTDIR.
5779 * INSTALL: Regenerate from the above.
5780
5781 2015-06-12 Joseph Myers <joseph@codesourcery.com>
5782
5783 [BZ #18519]
5784 * posix/Versions (libc): Export __libc_pread at version
5785 GLIBC_PRIVATE.
5786 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
5787 instead of pread.
5788 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
5789 variable.
5790
5791 [BZ #18522]
5792 * misc/efgcvt_r.c
5793 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
5794 (cvt_symbol): Use weak_alias instead of strong_alias.
5795 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
5796 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
5797 Remove variable.
5798 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5799 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5800
5801 [BZ #18520]
5802 * inet/herrno.c (h_errno): Rename to __h_errno.
5803 (__libc_h_errno): Define as alias of __h_errno not h_errno.
5804 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
5805 to __h_errno instead of h_errno.
5806 * nptl/herrno.c (h_errno): Rename to __h_errno.
5807 (__h_errno_location): Refer to __h_errno not h_errno.
5808 * resolv/Versions (h_errno): Rename to __h_errno.
5809 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
5810 Remove variable.
5811 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5812
5813 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
5814
5815 * configure.ac: More strict check for AVX512 assembler support.
5816 * configure: Regenerated.
5817
5818 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
5819 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
5820 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5821 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
5822 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5823 * sysdeps/x86_64/fpu/Versions: New versions added.
5824 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5825 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5826 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5827 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
5828 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
5829 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
5830 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
5831 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
5832 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
5833 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
5834 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
5835 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
5836 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
5837 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
5838 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
5839 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
5840 test.
5841 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5842 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5843 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5844 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5845 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5846 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5847 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5848 * NEWS: Mention addition of x86_64 vector sin.
5849
5850 2015-06-11 Florian Weimer <fweimer@redhat.com>
5851
5852 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
5853 comment.
5854
5855 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
5856
5857 [BZ #18479]
5858 * nptl/pt-interp.c: New file.
5859 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
5860 Add pt-interp.
5861 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
5862 $(common-objpfx)runtime-linker.h.
5863
5864 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
5865
5866 * Makeconfig (+interp): Remove unused variable.
5867 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
5868 only. Depend on $(common-objpfx)runtime-linker.h instead of
5869 $(elf-objpfx)runtime-linker.h.
5870 ($(elf-objpfx)runtime-linker.h): Rename to
5871 $(common-objpfx)runtime-linker.h and move ...
5872 * Makerules [$(build-shared) = yes]: ... here.
5873 * elf/interp.c: Include <runtime-linker.h> instead of
5874 <elf/runtime-linker.h>.
5875
5876 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5877
5878 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
5879 (__gettimeofday_syscall): Remove vsyscall fallback.
5880 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
5881 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
5882 Add syscall fallback function.
5883 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
5884 if vDSO is not present.
5885 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
5886 fallback function.
5887 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
5888 present.
5889 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
5890 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
5891
5892 2015-06-09 Joseph Myers <joseph@codesourcery.com>
5893
5894 [BZ #18497]
5895 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
5896 of wcscmp.
5897 (wcscmp): Define as weak alias of WCSCMP.
5898 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
5899 wcscoll.
5900 (USE_HIDDEN_DEF): Define.
5901 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
5902 __wcscoll. Don't use libc_hidden_weak.
5903 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
5904 wcscmp.
5905 * sysdeps/i386/i686/multiarch/wcscmp-c.c
5906 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
5907 __GI_wcscmp.
5908 (weak_alias): Undefine and redefine.
5909 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
5910 __wcscmp and define as weak alias of __wcscmp.
5911 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
5912 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
5913 (__wcscoll): Likewise.
5914 (wcscmp): Don't use libc_hidden_proto.
5915 (wcscoll): Likewise.
5916 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
5917 wcscoll.
5918 * posix/regexec.c (check_node_accept_bytes): Likewise.
5919 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
5920 variable.
5921 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5922 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5923
5924 [BZ #18507]
5925 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
5926 __fstatvfs and define as weak alias of __fstatvfs. Use
5927 libc_hidden_weak.
5928 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
5929 and define as weak alias of __statvfs. Use libc_hidden_weak.
5930 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
5931 Define as alias of __fstatvfs, not fstatvfs.
5932 (fstatvfs64): Likewise.
5933 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
5934 Define as alias of __statvfs, not statvfs.
5935 (statvfs64): Likewise.
5936 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
5937 Remove variable.
5938
5939 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5940
5941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5942 (HAVE_GETCPU_VSYSCALL): Define.
5943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5944 (HAVE_GETCPU_VSYSCALL): Likewise.
5945 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
5946 * sysdeps/unix/sysv/linux/sched_getcpu.c
5947 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
5948 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
5949 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
5950 prototype.
5951 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5952 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
5953 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
5954 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
5955 Define.
5956 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
5957 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5958 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
5959 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5960
5961 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
5962
5963 * sysdeps/x86_64/fpu/Makefile: New file.
5964 * sysdeps/x86_64/fpu/Versions: New file.
5965 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
5966 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
5967 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
5968 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
5969 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
5970 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
5971 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
5972 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
5973 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
5974 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
5975 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
5976 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
5977 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
5978 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5979 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5980 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
5981 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
5982 * sysdeps/x86_64/configure.ac: Options for libmvec build.
5983 * sysdeps/x86_64/configure: Regenerated.
5984 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
5985 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
5986 * manual/install.texi (Configuring and compiling): Document
5987 --disable-mathvec.
5988 * INSTALL: Regenerated.
5989 * NEWS: Mention addition of libmvec and x86_64 vector cos.
5990
5991 * math/Makefile: Added rules for vector tests.
5992 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
5993 declaration under condition.
5994 * math/test-double-vlen2.h: New file.
5995 * math/test-double-vlen4.h: New file.
5996 * math/test-double-vlen8.h: New file.
5997 * math/test-vec-loop.h: Added initialization macro.
5998 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
5999 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
6000 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
6001 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
6002 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
6003 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
6004 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
6005 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
6006 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
6007 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
6008 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
6009
6010 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6011 * sysdeps/x86_64/fpu/Versions: New versions added.
6012 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
6013 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
6014 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
6015 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
6016 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
6017 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
6018 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
6019 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
6020 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
6021 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
6022 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
6023 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
6024 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
6025 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6026 Added build of SSE, AVX2 and AVX512 IFUNC versions.
6027 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6028 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
6029 * NEWS: Mention addition of x86_64 vector cosf.
6030
6031 * math/Makefile: Added CFLAGS for new tests.
6032 * math/test-float-vlen16.h: New file.
6033 * math/test-float-vlen4.h: New file.
6034 * math/test-float-vlen8.h: New file.
6035 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
6036 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
6037 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6038 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
6039 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
6040 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
6041 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
6042 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
6043 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
6044 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
6045 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
6046
6047 2015-06-09 Marko Myllynen <myllynen@redhat.com>
6048
6049 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
6050 * locale/programs/ld-ctype.c: Likewise.
6051
6052 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
6053
6054 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
6055 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
6056 bit_ZMM16_31_state): New macro.
6057 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6058 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
6059
6060 2015-06-08 Joseph Myers <joseph@codesourcery.com>
6061
6062 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
6063
6064 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
6065
6066 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
6067
6068 2015-06-05 Joseph Myers <joseph@codesourcery.com>
6069
6070 [BZ #18498]
6071 * libio/memstream.c (open_memstream): Rename to __open_memstream
6072 and define as weak alias of __open_memstream.
6073 * include/stdio.h (__open_memstream): Declare. Use
6074 libc_hidden_proto.
6075 (open_memstream): Don't use libc_hidden_proto.
6076 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
6077 open_memstream.
6078 * posix/getopt.c (_getopt_internal_r): Likewise.
6079 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
6080 variable.
6081 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
6082 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6083 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6084
6085 [BZ #18496]
6086 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
6087 instead of wcrtomb.
6088
6089 [BZ #18483]
6090 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
6091 [__USE_XOPEN2K8]. Remove redundant #endif.
6092 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
6093 Remove redundant #if.
6094 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
6095 Remove variable.
6096 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6097 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6098
6099 [BZ #18495]
6100 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
6101 (__iswlower): Likewise.
6102 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
6103 (__iswlower): Likewise.
6104 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
6105 instead of towlower.
6106 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
6107 instead of iswlower. Call __towupper instead of towupper.
6108 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
6109 instead of iswalnum.
6110
6111 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6112
6113 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
6114 errors to stderr.
6115
6116 2015-06-05 Florian Weimer <fweimer@redhat.com>
6117
6118 [BZ #15661]
6119 [BZ #17322]
6120 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
6121 Check for overflow properly. Check for O_APPEND. Ignore large
6122 file system block sizes. Add comments about problems.
6123 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
6124 * manual/filesys.texi (Storage Allocation): New node.
6125
6126 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6127
6128 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
6129 cancellable syscalls.
6130 (SYS_ify): Add guard to no redefine it.
6131 (INLINE_SYSCALL): Likewise.
6132 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
6133 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
6134 SYSCALL_CANCEL instead.
6135 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
6136 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6137 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6138 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6139 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6140 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
6141 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
6142 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
6143 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6144 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6145 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
6146 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
6147 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
6148 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
6149 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
6150 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6151 Likewise.
6152 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6153 (__libc_pread64): Likewise.
6154 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
6155 (__libc_preadv): Likewise.
6156 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
6157 (__libc_readv64): Likewise.
6158 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6159 (__libc_pwrite): Likewise.
6160 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6161 (__libc_pwrite64): Likewise.
6162 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
6163 (__libc_pwritev): Likewise.
6164 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
6165 (__libc_pwritev64): Likewise.
6166 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
6167 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
6168 (sync_file_range): Likewise.
6169 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
6170 Likewise.
6171 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
6172 Likewise.
6173 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6174 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6175 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6176 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6177 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6178 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6179 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6180 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
6181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6182 Likewise.
6183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6184 (__libc_read64): Likewise.
6185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
6186 Likewise.
6187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
6188 Likewise.
6189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
6190 Likewise.
6191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
6192 Likewise.
6193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6194 (__libc_pread64): Likewise.
6195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
6196 Likewise.
6197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6198 (__libc_pwrite64): Likewise.
6199 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
6200 (sync_file_range): Likewise.
6201 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
6202 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6203 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6204 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
6205 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
6206 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6207 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6208 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
6209 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
6210 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6211 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
6212 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6213 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6214 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6215 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
6216 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6217 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6218 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6219 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6220 Likewise.
6221 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
6222 Likewise.
6223 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
6224 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
6225 Likewise.
6226 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
6227 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
6228 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
6229 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
6230 Likewise.
6231 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
6232 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
6233 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
6234 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
6235 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
6236
6237 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
6238
6239 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
6240 Include dl-vdso.
6241 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
6242 Use VDSO routines for gettimeofday, clock_gettime if
6243 available.
6244 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
6245 Declare VDSO symbols.
6246 * sysdeps/unix/sysv/linux/arm/sysdep.h:
6247 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
6248 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6249 * sysdeps/unix/sysv/linux/arm/Versions: Add
6250 __vdso_clock_gettime.
6251
6252 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6253
6254 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
6255 be an inline implementation regardless of library is built within.
6256 (open_not_cancel_2): Likewise.
6257 (__read_nocancel): Likewise.
6258 (__write_nocancel): Likewise.
6259 (openat_not_cancel): Likewise.
6260 (openat_not_cancel_3): Likewise.
6261 (openat64_not_cancel): Likewise.
6262 (openat64_not_cancel_3): Likewise.
6263 (__close_nocancel): Likewise.
6264 (pause_not_cancel): Likewise.
6265 (nanosleep_not_cancel): Likewise.
6266 (sigsuspend_not_cancel): Likewise.
6267
6268 2015-06-04 Torvald Riegel <triegel@redhat.com>
6269
6270 [BZ #14958]
6271 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
6272 wake-up.
6273 (__pthread_rwlock_rdlock_slow): Likewise.
6274 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6275 Likewise.
6276 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6277 Likewise.
6278 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
6279 * nptl/tst-rwlock16.c: New file.
6280 * nptl/Makefile (tests): Add new test.
6281
6282 2015-06-04 Torvald Riegel <triegel@redhat.com>
6283
6284 [BZ #18324]
6285 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
6286 missing wake-up of readers.
6287 * nptl/tst-rwlock15.c: New file.
6288 * nptl/Makefile (tests): Add new test.
6289
6290 2015-06-03 Roland McGrath <roland@hack.frob.com>
6291
6292 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
6293 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
6294 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
6295 and __nacl_supply_interface_rtld.
6296 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
6297 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
6298 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
6299 Add __nacl_supply_interface_rtld.
6300 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
6301
6302 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
6303
6304 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
6305 isfinite.
6306 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6307 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
6308
6309 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
6310
6311 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
6312 __signbit* with standard C99 macros.
6313 * math/e_exp10l.c: Likewise.
6314 * math/e_exp2l.c: Likewise.
6315 * math/e_scalb.c: Likewise.
6316 * math/e_scalbf.c: Likewise.
6317 * math/e_scalbl.c: Likewise.
6318 * math/s_ldexp.c: Likewise.
6319 * math/s_ldexpf.c: Likewise.
6320 * math/s_ldexpl.c: Likewise.
6321 * math/w_atan2.c: Likewise.
6322 * math/w_atan2f.c: Likewise.
6323 * math/w_atan2l.c: Likewise.
6324 * math/w_cosh.c: Likewise.
6325 * math/w_coshf.c: Likewise.
6326 * math/w_coshl.c: Likewise.
6327 * math/w_exp10.c: Likewise.
6328 * math/w_exp10f.c: Likewise.
6329 * math/w_exp10l.c: Likewise.
6330 * math/w_exp2.c: Likewise.
6331 * math/w_exp2f.c: Likewise.
6332 * math/w_exp2l.c: Likewise.
6333 * math/w_fmod.c: Likewise.
6334 * math/w_fmodf.c: Likewise.
6335 * math/w_fmodl.c: Likewise.
6336 * math/w_hypot.c: Likewise.
6337 * math/w_hypotf.c: Likewise.
6338 * math/w_hypotl.c: Likewise.
6339 * math/w_jnl.c: Likewise.
6340 * math/w_lgamma.c: Likewise.
6341 * math/w_lgamma_r.c: Likewise.
6342 * math/w_lgammaf.c: Likewise.
6343 * math/w_lgammaf_r.c: Likewise.
6344 * math/w_lgammal.c: Likewise.
6345 * math/w_lgammal_r.c: Likewise.
6346 * math/w_pow.c: Likewise.
6347 * math/w_powf.c: Likewise.
6348 * math/w_powl.c: Likewise.
6349 * math/w_remainder.c: Likewise.
6350 * math/w_remainderf.c: Likewise.
6351 * math/w_remainderl.c: Likewise.
6352 * math/w_scalb.c: Likewise.
6353 * math/w_scalbf.c: Likewise.
6354 * math/w_scalbl.c: Likewise.
6355 * math/w_scalbln.c: Likewise.
6356 * math/w_scalblnf.c: Likewise.
6357 * math/w_scalblnl.c: Likewise.
6358 * math/w_sinh.c: Likewise.
6359 * math/w_sinhf.c: Likewise.
6360 * math/w_sinhl.c: Likewise.
6361 * math/w_tgamma.c: Likewise.
6362 * math/w_tgammaf.c: Likewise.
6363 * math/w_tgammal.c: Likewise.
6364 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6365 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
6366 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6367 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6368 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6369 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6370 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6371 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6372 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6373 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6374 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6375 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6376 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6377 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6378 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6379 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6380 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6381 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6382 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6383 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6384 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6385 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6386 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6387 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6388 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6389 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6390 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
6391 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6392 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6393 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6394 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
6395 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
6396 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
6397 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
6398 * stdio-common/printf_fp.c: Likewise.
6399 * stdio-common/printf_fphex.c: Likewise.
6400 * stdio-common/printf_size.c: Likewise.
6401
6402 2015-06-03 Joseph Myers <joseph@codesourcery.com>
6403
6404 [BZ #18470]
6405 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
6406 strnlen.
6407 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
6408 Remove variable.
6409 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
6410 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
6411 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
6412 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
6413 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
6414 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
6415 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6416 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6417 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6418 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6419
6420 [BZ #18468]
6421 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
6422 weak alias of __wmemchr. Use libc_hidden_weak.
6423 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
6424 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
6425 instead of wmemchr.
6426
6427 2015-06-02 Roland McGrath <roland@hack.frob.com>
6428
6429 [BZ #18383]
6430 * elf/tst-tlsalign-extern.c: New file.
6431 * elf/tst-tlsalign-extern-static.c: New file.
6432 * elf/tst-tlsalign-vars.c: New file.
6433 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
6434 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
6435 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
6436 ($(objpfx)tst-tlsalign-extern-static): Likewise.
6437 (test-xfail-tst-tlsalign-extern-static): New variable.
6438
6439 2015-06-02 Joseph Myers <joseph@codesourcery.com>
6440
6441 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
6442 Use variable name _sc_err instead of err.
6443 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
6444 instead of ret.
6445 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
6446 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
6447 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
6448 (INLINE_SYSCALL): Likewise.
6449
6450 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
6451 * include/string.h (__strnlen): Use libc_hidden_proto.
6452 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
6453 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
6454 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
6455 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
6456 (libc_hidden_def): Undefine and redefine.
6457 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
6458 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
6459 __GI_strnlen.
6460 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
6461 libc_hidden_def.
6462 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
6463
6464 [BZ #18469]
6465 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
6466 weak alias of __towlower. Use libc_hidden_weak.
6467 (towupper): Rename to __towupper and define as weak alias of
6468 __towupper. Use libc_hidden_weak.
6469 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
6470 (__towupper): Likewise.
6471 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
6472 __towlower instead of towlower.
6473
6474 2015-06-02 Roland McGrath <roland@hack.frob.com>
6475
6476 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
6477 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
6478
6479 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
6480
6481 * sysdeps/aarch64/libm-test-ulps: Update.
6482
6483 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6484
6485 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
6486 Define.
6487 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6488 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6489 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
6490 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6491 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
6492 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
6493 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
6494
6495 2015-06-01 Martin Sebor <msebor@redhat.com>
6496
6497 [BZ #18116]
6498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6499 (__setcontext): Use extended four-operand version of mtsf whenever
6500 possible.
6501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6502 (__novec_swapcontext): Likewise.
6503
6504 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6505
6506 * benchtests/scripts/compare_bench.py: New file.
6507 * benchtests/scripts/import_bench.py (mean): New function.
6508 (split_list): Likewise.
6509 (do_for_all_timings): Likewise.
6510 (compress_timings): Likewise.
6511
6512 * benchtests/scripts/import_bench.py: New file.
6513 * benchtests/scripts/validate_benchout.py: Import import_bench
6514 instead of jsonschema.
6515 (validate_bench): Remove function.
6516 (main): Use import_bench.
6517
6518 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
6519
6520 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
6521 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
6522
6523 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6524
6525 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6526
6527 2015-05-28 Roland McGrath <roland@hack.frob.com>
6528
6529 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
6530 set THREAD_SELF->tid to a magic value and futex-wake it.
6531 Pass its address to the thread_exit system call.
6532 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
6533 bit is clear.
6534 * sysdeps/nacl/lowlevellock.h: New file.
6535 * sysdeps/nacl/lll_timedwait_tid.c: New file.
6536
6537 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
6538 Add TIMEOUT to current time, don't subtract it.
6539
6540 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
6541
6542 [BZ #2981]
6543 [BZ #18422]
6544 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
6545 ($(objpfx)tst-audit2.out): Also depend on
6546 $(objpfx)tst-auditmod9b.so.
6547 * elf/tst-audit2.c: Include <dlfcn.h>.
6548 (calloc_called): New.
6549 (calloc): Allow to be called more than once.
6550 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
6551
6552 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
6553
6554 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
6555 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
6556
6557 2015-05-27 Marko Myllynen <myllynen@redhat.com>
6558
6559 * stdlib/monetary.h: Fix comment.
6560
6561 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
6562
6563 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
6564 Avoid using variables in #defines that might cause shadowing.
6565 (INTERNAL_VSYSCALL_CALL): Likewise.
6566
6567 2015-05-26 Roland McGrath <roland@hack.frob.com>
6568
6569 * sysdeps/nacl/lll_timedlock_wait.c: New file.
6570
6571 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
6572 * nptl/lll_timedlock_wait.c: ... to this new file.
6573 * nptl/Makefile (libpthread-routines): Add it.
6574 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
6575 * nptl/lll_timedwait_tid.c: ... to this new file.
6576 * nptl/Makefile (libpthread-routines): Add it.
6577 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
6578 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
6579 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
6580 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
6581 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
6582 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
6583 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
6584 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
6585 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
6586 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
6587
6588 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6589
6590 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
6591 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
6592 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
6593 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
6594 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6595 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6596 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6597 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6598 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6599 * sysdeps/unix/sysv/linux/tile/sysdep.h
6600 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6601 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
6602 using vDSO syscall macro.
6603
6604 2015-05-26 Andriy Rysin <arysin@gmail.com>
6605
6606 [BZ #17293]
6607 * uk_UA: Fix sorting order for Ukrainian locale
6608
6609 2015-05-26 Marko Myllynen <myllynen@redhat.com>
6610
6611 * stdlib/monetary.h: Fix comment.
6612
6613 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
6614
6615 [BZ #18234]
6616 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
6617 st_mtim and st_ctim members.
6618 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
6619 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
6620 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
6621 (struct stat64): Likewise.
6622 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
6623 (struct stat64): Likewise.
6624 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
6625 (struct stat64): Likewise.
6626
6627 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6628
6629 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
6630 Define and include sysdep-vdso.h.
6631 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
6632 Likewise.
6633 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
6634 Likewise.
6635 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
6636 Define with VDSO_SYMBOL and use PTR_MANGLE.
6637 (__vdso_clock_gettime): Likewise.
6638 (__vdso_clock_getres): Likewise.
6639 (_libc_vdso_platform_setup): Likewise.
6640 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6641 Likewise.
6642 (_libc_vdso_platform_setup): Likewise.
6643 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
6644 Likewise.
6645 (__vdso_clock_gettime): Likewise.
6646 (__vdso_clock_getres): Likewise.
6647 (__vdso_get_tbfreq): Likewise.
6648 (__vdso_getcpu): Likewise.
6649 (__vdso_time): Likewise.
6650 (__vdso_sigtramp_rt64): Likewise.
6651 (__vdso_signtramp32): Likewise.
6652 (__vdso_sigtramp_rt32): Likewise.
6653 (_libc_vdso_platform_setup): Likewise.
6654 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
6655 Likewise.
6656 (__vdso_clock_gettime): Likewise.
6657 (__vdso_clock_getres): Likewise.
6658 (_libc_vdso_platform_setup): Likewise.
6659 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
6660 Likewise.
6661 (__vdso_clock_gettime): Likewise.
6662 (_libc_vdso_platform_setup): Likewise.
6663 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6664 Likewise.
6665 (__vdso_getcpu): Likewise.
6666 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
6667 Use VDSO_SYMBOL macro to define.
6668 (__vdso_clock_gettime): Likewise.
6669 (__vdso_clock_getres): Likewise.
6670 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
6671 Likewise.
6672 (__vdso_clock_gettime): Likewise.
6673 (__vdso_clock_getres): Likewise.
6674 (__vdso_get_tbfreq): Likewise.
6675 (__vdso_getcpu): Likewise.
6676 (__vdso_time): Likewise.
6677 (__vdso_sigtramp_rt64): Likewise.
6678 (__vdso_signtramp32): Likewise.
6679 (__vdso_sigtramp_rt32): Likewise.
6680 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
6681 Likewise.
6682 (__vdso_clock_gettime): Likewise.
6683 (__vdso_clock_getres): Likewise.
6684 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
6685 Likewise.
6686 (__vdso_clock_gettime): Likewise.
6687 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6688 Likewise.
6689 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
6690 macro.
6691 (INTERNAL_VSYSCALL): Likewise.
6692 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
6693 Remove macro.
6694 (INTERNAL_VSYSCALL): Likewise.
6695 (INTERNAL_VSYSCALL_NCS): Likewise.
6696 (INTERNAL_VSYSCALL_CALL): New macro.
6697 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
6698 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
6699 Likewise.
6700 (INTERNAL_VSYSCALL): Likewise.
6701 (INTERNAL_VSYSCALL_NCS): Likewise.
6702 (INTERNAL_VSYSCALL_CALL): New macro.
6703 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
6704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6705 (INLINE_VSYSCALL): Remove macro.
6706 (INTERNAL_VSYSCALL): Remove macro.
6707 (INTERNAL_VSYSCALL_NCS): Remove macro.
6708 (INTERNAL_VSYSCALL_CALL): New macro.
6709 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
6710 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
6711 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
6712 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
6713 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
6714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6715 (INLINE_VSYSCALL): Remove macro.
6716 (INTERNAL_VSYSCALL): Likewise.
6717 (INTERNAL_VSYSCALL_NCS): Likewise.
6718 (INTERNAL_VSYSCALL_CALL): New macro.
6719 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
6720 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
6721 PTR_DEMANGLE on vDSO pointer.
6722 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
6723 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
6724 macro.
6725 (INTERNAL_SYSCALL): Likewise.
6726 (INTERNAL_VSYSCALL_NCS): Remove macro.
6727 (INTERNAL_VSYSCALL_CALL): New macro.
6728 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
6729 Remove macro.
6730 (INTERNAL_VSYSCALL): Likewise.
6731 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
6732 sysdep-vdso.h instead of libc-vdso.h.
6733 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
6734 definition.
6735 (INLINE_VSYSCALL): Likewise.
6736 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
6737 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
6738 definition.
6739 (INLINE_VSYSCALL): Likewise.
6740 (INTERNAL_VSYSCALL): Likewise.
6741 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6742 * sysdeps/unix/sysv/linux/timespec_get.c
6743 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6744 (timespec_get): Use ANSI prototype.
6745 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
6746 and definition for Linux.
6747
6748 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
6749
6750 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
6751 * include/libc-symbols.h: libmvec_hidden_* macro series added.
6752
6753 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
6754
6755 [BZ #2981]
6756 [BZ #18410]
6757 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
6758 for missing DT_PLTRELSZ.
6759
6760 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
6761
6762 Remove obsolete aliases that broke 'locale -a'
6763 [BZ #18412]
6764 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
6765 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
6766 breaking some applications that use 'locale -a' output.
6767 Change the encoding of this file from Latin-1 to ASCII to avoid
6768 other potential problems with people grepping this file.
6769
6770 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6771
6772 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
6773 -fasynchronous-unwind-tables.
6774 (CFLAGS-sendto.c): Likewise.
6775 (CFLAGS-sendmsg.c): Likewise.
6776 (CFLAGS-connect.c): Likewise.
6777 (CFLAGS-recvmsg.c): Likewise.
6778 (CFLAGS-recvfrom.c): Likewise.
6779 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
6780 (SOCKETCALL): New macro: non-cancellable socketcall.
6781 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
6782 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
6783 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
6784 * sysdeps/unix/sysv/linux/accept.c: New file.
6785 * sysdeps/unix/sysv/linux/bind.c: Likewise.
6786 * sysdeps/unix/sysv/linux/connect.c: Likewise.
6787 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
6788 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
6789 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
6790 * sysdeps/unix/sysv/linux/listen.c: Likewise.
6791 * sysdeps/unix/sysv/linux/recv.c: Likewise.
6792 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
6793 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
6794 * sysdeps/unix/sysv/linux/send.c: Likewise.
6795 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
6796 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
6797 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
6798 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
6799 * sysdeps/unix/sysv/linux/socket.c: Likewise.
6800 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
6801 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
6802 prototype.
6803 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
6804 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6805 instead of __internal_xxx function.
6806 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
6807 prototype.
6808 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
6809 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6810 instead of __internal_xxx function.
6811 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
6812 prototype.
6813 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
6814 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6815 instead of __internal_xxx function.
6816 * sysdeps/unix/sysv/linux/accept.S: Remove file.
6817 * sysdeps/unix/sysv/linux/bind.S: Likewise.
6818 * sysdeps/unix/sysv/linux/connect.S: Likewise.
6819 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
6820 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
6821 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
6822 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
6823 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
6824 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
6825 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
6826 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
6827 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6828 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
6829 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
6830 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
6831 * sysdeps/unix/sysv/linux/listen.S: Likewise.
6832 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
6833 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
6834 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
6835 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
6836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
6837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
6838 * sysdeps/unix/sysv/linux/recv.S: Likewise.
6839 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
6840 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
6841 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
6842 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6843 * sysdeps/unix/sysv/linux/send.S: Likewise.
6844 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
6845 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
6846 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
6847 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
6848 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
6849 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
6850 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
6851 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
6852 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
6853 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
6854 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
6855 socketcall is implemented in GLIBC.
6856
6857 2015-05-22 Joseph Myers <joseph@codesourcery.com>
6858
6859 * soft-fp/fmadf4.c: Include <libc-internal.h>.
6860 (__fma): Ignore uninitialized warnings around packing.
6861 * soft-fp/fmasf4.c: Include <libc-internal.h>.
6862 (__fmaf): Ignore uninitialized warnings around packing.
6863 * soft-fp/fmatf4.c: Include <libc-internal.h>.
6864 (__fmal): Ignore uninitialized warnings around packing.
6865
6866 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
6867 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6868 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
6869 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6870
6871 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
6872 switch statement into default case.
6873 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
6874
6875 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
6876 a conditional in forcing "inexact".
6877 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
6878 Likewise.
6879
6880 2015-05-22 Roland McGrath <roland@hack.frob.com>
6881
6882 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6883 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
6884 for each INTERNAL_SYSCALL use.
6885
6886 2015-05-22 Joseph Myers <joseph@codesourcery.com>
6887
6888 [BZ #438]
6889 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
6890 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
6891 variable.
6892
6893 [BZ #18444]
6894 * string/basename.c (basename): Rename to __basename and define as
6895 weak alias of __basename. Use libc_hidden_weak.
6896 * include/string.h (__basename): Declare. Use libc_hidden_proto.
6897 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
6898 __basename instead of basename.
6899 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
6900 Remove variable.
6901 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6902
6903 2015-05-18 Florian Weimer <fweimer@redhat.com>
6904
6905 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
6906 (_IO_JUMPS_FILE_plus): New.
6907 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
6908 _IO_CAST_FIELD_ACCESS.
6909 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
6910 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
6911 * libio/freopen.c (freopen): Likewise.
6912 * libio/freopen64.c (freopen64): Likewise.
6913 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
6914 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
6915 * libio/iofwide.c (_IO_fwide): Likewise.
6916 * libio/memstream.c (open_memstream): Likewise.
6917 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6918 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6919 * libio/oldiopopen.c (_IO_old_popen): Likewise.
6920
6921 2015-05-21 Joseph Myers <joseph@codesourcery.com>
6922
6923 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
6924 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
6925 NADJ.
6926 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
6927 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
6928 NADJ.
6929 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
6930 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
6931 NADJ.
6932
6933 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
6934 (p == 4) case.
6935
6936 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
6937 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
6938 Remove variable.
6939 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6940 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6941 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6942
6943 2015-05-21 Florian Weimer <fweimer@redhat.com>
6944
6945 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
6946 Adjust jump table label generation macros.
6947
6948 2015-05-21 Florian Weimer <fweimer@redhat.com>
6949
6950 * stdio-common/vfprintf.c (vfprintf): Move local variables
6951 args_malloced, specs, specs_malloced, and the code after
6952 do_positional to the printf_positional function.
6953 (printf_positional): New function.
6954
6955 2015-05-21 Florian Weimer <fweimer@redhat.com>
6956
6957 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
6958 function.
6959 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
6960 STEP4_TABLE, process_arg): Move macro definitions
6961 out of the vfprintf function. (Cosmetic change only.)
6962
6963 2015-05-21 Carlos O'Donell <carlos@redhat.com>
6964
6965 * benchtests/Makefile (stdio-common-bench): Define.
6966 (benchset): Add stdio-common-bench.
6967 * sprintf-inputs: New file.
6968 * sprintf-source.c: New file.
6969
6970 2015-05-21 Andreas Schwab <schwab@suse.de>
6971
6972 [BZ #13028]
6973 [BZ #17053]
6974 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
6975 of struct __res_state.
6976 * resolv/res_send.c (__libc_res_nsend): Likewise.
6977 (get_nsaddr): New function.
6978 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
6979 statp directly.
6980
6981 2015-05-20 Joseph Myers <joseph@codesourcery.com>
6982
6983 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
6984 -D_POSIX_C_SOURCE=199506L.
6985
6986 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
6987
6988 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
6989 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
6990 Do not mention otherwise.
6991 [POSIX] (_XOPEN_VERSION): Do not expect.
6992 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
6993 [POSIX] (_POSIX2_C_BIND): Likewise.
6994 [POSIX] (_POSIX2_VERSION): Likewise.
6995 [POSIX] (_XOPEN_XPG2): Likewise.
6996 [POSIX] (_XOPEN_XPG3): Likewise.
6997 [POSIX] (_XOPEN_XPG4): Likewise.
6998 [POSIX] (_XOPEN_UNIX): Likewise.
6999 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
7000 [POSIX] (_POSIX_BARRIERS): Likewise.
7001 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
7002 [POSIX] (_POSIX_CPUTIME): Likewise.
7003 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
7004 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
7005 [POSIX] (_POSIX_SHELL): Likewise.
7006 [POSIX] (_POSIX_SPAWN): Likewise.
7007 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
7008 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
7009 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
7010 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
7011 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
7012 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
7013 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
7014 [POSIX] (_XBS5_LP64_OFF64): Likewise.
7015 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
7016 [POSIX] (_POSIX_TIMEOUTS): Likewise.
7017 [POSIX] (_POSIX2_PBS): Likewise.
7018 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
7019 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
7020 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
7021 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
7022 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
7023 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
7024 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
7025 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
7026 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
7027 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
7028 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
7029 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
7030 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
7031 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
7032 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
7033 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
7034 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
7035 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
7036 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
7037 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
7038 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
7039 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
7040 [POSIX] (_SC_2_C_BIND): Likewise.
7041 [POSIX] (_SC_2_C_VERSION): Likewise.
7042 [POSIX] (_SC_2_PBS): Likewise.
7043 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
7044 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
7045 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
7046 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
7047 [POSIX] (_SC_2_PBS_TRACK): Likewise.
7048 [POSIX] (_SC_ATEXIT_MAX): Likewise.
7049 [POSIX] (_SC_BARRIERS): Likewise.
7050 [POSIX] (_SC_BASE): Likewise.
7051 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
7052 [POSIX] (_SC_DEVICE_IO): Likewise.
7053 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
7054 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
7055 [POSIX] (_SC_FD_MGMT): Likewise.
7056 [POSIX] (_SC_FIFO): Likewise.
7057 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
7058 [POSIX] (_SC_FILE_LOCKING): Likewise.
7059 [POSIX] (_SC_FILE_SYSTEM): Likewise.
7060 [POSIX] (_SC_IOV_MAX): Likewise.
7061 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
7062 [POSIX] (_SC_NETWORKING): Likewise.
7063 [POSIX] (_SC_PAGE_SIZE): Likewise.
7064 [POSIX] (_SC_PASS_MAX): Likewise.
7065 [POSIX] (_SC_PIPE): Likewise.
7066 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
7067 [POSIX] (_SC_REGEXP): Likewise.
7068 [POSIX] (_SC_SHELL): Likewise.
7069 [POSIX] (_SC_SIGNALS): Likewise.
7070 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
7071 [POSIX] (_SC_SPIN_LOCKS): Likewise.
7072 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
7073 [POSIX] (_SC_USER_GROUPS): Likewise.
7074 [POSIX] (_SC_USER_GROUPS_R): Likewise.
7075 [POSIX] (_SC_STREAMS): Likewise.
7076 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
7077 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
7078 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
7079 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
7080 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
7081 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
7082 [POSIX] (_PC_FILESIZEBITS): Likewise.
7083 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
7084 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
7085 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
7086 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
7087 [POSIX] (uid_t): Likewise.
7088 [POSIX] (gid_t): Likewise.
7089 [POSIX] (off_t): Likewise.
7090 [POSIX] (pid_t): Likewise.
7091 [POSIX] (cuserid): Allow.
7092 (_SC_2_CHAR_TERM): Require constant.
7093 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
7094 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
7095 variable.
7096
7097 2015-05-20 Roland McGrath <roland@hack.frob.com>
7098
7099 * sysdeps/nacl/pthread-pids.h: New file.
7100 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
7101 (create_thread): Use __nacl_get_tid to initialize PD->tid.
7102
7103 * nptl/pthread-pids.h: New file.
7104 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
7105 * nptl/nptl-init.c: Include <pthread-pids.h>.
7106 (__pthread_initialize_minimal_internal):
7107 Call __pthread_initialize_pids instead of set_tid_address syscall.
7108
7109 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
7110 * sysdeps/posix/usleep.c: ... here.
7111
7112 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7113
7114 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
7115 call_pselect6 object.
7116 [$(subdir) = io]: Remove call_sync_file_range object.
7117 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
7118 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
7119 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
7120 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
7121
7122 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
7123
7124 * math/s_cproj.c: Add include "math_private.h".
7125 * math/s_cprojf.c: Likewise.
7126 * math/s_cprojl.c: Likewise.
7127
7128 2015-05-19 Joseph Myers <joseph@codesourcery.com>
7129
7130 [BZ #18244]
7131 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
7132 high mantissa bit when testing whether P is a NaN.
7133 * math/libm-test.inc (remainder_test_data): Add more tests.
7134 (remquo_test_data): Likewise.
7135
7136 [BZ #18049]
7137 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
7138 below -32, return the argument, with underflow if subnormal.
7139 * math/auto-libm-test-in: Add more tests of atanh.
7140 * math/auto-libm-test-out: Regenerated.
7141
7142 2015-05-19 Roland McGrath <roland@hack.frob.com>
7143
7144 [BZ #18434]
7145 * nptl/tst-sem15.c: New file.
7146 * nptl/Makefile (tests): Add it.
7147 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
7148 s/<</>>/ to fix typo in EOVERFLOW check.
7149 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
7150
7151 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7152
7153 * manual/strings.texi (envz_remove): Fix typo in safety
7154 annotations.
7155
7156 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
7157 Steve Ellcey <sellcey@imgtec.com>
7158
7159 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
7160 in order to avoid strict alias warnings.
7161 (iruserok_af): Ditto for ra.
7162
7163 2015-05-19 James Lemke <jwlemke@codesourcery.com>
7164
7165 [BZ #17581]
7166 * malloc/hooks.c
7167 (magicbyte): Convert to a function and avoid returning 0x01.
7168 (mem2mem_check): Avoid using a length byte equal to the magic byte.
7169 (mem2chunk_check): Fix unsigned comparisons to zero.
7170 Hoist defs of sz and magic.
7171
7172 2015-05-19 Richard Henderson <rth@redhat.com>
7173
7174 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
7175
7176 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7177
7178 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7179
7180 [BZ #16159]
7181 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
7182 * malloc/arena.c (arena_lock): Check if arena is corrupt.
7183 (reused_arena): Find a non-corrupt arena.
7184 (heap_trim): Pass arena to unlink.
7185 * malloc/hooks.c (malloc_check_get_size): Pass arena to
7186 malloc_printerr.
7187 (top_check): Likewise.
7188 (free_check): Likewise.
7189 (realloc_check): Likewise.
7190 * malloc/malloc.c (malloc_printerr): Add arena argument.
7191 (unlink): Likewise.
7192 (munmap_chunk): Adjust.
7193 (ARENA_CORRUPTION_BIT): New macro.
7194 (arena_is_corrupt): Likewise.
7195 (set_arena_corrupt): Likewise.
7196 (sysmalloc): Use mmap if there are no usable arenas.
7197 (_int_malloc): Likewise.
7198 (__libc_malloc): Don't fail if arena_get returns NULL.
7199 (_mid_memalign): Likewise.
7200 (__libc_calloc): Likewise.
7201 (__libc_realloc): Adjust for additional argument to
7202 malloc_printerr.
7203 (_int_free): Likewise.
7204 (malloc_consolidate): Likewise.
7205 (_int_realloc): Likewise.
7206 (_int_memalign): Don't touch corrupt arenas.
7207 * malloc/tst-malloc-backtrace.c: New test case.
7208
7209 * Makefile (summarize-tests): Fix return value on success.
7210
7211 * manual/string.texi (Envz Functions): Add envz_remove.
7212
7213 2015-05-18 Roland McGrath <roland@hack.frob.com>
7214
7215 * sysdeps/posix/opendir.c: Include <stdbool.h>.
7216 (invalid_name): New function, broken out of ...
7217 (__opendirat): ... here. Call it.
7218 (need_isdir_precheck): New function, broken out of ...
7219 (__opendirat): ... here. Call it.
7220 Use __fxstatat64, not __xstatat64.
7221 (opendir_oflags): New function, broken out of ...
7222 (__opendirat): ... here. Call it.
7223 (opendir_tail): New function, broken out of ...
7224 (__opendirat): ... here. Call it.
7225 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
7226 opendir_tail, rather than punting to __opendirat.
7227 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
7228
7229 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7230
7231 * .gitignore: Ignore generated *.pyc.
7232
7233 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
7234
7235 * include/stdio.h: Define __need_wint_t.
7236 * test-skeleton.c: Avoid `for' loop initial declaration.
7237 * nptl/tst-initializers1.c: Use test-skeleton.c.
7238
7239 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7240
7241 [BZ #18418]
7242 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
7243
7244 2015-05-15 Joseph Myers <joseph@codesourcery.com>
7245
7246 [BZ #16352]
7247 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
7248 (__ieee754_atanh): Force underflow exception for results with
7249 small absolute value.
7250 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
7251 (__ieee754_atanhf): Force underflow exception for results with
7252 small absolute value.
7253 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
7254 (__ieee754_atanh): Force underflow exception for results with
7255 small absolute value.
7256 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
7257 (__ieee754_atanhf): Force underflow exception for results with
7258 small absolute value.
7259 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
7260 (__ieee754_atanhl): Force underflow exception for results with
7261 small absolute value.
7262 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
7263 (__ieee754_atanhl): Force underflow exception for results with
7264 small absolute value.
7265 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
7266 (__ieee754_atanhl): Force underflow exception for results with
7267 small absolute value.
7268 * math/auto-libm-test-in: Do not allow missing underflow
7269 exceptions from atanh.
7270 * math/auto-libm-test-out: Regenerated.
7271
7272 [BZ #18221]
7273 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
7274 2**-28 as threshold for returning x or +/- 1/x.
7275 * math/auto-libm-test-in: Add more tests of tan.
7276 * math/auto-libm-test-out: Regenerated.
7277
7278 [BZ #18220]
7279 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7280 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
7281 * math/auto-libm-test-in: Add another test of lgamma.
7282 * math/auto-libm-test-out: Regenerated.
7283
7284 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
7285
7286 * stdio-common/printf_fp.c (___printf_fp): Use abs.
7287 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
7288 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
7289 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
7290 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
7291 (ADD2A): Use fabs. (SUB2A): Use fabs.
7292 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
7293 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
7294 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
7295 (log1): Use fabs. (my_log2): Use fabs.
7296 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
7297 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
7298 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
7299 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
7300 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
7301 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
7302 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
7303 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
7304 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
7305 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
7306 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
7307
7308 2015-05-15 Joseph Myers <joseph@codesourcery.com>
7309
7310 [BZ #18217]
7311 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
7312 as threshold for returning 1 - x.
7313 * math/auto-libm-test-in: Add more tests of erfc.
7314 * math/auto-libm-test-out: Regenerated.
7315
7316 2015-05-14 Joseph Myers <joseph@codesourcery.com>
7317
7318 [BZ #18196]
7319 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
7320 threshold for large arguments.
7321 * math/auto-libm-test-in: Add another test of atan.
7322 * math/auto-libm-test-out: Regenerated.
7323
7324 [BZ #16339]
7325 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
7326 (__log1p): Force underflow exception for results with small
7327 absolute value.
7328 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
7329 (__log1pf): Force underflow exception for results with small
7330 absolute value.
7331 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
7332 (__log1p): Force underflow exception for results with small
7333 absolute value.
7334 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
7335 (__log1pf): Force underflow exception for results with small
7336 absolute value.
7337 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
7338 (__log1pl): Force underflow exception for results with small
7339 absolute value.
7340 * math/auto-libm-test-in: Do not allow missing underflow
7341 exceptions from log1p.
7342 * math/auto-libm-test-out: Regenerated.
7343
7344 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
7345 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7346
7347 [BZ #16704]
7348 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
7349
7350 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
7351
7352 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
7353 (libmvec): New variable.
7354 * configure.ac: Added option for mathvec build.
7355 * configure: Regenerated.
7356 * mathvec/Depend: New file.
7357 * mathvec/Makefile: New file.
7358 * shlib-versions: Added libmvec.
7359 * math/Makefile: Added rule for libm.so installation.
7360
7361 * bits/math-vector.h: New file.
7362 * bits/libm-simd-decl-stubs.h: New header.
7363 * math/Makefile (headers): Added new header
7364 libm-simd-decl-stubs.h.
7365 * math/math.h (__MATHCALL_VEC): New macro.
7366
7367 * math/gen-libm-have-vector-test.sh: Script generates series of macros
7368 for conditions in testing functions.
7369 * math/Makefile: Added call of libm-have-vector-test.sh.
7370 * math/libm-test.inc (HAVE_VECTOR): New macros.
7371
7372 * math/libm-test.inc: START refactored.
7373 * math/test-double.c (TEST_MATHVEC): Add define.
7374 * math/test-float.c: Likewise.
7375 * math/test-idouble.c: Likewise.
7376 * math/test-ifloat.c: Likewise.
7377 * math/test-ildoubl.c: Likewise.
7378 * math/test-ldouble.c: Likewise.
7379 * sysdeps/generic/math-tests-arch.h
7380 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
7381 architecture check.
7382
7383 * math/test-double.c (FUNC_TEST): New macro.
7384 * math/test-float.c: Likewise.
7385 * math/test-idouble.c: Likewise.
7386 * math/test-ifloat.c: Likewise.
7387 * math/test-ildoubl.c: Likewise.
7388 * math/test-ldouble.c: Likewise.
7389 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
7390
7391 2015-05-13 Roland McGrath <roland@hack.frob.com>
7392
7393 * sysdeps/nacl/fdopendir.c: New file.
7394
7395 * dirent/scandir-tail.c: New file.
7396 * dirent/scandir64-tail.c: New file.
7397 * dirent/Makefile (routines): Add them.
7398 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
7399 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
7400 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
7401 [!SCANDIR] (SCANDIR_TAIL): New macro.
7402 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
7403 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
7404 (SCANDIRAT): Macro removed.
7405 (SCANDIR_TAIL): New macro.
7406 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
7407 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
7408 (SCANDIRAT): Just call __opendirat and __scandir_tail.
7409 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
7410 (READDIR): Macro removed.
7411 (SCANDIR_TAIL): New macro.
7412 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
7413 (SCANDIR_TAIL): New macro.
7414
7415 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
7416 * dirent/scandir-cancel.c: ... to this new file.
7417 * dirent/Makefile (routines): Add it.
7418 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
7419 * sysdeps/unix/sysv/linux/i386/scandir64.c
7420 (SKIP_SCANDIR_CANCEL): Macro removed.
7421 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
7422
7423 * dirent/tst-scandir.c: New file.
7424 * dirent/tst-scandir64.c: New file.
7425 * dirent/Makefile (tests): Add them.
7426
7427 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
7428
7429 [BZ #18409]
7430 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
7431
7432 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
7433
7434 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
7435 list.
7436
7437 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
7438
7439 * benchtests/bench-strcoll.c: New benchmark.
7440 * benchtests/Makefile: Generate locales and run benchmark.
7441 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
7442 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
7443 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
7444 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
7445 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
7446 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
7447 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
7448 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
7449 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
7450 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
7451 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
7452 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
7453 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
7454 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
7455 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
7456 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
7457 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
7458 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
7459 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
7460 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
7461 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
7462 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
7463 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
7464 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
7465
7466 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
7467
7468 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
7469 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7470
7471 2015-05-12 Roland McGrath <roland@hack.frob.com>
7472
7473 * posix/uname-values.h: New file.
7474 * posix/uname.c: Include that instead of <config-name.h>.
7475 * sysdeps/nacl/uname-values.h: New file.
7476 * sysdeps/arm/nacl/uname-values.h: New file.
7477
7478 2015-05-12 Joseph Myers <joseph@codesourcery.com>
7479
7480 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
7481 splitting into fields.
7482
7483 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
7484
7485 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
7486 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
7487 * locale/localeinfo.h: Add enum collation_encoding_type.
7488 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
7489 * programs/ld-collate.c (collate_output): Add encoding type info.
7490 * string/strcoll_l.c (STRDIFF): New function.
7491 * (STRCOLL): Use STRDIFF to skip over equal prefix.
7492 * wcsmbs/wcscoll_l.c: Define STRDIFF.
7493
7494 2015-05-11 Joseph Myers <joseph@codesourcery.com>
7495
7496 [BZ #18397]
7497 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
7498 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
7499 <fpu_control.h> instead of <math/fpu_control.c>.
7500 * sysdeps/mips/mips32/fpu/Makefile: New file.
7501
7502 2015-05-11 Andreas Schwab <schwab@suse.de>
7503
7504 [BZ #18007]
7505 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
7506 nss_endgrent.
7507 (_nss_compat_endgrent): Call nss_endgrent.
7508 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
7509 nss_endpwent.
7510 (_nss_compat_endpwent): Call nss_endpwent.
7511 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
7512 needent, call nss_setspent only if non-zero.
7513 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
7514 (internal_endspent): Don't call nss_endspent.
7515 (_nss_compat_endspent): Call nss_endspent.
7516 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
7517 Remove. All uses removed.
7518 (internal_setent): Remove parameter stayopen, add parameter
7519 stream. Use it instead of global variable.
7520 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
7521 (internal_endent, internal_getent): Add parameter stream. Use it
7522 instead of global variable.
7523 (CONCAT(_nss_files_end,ENTNAME))
7524 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
7525 (_nss_files_get##name##_r): Pass local stream. Remove locking.
7526 * nss/nss_files/files-alias.c (position, last_use): Remove. All
7527 uses removed.
7528 (internal_setent, internal_endent): Add parameter stream. Use it
7529 instead of global variable.
7530 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
7531 stream.
7532 (get_next_alias): Add parameter stream.
7533 (_nss_files_getaliasent_r): Pass global stream.
7534 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
7535 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
7536 (_nss_files_gethostbyname4_r): Pass local stream to
7537 internal_setent, internal_getent and internal_endent. Remove
7538 locking.
7539
7540 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7541
7542 * tst-strfmon1.c (tests): Update expected currency symbol.
7543
7544 2015-05-08 Roland McGrath <roland@hack.frob.com>
7545
7546 * sysdeps/nacl/gethostname.c: New file.
7547
7548 2015-05-08 Joseph Myers <joseph@codesourcery.com>
7549
7550 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
7551 and sinh.
7552 * math/auto-libm-test-out: Regenerated.
7553 * sysdeps/i386/fpu/libm-test-ulps: Update.
7554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7555
7556 2015-05-08 Carlos O'Donell <carlos@redhat.com>
7557
7558 [BZ #18125]
7559 * stdlib/tst-setcontext3.c: New file.
7560 * stdlib/tst-setcontext3.sh: New file.
7561 * stdlib/Makefile (tests): Add tst-setcontext3.
7562 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
7563 to verify test program created output file.
7564 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
7565 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
7566 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
7567 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
7568
7569 2015-05-06 Roland McGrath <roland@hack.frob.com>
7570
7571 [BZ #18383]
7572 * elf/tst-tlsalign.c: New file.
7573 * elf/tst-tlsalign-static.c: New file.
7574 * elf/tst-tlsalign-lib.c: New file.
7575 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
7576 (tests-static): Add tst-tlsalign-static.
7577 (modules-names): Add tst-tlsalign-lib.
7578 (test-xfail-tst-tlsalign): New variable.
7579 (test-xfail-tst-tlsalign-static): New variable.
7580
7581 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
7582 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
7583
7584 2015-05-06 Joseph Myers <joseph@codesourcery.com>
7585
7586 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
7587 csqrt, erfc, sin and sincos.
7588 * math/auto-libm-test-out: Regenerated.
7589 * sysdeps/i386/fpu/libm-test-ulps: Update.
7590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7591
7592 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
7593
7594 * sysdeps/aarch64/libm-test-ulps: Update.
7595
7596 2015-05-05 Joseph Myers <joseph@codesourcery.com>
7597
7598 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
7599 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
7600 * math/auto-libm-test-out: Regenerated.
7601 * sysdeps/i386/fpu/libm-test-ulps: Update.
7602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7603
7604 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
7605
7606 [BZ #18265]
7607 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
7608 (wcsncpy): Likewise.
7609
7610 2015-05-05 Florian Weimer <fweimer@redhat.com>
7611
7612 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7613 Assume __ASSUME_FALLOCATE is always true.
7614 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7615 (__posix_fallocate64_l64): Likweise.
7616 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
7617 (posix_fallocate): Likewise.
7618 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
7619 (__posix_fallocate64_l64): Likewise.
7620 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7621 [!__ASSUME_FALLOCATE]: Add comment.
7622
7623 2015-05-05 Florian Weimer <fweimer@redhat.com>
7624
7625 * sysdeps/unix/sysv/linux/i386/Makefile
7626 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
7627 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
7628 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
7629 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7630 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7631 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
7632 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
7633
7634 2015-05-02 Joseph Myers <joseph@codesourcery.com>
7635
7636 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
7637 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
7638 tgamma.
7639 * math/auto-libm-test-out: Regenerated.
7640 * sysdeps/i386/fpu/libm-test-ulps: Update.
7641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7642
7643 2015-05-01 Joseph Myers <joseph@codesourcery.com>
7644
7645 * math/auto-libm-test-in: Add more tests of tgamma.
7646 * math/auto-libm-test-out: Regenerated.
7647 * sysdeps/i386/fpu/libm-test-ulps: Update.
7648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7649
7650 * math/auto-libm-test-in: Add more tests of tanh.
7651 * math/auto-libm-test-out: Regenerated.
7652 * sysdeps/i386/fpu/libm-test-ulps: Update.
7653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7654
7655 * math/auto-libm-test-in: Add more tests of tan.
7656 * math/auto-libm-test-out: Regenerated.
7657 * sysdeps/i386/fpu/libm-test-ulps: Update.
7658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7659
7660 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
7661 * math/auto-libm-test-out: Regenerated.
7662 * sysdeps/i386/fpu/libm-test-ulps: Update.
7663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7664
7665 * math/auto-libm-test-in: Add another test of pow.
7666 * math/auto-libm-test-out: Regenerated.
7667 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7668
7669 * math/auto-libm-test-in: Add more tests of lgamma.
7670 * math/auto-libm-test-out: Regenerated.
7671 * sysdeps/i386/fpu/libm-test-ulps: Update.
7672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7673
7674 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
7675 log1p.
7676 * math/auto-libm-test-out: Regenerated.
7677 * sysdeps/i386/fpu/libm-test-ulps: Update.
7678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7679
7680 2015-05-01 Mark Wielaard <mjw@redhat.com>
7681
7682 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
7683 Elf64_Chdr structs and ELFCOMPRESS constants.
7684
7685 2015-05-01 Joseph Myers <joseph@codesourcery.com>
7686
7687 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
7688 expm1.
7689 * math/auto-libm-test-out: Regenerated.
7690 * sysdeps/i386/fpu/libm-test-ulps: Update.
7691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7692
7693 * math/auto-libm-test-in: Add more tests of erf and erfc.
7694 * math/auto-libm-test-out: Regenerated.
7695 * sysdeps/i386/fpu/libm-test-ulps: Update.
7696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7697
7698 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
7699
7700 * config.h.in (HAVE_AARCH64_BE): Add.
7701
7702 2015-04-30 Joseph Myers <joseph@codesourcery.com>
7703
7704 * math/auto-libm-test-in: Add more tests of csqrt.
7705 * math/auto-libm-test-out: Regenerated.
7706 * sysdeps/i386/fpu/libm-test-ulps: Update.
7707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7708
7709 * math/auto-libm-test-in: Add more tests of cosh and sinh.
7710 * math/auto-libm-test-out: Regenerated.
7711 * sysdeps/i386/fpu/libm-test-ulps: Update.
7712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7713
7714 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
7715
7716 2015-04-29 Roland McGrath <roland@hack.frob.com>
7717
7718 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
7719 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
7720
7721 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
7722 (euidaccess, eaccess): Define as weak aliases.
7723
7724 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
7725 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
7726 but __suseconds_t is often 'long int' so some sources assume that
7727 type is being used (e.g. they use %ld to print tv_usec).
7728
7729 2015-04-29 Florian Weimer <fweimer@redhat.com>
7730
7731 [BZ #18007]
7732 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
7733 (CVE-2014-8121)
7734 * nss/tst-nss-getpwent.c: New file.
7735 * nss/Makefile (tests): Add new test.
7736
7737 2015-04-28 Joseph Myers <joseph@codesourcery.com>
7738
7739 [BZ #18346]
7740 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
7741 exponents less than 48 as cases where high part of mantissa needs
7742 examining to determine whether argument is integral.
7743 * math/libm-test.inc (round_test_data): Add more tests.
7744
7745 2015-04-28 Mark Wielaard <mjw@redhat.com>
7746
7747 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
7748
7749 2015-04-27 David S. Miller <davem@davemloft.net>
7750
7751 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
7752 __tls_get_addr.
7753 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
7754
7755 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
7756
7757 [BZ#18333]
7758 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
7759
7760 2015-04-27 Florian Weimer <fweimer@redhat.com>
7761
7762 [BZ#18333]
7763 * time/tzset.c (parse_tzname): Return error on memory allocation
7764 failure.
7765 * test-skeleton.c (struct temp_name_list): Change type of name
7766 member to non-const.
7767 (add_temp_file): Create a copy of the file name.
7768 (delete_temp_files): Deallocate memory.
7769 (create_temp_file): Add comment.
7770
7771 2015-04-24 Florian Weimer <fweimer@redhat.com>
7772
7773 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
7774 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
7775
7776 2015-04-24 Roland McGrath <roland@hack.frob.com>
7777
7778 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
7779 * sysdeps/arm/configure: Regenerated.
7780
7781 2015-04-24 Florian Weimer <fweimer@redhat.com>
7782
7783 [BZ #17715]
7784 * time/tzfile.c (__tzfile_read): Check for large values of
7785 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
7786 * time/tzset.c (__tzstring_len): New function, based on the old
7787 __tzstring function.
7788 (__tzstring): Call __tzstring_len.
7789 (parse_tzname): New helper function extracted from
7790 __tzset_parse_tz. Call __tzstring_len, without making a copy of
7791 the input string.
7792 (parse_offset): New helper function extracted from
7793 __tzset_parse_tz. Replace switch with fallthrough with
7794 initialization before sscanf.
7795 (parse_rule): Likewise.
7796 (__tzset_parse_tz): Rewrite using the new helper functions. Use
7797 new-style function definition.
7798 * timezone/Makefile (tests): Add tst-tzset.
7799 (tst-tzset.out): Dependencies on time zone files.
7800 (tst-tzset-ENV): Set TZDIR.
7801 (testdata/XT%): Copy crafted time zone files.
7802 * timezone/README: Mention crafted time zone files.
7803 * timezone/testdata/XT1, timezone/testdata/XT2,
7804 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
7805 files.
7806 * timezone/tst-tzset.c: New test.
7807
7808 2015-04-24 Florian Weimer <fweimer@redhat.com>
7809
7810 * Makeconfig (+gccwarn): Remove -Winline.
7811
7812 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7813
7814 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
7815
7816 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7817
7818 * NEWS: Mention sysconf() cache information support for s390.
7819 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
7820
7821 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
7822
7823 * math/k_casinh.c (__kernel_casinh): Use __copysign.
7824 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
7825 (__nearbyint): Likewise.
7826 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
7827 (copysignl): Likewise.
7828
7829 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
7830
7831 [BZ #18287]
7832 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
7833 based on padding. (CVE-2015-1781)
7834
7835 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7836
7837 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
7838 libc-vdso.h.
7839 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
7840 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
7841 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
7842 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7843 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7844 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
7845 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
7846 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7847 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7848 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
7849 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7850 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7851 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
7852 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
7853 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7854 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
7855 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
7856 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
7857 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
7858 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
7859 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
7860 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
7861 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
7862
7863 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
7864
7865 * stdlib/setenv.c (__add_to_environ):
7866 Dump core quickly if setenv (..., NULL, ...) is called.
7867 This time, do it the right way, and pacify GCC with a pragma.
7868
7869 2015-04-17 Roland McGrath <roland@hack.frob.com>
7870
7871 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
7872 IMAP->l_prev cannot be null, and #if out the code for the contrary
7873 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
7874 believe that NS (&_dl_ns[NSID]) could point outside the array.
7875
7876 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
7877 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
7878 before using NSID as an index.
7879
7880 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
7881
7882 [BZ #17825]
7883 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
7884 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
7885 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7886
7887 2015-04-17 Roland McGrath <roland@hack.frob.com>
7888
7889 Add preliminary port to Google Native Client on ARM.
7890 * abi-tags (.*-.*-nacl.*): New entry.
7891 * sysdeps/arm/nacl: New directory.
7892 * sysdeps/nacl: New directory.
7893
7894 2015-04-16 David S. Miller <davem@davemloft.net>
7895
7896 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
7897 lowlevellock-futex.h
7898
7899 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
7900
7901 * sysdeps/tile/configure.ac: New file.
7902 * sysdeps/tile/configure: Regenerated.
7903
7904 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7905
7906 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
7907 conditionals for weak_alias and libc_hidden_weak.
7908 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
7909 libc_hidden_weak and weak_alias.
7910 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
7911 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
7912 and weak_alias for static one.
7913
7914 2015-04-15 David S. Miller <davem@davemloft.net>
7915
7916 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7917
7918 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7919
7920 [BZ #18206]
7921 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
7922 Use signed comparision instead of substraction to avoid
7923 overflow bug.
7924 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
7925 Take the sign of ret.
7926 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
7927 Do not expect precise return values. Only the sign matters.
7928 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
7929 * wcsmbs/test-wcsncmp.c: New File.
7930 * string/test-strncmp.c: Add wcsncmp support.
7931
7932 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7933
7934 [BZ #6792]
7935 * math/w_log1p.c: New file.
7936 * math/w_log1pf.c: Likewise.
7937 * math/w_log1pl.c: Likewise.
7938 * math/Makefile (libm-calls): Add w_log1p.
7939 * math/s_log1pl.c (log1pl): Remove weak_alias.
7940 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
7941 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
7942 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
7943 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
7944 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
7945 [NO_LONG_DOUBLE] (log1pl): Likewise.
7946 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
7947 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
7948 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
7949 (log1p): Remove long_double_symbol.
7950 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
7951 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
7952 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
7953 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
7954 remove weak_alias for corresponding log1p function.
7955 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
7956 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
7957 * sysdeps/ia64/fpu/w_log1p.c: New file.
7958 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
7959 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
7960 * math/libm-test.inc (log1p_test_data): Add errno expectations.
7961
7962 2015-04-10 Joseph Myers <joseph@codesourcery.com>
7963
7964 [BZ #18247]
7965 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
7966 decimal exponent by 1.
7967 * stdlib/tst-strtod-round-data: Add more tests.
7968 * stdlib/tst-strtod-round.c (tests): Regenerated.
7969
7970 2015-04-09 Joseph Myers <joseph@codesourcery.com>
7971
7972 * math/auto-libm-test-in: Add more tests of clog and clog10.
7973 * math/auto-libm-test-out: Regenerated.
7974 * sysdeps/i386/fpu/libm-test-ulps: Update.
7975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7976
7977 2015-04-09 Roland McGrath <roland@hack.frob.com>
7978
7979 * Makeconfig (module-cppflags): Exclude all .v.i files.
7980 (skip-module-cppflags): Variable removed.
7981
7982 * configure.ac (libc_config_ok): Initialize before reading
7983 preconfigure scripts, not after.
7984 * configure: Regenerated.
7985
7986 * test-skeleton.c (TIMEOUT): Move #define to top level.
7987 (main): Grok environment variable TEST_DIRECT. If set, print
7988 test expectation details into that file and then behave as if
7989 given --direct.
7990
7991 2015-04-09 Florian Weimer <fweimer@redhat.com>
7992
7993 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
7994 warning on 32-bit.
7995
7996 2015-04-08 David S. Miller <davem@davemloft.net>
7997
7998 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7999
8000 2015-04-08 Joseph Myers <joseph@codesourcery.com>
8001
8002 * math/auto-libm-test-in: Add more tests of atanh.
8003 * math/auto-libm-test-out: Regenerated.
8004 * sysdeps/i386/fpu/libm-test-ulps: Update.
8005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8006
8007 * math/auto-libm-test-in: Add more tests of atan.
8008 * math/auto-libm-test-out: Regenerated.
8009 * sysdeps/i386/fpu/libm-test-ulps: Update.
8010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8011
8012 2015-04-08 Florian Weimer <fweimer@redhat.com>
8013
8014 * elf/pldd.c (main): Rewrite to use struct
8015 scratch_buffer instead of extend_alloca.
8016 * elf/pldd-xx.c (find_maps): Likewise.
8017 * grp/initgroups.c: Include <scratch_buffer.h> instead of
8018 <alloca.h>.
8019 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
8020 scratch_buffer instead of extend_alloca.
8021 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
8022 grp/compat-initgroups.c.
8023 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
8024 Rewrite to use struct scratch_buffer instead of extend_alloca.
8025 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
8026 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8027
8028 2015-04-08 Joseph Myers <joseph@codesourcery.com>
8029
8030 * math/auto-libm-test-in: Add more tests of cbrt.
8031 * math/auto-libm-test-out: Regenerated.
8032 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8033
8034 * math/auto-libm-test-in: Add more tests of cabs.
8035 * math/auto-libm-test-out: Regenerated.
8036 * sysdeps/i386/fpu/libm-test-ulps: Update.
8037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8038
8039 [BZ #18210]
8040 [BZ #18211]
8041 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
8042 (__ieee754_atan2): Set FE_TONEAREST mode for internal
8043 computations.
8044 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
8045 clog10.
8046 * math/auto-libm-test-out: Regenerated.
8047 * sysdeps/i386/fpu/libm-test-ulps: Update.
8048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8049
8050 [BZ #18197]
8051 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
8052 (atan): Set FE_TONEAREST mode for internal computations.
8053 * math/auto-libm-test-in: Add more tests of atan.
8054 * math/auto-libm-test-out: Regenerated.
8055
8056 2015-04-07 James Cowgill <james410@cowgill.org.uk>
8057
8058 [BZ #17930]
8059 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
8060
8061 2015-04-07 Florian Weimer <fweimer@redhat.com>
8062
8063 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
8064
8065 2015-04-07 Florian Weimer <fweimer@redhat.com>
8066
8067 * include/scratch_buffer.h: New file.
8068 * malloc/scratch_buffer_grow.c: Likewise.
8069 * malloc/scratch_buffer_grow_preserve.c: Likewise.
8070 * malloc/scratch_buffer_set_array_size.c: Likewise.
8071 * malloc/tst-scratch_buffer.c: Likewise.
8072 * malloc/Makefile (routines): Add scratch_buffer_grow.
8073 (tests): Add test case.
8074 * malloc/Versions (GLIBC_PRIVATE): Export
8075 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
8076 __libc_scratch_buffer_set_array_size.
8077
8078 2015-04-06 Richard Henderson <rth@redhat.com>
8079
8080 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
8081 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8082
8083 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
8084 unsigned int before printing.
8085
8086 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8087
8088 [BZ #17596]
8089 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
8090 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8091
8092 2015-04-02 Florian Weimer <fweimer@redhat.com>
8093
8094 * include/libc-internal.h (libc_max_align_t): Define.
8095
8096 2015-04-02 Andreas Schwab <schwab@suse.de>
8097
8098 [BZ #16850]
8099 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
8100
8101 2015-04-02 Mel Gorman <mgorman@suse.de>
8102
8103 [BZ #17195]
8104 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
8105 as well as the main arena.
8106
8107 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
8108
8109 [BZ #18185]
8110 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
8111 sharing L2 cache to 2 for Silvermont/Knights Landing.
8112
8113 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
8114
8115 [BZ #17711]
8116 * config.make.in (have-protected-data): New.
8117 * configure.ac: Check linker support for protected data symbol.
8118 * configure: Regenerated.
8119 * elf/Makefile (modules-names): Add tst-protected1moda and
8120 tst-protected1modb if $(have-protected-data) is yes.
8121 (tests): Add tst-protected1a and tst-protected1b if
8122 $(have-protected-data) is yes.
8123 ($(objpfx)tst-protected1a): New.
8124 ($(objpfx)tst-protected1b): Likewise.
8125 (tst-protected1modb.so-no-z-defs): Likewise.
8126 * elf/tst-protected1a.c: New file.
8127 * elf/tst-protected1b.c: Likewise.
8128 * elf/tst-protected1mod.h: Likewise.
8129 * elf/tst-protected1moda.c: Likewise.
8130 * elf/tst-protected1modb.c: Likewise.
8131
8132 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
8133
8134 [BZ #17711]
8135 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
8136 indicates it is called from do_lookup_x on relocation against
8137 protected data, skip the data definion in the executable from
8138 copy reloc.
8139 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
8140 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
8141 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
8142 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
8143 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
8144 otherwise to 0.
8145 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
8146 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
8147 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
8148 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
8149 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
8150 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
8151
8152 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
8153
8154 * sysdeps/nptl/pthread.h: Remove duplicate definition of
8155 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
8156
8157 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
8158
8159 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
8160 THREAD_SETMEM_NC.
8161 * sysdeps/x86_64/nptl/tls.h: Ditto.
8162
8163 2015-03-27 Roland McGrath <roland@hack.frob.com>
8164
8165 * dlfcn/tststatic.c (main): Converted to ...
8166 (do_test): ... this.
8167 (TEST_FUNCTION): New macro.
8168 Include test-skeleton.c.
8169
8170 2015-03-26 Alan Modra <amodra@gmail.com>
8171
8172 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
8173 Don't segfault if ifunc resolver returns a NULL. Do set plt to
8174 zero for undefined weak.
8175 (elf_machine_plt_conflict): Similarly.
8176
8177 2015-03-25 Joseph Myers <joseph@codesourcery.com>
8178
8179 * math/auto-libm-test-in: Add more tests of acosh, asinh and
8180 atanh.
8181 * math/auto-libm-test-out: Regenerated.
8182 * sysdeps/i386/fpu/libm-test-ulps: Update.
8183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8184
8185 * math/auto-libm-test-in: Add another test of asin.
8186 * math/auto-libm-test-out: Regenerated.
8187 * sysdeps/i386/fpu/libm-test-ulps: Update.
8188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8189
8190 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
8191 Remove macro.
8192 (LLL_EBX_REG): Likewise.
8193 (LLL_ENTER_KERNEL): Likewise.
8194
8195 * math/auto-libm-test-in: Add more tests of asin.
8196 * math/auto-libm-test-out: Regenerated.
8197 * sysdeps/i386/fpu/libm-test-ulps: Update.
8198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8199
8200 [BZ #18138]
8201 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
8202 libc_do_syscall_args): New structure.
8203 (INTERNAL_SYSCALL_MAIN_0): New macro.
8204 (INTERNAL_SYSCALL_MAIN_1): Likewise.
8205 (INTERNAL_SYSCALL_MAIN_2): Likewise.
8206 (INTERNAL_SYSCALL_MAIN_3): Likewise.
8207 (INTERNAL_SYSCALL_MAIN_4): Likewise.
8208 (INTERNAL_SYSCALL_MAIN_5): Likewise.
8209 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
8210 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
8211 Replace conditional definitions by conditional definitions of ....
8212 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
8213 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
8214 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
8215 (libpthread-sysdep_routines): Add libc-do-syscall.
8216 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
8217 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
8218 to __NR_futex not 240.
8219
8220 2015-03-25 Alan Modra <amodra@gmail.com>
8221
8222 * NEWS: Advertise TLS optimization.
8223 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
8224 (DT_PPC_NUM): Increment.
8225 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
8226 (CHECK_STATIC_TLS): Use here.
8227 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
8228 TLS descriptors.
8229 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8230 * sysdeps/powerpc/dl-tls.c: New file.
8231 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
8232 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
8233 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
8234 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
8235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
8236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
8237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
8238
8239 2015-03-25 Alan Modra <amodra@gmail.com>
8240
8241 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
8242 for overlapping .opd entries" to "support...".
8243 * sysdeps/powerpc/powerpc64/configure: Regenerate
8244
8245 2015-03-25 Joseph Myers <joseph@codesourcery.com>
8246
8247 * math/auto-libm-test-in: Add more tests of acos.
8248 * math/auto-libm-test-out: Regenerated.
8249 * sysdeps/i386/fpu/libm-test-ulps: Update.
8250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8251
8252 * math/auto-libm-test-in: Add more tests of expm1.
8253 * math/auto-libm-test-out: Regenerated.
8254 * sysdeps/i386/fpu/libm-test-ulps: Update.
8255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8256
8257 2015-03-24 Joseph Myers <joseph@codesourcery.com>
8258
8259 * math/auto-libm-test-in: Add more tests of cosh and sinh.
8260 * math/auto-libm-test-out: Regenerated.
8261 * sysdeps/i386/fpu/libm-test-ulps: Update.
8262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8263
8264 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8266
8267 * math/auto-libm-test-in: Add more tests of log2.
8268 * math/auto-libm-test-out: Regenerated.
8269 * sysdeps/i386/fpu/libm-test-ulps: Update.
8270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8271
8272 2015-03-23 Roland McGrath <roland@hack.frob.com>
8273
8274 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
8275 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
8276 _IO_IS_APPENDING bit in READ_WRITE instead.
8277
8278 2015-03-23 Florian Weimer <fweimer@redhat.com>
8279
8280 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
8281 (__determine_cpumask_size): Replace extend_alloca with a
8282 variable-length array. Do not treat res == 0 as an error.
8283
8284 2015-03-23 Florian Weimer <fweimer@redhat.com>
8285
8286 [BZ #18100]
8287 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
8288 and integer overflow.
8289 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
8290 (main): Add integer overflow tests.
8291 * manual/pattern.texi (Calling Wordexp): Document additional use
8292 for WRDE_SYNTAX.
8293
8294 2015-03-23 Alan Modra <amodra@gmail.com>
8295
8296 * config.h.in: Remove HAVE_ASM_PPC_REL16.
8297 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
8298 and false branch of conditional.
8299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
8300 Likewise.
8301
8302 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
8303
8304 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
8305 libc-modules.h
8306 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
8307 unused declaration of _hurd_intr_rpc_msg_in_trap.
8308 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
8309 defined instead of whether it is non-zero.
8310 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
8311 input constraint instead of both input and output constraint. Use ecx
8312 clobber instead of %ecx.
8313 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
8314 mutex_unlock): Use a statement expression instead of an expression list.
8315 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
8316 type to vm_size_t instead of vm_address_t.
8317 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
8318 defined instead of whether it is non-zero.
8319 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
8320 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
8321 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
8322 comparisons with mapaddr.
8323 * nscd/nscd-client.h: Include <time.h>.
8324 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
8325 9th parameter to __vm_region instead of int.
8326 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
8327 * scripts/check-local-headers.sh (exclude): Add device/,
8328 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
8329 cthreads.h.
8330
8331 2015-03-19 Roland McGrath <roland@hack.frob.com>
8332
8333 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
8334 to account for alignment padding.
8335 * sysdeps/arm/memmove.S: Likewise.
8336
8337 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
8338
8339 * sysdeps/unix/sysv/linux/generic/README: New file.
8340
8341 2015-03-18 Joseph Myers <joseph@codesourcery.com>
8342
8343 [BZ #18138]
8344 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
8345 (futex_abstimed_wait)
8346 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
8347 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
8348 of lll_futex_timed_wait.
8349
8350 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
8351
8352 [BZ #17542]
8353 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
8354
8355 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
8356
8357 [BZ #17090]
8358 [BZ #17620]
8359 [BZ #17621]
8360 [BZ #17628]
8361 * NEWS: Update.
8362 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
8363 entries with Static TLS too. Skip entries past the end of the
8364 allocated DTV, from Alan Modra.
8365 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
8366 Static TLS DTV entry set up from...
8367 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
8368 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
8369 * nptl/allocatestack.c (init_one_static_tls): ... and here...
8370 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
8371 for Static TLS.
8372 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
8373 that the slot we find is associated with the given map before
8374 using its generation count.
8375 * nptl_db/db_info.c: Include ldsodefs.h.
8376 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
8377 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
8378 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
8379 (link_map::l_tls_offset): New struct field.
8380 (dtv_t::counter): Likewise.
8381 (rtld_global): New struct.
8382 (_rtld_global): New rtld variable.
8383 (dl_tls_dtv_slotinfo_list): New rtld global field.
8384 (dtv_slotinfo_list): New struct.
8385 (dtv_slotinfo): Likewise.
8386 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
8387 (td_lookup): Rename to...
8388 (td_mod_lookup): ... this. Use new mod parameter instead of
8389 LIBPTHREAD_SO.
8390 * nptl_db/td_thr_tlsbase.c: Include link.h.
8391 (dtv_slotinfo_list, dtv_slotinfo): New functions.
8392 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
8393 addresses even if the DTV is out of date or missing them.
8394 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
8395 index zero-length arrays.
8396 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
8397 (td_lookup): Make it a macro implemented in terms of...
8398 (td_mod_lookup): ... this declaration.
8399 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
8400 (DB_MAIN_VARIABLE): Likewise.
8401
8402 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
8403
8404 [BZ #18134]
8405 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
8406
8407 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
8408
8409 * stdlib/setenv.c (__add_to_environ): Revert previous change.
8410
8411 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
8412
8413 [BZ #18128]
8414 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
8415 (atomic_add, atomic_increment_and_test)
8416 (atomic_decrement_and_test): Fix 64-bit arithmetic.
8417
8418 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
8419
8420 * stdlib/setenv.c (__add_to_environ):
8421 Dump core quickly if setenv (..., NULL, ...) is called.
8422
8423 2015-03-13 Roland McGrath <roland@hack.frob.com>
8424
8425 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
8426 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
8427 all the necessary asm magic in one place.
8428 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
8429 using those.
8430
8431 2015-03-13 Carlos O'Donell <carlos@redhat.com>
8432
8433 [BZ #14906]
8434 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
8435 traced file mtime. Use consistent log message.
8436 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
8437 (register_traced_file): Call install_watches. Always set mtime.
8438 (invalidate_cache): Iterate over all trace files. Call install_watches.
8439 (inotify_check_files): Don't inline. Handle watching parent
8440 directories and configuration file movement in and out.
8441 (handle_inotify_events): New function.
8442 (main_loop_poll): Call handle_inotify_events.
8443 (main_loop_epoll): Likewise.
8444 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
8445 (struct traced_file): Use array of inotify fds. Add parent directory,
8446 and basename.
8447 (struct database_dyn): Remove unused file_mtime.
8448 (init_traced_file): New inline function.
8449 (define_traced_file): New macro.
8450 * nss/nss_db/db-init.c: Use define_traced_file.
8451 (_nss_db_init): Use init_traced_file.
8452 * nss/nss_files/files-init.c: Use define_traced_file.
8453 (_nss_files_init): Use init_traced_file.
8454
8455 2015-03-12 Joseph Myers <joseph@codesourcery.com>
8456
8457 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
8458 [_LIBC]: Do not include <stdlib.h>.
8459 [!_LIBC] (abort): Remove declaration.
8460 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
8461 _FP_STATIC_ASSERT instead of conditionally calling abort.
8462 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
8463 (_FP_EXTEND_CNAN): Likewise.
8464 (FP_TRUNC): Likewise.
8465 (__FP_CLZ): Likewise.
8466 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
8467
8468 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
8469
8470 * manual/string.texi (XPG basename): Fix prototype.
8471
8472 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8473
8474 [BZ #18080]
8475 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
8476 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
8477 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
8478 (__setcontext): Likewise.
8479 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
8480 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
8481 Call rt_sigprocmask syscall one time to set new signal mask
8482 and retrieve the current signal mask instead of two calls.
8483 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
8484 (__swapcontext): Likewise.
8485 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
8486 * stdlib/tst-setcontext2.c: New file.
8487
8488 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8489
8490 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8491
8492 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
8493
8494 [BZ #18093]
8495 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
8496 the wrong size.
8497
8498 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
8499
8500 [BZ #18043]
8501 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
8502
8503 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8504
8505 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
8506 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
8507 Remove define.
8508 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
8509 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
8510 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
8511 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
8512 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
8513 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
8514 define.
8515 * nptl_db/td_symbol_list.c (td_lookup): Remove
8516 HAVE_ASM_GLOBAL_DOT_NAME code.
8517 * sysdeps/powerpc/powerpc64/configure.ac: Remove
8518 HAVE_ASM_GLOBAL_DOT_NAME check.
8519 * sysdeps/powerpc/powerpc64/configure: Regenerate.
8520 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
8521 (DOT_LABEL): Remove define.
8522 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
8523 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
8524 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
8525 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
8526 (__TLS_GET_ADDR): Likewise.
8527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
8528 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
8529
8530 2015-03-11 Carlos O'Donell <carlos@redhat.com>
8531
8532 [BZ #18111]
8533 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
8534 (_FPU_SETCW): Initialize cw from fpsr before storing.
8535 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
8536 (fesetexceptflag): Rewrite using fpu_control.h.
8537 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
8538
8539 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
8540
8541 [BZ #18110]
8542 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
8543 asms.
8544 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
8545
8546 2015-03-11 Joseph Myers <joseph@codesourcery.com>
8547
8548 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
8549 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
8550 abort.
8551 (_FP_FMA): Likewise.
8552 (_FP_DIV): Likewise.
8553
8554 2015-03-10 Roland McGrath <roland@hack.frob.com>
8555
8556 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
8557 with 0 in that case.
8558 * Makefile (summarize-tests): New canned sequence, factored out of
8559 commands for targets tests and xtests. Display summary lines that
8560 don't start with PASS: or XFAIL: rather than ones that do start with
8561 ERROR: or FAIL:. Make the commands fail if any summary lines fail
8562 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
8563 do start with ERROR: or FAIL:.
8564 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
8565 (except for [$(build-shared) = yes]).
8566 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
8567 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
8568 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
8569 * nptl/Makefile: Revert 2015-03-04 changes.
8570 [$(CXX) empty] (tests-unsupported): New variable.
8571 * debug/Makefile: Likewise.
8572
8573 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
8574 gnulib file. Replace __attribute with __attribute__ throughout.
8575
8576 2015-03-10 Carlos O'Donell <carlos@redhat.com>
8577
8578 * sysdeps/hppa/fpu/libm-test-ulps: Update.
8579
8580 2015-03-10 Joseph Myers <joseph@codesourcery.com>
8581
8582 [BZ #18104]
8583 * math/auto-libm-test-in: Add another test of pow.
8584 * math/auto-libm-test-out: Regenerated.
8585
8586 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8587
8588 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
8589 $(config-cflags-nofma).
8590
8591 2015-03-10 Joseph Myers <joseph@codesourcery.com>
8592
8593 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
8594 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
8595 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
8596 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
8597 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
8598 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
8599 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
8600 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
8601 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
8602 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
8603 Add comment on closing #endif.
8604
8605 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8606
8607 * posix/wordexp.c (CHAR_IN_SET): New macro.
8608 (parse_param): Use it.
8609
8610 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8611
8612 * sysdeps/powerpc/fpu/libm-test-ulps: update.
8613
8614 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8615
8616 [BZ #18043]
8617 * posix/wordexp.c (parse_param): Fix buffer overflow.
8618 * posix/wordexp-test.c (test_case): Add test case.
8619
8620 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8621
8622 [BZ #18042]
8623 * posix/wordexp.c (parse_backtick): Fix off-by-one.
8624 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
8625
8626 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8627
8628 [BZ #18043]
8629 * posix/wordexp-test.c (test_case): Add test for BZ #18043
8630 (do_bz18043): Delete.
8631 (at_page_end): New.
8632 (testit): Refactor to have words at the edge of unreadable page.
8633
8634 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8635
8636 [BZ #16734]
8637 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
8638 Cleanup read-only streams as well.
8639 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
8640
8641 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8642
8643 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
8644 <bits/libc-lockP.h>
8645
8646 2015-03-07 Joseph Myers <joseph@codesourcery.com>
8647
8648 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
8649 on [__KERNEL__].
8650 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
8651 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
8652 * soft-fp/op-common.h (_FP_DECL): Likewise.
8653
8654 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
8655
8656 * elf/ifuncdep2.c (global): Replace
8657 __attribute__((visibility("protected"))) with
8658 asm (".protected global").
8659 * elf/ifuncmod1.c (global): Likewise.
8660 * elf/ifuncmod5.c (global): Likewise.
8661
8662 2015-03-06 Joseph Myers <joseph@codesourcery.com>
8663
8664 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
8665 <asm/sfp-machine.h> instead of <sfp-machine.h>.
8666
8667 2015-03-06 Roland McGrath <roland@hack.frob.com>
8668
8669 * manual/install.texi (Configuring and compiling):
8670 Document test-wrapper-env-only.
8671 * INSTALL: Regenerated.
8672
8673 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8674
8675 [BZ #18043]
8676 * posix/wordexp.c (parse_param): Fix buffer overflow.
8677 * posix/wordexp-test.c (do_bz18043): Add test case.
8678
8679 2015-03-06 Vincent Bernat <vincent@bernat.im>
8680
8681 * time/tst-strptime2.c (do_test): Ensure failing tests are
8682 reported correctly.
8683 * time/tst-strptime3.c (do_test): Likewise.
8684
8685 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
8686
8687 Fix aio_error thread-safety.
8688 * sysdeps/pthread/aio_error.c: New file
8689 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
8690 synchronization.
8691
8692 2015-03-06 Florian Weimer <fweimer@redhat.com>
8693
8694 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
8695 (group_number, vfprintf): Use it.
8696 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
8697 (JUMP, REF): Use it.
8698 (WORK_BUFFER_SIZE): New enum constant.
8699 (process_arg, vfprintf): Use it.
8700
8701 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
8702
8703 * manual/errno.texi (Error Messages): Complete example function
8704 by adding missing #define.
8705 (program_invocation_name): Add statement indicating GNU
8706 extension and reference which header file declares the variable.
8707 (program_invocation_short_name): Likewise.
8708
8709 2015-03-06 Mike Frysinger <vapier@gentoo.org>
8710
8711 * manual/errno.texi (Error Messages): Delete strerror ISO C89
8712 compatibility note.
8713
8714 2015-03-05 Roland McGrath <roland@hack.frob.com>
8715
8716 * Makeconfig (test-wrapper-env-only): New variable.
8717 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
8718 then use that with $(test-wrapper-env-only) rather than using
8719 $(test-wrapper-env) $(run-program-env) $($*-ENV).
8720
8721 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
8722
8723 [BZ #18082]
8724 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
8725 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
8726 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
8727 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
8728 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
8729 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
8730 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
8731 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
8732 Likewise.
8733 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
8734 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
8735 Likewise.
8736 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
8737 Likewise.
8738 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
8739 Likewise.
8740 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
8741 Likewise.
8742 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
8743 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
8744 Likewise.
8745 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
8746 Likewise.
8747 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
8748 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
8749
8750 2015-03-04 Roland McGrath <roland@hack.frob.com>
8751
8752 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
8753 (ETH_ALEN): New macro.
8754 (struct ether_addr): Use it for length of ether_addr_octet.
8755
8756 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
8757 (setdb): Don't call __nss_configure_lookup for "rpc".
8758 (do_test): Don't call test_rpc.
8759 (output_rpcent, test_rpc): Functions moved ...
8760 * sunrpc/test-rpcent.c: ... to this new file.
8761 * sunrpc/Makefile (tests): Add it.
8762
8763 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
8764 __xpg_sigpause.
8765 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
8766 * nptl/tst-signal6.c: Likewise.
8767 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
8768 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
8769
8770 * configure.ac (libc_cv_cxx_link_ok): New check.
8771 Reset CXX to empty if it fails to link.
8772 * configure: Regenerated.
8773 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
8774 bug-atexit3-lib only if $(CXX) is nonempty.
8775 * nptl/Makefile (tests): Likewise for tst-cancel24.
8776 (tests, tests-static): Likewise for tst-cancel24-static.
8777 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
8778 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
8779 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
8780 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
8781
8782 2015-03-04 Andreas Schwab <schwab@suse.de>
8783
8784 [BZ #17631]
8785 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
8786 for non-GCC compilers.
8787 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8788 Likewise.
8789
8790 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8791
8792 [BZ #17776]
8793 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
8794 integer before bitwise and assembly operations.
8795 (feclearexcept): Likewise.
8796 * math/test-fenvinline.c: New file.
8797 * math/Makefile: Add test-fenvinline test.
8798
8799 2015-03-03 Alan Modra <amodra@gmail.com>
8800
8801 [BZ #16512]
8802 * scripts/localplt.awk: Strip off symbol version.
8803 * NEWS: Mention bug fix.
8804
8805 2015-03-02 Roland McGrath <roland@hack.frob.com>
8806
8807 * sysdeps/pthread/timer_routines.c
8808 (timer_free_list, thread_free_list, thread_active_list): Make static.
8809
8810 2015-03-02 Joseph Myers <joseph@codesourcery.com>
8811
8812 [BZ #17779]
8813 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8814 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8815 Undefine.
8816 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8817 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8818 Likewise.
8819 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8820 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8821 Likewise.
8822
8823 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
8824
8825 [BZ #18036]
8826 * posix/fnmatch_loop.c (END): Detect invalid pattern.
8827 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
8828
8829 2015-03-02 Andreas Schwab <schwab@suse.de>
8830
8831 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
8832 variable name.
8833
8834 2015-03-02 Florian Weimer <fweimer@redhat.com>
8835
8836 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
8837 Return error status.
8838
8839 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
8840
8841 [BZ #15969]
8842 * locale/findlocale.c (_nl_find_locale): Introduce const
8843 version of loc_name and drop unsafe type casts.
8844
8845 2015-02-27 Roland McGrath <roland@hack.frob.com>
8846
8847 * dlfcn/tststatic2.c (main): Converted to ...
8848 (do_test): ... this.
8849 (TEST_FUNCTION): New macro.
8850 Include test-skeleton.c.
8851
8852 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
8853
8854 [BZ #17711]
8855 * elf/Makefile (tests): Add vismain only if PIE is enabled.
8856 (tests-pie): Add vismain.
8857 (CFLAGS-vismain.c): New.
8858 * elf/vismain.c: Add comments for PIE requirement.
8859
8860 2015-02-27 Joseph Myers <joseph@codesourcery.com>
8861
8862 [BZ #18046]
8863 [BZ #18047]
8864 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
8865 0x1p-56L as threshold for just returning the argument.
8866 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
8867 0x1p-32L as threshold for just returning the argument.
8868 * math/auto-libm-test-in: Add more tests of atanh.
8869 * math/auto-libm-test-out: Regenerated.
8870 * sysdeps/i386/fpu/libm-test-ulps: Update.
8871 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
8872
8873 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
8874
8875 * string/bcopy.c (bcopy): Call memmove for performance.
8876
8877 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
8878
8879 * string/bzero.c (__bzero): Call memset for performance.
8880
8881 2015-02-27 John David Anglin <dave.anglin@bell.net>
8882
8883 [BZ #18068]
8884 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
8885 to 00100000.
8886
8887 2015-02-27 Joseph Myers <joseph@codesourcery.com>
8888
8889 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
8890
8891 2015-02-26 Joseph Myers <joseph@codesourcery.com>
8892
8893 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
8894 (__kernel_standard): Use CSTR macro when setting exc.name.
8895 * sysdeps/ieee754/Makefile [$(subdir) = math]
8896 (CFLAGS-k_standard.c): Remove variable.
8897
8898 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
8899 setting p and q from "else if" to "else".
8900 (qzero): Likewise.
8901 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
8902 (qone): Likewise.
8903 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
8904 (qzerof): Likewise.
8905 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
8906 (qonef): Likewise.
8907 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
8908 (qzero): Likewise.
8909 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
8910 (qone): Likewise.
8911
8912 [BZ #18038]
8913 [BZ #18039]
8914 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
8915 return pi/2 for arguments below 0x1p-113L.
8916 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
8917 return pi/2 for arguments below 0x1p-106L.
8918 * math/auto-libm-test-in: Add more tests of acos.
8919 * math/auto-libm-test-out: Regenerated.
8920
8921 [BZ #16351]
8922 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
8923 (MO): New macro.
8924 (__ieee754_asin): Force underflow exception for results with small
8925 absolute value.
8926 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
8927 (MO): New macro.
8928 (__ieee754_asinf): Force underflow exception for results with
8929 small absolute value.
8930 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
8931 (__ieee754_asin): Force underflow exception for results with small
8932 absolute value.
8933 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
8934 (__ieee754_asinf): Force underflow exception for results with
8935 small absolute value.
8936 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
8937 (__ieee754_asinl): Force underflow exception for results with
8938 small absolute value.
8939 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
8940 (__ieee754_asinl): Force underflow exception for results with
8941 small absolute value.
8942 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
8943 (__ieee754_asinl): Force underflow exception for results with
8944 small absolute value.
8945 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
8946 Include <math.h>.
8947 * math/auto-libm-test-in: Do not mark underflow exceptions as
8948 possibly missing for bug 16351.
8949 * math/auto-libm-test-out: Regenerated.
8950
8951 [BZ #18030]
8952 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
8953 of power of 2 down when low part has opposite sign.
8954 * math/libm-test.inc (logb_test_data): Add more tests.
8955
8956 2015-02-26 Andreas Schwab <schwab@suse.de>
8957
8958 [BZ #18032]
8959 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
8960 over collating symbol inside a bracket expression. Minor cleanup.
8961 * posix/tst-fnmatch3.c (do_test): Add test case.
8962
8963 2015-02-26 Joseph Myers <joseph@codesourcery.com>
8964
8965 [BZ #18029]
8966 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
8967 Adjust exponent of power of 2 down when low part has opposite
8968 sign.
8969 * math/libm-test.inc (ilogb_test_data): Add more tests.
8970
8971 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
8972
8973 [BZ #15969]
8974 * locale/findlocale.c (_nl_find_locale): Fix constness error in
8975 the previous change.
8976
8977 [BZ #15969]
8978 * locale/findlocale.c (_nl_find_locale): Retry archive search
8979 after alias expansion.
8980
8981 2015-02-25 Roland McGrath <roland@hack.frob.com>
8982
8983 * iconv/tst-iconv3.c (main): Converted to ...
8984 (do_test): ... this.
8985 (TEST_FUNCTION): New macro.
8986 Include test-skeleton.c.
8987
8988 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
8989 (convert): Make function static.
8990 (test_unalign): Likewise. Add const to argument pointee types.
8991 (main): Replace with static function do_test.
8992 Print "Succeeded." only if RET is zero.
8993 (TEST_FUNCTION): New macro.
8994 Include test-skeleton.c.
8995
8996 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
8997 returns a null pointer.
8998
8999 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9000
9001 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
9002 to __memcpy_ppc only for static builds.
9003
9004 2015-02-25 Joseph Myers <joseph@codesourcery.com>
9005
9006 [BZ #18020]
9007 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
9008 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
9009 * math/auto-libm-test-in: Add more tests of asinh.
9010 * math/auto-libm-test-out: Regenerated.
9011 * sysdeps/i386/fpu/libm-test-ulps: Update.
9012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9013
9014 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
9015
9016 [BZ #15850]
9017 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
9018 and ip6_mtuinfo definitions here.
9019 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
9020 in this define too. Update comment.
9021
9022 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
9023
9024 * elf/sprof.c (load_shobj): Tweak error message to match others.
9025
9026 2015-02-24 Kevin Easton <kevin@guarana.org>
9027
9028 [BZ #16145] (partial fix)
9029 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
9030 to reduce lock contention.
9031
9032 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
9033
9034 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
9035 (struct timex): Update time comment.
9036 (ADJ_SETOFFSET): Define.
9037
9038 2015-02-24 Joseph Myers <joseph@codesourcery.com>
9039
9040 [BZ #18019]
9041 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9042 2**56 not 2**28 as threshold for log (2x) formula.
9043 * math/auto-libm-test-in: Add more tests of acosh.
9044 * math/auto-libm-test-out: Regenerated.
9045 * sysdeps/i386/fpu/libm-test-ulps: Update.
9046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9047
9048 2015-02-24 Mike Frysinger <vapier@gentoo.org>
9049
9050 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
9051 parenthesis around the buf assignment.
9052 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
9053
9054 2015-02-24 Joseph Myers <joseph@codesourcery.com>
9055
9056 [BZ #16783]
9057 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
9058 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
9059 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
9060 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9061 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9062 * math/libm-test.inc (scalb_test_data): Add more tests.
9063
9064 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9065
9066 [BZ #17916]
9067 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
9068 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
9069
9070 2015-02-24 Eric Rannaud <e@nanocritical.com>
9071
9072 [BZ #17523]
9073 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
9074 * io/bits/fcntl2.h (open): Use it.
9075 (openat): Likewise.
9076 * io/open.c (__libc_open): Likewise.
9077 * io/open64.c (__libc_open64): Likewise.
9078 * io/open64_2.c (__open64_2): Likewise.
9079 * io/open_2.c (__open_2): Likewise.
9080 * io/openat.c (__openat): Likewise.
9081 * io/openat64.c (__openat64): Likewise.
9082 * io/openat64_2.c (__openat64_2): Likewise.
9083 * io/openat_2.c (__openat_2): Likewise.
9084 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
9085 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
9086 * sysdeps/posix/open64.c (__libc_open64): Likewise.
9087 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9088 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
9089 (__open_nocancel): Likewise.
9090 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
9091 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
9092 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
9093
9094 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9095
9096 [BZ #14841]
9097 * resolv/gethnamaddr.c (getanswer): Skip logging if
9098 RES_USE_DNSSEC is set.
9099 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
9100
9101 2015-02-24 Mike Frysinger <vapier@gentoo.org>
9102
9103 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
9104
9105 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
9106
9107 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
9108 201304L, for Unicode 7.
9109
9110 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
9111
9112 [BZ #17836]
9113 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
9114 shared library. Add gmon-start.os otherwise.
9115 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
9116 $(objpfx)gmon-start.os if builing shared library.
9117 ($(objpfx)g$(static-start-installed-name)): Likewise.
9118
9119 2015-02-23 Andreas Schwab <schwab@suse.de>
9120
9121 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
9122
9123 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
9124
9125 [BZ #17269]
9126 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
9127 (enlarge_userbuf): Likewise.
9128
9129 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
9130
9131 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
9132 * math/atest-exp.c (TIMEOUT): Adjust to 200.
9133 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
9134 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
9135
9136 2015-02-20 Joseph Myers <joseph@codesourcery.com>
9137
9138 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
9139 expression inside statement expression.
9140
9141 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9142
9143 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
9144 <sysdeps/nptl/lowlevellock.h> and remove macros and
9145 functions that are now defined there.
9146 (SYS_futex): Remove.
9147 (lll_compare_and_swap): Remove.
9148 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
9149
9150 2015-02-19 Joseph Myers <joseph@codesourcery.com>
9151
9152 [BZ #17999]
9153 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
9154 instead of scandirat.
9155 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
9156 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
9157 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
9158 __scandirat.
9159 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
9160 (__scandirat): Declare. Use libc_hidden_proto.
9161 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
9162 Remove variable.
9163 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9164
9165 2015-02-18 Joseph Myers <joseph@codesourcery.com>
9166
9167 [BZ #15319]
9168 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
9169 (MO): New macro.
9170 (__ieee754_atan2): For results with small absolute value, force
9171 underflow exception and remove excess range and precision from
9172 return value.
9173 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
9174 (MO): New macro.
9175 (__ieee754_atan2f): For results with small absolute value, force
9176 underflow exception and remove excess range and precision from
9177 return value.
9178 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
9179 (MO): New macro.
9180 (__atan): For results with small absolute value, force underflow
9181 exception and remove excess range and precision from return value.
9182 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
9183 (MO): New macro.
9184 (__atanf): For results with small absolute value, force underflow
9185 exception and remove excess range and precision from return value.
9186 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
9187 <math.h>.
9188 (__ieee754_atan2): Force underflow exception for results with
9189 small absolute value.
9190 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
9191 <math_private.h>.
9192 (atan): Force underflow exception for results with small absolute
9193 value.
9194 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
9195 (__atanf): Force underflow exception for results with small
9196 absolute value.
9197 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
9198 <math.h>.
9199 (__atanl): Force underflow exception for results with small
9200 absolute value.
9201 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
9202 (__atanl): Force underflow exception for results with small
9203 absolute value.
9204 * sysdeps/x86/fpu/bits/mathinline.h
9205 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
9206 (__ieee754_atan2): Only define inline for long double.
9207 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
9208 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
9209 * math/auto-libm-test-in: Do not mark underflow exceptions as
9210 possibly missing for bug 15319. Add more tests of atan2.
9211 * math/auto-libm-test-out: Regenerated.
9212 * math/libm-test.inc (casin_test_data): Do not mark underflow
9213 exceptions as possibly missing for bug 15319.
9214 (casinh_test_data): Likewise.
9215 * sysdeps/i386/fpu/libm-test-ulps: Update.
9216
9217 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
9218
9219 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
9220 * sysdeps/mips/bits/endian.h: Fix comments.
9221
9222 2015-02-18 Joseph Myers <joseph@codesourcery.com>
9223
9224 [BZ #17996]
9225 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
9226 (hdestroy_r): Likewise.
9227 (hsearch_r): Likewise.
9228 (__hcreate_r): Declare and use libc_hidden_proto.
9229 (__hdestroy_r): Likewise.
9230 (__hsearch_r): Likewise.
9231 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
9232 (hcreate): Call __hcreate_r instead of hcreate_r.
9233 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
9234 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
9235 as weak alias of __hcreate_r.
9236 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
9237 __hdestroy_r.
9238 (hsearch_r): Rename to __hsearch_r and define as weak alias of
9239 __hsearch_r.
9240 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
9241 Remove variable.
9242 (test-xfail-XPG4/search.h/linknamespace): Likewise.
9243 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9244 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9245 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9246
9247 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9248
9249 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
9250 arena_lock into a single arena_get.
9251
9252 2015-02-17 Carlos O'Donell <carlos@redhat.com>
9253
9254 * dl-reloc.c: Inlucde libc-internal.h.
9255 (_dl_try_allocate_static_tls): Call ALIGN_UP.
9256 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
9257 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
9258 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
9259 (grow_heap): Likewise.
9260 * malloc/malloc.c: Include libc-internal.h.
9261 (do_check_malloc): Call powerof2.
9262 (sysmalloc): Use pagesize. Call ALIGN_UP.
9263 (systrim): Use pagesize.
9264 (mremap_chunk): Use pagesize. Call ALIGN_UP.
9265 (__libc_valloc): Use pagesize.
9266 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
9267
9268 2015-02-17 Joseph Myers <joseph@codesourcery.com>
9269
9270 [BZ #17991]
9271 * include/sys/resource.h (__getrlimit64): Declare. Use
9272 libc_hidden_proto.
9273 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
9274 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
9275 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
9276 getrlimit64.
9277 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
9278 __getrlimit64.
9279 [!getrlimit64] (getrlimit64): Define as weak alias of
9280 __getrlimit64. Use libc_hidden_weak.
9281 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
9282 using __getrlimit64 not __new_getrlimit64.
9283 (__GI_getrlimit64): Likewise.
9284 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
9285 Likewise.
9286 (__GI_getrlimit64): Likewise.
9287 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
9288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
9289 (getrlimit): Add __getrlimit64 alias.
9290 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
9291 Likewise.
9292 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
9293 Remove variable.
9294 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9295 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9296
9297 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9298
9299 * libio/fileops.c: Add missing sys/mman.h
9300 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
9301
9302 2015-02-17 Joseph Myers <joseph@codesourcery.com>
9303
9304 * manual/math.texi (Errors in Math Functions): Clarify goals
9305 regarding inexact and underflow exceptions.
9306
9307 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
9308
9309 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
9310 * sysdeps/mips/memset.S: Ditto.
9311
9312 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
9313
9314 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
9315
9316 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
9317
9318 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
9319 (__v1longjmp): Remove versioned symbol.
9320 (__v1siglongjmp): Remove alias and versioned symbol.
9321 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
9322 (__v2siglongjmp): Likewise.
9323
9324 2015-02-16 Torvald Riegel <triegel@redhat.com>
9325
9326 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
9327
9328 2015-02-16 Mike Frysinger <vapier@gentoo.org>
9329
9330 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
9331
9332 2015-02-16 Joseph Myers <joseph@codesourcery.com>
9333
9334 [BZ #17987]
9335 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
9336 zero result does not depend on the sign resulting from
9337 subtraction.
9338 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9339 Likewise.
9340 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
9341 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
9342 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9343 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
9344 * math/libm-test.inc (remquo_test_data): Add more tests.
9345
9346 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
9347
9348 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
9349 Problem reported by J William Piggott.
9350
9351 2015-02-16 Joseph Myers <joseph@codesourcery.com>
9352
9353 [BZ #17978]
9354 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
9355 products 4 * y and 2 * y where those would overflow.
9356 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9357 Likewise.
9358 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
9359 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
9360 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9361 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
9362 * math/libm-test.inc (remquo_test_data): Add more tests.
9363
9364 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
9365
9366 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
9367 [defined _COMPILING_NEWLIB].
9368 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
9369 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
9370
9371 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
9372 [!defined __mips_isa_rev || __mips_isa_rev < 6].
9373
9374 2015-02-16 Torvald Riegel <triegel@redhat.com>
9375
9376 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
9377 acquired.
9378
9379 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
9380
9381 [BZ #17792]
9382 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
9383 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
9384 HOST_STACK_END_ADDR): Likewise.
9385
9386 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
9387
9388 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
9389 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
9390 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
9391
9392 2015-02-13 Roland McGrath <roland@hack.frob.com>
9393
9394 * sysdeps/generic/c++-types.data: New file.
9395 * sysdeps/generic/ld.abilist: New file.
9396 * sysdeps/generic/libBrokenLocale.abilist: New file.
9397 * sysdeps/generic/libanl.abilist: New file.
9398 * sysdeps/generic/libc.abilist: New file.
9399 * sysdeps/generic/libcrypt.abilist: New file.
9400 * sysdeps/generic/libdl.abilist: New file.
9401 * sysdeps/generic/libm.abilist: New file.
9402 * sysdeps/generic/libpthread.abilist: New file.
9403 * sysdeps/generic/libresolv.abilist: New file.
9404 * sysdeps/generic/librt.abilist: New file.
9405
9406 2015-02-13 Joseph Myers <joseph@codesourcery.com>
9407
9408 [BZ #17569]
9409 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9410 Compute absolute value of x as modified by fmod, not original
9411 value of x.
9412 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
9413 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
9414 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
9415 RUN_TEST_ffI_f1_mod8.
9416 (remquo_test_data): Add more tests.
9417
9418 2015-02-13 Roland McGrath <roland@hack.frob.com>
9419
9420 * sysdeps/init_array/pt-crti.S: New file.
9421
9422 2015-02-13 Joseph Myers <joseph@codesourcery.com>
9423
9424 [BZ #17967]
9425 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
9426 __builtin_fmaf instead of relying on contraction of a * b + c.
9427
9428 2015-02-12 J William Piggott <elseifthen@gmx.com>
9429
9430 [BZ #17969]
9431 * manual/time.texi: correct the zoneinfo path in the TZ Variable
9432 node.
9433
9434 2015-02-12 Joseph Myers <joseph@codesourcery.com>
9435
9436 [BZ #17964]
9437 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
9438 __builtin_fma instead of relying on contraction of a * b + c.
9439
9440 2015-02-12 Roland McGrath <roland@hack.frob.com>
9441
9442 * Makeconfig (ASFLAGS): Add -Werror=undef.
9443 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
9444 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
9445 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
9446
9447 * Makeconfig (after-link): New variable.
9448 (+link-pie, +link-pie-tests): Use it.
9449 (+link-static, +link-static-tests): Likewise.
9450 (+link, +link-tests): Likewise.
9451 * Makerules (build-module, build-module-asneeded): Likewise.
9452 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
9453 Likewise.
9454 * elf/Makefile ($(objpfx)ld.so): Likewise.
9455
9456 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
9457
9458 [BZ #17965]
9459 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
9460 both struct timeval and struct timespec.
9461
9462 2015-02-12 Joseph Myers <joseph@codesourcery.com>
9463
9464 [BZ #16560]
9465 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9466 and redefine.
9467 (__ieee754_exp2l): Do not multiply small fractional parts by
9468 M_LN2l.
9469 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
9470 small argument.
9471 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9472 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
9473 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
9474 * math/auto-libm-test-in: Add more tests of exp2.
9475 * math/auto-libm-test-out: Regenerated.
9476
9477 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9478
9479 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
9480 unaligned path.
9481
9482 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9483
9484 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
9485 little endian.
9486
9487 2015-02-12 Andreas Schwab <schwab@suse.de>
9488
9489 [BZ #15790]
9490 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
9491 Filter out elision flags from value returned in kind.
9492 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
9493 * nptl/tst-pthread-mutexattr.c: New file.
9494
9495 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
9496
9497 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
9498 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
9499 into gnu-gnu, and update comment to refer to abi-tags.
9500
9501 2015-02-11 Joseph Myers <joseph@codesourcery.com>
9502
9503 [BZ #15467]
9504 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
9505 (__sincos): Set errno to EDOM for infinite argument.
9506 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
9507 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
9508 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
9509 (__sincosl): Set errno to EDOM for infinite argument.
9510 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
9511 (__sincosl): Set errno to EDOM for infinite argument.
9512 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
9513 (__sincosl): Set errno to EDOM for infinite argument.
9514 * math/libm-test.inc (sincos_test_data): Test errno setting.
9515
9516 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
9517
9518 * string/strxfrm_l.c: Remove #define STRCMP.
9519 * string/strcoll_l.c: Remove #define STRLEN.
9520 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
9521 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
9522
9523 2015-02-10 Joseph Myers <joseph@codesourcery.com>
9524
9525 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
9526 * sysdeps/mips/mips32/sfp-machine.h: ... here.
9527 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
9528 * sysdeps/mips/mips64/Makefile: ... here.
9529 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
9530 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
9531 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
9532 * sysdeps/mips/mips64/sfp-machine.h: ... here.
9533 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
9534 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
9535 * sysdeps/mips/mips64/n64/Implies: Likewise.
9536
9537 2015-02-10 Roland McGrath <roland@hack.frob.com>
9538
9539 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
9540 <sys/time.h>, <string.h>, and <errno.h>.
9541 (dest_offset, dest_address, value, zero): Remove unused variables.
9542 (ldouble): Remove typedef.
9543 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
9544 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
9545 1). Fix code style.
9546 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
9547 (check): Function removed.
9548 (CHECK): New macro.
9549 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
9550 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
9551 Don't call set_sigaction_FP and remove_sigaction_FP here.
9552 (ldouble_test): Just use 'long double' as macro argument, no need for
9553 the 'ldouble' typedef.
9554 (do_test): Set up SIGFPE handler at start, using plain signal rather
9555 than sigaction. Fix code style.
9556
9557 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
9558
9559 [BZ #17949]
9560 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
9561 jump label.
9562
9563 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9564
9565 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
9566 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9567
9568 * sysdeps/powerpc/configure.ac: Remove file.
9569 * sysdeps/powerpc/configure: Likewise.
9570
9571 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
9572 [sysdep_routines]: Remove wordcopy-power6 object.
9573 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9574 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
9575 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
9576 (__memmove_ppc32): Likewise.
9577 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
9578 file.
9579 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
9580 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
9581 Remove preprocessor.
9582
9583 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
9584 [sysdep_routines]: Remove wide chars objects.
9585 [wcsmbs]: New rule for wide char objects.
9586
9587 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9588 Remove wordcopy-power6 obejct.
9589 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
9590 Use local call for wordcopy and memcpy symbols.
9591 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
9592 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
9593 implementation for loader.
9594 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
9595
9596 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9597 Remove wordcopy-power7 object.
9598 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
9599 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
9600 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
9601 (_wordcopy_fwd_dest_aligned): Likewise.
9602 (_wordcopy_bwd_aligned): Likewise.
9603 (_wordcopy_bwd_dest_aligned): Likewise.
9604
9605 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
9606 Rewrite to call __memmove_ppc instead of include default
9607 implementation.
9608
9609 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9610 Remove wide chars objects.
9611 [wcsmbs]: New rule for wide char objects.
9612
9613 2015-02-09 Andreas Schwab <schwab@suse.de>
9614
9615 [BZ #17912]
9616 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9617 in terms of __O_DIRECTORY.
9618
9619 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
9620
9621 * time/getdate.c: Include <stdbool.h>.
9622 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
9623 call PTR_MANGLE.
9624 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
9625 PTR_DEMANGLE.
9626
9627 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
9628
9629 Add ersatz _Static_assert on older C hosts
9630 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
9631 pre-C11 C platform that is not known to support _Static_assert.
9632
9633 2015-02-07 Richard Braun <rbraun@sceen.net>
9634
9635 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
9636 sigstate.
9637 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
9638
9639 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9640
9641 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
9642 priority against unexistent AIO_PRIO_DELTA_MAX.
9643 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
9644 instead of int.
9645 * misc/fchflags.c (fchflags): Likewise.
9646 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
9647 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
9648 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
9649 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
9650 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
9651 Declare macros.
9652 [__USE_MISC] (chflags, fchflags): Declare functions.
9653 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
9654 EINVAL when nfds is greater than FD_SETSIZE.
9655 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
9656 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
9657 45.
9658 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
9659 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
9660 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
9661 MACH_RCV_TIMED_OUT.
9662 * hurd/hurd/signal.h (_hurd_self_sigstate,
9663 _hurd_critical_section_lock, _hurd_critical_section_unlock):
9664 Explicit casts from void *.
9665 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
9666 * abi-tags: Rename gnu-gnu os into gnu.
9667
9668 [BZ #4719]
9669 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
9670 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
9671 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
9672 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
9673 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
9674 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
9675
9676 [BZ #17944]
9677 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
9678 duplicates ADDR->sun_path with sockaddr LEN limitation.
9679 * sysdeps/mach/hurd/connect.c: Include <string.h>
9680 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
9681 * sysdeps/mach/hurd/sendmsg.c: Likewise.
9682 * sysdeps/mach/hurd/sendto.c: Likewise.
9683 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
9684 implementing it by hand.
9685
9686 2015-02-06 Roland McGrath <roland@hack.frob.com>
9687
9688 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
9689 Use sfi_breg on ldr.
9690 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
9691 Likewise.
9692
9693 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
9694 it's defined.
9695 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
9696 Test SIGSETXID only if it's defined.
9697
9698 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
9699
9700 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
9701 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
9702
9703 * nptl/tst-align2.c: Moved ...
9704 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
9705 * nptl/Makefile (tests): Remove tst-align2.
9706 * sysdeps/unix/sysv/linux/Makefile
9707 [$(subdir) = nptl] (tests): Add tst-align-clone.
9708 * nptl/tst-getpid1.c: Moved ...
9709 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
9710 * nptl/tst-getpid2.c: Moved ...
9711 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
9712 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
9713 * sysdeps/unix/sysv/linux/Makefile
9714 [$(subdir) = nptl] (tests): ... here.
9715 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
9716 * sysdeps/unix/sysv/linux/Makefile
9717 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
9718
9719 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
9720 Drop trailing \n from perror argument. Use return rather than exit.
9721
9722 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
9723 on [SA_SIGINFO].
9724 * nptl/tst-cancel21.c (do_test): Likewise.
9725 * debug/tst-backtrace6.c: Include <signal.h> first thing.
9726 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
9727 [!SA_SIGINFO]: Make it a stub test.
9728
9729 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
9730 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
9731
9732 * posix/tst-getlogin.c: Move to ...
9733 * login/tst-getlogin.c: ... here.
9734 * posix/Makefile (tests): Move tst-getlogin to ...
9735 * login/Makefile (tests): ... here.
9736
9737 * libio/tst-atime.c (do_test): Move local variables SV and E
9738 inside [ST_NOATIME] conditional.
9739
9740 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
9741
9742 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
9743
9744 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
9745 (wait_code): New function replaces macro.
9746 Call nanosleep rather than syscall.
9747
9748 * nptl/pt-system.c: Rewritten. Put everything under
9749 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9750 Use IFUNC to redirect when possible.
9751
9752 * nptl/pt-longjmp.c: Rewritten. Put everything under
9753 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9754 Use IFUNC to redirect when possible.
9755
9756 * nptl/pt-fork.c: Rewritten. Put everything under
9757 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9758 Use IFUNC to redirect when possible.
9759 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
9760
9761 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
9762 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
9763 unconditionally nowadays. This included the only reference to
9764 __vdso_clock_gettime that appears outside libc proper.
9765 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
9766 Remove version set (containing only __vdso_clock_gettime).
9767 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
9768 Add attribute_hidden.
9769 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
9770 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
9771 libc_hidden_data_def.
9772 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
9773 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9774
9775 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
9776 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
9777 setrpcent, and getrpcport to ...
9778 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
9779 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
9780 getrpcbynumber_r, and getrpcent_r to ...
9781 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
9782 * inet/getrpcbyname.c: Moved ...
9783 * sunrpc/getrpcbyname.c: ... here.
9784 * inet/getrpcbyname_r.c: Moved ...
9785 * sunrpc/getrpcbyname_r.c: ... here.
9786 * inet/getrpcbynumber.c: Moved ...
9787 * sunrpc/getrpcbynumber.c: ... here.
9788 * inet/getrpcbynumber_r.c: Moved ...
9789 * sunrpc/getrpcbynumber_r.c: ... here.
9790 * inet/getrpcent.c: Moved ...
9791 * sunrpc/getrpcent.c: ... here.
9792 * inet/getrpcent_r.c: Moved ...
9793 * sunrpc/getrpcent_r.c: ... here.
9794 * inet/Makefile (routines): Move those to ...
9795 * sunrpc/Makefile (routines): ... here.
9796 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
9797 the $(subdirs) list.
9798 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
9799 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
9800 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
9801 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
9802
9803 * elf/Makefile (routines): Include $(all-dl-routines), not just
9804 $(dl-routines).
9805 (rtld-routines): Likewise. Use = rather than :=.
9806 * sysdeps/aarch64/Makefile [$(subdir) = elf]
9807 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
9808 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
9809 * sysdeps/arm/Makefile: Likewise.
9810 * sysdeps/i386/Makefile: Likewise.
9811 * sysdeps/x86_64/Makefile: Likewise.
9812 * sysdeps/hppa/Makefile [$(subdir) = elf]
9813 (sysdep_routines, sysdep-rtld-routines): Don't add
9814 $(sysdep-dl-routines) to these.
9815 * sysdeps/ia64/Makefile: Likewise.
9816 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
9817 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
9818 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
9819 Don't add dl-static to these; sysdep-dl-routines alone is enough.
9820 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
9821 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
9822 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
9823 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
9824 * sysdeps/powerpc/Makefile [$(subdir) = elf]
9825 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
9826 these; sysdep-dl-routines alone is enough.
9827
9828 2015-02-06 Joseph Myers <joseph@codesourcery.com>
9829
9830 [BZ #17932]
9831 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
9832 where multiplication results in zero and third argument is finite
9833 and nonzero.
9834 * math/auto-libm-test-in: Add more tests of fma.
9835 * math/auto-libm-test-out: Regenerated.
9836
9837 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
9838 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
9839 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
9840 (_FP_CMP_EQ): Likewise.
9841 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
9842
9843 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
9844 extra argument CHECK_NAN. Redefine as wrapper around
9845 _FP_EXTEND_CNAN.
9846
9847 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
9848
9849 * version.h (RELEASE): Set to "stable".
9850 (VERSION): Set to "2.21"
9851 * include/features.h (__GLIBC_MINOR__): Set to 21.
9852
9853 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
9854
9855 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9856 Paul Eggert <eggert@cs.ucla.edu>
9857
9858 [BZ #16618]
9859 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
9860 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
9861 size in bytes. Store needed elements in wpmax. Use needed size
9862 in bytes for extend_alloca.
9863
9864 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
9865
9866 * manual/install.texi: Latest tested versions are GCC 4.9.2,
9867 binutls 2.25, and texinfo 5.2.
9868 * INSTALL: Regenerate.
9869 * sysdeps/nios2/configure: Regenerate.
9870 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
9871 * manual/contrib.texi: Update.
9872 * po/be.po: Update.
9873 * po/bg.po: Update.
9874 * po/ca.po: Update.
9875 * po/cs.po: Update.
9876 * po/da.po: Update.
9877 * po/de.po: Update.
9878 * po/el.po: Update.
9879 * po/eo.po: Update.
9880 * po/es.po: Update.
9881 * po/fi.po: Update.
9882 * po/fr.po: Update.
9883 * po/gl.po: Update.
9884 * po/hr.po: Update.
9885 * po/hu.po: Update.
9886 * po/ia.po: Update.
9887 * po/id.po: Update.
9888 * po/it.po: Update.
9889 * po/ja.po: Update.
9890 * po/ko.po: Update.
9891 * po/lt.po: Update.
9892 * po/nb.po: Update.
9893 * po/nl.po: Update.
9894 * po/pl.po: Update.
9895 * po/pt_BR.po: Update.
9896 * po/ru.po: Update.
9897 * po/rw.po: Update.
9898 * po/sk.po: Update.
9899 * po/sl.po: Update.
9900 * po/sv.po: Update.
9901 * po/tr.po: Update.
9902 * po/uk.po: Update.
9903 * po/vi.po: Update.
9904 * po/zh_CN.po: Update.
9905 * po/zh_TW.po: Update.
9906
9907 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
9908 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
9909 * sysdeps/hppa/dl-irel.h: Remove #warning.
9910 * sysdeps/hppa/entry.h: Provide prototype for
9911 __canonicalize_funcptr_for_compare and cast argument.
9912 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
9913 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
9914 * sysdeps/hppa/sotruss-lib.c: New file.
9915 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
9916 (atomic_compare_and_exchange_val_acq): Use __typeof__.
9917 (atomic_compare_and_exchange_bool_acq): Likewise.
9918 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
9919 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
9920
9921 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
9922 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
9923 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
9924
9925 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
9926
9927 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
9928 called function in non-PIC case.
9929
9930 2015-01-31 David S. Miller <davem@davemloft.net>
9931
9932 * sysdeps/sparc/sparc32/bits/atomic.h
9933 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
9934 unlock not after it.
9935 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
9936 volatile register usage warnings from the compiler.
9937
9938 * sysdeps/sparc/nptl/sem_init.c: Delete.
9939 * sysdeps/sparc/nptl/sem_post.c: Delete.
9940 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
9941 * sysdeps/sparc/nptl/sem_wait.c: Delete.
9942 * sysdeps/sparc/sparc32/sem_init.c: New file.
9943 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
9944 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
9945 padding explicitly initialized.
9946 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
9947 padding for in-semaphore spinlock.
9948 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
9949 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
9950 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
9951 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
9952 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
9953 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
9954 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
9955 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
9956 version.
9957 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
9958 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
9959
9960 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
9961
9962 [BZ #17801]
9963 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9964 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
9965 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
9966 New.
9967 (index_AVX_Fast_Unaligned_Load): Likewise.
9968 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
9969 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
9970 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
9971 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
9972 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
9973 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
9974 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
9975 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
9976 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
9977
9978 2015-01-29 Andreas Schwab <schwab@suse.de>
9979
9980 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
9981
9982 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9983
9984 [BZ #17892]
9985 * nscd/nscd_stat.c (send_stats): Initialize DATA.
9986
9987 2015-01-28 Martin Sebor <msebor@redhat.com>
9988
9989 * math/README.libm-test: Clarify. Add "How to read the test output."
9990
9991 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
9992
9993 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
9994 Define to 0.
9995
9996 2015-01-28 Joseph Myers <joseph@codesourcery.com>
9997
9998 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
9999 (__HAVE_64B_ATOMICS): Define to 0.
10000
10001 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
10002
10003 [BZ #17885]
10004 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
10005 value to set as new flag.
10006
10007 [BZ #16576]
10008 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
10009 and use _ARCH_PPCSQ instead.
10010 (__ieee754_sqrt): Likewise.
10011 (__ieee754_sqrtf): Likewise.
10012 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
10013 _ARCH_PPCSQ is defined.
10014 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
10015 fsqrt instruction.
10016 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
10017 _ARCH_PPCSQ is defined.
10018 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
10019 fsqrts instruction.
10020 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
10021
10022 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10023
10024 * iconv/loop.c: Suppress array out of bound warning caused by GCC
10025 bug (GCC BZ #64739).
10026
10027 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
10028
10029 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
10030 Mark _retval as used.
10031 (lll_futex_wake_unlock): Likewise.
10032 (lll_futex_timed_wait_requeue_pi): Likewise.
10033
10034 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
10035 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
10036 register variables.
10037
10038 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
10039 libm_hidden_def.
10040
10041 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
10042 (__bswap_64): Mark as __always_inline.
10043
10044 2015-01-25 Bram <bug_rh@spam.wizbit.be>
10045
10046 [BZ #15378]
10047 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
10048 when none of the search directories exist.
10049
10050 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
10051
10052 [BZ #17869]
10053 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
10054 power8 in .machine directive.
10055
10056 [BZ #17868]
10057 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
10058 set dependency from opd value.
10059
10060 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
10061
10062 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10063 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
10064 architecture.
10065
10066 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
10067
10068 [BZ #17870]
10069 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
10070 with uint64_t.
10071 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
10072 (uint64_t) 1.
10073 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
10074 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
10075 Replace 1UL with (uint64_t) 1.
10076 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
10077 int with uint64_t.
10078
10079 2015-01-23 Roland McGrath <roland@hack.frob.com>
10080
10081 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
10082 (if_freenameindex): Likewise.
10083
10084 * resource/getrlimit64.c: Add missing libc_hidden_def.
10085
10086 2015-01-22 Joseph Myers <joseph@codesourcery.com>
10087
10088 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
10089 __label__.
10090 (_FP_FMA): Likewise.
10091 (_FP_TO_INT_ROUND): Likewise.
10092 (_FP_FROM_INT): Likewise.
10093
10094 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10095
10096 [BZ #16418]
10097 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
10098 Make code racy and cancel safe.
10099
10100 2015-01-21 Carlos O'Donell <carlos@redhat.com>
10101
10102 * sysdeps/arm/unwind-resume.h: Fix copyright year.
10103 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
10104 attribution.
10105
10106 * pwd/tst-getpw.c: Rewrite.
10107
10108 [BZ #17702]
10109 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
10110 (modules-names): Add moddummy1 and moddummy2.
10111 ($(objpfx)tst-rec-dlopen): Define.
10112 * dlfcn/moddummy1.c: New file.
10113 * dlfcn/moddummy2.c: New file.
10114 * dlfcn/tst-rec-dlopen.c: New file.
10115 * elf/dl-cache.c (_dl_load_cache_lookup):
10116 Return char*. Copy result with alloca/strcpy/strdup.
10117 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
10118 returns char*. Free cached. If not saving realname
10119 free cached.
10120 * elf/dl-open.c (dl_open_worker): Do not assert that
10121 _r_debug->r_state is RT_CONSISTENT.
10122 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
10123 returns char*.
10124
10125 2015-01-21 Torvald Riegel <triegel@redhat.com>
10126 Carlos O'Donell <carlos@redhat.com>
10127
10128 [BZ #12674]
10129 * nptl/sem_waitcommon.c: New file.
10130 * nptl/sem_wait.c: Include sem_waitcommon.c.
10131 (__sem_wait_cleanup, do_futex_wait): Remove.
10132 (__new_sem_wait): Adapt.
10133 (__new_sem_trywait): New function.
10134 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
10135 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
10136 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
10137 (sem_timedwait): Adapt.
10138 * nptl/sem_post.c (__new_sem_post): Adapt.
10139 (futex_wake): New function.
10140 (__old_sem_post): Add release MO fence.
10141 * nptl/sem_open.c (sem_open): Adapt.
10142 * nptl/sem_init.c (__new_sem_init): Adapt.
10143 (futex_private_if_supported): New function.
10144 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
10145 (__old_sem_getvalue): Add using previous code.
10146 * sysdeps/nptl/internaltypes.h: Adapt.
10147 * nptl/tst-sem13.c (do_test): Adapt.
10148 * nptl/tst-sem11.c (main): Adapt.
10149 * nptl/sem_trywait.c: Remove.
10150 * nptl/DESIGN-sem.txt: Remove.
10151 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
10152 (gen-as-const-headers): Remove structsem.sym.
10153 * nptl/structsem.sym: Remove.
10154 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
10155 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
10156 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
10157 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
10158 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
10159 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
10160 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
10161 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
10162 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
10163 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
10164 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
10165 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
10166 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
10167 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
10168 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
10169 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
10170 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
10171 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
10172 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
10173 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
10174 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
10175 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
10176
10177 2015-01-20 Carlos O'Donell <carlos@redhat.com>
10178
10179 * INSTALL: Regenerated.
10180
10181 * po/libc.pot: Regenerated.
10182
10183 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
10184 Sandra Loosemore <sandra@codesourcery.com>
10185 Andrew Jenner <andrew@codesourcery.com>
10186 Joseph Myers <joseph@codesourcery.com>
10187 Nathan Sidwell <nathan@codesourcery.com>
10188
10189 * NEWS: Mention new Nios II port.
10190 * sysdeps/nios2/Implies: New file.
10191 * sysdeps/nios2/Makefile: New file.
10192 * sysdeps/nios2/Subdirs: New file.
10193 * sysdeps/nios2/Versions: New file.
10194 * sysdeps/nios2/__longjmp.S: New file.
10195 * sysdeps/nios2/abort-instr.h: New file.
10196 * sysdeps/nios2/backtrace.c: New file.
10197 * sysdeps/nios2/bits/endian.h: New file.
10198 * sysdeps/nios2/bits/fenv.h: New file.
10199 * sysdeps/nios2/bits/link.h: New file.
10200 * sysdeps/nios2/bits/setjmp.h: New file.
10201 * sysdeps/nios2/bsd-_setjmp.S: New file.
10202 * sysdeps/nios2/bsd-setjmp.S: New file.
10203 * sysdeps/nios2/configure: New generated file.
10204 * sysdeps/nios2/configure.ac: New file.
10205 * sysdeps/nios2/crti.S: New file.
10206 * sysdeps/nios2/crtn.S: New file.
10207 * sysdeps/nios2/dl-init.c: New file.
10208 * sysdeps/nios2/dl-machine.h: New file.
10209 * sysdeps/nios2/dl-sysdep.h: New file.
10210 * sysdeps/nios2/dl-tls.h: New file.
10211 * sysdeps/nios2/dl-trampoline.S: New file.
10212 * sysdeps/nios2/gccframe.h: New file.
10213 * sysdeps/nios2/gmp-mparam.h: New file.
10214 * sysdeps/nios2/jmpbuf-offsets.h: New file.
10215 * sysdeps/nios2/jmpbuf-unwind.h: New file.
10216 * sysdeps/nios2/ldsodefs.h: New file.
10217 * sysdeps/nios2/libc-tls.c: New file.
10218 * sysdeps/nios2/libm-test-ulps: New file.
10219 * sysdeps/nios2/machine-gmon.h: New file.
10220 * sysdeps/nios2/math-tests.h: New file.
10221 * sysdeps/nios2/math_private.h: New file.
10222 * sysdeps/nios2/memusage.h: New file.
10223 * sysdeps/nios2/nptl/Makefile: New file.
10224 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
10225 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
10226 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
10227 * sysdeps/nios2/nptl/pthreaddef.h: New file.
10228 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
10229 * sysdeps/nios2/nptl/tls.h: New file.
10230 * sysdeps/nios2/preconfigure: New file.
10231 * sysdeps/nios2/s_fma.c: New file.
10232 * sysdeps/nios2/s_fmaf.c: New file.
10233 * sysdeps/nios2/setjmp.S: New file.
10234 * sysdeps/nios2/sfp-machine.h: New file.
10235 * sysdeps/nios2/sotruss-lib.c: New file.
10236 * sysdeps/nios2/stackguard-macros.h: New file.
10237 * sysdeps/nios2/stackinfo.h: New file.
10238 * sysdeps/nios2/start.S: New file.
10239 * sysdeps/nios2/sysdep.h: New file.
10240 * sysdeps/nios2/tls-macros.h: New file.
10241 * sysdeps/nios2/tst-audit.h: New file.
10242 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
10243 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
10244 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
10245 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
10246 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
10247 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
10248 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
10249 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
10250 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
10251 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
10252 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
10253 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
10254 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
10255 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
10256 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
10257 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
10258 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
10259 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
10260 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
10261 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
10262 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
10263 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
10264 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
10265 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
10266 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
10267 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
10268 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
10269 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
10270 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
10271 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
10272 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
10273 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
10274 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
10275 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
10276 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
10277 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
10278 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
10279 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
10280 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
10281 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
10282 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
10283 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
10284 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
10285 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
10286
10287 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10288
10289 [BZ #17844]
10290 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
10291 (getutent): Use weak_alias in non SHARED case
10292 and default_symbol_version in SHARED case.
10293 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
10294 (getutent_r, pututline): Likewise.
10295 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
10296 (getutid): Likewise.
10297 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
10298 (getutid_r): Likewise.
10299 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
10300 (getutline): Likewise.
10301 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
10302 (getutline_r): Likewise.
10303 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
10304 (updwtmp): Likewise.
10305
10306 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10307
10308 [BZ #17848]
10309 * sysdeps/s390/s390-32/memcmp.S
10310 (memcmp_g5): Rename to __memcmp_g5.
10311 * sysdeps/s390/s390-32/memcpy.S
10312 (memcpy_g5): Rename to __memcpy_g5.
10313 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10314 (memcpy_mvcle) Rename to __memcpy_mvcle.
10315 * sysdeps/s390/s390-32/memset.S
10316 (memset_g5): Rename to __memset_g5.
10317 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10318 (IFUNC_RESOLVE): Prefix ifunc-resolve function
10319 and use prefixed functions.
10320 * sysdeps/s390/s390-32/multiarch/memcmp.S
10321 (memcmp_z196): Rename to __memcmp_z196.
10322 (memcmp_z10): Rename to __memcmp_z10.
10323 (memcmp): Set alias to __memcmp_g5.
10324 (bcmp): Set alias to __memcmp_g5.
10325 * sysdeps/s390/s390-32/multiarch/memcpy.S
10326 (memcpy_z196): Rename to __memcpy_z196.
10327 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10328 (memcpy_z10): Rename to __memcpy_z10.
10329 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10330 (memcpy): Set alias to __memcpy_g5.
10331 * sysdeps/s390/s390-32/multiarch/memset.S
10332 (memset_z196): Rename to __memset_z196.
10333 Jump to __memset_mvcle instead of memset_mvcle.
10334 (memset_z10): Rename to __memset_z10.
10335 Jump to __memset_mvcle instead of memset_mvcle.
10336 (memset_mvcle) Rename to __memset_mvcle.
10337 (memset): Set alias to __memset_g5.
10338 * sysdeps/s390/s390-64/memcmp.S
10339 (memcmp_z900): Rename to __memcmp_z900.
10340 * sysdeps/s390/s390-64/memcpy.S
10341 (memcpy_z900): Rename to __memcpy_z900.
10342 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10343 (memcpy_mvcle) Rename to __memcpy_mvcle.
10344 * sysdeps/s390/s390-64/memset.S
10345 (memset_z900): Rename to __memset_z900.
10346 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
10347 (IFUNC_RESOLVE): Prefix ifunc-resolve function
10348 and use prefixed functions.
10349 * sysdeps/s390/s390-64/multiarch/memcmp.S
10350 (memcmp_z196): Rename to __memcmp_z196.
10351 (memcmp_z10): Rename to __memcmp_z10.
10352 (memcmp): Set alias to __memcmp_z900.
10353 (bcmp): Set alias to __memcmp_z900.
10354 * sysdeps/s390/s390-64/multiarch/memcpy.S
10355 (memcpy_z196): Rename to __memcpy_z196.
10356 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10357 (memcpy_z10): Rename to __memcpy_z10.
10358 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10359 (memcpy): Set alias to __memcpy_z900.
10360 * sysdeps/s390/s390-64/multiarch/memset.S
10361 (memset_z196): Rename to __memset_z196.
10362 Jump to __memset_mvcle instead of memset_mvcle.
10363 (memset_z10): Rename to __memset_z10.
10364 Jump to __memset_mvcle instead of memset_mvcle.
10365 (memset_mvcle) Rename to __memset_mvcle.
10366 (memset): Set alias to __memset_z900.
10367
10368 2015-01-14 Joseph Myers <joseph@codesourcery.com>
10369
10370 [BZ #17748]
10371 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
10372 __fesetenv instead of fesetenv.
10373
10374 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10375
10376 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
10377 macro.
10378
10379 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10380
10381 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
10382 regression on LE.
10383
10384 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
10385 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
10386 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10387 strncmp-power8 object.
10388 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10389 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
10390 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
10391 * NEWS: Update.
10392
10393 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10394 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10395
10396 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
10397 trailing byte check.
10398
10399 2015-01-13 David S. Miller <davem@davemloft.net>
10400
10401 * include/signal.h (__sigreturn): Guard with __USE_MISC.
10402
10403 2015-01-13 Roland McGrath <roland@hack.frob.com>
10404
10405 * login/logout.c (logout): Use memset rather than bzero.
10406 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
10407 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
10408 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
10409 (_gethtbyaddr): Likewise.
10410 * locale/programs/simple-hash.c (bcopy): Macro removed.
10411
10412 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10413
10414 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10415 Add strcmp-power8 object.
10416 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10417 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
10418 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
10419 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
10420 __strcmp_power8 implementation.
10421 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
10422 * NEWS: Update.
10423
10424 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10425 Add strncpy-power8 and stpncpy-power8 objects.
10426 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10427 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
10428 implementations.
10429 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
10430 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
10431 __stpncpy_power8 implementation.
10432 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
10433 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
10434 __strncpy_power8 implementation.
10435 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
10436 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
10437 * NEWS: Update.
10438
10439 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
10440 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
10441 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
10442
10443 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10444 strncat-power8 object.
10445 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
10446 __strcat_power8 implementation.
10447 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10448 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
10449 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
10450 optimized strcat for power8.
10451
10452 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10453 strcpy-power8 and stpcpy-power8 objects.
10454 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10455 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
10456 implementations.
10457 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
10458 multiarch stpcpy implementation for POWER8.
10459 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
10460 multiarch strcpy implementation for POWER8.
10461 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
10462 __strcpy_power8 function.
10463 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
10464 stpcpy for POWER8.
10465 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
10466 strcpy for POWER8.
10467 * NEWS: Update.
10468
10469 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
10470
10471 [BZ #16009]
10472 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
10473 weights and rules. Use do_xfrm_cached if data fits in cache,
10474 do_xfrm otherwise. Moved former main loop to...
10475 * (do_xfrm_cached): New function.
10476 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
10477 find_idx, find_position and stack_push.
10478 * (find_idx): New function.
10479 * (find_position): Likewise.
10480 * localedata/sort-test.sh: Added test run for do_xfrm.
10481 * localedata/xfrm-test.c (main): Added command line option
10482 -nocache to run the test with strings that are too large for
10483 the STRXFRM cache.
10484
10485 2015-01-13 Torvald Riegel <triegel@redhat.com>
10486
10487 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
10488 variable to lll_futex_wake call, not the value itself.
10489
10490 2015-01-12 Joseph Myers <joseph@codesourcery.com>
10491
10492 [BZ #17803]
10493 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
10494 twom64. Adjust value to 0x1p-64L.
10495 (__scalblnl): Only return standard underflowing result for K <=
10496 -64 not K <= -63; adjust exponent for underflowing result by 64
10497 not 63.
10498 * math/libm-test.inc (scalbn_test_data): Add more tests.
10499 (scalbln_test_data): Likewise.
10500
10501 [BZ #17834]
10502 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
10503 0x1p63L.
10504 (__scalblnl): Get new exponent of adjusted subnormal value from ES
10505 not HX.
10506 * math/libm-test.inc (scalbn_test_data): Add more tests.
10507 (scalbln_test_data): Likewise.
10508
10509 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10510 Stefani Seibold <stefani@seibold.net>
10511
10512 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
10513 (sysdep_routines): Add dl-vdso here, ...
10514 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
10515 (sysdep_routines): ... not here.
10516 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
10517 fallback when vDSO is not presented.
10518 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
10519 Define with libc_hidden_proto/libc_hidden_data_def definitions.
10520 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
10521 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
10522 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
10523 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
10524 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
10525 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
10526 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
10527 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
10528 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
10529 fallback configurable symbol when vDSO is not available.
10530 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
10531 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
10532 be able to redefine fallback symbol when vDSO is not available.
10533 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
10534 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
10535
10536 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10537
10538 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
10539 (TLS_INIT_TP): Add tm_capable initialization.
10540 (TLS_DEFINE_INIT_TP): Likewise.
10541 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
10542 TCB.
10543 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
10544 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
10545 calculation.
10546 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
10547 transactoion is lock elision is built and TCB tm_capable is set.
10548 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
10549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10550 (INTERNAL_SYSCALL_NCS): Likewise.
10551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10552 (INTERNAL_SYSCALL_NCS): Likewise.
10553 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
10554
10555 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
10556 for powerpc.
10557 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10558 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
10559 and remove it for 32 bits case.
10560 [pthread_rwlock_t] (__rwelision): New field for lock elision.
10561 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
10562 initialization.
10563 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
10564 Disable lock elision with rdlocks if elision is not available.
10565
10566 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
10567 (sysdep_routines): Add lock elision objects.
10568 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10569 [pthread_mutex_t] (__spins): Rework to add lock elision field.
10570 [pthread_mutex_t] (__elision): Add field.
10571 [__PTHREAD_SPINS]: Adjust to init lock elision field.
10572 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
10573 elision definitions for powerpc.
10574 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
10575 implementation of lock elision for powerpc.
10576 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
10577 implementation of timed lock elision for powerpc.
10578 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
10579 implementation of trylock with lock elision for powerpc.
10580 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
10581 implementaion of unlock for lock elision for powerpc.
10582 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
10583 automatic enable lock elision for mutexes.
10584 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
10585 transaction execution definitions for powerpc.
10586 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
10587 definitions.
10588 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
10589 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
10590 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
10591 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
10592 * NEWS: Update.
10593
10594 2015-01-09 Roland McGrath <roland@hack.frob.com>
10595
10596 * sysdeps/posix/shm-directory.c: Use <> rather than ""
10597 for #include of <shm-directory.h>.
10598
10599 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
10600
10601 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
10602 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
10603
10604 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
10605
10606 [BZ #17791]
10607 * NEWS: Mention bug fix.
10608 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
10609 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
10610 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
10611
10612 2015-01-09 Torvald Riegel <triegel@redhat.com>
10613
10614 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
10615
10616 2015-01-09 Torvald Riegel <triegel@redhat.com>
10617
10618 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
10619
10620 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10621
10622 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
10623 pointer and cast to uintptr_t.
10624
10625 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10626
10627 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
10628 removed.
10629 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
10630
10631 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10632
10633 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
10634 of 0.
10635
10636 2015-01-08 Roland McGrath <roland@hack.frob.com>
10637
10638 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
10639 <nptl/pthreadP.h> instead.
10640 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
10641
10642 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
10643 already defined.
10644 [__SIGRTMIN] (init): Function removed.
10645 [__SIGRTMIN] (initialized): Variable removed.
10646 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
10647 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
10648 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
10649 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
10650 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
10651 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
10652 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
10653 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
10654 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
10655 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
10656 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
10657 * sysdeps/nptl/allocrtsig.c: New file.
10658 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
10659 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
10660 * sysdeps/generic/testrtsig.h: File removed.
10661
10662 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
10663 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
10664
10665 * nptl/nptl-init.c (pthread_functions): Conditionalize
10666 .ptr__nptl_setxid initialization on [SIGSETXID].
10667
10668 * sysdeps/nptl/sys/procfs.h: New file.
10669 * nptl_db/Makefile (headers): Add it.
10670 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
10671
10672 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
10673 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
10674 * nptl/pthread_attr_setaffinity.c: Include it.
10675 * nptl/pthread_setattr_default_np.c: Likewise.
10676 * nptl/check-cpuset.h: New file.
10677
10678 2015-01-08 Richard Henderson <rth@redhat.com>
10679
10680 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
10681 (CFLAGS-tst-execstack-prog.c): Likewise.
10682 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
10683
10684 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
10685 Sandra Loosemore <sandra@codesourcery.com>
10686 Andrew Jenner <andrew@codesourcery.com>
10687 Joseph Myers <joseph@codesourcery.com>
10688 Nathan Sidwell <nathan@codesourcery.com>
10689
10690 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
10691 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
10692 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
10693 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
10694 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
10695 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
10696 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
10697 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
10698 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
10699 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
10700 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
10701 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
10702 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
10703 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
10704 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
10705 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
10706 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
10707
10708 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10709
10710 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
10711 timespec struct member in syscall macro.
10712 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
10713 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
10714 first timeval struct member in syscall macro.
10715 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
10716
10717 2015-01-07 Joseph Myers <joseph@codesourcery.com>
10718
10719 [BZ #17748]
10720 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
10721 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
10722 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
10723 __feupdateenv and define as weak alias of __feupdateenv. Use
10724 libm_hidden_weak.
10725 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
10726 libm_hidden_def.
10727 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
10728 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
10729 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
10730 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
10731 libm_hidden_def.
10732 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
10733 __feupdateenv and define as weak alias of __feupdateenv. Use
10734 libm_hidden_weak.
10735 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
10736 libm_hidden_def.
10737 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
10738 __feupdateenv and define as weak alias of __feupdateenv. Use
10739 libm_hidden_weak.
10740 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
10741 libm_hidden_def.
10742 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10743 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
10744 (__feupdateenv): Likewise.
10745 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
10746 __feupdateenv and define as weak alias of __feupdateenv. Use
10747 libm_hidden_weak.
10748 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10749 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
10750 libm_hidden_def.
10751 * sysdeps/tile/math_private.h (__feupdateenv): New inline
10752 function.
10753 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
10754 libm_hidden_def.
10755 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
10756 __feupdateenv instead of feupdateenv.
10757 (default_libc_feupdateenv_test): Likewise.
10758 (libc_feresetround_ctx): Likewise.
10759
10760 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10761
10762 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
10763 prototype.
10764
10765 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
10766
10767 * posix/regcomp.c (parse_bracket_exp): Initialize type to
10768 COLL_SYM in a couple of places to avoid uninitialized variable
10769 wanings on tilegx gcc 4.8.2.
10770
10771 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
10772
10773 * sysdeps/aarch64/strcpy.S: New file.
10774 * sysdeps/aarch64/stpcpy.S: New file.
10775 * NEWS: Updated.
10776
10777 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
10778
10779 * sysdeps/aarch64/strrchr.S: New file.
10780 * NEWS: Updated.
10781
10782 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
10783
10784 [BZ #17658]
10785 * stdlib/setenv.c: Fix memory leak when setting large,
10786 duplicate string.
10787
10788 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
10789
10790 [BZ #17273]
10791 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
10792 and tabs from buffer before parsing fstab entry.
10793 * misc/tst-mntent.c (main): Add test for mount entry with
10794 trailing spaces and tabs.
10795
10796 2015-01-06 Joseph Myers <joseph@codesourcery.com>
10797
10798 [BZ #17748]
10799 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
10800 * math/fesetround.c (fesetround): Rename to __fesetround and
10801 define as weak alias of __fesetround. Use libm_hidden_weak.
10802 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
10803 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
10804 * sysdeps/arm/fesetround.c (fesetround): Likewise.
10805 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
10806 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
10807 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
10808 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
10809 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
10810 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
10811 __fesetround_inline.
10812 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
10813 __fesetround_inline instead of __fesetround.
10814 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
10815 __fesetround and define as weak alias of __fesetround. Use
10816 libm_hidden_weak. Call __fesetround_inline instead of
10817 __fesetround.
10818 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
10819 __fesetround and define as weak alias of __fesetround. Use
10820 libm_hidden_weak.
10821 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
10822 Likewise.
10823 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
10824 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10825 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
10826 * sysdeps/tile/math_private.h (__fesetround): New inline function.
10827 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
10828 __fesetround and define as weak alias of __fesetround. Use
10829 libm_hidden_weak.
10830 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
10831 __fesetround instead of fesetround.
10832 (default_libc_feholdexcept_setround): Likewise.
10833 (libc_feholdsetround_ctx): Likewise.
10834 (libc_feholdsetround_noex_ctx): Likewise.
10835
10836 [BZ #17748]
10837 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
10838 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
10839 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
10840 and define as weak alias of __fesetenv. Use libm_hidden_weak.
10841 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10842 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
10843 define as weak alias of __fesetenv. Use libm_hidden_weak.
10844 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
10845 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10846 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10847 define as weak alias of __fesetenv. Use libm_hidden_weak.
10848 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10849 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10850 define as weak alias of __fesetenv. Use libm_hidden_weak.
10851 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
10852 libm_hidden_def.
10853 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
10854 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
10855 Likewise.
10856 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10857 define as weak alias of __fesetenv. Use libm_hidden_weak.
10858 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10859 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10860 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
10861 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
10862 and define as weak alias of __fesetenv. Use libm_hidden_weak.
10863 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
10864 __fesetenv instead of fesetenv.
10865 (libc_feresetround_noex_ctx): Likewise.
10866 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
10867 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
10868 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
10869 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
10870 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
10871 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
10872 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10873 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
10874 (__feupdateenv): Likewise.
10875 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10876 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10877 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10878 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
10879
10880 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
10881
10882 [BZ #17806]
10883 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
10884 addresses have been freed.
10885
10886 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
10887
10888 * resolv/res_init.c (__res_vinit): Improve comments about nserv
10889 and nservall.
10890
10891 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
10892
10893 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
10894 Clean up check_pf allocation pattern. addresses
10895
10896 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10897
10898 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
10899 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
10900 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
10901 * nptl/pthread_exit.c (__pthread_exit): Likewise.
10902 * nptl/pthread_join.c (pthread_join): Likewise.
10903 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
10904 * sysdeps/posix/waitid.c (__waitid): Likewise.
10905 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
10906 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
10907 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
10908 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
10909 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
10910 Likewise.
10911 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
10912 (__libc_pread64): Likewise.
10913 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
10914 (__libc_pwrite): Likewise.
10915 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
10916 (__libc_pwrite64): Likewsie.
10917 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
10918 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
10919 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
10920 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
10921 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
10922 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
10923 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
10925 Likewise.
10926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10927 (__libc_pread64): Likewise.
10928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
10929 Likewise.
10930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10931 (__libc_pwrite64): Likewise.
10932 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
10933 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
10934 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
10935 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
10936 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
10937 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
10938 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
10939 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
10940 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
10941 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
10942 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
10943 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
10944 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
10945 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
10946 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
10947 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
10948 Likewise.
10949
10950 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
10951
10952 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
10953 (CFLAGS-test-double.c): Likewise.
10954 (CFLAGS-test-ldouble.c): Likewise.
10955 (CPPFLAGS-test-ifloat.c): Likewise.
10956 (CPPFLAGS-test-idouble.c): Likewise.
10957 (CPPFLAGS-test-ildoubl.c): Likewise.
10958 (CFLAGS-test-test-fenv.c): Remove variable.
10959 (CFLAGS-test-misc.c): Likewise.
10960
10961 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
10962
10963 [BZ #17797]
10964 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
10965 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
10966 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
10967 CLOCKS_PER_SEC == 1000000.
10968 * time/clocktest.c (main): Replace %ld with %jd and cast to
10969 intmax_t.
10970
10971 2015-01-05 Roland McGrath <roland@hack.frob.com>
10972
10973 * sysdeps/generic/unwind-resume.h: New file.
10974 * sysdeps/gnu/unwind-resume.c: Include it.
10975 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
10976 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
10977 argument list.
10978 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
10979 global rather than static.
10980 (_Unwind_Resume): Update user.
10981 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
10982 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
10983 rather than static. Add __attribute__ ((cold)).
10984 (_Unwind_Resume, __gcc_personality_v0): Update callers.
10985 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
10986 * sysdeps/arm/arm-unwind-resume.S: New file.
10987 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
10988 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
10989 * sysdeps/arm/Makefile [$(subdir) = csu]
10990 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
10991 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10992 Add rt-arm-unwind-resume.
10993 [$(subdir) = nptl]
10994 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10995 Add pt-arm-unwind-resume.
10996 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
10997 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
10998
10999 2015-01-05 Joseph Myers <joseph@codesourcery.com>
11000
11001 [BZ #17748]
11002 * include/fenv.h (__feholdexcept): Declare. Use
11003 libm_hidden_proto.
11004 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
11005 define as weak alias of __feholdexcept. Use libm_hidden_weak.
11006 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11007 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
11008 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
11009 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
11010 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
11011 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11012 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
11013 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
11014 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11015 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
11016 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
11017 (feholdexcept): Likewise.
11018 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11019 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11020 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11021 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11022 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
11023 __feholdexcept instead of feholdexcept.
11024 (default_libc_feholdexcept_setround): Likewise.
11025
11026 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
11027
11028 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
11029 to avoid using stl/str to align destination.
11030
11031 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
11032
11033 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
11034
11035 2015-01-05 Joseph Myers <joseph@codesourcery.com>
11036
11037 [BZ #17796]
11038 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
11039 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
11040 Define as weak alias not strong alias.
11041
11042 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
11043
11044 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
11045 bltzal with addiupc.
11046 (RTLD_START): Ditto.
11047
11048 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
11049
11050 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
11051 for __vdso_* functions in declarations.
11052 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
11053 definitions.
11054 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
11055 INTERNAL_VSYSCALL): Use struct return types to check for error.
11056
11057 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
11058 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
11059 function with cast from llround().
11060 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
11061 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
11062 Define.
11063
11064 2015-01-05 Joseph Myers <joseph@codesourcery.com>
11065
11066 [BZ #17793]
11067 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
11068 Define as weak alias not strong alias.
11069
11070 [BZ #17635]
11071 * ctype/ctype-c99.c: New file. isblank implementation moved from
11072 ...
11073 * ctype/ctype-extn.c: ... here.
11074 (__isblank_l): Move to ...
11075 * ctype/ctype-c99_l.c: ... here. New file.
11076 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
11077 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
11078 Remove variable.
11079 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
11080 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
11081 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
11082 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
11083 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11084
11085 [BZ #17777]
11086 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
11087 (posix_fadvise64): Define as weak alias not strong alias.
11088 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11089 (posix_fallocate64): Likewise.
11090 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
11091 Remove variable.
11092 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
11093 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
11094 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
11095 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
11096 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
11097
11098 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
11099
11100 [BZ #16191]
11101 * NEWS: Mention bug fix.
11102 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
11103 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
11104 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
11105 (HOST_STACK_END_ADDR): Likewise.
11106
11107 2015-01-02 Joseph Myers <joseph@codesourcery.com>
11108
11109 [BZ #17748]
11110 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
11111 * math/fegetround.c (fegetround): Rename to __fegetround and
11112 define as weak alias of __fegetround. Use libm_hidden_weak.
11113 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
11114 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
11115 * sysdeps/arm/fegetround.c (fegetround): Likewise.
11116 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
11117 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11118 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
11119 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
11120 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
11121 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11122 Undefine after rather than before function definition; use
11123 parentheses around function name in definition.
11124 (__fegetround): Also undefine macro after function definition.
11125 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
11126 __fegetround and define as weak alias of __fegetround. Use
11127 libm_hidden_weak. Do not undefine as macro.
11128 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11129 Likewise.
11130 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
11131 __fegetround and define as weak alias of __fegetround. Use
11132 libm_hidden_weak.
11133 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11134 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11135 * sysdeps/tile/math_private.h (__fegetround): New inline function.
11136 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
11137 __fegetround and define as weak alias of __fegetround. Use
11138 libm_hidden_weak.
11139 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
11140 __fegetround instead of fegetround.
11141
11142 [BZ #17782]
11143 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
11144 Condition macro definition on [__USE_MISC].
11145
11146 [BZ #17781]
11147 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
11148 (struct sigaction): Change type of sa_flags field to int.
11149
11150 [BZ #17780]
11151 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
11152 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
11153 __glibc_reserved0.
11154
11155 * nptl/version.c (banner): Use single year in copyright notice.
11156
11157 * NEWS: Update copyright dates.
11158 * catgets/gencat.c (print_version): Likewise.
11159 * csu/version.c (banner): Likewise.
11160 * debug/catchsegv.sh: Likewise.
11161 * debug/pcprofiledump.c (print_version): Likewise.
11162 * debug/xtrace.sh (do_version): Likewise.
11163 * elf/ldconfig.c (print_version): Likewise.
11164 * elf/ldd.bash.in: Likewise.
11165 * elf/pldd.c (print_version): Likewise.
11166 * elf/sotruss.sh: Likewise.
11167 * elf/sprof.c (print_version): Likewise.
11168 * iconv/iconv_prog.c (print_version): Likewise.
11169 * iconv/iconvconfig.c (print_version): Likewise.
11170 * locale/programs/locale.c (print_version): Likewise.
11171 * locale/programs/localedef.c (print_version): Likewise.
11172 * login/programs/pt_chown.c (print_version): Likewise.
11173 * malloc/memusage.sh (do_version): Likewise.
11174 * malloc/memusagestat.c (print_version): Likewise.
11175 * malloc/mtrace.pl: Likewise.
11176 * manual/libc.texinfo: Likewise.
11177 * nptl/version.c (banner): Likewise.
11178 * nscd/nscd.c (print_version): Likewise.
11179 * nss/getent.c (print_version): Likewise.
11180 * nss/makedb.c (print_version): Likewise.
11181 * posix/getconf.c (main): Likewise.
11182 * scripts/test-installation.pl: Likewise.
11183 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11184
11185 2015-01-02 Will Newton <will.newton@linaro.org>
11186
11187 * sysdeps/arm/armv7/configure: Removed.
11188 * sysdeps/arm/armv7/configure.ac: Likewise.
11189
11190 2015-01-02 Joseph Myers <joseph@codesourcery.com>
11191
11192 * All files with FSF copyright notices: Update copyright dates
11193 using scripts/update-copyrights.
11194 * intl/plural.c: Regenerated.
11195 * locale/programs/charmap-kw.h: Likewise.
11196 * locale/programs/locfile-kw.h: Likewise.
11197
11198 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11199
11200 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
11201
11202 2014-12-31 Joseph Myers <joseph@codesourcery.com>
11203
11204 [BZ #17748]
11205 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
11206 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
11207 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
11208 and define as weak alias of __fegetenv. Use libm_hidden_weak.
11209 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11210 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
11211 define as weak alias of __fegetenv. Use libm_hidden_weak.
11212 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
11213 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11214 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11215 define as weak alias of __fegetenv. Use libm_hidden_weak.
11216 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11217 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11218 define as weak alias of __fegetenv. Use libm_hidden_weak.
11219 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
11220 libm_hidden_def.
11221 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
11222 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
11223 Likewise.
11224 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11225 define as weak alias of __fegetenv. Use libm_hidden_weak.
11226 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11227 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11228 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
11229 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
11230 and define as weak alias of __fegetenv. Use libm_hidden_weak.
11231 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
11232 __fegetenv instead of fegetenv.
11233 (libc_feholdsetround_noex_ctx): Likewise.
11234
11235 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
11236
11237 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
11238 (Elf_MIPS_ABIFlags_v0): New structure.
11239 (EF_MIPS_FP64): Define.
11240 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
11241 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
11242 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
11243 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
11244 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
11245 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
11246 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
11247 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
11248 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
11249 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
11250 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
11251 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
11252 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
11253 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
11254 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
11255 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
11256 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
11257 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
11258 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
11259 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
11260 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
11261 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
11262 field.
11263 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
11264 EF_MIPS_FP64.
11265 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
11266 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
11267 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
11268 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
11269 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
11270 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
11271 * sysdeps/mips/tst-abi-interlink.c: Likewise.
11272 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
11273 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
11274 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
11275 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
11276 record the current FP ABI extension.
11277 (mips-mode-switch): Define to show if kernel headers support mode
11278 switching.
11279 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11280 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
11281 supported SYSV ABI version to 3.
11282 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
11283 feature.
11284
11285 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11286 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11287
11288 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
11289 path.
11290 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
11291
11292 2014-12-31 Joseph Myers <joseph@codesourcery.com>
11293
11294 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
11295 __fegetround and redefine to call __fegetround. Remove condition
11296 on [!__NO_MATH_INLINES].
11297 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
11298 function.
11299 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
11300 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11301 Remove macro.
11302 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
11303 instead of <fenv_libc.h>.
11304 (__llrintl): Call fegetround instead of __fegetround.
11305 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
11306 instead of <fenv_libc.h>.
11307 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11308 (__lrintl): Call fegetround instead of __fegetround.
11309 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
11310 instead of <fenv_libc.h>.
11311 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11312 (__rintl): Call fegetround instead of __fegetround.
11313
11314 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11315
11316 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
11317 arrays.
11318
11319 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
11320
11321 [BZ #17775]
11322 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
11323 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
11324 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
11325
11326 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
11327
11328 * sysdeps/i386/tls-macros.h: Include <features.h>.
11329 (TLS_LE): Use non-PIC version for GCC >= 5.0.
11330 (TLS_IE): Likewise.
11331 (TLS_LD): Likewise.
11332 (TLS_GD): Likewise.
11333 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
11334 define for GCC >= 5.0.
11335
11336 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
11337
11338 * math/test-fenv.c (test_single_exception, set_single_exc,
11339 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
11340 feexcp_mask_test, feenable_test, fe_single_test): Add
11341 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
11342 case where they are not used.
11343 * math/libm-test.inc: Likewise.
11344 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
11345 unused in the absence of FP rounding/exception support.
11346 * stdio-common/tst-printf-round.c: Likewise.
11347 * stdlib/tst-strtod-round.c: Likewise.
11348 * stdlib/tst-strtod-underflow.c: Likewise.
11349
11350 2014-12-30 Joseph Myers <joseph@codesourcery.com>
11351
11352 [BZ #17723]
11353 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
11354 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
11355 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11356 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11357 libm_hidden_weak.
11358 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
11359 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
11360 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
11361 libm_hidden_def.
11362 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11363 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11364 libm_hidden_weak.
11365 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
11366 Likewise.
11367 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
11368 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11369 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11370 libm_hidden_weak.
11371 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
11372 libm_hidden_def.
11373 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11374 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
11375 (__feraiseexcept): Likewise.
11376 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11377 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11378 libm_hidden_weak.
11379 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
11380 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
11381 libm_hidden_def.
11382 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
11383 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
11384 Use libm_hidden_def.
11385 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
11386 libm_hidden_def.
11387 (feraiseexcept): Define as weak not strong alias. Use
11388 libm_hidden_weak.
11389 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
11390 New inline function. Factored out of ...
11391 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
11392 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
11393 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
11394 feraiseexcept.
11395 * math/w_acos.c (__acos): Likewise.
11396 * math/w_asin.c (__asin): Likewise.
11397 * math/w_ilogb.c (__ilogb): Likewise.
11398 * math/w_j0.c (y0): Likewise.
11399 * math/w_j1.c (y1): Likewise.
11400 * math/w_jn.c (yn): Likewise.
11401 * math/w_log.c (__log): Likewise.
11402 * math/w_log10.c (__log10): Likewise.
11403 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
11404 * sysdeps/aarch64/fpu/math_private.h
11405 (libc_feupdateenv_test_aarch64): Likewise.
11406 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
11407 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
11408 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
11409 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
11410 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
11411 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
11412 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
11413 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11414 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11415 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11416
11417 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
11418
11419 [BZ #17732]
11420 * io/test-utime.c (main): Replace %ld with %jd and cast to
11421 intmax_t.
11422 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
11423 * nptl/tst-mutex5.c: Include <stdint.h>.
11424 (do_test): Replace %ld with %jd and cast to intmax_t.
11425 * posix/tst-regex.c (run_test): Likewise.
11426 (run_test_backwards): Likewise.
11427 * rt/tst-clock.c: Include <stdint.h>.
11428 (clock_test): Replace %ld with %jd and cast to intmax_t.
11429 * rt/tst-cpuclock1.c: Include <stdint.h>.
11430 (do_test): Replace %lu with %ju and cast to uintmax_t.
11431 * rt/tst-cpuclock2.c: Include <stdint.h>.
11432 (do_test): Replace %lu with %ju and cast to uintmax_t.
11433 * rt/tst-mqueue1.c: Include <stdint.h>.
11434 (check_attrs): Replace %ld with %jd and cast to intmax_t.
11435 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
11436 intmax_t.
11437 * rt/tst-mqueue4.c (do_test): Likewise.
11438 * rt/tst-timer4.c: Include <stdint.h>.
11439 (check_ts): Replace %ld with %jd and cast to intmax_t.
11440 (do_test): Likewise.
11441 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
11442 and cast to intmax_t.
11443 * sysdeps/pthread/tst-timer.c (main): Likewise.
11444 * time/clocktest.c (main): Likewise.
11445 * time/tst-posixtz.c (do_test): Likewise.
11446 * timezone/tst-timezone.c (main): Likewise.
11447
11448 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
11449 H.J. Lu <hongjiu.lu@intel.com>
11450
11451 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
11452 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
11453 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
11454 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
11455 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
11456 version if bit_Fast_Unaligned_Load is set.
11457 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11458 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11459 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11460 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11461 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11462 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11463 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11464 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
11465 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
11466 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
11467 to 4.
11468 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
11469 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
11470 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
11471 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
11472
11473 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
11474
11475 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
11476 instead of #if to avoid a Wundef warning.
11477 * stdlib/tst-limits.c (do_test): Likewise.
11478
11479 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
11480 parallel other exception macros.
11481 (fegetenv): Convert from macro to extern inline so that it applies
11482 retroactively to inline functions already seen by the compiler.
11483 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
11484
11485 * posix/Makefile (before-compile): Use $(objpfx) for
11486 posix-conf-vars-def.h.
11487
11488 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11489
11490 * posix/getconf.c (main): Use size_t for type of I.
11491 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
11492 NSPEC.
11493
11494 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
11495 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
11496 * posix/posix-envs.def: Likewise.
11497 * sysdeps/posix/sysconf.c: Likewise.
11498 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
11499 (specs): Remove array.
11500 * scripts/gen-posix-conf-vars.awk: Support generation of specs
11501 array.
11502
11503 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
11504 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
11505 (__sysconf): Use CONF_IS_* macros.
11506
11507 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
11508 ($(objpfx)posix-conf-vars-def.h): New target.
11509 * posix/posix-conf-vars.list: New file.
11510 * posix/posix-conf-vars.h: New file.
11511 * posix/confstr.c: Include posix-conf-vars.h.
11512 (confstr): Use CONF_IS_* macros.
11513 * posix/posix-envs.def: Include posix-conf-vars.h. Use
11514 CONF_IS_* macros.
11515 * scripts/gen-posix-conf-vars.awk: New file.
11516
11517 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
11518
11519 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
11520 fegetround): Add no-op macros to avoid linknamespace issues.
11521
11522 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
11523 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
11524
11525 * sysdeps/unix/sysv/linux/tile/sysdep.h
11526 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
11527 assembly-specific section to avoid a redefinition warning.
11528
11529 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
11530 long before casting to pointer to avoid a cast warning.
11531
11532 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
11533
11534 * sysdeps/tile/tilegx/Implies: New file.
11535
11536 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
11537
11538 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
11539
11540 2014-12-23 Florian Weimer <fweimer@redhat.com>
11541
11542 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
11543
11544 2014-12-22 Joseph Myers <joseph@codesourcery.com>
11545
11546 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
11547 not define.
11548 * sysdeps/unix/sysv/linux/utimes.c: Do not include
11549 <kernel-features.h>.
11550 (__utimes) [__NR_utimes]: Make code unconditional.
11551 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
11552 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11553 (__ASSUME_UTIMES): Do not undefine.
11554 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11555 (__ASSUME_UTIMES): Likewise.
11556 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11557 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
11558 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
11559 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
11560
11561 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
11562
11563 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
11564
11565 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
11566
11567 [BZ #17747]
11568 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
11569 alias to weak alias for j0l, y0l.
11570 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
11571 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
11572
11573 [BZ #17746]
11574 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
11575 conversion.
11576
11577 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
11578
11579 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
11580 to zero if not already defined.
11581
11582 2014-12-22 Joseph Myers <joseph@codesourcery.com>
11583
11584 [BZ #17724]
11585 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
11586 (__kernel_standard_f): Remove. Moved to k_standardf.c.
11587 (__kernel_standard_l): Remove. Moved to k_standardl.c with
11588 (char *) casts added.
11589 * sysdeps/ieee754/k_standardf.c: New file.
11590 * sysdeps/ieee754/k_standardl.c: Likewise.
11591 * math/Makefile (libm-support): Remove k_standard.
11592 (libm-calls): Add k_standard.
11593
11594 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11595
11596 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11597 Optimize to avoid an unnecessary FPCR read.
11598
11599 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11600
11601 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
11602 Optimize to reduce FPCR/FPSR accesses.
11603
11604 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11605
11606 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
11607 Call libc_fetestexcept_aarch64.
11608
11609 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11610
11611 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
11612 Call libc_fesetround_aarch64.
11613
11614 2014-12-22 Joseph Myers <joseph@codesourcery.com>
11615
11616 [BZ #17733]
11617 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
11618 (__bind): Do not define as weak alias.
11619 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
11620 define.
11621 (__getsockname): Do not define as weak alias.
11622
11623 2014-12-22 Will Newton <will.newton@linaro.org>
11624
11625 * manual/install.texi: Document that we require bison 2.7
11626 or above.
11627 * INSTALL: Regenerate.
11628 * configure.ac: Use AC_CHECK_PROG_VER instead of
11629 AC_PATH_PROG when checking for bison and check for
11630 version 2.7 or above.
11631 * configure: Regenerate.
11632
11633 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
11634
11635 [BZ #17745]
11636 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
11637 * sysdeps/tile/ffsll.c (ffsll): To here.
11638
11639 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
11640
11641 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
11642
11643 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
11644 if not defined.
11645 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
11646 definition.
11647 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
11648 hidden ___tls_get_addr.
11649 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
11650 hidden __tls_get_addr.
11651 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
11652 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
11653 Likewise.
11654
11655 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
11656
11657 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
11658 _dl_init call.
11659
11660 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
11661
11662 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
11663 from "call _dl_init@PLT".
11664 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
11665
11666 2014-12-21 Anders Kaseorg <andersk@mit.edu>
11667
11668 * manual/search.texi: (Array Sort Function): Clarify stable sorting
11669 guarantees.
11670
11671 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
11672
11673 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
11674
11675 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
11676
11677 [BZ #17744]
11678 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
11679 strnlen.
11680
11681 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
11682
11683 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
11684 of multu on MIPSr6.
11685 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
11686 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
11687 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
11688 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
11689 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
11690
11691 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
11692
11693 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
11694 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
11695 (PTR_SUBU): Use subu for mips32r6/mips64r6.
11696 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
11697 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
11698 mips32r6/mips64r6.
11699 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
11700
11701 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
11702
11703 * string/strncat.c (STRNCAT): Simplify implementation.
11704
11705 2014-12-19 David S. Miller <davem@davemloft.net>
11706
11707 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
11708 access the quad as both a long double and as a series of 4 words.
11709
11710 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
11711 link_map->l_info array access.
11712
11713 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
11714
11715 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
11716
11717 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
11718 * math/atest-exp2.c (TIMEOUT): Likewise.
11719 * math/atest-sincos.c (TIMEOUT): Likewise.
11720
11721 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11722
11723 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
11724 -Wno-error with -fno-builtin-lround.
11725
11726 2014-12-19 Torvald Riegel <triegel@redhat.com>
11727
11728 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
11729 Contains futex constants and functions moved over from ...
11730 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
11731 <lowlevellock-futex.h>.
11732 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
11733 (lll_timedwait_tid): Add comments and parentheses around macro
11734 arguments.
11735
11736 2014-12-19 Torvald Riegel <triegel@redhat.com>
11737
11738 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
11739 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
11740 (__lll_private_flag): Remove.
11741 (lll_futex_wait): Likewise.
11742 (lll_futex_timed_wait): Likewise.
11743 (lll_futex_wake): Likewise.
11744 (lll_futex_requeue): Likewise.
11745 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
11746 (__lll_timedwait_tid): Spell out argument names.
11747 (lll_timedwait_tid): Add comments and parentheses around macro
11748 arguments.
11749 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
11750 LLL_SHARED and LLL_PRIVATE usable from assembly code.
11751
11752 2014-12-19 Torvald Riegel <triegel@redhat.com>
11753
11754 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
11755 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
11756 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11757 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
11758 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
11759 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
11760 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
11761 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
11762 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
11763 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
11764 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
11765 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
11766 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
11767 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
11768 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
11769 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
11770 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
11771 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
11772 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
11773
11774 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11775
11776 * sysdeps/x86_64/x32/Makefile: New file.
11777
11778 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11779
11780 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
11781 1L with (mp_limb_t) 1.
11782
11783 2014-12-17 Roland McGrath <roland@hack.frob.com>
11784
11785 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
11786 * nptl/libc_pthread_init.c: ... here.
11787 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
11788 * nptl/register-atfork.c: ... here.
11789
11790 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
11791 Use pthread_sigmask rather than INTERNAL_SYSCALL.
11792 Use assert_perror to check its return value.
11793 (__gai_create_helper_thread): Likewise.
11794
11795 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
11796
11797 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
11798
11799 2014-12-17 Joseph Myers <joseph@codesourcery.com>
11800
11801 [BZ #17725]
11802 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
11803 __profil_counter.
11804 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
11805 Likewise.
11806 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
11807 Likewise.
11808 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
11809 Likewise.
11810 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
11811 (profil_counter): Likewise.
11812 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
11813 (profil_counter): Likewise.
11814 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
11815 Likewise.
11816 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
11817 Likewise.
11818 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
11819 (profil_counter): Likewise.
11820 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
11821 Likewise.
11822 [!__profil_counter] (profil_counter): Define as weak alias of
11823 __profil_counter.
11824 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
11825 (profil_counter): Rename to __profil_counter.
11826 [!__profil_counter] (profil_counter): Define as weak alias of
11827 __profil_counter.
11828 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
11829 (profil_counter): Rename to __profil_counter.
11830 [!__profil_counter] (profil_counter): Define as weak alias of
11831 __profil_counter.
11832 * sysdeps/posix/profil.c: Update comment referring to
11833 profil_counter.
11834 (__profil): Use __profil_counter instead of profil_counter.
11835 * sysdeps/posix/sprofil.c (profil_counter): Rename to
11836 __profil_counter. Use __profil_counter_ushort and
11837 __profil_counter_uint in definitions.
11838 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
11839 instead of profil_counter_uint and profil_counter_ushort.
11840
11841 [BZ #17722]
11842 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
11843 define as weak alias of __inet_makeaddr.
11844 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
11845 as weak alias of __inet_addr.
11846 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
11847 as weak alias of __inet_pton. Use libc_hidden_weak.
11848 * include/arpa/inet.h (__inet_pton): Declare. Use
11849 libc_hidden_proto.
11850 (inet_makeaddr): Don't use libc_hidden_proto.
11851 (__inet_makeaddr): Declare. Use libc_hidden_proto.
11852 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
11853 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
11854 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
11855 Remove variable.
11856 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11857 (test-xfail-POSIX/time.h/linknamespace): Likewise.
11858
11859 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
11860
11861 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
11862
11863 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
11864
11865 * stdio-common/bug-vfprintf-nargs.c (do_test):
11866 Cast value to intptr_t to avoid format warning
11867 for usage with PRIdPTR printing macro.
11868
11869 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
11870
11871 * libio/tst-widetext.c (do_test):
11872 Use format type %td instead of %Zd for ptrdiff_t
11873 in order to avoid format warning.
11874
11875 2014-12-17 Andreas Schwab <schwab@suse.de>
11876
11877 * nscd/mem.c (gc): Add size_t cast to match printf format.
11878
11879 2014-12-16 Roland McGrath <roland@hack.frob.com>
11880
11881 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
11882 (init): Apply PTR_MANGLE to pointers before storing them.
11883 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
11884 before using them.
11885
11886 2014-12-16 Joseph Myers <joseph@codesourcery.com>
11887
11888 [BZ #17719]
11889 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
11890 define as weak alias of __memrchr.
11891 (__memrchr): Do not define as strong alias of memrchr.
11892 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
11893 Remove variable.
11894 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
11895 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11896 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11897
11898 [BZ #17717]
11899 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
11900 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
11901 (if_indextoname): Rename to __if_indextoname and define as weak
11902 alias of __if_indextoname. Use libc_hidden_weak.
11903 (if_freenameindex): Rename to __if_freenameindex and define as
11904 weak alias of __if_freenameindex.
11905 (if_nameindex): Rename to __if_nameindex and define as weak alias
11906 of __if_nameindex.
11907 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
11908 __if_nametoindex and define as weak alias of __if_nametoindex.
11909 Use libc_hidden_weak.
11910 (if_freenameindex): Rename to __if_freenameindex and define as
11911 weak alias of __if_freenameindex.
11912 (if_nameindex): Rename to __if_nameindex and define as weak alias
11913 of __if_nameindex.
11914 (if_indextoname): Rename to __if_indextoname and define as weak
11915 alias of __if_indextoname. Use libc_hidden_weak.
11916 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
11917 __if_nametoindex and define as weak alias of __if_nametoindex.
11918 Use libc_hidden_weak.
11919 (if_freenameindex): Rename to __if_freenameindex and define as
11920 weak alias of __if_freenameindex. Use libc_hidden_weak.
11921 (if_nameindex_netlink): Use __if_freenameindex instead of
11922 if_freenameindex.
11923 (if_nameindex): Rename to __if_nameindex and define as weak alias
11924 of __if_nameindex. Use libc_hidden_weak.
11925 (if_indextoname): Rename to __if_indextoname and define as weak
11926 alias of __if_indextoname. Use libc_hidden_weak.
11927 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
11928 libc_hidden_proto.
11929 [!_ISOMAC] (__if_freenameindex): Likewise.
11930 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
11931 if_nametoindex.
11932 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
11933 variable.
11934 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11935 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11936 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11937 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11938 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11939 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11940 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11941
11942 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
11943 Remove variable.
11944 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11945 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11946
11947 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11948
11949 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
11950 subscript above bounds'
11951
11952 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
11953 bounds.
11954
11955 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
11956
11957 * libio/tst-fopenloc.c: Use test-skeleton.c.
11958
11959 * stdlib/tst-bsearch.c: Use test-skeleton.c.
11960 (entry): Rename to ITEM.
11961 (do_test, comp): Adjust.
11962
11963 * stdio-common/tst-fseek.c: Use test-skeleton.c.
11964
11965 2014-12-16 Torvald Riegel <triegel@redhat.com>
11966
11967 * string/tester.c: Include <libc-internal.h>.
11968 (test_memset): Ignore -Wmemset-transposed-args.
11969
11970 2014-12-16 Torvald Riegel <triegel@redhat.com>
11971
11972 * misc/tst-mntent2.c (do_test): Fix warning.
11973
11974 2014-12-16 Torvald Riegel <triegel@redhat.com>
11975
11976 * elf/tst-unique4lib.cc(a): Mark as used.
11977
11978 2014-12-16 Florian Weimer <fweimer@redhat.com>
11979
11980 [BZ #17630]
11981 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
11982 names.
11983
11984 2014-12-16 Allan McRae <allan@archlinux.org>
11985
11986 * stdio-common/Makefile (tests): Re-add bug26.
11987
11988 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
11989
11990 [BZ #17657]
11991 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
11992 static array.
11993
11994 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
11995
11996 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
11997 (__lll_lock_wait): Likewise.
11998 (__lll_timedlock_wait): Likewise.
11999 (__lll_timedwait_tid): Likewise.
12000 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
12001 (__lll_robust_timedlock_wait): Likewise.
12002 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
12003 (lll_cond_trylock): Likewise.
12004 (__lll_lock): Likewise.
12005 (__lll_robust_lock): Likewise.
12006 (__lll_cond_lock): Likewise.
12007 (lll_robust_cond_lock): Likewise.
12008 (__lll_timedlock): Likewise.
12009 (__lll_robust_timedlock): Likewise.
12010 (__lll_unlock): Likewise.
12011 (__lll_robust_unlock): Likewise.
12012 (lll_wait_tid): Likewise.
12013 (lll_timedwait_tid): Likewise.
12014
12015 2014-12-15 Torvald Riegel <triegel@redhat.com>
12016
12017 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
12018
12019 2014-12-15 Torvald Riegel <triegel@redhat.com>
12020
12021 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
12022
12023 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
12024
12025 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
12026 * stdio-common/tst-sprintf.c: Likewise.
12027
12028 2014-12-15 Torvald Riegel <triegel@redhat.com>
12029
12030 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
12031
12032 2014-12-15 Jeff Law <law@redhat.com>
12033
12034 [BZ #16617]
12035 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
12036 on the heap. (CVE-2012-3406)
12037 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
12038 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
12039 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
12040
12041 2014-12-15 Will Newton <will.newton@linaro.org>
12042
12043 * manual/install.texi: Bump required version of texinfo
12044 to 4.7 from 4.5.
12045 * INSTALL: Regenerated.
12046 * configure.ac: Check for makeinfo version 4.7 and above.
12047 * configure: Regenerated.
12048
12049 2014-12-12 Roland McGrath <roland@hack.frob.com>
12050
12051 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
12052 PREFIX, string constant to insert between directory and name.
12053 * sysdeps/posix/shm_open.c: Update caller.
12054 * sysdeps/posix/shm_unlink.c: Likewise.
12055 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
12056 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
12057 (SEM_SHM_PREFIX): New macro.
12058 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
12059 [$(have-thread-library) = no].
12060 * nptl/Makefile (libpthread-routines): Add shm-directory.
12061 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
12062 * sysdeps/nptl/shm-directory.h: New file.
12063 * sysdeps/posix/shm-directory.c
12064 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
12065 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
12066 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
12067 INTERNAL_SYSCALL.
12068 (__where_is_shmfs): Function removed.
12069 (mountpoint, defaultmount, defaultdir, __namedsem_once):
12070 Variables removed.
12071 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
12072 Use SHM_GET_NAME.
12073 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
12074
12075 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
12076 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
12077 unconditional for use inside libpthread.
12078 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
12079
12080 2014-12-12 Roland McGrath <roland@hack.frob.com>
12081
12082 * nptl/pthread_getaffinity.c: New file.
12083 * nptl/pthread_setaffinity.c: New file.
12084 * nptl/pthread_getname.c: New file.
12085 * nptl/pthread_setname.c: New file.
12086
12087 * nptl/pthread_create.c (START_THREAD_DEFN)
12088 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
12089
12090 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12091 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12092
12093 * resolv/res_send.c (send_vc): Disable warning resplen may
12094 be used uninitialized.
12095
12096 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12097
12098 * nptl/tst-mutex6.c
12099 (ATTR_NULL): New define checks ATTR against NULL.
12100 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
12101 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
12102
12103 2014-12-11 James Lemke <jwlemke@codesourcery.com>
12104
12105 [BZ #17581]
12106 * malloc/hooks.c
12107 (mem2mem_check): Revert my previous change.
12108 (malloc_check_get_size): Revert my previous change.
12109 (mem2chunk_check): Revert my previous change.
12110
12111 2014-12-11 Roland McGrath <roland@hack.frob.com>
12112
12113 * sysdeps/posix/shm-directory.c: New file.
12114 * sysdeps/posix/shm-directory.h: New file.
12115 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
12116 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
12117 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
12118 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
12119 Transmute EPERM to EACCES.
12120 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
12121 from ...
12122 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
12123 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
12124
12125 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12126
12127 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
12128 pointer and cast to uintptr_t.
12129 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
12130 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
12131 Add cast to avoid warning.
12132 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
12133
12134 2014-12-11 Joseph Myers <joseph@codesourcery.com>
12135
12136 * nptl/semaphore.h: Move to ...
12137 * sysdeps/pthread/semaphore.h: ... here.
12138 * Makefile (installed-headers): Change nptl/semaphore.h to
12139 sysdeps/pthread/semaphore.h.
12140
12141 2014-12-11 Roland McGrath <roland@hack.frob.com>
12142
12143 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
12144 generated error format strings.
12145
12146 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
12147 -Wformat-extra-args warnings for scanf formats.
12148 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
12149 test of zero-length format (duh).
12150 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
12151 corner-case scanf format test.
12152 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
12153 generated fprintf format string.
12154 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
12155 corner-case sprintf format tests.
12156 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
12157 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
12158 -Wformat-extra-args warnings throughout.
12159 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
12160 (CFLAGS-scanf4.c): Likewise.
12161 (CFLAGS-scanf7.c): Likewise.
12162 (CFLAGS-tst-sprintf.c): Likewise.
12163 (CFLAGS-tst-printf.c): Likewise.
12164 (CFLAGS-tst-printfsz.c): Likewise.
12165
12166 2014-12-11 Joseph Myers <joseph@codesourcery.com>
12167
12168 * include/cpio.h: New file.
12169 * include/fmtmsg.h: Likewise.
12170
12171 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
12172 corresponding format argument to size_t.
12173 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
12174 arguments.
12175 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
12176 corresponding format argument to size_t.
12177 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
12178 arguments.
12179 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
12180 corresponding format argument to size_t.
12181 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
12182 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
12183 (CFLAGS-tst-mbswcs2.c): Likewise.
12184 (CFLAGS-tst-mbswcs3.c): Likewise.
12185 (CFLAGS-tst-mbswcs4.c): Likewise.
12186 (CFLAGS-tst-mbswcs5.c): Likewise.
12187 (CFLAGS-tst-trans.c): Likewise
12188
12189 2014-12-11 Roland McGrath <roland@hack.frob.com>
12190
12191 * posix/regexbug1.c (main): Use "%s" format with regerror results,
12192 rather than assuming they won't contain any '%'s.
12193
12194 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
12195
12196 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
12197 inhibit_loop_to_libcall to avoid recursive calls.
12198 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
12199 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
12200
12201 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
12202
12203 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
12204 prototype.
12205
12206 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
12207
12208 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
12209 integer value instead of boolean.
12210
12211 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
12212
12213 * malloc/malloc.c: Fix powerof2 check.
12214
12215 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12216
12217 * locale/programs/locfile.h (maybe_swap_uint32):
12218 Remove inline and add unused attribute.
12219
12220 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12221
12222 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
12223 Truncating assembler expression to a .long expression.
12224
12225 2014-12-11 Andreas Schwab <schwab@suse.de>
12226
12227 * elf/rtld.c (struct map_args): Constify str member.
12228 (do_preload): Constify fname argument.
12229
12230 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12231
12232 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
12233 constants definition.
12234
12235 2014-12-11 Andreas Schwab <schwab@suse.de>
12236
12237 [BZ #16657]
12238 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
12239 FORCE_ELISION instead of DO_ELISION.
12240 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
12241 Remove.
12242 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
12243 Likewise.
12244
12245 * iconvdata/gconv-modules: Remove duplicate entry.
12246
12247 2014-12-11 Will Newton <will.newton@linaro.org>
12248
12249 Merge gettext 0.19.3 into intl/.
12250
12251 This involves a number of cosmetic changes to comments
12252 and ANSI function definitions and prototypes throughout
12253 all the files. The gettext copyright header is used but
12254 with the date ranges taken from the glibc copy.
12255
12256 * NEWS: Add gettext merge to 2.21.
12257 * intl/bindtextdom.c: Switch to gettext copyright.
12258 Use ANSI definitions and prototypes.
12259 Use gl_* locking primitives rather than __libc_* ones.
12260 Use __builtin_expect rather than __glibc_likely/unlikely.
12261 * intl/dcgettext.c: Switch to gettext copyright.
12262 Use ANSI definitions and prototypes.
12263 * intl/dcigettext.c: Switch to gettext copyright.
12264 Use ANSI definitions and prototypes.
12265 (INTDIV0_RAISES_SIGFPE): New define.
12266 Use gl_* locking primitives rather than __libc_* ones.
12267 Include eval-plural.h instead of plural-eval.c.
12268 Use __builtin_expect rather than __glibc_likely/unlikely.
12269 * intl/dcngettext.c: Switch to gettext copyright.
12270 Use ANSI definitions and prototypes.
12271 * intl/dgettext.c: Likewise.
12272 * intl/dngettext.c: Likewise.
12273 * intl/plural-eval.c: Renamed to...
12274 * intl/eval-plural.h: ...this.
12275 * intl/explodename.c: Switch to gettext copyright.
12276 Use ANSI definitions and prototypes.
12277 (_nl_explode_name): Use strchr instead of __rawmemchr.
12278 * intl/finddomain.c: Switch to gettext copyright.
12279 Use ANSI definitions and prototypes.
12280 Use gl_* locking primitives rather than __libc_* ones.
12281 (_nl_find_domain): Use malloc rather than alloca for
12282 allocation of temporary locale name.
12283 * intl/gettext.c: Switch to gettext copyright.
12284 Use ANSI definitions and prototypes.
12285 * intl/gettextP.h: Switch to gettext copyright.
12286 Use ANSI definitions and prototypes.
12287 Use gl_* locking primitives rather than __libc_* ones.
12288 * intl/gmo.h: Switch to gettext copyright.
12289 (struct sysdep_string): Move struct segment_pair outside of
12290 struct definition.
12291 * intl/hash-string.c: Use ANSI definitions and prototypes.
12292 * intl/hash-string.h: Switch to gettext copyright.
12293 Use ANSI definitions and prototypes.
12294 * intl/l10nflist.c: Switch to gettext copyright.
12295 Use ANSI definitions and prototypes.
12296 (_nl_normalize_codeset): Avoid integer overflow.
12297 * intl/loadinfo.h: Switch to gettext copyright.
12298 Use ANSI definitions and prototypes.
12299 (LIBINTL_DLL_EXPORTED): New define.
12300 (PATH_SEPARATOR): New define.
12301 * intl/loadmsgcat.c: Switch to gettext copyright.
12302 * intl/localealias.c: Switch to gettext copyright.
12303 Use ANSI definitions and prototypes.
12304 (_nl_expand_alias): Use PATH_SEPARATOR.
12305 * intl/ngettext.c: Switch to gettext copyright.
12306 Use ANSI definitions and prototypes.
12307 * intl/plural-exp.c: Likewise.
12308 * intl/plural-exp.h: Switch to gettext copyright.
12309 Use ANSI definitions and prototypes.
12310 (struct expression): Move definition of enum operator outside
12311 of struct definition.
12312 * intl/plural.c: Regenerate.
12313 * intl/plural.y: Switch to gettext copyright.
12314 Use ANSI definitions and prototypes.
12315 Port to bison 3.0.
12316 * intl/textdomain.c: Switch to gettext copyright.
12317 Use ANSI definitions and prototypes.
12318 Use gl_* locking primitives rather than __libc_* ones.
12319
12320 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
12321
12322 * debug/warning-nop.c: Add used atrribute.
12323
12324 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12325
12326 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
12327
12328 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
12329 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
12330 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
12331
12332 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12333 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12334
12335 [BZ #17634]
12336 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
12337 Undefine after defining function. Define as weak alias of
12338 __wcschr. Use libc_hidden_weak.
12339 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
12340 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
12341 (libc_hidden_def): Also define __GI___wcschr alias.
12342 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
12343 __wcschr and define as weak alias of __wcschr.
12344 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
12345 __wcschr.
12346 [!WCSCHR] (DEFAULT_WCSCHR): Define.
12347 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
12348 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
12349 libc_hidden_weak. Do not use libc_hidden_def.
12350 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
12351 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
12352 __GI___wcschr alias.
12353 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
12354 [IS_IN (libc)] (wcschr): Define as macro expanding to
12355 __redirect_wcschr.
12356 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
12357 [IS_IN (libc)] (__wcschr_power6): Likewise.
12358 [IS_IN (libc)] (__wcschr_power7): Likewise.
12359 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
12360 instead of wcschr.
12361 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
12362 __libc_wcschr.
12363 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
12364 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
12365 __wcschr and define as weak alias of __wcschr. Use
12366 libc_hidden_builtin_def.
12367 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
12368 as weak alias of __wcschr. Use libc_hidden_weak.
12369 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
12370 wcschr.
12371 * time/era.c (_nl_init_era_entries): Likewise.
12372 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
12373 variable.
12374 (test-xfail-XPG3/time.h/linknamespace): Likewise.
12375 (test-xfail-XPG4/time.h/linknamespace): Likewise.
12376
12377 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12378
12379 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
12380 format for long int variable.
12381
12382 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
12383
12384 [BZ #10672]
12385 * manual/search.texi: (Array Sort Function): Remove claim how to make
12386 qsort stable.
12387
12388 2014-12-10 Andreas Schwab <schwab@suse.de>
12389
12390 [BZ #12847]
12391 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
12392 user-controlled locks.
12393
12394 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
12395
12396 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
12397 register.
12398
12399 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12400
12401 * configure.ac (--disable-werror): New configure option.
12402 (enable_werror): New AC_SUBST.
12403 * configure: Regenerated.
12404 * config.make.in (enable-werror): New variable.
12405 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
12406 -Wno-error=undef.
12407 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
12408 * manual/install.texi (Configuring and compiling): Document
12409 --disable-werror.
12410 * INSTALL: Regenerated.
12411 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
12412 (CFLAGS-tst-chk2.c): Likewise.
12413 (CFLAGS-tst-chk3.c): Likewise.
12414 (CFLAGS-tst-chk4.cc): Likewise.
12415 (CFLAGS-tst-chk5.cc): Likewise.
12416 (CFLAGS-tst-chk6.cc): Likewise.
12417 (CFLAGS-tst-lfschk1.c): Likewise.
12418 (CFLAGS-tst-lfschk2.c): Likewise.
12419 (CFLAGS-tst-lfschk3.c): Likewise.
12420 (CFLAGS-tst-lfschk4.cc): Likewise.
12421 (CFLAGS-tst-lfschk5.cc): Likewise.
12422 (CFLAGS-tst-lfschk6.cc): Likewise.
12423
12424 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
12425 (main): Disable -Wdeprecated-declarations around calls to
12426 register_printf_function.
12427
12428 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
12429 (do_test): Disable -Wdiv-by-zero around some calls to
12430 fwrite_unlocked and fread_unlocked.
12431
12432 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
12433 (DIAG_POP_NEEDS_COMMENT): Likewise.
12434 (_DIAG_STR1): Likewise.
12435 (_DIAG_STR): Likewise.
12436 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
12437 * stdio-common/bug21.c: Include <libc-internal.h>.
12438 (do_test): Disable -Wformat around call to sscanf.
12439 * stdio-common/scanf14.c: Include <libc-internal.h>.
12440 (main): Disable -Wformat around some calls to scanf functions.
12441
12442 2014-12-09 Torvald Riegel <triegel@redhat.com>
12443
12444 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
12445
12446 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12447
12448 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
12449 stack variable alignment.
12450
12451 2014-12-06 Joseph Myers <joseph@codesourcery.com>
12452
12453 [BZ #17682]
12454 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
12455 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
12456 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
12457 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
12458 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
12459 __getrlimit instead of getrlimit.
12460 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
12461 __gettimeofday instead of gettimeofday.
12462 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12463 Likewise.
12464 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12465 Likewise.
12466 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
12467 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
12468 Remove variable.
12469 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
12470 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
12471
12472 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12473
12474 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
12475 for wide-character tests.
12476
12477 2014-12-04 Roland McGrath <roland@hack.frob.com>
12478
12479 * io/openat64.c: #include <libc-internal.h>
12480 (__openat64): Prototypify. Use ignore_value on MODE.
12481 * io/openat.c: Likewise.
12482 * misc/reboot.c: #include <libc-internal.h>
12483 (reboot): Prototypify. Use ignore_value on HOWTO.
12484 * misc/ptrace.c: #include <libc-internal.h>
12485 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
12486
12487 2014-12-04 Joseph Myers <joseph@codesourcery.com>
12488
12489 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
12490 XPG4, UNIX98 and XOPEN2K.
12491 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
12492 Remove variable.
12493 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
12494
12495 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12496
12497 * libio/fileops.c: Use ISO C style for function definitions.
12498 * libio/iofopen.c: Likewise.
12499 * libio/wfileops.c: Likewise.
12500
12501 [BZ #17653]
12502 * libio/fileops.c (_IO_new_file_underflow): Unset cached
12503 offset on EOF.
12504 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
12505 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
12506 (fgets_func): Function pointer to fgets and fgetws.
12507 (do_ftell_test): Add test to verify ftell value after read
12508 EOF.
12509 (do_test): Set fgets_func.
12510
12511 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
12512 O_TRUNC flag for w and w+ modes.
12513 (do_rewind_test): Likewise.
12514 (do_ftell_test): Likewise.
12515 (do_write_test): Likewise.
12516
12517 [BZ #17647]
12518 * libio/fileops.c (do_ftell): Seek only when there are
12519 unflushed writes.
12520 * libio/wfileops.c (do_ftell_wide): Likewise.
12521 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
12522 test case.
12523 (do_one_test): Call it.
12524
12525 2014-12-03 Joseph Myers <joseph@codesourcery.com>
12526
12527 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
12528 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
12529 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
12530 Remove variable.
12531 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
12532 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
12533 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
12534
12535 2014-12-02 Joseph Myers <joseph@codesourcery.com>
12536
12537 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
12538 Remove variable.
12539 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
12540
12541 [BZ #17668]
12542 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
12543 as weak alias of __getifaddrs. Use libc_hidden_weak.
12544 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12545 __freeifaddrs. Use libc_hidden_weak.
12546 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
12547 define as weak alias of __getifaddrs. Use libc_hidden_weak.
12548 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12549 __freeifaddrs. Use libc_hidden_weak.
12550 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
12551 __getifaddrs and define as weak alias of __getifaddrs. Use
12552 libc_hidden_weak.
12553 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12554 __freeifaddrs. Use libc_hidden_weak.
12555 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
12556 Remove variable.
12557 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
12558 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
12559
12560 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
12561
12562 [BZ #17601]
12563 * sysdeps/mips/start.S (__start): Use indirect jump to call
12564 __libc_start_main.
12565
12566 2014-12-02 Joseph Myers <joseph@codesourcery.com>
12567
12568 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
12569
12570 * nptl/tst-mutex1.c: Include <stdbool.h>.
12571 [!ATTR] (ATTR_NULL): New macro.
12572 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
12573 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
12574 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
12575
12576 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
12577 to char *.
12578
12579 [BZ #17665]
12580 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
12581 Change conditional to [__USE_MISC].
12582
12583 [BZ #17664]
12584 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
12585 fgets_unlocked.
12586 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
12587 __fgets_unlocked.
12588 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
12589 fgets_unlocked.
12590 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
12591 Remove variable.
12592 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
12593 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
12594 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
12595 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
12596 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
12597 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
12598 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
12599 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
12600 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
12601
12602 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
12603
12604 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12605
12606 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12607 Remove strpbrk objects.
12608 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12609 (__libc_ifunc_impl_list): Remove strpbrk implementation.
12610 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
12611 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
12612 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
12613 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
12614
12615 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12616 Remove strcspn objects.
12617 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12618 (__libc_ifunc_impl_list): Remove strcspn implementation.
12619 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
12620 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
12621 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
12622 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
12623
12624 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12625 Remove strspn objetcs.
12626 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12627 (__libc_ifunc_impl_list): Remove strspn implementation.
12628 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
12629 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
12630 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
12631 * sysdeps/powerpc/powerpc64/strspn.S: New file.
12632
12633 2014-12-01 James Lemke <jwlemke@codesourcery.com>
12634
12635 [BZ #17581]
12636 * malloc/hooks.c
12637 (mem2mem_check): Add a terminator to the chain of checking blocks.
12638 (malloc_check_get_size): Use it here.
12639 (mem2chunk_check): Ditto.
12640
12641 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12642
12643 * sysdeps/powerpc/powerpc64/strtok.S: New file.
12644 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
12645
12646 2014-11-29 Carlos O'Donell <carlos@redhat.com>
12647
12648 * bits/ioctl-types.h: Indent preprocessor directives correctly.
12649
12650 * nptl/nptl-init.c: Include libc-internal.h.
12651 (__pthread_initialize_minimal_internal): Use ROUND_UP.
12652
12653 * elf/ldconfig.c (search_dir): Expand comment.
12654
12655 2014-11-29 Joseph Myers <joseph@codesourcery.com>
12656
12657 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
12658 variable.
12659 (linknamespace-symlist-stdlibs-tests): Likewise.
12660 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
12661 instead of $(objpfx)symlist-stdlibs.
12662 (linknamespace-libs-isoc): New variable.
12663 (linknamespace-libs): Use $(linknamespace-libs-isoc).
12664 (linknamespace-libs-ISO): New variable.
12665 (linknamespace-libs-ISO99): Likewise.
12666 (linknamespace-libs-ISO11): Likewise.
12667 (linknamespace-libs-XPG3): Likewise.
12668 (linknamespace-libs-XPG4): Likewise.
12669 (linknamespace-libs-POSIX): Likewise.
12670 (linknamespace-libs-UNIX98): Likewise.
12671 (linknamespace-libs-XOPEN2K): Likewise.
12672 (linknamespace-libs-POSIX2008): Likewise.
12673 (linknamespace-libs-XOPEN2K8): Likewise.
12674 ($(objpfx)symlist-stdlibs): Replace by
12675 $(linknamespace-symlist-stdlibs-tests). Use
12676 $(linknamespace-libs-$*) as set of libraries.
12677 ($(linknamespace-header-tests)): Update dependencies. Use
12678 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
12679 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
12680 * conform/linknamespace.pl: Remove comment about considering
12681 definitions of symbols from irrelevant libraries.
12682
12683 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
12684
12685 [BZ #13862]
12686 * elf/dl-tls.c: Include <atomic.h>.
12687 (oom): Remove #ifdef SHARED/#endif.
12688 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
12689 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
12690 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
12691 big enough.
12692 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
12693 * nptl/Makefile (tests): Add tst-stack4.
12694 (modules-names): Add tst-stack4mod.
12695 ($(objpfx)tst-stack4): New.
12696 (tst-stack4mod.sos): Likewise.
12697 ($(objpfx)tst-stack4.out): Likewise.
12698 ($(tst-stack4mod.sos)): Likewise.
12699 (clean): Likewise.
12700 * nptl/tst-stack4.c: New file.
12701 * nptl/tst-stack4mod.c: Likewise.
12702
12703 2014-11-27 J. Brown <jb999@gmx.de>
12704
12705 * sysdeps/x86/bits/string.h: Add recent CPUs.
12706
12707 2014-11-27 Joseph Myers <joseph@codesourcery.com>
12708
12709 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
12710 sigblock.
12711
12712 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
12713 feof.
12714
12715 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
12716 variable.
12717
12718 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
12719
12720 * nscd/connections.c: Include libc-internal.h because of macro
12721 usage ignore_value.
12722
12723 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12724
12725 * string/bits/string3.h (__warn_memset_zero_len): Don't
12726 declare for gcc newer than 5.0.
12727 (memset): Don't test for zero-length __LEN for gcc newer than
12728 5.0.
12729
12730 2014-11-27 Joseph Myers <joseph@codesourcery.com>
12731
12732 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
12733 size_t for %zu format.
12734
12735 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
12736 difference, not %ju.
12737
12738 2014-11-26 Joseph Myers <joseph@codesourcery.com>
12739
12740 * include/libc-internal.h (ignore_value): New macro.
12741 * nscd/connections.c (restart): Wrap calls to setuid and setgid
12742 with ignore_value.
12743
12744 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
12745 definition.
12746
12747 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
12748 pthread_cleanup_push to void *.
12749
12750 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
12751 Undefine.
12752
12753 [BZ #16619]
12754 [BZ #16740]
12755 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
12756 instead of 1L << 52.
12757
12758 * libio/bug-rewind.c (do_test): Check fwscanf return values.
12759 * libio/bug-rewind2.c (do_test): Likewise.
12760
12761 * debug/test-stpcpy_chk-ifunc.c: Remove file.
12762 * debug/test-strcpy_chk-ifunc.c: Likewise.
12763 * wcsmbs/test-wcschr-ifunc.c: Likewise.
12764 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12765 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12766 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12767 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12768 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12769 * Rules [$(multi-arch) = no] (tests): Do not filter out
12770 $(tests-ifunc).
12771 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
12772 * debug/Makefile (tests-ifunc): Remove variable.
12773 (tests): Do not add $(tests-ifunc).
12774 * wcsmbs/Makefile (tests-ifunc): Remove variable.
12775 (tests): Do not add $(tests-ifunc).
12776 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
12777 [TEST_IFUNC]: Remove conditionals.
12778 * string/test-string.h (TEST_IFUNC): Remove macro.
12779 [TEST_IFUNC]: Remove conditionals.
12780
12781 * string/test-strchr.c [!WIDE] (L): New macro.
12782 [WIDE] (L): Likewise.
12783 (check1): Use CHAR instead of char. Use L on string and character
12784 constants.
12785
12786 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
12787
12788 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
12789 tests.
12790 * sysdeps/powerpc/bits/atomic.h
12791 (__arch_atomic_exchange_and_add_32_acq): Add definition.
12792 (__arch_atomic_exchange_and_add_32_rel): Likewise.
12793 (atomic_exchange_and_add_acq): Likewise.
12794 (atomic_exchange_and_add_rel): Likewise.
12795 * sysdeps/powerpc/powerpc32/bits/atomic.h
12796 (__arch_atomic_exchange_and_add_64_acq): Add definition.
12797 (__arch_atomic_exchange_and_add_64_rel): Likewise.
12798 * sysdeps/powerpc/powerpc64/bits/atomic.h
12799 (__arch_atomic_exchange_and_add_64_acq): Add definition.
12800 (__arch_atomic_exchange_and_add_64_rel): Likewise.
12801
12802 2014-11-26 Torvald Riegel <triegel@redhat.com>
12803
12804 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
12805 Change synchronization of __sched_fifo_min_prio and
12806 __sched_fifo_max_prio.
12807 * nptl/pthread_mutexattr_getprioceiling.c
12808 (pthread_mutexattr_getprioceiling): Likewise.
12809 * nptl/pthread_mutexattr_setprioceiling.c
12810 (pthread_mutexattr_setprioceiling): Likewise.
12811 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
12812 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
12813 Likewise.
12814
12815 2014-11-26 Joseph Myers <joseph@codesourcery.com>
12816
12817 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
12818 void.
12819
12820 2014-11-25 Joseph Myers <joseph@codesourcery.com>
12821
12822 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
12823 third argument const.
12824
12825 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
12826
12827 fnmatch: work around GCC compiler warning bug with uninit var
12828 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
12829 This works around a bug with x86-64 GCC 4.9.2 and earlier
12830 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
12831 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
12832 used uninitialized in this function [-Wmaybe-uninitialized]".
12833
12834 2014-11-25 Joseph Myers <joseph@codesourcery.com>
12835
12836 * posix/bug-regex31.c (main): Return RES not 0.
12837
12838 2014-11-25 Anton Blanchard <anton@samba.org>
12839
12840 * sysdeps/powerpc/bits/atomic.h
12841 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
12842
12843 2014-11-24 Sterling Augustine <saugustine@google.com>
12844
12845 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
12846
12847 2014-11-24 Ryan Cumming <etaoins@gmail.com>
12848
12849 [BZ #17608]
12850 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
12851
12852 2014-11-24 Joseph Myers <joseph@codesourcery.com>
12853
12854 [BZ #17633]
12855 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
12856 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
12857 variable.
12858 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
12859 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
12860
12861 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
12862
12863 * string/strncpy.c (strncpy): Improve performance by using memset.
12864
12865 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
12866
12867 * string/strcpy.c (strcpy):
12868 Improve performance by using strlen and memcpy.
12869
12870 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
12871
12872 * string/strcoll_l.c (get_next_seq): __always_inline.
12873 * string/strcoll_l.c (do_compare): __always_inline.
12874
12875 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12876
12877 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
12878 defined.
12879 * include/mqueue.h: Likewise.
12880 * include/stdlib.h: Likewise.
12881
12882 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
12883 (get_null_defines): Adjust.
12884 * sunrpc/Makefile: Adjust comment.
12885 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
12886 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
12887 (CFLAGS-interp.c): Likewise.
12888 (CFLAGS-ldconfig.c): Likewise.
12889 (CPPFLAGS-.os): Likewise.
12890 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12891 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
12892 * extra-modules.mk (extra-modules.mk): Likewise.
12893 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
12894 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
12895 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
12896 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
12897 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
12898 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
12899 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
12900 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
12901 * iconvdata/Makefile (CPPFLAGS): Likewise.
12902 (cpp-srcs-left): Add libof for all iconvdata routines.
12903 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
12904 * include/assert.h: Likewise.
12905 * include/ctype.h: Likewise.
12906 * include/errno.h: Likewise.
12907 * include/libc-symbols.h: Likewise.
12908 * include/math.h: Likewise.
12909 * include/netdb.h: Likewise.
12910 * include/resolv.h: Likewise.
12911 * include/stdio.h: Likewise.
12912 * include/stdlib.h: Likewise.
12913 * include/string.h: Likewise.
12914 * include/sys/stat.h: Likewise.
12915 * include/wctype.h: Likewise.
12916 * intl/l10nflist.c: Likewise.
12917 * libidn/idn-stub.c: Likewise.
12918 * libio/libioP.h: Likewise.
12919 * nptl/libc_multiple_threads.c: Likewise.
12920 * nptl/pthreadP.h: Likewise.
12921 * posix/regex_internal.h: Likewise.
12922 * resolv/res_hconf.c: Likewise.
12923 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
12924 * sysdeps/arm/memmove.S: Likewise.
12925 * sysdeps/arm/sysdep.h: Likewise.
12926 * sysdeps/generic/_itoa.h: Likewise.
12927 * sysdeps/generic/symbol-hacks.h: Likewise.
12928 * sysdeps/gnu/errlist.awk: Likewise.
12929 * sysdeps/gnu/errlist.c: Likewise.
12930 * sysdeps/i386/i586/memcpy.S: Likewise.
12931 * sysdeps/i386/i586/memset.S: Likewise.
12932 * sysdeps/i386/i686/memcpy.S: Likewise.
12933 * sysdeps/i386/i686/memmove.S: Likewise.
12934 * sysdeps/i386/i686/mempcpy.S: Likewise.
12935 * sysdeps/i386/i686/memset.S: Likewise.
12936 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12937 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12938 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
12939 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
12940 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12941 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12942 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
12943 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12944 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12945 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12946 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12947 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12948 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12949 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12950 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12951 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12952 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
12953 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
12954 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
12955 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12956 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12957 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12958 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12959 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12960 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12961 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12962 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
12963 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12964 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
12965 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12966 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12967 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12968 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12969 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12970 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12971 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12972 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12973 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12974 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12975 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12976 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12977 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12978 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12979 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12980 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12981 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12982 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
12983 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
12984 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12985 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12986 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12987 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
12988 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
12989 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12990 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12991 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
12992 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12993 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
12994 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
12995 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12996 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12997 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12998 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
12999 * sysdeps/nptl/bits/libc-lock.h: Likewise.
13000 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
13001 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
13002 * sysdeps/posix/closedir.c: Likewise.
13003 * sysdeps/posix/opendir.c: Likewise.
13004 * sysdeps/posix/readdir.c: Likewise.
13005 * sysdeps/posix/rewinddir.c: Likewise.
13006 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
13007 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
13008 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13009 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13010 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13011 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
13012 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
13013 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
13014 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
13015 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
13016 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
13017 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
13018 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
13019 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
13020 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
13021 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
13022 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
13023 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
13024 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
13025 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
13026 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
13027 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
13028 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
13029 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
13030 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
13031 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
13032 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
13033 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
13034 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
13035 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
13036 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
13037 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
13038 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
13039 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
13040 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
13041 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
13042 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13043 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13044 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
13045 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
13046 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
13047 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
13048 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
13049 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
13050 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
13051 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
13052 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
13053 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
13054 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
13055 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
13056 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
13057 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
13058 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
13059 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
13060 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
13061 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
13062 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
13063 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
13064 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
13065 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
13066 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
13067 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
13068 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
13069 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
13070 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
13071 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
13072 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
13073 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
13074 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
13075 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
13076 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
13077 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
13078 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
13079 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
13080 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
13081 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
13082 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
13083 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
13084 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
13085 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
13086 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
13087 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13088 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
13089 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
13090 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13091 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
13092 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
13093 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13094 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13095 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13096 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
13097 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
13098 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
13099 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13100 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13101 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
13102 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13103 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13104 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
13105 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
13106 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13107 * sysdeps/unix/alpha/sysdep.S: Likewise.
13108 * sysdeps/unix/alpha/sysdep.h: Likewise.
13109 * sysdeps/unix/make-syscalls.sh: Likewise.
13110 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13111 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13112 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13113 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
13114 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13115 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
13116 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
13117 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13118 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13119 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
13120 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13121 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13122 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13123 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
13124 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13125 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13126 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13127 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13128 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
13129 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13130 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13131 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13132 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13133 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13134 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13135 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13136 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
13138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
13139 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
13140 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13141 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13142 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13143 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13144 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13145 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13146 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13147 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13148 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13149 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
13150 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13151 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13152 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13153 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13154 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13155 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13156 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13157 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13158 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13159 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13160 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13161 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13162 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13163 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13164 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13165 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13166 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13167 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13168 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
13169 * sysdeps/x86_64/memcpy.S: Likewise.
13170 * sysdeps/x86_64/memmove.c: Likewise.
13171 * sysdeps/x86_64/memset.S: Likewise.
13172 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
13173 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13174 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13175 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
13176 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
13177 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13178 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13179 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13180 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13181 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13182 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13183 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13184 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
13185 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13186 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13187 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
13188 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
13189 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13190 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13191 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13192 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
13193 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13194 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13195 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13196 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13197 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13198 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13199 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
13200 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13201 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13202 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
13203 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13204 * sysdeps/x86_64/strcmp.S: Likewise.
13205
13206 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
13207
13208 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
13209 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
13210 * elf/rtld-Rules: Likewise.
13211 * elf/setup-vdso.h: Likewise.
13212 * include/assert.h: Likewise.
13213 * include/bits/stdlib-float.h: Likewise.
13214 * include/errno.h: Likewise.
13215 * include/sys/stat.h: Likewise.
13216 * include/unistd.h: Likewise.
13217 * sysdeps/aarch64/setjmp.S: Likewise.
13218 * sysdeps/alpha/setjmp.S: Likewise.
13219 * sysdeps/arm/__longjmp.S: Likewise.
13220 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
13221 * sysdeps/arm/setjmp.S: Likewise.
13222 * sysdeps/arm/sysdep.h: Likewise.
13223 * sysdeps/generic/_itoa.h: Likewise.
13224 * sysdeps/generic/dl-sysdep.h: Likewise.
13225 * sysdeps/generic/ldsodefs.h: Likewise.
13226 * sysdeps/i386/dl-tls.h: Likewise.
13227 * sysdeps/i386/setjmp.S: Likewise.
13228 * sysdeps/m68k/setjmp.c: Likewise.
13229 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
13230 * sysdeps/mach/hurd/opendir.c: Likewise.
13231 * sysdeps/posix/getcwd.c: Likewise.
13232 * sysdeps/posix/opendir.c: Likewise.
13233 * sysdeps/posix/profil.c: Likewise.
13234 * sysdeps/powerpc/dl-procinfo.h: Likewise.
13235 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13236 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13237 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13238 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13239 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
13240 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
13241 * sysdeps/s390/dl-tls.h: Likewise.
13242 * sysdeps/s390/s390-32/setjmp.S: Likewise.
13243 * sysdeps/s390/s390-64/setjmp.S: Likewise.
13244 * sysdeps/sh/sh3/setjmp.S: Likewise.
13245 * sysdeps/sh/sh4/setjmp.S: Likewise.
13246 * sysdeps/unix/alpha/sysdep.h: Likewise.
13247 * sysdeps/unix/arm/sysdep.S: Likewise.
13248 * sysdeps/unix/i386/sysdep.S: Likewise.
13249 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13250 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
13251 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13252 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13253 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13254 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
13255 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
13256 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13257 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13258 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
13259 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
13260 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13261 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13264 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13265 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13266 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13267 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13268 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13269 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13270 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13271 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13272 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13273 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13274 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13275 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13276 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13277 * sysdeps/x86_64/setjmp.S: Likewise.
13278
13279 * include/math.h: Use IS_IN instead of IS_IN_libm.
13280 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
13281 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13282 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13283 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13284 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13285 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13286 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13287 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13288 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13289 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13290 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
13291 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
13292 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
13293 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
13294 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
13295 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
13296 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
13297 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
13298 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
13299 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
13300 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
13301 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
13302 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
13303 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
13304 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
13305 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
13306 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
13307 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
13308 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
13309 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
13310 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
13311 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13312 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
13314 Likewise.
13315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
13316 Likewise.
13317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
13318 Likewise.
13319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
13320 Likewise.
13321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
13322 Likewise.
13323 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13324 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
13325 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13326 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13327 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13328 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
13330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
13331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
13332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
13333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
13334 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
13335 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
13336 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13337 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13338 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13339 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13340 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13341 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13342 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13343 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
13344 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
13345 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
13346 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
13347 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
13348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13349 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
13350
13351 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
13352 * nptl/pthreadP.h: Likewise.
13353 * nptl_db/structs.def: Likewise.
13354 * sysdeps/arm/sysdep.h: Likewise.
13355 * sysdeps/nptl/bits/libc-lock.h: Likewise.
13356 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
13357 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
13358 * sysdeps/unix/alpha/sysdep.h: Likewise.
13359 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13360 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13361 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13362 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13363 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13364 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13365 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13366 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13367 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13368 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13369 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13370 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13371 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13372 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
13374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
13375 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13376 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13377 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13378 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13379 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13380 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13381 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13382 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13383 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13384 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13385
13386 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
13387 * nptl/pthreadP.h: Likewise.
13388 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13389 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13390 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13391 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13392 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13393 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13394 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13395 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13396 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13397 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13398 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13399 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13401 Likewise.
13402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13403 Likewise.
13404 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13405 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13406 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13407 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13408 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13409 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13410 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13411 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13412
13413 * dlfcn/dladdr.c: Use IS_IN.
13414 * dlfcn/dladdr1.c: Likewise.
13415 * dlfcn/dlclose.c: Likewise.
13416 * dlfcn/dlerror.c: Likewise.
13417 * dlfcn/dlinfo.c: Likewise.
13418 * dlfcn/dlmopen.c: Likewise.
13419 * dlfcn/dlopen.c: Likewise.
13420 * dlfcn/dlsym.c: Likewise.
13421 * dlfcn/dlvsym.c: Likewise.
13422
13423 * include/ifaddrs.h: Use IS_IN.
13424 * inet/check_pf.c: Likewise.
13425 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13426 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
13427
13428 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
13429 IS_IN_ldconfig.
13430 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
13431 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
13432
13433 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
13434 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
13435 IS_IN (libc).
13436
13437 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
13438
13439 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
13440 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13441 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
13442 * include/libc-symbols.h (IS_IN_LIB): New macro.
13443 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
13444 * include/netdb.h: Likewise.
13445 * include/stap-probe.h: Remove all uses of IN_LIB.
13446
13447 * Makeconfig (module-cppflags-real): Define MODULE_NAME
13448 instead of IN_MODULE.
13449 * include/libc-symbols.h (IN_MODULE): Define using
13450 MODULE_NAME.
13451 (PASTE_NAME, PASTE_NAME1): New macros.
13452 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
13453 of IN_LIB.
13454 (STAP_PROBE_ASM): Likewise.
13455
13456 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
13457
13458 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
13459 __mach_init in dlopened libc.
13460
13461 2014-11-22 Mike Frysinger <vapier@gentoo.org>
13462
13463 * sysdeps/arm/preconfigure.ac: Delete EABI check.
13464 * sysdeps/arm/preconfigure: Regenerate.
13465
13466 2014-11-21 Roland McGrath <roland@hack.frob.com>
13467
13468 * nptl/pthread_create.c (__pthread_create_2_1): Set
13469 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
13470 when copying values from IATTR into PD.
13471
13472 2014-11-21 Will Newton <will.newton@linaro.org>
13473 Andrew Pinski <andrew.pinski@caviumnetworks.com>
13474
13475 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
13476 Refactor inline-asm. Also add comment.
13477
13478 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
13479 ElfW macro instead of hardcoded Elf64 types.
13480 (la_aarch64_gnu_pltenter): Likewise.
13481 * sysdeps/aarch64/dl-machine.h
13482 (elf_machine_runtime_setup): Use ElfW(Addr).
13483
13484 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
13485 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
13486 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
13487 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
13488 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
13489 (R_AARCH64_TLS_DTPMOD64): Rename to ..
13490 (R_AARCH64_TLS_DTPMOD): This.
13491 (R_AARCH64_TLS_DTPREL64): Rename to ...
13492 (R_AARCH64_TLS_DTPREL): This.
13493 (R_AARCH64_TLS_TPREL64): Rename to ...
13494 (R_AARCH64_TLS_TPREL): This.
13495 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
13496 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
13497 R_AARCH64_TLS_TPREL64.
13498 (elf_machine_rela): Likewise.
13499
13500 2014-11-21 Torvald Riegel <triegel@redhat.com>
13501
13502 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
13503 by setting it to 0. 64b atomics are not supported currently.
13504
13505 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13506
13507 [BZ #16469]
13508 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
13509 search domain names.
13510
13511 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13512
13513 [BZ #16469]
13514 * NEWS: Update.
13515 * resolv/res_query.c (__libc_res_nquerydomain): Retain
13516 trailing dot.
13517 * posix/tst-getaddrinfo5.c: New.
13518 * posix/Makefile (tests): Add it.
13519
13520 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13521
13522 [BZ #14498]
13523 * NEWS: Fixed.
13524 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
13525 after parsing line but before break_if_match.
13526 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
13527 if there is a protocol mismatch.
13528
13529 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
13530
13531 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
13532 because the potential race is on the user-supplied stream.
13533
13534 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13535
13536 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
13537 string literal if not passed a buffer.
13538 * manual/job.texi (ctermid): Update reasoning, note deviation
13539 from posix, suggest mtasurace when not passed a buffer, for
13540 future non-preliminary safety notes.
13541
13542 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13543
13544 * manual/users.texi (cuserid): Fix MT-Safety note for the case
13545 of not passing it a buffer.
13546 Reported by Peng Haitao.
13547
13548 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13549
13550 * manual/Makefile ($(objpfx)stamp-summary): Require
13551 check-safety.sh to pass.
13552 * manual/check-safety.sh: Wish for verification that every
13553 @deftypefn and @deftypefun is followed by a @safety remark.
13554
13555 2014-11-20 Roland McGrath <roland@hack.frob.com>
13556
13557 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
13558
13559 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
13560 PTHREAD_CANCEL_ASYNCHRONOUS.
13561 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
13562 send SIGCANCEL.
13563
13564 * nptl/default-sched.h: New file.
13565 * sysdeps/unix/sysv/linux/default-sched.h: New file.
13566 * nptl/pthread_create.c: Include it.
13567 (__pthread_create_2_1): Use collect_default_sched instead of making
13568 Linux syscalls here directly.
13569
13570 2014-11-20 Torvald Riegel <triegel@redhat.com>
13571
13572 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
13573 __pthread_once): Use C11 atomics.
13574
13575 2014-11-20 Torvald Riegel <triegel@redhat.com>
13576
13577 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
13578
13579 2014-11-20 Torvald Riegel <triegel@redhat.com>
13580
13581 * include/atomic.h (__atomic_link_error, __atomic_check_size,
13582 atomic_thread_fence_acquire, atomic_thread_fence_release,
13583 atomic_thread_fence_seq_cst, atomic_load_relaxed,
13584 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
13585 atomic_compare_exchange_weak_relaxed,
13586 atomic_compare_exchange_weak_acquire,
13587 atomic_compare_exchange_weak_release,
13588 atomic_exchange_acquire, atomic_exchange_release,
13589 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
13590 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
13591 atomic_fetch_and_acquire,
13592 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
13593
13594 2014-11-20 Torvald Riegel <triegel@redhat.com>
13595
13596 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
13597 USE_ATOMIC_COMPILER_BUILTINS): Define.
13598 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
13599 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13600 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
13601 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13602 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
13603 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13604 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
13605 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13606 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
13607 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13608 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
13609 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13610 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
13611 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13612 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
13613 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13614 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
13615 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13616 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
13617 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13618 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
13619 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13620 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
13621 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13622 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
13623 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13624 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
13625 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13626 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
13627 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13628 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
13629 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13630 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
13631 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13632 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
13633 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13634 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
13635 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13636 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
13637 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13638
13639 2014-11-19 Roland McGrath <roland@hack.frob.com>
13640
13641 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
13642 the sched_priority value here. It was already checked when the user
13643 called pthread_attr_setschedparam.
13644
13645 * nptl/tst-bad-schedattr.c: New file.
13646 * nptl/Makefile (tests): Add it.
13647
13648 2014-11-19 Carlos O'Donell <carlos@redhat.com>
13649 Florian Weimer <fweimer@redhat.com>
13650 Joseph Myers <joseph@codesourcery.com>
13651 Adam Conrad <adconrad@0c3.net>
13652 Andreas Schwab <schwab@suse.de>
13653 Brooks <bmoses@google.com>
13654
13655 [BZ #17625]
13656 * wordexp-test.c (__dso_handle): Add prototype.
13657 (__register_atfork): Likewise.
13658 (__app_register_atfork): New function.
13659 (registered_forks): New global.
13660 (register_fork): New function.
13661 (test_case): Add 3 new tests for WRDE_CMDSUB.
13662 (main): Call __app_register_atfork.
13663 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
13664 fork count is non-zero fail the test.
13665 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
13666 is set.
13667 (parse_dollars): Remove check for WRDE_NOCMD.
13668 (parse_dquote): Likewise.
13669
13670 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13671
13672 * Makeconfig (built-modules): List non-library modules to be
13673 built.
13674 (module-cppflags): Include libc-modules.h for
13675 everything except shlib-versions.v.i.
13676 (CPPFLAGS): Use it.
13677 (before-compile): Add libc-modules.h.
13678 ($(common-objpfx)libc-modules.h,
13679 $(common-objpfx)libc-modules.stmp): New targets.
13680 (common-generated): Add libc-modules.h and libc-modules.stmp.
13681 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
13682 * include/libc-symbols.h: Don't include libc-modules.h.
13683 * include/libc-modules.h: Remove file.
13684 * scripts/gen-libc-modules.awk: New script to generate
13685 libc-modules.h.
13686 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
13687 Depend on libc-modules.stmp.
13688
13689 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
13690
13691 * Makeconfig (in-module): Get value of libof set for the
13692 translation unit.
13693 (CPPFLAGS): Use $(in-module).
13694 * Makerules: Don't suffix routine names for nonlib.
13695 * include/libc-modules.h: New file.
13696 * include/libc-symbols.h: Include libc-modules.h
13697 (IS_IN): New macro to replace IS_IN_* macros.
13698 * elf/Makefile: Set libof-* for each routine.
13699 * elf/rtld-Rules: Likewise.
13700 * extra-modules.mk: Likewise.
13701 * iconv/Makefile: Likewise.
13702 * iconvdata/Makefile: Likewise.
13703 * locale/Makefile: Likewise.
13704 * malloc/Makefile: Likewise.
13705 * nss/Makefile: Likewise.
13706 * sysdeps/gnu/Makefile: Likewise.
13707 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
13708 * sysdeps/unix/sysv/linux/Makefile: Likewise.
13709 * sysdeps/s390/s390-64/Makefile: Likewise.
13710 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
13711 CPPFLAGS for nscd instead of nonlib.
13712
13713 2014-11-18 Roland McGrath <roland@hack.frob.com>
13714
13715 * nptl/createthread.c: New file.
13716
13717 * nptl/createthread.c: Moved ...
13718 * sysdeps/unix/sysv/linux/createthread.c: ... here.
13719
13720 * nptl/createthread.c: Add proper top-line comment.
13721 (do_clone): Folded into ...
13722 (create_thread): ... here. Take new arguments STOPPED_START and
13723 THREAD_RAN. Always set PD->stopped_start to something here. Don't
13724 increment __nptl_threads, do event-reporting logic, do
13725 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
13726 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
13727 resource cleanup if sched_setaffinity or sched_setscheduler fails,
13728 just send SIGCANCEL.
13729 * nptl/pthread_create.c: Forward-declare create_thread before
13730 including createthread.c.
13731 (start_thread): Use new macro START_THREAD_DEFN to replace defining
13732 declaration, and new macro START_THREAD_SELF to replace argument.
13733 Remove return statement.
13734 (report_thread_creation): New function.
13735 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
13736 synchronization logic, and __nptl_nthreads increment here, around
13737 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
13738 PD->parent_cancelhandling here, before create_thread. When
13739 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
13740 __deallocate_stack, and ENOMEM translation here.
13741
13742 2014-11-18 Joseph Myers <joseph@codesourcery.com>
13743
13744 [BZ #17616]
13745 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
13746 (mptwo): Rename to __mptwo.
13747 (__inv): Use __mptwo instead of mptwo.
13748 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
13749 (mptwo): Rename to __mptwo.
13750 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
13751 of mpone and __mptwo instead of mptwo.
13752 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
13753 instead of mpone.
13754 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13755 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
13756 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
13757 of mpone and __mptwo instead of mptwo.
13758 (__mpranred): Use __mpone instead of mpone.
13759 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
13760 variable.
13761 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
13762 (test-xfail-ISO99/math.h/linknamespace): Likewise.
13763 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
13764 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
13765 (test-xfail-ISO11/math.h/linknamespace): Likewise.
13766 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
13767 (test-xfail-XPG3/math.h/linknamespace): Likewise.
13768 (test-xfail-XPG4/math.h/linknamespace): Likewise.
13769 (test-xfail-POSIX/math.h/linknamespace): Likewise.
13770 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
13771 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
13772 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
13773 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
13774 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
13775 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
13776 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
13777 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
13778 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
13779 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
13780
13781 2014-11-18 Tom de Vries <tom@codesoucery.com>
13782
13783 * manual/signal.texi (Primitives Interrupted by Signals): In section,
13784 replace BSD Handler xref with BSD Signal Handling.
13785
13786 2014-11-17 Richard Henderson <rth@redhat.com>
13787
13788 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
13789 (_FP_PACK_RAW_2): Remove.
13790 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
13791 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
13792 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
13793 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
13794 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
13795 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
13796 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
13797 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
13798 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
13799 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
13800 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
13801 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
13802 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
13803 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
13804 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
13805 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
13806
13807 2014-11-14 Roland McGrath <roland@hack.frob.com>
13808
13809 * signal/signal.h [__USE_MISC]
13810 (struct sigvec): Remove type.
13811 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
13812 (sigvec): Remove declaration.
13813 * sysdeps/posix/sigvec.c: Moved ...
13814 * signal/sigvec.c: ... here, replacing old file.
13815 (struct sigvec): New type, copied from old signal.h definition.
13816 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
13817 (__sigvec): Convert definition to prototype.
13818 (sigvec): Replace weak_alias with compat_symbol.
13819 * signal/Versions (libc: GLIBC_2.21): New version set.
13820 * include/signal.h: Remove __sigvec declaration.
13821 * sysdeps/unix/bsd/sigvec.c: Remove file.
13822 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
13823 * manual/signal.texi (BSD Handler): Remove subsection.
13824 Move siginterrupt up to ...
13825 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
13826 (Blocking in BSD): Fold subsection into its parent.
13827 * NEWS: Mention sigvec removal.
13828
13829 2014-11-14 Joseph Myers <joseph@codesourcery.com>
13830
13831 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
13832 (DLA_FMS): Make definition conditional only on [__FMA4__].
13833 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
13834 definition.
13835
13836 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
13837 Make definition conditional only on [PROF].
13838 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
13839 definition.
13840 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
13841 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
13842
13843 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
13844 !__GNUC__].
13845 * include/signal.h (__sigpause): Move declaration above call to
13846 libc_hidden_proto.
13847 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
13848 variable.
13849 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
13850 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
13851
13852 2014-11-14 David S. Miller <davem@davemloft.net>
13853
13854 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
13855 Define before including <string/memcpy.c> and <string/mempcpy.c>.
13856
13857 2014-11-14 Joseph Myers <joseph@codesourcery.com>
13858
13859 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
13860 * configure: Regenerated.
13861 * manual/install.texi (Tools for Compilation): Document a
13862 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
13863 compiler verified to work.
13864 * INSTALL: Regenerated.
13865
13866 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
13867 redeclare with asm name.
13868 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
13869 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
13870 including <string.h>.
13871 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13872 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
13873 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13874 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
13875 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13876 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13877 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13878
13879 2014-11-13 Joseph Myers <joseph@codesourcery.com>
13880
13881 * stdlib/strtol.c (__strtol): Use prototype definition.
13882
13883 [BZ #17594]
13884 * stdlib/strtol.c (SYM__): New macro.
13885 (SYM__1): Likewise.
13886 (__strtol): Likewise.
13887 (strtol): Rename to __strtol and define as weak alias of
13888 __strtol. Use libc_hidden_weak.
13889
13890 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13891
13892 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
13893 Use numbered labels in inline assembly.
13894
13895 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13896
13897 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
13898 Add setjmp LIBC_PROBE.
13899 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
13900 Likewise.
13901 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
13902 Add longjmp, longjmp_target LIBC_PROBE.
13903 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
13904 Likewise.
13905
13906 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13907
13908 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13909 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
13910 to get rid of unused variable warning.
13911
13912 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13913
13914 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
13915 Check for unwind_backtrace == NULL only in SHARED case.
13916 (__backchain_backtrace): Compile only in SHARED case.
13917 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
13918 Likewise.
13919 (__backchain_backtrace): Declare as static.
13920
13921 2014-11-12 Roland McGrath <roland@hack.frob.com>
13922
13923 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
13924 (__libc_multiple_threads_ptr): Variable moved ...
13925 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
13926
13927 2014-11-12 Joseph Myers <joseph@codesourcery.com>
13928
13929 * conform/GlibcConform.pm: New file.
13930 * conform/conformtest.pl: Use GlibcConform module.
13931 * conform/linknamespace.pl: New file.
13932 * conform/list-header-symbols.pl: Likewise.
13933 * conform/Makefile (linknamespace-symlists-base): New variable.
13934 (linknamespace-symlists-tests): Likewise.
13935 (linknamespace-header-base): Likewise.
13936 (linknamespace-header-tests): Likewise.
13937 (tests-special): Add new tests.
13938 ($(linknamespace-symlists-tests)): New rule.
13939 (linknamespace-libs): New variable.
13940 ($(objpfx)symlist-stdlibs): New rule.
13941 ($(linknamespace-header-tests)): Likewise.
13942 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
13943 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
13944 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
13945 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
13946 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
13947 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
13948 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
13949 (test-xfail-ISO/math.h/linknamespace): Likewise.
13950 (test-xfail-ISO/signal.h/linknamespace): Likewise.
13951 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
13952 (test-xfail-ISO/time.h/linknamespace): Likewise.
13953 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
13954 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
13955 (test-xfail-ISO99/math.h/linknamespace): Likewise.
13956 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
13957 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
13958 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
13959 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
13960 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
13961 (test-xfail-ISO11/math.h/linknamespace): Likewise.
13962 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
13963 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
13964 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
13965 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
13966 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
13967 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
13968 (test-xfail-XPG3/math.h/linknamespace): Likewise.
13969 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
13970 (test-xfail-XPG3/search.h/linknamespace): Likewise.
13971 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
13972 (test-xfail-XPG3/time.h/linknamespace): Likewise.
13973 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
13974 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
13975 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
13976 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
13977 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
13978 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
13979 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
13980 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
13981 (test-xfail-XPG4/math.h/linknamespace): Likewise.
13982 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
13983 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
13984 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
13985 (test-xfail-XPG4/search.h/linknamespace): Likewise.
13986 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
13987 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
13988 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
13989 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
13990 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
13991 (test-xfail-XPG4/time.h/linknamespace): Likewise.
13992 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
13993 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
13994 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
13995 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
13996 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
13997 (test-xfail-POSIX/math.h/linknamespace): Likewise.
13998 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
13999 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
14000 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
14001 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
14002 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
14003 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
14004 (test-xfail-POSIX/time.h/linknamespace): Likewise.
14005 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
14006 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
14007 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
14008 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
14009 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
14010 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
14011 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
14012 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
14013 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
14014 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
14015 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
14016 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
14017 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
14018 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
14019 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
14020 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
14021 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
14022 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
14023 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
14024 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
14025 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
14026 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
14027 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
14028 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
14029 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
14030 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
14031 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
14032 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
14033 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
14034 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
14035 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
14036 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
14037 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
14038 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
14039 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
14040 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
14041 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
14042 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
14043 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
14044 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
14045 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
14046 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
14047 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
14048 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
14049 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
14050 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
14051 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
14052 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
14053 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
14054 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
14055 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
14056 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
14057 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
14058 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
14059 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
14060 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
14061 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
14062 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
14063 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
14064 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
14065 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
14066 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
14067 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
14068 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
14069 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
14070 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
14071 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
14072 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
14073 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
14074 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
14075 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
14076 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
14077 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
14078 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
14079 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
14080 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
14081 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
14082 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
14083 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
14084 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
14085 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
14086 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
14087 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
14088 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
14089 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
14090 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
14091 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
14092 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
14093 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
14094 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
14095 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
14096 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
14097 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
14098 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
14099 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
14100 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
14101 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
14102 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
14103
14104 [BZ #17589]
14105 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
14106 of fgets_unlocked.
14107
14108 [BZ #17585]
14109 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
14110 (memmem): Rename to __memmem and define as weak alias of
14111 __memmem. Use libc_hidden_weak.
14112 (__memmem): Use libc_hidden_def.
14113 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
14114 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
14115 memmem.
14116
14117 [BZ #17582]
14118 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
14119 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
14120 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
14121 and define as weak alias of __fgets_unlocked. Use
14122 libc_hidden_weak.
14123 (__fgets_unlocked): Use libc_hidden_def.
14124 * include/stdio.h (__fgets_unlocked): Declare. Use
14125 libc_hidden_proto.
14126 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
14127 __fgets_unlocked instead of fgets_unlocked.
14128 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
14129 (GET_NPROCS_CONF_PARSER): Likewise.
14130 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
14131 (GET_NPROCS_CONF_PARSER): Likewise.
14132
14133 [BZ #17574]
14134 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
14135 weak alias of __wmemset. Use libc_hidden_weak.
14136 (__wmemset): Use libc_hidden_def.
14137 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
14138 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
14139 of wmemset.
14140
14141 [BZ #17573]
14142 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
14143 with asm name __mempcpy.
14144 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
14145
14146 [BZ #17572]
14147 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
14148 and define as weak alias of __rawmemchr.
14149 (__rawmemchr): Do not define as strong alias of rawmemchr.
14150
14151 [BZ #17571]
14152 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
14153 alias of __qsort_r.
14154 (qsort): Call __qsort_r instead of qsort_r.
14155 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
14156 (__qsort_r): Declare. Call libc_hidden_proto.
14157 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
14158 instead of qsort_r.
14159 * nscd/gai.c (__qsort_r): Define to qsort_r.
14160 * posix/tst-rfc3484.c (__qsort_r): Likewise.
14161 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
14162 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
14163
14164 [BZ #17570]
14165 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
14166 define as weak alias of __malloc_info.
14167
14168 [BZ #17584]
14169 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
14170 as weak alias of __rewinddir. Don't use libc_hidden_def.
14171 (__rewinddir): Use libc_hidden_def.
14172 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
14173 as weak alias of __rewinddir. Don't use libc_hidden_def.
14174 (__rewinddir): Use libc_hidden_def.
14175 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
14176 weak alias of __rewinddir. Don't use libc_hidden_def.
14177 (__rewinddir): Use libc_hidden_def.
14178 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
14179 (__rewinddir): Use libc_hidden_proto.
14180 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
14181 rewinddir.
14182 (__getcwd): Use __rewinddir instead of rewinddir.
14183
14184 [BZ #17583]
14185 * libio/fileno.c (fileno): Rename to __fileno and define as weak
14186 alias of __fileno. Use libc_hidden_weak.
14187 (__fileno): Use libc_hidden_def.
14188 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
14189 * libio/ftello.c (ftello): Rename to __ftello and define as weak
14190 alias of __ftello.
14191 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
14192 __ftello.
14193 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
14194 (__fread_unlocked): Define as strong alias of _IO_fread. Use
14195 libc_hidden_def.
14196 (fread_unlocked): Don't use libc_hidden_ver.
14197 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
14198 and define as weak alias of __fread_unlocked. Don't use
14199 libc_hidden_def.
14200 (__fread_unlocked): Use libc_hidden_def.
14201 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
14202 (ftello): Don't use libc_hidden_proto.
14203 (__ftello): Declare. Use libc_hidden_proto.
14204 (fread_unlocked): Don't use libc_hidden_proto.
14205 (__fread_unlocked): Declare. Use libc_hidden_proto.
14206 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
14207 and __ftello instead of fileno, fread_unlocked and ftello.
14208
14209 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14210
14211 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
14212 GOT12.
14213 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
14214 Likewise.
14215 (_dl_start_user): Likewise.
14216 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
14217
14218 2014-11-12 Carlos O'Donell <carlos@redhat.com>
14219 Siddhesh Poyarekar <siddhesh@redhat.com>
14220
14221 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
14222 Move argv and envp down instead of moving argc up.
14223 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
14224
14225 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
14226
14227 [BZ #17506]
14228 * test-skeleton.c (main): Return successful if one of
14229 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
14230 * string/tst-strcoll-overflow.c: Define expected status.
14231
14232 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
14233
14234 [BZ #17475]
14235 * locale/iso-639.def: Define Bhili and Tulu language codes.
14236
14237 2014-11-11 Alan Hayward <alan.hayward@arm.com>
14238
14239 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
14240
14241 2014-11-10 Renlin Li <Renlin.Li@arm.com>
14242
14243 [BZ #17555]
14244 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
14245
14246 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
14247
14248 * configure.ac: Updated check of minimal required version to
14249 2.22.
14250 * manual/install.texi (Tools for Compilation): Updated version
14251 number.
14252 * configure: Regenerated.
14253 * INSTALL: Likewise.
14254
14255 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
14256
14257 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
14258 __tls_get_addr.
14259
14260 2014-11-07 Joseph Myers <joseph@codesourcery.com>
14261
14262 * include/sys/wait.h (__libc_waitpid): Remove declaration.
14263 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
14264 (__waitpid): Don't define as alias. Use libc_hidden_def not
14265 libc_hidden_weak.
14266 (waitpid): Define as alias of __waitpid.
14267 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
14268 __waitpid.
14269 (__waitpid): Don't define as alias. Use libc_hidden_def not
14270 libc_hidden_weak.
14271 (waitpid): Define as alias of __waitpid.
14272 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
14273 __libc_waitpid alias.
14274 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
14275 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
14276 Likewise.
14277 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
14278 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
14279 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
14280 alias.
14281 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
14282 __waitpid.
14283 (__waitpid): Don't define as alias. Use libc_hidden_def not
14284 libc_hidden_weak.
14285 (waitpid): Define as alias of __waitpid.
14286
14287 2014-11-06 Carlos O'Donell <carlos@redhat.com>
14288
14289 * manual/llio.texi: Add comment that write safety has been
14290 fixed in Linux.
14291
14292 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
14293 (localplt-build-dso): Add elf/ld.so.
14294 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
14295 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
14296 and free for ld.so.
14297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
14298 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
14299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
14300 Likewise.
14301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14302 Likewise.
14303 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
14304 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
14305 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
14306 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
14307 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
14308 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
14309 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
14310 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
14311 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
14312 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
14313 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
14314
14315 2014-11-05 Joseph Myers <joseph@codesourcery.com>
14316
14317 [BZ #14132]
14318 * include/libc-symbols.h (INTUSE): Remove macro.
14319 (INTDEF): Likewise.
14320 (INTVARDEF): Likewise.
14321 (_INTVARDEF): Likewise.
14322 (INTDEF2): Likewise.
14323 (INTVARDEF2): Likewise.
14324 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
14325 rtld_hidden_def instead of INTVARDEF.
14326 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
14327 (_dl_starting_up_internal): Remove declaration.
14328 (_dl_starting_up): Use rtld_hidden_proto.
14329 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
14330 declaration.
14331 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
14332 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
14333 _dl_starting_up.
14334 * elf/dl-writev.h (_dl_writev): Likewise.
14335 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
14336 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
14337 _dl_starting_up_internal.
14338
14339 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14340
14341 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
14342 test-skeleton.c.
14343
14344 2014-11-05 Will Newton <will.newton@linaro.org>
14345
14346 * benchtests/Makefile: (bench-malloc): Add malloc thread
14347 scalability benchmark.
14348 * benchtests/bench-malloc-threads.c: New file.
14349
14350 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
14351
14352 * sysdeps/aarch64/strchrnul.S: New file.
14353
14354 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14355
14356 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
14357 definition.
14358 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14359 Likwise.
14360 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14361 Likewise.
14362 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14363 Likewise.
14364 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14365 Likewise.
14366 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14367 Likewise.
14368
14369 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
14370
14371 * catgets/test-gencat.c: Use test-skeleton.c.
14372 * catgets/tst-catgets.c: Likewise.
14373 * csu/tst-empty.c: Likewise.
14374 * elf/tst-audit2.c: Likewise.
14375 * elf/tst-global1.c: Likewise.
14376 * elf/tst-pathopt.c: Likewise.
14377 * elf/tst-piemod1.c: Likewise.
14378 * elf/tst-tls10.c: Likewise.
14379 * elf/tst-tls11.c: Likewise.
14380 * elf/tst-tls12.c: Likewise.
14381 * gnulib/tst-gcc.c: Likewise.
14382 * iconvdata/tst-e2big.c: Likewise.
14383 * iconvdata/tst-loading.c: Likewise.
14384 * iconv/tst-iconv1.c: Likewise.
14385 * iconv/tst-iconv2.c: Likewise.
14386 * inet/test-inet6_opt.c: Likewise.
14387 * inet/tst-gethnm.c: Likewise.
14388 * inet/tst-network.c: Likewise.
14389 * inet/tst-ntoa.c: Likewise.
14390 * intl/tst-codeset.c: Likewise.
14391 * intl/tst-gettext2.c: Likewise.
14392 * intl/tst-gettext3.c: Likewise.
14393 * intl/tst-ngettext.c: Likewise.
14394 * intl/tst-translit.c: Likewise.
14395 * io/test-stat.c: Likewise.
14396 * libio/test-fmemopen.c: Likewise.
14397 * libio/tst-freopen.c: Likewise.
14398 * libio/tst-sscanf.c: Likewise.
14399 * libio/tst-ungetwc1.c: Likewise.
14400 * libio/tst-ungetwc2.c: Likewise.
14401 * libio/tst-widetext.c: Likewise.
14402 * localedata/tst-ctype.c: Likewise.
14403 * localedata/tst-digits.c: Likewise.
14404 * localedata/tst-leaks.c: Likewise.
14405 * localedata/tst-mbswcs1.c: Likewise.
14406 * localedata/tst-mbswcs2.c: Likewise.
14407 * localedata/tst-mbswcs3.c: Likewise.
14408 * localedata/tst-mbswcs4.c: Likewise.
14409 * localedata/tst-mbswcs5.c: Likewise.
14410 * localedata/tst-setlocale.c: Likewise.
14411 * localedata/tst-trans.c: Likewise.
14412 * localedata/tst-wctype.c: Likewise.
14413 * localedata/tst-xlocale1.c: Likewise.
14414 * login/tst-grantpt.c: Likewise.
14415 * malloc/tst-calloc.c: Likewise.
14416 * malloc/tst-malloc.c: Likewise.
14417 * malloc/tst-mallocstate.c: Likewise.
14418 * malloc/tst-mcheck.c: Likewise.
14419 * malloc/tst-mtrace.c: Likewise.
14420 * malloc/tst-obstack.c: Likewise.
14421 * math/atest-exp2.c: Likewise.
14422 * math/atest-exp.c: Likewise.
14423 * math/atest-sincos.c: Likewise.
14424 * math/test-matherr.c: Likewise.
14425 * math/test-misc.c: Likewise.
14426 * math/test-powl.c: Likewise.
14427 * math/tst-definitions.c: Likewise.
14428 * misc/tst-dirname.c: Likewise.
14429 * misc/tst-efgcvt.c: Likewise.
14430 * misc/tst-fdset.c: Likewise.
14431 * misc/tst-hsearch.c: Likewise.
14432 * misc/tst-mntent2.c: Likewise.
14433 * nptl/tst-sem7.c: Likewise.
14434 * nptl/tst-sem8.c: Likewise.
14435 * nptl/tst-sem9.c: Likewise.
14436 * nss/test-netdb.c: Likewise.
14437 * posix/tst-fnmatch.c: Likewise.
14438 * posix/tst-getlogin.c: Likewise.
14439 * posix/tst-gnuglob.c: Likewise.
14440 * posix/tst-mmap.c: Likewise.
14441 * pwd/tst-getpw.c: Likewise.
14442 * resolv/tst-inet_ntop.c: Likewise.
14443 * rt/tst-timer.c: Likewise.
14444 * stdio-common/test-fseek.c: Likewise.
14445 * stdio-common/test-popen.c: Likewise.
14446 * stdio-common/test-vfprintf.c: Likewise.
14447 * stdio-common/tst-cookie.c: Likewise.
14448 * stdio-common/tst-fileno.c: Likewise.
14449 * stdio-common/tst-gets.c: Likewise.
14450 * stdio-common/tst-obprintf.c: Likewise.
14451 * stdio-common/tst-perror.c: Likewise.
14452 * stdio-common/tst-sprintf2.c: Likewise.
14453 * stdio-common/tst-sprintf3.c: Likewise.
14454 * stdio-common/tst-sprintf.c: Likewise.
14455 * stdio-common/tst-swprintf.c: Likewise.
14456 * stdio-common/tst-tmpnam.c: Likewise.
14457 * stdio-common/tst-unbputc.c: Likewise.
14458 * stdio-common/tst-wc-printf.c: Likewise.
14459 * stdlib/tst-environ.c: Likewise.
14460 * stdlib/tst-fmtmsg.c: Likewise.
14461 * stdlib/tst-limits.c: Likewise.
14462 * stdlib/tst-rand48-2.c: Likewise.
14463 * stdlib/tst-rand48.c: Likewise.
14464 * stdlib/tst-random2.c: Likewise.
14465 * stdlib/tst-random.c: Likewise.
14466 * stdlib/tst-strtol.c: Likewise.
14467 * stdlib/tst-strtoll.c: Likewise.
14468 * stdlib/tst-tls-atexit.c: Likewise.
14469 * stdlib/tst-xpg-basename.c: Likewise.
14470 * string/test-ffs.c: Likewise.
14471 * string/tst-bswap.c: Likewise.
14472 * string/tst-inlcall.c: Likewise.
14473 * string/tst-strtok.c: Likewise.
14474 * string/tst-strxfrm.c: Likewise.
14475 * sysdeps/x86_64/tst-audit10.c: Likewise.
14476 * sysdeps/x86_64/tst-audit3.c: Likewise.
14477 * sysdeps/x86_64/tst-audit4.c: Likewise.
14478 * sysdeps/x86_64/tst-audit5.c: Likewise.
14479 * time/tst-ftime_l.c: Likewise.
14480 * time/tst-getdate.c: Likewise.
14481 * time/tst-mktime3.c: Likewise.
14482 * time/tst-mktime.c: Likewise.
14483 * time/tst-posixtz.c: Likewise.
14484 * time/tst-strptime2.c: Likewise.
14485 * time/tst-strptime3.c: Likewise.
14486 * wcsmbs/tst-btowc.c: Likewise.
14487 * wcsmbs/tst-mbrtowc.c: Likewise.
14488 * wcsmbs/tst-mbsrtowcs.c: Likewise.
14489 * wcsmbs/tst-wchar-h.c: Likewise.
14490 * wcsmbs/tst-wcpncpy.c: Likewise.
14491 * wcsmbs/tst-wcrtomb.c: Likewise.
14492 * wcsmbs/tst-wcsnlen.c: Likewise.
14493 * wcsmbs/tst-wcstof.c: Likewise.
14494
14495 2014-11-04 Joseph Myers <joseph@codesourcery.com>
14496
14497 [BZ #14132]
14498 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
14499 INTDEF.
14500 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
14501 declaration.
14502 (_dl_mcount): Use rtld_hidden_proto.
14503 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
14504 _dl_mcount.
14505 * elf/rtld.c (_rtld_global_ro): Likewise.
14506
14507 [BZ #14132]
14508 * elf/dl-init.c (_dl_init): Don't use INTDEF.
14509 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
14510 of _dl_init_internal.
14511 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
14512 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
14513 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
14514 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
14515 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
14516 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
14517 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
14518 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
14519 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
14520 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
14521 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
14522 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
14523 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14524 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14525 * sysdeps/tile/dl-start.S (_start): Likewise.
14526 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
14527 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
14528
14529 [BZ #14132]
14530 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
14531 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
14532 (rtld_progname): Make macro definition unconditional.
14533 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
14534 INTDEF.
14535 (dlmopen_doit): Do not use INTUSE with _dl_argv.
14536 (dl_main): Likewise.
14537 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
14538 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
14539 instead of _dl_argv_internal.
14540 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
14541 __GI__dl_argv instead of INTUSE(_dl_argv).
14542 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
14543 __GI__dl_argv instead of _dl_argv_internal.
14544
14545 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
14546 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
14547 macro.
14548 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
14549 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
14550 New macro.
14551 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
14552 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
14553 macro.
14554 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
14555 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
14556
14557 2014-11-04 Andreas Schwab <schwab@suse.de>
14558
14559 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
14560
14561 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14562
14563 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
14564 mtvsrd instruction in binary form.
14565
14566 2014-11-03 Andreas Schwab <schwab@suse.de>
14567
14568 [BZ #17522]
14569 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
14570 for less than MB_LEN_MAX use a local buffer of that size.
14571 * libio/tst-fputws.c: New file.
14572 * libio/Makefile (tests): Add tst-fputws.
14573
14574 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
14575
14576 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
14577 the size of the fpu_fr.fpu_dregs[] array.
14578
14579 2014-11-01 Joseph Myers <joseph@codesourcery.com>
14580
14581 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
14582 (__nanosleep): Do not define as alias.
14583 (nanosleep): Define as alias of __nanosleep.
14584 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
14585 __libc_nanosleep name.
14586
14587 2014-10-31 Joseph Myers <joseph@codesourcery.com>
14588
14589 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
14590 install.texi in comment.
14591
14592 2014-10-31 Torvald Riegel <triegel@redhat.com>
14593
14594 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
14595 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
14596 ... add here and use lwsync or sync ...
14597 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
14598 ... and add here using lwsync.
14599
14600 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
14601
14602 * elf/dl-machine-reject-phdr.h: New file.
14603 * elf/dl-load.c: #include that.
14604 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
14605 if that returned true.
14606
14607 2014-10-31 Roland McGrath <roland@hack.frob.com>
14608
14609 [BZ #17496]
14610 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
14611 gen-as-const-headers chunk. Add a big scare comment after the last
14612 safe place to touch before-compile.
14613
14614 2014-10-31 Joseph Myers <joseph@codesourcery.com>
14615
14616 * manual/install.texi (Tools for Compilation): Update autoconf
14617 version requirements.
14618 * INSTALL: Regenerated.
14619
14620 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
14621 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
14622 (__libc_pselect): Likewise.
14623
14624 [BZ #14138]
14625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
14626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14629
14630 2014-10-31 Torvald Riegel <triegel@redhat.com>
14631
14632 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
14633 correct barrier instruction.
14634 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
14635 Likewise.
14636 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
14637 Likewise.
14638
14639 2014-10-30 Roland McGrath <roland@hack.frob.com>
14640
14641 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
14642 after defining inlines. Instead, just use parens to defeat macro
14643 expansion of __isctype in its declaration.
14644
14645 2014-10-30 Joseph Myers <joseph@codesourcery.com>
14646
14647 * include/sys/uio.h (__libc_readv): Remove declaration.
14648 (__libc_writev): Likewise.
14649 * misc/readv.c (__libc_readv): Rename to __readv.
14650 (__readv): Do not define as alias.
14651 (readv): Define as alias of __readv.
14652 * misc/writev.c (__libc_writev): Rename to __writev.
14653 (__writev): Do not define as alias.
14654 (writev): Define as alias of __writev.
14655 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
14656 (__readv): Do not define as alias.
14657 (readv): Define unconditionally as alias of __readv.
14658 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
14659 (__writev): Do not define as alias.
14660 (writev): Define unconditionally as alias of __writev.
14661 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
14662 name.
14663 (writev): Do not define __libc_writev name.
14664
14665 2014-10-30 Roland McGrath <roland@hack.frob.com>
14666
14667 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
14668 (convert_charseq): New function, broken out of ...
14669 (use_from_charmap): ... here. Call it.
14670 (use_to_charmap): Use convert_charseq and free instead of duplicating
14671 its code with a variable-length stack struct.
14672
14673 2014-10-30 Joseph Myers <joseph@codesourcery.com>
14674
14675 * include/fcntl.h (__libc_creat): Remove declaration.
14676 * io/creat.c (__libc_creat): Rename to creat.
14677 (creat): Do not define as alias.
14678 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
14679 of creat instead of __libc_creat.
14680 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
14681 to creat.
14682 (creat): Do not define as alias.
14683 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
14684 __libc_creat.
14685 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
14686 __libc_creat name.
14687 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
14688 Likewise.
14689
14690 2014-10-29 Carlos O'Donell <carlos@redhat.com>
14691
14692 * manual/llio.texi: Add comments discussing why write() may be
14693 considered MT-unsafe on Linux.
14694
14695 2014-10-28 Carlos O'Donell <carlos@redhat.com>
14696
14697 * dl-load.c (local_strdup): Remove.
14698 (expand_dynamic_string_token): Use __strdup.
14699 (decompose_rpath): Likewise.
14700 (_dl_map_object): Likewise.
14701
14702 2014-10-28 Joseph Myers <joseph@codesourcery.com>
14703
14704 [BZ #14132]
14705 * sysdeps/generic/unwind-dw2-fde.c
14706 (__register_frame_info_bases_internal): Do not declare.
14707 (__register_frame_info_table_bases_internal): Likewise.
14708 (__deregister_frame_info_bases_internal): Likewise.
14709 (__register_frame_info_bases): Declare and use hidden_proto before
14710 definition. Use hidden_def instead of INTDEF.
14711 (__register_frame_info_table_bases): Likewise.
14712 (__deregister_frame_info_bases): Likewise.
14713 (__register_frame_info): Do not use INTUSE.
14714 (__register_frame): Likewise.
14715 (__register_frame_info_table): Likewise.
14716 (__register_frame_table): Likewise.
14717 (__deregister_frame_info): Likewise.
14718 (__deregister_frame): Likewise.
14719
14720 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
14721
14722 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14723 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
14724 not undefine.
14725 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
14726 Likewise.
14727 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
14728 Likewise.
14729
14730 2014-10-27 Joseph Myers <joseph@codesourcery.com>
14731
14732 [BZ #14138]
14733 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
14734 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
14735 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
14736 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
14737 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
14738 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
14739 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
14740 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
14741 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
14742 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
14743 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
14744 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
14745 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
14746 syscall.
14747 (setfsuid): Likewise.
14748 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
14749 (setfsuid): Likewise.
14750 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
14751 (setfsuid): Likewise.
14752 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
14753 Likewise.
14754 (setfsuid): Likewise.
14755 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
14756 (setfsuid): Likewise.
14757 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
14758 Likewise.
14759 (setfsuid): Likewise.
14760
14761 2014-10-27 Andreas Schwab <schwab@suse.de>
14762
14763 [BZ #17501]
14764 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
14765 check for Slow_SSE4_2 feature bit.
14766 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
14767 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14768 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
14769 Likewise. Fix check for Fast_Unaligned_Load feature bit.
14770
14771 2014-10-24 Roland McGrath <roland@hack.frob.com>
14772
14773 * configure.ac: Validate compiler version with a empirical test of
14774 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
14775 $CC -v output.
14776 * configure: Regenerated.
14777
14778 * inet/htons.c (htons): Prototypify.
14779 * inet/htonl.c (htonl): Likewise.
14780
14781 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14782
14783 * string/strncat.c (strncat): Improve performance by using strlen.
14784
14785 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14786
14787 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
14788
14789 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14790
14791 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
14792 Call libc_fetestexcept_aarch64.
14793
14794 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14795
14796 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
14797 Call libc_feholdexcept_aarch64.
14798
14799 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14800
14801 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
14802 Call get_rounding_mode.
14803
14804 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14805
14806 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14807 Simplify logic.
14808
14809 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14810
14811 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
14812 Simplify logic.
14813
14814 2014-10-24 Joseph Myers <joseph@codesourcery.com>
14815
14816 [BZ #14138]
14817 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
14818 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
14819 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
14820 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
14821 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
14822 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
14823 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
14824 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
14825 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
14826 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
14827 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14828 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
14829 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
14830 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
14831 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
14832 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
14833 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
14834 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
14835 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
14836 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
14837 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
14838 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
14839 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
14840 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
14841 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
14842 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
14843 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
14844 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
14845 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
14846 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
14847 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
14848 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
14849 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
14850 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
14851 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
14852 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
14853 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
14854 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
14855 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
14856 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
14857 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
14858 syscall.
14859 (geteuid): Likewise.
14860 (getgid): Likewise.
14861 (getuid): Likewise.
14862 (getresgid): Likewise.
14863 (getresuid): Likewise.
14864 (getgroups): Likewise.
14865 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
14866 (geteuid): Likewise.
14867 (getgid): Likewise.
14868 (getuid): Likewise.
14869 (getresgid): Likewise.
14870 (getresuid): Likewise.
14871 (getgroups): Likewise.
14872 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
14873 (geteuid): Likewise.
14874 (getgid): Likewise.
14875 (getuid): Likewise.
14876 (getresgid): Likewise.
14877 (getresuid): Likewise.
14878 (getgroups): Likewise.
14879 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
14880 Likewise.
14881 (geteuid): Likewise.
14882 (getgid): Likewise.
14883 (getuid): Likewise.
14884 (getresgid): Likewise.
14885 (getresuid): Likewise.
14886 (getgroups): Likewise.
14887 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
14888 (geteuid): Likewise.
14889 (getgid): Likewise.
14890 (getuid): Likewise.
14891 (getresgid): Likewise.
14892 (getresuid): Likewise.
14893 (getgroups): Likewise.
14894 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
14895 Likewise.
14896 (geteuid): Likewise.
14897 (getgid): Likewise.
14898 (getuid): Likewise.
14899 (getgroups): Likewise.
14900
14901 [BZ #14138]
14902 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
14903 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
14904 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
14905 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14906 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
14907 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
14908 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
14909 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
14910 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
14911 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
14912 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
14913 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
14914 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
14915 __chown.
14916 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
14917 (lchown): Likewise.
14918 (fchown): Likewise.
14919 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
14920 Likewise.
14921 (lchown): Likewise.
14922 (fchown): Likewise.
14923 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
14924 (lchown): Likewise.
14925 (fchown): Likewise.
14926 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
14927 Likewise.
14928 (lchown): Likewise.
14929 (fchown): Likewise.
14930
14931 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14932
14933 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
14934 Simplify logic.
14935
14936 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14937
14938 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
14939 Cleanup logic.
14940
14941 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14942
14943 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
14944 Remove unused include.
14945
14946 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14947
14948 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
14949 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
14950 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
14951 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
14952
14953 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
14954 Helge Deller <deller@gmx.de>
14955
14956 [BZ #17508]
14957 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
14958 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
14959 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
14960
14961 2014-10-23 Joseph Myers <joseph@codesourcery.com>
14962
14963 [BZ #14132]
14964 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
14965 Remove macro definition.
14966 (__ashrdi3_v_glibc20): Likewise.
14967 (__lshrdi3_v_glibc20): Likewise.
14968 (__cmpdi2_v_glibc20): Likewise.
14969 (__ucmpdi2_v_glibc20): Likewise.
14970 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
14971 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14972 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14973 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14974 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14975 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
14976
14977 2014-10-22 Roland McGrath <roland@hack.frob.com>
14978
14979 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
14980 old GNU extension [0] syntax.
14981 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
14982 alloca rather than an array member with variable length.
14983 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
14984 * nscd/nscd.c (invalidate_db): New function, broken out of ...
14985 (parse_opt): ... here. Likewise use alloca there.
14986 Validate the -i argument before checking for rootness.
14987 (send_shutdown): New function, broken out of ...
14988 (parse_opt): ... here.
14989
14990 2014-10-22 Roland McGrath <roland@hack.frob.com>
14991
14992 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
14993 macro to get at the _rt_local_ro field.
14994 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
14995 ([PIC] case) or _dl_hwcap ([!PIC] case).
14996 * sysdeps/arm/setjmp.S: Likewise.
14997
14998 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
14999 * sysdeps/arm/configure.ac: New check to define it.
15000 * sysdeps/arm/configure: Regenerated.
15001 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
15002 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
15003 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
15004 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
15005 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
15006 Use move/movt pair instead of a load.
15007 (LDST_GLOBAL): Macro removed.
15008 (LDR_GLOBAL): New macro replaces it.
15009 (LDR_HIDDEN): New macro.
15010 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
15011 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
15012
15013 * setjmp/tst-setjmp-static.c: New file.
15014 * setjmp/Makefile (tests): Add it.
15015 (tests-static): New variable.
15016
15017 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
15018
15019 [BZ #17485]
15020 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
15021
15022 2014-10-21 Joseph Myers <joseph@codesourcery.com>
15023
15024 [BZ #14132]
15025 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
15026
15027 2014-10-21 Roland McGrath <roland@hack.frob.com>
15028
15029 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
15030
15031 2014-10-20 Roland McGrath <roland@hack.frob.com>
15032
15033 * io/fts.c (dirent_not_directory): New function.
15034 (fts_build): Call it.
15035
15036 2014-10-20 Roland McGrath <roland@hack.frob.com>
15037
15038 * nptl/version.c (__nptl_main): Use normal __write rather than
15039 INTERNAL_SYSCALL.
15040 (banner): Update copyright years.
15041
15042 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
15043 gettimeofday.
15044 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15045 * nptl/pthread_cond_timedwait.c: Likewise.
15046 * nptl/pthread_mutex_timedlock.c: Likewise.
15047 * nptl/sem_timedwait.c: Likewise.
15048
15049 * sysdeps/nptl/bits/libc-lock.h
15050 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
15051 (__libc_lock_init_recursive): Return void, not 0.
15052 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
15053 (__libc_rwlock_init): Likewise.
15054 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
15055
15056 2014-10-20 Torvald Riegel <triegel@redhat.com>
15057
15058 [BZ #15215]
15059 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
15060 (__pthread_once_slow): ... here.
15061 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
15062 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
15063
15064 2014-10-20 Torvald Riegel <triegel@redhat.com>
15065
15066 [BZ #15215]
15067 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
15068 __PTHREAD_ONCE_FORK_GEN_INCR): New.
15069 * sysdeps/nptl/fork.c (__libc_fork): Use them.
15070 * nptl/pthread_once.c (__pthread_once): Likewise.
15071 Update comments.
15072
15073 2014-10-20 Joseph Myers <joseph@codesourcery.com>
15074
15075 [BZ #14138]
15076 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
15077 name.
15078 (writev): Use __libc_writev as strong name.
15079 * sysdeps/unix/sysv/linux/readv.c: Remove file.
15080 * sysdeps/unix/sysv/linux/writev.c: Likewise.
15081
15082 2014-10-17 Roland McGrath <roland@hack.frob.com>
15083
15084 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
15085
15086 * sysdeps/i386/nptl/tls.h
15087 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
15088 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
15089 New macros.
15090 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
15091 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
15092 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
15093 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
15094 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
15095 Call CHECK_THREAD_SYSINFO instead of doing an assert.
15096
15097 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15098 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
15099 on [__NR_futex].
15100 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
15101 broken out of ...
15102 (__pthread_mutex_init): ... here. Call it.
15103 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
15104 Conditionalize PI cases on [__NR_futex].
15105 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
15106 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
15107 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
15108
15109 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
15110 conditional on [SIGSETXID].
15111 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
15112 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
15113 is defined. Likewise for SIGSETXID.
15114 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
15115 Conditionalize definitions on [SIGSETXID].
15116 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
15117 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
15118 unblocking on [SIGCANCEL].
15119
15120 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
15121 [__NR_set_robust_list].
15122
15123 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15124
15125 * string/strcoll_l.c (get_next_seq): Fix up formatting.
15126 (do_compare): Likewise.
15127
15128 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
15129
15130 [BZ #15884]
15131 * string/strcoll_l.c: Don't include stdio.h.
15132 (coll_seq): Remove members idxarr and rulearr.
15133 (get_next_seq_cached): Remove function.
15134 (get_next_seq): Likewise.
15135 (get_next_seq_nocache): Rename to get_next_seq.
15136 (do_compare): Remove function.
15137 (do_compare_nocache): Rename to do_compare.
15138 (STRCOLL): Remove weight and rules cache.
15139
15140 2014-10-16 Roland McGrath <roland@hack.frob.com>
15141
15142 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
15143 * sysdeps/arm/sfp-machine.h: ... to here.
15144 * sysdeps/arm/Implies: Remove arm/soft-fp.
15145
15146 2014-10-14 Joseph Myers <joseph@codesourcery.com>
15147
15148 * conform/data/sys/utsname.h-data (*_t): Allow.
15149 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
15150 [POSIX] (WEXITED): Do not expect constant.
15151 [POSIX] (WSTOPPED): Likewise.
15152 [POSIX] (WNOHANG): Likewise.
15153 [POSIX] (WNOWAIT): Likewise.
15154 [POSIX] (siginfo_t): Do not expect type or elements.
15155 [POSIX] (pid_t): Do not expect type.
15156 [POSIX] (signal.h): Do not allow header.
15157 [POSIX] (sys/resource.h): Likewise.
15158 [POSIX] (si_*): Do not allow pattern.
15159 [POSIX] (W*): Likewise.
15160 [POSIX] (P_*): Likewise.
15161 [POSIX] (BUS_*): Likewise.
15162 [POSIX] (CLD_*): Likewise.
15163 [POSIX] (FPE_*): Likewise.
15164 [POSIX] (ILL_*): Likewise.
15165 [POSIX] (POLL_*): Likewise.
15166 [POSIX] (SEGV_*): Likewise.
15167 [POSIX] (SI_*): Likewise.
15168 [POSIX] (TRAP_*): Likewise.
15169 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
15170 variable.
15171
15172 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
15173
15174 [BZ #12926]
15175 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
15176 infinite loop when __recvmsg returns 0.
15177
15178 2014-10-10 Joseph Myers <joseph@codesourcery.com>
15179
15180 * CANCEL-FCT-WAIVE: Remove file.
15181 * CANCEL-FILE-WAIVE: Likewise.
15182
15183 [BZ #14132]
15184 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
15185 instead of INTVARDEF.
15186 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
15187 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
15188 rtld_hidden_data_def instead of INTVARDEF.
15189 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
15190 * elf/dl-deps.c (expand_dst): Likewise.
15191 * elf/dl-load.c (_dl_dst_count): Likewise.
15192 (_dl_dst_substitute): Likewise.
15193 (decompose_rpath): Likewise.
15194 (_dl_init_paths): Likewise.
15195 (open_path): Likewise.
15196 (_dl_map_object): Likewise.
15197 * elf/rtld.c (dl_main): Likewise.
15198 (process_dl_audit): Likewise.
15199 (process_envvars): Likewise.
15200 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
15201 Remove declaration.
15202 (__libc_enable_secure): Use rtld_hidden_proto.
15203
15204 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15205
15206 * elf/dl-load.c
15207 (add_path): New function broken out of _dl_rtld_di_serinfo.
15208 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
15209
15210 2014-10-09 Joseph Myers <joseph@codesourcery.com>
15211
15212 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
15213 parentheses around macro arguments.
15214 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
15215 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
15216 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
15217 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
15218 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
15219 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
15220 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
15221 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
15222 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
15223 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
15224 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
15225 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
15226 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
15227 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
15228 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
15229 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
15230 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
15231 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
15232 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
15233 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
15234 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
15235 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
15236 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
15237 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
15238 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
15239 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
15240 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
15241 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
15242 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
15243 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
15244 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
15245 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
15246 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
15247 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
15248 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
15249 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
15250 Likewise.
15251 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
15252 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
15253 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
15254 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
15255 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
15256 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
15257 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
15258 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
15259 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
15260 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
15261 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
15262 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
15263 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
15264 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
15265 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
15266 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
15267 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
15268 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
15269 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
15270 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
15271 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
15272 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
15273 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
15274 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
15275 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
15276 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
15277 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
15278 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
15279 (_FP_FRAC_SRS_1): Likewise.
15280 (_FP_FRAC_CLZ_1): Likewise.
15281 (_FP_MUL_MEAT_1_imm): Likewise.
15282 (_FP_MUL_MEAT_1_wide): Likewise.
15283 (_FP_MUL_MEAT_1_hard): Likewise.
15284 (_FP_SQRT_MEAT_1): Likewise.
15285 (_FP_FRAC_ASSEMBLE_1): Likewise.
15286 (_FP_FRAC_DISASSEMBLE_1): Likewise.
15287 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
15288 (__FP_CLZ_2): Likewise.
15289 (_FP_MUL_MEAT_2_wide): Likewise.
15290 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15291 (_FP_MUL_MEAT_2_gmp): Likewise.
15292 (_FP_MUL_MEAT_2_120_240_double): Likewise.
15293 (_FP_SQRT_MEAT_2): Likewise.
15294 (_FP_FRAC_ASSEMBLE_2): Likewise.
15295 (_FP_FRAC_DISASSEMBLE_2): Likewise.
15296 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
15297 (_FP_FRAC_CLZ_4): Likewise.
15298 (_FP_MUL_MEAT_4_wide): Likewise.
15299 (_FP_MUL_MEAT_4_gmp): Likewise.
15300 (_FP_SQRT_MEAT_4): Likewise.
15301 (_FP_FRAC_ASSEMBLE_4): Likewise.
15302 (_FP_FRAC_DISASSEMBLE_4): Likewise.
15303 * soft-fp/op-common.h (_FP_CMP): Likewise.
15304 (_FP_CMP_EQ): Likewise.
15305 (_FP_CMP_UNORD): Likewise.
15306 (_FP_TO_INT): Likewise.
15307 (_FP_FROM_INT): Likewise.
15308 [!__FP_CLZ] (__FP_CLZ): Likewise.
15309 (_FP_DIV_HELP_imm): Likewise.
15310 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
15311 Likewise.
15312 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
15313 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
15314 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
15315 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
15316 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
15317 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
15318 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
15319 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
15320 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
15321 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
15322 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
15323 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
15324 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
15325 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
15326 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
15327 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
15328 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
15329 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
15330 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
15331 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
15332 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
15333 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
15334 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
15335 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
15336 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
15337 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
15338 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
15339 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
15340 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
15341 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
15342 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
15343 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
15344 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
15345 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
15346 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
15347 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
15348 (FP_UNPACK_RAW_SP): Likewise.
15349 (FP_PACK_RAW_S): Likewise.
15350 (FP_PACK_RAW_SP): Likewise.
15351 (FP_UNPACK_S): Likewise.
15352 (FP_UNPACK_SP): Likewise.
15353 (FP_UNPACK_SEMIRAW_S): Likewise.
15354 (FP_UNPACK_SEMIRAW_SP): Likewise.
15355 (FP_PACK_S): Likewise.
15356 (FP_PACK_SP): Likewise.
15357 (FP_PACK_SEMIRAW_S): Likewise.
15358 (FP_PACK_SEMIRAW_SP): Likewise.
15359 (_FP_SQRT_MEAT_S): Likewise.
15360 (FP_CMP_S): Likewise.
15361 (FP_CMP_EQ_S): Likewise.
15362 (FP_CMP_UNORD_S): Likewise.
15363 (FP_TO_INT_S): Likewise.
15364 (FP_FROM_INT_S): Likewise.
15365
15366 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
15367
15368 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
15369 (FP_EX_INVALID_IMZ): Likewise.
15370 (FP_EX_INVALID_IMZ_FMA): Likewise.
15371 (FP_EX_INVALID_ISI): Likewise.
15372 (FP_EX_INVALID_ZDZ): Likewise.
15373 (FP_EX_INVALID_IDI): Likewise.
15374 (FP_EX_INVALID_SQRT): Likewise.
15375 (FP_EX_INVALID_CVI): Likewise.
15376 (FP_EX_INVALID_VC): Likewise.
15377 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
15378 "invalid" exceptions.
15379 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
15380 (_FP_ADD_INTERNAL): Likewise.
15381 (_FP_MUL): Likewise.
15382 (_FP_FMA): Likewise.
15383 (_FP_DIV): Likewise.
15384 (_FP_CMP_CHECK_NAN): Likewise.
15385 (_FP_SQRT): Likewise.
15386 (_FP_TO_INT): Likewise.
15387 (FP_EXTEND): Likewise.
15388
15389 2014-10-09 Allan McRae <allan@archlinux.org>
15390
15391 * po/fr.po: Update French translation from translation project.
15392
15393 2014-10-09 Joseph Myers <joseph@codesourcery.com>
15394
15395 [BZ #14132]
15396 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
15397 of INTDEF.
15398 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
15399 (__cxa_atexit): Use libc_hidden_proto.
15400 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
15401
15402 [BZ #14132]
15403 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
15404 declaration.
15405 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
15406 [!_ISOMAC] (__iswspace_l_internal): Likewise.
15407 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
15408 [!_ISOMAC] (__iswctype_internal): Likewise.
15409 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
15410 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
15411 alias.
15412 (fcntl): Remove __fcntl_internal alias.
15413 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
15414 __connect_internal alias.
15415 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
15416 Likewise.
15417
15418 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
15419 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
15420 FP_DENORM_ZERO.
15421 (_FP_CHECK_FLUSH_ZERO): New macro.
15422 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
15423 (_FP_CMP): Likewise.
15424 (_FP_CMP_EQ): Likewise.
15425 (_FP_TO_INT): Do not set inexact for subnormal arguments if
15426 FP_DENORM_ZERO.
15427 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
15428 (FP_TRUNC): Likewise.
15429
15430 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
15431 treated as invalid conversion, not as normal exponent.
15432
15433 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
15434 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
15435 (_FP_CMP_EQ): Likewise.
15436 (_FP_CMP_UNORD): Likewise.
15437 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
15438 (FP_CMP_EQ_D): Likewise.
15439 (FP_CMP_UNORD_D): Likewise.
15440 * soft-fp/extended.h (FP_CMP_E): Likewise.
15441 (FP_CMP_EQ_E): Likewise.
15442 (FP_CMP_UNORD_E): Likewise.
15443 * soft-fp/quad.h (FP_CMP_Q): Likewise.
15444 (FP_CMP_EQ_Q): Likewise.
15445 (FP_CMP_UNORD_Q): Likewise.
15446 * soft-fp/single.h (FP_CMP_S): Likewise.
15447 (FP_CMP_EQ_S): Likewise.
15448 (FP_CMP_UNORD_S): Likewise.
15449 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
15450 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
15451 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
15452 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
15453 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
15454 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
15455 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
15456 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
15457 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
15458 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
15459 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
15460 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
15461 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
15462 to FP_CMP_Q.
15463 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
15464 FP_CMP_Q.
15465 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
15466 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
15467 FP_CMP_EQ_Q.
15468 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
15469 FP_CMP_Q.
15470 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
15471 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
15472 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
15473 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
15474 FP_CMP_EQ_Q.
15475 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
15476 FP_CMP_Q.
15477 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
15478 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
15479 FP_CMP_EQ_Q.
15480 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
15481 FP_CMP_Q.
15482 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
15483 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
15484 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
15485 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
15486 FP_CMP_EQ_Q.
15487
15488 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
15489 a subnormal result, set the underflow exception if trapping on
15490 underflow is enabled.
15491 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
15492 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
15493 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
15494 redefine to 0.
15495 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
15496 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
15497 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
15498 * soft-fp/extendxftf2.c (__extendxftf2): Use
15499 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
15500
15501 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
15502 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
15503 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15504 FP_HANDLE_EXCEPTIONS.
15505 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
15506 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15507 FP_HANDLE_EXCEPTIONS.
15508 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
15509 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15510 FP_HANDLE_EXCEPTIONS.
15511 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
15512 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15513 FP_HANDLE_EXCEPTIONS.
15514
15515 2014-10-08 Joseph Myers <joseph@codesourcery.com>
15516
15517 [BZ #14132]
15518 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
15519 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
15520 use INTUSE.
15521 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
15522 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
15523 Remove alias.
15524 (__adjtimex): Define using libc_hidden_ver.
15525 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
15526 Remove declaration.
15527 (ntp_gettime): Call __adjtimex directly.
15528 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
15529 Remove declaration.
15530 (ntp_gettimex): Call __adjtimex directly.
15531 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
15532 __adjtimex_internal alias.
15533
15534 2014-10-08 Roland McGrath <roland@hack.frob.com>
15535
15536 [BZ #17460]
15537 * nscd/nscd.c (more_help): Rewrite list of tables collection
15538 using xstrdup and asprintf.
15539
15540 * nscd/nscd_conf.c: Remove local xstrdup declaration.
15541
15542 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15543 Roland McGrath <roland@hack.frob.com>
15544
15545 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
15546 (do_lookup_unique): ... local function 'enter' here; update callers.
15547
15548 2014-10-06 Joseph Myers <joseph@codesourcery.com>
15549
15550 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
15551 compat_symbol calls on [SHARED].
15552 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
15553 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
15554 Remove.
15555 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15556 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
15557 (oldsetrlimit): Remove.
15558 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
15560 (lchown): New syscall entry.
15561 (oldsetrlimit): Remove.
15562 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15563 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
15564 (oldsetrlimit): Remove.
15565 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15566
15567 [BZ #14138]
15568 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
15569 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
15570 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
15571 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
15572 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15573 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
15574 (fchown): Likewise.
15575 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
15576 (fchown): Likewise.
15577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
15578 Likewise.
15579
15580 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15581
15582 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
15583 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
15584 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
15585 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
15586 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
15587 Likewise.
15588 (__old_sem_post): Likewise.
15589
15590 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
15591
15592 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
15593 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
15594 HAVE_CLOCK_GETTIME_VSYSCALL macros.
15595 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
15596 Use INLINE_VSYSCALL macro.
15597 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
15598 __vdso_clock_gettime.
15599 * sysdeps/unix/sysv/linux/tile/init-first.c
15600 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
15601 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
15602 __vdso_clock_gettime.
15603
15604 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
15605 to set up frame more cleanly.
15606
15607 * sysdeps/tile/memcmp.c: New file.
15608
15609 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
15610
15611 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
15612 * sysdeps/tile/tilegx/strcasestr.c: New file.
15613 * sysdeps/tile/tilegx/strnlen.c: New file.
15614 * sysdeps/tile/tilegx/strstr.c: New file.
15615
15616 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
15617
15618 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
15619
15620 * nptl/tst-setuid3.c: Write errors to stdout.
15621
15622 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15623
15624 * elf/dl-deps.c
15625 (preload): New functions broken out of _dl_map_object_deps.
15626 (_dl_map_object_deps): Remove a nested function. Update call sites.
15627
15628 2014-10-01 Joseph Myers <joseph@codesourcery.com>
15629
15630 [BZ #14138]
15631 * sysdeps/unix/sysv/linux/execve.c: Remove file.
15632 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
15633
15634 2014-10-01 Steve Ellcey <sellcey@mips.com>
15635
15636 * sysdeps/mips/strcmp.S: New.
15637
15638 2014-09-30 Joseph Myers <joseph@codesourcery.com>
15639
15640 [BZ #14138]
15641 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
15642 (linkat): Likewise.
15643 (mkdirat): Likewise.
15644 (readlinkat): Likewise.
15645 (renameat): Likewise.
15646 (symlinkat): Likewise.
15647 (unlinkat): Likewise.
15648 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
15649 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
15650 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
15651 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
15652 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
15653 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
15654 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
15655
15656 2014-09-30 Will Newton <will.newton@linaro.org>
15657
15658 * math/math.h: Define long double math functions if
15659 _LIBC_TEST is defined.
15660 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
15661
15662 * localedata/Makefile: Move assignment to tests-special
15663 into an ifdef testing run-built-tests.
15664 * timezone/Makefile: Likewise.
15665
15666 2014-09-29 Joseph Myers <joseph@codesourcery.com>
15667
15668 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
15669 with $(BASH) not $(SHELL).
15670
15671 2014-09-29 Carlos O'Donell <carlos@redhat.com>
15672 Matthew LeGendre <legendre1@llnl.gov>
15673
15674 [BZ #17411]
15675 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
15676 l_reloc_result.
15677
15678 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15679
15680 * stdio-common/printf_fp.c
15681 (hack_digit): New function, broken out of ...
15682 (__printf_fp): ... local function here. Update call sites.
15683 hack_digit now takes an additional parameter that is a pointer
15684 to a struct of the referenced locals. Those locals moved inside
15685 the struct and references updated.
15686
15687 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
15688
15689 * aclocal.m4: Require autoconf 2.69.
15690 * configure: Regenerated.
15691 * sysdeps/aarch64/configure: Likewise.
15692 * sysdeps/alpha/configure: Likewise.
15693 * sysdeps/arm/armv7/configure: Likewise.
15694 * sysdeps/arm/configure: Likewise.
15695 * sysdeps/ia64/configure: Likewise.
15696 * sysdeps/mach/configure: Likewise.
15697 * sysdeps/mips/configure: Likewise.
15698 * sysdeps/s390/configure: Likewise.
15699 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
15700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
15701
15702 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
15703 file.
15704 * sysdeps/ia64/configure.ac: Likewise.
15705
15706 2014-09-26 Joseph Myers <joseph@codesourcery.com>
15707
15708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
15709 specify symbol version for ld.so. Do not include entry for
15710 libpthread.
15711 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15712 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
15713 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15714
15715 [BZ #14171]
15716 * Makeconfig [$(build-shared) = yes]
15717 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
15718 makefiles.
15719 [$(build-shared) = yes && $(soversions.mk-done) = t]
15720 ($(common-objpfx)gnu/lib-names.h): Remove rule.
15721 [$(build-shared) = yes && $(soversions.mk-done) = t]
15722 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
15723 to Makerules.
15724 [$(build-shared) = yes && $(soversions.mk-done) = t]
15725 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
15726 here.
15727 [$(build-shared) = yes && $(soversions.mk-done) = t]
15728 (common-generated): Don't append gnu/lib-names.h and
15729 gnu/lib-names.stmp here.
15730 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
15731 (lib-names-h-abi): New variable.
15732 [$(build-shared) = yes && $(soversions.mk-done) = t]
15733 (lib-names-stmp-abi): Likewise.
15734 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15735 abi-variants] (before-compile): Append
15736 $(common-objpfx)$(lib-names-h-abi).
15737 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15738 abi-variants] (common-generated): Append gnu/lib-names.h.
15739 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15740 abi-variants] (install-others-nosubdir): Depend on
15741 $(inst_includedir)/$(lib-names-h-abi).
15742 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15743 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
15744 [$(build-shared) = yes && $(soversions.mk-done) = t]
15745 ($(common-objpfx)$(lib-names-h-abi)): New rule.
15746 [$(build-shared) = yes && $(soversions.mk-done) = t]
15747 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
15748 [$(build-shared) = yes && $(soversions.mk-done) = t]
15749 (common-generated): Append $(lib-names-h-abi) and
15750 $(lib-names-stmp-abi).
15751 * scripts/lib-names.awk: Do not handle multi being set.
15752 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
15753 Remove variable.
15754 (abi-lp64_be-ld-soname): Likewise.
15755 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
15756 Likewise.
15757 (abi-hard-ld-soname): Likewise.
15758 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
15759 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
15760 Remove variable.
15761 (abi-o32_hard-ld-soname): Likewise.
15762 (abi-o32_soft_2008-ld-soname): Likewise.
15763 (abi-o32_hard_2008-ld-soname): Likewise.
15764 (abi-n32_soft-ld-soname): Likewise.
15765 (abi-n32_hard-ld-soname): Likewise.
15766 (abi-n32_soft_2008-ld-soname): Likewise.
15767 (abi-n32_hard_2008-ld-soname): Likewise.
15768 (abi-n64_soft-ld-soname): Likewise.
15769 (abi-n64_hard-ld-soname): Likewise.
15770 (abi-n64_soft_2008-ld-soname): Likewise.
15771 (abi-n64_hard_2008-ld-soname): Likewise.
15772 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
15773 Likewise.
15774 (abi-64-v2-ld-soname): Likewise.
15775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
15776 ld.so entries.
15777 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
15778 variable.
15779 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
15780 entry.
15781 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
15782 variable.
15783 (abi-64-ld-soname): Likewise.
15784 (abi-x32-ld-soname): Likewise.
15785 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
15786 entry.
15787 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15788
15789 2014-09-23 Joseph Myers <joseph@codesourcery.com>
15790
15791 [BZ #14138]
15792 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
15793 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
15794 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
15795 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
15796 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
15797 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
15798 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
15799 syscall entry for GLIBC_2.2 symbol version.
15800 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
15801 Likewise.
15802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
15803 (setrlimit): Likewise.
15804 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
15805 Likewise.
15806
15807 2014-09-23 Will Newton <will.newton@linaro.org>
15808
15809 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
15810 _LINUX_ARM_SYSDEP_H include guard too.
15811 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
15812 define.
15813
15814 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
15815
15816 * sysdeps/unix/sysv/linux/eventfd.c:
15817 Make first argument unsigned.
15818 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
15819 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
15820
15821 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
15822
15823 * socket/recvmmsg.c (recvmmsg): Drop const argument.
15824 * socket/sys/socket.h: Likewise
15825 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
15826
15827 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15828
15829 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
15830
15831 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
15832
15833 * time/tst-ftime.c: New test.
15834 * time/Makefile (tests): Add tst-ftime.
15835
15836 2014-09-17 Joseph Myers <joseph@codesourcery.com>
15837
15838 * soft-fp/extended.h: Fix comment formatting.
15839 * soft-fp/op-1.h: Likewise.
15840 * soft-fp/op-2.h: Likewise.
15841 * soft-fp/op-4.h: Likewise.
15842 * soft-fp/op-8.h: Likewise.
15843 * soft-fp/op-common.h: Likewise.
15844 * soft-fp/soft-fp.h: Likewise.
15845
15846 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
15847
15848 2014-09-16 Joseph Myers <joseph@codesourcery.com>
15849
15850 [BZ #6652]
15851 * Makeconfig (soversions-default-setname): Remove variable.
15852 ($(common-objpfx)soversions.i): Don't pass default_setname to
15853 soversions.awk.
15854 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
15855 oldest_abi to abi-versions.awk.
15856 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
15857 * config.make.in (oldest-abi): Remove variable.
15858 * configure.ac (--enable-oldest-abi): Remove configure option.
15859 * configure: Regenerated.
15860 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
15861 text.
15862 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
15863 * scripts/soversions.awk: Do not handle default_setname variable.
15864 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
15865 variable.
15866 * sysdeps/mach/hurd/configure: Regenerated.
15867 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
15868 variable.
15869 * sysdeps/unix/sysv/linux/configure: Regenerated.
15870
15871 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15872
15873 * elf/Makefile (CFLAGS-interp.c): Remove.
15874 ($(elf-objpfx)runtime-linker.h): Generate header with linker
15875 path string.
15876 * elf/interp.c: Include generated runtime-linker.h
15877
15878 * Makerules (lib%.so): Don't include $(+interp) in
15879 prerequisites.
15880 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
15881 * dlfcn/eval.c: Remove file.
15882
15883 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
15884 macros.
15885
15886 [BZ #17266]
15887 * misc/sys/cdefs.h: Define __extern_always_inline for clang
15888 4.2 and newer.
15889
15890 [BZ #17370]
15891 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
15892
15893 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15894 Jakub Jelinek <jakub@redhat.com>
15895
15896 [BZ #17266]
15897 * libio/stdio.h: Check definition of __fortify_function
15898 instead of __extern_always_inline to include bits/stdio2.h.
15899 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
15900 check if __extern_always_inline is defined.
15901 [__USE_MISC || __USE_XOPEN]: Likewise.
15902 [__USE_ISOC99] Likewise.
15903 * misc/sys/cdefs.h (__fortify_function): Define only if
15904 __extern_always_inline is defined.
15905 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
15906 __extern_always_inline and __extern_inline only for g++-4.3
15907 and newer or a compatible gcc.
15908
15909 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
15910
15911 [BZ #17371]
15912 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
15913 last change to handle zero prefix length.
15914
15915 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15916
15917 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
15918 _SC_REGEX_VERSION.
15919
15920 * posix/getconf.c (vars): Add _POSIX_IPV6 and
15921 _POSIX_RAW_SOCKETS.
15922
15923 2014-09-13 Allan McRae <allan@archlinux.org>
15924
15925 * po/ru.po: Update Russian translation from translation project.
15926
15927 2014-09-12 Roland McGrath <roland@hack.frob.com>
15928
15929 * locale/programs/locale.c (show_locale_vars): Inline local function
15930 into its sole call site. Clean up some style nits.
15931 (print_item): New function, broken out of ...
15932 (show_info): ... local function here. Clean up style nits.
15933
15934 * locale/programs/ld-ctype.c (set_one_default): New function, broken
15935 out of ...
15936 (set_class_defaults): ... local function set_default here.
15937 Define set_default as a macro locally to pass constant parameters.
15938 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
15939 rather than a shared local.
15940
15941 * stdlib/rpmatch.c (try): New function, broken out of ...
15942 (rpmatch): ... local function here. Also, prototypify definition.
15943
15944 2014-09-12 Joseph Myers <joseph@codesourcery.com>
15945
15946 * scripts/soversions.awk: Do not handle configuration names.
15947 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
15948 vendor and os variables to soversions.awk.
15949 * configure.ac: Do not modify gnu-* host_os.
15950 * configure: Regenerated
15951 * shlib-versions: Remove first column with configuration names.
15952 * nptl/shlib-versions: Likewise.
15953 * nptl_db/shlib-versions: Likewise.
15954 * sysdeps/hppa/shlib-versions: Likewise.
15955 * sysdeps/m68k/shlib-versions: Likewise.
15956 * sysdeps/mach/hurd/shlib-versions: Likewise.
15957 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
15958 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
15959 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
15960 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
15961 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
15962 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
15963 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
15964 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
15965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
15966 Likewise.
15967 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15968 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15969 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15970 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15971 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15972 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
15973 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
15974 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15975
15976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15977 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
15978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15979 Regenerated.
15980 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
15981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
15982 Condition symbol version definitions on [HAVE_ELFV2_ABI].
15983
15984 * shlib-versions: Remove OS-specific entries. Moved to files in
15985 sysdeps.
15986 * sysdeps/mach/hurd/shlib-versions: New file.
15987 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15988
15989 * nptl/shlib-versions: Remove architecture-specific entries.
15990 Moved to files in sysdeps.
15991 * shlib-versions: Likewise.
15992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
15993 file.
15994 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15995 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15996 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15997 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15998
15999 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
16000 (UDP_NO_CHECK6_RX): Likewise.
16001
16002 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16003
16004 * sysdeps/posix/sysconf.c (__sysconf): Spell
16005 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
16006
16007 2014-08-12 Florian Weimer <fweimer@redhat.com>
16008
16009 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
16010 loading.
16011 * iconv/Versions (__gconv_transliterate): Export for use from
16012 gconv modules.
16013 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
16014 (struct __gconv_trans_data, __gconv_trans_fct,
16015 __gconv_trans_context_fct, __gconv_trans_query_fct,
16016 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
16017 definitions.
16018 (struct __gconv_step_data): Remove __trans member.
16019 (__gconv_transliterate): Declaration moved from gconv_int.h. No
16020 longer hidden. Remove unused trans_data argument.
16021 * iconv/gconv_int.h (struct trans_struct): Remove definition.
16022 (__gconv_translit_find): Remove declaration.
16023 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
16024 prototype.
16025 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
16026 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
16027 trans_data argument. Add hidden definition.
16028 (__gconv_translit_find): Remove.
16029 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
16030 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
16031 * iconv/skeleton.c: Remove transliteration initialization.
16032 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
16033 __gconv_step_data initialization.
16034 * libio/iofwide.c (__libio_translit_): Remove.
16035 (_IO_fwide): Adjust struct __gconv_step_data initialization.
16036 * wcsmbs/btowc.c (__btowc): Likewise.
16037 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16038 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16039 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
16040 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
16041 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
16042 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
16043 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
16044 * wcsmbs/wctob.c (wctob): Likewise.
16045
16046 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16047
16048 [BZ #16194]
16049 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
16050 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
16051 register usage.
16052 * sysdeps/x86/Makefile: Adjust.
16053
16054 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16055 Roland McGrath <roland@hack.frob.com>
16056
16057 * locale/weight.h: Add include guard.
16058 (findidx): Make static rather than auto; take new parameters
16059 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
16060 * locale/weightwc.h: Likewise.
16061 * posix/fnmatch_loop.c
16062 (FCT): Change type of EXTRA from int32_t to wint_t.
16063 Don't include either header inside the function.
16064 Call FINDIDX rather than findidx, and pass new arguments.
16065 #undef FINDIDX at the end of the file.
16066 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
16067 FINDIDX before including fnmatch_loop.c for the non-wide version.
16068 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
16069 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
16070 for the wide version.
16071 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
16072 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
16073 Pass new arguments to findidx.
16074 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
16075 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
16076 Don't #include it inside the function. Pass new arguments to findidx.
16077 * posix/regex_internal.h
16078 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
16079 (re_string_elem_size_at): Don't #include it inside the function.
16080 Pass new arguments to findidx.
16081 * string/strcoll_l.c: #include WEIGHT_H at top level.
16082 (get_next_seq): Don't #include it inside the function.
16083 Pass new arguments to findidx.
16084 (get_next_seq_nocache): Likewise.
16085 * string/strxfrm_l.c: #include WEIGHT_H at top level.
16086 (STRXFRM): Don't #include it inside the function.
16087 Pass new arguments to findidx.
16088
16089 2014-09-11 Florian Weimer <fweimer@redhat.com>
16090
16091 [BZ #17344]
16092 * malloc/malloc.c (unlink): Turn asserts into a call to
16093 malloc_printerr.
16094
16095 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
16096
16097 [BZ #17370]
16098 * libio/wfileops (do_ftell_wide): Free OUT.
16099
16100 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
16101
16102 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
16103
16104 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16105
16106 [BZ #17363]
16107 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
16108 group if the current group is empty.
16109
16110 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16111
16112 * benchtests/bench-memset.c (test_main): Add more test from size
16113 from 32 to 512 bytes.
16114 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16115 Add POWER8 memset object.
16116 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16117 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
16118 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
16119 implementation.
16120 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
16121 Likewise.
16122 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
16123 multiarch POWER8 memset optimization.
16124 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
16125 POWER8 memset optimization.
16126
16127 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16128 Remove bzero multiarch objects.
16129 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
16130 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
16131 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
16132 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
16133 Remove define.
16134 [__bzero]: Redefine to specific name.
16135 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
16136 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
16137 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
16138 define.
16139 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16140 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16141
16142 2014-09-10 Florian Weimer <fweimer@redhat.com>
16143
16144 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
16145 warnings into errors.
16146
16147 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
16148 __cxa_thread_atexit_impl prototype.
16149
16150 2014-09-09 Steve Ellcey <sellcey@mips.com>
16151
16152 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
16153 Fix capitalization of error message.
16154
16155 2014-09-09 Steve Ellcey <sellcey@mips.com>
16156
16157 * sysdeps/mips/preconfigure: Modify ABI tests.
16158
16159 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
16160
16161 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
16162
16163 2014-09-07 Roland McGrath <roland@hack.frob.com>
16164 Carlos O'Donell <carlos@systemhalted.org>
16165
16166 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
16167 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
16168 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
16169 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
16170 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
16171 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
16172 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
16173 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
16174 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
16175 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
16176 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
16177 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
16178 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
16179 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
16180 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
16181 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
16182 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
16183 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
16184 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
16185 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
16186 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
16187 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
16188 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
16189 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
16190 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
16191 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
16192 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
16193 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
16194 Deconditionalize the code that was previously under [RESET_PID].
16195 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
16196 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
16197 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
16198 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
16199 include sysdep.h.
16200
16201 2014-09-08 Allan McRae <allan@archlinux.org>
16202
16203 * version.h (RELEASE): Set to "development".
16204 (VERSION): Set to "2.20.90"
16205
16206 2014-09-07 Allan McRae <allan@archlinux.org
16207
16208 * version.h (RELEASE): Set to "stable".
16209 (VERSION): Set to "2.20"
16210 * include/features.h (__GLIBC_MINOR__): Set to 20.
16211
16212 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
16213 Liebler.
16214
16215 * po/ko.po: Update Korean translation from translation project.
16216
16217 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
16218
16219 [BZ #17354]
16220 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
16221 macro for handling signed relocations.
16222
16223 2014-09-03 Florian Weimer <fweimer@redhat.com>
16224
16225 [BZ #17325]
16226 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
16227 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
16228 assert.
16229 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
16230 * iconvdata/ibm935.c (BODY): Likewise.
16231 * iconvdata/ibm937.c (BODY): Likewise.
16232 * iconvdata/ibm939.c (BODY): Likewise.
16233 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
16234 assert.
16235 * iconvdata/Makefile (iconv-test.out): Pass module list to test
16236 script.
16237 * iconvdata/run-iconv-test.sh: New test loop for checking for
16238 decoder crashers.
16239
16240 2014-09-02 Khem Raj <raj.khem@gmail.com>
16241
16242 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
16243 libm_hidden_ver.
16244
16245 2014-09-01 Allan McRae <allan@archlinux.org>
16246
16247 * po/eo.po: Update Esperanto translation from translation project.
16248
16249 * po/ca.po: Update Catalan translation from translation project.
16250
16251 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
16252
16253 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
16254 __proc_dostop call.
16255
16256 2014-08-27 Mark Wielaard <mjw@redhat.com>
16257
16258 [BZ #17319]
16259 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
16260 to call set_thread_area instead of hand written asm.
16261 (__NR_set_thread_area): Removed define.
16262 (TLS_FLAG_WRITABLE): Likewise.
16263 (__ASSUME_SET_THREAD_AREA): Remove check.
16264 (TLS_EBX_ARG): Remove define.
16265 (TLS_LOAD_EBX): Likewise.
16266
16267 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16268
16269 Simplify atomicity of socket creation in bind.
16270
16271 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
16272 looking up the name after linking the file.
16273
16274 2014-08-27 Allan McRae <allan@archlinux.org>
16275
16276 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16277
16278 2014-08-26 Florian Weimer <fweimer@redhat.com>
16279
16280 [BZ #17187]
16281 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
16282 trans_compare, open_translit, __gconv_translit_find):
16283 Remove module loading code.
16284
16285 2014-08-26 Allan McRae <allan@archlinux.org>
16286
16287 * po/vi.po: Update Vietnamese translation from translation project.
16288
16289 * po/uk.po: Update Ukrainian translation from translation project.
16290
16291 * po/fr.po: Update French translation from translation project.
16292
16293 * po/ru.po: Update Russian translation from translation project.
16294
16295 * po/pl.po: Update Polish translation from translation project.
16296
16297 * po/cs.po: Update Czech translation from translation project.
16298
16299 * po/de.po: Update German translation from translation project.
16300
16301 * po/bg.po: Update Bulgarian translation from translation project.
16302
16303 * po/sv.po: Update Sweedish translation from translation project.
16304
16305 * po/nl.po: Update Dutch translation from translation project.
16306
16307 * po/es.po: Update Spanish translation from translation project.
16308
16309 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16310
16311 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
16312
16313 * catgets/Makefile (CPPFLAGS-gencat): Remove.
16314 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
16315 (CPPFLAGS-iconvconfig): Likewise.
16316 * timezone/Makefile (CPPFLAGS-zic): Likewise.
16317
16318 * include/libc-symbols.h: Remove unnecessary check for
16319 NOT_IN_libc.
16320 * nptl/pthreadP.h: Likewise.
16321 * sysdeps/aarch64/setjmp.S: Likewise.
16322 * sysdeps/alpha/setjmp.S: Likewise.
16323 * sysdeps/arm/sysdep.h: Likewise.
16324 * sysdeps/i386/setjmp.S: Likewise.
16325 * sysdeps/m68k/setjmp.c: Likewise.
16326 * sysdeps/posix/getcwd.c: Likewise.
16327 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16328 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
16329 * sysdeps/s390/s390-32/setjmp.S: Likewise.
16330 * sysdeps/s390/s390-64/setjmp.S: Likewise.
16331 * sysdeps/sh/sh3/setjmp.S: Likewise.
16332 * sysdeps/sh/sh4/setjmp.S: Likewise.
16333 * sysdeps/unix/alpha/sysdep.h: Likewise.
16334 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
16335 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16336 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
16337 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16340 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16341 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16342 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16343 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16344 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16345 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16346 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16347 * sysdeps/x86_64/setjmp.S: Likewise.
16348
16349 2014-08-13 Joseph Myers <joseph@codesourcery.com>
16350
16351 [BZ #17263]
16352 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
16353 <stdint.h>.
16354 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
16355 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
16356
16357 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16358
16359 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
16360
16361 [BZ #17262]
16362 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
16363 and __x86_64__ when disabling x87 inline functions.
16364
16365 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
16366
16367 [BZ #17259]
16368 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
16369 asm statement with __cpuid_count.
16370
16371 2014-08-12 Mike Frysinger <vapier@gentoo.org>
16372
16373 * configure.ac: Change __ehdr_start code to dereference the struct.
16374 Run readelf on the output to look for relocations.
16375 * configure: Regenerated.
16376
16377 2014-08-12 Joseph Myers <joseph@codesourcery.com>
16378
16379 [BZ #17261]
16380 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
16381 value to 0.
16382 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
16383
16384 2014-08-12 Roland McGrath <roland@hack.frob.com>
16385
16386 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
16387
16388 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
16389
16390 [BZ #16892]
16391 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
16392 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
16393
16394 2014-08-12 Sean Anderson <seanga2@gmail.com>
16395
16396 * malloc/malloc.c: Fix typo in comment.
16397
16398 2014-08-09 Allan McRae <allan@archlinux.org>
16399
16400 * Regenerate libc.po.
16401
16402 2014-08-08 Mike Frysinger <vapier@gentoo.org>
16403
16404 * intl/tst-gettext2.sh: Check every lang file for creation.
16405
16406 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
16407
16408 * sysdeps/aarch64/fpu/math_private.h
16409 (libc_feholdsetround_noex_aarch64_ctx): New function.
16410
16411 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
16412
16413 * sysdeps/arm/armv6/strcpy.S (strcpy):
16414 Fix performance issue in misaligned cases.
16415
16416 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16417
16418 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
16419 Move definition from termios.h.
16420 (struct termio): Likewise.
16421 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16422 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
16423 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
16424 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
16425 Likewise.
16426 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
16427 Move definition to ioctl-types.h
16428 (struct termio): Likewise.
16429 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16430 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
16431 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
16432 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
16433 Likewise.
16434
16435 2014-08-05 Richard Henderson <rth@redhat.com>
16436
16437 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
16438 exceptions.
16439 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
16440 Add fraiseexcpt.
16441 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
16442 Use __feraiseexcept.
16443 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
16444 Protect libm symbols with IS_IN_libm.
16445
16446 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
16447
16448 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
16449
16450 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
16451
16452 2014-08-04 Will Newton <will.newton@linaro.org>
16453
16454 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
16455 file.
16456
16457 2014-08-04 Mike Frysinger <vapier@gentoo.org>
16458
16459 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
16460 variants for each function.
16461
16462 2014-08-04 Roland McGrath <roland@hack.frob.com>
16463
16464 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
16465 appended ...
16466 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
16467 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
16468 appended ...
16469 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
16470 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
16471 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
16472 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
16473 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
16474 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
16475 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
16476 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
16477 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
16478 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
16479 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
16480 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
16481 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
16482 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
16483 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
16484 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
16485 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
16486 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
16487 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
16488 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
16489 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
16490 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
16491 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
16492 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
16493 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
16494 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
16495 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
16496 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
16497 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
16498 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
16499 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
16500 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
16501 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
16502 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
16503 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
16504 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
16505 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
16506 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
16507 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
16508 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
16509 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
16510 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
16511 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
16512 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
16513 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
16514 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
16515 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
16516 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
16517 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
16518 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
16519 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
16520 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
16521 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
16522 Update #include.
16523 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
16524 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
16525
16526 2014-08-04 Roland McGrath <roland@hack.frob.com>
16527
16528 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
16529 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
16530 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
16531 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
16532 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
16533 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
16534
16535 2014-08-04 Roland McGrath <roland@hack.frob.com>
16536
16537 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
16538 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
16539 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16540 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
16541
16542 2014-08-04 Roland McGrath <roland@hack.frob.com>
16543
16544 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
16545 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
16546 (__libc_vfork): Define function under this name.
16547 (__vfork): Define as an alias.
16548 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
16549 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
16550
16551 2014-08-04 Roland McGrath <roland@hack.frob.com>
16552
16553 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
16554 that was previously under [RESET_PID].
16555 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
16556
16557 2014-08-04 Andreas Schwab <schwab@suse.de>
16558
16559 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
16560
16561 2014-08-03 Mike Frysinger <vapier@gentoo.org>
16562
16563 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
16564 (main): Likewise.
16565
16566 2014-08-01 Roland McGrath <roland@hack.frob.com>
16567
16568 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
16569
16570 2014-08-01 Richard Henderon <rth@redhat.com>
16571
16572 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
16573 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
16574 typo in exact zero test.
16575 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16576 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16577 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16578
16579 2014-08-01 Roland McGrath <roland@hack.frob.com>
16580
16581 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
16582 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
16583 * sysdeps/arm/sysdep.h: ... here.
16584 [!__ASSEMBLER__]: Include <stdint.h>.
16585
16586 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16587
16588 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
16589 (HAVE_WCTYPE_H): Likewise.
16590 (HAVE_ISWCTYPE): Likewise.
16591 (ENABLE_NLS): Likewise.
16592 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
16593 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
16594
16595 * posix/regex_internal.c: Check if DEBUG is defined and is
16596 set.
16597
16598 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
16599 (HAVE_MBSRTOWCS): Likewise.
16600 * posix/fnmatch.c: Include string.h unconditionally.
16601
16602 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
16603
16604 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
16605 reversal.
16606
16607 2014-07-31 Roland McGrath <roland@hack.frob.com>
16608
16609 * sysdeps/generic/safe-fatal.h: New file.
16610 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
16611 * nptl/forward.c: Include it.
16612 (__pthread_unwind): Use __safe_fatal as default action, rather
16613 than a bogus use of INTERNAL_SYSCALL that could never work.
16614
16615 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
16616 * configure.ac (libc_cv_builtin_trap): New test.
16617 * configure: Regenerated.
16618 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
16619 (ABORT_INSTRUCTION): Define using __builtin_trap.
16620
16621 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
16622 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
16623 * sysdeps/nptl/nptl-signals.h: New file.
16624 * nptl/pthreadP.h: Include <nptl-signals.h>.
16625
16626 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
16627
16628 * sysdeps/s390/s390-64/utf16-utf32-z9.c
16629 (ONE_DIRECTION): Define.
16630 * sysdeps/s390/s390-64/utf8-utf16-z9.c
16631 (ONE_DIRECTION): Define.
16632 * sysdeps/s390/s390-64/utf8-utf32-z9.c
16633 (ONE_DIRECTION): Define.
16634
16635 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
16636
16637 * sysdeps/s390/Makefile: Delete file.
16638 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
16639 * sysdeps/s390/__longjmp.c: Delete file.
16640 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
16641 Remove fields __flags and __reserved.
16642 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
16643 and add versioning.
16644 * sysdeps/s390/rtld-__longjmp.c: Delete file.
16645 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
16646 * sysdeps/s390/rtld-setjmp.S: Likewise.
16647 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
16648 * sysdeps/s390/s390-32/__longjmp.c: ... here.
16649 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
16650 * sysdeps/s390/s390-32/setjmp.S: ... here.
16651 Add versioning.
16652 (__sigsetjmp): Remove setting __flags field.
16653 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
16654 * sysdeps/s390/s390-64/__longjmp.c: ... here.
16655 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
16656 * sysdeps/s390/s390-64/setjmp.S: ... here.
16657 Add versioning.
16658 (__sigsetjmp): Remove setting __flags field.
16659 * sysdeps/s390/setjmp.S: Delete file.
16660 * sysdeps/s390/sigjmp.c: Likewise.
16661 * sysdeps/s390/v1-longjmp.c: Likewise.
16662 * sysdeps/s390/v1-setjmp.h: Likewise.
16663 * sysdeps/s390/v1-sigjmp.c: Likewise.
16664 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
16665 Remove v1-longjmp_chk.
16666 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
16667 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
16668 Include debug/longjmp_chk.c and add versioning.
16669 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
16670 Include nptl/pt-longjmp.c and add versioning.
16671 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
16672 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
16673 Include __longjmp.c.
16674 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16675 Move to ...
16676 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
16677 (__getcontext): Remove setting __flags field.
16678 Add versioning.
16679 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16680 Don't restore upper high grps.
16681 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
16682 Likewise.
16683 (__swapcontext): Remove setting uc_flags field.
16684 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
16685 Delete file.
16686 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16687 Include __longjmp.c.
16688 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16689 Move to ...
16690 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
16691 (__getcontext): Remove setting __flags field.
16692 Add versioning.
16693 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
16694 (__swapcontext): Remove setting uc_flags field.
16695 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
16696 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
16697 Remove fields uc_high_gprs and __reserved.
16698 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
16699 New file with reverted content.
16700 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
16701 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
16702 Regenerated.
16703 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
16704 Regenerated.
16705
16706 2014-07-31 Andreas Schwab <schwab@suse.de>
16707
16708 * config.h.in (HAVE_IFUNC): Define to 0.
16709 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
16710 definedness.
16711
16712 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
16713
16714 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16715 memmove-avx-unaligned, memcpy-avx-unaligned and
16716 mempcpy-avx-unaligned.
16717 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16718 Add tests for AVX memcpy functions.
16719 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
16720 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
16721 memcpy_chk.
16722 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
16723 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
16724 memmove_chk.
16725 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
16726 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
16727 mempcpy_chk.
16728 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
16729 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
16730 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
16731
16732 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16733
16734 [BZ #17213]
16735 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
16736 powerpc64le.
16737
16738 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
16739
16740 [BZ #16839]
16741 * manual/llio.texi: Add section about open file description locks.
16742 * manual/examples/ofdlocks.c: Example of open file description
16743 lock usage.
16744 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
16745 F_OFD_SETLK, and F_OFD_SETLKW.
16746
16747 2014-07-23 Allan McRae <allan@archlinux.org>
16748
16749 * po/es.po: Update Spanish translation from translation project.
16750
16751 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
16752
16753 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
16754
16755 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
16756
16757 [BZ #17078]
16758 * sysdeps/arm/dl-machine.h (elf_machine_rela)
16759 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
16760 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
16761
16762 2014-07-17 Joseph Myers <joseph@codesourcery.com>
16763
16764 [BZ #17088]
16765 * math/fesetenv.c (__fesetenv)
16766 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
16767 * math/feupdateenv.c (__feupdateenv)
16768 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
16769
16770 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
16771 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
16772 (__ASSUME_SOCKETCALL): Do not define.
16773
16774 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
16775 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
16776 (__ASSUME_SOCKETCALL): Do not define.
16777 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
16778 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
16779 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16780 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
16781 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16782 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
16783 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16784 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16785
16786 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
16787 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
16788 (__ASSUME_SOCKETCALL): Do not define.
16789 (__ASSUME_IPC64): Define unconditionally.
16790 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
16791 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16792 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
16793 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16794 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
16795 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16796 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
16797 Likewise.
16798
16799 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
16800 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
16801 (__ASSUME_SOCKETCALL): Do not define.
16802 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
16803 (__ASSUME_FUTEX_LOCK_PI): Likewise.
16804 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16805 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16806 (__ASSUME_REQUEUE_PI): Define unconditionally.
16807 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
16808 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
16809 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16810 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
16811 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16812 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16813
16814 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
16815 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
16816 (__ASSUME_SOCKETCALL): Do not define.
16817 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
16818 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16819 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16820 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
16821 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16822 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16823
16824 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
16825 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
16826 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16827 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
16828 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16829 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
16830 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16831 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
16832 (__ASSUME_GETCPU_SYSCALL): Likewise.
16833
16834 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
16835 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
16836 cases for individual architectures.
16837 * sysdeps/gnu/configure: Regenerated.
16838 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
16839 LIBC_SLIBDIR_RTLDDIR.
16840 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
16841 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
16842 LIBC_SLIBDIR_RTLDDIR.
16843 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
16844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
16845 LIBC_SLIBDIR_RTLDDIR.
16846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
16847 Regenerated.
16848 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
16849 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
16850 file.
16851 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
16852 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
16853 file.
16854 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
16855 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
16856 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
16857 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
16858
16859 * sysdeps/aarch64/shlib-versions: Move to ...
16860 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
16861 * sysdeps/alpha/shlib-versions: Move to ...
16862 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
16863 * sysdeps/arm/shlib-versions: Move to ...
16864 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
16865 * sysdeps/hppa/shlib-versions: Move all contents except for
16866 libgcc_s entry to ...
16867 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
16868 entry from ...
16869 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
16870 * sysdeps/ia64/shlib-versions: Move to ...
16871 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
16872 entry from ...
16873 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
16874 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
16875 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
16876 * sysdeps/microblaze/shlib-versions: Move to ...
16877 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
16878 * sysdeps/mips/shlib-versions: Move to ...
16879 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
16880 entry from ...
16881 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
16882 * sysdeps/tile/shlib-versions: Move to ...
16883 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
16884 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
16885 from ...
16886 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
16887 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
16888 entry from ...
16889 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
16890
16891 2014-07-17 Will Newton <will.newton@linaro.org>
16892
16893 * sysdeps/arm/bits/atomic.h
16894 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
16895 (__arch_compare_and_exchange_bool_16_int): Likewise.
16896 (__arch_compare_and_exchange_bool_64_int): Likewise.
16897
16898 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
16899 into an #else block.
16900
16901 2014-07-16 Roland McGrath <roland@hack.frob.com>
16902
16903 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
16904 just Linux configurations. Test empirically that the compiler sets
16905 __ARM_EABI__, rather than using the tuple to decide.
16906 * sysdeps/arm/preconfigure: Regenerated.
16907 * sysdeps/unix/sysv/linux/arm/configure: File removed.
16908 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
16909 contents appended ...
16910 * sysdeps/arm/configure.ac: ... here.
16911 * sysdeps/arm/configure: Regenerated.
16912
16913 2014-07-15 Roland McGrath <roland@hack.frob.com>
16914
16915 * nptl/pthread_kill.c: New file.
16916 * nptl/pthread_sigmask.c: New file.
16917 * nptl/pthread_sigqueue.c: New file.
16918
16919 * sysdeps/nptl/lowlevellock.h: New file.
16920 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
16921 * sysdeps/nptl/lowlevellock-futex.h: New file.
16922
16923 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
16924 Remove dead declarations.
16925
16926 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
16927
16928 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
16929 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
16930 config-cflags-avx2.
16931 * sysdeps/x86_64/configure.ac: Likewise.
16932 * sysdeps/i386/configure: Regenerated.
16933 * sysdeps/x86_64/configure: Likewise.
16934 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16935 memset-avx2 only if config-cflags-avx2 is yes.
16936 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16937 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
16938 defined.
16939 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
16940 only if HAVE_AVX2_SUPPORT is defined.
16941 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16942
16943 2014-07-14 Alan Modra <amodra@gmail.com>
16944
16945 [BZ #17153]
16946 * elf/elf.h (DT_PPC64_NUM): Correct value.
16947 * NEWS: Add to fixed bug list.
16948
16949 2014-07-13 Jim Meyering <meyering@fb.com>
16950
16951 [BZ 17150]
16952 regex: don't deref NULL upon heap allocation failure
16953 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
16954 failure in one more place.
16955 To trigger the segfault, configure grep -with-included-regex,
16956 build it, and run these commands:
16957 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
16958
16959 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
16960
16961 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16962
16963 2014-07-11 Richard Henderson <rth@redhat.com>
16964
16965 * sysdeps/aarch64/libm-test-ulps: Update.
16966
16967 2014-07-10 Florian Weimer <fweimer@redhat.com>
16968
16969 [BZ #17135]
16970 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
16971 * nptl/allocatestack.c (__nptl_setxid_error): New function.
16972 (__nptl_setxid): Initialize error member. Call
16973 __nptl_setxid_error.
16974 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
16975 * nptl/descr.h (struct xid_command): Add error member.
16976 * nptl/tst-setuid3.c: New file.
16977 * nptl/Makefile (tests): Add it.
16978
16979 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16980
16981 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
16982 New define.
16983 (__lll_trylock): Use __lll_base_trylock.
16984 (__lll_cond_trylock): Likewise.
16985
16986 2014-07-10 Roland McGrath <roland@hack.frob.com>
16987
16988 * nptl/pthread_create.c (start_thread): Use atomic_or and
16989 lll_futex_wake directly rather than lll_robust_dead.
16990 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16991 (lll_robust_dead): Macro removed.
16992 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
16993 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16994 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16995 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16996 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16997 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16998 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16999 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17000 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
17001 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17002 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17003 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17004 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17005 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17006 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17007
17008 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
17009 Use atomic_compare_and_exchange_val_acq directly rather than
17010 lll_robust_trylock.
17011 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
17012 (__lll_robust_trylock, lll_robust_trylock): Removed.
17013 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
17014 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
17015 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17016 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17017 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
17018 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
17019 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17020 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
17021 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17022 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17023 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17024 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17025 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17026 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17027
17028 2014-07-02 Florian Weimer <fweimer@redhat.com>
17029
17030 * manual/locale.texi (Locale Names): New section documenting
17031 locale name syntax. Adjust menu and node chaining accordingly.
17032 (Choosing Locale): Reference Locale Names, Locale Categories.
17033 Mention setting LC_ALL=C. Reflect that name syntax is now
17034 documented.
17035 (Locale Categories): New section title. Reference Locale Names.
17036 LC_ALL is an environment variable, but not a category.
17037 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
17038 description, now in Locale Name. Reference that section. Locale
17039 name syntax is now documented.
17040
17041 2014-07-02 Florian Weimer <fweimer@redhat.com>
17042
17043 [BZ #17137]
17044 * locale/findlocale.c (name_present, valid_locale_name): New
17045 functions.
17046 (_nl_find_locale): Use the loc_name variable to store name
17047 candidates. Call name_present and valid_locale_name to check and
17048 validate locale names. Return an error if the locale is invalid.
17049
17050 2014-07-02 Florian Weimer <fweimer@redhat.com>
17051
17052 * locale/setlocale.c (setlocale): Use strdup for allocating
17053 composite name copy.
17054
17055 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17056
17057 Sync up with gnulib.
17058 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
17059 [!_LIBC && ENABLE_NLS]: Include gettext.h.
17060 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
17061 and _GL_ARG_NONNULL.
17062 [USE_UNLOCKED_IO]: Include unlocked-io.h.
17063 [!_LIBC]: Include code for Windows and Cygwin.
17064 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
17065 Include prototype for int strerror_r.
17066 [!_LIBC] (is_open): New function.
17067 (flush_stdout): New function.
17068 (print_errno_message): Use it.
17069 (error): Likewise.
17070 (error_at_line): Likewise.
17071 (error_tail) Add function attribute macros. Use
17072 __builtin_expect.
17073
17074 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
17075
17076 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
17077
17078 * io/ftw.c: Include sys/param.h unconditionally.
17079
17080 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
17081
17082 [BZ #17125]
17083 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
17084 libc_freeres_ptr.
17085 (freecache): New function to free CACHE on exit.
17086
17087 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
17088 initialization.
17089
17090 2014-07-09 David S. Miller <davem@davemloft.net>
17091
17092 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17093
17094 * sysdeps/sparc/nptl/internaltypes.h: Delete.
17095 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
17096 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
17097 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
17098 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
17099 * sysdeps/sparc/nptl/sem_init.c: Likewise.
17100 * sysdeps/sparc/nptl/sem_post.c: Likewise.
17101 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
17102 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
17103 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
17104 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
17105 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
17106 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
17107
17108 2014-07-09 Andreas Schwab <schwab@suse.de>
17109
17110 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
17111 output.
17112 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
17113 (do_test): Likewise.
17114
17115 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17116
17117 2014-07-09 Will Newton <will.newton@linaro.org>
17118
17119 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
17120 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
17121 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
17122 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
17123 * sysdeps/hppa/start.S (_start): Likewise.
17124
17125 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
17126
17127 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
17128
17129 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
17130 defined.
17131
17132 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17133
17134 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
17135 after checking that it is non-NULL.
17136
17137 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
17138
17139 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17140
17141 * sysdeps/powerpc/memmove.c: Remove file.
17142 * sysdeps/powerpc/powerpc32/power4/memcopy.h
17143 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
17144 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
17145 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
17146 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
17147 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
17148 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
17149 string memmove instead of removed powerpc one.
17150
17151 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17152 [weak_alias]: Fix compiler warning due trailing data.
17153 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
17154 [weak_alias]: Likewise.
17155 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
17156 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
17157
17158 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17159 (__libc_ifunc_impl_list): Add memmove functions.
17160
17161 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17162
17163 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
17164 Remove code.
17165 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
17166 Likewise
17167 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
17168 Likewise
17169 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
17170 Likewise
17171 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
17172 Likewise
17173 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
17174 Likewise
17175 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
17176 Likewise
17177 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
17178 Likewise
17179 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
17180 Likewise
17181 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
17182 Likewise
17183 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
17184 Likewise
17185 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
17186 Likewise
17187 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
17188 Likewise
17189 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
17190 Likewise
17191 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
17192 Likewise
17193 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
17194 Likewise
17195 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
17196 Likewise
17197
17198 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17199
17200 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
17201 to avoid alignment traps in non-cacheable memory.
17202 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
17203
17204 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
17205 multiarch objects.
17206 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
17207 file: multiarch power7 memmove.
17208 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
17209 multiarch default memmove.
17210 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
17211 multiarch memove for powerpc32/power4.
17212
17213 * string/bcopy.c: Use full path to include memmove.c.
17214 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
17215 multiarch objects.
17216 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
17217 bcopy for powerpc64.
17218 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
17219 bcopy for powerpc64.
17220 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
17221 and memmove implementations.
17222 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
17223 optimized multiarch memmove for POWER7/powerpc64.
17224 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
17225 default multiarch memmove for powerpc64.
17226 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
17227 multiarch for powerpc64.
17228 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
17229 for POWER7/powerpc64.
17230 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
17231 memmove for POWER7/powerpc64.
17232
17233 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
17234 glibc default one.
17235
17236 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
17237 __ELF_NATIVE_CLASS equal to 64.
17238
17239 2014-07-07 Roland McGrath <roland@hack.frob.com>
17240
17241 * sysdeps/nptl/lowlevellock.h: File removed.
17242
17243 * NEWS: NPTL is no longer an add-on!
17244 * nptl/internaltypes.h: Moved ...
17245 * sysdeps/nptl/internaltypes.h: ... here.
17246 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
17247 * sysdeps/nptl/fork.c: Likewise.
17248 * sysdeps/nptl/gai_misc.h: Likewise.
17249 * sysdeps/nptl/librt-cancellation.c: Likewise.
17250 * sysdeps/nptl/jmp-unwind.c: Likewise.
17251 * sysdeps/nptl/setxid.h: Likewise.
17252 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
17253 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
17254 * sysdeps/unix/sysv/linux/arm/Implies: New file.
17255 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
17256 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
17257 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
17258 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
17259 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
17260 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
17261 * sysdeps/unix/sysv/linux/mips/Implies: New file.
17262 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
17263 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
17264 * sysdeps/unix/sysv/linux/sh/Implies: New file.
17265 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
17266 * sysdeps/unix/sysv/linux/tile/Implies: New file.
17267 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
17268 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
17269 * nptl/Makeconfig: Moved ...
17270 * sysdeps/nptl/Makeconfig: ... here.
17271 * nptl/configure: File removed.
17272 * nptl/ANNOUNCE: File removed.
17273 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
17274 * sysdeps/unix/sysv/linux/configure: Regenerated.
17275
17276 * nptl/Makefile (routines): Add libc_pthread_init,
17277 libc_multiple_threads, register-atfork and unregister-atfork.
17278 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
17279 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
17280 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
17281 pthread-pi-defines.sym, structsem.sym.
17282 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
17283 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
17284 [$(subdir) = nptl] (tests): Add tst-setgetname.
17285 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
17286 * sysdeps/unix/sysv/linux/sigaction.c: Just include
17287 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
17288 [!LIBC_SIGACTION]: Remove aliases.
17289 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
17290 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17291 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17292 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
17293 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17294 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
17295 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17296 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17297 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17298 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
17299 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
17300 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
17301 __libc_allocate_rtsig_private.
17302 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
17303 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
17304 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
17305 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
17306 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
17307 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
17308 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
17309 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
17310 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
17311 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
17312 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
17313 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
17314 * nptl/internaltypes.h: ... here.
17315 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
17316 * sysdeps/nptl/jmp-unwind.c: ... here.
17317 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
17318 * nptl/libc-lowlevellock.c: ... here.
17319 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
17320 * nptl/libc_multiple_threads.c: ... here.
17321 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
17322 * nptl/libc_pthread_init.c: ... here.
17323 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
17324 * nptl/lowlevelbarrier.sym: ... here.
17325 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
17326 * nptl/lowlevelcond.sym: ... here.
17327 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
17328 * nptl/lowlevellock.c: ... here.
17329 * nptl/lowlevellock.h: Moved ...
17330 * sysdeps/nptl/lowlevellock.h: ... here.
17331 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
17332 * nptl/lowlevelrobustlock.c: ... here.
17333 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
17334 * nptl/lowlevelrobustlock.sym: ... here.
17335 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
17336 * nptl/lowlevelrwlock.sym: ... here.
17337 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
17338 * nptl/pt-fork.c: ... here.
17339 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
17340 * nptl/pthread-pi-defines.sym: ... here.
17341 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
17342 * nptl/pthread_attr_getaffinity.c: ... here.
17343 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
17344 * nptl/pthread_attr_setaffinity.c: ... here.
17345 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
17346 * nptl/pthread_mutex_cond_lock.c: ... here.
17347 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
17348 Update #include.
17349 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
17350 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
17351 * nptl/pthread_once.c: ... here, replacing old file.
17352 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
17353 * nptl/pthread_yield.c: ... here.
17354 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
17355 * nptl/register-atfork.c: ... here.
17356 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
17357 * nptl/sem_post.c: ... here.
17358 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
17359 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
17360 * nptl/sem_timedwait.c: ... here.
17361 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
17362 * nptl/sem_trywait.c: ... here.
17363 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
17364 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
17365 * nptl/sem_wait.c: ... here.
17366 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
17367 * nptl/structsem.sym: ... here.
17368 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
17369 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
17370 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
17371 * nptl/unregister-atfork.c: ... here.
17372 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
17373 * nptl/unwindbuf.sym: ... here.
17374 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
17375 * sysdeps/nptl/fork.c: ... here.
17376 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
17377 * sysdeps/nptl/fork.h: ... here.
17378 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
17379 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
17380 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
17381 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
17382 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
17383 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
17384 * sysdeps/unix/sysv/linux/getpid.c: ... here.
17385 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
17386 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
17387 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
17388 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
17389 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
17390 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
17391 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
17392 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
17393 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
17394 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
17395 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
17396 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
17397 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
17398 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
17399 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
17400 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
17401 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
17402 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
17403 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
17404 * sysdeps/unix/sysv/linux/raise.c: ... here.
17405 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
17406 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
17407 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
17408 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
17409 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
17410 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
17411 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
17412 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
17413 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
17414 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
17415 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
17416 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
17417 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
17418 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
17419 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
17420
17421 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17422
17423 * sysdeps/generic/memcopy.h: Add comment for
17424 MEMCPY_OK_FOR_FWD_MEMMOVE.
17425
17426 2014-07-04 Will Newton <will.newton@linaro.org>
17427
17428 * string/memchr.c: Merge from gnulib.
17429 [_LIBC]: Remove conditionals.
17430 (__ptr_t): Remove define.
17431 (LONG_MAX_32_BITS): Likewise.
17432 (LONG_MAX): Likewise.
17433 (MEMCHR): Use ANSI prototype and optimize algorithm.
17434
17435 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
17436
17437 2014-07-03 Roland McGrath <roland@hack.frob.com>
17438
17439 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
17440 (lll_futex_timed_wait_bitset): Fix syscall argument count.
17441
17442 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
17443 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
17444 in a bare environment with no <stdlib.h> installed.
17445 * sysdeps/nptl/configure: Regenerated.
17446
17447 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
17448
17449 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
17450 AC_EGREP_CPP for kernel header checks, so they only succeed if
17451 including <linux/version.h> actually works right.
17452 * sysdeps/unix/sysv/linux/configure: Regenerated.
17453
17454 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
17455 value so it's not diagnosed as unused.
17456
17457 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
17458 thing) with "ifeq ($(subdir),rt)".
17459
17460 2014-07-03 Richard Henderson <rth@redhat.com>
17461
17462 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
17463 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
17464 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
17465
17466 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
17467 (math_force_eval): New.
17468
17469 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
17470 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
17471
17472 * sysdeps/alpha/fpu/s_round.c: Remove file.
17473 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
17474
17475 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
17476 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
17477 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
17478 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
17479 (_dl_start, print_statistics): Likewise.
17480 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
17481 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
17482
17483 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17484 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17485 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17486 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17487 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17488 (HP_SMALL_TIMING_AVAIL): Define.
17489 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17490 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
17491 (HP_SMALL_TIMING_AVAIL): Define.
17492 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17493 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17494
17495 * sysdeps/aarch64/hp-timing.h: New file.
17496
17497 * sysdeps/generic/hp-timing.h: Remove dead comment.
17498 * sysdeps/generic/hp-timing-common.h: New file.
17499 * sysdeps/alpha/hp-timing.h: Include it.
17500 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
17501 * sysdeps/i386/i686/hp-timing.h: Likewise.
17502 * sysdeps/ia64/hp-timing.h: Likewise.
17503 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17504 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17505 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17506 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17507 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
17508 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
17509 (hp_timing_t): New.
17510
17511 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
17512 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
17513 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
17514 * elf/rtld.c (_dl_start_final): Likewise.
17515 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
17516 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17517 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17518 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17519 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17520 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17521 (HP_TIMING_DIFF_INIT): Remove.
17522 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17523 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
17524 (HP_TIMING_DIFF_INIT): Remove.
17525 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17526 * sysdeps/i386/i686/hp-timing.c: Remove file.
17527 * sysdeps/x86_64/hp-timing.c: Remove file.
17528 * sysdeps/ia64/hp-timing.c: Remove file.
17529 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
17530 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
17531 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
17532 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
17533
17534 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
17535 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
17536 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
17537 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17538 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17539 (HP_TIMING_ACCUM): Remove.
17540 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17541 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
17542 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17543
17544 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
17545 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
17546 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
17547 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
17548 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
17549 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
17550 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
17551 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
17552
17553 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
17554
17555 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
17556
17557 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
17558
17559 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17560
17561 Sync up with gettext.
17562 * intl/loadmsgcat.c: Define O_BINARY if not defined.
17563 [_MSC_VER]: Include malloc.h
17564 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
17565 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
17566 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
17567 TEMP_FAILURE_RETRY. Cast return of alloca.
17568 [!_LIBC] Call gl_rwlock_init.
17569 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
17570
17571 2014-07-02 Roland McGrath <roland@hack.frob.com>
17572
17573 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
17574 before checking its value.
17575
17576 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17577
17578 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
17579
17580 * debug/memcpy_chk.c: Don't include pagecopy.h.
17581 * debug/mempcpy_chk.c: Likewise.
17582 * string/memcpy.c: Likewise.
17583 * string/memmove.c: Likewise.
17584 * sysdeps/powerpc/memmove.c: Likewise.
17585 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
17586 definition of PAGE_COPY_FWD_MAYBE here...
17587 * sysdeps/generic/pagecopy.h: ... from here.
17588 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
17589
17590 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17591 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17592
17593 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
17594 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
17595 optimizations.
17596 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17597 (__libc_ifunc_impl_list): Likewise.
17598 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
17599 multiarch strcat for PPC64.
17600 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
17601 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
17602
17603 2014-07-02 Roland McGrath <roland@hack.frob.com>
17604
17605 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
17606
17607 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17608
17609 * intl/loadmsgcat.c: Remove declaration of
17610 get_sysdep_segment_value.
17611 (get_sysdep_segment_value): Use ISO C style.
17612 (_nl_load_domain): Use ISO C style. Get rid of redundant
17613 semicolon. Fix typo and formatting in comment.
17614 (_nl_unload_domain): Use ISO C style.
17615
17616 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
17617
17618 2014-07-02 Will Newton <will.newton@linaro.org>
17619
17620 * malloc/obstack.c: Merge from gnulib master.
17621 [HAVE_CONFIG_H]: Remove conditional code.
17622 [!_LIBC]: Include config.h.
17623 [!ELIDE_CODE]: Don't include inttypes.h, include
17624 stdint.h unconditionally.
17625 (print_and_abort): Mark as _Noreturn.
17626 (_obstack_allocated_p): Mark as __attribute_pure__.
17627 (obstack_free): Rename to __obstack_free.
17628 [!__attribute__]: Remove conditional code.
17629 * malloc/obstack.h: Merge from gnulib master.
17630 [__cplusplus]: Move conditional down.
17631 [!__attribute_pure__]: Define __attribute_pure__ here
17632 if it is not already defined.
17633 (_obstack_memory_used): Mark as __attribute_pure__.
17634 [!__obstack_free]: Define as obstack_free.
17635 [__GNUC__]: Remove check for ancient NeXT gcc.
17636
17637 2014-07-02 Will Newton <will.newton@linaro.org>
17638 Paul Eggert <eggert@cs.ucla.edu>
17639
17640 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
17641
17642 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17643
17644 * resolv/gethnamaddr.c: Add comment warning that the file is
17645 not maintained.
17646
17647 2014-07-01 Carlos O'Donell <carlos@redhat.com>
17648
17649 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
17650 entries.
17651
17652 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
17653 entry for aio_cancel and aio_cancel64.
17654 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
17655 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
17656 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
17657 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
17658 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
17659 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
17660 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
17661 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
17662 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
17663 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
17664 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
17665 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
17666 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
17667
17668 2014-07-01 Roland McGrath <roland@hack.frob.com>
17669
17670 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
17671 * nptl/pthread_mutex_lock.c: Likewise.
17672 * nptl/pthread_mutex_timedlock.c: Likewise.
17673 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
17674
17675 2014-07-01 Richard henderson <rth@redhat.com>
17676
17677 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
17678 (__isnan, __isnanl): Remove.
17679 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
17680
17681 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17682
17683 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
17684
17685 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17686
17687 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17688
17689 * resolv/nss_dns/dns-host.c (getanswer_r)
17690 [MULTI_PTRS_ARE_ALIASES]: Remove code.
17691
17692 2014-07-01 Joseph Myers <joseph@codesourcery.com>
17693
17694 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17695 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
17696 undefine.
17697 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
17698 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
17699
17700 2014-07-01 Roland McGrath <roland@hack.frob.com>
17701
17702 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
17703 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
17704
17705 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
17706 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
17707
17708 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
17709 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
17710 ... here.
17711 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
17712 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
17713
17714 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
17715 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
17716 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
17717 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
17718
17719 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
17720 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
17721 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
17722 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
17723 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
17724 Moved ...
17725 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
17726 ... here.
17727 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
17728 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
17729 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
17730 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
17731 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
17732 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
17733 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
17734 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
17735 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
17736 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
17737 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
17738 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
17739 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
17740 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
17741 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
17742 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
17743 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
17744 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
17745 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
17746 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
17747 ... here.
17748 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
17749 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
17750 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
17751 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
17752 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
17753 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
17754 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
17755 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
17756
17757 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
17758
17759 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
17760 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
17761 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
17762 Add sysdep.
17763
17764 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17765
17766 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17767
17768 2014-06-30 Joseph Myers <joseph@codesourcery.com>
17769
17770 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17771 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17772
17773 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17774
17775 * sysdeps/arm/libm-test-ulps: Regenerated.
17776
17777 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
17778 Roland McGrath <roland@hack.frob.com>
17779
17780 * test-skeleton.c (signal_handler): Kill the whole process group
17781 before killing the child individually.
17782 (main): Report any failure on `setpgid'.
17783
17784 2014-06-30 Roland McGrath <roland@hack.frob.com>
17785
17786 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
17787 from _TLS_H to _ARM_NPTL_TLS_H.
17788 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
17789 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
17790
17791 2014-06-30 Joseph Myers <joseph@codesourcery.com>
17792
17793 [BZ #16539]
17794 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
17795 (__expm1l): Return argument unchanged when small but not
17796 subnormal.
17797
17798 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
17799 include macro name.
17800 (_FP_UNPACK_RAW_1_P): Likewise.
17801 (_FP_PACK_RAW_1): Likewise.
17802 (_FP_PACK_RAW_1_P): Likewise.
17803 (_FP_MUL_MEAT_1_wide): Likewise.
17804 (_FP_MUL_MEAT_DW_1_hard): Likewise.
17805 (_FP_MUL_MEAT_1_hard): Likewise.
17806 (_FP_DIV_MEAT_1_imm): Likewise.
17807 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
17808 (_FP_DIV_MEAT_1_udiv): Likewise.
17809 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
17810 (_FP_UNPACK_RAW_2): Likewise.
17811 (_FP_UNPACK_RAW_2_P): Likewise.
17812 (_FP_PACK_RAW_2): Likewise.
17813 (_FP_PACK_RAW_2_P): Likewise.
17814 (_FP_MUL_MEAT_DW_2_wide): Likewise.
17815 (_FP_MUL_MEAT_2_wide): Likewise.
17816 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
17817 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
17818 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
17819 (_FP_MUL_MEAT_2_gmp): Likewise.
17820 (_FP_DIV_MEAT_2_udiv): Likewise.
17821 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
17822 (_FP_FRAC_SRL_4): Likewise.
17823 (_FP_FRAC_SRST_4): Likewise.
17824 (_FP_FRAC_SRS_4): Likewise.
17825 (_FP_UNPACK_RAW_4): Likewise.
17826 (_FP_UNPACK_RAW_4_P): Likewise.
17827 (_FP_PACK_RAW_4): Likewise.
17828 (_FP_PACK_RAW_4_P): Likewise.
17829 (_FP_MUL_MEAT_DW_4_wide): Likewise.
17830 (_FP_MUL_MEAT_4_wide): Likewise.
17831 (_FP_MUL_MEAT_4_gmp): Likewise.
17832 (umul_ppppmnnn): Likewise.
17833 (_FP_DIV_MEAT_4_udiv): Likewise.
17834 (__FP_FRAC_ADD_4): Likewise.
17835 (__FP_FRAC_SUB_3): Likewise.
17836 (__FP_FRAC_SUB_4): Likewise.
17837 (__FP_FRAC_DEC_3): Likewise.
17838 (__FP_FRAC_DEC_4): Likewise.
17839 (__FP_FRAC_ADDI_4): Likewise.
17840 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
17841 (_FP_FRAC_SRL_8): Likewise.
17842 (_FP_FRAC_SRS_8): Likewise.
17843
17844 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
17845 include macro name.
17846 (FP_UNPACK_RAW_EP): Likewise.
17847 (FP_PACK_RAW_E): Likewise.
17848 (FP_PACK_RAW_EP): Likewise.
17849 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
17850 (_FP_ISSIGNAN): Likewise.
17851 (_FP_ADD_INTERNAL): Likewise.
17852 (_FP_FMA): Likewise.
17853 (_FP_CMP): Likewise.
17854 (_FP_SQRT): Likewise.
17855 (_FP_TO_INT): Likewise.
17856 (_FP_FROM_INT): Likewise.
17857 (FP_EXTEND): Likewise.
17858 (_FP_DIV_MEAT_N_loop): Likewise.
17859
17860 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
17861
17862 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
17863 throughout.
17864
17865 2014-06-29 Joseph Myers <joseph@codesourcery.com>
17866
17867 [BZ #17097]
17868 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
17869 result with correct sign in case of exponents that produce
17870 overflow except for X very close to 1.
17871
17872 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
17873
17874 mktime: merge #if/#ifdef usage from glibc
17875 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
17876 as that works with both Glibc's and Gnulib's style.
17877 See thread starting at Siddhesh Poyarekar's bug report at:
17878 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
17879
17880 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17881
17882 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
17883 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
17884 * sysdeps/tile/tilegx/memmove.c: Remove file.
17885
17886 2014-06-27 Joseph Myers <joseph@codesourcery.com>
17887
17888 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
17889 abi-name definition.
17890 * scripts/soversions.awk: Do not handle or generate ABI lines.
17891 * shlib-versions: Remove ABI entries.
17892 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
17893 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
17894
17895 2014-06-27 Roland McGrath <roland@hack.frob.com>
17896
17897 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
17898 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
17899 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
17900 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
17901 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
17902 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
17903 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
17904 Moved ...
17905 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
17906 ... here.
17907 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
17908 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
17909 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
17910 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
17911 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
17912 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
17913 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
17914 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
17915 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
17916 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
17917 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
17918 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
17919 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
17920 Moved ...
17921 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
17922 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
17923 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
17924 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
17925 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
17926 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
17927 Moved ...
17928 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
17929 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
17930 Moved ...
17931 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
17932 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
17933 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
17934 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
17935 Moved ...
17936 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
17937 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
17938 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
17939 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
17940 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
17941 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
17942 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
17943 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
17944 Moved ...
17945 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
17946 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
17947 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
17948 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
17949 Moved ...
17950 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
17951 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
17952 Moved ...
17953 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
17954 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
17955 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
17956 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
17957 Moved ...
17958 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
17959 ... here.
17960 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
17961 Identical file removed.
17962 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
17963 Moved ...
17964 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
17965 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
17966 Identical file removed.
17967 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
17968 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
17969 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
17970 Moved ...
17971 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
17972 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
17973 Identical file removed.
17974 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
17975 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
17976 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
17977 Identical file removed.
17978 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
17979 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
17980 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
17981 Identical file removed.
17982 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
17983 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
17984 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
17985 Identical file removed.
17986 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
17987 Moved ...
17988 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
17989 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
17990 Identical file removed.
17991 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
17992 Moved ...
17993 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
17994 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
17995 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
17996 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
17997 Identical file removed.
17998 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
17999 Moved ...
18000 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
18001 ... here.
18002 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
18003 Identical file removed.
18004 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
18005 Moved ...
18006 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
18007 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
18008 Identical file removed.
18009 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
18010 Moved ...
18011 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
18012 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
18013 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
18014 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
18015 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
18016 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
18017 Moved ...
18018 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
18019 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
18020 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
18021
18022 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
18023 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
18024 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
18025 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
18026 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
18027
18028 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
18029
18030 [BZ #17092]
18031 * nscd/nscd.c (monitor_child): Return exit status of child
18032 instead of return value from wait syscall.
18033
18034 2014-06-27 Joseph Myers <joseph@codesourcery.com>
18035
18036 * configure.ac (libc_commonpagesize): Remove variable.
18037 (libc_relro_required): Likewise.
18038 (libc_cv_z_relro): Remove configure test.
18039 * configure: Regenerated.
18040 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
18041 variable.
18042 (libc_relro_required): Likewise.
18043 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
18044 (libc_relro_required): Likewise.
18045 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
18046 (libc_relro_required): Likewise.
18047 * sysdeps/arm/preconfigure: Regenerated.
18048 * sysdeps/ia64/preconfigure: Remove file.
18049 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
18050 variable.
18051 (libc_relro_required): Likewise.
18052
18053 [BZ #16561]
18054 [BZ #16562]
18055 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
18056 (__ieee754_yn): Set FE_TONEAREST mode internally and then
18057 recompute overflowing results in original rounding mode.
18058 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
18059 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
18060 recompute overflowing results in original rounding mode.
18061 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
18062 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18063 recompute overflowing results in original rounding mode.
18064 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
18065 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18066 recompute overflowing results in original rounding mode.
18067 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
18068 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18069 recompute overflowing results in original rounding mode.
18070 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
18071 (libc_feholdsetround_ctx): New macro.
18072 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
18073 * sysdeps/i386/fpu/libm-test-ulps: Update.
18074 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
18075
18076 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18077
18078 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
18079 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
18080 corresponding .cpsetup call.
18081
18082 2014-06-26 Roland McGrath <roland@hack.frob.com>
18083
18084 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
18085 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
18086 * sysdeps/arm/Makefile [$(subdir) = csu]
18087 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
18088 (static-only-routines): Add aeabi_read_tp here.
18089 (shared-only-routines): Add libc-aeabi_read_tp here.
18090 (CFLAGS-libc-start.c): Add -fexceptions here.
18091 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
18092 (sysdep_routines, static-only-routines, shared-only-routines):
18093 Don't add to these here.
18094 (CFLAGS-libc-start.c): Likewise.
18095
18096 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
18097 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18098 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
18099 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18100 * sysdeps/arm/Makefile [$(subdir) = rt]
18101 (librt-sysdep_routines, librt-shared-only-routines):
18102 Append rt-aeabi_unwind_cpp_pr1 here.
18103 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
18104 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
18105 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
18106 (libpthread-sysdep_routines, libpthread-shared-only-routines):
18107 Append nptl-aeabi_unwind_cpp_pr1 here.
18108 (tests): Filter out tst-cleanupx4 here.
18109 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
18110 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
18111 Don't do those here.
18112
18113 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18114
18115 * scripts/list-sources.sh: Do not handle ports specially.
18116
18117 2014-06-26 Roland McGrath <roland@hack.frob.com>
18118
18119 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
18120 * sysdeps/arm/feupdateenv.c: Likewise.
18121
18122 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
18123
18124 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18125
18126 * manual/texinfo.tex: Update to version 2014-05-05.10 with
18127 trailing whitespace removed.
18128 * scripts/config.guess: Update to version 2014-03-23.
18129 * scripts/config.sub: Update to version 2014-05-01
18130 * scripts/install-sh: Update to version 2013-12-25.23.
18131 * scripts/move-if-change: Update from gnulib.
18132
18133 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18134
18135 * debug/memmove_chk.c: Remove pagecopy.h include.
18136
18137 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
18138
18139 * time/mktime.c (leapyear): Remove inline keyword. The code is now
18140 identical to gnulib mktime.
18141
18142 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18143
18144 * configure.ac: Do not test for machine being rs6000. Do not test
18145 for powerpc*-*soft.
18146 * configure: Regenerated.
18147
18148 [BZ #11505]
18149 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
18150 test.
18151 * configure: Regenerated.
18152 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
18153 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
18154 Remove configure test.
18155 * sysdeps/arm/configure: Regenerated.
18156 * sysdeps/nptl/configure.ac: Do not check
18157 libc_cv_asm_cfi_directives.
18158 * sysdeps/nptl/configure: Regenerated.
18159 * sysdeps/x86_64/nptl/configure.ac: Remove file.
18160 * sysdeps/x86_64/nptl/configure: Remove generated file.
18161 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
18162 unconditional.
18163 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
18164
18165 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18166
18167 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
18168 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
18169 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
18170 it is defined.
18171
18172 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
18173 instead of whether it is defined.
18174 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
18175 * sysdeps/hppa/dl-machine.h: Likewise.
18176 * sysdeps/ia64/dl-machine.h: Likewise.
18177 * sysdeps/m68k/dl-machine.h: Likewise.
18178 * sysdeps/microblaze/dl-machine.h: Likewise.
18179 * sysdeps/mips/dl-machine.: Likewise.
18180 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18181 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18182 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18183 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18184 * sysdeps/sh/dl-machine.h: Likewise.
18185 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18186 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18187 * sysdeps/tile/dl-machine.h: Likewise.
18188 * sysdeps/x86_64/dl-machine.h: Likewise.
18189
18190 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
18191 code.
18192 (verify_persistent_db): Likewise.
18193
18194 2014-06-26 Roland McGrath <roland@hack.frob.com>
18195
18196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
18197 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
18198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
18199 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
18200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
18201 Moved ...
18202 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
18203 ... here.
18204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
18205 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
18206 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
18207 Identical file removed.
18208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
18209 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
18210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
18211 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
18212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
18213 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
18214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
18215 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
18216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
18217 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
18218 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18219 Moved ...
18220 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
18221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
18222 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
18223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
18224 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
18225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
18226 Moved ...
18227 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
18228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
18229 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
18230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
18231 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
18232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18233 Identical file removed.
18234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
18235 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
18236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
18237 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
18238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
18239 Moved ...
18240 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
18241 ... here.
18242 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
18243 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
18244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
18245 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
18246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
18247 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
18248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
18249 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
18250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
18251 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
18252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18253 Moved ...
18254 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
18255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
18256 Moved ...
18257 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
18258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
18259 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
18260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
18261 Moved ...
18262 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
18263 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
18264 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
18265
18266 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
18267 folded into ...
18268 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
18269 * sysdeps/unix/sysv/linux/s390/Versions
18270 (libpthread: GLIBC_2.19): New version set.
18271 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
18272 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
18273 (librt: GLIBC_2.3.3): New version set.
18274 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
18275 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
18276 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
18277 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
18278 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
18279 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
18280 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
18281 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
18282 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
18283 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
18284 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
18285 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
18286 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
18287 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
18288 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
18289 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
18290 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
18291 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
18292 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
18293 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
18294 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
18295 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
18296 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
18297 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
18298 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
18299 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
18300 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
18301 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
18302 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
18303 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
18304 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
18305 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
18306 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
18307 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
18308 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
18309 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
18310 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
18311 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
18312 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
18313 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
18314 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
18315 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
18316 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
18317 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
18318 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
18319
18320 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
18321 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
18322 (__libc_vfork): Define the function under this name.
18323 [!NOT_IN_libc] (__vfork): Make this an alias.
18324 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
18325 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
18326 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
18327 (__libc_vfork): Define the function under this name.
18328 [!NOT_IN_libc] (__vfork): Make this an alias.
18329 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
18330 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
18331 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
18332 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
18333 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
18334 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18335
18336 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
18337 code that was previously under [RESET_PID].
18338 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
18339 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
18340 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
18341
18342 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
18343 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
18344 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
18345 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
18346 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
18347 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
18348 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
18349 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
18350 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
18351 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
18352 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
18353 Moved ...
18354 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
18355 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
18356 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
18357 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
18358 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
18359 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
18360 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
18361 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
18362 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
18363 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
18364 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
18365 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
18366 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
18367 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
18368 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
18369 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
18370 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
18371 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
18372 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
18373 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
18374 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
18375 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
18376 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
18377 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
18378 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
18379 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
18380 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
18381 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
18382 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
18383
18384 2014-06-25 Roland McGrath <roland@hack.frob.com>
18385
18386 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
18387 that was previously under [RESET_PID].
18388 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
18389
18390 2014-06-25 Joseph Myers <joseph@codesourcery.com>
18391
18392 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
18393 not undefine and redefine.
18394 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
18395 [O_CLOEXEC]: Make code unconditional.
18396 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
18397 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
18398 <kernel-features.h>.
18399 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
18400 conditional variable definition.
18401 (shm_open) [O_CLOEXEC]: Make code unconditional.
18402 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
18403 code.
18404
18405 * configure.ac (USE_REGPARMS): Don't define here.
18406 * configure: Regenerated.
18407 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
18408 * sysdeps/i386/configure: Regenerated.
18409
18410 * nptl/createthread.c: Don't include kernel-features.h.
18411 * nptl/pthread_cancel.c: Likewise.
18412 * nptl/pthread_condattr_setclock.c: Likewise.
18413 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
18414 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
18415 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
18416 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
18417 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
18418 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
18419 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
18420 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
18421 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
18422 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
18423 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
18424 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
18425 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
18426 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
18427 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
18428 * nscd/gai.c: Likewise.
18429 * nss/nss_db/db-open.c: Likewise.
18430 * sysdeps/generic/ldsodefs.h: Likewise.
18431 * sysdeps/sh/nptl/tls.h: Likewise.
18432 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
18433 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
18434 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
18435 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
18436 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
18437 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18438 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
18439 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18440 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18441 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
18442 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
18443 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18444 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
18445 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
18446 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
18447 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
18448 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
18449 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
18450 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
18451 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
18452 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
18453 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
18454 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
18455 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
18456 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
18457 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
18458 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
18459 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
18460 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
18461 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
18462 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
18463 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
18464 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
18465 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18466 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18467 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18468 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18469 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
18470 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
18471 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
18472 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18473 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
18474 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
18475 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18476 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
18477 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
18478 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
18479 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
18480 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
18481 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
18482 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
18483 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
18484 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
18485 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18486 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
18487 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18488 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
18489 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
18490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
18492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
18493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
18494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
18495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
18496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
18497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
18498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
18501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
18502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
18503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
18504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
18510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
18511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
18512 * sysdeps/unix/sysv/linux/pread.c: Likewise.
18513 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
18514 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
18515 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
18516 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
18517 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
18518 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
18519 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
18520 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
18521 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
18522 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
18523 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
18524 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
18525 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
18526 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
18527 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
18528 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18529 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
18530 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
18531 * sysdeps/unix/sysv/linux/system.c: Likewise.
18532 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
18533 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
18534 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18535 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18536 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18537 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18538 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
18539
18540 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
18541 * configure: Regenerated.
18542 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
18543
18544 * configure.ac (base_machine): Do not set specially for particular
18545 machines here.
18546 * configure: Regenerated.
18547 * sysdeps/powerpc/preconfigure: Move machine and base_machine
18548 settings from configure.ac.
18549 * sysdeps/i386/preconfigure: New file.
18550 * sysdeps/s390/preconfigure: Likewise.
18551 * sysdeps/sh/preconfigure: Likewise.
18552 * sysdeps/sparc/preconfigure: Likewise.
18553
18554 2014-06-25 Roland McGrath <roland@hack.frob.com>
18555
18556 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
18557 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
18558 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
18559 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
18560 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
18561 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
18562 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
18563 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
18564 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
18565 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
18566 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
18567 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
18568 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
18569 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
18570 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
18571 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
18572 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
18573 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
18574 * sysdeps/sparc/sparc64/Makefile: ... appended here.
18575
18576 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
18577 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
18578 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
18579 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
18580 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
18581 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
18582 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
18583 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
18584 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
18585 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
18586 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
18587 * sysdeps/sparc/sparc32/sem_post.c: ... here.
18588 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
18589 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
18590 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
18591 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
18592 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
18593 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
18594 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
18595 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
18596 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
18597 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
18598 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
18599 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
18600 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
18601 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
18602 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
18603 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
18604 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
18605 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
18606 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
18607 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
18608 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
18609 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
18610 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
18611 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
18612 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
18613 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
18614
18615 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
18616 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
18617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
18618 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
18619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
18620 Moved ...
18621 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
18622 ... here.
18623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
18624 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
18625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
18626 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
18627 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
18628 Moved ...
18629 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
18630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
18631 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
18632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
18633 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
18634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
18635 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
18636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18637 Moved ...
18638 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
18639 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
18640 Moved ...
18641 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
18642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
18643 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
18644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
18645 Moved ...
18646 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
18647 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
18648 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
18649 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
18650 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
18651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
18652 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
18653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
18654 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
18655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
18656 Moved ...
18657 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
18658 ... here.
18659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
18660 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
18661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
18662 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
18663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
18664 Moved ...
18665 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
18666 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
18667 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
18668 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
18669 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
18670 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
18671 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
18672 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18673 Moved ...
18674 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
18675 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
18676 Moved ...
18677 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
18678 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
18679 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
18680 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
18681 Moved ...
18682 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
18683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
18684 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
18685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
18686 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
18687
18688 2014-06-25 Joseph Myers <joseph@codesourcery.com>
18689
18690 * timezone/checktab.awk: Update from tzcode 2014e.
18691 * timezone/private.h: Likewise.
18692 * timezone/tzfile.h: Likewise.
18693 * timezone/zdump.c: Likewise.
18694 * timezone/zic.c: Likewise.
18695
18696 * sysdeps/unix/sysv/linux/kernel-features.h
18697 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
18698 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
18699 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
18700 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18701 Remove conditional code.
18702
18703 2014-06-25 Will Newton <will.newton@linaro.org>
18704
18705 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
18706 (_dl_arm_cap_flags): Add HWCAP2 values.
18707 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
18708 (_DL_HWCAP_COUNT): Increase to 37.
18709 (_DL_HWCAP_LAST): New define.
18710 (_DL_HWCAP2_LAST): New define.
18711 (_dl_procinfo): Add support for printing
18712 AT_HWCAP2 entries.
18713 (_dl_string_hwcap): Use _dl_hwcap_string.
18714
18715 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18716
18717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18718
18719 2014-06-25 Joseph Myers <joseph@codesourcery.com>
18720
18721 * README: Do not mention ports directory.
18722
18723 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
18724 Remove macro.
18725 * sysdeps/unix/sysv/linux/futimes.c: Do not include
18726 <kernel-features.h>.
18727 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
18728 conditional variable definition.
18729 (__futimes): Update comment.
18730 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
18731 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
18732
18733 [BZ #16560]
18734 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
18735 arguments close to 0.
18736 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
18737 Likewise.
18738 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
18739 Likewise.
18740 * math/auto-libm-test-in: Add more tests of exp10.
18741 * math/auto-libm-test-out: Regenerated.
18742 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18743
18744 * sysdeps/unix/sysv/linux/kernel-features.h
18745 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
18746 * sysdeps/unix/sysv/linux/readv.c: Do not include
18747 <kernel-features.h>.
18748 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
18749 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
18750 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
18751 unconditional.
18752 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
18753 conditional code.
18754 * sysdeps/unix/sysv/linux/writev.c: Do not include
18755 <kernel-features.h>.
18756 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
18757 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
18758 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
18759 unconditional.
18760 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
18761 conditional code.
18762
18763 2014-06-25 Will Newton <will.newton@linaro.org>
18764
18765 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
18766 comment changes throughout the file. Remove checks
18767 for HAVE_*_H definitions that are not required.
18768 (__gen_tempname): Call abort if an unknown kind value is
18769 passed.
18770
18771 2014-06-25 Andreas Schwab <schwab@suse.de>
18772
18773 [BZ #17086]
18774 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
18775 scalbln, scalblnf, scalblnl in libc.
18776
18777 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18778
18779 [BZ #17086]
18780 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
18781 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
18782 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
18783
18784 2014-06-24 Roland McGrath <roland@hack.frob.com>
18785
18786 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
18787 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
18788 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
18789 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
18790 Update #include.
18791 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
18792 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
18793 Update #include.
18794 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
18795 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
18796 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
18797 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
18798 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
18799 * sysdeps/x86/bits/pthreadtypes.h: ... here.
18800 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
18801 * sysdeps/x86/bits/semaphore.h: ... here.
18802 * sysdeps/x86/nptl/elide.h: Moved ...
18803 * sysdeps/x86/elide.h: ... here.
18804 * sysdeps/x86_64/nptl/Implies: File removed.
18805 * sysdeps/i386/nptl/Implies: File removed.
18806
18807 2014-06-24 Joseph Myers <joseph@codesourcery.com>
18808
18809 [BZ #16539]
18810 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
18811 return the argument for normal arguments with exponent below -64.
18812 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18813 Likewise.
18814 * math/auto-libm-test-in: Add another test of expm1.
18815 * math/auto-libm-test-out: Regenerated.
18816
18817 [BZ #16287]
18818 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
18819 calling __erfcl for arguments at least 16.
18820 * math/auto-libm-test-in: Add more tests of erf.
18821 * math/auto-libm-test-out: Regenerated.
18822
18823 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
18824 individual architectures.
18825 * sysdeps/unix/sysv/linux/configure: Regenerated.
18826 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
18827 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
18828 * sysdeps/unix/sysv/linux/powerpc/configure.ac
18829 (ldd_rewrite_script): Define variable.
18830 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
18832 file.
18833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
18834 generated file.
18835 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
18836 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
18837 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
18838 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
18839 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
18840 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
18841 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
18842 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
18843
18844 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18845
18846 [BZ #17084]
18847 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
18848 Rename member __data.d to __data.__elision_data.
18849
18850 2014-06-24 Wilco <wdijkstr@arm.com>
18851
18852 * NEWS: Add 16918 to fixed bug list.
18853
18854 2014-06-24 Wilco <wdijkstr@arm.com>
18855
18856 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
18857
18858 2014-06-24 Wilco <wdijkstr@arm.com>
18859
18860 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
18861 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
18862 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
18863 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
18864 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
18865 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
18866 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
18867 Use _FPU_MASK_RM.
18868
18869 2014-06-24 Wilco <wdijkstr@arm.com>
18870
18871 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
18872
18873 2014-06-24 Wilco <wdijkstr@arm.com>
18874
18875 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
18876 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
18877 * sysdeps/arm/fesetround.c (fesetround): Remove space.
18878 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
18879
18880 2014-06-24 Wilco <wdijkstr@arm.com>
18881
18882 [BZ #16918]
18883 * sysdeps/arm/feupdateenv.c (feupdateenv):
18884 Rewrite to reduce FPSCR accesses and fix return value.
18885
18886 2014-06-24 Wilco <wdijkstr@arm.com>
18887
18888 * sysdeps/arm/fclrexcpt.c (feclearexcept):
18889 Optimize to avoid unnecessary FPSCR writes.
18890 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
18891 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
18892 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
18893 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
18894
18895 2014-06-24 Wilco <wdijkstr@arm.com>
18896
18897 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
18898 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
18899 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
18900 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
18901 Call libc_fetestexcept_vfp.
18902 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
18903 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
18904 __SOFTFP__ ifdef so that they can be built for softfp.
18905
18906 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18907
18908 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
18909 argument type signed char.
18910
18911 * Makerules (check-abi): Dump diff of symlist if the test
18912 fails.
18913
18914 2014-06-23 Roland McGrath <roland@hack.frob.com>
18915
18916 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
18917 using abort.
18918
18919 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18920 Remove unused variable ST.
18921
18922 2014-06-23 Joseph Myers <joseph@codesourcery.com>
18923
18924 [BZ #16354]
18925 [BZ #17061]
18926 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
18927 small arguments before calling __expm1.
18928 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
18929 small arguments before calling __expm1f.
18930 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
18931 small arguments before calling __expm1l.
18932 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18933 Likewise.
18934 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
18935 * math/auto-libm-test-in: Add more cosh tests. Do not allow
18936 spurious underflow for some cosh tests.
18937 * math/auto-libm-test-out: Regenerated.
18938 * sysdeps/i386/fpu/libm-test-ulps: Update.
18939
18940 [BZ #17050]
18941 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
18942 (__ieee754_y1): Set errno if return value overflows.
18943 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
18944 (__ieee754_y1f): Set errno if return value overflows.
18945 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
18946 (__ieee754_y1l): Set errno if return value overflows.
18947 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
18948 (__ieee754_y1l): Set errno if return value overflows.
18949 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
18950 * math/auto-libm-test-out: Regenerated.
18951
18952 * math/gen-auto-libm-tests.c: Document use of
18953 ignore-zero-inf-sign.
18954 (input_flag_type): Add value flag_ignore_zero_inf_sign.
18955 (input_flags): Add ignore-zero-inf-sign.
18956 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
18957 * math/gen-libm-test.pl (generate_testfile): Handle
18958 ignore-zero-inf-sign.
18959 * math/auto-libm-test-in: Mark some cpow tests with
18960 ignore-zero-inf-sign and some with xfail-rounding.
18961 * math/auto-libm-test-out: Regenerated.
18962 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
18963 * sysdeps/i386/fpu/libm-test-ulps: Update.
18964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18965
18966 [BZ #16315]
18967 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
18968 overflowing or underflowing operations take place with sign of
18969 result.
18970 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18971 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18972 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
18973 (__ieee754_pow): Recompute overflowing and underflowing results in
18974 original rounding mode.
18975 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
18976 (__powl_helper): Allow negative argument X and scale negated value
18977 as needed. Avoid passing value outside [-1, 1] to f2xm1.
18978 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
18979 overflowing or underflowing operations take place with sign of
18980 result.
18981 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
18982 Include <math.h>.
18983 * math/auto-libm-test-in: Add more tests of pow.
18984 * math/auto-libm-test-out: Regenerated.
18985 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
18986 (pow_tonearest_test_data): Remove.
18987 (pow_test_tonearest): Likewise.
18988 (pow_towardzero_test_data): Likewise.
18989 (pow_test_towardzero): Likewise.
18990 (pow_downward_test_data): Likewise.
18991 (pow_test_downward): Likewise.
18992 (pow_upward_test_data): Likewise.
18993 (pow_test_upward): Likewise.
18994 (main): Don't call removed functions.
18995 * sysdeps/i386/fpu/libm-test-ulps: Update.
18996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18997
18998 2014-06-23 Roland McGrath <roland@hack.frob.com>
18999
19000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
19001 Moved ...
19002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
19003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19004 Moved ...
19005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
19006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19007 Moved ...
19008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
19009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19010 Moved ...
19011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
19012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19013 File removed.
19014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19015 File removed.
19016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
19017 File removed.
19018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
19019 File removed.
19020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
19021 File removed.
19022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
19023 File removed.
19024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
19025 File removed.
19026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19027 File removed.
19028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
19029 File removed.
19030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19031 File removed.
19032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
19033 File removed.
19034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
19035 File removed.
19036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
19037 Moved ...
19038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
19039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
19040 Moved ...
19041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
19042 ... here.
19043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
19044 Moved ...
19045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
19046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
19047 Moved ...
19048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
19049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
19050 Moved ...
19051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
19052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
19053 Moved ...
19054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
19055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
19056 Moved ...
19057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
19058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
19059 Moved ...
19060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
19061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
19062 Moved ...
19063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
19064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
19065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
19066 ... here.
19067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
19068 Moved ...
19069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
19070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19071 Moved ...
19072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19073 ... here.
19074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
19075 Moved ...
19076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19077 ... here.
19078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19079 Moved ...
19080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
19081 ... here.
19082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19083 Moved ...
19084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
19085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19086 Moved ...
19087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
19088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
19089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
19090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19091 Moved ...
19092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
19093 ... here.
19094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19095 Moved ...
19096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
19097 ... here.
19098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19099 Moved ...
19100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
19101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19102 Moved ...
19103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
19104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19105 Moved ...
19106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
19107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19108 Moved ...
19109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
19110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19111 Moved ...
19112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
19113 ... here.
19114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19115 Moved ...
19116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
19117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19118 Moved ...
19119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
19120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19121 Moved ...
19122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
19123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19124 Moved ...
19125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
19126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
19127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
19128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19129 Moved ...
19130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
19131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19132 Moved ...
19133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
19134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19135 Moved ...
19136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
19137 ... here.
19138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19139 Moved ...
19140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
19141 ... here.
19142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19143 Moved ...
19144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
19145 ... here.
19146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19147 Moved ...
19148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
19149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19150 Moved ...
19151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
19152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19153 Moved ...
19154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
19155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19156 Moved ...
19157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
19158 ... here.
19159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19160 Moved ...
19161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
19162 ... here.
19163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19164 Moved ...
19165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
19166 ... here.
19167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19168 Moved ...
19169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
19170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19171 Moved ...
19172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
19173
19174 2014-06-23 Will Newton <will.newton@linaro.org>
19175 Wilco <wdijkstr@arm.com>
19176
19177 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
19178 implementation. Include get-rounding-mode.h.
19179 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
19180 [!libc_feholdsetround_noex_ctx]: Define
19181 libc_feholdsetround_noex_ctx.
19182 [!libc_feholdsetround_noexf_ctx]: Define
19183 libc_feholdsetround_noexf_ctx.
19184 [!libc_feholdsetround_noexl_ctx]: Define
19185 libc_feholdsetround_noexl_ctx.
19186 (libc_feholdsetround_ctx): New function.
19187 (libc_feresetround_ctx): New function.
19188 (libc_feholdsetround_noex_ctx): New function.
19189 (libc_feresetround_noex_ctx): New function.
19190
19191 2014-06-23 Roland McGrath <roland@hack.frob.com>
19192
19193 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
19194 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
19195 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
19196 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
19197 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
19198 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
19199
19200 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
19201 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
19202 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
19203 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
19204 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
19205 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
19206 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
19207 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
19208 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
19209 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
19210 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
19211 Moved ...
19212 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
19213 ... here.
19214 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
19215 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
19216 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
19217 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
19218 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
19219 Moved ...
19220 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
19221 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
19222 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
19223 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
19224 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
19225 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
19226 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
19227 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
19228 Moved ...
19229 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
19230 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
19231 Moved ...
19232 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
19233 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
19234 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
19235 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
19236 Moved ...
19237 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
19238 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
19239 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
19240 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
19241 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
19242 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
19243 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
19244 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
19245 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
19246 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
19247 Moved ...
19248 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
19249 ... here.
19250 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
19251 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
19252 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
19253 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
19254 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
19255 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
19256 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
19257 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
19258 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
19259 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
19260 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
19261 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
19262 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
19263 Moved ...
19264 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
19265 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
19266 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
19267 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
19268 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
19269 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
19270 Moved ...
19271 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
19272 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
19273 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
19274 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
19275 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
19276
19277 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
19278 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
19279 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
19280 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
19281 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
19282 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
19283 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
19284 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
19285 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
19286 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
19287 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
19288 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
19289 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
19290 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
19291 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
19292 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
19293 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
19294 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
19295 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
19296 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
19297 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
19298 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
19299 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
19300 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
19301 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
19302 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
19303 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
19304 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
19305
19306 2014-06-23 Joseph Myers <joseph@codesourcery.com>
19307
19308 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
19309 (FALLOC_FL_COLLAPSE_RANGE): New macro.
19310 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
19311 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
19312 (IPV6_PMTUDISC_INTERFACE): Likewise.
19313 (IPV6_PMTUDISC_OMIT): Likewise.
19314
19315 2014-06-23 Andreas Schwab <schwab@suse.de>
19316
19317 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
19318 Remove unused errout label.
19319
19320 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19321
19322 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
19323 macro: hardware supports Vector Crypto instructions.
19324
19325 2014-06-23 Will Newton <will.newton@linaro.org>
19326
19327 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
19328 rather than __builtin_expect.
19329
19330 * elf/dl-lookup.c (undefined_msg): Remove variable.
19331 (_dl_lookup_symbol_x): Replace undefined_msg with string
19332 literal.
19333
19334 * elf/dl-lookup.c (do_lookup_unique): New function.
19335 (do_lookup_x): Move STB_GNU_UNIQUE handling code
19336 to a separate function.
19337
19338 2014-06-23 Andreas Schwab <schwab@suse.de>
19339
19340 [BZ #17079]
19341 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
19342 before reading the next line.
19343
19344 2014-06-23 Will Newton <will.newton@linaro.org>
19345
19346 * test-skeleton.c (signal_handler): Use printf and %m
19347 rather than perror. Use printf rather than fprintf to
19348 stderr. Use puts rather than fputs to stderr.
19349 (main): Likewise.
19350
19351 2014-06-22 Ludovic Courtès <ludo@gnu.org>
19352
19353 * nscd/nscd.c (thread_info_t): Remove typedef.
19354 (thread_info): Remove variable.
19355
19356 2014-06-21 Allan McRae <allan@archlinux.org>
19357
19358 * NEWS: Mention CVE-2014-4043.
19359
19360 2014-06-20 Roland McGrath <roland@hack.frob.com>
19361
19362 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
19363 * nptl/smp.h: ... here.
19364
19365 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
19366
19367 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
19368 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
19369 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
19370 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
19371
19372 * nptl/allocatestack.c: Include <stack-aliasing.h>.
19373 * nptl/stack-aliasing.h: New file.
19374 * sysdeps/i386/i686/stack-aliasing.h: New file.
19375 * sysdeps/i386/i686/nptl/Makefile: File removed.
19376 * sysdeps/x86_64/stack-aliasing.h: New file.
19377 * sysdeps/x86_64/nptl/Makefile
19378 (CFLAGS-pthread_create.c): Variable removed.
19379
19380 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
19381 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
19382 old file.
19383 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
19384 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
19385 old file.
19386
19387 2014-06-21 Joseph Myers <joseph@codesourcery.com>
19388
19389 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19390 (__ASSUME_SIGFRAME_V2): Remove macro.
19391 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
19392 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
19393 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
19394 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
19395 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
19396 Declare as function. Remove conditional macro definitions.
19397 (__default_rt_sa_restorer): Likewise.
19398 (__default_sa_restorer_v1): Remove declaration.
19399 (__default_sa_restorer_v2): Likewise.
19400 (__default_rt_sa_restorer_v1): Likewise.
19401 (__default_rt_sa_restorer_v2): Likewise.
19402 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
19403 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
19404 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
19405
19406 2014-06-20 Roland McGrath <roland@hack.frob.com>
19407
19408 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
19409 (libpthread-routines): Add sysdep.
19410 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
19411 * sysdeps/unix/sysv/linux/sparc/Versions
19412 (libpthread: GLIBC_2.3.3): New version set.
19413 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
19414 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
19415 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
19416 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
19417 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
19418 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
19419 Moved ...
19420 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
19421 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
19422 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
19423 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
19424 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
19425 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
19426 * sysdeps/sparc/nptl/sem_init.c: ... here.
19427 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
19428 * sysdeps/sparc/nptl/sem_post.c: ... here.
19429 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
19430 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
19431 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
19432 * sysdeps/sparc/nptl/sem_wait.c: ... here.
19433 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
19434 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
19435 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
19436 (libpthread-routines): Add cpu_relax.
19437 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
19438 File removed.
19439 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
19440 (librt: GLIBC_2.3.3): New version set.
19441 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
19442 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
19443 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
19444 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
19445 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
19446 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
19447 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
19448 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
19449 Moved ...
19450 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
19451 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
19452 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
19453 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
19454 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
19455 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
19456 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
19457 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
19458 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
19459 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
19460 Moved ...
19461 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
19462 Update #include.
19463 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
19464 Moved ...
19465 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
19466 Update #include.
19467 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
19468 Moved ...
19469 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
19470 Update #include.
19471 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
19472 Moved ...
19473 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
19474 Update #include.
19475 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
19476 Moved ...
19477 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
19478 Update #include.
19479 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
19480 Moved ...
19481 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
19482 Update #include.
19483 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
19484 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
19485 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
19486 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
19487 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
19488 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
19489 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
19490 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
19491 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
19492 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
19493 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
19494 Moved ...
19495 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
19496 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
19497 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
19498 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
19499 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
19500
19501 2014-06-20 Joseph Myers <joseph@codesourcery.com>
19502
19503 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
19504 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
19505 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
19506 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
19507 * nscd/nscd.c: Likewise.
19508 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
19509 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
19510 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
19511 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
19512
19513 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
19514 <kernel-features.h>.
19515 (init_mq_netlink): Remove conditional have_sock_cloexec
19516 definitions. Remove code conditional on have_sock_cloexec < 0.
19517 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
19518 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
19519 * sysdeps/unix/sysv/linux/opensock.c: Do not include
19520 <kernel-features.h>.
19521 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
19522 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
19523
19524 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
19525
19526 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19527 Add tests for memset_chk and memset.
19528
19529 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
19530 with AVX2_Usable.
19531
19532 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
19533
19534 [BZ #16046]
19535 * elf/tst-dl-iter-static.c: New file.
19536 * elf/Makefile (tests-static): Add tst-dl-iter-static.
19537
19538 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
19539 error.
19540
19541 2014-06-20 Joseph Myers <joseph@codesourcery.com>
19542
19543 * sysdeps/unix/sysv/linux/kernel-features.h
19544 (__ASSUME_F_GETOWN_EX): Remove macro.
19545 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
19546 <kernel-features.h>.
19547 (miss_F_GETOWN_EX): Remove variable or macro.
19548 (do_fcntl): Do not check miss_F_GETOWN_EX.
19549 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
19550
19551 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
19552 Remove macro.
19553 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
19554 [!__ASSUME_AT_RANDOM]: Remove conditional code.
19555 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
19556
19557 * sysdeps/unix/sysv/linux/kernel-features.h
19558 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
19559 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
19560 [ADJ_OFFSET_SS_READ]: Make code unconditional.
19561 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
19562
19563 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
19564
19565 [BZ #17075]
19566 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
19567 Fix calculation of the symbol's value.
19568 * sysdeps/arm/tst-armtlsdescloc.c: New file.
19569 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
19570 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
19571 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
19572 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
19573 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
19574 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
19575 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
19576 (modules-names): Add `tst-armtlsdescmod',
19577 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
19578 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
19579 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
19580 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
19581 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
19582 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
19583 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
19584 ($(objpfx)tst-armtlsdescloc): New dependency.
19585 ($(objpfx)tst-armtlsdescextnow): Likewise.
19586 ($(objpfx)tst-armtlsdescextlazy): Likewise.
19587 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
19588 TLS scheme support.
19589 * sysdeps/arm/configure: Regenerate.
19590
19591 2014-06-20 Joseph Myers <joseph@codesourcery.com>
19592
19593 * include/fcntl.h (__atfct_seterrno): Remove prototype.
19594 (__atfct_seterrno_2): Likewise.
19595 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
19596 <kernel-features.h>.
19597 (__ASSUME_ATFCTS): Do not undefine and redefine.
19598 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
19599 (__have_atfcts): Remove conditional definition.
19600 (__fxstatat([__NR_fstatat64]: Make code unconditional.
19601 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
19602 unreachable if [__ASSUME_ATFCTS].
19603 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
19604 not undefine and redefine.
19605 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
19606 <kernel-features.h>.
19607 (faccessat) [__NR_faccessat]: Make code unconditional.
19608 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
19609 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
19610 <kernel-features.h>.
19611 (fchmodat) [__NR_fchmodat]: Make code unconditional.
19612 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
19613 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
19614 <kernel-features.h>.
19615 (fchownat) [__NR_fchownat]: Make code unconditional.
19616 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
19617 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
19618 <kernel-features.h>.
19619 (futimesat) [__NR_futimesat]: Make code unconditional.
19620 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
19621 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19622 <kernel-features.h>.
19623 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
19624 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19625 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19626 <kernel-features.h>.
19627 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
19628 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
19629 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
19630 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19631 <kernel-features.h>.
19632 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
19633 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19634 * sysdeps/unix/sysv/linux/linkat.c: Do not include
19635 <kernel-features.h>.
19636 (linkat) [__NR_linkat]: Make code unconditional.
19637 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19638 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
19639 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
19640 <kernel-features.h>.
19641 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
19642 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
19643 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
19644 <kernel-features.h>.
19645 (mkdirat) [__NR_mkdirat]: Make code unconditional.
19646 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
19647 * sysdeps/unix/sysv/linux/openat.c: Do not include
19648 <kernel-features.h>.
19649 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
19650 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
19651 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
19652 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
19653 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
19654 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
19655 <kernel-features.h>.
19656 (readlinkat) [__NR_readlinkat]: Make code unconditional.
19657 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
19658 result of INLINE_SYSCALL directly, not via int variable.
19659 * sysdeps/unix/sysv/linux/renameat.c: Do not include
19660 <kernel-features.h>.
19661 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
19662 (renameat) [__NR_renameat]: Make code unconditional.
19663 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
19664 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
19665 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
19666 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
19667 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
19668 (__ASSUME_ATFCTS): Do not undefine and redefine.
19669 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
19670 <kernel-features.h>.
19671 (symlinkat) [__NR_symlinkat]: Make code unconditional.
19672 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19673 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
19674 <kernel-features.h>.
19675 (unlinkat) [__NR_unlinkat]: Make code unconditional.
19676 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19677 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
19678 (__ASSUME_ATFCTS): Do not undefine and redefine.
19679 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19680 <kernel-features.h>.
19681 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
19682 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19683 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19684 <kernel-features.h>.
19685 (__xmknodat) [__NR_mknodat]: Make code unconditional.
19686 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
19687
19688 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
19689
19690 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
19691
19692 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
19693
19694 [BZ #17069]
19695 * posix/regcomp.c (parse_reg_exp): Deallocate partially
19696 constructed tree before returning error.
19697 * posix/bug-regexp36.c: Expand test case.
19698
19699 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
19700
19701 [BZ #6803]
19702 * math/libm-test.inc (scalbln_test_date):
19703 Add errno expectations.
19704 * math/w_scalblnf.c: New File.
19705 Add wrapper which checks for setting errno to ERANGE.
19706 Add weak_alias for corresponding scalbln function.
19707 * math/w_scalbln.c: Likewise.
19708 * math/w_scalblnl.c: Likewise.
19709 * math/Makefile (libm-calls): Add w_scalbln.
19710 * sysdeps/ieee754/flt-32/s_scalblnf.c:
19711 Remove weak_alias for corresponding scalbln function.
19712 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19713 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19714 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19715 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19716 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
19717 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
19718 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
19719 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
19720 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
19721 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
19722 Remove long_double_symbol for scalblnl function in libm, libc.
19723 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
19724 Add wrapper which checks for setting errno to ERANGE.
19725 Add long_double_symbol for scalblnl function in libm, libc.
19726 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
19727 Remove long_double_symbol for scalblnl in libm.
19728 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
19729 Add wrapper which checks for setting errno to ERANGE.
19730 Add long_double_symbol for scalblnl function in libm.
19731 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
19732 Do not use wrapper because of own implementation.
19733
19734 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
19735
19736 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
19737 3 bytes for __pad1 for x32.
19738 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
19739
19740 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
19741 H.J. Lu <hongjiu.lu@intel.com>
19742
19743 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
19744 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
19745 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19746 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19747 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
19748
19749 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
19750
19751 [BZ #17069]
19752 * posix/regcomp.c (parse_expression): Deallocate partially
19753 constructed tree before returning error.
19754 * posix/Makefile.c (tests): Add bug-regex36.
19755 (generated): Add bug-regex36.mtrace.
19756 (tests-special): Add $(objpfx)bug-regex36-mem.out
19757 (bug-regex36-ENV): New variable.
19758 ($(objpfx)bug-regex36-mem.out): New rule.
19759 * posix/bug-regex36.c: New file.
19760
19761 2014-06-19 Will Newton <will.newton@linaro.org>
19762
19763 * malloc/malloc.c (systrim): If extra is zero then return
19764 early.
19765
19766 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19767
19768 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
19769
19770 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
19771
19772 * sysdeps/aarch64/strchr.S: New file.
19773
19774 2014-06-18 Joseph Myers <joseph@codesourcery.com>
19775
19776 [BZ #17022]
19777 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
19778 from arguments -2 or below.
19779 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19780 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
19781
19782 2014-06-18 Andreas Schwab <schwab@suse.de>
19783
19784 [BZ #17062]
19785 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
19786 of a bracket expr not to run off the end of the string.
19787 * posix/Makefile (tests): Add tst-fnmatch3.
19788 * posix/tst-fnmatch3.c: New file.
19789
19790 2014-06-18 Joseph Myers <joseph@codesourcery.com>
19791
19792 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
19793 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19794 [$(cross-compiling) = no]: Likewise.
19795 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19796 [$(cross-compiling) = no]: Likewise.
19797
19798 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19799
19800 [BZ #17031]
19801 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
19802 double, adjusted for any remainder from the high double.
19803 * math/libm-test.inc (nearbyint): Add tests.
19804 (rint): Likewise.
19805
19806 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19807
19808 * nptl/sysdeps/powerpc/Makefile: Moved ...
19809 * sysdeps/powerpc/nptl/Makefile: ... here.
19810 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
19811 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
19812 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
19813 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
19814 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
19815 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
19816 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
19817 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
19818 * nptl/sysdeps/powerpc/tls.h: Moved ...
19819 * sysdeps/powerpc/nptl/tls.h: ... here.
19820
19821 2014-06-16 Joseph Myers <joseph@codesourcery.com>
19822
19823 [BZ #16681]
19824 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
19825 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
19826 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
19827 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
19828 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
19829 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
19830 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
19831 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
19832 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
19833
19834 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
19835
19836 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
19837
19838 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
19839
19840 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
19841 defined operator.
19842
19843 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
19844 $TIMEOUTFACTOR.
19845
19846 2014-06-16 Florian Weimer <fweimer@redhat.com>
19847
19848 [BZ #17058]
19849 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
19850 non-executed part of the test.
19851
19852 2014-06-16 Andreas Schwab <schwab@suse.de>
19853
19854 * string/bits/string2.h (strdup, strndup): Update feature guard.
19855
19856 2014-06-14 David S. Miller <davem@davemloft.net>
19857
19858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19859
19860 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
19861
19862 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
19863 that was previously under [RESET_PID].
19864 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
19865
19866 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
19867 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
19868 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
19869 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19870 (__libc_vfork): New strong alias.
19871 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
19872
19873 2014-06-14 Andi Kleen <ak@linux.intel.com>
19874
19875 * sysdeps/generic/elide.h: New file.
19876
19877 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
19878
19879 * Makefile (installed-headers): Adjust path of pthread.h header.
19880
19881 2014-06-13 Roland McGrath <roland@hack.frob.com>
19882
19883 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
19884 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
19885 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
19886 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
19887
19888 * nptl/sysdeps/s390/Makefile: Moved ...
19889 * sysdeps/s390/nptl/Makefile: ... here.
19890 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
19891 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
19892 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
19893 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
19894 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
19895 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
19896 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
19897 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
19898 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
19899 * sysdeps/s390/nptl/pthreaddef.h: ... here.
19900 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
19901 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
19902 * nptl/sysdeps/s390/tls.h: Moved ...
19903 * sysdeps/s390/nptl/tls.h: ... here.
19904
19905 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
19906 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
19907
19908 2014-06-13 David S. Miller <davem@davemloft.net>
19909
19910 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
19911 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
19912 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
19913 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
19914 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
19915 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
19916 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
19917 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
19918 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
19919 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
19920 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
19921 Remove RESET_PID cpp guards.
19922 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
19923 Remove RESET_PID cpp guards.
19924 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
19925
19926 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
19927
19928 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
19929 __sp to uintptr_t.
19930
19931 2014-06-13 Andi Kleen <ak@linux.intel.com>
19932
19933 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
19934 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
19935 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
19936 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
19937 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
19938 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
19939 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
19940 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
19941 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
19942 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
19943 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
19944 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
19945 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
19946 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
19947 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
19948 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
19949 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
19950 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
19951 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
19952 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
19953
19954 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
19955 (pthread_rwlock_rdlock): Add elision.
19956 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
19957 (pthread_rwlock_wrlock): Add elision.
19958 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
19959 (pthread_rwlock_trywrlock): Add elision.
19960 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
19961 (pthread_rwlock_tryrdlock): Add elision.
19962 * nptl/pthread_rwlock_unlock.c: Include elide.h.
19963 (pthread_rwlock_tryrdlock): Add elision unlock.
19964 * nptl/sysdeps/pthread/pthread.h:
19965 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
19966 (PTHREAD_RWLOCK_INITIALIZER,
19967 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
19968 Handle new elision field.
19969 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
19970 * sysdeps/arm/nptl/bits/pthreadtypes.h
19971 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19972 * sysdeps/sh/nptl/bits/pthreadtypes.h
19973 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19974 * sysdeps/tile/nptl/bits/pthreadtypes.h
19975 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19976 * sysdeps/a/nptl/bits/pthreadtypes.h
19977 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19978 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19979 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19980 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19981 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19982 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
19983 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19984 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19985 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19986 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19987 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19988 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19989 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19990 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19991 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19992 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
19993 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19994 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
19995 (elision_init): Set try_xbegin to zero when no RTM.
19996 * sysdeps/x86/nptl/bits/pthreadtypes.h
19997 (pthread_rwlock_t): Change __pad1 to __rwelision.
19998 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19999
20000 2014-06-13 Andi Kleen <ak@linux.intel.com>
20001
20002 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
20003 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
20004 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
20005 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
20006
20007 2014-06-13 Meador Inge <meadori@codesourcery.com>
20008
20009 [BZ #16996]
20010 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
20011 that the cached result has been set before returning it.
20012
20013 2014-06-12 Roland McGrath <roland@hack.frob.com>
20014
20015 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
20016 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
20017 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
20018 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
20019 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
20020 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
20021
20022 * nptl/sysdeps/sparc/Makefile: Moved ...
20023 * sysdeps/sparc/nptl/Makefile: ... here.
20024 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
20025 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
20026 * nptl/sysdeps/sparc/tls.h: Moved ...
20027 * sysdeps/sparc/nptl/tls.h: ... here.
20028 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
20029 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
20030 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
20031 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
20032 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
20033 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
20034 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
20035 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
20036 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
20037 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
20038 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
20039 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
20040 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
20041 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
20042 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
20043 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
20044 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
20045 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
20046 Update #include.
20047 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
20048 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
20049 Update #include.
20050 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
20051 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
20052 Update #include.
20053 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
20054 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
20055 Update #include.
20056
20057 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
20058
20059 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
20060 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
20061
20062 * sysdeps/pthread/posix-timer.h: Include <list.h>.
20063 (struct list_links): Type removed.
20064 (struct thread_node, struct timer_node): Replace struct list_links
20065 with struct list_head.
20066 (list_unlink_ip): Likewise.
20067 * sysdeps/pthread/timer_routines.c
20068 (timer_free_list, thread_free_list, thread_active_list): Likewise.
20069 (list_append, list_insbefore): Likewise.
20070 (list_init): Function removed.
20071 (thread_init, init_module): Use INIT_LIST_HEAD instead.
20072 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
20073 * sysdeps/pthread/Makefile: ... here, new file.
20074
20075 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
20076 * sysdeps/nptl/Implies: ... here.
20077 * sysdeps/unix/sysv/linux/Implies: Add nptl.
20078 * nptl/sysdeps/pthread/list.h: Moved ...
20079 * include/list.h: ... here.
20080 * nptl/sysdeps/pthread/createthread.c: Moved ...
20081 * nptl/createthread.c: ... here.
20082 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
20083 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
20084 * nptl/pt-longjmp.c: ... here.
20085 * nptl/sysdeps/pthread/Makefile: Moved ...
20086 * sysdeps/nptl/Makefile: ... here.
20087 * nptl/sysdeps/pthread/Subdirs: Moved ...
20088 * sysdeps/nptl/Subdirs: ... here.
20089 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
20090 * sysdeps/nptl/aio_misc.h: ... here.
20091 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
20092 * sysdeps/nptl/bits/libc-lock.h: ... here.
20093 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
20094 * sysdeps/nptl/bits/libc-lockP.h: ... here.
20095 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
20096 * sysdeps/nptl/bits/stdio-lock.h: ... here.
20097 * nptl/sysdeps/pthread/configure: Moved ...
20098 * sysdeps/nptl/configure: ... here.
20099 * nptl/sysdeps/pthread/configure.ac: Moved ...
20100 * sysdeps/nptl/configure.ac: ... here.
20101 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
20102 * sysdeps/nptl/gai_misc.h: ... here.
20103 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
20104 * sysdeps/nptl/librt-cancellation.c: ... here.
20105 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
20106 * sysdeps/nptl/malloc-machine.h: ... here.
20107 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
20108 * sysdeps/nptl/pthread-functions.h: ... here.
20109 * nptl/sysdeps/pthread/pthread.h: Moved ...
20110 * sysdeps/nptl/pthread.h: ... here.
20111 * nptl/sysdeps/pthread/setxid.h: Moved ...
20112 * sysdeps/nptl/setxid.h: ... here.
20113 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
20114 * sysdeps/nptl/sigfillset.c: ... here.
20115 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
20116 * sysdeps/nptl/tcb-offsets.h: ... here.
20117 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
20118 * sysdeps/nptl/tst-mqueue8x.c: ... here.
20119 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
20120 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
20121 * nptl/sysdeps/pthread/allocalim.h: Moved ...
20122 * sysdeps/pthread/allocalim.h: ... here.
20123 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
20124 * sysdeps/pthread/bits/sigthread.h: ... here.
20125 * nptl/sysdeps/pthread/flockfile.c: Moved ...
20126 * sysdeps/pthread/flockfile.c: ... here.
20127 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
20128 * sysdeps/pthread/ftrylockfile.c: ... here.
20129 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
20130 * sysdeps/pthread/funlockfile.c: ... here.
20131 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
20132 * sysdeps/pthread/posix-timer.h: ... here.
20133 * nptl/sysdeps/pthread/timer_create.c: Moved ...
20134 * sysdeps/pthread/timer_create.c: ... here.
20135 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
20136 * sysdeps/pthread/timer_delete.c: ... here.
20137 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
20138 * sysdeps/pthread/timer_getoverr.c: ... here.
20139 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
20140 * sysdeps/pthread/timer_gettime.c: ... here.
20141 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
20142 * sysdeps/pthread/timer_routines.c: ... here.
20143 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
20144 * sysdeps/pthread/timer_settime.c: ... here.
20145 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
20146 * sysdeps/pthread/tst-timer.c: ... here.
20147 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
20148 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
20149
20150 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
20151 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
20152
20153 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
20154 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
20155 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
20156 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
20157 Update #include target.
20158 * nptl/sysdeps/i386/i686/Makefile: Moved ...
20159 * sysdeps/i386/i686/nptl/Makefile: ... here.
20160 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
20161 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
20162 Update #include target.
20163 * nptl/sysdeps/i386/i686/tls.h: Moved ...
20164 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
20165 * nptl/sysdeps/i386/Makefile: Moved ...
20166 * sysdeps/i386/nptl/Makefile: ... here.
20167 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
20168 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
20169 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
20170 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
20171 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
20172 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
20173 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
20174 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
20175 * sysdeps/i386/nptl/pthreaddef.h: ... here.
20176 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
20177 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
20178 * nptl/sysdeps/i386/tls.h: Moved ...
20179 * sysdeps/i386/nptl/tls.h: ... here.
20180
20181 * sysdeps/sh/Makefile [$(subdir) = csu]
20182 (gen-as-const-headers): Add tcb-offsets.sym.
20183 * nptl/sysdeps/sh/Makefile: File removed.
20184 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
20185 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
20186 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
20187 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
20188 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
20189 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
20190 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
20191 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
20192 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
20193 * sysdeps/sh/nptl/pthreaddef.h: ... here.
20194 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
20195 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
20196 * nptl/sysdeps/sh/tls.h: Moved ...
20197 * sysdeps/sh/nptl/tls.h: ... here.
20198 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
20199 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
20200 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
20201 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
20202 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
20203 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
20204 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
20205 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
20206 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
20207 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
20208 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
20209 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
20210 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
20211 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
20212 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
20213 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
20214 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
20215 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
20216 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
20217 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
20218 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
20219 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
20220 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
20221 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
20222 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
20223 Moved ...
20224 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
20225 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
20226 Moved ...
20227 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
20228 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
20229 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
20230 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
20231 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
20232 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
20233 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
20234 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
20235 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
20236 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
20237 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
20238 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
20239 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
20240 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
20241 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
20242 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
20243 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
20244 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
20245 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
20246
20247 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
20248
20249 * posix/spawn_faction_addopen.c: Include string.h.
20250
20251 2014-06-11 Roland McGrath <roland@hack.frob.com>
20252
20253 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
20254 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
20255 * nptl/sysdeps/x86_64/Makefile: Moved ...
20256 * sysdeps/x86_64/nptl/Makefile: ... here.
20257 * nptl/sysdeps/x86_64/configure: Moved ...
20258 * sysdeps/x86_64/nptl/configure: ... here.
20259 * nptl/sysdeps/x86_64/configure.ac: Moved ...
20260 * sysdeps/x86_64/nptl/configure.ac: ... here.
20261 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
20262 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
20263 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
20264 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
20265 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
20266 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
20267 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
20268 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
20269 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
20270 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
20271 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
20272 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
20273 * nptl/sysdeps/x86_64/tls.h: Moved ...
20274 * sysdeps/x86_64/nptl/tls.h: ... here.
20275 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
20276 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
20277 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
20278 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
20279
20280 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
20281
20282 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20283
20284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20285
20286 2014-06-11 Joseph Myers <joseph@codesourcery.com>
20287
20288 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
20289 type.
20290 [POSIX] (off_t): Likewise.
20291 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
20292 [POSIX] (S_ISBLK): Require macro.
20293 [POSIX] (S_ISCHR): Likewise.
20294 [POSIX] (S_ISDIR): Likewise.
20295 [POSIX] (S_ISFIFO): Likewise.
20296 [POSIX] (S_ISREG): Likewise.
20297 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
20298 optional-macro.
20299 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
20300 type.
20301 [POSIX] (time_t): Likewise.
20302 [POSIX] (timer_t): Likewise.
20303
20304 2014-06-11 Florian Weimer <fweimer@redhat.com>
20305
20306 [BZ #17048]
20307 * posix/spawn_int.h (struct __spawn_action): Make the path string
20308 non-const to support deallocation.
20309 * posix/spawn_faction_addopen.c
20310 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
20311 * posix/spawn_faction_destroy.c
20312 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
20313 path in all spawn_do_open actions.
20314 * posix/tst-spawn.c (do_test): Exercise the copy operation in
20315 posix_spawn_file_actions_addopen.
20316
20317 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
20318
20319 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
20320 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
20321 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
20322 conditional code always true.
20323 (__libc_vfork): New alias.
20324
20325 2014-06-11 Roland McGrath <roland@hack.frob.com>
20326
20327 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20328 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
20329
20330 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
20331
20332 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20333 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
20334
20335 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
20336 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
20337
20338 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20339 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
20340
20341 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20342
20343 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
20344 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
20345 multiarch strcmp for PPC64.
20346 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
20347 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
20348 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
20349 multiarch optimizations.
20350 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20351 (__libc_ifunc_impl_list): Likewise.
20352
20353 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20354
20355 * benchtests/scripts/validate_benchout.py: New script.
20356 * benchtests/Makefile (bench-func): Call it.
20357 * benchtests/scripts/benchout.schema.json: New file.
20358
20359 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
20360
20361 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
20362 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
20363 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
20364 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
20365 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
20366 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20367 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
20368 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
20369 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
20370 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
20371 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
20372 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
20373 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
20374 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
20375 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
20376 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
20377 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
20378 Moved ...
20379 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
20380 ... here.
20381 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
20382 Moved ...
20383 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
20384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
20385 Moved ...
20386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
20387 ... here.
20388 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
20389 Moved ...
20390 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
20391 ... here.
20392 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
20393 Moved ...
20394 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
20395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
20396 Moved ...
20397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
20398 ... here.
20399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
20400 Moved ...
20401 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
20402 ... here.
20403 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
20404 Moved ...
20405 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
20406 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
20407 Moved ...
20408 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
20409 ... here.
20410 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
20411 Moved ...
20412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
20413 ... here.
20414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
20415 Moved ...
20416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
20417 ... here.
20418 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
20419 Moved ...
20420 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
20421 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
20422 Moved ...
20423 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
20424 ... here.
20425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
20426 Moved ...
20427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
20428 ... here.
20429 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
20430 Moved ...
20431 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
20432 ... here.
20433 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
20434 Moved ...
20435 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
20436 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
20437 Moved ...
20438 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
20439 ... here.
20440 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
20441 Moved ...
20442 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
20443 ... here.
20444 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
20445 Moved ...
20446 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
20447 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
20448 Moved ...
20449 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
20450 ... here.
20451 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
20452 Moved ...
20453 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
20454 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
20455 Moved ...
20456 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
20457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
20458 Moved ...
20459 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
20460 ... here.
20461 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
20462 Moved ...
20463 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
20464 ... here.
20465 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
20466 Moved ...
20467 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
20468 ... here.
20469 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
20470 Moved ...
20471 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
20472 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
20473 Moved ...
20474 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
20475 ... here.
20476 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
20477 Moved ...
20478 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
20479 ... here.
20480 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
20481 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
20482 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
20483 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
20484 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
20485 Moved ...
20486 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
20487 ... here.
20488 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
20489 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
20490 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
20491 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
20492 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
20493 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
20494 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
20495 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
20496 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
20497 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
20498 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
20499 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
20500 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
20501 Moved ...
20502 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
20503 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
20504 Moved ...
20505 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
20506 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
20507 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
20508 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
20509 Moved ...
20510 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
20511 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
20512 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
20513 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
20514 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
20515 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
20516 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
20517
20518 2014-06-10 Wilco <wdijkstr@arm.com>
20519
20520 * math/test-fenv-return.c: New file.
20521 * math/Makefile: Add new test test-fenv-return.
20522
20523 2014-06-10 Joseph Myers <joseph@codesourcery.com>
20524
20525 [BZ #17042]
20526 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
20527 when x - 1 is zero.
20528 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
20529 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
20530 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
20531 0.0L for an argument of 1.0L.
20532 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
20533 Likewise.
20534 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
20535 value when x - 1 is zero.
20536 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
20537 * sysdeps/i386/fpu/libm-test-ulps: Update.
20538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20539
20540 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
20541
20542 [BZ #15119]
20543 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
20544
20545 2014-06-09 Roland McGrath <roland@hack.frob.com>
20546
20547 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
20548 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
20549
20550 2014-06-09 Roland McGrath <roland@hack.frob.com>
20551
20552 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20553 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
20554
20555 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20556 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
20557
20558 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20559 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
20560
20561 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20562 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
20563
20564 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
20565 if not already defined.
20566 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
20567 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
20568 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
20569 (TLS_INIT_TP): Use it.
20570 (TLS_DEFINE_INIT_TP): New macro.
20571 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
20572
20573 2014-06-09 Joseph Myers <joseph@codesourcery.com>
20574
20575 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
20576 constant.
20577 [POSIX] (IXANY): Likewise.
20578 [POSIX] (OLCUC): Likewise.
20579 [POSIX || POSIX2008] (CBAUD): Do not allow.
20580 [POSIX || POSIX2008] (DEFECHO): Likewise.
20581 [POSIX || POSIX2008] (ECHOCTL): Likewise.
20582 [POSIX || POSIX2008] (ECHOKE): Likewise.
20583 [POSIX || POSIX2008] (ECHOPRT): Likewise.
20584 [POSIX || POSIX2008] (EXTA): Likewise.
20585 [POSIX || POSIX2008] (EXTB): Likewise.
20586 [POSIX || POSIX2008] (FLUSHO): Likewise.
20587 [POSIX || POSIX2008] (LOBLK): Likewise.
20588 [POSIX || POSIX2008] (PENDIN): Likewise.
20589 [POSIX || POSIX2008] (SWTCH): Likewise.
20590 [POSIX || POSIX2008] (VDISCARD): Likewise.
20591 [POSIX || POSIX2008] (VDSUSP): Likewise.
20592 [POSIX || POSIX2008] (VLNEXT): Likewise.
20593 [POSIX || POSIX2008] (VREPRINT): Likewise.
20594 [POSIX || POSIX2008] (VSTATUS): Likewise.
20595 [POSIX || POSIX2008] (VWERASE): Likewise.
20596 (B*): Change to B[0123456789]*.
20597 * conform/data/time.h-data [POSIX || UNIX98]
20598 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
20599 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20600 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
20601 [POSIX] (tm_*): Do not allow.
20602
20603 2014-06-07 Joseph Myers <joseph@codesourcery.com>
20604
20605 * Makefile (install): Don't set LANGUAGE.
20606 * Makefile.in (install): Likewise.
20607 * assert/Makefile (test-assert-ENV): Remove variable.
20608 (test-assert-perr-ENV): Likewise.
20609 * elf/Makefile (neededtest4-ENV): Likewise.
20610 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20611 [$(cross-compiling) = no]: Don't set LANGUAGE.
20612 * io/ftwtest-sh (LANG): Remove variable.
20613 * libio/Makefile (tst-widetext-ENV): Likewise.
20614 * manual/install.texi (Running make install): Don't refer to
20615 environment settings for make install.
20616 * INSTALL: Regenerated.
20617 * nptl/tst-tls6.sh: Don't set LANG.
20618 * posix/globtest.sh (LANG): Remove variable.
20619 * string/Makefile (tester-ENV): Likewise.
20620 (inl-tester-ENV): Likewise.
20621 (noinl-tester-ENV): Likewise.
20622 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20623 [$(cross-compiling) = no]: Don't set LANGUAGE.
20624 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
20625 without explicit environment settings.
20626
20627 2014-06-06 Roland McGrath <roland@hack.frob.com>
20628
20629 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
20630 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
20631 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
20632 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
20633
20634 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
20635
20636 * crypt/crypt-private.h [DOS]: Add some includes taken from the
20637 other files in the crypt directory.
20638 * crypt/crypt.c: Remove duplicate includes.
20639 * crypt/crypt-entry.c: Likewise.
20640 * crypt/crypt_util.c: Likewise.
20641
20642 2014-06-06 Joseph Myers <joseph@codesourcery.com>
20643
20644 * Makeconfig (run-program-env): New variable.
20645 (run-program-prefix-before-env): Likewise.
20646 (run-program-prefix-after-env): Likewise.
20647 (run-program-prefix): Define in terms of new variables.
20648 (built-program-cmd-before-env): New variable.
20649 (built-program-cmd-after-env): Likewise.
20650 (built-program-cmd): Define in terms of new variables.
20651 (test-program-prefix-before-env): New variable.
20652 (test-program-prefix-after-env): Likewise.
20653 (test-program-prefix): Define in terms of new variables.
20654 (test-program-cmd-before-env): New variable.
20655 (test-program-cmd-after-env): Likewise.
20656 (test-program-cmd): Define in terms of new variables.
20657 * Rules (make-test-out): Use $(run-program-env).
20658 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
20659 (help): Do not mention environment variables. Mention
20660 --timeoutfactor option.
20661 (timeoutfactor): New variable.
20662 (blacklist_exports): Remove function.
20663 (exports): Remove variable.
20664 (command): Do not include ${exports}.
20665 * manual/install.texi (Configuring and compiling): Do not mention
20666 test wrappers preserving environment variables. Mention that last
20667 assignment to a variable must take precedence.
20668 * INSTALL: Regenerated.
20669 * benchtests/Makefile (run-bench): Use $(run-program-env).
20670 * catgets/Makefile ($(objpfx)test1.cat): Use
20671 $(built-program-cmd-before-env), $(run-program-env) and
20672 $(built-program-cmd-after-env).
20673 ($(objpfx)test2.cat): Do not specify environment variables
20674 explicitly.
20675 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
20676 $(run-program-env) and $(built-program-cmd-after-env).
20677 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
20678 $(run-program-env) and $(test-program-cmd-after-env).
20679 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
20680 explicitly.
20681 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
20682 run_program_env and test_program_cmd_after_env arguments.
20683 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
20684 * elf/tst-pathopt.sh: Use run_program_env argument.
20685 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
20686 $(test-wrapper-env) and $(run-program-env).
20687 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
20688 run_program_env arguments.
20689 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
20690 * intl/Makefile ($(objpfx)tst-gettext.out): Use
20691 $(test-program-prefix-before-env), $(run-program-env) and
20692 $(test-program-prefix-after-env).
20693 ($(objpfx)tst-gettext2.out): Likewise.
20694 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
20695 run_program_env and test_program_prefix_after_env arguments.
20696 * intl/tst-gettext2.sh: Likewise.
20697 * intl/tst-gettext4.sh: Do not set environment variables
20698 explicitly.
20699 * intl/tst-gettext6.sh: Likewise.
20700 * intl/tst-translit.sh: Likewise.
20701 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
20702 $(test-program-prefix-before-env), $(run-program-env) and
20703 $(test-program-prefix-after-env).
20704 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
20705 run_program_env and test_program_prefix_after_env arguments.
20706 * math/Makefile (run-regen-ulps): Use $(run-program-env).
20707 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
20708 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
20709 explicitly with each use of ${test_wrapper_env}.
20710 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
20711 $(test-program-prefix-before-env), $(run-program-env) and
20712 $(test-program-prefix-after-env).
20713 * posix/tst-getconf.sh: Do not set environment variables
20714 explicitly.
20715 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
20716 run_program_env and test_program_prefix_after_env arguments.
20717 * stdio-common/tst-printf.sh: Do not set environment variables
20718 explicitly.
20719 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
20720 $(test-program-prefix-before-env), $(run-program-env) and
20721 $(test-program-prefix-after-env).
20722 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
20723 run_program_env and test_program_prefix_after_env arguments.
20724 Split $test calls into $test_pre and $test.
20725 * timezone/Makefile (build-testdata): Use
20726 $(built-program-cmd-before-env), $(run-program-env) and
20727 $(built-program-cmd-after-env).
20728
20729 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20730
20731 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
20732 strlen for non SHARED builds.
20733
20734 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20735
20736 * nptl/allocatestack.c (check_list): Inlined function...
20737 (__reclaim_stacks): ... here.
20738
20739 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
20740
20741 [BZ #15698]
20742 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
20743 memory overrun.
20744
20745 2014-06-05 Joseph Myers <joseph@codesourcery.com>
20746
20747 * Rules (make-test-out): Include
20748 LOCPATH=$(common-objpfx)localedata in default environment.
20749 * debug/Makefile (tst-chk1-ENV): Remove variable.
20750 (tst-chk2-ENV): Likewise.
20751 (tst-chk3-ENV): Likewise.
20752 (tst-chk4-ENV): Likewise.
20753 (tst-chk5-ENV): Likewise.
20754 (tst-chk6-ENV): Likewise.
20755 (tst-lfschk1-ENV): Likewise.
20756 (tst-lfschk2-ENV): Likewise.
20757 (tst-lfschk3-ENV): Likewise.
20758 (tst-lfschk4-ENV): Likewise.
20759 (tst-lfschk5-ENV): Likewise.
20760 (tst-lfschk6-ENV): Likewise.
20761 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
20762 (tst-iconv7-ENV): Likewise.
20763 * intl/Makefile (LOCPATH-ENV): Likewise.
20764 (tst-codeset-ENV): Likewise.
20765 (tst-gettext3-ENV): Likewise.
20766 (tst-gettext5-ENV): Likewise.
20767 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
20768 (tst-fopenloc-ENV): Likewise.
20769 (tst-fgetws-ENV): Remove variable.
20770 (tst-ungetwc1-ENV): Likewise.
20771 (tst-ungetwc2-ENV): Likewise.
20772 (bug-ungetwc2-ENV): Likewise.
20773 (tst-swscanf-ENV): Likewise.
20774 (bug-ftell-ENV): Likewise.
20775 (tst-fgetwc-ENV): Likewise.
20776 (tst-fseek-ENV): Likewise.
20777 (tst-ftell-partial-wide-ENV): Likewise.
20778 (tst-ftell-active-handler-ENV): Likewise.
20779 (tst-ftell-append-ENV): Likewise.
20780 * posix/Makefile (tst-fnmatch-ENV): Likewise.
20781 (tst-regexloc-ENV): Likewise.
20782 (bug-regex1-ENV): Likewise.
20783 (tst-regex-ENV): Likewise.
20784 (tst-regex2-ENV): Likewise.
20785 (bug-regex5-ENV): Likewise.
20786 (bug-regex6-ENV): Likewise.
20787 (bug-regex17-ENV): Likewise.
20788 (bug-regex18-ENV): Likewise.
20789 (bug-regex19-ENV): Likewise.
20790 (bug-regex20-ENV): Likewise.
20791 (bug-regex22-ENV): Likewise.
20792 (bug-regex23-ENV): Likewise.
20793 (bug-regex25-ENV): Likewise.
20794 (bug-regex26-ENV): Likewise.
20795 (bug-regex30-ENV): Likewise.
20796 (bug-regex32-ENV): Likewise.
20797 (bug-regex33-ENV): Likewise.
20798 (bug-regex34-ENV): Likewise.
20799 (bug-regex35-ENV): Likewise.
20800 (tst-rxspencer-ENV): Likewise.
20801 (tst-rxspencer-no-utf8-ENV): Likewise.
20802 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
20803 (tst-sscanf-ENV): Likewise.
20804 (tst-swprintf-ENV): Likewise.
20805 (tst-swscanf-ENV): Likewise.
20806 (test-vfprintf-ENV): Likewise.
20807 (scanf13-ENV): Likewise.
20808 (bug14-ENV): Likewise.
20809 (tst-grouping-ENV): Likewise.
20810 * stdlib/Makefile (tst-strtod-ENV): Likewise.
20811 (tst-strtod3-ENV): Likewise.
20812 (tst-strtod4-ENV): Likewise.
20813 (tst-strtod5-ENV): Likewise.
20814 (testmb2-ENV): Likewise./
20815 * string/Makefile (tst-strxfrm-ENV): Likewise.
20816 (tst-strxfrm2-ENV): Likewise.
20817 (bug-strcoll1-ENV): Likewise.
20818 (test-strcasecmp-ENV): Likewise.
20819 (test-strncasecmp-ENV): Likewise.
20820 * time/Makefile (tst-strptime-ENV): Likewise.
20821 (tst-ftime_l-ENV): Likewise.
20822 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
20823 (tst-mbrtowc-ENV): Likewise.
20824 (tst-wcrtomb-ENV): Likewise.
20825 (tst-mbrtowc2-ENV): Likewise.
20826 (tst-c16c32-1-ENV): Likewise.
20827 (tst-mbsnrtowcs-ENV): Likewise.
20828
20829 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
20830
20831 * manual/resource.texi (How to get information about the memory
20832 subsystem?): Fix typo.
20833 Reported by Peon de la Parra Ivan <peon@keba.com>
20834
20835 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
20836
20837 [BZ #16882]
20838 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
20839 (pthread_spin_lock): Branch out of spin loop to proper location.
20840 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
20841 (pthread_spin_lock): Likewise.
20842
20843 * nptl/tst-spin4.c: New test.
20844 * nptl/Makefile (tests): Add tst-spin4.
20845
20846 2014-06-03 Andreas Schwab <schwab@suse.de>
20847
20848 [BZ #15946]
20849 * resolv/res_send.c (send_dg): Reload file descriptor after
20850 calling reopen.
20851
20852 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
20853
20854 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20855
20856 2014-06-03 Richard Henderson <rth@redhat.com>
20857
20858 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
20859 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
20860 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
20861 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
20862 in the SAVE_PID block.
20863 (__libc_vfork): New alias.
20864 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
20865
20866 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
20867 child in registers, not on the stack. Remove RESET_PID conditionals.
20868 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
20869
20870 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
20871
20872 * sysdeps/aarch64/libm-test-ulps: Regenerate.
20873
20874 2014-06-03 Wilco <wdijkstr@arm.com>
20875
20876 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
20877 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
20878 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
20879 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
20880 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
20881 Likewise.
20882
20883 2014-06-03 Wilco <wdijkstr@arm.com>
20884
20885 * sysdeps/aarch64/fpu/math_private.h
20886 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
20887 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
20888 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
20889 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
20890 Fix declarations.
20891
20892 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
20893
20894 * crypt/crypt-private.h: Include ufc-crypt.h.
20895 (__b64_from_24bit): Declare extern.
20896 * crypt/crypt_util.c(__b64_from_24bit): New function.
20897 (b64t): New static const variable.
20898 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
20899 (b64t): Remove variable.
20900 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
20901 * crypt/sha256-crypt.c: Include crypt-private.h.
20902 (b64t): Remove variable.
20903 (__sha256_crypt_r): Remove b64_from_24bit and replace
20904 with __b64_from_24bit.
20905 * crypt/sha512-crypt.c: Likewise.
20906
20907 2014-06-02 Roland McGrath <roland@hack.frob.com>
20908
20909 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
20910 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
20911 Label the code __libc_vfork rather than __vfork.
20912 [!NOT_IN_libc] (vfork): Define as weak alias.
20913 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
20914 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
20915 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
20916
20917 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20918
20919 * malloc/malloc.c (malloc_info): Fix format specifier for
20920 n_mmaps.
20921
20922 2014-06-02 Wilco <wdijkstr@arm.com>
20923
20924 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
20925 FPCR write.
20926
20927 2014-06-02 Wilco <wdijkstr@arm.com>
20928
20929 [BZ #17009]
20930 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
20931 Rewrite to reduce FPCR/FPSR accesses.
20932
20933 2014-06-01 David S. Miller <davem@davemloft.net>
20934
20935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20936
20937 2014-05-31 David S. Miller <davem@davemloft.net>
20938
20939 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
20940 to occur in round to nearest mode when |x| >= 2.0
20941
20942 2014-05-30 Richard Henderson <rth@twiddle.net>
20943
20944 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
20945 (PSEUDO_RET_NOERRNO): Remove.
20946 (ret): Don't redefine.
20947 (ret_NOERRNO): Define in terms of ret.
20948 (ret_ERRVAL): Likewise.
20949
20950 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
20951 use of PSEUDO_RET; perform the error check directly.
20952
20953 2014-05-30 Marko Myllynen <myllynen@redhat.com>
20954
20955 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
20956 with __int128_t.
20957
20958 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20959
20960 * malloc/malloc (malloc_info): Fix formatting.
20961
20962 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20963 Roland McGrath <roland@hack.frob.com>
20964
20965 * malloc/malloc (malloc_info): Also print mmapped statistics.
20966
20967 2014-05-30 Roland McGrath <roland@hack.frob.com>
20968
20969 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
20970 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
20971
20972 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
20973
20974 * malloc/malloc.c (malloc_info): Inline mi_arena.
20975
20976 2014-05-29 Richard Henderson <rth@twiddle.net>
20977
20978 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
20979 Remove comma before expanding ASM_ARGS_##nr.
20980 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
20981 Make _x0 a strict output; make _x8 a strict input; adjust expansion
20982 of ASM_ARGS_##nr.
20983 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
20984 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
20985 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
20986 (ASM_ARGS_1): Add leading comma.
20987
20988 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
20989 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
20990 to __errno_location.
20991 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
20992 Remove the expected plt for __errno_location.
20993
20994 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20995 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
20996 call to __read_tp.
20997
20998 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20999 Always allocate 64 bytes of stack frame. Use ldp/stp to create
21000 it and break it down.
21001 (DOCARGS_0, DOCARGS_1): Do nothing.
21002 (DOCARGS_2): Update to store into the new stack frame.
21003 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
21004 (UNDOCARGS_1): Update to restore from the new stack frame.
21005 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
21006 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
21007
21008 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21009 (SINGLE_THREAD_P): New parameter for result regno.
21010 (PSEUDO): Update to match; use cbz instead of beq.
21011
21012 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21013 Use ENTRY to define the _nocancel entry point. Share the syscall
21014 and syscall error check paths with the cancel path.
21015 (PSEUDO_END): New.
21016
21017 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
21018 whitespace; tabs before and after asm mnemonics.
21019
21020 2014-05-29 Eric Wong <normalperson@yhbt.net>
21021
21022 [BZ #15132]
21023 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21024 Call fstat64 or stat64 internally, depending on arguments passed.
21025 Replace stat buffer argument with file descriptor argument.
21026 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
21027 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
21028 Pass fd to __internal_statvfs instead of calling fstat64.
21029 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
21030 Pass fd to __internal_statvfs64 instead of calling fstat64.
21031 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
21032 Pass -1 to __internal_statvfs instead of calling stat64.
21033 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
21034 Pass -1 to __internal_statvfs64 instead of calling stat64.
21035
21036 2014-05-28 Roland McGrath <roland@hack.frob.com>
21037
21038 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
21039 that was previously under [RESET_PID].
21040 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
21041
21042 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
21043 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
21044
21045 2014-05-27 Roland McGrath <roland@hack.frob.com>
21046
21047 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
21048
21049 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
21050 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
21051
21052 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
21053
21054 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
21055
21056 2014-05-27 Andreas Schwab <schwab@suse.de>
21057
21058 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
21059 TLS_INIT_TP macro.
21060 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
21061 * elf/rtld.c (init_tls, dl_main): Likewise.
21062 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
21063 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
21064 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
21065 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
21066 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
21067 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
21068 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
21069 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
21070 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
21071 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
21072 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
21073 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
21074 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
21075 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
21076 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
21077 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
21078 * sysdeps/generic/tls.h: Update description.
21079
21080 2014-05-27 Will Newton <will.newton@linaro.org>
21081
21082 [BZ #16990]
21083 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
21084 and restore r2 rather than just restoring.
21085
21086 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21087
21088 [BZ #16724]
21089 * libio/tst-ftell-append.c: New test case.
21090 * libio/Makefile (tests): Add test case.
21091 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
21092 append mode.
21093 * libio/wfileops.c (do_ftell_wide): Likewise.
21094
21095 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21096
21097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21098
21099 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
21100 ...
21101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
21102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21103 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
21104 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
21105 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
21106 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
21107 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
21108 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
21109 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
21110 Moved ...
21111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
21112 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
21113 Moved ...
21114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
21115 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
21116 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
21117 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
21118 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
21119 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
21120 ...
21121 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
21122 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
21123 Moved ...
21124 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
21125 here.
21126 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
21127 ...
21128 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
21129 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
21130 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
21131
21132 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
21133 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
21134 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
21135 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
21136
21137 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
21138 merge into ...
21139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
21140 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
21141 ...
21142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
21143 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
21144 ...
21145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
21146 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
21147 Moved ...
21148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
21149 here.
21150 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
21151 Moved ...
21152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
21153 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
21154 Moved ...
21155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
21156
21157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
21158 conditional [RESET_PID].
21159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
21160 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
21161 removed.
21162 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
21163 removed.
21164
21165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
21166 <tcb-offsets.h>.
21167 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21168 (__libc_vfork): New strong alias.
21169 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
21170 removed.
21171 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
21172 Removed.
21173
21174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
21175 <tcb-offsets.h>.
21176 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
21177 (__libc_vfork): New strong alias.
21178 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
21179 removed.
21180 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
21181 removed.
21182
21183 2014-05-26 Carlos O'Donell <carlos@redhat.com>
21184
21185 * malloc/malloc.c (mi_arena): New function.
21186 (malloc_info): Remove nested function mi_arena. Call non-nosted
21187 function mi_arena.
21188
21189 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21190
21191 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
21192 by insrwi.
21193 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
21194 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
21195 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
21196 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
21197 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
21198 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
21199 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
21200
21201 2014-05-26 Andreas Schwab <schwab@suse.de>
21202
21203 [BZ #16984]
21204 * locale/programs/repertoire.c (repertoire_read): Add slash
21205 between I18NPATH element and file name.
21206 * locale/programs/locfile.c (locfile_read): Likewise.
21207
21208 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
21209
21210 * nptl/pthread_mutexattr_settype.c
21211 (__pthread_mutexattr_settype):
21212 Disable lock elision for PTHREAD_MUTEX_NORMAL.
21213
21214 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
21215
21216 * nptl/tst-mutex5 (do_test):
21217 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
21218
21219 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21220
21221 * benchtests/README: Document 'init' directive.
21222 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
21223 BENCH_INIT.
21224 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
21225 (parse_file): Recognize 'init' directive.
21226
21227 2014-05-26 Kyle McMartin <kyle@redhat.com>
21228
21229 [BZ #16796]
21230 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
21231 alignment of struct pthread.
21232
21233 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21234
21235 [BZ #16878]
21236 * nscd/netgroupcache.c (addgetnetgrentX): Look for
21237 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
21238 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
21239 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
21240
21241 2014-05-25 Richard Henderson <rth@twiddle.net>
21242
21243 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21244 (SINGLE_THREAD_P_PIC): Remove.
21245 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
21246 (SINGLE_THREAD_P_PIC): Remove.
21247
21248 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
21249 branch to syscall error ...
21250 (PSEUDO): ... here.
21251 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
21252 from __local_syscall_error to .Lsyscall_error.
21253 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
21254 (SYSCALL_ERROR): Update label name.
21255
21256 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21257 Do not use DOARGS/UNDOARGS.
21258 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
21259 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
21260 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
21261 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
21262 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
21263
21264 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
21265 block comment.
21266
21267 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
21268 define if !NOT_IN_libc.
21269 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
21270 define with non-default symbol versions.
21271
21272 2014-05-23 Richard Henderson <rth@twiddle.net>
21273
21274 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
21275 (vfork, __vfork): Define via compat_symbol.
21276
21277 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
21278 [!HAVE_IFUNC] (vfork_compat): Remove.
21279 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
21280
21281 2014-05-23 Joseph Myers <joseph@codesourcery.com>
21282
21283 [BZ #16978]
21284 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
21285 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
21286 variable.
21287
21288 2014-05-23 Richard Henderson <rth@twiddle.net>
21289
21290 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
21291 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
21292 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
21293 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
21294
21295 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
21296 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
21297 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
21298 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
21299 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
21300 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
21301 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
21302 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
21303 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
21304 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
21305 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
21306 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
21307 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
21308 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
21309 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
21310 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
21311 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
21312 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
21313 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
21314 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
21315 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
21316 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
21317 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
21318 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
21319 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
21320 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
21321 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
21322 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
21323 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
21324 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
21325 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
21326 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
21327 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
21328 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
21329 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
21330 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
21331 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
21332 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
21333 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
21334 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
21335 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
21336 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
21337 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
21338 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
21339 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
21340 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
21341 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
21342 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
21343 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
21344 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
21345 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
21346 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
21347 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
21348 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
21349 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
21350 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
21351
21352 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
21353 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
21354 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
21355 before exiting on error.
21356 (__libc_vfork): New strong alias.
21357 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
21358 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
21359
21360 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
21361 that was previously under [RESET_PID].
21362 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
21363
21364 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
21365
21366 2014-05-23 Joseph Myers <joseph@codesourcery.com>
21367
21368 [BZ #16977]
21369 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
21370 value when x - 1 is zero.
21371 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
21372 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
21373 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
21374 0.0L for an argument of 1.0L.
21375 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
21376 Likewise.
21377 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
21378 value when x - 1 is zero.
21379 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
21380 * sysdeps/i386/fpu/libm-test-ulps: Update.
21381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21382
21383 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
21384
21385 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
21386 alphasort and versionsort.
21387
21388 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21389
21390 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
21391 macro.
21392 [copysignf]: Likewise.
21393
21394 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21395
21396 * crypt/md5-crypt.c: Fix formatting.
21397
21398 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
21399
21400 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
21401 (b64_from_24bit): New function.
21402
21403 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21404
21405 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
21406 libc_hidden_builtin_def to ifunc.
21407 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
21408 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
21409
21410 2014-05-21 Roland McGrath <roland@hack.frob.com>
21411
21412 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
21413 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
21414
21415 2014-05-21 Joseph Myers <joseph@codesourcery.com>
21416
21417 * nscd/Depend (linuxthreads): Remove.
21418 (nptl): Add.
21419 * resolv/Depend (linuxthreads): Remove.
21420 * rt/Depend (linuxthreads): Remove.
21421
21422 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
21423 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
21424 $(common-objpfx)elf/.
21425 (link-libc-before-gnulib): Likewise.
21426 (elfobjdir): Remove variable.
21427 * Makefile (install): Use $(elf-objpfx) instead of
21428 $(common-objpfx)elf/.
21429 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
21430 $(elfobjdir)/.
21431 (link-libc-deps): Likewise.
21432 ($(common-objpfx)libc.so): Likewise.
21433 ($(common-objpfx)linkobj/libc.so): Likewise.
21434 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
21435 instead of $(common-objpfx)elf/.
21436 (symbolic-link-list): Likewise.
21437 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
21438 [$(cross-compiling) = no]: Likewise.
21439 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
21440 $(elfobjdir)/.
21441 (static-gnulib-arch): Likewise.
21442 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
21443 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
21444 $(common-objpfx)elf/.
21445
21446 2014-05-21 Richard Henderson <rth@redhat.com>
21447
21448 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21449 (SINGLE_THREAD_P): Use the correct width load. Fold
21450 into the ldr offset.
21451
21452 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
21453 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
21454
21455 2014-05-20 Joseph Myers <joseph@codesourcery.com>
21456
21457 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
21458 (libgcc_s_resume): Use __attribute_used__.
21459 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
21460 Likewise.
21461
21462 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21463
21464 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
21465 optimization when used with float constants.
21466
21467 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21468
21469 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
21470
21471 [BZ #16915]
21472 * locale/nl_langinfo_l.c: Make direct reference to every
21473 _nl_current_CATEGORY symbol.
21474 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
21475 (tests-static): Add tst-langinfo-static.
21476 (tests-special): Add tst-langinfo-static.out.
21477 ($(objpfx)tst-langinfo.out): Redirect output.
21478 ($(objpfx)tst-langinfo-static.out): New.
21479 * localedata/tst-langinfo.sh: Send output to stdout.
21480 * localedata/tst-langinfo-static.c: New file.
21481
21482 [BZ #16965]
21483 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
21484 when the shift amount is modulo the limb size.
21485
21486 2014-05-20 Richard Henderson <rth@redhat.com>
21487
21488 [BZ #16967]
21489 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
21490 Change type of sa_flags from unsigned int to int.
21491
21492 [BZ #16966]
21493 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
21494
21495 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
21496
21497 2014-05-20 Will Newton <will.newton@linaro.org>
21498
21499 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21500 Test the return value of the system call in the nocancel case.
21501
21502 2014-05-20 Will Newton <will.newton@linaro.org>
21503 Yvan Roux <yvan.roux@linaro.org>
21504
21505 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
21506 #include of asm/ptrace.h.
21507 (PTRACE_GET_THREAD_AREA): Remove #undef.
21508 (PTRACE_GETHBPREGS): Likewise.
21509 (PTRACE_SETHBPREGS): Likewise.
21510 (struct user_regs_struct): New structure.
21511 (struct user_fpsimd_struct): New structure.
21512 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
21513 #include of asm/ptrace.h and second #include of sys/user.h.
21514 (PTRACE_GET_THREAD_AREA): Remove #undef.
21515 (PTRACE_GETHBPREGS): Likewise.
21516 (PTRACE_SETHBPREGS): Likewise.
21517 (ELF_NGREG): Use new struct user_regs_struct.
21518 (elf_fpregset_t): Use new struct user_fpsimd_struct.
21519
21520 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21521
21522 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
21523 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
21524
21525 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
21526
21527 [BZ #16958]
21528 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
21529 membar to avoid block loads/stores to overlap previous stores.
21530
21531 2014-05-17 Richard Henderson <rth@redhat.com>
21532
21533 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
21534 Create the __##syscall_name##_nocancel entry point.
21535 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
21536 Remove; let the sysdep-cancel.h code create it.
21537
21538 2014-05-17 David S. Miller <davem@davemloft.net>
21539
21540 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
21541 Protect with __USE_GNU.
21542 (TIOCSET_TEMPT): Likewise.
21543 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
21544 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
21545 these are already provided in bits/ioctl-types.h
21546
21547 2014-05-16 Roland McGrath <roland@hack.frob.com>
21548
21549 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
21550 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
21551
21552 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
21553 Use wait4 regardless of [__NR_waitpid].
21554
21555 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
21556
21557 PR libgcc/60166
21558 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21559 (_FP_NANSIGN_Q): Set the quiet bit.
21560
21561 2014-05-16 Joseph Myers <joseph@codesourcery.com>
21562
21563 * benchtests/Makefile
21564 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
21565 not $(common-objpfx)math/libm.so.
21566 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
21567 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
21568 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
21569 $(common-objpfx)dlfcn/libdl.so.
21570 ($(objpfx)tst-audit8): Depend on $(libm), not
21571 $(common-objpfx)math/libm.so.
21572 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
21573 not $(common-objpfx)dlfcn/libdl.so.
21574 * math/Makefile
21575 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21576 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
21577 [$(build-shared) = yes].
21578 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
21579 $(common-objpfx)nptl/libpthread.so.
21580 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
21581 $(common-objpfx)math/libm.so$(libm.so-version) or
21582 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
21583 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
21584 $(common-objpfx)dlfcn/libdl.so.
21585 * setjmp/Makefile (link-libm): Remove variable.
21586 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
21587 * stdio-common/Makefile (link-libm): Remove variable.
21588 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
21589 * stdlib/Makefile (link-libm): Remove variable.
21590 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
21591 ($(objpfx)tst-strtod-round): Likewise.
21592 ($(objpfx)tst-tininess): Likewise.
21593 ($(objpfx)tst-strtod-underflow): Likewise.
21594 ($(objpfx)tst-strtod6): Likewise.
21595 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
21596 $(libdl), not $(common-objpfx)nptl/libpthread.so and
21597 $(common-objpfx)dlfcn/libdl.so.
21598
21599 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21600
21601 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
21602 BSD terminal modes definitions.
21603
21604 2014-05-16 Roland McGrath <roland@hack.frob.com>
21605
21606 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
21607 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
21608
21609 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
21610 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
21611 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
21612 Don't do #include_next.
21613 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
21614 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
21615 Don't do #include_next.
21616 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
21617 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
21618 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
21619 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
21620
21621 2014-05-16 Allan McRae <allan@archlinux.org>
21622
21623 * po/sv.po: Update Swedish translation from translation project.
21624
21625 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
21626 in sed expression.
21627
21628 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
21629
21630 [BZ #16917]
21631 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
21632 errno if the TIOCGPTN ioctl fails with an error different than
21633 EINVAL.
21634 * login/tst-ptsname.c: New file.
21635 * login/Makefile (tests): Add tst-ptsname.
21636
21637 [BZ #16943]
21638 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
21639 and prlimit64.
21640
21641 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21642
21643 [BZ #16849]
21644 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
21645 herrno to return EAI_AGAIN.
21646
21647 2014-05-14 Roland McGrath <roland@hack.frob.com>
21648
21649 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
21650 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
21651 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
21652 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
21653 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
21654 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
21655 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
21656 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
21657 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
21658 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
21659 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
21660 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
21661 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
21662 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
21663 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
21664 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
21665 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
21666 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
21667 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
21668 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
21669 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
21670 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
21671 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
21672 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
21673 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
21674 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
21675 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
21676 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
21677 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
21678 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
21679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
21680 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
21681 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
21682 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
21683 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21684 Moved ...
21685 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
21686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
21687 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
21688 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
21689 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
21690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
21691 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
21692 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
21693 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
21694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
21695 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
21696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
21697 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
21698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
21699 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
21700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
21701 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
21702 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
21703 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
21704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
21705 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
21706 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
21707 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
21708 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
21709 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
21710 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
21711 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
21712 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21713 Moved ...
21714 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
21715 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
21716 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
21717 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
21718 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
21719 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
21720 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
21721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
21722 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
21723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
21724 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
21725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
21726 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
21727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
21728 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
21729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
21730 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
21731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
21732 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
21733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21734 Moved ...
21735 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
21736 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
21737 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
21738
21739 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
21740 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
21741 (libpthread-sysdep_routines): Add elision-related stuff here instead.
21742 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
21743 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
21744 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
21745 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
21746 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
21747 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
21748 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
21749 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
21750 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
21751 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
21752 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
21753 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
21754 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
21755 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
21756 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
21757 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
21758 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
21759 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
21760 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
21761 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
21762 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
21763 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
21764 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
21765 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
21766 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
21767 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
21768 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
21769 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
21770
21771 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
21772 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
21773
21774 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
21775 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
21776 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
21777 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
21778 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
21779 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
21780 Moved ...
21781 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
21782 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
21783 Moved ...
21784 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
21785 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
21786 Moved ...
21787 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
21788 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
21789 Moved ...
21790 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
21791 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
21792 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
21793 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
21794 Moved ...
21795 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
21796 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
21797 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
21798 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
21799 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
21800 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
21801 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
21802 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
21803 Moved ...
21804 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
21805 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
21806 Moved ...
21807 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
21808 ... here.
21809 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
21810 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
21811 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
21812 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
21813 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
21814 Moved ...
21815 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
21816 ... here.
21817 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
21818 Moved ...
21819 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
21820 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
21821 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
21822 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
21823 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
21824 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
21825 Moved ...
21826 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
21827 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
21828 Moved ...
21829 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
21830 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
21831 Moved ...
21832 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
21833 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
21834 Moved ...
21835 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
21836 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
21837 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
21838 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
21839 Moved ...
21840 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
21841 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
21842 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
21843 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
21844 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
21845 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
21846 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
21847 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
21848 Moved ...
21849 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
21850 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
21851 Moved ...
21852 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
21853 ... here.
21854 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
21855 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
21856 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
21857 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
21858 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
21859 Moved ...
21860 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
21861 ... here.
21862 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
21863 Moved ...
21864 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
21865 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
21866 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
21867 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
21868 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
21869 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
21870 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
21871 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
21872 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
21873 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
21874 Moved ...
21875 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
21876 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
21877 Moved ...
21878 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
21879 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
21880 Moved ...
21881 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
21882 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
21883 Moved ...
21884 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
21885 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
21886 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
21887 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
21888 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
21889 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
21890 Moved ...
21891 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
21892 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
21893 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
21894 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
21895 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
21896 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
21897 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
21898 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
21899 Moved ...
21900 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
21901 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
21902 Moved ...
21903 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
21904 ... here.
21905 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
21906 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
21907 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
21908 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
21909 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
21910 Moved ...
21911 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
21912 ... here.
21913 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
21914 Moved ...
21915 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
21916 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
21917 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
21918 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
21919 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
21920 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
21921 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
21922 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
21923 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
21924 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
21925 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
21926
21927 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
21928 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
21929
21930 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
21931 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
21932
21933 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
21934 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
21935 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
21936 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
21937 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
21938 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
21939 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
21940 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
21941 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
21942 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
21943 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
21944 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
21945 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
21946 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
21947 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
21948 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
21949 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
21950 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
21951 Moved ...
21952 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
21953 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
21954 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
21955 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
21956 Moved ...
21957 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
21958 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
21959 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
21960 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
21961 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
21962 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
21963 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
21964 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
21965 Moved ...
21966 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
21967 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
21968 Moved ...
21969 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
21970 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
21971 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
21972 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
21973 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
21974 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
21975 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
21976 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
21977 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
21978 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
21979 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
21980 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
21981 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
21982 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
21983 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
21984 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
21985 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
21986
21987 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
21988 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
21989 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
21990 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
21991 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
21992
21993 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
21994 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
21995 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
21996 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
21997 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
21998 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
21999 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
22000 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
22001 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
22002 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
22003
22004 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
22005 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
22006
22007 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
22008 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
22009 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
22010 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
22011 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
22012 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
22013 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
22014 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
22015 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
22016 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
22017 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
22018 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
22019 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
22020 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
22021 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
22022 Update #include.
22023 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
22024 Likewise.
22025 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
22026 Likewise.
22027 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
22028 Likewise.
22029 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
22030 Likewise.
22031 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
22032 Likewise.
22033 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
22034 Likewise.
22035 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
22036 Likewise.
22037 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
22038 Likewise.
22039 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
22040 Likewise.
22041 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
22042 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
22043 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
22044 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
22045 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
22046 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
22047 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
22048 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
22049 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
22050 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
22051 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
22052 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
22053 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
22054 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
22055 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
22056
22057 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
22058 that was previously under [RESET_PID].
22059 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22060 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
22061 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
22062
22063 * sysdeps/i386/nptl/Implies: New file.
22064 * sysdeps/x86_64/nptl/Implies: New file.
22065 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
22066 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
22067 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
22068 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
22069
22070 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
22071 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22072 (__libc_vfork): New strong alias.
22073 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
22074 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
22075
22076 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
22077 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22078 (__libc_vfork): New strong alias.
22079 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
22080 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
22081
22082 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
22083 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22084 (__libc_vfork): New strong alias.
22085 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
22086 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
22087 * nptl/pt-vfork.c: New file.
22088 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
22089 (libpthread: GLIBC_2.20): New version set (empty).
22090
22091 2014-05-14 Will Newton <will.newton@linaro.org>
22092
22093 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
22094 rather than #if.
22095
22096 2014-05-14 Joseph Myers <joseph@codesourcery.com>
22097
22098 [BZ #16564]
22099 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
22100 arguments with exponent 65 or above.
22101 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
22102 arguments 0x1p113L or above.
22103 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
22104 to arguments 0x1p107L or above.
22105 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
22106 positive arguments with exponent 65 or above.
22107 * math/auto-libm-test-in: Add more tests of log1p.
22108 * math/auto-libm-test-out: Regenerated.
22109
22110 [BZ #16928]
22111 * math/s_cacos.c (__cacos): Ensure zero real part of result from
22112 non-finite arguments is +0.
22113 * math/s_cacosf.c (__cacosf): Likewise.
22114 * math/s_cacosl.c (__cacosl): Likewise.
22115 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
22116 * sysdeps/i386/fpu/libm-test-ulps: Update.
22117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22118
22119 [BZ #16927]
22120 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
22121 value.
22122 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
22123 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
22124 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
22125 for explicit high bit of mantissa when testing for argument equal
22126 to 1.
22127 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
22128 * sysdeps/i386/fpu/libm-test-ulps: Update.
22129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22130
22131 [BZ #16516]
22132 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
22133 (__erf): Scale by 16 instead of 8 in potentially underflowing
22134 case. Ensure exception if result actually underflows.
22135 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
22136 (__erff): Scale by 16 instead of 8 in potentially underflowing
22137 case. Ensure exception if result actually underflows.
22138 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
22139 (efx8): Remove variable.
22140 (__erfl): Scale by 16 instead of 8 in potentially underflowing
22141 case. Ensure exception if result actually underflows.
22142 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
22143 (efx8): Remove variable.
22144 (__erfl): Scale by 16 instead of 8 in potentially underflowing
22145 case. Ensure exception if result actually underflows.
22146 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
22147 (efx8): Remove variable.
22148 (__erfl): Scale by 16 instead of 8 in potentially underflowing
22149 case. Ensure exception if result actually underflows.
22150 * math/auto-libm-test-in: Add more tests of erf.
22151 * math/auto-libm-test-out: Regenerated.
22152
22153 2014-05-14 Andreas Schwab <schwab@suse.de>
22154
22155 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
22156 Remove code conditionalized on USE___THREAD.
22157
22158 * config.h.in (HAVE_PT_CHOWN): Define as 0.
22159 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
22160 not definedness.
22161
22162 2014-05-14 Joseph Myers <joseph@codesourcery.com>
22163
22164 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
22165 Define unconditionally.
22166 (__ASSUME_O_CLOEXEC): Likewise.
22167 (__ASSUME_SOCK_CLOEXEC): Likewise.
22168 (__ASSUME_IN_NONBLOCK): Likewise.
22169 (__ASSUME_PIPE2): Likewise.
22170 (__ASSUME_EVENTFD2): Likewise.
22171 (__ASSUME_SIGNALFD4): Likewise.
22172 (__ASSUME_DUP3): Likewise.
22173 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22174 (__ASSUME_DUP3): Do not define.
22175 (__ASSUME_EVENTFD2): Likewise.
22176 (__ASSUME_IN_NONBLOCK): Likewise.
22177 (__ASSUME_O_CLOEXEC): Likewise.
22178 (__ASSUME_PIPE2): Likewise.
22179 (__ASSUME_SIGNALFD4): Likewise.
22180 (__ASSUME_SOCK_CLOEXEC): Likewise.
22181 (__ASSUME_UTIMES): Undefine.
22182 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22183 (__ASSUME_UTIMES): Do not define.
22184 (__ASSUME_O_CLOEXEC): Likewise.
22185 (__ASSUME_SOCK_CLOEXEC): Likewise.
22186 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
22187 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
22188 0x020621].
22189 (__ASSUME_PIPE2): Likewise.
22190 (__ASSUME_EVENTFD2): Likewise.
22191 (__ASSUME_SIGNALFD4): Likewise.
22192 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
22193 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
22194 Do not define.
22195 (__ASSUME_EVENTFD2): Likewise.
22196 (__ASSUME_SIGNALFD4): Likewise.
22197 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22198 (__ASSUME_32BITUIDS): Likewise.
22199 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22200 (__ASSUME_IPC64): Likewise.
22201 (__ASSUME_ST_INO_64_BIT): Likewise.
22202 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
22203 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
22204 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22205 (__ASSUME_UTIMES): Do not define.
22206 (__ASSUME_PSELECT): Likewise.
22207 (__ASSUME_PPOLL): Likewise.
22208 (__ASSUME_O_CLOEXEC): Likewise.
22209 (__ASSUME_SOCK_CLOEXEC): Likewise.
22210 (__ASSUME_IN_NONBLOCK): Likewise.
22211 (__ASSUME_PIPE2): Likewise.
22212 (__ASSUME_EVENTFD2): Likewise.
22213 (__ASSUME_SIGNALFD4): Likewise.
22214 (__ASSUME_DUP3): Likewise.
22215 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22216 (__ASSUME_UTIMES): Likewise.
22217 (__ASSUME_O_CLOEXEC): Likewise.
22218 (__ASSUME_SOCK_CLOEXEC): Likewise.
22219 (__ASSUME_IN_NONBLOCK): Likewise.
22220 (__ASSUME_PIPE2): Likewise.
22221 (__ASSUME_EVENTFD2): Likewise.
22222 (__ASSUME_SIGNALFD4): Likewise.
22223 (__ASSUME_DUP3): Likewise.
22224 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22225 (__ASSUME_UTIMES): Likewise.
22226 (__ASSUME_O_CLOEXEC): Likewise.
22227 (__ASSUME_SOCK_CLOEXEC): Likewise.
22228 (__ASSUME_IN_NONBLOCK): Likewise.
22229 (__ASSUME_PIPE2): Likewise.
22230 (__ASSUME_EVENTFD2): Likewise.
22231 (__ASSUME_SIGNALFD4): Likewise.
22232 (__ASSUME_DUP3): Likewise.
22233 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
22234 Likewise.
22235 (__ASSUME_UTIMES): Likewise.
22236 (__ASSUME_EVENTFD2): Likewise.
22237 (__ASSUME_SIGNALFD4): Likewise.
22238 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22239 (__ASSUME_O_CLOEXEC): Likewise.
22240 (__ASSUME_SOCK_CLOEXEC): Likewise.
22241 (__ASSUME_IN_NONBLOCK): Likewise.
22242 (__ASSUME_PIPE2): Likewise.
22243 (__ASSUME_EVENTFD2): Likewise.
22244 (__ASSUME_SIGNALFD4): Likewise.
22245 (__ASSUME_DUP3): Likewise.
22246 (__ASSUME_UTIMES): Undefine.
22247
22248 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
22249 feclearexcept. Remove symbol versioning code.
22250 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
22251 symbol versioning code.
22252 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
22253 symbol versioning code.
22254 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
22255 feupdateenv. Remove symbol versioning code.
22256 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
22257 fegetexceptflag. Remove symbol versioning code.
22258 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
22259 fesetexceptflag. Remove symbol versioning code.
22260 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
22261 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
22262 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
22263 (__posix_fadvise64_l32): Remove prototype.
22264 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
22265 code.
22266
22267 2014-05-13 Roland McGrath <roland@hack.frob.com>
22268
22269 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
22270 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
22271 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
22272 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
22273
22274 2014-05-13 Sami Kerola <kerolasa@iki.fi>
22275
22276 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
22277 current working directory
22278
22279 2014-05-13 Roland McGrath <roland@hack.frob.com>
22280
22281 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
22282 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
22283 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
22284 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
22285 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
22286 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
22287 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
22288 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
22289 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
22290 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
22291 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
22292 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
22293 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
22294 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
22295 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
22296 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
22297 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
22298 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
22299 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
22300 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
22301 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
22302 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
22303 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
22304 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
22305 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
22306 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
22307 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
22308 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
22309 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
22310 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
22311 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
22312 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
22313 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
22314 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
22315 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
22316 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
22317 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
22318 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
22319 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
22320 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
22321 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
22322 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
22323
22324 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
22325 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
22326
22327 * sysdeps/unix/sysv/linux/arm/Makefile
22328 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
22329 Add rt-aeabi_unwind_cpp_pr1.
22330 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
22331 Add nptl-aeabi_unwind_cpp_pr1.
22332 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
22333 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
22334 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
22335 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
22336 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
22337 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
22338
22339 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
22340 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
22341 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
22342 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
22343
22344 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
22345 Deconditionalize the code that was previously under [RESET_PID].
22346 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
22347
22348 * sysdeps/generic/exit-thread.h: New file.
22349 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
22350 * include/unistd.h (__exit_thread): Remove declaration.
22351 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
22352 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
22353 * csu/libc-start.c: Include <exit-thread.h>.
22354 (LIBC_START_MAIN): Pass no argument to __exit_thread.
22355 * nptl/pthread_create.c: Include <exit-thread.h>.
22356 (start_thread): Call __exit_thread in place of __exit_thread_inline.
22357 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
22358 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
22359 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
22360 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
22361 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
22362 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
22363 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
22364 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
22365 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
22366 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
22367 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
22368 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
22369 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
22370 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
22371 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
22372 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
22373
22374 2014-05-13 Andreas Schwab <schwab@suse.de>
22375
22376 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
22377
22378 2014-05-12 Joseph Myers <joseph@codesourcery.com>
22379
22380 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
22381 (__ASSUME_UTIMES): Do not condition on kernel version.
22382 (__ASSUME_PSELECT): Define unconditionally.
22383 (__ASSUME_PPOLL): Likewise.
22384 (__ASSUME_ATFCTS): Likewise.
22385 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
22386 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
22387 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
22388 (__ASSUME_UTIMENSAT): Define unconditionally.
22389 (__ASSUME_PRIVATE_FUTEX): Likewise.
22390 (__ASSUME_FALLOCATE): Likewise.
22391 (__ASSUME_O_CLOEXEC): Likewise.
22392 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
22393 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
22394 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
22395 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
22396 (__ASSUME_IN_NONBLOCK): Likewise.
22397 (__ASSUME_PIPE2): Likewise.
22398 (__ASSUME_EVENTFD2): Likewise.
22399 (__ASSUME_SIGNALFD4): Likewise.
22400 (__ASSUME_DUP3): Likewise.
22401 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22402 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
22403 (__ASSUME_AT_RANDOM): Likewise.
22404 (__ASSUME_PREADV): Likewise.
22405 (__ASSUME_PWRITEV): Likewise.
22406 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
22407 (__ASSUME_F_GETOWN_EX): Define unconditionally.
22408 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
22409 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
22410 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
22411 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22412 (__ASSUME_O_CLOEXEC): Define unconditionally.
22413 (__ASSUME_PSELECT): Do not undefine conditionally.
22414 (__ASSUME_PPOLL): Likewise.
22415 (__ASSUME_ATFCTS): Likewise.
22416 (__ASSUME_SET_ROBUST_LIST): Likewise.
22417 (__ASSUME_UTIMENSAT): Likewise.
22418 (__ASSUME_FDATASYNC): Define unconditionally.
22419 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22420 (__ASSUME_SIGFRAME_V2): Likewise.
22421 )__ASSUME_EVENTFD2): Likewise.
22422 (__ASSUME_SIGNALFD4): Likewise.
22423 (__ASSUME_PSELECT): Do not undefine conditionally.
22424 (__ASSUME_PPOLL): Likewise.
22425 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22426 (__ASSUME_PSELECT): Define unconditionally.
22427 (__ASSUME_PPOLL): Likewise.
22428 (__ASSUME_O_CLOEXEC): Likewise.
22429 (__ASSUME_SOCK_CLOEXEC): Likewise.
22430 (__ASSUME_IN_NONBLOCK): Likewise.
22431 (__ASSUME_PIPE2): Likewise.
22432 (__ASSUME_EVENTFD2): Likewise.
22433 (__ASSUME_SIGNALFD4): Likewise.
22434 (__ASSUME_DUP3): Likewise.
22435 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22436 (__ASSUME_O_CLOEXEC): Likewise.
22437 (__ASSUME_SOCK_CLOEXEC): Likewise.
22438 (__ASSUME_IN_NONBLOCK): Likewise.
22439 (__ASSUME_PIPE2): Likewise.
22440 (__ASSUME_EVENTFD2): Likewise.
22441 (__ASSUME_SIGNALFD4): Likewise.
22442 (__ASSUME_DUP3): Likewise.
22443 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22444 (__ASSUME_EVENTFD2): Likewise.
22445 (__ASSUME_SIGNALFD4): Likewise.
22446 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22447
22448 2014-05-12 Andreas Schwab <schwab@suse.de>
22449
22450 [BZ #16932]
22451 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
22452 (_nss_nis_gethostbyname4_r): Return error if item length is larger
22453 than maximum RPC packet size.
22454 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
22455 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
22456 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
22457 (_nss_nis_getservbyport_r): Likewise.
22458
22459 2014-05-12 Will Newton <will.newton@linaro.org>
22460
22461 * malloc/Makefile (tests): Add tst-mallopt.
22462 * malloc/tst-mallopt.c: New file.
22463
22464 2014-05-09 Roland McGrath <roland@hack.frob.com>
22465
22466 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
22467 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
22468
22469 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22470
22471 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
22472 (tst-tlsmod6.so): Likewise.
22473
22474 2014-05-09 Roland McGrath <roland@hack.frob.com>
22475
22476 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
22477
22478 2014-05-09 Joseph Myers <joseph@codesourcery.com>
22479
22480 [BZ #16064]
22481 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
22482 and <dl-procinfo.h>.
22483 (__fegetenv): Save SSE state in envp->__eip if supported.
22484 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
22485 envp->__eip if supported.
22486 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
22487 and <dl-procinfo.h>.
22488 (__fesetenv): Always set __eip, __cs_selector, __opcode,
22489 __data_offset and __data_selector in environment to 0. Set SSE
22490 state if supported.
22491 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
22492 test-fenv-sse.
22493 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
22494 -mfpmath=sse.
22495 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
22496
22497 2014-05-09 Will Newton <will.newton@linaro.org>
22498
22499 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
22500 and libc_relro_required for ARM.
22501 * sysdeps/arm/preconfigure: Regenerate.
22502
22503 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
22504 Stefan Liebler <stli@linux.vnet.ibm.com>
22505
22506 * config.make.in (enable-lock-elision): New Makefile variable.
22507 * configure.ac: Likewise.
22508 * configure: Regenerate.
22509 * sysdeps/s390/configure.ac:
22510 Add check for gcc transactions support.
22511 * sysdeps/s390/configure: Regenerate.
22512 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
22513 Build elision files if enabled.
22514 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
22515 Add lock elision support for s390.
22516 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
22517 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
22518 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
22519 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
22520 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
22521 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
22522 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
22523 Likewise.
22524 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
22525 Likewise.
22526 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
22527 Likewise.
22528 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
22529 Likewise.
22530 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
22531 (__lll_timedlock_elision, __lll_lock_elision)
22532 (__lll_unlock_elision, __lll_trylock_elision)
22533 (lll_timedlock_elision, lll_lock_elision)
22534 (lll_unlock_elision, lll_trylock_elision): Add.
22535 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22536 (pthread_mutex_t): Add lock elision support for s390.
22537
22538 2014-05-14 Wilco <wdijkstr@arm.com>
22539
22540 * sysdeps/arm/fclrexcpt.c: Cleanup.
22541 * sysdeps/arm/fedisblxcpt.c: Cleanup.
22542 * sysdeps/arm/feenablxcpt.c: Cleanup.
22543 * sysdeps/arm/fegetenv.c: Cleanup.
22544 * sysdeps/arm/fegetexcept.c: Cleanup.
22545 * sysdeps/arm/fegetround.c: Cleanup.
22546 * sysdeps/arm/feholdexcpt.c: Cleanup.
22547 * sysdeps/arm/fesetenv.c: Cleanup.
22548 * sysdeps/arm/fesetround.c: Cleanup.
22549 * sysdeps/arm/feupdateenv.c: Cleanup.
22550 * sysdeps/arm/fgetexcptflg.c: Cleanup.
22551 * sysdeps/arm/fraiseexcpt.c: Cleanup.
22552 * sysdeps/arm/fsetexcptflg.c: Cleanup.
22553 * sysdeps/arm/ftestexcept.c: Cleanup.
22554 * sysdeps/arm/get-rounding-mode.h: Cleanup.
22555 * sysdeps/arm/setfpucw.c: Cleanup.
22556
22557 2014-05-09 Will Newton <will.newton@linaro.org>
22558
22559 * sysdeps/arm/armv7/strcmp.S: New file.
22560 * NEWS: Mention addition of ARMv7 optimized strcmp.
22561
22562 2014-05-08 Roland McGrath <roland@hack.frob.com>
22563
22564 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
22565 look for %.ac rather than %.in.
22566
22567 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
22568 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
22569 * sysdeps/mach/hurd/configure: Regenerated.
22570 * sysdeps/unix/sysv/linux/configure: Regenerated.
22571
22572 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
22573
22574 2014-05-07 Steve Ellcey <sellcey@mips.com>
22575
22576 [BZ# 16922]
22577 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
22578 (LONG_SUB): Ditto.
22579 (PTR_SUB): Ditto.
22580
22581 2014-05-07 Andreas Schwab <schwab@suse.de>
22582
22583 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
22584 when skipping over non-matching result from nscd.
22585
22586 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
22587
22588 [BZ #16876]
22589 * nptl/sockperf.c (client): Check socket return value.
22590
22591 [BZ #16877]
22592 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
22593 nscd security class.
22594
22595 2014-05-06 Roland McGrath <roland@hack.frob.com>
22596
22597 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
22598 * sysdeps/arm/unwind.h: ... here.
22599
22600 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
22601
22602 [BZ# 16916]
22603 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
22604 Define.
22605
22606 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
22607
22608 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
22609 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
22610 multiarch strncpy for PPC64.
22611 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
22612 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
22613 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
22614 multiarch optimizations.
22615 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22616 (__libc_ifunc_impl_list): Likewise.
22617 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
22618 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
22619 multiarch stpncpy for PPC64.
22620 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
22621 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
22622
22623 2014-05-06 Andreas Schwab <schwab@suse.de>
22624
22625 [BZ #16912]
22626 * gmon/mcount.c (_MCOUNT_DECL): Use
22627 atomic_compare_and_exchange_bool_acq instead of
22628 catomic_compare_and_exchange_bool_acq.
22629
22630 2014-05-05 Roland McGrath <roland@hack.frob.com>
22631
22632 * elf/Makefile (others, install-bin): Remove pldd.
22633 (pldd-modules): Variable removed.
22634 ($(objpfx)pldd): Target removed.
22635 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
22636 (others, install-bin): Append pldd here.
22637 ($(objpfx)pldd): New target.
22638
22639 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
22640 to 0, so the first #if test emitted later doesn't see it undefined.
22641 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
22642 * sysdeps/gnu/errlist.c: Regenerated.
22643
22644 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22645
22646 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
22647 [libc_hidden_builtin_def]: Define to empty value.
22648 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
22649 [libc_hidden_builtin_def]: Likewise.
22650 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
22651 [libc_hidden_builtin_def]: Likewise.
22652 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
22653 [libc_hidden_builtin_def]: Likewise.
22654 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
22655 __redirect_memcpy and define ifunc as default hidden symbol.
22656 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
22657 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
22658
22659 2014-05-04 Adam Conrad <adconrad@0c3.net>
22660
22661 * locale/iso-4217.def: Reintroduce XDR currency.
22662
22663 2014-05-04 Allan McRae <allan@archlinux.org>
22664
22665 * po/eo.po: Update Esperanto translation from translation project.
22666
22667 2014-05-02 Carlos O'Donell <carlos@redhat.com>
22668
22669 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
22670 and FEATURE_INDEX_MAX to 1.
22671 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
22672
22673 2014-05-01 Steve Ellcey <sellcey@mips.com>
22674
22675 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
22676 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
22677 * iconvdata/big5.c (ONE_DIRECTION): Define.
22678 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
22679 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
22680 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
22681 * iconvdata/cp932.c (ONE_DIRECTION): Define.
22682 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
22683 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
22684 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
22685 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
22686 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
22687 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
22688 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
22689 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
22690 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
22691 * iconvdata/gbk.c (ONE_DIRECTION): Define.
22692 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
22693 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
22694 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
22695 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
22696 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
22697 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
22698 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
22699 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
22700 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
22701 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
22702 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
22703 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
22704 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
22705 * iconvdata/iso646.c (ONE_DIRECTION): Define.
22706 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
22707 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
22708 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
22709 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
22710 * iconvdata/johab.c (ONE_DIRECTION): Define.
22711 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
22712 * iconvdata/sjis.c (ONE_DIRECTION): Define.
22713 * iconvdata/t.61.c (ONE_DIRECTION): Define.
22714 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
22715 * iconvdata/tscii.c (ONE_DIRECTION): Define.
22716 * iconvdata/uhc.c (ONE_DIRECTION): Define.
22717 * iconvdata/unicode.c (ONE_DIRECTION): Define.
22718 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
22719 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
22720 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
22721
22722 2014-05-01 Roland McGrath <roland@hack.frob.com>
22723
22724 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
22725 (_IO_JUMPS_OFFSET): Define to 0.
22726
22727 * nptl/sysdeps/pthread/bits/libc-lock.h
22728 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
22729 (__libc_lock_define_initialized_recursive): Always define using
22730 initializer. Modern compilers treat uninitialized (implicit zero) and
22731 explicit zero initializers the same (i.e. put the datum in bss).
22732
22733 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
22734
22735 * nscd/nscd-client.h: Include <string.h>.
22736
22737 2014-05-01 David S. Miller <davem@davemloft.net>
22738
22739 [BZ #16885]
22740 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
22741 multiple zero bytes exist at the end of a string.
22742 Reported by Aurelien Jarno <aurelien@aurel32.net>
22743
22744 * string/test-strcmp.c (check): Add explicit test for situations where
22745 there are multiple zero bytes after the first.
22746
22747 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
22748
22749 [BZ #16890]
22750 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
22751 when compiling wprintf.
22752 * stdio-common/tstdiomisc.c (t3): New function.
22753 (main): Call it.
22754
22755 2014-05-01 Steve Ellcey <sellcey@mips.com>
22756
22757 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
22758 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
22759 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
22760 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
22761
22762 2014-05-01 Steve Ellcey <sellcey@mips.com>
22763
22764 * stdlib/longlong.h: Updated from GCC.
22765
22766 2014-05-01 Will Newton <will.newton@linaro.org>
22767 Bernard Ogden <bernie.ogden@linaro.org>
22768
22769 * NEWS: Update fixed bug list.
22770
22771 [BZ #15119]
22772 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
22773
22774 2014-04-30 David S. Miller <davem@davemloft.net>
22775
22776 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
22777 (libc_feholdexcept_setround_sparc_ctx): New function.
22778 (libc_fesetenv_sparc_ctx): Likewise.
22779 (libc_feupdateenv_sparc_ctx): Likewise.
22780 (libc_feholdsetround_sparc_ctx): Likewise.
22781 (libc_feholdexcept_setround_ctx): Define.
22782 (libc_feholdexcept_setroundf_ctx): Likewise.
22783 (libc_feholdexcept_setroundl_ctx): Likewise.
22784 (libc_fesetenv_ctx): Likewise.
22785 (libc_fesetenvf_ctx): Likewise.
22786 (libc_fesetenvl_ctx): Likewise.
22787 (libc_feupdateenv_ctx): Likewise.
22788 (libc_feupdateenvf_ctx): Likewise.
22789 (libc_feupdateenvl_ctx): Likewise.
22790 (libc_feresetround_ctx): Likewise.
22791 (libc_feresetroundf_ctx): Likewise.
22792 (libc_feresetroundl_ctx): Likewise.
22793 (libc_feholdsetround_ctx): Likewise.
22794 (libc_feholdsetroundf_ctx): Likewise.
22795 (libc_feholdsetroundl_ctx): Likewise.
22796
22797 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
22798 with __USE_GNU instead of XOPEN cpp guards.
22799
22800 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
22801 0.
22802
22803 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
22804 with XOPEN cpp guards.
22805
22806 2014-04-30 Julian Brown <julian@codesourcery.com>
22807
22808 [BZ #16888]
22809 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
22810 handling.
22811
22812 2014-04-30 Joseph Myers <joseph@codesourcery.com>
22813
22814 [BZ #9894]
22815 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
22816 Change to 2.6.32.
22817 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
22818 * sysdeps/unix/sysv/linux/configure: Regenerated.
22819 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
22820 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
22821 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
22822 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
22823 * README: Update reference to required Linux kernel version.
22824 * manual/install.texi (Linux): Update reference to required Linux
22825 kernel headers version.
22826 * INSTALL: Regenerated.
22827
22828 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
22829 header inclusion.
22830 [POSIX] (limits.h): Likewise.
22831 [POSIX] (math.h): Likewise.
22832 [POSIX] (sys/wait.h): Likewise.
22833 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
22834 function.
22835 [POSIX] (stddef.h): Do not allow header inclusion.
22836
22837 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22838
22839 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
22840
22841 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
22842
22843 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
22844 Return immediately after lll_futex_wake.
22845
22846 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22847
22848 [BZ #16791]
22849 * nscd/nscd-client.h (datahead_init_common): Initialize entire
22850 structure.
22851 (datahead_init_pos): Call datahead_init_common early.
22852 (datahead_init_neg): Likewise.
22853
22854 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
22855 datahead_init_neg): New functions.
22856 * nscd/aicache.c (addhstaiX): Use them.
22857 * nscd/grpcache.c (cache_addgr): Likewise.
22858 * nscd/hstcache.c (cache_addhst): Likewise.
22859 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22860 * nscd/netgroupcache.c (do_notfound): Likewise.
22861 (addgetnetgrentX): Likewise.
22862 (addinnetgrX): Likewise.
22863 * nscd/pwdcache.c (cache_addpw): Likewise.
22864 * nscd/servicescache.c (cache_addserv): Likewise.
22865
22866 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22867 Atsushi Onoe <atsushi@onoe.org>
22868
22869 [BZ #14308]
22870 [BZ #12994]
22871 [BZ #13651]
22872 * resolv/res_query.c (__libc_res_nsearch): Return if at least
22873 one response is valid.
22874 * resolv/res_send.c (send_dg): Check for validity of other
22875 response if the current response is a referral.
22876
22877 2014-04-29 Steve Ellcey <sellcey@mips.com>
22878
22879 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
22880
22881 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
22882
22883 [BZ #16823]
22884 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
22885 Always divide by positive zero when computing -Inf result.
22886 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22887 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
22888
22889 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22890
22891 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
22892 FPSCR if value do not change.
22893 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22894 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
22895 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22896 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22897 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
22898 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
22899 function.
22900
22901 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
22902
22903 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
22904 * sysdeps/unix/sysv/linux/hppa: Move directory from
22905 ports/systeps/unix/sysv/linux/hppa.
22906 * README: Update listing for hppa-*-linux-gnu.
22907
22908 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
22909
22910 [BZ #16754]
22911 * manual/stdio.texi (Hook functions): Fix types of stream hook
22912 functions.
22913 [BZ #16854]
22914 * socket/sys/socket.h: Fix typo in comment.
22915
22916 2014-04-28 Wilco <wdijkstr@arm.com>
22917
22918 * sysdeps/arm/fenv_private.h: New file.
22919 * sysdeps/arm/math_private.h: New file.
22920 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
22921
22922 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
22923
22924 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
22925 with __int128_t.
22926 (La_x86_64_retval): Likewise.
22927
22928 2014-04-24 Ian Bolton <ian.bolton@arm.com>
22929
22930 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
22931 fpsr if value didn't change.
22932 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
22933 to fpcr if value didn't change.
22934 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
22935 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
22936 fpsr or fpcr if value didn't change.
22937 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22938 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
22939 fpcr if value didn't change.
22940 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
22941 to fpsr if value didn't change.
22942
22943 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22944
22945 * nptl/tst-sem3.c: Use test-skeleton.c
22946 (main): Rename to do_test. Use return instead of
22947 exit.
22948 * nptl/tst-sem4.c: Use test-skeleton.c
22949 (main): Rename to do_test.
22950
22951 2014-04-22 David S. Miller <davem@davemloft.net>
22952
22953 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
22954 (struct sigaction): New struct member __glibc_reserved0, change
22955 type of sa_flags to int.
22956
22957 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
22958
22959 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
22960 (COUNT_LEADING_ZEROS_0): Define for AArch64.
22961
22962 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22963
22964 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
22965 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
22966
22967 2014-04-22 Will Newton <will.newton@linaro.org>
22968 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
22969
22970 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
22971 (__longjmp): Add longjmp and longjmp_target SystemTap
22972 probes.
22973 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
22974 (__sigsetjmp): Add setjmp SystemTap probe.
22975
22976 2014-04-17 Carlos O'Donell <carlos@redhat.com>
22977
22978 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
22979 match manual order.
22980
22981 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22982
22983 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
22984
22985 * sysdeps/powerpc/fpu/fenv_private.h
22986 (libc_feholdexcept_setroundl_ctx): Define to
22987 libc_feholdexcept_setround_ppc_ctx.
22988 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
22989 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
22990 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
22991 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
22992
22993 2014-04-17 Ian Bolton <ian.bolton@arm.com>
22994
22995 * sysdeps/aarch64/math-tests.h: New file.
22996
22997 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
22998
22999 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
23000 New.
23001 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23002 Check and set bit_AVX2_Usable.
23003 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
23004 macro.
23005 (bit_AVX2): Likewise.
23006 (index_AVX2_Usable): Likewise.
23007 (CPUID_AVX2): Likewise.
23008 (HAS_AVX2): Likewise.
23009
23010 2014-04-17 Will Newton <will.newton@linaro.org>
23011
23012 * manual/setjmp.texi (System V contexts): Add note that
23013 calling setcontext on a context created by a call to a
23014 signal handler is undefined. Update text to note that
23015 setcontext from a signal handler is possible but not
23016 recommended.
23017
23018 [BZ #16629]
23019 * stdlib/tst-setcontext.c: Include signal.h.
23020 (main): Check that the signal stack before and
23021 after swapcontext is the same.
23022
23023 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
23024 Re-implement to restore registers in user code and avoid
23025 rt_sigreturn system call.
23026
23027 2014-04-17 Wilco <wdijkstr@arm.com>
23028
23029 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
23030 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
23031 * math/test-fenv.c: Skip exception trap tests on targets which only
23032 support non-stop mode.
23033
23034 2014-04-17 Ian Bolton <ian.bolton@arm.com>
23035 Wilco Dijkstra <wilco.dijkstra@arm.com>
23036
23037 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
23038 (libc_feholdsetround_aarch64_ctx)
23039 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
23040 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
23041 (libc_feresetround_ctx, libc_feresetroundf_ctx)
23042 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
23043 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
23044 (libc_feresetround_noexl_ctx): Define.
23045
23046 2014-04-16 Richard Henderson <rth@redhat.com>
23047
23048 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
23049
23050 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
23051 unwind tables.
23052
23053 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
23054 const from the non-libc, non-ldso copy.
23055
23056 * sysdeps/alpha/libm-test-ulps: Regenerate.
23057
23058 2014-04-16 Ian Bolton <ian.bolton@arm.com>
23059 Wilco Dijkstra <wilco.dijkstra@arm.com>
23060
23061 * sysdeps/aarch64/fpu/math_private.h: New file.
23062
23063 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
23064
23065 * sysdeps/aarch64/libm-test-ulps: Regenerate.
23066
23067 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
23068
23069 [BZ #16275]
23070 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
23071 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
23072 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
23073 Intel MPX bound registers before _dl_profile_fixup.
23074 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
23075 registers after _dl_profile_fixup. Save and restore bound
23076 registers bnd0/bnd1 when calling _dl_call_pltexit.
23077 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
23078 (LR_BND_OFFSET): Likewise.
23079 (LRV_BND0_OFFSET): Likewise.
23080 (LRV_BND1_OFFSET): Likewise.
23081
23082 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23083
23084 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
23085 to...
23086 * sysdeps/mach/hurd/i386/tls.h: ... here.
23087 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
23088 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
23089 fields.
23090
23091 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23092
23093 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
23094
23095 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
23096
23097 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23098
23099 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
23100
23101 [BZ #14770]
23102 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
23103 * sysdeps/s390/configure: Regenerate.
23104
23105 [BZ #16824]
23106 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
23107 Set round-to-nearest internally to reduce error accumulation.
23108
23109 2014-04-16 Alan Modra <amodra@gmail.com>
23110
23111 [BZ #16740]
23112 [BZ #16619]
23113 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
23114 * math/libm-test.inc (frexp_test_data): Add tests.
23115 * NEWS: Update fixed bug list.
23116
23117 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23118
23119 * benchtests/Makefile: Depend on libraries in build directory.
23120 (bench-math): Separate out math tests.
23121 (bench-pthread): Separate out pthread tests.
23122 (bench): Include math and pthread tests.
23123
23124 2014-04-14 Carlos O'Donell <carlos@redhat.com>
23125
23126 [BZ #16831]
23127 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
23128 _dl_debug_initialize.
23129
23130 * configure.ac: Remove SELinux header check.
23131 * configure: Regenerate.
23132 * nscd/selinux.c (perms): Array of const char* to permission names.
23133 (nscd_request_avc_has_perm): Call security_deny_unknown to find
23134 default policy. Call string_to_security_class and string_to_av_perm to
23135 translate strings. Enforce default policy and call avs_has_perm with
23136 results of translated strings.
23137
23138 2014-04-13 David S. Miller <davem@davemloft.net>
23139
23140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23141
23142 2014-04-12 Allan McRae <allan@archlinux.org>
23143
23144 [BZ #16838]
23145 * manual/string.texi (Collation Functions): Fix qsort argument
23146 order in example.
23147 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23148
23149 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
23150
23151 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
23152 Make the test a no-op if there are no exceptions defined.
23153
23154 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
23155
23156 * elf/Makefile (tests): make tst-dlopen-aout conditional on
23157 enable-hardcoded-path-in-tests
23158
23159 2014-04-11 Will Newton <will.newton@linaro.org>
23160
23161 * benchtests/Makefile (extra-objs): Add json-lib.o.
23162 (bench-func): Tidy up JSON output.
23163 * benchtests/bench-skeleton.c: Include json-lib.h.
23164 (main): Use JSON library functions to do output of
23165 benchmark results.
23166 * benchtests/bench-timing-type.c (main): Output the
23167 timing type simply, leaving formatting to the user.
23168 * benchtests/json-lib.c: New file.
23169 * benchtests/json-lib.h: Likewise.
23170
23171 2014-04-11 Torvald Riegel <triegel@redhat.com>
23172
23173 [BZ #15215]
23174 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
23175 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
23176 memory barriers. Add comments.
23177 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
23178 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
23179 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
23180 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
23181 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
23182 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
23183
23184 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23185
23186 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
23187 * sysdeps/s390/s390-64/configure.ac: ... this ...
23188 * sysdeps/s390/configure.ac: ... to here.
23189 * sysdeps/s390/s390-32/configure: Delete file.
23190 * sysdeps/s390/s390-64/configure: Delete file.
23191 * sysdeps/s390/configure: Regenerate.
23192
23193 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
23194
23195 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
23196
23197 2014-04-11 Will Newton <will.newton@linaro.org>
23198
23199 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
23200 to zero if it is not defined elsewhere. (mtrim): Test
23201 the value of MALLOC_DEBUG with #if rather than #ifdef.
23202
23203 2014-04-10 Torvald Riegel <triegel@redhat.com>
23204
23205 * benchtests/pthread_once-inputs: New file.
23206 * benchtests/pthread_once-source.c: New file.
23207 * benchtests/README: Update documentation.
23208
23209 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
23210 H.J. Lu <hongjiu.lu@intel.com>
23211
23212 [BZ #16275]
23213 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
23214 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
23215 * sysdeps/x86_64/configure: Regenerated.
23216 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
23217 macro.
23218 (REGISTER_SAVE_RAX): Likewise.
23219 (REGISTER_SAVE_RCX): Likewise.
23220 (REGISTER_SAVE_RDX): Likewise.
23221 (REGISTER_SAVE_RSI): Likewise.
23222 (REGISTER_SAVE_RDI): Likewise.
23223 (REGISTER_SAVE_R8): Likewise.
23224 (REGISTER_SAVE_R9): Likewise.
23225 (REGISTER_SAVE_BND0): Likewise.
23226 (REGISTER_SAVE_BND1): Likewise.
23227 (REGISTER_SAVE_BND2): Likewise.
23228 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
23229 bound registers when calling _dl_fixup.
23230
23231 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23232
23233 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
23234 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
23235 of its definition.
23236 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
23237 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
23238 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
23239 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
23240 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
23241 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
23242 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
23243
23244 2014-04-09 Peter Brett <peter@peter-b.co.uk>
23245
23246 [BZ #15514]
23247 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
23248 pathconf(_PC_NAME_MAX).
23249
23250 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23251
23252 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
23253 Remove macro usage.
23254 (__PTHREAD_SPINS): Move definition to ...
23255 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23256 (__PTHREAD_SPINS): ... here.
23257 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
23258 (__PTHREAD_SPIN): Likewise.
23259 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
23260 (__PTHREAD_SPIN): Likewise.
23261 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
23262 (__PTHREAD_SPIN): Likewise.
23263 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
23264 (__PTHREAD_SPIN): Likewise.
23265 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
23266 (__PTHREAD_SPIN): Likewise.
23267 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
23268 (__PTHREAD_SPIN): Likewise.
23269 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
23270 (__PTHREAD_SPIN): Likewise.
23271 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
23272 (__PTHREAD_SPIN): Likewise.
23273 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
23274 (__PTHREAD_SPIN): Likewise.
23275 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
23276 (__PTHREAD_SPIN): Likewise.
23277 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
23278 (__PTHREAD_SPIN): Likewise.
23279 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
23280 (__PTHREAD_SPIN): Likewise.
23281
23282 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
23283 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
23284 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
23285 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
23286 imply folder.
23287 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
23288 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
23289 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
23290 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
23291 correct imply path.
23292 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
23293 strlen symbol for non multi-arch builds.
23294 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
23295 missing hidden_def and weak_alias.
23296
23297 2014-04-08 Carlos O'Donell <carlos@redhat.com>
23298
23299 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
23300
23301 2014-04-07 Will Newton <will.newton@linaro.org>
23302
23303 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
23304 and contents. [!_LIBC] Remove #ifndef and contents.
23305 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
23306 * string/memccpy.c (__memccpy): Use ANSI prototype.
23307 * string/memfrob.c (memfrob): Likewise.
23308 * string/strcoll.c (STRCOLL): Likewise.
23309 * string/strlen.c (strlen): Likewise.
23310 * string/strtok.c (STRTOK): Likewise.
23311 * string/strcat.c: Remove unused #include of memcopy.h.
23312 (strcat): Use ANSI prototype.
23313 * string/strchr.c: Remove unused #include of memcopy.h.
23314 (strchr): Use ANSI prototype.
23315 * string/strcmp.c: Remove unused #include of memcopy.h.
23316 (strcmp): Use ANSI prototype.
23317 * string/strcpy.c: Remove unused #include of memcopy.h.
23318 (strcpy): Use ANSI prototype.
23319
23320 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23321
23322 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
23323 * config.make.in (config-extra-cppflags): Set it from
23324 libc_extra_cppflags.
23325 * configure.ac (libc_extra_cflags): Make it accumulate over
23326 configure fragments.
23327 (libc_extra_cppflags): New flag.
23328 * configure. Regenerate.
23329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
23330 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
23331 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
23332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
23333
23334 [BZ #16815]
23335 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
23336 result for FE_DOWNWARD rounding mode.
23337 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
23338 Likewise.
23339 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23340
23341 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
23342
23343 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
23344 in function argument name.
23345
23346 2014-04-03 David Svoboda <svoboda@cert.org>
23347
23348 [BZ #5666]
23349 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
23350 explicitly.
23351
23352 2014-04-03 Roland McGrath <roland@hack.frob.com>
23353
23354 * elf/dl-unmap-segments.h: New file.
23355 * sysdeps/generic/ldsodefs.h
23356 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
23357 * elf/dl-close.c: Include <dl-unmap-segments.h>.
23358 * elf/dl-fptr.c: Likewise.
23359 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
23360 * sysdeps/aarch64/tlsdesc.c: Likewise.
23361 * sysdeps/arm/tlsdesc.c: Likewise.
23362 * sysdeps/i386/tlsdesc.c: Likewise.
23363 * sysdeps/tile/dl-runtime.c: Likewise.
23364 * sysdeps/x86_64/tlsdesc.c: Likewise.
23365 * elf/dl-load.h: New file.
23366 * elf/dl-load.c: Include it.
23367 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
23368 Macros moved to dl-load.h.
23369 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
23370 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
23371 Use _dl_unmap_segments in place of __munmap.
23372 Break out segment-mapping loop into ...
23373 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
23374
23375 2014-04-03 Will Newton <will.newton@linaro.org>
23376
23377 * elf/dl-lookup.c (do_lookup_x): Remove comment
23378 referring to nested function and move variable
23379 declarations down to before first use.
23380
23381 2014-04-02 Joseph Myers <joseph@codesourcery.com>
23382
23383 [BZ #16799]
23384 [BZ #16800]
23385 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
23386 with 0 numerator.
23387 * math/s_catanf.c (__catanf): Likewise.
23388 * math/s_catanh.c (__catanh): Likewise.
23389 * math/s_catanhf.c (__catanhf): Likewise.
23390 * math/s_catanhl.c (__catanhl): Likewise.
23391 * math/s_catanl.c (__catanl): Likewise.
23392 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
23393 by positive zero when computing -Inf result.
23394 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
23395 (catanh_test): Likewise.
23396 * sysdeps/i386/fpu/libm-test-ulps: Update.
23397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23398
23399 [BZ #16789]
23400 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
23401 instead of using underflowing value in computing result.
23402 * math/s_clog10.c (__clog10): Likewise.
23403 * math/s_clog10f.c (__clog10f): Likewise.
23404 * math/s_clog10l.c (__clog10l): Likewise.
23405 * math/s_clogf.c (__clogf): Likewise.
23406 * math/s_clogl.c (__clogl): Likewise.
23407 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
23408 (clog10_test): Likewise.
23409 * sysdeps/i386/fpu/libm-test-ulps: Update.
23410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23411
23412 2014-04-02 Alan Modra <amodra@gmail.com>
23413
23414 [BZ #16739]
23415 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
23416 output when value is near a power of two. Use int64_t for lx and
23417 remove casts. Use decimal rather than hex exponent constants.
23418 Don't use long double multiplication when double will suffice.
23419 * math/libm-test.inc (nextafter_test_data): Add tests.
23420 * NEWS: Add 16739 and 16786 to bug list.
23421
23422 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
23423
23424 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
23425
23426 2014-04-01 Will Newton <will.newton@linaro.org>
23427
23428 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
23429 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
23430
23431 2014-04-01 Florian Weimer <fweimer@redhat.com>
23432
23433 [BZ #13347]
23434 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
23435 * nptl/tst-setuid2.c: New file.
23436 * nptl/Makefile (xtests): Add tst-setuid2.
23437
23438 2014-04-01 Alan Modra <amodra@gmail.com>
23439
23440 [BZ #16786]
23441 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
23442
23443 2014-03-31 Joseph Myers <joseph@codesourcery.com>
23444
23445 [BZ #6803]
23446 [BZ #6804]
23447 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
23448 set errno as appropriate.
23449 * math/w_scalbf.c (__scalbf): Likewise.
23450 * math/w_scalbl.c (__scalbl): Likewise.
23451 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
23452 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
23453 * math/libm-test.inc (scalb_test_data): Add errno expectations.
23454 Add more NaN tests.
23455
23456 [BZ #16349]
23457 * math/w_atan2.c: Include <errno.h>.
23458 (__atan2): Set errno for result underflowing to zero.
23459 * math/w_atan2f.c: Include <errno.h>.
23460 (__atan2f): Set errno for result underflowing to zero.
23461 * math/w_atan2l.c: Include <errno.h>.
23462 (__atan2l): Set errno for result underflowing to zero.
23463 * math/auto-libm-test-in: Don't allow missing errno for some atan2
23464 tests.
23465 * math/auto-libm-test-out: Regenerated.
23466
23467 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23468
23469 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
23470 Encode instruction correctly in little endian.
23471 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
23472 Likewise.
23473 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
23474 Likewise.
23475 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
23476 Likewise.
23477 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
23478 Likewise.
23479
23480 2014-03-31 Joseph Myers <joseph@codesourcery.com>
23481
23482 [BZ #9894]
23483 * sysdeps/unix/sysv/linux/kernel-features.h
23484 [__sparc__ && !__arch64__ && !__sparc_v9__]
23485 (__ASSUME_SET_ROBUST_LIST): Do not define.
23486 [__sparc__ && !__arch64__ && !__sparc_v9__]
23487 (__ASSUME_FUTEX_LOCK_PI): Likewise.
23488 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
23489 Likewise.
23490 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23491 (__ASSUME_FUTEX_LOCK_PI): Undefine.
23492 (__ASSUME_REQUEUE_PI): Likewise.
23493 (__ASSUME_SET_ROBUST_LIST): Likewise.
23494 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23495 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
23496 Undefine.
23497 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23498 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
23499 Likewise.
23500 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
23501 Likewise.
23502 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
23503 Likewise.
23504 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23505 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
23506 Undefine.
23507 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
23508 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
23509 Likewise.
23510
23511 [BZ #16648]
23512 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23513 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
23514 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
23515
23516 2014-03-31 Will Newton <will.newton@linaro.org>
23517
23518 * benchtests/Makefile (bench): Add ffs and ffsll to list
23519 of tests.
23520 * benchtests/ffs-inputs: New file.
23521 * benchtests/ffsll-inputs: Likewise.
23522
23523 2014-03-29 Joseph Myers <joseph@codesourcery.com>
23524
23525 [BZ #16770]
23526 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
23527 too large before casting to int.
23528 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
23529 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
23530 * math/libm-test.inc (scalb_test_data): Add more tests.
23531
23532 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23533
23534 * benchtests/Makefile (DETAILED_OPT): New make option.
23535 (bench-func): Run benchmark program with -d if DETAILED_OPT is
23536 set.
23537 * benchtests/bench-skeleton.c: Include stdbool.h.
23538 (main): Store and print timings per input.
23539 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
23540 member to each argument value.
23541 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
23542 (_print_arg_data): Initialize per-input timing to 0.
23543
23544 * benchtests/Makefile (timing-type): New binary.
23545 (bench-clean): Also remove bench-timing-type.
23546 (bench): New target for timing-type.
23547 (bench-func): Print output in JSON format.
23548 * benchtests/bench-skeleton.c (main): Print output in JSON
23549 format.
23550 * benchtests/bench-timing-type.c: New file.
23551 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
23552 (TIMING_PRINT_STATS): Remove.
23553 * benchtests/scripts/bench.py (_print_arg_data): Store variant
23554 name separately.
23555
23556 * benchtests/bench-modf.c: Remove.
23557 * benchtests/modf-inputs: New inputs file.
23558
23559 2014-03-28 Joseph Myers <joseph@codesourcery.com>
23560
23561 [BZ #16362]
23562 * math/s_clog10.c (M_PI_LOG10E): New macro.
23563 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
23564 imaginary parts are 0.
23565 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
23566 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
23567 imaginary parts are 0.
23568 * math/s_clog10l.c (M_PI_LOG10El): New macro.
23569 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
23570 imaginary parts are 0.
23571 * math/libm-test.inc (clog10_test_data): Update expected results
23572 for when real and imaginary parts are 0.
23573
23574 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
23575
23576 * elf/dl-load.c: Finish conversion of __builtin_expect into
23577 __glibc_{un}likely.
23578
23579 2014-03-27 Joseph Myers <joseph@codesourcery.com>
23580
23581 [BZ #16348]
23582 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
23583 1+x for argument with exponent below -67.
23584 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
23585 Likewise.
23586 * math/auto-libm-test-in: Add more tests of exp.
23587 * math/auto-libm-test-out: Regenerated.
23588
23589 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23590
23591 [BZ #16759]
23592 * inet/getnetgrent_r.c (get_nonempty_val): New function.
23593 (nscd_getnetgrent): Use it.
23594
23595 [BZ #16760]
23596 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
23597 of stpcpy.
23598
23599 2014-03-27 Andi Kleen <ak@linux.intel.com>
23600
23601 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
23602 (lll_robust_lock, lll_cond_lock, lll_timedlock)
23603 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
23604 (lll_robust_unlock): Remove out of line section. Use cfi
23605 intrinsics.
23606 (LLL_STUB_UNWIND_INFO*): Remove.
23607 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
23608 (lll_robust_lock, lll_cond_lock, lll_timedlock)
23609 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
23610 (lll_robust_unlock): Remove out of line section. Use cfi
23611 intrinsics.
23612 (LLL_STUB_UNWIND_INFO*): Remove.
23613
23614 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23615
23616 [BZ #16758]
23617 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
23618 blank values.
23619
23620 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
23621
23622 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
23623
23624 2014-03-26 Joseph Myers <joseph@codesourcery.com>
23625
23626 [BZ #16198]
23627 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
23628 fnstenv.
23629 * math/test-fenv-preserve.c: New file.
23630 * math/Makefile (tests): Add test-fenv-preserve.
23631
23632 2014-03-26 Will Newton <will.newton@linaro.org>
23633
23634 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
23635
23636 2014-03-25 Roland McGrath <roland@hack.frob.com>
23637
23638 * scripts/versionlist.awk: Partition the version sets and emit all
23639 GLIBC_* (sorted) before all others (sorted).
23640
23641 2014-03-25 Joseph Myers <joseph@codesourcery.com>
23642
23643 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
23644 GLIBC_2.2.5 version.
23645
23646 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23647
23648 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
23649 calls.
23650
23651 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
23652 previous change.
23653
23654 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23655
23656 2014-03-25 Andreas Schwab <schwab@suse.de>
23657
23658 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
23659 label to be used after in6ailist is initialized.
23660
23661 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23662
23663 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23664 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
23665
23666 2014-03-25 Joseph Myers <joseph@codesourcery.com>
23667
23668 [BZ #16357]
23669 [BZ #16599]
23670 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
23671 min_plus_half.
23672 (fp_formats): Update initializers.
23673 (init_fp_formats): Initialize new field.
23674 (output_for_one_input_case): Allow underflow for results up to
23675 min_plus_half.
23676 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
23677 * math/auto-libm-test-in: Don't mark some underflows from asin and
23678 atanh as spurious.
23679 * math/auto-libm-test-out: Regenerated.
23680 * sysdeps/i386/fpu/libm-test-ulps: Update.
23681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23682
23683 2014-03-25 Andreas Schwab <schwab@suse.de>
23684
23685 * libio/Makefile (tst-ftell-partial-wide-ENV)
23686 (tst-ftell-active-handler-ENV): Define.
23687
23688 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
23689
23690 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
23691
23692 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
23693
23694 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
23695
23696 2014-03-24 Joseph Myers <joseph@codesourcery.com>
23697
23698 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
23699 * sysdeps/x86_64/fpu/multiarch/e_exp.c
23700 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23701
23702 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
23703
23704 [BZ #16634]
23705 * elf/dl-load.c (open_verify): Add mode parameter.
23706 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
23707 (open_path): Change from boolean 'secure' to complete flag 'mode'
23708 (_dl_map_object): Adjust.
23709 * elf/Makefile (tests): Add tst-dlopen-aout.
23710 * elf/tst-dlopen-aout.c: New test.
23711
23712 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
23713
23714 [BZ #16714]
23715 * sysdeps/unix/sysv/linux/s390/bits/stat.h
23716 (struct stat): Rename member pad0 to __glibc_reserved0.
23717
23718 [BZ #16712]
23719 * sysdeps/s390/s390-32/bits/wordsize.h
23720 (__WORDSIZE32_SIZE_ULONG): New define.
23721 * sysdeps/s390/s390-64/bits/wordsize.h
23722 (__WORDSIZE32_SIZE_ULONG): Likewise.
23723 * sysdeps/generic/stdint.h (SIZE_MAX):
23724 Define as UL if __WORDSIZE32_SIZE_ULONG.
23725
23726 [BZ #16713]
23727 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
23728 (__glibc_reserved0): New variable.
23729 (sa_flags): Change type to int.
23730
23731 * posix/Makefile (before-compile): Use += before-compile instead
23732 of a :=.
23733
23734 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
23735 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
23736
23737 2014-03-20 Andreas Schwab <schwab@suse.de>
23738
23739 [BZ #16743]
23740 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
23741 non-matching result from nscd.
23742
23743 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23744
23745 * scripts/bench.py: Moved to ...
23746 * benchtests/scripts/bench.py: ... here.
23747 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
23748
23749 2014-03-24 Andreas Schwab <schwab@suse.de>
23750
23751 [BZ #16002]
23752 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
23753 alloca_account and account alloca use for struct in6ailist.
23754
23755 2014-03-24 Joseph Myers <joseph@codesourcery.com>
23756
23757 [BZ #16284]
23758 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
23759 rounding mode to recompute results that overflow to infinity or
23760 underflow to zero.
23761 * math/auto-libm-test-in: Don't mark tests as expected to fail for
23762 bug 16284.
23763 * math/auto-libm-test-out: Regenerated.
23764 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
23765 (ccosh_test): Likewise.
23766 (csin_test_data): Use plus_oflow.
23767 (csin_test): Use ALL_RM_TEST.
23768 (csinh_test_data): Use plus_oflow.
23769 (csinh_test): Use ALL_RM_TEST.
23770 * sysdeps/i386/fpu/libm-test-ulps: Update.
23771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23772
23773 2014-03-21 Joseph Myers <joseph@codesourcery.com>
23774
23775 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
23776 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
23777 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
23778
23779 [BZ #16731]
23780 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
23781 when x - 1 is zero.
23782 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
23783 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
23784 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
23785 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
23786 argument is 1.
23787 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
23788 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
23789 zero.
23790 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
23791 * sysdeps/i386/fpu/libm-test-ulps: Update.
23792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23793
23794 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23795
23796 * scripts/bench.pl: Remove file.
23797 * scripts/bench.py: New benchmark script.
23798 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
23799 * benchtests/README: Mention python dependency.
23800 * scripts/pylintrc: New file.
23801 * scripts/pylint: New file.
23802
23803 * bits/mathdef.h: Use #ifdef instead of #if.
23804 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
23805 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23806 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
23807 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23808 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
23809 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23810
23811 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23812 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23813
23814 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
23815 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
23816 and strpbrk-ppc64 objects.
23817 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23818 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
23819 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
23820 multiarch strpbrk for POWER7.
23821 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
23822 multiarch strpbrk for PPC64.
23823 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
23824 ifunc selector.
23825 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
23826 strpbrk for POWER7.
23827
23828 2014-03-20 Joseph Myers <joseph@codesourcery.com>
23829
23830 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
23831 (atan_test): Likewise.
23832 (atanh_test_data): Use NO_TEST_INLINE for two tests.
23833 (atanh_test): Use ALL_RM_TEST.
23834 (atan2_test_data): Likewise.
23835 (cabs_test): Likewise.
23836 (cacosh_test): Likewise.
23837 (carg_test): Likewise.
23838 (casin_test): Likewise.
23839 (casinh_test): Likewise.
23840 (cbrt_test): Likewise.
23841 (csqrt_test): Likewise.
23842 (erf_test): Likewise.
23843 (erfc_test): Likewise.
23844 (pow10_test): Likewise.
23845 (exp2_test): Likewise.
23846 (hypot_test): Likewise.
23847 (j0_test): Likewise.
23848 (j1_test): Likewise.
23849 (lgamma_test): Likewise.
23850 (gamma_test): Likewise.
23851 (sincos_test): Likewise.
23852 (tanh_test): Likewise.
23853 (y0_test): Likewise.
23854 (y1_test): Likewise.
23855 * sysdeps/i386/fpu/libm-test-ulps: Update.
23856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23857
23858 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23859
23860 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
23861 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
23862 and strcspn-ppc64 objects.
23863 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23864 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
23865 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
23866 multiarch strcspn for POWER7.
23867 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
23868 multiarch strcspn for PPC64.
23869 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
23870 ifunc selector.
23871 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
23872 strcspn for POWER7.
23873
23874 2014-03-20 Joseph Myers <joseph@codesourcery.com>
23875
23876 * math/gen-libm-test.pl (generate_testfile): Expect only function
23877 name as argument to AUTO_TESTS_* and pass results for all rounding
23878 modes to parse_args.
23879 (parse_auto_input): Separate inputs of automatic tests from
23880 outputs before storing in %auto_tests.
23881 * math/libm-test.inc (acos_test_data): Update call to
23882 AUTO_TESTS_f_f.
23883 (acos_test): Use ALL_RM_TEST.
23884 (acos_tonearest_test_data): Remove.
23885 (acos_test_tonearest): Likewise.
23886 (acos_towardzero_test_data): Likewise.
23887 (acos_test_towardzero): Likewise.
23888 (acos_downward_test_data): Likewise.
23889 (acos_test_downward): Likewise.
23890 (acos_upward_test_data): Likewise.
23891 (acos_test_upward): Likewise.
23892 (acosh_test_data): Update call to AUTO_TESTS_f_f.
23893 (asin_test_data): Likewise.
23894 (asin_test): Use ALL_RM_TEST.
23895 (asin_tonearest_test_data): Remove.
23896 (asin_test_tonearest): Likewise.
23897 (asin_towardzero_test_data): Likewise.
23898 (asin_test_towardzero): Likewise.
23899 (asin_downward_test_data): Likewise.
23900 (asin_test_downward): Likewise.
23901 (asin_upward_test_data): Likewise.
23902 (asin_test_upward): Likewise.
23903 (asinh_test_data): Update call to AUTO_TESTS_f_f.
23904 (atan_test_data): Likewise.
23905 (atanh_test_data): Likewise.
23906 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
23907 (cabs_test_data): Update call to AUTO_TESTS_c_f.
23908 (carg_test_data): Likewise.
23909 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
23910 (ccos_test_data): Update call to AUTO_TESTS_c_c.
23911 (ccosh_test_data): Likewise.
23912 (cexp_test_data): Likewise.
23913 (clog_test_data): Likewise.
23914 (clog10_test_data): Likewise.
23915 (cos_test_data): Update call to AUTO_TESTS_f_f.
23916 (cos_test): Use ALL_RM_TEST.
23917 (cos_tonearest_test_data): Remove.
23918 (cos_test_tonearest): Likewise.
23919 (cos_towardzero_test_data): Likewise.
23920 (cos_test_towardzero): Likewise.
23921 (cos_downward_test_data): Likewise.
23922 (cos_test_downward): Likewise.
23923 (cos_upward_test_data): Likewise.
23924 (cos_test_upward): Likewise.
23925 (cosh_test_data): Update call to AUTO_TESTS_f_f.
23926 (cosh_test): Use ALL_RM_TEST.
23927 (cosh_tonearest_test_data): Remove.
23928 (cosh_test_tonearest): Likewise.
23929 (cosh_towardzero_test_data): Likewise.
23930 (cosh_test_towardzero): Likewise.
23931 (cosh_downward_test_data): Likewise.
23932 (cosh_test_downward): Likewise.
23933 (cosh_upward_test_data): Likewise.
23934 (cosh_test_upward): Likewise.
23935 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
23936 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
23937 (ctan_test_data): Likewise.
23938 (ctan_test): Use ALL_RM_TEST.
23939 (ctan_tonearest_test_data): Remove.
23940 (ctan_test_tonearest): Likewise.
23941 (ctan_towardzero_test_data): Likewise.
23942 (ctan_test_towardzero): Likewise.
23943 (ctan_downward_test_data): Likewise.
23944 (ctan_test_downward): Likewise.
23945 (ctan_upward_test_data): Likewise.
23946 (ctan_test_upward): Likewise.
23947 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
23948 (ctanh_test): Use ALL_RM_TEST.
23949 (ctanh_tonearest_test_data): Remove.
23950 (ctanh_test_tonearest): Likewise.
23951 (ctanh_towardzero_test_data): Likewise.
23952 (ctanh_test_towardzero): Likewise.
23953 (ctanh_downward_test_data): Likewise.
23954 (ctanh_test_downward): Likewise.
23955 (ctanh_upward_test_data): Likewise.
23956 (ctanh_test_upward): Likewise.
23957 (erf_test_data): Update call to AUTO_TESTS_f_f.
23958 (erfc_test_data): Likewise.
23959 (exp_test_data): Likewise.
23960 (exp_test): Use ALL_RM_TEST.
23961 (exp_tonearest_test_data): Remove.
23962 (exp_test_tonearest): Likewise.
23963 (exp_towardzero_test_data): Likewise.
23964 (exp_test_towardzero): Likewise.
23965 (exp_downward_test_data): Likewise.
23966 (exp_test_downward): Likewise.
23967 (exp_upward_test_data): Likewise.
23968 (exp_test_upward): Likewise.
23969 (exp10_test_data): Update call to AUTO_TESTS_f_f.
23970 (exp10_test): Use ALL_RM_TEST.
23971 (exp10_tonearest_test_data): Remove.
23972 (exp10_test_tonearest): Likewise.
23973 (exp10_towardzero_test_data): Likewise.
23974 (exp10_test_towardzero): Likewise.
23975 (exp10_downward_test_data): Likewise.
23976 (exp10_test_downward): Likewise.
23977 (exp10_upward_test_data): Likewise.
23978 (exp10_test_upward): Likewise.
23979 (exp2_test_data): Update call to AUTO_TESTS_f_f.
23980 (expm1_test_data): Likewise.
23981 (expm1_test): Use ALL_RM_TEST.
23982 (expm1_tonearest_test_data): Remove.
23983 (expm1_test_tonearest): Likewise.
23984 (expm1_towardzero_test_data): Likewise.
23985 (expm1_test_towardzero): Likewise.
23986 (expm1_downward_test_data): Likewise.
23987 (expm1_test_downward): Likewise.
23988 (expm1_upward_test_data): Likewise.
23989 (expm1_test_upward): Likewise.
23990 (fma_test_data): Update call to AUTO_TESTS_fff_f.
23991 (fma_test): Use ALL_RM_TEST.
23992 (fma_towardzero_test_data): Remove.
23993 (fma_test_towardzero): Likewise.
23994 (fma_downward_test_data): Likewise.
23995 (fma_test_downward): Likewise.
23996 (fma_upward_test_data): Likewise.
23997 (fma_test_upward): Likewise.
23998 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
23999 (j0_test_data): Update call to AUTO_TESTS_f_f.
24000 (j1_test_data): Likewise.
24001 (jn_test_data): Update call to AUTO_TESTS_if_f.
24002 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
24003 (log_test_data): Update call to AUTO_TESTS_f_f.
24004 (log10_test_data): Likewise.
24005 (log1p_test_data): Likewise.
24006 (log2_test_data): Likewise.
24007 (pow_test_data): Update call to AUTO_TESTS_ff_f.
24008 (pow_tonearest_test_data): Likewise.
24009 (sin_test_data): Update call to AUTO_TESTS_f_f.
24010 (sin_test): Use ALL_RM_TEST.
24011 (sin_tonearest_test_data): Remove.
24012 (sin_test_tonearest): Likewise.
24013 (sin_towardzero_test_data): Likewise.
24014 (sin_test_towardzero): Likewise.
24015 (sin_downward_test_data): Likewise.
24016 (sin_test_downward): Likewise.
24017 (sin_upward_test_data): Likewise.
24018 (sin_test_upward): Likewise.
24019 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
24020 (sinh_test_data): Update call to AUTO_TESTS_f_f.
24021 (sinh_test): Use ALL_RM_TEST.
24022 (sinh_tonearest_test_data): Remove.
24023 (sinh_test_tonearest): Likewise.
24024 (sinh_towardzero_test_data): Likewise.
24025 (sinh_test_towardzero): Likewise.
24026 (sinh_downward_test_data): Likewise.
24027 (sinh_test_downward): Likewise.
24028 (sinh_upward_test_data): Likewise.
24029 (sinh_test_upward): Likewise.
24030 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
24031 (sqrt_test): Use ALL_RM_TEST.
24032 (sqrt_tonearest_test_data): Remove.
24033 (sqrt_test_tonearest): Likewise.
24034 (sqrt_towardzero_test_data): Likewise.
24035 (sqrt_test_towardzero): Likewise.
24036 (sqrt_downward_test_data): Likewise.
24037 (sqrt_test_downward): Likewise.
24038 (sqrt_upward_test_data): Likewise.
24039 (sqrt_test_upward): Likewise.
24040 (tan_test_data): Update call to AUTO_TESTS_f_f.
24041 (tan_test): Use ALL_RM_TEST.
24042 (tan_tonearest_test_data): Remove.
24043 (tan_test_tonearest): Likewise.
24044 (tan_towardzero_test_data): Likewise.
24045 (tan_test_towardzero): Likewise.
24046 (tan_downward_test_data): Likewise.
24047 (tan_test_downward): Likewise.
24048 (tan_upward_test_data): Likewise.
24049 (tan_test_upward): Likewise.
24050 (tanh_test_data): Update call to AUTO_TESTS_f_f.
24051 (tgamma_test_data): Likewise.
24052 (y0_test_data): Likewise.
24053 (y1_test_data): Likewise.
24054 (yn_test_data): Update call to AUTO_TESTS_if_f.
24055 (main): Do not call removed functions.
24056
24057 2014-03-19 Joseph Myers <joseph@codesourcery.com>
24058
24059 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
24060 (ldexp_test_data): Remove.
24061 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
24062 scalbn_test_data.
24063 (scalb_test): Use ALL_RM_TEST.
24064
24065 2014-03-19 Andreas Schwab <schwab@suse.de>
24066
24067 * nscd/nscd.service: Also invalidate netgroup cache on reload.
24068
24069 2014-03-19 Joseph Myers <joseph@codesourcery.com>
24070
24071 [BZ #16649]
24072 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24073 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
24074 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
24075 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24076 (__ASSUME_PREADV): Undefine.
24077 (__ASSUME_PWRITEV): Likewise.
24078
24079 2014-03-18 Roland McGrath <roland@hack.frob.com>
24080
24081 * bits/mman-linux.h: Add comment about non-Linux use.
24082 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
24083 bits/mman-linux.h resting place.
24084
24085 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
24086 * bits/mman-linux.h: ... here.
24087
24088 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24089
24090 * conform/conformtest.pl: Add standard definition when calling C
24091 preprocessor on data files.
24092 (checknamespace): Remove unused variable.
24093
24094 2014-03-18 Joseph Myers <joseph@codesourcery.com>
24095
24096 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
24097 minus_oflow, plus_uflow and minus_uflow in expected results.
24098 * math/libm-test.inc (scalbn_test_data): Add more tests of
24099 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
24100 minus_uflow.
24101 (scalbn_test): Use ALL_RM_TEST.
24102 (scalbln_test_data): Add more tests of negative arguments. Use
24103 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
24104 (scalbln_test): Use ALL_RM_TEST.
24105
24106 2014-03-18 Roland McGrath <roland@hack.frob.com>
24107
24108 * scripts/abilist.awk: Ignore symbols marked with .hidden.
24109
24110 2014-03-18 Will Newton <will.newton@linaro.org>
24111
24112 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
24113 inaccurate comment.
24114
24115 2014-03-18 Joseph Myers <joseph@codesourcery.com>
24116
24117 * Makerules [!subdir] (check-abi): Exit with error status if a
24118 test failed.
24119
24120 2014-03-17 Joseph Myers <joseph@codesourcery.com>
24121
24122 * math/libm-test.inc (nearbyint_test_data): Include all tests used
24123 for rint. Include results for all rounding modes.
24124 (nearbyint_test): Use ALL_RM_TEST.
24125 (rint_test_data): Include all tests used for nearbyint.
24126
24127 2014-03-17 Will Newton <will.newton@linaro.org>
24128
24129 * nptl/sysdeps/pthread/pthread.h: Revert previous
24130 change.
24131
24132 * sysdeps/generic/ldsodefs.h: Revert previous
24133 change.
24134
24135 * libio/genops.c: Revert previous change.
24136 * libio/libioP.h: Likewise.
24137 * stdio-common/vfprintf.c: Likewise.
24138
24139 * sysdeps/generic/math_private.h: Revert previous
24140 change.
24141
24142 * sysdeps/generic/math_private.h: Check whether
24143 HAVE_RM_CTX is defined with #ifdef rather
24144 than #if.
24145
24146 * argp/argp-fmtstream.h: Check whether
24147 __STRICT_ANSI__ is defined with #ifdef rather
24148 than #if.
24149 * argp/argp.h: Likewise.
24150
24151 * libio/genops.c: Check whether
24152 _IO_JUMPS_OFFSET is defined with #ifdef rather
24153 than #if.
24154 * libio/libioP.h: Likewise.
24155 * stdio-common/vfprintf.c: Likewise.
24156
24157 * sysdeps/generic/ldsodefs.h: Check whether
24158 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
24159 than #if.
24160
24161 * nptl/sysdeps/pthread/pthread.h: Check
24162 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
24163 its value.
24164
24165 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24166
24167 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
24168 setting O_APPEND.
24169 * libio/tst-ftell-active-handler.c (do_append_test): Add a
24170 test case.
24171
24172 [BZ #16680]
24173 * libio/fileops.c (_IO_file_open): Seek to end of file but
24174 don't cache the offset.
24175 (get_file_offset): Remove function.
24176 (do_ftell): Use cached offset when available.
24177 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
24178 don't cache the offset.
24179 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
24180 case.
24181 (do_one_test): Call it.
24182 (do_ftell_test): Fix up expected old offset for a+ mode.
24183 * libio/wfileops.c (do_ftell_wide): Used cached offset when
24184 available.
24185
24186 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
24187 up test status with function return status.
24188 (do_write_test): Likewise.
24189 (do_append_test): Likewise.
24190
24191 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
24192 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
24193 Remove.
24194
24195 2014-03-17 Joseph Myers <joseph@codesourcery.com>
24196
24197 * math/gen-libm-test.pl (parse_args): Handle results specified for
24198 each rounding mode separately.
24199 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
24200 tests and results from lrint_tonearest_test_data,
24201 lrint_towardzero_test_data, lrint_downward_test_data and
24202 lrint_upward_test_data.
24203 (lrint_test): Use ALL_RM_TEST.
24204 (lrint_tonearest_test_data): Remove.
24205 (lrint_test_tonearest): Likewise.
24206 (lrint_towardzero_test_data): Likewise.
24207 (lrint_test_towardzero): Likewise.
24208 (lrint_downward_test_data): Likewise.
24209 (lrint_test_downward): Likewise.
24210 (lrint_upward_test_data): Likewise.
24211 (lrint_test_upward): Likewise.
24212 (llrint_test_data): Merge in per-rounding-mode tests and results
24213 from llrint_tonearest_test_data, llrint_towardzero_test_data,
24214 llrint_downward_test_data and llrint_upward_test_data.
24215 (llrint_test): Use ALL_RM_TEST.
24216 (llrint_tonearest_test_data): Remove.
24217 (llrint_test_tonearest): Likewise.
24218 (llrint_towardzero_test_data): Likewise.
24219 (llrint_test_towardzero): Likewise.
24220 (llrint_downward_test_data): Likewise.
24221 (llrint_test_downward): Likewise.
24222 (llrint_upward_test_data): Likewise.
24223 (llrint_test_upward): Likewise.
24224 (rint_test_data): Merge in per-rounding-mode tests and results
24225 from rint_tonearest_test_data, rint_towardzero_test_data,
24226 rint_downward_test_data and rint_upward_test_data. Add
24227 per-rounding-mode results for tests not in those arrays.
24228 (rint_test): Use ALL_RM_TEST.
24229 (rint_tonearest_test_data): Remove.
24230 (rint_test_tonearest): Likewise.
24231 (rint_towardzero_test_data): Likewise.
24232 (rint_test_towardzero): Likewise.
24233 (rint_downward_test_data): Likewise.
24234 (rint_test_downward): Likewise.
24235 (rint_upward_test_data): Likewise.
24236 (rint_test_upward): Likewise.
24237 (main): Don't call removed functions.
24238
24239 2014-03-14 Roland McGrath <roland@hack.frob.com>
24240
24241 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
24242 "Compiled on ..." crapola. It is anti-useful.
24243
24244 2014-03-14 Joseph Myers <joseph@codesourcery.com>
24245
24246 * scripts/evaluate-test.sh: Handle fourth argument to determine
24247 whether test run should stop on failure.
24248 * Makeconfig (stop-on-test-failure): New variable.
24249 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
24250 $(stop-on-test-failure).
24251 * Makefile (tests): Give a summary of results from testing and
24252 exit with failure status if they include an ERROR or FAIL.
24253 (xtests): Likewise.
24254 * manual/install.texi (Configuring and compiling): Mention
24255 stop-on-test-failure=y.
24256 * INSTALL: Regenerated.
24257
24258 2014-03-14 Roland McGrath <roland@hack.frob.com>
24259
24260 * scripts/versionlist.awk: New file.
24261 * Makerules [$(build-shared) = yes]
24262 (postclean-generated): Add Versions.def, not Versions.def.v and
24263 Versions.def.v.i.
24264 ($(common-objpfx)Versions.def.v.i): Target removed.
24265 ($(common-objpfx)Versions.def): New target.
24266 ($(common-objpfx)Versions.all): Depend on that rather that
24267 $(common-objpfx)Versions.def.v.
24268 * Versions.def: File removed.
24269
24270 * Makeconfig (+gccwarn): Add -Wundef.
24271 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
24272 a dl-sysdep.h breaking its contract.
24273 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
24274 * include/stackinfo.h: New file.
24275 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
24276 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
24277 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
24278 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
24279 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
24280 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
24281 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24282 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24283 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24284 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24285 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24286 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
24287 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24288 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24289 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24290
24291 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24292
24293 [BZ #16707]
24294 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
24295 implementation.
24296 * math/libm-test.inc (round_test_data): Add more tests.
24297
24298 [BZ #16706]
24299 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
24300 implementation.
24301 * math/libm-test.inc (nearbyint_test_data): Add more tests.
24302
24303 [BZ #16701]
24304 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
24305 implementation.
24306 * math/libm-test.inc (ceil_test_data): Add more tests.
24307
24308 * math/libm-test.inc (trunc_test_data): Add more tests related to
24309 BZ#16414.
24310
24311 2014-03-14 Roland McGrath <roland@hack.frob.com>
24312
24313 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
24314 with #if rather than #ifdef.
24315 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
24316
24317 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
24318
24319 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
24320 first. Disable AVX-512 GCC support if assembler doesn't support
24321 it.
24322 * sysdeps/x86_64/configure: Regenerated.
24323
24324 2014-03-13 Carlos O'Donell <carlos@redhat.com>
24325
24326 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
24327 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
24328 (__old_pthread_attr_setstack): Likewise.
24329 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
24330 [!_STACK_GROWS_DOWN]: Likewise.
24331
24332 2014-03-13 Mike Frysinger <vapier@gentoo.org>
24333
24334 * config.make.in (have-bash2): Delete.
24335 * configure.ac (libc_cv_have_bash2): Delete.
24336 * configure: Regenerate.
24337 * elf/Makefile (common-ldd-rewrite): Rename to ...
24338 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
24339 (sh-ldd-rewrite): Delete.
24340 (bash-ldd-rewrite): Delete.
24341 (have-bash2): Delete checks.
24342 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
24343 ldd-rewrite.
24344
24345 * config.make.in (have-ksh): Delete.
24346 (KSH): Delete.
24347 * configure.ac (libc_cv_have_ksh): Delete.
24348 * configure: Regenerate.
24349
24350 * elf/Makefile: Delete $(have-ksh) check.
24351 ($(objpfx)sotruss): Change KSH to BASH.
24352 * elf/sotruss.ksh: Rename to ...
24353 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
24354 function style to match POSIX. Drop ksh vim mode setting.
24355
24356 * manual/time.texi (Specifying the Time Zone with TZ): Change
24357 Tuesday to Thursday.
24358
24359 * debug/tst-longjmp_chk2.c: Update header comment.
24360 (stackoverflow_handler): Add comment. Call assert on pass value.
24361
24362 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
24363
24364 [BZ #16194]
24365 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
24366 (HAVE_AVX512_ASM_SUPPORT): Likewise.
24367 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
24368 (La_x86_64_vector): Add zmm.
24369 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
24370 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
24371 ($(objpfx)tst-audit10): New target.
24372 ($(objpfx)tst-audit10.out): Likewise.
24373 (tst-audit10-ENV): New.
24374 (AVX512-CFLAGS): Likewise.
24375 (CFLAGS-tst-audit10.c): Likewise.
24376 (CFLAGS-tst-auditmod10a.c): Likewise.
24377 (CFLAGS-tst-auditmod10b.c): Likewise.
24378 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
24379 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
24380 * sysdeps/x86_64/configure: Regenerated.
24381 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
24382 AVX-512 zmm register support.
24383 (_dl_x86_64_save_sse): Likewise.
24384 (_dl_x86_64_restore_sse): Likewise.
24385 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
24386 size vector registers.
24387 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
24388 (ZMM_SIZE): Likewise.
24389 * sysdeps/x86_64/tst-audit10.c: New file.
24390 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
24391 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
24392
24393 2014-03-13 Roland McGrath <roland@hack.frob.com>
24394
24395 * configure.ac (HAVE_EHDR_START): New check.
24396 * configure: Regenerated.
24397 * config.h.in (HAVE_EHDR_START): New #undef.
24398 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
24399 assuming the lowest-addressed segment maps the start of the file.
24400
24401 2014-03-13 Joseph Myers <joseph@codesourcery.com>
24402
24403 * INSTALL: Regenerated.
24404
24405 2014-03-13 Will Newton <will.newton@linaro.org>
24406
24407 * manual/setjmp.texi (System V contexts): Improve
24408 clarity and grammar of documentation.
24409
24410 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
24411
24412 [BZ #16381]
24413 * elf/Makefile (tests): Add tst-pie2.
24414 (tests-pie): Add tst-pie2.
24415 * elf/tst-pie2.c: New file.
24416 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
24417 for ET_EXEC.
24418 * elf/rtld.c (map_doit): Load executable as lt_executable.
24419 (dl_main): Likewise.
24420
24421 2014-03-12 Joseph Myers <joseph@codesourcery.com>
24422
24423 [BZ #16642]
24424 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24425 (__ASSUME_PSELECT): Undefine.
24426
24427 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24428
24429 [BZ #16689]
24430 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
24431 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
24432 static build.
24433 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
24434 selector for static builds.
24435
24436 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24437
24438 [BZ #16695]
24439 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
24440 key in the buffer.
24441
24442 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24443
24444 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
24445 IFUNC selector for static builds.
24446
24447 2014-03-11 Joseph Myers <joseph@codesourcery.com>
24448
24449 * sysdeps/mips/math_private.h [__mips_hard_float]
24450 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
24451 libc_feresetround_mips_ctx.
24452 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
24453 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
24454 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
24455
24456 [BZ #16677]
24457 * math/s_nextafter.c (__nextafter): Do not return value from
24458 overflowing computation.
24459 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
24460 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
24461 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
24462 Likewise.
24463 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
24464 Likewise.
24465 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
24466 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
24467
24468 2014-03-11 Roland McGrath <roland@hack.frob.com>
24469
24470 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
24471 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
24472 Move sfi_sp use from the load-multiple (that no longer sets sp) to
24473 the new mov targetting sp.
24474
24475 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24476
24477 [BZ #16683]
24478 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
24479 Define it for static builds as well.
24480 (NO_BZERO_IMPL): Likewise.
24481
24482 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
24483
24484 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
24485 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
24486 multiarch strspn for PPC64.
24487 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
24488 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
24489 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24490 (__libc_ifunc_impl_list): Likewise.
24491 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
24492 multiarch optimizations
24493 * string/strspn.c (strspn): Using macro to redefine symbol name.
24494
24495 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
24496 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24497
24498 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
24499 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
24500 multiarch strncat for PPC64.
24501 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
24502 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
24503 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24504 (__libc_ifunc_impl_list): Likewise.
24505 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
24506 multiarch optimizations
24507
24508 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24509
24510 [BZ #16639]
24511 * nscd/nscd.service: Make service type forking.
24512
24513 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24514
24515 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
24516 sign in non default rounding modes.
24517 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
24518
24519 2014-03-08 Joseph Myers <joseph@codesourcery.com>
24520
24521 * math/libm-test.inc (ALL_RM_TEST): New macro.
24522 (ceil_test): Use ALL_RM_TEST.
24523 (cimag_test): Likewise.
24524 (conj_test): Likewise.
24525 (copysign_test): Likewise.
24526 (cproj_test): Likewise.
24527 (creal_test): Likewise.
24528 (fabs_test): Likewise.
24529 (floor_test): Likewise.
24530 (fmax_test): Likewise.
24531 (fmin_test): Likewise.
24532 (fmod_test): Likewise.
24533 (fpclassify_test): Likewise.
24534 (frexp_test): Likewise.
24535 (ilogb_test): Likewise.
24536 (isfinite_test): Likewise.
24537 (finite_test): Likewise.
24538 (isgreater_test): Likewise.
24539 (isgreaterequal_test): Likewise.
24540 (isinf_test): Likewise.
24541 (isless_test): Likewise.
24542 (islessequal_test): Likewise.
24543 (islessgreater_test): Likewise.
24544 (isnan_test): Likewise.
24545 (isnormal_test): Likewise.
24546 (issignaling_test): Likewise.
24547 (isunordered_test): Likewise.
24548 (logb_test): Likewise.
24549 (logb_downward_test_data): Remove.
24550 (logb_test_downward): Likewise.
24551 (lround_test): Use ALL_RM_TEST.
24552 (llround_test): Likewise.
24553 (modf_test): Likewise.
24554 (nexttoward_test): Likewise.
24555 (remainder_test): Likewise.
24556 (drem_test): Likewise.
24557 (remainder_tonearest_test_data): Likewise.
24558 (remainder_test_tonearest): Likewise.
24559 (drem_test_tonearest): Likewise.
24560 (remainder_towardzero_test_data): Likewise.
24561 (remainder_test_towardzero): Likewise.
24562 (drem_test_towardzero): Likewise.
24563 (remainder_downward_test_data): Likewise.
24564 (remainder_test_downward): Likewise.
24565 (drem_test_downward): Likewise.
24566 (remainder_upward_test_data): Likewise.
24567 (remainder_test_upward): Likewise.
24568 (drem_test_upward): Likewise.
24569 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
24570 (round_test): Use ALL_RM_TEST.
24571 (signbit_test): Likewise.
24572 (trunc_test): Likewise.
24573 (significand_test): Likewise.
24574 (main): Don't call removed functions.
24575
24576 2014-03-07 Joseph Myers <joseph@codesourcery.com>
24577
24578 [BZ #16674]
24579 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
24580 || __USE_XOPEN2K8].
24581 (ILL_ILLOPN): Likewise.
24582 (ILL_ILLADR): Likewise.
24583 (ILL_ILLTRP): Likewise.
24584 (ILL_PRVOPC): Likewise.
24585 (ILL_PRVREG): Likewise.
24586 (ILL_COPROC): Likewise.
24587 (ILL_BADSTK): Likewise.
24588 (FPE_INTDIV): Likewise.
24589 (FPE_INTOVF): Likewise.
24590 (FPE_FLTDIV): Likewise.
24591 (FPE_FLTOVF): Likewise.
24592 (FPE_FLTUND): Likewise.
24593 (FPE_FLTRES): Likewise.
24594 (FPE_FLTINV): Likewise.
24595 (FPE_FLTSUB): Likewise.
24596 (SEGV_MAPERR): Likewise.
24597 (SEGV_ACCERR): Likewise.
24598 (BUS_ADRALN): Likewise.
24599 (BUS_ADRERR): Likewise.
24600 (BUS_OBJERR): Likewise.
24601 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24602 (TRAP_TRACE): Likewise.
24603 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24604 __USE_XOPEN2K8].
24605 (CLD_KILLED): Likewise.
24606 (CLD_DUMPED): Likewise.
24607 (CLD_TRAPPED): Likewise.
24608 (CLD_STOPPED): Likewise.
24609 (CLD_CONTINUED): Likewise.
24610 (POLL_IN): Likewise.
24611 (POLL_OUT): Likewise.
24612 (POLL_MSG): Likewise.
24613 (POLL_ERR): Likewise.
24614 (POLL_PRI): Likewise.
24615 (POLL_HUP): Likewise.
24616 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
24617 Likewise.
24618 (ILL_ILLOPN): Likewise.
24619 (ILL_ILLADR): Likewise.
24620 (ILL_ILLTRP): Likewise.
24621 (ILL_PRVOPC): Likewise.
24622 (ILL_PRVREG): Likewise.
24623 (ILL_COPROC): Likewise.
24624 (ILL_BADSTK): Likewise.
24625 (FPE_INTDIV): Likewise.
24626 (FPE_INTOVF): Likewise.
24627 (FPE_FLTDIV): Likewise.
24628 (FPE_FLTOVF): Likewise.
24629 (FPE_FLTUND): Likewise.
24630 (FPE_FLTRES): Likewise.
24631 (FPE_FLTINV): Likewise.
24632 (FPE_FLTSUB): Likewise.
24633 (SEGV_MAPERR): Likewise.
24634 (SEGV_ACCERR): Likewise.
24635 (BUS_ADRALN): Likewise.
24636 (BUS_ADRERR): Likewise.
24637 (BUS_OBJERR): Likewise.
24638 (BUS_MCEERR_AR): Likewise.
24639 (BUS_MCEERR_AO): Likewise.
24640 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24641 (TRAP_TRACE): Likewise.
24642 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24643 __USE_XOPEN2K8].
24644 (CLD_KILLED): Likewise.
24645 (CLD_DUMPED): Likewise.
24646 (CLD_TRAPPED): Likewise.
24647 (CLD_STOPPED): Likewise.
24648 (CLD_CONTINUED): Likewise.
24649 (POLL_IN): Likewise.
24650 (POLL_OUT): Likewise.
24651 (POLL_MSG): Likewise.
24652 (POLL_ERR): Likewise.
24653 (POLL_PRI): Likewise.
24654 (POLL_HUP): Likewise.
24655 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
24656 (ILL_ILLOPN): Likewise.
24657 (ILL_ILLADR): Likewise.
24658 (ILL_ILLTRP): Likewise.
24659 (ILL_PRVOPC): Likewise.
24660 (ILL_PRVREG): Likewise.
24661 (ILL_COPROC): Likewise.
24662 (ILL_BADSTK): Likewise.
24663 (FPE_INTDIV): Likewise.
24664 (FPE_INTOVF): Likewise.
24665 (FPE_FLTDIV): Likewise.
24666 (FPE_FLTOVF): Likewise.
24667 (FPE_FLTUND): Likewise.
24668 (FPE_FLTRES): Likewise.
24669 (FPE_FLTINV): Likewise.
24670 (FPE_FLTSUB): Likewise.
24671 (SEGV_MAPERR): Likewise.
24672 (SEGV_ACCERR): Likewise.
24673 (BUS_ADRALN): Likewise.
24674 (BUS_ADRERR): Likewise.
24675 (BUS_OBJERR): Likewise.
24676 (BUS_MCEERR_AR): Likewise.
24677 (BUS_MCEERR_AO): Likewise.
24678 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24679 (TRAP_TRACE): Likewise.
24680 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24681 __USE_XOPEN2K8].
24682 (CLD_KILLED): Likewise.
24683 (CLD_DUMPED): Likewise.
24684 (CLD_TRAPPED): Likewise.
24685 (CLD_STOPPED): Likewise.
24686 (CLD_CONTINUED): Likewise.
24687 (POLL_IN): Likewise.
24688 (POLL_OUT): Likewise.
24689 (POLL_MSG): Likewise.
24690 (POLL_ERR): Likewise.
24691 (POLL_PRI): Likewise.
24692 (POLL_HUP): Likewise.
24693 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
24694 Likewise.
24695 (ILL_ILLOPN): Likewise.
24696 (ILL_ILLADR): Likewise.
24697 (ILL_ILLTRP): Likewise.
24698 (ILL_PRVOPC): Likewise.
24699 (ILL_PRVREG): Likewise.
24700 (ILL_COPROC): Likewise.
24701 (ILL_BADSTK): Likewise.
24702 (ILL_BADIADDR): Likewise.
24703 (ILL_BREAK): Likewise.
24704 (FPE_INTDIV): Likewise.
24705 (FPE_INTOVF): Likewise.
24706 (FPE_FLTDIV): Likewise.
24707 (FPE_FLTOVF): Likewise.
24708 (FPE_FLTUND): Likewise.
24709 (FPE_FLTRES): Likewise.
24710 (FPE_FLTINV): Likewise.
24711 (FPE_FLTSUB): Likewise.
24712 (FPE_DECOVF): Likewise.
24713 (FPE_DECDIV): Likewise.
24714 (FPE_DECERR): Likewise.
24715 (FPE_INVASC): Likewise.
24716 (FPE_INVDEC): Likewise.
24717 (SEGV_MAPERR): Likewise.
24718 (SEGV_ACCERR): Likewise.
24719 (SEGV_PSTKOVF): Likewise.
24720 (BUS_ADRALN): Likewise.
24721 (BUS_ADRERR): Likewise.
24722 (BUS_OBJERR): Likewise.
24723 (BUS_MCEERR_AR): Likewise.
24724 (BUS_MCEERR_AO): Likewise.
24725 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24726 (TRAP_TRACE): Likewise.
24727 (TRAP_BRANCH): Likewise.
24728 (TRAP_HWBKPT): Likewise.
24729 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24730 __USE_XOPEN2K8].
24731 (CLD_KILLED): Likewise.
24732 (CLD_DUMPED): Likewise.
24733 (CLD_TRAPPED): Likewise.
24734 (CLD_STOPPED): Likewise.
24735 (CLD_CONTINUED): Likewise.
24736 (POLL_IN): Likewise.
24737 (POLL_OUT): Likewise.
24738 (POLL_MSG): Likewise.
24739 (POLL_ERR): Likewise.
24740 (POLL_PRI): Likewise.
24741 (POLL_HUP): Likewise.
24742 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
24743 (ILL_ILLOPN): Likewise.
24744 (ILL_ILLADR): Likewise.
24745 (ILL_ILLTRP): Likewise.
24746 (ILL_PRVOPC): Likewise.
24747 (ILL_PRVREG): Likewise.
24748 (ILL_COPROC): Likewise.
24749 (ILL_BADSTK): Likewise.
24750 (FPE_INTDIV): Likewise.
24751 (FPE_INTOVF): Likewise.
24752 (FPE_FLTDIV): Likewise.
24753 (FPE_FLTOVF): Likewise.
24754 (FPE_FLTUND): Likewise.
24755 (FPE_FLTRES): Likewise.
24756 (FPE_FLTINV): Likewise.
24757 (FPE_FLTSUB): Likewise.
24758 (SEGV_MAPERR): Likewise.
24759 (SEGV_ACCERR): Likewise.
24760 (BUS_ADRALN): Likewise.
24761 (BUS_ADRERR): Likewise.
24762 (BUS_OBJERR): Likewise.
24763 (BUS_MCEERR_AR): Likewise.
24764 (BUS_MCEERR_AO): Likewise.
24765 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24766 (TRAP_TRACE): Likewise.
24767 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24768 __USE_XOPEN2K8].
24769 (CLD_KILLED): Likewise.
24770 (CLD_DUMPED): Likewise.
24771 (CLD_TRAPPED): Likewise.
24772 (CLD_STOPPED): Likewise.
24773 (CLD_CONTINUED): Likewise.
24774 (POLL_IN): Likewise.
24775 (POLL_OUT): Likewise.
24776 (POLL_MSG): Likewise.
24777 (POLL_ERR): Likewise.
24778 (POLL_PRI): Likewise.
24779 (POLL_HUP): Likewise.
24780 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
24781 (ILL_ILLOPN): Likewise.
24782 (ILL_ILLADR): Likewise.
24783 (ILL_ILLTRP): Likewise.
24784 (ILL_PRVOPC): Likewise.
24785 (ILL_PRVREG): Likewise.
24786 (ILL_COPROC): Likewise.
24787 (ILL_BADSTK): Likewise.
24788 (FPE_INTDIV): Likewise.
24789 (FPE_INTOVF): Likewise.
24790 (FPE_FLTDIV): Likewise.
24791 (FPE_FLTOVF): Likewise.
24792 (FPE_FLTUND): Likewise.
24793 (FPE_FLTRES): Likewise.
24794 (FPE_FLTINV): Likewise.
24795 (FPE_FLTSUB): Likewise.
24796 (SEGV_MAPERR): Likewise.
24797 (SEGV_ACCERR): Likewise.
24798 (BUS_ADRALN): Likewise.
24799 (BUS_ADRERR): Likewise.
24800 (BUS_OBJERR): Likewise.
24801 (BUS_MCEERR_AR): Likewise.
24802 (BUS_MCEERR_AO): Likewise.
24803 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24804 (TRAP_TRACE): Likewise.
24805 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24806 __USE_XOPEN2K8].
24807 (CLD_KILLED): Likewise.
24808 (CLD_DUMPED): Likewise.
24809 (CLD_TRAPPED): Likewise.
24810 (CLD_STOPPED): Likewise.
24811 (CLD_CONTINUED): Likewise.
24812 (POLL_IN): Likewise.
24813 (POLL_OUT): Likewise.
24814 (POLL_MSG): Likewise.
24815 (POLL_ERR): Likewise.
24816 (POLL_PRI): Likewise.
24817 (POLL_HUP): Likewise.
24818 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
24819 (ILL_ILLOPN): Likewise.
24820 (ILL_ILLADR): Likewise.
24821 (ILL_ILLTRP): Likewise.
24822 (ILL_PRVOPC): Likewise.
24823 (ILL_PRVREG): Likewise.
24824 (ILL_COPROC): Likewise.
24825 (ILL_BADSTK): Likewise.
24826 (FPE_INTDIV): Likewise.
24827 (FPE_INTOVF): Likewise.
24828 (FPE_FLTDIV): Likewise.
24829 (FPE_FLTOVF): Likewise.
24830 (FPE_FLTUND): Likewise.
24831 (FPE_FLTRES): Likewise.
24832 (FPE_FLTINV): Likewise.
24833 (FPE_FLTSUB): Likewise.
24834 (SEGV_MAPERR): Likewise.
24835 (SEGV_ACCERR): Likewise.
24836 (BUS_ADRALN): Likewise.
24837 (BUS_ADRERR): Likewise.
24838 (BUS_OBJERR): Likewise.
24839 (BUS_MCEERR_AR): Likewise.
24840 (BUS_MCEERR_AO): Likewise.
24841 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24842 (TRAP_TRACE): Likewise.
24843 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24844 __USE_XOPEN2K8].
24845 (CLD_KILLED): Likewise.
24846 (CLD_DUMPED): Likewise.
24847 (CLD_TRAPPED): Likewise.
24848 (CLD_STOPPED): Likewise.
24849 (CLD_CONTINUED): Likewise.
24850 (POLL_IN): Likewise.
24851 (POLL_OUT): Likewise.
24852 (POLL_MSG): Likewise.
24853 (POLL_ERR): Likewise.
24854 (POLL_PRI): Likewise.
24855 (POLL_HUP): Likewise.
24856 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
24857 (ILL_ILLOPN): Likewise.
24858 (ILL_ILLADR): Likewise.
24859 (ILL_ILLTRP): Likewise.
24860 (ILL_PRVOPC): Likewise.
24861 (ILL_PRVREG): Likewise.
24862 (ILL_COPROC): Likewise.
24863 (ILL_BADSTK): Likewise.
24864 (ILL_DBLFLT): Likewise.
24865 (ILL_HARDWALL): Likewise.
24866 (FPE_INTDIV): Likewise.
24867 (FPE_INTOVF): Likewise.
24868 (FPE_FLTDIV): Likewise.
24869 (FPE_FLTOVF): Likewise.
24870 (FPE_FLTUND): Likewise.
24871 (FPE_FLTRES): Likewise.
24872 (FPE_FLTINV): Likewise.
24873 (FPE_FLTSUB): Likewise.
24874 (SEGV_MAPERR): Likewise.
24875 (SEGV_ACCERR): Likewise.
24876 (BUS_ADRALN): Likewise.
24877 (BUS_ADRERR): Likewise.
24878 (BUS_OBJERR): Likewise.
24879 (BUS_MCEERR_AR): Likewise.
24880 (BUS_MCEERR_AO): Likewise.
24881 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24882 (TRAP_TRACE): Likewise.
24883 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24884 __USE_XOPEN2K8].
24885 (CLD_KILLED): Likewise.
24886 (CLD_DUMPED): Likewise.
24887 (CLD_TRAPPED): Likewise.
24888 (CLD_STOPPED): Likewise.
24889 (CLD_CONTINUED): Likewise.
24890 (POLL_IN): Likewise.
24891 (POLL_OUT): Likewise.
24892 (POLL_MSG): Likewise.
24893 (POLL_ERR): Likewise.
24894 (POLL_PRI): Likewise.
24895 (POLL_HUP): Likewise.
24896 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
24897 (ILL_ILLOPN): Likewise.
24898 (ILL_ILLADR): Likewise.
24899 (ILL_ILLTRP): Likewise.
24900 (ILL_PRVOPC): Likewise.
24901 (ILL_PRVREG): Likewise.
24902 (ILL_COPROC): Likewise.
24903 (ILL_BADSTK): Likewise.
24904 (FPE_INTDIV): Likewise.
24905 (FPE_INTOVF): Likewise.
24906 (FPE_FLTDIV): Likewise.
24907 (FPE_FLTOVF): Likewise.
24908 (FPE_FLTUND): Likewise.
24909 (FPE_FLTRES): Likewise.
24910 (FPE_FLTINV): Likewise.
24911 (FPE_FLTSUB): Likewise.
24912 (SEGV_MAPERR): Likewise.
24913 (SEGV_ACCERR): Likewise.
24914 (BUS_ADRALN): Likewise.
24915 (BUS_ADRERR): Likewise.
24916 (BUS_OBJERR): Likewise.
24917 (BUS_MCEERR_AR): Likewise.
24918 (BUS_MCEERR_AO): Likewise.
24919 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24920 (TRAP_TRACE): Likewise.
24921 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24922 __USE_XOPEN2K8].
24923 (CLD_KILLED): Likewise.
24924 (CLD_DUMPED): Likewise.
24925 (CLD_TRAPPED): Likewise.
24926 (CLD_STOPPED): Likewise.
24927 (CLD_CONTINUED): Likewise.
24928 (POLL_IN): Likewise.
24929 (POLL_OUT): Likewise.
24930 (POLL_MSG): Likewise.
24931 (POLL_ERR): Likewise.
24932 (POLL_PRI): Likewise.
24933 (POLL_HUP): Likewise.
24934 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
24935 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24936
24937 [BZ #16670]
24938 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
24939 before #include of <time.h>.
24940 [!__USE_XOPEN2K] (__need_timespec): Likewise.
24941 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
24942 (test-xfail-UNIX98/sched.h/conform): Likewise.
24943
24944 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
24945
24946 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
24947 error absence of trapping exception support.
24948 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
24949
24950 2014-03-07 Joseph Myers <joseph@codesourcery.com>
24951
24952 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
24953 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
24954 * timezone/Makefile (testdata): Move definition above include of
24955 Rules.
24956 (test-zones): New variable.
24957 (tests-special): Add zone files.
24958 (build-testdata): Use $(evaluate-test).
24959
24960 * elf/Makefile (tests-special): Rename tests to end with .out.
24961 ($(objpfx)noload-mem): Likewise.
24962 ($(objpfx)tst-leaks1-mem): Likewise.
24963 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
24964 * iconv/Makefile (xtests-special): Change test-iconvconfig to
24965 $(objpfx)test-iconvconfig.out.
24966 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
24967 set -e inside subshell and redirect output to file.
24968 * iconvdata/Makefile (generated): Rename tests to end with .out.
24969 Correct type.
24970 (tests-special): Rename tests to end with .out.
24971 ($(objpfx)mtrace-tst-loading): Likewise.
24972 * intl/Makefile (generated): Likewise.
24973 (tests-special): Likewise.
24974 ($(objpfx)mtrace-tst-gettext): Likewise.
24975 * misc/Makefile (generated): Likewise.
24976 (tests-special): Likewise.
24977 ($(objpfx)tst-error1-mem): Likewise.
24978 * nptl/Makefile (tests-special): Likewise.
24979 ($(objpfx)tst-stack3-mem): Likewise.
24980 (generated): Likewise.
24981 * posix/Makefile (generated): Likewise.
24982 (tests-special): Likewise.
24983 (xtests-special): Likewise.
24984 ($(objpfx)tst-fnmatch-mem): Likewise.
24985 ($(objpfx)bug-regex2-mem): Likewise.
24986 ($(objpfx)bug-regex14-mem): Likewise.
24987 ($(objpfx)bug-regex21-mem): Likewise.
24988 ($(objpfx)bug-regex31-mem): Likewise.
24989 ($(objpfx)tst-vfork3-mem): Likewise.
24990 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24991 ($(objpfx)tst-pcre-mem): Likewise.
24992 ($(objpfx)tst-boost-mem): Likewise.
24993 ($(objpfx)bug-ga2-mem): Likewise.
24994 ($(objpfx)bug-glob2-mem): Likewise.
24995 * resolv/Makefile (generate): Likewise.
24996 (tests-special): Likewise.
24997 (xtests-special): Likewise.
24998 (generated): Likewise.
24999 ($(objpfx)mtrace-tst-leaks): Likewise.
25000 ($(objpfx)mtrace-tst-leaks2): Likewise.
25001
25002 * scripts/merge-test-results.sh: New file.
25003 * Makefile (tests-special-notdir): New variable.
25004 (tests): Run merge-test-results.sh.
25005 (xtests): Likewise.
25006 * Rules (tests-special-notdir): New variable.
25007 (xtests-special-notdir): Likewise.
25008 (tests): Run merge-test-results.sh
25009 (xtests): Likewise.
25010
25011 * Makeconfig (test-xfail-name): New variable.
25012 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
25013 compute variable name for expected failures.
25014 * conform/Makefile (conformtest-headers-data): New variable.
25015 (conformtest-standards): Likewise.
25016 (conformtest-headers-ISO): Likewise.
25017 (conformtest-headers-ISO99): Likewise.
25018 (conformtest-headers-ISO11): Likewise.
25019 (conformtest-headers-POSIX): Likewise.
25020 (conformtest-headers-XPG3): Likewise.
25021 (conformtest-headers-XPG4): Likewise.
25022 (conformtest-headers-UNIX98): Likewise.
25023 (conformtest-headers-XOPEN2K): Likewise.
25024 (conformtest-headers-POSIX2008): Likewise.
25025 (conformtest-headers-XOPEN2K8): Likewise.
25026 (conformtest-header-list-base): Likewise.
25027 (conformtest-header-list-tests): Likewise.
25028 (conformtest-header-base): Likewise.
25029 (conformtest-header-tests): Likewise.
25030 (tests-special): Add $(conformtest-header-list-tests). If
25031 [$(fast-check) && !$(cross-compiling)], add
25032 $(conformtest-header-tests) instead of
25033 $(objpfx)run-conformtest.out.
25034 (generated): Add $(conformtest-header-list-base). If
25035 [$(fast-check) && !$(cross-compiling)], add
25036 $(conformtest-header-base). Remove previous setting.
25037 ($(conformtest-header-list-tests)): New target.
25038 (test-xfail-run-conformtest): Remove variable.
25039 ($(objpfx)run-conformtest.out): Remove target.
25040 (test-xfail-ISO11/complex.h/conform): New variable.
25041 (test-xfail-ISO11/stdalign.h/conform): Likewise.
25042 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
25043 (test-xfail-XPG3/varargs.h/conform): Likewise.
25044 (test-xfail-XPG4/varargs.h/conform): Likewise.
25045 (test-xfail-UNIX98/varargs.h/conform): Likewise.
25046 (test-xfail-XPG4/ndbm.h/conform): Likewise.
25047 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
25048 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
25049 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
25050 (test-xfail-XPG3/fcntl.h/conform): Likewise.
25051 (test-xfail-XPG3/ftw.h/conform): Likewise.
25052 (test-xfail-XPG3/grp.h/conform): Likewise.
25053 (test-xfail-XPG3/langinfo.h/conform): Likewise.
25054 (test-xfail-XPG3/limits.h/conform): Likewise.
25055 (test-xfail-XPG3/pwd.h/conform): Likewise.
25056 (test-xfail-XPG3/search.h/conform): Likewise.
25057 (test-xfail-XPG3/signal.h/conform): Likewise.
25058 (test-xfail-XPG3/stdio.h/conform): Likewise.
25059 (test-xfail-XPG3/stdlib.h/conform): Likewise.
25060 (test-xfail-XPG3/string.h/conform): Likewise.
25061 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
25062 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
25063 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
25064 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
25065 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
25066 (test-xfail-XPG3/sys/types.h/conform): Likewise.
25067 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
25068 (test-xfail-XPG3/termios.h/conform): Likewise.
25069 (test-xfail-XPG3/time.h/conform): Likewise.
25070 (test-xfail-XPG3/unistd.h/conform): Likewise.
25071 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
25072 (test-xfail-XPG4/fcntl.h/conform): Likewise.
25073 (test-xfail-XPG4/langinfo.h/conform): Likewise.
25074 (test-xfail-XPG4/netdb.h/conform): Likewise.
25075 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
25076 (test-xfail-XPG4/signal.h/conform): Likewise.
25077 (test-xfail-XPG4/stdio.h/conform): Likewise.
25078 (test-xfail-XPG4/stdlib.h/conform): Likewise.
25079 (test-xfail-XPG4/stropts.h/conform): Likewise.
25080 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
25081 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
25082 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
25083 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
25084 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
25085 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
25086 (test-xfail-XPG4/sys/time.h/conform): Likewise.
25087 (test-xfail-XPG4/sys/types.h/conform): Likewise.
25088 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
25089 (test-xfail-XPG4/termios.h/conform): Likewise.
25090 (test-xfail-XPG4/ucontext.h/conform): Likewise.
25091 (test-xfail-XPG4/unistd.h/conform): Likewise.
25092 (test-xfail-XPG4/utmpx.h/conform): Likewise.
25093 (test-xfail-POSIX/sched.h/conform): Likewise.
25094 (test-xfail-POSIX/signal.h/conform): Likewise.
25095 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
25096 (test-xfail-POSIX/tar.h/conform): Likewise.
25097 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
25098 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
25099 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
25100 (test-xfail-UNIX98/netdb.h/conform): Likewise.
25101 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
25102 (test-xfail-UNIX98/sched.h/conform): Likewise.
25103 (test-xfail-UNIX98/signal.h/conform): Likewise.
25104 (test-xfail-UNIX98/stdio.h/conform): Likewise.
25105 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
25106 (test-xfail-UNIX98/stropts.h/conform): Likewise.
25107 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
25108 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
25109 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
25110 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
25111 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
25112 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
25113 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
25114 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
25115 (test-xfail-UNIX98/unistd.h/conform): Likewise.
25116 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
25117 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
25118 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
25119 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
25120 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
25121 (test-xfail-XOPEN2K/math.h/conform): Likewise.
25122 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
25123 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
25124 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
25125 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
25126 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
25127 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
25128 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
25129 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
25130 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
25131 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
25132 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
25133 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
25134 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
25135 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
25136 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
25137 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
25138 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
25139 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
25140 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
25141 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
25142 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
25143 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
25144 (test-xfail-POSIX2008/signal.h/conform): Likewise.
25145 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
25146 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
25147 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
25148 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
25149 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
25150 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
25151 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
25152 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
25153 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
25154 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
25155 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
25156 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
25157 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
25158 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
25159 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
25160 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
25161 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
25162 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
25163 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
25164 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
25165 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
25166 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
25167 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
25168 (conformtest-cc-flags): Likewise.
25169 ($(conformtest-header-tests): New target.
25170 * conform/check-header-lists.sh: New file.
25171 * conform/run-conformtest.sh: Remove.
25172
25173 * conform/conformtest.pl: Allow ' and \ in values given for
25174 constants.
25175 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
25176 inclusion.
25177 [POSIX] (sys/types.h): Likewise.
25178 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
25179 inclusion.
25180 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
25181 inclusion.
25182 * conform/data/signal.h-data (SIGIO): Remove expectation.
25183 [XPG3] (SIGBUS): Do not expect.
25184 [POSIX || XPG3] (SIGPOLL): Likewise.
25185 [POSIX || XPG3] (SIGPROF): Likewise.
25186 [POSIX || XPG3] (SIGSYS): Likewise.
25187 [XPG3] (SIGTRAP): Likewise.
25188 [POSIX || XPG3] (SIGURG): Likewise.
25189 [POSIX || XPG3] (SIGVTALRM): Likewise.
25190 [POSIX || XPG3] (SIGXCPU): Likewise.
25191 [POSIX || XPG3] (SIGXFSZ): Likewise.
25192 [POSIX] (SA_SIGINFO): Expect.
25193 [XPG3] (siginfo_t): Do not expect type or contents.
25194 [POSIX] (si_pid): Do not expect element.
25195 [POSIX] (si_uid): Likewise.
25196 [POSIX] (si_addr): Likewise.
25197 [POSIX] (si_status): Likewise.
25198 [POSIX] (si_band): Likewise.
25199 [XPG4] (si_value): Likewise.
25200 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
25201 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
25202 [POSIX || XPG3] (ILL_ILLADR): Likewise.
25203 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
25204 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
25205 [POSIX || XPG3] (ILL_PRVREG): Likewise.
25206 [POSIX || XPG3] (ILL_COPROC): Likewise.
25207 [POSIX || XPG3] (ILL_BADSTK): Likewise.
25208 [POSIX || XPG3] (FPE_INTDIV): Likewise.
25209 [POSIX || XPG3] (FPE_INTOVF): Likewise.
25210 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
25211 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
25212 [POSIX || XPG3] (FPE_FLTUND): Likewise.
25213 [POSIX || XPG3] (FPE_FLTRES): Likewise.
25214 [POSIX || XPG3] (FPE_FLTINV): Likewise.
25215 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
25216 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
25217 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
25218 [POSIX || XPG3] (BUS_ADRALN): Likewise.
25219 [POSIX || XPG3] (BUS_ADRERR): Likewise.
25220 [POSIX || XPG3] (BUS_OBJERR): Likewise.
25221 [POSIX || XPG3] (CLD_EXITED): Likewise.
25222 [POSIX || XPG3] (CLD_KILLED): Likewise.
25223 [POSIX || XPG3] (CLD_DUMPED): Likewise.
25224 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
25225 [POSIX || XPG3] (CLD_STOPPED): Likewise.
25226 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
25227 [POSIX || XPG3] (POLL_IN): Likewise.
25228 [POSIX || XPG3] (POLL_OUT): Likewise.
25229 [POSIX || XPG3] (POLL_MSG): Likewise.
25230 [POSIX || XPG3] (POLL_ERR): Likewise.
25231 [POSIX || XPG3] (POLL_PRI): Likewise.
25232 [POSIX || XPG3] (POLL_HUP): Likewise.
25233 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
25234 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
25235 (SIG*): Do not allow.
25236 [XPG3] (si_*): Likewise.
25237 [XPG3] (SI_*): Likewise.
25238 [XPG3 || XPG4] (sigev_*): Likewise.
25239 [XPG3 || XPG4] (SIGEV_*): Likewise.
25240 [XPG3 || XPG4] (sival_*): Likewise.
25241 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
25242 [POSIX || XPG3] (BUS_*): Likewise.
25243 [POSIX || XPG3] (CLD_*): Likewise.
25244 [POSIX || XPG3] (FPE_*): Likewise.
25245 [POSIX || XPG3] (ILL_*): Likewise.
25246 [POSIX || XPG3] (POLL_*): Likewise.
25247 [POSIX || XPG3] (SEGV_*): Likewise.
25248 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
25249 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
25250 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
25251 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
25252 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
25253 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
25254 Specify type and value.
25255 (TVERSLEN): Likewise.
25256 (REGTYPE): Likewise.
25257 (AREGTYPE): Likewise.
25258 (LNKTYPE): Likewise.
25259 (SYMTYPE): Likewise.
25260 (CHRTYPE): Likewise.
25261 (BLKTYPE): Likewise.
25262 (DIRTYPE): Likewise.
25263 (FIFOTYPE): Likewise.
25264 (CONTTYPE): Likewise.
25265 (TSUID): Likewise.
25266 (TSGID): Likewise.
25267 (TSVTX): Likewise.
25268 (TUREAD): Likewise.
25269 (TUWRITE): Likewise.
25270 (TUEXEC): Likewise.
25271 (TGREAD): Likewise.
25272 (TGWRITE): Likewise.
25273 (TGEXEC): Likewise.
25274 (TOREAD): Likewise.
25275 (TOWRITE): Likewise.
25276 (TOEXEC): Likewise.
25277 [POSIX] (TSVTX): Expect constant.
25278
25279 2014-03-06 Joseph Myers <joseph@codesourcery.com>
25280
25281 * Makefile (tests): Change dependencies to ....
25282 (tests-special): ... additions to this variable.
25283 (tests): Depend on $(tests-special).
25284 * Makerules (check-abi-list): New variable.
25285 (check-abi): Depend on $(check-abi-list).
25286 [$(subdir) = elf] (tests-special): Add
25287 $(objpfx)check-abi-libc.out.
25288 [$(build-shared) = yes && subdir] (tests-special): Add
25289 $(check-abi-list).
25290 [$(build-shared) = yes && subdir] (tests): Do not depend on
25291 check-abi.
25292 * Rules (tests): Depend on $(tests-special).
25293 (xtests): Depend on $(xtests-special).
25294 * catgets/Makefile (tests): Change dependencies to ....
25295 (tests-special): ... additions to this variable.
25296 * conform/Makefile (tests): Change dependencies to ....
25297 (tests-special): ... additions to this variable.
25298 * elf/Makefile (tests): Change dependencies to ....
25299 (tests-special): ... additions to this variable.
25300 * grp/Makefile (tests): Change dependencies to ....
25301 (tests-special): ... additions to this variable.
25302 * iconv/Makefile (xtests): Change dependencies to ....
25303 (xtests-special): ... additions to this variable.
25304 * iconvdata/Makefile (tests): Change dependencies to ....
25305 (tests-special): ... additions to this variable.
25306 * intl/Makefile (tests): Change dependencies to ....
25307 (tests-special): ... additions to this variable. Also add
25308 $(objpfx)tst-gettext.out.
25309 * io/Makefile (tests): Change dependencies to ....
25310 (tests-special): ... additions to this variable.
25311 * libio/Makefile (tests): Change dependencies to ....
25312 (tests-special): ... additions to this variable.
25313 * malloc/Makefile (tests): Change dependencies to ....
25314 (tests-special): ... additions to this variable.
25315 * misc/Makefile (tests): Change dependencies to ....
25316 (tests-special): ... additions to this variable.
25317 * nptl/Makefile (tests): Change dependencies to ....
25318 (tests-special): ... additions to this variable.
25319 * nptl_db/Makefile (tests): Change dependencies to ....
25320 (tests-special): ... additions to this variable.
25321 * posix/Makefile (tests): Change dependencies to ....
25322 (tests-special): ... additions to this variable.
25323 (xtests): Change dependencies to ....
25324 (xtests-special): ... additions to this variable.
25325 * resolv/Makefile (tests): Change dependencies to ....
25326 (tests-special): ... additions to this variable.
25327 (xtests): Change dependencies to ....
25328 (xtests-special): ... additions to this variable.
25329 * stdio-common/Makefile (tests): Change dependencies to ....
25330 (tests-special): ... additions to this variable.
25331 (do-tst-unbputc): Remove target.
25332 (do-tst-printf): Likewise.
25333 * stdlib/Makefile (tests): Change dependencies to ....
25334 (tests-special): ... additions to this variable.
25335 * string/Makefile (tests): Change dependencies to ....
25336 (tests-special): ... additions to this variable.
25337 * sysdeps/x86/Makefile (tests): Change dependencies to ....
25338 (tests-special): ... additions to this variable.
25339
25340 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
25341 whole file.
25342 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
25343 whole file.
25344 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
25345 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
25346
25347 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
25348 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
25349 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
25350 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
25351 * conform/data/libgen.h-data [XPG3]: Likewise.
25352 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
25353 * conform/data/ndbm.h-data [XPG3]: Likewise.
25354 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
25355 * conform/data/netdb.h-data [XPG3]: Likewise.
25356 * conform/data/netinet/in.h-data [XPG3]: Likewise.
25357 * conform/data/poll.h-data [XPG3]: Likewise.
25358 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
25359 * conform/data/strings.h-data [XPG3]: Likewise.
25360 * conform/data/stropts.h-data [XPG3]: Likewise.
25361 * conform/data/sys/mman.h-data [XPG3]: Likewise.
25362 * conform/data/sys/resource.h-data [XPG3]: Likewise.
25363 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
25364 Likewise.
25365 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
25366 * conform/data/sys/time.h-data [XPG3]: Likewise.
25367 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
25368 * conform/data/sys/uio.h-data [XPG3]: Likewise.
25369 * conform/data/sys/un.h-data [XPG3]: Likewise.
25370 * conform/data/syslog.h-data [XPG3]: Likewise.
25371 * conform/data/ucontext.h-data [XPG3]: Likewise.
25372 * conform/data/utmpx.h-data [XPG3]: Likewise.
25373 * conform/data/varargs.h-data [UNIX98]: Enable file.
25374
25375 * manual/Makefile (INSTALL_INFO): Remove variable setting.
25376
25377 * math/libm-test.inc (struct test_f_f_data): Move expected results
25378 into structure for each rounding mode.
25379 (struct test_ff_f_data): Likewise.
25380 (struct test_ff_f_data_nexttoward): Likewise.
25381 (struct test_fi_f_data): Likewise.
25382 (struct test_fl_f_data): Likewise.
25383 (struct test_if_f_data): Likewise.
25384 (struct test_fff_f_data): Likewise.
25385 (struct test_c_f_data): Likewise.
25386 (struct test_f_f1_data): Likewise.
25387 (struct test_fF_f1_data): Likewise.
25388 (struct test_ffI_f1_data): Likewise.
25389 (struct test_c_c_data): Likewise.
25390 (struct test_cc_c_data): Likewise.
25391 (struct test_f_i_data): Likewise.
25392 (struct test_ff_i_data): Likewise.
25393 (struct test_f_l_data): Likewise.
25394 (struct test_f_L_data): Likewise.
25395 (struct test_fFF_11_data): Likewise.
25396 (RM_): New macro.
25397 (RM_FE_DOWNWARD): Likewise.
25398 (RM_FE_TONEAREST): Likewise.
25399 (RM_FE_TOWARDZERO): Likewise.
25400 (RM_FE_UPWARD): Likewise.
25401 (RUN_TEST_LOOP_f_f): Update references to expected results.
25402 (RUN_TEST_LOOP_2_f): Likewise.
25403 (RUN_TEST_LOOP_fff_f): Likewise.
25404 (RUN_TEST_LOOP_c_f): Likewise.
25405 (RUN_TEST_LOOP_f_f1): Likewise.
25406 (RUN_TEST_LOOP_fF_f1): Likewise.
25407 (RUN_TEST_LOOP_fI_f1): Likewise.
25408 (RUN_TEST_LOOP_ffI_f1): Likewise.
25409 (RUN_TEST_LOOP_c_c): Likewise.
25410 (RUN_TEST_LOOP_cc_c): Likewise.
25411 (RUN_TEST_LOOP_f_i): Likewise.
25412 (RUN_TEST_LOOP_f_i_tg): Likewise.
25413 (RUN_TEST_LOOP_ff_i_tg): Likewise.
25414 (RUN_TEST_LOOP_f_b): Likewise.
25415 (RUN_TEST_LOOP_f_b_tg): Likewise.
25416 (RUN_TEST_LOOP_f_l): Likewise.
25417 (RUN_TEST_LOOP_f_L): Likewise.
25418 (RUN_TEST_LOOP_fFF_11): Likewise.
25419 * math/gen-libm-test.pl (parse_args): Output four copies of
25420 expected results for each test.
25421
25422 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25423 (__ASSUME_UTIMES): Remove.
25424 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25425 (__ASSUME_UTIMES): Likewise.
25426
25427 * math/gen-auto-libm-tests.c: Update comment on output format.
25428 (output_for_one_input_case): Generate before-rounding and
25429 after-rounding information as conditions on output flags not
25430 floating-point format.
25431 * math/auto-libm-test-out: Regenerated.
25432 * math/gen-libm-test.pl (cond_value): New function.
25433 (or_cond_value): Use cond_value.
25434 (generate_testfile): Handle conditional exceptions.
25435
25436 2014-03-05 Joseph Myers <joseph@codesourcery.com>
25437
25438 * math/libm-test.inc (max_valid_error): New variable.
25439 (init_max_error): Take new argument specifying whether function
25440 results are exactly determined. Set max_valid_error and bound
25441 other variables for errors based on this argument.
25442 (set_max_error): Do not record results above max_valid_error.
25443 (check_float_internal): Only accept errors of up to 0.5ulps if
25444 also at most max_valid_error.
25445 (START): Take new argument EXACT and pass it to init_max_error.
25446 (acos_test): Update call to START.
25447 (acos_test_tonearest): Likewise.
25448 (acos_test_towardzero): Likewise.
25449 (acos_test_downward): Likewise.
25450 (acos_test_upward): Likewise.
25451 (acosh_test): Likewise.
25452 (asin_test): Likewise.
25453 (asin_test_tonearest): Likewise.
25454 (asin_test_towardzero): Likewise.
25455 (asin_test_downward): Likewise.
25456 (asin_test_upward): Likewise.
25457 (asinh_test): Likewise.
25458 (atan_test): Likewise.
25459 (atanh_test): Likewise.
25460 (atan2_test): Likewise.
25461 (cabs_test): Likewise.
25462 (cacos_test): Likewise.
25463 (cacosh_test): Likewise.
25464 (carg_test): Likewise.
25465 (casin_test): Likewise.
25466 (casinh_test): Likewise.
25467 (catan_test): Likewise.
25468 (catanh_test): Likewise.
25469 (cbrt_test): Likewise.
25470 (ccos_test): Likewise.
25471 (ccosh_test): Likewise.
25472 (ceil_test): Likewise.
25473 (cexp_test): Likewise.
25474 (cimag_test): Likewise.
25475 (clog_test): Likewise.
25476 (clog10_test): Likewise.
25477 (conj_test): Likewise.
25478 (copysign_test): Likewise.
25479 (cos_test): Likewise.
25480 (cos_test_tonearest): Likewise.
25481 (cos_test_towardzero): Likewise.
25482 (cos_test_downward): Likewise.
25483 (cos_test_upward): Likewise.
25484 (cosh_test): Likewise.
25485 (cosh_test_tonearest): Likewise.
25486 (cosh_test_towardzero): Likewise.
25487 (cosh_test_downward): Likewise.
25488 (cosh_test_upward): Likewise.
25489 (cpow_test): Likewise.
25490 (cproj_test): Likewise.
25491 (creal_test): Likewise.
25492 (csin_test): Likewise.
25493 (csinh_test): Likewise.
25494 (csqrt_test): Likewise.
25495 (ctan_test): Likewise.
25496 (ctan_test_tonearest): Likewise.
25497 (ctan_test_towardzero): Likewise.
25498 (ctan_test_downward): Likewise.
25499 (ctan_test_upward): Likewise.
25500 (ctanh_test): Likewise.
25501 (ctanh_test_tonearest): Likewise.
25502 (ctanh_test_towardzero): Likewise.
25503 (ctanh_test_downward): Likewise.
25504 (ctanh_test_upward): Likewise.
25505 (erf_test): Likewise.
25506 (erfc_test): Likewise.
25507 (exp_test): Likewise.
25508 (exp_test_tonearest): Likewise.
25509 (exp_test_towardzero): Likewise.
25510 (exp_test_downward): Likewise.
25511 (exp_test_upward): Likewise.
25512 (exp10_test): Likewise.
25513 (exp10_test_tonearest): Likewise.
25514 (exp10_test_towardzero): Likewise.
25515 (exp10_test_downward): Likewise.
25516 (exp10_test_upward): Likewise.
25517 (pow10_test): Likewise.
25518 (exp2_test): Likewise.
25519 (expm1_test): Likewise.
25520 (expm1_test_tonearest): Likewise.
25521 (expm1_test_towardzero): Likewise.
25522 (expm1_test_downward): Likewise.
25523 (expm1_test_upward): Likewise.
25524 (fabs_test): Likewise.
25525 (fdim_test): Likewise.
25526 (floor_test): Likewise.
25527 (fma_test): Likewise.
25528 (fma_test_towardzero): Likewise.
25529 (fma_test_downward): Likewise.
25530 (fma_test_upward): Likewise.
25531 (fmax_test): Likewise.
25532 (fmin_test): Likewise.
25533 (fmod_test): Likewise.
25534 (fpclassify_test): Likewise.
25535 (frexp_test): Likewise.
25536 (hypot_test): Likewise.
25537 (ilogb_test): Likewise.
25538 (isfinite_test): Likewise.
25539 (finite_test): Likewise.
25540 (isgreater_test): Likewise.
25541 (isgreaterequal_test): Likewise.
25542 (isinf_test): Likewise.
25543 (isless_test): Likewise.
25544 (islessequal_test): Likewise.
25545 (islessgreater_test): Likewise.
25546 (isnan_test): Likewise.
25547 (isnormal_test): Likewise.
25548 (issignaling_test): Likewise.
25549 (isunordered_test): Likewise.
25550 (j0_test): Likewise.
25551 (j1_test): Likewise.
25552 (jn_test): Likewise.
25553 (ldexp_test): Likewise.
25554 (lgamma_test): Likewise.
25555 (gamma_test): Likewise.
25556 (lrint_test): Likewise.
25557 (lrint_test_tonearest): Likewise.
25558 (lrint_test_towardzero): Likewise.
25559 (lrint_test_downward): Likewise.
25560 (lrint_test_upward): Likewise.
25561 (llrint_test): Likewise.
25562 (llrint_test_tonearest): Likewise.
25563 (llrint_test_towardzero): Likewise.
25564 (llrint_test_downward): Likewise.
25565 (llrint_test_upward): Likewise.
25566 (log_test): Likewise.
25567 (log10_test): Likewise.
25568 (log1p_test): Likewise.
25569 (log2_test): Likewise.
25570 (logb_test): Likewise.
25571 (logb_test_downward): Likewise.
25572 (lround_test): Likewise.
25573 (llround_test): Likewise.
25574 (modf_test): Likewise.
25575 (nearbyint_test): Likewise.
25576 (nextafter_test): Likewise.
25577 (nexttoward_test): Likewise.
25578 (pow_test): Likewise.
25579 (pow_test_tonearest): Likewise.
25580 (pow_test_towardzero): Likewise.
25581 (pow_test_downward): Likewise.
25582 (pow_test_upward): Likewise.
25583 (remainder_test): Likewise.
25584 (drem_test): Likewise.
25585 (remainder_test_tonearest): Likewise.
25586 (drem_test_tonearest): Likewise.
25587 (remainder_test_towardzero): Likewise.
25588 (drem_test_towardzero): Likewise.
25589 (remainder_test_downward): Likewise.
25590 (drem_test_downward): Likewise.
25591 (remainder_test_upward): Likewise.
25592 (drem_test_upward): Likewise.
25593 (remquo_test): Likewise.
25594 (rint_test): Likewise.
25595 (rint_test_tonearest): Likewise.
25596 (rint_test_towardzero): Likewise.
25597 (rint_test_downward): Likewise.
25598 (rint_test_upward): Likewise.
25599 (round_test): Likewise.
25600 (scalb_test): Likewise.
25601 (scalbn_test): Likewise.
25602 (scalbln_test): Likewise.
25603 (signbit_test): Likewise.
25604 (sin_test): Likewise.
25605 (sin_test_tonearest): Likewise.
25606 (sin_test_towardzero): Likewise.
25607 (sin_test_downward): Likewise.
25608 (sin_test_upward): Likewise.
25609 (sincos_test): Likewise.
25610 (sinh_test): Likewise.
25611 (sinh_test_tonearest): Likewise.
25612 (sinh_test_towardzero): Likewise.
25613 (sinh_test_downward): Likewise.
25614 (sinh_test_upward): Likewise.
25615 (sqrt_test): Likewise.
25616 (sqrt_test_tonearest): Likewise.
25617 (sqrt_test_towardzero): Likewise.
25618 (sqrt_test_downward): Likewise.
25619 (sqrt_test_upward): Likewise.
25620 (tan_test): Likewise.
25621 (tan_test_tonearest): Likewise.
25622 (tan_test_towardzero): Likewise.
25623 (tan_test_downward): Likewise.
25624 (tan_test_upward): Likewise.
25625 (tanh_test): Likewise.
25626 (tgamma_test): Likewise.
25627 (trunc_test): Likewise.
25628 (y0_test): Likewise.
25629 (y1_test): Likewise.
25630 (yn_test): Likewise.
25631 (significand_test): Likewise.
25632
25633 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
25634 individual tests in comment.
25635 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
25636 (prev_max_error): New variable.
25637 (prev_real_max_error): Likewise.
25638 (prev_imag_max_error): Likewise.
25639 (compare_ulp_data): Don't refer to test names in comment.
25640 (find_test_ulps): Remove function.
25641 (find_function_ulps): Likewise.
25642 (find_complex_function_ulps): Likewise.
25643 (init_max_error): Take function name as argument. Look up ulps
25644 for that function.
25645 (print_ulps): Remove function.
25646 (print_max_error): Use prev_max_error instead of calling
25647 find_function_ulps.
25648 (print_complex_max_error): Use prev_real_max_error and
25649 prev_imag_max_error instead of calling find_complex_function_ulps.
25650 (check_float_internal): Take max_ulp parameter instead of calling
25651 find_test_ulps. Don't call print_ulps.
25652 (check_float): Update call to check_float_internal.
25653 (check_complex): Update calls to check_float_internal.
25654 (START): Pass argument to init_max_error.
25655 * math/gen-libm-test.pl (%results): Don't include "kind"
25656 information.
25657 (parse_ulps): Don't handle ulps of individual tests.
25658 (print_ulps_file): Likewise.
25659 (output_ulps): Likewise.
25660 * math/README.libm-test: Update.
25661 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
25662 individual tests.
25663 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
25664 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
25665 * sysdeps/arm/libm-test-ulps: Likewise.
25666 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25667 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
25668 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
25669 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
25670 * sysdeps/microblaze/libm-test-ulps: Likewise.
25671 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
25672 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25673 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25674 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
25675 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25676 * sysdeps/sh/libm-test-ulps: Likewise.
25677 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25678 * sysdeps/tile/libm-test-ulps: Likewise.
25679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25680
25681 2014-03-04 Joseph Myers <joseph@codesourcery.com>
25682
25683 * math/libm-test.inc (print_complex_max_error): Check separately
25684 whether real and imaginary errors are within allowed range and
25685 pass 0 to print_complex_function_ulps instead of value within
25686 allowed range.
25687
25688 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25689
25690 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
25691 formatting.
25692 (get_handles_fopen): Likewise.
25693 (do_write_test): Likewise.
25694
25695 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
25696
25697 * libio/fileops.c (do_ftell): Use cached offset when
25698 available.
25699 * libio/iofwide.c (do_ftell_wide): Likewise.
25700 * libio/iofdopen.c (_IO_new_fdopen): Don't use
25701 _IO_file_attach.
25702 * libio/wfileops.c (_IO_fwide): Don't cache offset.
25703
25704 [BZ #16532]
25705 * libio/libioP.h (get_file_offset): New function.
25706 * libio/fileops.c (get_file_offset): Likewise.
25707 (do_ftell): Likewise.
25708 (_IO_new_file_seekoff): Split out ftell logic.
25709 * libio/wfileops.c (do_ftell_wide): Likewise.
25710 (_IO_wfile_seekoff): Split out ftell logic.
25711 * libio/tst-ftell-active-handler.c: New test case.
25712 * libio/Makefile (tests): Add it.
25713
25714 2014-03-03 Roland McGrath <roland@hack.frob.com>
25715
25716 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
25717 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
25718
25719 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25720
25721 [BZ #16639]
25722 * nscd/connections.c (nscd_init): Call do_exit.
25723 (start_threads): Call do_exit and notify_parent.
25724 (begin_drop_privileges): Call do_exit.
25725 (finish_drop_privileges): Likewise.
25726 * nscd/selinux.c (preserve_capabilities): Likewise.
25727 (install_real_capabilities): Likewise.
25728 (nscd_selinux_enabled): Likewise.
25729 (avc_create_thread): Likewise.
25730 (avc_alloc_lock): Likewise.
25731 (nscd_avc_init): Likewise.
25732 * nscd/nscd.c (parent_fd): New static variable.
25733 (main): Create a pipe between parent and child processes.
25734 Skip closing parent_fd.
25735 (monitor_child): New function.
25736 (do_exit): Likewise.
25737 (notify_parent): Likewise.
25738 * nscd/nscd.h (notify_parent): Likewise.
25739 (do_exit): Likewise.
25740
25741 2014-03-03 Carlos O'Donell <carlos@redhat.com>
25742
25743 * malloc/malloc.c (__libc_calloc): Revert last change.
25744
25745 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25746
25747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25748
25749 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25750
25751 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
25752 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
25753 implementation.
25754 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25755 (__libc_ifunc_impl_list): Likewise.
25756 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
25757 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
25758 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
25759 * string/strrchr.c: Define STRRCHR.
25760
25761 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
25762
25763 * benchtest/bench-strtok.c (simple_strtok): Delete.
25764 (strtok_string): Use as benchmark.
25765 * string/strtok (STRTOK): New macro.
25766
25767 2014-02-28 Carlos O'Donell <carlos@redhat.com>
25768
25769 * manual/threads.texi: Add header and standard comments to all
25770 functions.
25771
25772 * elf/dl-lookup.c (check_match): New function.
25773 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
25774 (do_lookup_x): Remove nested function check_match. Use non-nested
25775 function check_match.
25776
25777 2014-02-28 Roland McGrath <roland@hack.frob.com>
25778
25779 * csu/Makefile (generated, before-compile): Use += rather than =.
25780 * catgets/Makefile (generated, generated-dirs): Likewise.
25781 * debug/Makefile (generated): Likewise.
25782 * dlfcn/Makefile (generated): Likewise.
25783 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
25784 * iconvdata/Makefile (before-compile, generated): Likewise.
25785 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
25786 * libio/Makefile (generated): Likewise.
25787 * malloc/Makefile (generated): Likewise.
25788 * manual/Makefile (generated, generated-dirs): Likewise.
25789 * misc/Makefile (generated): Likewise.
25790 * posix/Makefile (generated): Likewise.
25791 * resolv/Makefile (generated): Likewise.
25792 * sunrpc/Makefile (generated, generated-dirs): Likewise.
25793 * timezone/Makefile (generated, generated-dirs): Likewise.
25794
25795 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
25796
25797 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25798
25799 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25800 power8 implementation.
25801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
25802 file: POWER8 llround ifunc implementation.
25803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
25804 (__lllround): Add POWER8 implementation.
25805 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
25806 POWER8 llround implementation.
25807
25808 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
25809 power8 implementation.
25810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
25811 file: POWER8 llrint ifunc implementation.
25812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
25813 Add POWER8 implementation.
25814 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
25815 POWER8 llrint implementation.
25816
25817 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
25818 power8 implementation.
25819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
25820 file: POWER8 finite ifunc implementation.
25821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
25822 Add POWER8 implementation.
25823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
25824 Likewise.
25825 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
25826 POWER8 finite implementation.
25827 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
25828
25829 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
25830 power8 implementation.
25831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
25832 file: POWER8 isinf ifunc implementation.
25833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
25834 POWER8 implementation.
25835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
25836 Likewise.
25837 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
25838 isinf implementation.
25839 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
25840
25841 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
25842 (INIT_ARCH): Add hwcap2 initialization.
25843 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25844 power8 implementation.
25845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
25846 file: POWER8 isnan ifunc implementation.
25847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
25848 POWER8 implementation.
25849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
25850 Likewise.
25851 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
25852 isnan implementation.
25853 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
25854
25855 2014-02-27 Joey Ye <joey.ye@arm.com>
25856
25857 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
25858 (_FP_NANFRAC_Q): Set to zero.
25859
25860 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25861
25862 [BZ #16623]
25863 * math/auto-libm-test-in: New test inputs.
25864 * math/auto-libm-test-out: Regenerate.
25865 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
25866 and DA.
25867 (__cos): Likewise.
25868 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
25869
25870 2014-02-27 Joseph Myers <joseph@codesourcery.com>
25871
25872 * scripts/evaluate-test.sh: Take new argument indicating whether
25873 failure is expected.
25874 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
25875 indicating whether failure is expected.
25876 * conform/Makefile (test-xfail-run-conformtest): New variable.
25877 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
25878 level.
25879 * posix/Makefile (test-xfail-annexc): New variable.
25880 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
25881
25882 2014-02-26 Joseph Myers <joseph@codesourcery.com>
25883
25884 * argp/Makefile: Include Makeconfig immediately after defining
25885 subdir.
25886 * assert/Makefile: Likewise.
25887 * benchtests/Makefile: Likewise.
25888 * catgets/Makefile: Likewise.
25889 * conform/Makefile: Likewise.
25890 * crypt/Makefile: Likewise.
25891 * csu/Makefile: Likewise.
25892 (all): Remove target.
25893 * ctype/Makefile: Include Makeconfig immediately after defining
25894 subdir.
25895 * debug/Makefile: Likewise.
25896 * dirent/Makefile: Likewise.
25897 * dlfcn/Makefile: Likewise.
25898 * gmon/Makefile: Likewise.
25899 * gnulib/Makefile: Likewise.
25900 * grp/Makefile: Likewise.
25901 * gshadow/Makefile: Likewise.
25902 * hesiod/Makefile: Likewise.
25903 * hurd/Makefile: Likewise.
25904 (all): Remove target.
25905 * iconvdata/Makefile: Include Makeconfig immediately after
25906 defining subdir.
25907 * inet/Makefile: Likewise.
25908 * intl/Makefile: Likewise.
25909 * io/Makefile: Likewise.
25910 * libio/Makefile: Likewise.
25911 (all): Remove target.
25912 * locale/Makefile: Include Makeconfig immediately after defining
25913 subdir.
25914 * login/Makefile: Likewise.
25915 * mach/Makefile: Likewise.
25916 (all): Remove target.
25917 * malloc/Makefile: Include Makeconfig immediately after defining
25918 subdir.
25919 (all): Remove target.
25920 * manual/Makefile: Include Makeconfig immediately after defining
25921 subdir.
25922 * math/Makefile: Likewise.
25923 * misc/Makefile: Likewise.
25924 * nis/Makefile: Likewise.
25925 * nss/Makefile: Likewise.
25926 * po/Makefile: Likewise.
25927 (all): Remove target.
25928 * posix/Makefile: Include Makeconfig immediately after defining
25929 subdir.
25930 * pwd/Makefile: Likewise.
25931 * resolv/Makefile: Likewise.
25932 * resource/Makefile: Likewise.
25933 * rt/Makefile: Likewise.
25934 * setjmp/Makefile: Likewise.
25935 * shadow/Makefile: Likewise.
25936 * signal/Makefile: Likewise.
25937 * socket/Makefile: Likewise.
25938 * soft-fp/Makefile: Likewise.
25939 * stdio-common/Makefile: Likewise.
25940 * stdlib/Makefile: Likewise.
25941 * streams/Makefile: Likewise.
25942 * string/Makefile: Likewise.
25943 * sunrpc/Makefile: Likewise.
25944 (all): Remove target.
25945 * sysvipc/Makefile: Include Makeconfig immediately after defining
25946 subdir.
25947 * termios/Makefile: Likewise.
25948 * time/Makefile: Likewise.
25949 * timezone/Makefile: Likewise.
25950 (all): Remove target.
25951 * wcsmbs/Makefile: Include Makeconfig immediately after defining
25952 subdir.
25953 * wctype/Makefile: Likewise.
25954
25955 2014-02-26 Steve Ellcey <sellcey@mips.com>
25956
25957 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
25958 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
25959 (libc_feholdexcept_setround_mips): Ditto.
25960 (libc_feholdsetround): New.
25961 (libc_feholdsetroundf): New.
25962 (libc_feholdsetroundl): New.
25963 (libc_feupdateenv_test_mips): New.
25964 (libc_feupdateenv_test): New.
25965 (libc_feupdateenv_testf): New.
25966 (libc_feupdateenv_testl): New.
25967 (libc_feresetround): New.
25968 (libc_feresetroundf): New.
25969 (libc_feresetroundl): New.
25970 (libc_fetestexcept_mips): New.
25971 (libc_fetestexcept): New.
25972 (libc_fetestexceptf): New.
25973 (libc_fetestexceptl): New.
25974 (HAVE_RM_CTX): New.
25975 (libc_feholdexcept_setround_mips_ctx): New.
25976 (libc_feholdexcept_setround_ctx): New.
25977 (libc_feholdexcept_setroundf_ctx): New.
25978 (libc_feholdexcept_setroundl_ctx): New.
25979 (libc_fesetenv_mips_ctx): New.
25980 (libc_fesetenv_ctx): New.
25981 (libc_fesetenv_ctxf): New.
25982 (libc_fesetenv_ctxl): New.
25983 (libc_feupdateenv_mips_ctx): New.
25984 (libc_feupdateenv_ctx): New.
25985 (libc_feupdateenvf_ctx): New.
25986 (libc_feupdateenvl_ctx): New.
25987 (libc_feholdsetround_mips_ctx): New.
25988 (libc_feholdsetround_ctx): New.
25989 (libc_feholdsetroundf_ctx): New.
25990 (libc_feholdsetroundl_ctx): New.
25991 (libc_feresetround_mips_ctx): New.
25992 (libc_feresetround_ctx): New.
25993 (libc_feresetroundf_ctx): New.
25994 (libc_feresetroundl_ctx): New.
25995
25996 2014-02-26 Carlos O'Donell <carlos@redhat.com>
25997
25998 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
25999
26000 * manual/ipc.texi: New file.
26001 * manual/Makefile (chapters): Add ipc.
26002 * manual/job.texi: Add "Inter-Process Communication" to next.
26003 * manual/process.texi: Add "Inter-Process Communication" to prev.
26004
26005 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26006
26007 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26008
26009 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
26010
26011 * malloc/malloc.c (__libc_calloc): Simplify implementation.
26012
26013 * manual/arith.texi: Fix spaces after sentences.
26014 * manual/charset.texi: Likewise.
26015 * manual/errno.texi: Likewise.
26016 * manual/install.texi: Likewise.
26017 * manual/llio.texi: Likewise.
26018 * manual/locale.texi: Likewise.
26019 * manual/maint.texi: Likewise.
26020 * manual/math.texi: Likewise.
26021 * manual/memory.texi: Likewise.
26022 * manual/message.texi: Likewise.
26023 * manual/probes.texi: Likewise.
26024 * manual/resource.texi: Likewise.
26025 * manual/signal.texi: Likewise.
26026 * manual/socket.texi: Likewise.
26027 * manual/stdio.texi: Likewise.
26028 * manual/string.texi: Likewise.
26029 * manual/time.texi: Likewise.
26030 * manual/users.texi: Likewise.
26031
26032 2014-02-25 Carlos O'Donell <carlos@redhat.com>
26033
26034 [BZ #16632]
26035 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
26036 _DEFAULT_SOURCE is defined.
26037
26038 2014-02-25 Ulrich Drepper <drepper@gmail.com>
26039 Carlos O'Donell <carlos@redhat.com>
26040
26041 [BZ #16613]
26042 * elf/dl-tls.c (_dl_count_modids): New function.
26043 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
26044 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
26045 audit library and increment generation counter.
26046 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
26047 * elf/tst-audit9.c: New file.
26048 * elf/tst-auditmod9a.c: New file.
26049 * elf/tst-auditmod9b.c: New file.
26050 * elf/Makefile: Add rules to build and run tst-audit9.
26051
26052 2014-02-25 Florian Weimer <fweimer@redhat.com>
26053
26054 [BZ #15347]
26055 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
26056
26057 2014-02-25 Will Newton <will.newton@linaro.org>
26058
26059 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
26060 (__longjmp): Restore sp and lr before restoring callee
26061 saved registers. Add longjmp and longjmp_target
26062 SystemTap probe point.
26063 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
26064 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
26065 Define to zero to match jmpbuf layout.
26066 * sysdeps/arm/setjmp.S: Include stap-probe.h.
26067 (__sigsetjmp): Save sp and lr before saving callee
26068 saved registers. Add setjmp SystemTap probe point.
26069
26070 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
26071
26072 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26073
26074 2014-02-24 Andreas Schwab <schwab@suse.de>
26075
26076 [BZ #15804]
26077 * elf/pldd.c (wait_for_ptrace_stop): New function.
26078 (main): Call it after attaching.
26079
26080 2014-02-22 Roland McGrath <roland@hack.frob.com>
26081
26082 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
26083 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
26084 Versions files is now verboten.
26085 * hurd/Versions (libc: GLIBC_2.0):
26086 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
26087 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
26088 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
26089 * mach/Versions: Likewise.
26090
26091 * csu/Versions: Remove unused %include.
26092 * resolv/Versions: Likewise.
26093
26094 2014-02-21 Joseph Myers <joseph@codesourcery.com>
26095
26096 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
26097 ($(objpfx)check-local-headers.out): Likewise.
26098 ($(objpfx)begin-end-check.out): Likewise.
26099 * Makerules (check-abi-%.out): Likewise.
26100 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
26101 ($(objpfx)test2.cat): Likewise.
26102 ($(objpfx)de/libc.cat): Likewise.
26103 ($(objpfx)test-gencat.out): Likewise.
26104 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
26105 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
26106 ($(objpfx)noload-mem): Likewise.
26107 ($(objpfx)tst-pathopt.out): Likewise.
26108 ($(objpfx)tst-rtld-load-self.out): Likewise.
26109 ($(objpfx)tst-array1-cmp.out): Likewise.
26110 ($(objpfx)tst-array1-static-cmp.out): Likewise.
26111 ($(objpfx)tst-array2-cmp.out): Likewise.
26112 ($(objpfx)tst-array3-cmp.out): Likewise.
26113 ($(objpfx)tst-array4-cmp.out): Likewise.
26114 ($(objpfx)tst-array5-cmp.out): Likewise.
26115 ($(objpfx)tst-array5-static-cmp.out): Likewise.
26116 ($(objpfx)check-textrel.out): Likewise.
26117 ($(objpfx)check-execstack.out): Likewise.
26118 ($(objpfx)check-localplt.out): Likewise.
26119 ($(objpfx)order2-cmp.out): Likewise.
26120 ($(objpfx)tst-leaks1-mem): Likewise.
26121 ($(objpfx)tst-leaks1-static-mem): Likewise.
26122 ($(objpfx)tst-initorder-cmp.out): Likewise.
26123 ($(objpfx)tst-initorder2-cmp.out): Likewise.
26124 ($(objpfx)tst-unused-dep.out): Likewise.
26125 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
26126 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
26127 * iconv/Makefile (test-iconvconfig): Likewise.
26128 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
26129 ($(objpfx)iconv-test.out): Likewise.
26130 ($(objpfx)tst-tables.out): Likewise.
26131 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
26132 ($(objpfx)tst-gettext.out): Likewise.
26133 ($(objpfx)tst-translit.out): Likewise.
26134 ($(objpfx)tst-gettext2.out): Likewise.
26135 ($(objpfx)tst-gettext4.out): Likewise.
26136 ($(objpfx)tst-gettext6.out): Likewise.
26137 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
26138 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
26139 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
26140 ($(objpfx)tst-fopenloc-mem.out): Likewise.
26141 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
26142 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
26143 * posix/Makefile ($(objpfx)globtest.out): Likewise.
26144 ($(objpfx)wordexp-tst.out): Likewise.
26145 ($(objpfx)annexc.out): Likewise.
26146 ($(objpfx)tst-fnmatch-mem): Likewise.
26147 ($(objpfx)bug-regex2-mem): Likewise.
26148 ($(objpfx)bug-regex14-mem): Likewise.
26149 ($(objpfx)bug-regex21-mem): Likewise.
26150 ($(objpfx)bug-regex31-mem): Likewise.
26151 ($(objpfx)tst-vfork3-mem): Likewise.
26152 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
26153 ($(objpfx)tst-pcre-mem): Likewise.
26154 ($(objpfx)tst-boost-mem): Likewise.
26155 ($(objpfx)tst-getconf.out): Likewise.
26156 ($(objpfx)bug-ga2-mem): Likewise.
26157 ($(objpfx)bug-glob2-mem): Likewise.
26158 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
26159 ($(objpfx)mtrace-tst-leaks2): Likewise.
26160 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
26161 ($(objpfx)tst-printf.out): Likewise.
26162 ($(objpfx)tst-setvbuf1.out): Likewise.
26163 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
26164 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
26165 ($(objpfx)tst-fmtmsg.out): Likewise.
26166 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
26167 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
26168
26169 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
26170 * bits/sigaction.h [__USE_MISC]: Likewise.
26171 * bits/waitstatus.h: Update #endif comments.
26172 * ctype/ctype.h: Likewise.
26173 * dirent/dirent.h: Likewise.
26174 [__USE_MISC]: Remove redundant conditionals.
26175 * grp/grp.h: Update #endif comments.
26176 [__USE_GNU]: Remove redundant conditionals.
26177 [__USE_MISC]: Likewise.
26178 * inet/netinet/in.h [__USE_GNU]: Likewise.
26179 * io/sys/stat.h [__USE_MISC]: Likewise.
26180 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
26181 * libio/bits/stdio.h: Update #endif comments.
26182 [__USE_MISC]: Remove redundant conditionals.
26183 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
26184 * libio/stdio.h: Update #endif comments.
26185 [__USE_MISC]: Remove redundant conditionals.
26186 * math/bits/math-finite.h [__USE_MISC]: Likewise.
26187 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
26188 * math/math.h: Update #else and #endif comments.
26189 [__USE_MISC]: Remove redundant conditionals.
26190 * misc/sys/uio.h: Update #endif comments.
26191 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
26192 * posix/glob.h [__USE_MISC]: Likewise.
26193 * posix/sys/types.h: Update #endif comments.
26194 [__USE_MISC]: Remove redundant conditionals.
26195 * posix/sys/wait.h: Update #endif comments.
26196 [__USE_MISC]: Remove redundant conditionals.
26197 * posix/unistd.h: Update #endif comments.
26198 [__USE_MISC]: Remove redundant conditionals.
26199 * pwd/pwd.h [__USE_GNU]: Likewise.
26200 [__USE_MISC]: Likewise.
26201 * resolv/netdb.h [__USE_GNU]: Likewise.
26202 * signal/signal.h: Update #endif comments.
26203 [__USE_MISC]: Remove redundant conditionals.
26204 * stdlib/stdlib.h: Update #else and #endif comments.
26205 [__USE_MISC]: Remove redundant conditionals.
26206 [__USE_GNU]: Likewise.
26207 * string/bits/string2.h [__USE_MISC]: Likewise.
26208 * string/string.h: Update #endif comments.
26209 [__USE_MISC]: Remove redundant conditionals.
26210 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
26211 Likewise.
26212 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
26213 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
26214 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
26215 Likewise.
26216 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
26217 Likewise.
26218 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
26219 comments.
26220 [__USE_MISC]: Remove redundant conditionals.
26221 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
26222 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
26223 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
26224 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
26225 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
26226 Likewise.
26227 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
26228 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
26229 Likewise.
26230 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
26231 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
26232 Likewise.
26233 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
26234 Likewise.
26235 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
26236 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
26237 Likewise.
26238 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
26239 Likewise.
26240 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
26241 * sysdeps/x86/bits/string.h: Update #endif comments.
26242 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
26243 conditionals.
26244 * time/sys/time.h: Update #endif comments.
26245 * time/time.h: Likewise.
26246 [__USE_MISC]: Remove redundant conditionals.
26247
26248 2014-02-21 Yury Gribov <y.gribov@samsung.com>
26249
26250 [BZ #16600]
26251 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
26252
26253 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
26254
26255 * Versions.def (librt): Add GLIBC_2.17.
26256
26257 2014-02-21 Adam Conrad <adconrad@0c3.net>
26258
26259 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
26260 synonym for _SYS_AUXV_H to allow direct inclusion.
26261 * sysdeps/sparc/bits/hwcap.h: Likewise.
26262 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
26263 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
26264 * sysdeps/sparc/sysdep.h: Likewise.
26265
26266 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26267
26268 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
26269
26270 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26271
26272 * benchtests/bench-strrchr.c: Print length instead of position.
26273
26274 2014-02-20 Joseph Myers <joseph@codesourcery.com>
26275
26276 [BZ #16611]
26277 * sysdeps/unix/sysv/linux/kernel-features.h
26278 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
26279 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
26280 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
26281 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
26282 Likewise.
26283 [__i386__ || __powerpc__ || __sh__ || __sparc__]
26284 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26285 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
26286 (__ASSUME_SENDMMSG): Define instead of using previous
26287 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
26288 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26289 (__ASSUME_SENDMMSG_SYSCALL): Define.
26290 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26291 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
26292 Likewise.
26293 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26294 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26295 Likewise.
26296 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26297 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26298 Likewise.
26299 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
26300 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
26301 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
26302 [__ASSUME_SENDMMSG]: Change conditionals to
26303 [__ASSUME_SENDMMSG_SOCKETCALL].
26304 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26305 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
26306 Define.
26307 * sysdeps/unix/sysv/linux/mips/kernel-features.h
26308 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
26309 Likewise.
26310 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
26311 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
26312 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
26313 [!__ASSUME_SENDMMSG]: Change conditional to
26314 [!__ASSUME_SENDMMSG_SOCKETCALL].
26315 * sysdeps/unix/sysv/linux/tile/kernel-features.h
26316 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26317 Define.
26318
26319 [BZ #16610]
26320 * sysdeps/unix/sysv/linux/kernel-features.h
26321 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
26322 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
26323 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
26324 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
26325 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26326 [__i386__ || __sparc__]
26327 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26328 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
26329 (__ASSUME_RECVMMSG): Define instead of using previous
26330 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
26331 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26332 (__ASSUME_RECVMMSG_SYSCALL): Define.
26333 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26334 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26335 Likewise.
26336 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26337 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26338 Likewise.
26339 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26340 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26341 Likewise.
26342 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
26343 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
26344 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
26345 [__ASSUME_RECVMMSG]: Change condition to
26346 [__ASSUME_RECVMMSG_SOCKETCALL].
26347 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26348 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26349 Define.
26350 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26351 * sysdeps/unix/sysv/linux/mips/kernel-features.h
26352 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26353 Likewise.
26354 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
26355 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
26356 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
26357 [!__ASSUME_RECVMMSG]: Change condition to
26358 [!__ASSUME_RECVMMSG_SOCKETCALL].
26359 * sysdeps/unix/sysv/linux/tile/kernel-features.h
26360 (__ASSUME_RECVMMSG_SYSCALL): Define.
26361
26362 [BZ #16609]
26363 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
26364 __powerpc__ || __s390__ || __sh__ || __sparc__]
26365 (__ASSUME_SOCKETCALL): Define.
26366 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
26367 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
26368 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
26369 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
26370 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26371 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
26372 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
26373 (__ASSUME_ACCEPT4): Define instead of using previous
26374 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
26375 __powerpc__ || __sparc__ || __s390__)] condition.
26376 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26377 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
26378 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
26379 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
26380 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
26381 [!__ASSUME_ACCEPT4]: Change condition to
26382 [!__ASSUME_ACCEPT4_SOCKETCALL].
26383 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26384 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
26385 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
26386 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26387 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
26388 __ASSUME_ACCEPT4_SYSCALL.
26389 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
26390 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
26391 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26392 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
26393 __ASSUME_ACCEPT4_SYSCALL.
26394 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
26395 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
26396 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
26397 [__ASSUME_ACCEPT4]: Change condition to
26398 [__ASSUME_ACCEPT4_SOCKETCALL].
26399 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26400 (__ASSUME_SOCKETCALL): Define.
26401 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
26402 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26403 (__ASSUME_SOCKETCALL): Define.
26404 (__ASSUME_ACCEPT4): Remove.
26405 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
26406 Define.
26407 * sysdeps/unix/sysv/linux/mips/kernel-features.h
26408 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
26409 Likewise.
26410 * sysdeps/unix/sysv/linux/tile/kernel-features.h
26411 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
26412
26413 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
26414 macro.
26415 (HWCAP_ARM_LPAE): Likewise.
26416 (HWCAP_ARM_EVTSTRM): Likewise.
26417 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
26418 Add vpfd32, lpae and evtstrm.
26419 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
26420 Increase to 22.
26421
26422 2014-02-19 Joseph Myers <joseph@codesourcery.com>
26423
26424 * math/auto-libm-test-in: Add tests of clog10.
26425 * math/auto-libm-test-out: Regenerated.
26426 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
26427 * sysdeps/i386/fpu/libm-test-ulps: Update.
26428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26429
26430 2014-02-18 Andreas Schwab <schwab@suse.de>
26431
26432 [BZ #16574]
26433 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
26434 Store non-zero if the second buffer was newly allocated.
26435 (send_dg): Likewise.
26436 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
26437 to send_vc and send_dg.
26438 (res_nsend): Pass NULL for ansp2_malloced.
26439 * resolv/res_query.c (__libc_res_nquery): Add parameter
26440 answerp2_malloced and pass it down to __libc_res_nsend.
26441 (res_nquery): Pass additional NULL to __libc_res_nquery.
26442 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
26443 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
26444 second answer buffer if answerp2_malloced was set.
26445 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
26446 (__libc_res_nquerydomain): Add parameter
26447 answerp2_malloced and pass it down to __libc_res_nquery.
26448 (res_nquerydomain): Pass additional NULL to
26449 __libc_res_nquerydomain.
26450 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
26451 additional NULL to __libc_res_nsend and __libc_res_nquery.
26452 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
26453 additional NULL to __libc_res_nsearch.
26454 (_nss_dns_gethostbyname4_r): Revert last change. Use new
26455 parameter of __libc_res_nsearch to check for separately allocated
26456 second buffer.
26457 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
26458 __libc_res_nquery.
26459 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
26460 additional NULL to __libc_res_nquery.
26461 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
26462 __libc_res_nsearch.
26463 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
26464 * include/resolv.h: Update prototypes of __libc_res_nquery,
26465 __libc_res_nsearch, __libc_res_nsend.
26466
26467 2014-02-18 Joseph Myers <joseph@codesourcery.com>
26468
26469 * math/auto-libm-test-in: Add tests of fma.
26470 * math/auto-libm-test-out: Regenerated.
26471 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
26472 (fma_towardzero_test_data): Likewise.
26473 (fma_downward_test_data): Likewise.
26474 (fma_upward_test_data): Likewise.
26475 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
26476 mpc_mode.
26477 (rounding_modes): Add values for new field.
26478 (func_calc_method): Add value mpfr_fff_f.
26479 (func_calc_desc): Add mpfr_fff_f union field.
26480 (test_function): Add field exact_args.
26481 (FUNC): Add macro argument EXACT_ARGS.
26482 (FUNC_mpfr_f_f): Update call to FUNC.
26483 (FUNC_mpfr_f_f): Likewise.
26484 (FUNC_mpfr_ff_f): Likewise.
26485 (FUNC_mpfr_if_f): Likewise.
26486 (FUNC_mpc_c_f): Likewise.
26487 (FUNC_mpc_c_c): Likewise.
26488 (test_functions): Add fma. Update calls to FUNC.
26489 (handle_input_arg): Add argument exact_args.
26490 (add_test): Update call to handle_input_arg.
26491 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
26492 (output_for_one_input_case): Update call to calc_generic_results.
26493 Recalculate exact zero results in each rounding mode.
26494
26495 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
26496 non-negative before setting low bit.
26497 * math/auto-libm-test-in: Mark one asin test possibly having
26498 spurious underflow.
26499 * math/auto-libm-test-out: Regenerated.
26500 * sysdeps/i386/fpu/libm-test-ulps: Update.
26501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26502
26503 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
26504
26505 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
26506 * sysdeps/unix/sysv/linux/microblaze: Move directory from
26507 ports/sysdeps/unix/sysv/linux/microblaze.
26508 * README: Add missing listing for microblaze*-*-linux-gnu.
26509
26510 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
26511
26512 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
26513 duplicate code
26514
26515 2014-02-16 Mike Frysinger <vapier@gentoo.org>
26516
26517 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
26518 * sysdeps/unix/sysv/linux/ia64: Move directory from
26519 ports/sysdeps/unix/sysv/linux/ia64.
26520 * README: Update listing for ia64-*-linux-gnu.
26521
26522 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
26523 Joseph Myers <joseph@codesourcery.com>
26524
26525 * Makeconfig (test-name): New variable.
26526 (evaluate-test): Likewise.
26527 * Makerules (do-test-clean): Remove .test-result files.
26528 (common-mostlyclean): Likewise.
26529 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
26530 * scripts/evaluate-test.sh: New file.
26531
26532 2014-02-14 Joseph Myers <joseph@codesourcery.com>
26533
26534 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
26535 separate $(objpfx)tst-fopenloc-cmp.out and
26536 $(objpfx)tst-fopenloc-mem.out targets.
26537 (tests): Update dependencies.
26538 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
26539 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
26540 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
26541 (tst-rxspencer-no-utf8-ARGS): New variable.
26542 (tst-rxspencer-no-utf8-ENV): Likewise.
26543 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
26544 instead of $(objpfx)tst-rxspencer-mem.
26545 ($(objpfx)tst-rxspencer-mem): Change target to
26546 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
26547 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
26548 * posix/tst-rxspencer-no-utf8.c: New file.
26549
26550 * elf/Makefile ($(objpfx)order.out): Remove rule.
26551 [$(run-built-tests) = yes] (tests): Depend on
26552 $(objpfx)order-cmp.out.
26553 ($(objpfx)order-cmp.out): New rule.
26554 [$(run-built-tests) = yes] (tests): Depend on
26555 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
26556 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
26557 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
26558 $(objpfx)tst-array5-static-cmp.out.
26559 ($(objpfx)tst-array1.out): Remove rule.
26560 ($(objpfx)tst-array1-cmp.out): New rule.
26561 ($(objpfx)tst-array1-static.out): Remove rule.
26562 ($(objpfx)tst-array1-static-cmp.out): New rule.
26563 ($(objpfx)tst-array2.out): Remove rule.
26564 ($(objpfx)tst-array2-cmp.out): New rule.
26565 ($(objpfx)tst-array3.out): Remove rule.
26566 ($(objpfx)tst-array3-cmp.out): New rule.
26567 ($(objpfx)tst-array4.out): Remove rule.
26568 ($(objpfx)tst-array4-cmp.out): New rule.
26569 ($(objpfx)tst-array5.out): Remove rule.
26570 ($(objpfx)tst-array5-cmp.out): New rule.
26571 ($(objpfx)tst-array5-static.out): Remove rule.
26572 ($(objpfx)tst-array5-static-cmp.out): New rule.
26573 [$(run-built-tests) = yes] (tests): Depend on
26574 $(objpfx)order2-cmp.out.
26575 ($(objpfx)order2.out): Remove rule.
26576 ($(objpfx)order2-cmp.out): New rule.
26577 ($(objpfx)tst-initorder.out): Remove rule.
26578 [$(run-built-tests) = yes] (tests): Depend on
26579 $(objpfx)tst-initorder-cmp.out.
26580 ($(objpfx)tst-initorder-cmp.out): New rule.
26581 ($(objpfx)tst-initorder2.out): Remove rule.
26582 [$(run-built-tests) = yes] (tests): Depend on
26583 $(objpfx)tst-initorder2-cmp.out.
26584 ($(objpfx)tst-initorder2-cmp.out): New rule.
26585 [$(run-built-tests) = yes] (tests): Depend on
26586 $(objpfx)tst-unused-dep-cmp.out.
26587 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
26588 ($(objpfx)tst-unused-dep-cmp.out): New rule.
26589 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
26590 on $(objpfx)tst-setvbuf1-cmp.out.
26591 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
26592 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
26593 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
26594 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
26595 ($(objpfx)tst-svc.out): Remove rule.
26596 ($(objpfx)tst-svc-cmp.out): New rule.
26597
26598 2014-02-13 Joseph Myers <joseph@codesourcery.com>
26599
26600 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
26601 * ctype/ctype.h [__USE_MISC]: Likewise.
26602 * dirent/dirent.h [__USE_MISC]: Likewise.
26603 * grp/grp.h [__USE_MISC]: Likewise.
26604 * io/fcntl.h [__USE_MISC]: Likewise.
26605 * io/sys/stat.h [__USE_MISC]: Likewise.
26606 * libio/stdio.h [__USE_MISC]: Likewise.
26607 * posix/unistd.h [__USE_MISC]: Likewise.
26608 * pwd/pwd.h [__USE_MISC]: Likewise.
26609 * stdlib.h [__USE_MISC]: Likewise.
26610 * string/bits/string2.h [__USE_MISC]: Likewise.
26611 * string/string.h [__USE_MISC]: Likewise.
26612 * time/time.h [__USE_MISC]: Likewise.
26613
26614 2014-02-13 Andreas Schwab <schwab@suse.de>
26615
26616 [BZ #16574]
26617 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
26618 second answer buffer if it was separately allocated.
26619
26620 2014-02-12 Joseph Myers <joseph@codesourcery.com>
26621
26622 * sysdeps/mips/math-tests.h: Include <features.h>.
26623 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
26624 (ROUNDING_TESTS_long_double): Do not define.
26625 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
26626 (EXCEPTION_TESTS_long_double): Likewise.
26627 * sysdeps/mips/mips64/libm-test-ulps: Update.
26628
26629 * include/features.h (__USE_BSD): Remove macro definitions.
26630 (__USE_SVID): Likewise.
26631 (_BSD_SOURCE): Likewise.
26632 (_SVID_SOURCE): Likewise.
26633 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
26634 from definition of _DEFAULT_SOURCE.
26635 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
26636 [_DEFAULT_SOURCE].
26637 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
26638 * bits/mman.h [__USE_BSD]: Likewise.
26639 * bits/termios.h [__USE_BSD]: Likewise.
26640 * bits/waitstatus.h [__USE_BSD]: Likewise.
26641 * ctype/ctype.h [__USE_SVID]: Likewise.
26642 * dirent/dirent.h [__USE_BSD]: Likewise.
26643 * grp/grp.h [__USE_SVID]: Likewise.
26644 [__USE_BSD]: Likewise.
26645 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
26646 * io/fcntl.h [__USE_BSD]: Likewise.
26647 * io/ftw.h [__USE_BSD]: Likewise.
26648 * io/sys/stat.h [__USE_BSD]: Likewise.
26649 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
26650 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
26651 * libio/stdio.h [__USE_SVID]: Likewise.
26652 [__USE_BSD]: Likewise.
26653 * math/math.h [__USE_SVID]: Likewise.
26654 [__USE_BSD]: Likewise.
26655 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
26656 * misc/bits/syslog.h [__USE_BSD]: Likewise.
26657 * misc/search.h [__USE_SVID]: Likewise.
26658 * misc/sys/mman.h [__USE_BSD]: Likewise.
26659 * misc/sys/syslog.h [__USE_BSD]: Likewise.
26660 * misc/sys/uio.h [__USE_BSD]: Likewise.
26661 * posix/bits/unistd.h [__USE_BSD]: Likewise.
26662 * posix/glob.h [__USE_BSD]: Likewise.
26663 * posix/regex.h [__USE_BSD]: Likewise.
26664 * posix/sys/types.h [__USE_BSD]: Likewise.
26665 [__USE_SVID]: Likewise.
26666 * posix/sys/utsname.h [__USE_SVID]: Likewise.
26667 * posix/sys/wait.h [__USE_BSD]: Likewise.
26668 [__USE_SVID]: Likewise.
26669 * posix/unistd.h [__USE_BSD]: Likewise.
26670 [__USE_SVID]: Likewise.
26671 * pwd/pwd.h [__USE_SVID]: Likewise.
26672 * resolv/netdb.h [__USE_BSD]: Likewise.
26673 * setjmp/setjmp.h [__USE_BSD]: Likewise.
26674 * signal/signal.h [__USE_BSD]: Likewise.
26675 [__USE_SVID]: Likewise.
26676 * socket/sys/socket.h [__USE_BSD]: Likewise.
26677 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
26678 * stdlib/stdlib.h [__USE_BSD]: Likewise.
26679 [__USE_SVID]: Likewise.
26680 * string/bits/string2.h [__USE_BSD]: Likewise.
26681 [__USE_SVID]: Likewise.
26682 * string/bits/string3.h [__USE_BSD]: Likewise.
26683 * string/endian.h [__USE_BSD]: Likewise.
26684 * string/string.h [__USE_SVID]: Likewise.
26685 [__USE_BSD]: Likewise.
26686 * string/strings.h [__USE_BSD]: Likewise.
26687 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
26688 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
26689 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
26690 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
26691 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
26692 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
26693 Likewise.
26694 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
26695 Likewise.
26696 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
26697 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
26698 Likewise.
26699 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
26700 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
26701 Likewise.
26702 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
26703 Likewise.
26704 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
26705 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
26706 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
26707 Likewise.
26708 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
26709 Likewise.
26710 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
26711 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
26712 * termios/termios.h [__USE_BSD]: Likewise.
26713 * time/sys/time.h [__USE_BSD]: Likewise.
26714 * time/time.h [__USE_BSD]: Likewise.
26715 [__USE_SVID]: Likewise.
26716
26717 * Makefile (subdir_targets): Remove subdir_lint.out.
26718
26719 * stdio-common/Makefile (do-tst-unbputc): Remove target.
26720 (do-tst-printf): Likewise.
26721 (tests): Depend directly on $(objpfx)tst-unbputc.out and
26722 $(objpfx)tst-printf.out.
26723
26724 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
26725
26726 * Makerules (check-abi-%): Change target to
26727 $(objpfx)check-abi-%.out.
26728 (check-abi target): Update dependencies.
26729 (check-abi-pattern variable): Redirect output of diff to $@.
26730 (check-abi variable): Likewise.
26731 * elf/Makefile (check-abi): Update dependencies.
26732
26733 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
26734 unused.
26735 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
26736 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
26737 subnormal range.
26738 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
26739 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
26740 value has largest subnormal exponent.
26741 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
26742 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
26743 * sysdeps/aarch64/soft-fp/sfp-machine.h
26744 (_FP_TININESS_AFTER_ROUNDING): New macro.
26745 * sysdeps/alpha/soft-fp/sfp-machine.h
26746 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26747 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26748 Likewise.
26749 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
26750 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26751 * sysdeps/mips/soft-fp/sfp-machine.h
26752 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26753 * sysdeps/powerpc/soft-fp/sfp-machine.h
26754 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26755 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26756 Likewise.
26757 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26758 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26759 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26760 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26761 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26762 Likewise.
26763
26764 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
26765
26766 [BZ #16545]
26767 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
26768 model 1.
26769
26770 2014-02-12 Richard Henderson <rth@redhat.com>
26771
26772 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
26773 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
26774 * sysdeps/unix/sysv/linux/alpha: Move directory from
26775 ports/sysdeps/unix/sysv/linux/alpha.
26776 * README: Update listing for alpha-*-linux-gnu.
26777
26778 2014-02-11 Joseph Myers <joseph@codesourcery.com>
26779
26780 * include/features.h: Update comment documenting feature test
26781 macros.
26782 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
26783 _DEFAULT_SOURCE.
26784 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
26785 (_SVID_SOURCE): Likewise.
26786 (_DEFAULT_SOURCE): Update description of default features.
26787 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
26788 with _GNU_SOURCE.
26789 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
26790 (S_ISVTX): Likewise.
26791 * manual/math.texi (Mathematical Constants): Likewise.
26792 * manual/signal.texi (Interrupted Primitives): Likewise.
26793 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
26794 * math/test-matherr.c (_SVID_SOURCE): Do not define.
26795 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
26796 Don't refer to _SVID_SOURCE in warning text.
26797
26798 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26799
26800 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
26801 already defined.
26802 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
26803 * sysdeps/mips/dl-lookup.c: Remove.
26804 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
26805
26806 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
26807
26808 [BZ #16447]
26809 * math/auto-libm-test-in: Add testcase for expl.
26810 * math/auto-libm-test-out: Regenerate.
26811 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
26812 calculation of unsafe.
26813 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
26814
26815 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
26816
26817 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
26818 * sysdeps/unix/sysv/linux/aarch64: Move directory from
26819 ports/sysdeps/unix/sysv/linux/aarch64.
26820 * README: Update listing for aarch64*-*-linux-gnu.
26821
26822 2014-02-11 Will Newton <will.newton@linaro.org>
26823
26824 * manual/probes.texi (Mathematical Function Probes): Use
26825 "triggered" instead of "hit".
26826
26827 * manual/probes.texi (Internal Probes): Add documentation
26828 of setjmp, longjmp and longjmp_target probes.
26829
26830 * include/stap-probe.h: Add comment about probe argument
26831 format.
26832
26833 * malloc/mtrace.c (attribute_hidden): Remove unused macro
26834 definition. (tr_where, tr_freehook, tr_mallochook,
26835 tr_reallochook, tr_memalignhook): Use ANSI protoype.
26836
26837 2014-02-11 David S. Miller <davem@davemloft.net>
26838
26839 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
26840 processing int_tests.
26841
26842 2014-02-10 Joseph Myers <joseph@codesourcery.com>
26843
26844 * sysdeps/mips: Move directory from ports/sysdeps/mips.
26845 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
26846 * sysdeps/unix/sysv/linux/mips: Move directory from
26847 ports/sysdeps/unix/sysv/linux/mips.
26848 * README: Update listing for mips-*-linux-gnu and
26849 mips64-*-linux-gnu.
26850
26851 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
26852
26853 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
26854 * sysdeps/unix/sysv/linux/m68k: Move directory from
26855 ports/sysdeps/unix/sysv/linux/m68k.
26856 * README: Update listing for m68k-*-linux-gnu.
26857
26858 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
26859
26860 * sysdeps/tile: Move directory from ports/sysdeps/tile.
26861 * sysdeps/unix/sysv/linux/generic: Move directory from
26862 ports/sysdeps/unix/sysv/linux/generic.
26863 * sysdeps/unix/sysv/linux/tile: Move directory from
26864 ports/sysdeps/unix/sysv/linux/tile.
26865 * README: Update listing for tile*-*-linux-gnu.
26866
26867 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
26868
26869 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
26870 __builtin_expect.
26871 * benchtests/bench-memmem.c (simple_memmem): Likewise.
26872 * catgets/open_catalog.c (__open_catalog): Likewise.
26873 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
26874 * debug/confstr_chk.c: Likewise.
26875 * debug/fread_chk.c (__fread_chk): Likewise.
26876 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
26877 * debug/getgroups_chk.c: Likewise.
26878 * debug/mbsnrtowcs_chk.c: Likewise.
26879 * debug/mbsrtowcs_chk.c: Likewise.
26880 * debug/mbstowcs_chk.c: Likewise.
26881 * debug/memcpy_chk.c: Likewise.
26882 * debug/memmove_chk.c: Likewise.
26883 * debug/mempcpy_chk.c: Likewise.
26884 * debug/memset_chk.c: Likewise.
26885 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26886 * debug/strcat_chk.c (__strcat_chk): Likewise.
26887 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
26888 * debug/strncat_chk.c (__strncat_chk): Likewise.
26889 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
26890 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
26891 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
26892 * debug/wcpncpy_chk.c: Likewise.
26893 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26894 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
26895 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
26896 * debug/wcsncpy_chk.c: Likewise.
26897 * debug/wcsnrtombs_chk.c: Likewise.
26898 * debug/wcsrtombs_chk.c: Likewise.
26899 * debug/wcstombs_chk.c: Likewise.
26900 * debug/wmemcpy_chk.c: Likewise.
26901 * debug/wmemmove_chk.c: Likewise.
26902 * debug/wmempcpy_chk.c: Likewise.
26903 * debug/wmemset_chk.c: Likewise.
26904 * dirent/scandirat.c (SCANDIRAT): Likewise.
26905 * dlfcn/dladdr1.c (dladdr1): Likewise.
26906 * dlfcn/dladdr.c (dladdr): Likewise.
26907 * dlfcn/dlclose.c (dlclose_doit): Likewise.
26908 * dlfcn/dlerror.c (__dlerror): Likewise.
26909 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
26910 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
26911 * dlfcn/dlopen.c (dlopen_doit): Likewise.
26912 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
26913 * dlfcn/dlsym.c (dlsym_doit): Likewise.
26914 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
26915 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
26916 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
26917 Likewise.
26918 * elf/dl-conflict.c: Likewise.
26919 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
26920 * elf/dl-dst.h: Likewise.
26921 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
26922 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
26923 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
26924 * elf/dl-init.c (call_init, _dl_init): Likewise.
26925 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
26926 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
26927 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
26928 Likewise.
26929 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
26930 Likewise.
26931 * elf/dl-minimal.c (__libc_memalign): Likewise.
26932 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
26933 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26934 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
26935 * elf/dl-sym.c (do_sym): Likewise.
26936 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
26937 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
26938 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
26939 * elf/dl-writev.h (_dl_writev): Likewise.
26940 * elf/ldconfig.c (search_dir): Likewise.
26941 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
26942 (dl_main): Likewise.
26943 * elf/setup-vdso.h (setup_vdso): Likewise.
26944 * grp/compat-initgroups.c (compat_call): Likewise.
26945 * grp/fgetgrent.c (fgetgrent): Likewise.
26946 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
26947 * grp/putgrent.c (putgrent): Likewise.
26948 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26949 Likewise.
26950 * hurd/hurdinit.c: Likewise.
26951 * iconvdata/8bit-gap.c (struct): Likewise.
26952 * iconvdata/ansi_x3.110.c : Likewise.
26953 * iconvdata/big5.c : Likewise.
26954 * iconvdata/big5hkscs.c : Likewise.
26955 * iconvdata/cp1255.c: Likewise.
26956 * iconvdata/cp1258.c : Likewise.
26957 * iconvdata/cp932.c : Likewise.
26958 * iconvdata/euc-cn.c: Likewise.
26959 * iconvdata/euc-jisx0213.c : Likewise.
26960 * iconvdata/euc-jp.c: Likewise.
26961 * iconvdata/euc-jp-ms.c : Likewise.
26962 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
26963 * iconvdata/gb18030.c : Likewise.
26964 * iconvdata/gbbig5.c (const): Likewise.
26965 * iconvdata/gbgbk.c: Likewise.
26966 * iconvdata/gbk.c : Likewise.
26967 * iconvdata/ibm1364.c : Likewise.
26968 * iconvdata/ibm930.c : Likewise.
26969 * iconvdata/ibm932.c: Likewise.
26970 * iconvdata/ibm933.c : Likewise.
26971 * iconvdata/ibm935.c : Likewise.
26972 * iconvdata/ibm937.c : Likewise.
26973 * iconvdata/ibm939.c : Likewise.
26974 * iconvdata/ibm943.c: Likewise.
26975 * iconvdata/iso_11548-1.c: Likewise.
26976 * iconvdata/iso-2022-cn.c : Likewise.
26977 * iconvdata/iso-2022-cn-ext.c : Likewise.
26978 * iconvdata/iso-2022-jp-3.c: Likewise.
26979 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
26980 * iconvdata/iso-2022-kr.c : Likewise.
26981 * iconvdata/iso646.c (gconv_end): Likewise.
26982 * iconvdata/iso_6937-2.c : Likewise.
26983 * iconvdata/iso_6937.c : Likewise.
26984 * iconvdata/iso8859-1.c: Likewise.
26985 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
26986 * iconvdata/shift_jisx0213.c : Likewise.
26987 * iconvdata/sjis.c : Likewise.
26988 * iconvdata/t.61.c : Likewise.
26989 * iconvdata/tcvn5712-1.c : Likewise.
26990 * iconvdata/tscii.c: Likewise.
26991 * iconvdata/uhc.c : Likewise.
26992 * iconvdata/unicode.c (gconv_end): Likewise.
26993 * iconvdata/utf-16.c (gconv_end): Likewise.
26994 * iconvdata/utf-32.c (gconv_end): Likewise.
26995 * iconvdata/utf-7.c (base64): Likewise.
26996 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
26997 * iconv/gconv_close.c (__gconv_close): Likewise.
26998 * iconv/gconv_open.c (__gconv_open): Likewise.
26999 * iconv/gconv_simple.c (internal_ucs4_loop_single)
27000 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
27001 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
27002 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
27003 (ucs4le_internal_loop_single): Likewise.
27004 * iconv/iconv.c (iconv): Likewise.
27005 * iconv/iconv_close.c: Likewise.
27006 * iconv/loop.c (SINGLE): Likewise.
27007 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
27008 * include/atomic.h: Likewise.
27009 * inet/inet6_option.c (option_alloc): Likewise.
27010 * intl/bindtextdom.c (set_binding_values): Likewise.
27011 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
27012 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
27013 * intl/localealias.c (read_alias_file): Likewise.
27014 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
27015 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
27016 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
27017 * libio/fmemopen.c (fmemopen): Likewise.
27018 * libio/iofgets.c (_IO_fgets): Likewise.
27019 * libio/iofgets_u.c (fgets_unlocked): Likewise.
27020 * libio/iofgetws.c (fgetws): Likewise.
27021 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
27022 * libio/iogetdelim.c (_IO_getdelim): Likewise.
27023 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
27024 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
27025 * locale/findlocale.c (_nl_find_locale): Likewise.
27026 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
27027 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
27028 Likewise.
27029 * locale/setlocale.c (setlocale): Likewise.
27030 * login/programs/pt_chown.c (main): Likewise.
27031 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
27032 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
27033 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
27034 (mmap, mmap64, mremap, munmap): Likewise.
27035 * math/e_exp2l.c: Likewise.
27036 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
27037 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
27038 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
27039 * math/s_catan.c (__catan): Likewise.
27040 * math/s_catanf.c (__catanf): Likewise.
27041 * math/s_catanh.c (__catanh): Likewise.
27042 * math/s_catanhf.c (__catanhf): Likewise.
27043 * math/s_catanhl.c (__catanhl): Likewise.
27044 * math/s_catanl.c (__catanl): Likewise.
27045 * math/s_ccosh.c (__ccosh): Likewise.
27046 * math/s_ccoshf.c (__ccoshf): Likewise.
27047 * math/s_ccoshl.c (__ccoshl): Likewise.
27048 * math/s_cexp.c (__cexp): Likewise.
27049 * math/s_cexpf.c (__cexpf): Likewise.
27050 * math/s_cexpl.c (__cexpl): Likewise.
27051 * math/s_clog10.c (__clog10): Likewise.
27052 * math/s_clog10f.c (__clog10f): Likewise.
27053 * math/s_clog10l.c (__clog10l): Likewise.
27054 * math/s_clog.c (__clog): Likewise.
27055 * math/s_clogf.c (__clogf): Likewise.
27056 * math/s_clogl.c (__clogl): Likewise.
27057 * math/s_csin.c (__csin): Likewise.
27058 * math/s_csinf.c (__csinf): Likewise.
27059 * math/s_csinh.c (__csinh): Likewise.
27060 * math/s_csinhf.c (__csinhf): Likewise.
27061 * math/s_csinhl.c (__csinhl): Likewise.
27062 * math/s_csinl.c (__csinl): Likewise.
27063 * math/s_csqrt.c (__csqrt): Likewise.
27064 * math/s_csqrtf.c (__csqrtf): Likewise.
27065 * math/s_csqrtl.c (__csqrtl): Likewise.
27066 * math/s_ctan.c (__ctan): Likewise.
27067 * math/s_ctanf.c (__ctanf): Likewise.
27068 * math/s_ctanh.c (__ctanh): Likewise.
27069 * math/s_ctanhf.c (__ctanhf): Likewise.
27070 * math/s_ctanhl.c (__ctanhl): Likewise.
27071 * math/s_ctanl.c (__ctanl): Likewise.
27072 * math/w_pow.c: Likewise.
27073 * math/w_powf.c: Likewise.
27074 * math/w_powl.c: Likewise.
27075 * math/w_scalb.c (sysv_scalb): Likewise.
27076 * math/w_scalbf.c (sysv_scalbf): Likewise.
27077 * math/w_scalbl.c (sysv_scalbl): Likewise.
27078 * misc/error.c (error_tail): Likewise.
27079 * misc/pselect.c (__pselect): Likewise.
27080 * nis/nis_callback.c (__nis_create_callback): Likewise.
27081 * nis/nis_call.c (__nisfind_server): Likewise.
27082 * nis/nis_creategroup.c (nis_creategroup): Likewise.
27083 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
27084 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
27085 * nis/nis_getservlist.c (nis_getservlist): Likewise.
27086 * nis/nis_lookup.c (nis_lookup): Likewise.
27087 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
27088 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
27089 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
27090 * nis/nis_xdr.c (xdr_endpoint): Likewise.
27091 * nis/nss_compat/compat-grp.c (getgrent_next_file)
27092 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
27093 * nis/nss_compat/compat-initgroups.c (add_group)
27094 (internal_getgrent_r): Likewise.
27095 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
27096 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
27097 * nis/nss_compat/compat-spwd.c (getspent_next_file)
27098 (internal_getspnam_r): Likewise.
27099 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
27100 (_nss_nis_getaliasbyname_r): Likewise.
27101 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
27102 (_nss_nis_getntohost_r): Likewise.
27103 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
27104 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
27105 (_nss_nis_getgrgid_r): Likewise.
27106 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
27107 (internal_nis_gethostent_r, internal_gethostbyname2_r)
27108 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
27109 (_nss_nis_gethostbyname4_r): Likewise.
27110 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
27111 (initgroups_netid): Likewise.
27112 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
27113 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
27114 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
27115 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
27116 (_nss_nis_getprotobynumber_r): Likewise.
27117 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
27118 (_nss_nis_getsecretkey): Likewise.
27119 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
27120 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
27121 (_nss_nis_getpwuid_r): Likewise.
27122 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
27123 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
27124 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
27125 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
27126 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
27127 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
27128 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
27129 Likewise.
27130 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
27131 (_nss_nisplus_getntohost_r): Likewise.
27132 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
27133 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
27134 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
27135 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
27136 Likewise.
27137 * nis/nss_nisplus/nisplus-initgroups.c
27138 (_nss_nisplus_initgroups_dyn): Likewise.
27139 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
27140 (_nss_nisplus_getnetbyaddr_r): Likewise.
27141 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
27142 (_nss_nisplus_getprotobynumber_r): Likewise.
27143 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
27144 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
27145 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
27146 Likewise.
27147 * nis/nss_nisplus/nisplus-service.c
27148 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
27149 (_nss_nisplus_getservbyport_r): Likewise.
27150 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
27151 (_nss_nisplus_getspnam_r): Likewise.
27152 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
27153 Likewise.
27154 * nscd/aicache.c (addhstaiX): Likewise.
27155 * nscd/cache.c (cache_search, prune_cache): Likewise.
27156 * nscd/connections.c (register_traced_file, send_ro_fd)
27157 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
27158 (main_loop_epoll): Likewise.
27159 * nscd/grpcache.c (addgrbyX): Likewise.
27160 * nscd/hstcache.c (addhstbyX): Likewise.
27161 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27162 * nscd/mem.c (gc, mempool_alloc): Likewise.
27163 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
27164 (addinnetgrX): Likewise.
27165 * nscd/nscd-client.h (__nscd_acquire_maplock)
27166 (__nscd_drop_map_ref): Likewise.
27167 * nscd/nscd_getai.c (__nscd_getai): Likewise.
27168 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27169 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
27170 Likewise.
27171 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
27172 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27173 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
27174 (__nscd_get_map_ref): Likewise.
27175 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
27176 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
27177 Likewise.
27178 * nscd/pwdcache.c (addpwbyX): Likewise.
27179 * nscd/selinux.c (preserve_capabilities): Likewise.
27180 * nscd/servicescache.c (addservbyX): Likewise.
27181 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
27182 * posix/fnmatch.c (fnmatch): Likewise.
27183 * posix/getopt.c (_getopt_internal_r): Likewise.
27184 * posix/glob.c (glob, glob_in_dir): Likewise.
27185 * posix/wordexp.c (exec_comm_child): Likewise.
27186 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
27187 (getanswer_r, gaih_getanswer_slice): Likewise.
27188 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
27189 * resolv/res_init.c: Likewise.
27190 * resolv/res_mkquery.c (res_nmkquery): Likewise.
27191 * resolv/res_query.c (__libc_res_nquery): Likewise.
27192 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
27193 Likewise.
27194 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
27195 * stdio-common/perror.c (perror): Likewise.
27196 * stdio-common/printf_fp.c (___printf_fp): Likewise.
27197 * stdio-common/tmpnam.c (tmpnam): Likewise.
27198 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27199 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
27200 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
27201 Likewise.
27202 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
27203 * stdlib/putenv.c (putenv): Likewise.
27204 * stdlib/setenv.c (__add_to_environ): Likewise.
27205 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27206 * stdlib/strtol_l.c (INTERNAL): Likewise.
27207 * string/memmem.c (memmem): Likewise.
27208 * string/strerror.c (strerror): Likewise.
27209 * string/strnlen.c (__strnlen): Likewise.
27210 * string/test-memmem.c (simple_memmem): Likewise.
27211 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
27212 * sunrpc/pm_getport.c (__get_socket): Likewise.
27213 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
27214 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
27215 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
27216 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
27217 Likewise.
27218 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
27219 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
27220 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
27221 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
27222 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
27223 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
27224 Likewise.
27225 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
27226 Likewise.
27227 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27228 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27229 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27230 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
27231 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
27232 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
27233 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
27234 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
27235 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
27236 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
27237 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27238 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
27239 Likewise.
27240 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
27241 Likewise.
27242 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
27243 Likewise.
27244 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
27245 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27246 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
27247 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
27248 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
27249 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
27250 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27251 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
27252 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
27253 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
27254 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
27255 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27256 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27257 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
27258 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27259 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
27260 Likewise.
27261 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
27262 Likewise.
27263 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
27264 Likewise.
27265 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
27266 Likewise.
27267 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27268 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27269 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
27270 Likewise.
27271 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
27272 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
27273 * sysdeps/posix/opendir.c (__opendirat): Likewise.
27274 * sysdeps/posix/sleep.c: Likewise.
27275 * sysdeps/posix/tempname.c: Likewise.
27276 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
27277 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27278 Likewise.
27279 * sysdeps/powerpc/powerpc32/dl-machine.h
27280 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
27281 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27282 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27283 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
27284 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
27285 Likewise.
27286 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
27287 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
27288 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
27289 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
27290 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
27291 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
27292 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
27293 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
27294 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27295 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
27296 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
27297 (elf_machine_lazy_rel): Likewise.
27298 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
27299 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
27300 (elf_machine_lazy_rel): Likewise.
27301 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
27302 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
27303 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
27304 * sysdeps/unix/grantpt.c (grantpt): Likewise.
27305 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
27306 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
27307 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
27308 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27309 Likewise.
27310 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
27311 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
27312 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
27313 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
27314 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27315 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27316 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
27317 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
27318 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
27319 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27320 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27321 Likewise.
27322 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
27323 (__posix_fallocate64_l64): Likewise.
27324 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
27325 (posix_fallocate): Likewise.
27326 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
27327 Likewise.
27328 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27329 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
27330 (getifaddrs_internal): Likewise.
27331 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
27332 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
27333 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
27334 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
27335 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27336 (__posix_fallocate64_l64): Likewise.
27337 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
27338 Likewise.
27339 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
27340 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
27341 (__get_clockfreq): Likewise.
27342 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
27343 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
27344 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
27345 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27346 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27347 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
27348 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
27349 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
27350 Likewise.
27351 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
27352 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
27353 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27354 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
27355 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27356 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
27357 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
27358 Likewise.
27359 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27360 (posix_fallocate): Likewise.
27361 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27362 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
27363 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
27364 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
27365 (elf_machine_rela, elf_machine_rela_relative)
27366 (elf_machine_lazy_rel): Likewise.
27367 * time/asctime.c (asctime_internal): Likewise.
27368 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
27369 * time/tzset.c (__tzset_parse_tz): Likewise.
27370 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27371 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
27372 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
27373 * wcsmbs/wcsmbsload.h: Likewise.
27374
27375 [BZ #15894]
27376 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
27377
27378 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
27379 (arena_get2): Remove THREAD_STATS conditionals.
27380 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
27381 (__malloc_stats, int): Likewise.
27382
27383 2014-02-08 Mike Frysinger <vapier@gentoo.org>
27384
27385 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
27386 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
27387
27388 * manual/setjmp.texi: Fix typos/grammar errors.
27389
27390 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
27391 Only return early when n is <= 0. Delete unused return statement.
27392
27393 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
27394 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
27395 * debug/tst-longjmp_chk3.c: New file.
27396
27397 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
27398 (test_main): Replace code with set_fortify_handler call.
27399 * debug/test-strcpy_chk.c: Likewise.
27400 * debug/tst-chk1.c: Likewise.
27401 * debug/tst-longjmp_chk.c: Likewise.
27402 * test-skeleton.c: Include fcntl.h & paths.h
27403 (set_fortify_handler): Define.
27404
27405 * debug/tst-longjmp_chk.c: Add header comment and include
27406 ../test-skeleton.c.
27407 (do_test): Mark static.
27408 (TEST_FUNCTION): Define.
27409
27410 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
27411 (IP_PMTUDISC_INTERFACE): Likewise.
27412 (IP_MULTICAST_IF): Likewise.
27413 (IP_MULTICAST_TTL): Likewise.
27414 (IP_MULTICAST_LOOP): Likewise.
27415 (IP_ADD_MEMBERSHIP): Likewise.
27416 (IP_DROP_MEMBERSHIP): Likewise.
27417 (IP_UNBLOCK_SOURCE): Likewise.
27418 (IP_BLOCK_SOURCE): Likewise.
27419 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
27420 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
27421 (IP_MSFILTER): Likewise.
27422 (MCAST_JOIN_GROUP): Likewise.
27423 (MCAST_BLOCK_SOURCE): Likewise.
27424 (MCAST_UNBLOCK_SOURCE): Likewise.
27425 (MCAST_LEAVE_GROUP): Likewise.
27426 (MCAST_JOIN_SOURCE_GROUP): Likewise.
27427 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
27428 (MCAST_MSFILTER): Likewise.
27429 (IP_MULTICAST_ALL): Likewise.
27430 (IP_UNICAST_IF): Likewise.
27431
27432 * timezone/Makefile: Delete $(have-ksh) check.
27433 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
27434 * timezone/tzselect.ksh: Add +x mode bits.
27435
27436 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
27437 (ANON_INODE_FS_MAGIC): Likewise.
27438 (BDEVFS_MAGIC): Likewise.
27439 (BINFMTFS_MAGIC): Likewise.
27440 (BTRFS_TEST_MAGIC): Likewise.
27441 (CRAMFS_MAGIC_WEND): Likewise.
27442 (DEBUGFS_MAGIC): Likewise.
27443 (ECRYPTFS_SUPER_MAGIC): Likewise.
27444 (EXT3_SUPER_MAGIC): Likewise.
27445 (EXT4_SUPER_MAGIC): Likewise.
27446 (FUTEXFS_SUPER_MAGIC): Likewise.
27447 (HOSTFS_SUPER_MAGIC): Likewise.
27448 (HUGETLBFS_MAGIC): Likewise.
27449 (MINIX3_SUPER_MAGIC): Likewise.
27450 (MTD_INODE_FS_MAGIC): Likewise.
27451 (NILFS_SUPER_MAGIC): Likewise.
27452 (OPENPROM_SUPER_MAGIC): Likewise.
27453 (PIPEFS_MAGIC): Likewise.
27454 (PSTOREFS_MAGIC): Likewise.
27455 (QNX6_SUPER_MAGIC): Likewise.
27456 (RAMFS_MAGIC): Likewise.
27457 (REISERFS_SUPER_MAGIC_STRING): Likewise.
27458 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
27459 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
27460 (SECURITYFS_MAGIC): Likewise.
27461 (SELINUX_MAGIC): Likewise.
27462 (SMACK_MAGIC): Likewise.
27463 (SOCKFS_MAGIC): Likewise.
27464 (SQUASHFS_MAGIC): Likewise.
27465 (STACK_END_MAGIC): Likewise.
27466 (TMPFS_MAGIC): Likewise.
27467 (USBDEVICE_SUPER_MAGIC): Likewise.
27468 (V9FS_MAGIC): Likewise.
27469 (XENFS_SUPER_MAGIC): Likewise.
27470 (CRAMFS_MAGIC): Fix typo in comment.
27471 (EXT2_SUPER_MAGIC): Update comment.
27472 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
27473
27474 2014-02-08 Joseph Myers <joseph@codesourcery.com>
27475
27476 * sysdeps/arm: Move directory from ports/sysdeps/arm.
27477 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
27478 * sysdeps/unix/sysv/linux/arm: Move directory from
27479 ports/sysdeps/unix/sysv/linux/arm.
27480 * README: Update listing for arm-*-linux-gnueabi.
27481
27482 * README: Remove mention of am33.
27483
27484 2014-02-07 Roland McGrath <roland@hack.frob.com>
27485
27486 * bits/sigset.h (__sigemptyset): Use a statement expression rather
27487 than the comma operator, to avoid "rhs of comma has no effect"
27488 compiler warnings.
27489 (__sigfillset, __sigandset, __sigorset): Likewise.
27490 * include/signal.h (__sigemptyset): Likewise.
27491 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
27492
27493 2014-02-07 Allan McRae <allan@archlinux.org>
27494
27495 * version.h (RELEASE): Set to "development".
27496 (VERSION): Set to "2.19.90"
27497 * NEWS: Add 2.20 section.
27498
27499 2014-02-06 Carlos O'Donell <carlos@redhat.com>
27500
27501 [BZ #16529]
27502 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
27503
27504 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27505
27506 * manual/contrib.texi: Update entry for Carlos O'Donell,
27507 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
27508
27509 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
27510
27511 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
27512
27513 * sysdeps/unix/sysv/linux/kernel-features.h
27514 [__LINUX_KERNEL_VERSION >= 0x020621]
27515 (__ASSUME_PROC_PID_TASK_COMM): Define.
27516
27517 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27518
27519 [BZ #16398]
27520 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
27521 conversion when destination buffer does not have enough space.
27522 * libio/tst-ftell-partial-wide.c: New test case.
27523 * libio/Makefile (tests): Add tst-ftell-partial-wide.
27524
27525 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
27526 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
27527 Leonard and Allan McRae.
27528
27529 2014-02-04 David S. Miller <davem@davemloft.net>
27530
27531 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
27532 32-bit.
27533
27534 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27535
27536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
27537 New file
27538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
27539 New file
27540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
27541 New file.
27542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
27543 New file.
27544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
27545 New file.
27546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
27547 New file.
27548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
27549 New file.
27550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
27551 New file.
27552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
27553 New file.
27554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
27555 New file.
27556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
27557 New file.
27558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
27559 New file.
27560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
27561 New file.
27562
27563 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27564
27565 * nptl/shlib-versions: Change powerpc*le start to 2.17.
27566 * shlib-versions: Likewise.
27567
27568 2014-02-04 Roland McGrath <roland@hack.frob.com>
27569 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27570
27571 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
27572 (abilist-pattern): New variable, set to %-le.abilist.
27573
27574 * Makerules (abilist-pattern): New variable.
27575 (vpath): Use $(abilist-pattern) in place of %.abilist.
27576 (check-abi-% pattern rule): Likewise.
27577 (check-abi, update-abi): Likewise.
27578
27579 2014-02-04 Eric Wong <normalperson@yhbt.net>
27580
27581 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27582
27583 2014-02-03 Carlos O'Donell <carlos@redhat.com>
27584
27585 * manual/startup.texi: Add next, previous, and top entries for
27586 the `Program Arguments' and `Environment Variables' nodes.
27587
27588 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
27589
27590 * manual/macros.texi: Add comments before MTASC-safety macros.
27591
27592 * manual/users.texi: Document MTASC-safety properties.
27593
27594 * manual/threads.texi (pthread_key_create, pthread_key_delete)
27595 (pthread_getspecific, pthread_setspecific): Format with
27596 @deftypefun, and add @safety note.
27597 * manual/signal.texi: Move comments that analyze the above
27598 functions to their home place.
27599
27600 2014-02-03 Allan McRae <allan@archlinux.org>
27601
27602 * po/sl.po: Update Slovenian translation from translation project.
27603
27604 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
27605
27606 * manual/time.texi (timegm): Add missing blank after @c.
27607 Reported by Joseph Myers <joseph@codesourcery.com>.
27608
27609 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
27610
27611 * manual/check-safety.sh: New.
27612 * manual/Makefile ($(objpfx)stamp-summary): Run it.
27613
27614 * manual/terminal.texi: Document MTASC-safety properties.
27615
27616 * manual/filesys.texi: Document MTASC-safety properties.
27617
27618 * manual/errno.texi: Document MTASC-safety properties.
27619
27620 * manual/intro.texi: Document safety identifiers and
27621 conditionals.
27622
27623 * manual/string.texi (wcstok): Fix prototype.
27624 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
27625
27626 * manual/time.texi: Document MTASC-safety properties.
27627
27628 * manual/string.texi: Document MTASC-safety properties.
27629
27630 * manual/threads.texi: Document MTASC-safety properties.
27631
27632 * manual/stdio.texi: Document MTASC-safety properties.
27633
27634 * manual/syslog.texi: Document MTASC-safety properties.
27635
27636 * manual/sysinfo.texi: Document MTASC-safety properties.
27637
27638 * manual/startup.texi: Document MTASC-safety properties.
27639
27640 * manual/socket.texi: Document MTASC-safety properties.
27641
27642 * manual/signal.texi: Document MTASC-safety properties.
27643
27644 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
27645
27646 * manual/setjmp.texi: Document MTASC-safety properties.
27647
27648 * manual/search.texi: Document MTASC-safety properties.
27649
27650 * manual/resource.texi: Document MTASC-safety properties.
27651
27652 * manual/process.texi: Document MTASC-safety properties.
27653
27654 * manual/platform.texi: Document MTASC-safety properties.
27655
27656 * manual/pipe.texi: Document MTASC-safety properties.
27657
27658 * manual/pattern.texi: Document MTASC-safety properties.
27659
27660 * manual/message.texi: Document MTASC-safety properties.
27661
27662 [BZ #12751]
27663 * manual/memory.texi: Document MTASC-safety properties.
27664
27665 * manual/math.texi: Document MTASC-safety properties.
27666
27667 * manual/locale.texi: Document MTASC-safety properties.
27668
27669 * manual/llio.texi: Document MTASC-safety properties.
27670
27671 * manual/libdl.texi: New.
27672
27673 * manual/lang.texi: Document MTASC-safety properties.
27674
27675 * manual/job.texi: Document MTASC-safety properties.
27676
27677 * manual/getopt.texi: Document MTASC-safety properties.
27678
27679 * manual/ctype.texi: Document MTASC-safety properties.
27680
27681 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
27682
27683 [BZ #16046]
27684 * csu/libc-tls.c (static_map): Remove variable.
27685 (__libc_setup_tls): Use main executable's link map for TLS data.
27686 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
27687 casing for LM_ID_BASE and GL(dl_nns).
27688 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
27689 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
27690 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
27691 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
27692 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
27693 member.
27694 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
27695 l_phnum members.
27696
27697 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
27698
27699 * manual/debug.texi: Document MTASC-safety properties.
27700
27701 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
27702
27703 [BZ #16510]
27704 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
27705 of __x86_64__ when disabling x87 inline functions.
27706
27707 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
27708
27709 * manual/charset.texi: Document MTASC-safety properties.
27710
27711 * manual/crypt.texi: Document MTASC-safety properties.
27712
27713 * manual/conf.texi: Document MTASC-safety properties.
27714
27715 * manual/arith.texi: Document MTASC-safety properties.
27716
27717 * manual/argp.texi: Document MTASC-safety properties.
27718
27719 * manual/macros.texi: Introduce macros to document multi
27720 thread, asynchronous signal and asynchronous cancellation
27721 safety properties.
27722 * manual/intro.texi: Introduce the properties themselves.
27723
27724 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27725
27726 * sysdeps/sh/sh4/Makefile: New file.
27727
27728 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
27729
27730 * math/gen-libm-test.pl ($srcdir): New variable.
27731 ($auto_input): Use it.
27732
27733 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27734
27735 [BZ #16506]
27736 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
27737 access beyond array bounds when parsing netgroups file.
27738
27739 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
27740 the old buffer before realloc.
27741
27742 2014-01-27 Allan McRae <allan@archlinux.org>
27743
27744 * po/fr.po: Update French translation from translation project.
27745
27746 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27747
27748 * sysdeps/sh/libm-test-ulps: Regenerate.
27749
27750 2014-01-24 David S. Miller <davem@davemloft.net>
27751
27752 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
27753
27754 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27755
27756 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
27757 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
27758
27759 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27760
27761 [BZ #16474]
27762 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
27763 string pointers after reallocation.
27764
27765 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27766
27767 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
27768 __SH4A__ instead of __SH_FPU_ANY__.
27769
27770 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27771
27772 * sysdeps/sh/fpu_control.h: New file.
27773 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
27774 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
27775 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
27776 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
27777 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
27778 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
27779 * sysdeps/sh/sys/ucontext.h: Remove.
27780 * sysdeps/sh/sys: Remove directory.
27781
27782 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27783
27784 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
27785 s390/sys/ucontext.h.
27786 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
27787 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
27788
27789 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
27790
27791 [BZ #15605]
27792 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
27793
27794 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27795
27796 [BZ#16431]
27797 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27798 Adjust the vDSO correctly for internal calls.
27799 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
27800
27801 2014-01-20 Allan McRae <allan@archlinux.org>
27802
27803 * po/ca.po: Update Catalan translation from translation project.
27804
27805 2014-01-16 Mike Frysinger <vapier@gentoo.org>
27806
27807 * sysdeps/s390/sotruss-lib.c: New file.
27808
27809 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27810
27811 [BZ#16430]
27812 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
27813 (__GI___gettimeofday): Alias for a different internal symbol to avoid
27814 local calls issues by not having a PLT stub required for IFUNC calls.
27815 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
27816
27817 2014-01-16 Joseph Myers <joseph@codesourcery.com>
27818
27819 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
27820 * math/test-fpucw-static.c: Likewise.
27821
27822 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27823
27824 [BZ #16453]
27825 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
27826
27827 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27828
27829 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
27830 implementation for powerpc.
27831
27832 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
27833
27834 [BZ #14782]
27835 * sysdeps/posix/system.c (__libc_system): Do not enable
27836 asynchronous cancellation.
27837
27838 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27839
27840 [BZ #16427]
27841 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
27842 handling only for numbers special also in the IEEE case.
27843
27844 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27845
27846 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27847
27848 2014-01-11 Allan McRae <allan@archlinux.org>
27849
27850 * po/bg.po: Update Bulgarian translation from translation project.
27851
27852 * po/de.po: Update German translation from translation project.
27853
27854 2014-01-10 Roland McGrath <roland@hack.frob.com>
27855
27856 * sysdeps/generic/gcc-compat.h: New file.
27857
27858 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27859
27860 * benchtests/asin-inputs: Correct slow inputs.
27861 * benchtests/acos-inputs: Likewise.
27862
27863 2014-01-10 Allan McRae <allan@archlinux.org>
27864
27865 * po:sv.po: Update Swedish translation from translation project.
27866
27867 * po/vi.po: Update Vietnamese translation from translation project.
27868
27869 * po/eo.po: Update Esperanto translation from translation project.
27870
27871 * po/cs.po: Update Czech translation from translation project.
27872
27873 * po/nl.po: Update Dutch translation from translation project.
27874
27875 * po/pl.po: Update Polish translation from translation project.
27876
27877 * po/ru.po: Update Russian translation from translation project.
27878
27879 * po/uk.po: Update Ukrainian translation from translation project.
27880
27881 2014-01-08 Brooks Moses <bmoses@google.com>
27882
27883 * elf/dl-load.c: Fix comment typo.
27884
27885 2014-01-08 Carlos O'Donell <carlos@redhat.com>
27886
27887 * po/header.pot: Rename to...
27888 * po/pot.header: ... this.
27889 * po/Makefile: Use pot.header.
27890
27891 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
27892 Maxim Kuvyrkov <maxim@kugelworks.com>
27893
27894 [BZ #16394]
27895 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
27896 SRC and DEST against LEN.
27897
27898 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27899
27900 [BZ #16414]
27901 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
27902 implementation.
27903 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
27904
27905 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27906
27907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27908
27909 2014-01-08 Joseph Myers <joseph@codesourcery.com>
27910
27911 [BZ #16408]
27912 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
27913 for large positive arguments.
27914
27915 2014-01-07 Joseph Myers <joseph@codesourcery.com>
27916
27917 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27918
27919 * math/auto-libm-test-in: Mark various tests with
27920 xfail-rounding:ldbl-128ibm.
27921 * math/auto-libm-test-out: Regenerated.
27922
27923 [BZ #16407]
27924 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
27925 Increase overflow threshold.
27926
27927 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
27928
27929 [BZ #14286]
27930 * stdio-common/vfprintf.c: Check for integer overflow.
27931
27932 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27933
27934 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
27935 the first argument and return value of __tls_get_addr_internal.
27936
27937 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27938
27939 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
27940 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
27941
27942 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27943
27944 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
27945 * sysdeps/s390/rtld-global-offsets.sym: New file.
27946 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
27947 GLIBC_2.19 symbol.
27948 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
27949 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
27950 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
27951 ... this.
27952 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
27953 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
27954 ... this.
27955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27956 Regenerate.
27957 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27958 Regenerate.
27959 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
27960 halfs of GPRs for high_gprs contexts.
27961 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
27962 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
27963 field.
27964 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
27965 uc_flags field.
27966 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
27967 64 bit versions:
27968 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
27969 for high GPRs (uc_high_gprs) and for future extensions
27970 (__reserved).
27971 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
27972 for future extensions (__reserved).
27973 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
27974 64 bit versions:
27975 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
27976 SC_HIGHGPRS offset definition.
27977 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
27978 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
27979
27980 * Versions.def: Add GLIBC_2.19 for libpthread.
27981 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
27982 siglongjmp for libpthread with GLIBC_2.19 symver.
27983 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
27984 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
27985 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
27986 * sysdeps/s390/__longjmp.c: New file.
27987 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
27988 * sysdeps/s390/longjmp.c: New file.
27989 * sysdeps/s390/setjmp.S: New file.
27990 * sysdeps/s390/sigjmp.S: New file.
27991 * sysdeps/s390/v1-longjmp.c: New file.
27992 * sysdeps/s390/v1-setjmp.h: New file.
27993 * sysdeps/s390/v1-sigjmp.c: New file.
27994 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
27995 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
27996 GLIBC_2.19 version.
27997 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
27998 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
27999 versioned symbols for ____longjmp_chk.
28000 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
28001 Likewise.
28002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28003 Regenerate.
28004 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28005 Regenerate.
28006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28007 Regenerate.
28008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28009 Regenerate.
28010 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
28011 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
28012 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
28013 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
28014 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
28015 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
28016 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
28017 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
28018 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
28019 * sysdeps/s390/rtld-__longjmp.c: New file.
28020 * sysdeps/s390/rtld-setjmp.S: New file.
28021
28022 2014-01-06 Joseph Myers <joseph@codesourcery.com>
28023
28024 [BZ #16400]
28025 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28026 Return -__logl (x) for small positive arguments without evaluating
28027 a polynomial.
28028
28029 2014-01-06 Mike Frysinger <vapier@gentoo.org>
28030
28031 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
28032 Rename to ...
28033 (__ptrace_peeksiginfo_args): ... this.
28034 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28035 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28036 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28037
28038 2014-01-06 Allan McRae <allan@archlinux.org>
28039
28040 * inet/netinet/in.h: Fix typo in comment.
28041
28042 2014-01-05 Andreas Jaeger <aj@suse.de>
28043
28044 * sysdeps/i386/fpu/libm-test-ulps: Update.
28045
28046 2014-01-05 Allan McRae <allan@archlinux.org>
28047
28048 * po/libc.pot: Regenerated.
28049
28050 * malloc/memusagestat.c: Fix gettext call formatting.
28051
28052 2014-01-04 Sami Kerola <kerolasa@iki.fi>
28053
28054 * nscd/nscd.c: Improve usage() output.
28055
28056 2014-01-04 Mike Frysinger <vapier@gentoo.org>
28057
28058 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
28059 * sysdeps/unix/sysv/linux/configure: Regenerated.
28060 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
28061 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
28062
28063 2014-01-03 Joseph Myers <joseph@codesourcery.com>
28064
28065 [BZ #16390]
28066 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28067 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
28068
28069 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28070
28071 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
28072 extra tokens at end of #undef directive.
28073 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
28074 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
28075 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
28076
28077 2014-01-03 Joseph Myers <joseph@codesourcery.com>
28078
28079 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28080
28081 * math/auto-libm-test-in: Mark various tests with
28082 xfail-rounding:ldbl-128ibm.
28083 * math/auto-libm-test-out: Regenerated.
28084
28085 2014-01-02 Joseph Myers <joseph@codesourcery.com>
28086
28087 [BZ #16386]
28088 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
28089 numbers with subnormal high part when calculating exponent.
28090
28091 [BZ #16385]
28092 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
28093 fabs.
28094
28095 [BZ #16384]
28096 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
28097 M_LN2l.
28098 (__ieee754_acoshl): Use __log1pl not __log1p.
28099
28100 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
28101
28102 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
28103 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
28104 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
28105 (grow_heap, heap_trim, _int_new_arena, get_free_list)
28106 (reused_arena, arena_get2): Convert to GNU style.
28107 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
28108 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
28109 (memalign_check, __malloc_set_state): Likewise.
28110 * malloc/mallocbug.c (main): Likewise.
28111 * malloc/malloc.c (__malloc_assert, malloc_init_state)
28112 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
28113 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
28114 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
28115 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
28116 (__posix_memalign, malloc_info): Likewise.
28117 * malloc/malloc.h: Likewise.
28118 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
28119 (mallochook, memalignhook, reallochook, mabort): Likewise.
28120 * malloc/mcheck.h: Likewise.
28121 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
28122 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
28123 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
28124 * malloc/morecore.c (__default_morecore): Likewise.
28125 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
28126 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
28127 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
28128 (print_and_abort): Likewise.
28129 * malloc/obstack.h: Likewise.
28130 * malloc/set-freeres.c (__libc_freeres): Likewise.
28131 * malloc/tst-mallocstate.c (main): Likewise.
28132 * malloc/tst-mtrace.c (main): Likewise.
28133 * malloc/tst-realloc.c (do_test): Likewise.
28134
28135 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28136
28137 [BZ #16366]
28138 * nscd/netgroupcache.c (do_notfound): New function.
28139 (addgetnetgrentX): Use it.
28140
28141 [BZ # 16365]
28142 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
28143 NSS_STATUS_NOTFOUND.
28144
28145 2014-01-01 Joseph Myers <joseph@codesourcery.com>
28146
28147 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28149
28150 2014-01-01 Allan McRae <allan@archlinux.org>
28151
28152 * scripts/update-copyrights: Update configure input file suffix.
28153
28154 * NEWS: Update copyright year.
28155 * catgets/gencat.c: Likewise.
28156 * csu/version.c: Likewise.
28157 * debug/catchsegv.sh: Likewise.
28158 * debug/pcprofiledump.c: Likewise.
28159 * debug/xtrace.sh: Likewise.
28160 * elf/ldconfig.c: Likewise.
28161 * elf/ldd.bash.in: Likewise.
28162 * elf/pldd.c: Likewise.
28163 * elf/sotruss.ksh: Likewise.
28164 * elf/sprof.c: Likewise.
28165 * iconv/iconv_prog.c: Likewise.
28166 * iconv/iconvconfig.c: Likewise.
28167 * locale/programs/locale.c: Likewise.
28168 * locale/programs/localedef.c: Likewise.
28169 * login/programs/pt_chown.c: Likewise.
28170 * malloc/memusage.sh: Likewise.
28171 * malloc/memusagestat.c: Likewise.
28172 * malloc/mtrace.pl: Likewise.
28173 * manual/libc.texinfo: Likewise.
28174 * nscd/nscd.c: Likewise.
28175 * nss/getent.c: Likewise.
28176 * nss/makedb.c: Likewise.
28177 * posix/getconf.c: Likewise.
28178 * scripts/test-installation.pl: Likewise.
28179
28180 * All files with FSF copyright notices: Update copyright dates
28181 using scripts/update-copyrights.
28182 * intl/plural.c: Regenerated.
28183 * locale/programs/charmap-kw.h: Likewise.
28184 * locale/programs/locfile-kw.h: Likewise.
28185
28186 2013-12-31 Mike Frysinger <vapier@gentoo.org>
28187
28188 * sysdeps/unix/sysv/linux/configure: Regenerated.
28189 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
28190 the linux/fanotify.h header.
28191 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
28192 HAVE_LINUX_FANOTIFY_H is defined.
28193
28194 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28195
28196 * benchtests/cos-inputs: New inputs.
28197 * benchtests/sin-inputs: Likewise.
28198
28199 * benchtests/atan-inputs: New inputs. Fix name of multiple
28200 precision fallback inputs.
28201
28202 * benchtests/atanh-inputs: New inputs.
28203 * benchtests/tanh-inputs: Likewise.
28204
28205 * benchtests/acosh-inputs: New inputs.
28206 * benchtests/asinh-inputs: Likewise.
28207
28208 * benchtests/cosh-inputs: New inputs.
28209 * benchtests/sinh-inputs: Likewise.
28210
28211 * benchtests/acos-inputs: Add more inputs.
28212 * benchtests/asin-inputs: Likewise.
28213
28214 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
28215
28216 [BZ #16375]
28217 * manual/arith.texi: Fix spelling.
28218 * manual/charset.texi: Likewise.
28219 * manual/errno.texi: Likewise.
28220 * manual/filesys.texi: Likewise.
28221 * manual/lang.texi: Likewise.
28222 * manual/llio.texi: Likewise.
28223 * manual/locale.texi: Likewise.
28224 * manual/message.texi: Likewise.
28225 * manual/resource.texi: Likewise.
28226 * manual/search.texi: Likewise.
28227 * manual/setjmp.texi: Likewise.
28228 * manual/stdio.texi: Likewise.
28229 * manual/string.texi: Likewise.
28230 * manual/sysinfo.texi: Likewise.
28231 * manual/time.texi: Likewise.
28232
28233 2013-12-27 Carlos O'Donell <carlos@redhat.com>
28234
28235 * po/sl.po: New file.
28236
28237 2013-12-27 Mike Frysinger <vapier@gentoo.org>
28238
28239 * .gitignore: Add core/.gdbinit/.gdb_history.
28240
28241 2013-12-27 Allan McRae <allan@archlinux.org>
28242
28243 [BZ #16369]
28244 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
28245 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
28246
28247 2013-12-24 Brooks Moses <bmoses@google.com>
28248
28249 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
28250 all compilers that claim C++98 compliance, not just GCC.
28251 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
28252 Likewise.
28253
28254 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
28255
28256 * NEWS: Restore accidentally deleted bug-fix entries.
28257
28258 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
28259 Ondřej Bílka <neleai@seznam.cz>
28260
28261 [BZ #15073]
28262 * malloc/malloc.c (_int_free): Perform sanity check only if we
28263 have_lock.
28264
28265 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
28266
28267 [BZ #12986]
28268 * manual/stdio.texi (String Input Conversions): Clarify that character
28269 classes are not supported.
28270
28271 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28272
28273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28274
28275 2013-12-22 Joseph Myers <joseph@codesourcery.com>
28276
28277 [BZ #16337]
28278 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28279 Calculate results for small negative arguments directly rather
28280 than using reflection formula with special underflow handling.
28281
28282 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
28283 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
28284 sysdeps/unix/bsd/bsd4.4/syscalls.list.
28285 (fchflags): Likewise.
28286 (revoke): Likewise.
28287 (setlogin): Likewise.
28288 (sigaltstack): Likewise.
28289 (wait4): Likewise.
28290 (sigblock): Remove.
28291 (sigsetmask): Likewise.
28292 (wait3): Likewise.
28293 (waitpid): Likewise.
28294 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
28295 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
28296 file.
28297 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
28298 * sysdeps/unix/bsd/Makefile: ... here.
28299 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
28300 * sysdeps/unix/bsd/Versions: ... here.
28301 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
28302 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
28303 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
28304 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
28305 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
28306 * sysdeps/unix/bsd/sigblock.c: ... here.
28307 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
28308 * sysdeps/unix/bsd/sigsetmask.c: ... here.
28309 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
28310 * sysdeps/unix/bsd/sigvec.c: ... here.
28311 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
28312 * sysdeps/unix/bsd/tcdrain.c: ... here.
28313 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
28314 * sysdeps/unix/bsd/tcgetattr.c: ... here.
28315 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
28316 * sysdeps/unix/bsd/tcsetattr.c: ... here.
28317 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
28318 * sysdeps/unix/bsd/wait.c: ... here.
28319 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
28320 * sysdeps/unix/bsd/wait3.c: ... here.
28321 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
28322 * sysdeps/unix/bsd/waitpid.c: ... here.
28323
28324 2013-12-21 Joseph Myers <joseph@codesourcery.com>
28325
28326 [BZ #16356]
28327 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
28328 round-to-nearest for [!USE_AS_EXPM1L].
28329 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
28330 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
28331 more tests of exp and exp10. Expect some exp10 tests to miss
28332 exceptions or fail in directed rounding modes.
28333 * math/auto-libm-test-out: Regenerated.
28334 * math/libm-test.inc (exp10_tonearest_test_data): New array.
28335 (exp10_test_tonearest): New function.
28336 (exp10_towardzero_test_data): New array.
28337 (exp10_test_towardzero): New function.
28338 (exp10_downward_test_data): New array.
28339 (exp10_test_downward): New function.
28340 (exp10_upward_test_data): New array.
28341 (exp10_test_upward): New function.
28342 (main): Call the new functions.
28343 * sysdeps/i386/fpu/libm-test-ulps: Update.
28344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28345
28346 2013-12-20 Joseph Myers <joseph@codesourcery.com>
28347
28348 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28349 asinh, atan, atan2, atanh, cbrt, cos and cosh.
28350 * math/auto-libm-test-out: Regenerated.
28351 * math/libm-test.inc (acosh_test_data): Add more tests.
28352 (atanh_test_data): Likewise.
28353 (ceil_test_data): Likewise.
28354 (copysign_test_data): Likewise.
28355 * sysdeps/i386/fpu/libm-test-ulps: Update.
28356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28357
28358 * timezone/checktab.awk: Update from tzcode 2013i.
28359 * timezone/private.h: Likewise.
28360 * timezone/scheck.c: Likewise.
28361 * timezone/tzfile.h: Likewise.
28362 * timezone/tzselect.ksh: Likewise.
28363 * timezone/zdump.c: Likewise.
28364 * timezone/zic.c: Likewise.
28365
28366 * math/auto-libm-test-in: Add tests of cpow.
28367 * math/auto-libm-test-out: Regenerated.
28368 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
28369 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28370 mpc_cc_c.
28371 (func_calc_desc): Add mpc_cc_c union field.
28372 (test_functions): Add cpow.
28373 (special_fill_2pi): New function.
28374 (special_real_inputs): Add 2pi.
28375 (calc_generic_results): Handle mpc_cc_c.
28376 * sysdeps/i386/fpu/libm-test-ulps: Update.
28377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28378
28379 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
28380 csqrt, ctan and ctanh.
28381 * math/auto-libm-test-out: Regenerated.
28382 * math/libm-test.inc (TEST_COND_x86_64): New macro.
28383 (TEST_COND_x86): Likewise.
28384 (ccos_test_data): Use AUTO_TESTS_c_c.
28385 (ccosh_test_data): Likewise.
28386 (cexp_test_data): Likewise.
28387 (clog_test_data): Likewise.
28388 (csqrt_test_data): Likewise.
28389 (ctan_test_data): Likewise.
28390 (ctan_tonearest_test_data): Likewise.
28391 (ctan_towardzero_test_data): Likewise.
28392 (ctan_downward_test_data): Likewise.
28393 (ctan_upward_test_data): Likewise.
28394 (ctanh_test_data): Likewise.
28395 (ctanh_tonearest_test_data): Likewise.
28396 (ctanh_towardzero_test_data): Likewise.
28397 (ctanh_downward_test_data): Likewise.
28398 (ctanh_upward_test_data): Likewise.
28399 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28400 mpc_c_c.
28401 (func_calc_desc): Add mpc_c_c union field.
28402 (FUNC_mpc_c_c): New macro.
28403 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
28404 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
28405 ctanh.
28406 (special_fill_min_subnorm_p120): New function.
28407 (special_real_inputs): Add min_subnorm_p120.
28408 (calc_generic_results): Handle mpc_c_c.
28409 * sysdeps/i386/fpu/libm-test-ulps: Update.
28410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28411
28412 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28413
28414 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
28415 (do_sin_slow): New functions.
28416 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
28417 (cslow2, csloww1, csloww2): Use the new functions.
28418
28419 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
28420 Use M to change sign of result instead of X. Assume X is
28421 positive.
28422 (csloww1): Likewise.
28423 (__sin): Adjust.
28424 (__cos): Adjust.
28425
28426 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
28427 arguments A and DA.
28428 (__sin): Adjust.
28429 (__cos): Likewise.
28430
28431 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
28432 (__cos): Likewise.
28433 (sloww1): Don't adjust sign of DX.
28434 (csloww1): Likewise.
28435 (sloww2): Use X directly and don't adjust sign of DX.
28436 (csloww2): Likewise.
28437
28438 2013-12-19 Joseph Myers <joseph@codesourcery.com>
28439
28440 * math/auto-libm-test-in: Add tests of cabs and carg.
28441 * math/auto-libm-test-out: Regenerated.
28442 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
28443 (carg_test_data): Likewise.
28444 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28445 mpc_c_f.
28446 (func_calc_desc): Add mpc_c_f union field.
28447 (test_functions): Add cabs and carg.
28448 (calc_generic_results): Handle mpc_c_f.
28449
28450 * sysdeps/powerpc/powerpc32/libgcc-compat.S
28451 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
28452 as a macro and a compat symbol.
28453 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
28454 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
28455 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
28456 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
28457 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
28458 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
28459 not use .hidden.
28460 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
28461 Likewise.
28462 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
28463 Likewise.
28464 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
28465 Likewise.
28466 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
28467 Likewise.
28468 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
28469 Likewise.
28470 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
28471 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
28472 from GLIBC_2.3.2.
28473
28474 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28475
28476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28477
28478 2013-12-19 Joseph Myers <joseph@codesourcery.com>
28479
28480 * manual/texinfo.tex: Update to version 2013-11-26.10 with
28481 trailing whitespace removed.
28482 * scripts/config.guess: Update to version 2013-11-29.
28483 * scripts/config.sub: Update to version 2013-10-01.
28484
28485 * math/auto-libm-test-in: Add tests of sincos.
28486 * math/auto-libm-test-out: Regenerated.
28487 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
28488 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28489 mpfr_f_11.
28490 (func_calc_desc): Add mpfr_f_11 union field.
28491 (test_functions): Add sincos.
28492 (calc_generic_results): Handle mpfr_f_11.
28493 * sysdeps/i386/fpu/libm-test-ulps: Update.
28494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28495
28496 2013-12-19 Andreas Schwab <schwab@suse.de>
28497
28498 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
28499 CALL_MCOUNT.
28500 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28501 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
28502 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
28503
28504 2013-12-19 Joseph Myers <joseph@codesourcery.com>
28505
28506 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
28507 * sysdeps/i386/fpu/libm-test-ulps: Update.
28508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28509
28510 [BZ #16293]
28511 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
28512 round-to-nearest mode when using frndint.
28513 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
28514 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28515 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
28516 Likewise.
28517 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
28518 sinh test to fail.
28519 * math/auto-libm-test-out: Regenerated.
28520 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
28521 (TEST_COND_x86): Likewise.
28522 (expm1_tonearest_test_data): New array.
28523 (expm1_test_tonearest): New function.
28524 (expm1_towardzero_test_data): New array.
28525 (expm1_test_towardzero): New function.
28526 (expm1_downward_test_data): New array.
28527 (expm1_test_downward): New function.
28528 (expm1_upward_test_data): New array.
28529 (expm1_test_upward): New function.
28530 (main): Run the new test functions.
28531 * sysdeps/i386/fpu/libm-test-ulps: Update.
28532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28533
28534 * include/features.h: Update comment documenting feature test
28535 macros. Mention _DEFAULT_SOURCE in comment.
28536 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
28537 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
28538 _BSD_SOURCE and _SVID_SOURCE.
28539 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
28540 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
28541 !_SVID_SOURCE]: Likewise.
28542 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28543 (__USE_POSIX_IMPLICITLY): Define.
28544 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28545 (_POSIX_SOURCE): Undefine and redefine.
28546 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28547 (_POSIX_C_SOURCE): Likewise.
28548 * manual/creature.texi (_DEFAULT_SOURCE): Document.
28549 (Feature Test Macros): Update documentation of default features.
28550
28551 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28552
28553 * benchtests/Makefile: Add bench-strtok.
28554 * benchtests/bench-strtok.c: New file: strtok benchtest.
28555
28556 2013-12-19 Allan McRae <allan@archlinux.org>
28557
28558 * manual/install.texi: Suppress menu for plain text output.
28559 * INSTALL: Regenerated.
28560
28561 2013-12-18 Brooks Moses <bmoses@google.com>
28562
28563 [BZ #15846]
28564 * misc/getauxval.c: Include errno.h.
28565 (__getauxval): Set errno to ENOENT if the requested type is not
28566 found.
28567 * misc/sys/auxv.h (getauxval): Document that it may set errno;
28568 don't declare with __attribute_const__.
28569 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
28570 * manual/startup.texi: Document that getauxval sets errno.
28571
28572 2013-12-18 Joseph Myers <joseph@codesourcery.com>
28573
28574 * math/auto-libm-test-in: Add tests of jn and yn.
28575 * math/auto-libm-test-out: Regenerated.
28576 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
28577 (yn_test_data): Likewise.
28578 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28579 mpfr_if_f.
28580 (func_calc_desc): Add mpfr_if_f union field.
28581 (FUNC_mpfr_if_f): New macro.
28582 (test_functions): Add jn and yn.
28583 (calc_generic_results): Assert type of second input for
28584 mpfr_ff_f. Handle mpfr_if_f.
28585 (output_for_one_input_case): Disable all checking for arguments
28586 fitting floating-point types in case of an integer argument.
28587 * sysdeps/i386/fpu/libm-test-ulps: Update.
28588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28589
28590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28591 Don't expect fegetround reference in libm.so.
28592
28593 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28594
28595 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
28596 $(config-cflags-nofma).
28597
28598 2013-12-18 Joseph Myers <joseph@codesourcery.com>
28599
28600 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
28601 * math/auto-libm-test-out: Regenerated.
28602
28603 [BZ #16338]
28604 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
28605 to determine exponent and adjust argument to have exponent of -1.
28606 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
28607 log2.
28608 * math/auto-libm-test-out: Regenerated.
28609 * sysdeps/i386/fpu/libm-test-ulps: Update.
28610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28611
28612 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
28613
28614 * manual/probes.texi: Remove cases when per-thread arenas are
28615 disabled.
28616
28617 2013-12-18 Andreas Schwab <schwab@suse.de>
28618
28619 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
28620 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
28621 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
28622 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
28623 * sysdeps/i386/i686/multiarch/Makefile: Update.
28624 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
28625
28626 2013-12-17 Joseph Myers <joseph@codesourcery.com>
28627
28628 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
28629 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
28630
28631 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
28632
28633 [BZ #15968]
28634 Support TZ transition times < 00:00:00.
28635 This is needed for version-3 tz-format files; it supports time
28636 stamps past 2037 for America/Godthab (the only entry in the tz
28637 database for which this change is relevant).
28638 * manual/time.texi (TZ Variable): Document transition times
28639 from -167:59:59 through -00:00:01.
28640 * time/tzset.c (tz_rule): Time of day is now signed.
28641 (__tzset_parse_tz): Parse negative time of day.
28642
28643 Document TZ transition times >= 25:00:00.
28644 * manual/time.texi (TZ Variable): Document transition times from
28645 25:00:00 through 167:59:59. These are already supported, and this
28646 support will help with version-3 tz-format files.
28647
28648 * manual/time.texi (TZ Variable): Modernize North America example
28649 to reflect current (i.e., 2007-and-later) daylight saving rules.
28650
28651 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
28652
28653 2013-12-17 Joseph Myers <joseph@codesourcery.com>
28654
28655 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
28656 * sysdeps/unix/bsd/bits/stat.h: Likewise.
28657 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
28658 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28659 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
28660 * sysdeps/unix/bsd/bsdstat.h: Likewise.
28661 * sysdeps/unix/bsd/clock.c: Likewise.
28662 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
28663 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
28664 * sysdeps/unix/bsd/init-posix.c: Likewise.
28665 * sysdeps/unix/bsd/poll.c: Likewise.
28666 * sysdeps/unix/bsd/ptsname.c: Likewise.
28667 * sysdeps/unix/bsd/seekdir.c: Likewise.
28668 * sysdeps/unix/bsd/setegid.c: Likewise.
28669 * sysdeps/unix/bsd/seteuid.c: Likewise.
28670 * sysdeps/unix/bsd/setgid.c: Likewise.
28671 * sysdeps/unix/bsd/setrgid.c: Likewise.
28672 * sysdeps/unix/bsd/setruid.c: Likewise.
28673 * sysdeps/unix/bsd/setsid.c: Likewise.
28674 * sysdeps/unix/bsd/setuid.c: Likewise.
28675 * sysdeps/unix/bsd/sigaction.c: Likewise.
28676 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
28677 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
28678 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
28679 * sysdeps/unix/bsd/telldir.c: Likewise.
28680 * sysdeps/unix/bsd/times.c: Likewise.
28681 * sysdeps/unix/bsd/usleep.c: Likewise.
28682
28683 * misc/Makefile (install-lib): Remove libbsd-compat.a.
28684 ($(objpfx)libbsd-compat.a): Remove rule.
28685
28686 * include/features.h (__FAVOR_BSD): Do not define.
28687 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
28688 features conflicting with POSIX.
28689 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
28690 (_BSD_SOURCE): Remove description of not being a subset of other
28691 feature test macros.
28692 * manual/job.texi (getpgrp): Do not document BSD version.
28693 (getpgid): Do not document by reference to BSD getpgrp.
28694 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
28695 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
28696 * signal/signal.h [__FAVOR_BSD]: Likewise.
28697 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
28698 instead of making contents conditional on [__FAVOR_BSD].
28699 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
28700
28701 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28702
28703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28704
28705 2013-12-17 Joseph Myers <joseph@codesourcery.com>
28706
28707 [BZ #16314]
28708 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
28709 values below 2**-450, not 2**-500.
28710 * math/auto-libm-test-in: Don't allow spurious underflow from
28711 hypot.
28712 * math/auto-libm-test-out: Regenerated.
28713
28714 [BZ #16316]
28715 [BZ #16330]
28716 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
28717 values of ha and hb and sort them after adjusting subnormal
28718 arguments.
28719 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
28720 Likewise.
28721 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
28722 values of ea and eb and sort them after adjusting subnormal
28723 arguments.
28724 * math/auto-libm-test-in: Do not expect some hypot tests of
28725 subnormals to fail. Add more hypot tests.
28726 * math/auto-libm-test-out: Regenerated.
28727
28728 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28729
28730 [BZ #13304]
28731 * sysdeps/sh/s_fma.c: New file.
28732 * sysdeps/sh/s_fmaf.c: New file.
28733 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
28734 version.
28735 * sysdeps/sh/Implies: Add sh/soft-fp.
28736
28737 2013-12-16 Roland McGrath <roland@hack.frob.com>
28738
28739 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
28740 level of indirection to members `objname', `errstring', `malloced'.
28741 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
28742 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
28743 it as the __longjmp argument (just pass 1 instead).
28744 (_dl_catch_error): Initialize C with argument pointers and address of
28745 volatile local ERRCODE rather than copying values out of C at return.
28746
28747 2013-12-16 Joseph Myers <joseph@codesourcery.com>
28748
28749 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
28750 * math/auto-libm-test-out: Regenerated.
28751 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
28752 (hypot_test_data): Likewise.
28753 (pow_test_data): Likewise.
28754 (pow_tonearest_test_data): Likewise.
28755 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28756 mpfr_ff_f.
28757 (func_calc_desc): Add mpfr_ff_f union field.
28758 (FUNC_mpfr_ff_f): New macro.
28759 (test_functions): Add atan2, hypot and pow.
28760 (special_fill_min): New function.
28761 (special_fill_minus_min): Likewise.
28762 (special_fill_min_subnorm): Likewise.
28763 (special_fill_minus_min_subnorm): Likewise.
28764 (special_real_inputs): Add min, -min, min_subnorm and
28765 -min_subnorm.
28766 (calc_generic_results): Handle mpfr_ff_f.
28767 * sysdeps/i386/fpu/libm-test-ulps: Update.
28768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28769
28770 2013-12-16 Will Newton <will.newton@linaro.org>
28771
28772 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
28773 (Aligned Memory Blocks): Add documentation for aligned_alloc
28774 and suggest it as an alternative to posix_memalign.
28775 (Hooks for Malloc): Document __memalign_hook is also called
28776 for aligned_alloc. (Summary of Malloc): Add summary for
28777 aligned alloc. Document __memalign_hook is also called
28778 for aligned_alloc.
28779
28780 2013-12-16 Will Newton <will.newton@linaro.org>
28781
28782 * manual/memory.texi (Malloc Examples): Clarify default
28783 alignment documentation. Suggest posix_memalign rather
28784 than memalign or valloc.
28785 (Aligned Memory Blocks): Remove suggestion to use memalign
28786 or valloc. Remove obsolete comment about BSD.
28787 Document memalign errno values and mark the function obsolete.
28788 Document posix_memalign returned error codes. Mark valloc
28789 as obsolete. (Hooks for Malloc): __memalign_hook is also
28790 called for posix_memalign and valloc.
28791 (Summary of Malloc): Add posix_memalign to function summary.
28792 __memalign_hook is also called for posix_memalign and valloc.
28793
28794 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28795
28796 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
28797 TAYLOR_SIN.
28798 (__sin): Adjust.
28799 (__cos): Likewise.
28800 (sloww): Use mynumber union. Expand ternary operator into
28801 if-else statements.
28802 (cslow): use mynumber union.
28803
28804 2013-12-16 Allan McRae <allan@archlinux.org>
28805
28806 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
28807 * configure: Regenerated.
28808
28809 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
28810
28811 [BZ #14120]
28812 * configure.ac: Added --enable-maintainer-mode. Check for
28813 autoconf when enabled.
28814 * configure: Regenerated.
28815
28816 * nscd/nscd.service: New file.
28817 * nscd/nscd.tmpfiles: New file.
28818
28819 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
28820
28821 [BZ #12100]
28822 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
28823 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
28824 * sysdeps/x86_64/multiarch/strstr.c: ... here.
28825 (strstr): Add __strstr_sse2_unaligned ifunc.
28826 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
28827 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
28828 (strcasestr): Remove __strcasestr_sse42 ifunc.
28829 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
28830 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28831 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28832
28833 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28834
28835 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
28836 * sysdeps/sh/bits/fenv.h: ... here.
28837 * sysdeps/sh/sh4/fpu/bits: Remove directory.
28838
28839 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28840
28841 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
28842
28843 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
28844 hypotf multiarch implementations.
28845 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
28846 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
28847 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
28848 multiarch hypot for PPC64.
28849 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
28850 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
28851 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
28852 multiarch hypotf for PPC64.
28853
28854 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
28855 modff multiarch implementations.
28856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
28857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
28858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
28859 multiarch modf for PPC64.
28860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
28861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
28862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
28863 multiarch modff for PPC64.
28864
28865 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
28866 and logl multiarch implementations.
28867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
28868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
28869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
28870 multiarch logb for PPC64.
28871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
28872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
28873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
28874 multiarch logb for PPC64.
28875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
28876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
28877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
28878 multiarch logb for PPC64.
28879
28880 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
28881 isinff multiarch implementation.
28882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
28883 file.
28884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
28885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
28886 multiarch isinf for PPC64.
28887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
28888 file.
28889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
28890 multiarch isinff for PPC64.
28891
28892 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
28893 finitef multiarch implementation.
28894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
28895 file.
28896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
28897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
28898 multiarch finite for PPC64.
28899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
28900 file.
28901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
28902 multiarch finitef for PPC64.
28903
28904 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
28905 lrint multiarch implementation.
28906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
28907 file.
28908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
28909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
28910 multiarch llrint for PPC64.
28911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
28912 multiarch lrint for PPC64.
28913
28914 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
28915 copysignf multiarch implementation.
28916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
28917 file.
28918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
28919 file.
28920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
28921 multiarch copysign for PPC64.
28922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
28923 multiarch copysignf for PPC64.
28924
28925 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
28926 multiarch implementation.
28927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
28928 file.
28929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
28930 file.
28931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
28932 file.
28933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
28934 file.
28935 multiarch llround for PPC64.
28936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
28937 multiarch trunc for PPC64.
28938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
28939 multiarch truncf for PPC64.
28940
28941 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
28942 multiarch implementation.
28943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
28944 file.
28945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
28946 file.
28947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
28948 file.
28949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
28950 file.
28951 multiarch llround for PPC64.
28952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
28953 multiarch round for PPC64.
28954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
28955 multiarch roundf for PPC64.
28956
28957 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
28958 multiarch implementation.
28959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
28960 file.
28961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
28962 file.
28963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
28964 file.
28965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
28966 file.
28967 multiarch llround for PPC64.
28968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
28969 multiarch floor for PPC64.
28970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
28971 multiarch floorf for PPC64.
28972
28973 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
28974 multiarch implementation.
28975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
28976 file.
28977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
28978 file.
28979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
28980 file.
28981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
28982 file.
28983 multiarch llround for PPC64.
28984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
28985 multiarch ceil for PPC64.
28986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
28987 multiarch ceilf for PPC64.
28988
28989 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
28990 multiarch implementation.
28991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
28992 file.
28993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
28994 file.
28995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
28996 file.
28997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
28998 multiarch llround for PPC64.
28999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
29000 multiarch lround for PPC64.
29001
29002 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
29003 multiarch implementation.
29004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
29005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
29006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
29007 file.
29008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
29009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
29010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
29011 multiarch isnan for PPC64.
29012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
29013 multiarch isnanf for PPC64.
29014
29015 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
29016 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
29017 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
29018 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
29019 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
29020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
29021
29022 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
29023 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29024 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29025 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29026
29027 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
29028 multiarch implementations.
29029 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29030 (__libc_ifunc_impl_list): Likewise.
29031 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
29032 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
29033 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
29034 multiarch stpcpy for PPC64.
29035
29036 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
29037 multiarch implementations.
29038 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29039 (__libc_ifunc_impl_list): Likewise.
29040 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
29041 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
29042 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
29043 multiarch strcpy for PPC64.
29044
29045 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
29046 redefine function name.
29047 (_wordcopy_fwd_dest_aligned): Likewise.
29048 (_wordcopy_bwd_aligned): Likewise.
29049 (_wordcopy_bwd_dest_aligned): Likewise.
29050 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
29051 multiarch implementations.
29052 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29053 (__libc_ifunc_impl_list): Likewise.
29054 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
29055 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
29056 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
29057 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
29058 multiarch wcscpy for PPC64.
29059
29060 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
29061 multiarch implementations.
29062 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29063 (__libc_ifunc_impl_list): Likewise.
29064 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
29065 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
29066 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
29067 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
29068 multiarch wcscpy for PPC64.
29069
29070 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
29071 multiarch implementations.
29072 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29073 (__libc_ifunc_impl_list): Likewise.
29074 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
29075 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
29076 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
29077 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
29078 multiarch wcsrchr for PPC64.
29079
29080 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
29081 multiarch implementations.
29082 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29083 (__libc_ifunc_impl_list): Likewise.
29084 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
29085 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
29086 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
29087 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
29088 multiarch wcschr for PPC64.
29089
29090 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
29091 multiarch implementations.
29092 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29093 (__libc_ifunc_impl_list): Likewise.
29094 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
29095 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
29096 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
29097 multiarch strchrnul for PPC64.
29098
29099 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
29100 implementations.
29101 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29102 (__libc_ifunc_impl_list): Likewise.
29103 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
29104 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
29105 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
29106 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
29107 strchr for PPC64.
29108
29109 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
29110 implementations.
29111 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29112 (__libc_ifunc_impl_list): Likewise.
29113 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
29114 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
29115 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
29116 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
29117 strncmp for PPC64.
29118
29119 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
29120 multiarch implementations.
29121 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29122 (__libc_ifunc_impl_list): Likewise.
29123 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
29124 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
29125 strncasecmp for PPC64.
29126 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
29127 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
29128 multiarch strncasecmp_l for PPC64.
29129
29130 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
29131 multiarch implementations.
29132 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29133 (__libc_ifunc_impl_list): Likewise.
29134 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
29135 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
29136 multiarch strcasecmp for PPC64.
29137 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
29138 file.
29139 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
29140 multiarch strcasecmp_l for PPC64.
29141
29142 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
29143 implementations.
29144 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29145 (__libc_ifunc_impl_list): Likewise.
29146 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
29147 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
29148 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
29149 strnlen for PPC64.
29150
29151 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
29152 implementations.
29153 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29154 (__libc_ifunc_impl_list): Likewise.
29155 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
29156 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
29157 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
29158 strlen for PPC64.
29159
29160 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
29161 implementations.
29162 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29163 (__libc_ifunc_impl_list): Likewise.
29164 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
29165 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
29166 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
29167 rawmemrchr for PPC64.
29168
29169 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
29170 implementation.
29171 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29172 (__libc_ifunc_impl_list): Likewise.
29173 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
29174 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
29175 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
29176 memrchr for PPC64.
29177
29178 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
29179 implementation.
29180 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29181 (__libc_ifunc_impl_list): Likewise.
29182 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
29183 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
29184 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
29185 memchr for PPC64.
29186
29187 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
29188 implementation.
29189 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29190 (__libc_ifunc_impl_list): Likewise.
29191 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
29192 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
29193 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
29194 mempcpy for PPC64.
29195
29196 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
29197 avoid cretion of __bzero symbol.
29198 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
29199 Likewise.
29200 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
29201 Likewise.
29202 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
29203 Likewise.
29204 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
29205 multiarch implementations.
29206 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29207 (__libc_ifunc_impl_list): Likewise.
29208 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
29209 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
29210 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
29211 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
29212 bzero for PPC32.
29213 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
29214 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
29215 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
29216 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
29217 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
29218 memset for PPC64.
29219 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
29220
29221 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
29222 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
29223 implementations.
29224 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29225 (__libc_ifunc_impl_list): Likewise.
29226 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
29227 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
29228 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
29229 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
29230 memcmp for PPC64.
29231
29232 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
29233 multiarch for POWER/PPC64.
29234 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
29235 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
29236 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
29237 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
29238 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
29239 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
29240 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
29241 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
29242 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
29243 memcpy for PPC64.
29244
29245 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
29246 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
29247 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
29248 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
29249 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
29250 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
29251 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
29252 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
29253 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
29254 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
29255 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
29256 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
29257 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
29258 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
29259 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
29260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
29261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
29262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
29263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
29264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
29265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
29266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
29267
29268 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29269
29270 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
29271
29272 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29273
29274 * benchtests/Makefile (bench): Add exp2 and log2.
29275 (LDLIBS-bench-exp2): Add -lm.
29276 (LDLIBS-bench-log2): Likewise.
29277 * benchtests/exp2-inputs: New inputs file.
29278 * benchtests/log2-inputs: New inputs file.
29279 * benchtests/log-inputs: Add new inputs.
29280 * benchtests/tan-inputs: Likewise.
29281
29282 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29283
29284 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
29285 definition...
29286 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
29287 (csloww2): ... from here.
29288
29289 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
29290 instead of structures.
29291 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
29292 (POLYNOMIAL): Likewise.
29293 (TAYLOR_SLOW): Likewise.
29294 (__sin): Likewise.
29295 (__cos): Likewise.
29296 (slow1): Likewise.
29297 (slow2): Likewise.
29298 (sloww): Likewise.
29299 (sloww1); Likewise.
29300 (sloww2): Likewise.
29301 (bsloww1): Likewise.
29302 (bsloww2): Likewise.
29303 (cslow2): Likewise.
29304 (csloww): Likewise.
29305 (csloww1): Likewise.
29306 (csloww2): Likewise.
29307
29308 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
29309
29310 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
29311 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
29312 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
29313 * malloc/hooks.c (realloc_check): Likewise.
29314
29315 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
29316 * malloc/arena.c: Remove PER_THREAD conditional.
29317 [!PER_THREAD]: Remove code.
29318 (ptmalloc_unlock_all2): Likewise.
29319 (ptmalloc_init): Likewise.
29320 (_int_new_arena): Likewise.
29321 (arena_get2): Likewise.
29322 * malloc/hooks.c (__malloc_get_state): Likewise.
29323 (__malloc_set_state): Likewise.
29324 * malloc/malloc.c: Likewise.
29325 (struct malloc_state): Likewise.
29326 (struct malloc_par): Likewise.
29327 (__libc_realloc): Likewise.
29328 (__libc_mallopt): Likewise.
29329
29330 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29331
29332 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
29333
29334 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
29335
29336 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
29337 macro to a function. Check for zero perturb_byte.
29338 (_int_malloc, _int_free): Remove zero perturb_byte checks.
29339
29340 * malloc/malloc.c: (force_reg): Remove.
29341 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
29342 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
29343 force_reg by atomic_forced_read.
29344 * malloc/arena.c (ptmalloc_init): Likewise.
29345 * malloc/hooks.c (top_check): Likewise.
29346
29347 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29348
29349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29350
29351 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
29352
29353 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29354
29355 2013-12-08 Joseph Myers <joseph@codesourcery.com>
29356
29357 * math/auto-libm-test-in: Add tests of lgamma.
29358 * math/auto-libm-test-out: Regenerated.
29359 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
29360 (M_LOG_2_SQRT_PIl): Likewise.
29361 (lgamma_test_data): Use AUTO_TESTS_f_f1.
29362 * math/gen-auto-libm-tests.c (func_calc_method): Add value
29363 mpfr_f_f1.
29364 (func_calc_desc): Add mpfr_f_f1 union field.
29365 (ARGS1): New macro.
29366 (ARGS2): Likewise.
29367 (ARGS3): Likewise.
29368 (ARGS4): Likewise.
29369 (RET1): Likewise.
29370 (RET2): Likewise.
29371 (CALC): Likewise.
29372 (FUNC): Likewise.
29373 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
29374 (test_functions): Add lgamma.
29375 (calc_generic_results): Handle mpfr_f_f1.
29376 * sysdeps/i386/fpu/libm-test-ulps: Update.
29377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29378
29379 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29380
29381 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
29382 __mpn_add_n for PowerPC64/POWER7.
29383 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
29384 __mpn_sub_n for PowerPC64/POWER7.
29385
29386 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
29387 __mpn_addmul_1 for PowerPC64.
29388 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
29389 __mpn_submul_1 for PowerPC64.
29390 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
29391 for PowerPC64.
29392 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
29393 for PowerPC64.
29394
29395 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
29396
29397 [BZ #15089]
29398 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
29399
29400 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29401
29402 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
29403
29404 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
29405 add multiarch folders.
29406 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
29407 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
29408 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
29409 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
29410 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
29411 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
29412 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
29413 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
29414 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
29415 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
29416 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
29417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
29418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
29419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
29420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
29421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
29422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
29423
29424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
29425 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
29426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
29427 New file.
29428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
29429 New file.
29430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
29431 multiarch __ieee754_hypot for PowerPC32.
29432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
29433 New file.
29434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
29435 New file.
29436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
29437 multiarch __ieee754_hypotf for PowerPC32.
29438
29439 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
29440 long_double_symbol only if __logbl is defined.
29441 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
29442 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
29443 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
29444 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
29445 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
29446 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
29447 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
29448 path for implementation.
29449 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
29450 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
29451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
29452 logb, and logbl multiarch implementations for PowerPC32.
29453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
29454 file.
29455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
29456 file.
29457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
29458 multiarch logb for PowerPC32.
29459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
29460 file.
29461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
29462 file.
29463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
29464 multiarch logbf for PowerPC32.
29465 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
29466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
29467 file.
29468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
29469 multiarch logbl implementation for PowerPC32.
29470
29471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
29472 and modff multiarch implementations.
29473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
29474 New file.
29475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
29476 New file.
29477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
29478 multiarch modf for PowerPC32.
29479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
29480 New file.
29481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
29482 New file.
29483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
29484 multiarch modff for PowerPC32.
29485
29486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
29487 and lrintf multiarch implementations.
29488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
29489 New file.
29490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
29491 New file.
29492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
29493 multiarch lrint for PowerPC32.
29494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
29495 file: multiarch lrintf for PowerPC32.
29496
29497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
29498 and lroundf multiarch implementations.
29499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
29500 New file.
29501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
29502 New file.
29503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
29504 New file.
29505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
29506 multiarch lround for PowerPC32.
29507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
29508 file: multiarch lroundf for PowerPC32.
29509
29510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
29511 copysign and copysignf multiarch implementations.
29512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
29513 New file.
29514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
29515 New file.
29516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
29517 file: multiarch copysign for PowerPC32.
29518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
29519 file: multiarch copysignf for PowerPC32.
29520
29521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
29522 and truncf multiarch implementations.
29523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
29524 New file.
29525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
29526 file.
29527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
29528 multiarch trunc for PowerPC32.
29529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
29530 New file.
29531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
29532 New file.
29533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
29534 multiarch truncf for PowerPC32.
29535
29536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
29537 and roundf multiarch implementations.
29538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
29539 New file.
29540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
29541 file.
29542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
29543 multiarch round for PowerPC32.
29544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
29545 New file.
29546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
29547 New file.
29548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
29549 multiarch roundf for PowerPC32.
29550
29551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
29552 and floorf multiarch implementations.
29553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
29554 New file.
29555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
29556 file.
29557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
29558 multiarch floor for PowerPC32.
29559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
29560 New file.
29561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
29562 New file.
29563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
29564 multiarch floorf for PowerPC32.
29565
29566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
29567 and ceilf multiarch implementations.
29568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
29569 New file.
29570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
29571 file.
29572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
29573 multiarch ceil for PowerPC32.
29574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
29575 New file.
29576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
29577 file.
29578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
29579 multiarch ceilf for PowerPC32.
29580
29581 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
29582 is defined.
29583 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
29584 FINITEF is defined.
29585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
29586 and finitef multiarch implementations.
29587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
29588 New file.
29589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
29590 file.
29591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
29592 multiarch finite for PowerPC32.
29593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
29594 New file.
29595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
29596 file: multiarch finitef for PowerPC32.
29597
29598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
29599 and isinff multiarch implementations.
29600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
29601 file.
29602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
29603 file.
29604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
29605 multiarch isinf for PowerPC32.
29606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
29607 New file.
29608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
29609 multiarch isinff for PowerPC32.
29610
29611 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
29612 alias when __isnan is defined.
29613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
29614 and isnanf multiarch implementations.
29615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
29616 file.
29617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
29618 file.
29619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
29620 file.
29621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
29622 file.
29623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
29624 multiarch isnan for PowerPC32.
29625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
29626 New file.
29627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
29628 New file.
29629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
29630 multiarch isnanf for PowerPC32.
29631
29632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
29633 and sqrtf multiarch implementations.
29634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
29635 file.
29636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
29637 file.
29638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
29639 multiarch sqrt for PowerPC32.
29640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
29641 file.
29642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
29643 file.
29644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
29645 multiarch sqrtf for PowerPC32.
29646
29647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
29648 and llroundf multiarch implementations.
29649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
29650 New file.
29651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
29652 New file.
29653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
29654 New file.
29655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
29656 file: multiarch llround for PowerPC32.
29657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
29658 file: multiarch llroundf for PowerPC32.
29659
29660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
29661 multiarch PowerPC32 fpu implementations.
29662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
29663 New file.
29664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
29665 New file.
29666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
29667 multiarch llrint for PowerPC32.
29668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
29669 New file.
29670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
29671 New file.
29672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
29673 file.
29674
29675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
29676
29677 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
29678 file.
29679 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
29680 file.
29681 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
29682 file.
29683 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
29684 multiarch wordcopy for PPC32.
29685 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
29686 wordcopy objects.
29687 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29688 (__libc_ifunc_impl_list): Likewise.
29689 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
29690 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
29691 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
29692 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
29693 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
29694 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
29695
29696 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
29697 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
29698 file.
29699 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
29700 file.
29701 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
29702 file.
29703 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
29704 multiarch wcscpy for PPC32.
29705 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
29706 multiarch objects.
29707 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29708 (__libc_ifunc_impl_list): Likewise.
29709 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
29710 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
29711 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
29712 sysdeps/powerpc/power6/wcscpy.c.
29713
29714 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
29715 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
29716 file.
29717 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
29718 file.
29719 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
29720 file.
29721 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
29722 multiarch wcsrchr for PPC32.
29723 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
29724 multiarch objects.
29725 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29726 (__libc_ifunc_impl_list): Likewise.
29727 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
29728 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
29729 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
29730 sysdeps/powerpc/power6/wcsrchr.c.
29731
29732 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
29733 file.
29734 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
29735 file.
29736 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
29737 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
29738 multiarch wcschr for PPc32.
29739 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
29740 multiarch objects.
29741 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29742 (__libc_ifunc_impl_list): Likewise.
29743 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
29744 * sysdeps/powerpc/power6/wcschr.c: ... to here.
29745 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
29746 sysdeps/powerpc/power6/wcschr.c.
29747
29748 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
29749 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
29750 file.
29751 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
29752 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
29753 file: multiarch strchr for PPC32.
29754 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
29755 multiarch objects.
29756 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29757 (__libc_ifunc_impl_list): Likewise.
29758
29759 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
29760 name.
29761 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
29762 file.
29763 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
29764 file.
29765 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
29766 multiarch strchrnul for PPC32.
29767 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
29768 multiarch objects.
29769 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29770 (__libc_ifunc_impl_list): Likewise.
29771
29772 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
29773 file.
29774 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
29775 multiarch strncasecmp for PPC32.
29776 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
29777 file.
29778 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
29779 multiarch strncasecmp_l for PPC32.
29780 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
29781 strncasecmp multiarch objects.
29782 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29783 (__libc_ifunc_impl_list): Likewise.
29784
29785 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
29786 file.
29787 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
29788 multiarch strncasecmp for PPC32.
29789 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
29790 New file.
29791 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
29792 multiarch strcasecmp_l for PPC32.
29793 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
29794 multiarch objects.
29795 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29796 (__libc_ifunc_impl_list): Likewise.
29797
29798 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
29799 file.
29800 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
29801 file.
29802 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
29803 multiarch strncmp for PPC32.
29804 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
29805 multiarch objects.
29806 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29807 (__libc_ifunc_impl_list): Likewise.
29808
29809 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
29810 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
29811 file.
29812 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
29813 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
29814 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
29815 multiarch objects.
29816 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29817 (__libc_ifunc_impl_list): Likewise.
29818
29819 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
29820 file.
29821 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
29822 file.
29823 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
29824 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
29825 multiarch objects.
29826 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29827 (__libc_ifunc_impl_list): Likewise.
29828
29829 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
29830 file.
29831 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
29832 file.
29833 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
29834 multiarch rawmemchr for PPC32.
29835 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
29836 multiarch objects.
29837 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29838 (__libc_ifunc_impl_list): Likewise.
29839
29840 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
29841 file.
29842 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
29843 file.
29844 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
29845 file: memrchr multiarch for PPC32.
29846 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
29847 multiarch objects.
29848 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29849 (__libc_ifunc_impl_list): Likewise.
29850
29851 * string/memchr.c (__memchr): Using macro to redefine symbol name.
29852 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
29853 file.
29854 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
29855 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
29856 multiarch memchr for PPC32.
29857 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
29858 multiarch objects.
29859 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29860 (__libc_ifunc_impl_list): Likewise.
29861
29862 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
29863 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
29864 file.
29865 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
29866 file.
29867 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
29868 file: multiarch mempcpy for PPC32.
29869 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
29870 multiarch objects.
29871 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29872 (__libc_ifunc_impl_list): Likewise.
29873
29874 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
29875 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
29876 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
29877 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
29878 multiarch bzero for PPC32.
29879 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
29880 file.
29881 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
29882 file.
29883 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
29884 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
29885 file: multiarch memset for PPC32.
29886 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
29887 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
29888 memset multiarch objects.
29889 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29890 (__libc_ifunc_impl_list): Likewise.
29891
29892 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
29893 file.
29894 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
29895 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
29896 memcmp for PPC32.
29897 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
29898 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
29899 multiarch objects.
29900 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29901 (__libc_ifunc_impl_list): Likewise.
29902
29903 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
29904 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
29905 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
29906 file.
29907 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
29908 file.
29909 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
29910 file.
29911 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
29912 multiarch memcpy for PPC32.
29913 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
29914 multiarch objects.
29915 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29916 (__libc_ifunc_impl_list): Likewise.
29917
29918 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
29919 support multiarch for POWER/PPC32.
29920 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
29921 Likewise.
29922 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
29923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
29924 Implies file to make multiarch folder appers before the fpu and
29925 default folder for power4 configuration.
29926
29927 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29928
29929 * scripts/bench.pl: Append volatile keyword to type.
29930
29931 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29932
29933 * sysdeps/sh/sotruss-lib.c: New file.
29934 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
29935
29936 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29937
29938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29939
29940 2013-12-05 Joseph Myers <joseph@codesourcery.com>
29941
29942 [BZ #6810]
29943 * math/w_tgamma.c: Include <errno.h>.
29944 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
29945 * math/w_tgammaf.c: Include <errno.h>.
29946 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
29947 * math/w_tgammal.c: Include <errno.h>.
29948 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
29949 * math/auto-libm-test-in: Do not allow missing errno on tgamma
29950 underflow. Add more tgamma tests.
29951 * math/auto-libm-test-out: Regenerated.
29952 * sysdeps/i386/fpu/libm-test-ulps: Update.
29953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29954
29955 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
29956 sin, sinh, tan, tanh, tgamma, y0 and y1.
29957 * math/auto-libm-test-out: Regenerated.
29958 * math/libm-test.inc (TEST_COND_x86_64): New macro.
29959 (TEST_COND_x86): Likewise.
29960 (M_E2l): Remove macro.
29961 (M_E3l): Likewise.
29962 (M_2_SQRT_PIl): Likewise.
29963 (M_SQRT_PIl): Likewise.
29964 (M_1_DIV_El): Likewise.
29965 (log_test_data): Use AUTO_TESTS_f_f.
29966 (log10_test_data): Likewise.
29967 (log1p_test_data): Likewise.
29968 (log2_test_data): Likewise.
29969 (sin_test_data): Likewise.
29970 (sin_tonearest_test_data): Likewise.
29971 (sin_towardzero_test_data): Likewise.
29972 (sin_downward_test_data): Likewise.
29973 (sin_upward_test_data): Likewise.
29974 (sinh_test_data): Likewise.
29975 (sinh_tonearest_test_data): Likewise.
29976 (sinh_towardzero_test_data): Likewise.
29977 (sinh_downward_test_data): Likewise.
29978 (sinh_upward_test_data): Likewise.
29979 (tan_test_data): Likewise.
29980 (tan_tonearest_test_data): Likewise.
29981 (tan_towardzero_test_data): Likewise.
29982 (tan_downward_test_data): Likewise.
29983 (tan_upward_test_data): Likewise.
29984 (tanh_test_data): Likewise.
29985 (tgamma_test_data): Likewise.
29986 (y0_test_data): Likewise.
29987 (y1_test_data): Likewise.
29988 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
29989 (special_real_inputs): Add pi/4.
29990 * sysdeps/i386/fpu/libm-test-ulps: Update.
29991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29992
29993 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29994
29995 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
29996 "longjmp_target" static probes.
29997 (__longjmp): Rename to __longjmp_symbol.
29998 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29999 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
30000 on which longjmp to generate.
30001 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30002 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
30003 probe.
30004 (__sigsetjmp): Rename to __sigsetjmp_symbol.
30005 (__sigjmp_save): Rename to __sigjmp_save_symbol.
30006 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30007 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
30008 and __sigjmp_save_symbol based on which sigsetjmp to generated.
30009 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
30010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
30011 __longjmp_symbol based on which __longjmp to generate.
30012 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
30013 probe.
30014 (setjmp): Rename to setjmp_symbol.
30015 (__sigsetjmp): Rename to __sigsetjmp_symbol.
30016 (_setjmp): Rename to _setjmp_symbol.
30017 (__sigsetjmp): Rename to __sigsetjmp_symbol.
30018 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
30019 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
30020 which setjmp to generate.
30021 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
30022 "longjmp_target" static probes.
30023
30024 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30025
30026 * benchtests/README: Add note about output arguments.
30027 * benchtests/bench-sincos.c: Remove file.
30028 * benchtests/sincos-inputs: New file.
30029 * scripts/bench.pl: Identify output arguments and define
30030 static variables for them.
30031
30032 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
30033
30034 [BZ #15941]
30035 * Makefile (INSTALL): Add install-plain.texi as the primary
30036 dependency.
30037 * manual/install-plain.texi: New file.
30038 * manual/install.texi: Include node directive only for
30039 non-plaintext output.
30040
30041 2013-12-04 Joseph Myers <joseph@codesourcery.com>
30042
30043 * stdlib/longlong.h: Update from GCC.
30044
30045 [BZ #6807]
30046 [BZ #15901]
30047 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
30048 * math/w_j0f.c (y0f): Likewise.
30049 * math/w_j0l.c (__y0l): Likewise.
30050 * math/w_j1.c (y1): Likewise.
30051 * math/w_j1f.c (y1f): Likewise.
30052 * math/w_j1l.c (__y1l): Likewise
30053 * math/w_jn.c (yn): Likewise.
30054 * math/w_jnf.c (ynf): Likewise.
30055 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
30056 Bessel function pole errors in _POSIX_ mode. Use NAN as return
30057 value for Bessel function domain errors outside _SVID_ mode.
30058 Adjust sign of return value for yn (negative integer, 0).
30059 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
30060 by zero in return for negative x and set sign appropriately for
30061 negative n.
30062 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
30063 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30064 * math/libm-test.inc (y0_test_data): Add more tests and adjust
30065 expectations in error cases.
30066 (y1_test_data): Likewise.
30067 (yn_test_data): Likewise.
30068 * sysdeps/i386/fpu/libm-test-ulps: Update.
30069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30070
30071 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30072
30073 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
30074 "64" to "64-v1". Add "64-v2".
30075 (abi-64-options): Rename to ...
30076 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
30077 (abi-64-condition): Rename to ...
30078 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
30079 (abi-64-ld-soname): Rename to ...
30080 (abi-64-v1-ld-soname): ... this.
30081 (abi-64-v2-options): Define.
30082 (abi-64-v2-condition): Likewise.
30083 (abi-64-v2-ld-soname): Likewise.
30084 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
30085 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
30086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
30087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
30088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
30089
30090 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30091 Alan Modra <amodra@gmail.com>
30092
30093 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
30094 New versions for use with the ELFv2 ABI.
30095 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
30096 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
30097 declaration.
30098 (struct La_ppc64v2_retval): Likewise.
30099 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
30100 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
30101 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
30102 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
30103 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
30104 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
30105 Do not save or restore CR.
30106 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
30107 (_dl_profile_resolve): Do no save or restore CR. Support extended
30108 return values for ELFv2 ABI. Fix location of FPR return registers.
30109 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
30110 updated values for _CALL_ELF == 2.
30111 (La_regs, La_retval, int_retval): Likewise.
30112
30113 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30114
30115 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
30116 (FRAME_MIN_SIZE_PARM): Likewise.
30117 (FRAME_BACKCHAIN): Likewise.
30118 (FRAME_CR_SAVE): Likewise.
30119 (FRAME_LR_SAVE): Likewise.
30120 (FRAME_TOC_SAVE): Likewise.
30121 (FRAME_PARM_SAVE): Likewise.
30122 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
30123 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
30124 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
30125 (call_mcount_parm_offset): New macro.
30126 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
30127 (PROF): Use symbolic stack frame offsets.
30128 (TAIL_CALL_SYSCALL_ERROR): Likewise.
30129 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
30130 Redefine in terms of FRAME_MIN_SIZE.
30131 (_dl_runtime_resolve): Use symbolic stack frame offsets.
30132 (_dl_profile_resolve): Likewise. Update comment.
30133 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
30134 symbols stack frame offsets.
30135 (__sigsetjmp): Likewise.
30136 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
30137 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
30138 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
30139 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
30140
30141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
30142 (FRAME_BACKCHAIN): Remove.
30143 (FRAME_CR_SAVE): Likewise.
30144 (FRAME_LR_SAVE): Likewise.
30145 (FRAME_COMPILER_DW): Likewise.
30146 (FRAME_LINKER_DW): Likewise.
30147 (FRAME_TOC_SAVE): Likewise.
30148 (FRAME_PARM_SAVE): Likewise.
30149 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
30150 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
30151 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
30152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
30153 (CHECK_SP): Use symbolic stack frame offsets.
30154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
30155 zone" instead of caller's parameter save area for temp storage.
30156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30157 Likewise. Also, use symbolic stack frame offsets.
30158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
30159 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
30160 our own stack frame instead of the caller's.
30161 (__socket): Use symbolic stack frame offsets.
30162
30163 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30164 Alan Modra <amodra@gmail.com>
30165
30166 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
30167 Define.
30168 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
30169 (PPC64_LOCAL_ENTRY_OFFSET): Define.
30170 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
30171 New function.
30172 (elf_machine_fixup_plt): Call it.
30173 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
30174 reloc arguments.
30175 (elf_machine_rela): Update call to elf_machine_plt_conflict.
30176 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
30177 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
30178 r2 before calling target.
30179
30180 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30181 Alan Modra <amodra@gmail.com>
30182
30183 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
30184 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
30185 versions of macros to support ELFv2 ABI.
30186 (LOCALENTRY): New macro.
30187 (ENTRY, EALIGN): Use it.
30188 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
30189 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
30190 fall through into ENTRY entry point.
30191 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
30192 Only define if _CALL_ELF != 2.
30193
30194 (elf_machine_matches_host): Verify ABI version matches.
30195 (RTLD_START): Use LOCALENTRY.
30196 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
30197 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
30198 (PLT_ENTRY_WORDS): New macro.
30199 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
30200 (elf_machine_runtime_setup): Support ELFv2 ABI.
30201 (elf_machine_fixup_plt): Likewise.
30202 (elf_machine_plt_conflict): Likewise.
30203 (resolve_ifunc): Likewise.
30204 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
30205 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
30206 Likewise.
30207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
30208 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
30209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30210 (makecontext): Support ELFv2 ABI.
30211 * elf/elf.h (EF_PPC64_ABI): Define.
30212
30213 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30214
30215 * sysdeps/powerpc/powerpc64/sysdep.h
30216 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
30217 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
30218 (ENTRY) [ASSEMBLER]: ... but instead here ...
30219 (EALIGN) [ASSEMBLER]: ... and here.
30220 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
30221 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
30222 (ENTRY_2) [!ASSEMBLER]: Use it.
30223 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
30224 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
30225 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
30226 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
30227 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
30228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
30229 Use PPC64_LOAD_FUNCPTR.
30230
30231 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
30232
30233 2013-12-04 Alan Modra <amodra@gmail.com>
30234
30235 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
30236 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
30237 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
30238 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
30239
30240 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
30241 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
30242 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
30243 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
30244 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
30245 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
30246
30247 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30248
30249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30250 (__makecontext): Fix incorrect CFI when backtracing out of
30251 context created via makecontext.
30252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
30253 (__setcontext): Fix incorrect CFI during switch to new context.
30254 (__novec_setcontext): Likewise.
30255
30256 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
30257
30258 [BZ #4772]
30259 * time/strptime_l.c (__strptime_internal): Allow modifiers
30260 in strptime.
30261 * time/tst-strptime.c (day_tests): Add testcase.
30262
30263 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30264
30265 * scripts/bench.pl: Skip over blank lines.
30266
30267 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
30268
30269 [BZ #926]
30270 * manual/time.texi (Calendar Time): Clarify what timezone functions
30271 use.
30272
30273 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30274
30275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30276
30277 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
30278
30279 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
30280 implementation.
30281 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
30282 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
30283 * debug/memset_chk.c (__memset_chk): Likewise.
30284 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
30285 * debug/strncpy_chk.c: Likewise.
30286
30287 2013-12-03 Joseph Myers <joseph@codesourcery.com>
30288
30289 [BZ #15268]
30290 [BZ #15425]
30291 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
30292 (__ieee754_exp): For possibly underflowing results, check size of
30293 result and force underflow exception if required.
30294 * math/auto-libm-test-in: Add more tests of exp.
30295 * math/auto-libm-test-out: Regenerated.
30296 * sysdeps/i386/fpu/libm-test-ulps: Update.
30297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30298
30299 [BZ #16283]
30300 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
30301 * math/w_exp2f.c (__exp2f): Likewise.
30302 * math/w_exp2l.c (__exp2l): Likewise.
30303 * math/auto-libm-test-in: Do not allow missing errno on exp2
30304 underflow.
30305 * math/auto-libm-test-out: Regenerated.
30306
30307 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
30308
30309 [BZ #16274]
30310 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
30311 handle filename validation.
30312 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
30313 (do_open): Delete.
30314
30315 2013-12-03 Joseph Myers <joseph@codesourcery.com>
30316
30317 [BZ #6786]
30318 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
30319 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
30320 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
30321 <float.h>.
30322 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
30323 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
30324 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30325 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
30326 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30327 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
30328 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30329 * math/auto-libm-test-in: Don't allow missing errno from erfc.
30330 Add more erfc tests.
30331 * math/auto-libm-test-out: Regenerated.
30332 * sysdeps/i386/fpu/libm-test-ulps: Update.
30333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30334
30335 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
30336 exp2, expm1, j0 and j1.
30337 * math/auto-libm-test-out: Regenerated.
30338 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
30339 (erfc_test_data): Likewise.
30340 (exp_test_data): Likewise.
30341 (exp_tonearest_test_data): Likewise.
30342 (exp_towardzero_test_data): Likewise.
30343 (exp_downward_test_data): Likewise.
30344 (exp_upward_test_data): Likewise.
30345 (exp10_test_data): Likewise.
30346 (exp2_test_data): Likewise.
30347 (expm1_test_data): Likewise.
30348 (j0_test_data): Likewise.
30349 (j1_test_data): Likewise.
30350 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
30351 (input_flag_type): Add flag_xfail_rounding.
30352 (input_flags): Add xfail-rounding.
30353 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
30354 (output_for_one_input_case): Handle flag_xfail_rounding.
30355 * sysdeps/i386/fpu/libm-test-ulps: Update.
30356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30357
30358 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
30359
30360 [BZ #16289]
30361 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
30362 division by 0.
30363
30364 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30365
30366 [BZ #16195]
30367 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
30368 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
30369 (STAP_PROBE0): New macro.
30370 (STAP_PROBE1): Likewise.
30371 (STAP_PROBE2): Likewise.
30372 (STAP_PROBE3): Likewise.
30373 (STAP_PROBE4): Likewise.
30374
30375 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
30376
30377 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
30378
30379 2013-12-02 Steve Ellcey <sellcey@mips.com>
30380
30381 * benchtests/Makefile (bench): Add sqrt.
30382 (LDLIBS-bench-sqrt): New.
30383 * benchtests/sqrt-input: New.
30384
30385 2013-12-02 Pavel Simerda <psimerda@redhat.com>
30386
30387 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
30388 (GAIH_EAI): Likewise.
30389 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
30390 (gaih_inet): Likewise.
30391 (getaddrinfo): Don't use GAIH_EAI.
30392
30393 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
30394 (struct gaih): Remove definition.
30395
30396 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30397
30398 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
30399 Use HERRNOP directly.
30400
30401 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30402
30403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30404
30405 2013-11-30 Joseph Myers <joseph@codesourcery.com>
30406
30407 * math/gen-auto-libm-tests.c (test_functions): Add more
30408 single-argument functions.
30409 (special_fill_pi_2): New function.
30410 (special_fill_minus_pi_2): Likewise.
30411 (special_fill_pi_6): Likewise.
30412 (special_fill_minus_pi_6): Likewise.
30413 (special_fill_pi_3): Likewise.
30414 (special_fill_2pi_3): Likewise.
30415 (special_fill_e): Likewise.
30416 (special_fill_1_e): Likewise.
30417 (special_fill_e_minus_1): Likewise.
30418 (special_real_inputs): Add more special inputs.
30419 (output_for_one_input_case): Do not require ERANGE on underflow to
30420 zero if round-to-nearest result does not underflow to zero, unless
30421 exact results required.
30422 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
30423 atan, atanh, cbrt, cos and cosh.
30424 * math/auto-libm-test-out: Regenerated.
30425 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
30426 (acos_tonearest_test_data): Likewise.
30427 (acos_towardzero_test_data): Likewise.
30428 (acos_downward_test_data): Likewise.
30429 (acos_upward_test_data): Likewise.
30430 (acosh_test_data): Likewise.
30431 (asin_test_data): Likewise.
30432 (asin_tonearest_test_data): Likewise.
30433 (asin_towardzero_test_data): Likewise.
30434 (asin_upward_test_data): Likewise.
30435 (asinh_test_data): Likewise.
30436 (atan_test_data): Likewise.
30437 (atanh_test_data): Likewise.
30438 (cbrt_test_data): Likewise.
30439 (cos_test_data): Likewise.
30440 (cos_tonearest_test_data): Likewise.
30441 (cos_towardzero_test_data): Likewise.
30442 (cos_downward_test_data): Likewise.
30443 (cos_upward_test_data): Likewise.
30444 (cosh_test_data): Likewise.
30445 (cosh_tonearest_test_data): Likewise.
30446 (cosh_towardzero_test_data): Likewise.
30447 (cosh_downward_test_data): Likewise.
30448 (cosh_upward_test_data): Likewise.
30449 * sysdeps/i386/fpu/libm-test-ulps: Update.
30450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30451
30452 2013-11-29 Joseph Myers <joseph@codesourcery.com>
30453
30454 [BZ #6787]
30455 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
30456 * math/w_exp10f.c (__exp10f): Likewise.
30457 * math/w_exp10l.c (__exp10l): Likewise.
30458 * math/libm-test.inc (exp10_test_data): Add more tests and expect
30459 errno settings in existing tests.
30460
30461 [BZ #14032]
30462 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
30463 precision control set to double precision.
30464 * sysdeps/i386/fpu/w_sqrt.c: New file.
30465 * math/auto-libm-test-in: Add more tests.
30466 * math/auto-libm-test-out: Update.
30467
30468 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
30469 (sqrt_test_tonearest): New function.
30470 (sqrt_towardzero_test_data): New variable.
30471 (sqrt_test_towardzero): New function.
30472 (sqrt_downward_test_data): New variable.
30473 (sqrt_test_downward): New function.
30474 (sqrt_upward_test_data): New variable.
30475 (sqrt_test_upward): New function.
30476 (main): Call the new functions.
30477
30478 * math/gen-auto-libm-tests.c: New file.
30479 * math/auto-libm-test-in: Likewise.
30480 * math/auto-libm-test-out: New generated file.
30481 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
30482 variables.
30483 (%beautify): Add generated representations of zero.
30484 (top level): Set $auto_input and call parse_auto_input.
30485 (beautify): Remove trailing "f" from hex float constants.
30486 (parse_args): Handle XFAIL_TEST.
30487 (convert_condition): New function.
30488 (or_value): Likewise.
30489 (or_cond_value): Likewise.
30490 (generate_testfile): Handle AUTO_TESTS_* lines.
30491 (parse_auto_input): New function.
30492 * math/libm-test.inc (XFAIL_TEST): New macro.
30493 (ERRNO_UNCHANGED): Update value.
30494 (ERRNO_EDOM): Likewise.
30495 (ERRNO_ERANGE): Likewise.
30496 (IGNORE_RESULT): Likewise.
30497 (TEST_COND_flt_32): New macro.
30498 (TEST_COND_dbl_64): Likewise.
30499 (TEST_COND_ldbl_96_intel): Likewise.
30500 (TEST_COND_ldbl_96_m68k): Likewise.
30501 (TEST_COND_ldbl_128): Likewise.
30502 (TEST_COND_ldbl_128ibm): Likewise.
30503 (TEST_COND_long32): Likewise.
30504 (TEST_COND_long64): Likewise.
30505 (TEST_COND_before_rounding): Likewise.
30506 (TEST_COND_after_rounding): Likewise.
30507 (enable_test): Handle XFAIL_TEST flag.
30508 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
30509 with finite results.
30510 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
30511 auto-libm-test-out.
30512
30513 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30514 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30515
30516 [BZ #16214]
30517 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
30518 __tls_get_addr_internal instead of __tls_get_offset in order to
30519 avoid GOT pointer dependency. Make rtld export
30520 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
30521 __tls_get_addr since we are a __tls_get_offset platform.
30522 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
30523 GOT pointer being set up before.
30524 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
30525
30526 2013-11-28 Joseph Myers <joseph@codesourcery.com>
30527
30528 * manual/math.texi (Errors in Math Functions): Document accuracy
30529 goals.
30530
30531 [BZ #15004]
30532 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
30533 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
30534 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30535 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30536 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30537 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30538 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30539 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30540 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30541 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30542 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30543 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30544 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30545 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30546 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30547 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30548
30549 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
30550 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
30551 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
30552 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
30553 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
30554 Likewise.
30555 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
30556 Likewise.
30557 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
30558 Likewise.
30559 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
30560 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
30561 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
30562 atomic-feupdateenv and flt-rounds.
30563 * sysdeps/powerpc/nofpu/Versions (libc): Add
30564 __atomic_feholdexcept, __atomic_feclearexcept,
30565 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
30566 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
30567 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
30568 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
30569 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
30570 here.
30571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
30572 Update.
30573
30574 * manual/arith.texi (FP Exceptions): Document that exceptions may
30575 not be raised when matherr is used.
30576 (Math Error Reporting): Document overflow in directed rounding
30577 modes. Document that errno may not be set when finite values are
30578 returned on overflow. Document intent to set errno on underflow
30579 only for underflow to zero.
30580
30581 [BZ #16271]
30582 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
30583 round-to-nearest then adjust result for other rounding modes.
30584 * include/fenv.h (fegetround): Use libm_hidden_proto.
30585 * math/fegetround.c (fegetround): Use libm_hidden_def.
30586 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
30587 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
30588 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
30589 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
30590 Likewise.
30591 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
30592 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30593 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
30594 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
30595
30596 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30597
30598 [BZ #16077]
30599 * nss/Versions (libnss_files): Add
30600 _nss_files_gethostbyname3_r.
30601 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
30602 New function.
30603 (HOST_DB_LOOKUP): Remove macro.
30604 (_nss_files_gethostbyname_r): Implement function without the
30605 HOST_DB_LOOKUP macro.
30606 (_nss_files_gethostbyname2_r): Likewise.
30607
30608 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
30609
30610 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
30611
30612 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
30613
30614 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
30615 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
30616 warning.
30617
30618 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30619
30620 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
30621 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
30622 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
30623 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30624 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
30625 __fe_nomask_env_priv and attribute_hidden.
30626 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
30627 (libc_feupdateenv_test_ppc): Likewise.
30628 (libc_feresetround_ppc): Likewise.
30629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30630 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
30631 compat_symbol macro.
30632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30633 (__fe_nomask_env): Likewise.
30634 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
30635
30636 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30637
30638 * string/Makefile: Remove ifunc tests.
30639 * string/test-string.h: Define TEST_IFUNC.
30640 * string/test-bcopy-ifunc.c: Remove.
30641 * string/test-bzero-ifunc.c: Likewise.
30642 * string/test-memccpy-ifunc.c: Likewise.
30643 * string/test-memchr-ifunc.c: Likewise.
30644 * string/test-memcmp-ifunc.c: Likewise.
30645 * string/test-memcpy-ifunc.c: Likewise.
30646 * string/test-memmem-ifunc.c: Likewise.
30647 * string/test-memmove-ifunc.c: Likewise.
30648 * string/test-mempcpy-ifunc.c: Likewise.
30649 * string/test-memrchr-ifunc.c: Likewise.
30650 * string/test-memset-ifunc.c: Likewise.
30651 * string/test-rawmemchr-ifunc.c: Likewise.
30652 * string/test-stpcpy-ifunc.c: Likewise.
30653 * string/test-stpncpy-ifunc.c: Likewise.
30654 * string/test-strcasecmp-ifunc.c: Likewise.
30655 * string/test-strcasestr-ifunc.c: Likewise.
30656 * string/test-strcat-ifunc.c: Likewise.
30657 * string/test-strchr-ifunc.c: Likewise.
30658 * string/test-strchrnul-ifunc.c: Likewise.
30659 * string/test-strcmp-ifunc.c: Likewise.
30660 * string/test-strcpy-ifunc.c: Likewise.
30661 * string/test-strcspn-ifunc.c: Likewise.
30662 * string/test-strlen-ifunc.c: Likewise.
30663 * string/test-strncasecmp-ifunc.c: Likewise.
30664 * string/test-strncat-ifunc.c: Likewise.
30665 * string/test-strncmp-ifunc.c: Likewise.
30666 * string/test-strncpy-ifunc.c: Likewise.
30667 * string/test-strnlen-ifunc.c: Likewise.
30668 * string/test-strpbrk-ifunc.c: Likewise.
30669 * string/test-strrchr-ifunc.c: Likewise.
30670 * string/test-strspn-ifunc.c: Likewise.
30671 * string/test-strstr-ifunc.c: Likewise.
30672
30673 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30674
30675 * benchtests/Makefile: Remove ifunc tests.
30676 * benchtests/bench-string.h: Define TEST_IFUNC.
30677 * benchtests/bench-bcopy-ifunc.c: Remove.
30678 * benchtests/bench-bzero-ifunc.c: Likewise.
30679 * benchtests/bench-memccpy-ifunc.c: Likewise.
30680 * benchtests/bench-memchr-ifunc.c: Likewise.
30681 * benchtests/bench-memcmp-ifunc.c: Likewise.
30682 * benchtests/bench-memcpy-ifunc.c: Likewise.
30683 * benchtests/bench-memmem-ifunc.c: Likewise.
30684 * benchtests/bench-memmove-ifunc.c: Likewise.
30685 * benchtests/bench-mempcpy-ifunc.c: Likewise.
30686 * benchtests/bench-memrchr-ifunc.c: Likewise.
30687 * benchtests/bench-memset-ifunc.c: Likewise.
30688 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
30689 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
30690 * benchtests/bench-stpcpy-ifunc.c: Likewise.
30691 * benchtests/bench-stpncpy-ifunc.c: Likewise.
30692 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
30693 * benchtests/bench-strcasestr-ifunc.c: Likewise.
30694 * benchtests/bench-strcat-ifunc.c: Likewise.
30695 * benchtests/bench-strchr-ifunc.c: Likewise.
30696 * benchtests/bench-strchrnul-ifunc.c: Likewise.
30697 * benchtests/bench-strcmp-ifunc.c: Likewise.
30698 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
30699 * benchtests/bench-strcpy-ifunc.c: Likewise.
30700 * benchtests/bench-strcspn-ifunc.c: Likewise.
30701 * benchtests/bench-strlen-ifunc.c: Likewise.
30702 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
30703 * benchtests/bench-strncat-ifunc.c: Likewise.
30704 * benchtests/bench-strncmp-ifunc.c: Likewise.
30705 * benchtests/bench-strncpy-ifunc.c: Likewise.
30706 * benchtests/bench-strnlen-ifunc.c: Likewise.
30707 * benchtests/bench-strpbrk-ifunc.c: Likewise.
30708 * benchtests/bench-strrchr-ifunc.c: Likewise.
30709 * benchtests/bench-strsep-ifunc.c: Likewise.
30710 * benchtests/bench-strspn-ifunc.c: Likewise.
30711 * benchtests/bench-strstr-ifunc.c: Likewise.
30712
30713 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30714
30715 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
30716
30717 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30718
30719 * resolv/netdb.h: Use __glibc_reserved instead __unused.
30720 * rt/aio.h: Likewise.
30721 * sysdeps/gnu/bits/utmp.h: Likewise.
30722 * sysdeps/gnu/bits/utmpx.h: Likewise.
30723 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30724 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
30725 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
30726 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
30727 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
30728 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
30729 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
30730 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
30731 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
30732 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
30733 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
30734 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
30735 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
30736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
30737 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
30738 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
30739 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
30740 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
30741 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
30742 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
30743 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
30744 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
30745 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
30746 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30747 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
30748 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30749 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
30750 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
30751 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
30752 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
30753 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
30754 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
30755 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
30756 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
30757 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
30758 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
30759 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
30760 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
30761 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
30762 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
30763 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
30764 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30765
30766 2013-11-25 Carlos O'Donell <carlos@redhat.com>
30767
30768 [BZ #16245]
30769 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
30770 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
30771
30772 2013-11-25 Joseph Myers <joseph@codesourcery.com>
30773
30774 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
30775 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
30776 Likewise.
30777
30778 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30779
30780 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
30781 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
30782 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
30783 (__fesetround): Remove define.
30784 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
30785 rounding and exceptions handling.
30786 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
30787 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
30788 (__fe_nomask_env): Likewise.
30789 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
30790 __fegetround instead of fegetround.
30791 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
30792 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
30793
30794 2013-11-21 Roland McGrath <roland@hack.frob.com>
30795
30796 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
30797 it's there.
30798
30799 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
30800
30801 2013-11-21 Meador Inge <meadori@codesourcery.com>
30802
30803 [BZ #11157]
30804 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
30805 (encrypt_r): Likewise.
30806 * malloc/obstack.h (obstack_free): Likewise.
30807 * posix/unistd.h (encrypt): Likewise.
30808
30809 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
30810
30811 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
30812 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
30813 DL_CALL_DT_FINI() that call the functions directly.
30814 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
30815 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
30816 * elf/dl-fini.c: Likewise.
30817
30818 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
30819
30820 * malloc/hooks.c (memalign_check): Add alignment rounding.
30821 * malloc/malloc.c (_mid_memalign): New function.
30822 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
30823 Implement by calling _mid_memalign.
30824 * manual/probes.texi (Memory Allocation Probes): Remove
30825 memory_valloc_retry and memory_pvalloc_retry.
30826
30827 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30828
30829 * locale/programs/locarchive.c (open_archive): Add const
30830 qualifier to ARCHIVEFNAME and copy default fname to
30831 DEFAULT_FNAME.
30832
30833 [BZ #15601]
30834 * libio/tst-widetext.input: Rename Oriya to Odia.
30835 * locale/iso-639.def: Likewise.
30836
30837 * manual/probes.texi (Mathematical Function Probes): Add
30838 documentation for sin, cos, asin and acos probes.
30839 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
30840 (__sin32): Add slowasin probe.
30841 (__cos32): Add slowacos probe.
30842 (__mpsin): Add slowsin probe.
30843 (__mpcos): Add slowcos probe.
30844
30845 2013-11-19 Joseph Myers <joseph@codesourcery.com>
30846
30847 [BZ #15483]
30848 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
30849 thread-local __sim_exceptions_thread and global
30850 __sim_exceptions_global.
30851 (__sim_disabled_exceptions): Change to thread-local
30852 __sim_disabled_exceptions_thread and global
30853 __sim_disabled_exceptions_global.
30854 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
30855 and global __sim_round_mode_global.
30856 (__simulate_exceptions): Use thread-local floating-point state and
30857 set global state from it as needed.
30858 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
30859 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
30860 __sim_round_mode_thread.
30861 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
30862 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
30863 and global __sim_exceptions_global.
30864 (__sim_disabled_exceptions): Change to thread-local
30865 __sim_disabled_exceptions_thread and global
30866 __sim_disabled_exceptions_global.
30867 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
30868 and global __sim_round_mode_global.
30869 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
30870 (SIM_SET_GLOBAL): Likewise.
30871 * sysdeps/powerpc/soft-fp/sfp-machine.h
30872 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
30873 __sim_round_mode_thread.
30874 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
30875 __sim_disabled_exceptions_thread.
30876 (__sim_exceptions): Change to __sim_exceptions_thread.
30877 (__sim_disabled_exceptions): Change to
30878 __sim_disabled_exceptions_thread.
30879 (__sim_round_mode): Change to __sim_round_mode_thread.
30880 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
30881 thread-local floating-point state and set global state from it as
30882 needed.
30883 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
30884 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
30885 (__sim_disabled_exceptions): Remove extern declaration.
30886 (feenableexcept): Use thread-local floating-point state and set
30887 global state from it as needed.
30888 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
30889 extern declaration.
30890 (__sim_disabled_exceptions): Likewise.
30891 (__sim_round_mode): Likewise.
30892 (__fegetenv): Use thread-local floating-point state.
30893 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
30894 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
30895 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
30896 floating-point state and set global state from it as needed.
30897 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
30898 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30899 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
30900 Likewise.
30901 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
30902 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
30903 Likewise.
30904 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
30905 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
30906 Use __sim_round_mode_thread.
30907 * math/test-fenv-tls.c: New file.
30908 * math/Makefile (tests): Add test-fenv-tls.
30909 ($(objpfx)test-fenv-tls): Depend on
30910 $(common-objpfx)nptl/libpthread.so.
30911
30912 2013-11-19 Andreas Schwab <schwab@suse.de>
30913
30914 * locale/programs/locale.c (show_info): Decode wordarray elements.
30915 * locale/categories.def (LC_MONETARY): Add element for
30916 _NL_MONETARY_CRNCYSTR.
30917 * locale/C-monetary.c (conversion_rate): New variable.
30918 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
30919 element.
30920
30921 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
30922
30923 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
30924 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
30925
30926 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30927
30928 * elf/Makefile (tst-auxv): New test.
30929 * elf/tst-auxv.c: New
30930 * elf/rtld.c (dl_main): Adjust AT_EXECFN
30931
30932 2013-11-18 Joseph Myers <joseph@codesourcery.com>
30933
30934 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
30935 (hidden_proto): Caller changed.
30936 (hidden_tls_proto): New macro.
30937 (libc_hidden_tls_proto): Likewise.
30938 (rtld_hidden_tls_proto): Likewise.
30939 (libm_hidden_tls_proto): Likewise.
30940 (libresolv_hidden_tls_proto): Likewise.
30941 (librt_hidden_tls_proto): Likewise.
30942 (libdl_hidden_tls_proto): Likewise.
30943 (libnss_files_hidden_tls_proto): Likewise.
30944 (libnsl_hidden_tls_proto): Likewise.
30945 (libnss_nisplus_hidden_tls_proto): Likewise.
30946 (libutil_hidden_tls_proto): Likewise.
30947
30948 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
30949
30950 [BZ #10253]
30951 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
30952 (decompose_rpath): Defer expansion to fillin_rpath.
30953 (_dl_init_paths): Pass linkmap to fillin_rpath.
30954
30955 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30956
30957 * benchtests/Makefile: Add strsep.
30958 * benchtests/bench-strsep.c: New file: strsep benchtest.
30959 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
30960
30961 2013-11-18 Andreas Schwab <schwab@suse.de>
30962
30963 * locale/programs/locale.c (show_info) [case byte]: Check for
30964 '\377' instead of '\177'.
30965 * locale/C-monetary.c (not_available): Always use "\377".
30966 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
30967 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
30968 detect unavailable sign_posn locale elements.
30969 * locale/localeconv.c (__localeconv): For grouping and
30970 mon_grouping handle "\177" and "\377" like no grouping.
30971 (INT_ELEM): New macro. Use it to set all numeric members.
30972 * locale/programs/ld-monetary.c (monetary_read)
30973 <tok_mon_grouping>: Normalize single -1 to the empty string.
30974 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
30975 Likewise.
30976
30977 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
30978
30979 [BZ #16055]
30980 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
30981 when we match (nil).
30982 * stdio-common/tst-sscanf.c (struct test): Add testcase.
30983
30984 2013-11-16 Joseph Myers <joseph@codesourcery.com>
30985
30986 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
30987 (NO_TEST_INLINE): Update value.
30988 (ERRNO_UNCHANGED): Likewise.
30989 (ERRNO_EDOM): Likewise.
30990 (ERRNO_ERANGE): Likewise.
30991 (IGNORE_RESULT): Likewise.
30992 (check_float_internal): Check signs of NaN results if
30993 TEST_NAN_SIGN used.
30994 (check_complex): Pass TEST_NAN_SIGN flag through to second
30995 check_float_internal call.
30996 (copysign_test_data): Add tests with quiet NaNs as second
30997 argument. Use TEST_NAN_SIGN.
30998 (fabs_test_data): Add test of negative quiet NaN argument. Use
30999 TEST_NAN_SIGN.
31000 (signbit_test_data): Add tests of quiet NaN argument.
31001 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
31002
31003 * math/gen-libm-test.pl (show_exceptions): Take extra argument
31004 $ignore_result.
31005 (parse_args): Handle function results specified as IGNORE.
31006 * math/libm-test.inc (IGNORE_RESULT): New macro.
31007 (check_float_internal): Do not check numerical result if flag
31008 IGNORE_RESULT set.
31009 (check_complex): Pass through IGNORE_RESULT to second
31010 check_float_internal call.
31011 (check_int): Do not check numerical result if flag IGNORE_RESULT
31012 set.
31013 (check_long): Likewise.
31014 (check_bool): Likewise.
31015 (check_longlong): Likewise.
31016 (lrint_test_data): Add tests of infinite and NaN arguments.
31017 (lrint_tonearest_test_data): Likewise.
31018 (lrint_towardzero_test_data): Likewise.
31019 (lrint_downward_test_data): Likewise.
31020 (lrint_upward_test_data): Likewise.
31021 (llrint_test_data): Likewise.
31022 (llrint_tonearest_test_data): Likewise.
31023 (llrint_towardzero_test_data): Likewise.
31024 (llrint_downward_test_data): Likewise.
31025 (llrint_upward_test_data): Likewise.
31026 (lround_test_data): Likewise.
31027 (llround_test_data): Likewise.
31028
31029 * math/libm-test.inc (NO_TEST_INLINE): New macro.
31030 (ERRNO_UNCHANGED): Update value.
31031 (ERRNO_EDOM): Likewise.
31032 (ERRNO_ERANGE): Likewise.
31033 (NO_TEST_INLINE_FLOAT): New macro.
31034 (NO_TEST_INLINE_DOUBLE): Likewise.
31035 (enable_test): New function.
31036 (RUN_TEST_f_f): Check enable_test before running test.
31037 (RUN_TEST_2_f): Likewise.
31038 (RUN_TEST_fff_f): Likewise.
31039 (RUN_TEST_c_f): Likewise.
31040 (RUN_TEST_f_f1): Likewise.
31041 (RUN_TEST_fF_f1): Likewise.
31042 (RUN_TEST_fI_f1): Likewise.
31043 (RUN_TEST_ffI_f1): Likewise.
31044 (RUN_TEST_c_c): Likewise.
31045 (RUN_TEST_cc_c): Likewise.
31046 (RUN_TEST_f_i): Likewise.
31047 (RUN_TEST_f_i_tg): Likewise.
31048 (RUN_TEST_ff_i_tg): Likewise.
31049 (RUN_TEST_f_b): Likewise.
31050 (RUN_TEST_f_b_tg): Likewise.
31051 (RUN_TEST_f_l): Likewise.
31052 (RUN_TEST_f_L): Likewise.
31053 (RUN_TEST_fFF_11): Likewise.
31054 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
31055 conditionals.
31056 (cosh_test_data): Likewise.
31057 (exp_test_data): Likewise.
31058 (expm1_test_data): Likewise.
31059 (hypot_test_data): Likewise.
31060 (pow_test_data): Likewise.
31061 (sinh_test_data): Likewise.
31062 (tanh_test_data): Likewise.
31063 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
31064 flags argument.
31065
31066 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
31067 tests with quiet NaN input and output.
31068 (acosh_test_data): Likewise.
31069 (asin_test_data): Likewise.
31070 (asinh_test_data): Likewise.
31071 (atan_test_data): Likewise.
31072 (atanh_test_data): Likewise.
31073 (atan2_test_data): Likewise.
31074 (cbrt_test_data): Likewise.
31075 (cos_test_data): Likewise.
31076 (cosh_test_data): Likewise.
31077 (erf_test_data): Likewise.
31078 (erfc_test_data): Likewise.
31079 (exp_test_data): Likewise.
31080 (exp10_test_data): Likewise.
31081 (exp2_test_data): Likewise.
31082 (expm1_test_data): Likewise.
31083 (hypot_test_data): Likewise.
31084 (j0_test_data): Likewise.
31085 (j1_test_data): Likewise.
31086 (jn_test_data): Likewise.
31087 (lgamma_test_data): Likewise.
31088 (log_test_data): Likewise.
31089 (log10_test_data): Likewise.
31090 (log1p_test_data): Likewise.
31091 (log2_test_data): Likewise.
31092 (pow_test_data): Likewise.
31093 (scalb_test_data): Likewise.
31094 (sin_test_data): Likewise.
31095 (sincos_test_data): Likewise.
31096 (sinh_test_data): Likewise.
31097 (tan_test_data): Likewise.
31098 (tanh_test_data): Likewise.
31099 (tgamma_test_data): Likewise.
31100 (y0_test_data): Likewise.
31101 (y1_test_data): Likewise.
31102 (yn_test_data): Likewise.
31103
31104 [BZ #16167]
31105 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
31106 argument being NaN and avoid computations with second argument in
31107 that case.
31108 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31109 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
31110 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31111
31112 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
31113
31114 * locale/iso-639.def: Add Chitwani Tharu (the).
31115
31116 2013-11-14 Andreas Schwab <schwab@suse.de>
31117
31118 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
31119 word instead of empty string.
31120
31121 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31122
31123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31124 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
31125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31126 (__fe_nomask_env): Likewise.
31127
31128 2013-11-13 Steve Ellcey <sellcey@mips.com>
31129
31130 * benchtests/bench-timing.h: Include time.h.
31131
31132 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
31133
31134 [BZ #15997]
31135 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
31136 to 3.4.0 for x32.
31137 * sysdeps/unix/sysv/linux/configure: Regenerated.
31138
31139 2013-11-13 Joseph Myers <joseph@codesourcery.com>
31140
31141 [BZ #16151]
31142 * stdlib/strtod_l.c (round_and_return): Do not consider
31143 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
31144 exponent one less than half the least subnormal exponent.
31145 * stdlib/test-strtod-round-data: Add more tests.
31146 * stdlib/tst-strtod-round.c (tests): Regenerated.
31147
31148 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31149
31150 [BZ #14143]
31151 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
31152 (__fe_mask_env): Likewise.
31153 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
31154 libm_hidden_proto and add function prototype.
31155 (__fe_mask_env): Add function prototype.
31156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31157 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
31158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31159 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
31160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31161 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
31162
31163 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31164
31165 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
31166 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
31167
31168 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31169
31170 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
31171 of htab_find_slot().
31172
31173 2013-11-11 David S. Miller <davem@davemloft.net>
31174
31175 [BZ #16150]
31176 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
31177 symbol in the non-vis3 case in static builds.
31178 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
31179 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
31180 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
31181 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
31182
31183 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
31184
31185 [BZ #387]
31186 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
31187 it is empty.
31188
31189 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31190
31191 * benchtests/Makefile: Add bench-strtod.
31192 * benchtests/bench-strtod.c: New file: strtod benchtest
31193
31194 2013-11-11 Andreas Schwab <schwab@suse.de>
31195
31196 [BZ #16153]
31197 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
31198 terminating NUL in key length.
31199
31200 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31201
31202 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
31203 Add artificial ODP entry for vDSO symbol for PPC64.
31204 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
31205 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
31206
31207 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
31208
31209 [BZ #15374]
31210 * nss/getent.c (services_keys): Recognize services starting with digit.
31211
31212 2013-11-06 David S. Miller <davem@davemloft.net>
31213
31214 [BZ #15985]
31215 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
31216 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
31217
31218 2013-11-06 Will Newton <will.newton@linaro.org>
31219
31220 * manual/memory.texi (Malloc Examples): Remove register
31221 keyword from examples.
31222
31223 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
31224
31225 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
31226
31227 2013-11-04 Joseph Myers <joseph@codesourcery.com>
31228
31229 [BZ #6981]
31230 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
31231 depending on [__GCC_IEC_559 > 0].
31232 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
31233 depending on [__GCC_IEC_559_COMPLEX > 0].
31234
31235 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
31236
31237 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
31238 to iso-639.def.
31239
31240 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
31241
31242 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
31243
31244 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
31245
31246 [BZ #16112]
31247 * malloc/malloc (malloc_info): Do not handle first bin as
31248 special case.
31249
31250 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
31251
31252 * locale/iso-639.def: Add Central Nahuatl (nhn).
31253
31254 2013-11-01 Bruno Haible <bruno@clisp.org>
31255
31256 [BZ #7003]
31257 * manual/math.texi (BSD Random): Specify range upper bound as
31258 in POSIX.
31259
31260 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
31261
31262 * locale/iso-639.def: Add Meadow Mari (mhr).
31263
31264 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
31265
31266 [BZ #14752], [BZ #15763]
31267 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
31268 Validate name.
31269 * rt/tst_shm.c: Add test for escaping directory.
31270
31271 2013-10-31 Andreas Schwab <schwab@suse.de>
31272
31273 [BZ #15917]
31274 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
31275 followed by 'x' as part of digit sequence.
31276 * stdio-common/tst-sscanf.c (double_tests2): New tests.
31277
31278 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
31279
31280 [BZ #16037]
31281 * configure.ac: allow GNU Make 4.0 and greater.
31282 * configure: Regenerated.
31283
31284 2013-10-30 Will Newton <will.newton@linaro.org>
31285
31286 [BZ #16038]
31287 * malloc/hooks.c (memalign_check): Limit alignment to the
31288 maximum representable power of two.
31289 * malloc/malloc.c (__libc_memalign): Likewise.
31290 * malloc/tst-memalign.c (do_test): Add test for very
31291 large alignment values.
31292 * malloc/tst-posix_memalign.c (do_test): Likewise.
31293
31294 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
31295
31296 [BZ #11087]
31297 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
31298 (munmap_chunk): Likewise.
31299 (mremap_chunk): Likewise.
31300
31301 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
31302
31303 [BZ #15799]
31304 * stdlib/div.c (div): Remove obsolete code.
31305 * stdlib/ldiv.c (ldiv): Likewise.
31306 * stdlib/lldiv.c (lldiv): Likewise.
31307
31308 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31309
31310 [BZ #16071]
31311 * nss/nss_files/files-XXX.c (get_contents_ret): New
31312 enumerator.
31313 (get_contents): New function.
31314 (internal_getent): Use it. Expand size of LINEBUFLEN.
31315
31316 2013-10-30 Mike Frysinger <vapier@gentoo.org>
31317
31318 * configure.in: Moved to ...
31319 * configure.ac: ... here. Change reference to configure.in
31320 to configure.ac.
31321 * sysdeps/arm/preconfigure.ac: ... here.
31322 configure.in to configure.ac.
31323 * sysdeps/gnu/configure.in: Moved to ...
31324 * sysdeps/gnu/configure.ac: ... here.
31325 * sysdeps/i386/configure.in: Moved to ...
31326 * sysdeps/i386/configure.ac: ... here.
31327 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
31328 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
31329 * sysdeps/mach/configure.in: Moved to ...
31330 * sysdeps/mach/configure.ac: ... here.
31331 * sysdeps/mach/hurd/configure.in: Moved to ...
31332 * sysdeps/mach/hurd/configure.ac: ... here.
31333 * sysdeps/powerpc/configure.in: Moved to ...
31334 * sysdeps/powerpc/configure.ac: ... here.
31335 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
31336 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
31337 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
31338 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
31339 * sysdeps/s390/s390-32/configure.in: Moved to ...
31340 * sysdeps/s390/s390-32/configure.ac: ... here.
31341 * sysdeps/s390/s390-64/configure.in: Moved to ...
31342 * sysdeps/s390/s390-64/configure.ac: ... here.
31343 * sysdeps/sh/configure.in: Moved to ...
31344 * sysdeps/sh/configure.ac: ... here.
31345 * sysdeps/sparc/configure.in: Moved to ...
31346 * sysdeps/sparc/configure.ac: ... here.
31347 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
31348 * sysdeps/unix/sysv/linux/configure.ac: ... here.
31349 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
31350 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
31351 * sysdeps/x86_64/configure.in: Moved to ...
31352 * sysdeps/x86_64/configure.ac: ... here.
31353 * sysdeps/x86_64/preconfigure.in: Moved to ...
31354 * sysdeps/x86_64/preconfigure.ac: ... here.
31355 * aclocal.m4: Change reference to configure.in to configure.ac.
31356 * config.h.in: Likewise.
31357 * manual/install.texi: Likewise.
31358 * manual/maint.texi: Likewise.
31359 * Makefile: Likewise.
31360 * malloc/Makefile: Likewise.
31361 * nscd/Makefile: Likewise.
31362 * Makeconfig: Change reference to configure.in and
31363 preconfigure.in to configure.ac and preconfigure.ac
31364 respectively.
31365 * INSTALL: Regenerated.
31366 * configure: Likewise.
31367 * sysdeps/gnu/configure: Likewise.
31368 * sysdeps/i386/configure: Likewise.
31369 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
31370 * sysdeps/mach/configure: Likewise.
31371 * sysdeps/mach/hurd/configure: Likewise.
31372 * sysdeps/powerpc/configure: Likewise.
31373 * sysdeps/powerpc/powerpc32/configure: Likewise.
31374 * sysdeps/powerpc/powerpc64/configure: Likewise.
31375 * sysdeps/s390/s390-32/configure: Likewise.
31376 * sysdeps/s390/s390-64/configure: Likewise.
31377 * sysdeps/sh/configure: Likewise.
31378 * sysdeps/sparc/configure: Likewise.
31379 * sysdeps/unix/sysv/linux/configure: Likewise.
31380 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
31381 * sysdeps/x86_64/configure: Likewise.
31382 * sysdeps/x86_64/preconfigure: Likewise.
31383
31384 2013-10-29 Andreas Schwab <schwab@suse.de>
31385
31386 * stdio-common/Makefile (tst-swscanf-ENV): Define.
31387
31388 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31389
31390 * benchtests/pow-inputs: Add new inputs.
31391
31392 * benchtests/exp-inputs: Add new inputs.
31393
31394 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
31395 conditional check for return value.
31396 (__cos32): Likewise.
31397
31398 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31399
31400 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
31401 to provide a boost for large inputs with word alignment.
31402 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
31403 implementation based on optimized PPC64 strcpy.
31404 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
31405 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
31406 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
31407 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
31408
31409 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
31410
31411 [BZ #2801]
31412 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
31413
31414 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
31415
31416 [BZ #14876]
31417 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
31418 * time/tst-strptime.c (day_tests): Add testcase.
31419
31420 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
31421
31422 [BZ #14029]
31423 * manual/pattern.texi: Acknowledge that fnmatch can fail.
31424
31425 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
31426
31427 [BZ #16074]
31428 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
31429 MAP_FAILED on error.
31430
31431 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31432
31433 [BZ #16072]
31434 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
31435 heap for large requests.
31436
31437 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
31438
31439 [BZ #9954]
31440 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
31441 result if the result has no associated interface.
31442 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
31443 interface for all 127.X.Y.Z addresses.
31444
31445 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
31446
31447 * locale/iso-639.def: Add Ligurian (lij)
31448
31449 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
31450
31451 [BZ #15825]
31452 * sunrpc/rpc_main.c: Document rpcgen -5.
31453
31454 2013-10-19 Michael Stahl <mstahl@redhat.com>
31455
31456 * elf/rtld.c (do_preload): Print the reason why preloading failed.
31457
31458 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
31459
31460 [BZ #10278]
31461 * posix/glob.c: Match only directories when trailing slash is present.
31462 * posix/tst-gnuglob.c (my_opendir): Do not open files.
31463 (main): Add testcase.
31464
31465 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
31466
31467 [BZ #15670]
31468 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
31469
31470 2013-10-18 Carlos O'Donell <carlos@redhat.com>
31471
31472 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
31473 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
31474 AUTH_DES and cindex for FIPS 140-2.
31475 (DES Encryption): Add cindex FIPS 46-3.
31476
31477 * locale/locarchive.h (struct locarhandle): Add fname.
31478 * locale/programs/localedef.c (main): Pass ARGV[remaining]
31479 if an optional argument was specified to --list-archive,
31480 otherwise NULL.
31481 * locale/programs/locarchive.c (show_archive_content): Take new
31482 argument fname and pass it via ah.fname to open_archive.
31483 * locale/programs/localedef.h: Update decl.
31484 (open_archive): If AH->fname is non-null, open that file
31485 rather than the default file name, and don't ignore ENOENT.
31486 (create_archive): Set AH.fname to NULL.
31487 (delete_locales_from_archive): Likewise.
31488 (add_locales_to_archive): Likewise.
31489 * locale/programs/locfile.c (write_all_categories): Likewise.
31490
31491 2013-10-18 Joseph Myers <joseph@codesourcery.com>
31492 Aldy Hernandez <aldyh@redhat.com>
31493
31494 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
31495 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
31496 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
31497 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
31498 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
31499 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
31500 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
31501 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
31502 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
31503 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
31504 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
31505 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
31506 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
31507 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
31508 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
31509 Likewise.
31510 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
31511 Likewise.
31512 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
31513 Likewise.
31514 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
31515 Likewise.
31516 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
31517 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
31518 Likewise.
31519 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
31520 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
31521 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
31522 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
31523 Likewise.
31524 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
31525 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
31526 * sysdeps/powerpc/preconfigure: Likewise.
31527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
31528 Likewise.
31529 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
31530 Replace contents of file by #include of <fenv_libc.h>.
31531 * sysdeps/powerpc/soft-fp/sfp-machine.h
31532 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
31533 and <sys/prctl.h>.
31534 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
31535 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
31536 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
31537 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
31538 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
31539 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
31540 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
31541 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
31542 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
31543 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
31544 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
31545 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
31546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
31547 Allow copysignl PLT reference to be missing.
31548
31549 2013-10-18 Richard Sandiford <richard@codesourcery.com>
31550 Joseph Myers <joseph@codesourcery.com
31551
31552 [BZ #15948]
31553 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
31554 single character.
31555 (add_to_tablewc): Assert sequence of wide characters is nonempty.
31556
31557 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31558
31559 * elf/tst-tls-dlinfo.c: Don't include tls.h.
31560 * elf/tst-tls1.c: Likewise.
31561 * elf/tst-tls10.h: Likewise.
31562 * elf/tst-tls14.c: Likewise.
31563 * elf/tst-tls2.c: Likewise.
31564 * elf/tst-tls3.c: Likewise.
31565 * elf/tst-tls4.c: Likewise.
31566 * elf/tst-tls5.c: Likewise.
31567 * elf/tst-tls6.c: Likewise.
31568 * elf/tst-tls7.c: Likewise.
31569 * elf/tst-tls8.c: Likewise.
31570 * elf/tst-tls9.c: Likewise.
31571 * elf/tst-tlsmod1.c: Likewise.
31572 * elf/tst-tlsmod13.c: Likewise.
31573 * elf/tst-tlsmod13a.c: Likewise.
31574 * elf/tst-tlsmod14a.c: Likewise.
31575 * elf/tst-tlsmod16a.c: Likewise.
31576 * elf/tst-tlsmod16b.c: Likewise.
31577 * elf/tst-tlsmod2.c: Likewise.
31578 * elf/tst-tlsmod3.c: Likewise.
31579 * elf/tst-tlsmod4.c: Likewise.
31580 * elf/tst-tlsmod5.c: Likewise.
31581 * elf/tst-tlsmod6.c: Likewise.
31582
31583 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
31584
31585 [BZ #12486]
31586 * malloc/malloc.c: remove checks for statistics.
31587
31588 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
31589
31590 [BZ #15277]
31591 * inet/inet_net.c (inet_network): Detect additional invalid strings.
31592 * inet/tst-network.c: Add testcase.
31593
31594 2013-10-17 Andreas Schwab <schwab@suse.de>
31595
31596 [BZ #15218]
31597 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
31598 to determine canonical name.
31599
31600 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
31601
31602 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
31603 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
31604 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31605 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31606 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31607 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31608 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31609 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31610 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31611 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31612 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31613 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31614 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31615 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31616 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31617 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31618 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31619 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31620 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
31621 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31622 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31623 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31624 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31625 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
31626 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
31627 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31628 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31629 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
31630 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31631 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
31632 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31633 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31634 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
31635 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31636 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31637 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31638 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31639 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31640 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31641 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31642 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31643 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
31644 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
31645 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31646 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
31647 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31648 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31649 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
31650 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
31651 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31652 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
31653 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31654 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
31655 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
31656 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31657 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
31658 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31659 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31660
31661 2013-10-17 Joseph Myers <joseph@codesourcery.com>
31662
31663 [BZ #16041]
31664 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
31665 make result into a quiet NaN.
31666
31667 2013-10-16 Joseph Myers <joseph@codesourcery.com>
31668
31669 * soft-fp/adddf3.c: Fix horizontal whitespace.
31670 * soft-fp/addsf3.c: Likewise.
31671 * soft-fp/addtf3.c: Likewise.
31672 * soft-fp/divdf3.c: Likewise.
31673 * soft-fp/divsf3.c: Likewise.
31674 * soft-fp/divtf3.c: Likewise.
31675 * soft-fp/double.h: Likewise.
31676 * soft-fp/eqdf2.c: Likewise.
31677 * soft-fp/eqsf2.c: Likewise.
31678 * soft-fp/eqtf2.c: Likewise.
31679 * soft-fp/extenddftf2.c: Likewise.
31680 * soft-fp/extended.h: Likewise.
31681 * soft-fp/extendsfdf2.c: Likewise.
31682 * soft-fp/extendsftf2.c: Likewise.
31683 * soft-fp/extendxftf2.c: Likewise.
31684 * soft-fp/fixdfdi.c: Likewise.
31685 * soft-fp/fixdfsi.c: Likewise.
31686 * soft-fp/fixdfti.c: Likewise.
31687 * soft-fp/fixsfdi.c: Likewise.
31688 * soft-fp/fixsfsi.c: Likewise.
31689 * soft-fp/fixsfti.c: Likewise.
31690 * soft-fp/fixtfdi.c: Likewise.
31691 * soft-fp/fixtfsi.c: Likewise.
31692 * soft-fp/fixtfti.c: Likewise.
31693 * soft-fp/fixunsdfdi.c: Likewise.
31694 * soft-fp/fixunsdfsi.c: Likewise.
31695 * soft-fp/fixunsdfti.c: Likewise.
31696 * soft-fp/fixunssfdi.c: Likewise.
31697 * soft-fp/fixunssfsi.c: Likewise.
31698 * soft-fp/fixunssfti.c: Likewise.
31699 * soft-fp/fixunstfdi.c: Likewise.
31700 * soft-fp/fixunstfsi.c: Likewise.
31701 * soft-fp/fixunstfti.c: Likewise.
31702 * soft-fp/floatdidf.c: Likewise.
31703 * soft-fp/floatdisf.c: Likewise.
31704 * soft-fp/floatditf.c: Likewise.
31705 * soft-fp/floatsidf.c: Likewise.
31706 * soft-fp/floatsisf.c: Likewise.
31707 * soft-fp/floatsitf.c: Likewise.
31708 * soft-fp/floattidf.c: Likewise.
31709 * soft-fp/floattisf.c: Likewise.
31710 * soft-fp/floattitf.c: Likewise.
31711 * soft-fp/floatundidf.c: Likewise.
31712 * soft-fp/floatundisf.c: Likewise.
31713 * soft-fp/floatunditf.c: Likewise.
31714 * soft-fp/floatunsidf.c: Likewise.
31715 * soft-fp/floatunsisf.c: Likewise.
31716 * soft-fp/floatunsitf.c: Likewise.
31717 * soft-fp/floatuntidf.c: Likewise.
31718 * soft-fp/floatuntisf.c: Likewise.
31719 * soft-fp/floatuntitf.c: Likewise.
31720 * soft-fp/fmadf4.c: Likewise.
31721 * soft-fp/fmasf4.c: Likewise.
31722 * soft-fp/fmatf4.c: Likewise.
31723 * soft-fp/gedf2.c: Likewise.
31724 * soft-fp/gesf2.c: Likewise.
31725 * soft-fp/getf2.c: Likewise.
31726 * soft-fp/ledf2.c: Likewise.
31727 * soft-fp/lesf2.c: Likewise.
31728 * soft-fp/letf2.c: Likewise.
31729 * soft-fp/muldf3.c: Likewise.
31730 * soft-fp/mulsf3.c: Likewise.
31731 * soft-fp/multf3.c: Likewise.
31732 * soft-fp/negdf2.c: Likewise.
31733 * soft-fp/negsf2.c: Likewise.
31734 * soft-fp/negtf2.c: Likewise.
31735 * soft-fp/op-1.h: Likewise.
31736 * soft-fp/op-2.h: Likewise.
31737 * soft-fp/op-4.h: Likewise.
31738 * soft-fp/op-8.h: Likewise.
31739 * soft-fp/op-common.h: Likewise.
31740 * soft-fp/quad.h: Likewise.
31741 * soft-fp/single.h: Likewise.
31742 * soft-fp/soft-fp.h: Likewise.
31743 * soft-fp/sqrtdf2.c: Likewise.
31744 * soft-fp/sqrtsf2.c: Likewise.
31745 * soft-fp/sqrttf2.c: Likewise.
31746 * soft-fp/subdf3.c: Likewise.
31747 * soft-fp/subsf3.c: Likewise.
31748 * soft-fp/subtf3.c: Likewise.
31749 * soft-fp/truncdfsf2.c: Likewise.
31750 * soft-fp/trunctfdf2.c: Likewise.
31751 * soft-fp/trunctfsf2.c: Likewise.
31752 * soft-fp/trunctfxf2.c: Likewise.
31753 * soft-fp/unorddf2.c: Likewise.
31754 * soft-fp/unordsf2.c: Likewise.
31755 * soft-fp/unordtf2.c: Likewise.
31756
31757 2013-10-15 Joseph Myers <joseph@codesourcery.com>
31758
31759 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
31760 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
31761
31762 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
31763
31764 * elf/dl-libc.c: Clear initfini list after freeing.
31765
31766 2013-10-14 Joseph Myers <joseph@codesourcery.com>
31767
31768 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
31769 * soft-fp/addsf3.c: Likewise.
31770 * soft-fp/addtf3.c: Likewise.
31771 * soft-fp/divdf3.c: Likewise.
31772 * soft-fp/divsf3.c: Likewise.
31773 * soft-fp/divtf3.c: Likewise.
31774 * soft-fp/double.h: Likewise.
31775 * soft-fp/eqdf2.c: Likewise.
31776 * soft-fp/eqsf2.c: Likewise.
31777 * soft-fp/eqtf2.c: Likewise.
31778 * soft-fp/extenddftf2.c: Likewise.
31779 * soft-fp/extended.h: Likewise.
31780 * soft-fp/extendsfdf2.c: Likewise.
31781 * soft-fp/extendsftf2.c: Likewise.
31782 * soft-fp/extendxftf2.c: Likewise.
31783 * soft-fp/fixdfdi.c: Likewise.
31784 * soft-fp/fixdfsi.c: Likewise.
31785 * soft-fp/fixdfti.c: Likewise.
31786 * soft-fp/fixsfdi.c: Likewise.
31787 * soft-fp/fixsfsi.c: Likewise.
31788 * soft-fp/fixsfti.c: Likewise.
31789 * soft-fp/fixtfdi.c: Likewise.
31790 * soft-fp/fixtfsi.c: Likewise.
31791 * soft-fp/fixtfti.c: Likewise.
31792 * soft-fp/fixunsdfdi.c: Likewise.
31793 * soft-fp/fixunsdfsi.c: Likewise.
31794 * soft-fp/fixunsdfti.c: Likewise.
31795 * soft-fp/fixunssfdi.c: Likewise.
31796 * soft-fp/fixunssfsi.c: Likewise.
31797 * soft-fp/fixunssfti.c: Likewise.
31798 * soft-fp/fixunstfdi.c: Likewise.
31799 * soft-fp/fixunstfsi.c: Likewise.
31800 * soft-fp/fixunstfti.c: Likewise.
31801 * soft-fp/floatdidf.c: Likewise.
31802 * soft-fp/floatdisf.c: Likewise.
31803 * soft-fp/floatditf.c: Likewise.
31804 * soft-fp/floatsidf.c: Likewise.
31805 * soft-fp/floatsisf.c: Likewise.
31806 * soft-fp/floatsitf.c: Likewise.
31807 * soft-fp/floattidf.c: Likewise.
31808 * soft-fp/floattisf.c: Likewise.
31809 * soft-fp/floattitf.c: Likewise.
31810 * soft-fp/floatundidf.c: Likewise.
31811 * soft-fp/floatundisf.c: Likewise.
31812 * soft-fp/floatunsidf.c: Likewise.
31813 * soft-fp/floatunsisf.c: Likewise.
31814 * soft-fp/floatuntidf.c: Likewise.
31815 * soft-fp/floatuntisf.c: Likewise.
31816 * soft-fp/floatuntitf.c: Likewise.
31817 * soft-fp/fmadf4.c: Likewise.
31818 * soft-fp/fmasf4.c: Likewise.
31819 * soft-fp/fmatf4.c: Likewise.
31820 * soft-fp/gedf2.c: Likewise.
31821 * soft-fp/gesf2.c: Likewise.
31822 * soft-fp/getf2.c: Likewise.
31823 * soft-fp/ledf2.c: Likewise.
31824 * soft-fp/lesf2.c: Likewise.
31825 * soft-fp/letf2.c: Likewise.
31826 * soft-fp/muldf3.c: Likewise.
31827 * soft-fp/mulsf3.c: Likewise.
31828 * soft-fp/multf3.c: Likewise.
31829 * soft-fp/negdf2.c: Likewise.
31830 * soft-fp/negsf2.c: Likewise.
31831 * soft-fp/negtf2.c: Likewise.
31832 * soft-fp/op-1.h: Likewise.
31833 * soft-fp/op-2.h: Likewise.
31834 * soft-fp/op-4.h: Likewise.
31835 * soft-fp/op-8.h: Likewise.
31836 * soft-fp/op-common.h: Likewise.
31837 * soft-fp/quad.h: Likewise.
31838 * soft-fp/single.h: Likewise.
31839 * soft-fp/soft-fp.h: Likewise.
31840 * soft-fp/sqrtdf2.c: Likewise.
31841 * soft-fp/sqrtsf2.c: Likewise.
31842 * soft-fp/sqrttf2.c: Likewise.
31843 * soft-fp/subdf3.c: Likewise.
31844 * soft-fp/subsf3.c: Likewise.
31845 * soft-fp/subtf3.c: Likewise.
31846 * soft-fp/truncdfsf2.c: Likewise.
31847 * soft-fp/trunctfdf2.c: Likewise.
31848 * soft-fp/trunctfsf2.c: Likewise.
31849 * soft-fp/trunctfxf2.c: Likewise.
31850 * soft-fp/unorddf2.c: Likewise.
31851 * soft-fp/unordsf2.c: Likewise.
31852 * soft-fp/unordtf2.c: Likewise.
31853
31854 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
31855
31856 [BZ #15672]
31857 * misc/error.c (error_tail): Fix possible buffer overflow.
31858
31859 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
31860
31861 [BZ #13028]
31862 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
31863 address.
31864
31865 2013-10-14 P. J. McDermott <pj@pehjota.net>
31866
31867 [BZ #832]
31868 * elf/ldd.bash.in (try_trace): New function. Delete previous code
31869 testing pipefail option.
31870
31871 2013-10-12 Joseph Myers <joseph@codesourcery.com>
31872
31873 * soft-fp/double.h: Indent preprocessor directives inside #if.
31874 * soft-fp/extended.h: Likewise.
31875 * soft-fp/op-2.h: Likewise.
31876 * soft-fp/op-4.h: Likewise.
31877 * soft-fp/op-common.h: Likewise.
31878 * soft-fp/quad.h: Likewise.
31879 * soft-fp/single.h: Likewise.
31880 * soft-fp/soft-fp.h: Likewise.
31881
31882 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
31883
31884 * iconv/iconv_prog.c: Fix typos.
31885 * stdio-common/psiginfo-data.h: Likewise.
31886
31887 2013-10-12 Reuben Thomas <rrt@sc3d.org>
31888
31889 [BZ #15764]
31890 * locale/setlocale.c: Fix typo.
31891
31892 2013-10-12 Joseph Myers <joseph@codesourcery.com>
31893
31894 [BZ #16036]
31895 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
31896 signaling NaN arguments.
31897 * soft-fp/unordsf2.c (__unordsf2): Likewise.
31898 * soft-fp/unordtf2.c (__unordtf2): Likewise.
31899
31900 [BZ #14910]
31901 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
31902 unordered operands.
31903 * soft-fp/gesf2.c (__gesf2): Likewise.
31904 * soft-fp/getf2.c (__getf2): Likewise.
31905 * soft-fp/ledf2.c (__ledf2): Likewise.
31906 * soft-fp/lesf2.c (__lesf2): Likewise.
31907 * soft-fp/letf2.c (__letf2): Likewise.
31908
31909 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
31910 * soft-fp/eqsf2.c (__eqsf2): Likewise.
31911 * soft-fp/eqtf2.c (__eqtf2): Likewise.
31912 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
31913 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
31914 * soft-fp/fixdfti.c (__fixdfti): Likewise.
31915 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
31916 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
31917 * soft-fp/fixsfti.c (__fixsfti): Likewise.
31918 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
31919 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
31920 * soft-fp/fixtfti.c (__fixtfti): Likewise.
31921 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
31922 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
31923 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
31924 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
31925 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
31926 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
31927 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
31928 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
31929 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
31930 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
31931 * soft-fp/floatdisf.c (__floatdisf): Likewise.
31932 * soft-fp/floatsisf.c (__floatsisf): Likewise.
31933 * soft-fp/floattidf.c (__floattidf): Likewise.
31934 * soft-fp/floattisf.c (__floattisf): Likewise.
31935 * soft-fp/floattitf.c (__floattitf): Likewise.
31936 * soft-fp/floatundidf.c (__floatundidf): Likewise.
31937 * soft-fp/floatundisf.c (__floatundisf): Likewise.
31938 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
31939 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
31940 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
31941 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
31942 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
31943 * soft-fp/gesf2.c (__gesf2): Likewise.
31944 * soft-fp/getf2.c (__getf2): Likewise.
31945 * soft-fp/ledf2.c (__ledf2): Likewise.
31946 * soft-fp/lesf2.c (__lesf2): Likewise.
31947 * soft-fp/letf2.c (__letf2): Likewise.
31948
31949 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
31950 Undefine and redefine.
31951 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
31952 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
31953 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
31954 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
31955 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31956 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
31957 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31958 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
31959 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31960 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
31961 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31962 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
31963 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31964 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
31965 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31966
31967 [BZ #16032]
31968 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
31969 without decrementing exponent if mantissa >= that for the
31970 denominator, not >.
31971 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
31972 denominator, not >. Decrement exponent in < case instead of
31973 incrementing in >= case.
31974 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
31975 without decrementing exponent if mantissa >= that for the
31976 denominator, not >.
31977
31978 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
31979 computing saturated result for unsigned overflow.
31980
31981 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31982 Jeff Law <law@redhat.com>
31983
31984 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
31985 (atan2Mp): Add systemtap probe marker.
31986 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
31987 (__ieee754_log): Add systemtap probe marker.
31988 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
31989 (atanMp): Add systemtap probe marker.
31990 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
31991 (tanMp): Add systemtap probe marker.
31992 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
31993 (__slowexp): Add systemtap probe marker.
31994 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
31995 (__slowpow): Add systemtap probe marker.
31996 * manual/probes.texi: Document probes.
31997
31998 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
31999
32000 [BZ #15362]
32001 * libio/fileops.c (_IO_new_file_write): Return count of bytes
32002 written.
32003 (_IO_new_file_xsputn): Don't return EOF if nothing has been
32004 written.
32005 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
32006 written to buffer but not flushed.
32007 * libio/iofwrite_u.c: Likewise.
32008 * libio/iopadn.c: Return bytes returned even if EOF was
32009 encountered.
32010 * libio/iowpadn.c: Likewise.
32011 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
32012 if _IO_padn does not write the whole buffer.
32013 [!COMPILE_WPRINTF] (PAD): Likewise.
32014
32015 2013-10-10 David S. Miller <davem@davemloft.net>
32016
32017 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
32018 directory block.
32019
32020 2013-10-10 Joseph Myers <joseph@codesourcery.com>
32021
32022 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
32023 instead of FSF address.
32024 * soft-fp/fixdfti.c: Likewise.
32025 * soft-fp/fixsfti.c: Likewise.
32026 * soft-fp/fixtfti.c: Likewise.
32027 * soft-fp/fixunsdfti.c: Likewise.
32028 * soft-fp/fixunssfti.c: Likewise.
32029 * soft-fp/fixunstfti.c: Likewise.
32030 * soft-fp/floattidf.c: Likewise.
32031 * soft-fp/floattisf.c: Likewise.
32032 * soft-fp/floattitf.c: Likewise.
32033 * soft-fp/floatuntidf.c: Likewise.
32034 * soft-fp/floatuntisf.c: Likewise.
32035 * soft-fp/floatuntitf.c: Likewise.
32036 * soft-fp/trunctfxf2.c: Likewise.
32037
32038 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
32039 * soft-fp/fixdfti.c: Likewise.
32040 * soft-fp/fixsfti.c: Likewise.
32041 * soft-fp/fixtfti.c: Likewise.
32042 * soft-fp/fixunsdfti.c: Likewise.
32043 * soft-fp/fixunssfti.c: Likewise.
32044 * soft-fp/fixunstfti.c: Likewise.
32045 * soft-fp/floattidf.c: Likewise.
32046 * soft-fp/floattisf.c: Likewise.
32047 * soft-fp/floattitf.c: Likewise.
32048 * soft-fp/floatuntidf.c: Likewise.
32049 * soft-fp/floatuntisf.c: Likewise.
32050 * soft-fp/floatuntitf.c: Likewise.
32051 * soft-fp/trunctfxf2.c: Likewise.
32052
32053 2013-10-10 David S. Miller <davem@davemloft.net>
32054
32055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32056
32057 2013-10-10 Joseph Myers <joseph@codsourcery.com>
32058
32059 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
32060 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
32061 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
32062 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
32063 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
32064 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
32065 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
32066
32067 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
32068 for NaNs before doing comparisons on argument.
32069 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
32070 Likewise.
32071
32072 2013-10-10 Will Newton <will.newton@linaro.org>
32073
32074 * malloc/hooks.c (memalign_check): Ensure the value of bytes
32075 passed to _int_memalign does not overflow.
32076
32077 2013-10-10 Torvald Riegel <triegel@redhat.com>
32078
32079 * scripts/bench.pl: Add include-sources directive.
32080 * benchtests/README: Update documentation.
32081
32082 2013-10-10 Joseph Myers <joseph@codesourcery.com>
32083
32084 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
32085 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
32086 instead of FP_INIT_ROUNDMODE.
32087 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
32088 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
32089
32090 [BZ #16034]
32091 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
32092 copy class of input value.
32093 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
32094 not handle exceptions.
32095 * soft-fp/negsf2.c (__negsf2): Likewise.
32096 * soft-fp/negtf2.c (__negtf2): Likewise.
32097 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
32098
32099 2013-10-09 Joseph Myers <joseph@codesourcery.com>
32100
32101 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
32102 semicolon. From Linux kernel.
32103
32104 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
32105
32106 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
32107
32108 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
32109
32110 [BZ #156]
32111 * manual/socket.texi: Added statement about buffer
32112 for gethostbyname2_r.
32113
32114 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
32115
32116 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
32117 Use .p2align directive instead, throughout.
32118 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32119 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
32120 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
32121 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32122 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32123 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
32124 * sysdeps/x86_64/strchr.S: Likewise.
32125 * sysdeps/x86_64/strrchr.S: Likewise.
32126
32127 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32128
32129 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
32130
32131 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
32132
32133 * sysdeps/generic/math_private.h (__mpsin1): Remove
32134 declaration.
32135 (__mpcos1): Likewise.
32136 (__mpsin): New argument __range_reduce.
32137 (__mpcos): Likewise.
32138 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32139 (slow): Use __mpsin and __mpcos.
32140 (slow1): Likewise.
32141 (slow2): Likewise.
32142 (sloww): Likewise.
32143 (sloww1): Likewise.
32144 (sloww2): Likewise.
32145 (bsloww): Likewise.
32146 (bsloww1): Likewise.
32147 (bsloww2): Likewise.
32148 (cslow2): Likewise.
32149 (csloww): Likewise.
32150 (csloww1): Likewise.
32151 (csloww2): Likewise.
32152 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
32153 range_reduce. Merge in __mpsin1.
32154 (__mpcos): Likewise.
32155 (__mpsin1): Remove.
32156 (__mpcos1): Likewise.
32157
32158 2013-10-07 Joseph Myers <joseph@codesourcery.com>
32159
32160 * locale/loadlocale.c (_nl_intern_locale_data): Use
32161 LOCFILE_ALIGNED_P.
32162 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
32163 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
32164 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
32165 obstack data is appropriately aligned.
32166 (obstack_int32_grow_fast): Likewise.
32167 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
32168 * locale/programs/locfile.c (add_locale_uint32): Likewise.
32169 (add_locale_uint32_array): Likewise.
32170
32171 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
32172
32173 * benchtests/Makefile: Remove ARGLIST and RET variables.
32174 ($(objpfx)bench-%.c): Pass only function name to the script.
32175 * benchtests/README: Update documentation.
32176 * benchtests/acos-inputs: Add new directives.
32177 * benchtests/acosh-inputs: Likewise.
32178 * benchtests/asin-inputs: Likewise.
32179 * benchtests/asinh-inputs: Likewise.
32180 * benchtests/atan-inputs: Likewise.
32181 * benchtests/atanh-inputs: Likewise.
32182 * benchtests/cos-inputs: Likewise.
32183 * benchtests/cosh-inputs: Likewise.
32184 * benchtests/exp-inputs: Likewise.
32185 * benchtests/log-inputs: Likewise.
32186 * benchtests/pow-inputs: Likewise.
32187 * benchtests/rint-inputs: Likewise.
32188 * benchtests/sin-inputs: Likewise.
32189 * benchtests/sinh-inputs: Likewise.
32190 * benchtests/tan-inputs: Likewise.
32191 * benchtests/tanh-inputs: Likewise.
32192 * scripts/bench.pl: Add support for new directives.
32193
32194 2013-10-07 Alan Modra <amodra@gmail.com>
32195
32196 * README: Fix careless merge.
32197
32198 2013-10-05 Alan Modra <amodra@gmail.com>
32199
32200 * NEWS: Mention powerpc64le support and bugs fixed.
32201 * README: Both big-endian and little-endian powerpc64 supported.
32202
32203 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
32204
32205 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
32206 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
32207 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
32208 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
32209
32210 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
32211
32212 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
32213 match prototype.
32214
32215 2013-10-04 Joseph Myers <joseph@codesourcery.com>
32216
32217 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
32218 Move -mhard-float appending from
32219 ports/sysdeps/powerpc/powerpc32/Makefile.
32220 [$(with-fp) = yes] (ASFLAGS): Likewise.
32221 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
32222 * sysdeps/powerpc/nofpu: Move directory from
32223 ports/sysdeps/powerpc/nofpu.
32224 * sysdeps/powerpc/soft-fp: Move directory from
32225 ports/sysdeps/powerpc/soft-fp.
32226 * sysdeps/powerpc/powerpc32/405: Move directory from
32227 ports/sysdeps/powerpc/powerpc32/405.
32228 * sysdeps/powerpc/powerpc32/440: Move directory from
32229 ports/sysdeps/powerpc/powerpc32/440.
32230 * sysdeps/powerpc/powerpc32/464: Move directory from
32231 ports/sysdeps/powerpc/powerpc32/464.
32232 * sysdeps/powerpc/powerpc32/476: Move directory from
32233 ports/sysdeps/powerpc/powerpc32/476.
32234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
32235 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
32236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
32237 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
32238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
32239 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
32240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
32241 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
32242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
32243 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
32244 * README: Update for powerpc-*-linux-gnu software floating point
32245 support in libc.
32246
32247 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
32248 case to powerpc/powerpc32*.
32249 * sysdeps/unix/sysv/linux/configure: Regenerated.
32250
32251 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
32252 (_FPU_MASK_OM): Define as 0x04.
32253 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
32254 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
32255 0x00c10080.
32256 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
32257 0x0000003c.
32258 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
32259
32260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
32261 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
32262 getcontext_e500.
32263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
32264 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
32265 setcontext_e500.
32266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
32267 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
32268 and setcontext_e500.
32269
32270 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
32271
32272 * locale/iso-3166.def: Update iso-1366.def and related occurrences
32273
32274 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32275
32276 * manual/threads.texi (Default Thread Attributes): Fix typo.
32277
32278 2013-10-04 Will Newton <will.newton@linaro.org>
32279
32280 * malloc/Makefile: Add tst-memalign.
32281 * malloc/tst-memalign.c: New file.
32282
32283 * malloc/tst-posix_memalign.c: Add comments.
32284 (do_test): Add comments and call free on all potentially
32285 allocated pointers. Add space after cast.
32286
32287 * malloc/tst-pvalloc.c: Add comments.
32288 (do_test): Add comments and call free on all potentially
32289 allocated pointers. Remove duplicate check for NULL pointer.
32290 Add space after cast.
32291
32292 * malloc/tst-valloc.c: Add comments.
32293 (do_test): Add comments and call free on all potentially
32294 allocated pointers. Remove duplicate check for NULL pointer.
32295 Add space after cast.
32296
32297 2013-10-04 Alan Modra <amodra@gmail.com>
32298
32299 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32300 Use stdint types in rather than __attribute__((mode())).
32301 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32302
32303 2013-10-04 Alan Modra <amodra@gmail.com>
32304
32305 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32306 Correct handling of unaligned relocs for little-endian.
32307 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32308
32309 2013-10-04 Alan Modra <amodra@gmail.com>
32310
32311 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
32312 * configure: Regenerate.
32313 * nptl/shlib-versions: Powerpc*le starts at 2.18.
32314 * shlib-versions: Likewise.
32315
32316 2013-10-04 Alan Modra <amodra@gmail.com>
32317
32318 * string/tester.c (test_memrchr): Increment reported test cycle.
32319
32320 2013-10-04 Alan Modra <amodra@gmail.com>
32321
32322 * string/test-memcpy.c (do_one_test): When reporting errors, print
32323 string address and don't overrun end of string.
32324
32325 2013-10-04 Alan Modra <amodra@gmail.com>
32326
32327 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
32328 insrdi. Make better use of reg selection to speed exit slightly.
32329 Schedule entry path a little better. Remove useless "are we done"
32330 checks on entry to main loop. Handle wrapping around zero address.
32331 Correct main loop count. Handle single left-over word from main
32332 loop inline rather than by using loop_small. Remove extra word
32333 case in loop_small caused by wrong loop count. Add little-endian
32334 support.
32335 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32336 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
32337 cache hint.
32338 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32339 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
32340 support. Avoid rlwimi.
32341 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
32342
32343 2013-10-04 Alan Modra <amodra@gmail.com>
32344
32345 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
32346 insrdi. Formatting.
32347 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
32348 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32349 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
32350 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
32351 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32352 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
32353
32354 2013-10-04 Alan Modra <amodra@gmail.com>
32355
32356 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
32357 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32358 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
32359 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
32360 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32361 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32362 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32363 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32364 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
32365 use of regs. Use power7 mtocrf. Tidy function tails.
32366
32367 2013-10-04 Alan Modra <amodra@gmail.com>
32368
32369 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
32370 Formatting. Consistently use rXXX register defines or rN defines.
32371 Use early exit labels that avoid restoring unused non-volatile regs.
32372 Make cr field use more consistent with rWORDn compares. Rename
32373 regs used as shift registers for unaligned loop, using rN defines
32374 for short lifetime/multiple use regs.
32375 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32376 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
32377 addi 1,1,64 to pop stack frame. Simplify return value code.
32378 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32379
32380 2013-10-04 Alan Modra <amodra@gmail.com>
32381
32382 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
32383 support. Correct typos, formatting. Optimize tail. Use insrdi
32384 rather than rlwimi.
32385 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
32386 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
32387 little-endian support. Correct typos.
32388 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
32389 rather than rlwimi.
32390 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
32391 in loop and entry code to keep "and." results.
32392 (strchr): Add little-endian support. Comment. Move cntlzd
32393 earlier in tail.
32394 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
32395
32396 2013-10-04 Alan Modra <amodra@gmail.com>
32397
32398 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
32399 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
32400 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
32401 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
32402
32403 2013-10-04 Alan Modra <amodra@gmail.com>
32404
32405 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
32406 (rTMP): Define as r11.
32407 (strcmp): Add little-endian support. Optimise tail.
32408 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
32409 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32410 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32411 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32412 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32413 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32414 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32415
32416 2013-10-04 Alan Modra <amodra@gmail.com>
32417
32418 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
32419 little-endian support. Remove unnecessary "are we done" tests.
32420 Handle "s" wrapping around zero and extremely large "size".
32421 Correct main loop count. Handle single left-over word from main
32422 loop inline rather than by using small_loop. Correct comments.
32423 Delete "zero" tail, use "end_max" instead.
32424 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
32425
32426 2013-10-04 Alan Modra <amodra@gmail.com>
32427
32428 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
32429 support. Don't branch over align.
32430 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
32431 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
32432 support. Rearrange tmp reg use to suit. Comment.
32433 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
32434
32435 2013-10-04 Alan Modra <amodra@gmail.com>
32436
32437 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
32438
32439 2013-10-04 Alan Modra <amodra@gmail.com>
32440
32441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
32442 conditional form of branch and link when obtaining pc.
32443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
32444
32445 2013-10-04 Alan Modra <amodra@gmail.com>
32446
32447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
32448 HIWORD/LOWORD.
32449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
32450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
32451
32452 2013-10-04 Alan Modra <amodra@gmail.com>
32453
32454 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
32455 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
32456 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
32457 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
32458 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32459 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32460 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
32461 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32462 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
32463 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
32464
32465 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32466 Alistair Popple <alistair@ozlabs.au.ibm.com>
32467 Alan Modra <amodra@gmail.com>
32468
32469 [BZ #15723]
32470 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
32471 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
32472 _dl_hwcap access for little-endian.
32473 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
32474 destroy vmx regs when saving unaligned.
32475 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
32476 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
32477 destroy vmx regs when saving unaligned.
32478
32479 2013-10-04 Alan Modra <amodra@gmail.com>
32480
32481 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
32482 Don't use a union to pack hi/low value.
32483
32484 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32485
32486 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
32487 for little-endian.
32488 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
32489 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
32490 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
32491 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
32492 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
32493
32494 2013-10-04 Alan Modra <amodra@gmail.com>
32495
32496 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
32497 constants to usual value for .cst8 section, and remove redundant
32498 high address load.
32499 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
32500 constant for 0x1p52. Load little-endian words of double from
32501 correct stack offsets.
32502
32503 2013-10-04 Alan Modra <amodra@gmail.com>
32504
32505 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
32506 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
32507 words of double from correct stack offsets.
32508 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
32509 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
32510 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
32511 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
32512 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
32513 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
32514 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
32515 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
32516 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
32517 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
32518 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
32519 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
32520 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32521 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32522 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32523 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
32524 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
32525
32526 2013-10-04 Alan Modra <amodra@gmail.com>
32527
32528 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
32529 64-bit int/double union.
32530 (_FPU_SETCW): Likewise.
32531 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
32532 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
32533
32534 2013-10-04 Alan Modra <amodra@gmail.com>
32535
32536 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
32537 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
32538
32539 2013-10-04 Alan Modra <amodra@gmail.com>
32540
32541 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
32542 use vector int constants.
32543 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
32544
32545 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32546
32547 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
32548 array with long long.
32549 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
32550 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
32551 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
32552 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
32553 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
32554 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
32555 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
32556 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
32557 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
32558 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
32559 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
32560 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
32561 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
32562
32563 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32564
32565 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
32566 (__signbit): Likewise. Correct for little-endian.
32567 (__signbitl): Call __signbit.
32568 (lrint): Correct for little-endian.
32569 (lrintf): Call lrint.
32570
32571 2013-10-04 Alan Modra <amodra@gmail.com>
32572
32573 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
32574 union 32-bit int array member with 64-bit int array.
32575 (t515, tm256): Double rather than long double.
32576 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
32577
32578 2013-10-04 Alan Modra <amodra@gmail.com>
32579
32580 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
32581 Delete.
32582 (IEEE854_LONG_DOUBLE_BIAS): Delete.
32583 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
32584 version of math_ldbl.h.
32585
32586 2013-10-04 Alan Modra <amodra@gmail.com>
32587
32588 [BZ #15734], [BZ #15735]
32589 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
32590 all uses of ieee875 long double macros and unions. Simplify test
32591 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
32592 ldbl_extract_mantissa value for ix,iy exponents. Properly
32593 normalize after ldbl_extract_mantissa, and don't add hidden bit
32594 already handled. Don't treat low word of ieee854 mantissa like
32595 low word of IBM long double and mask off bit when testing for
32596 zero.
32597 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
32598 all uses of ieee875 long double macros and unions. Simplify tests
32599 for 0.0L and inf. Correct double adjustment of k. Delete dead code
32600 adjusting ha,hb. Simplify code setting kld. Delete two600 and
32601 two1022, instead use their values. Recognise that tests for large
32602 "a" and small "b" are mutually exclusive. Rename vars. Comment.
32603 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
32604 Rewrite all uses of ieee875 long double macros and unions. Simplify
32605 test for 0.0L and nan. Correct negation.
32606 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
32607 ieee875 long double macros and unions. Correct output for large
32608 magnitude x. Correct absolute value calculation.
32609 (__erfcl): Likewise.
32610 * math/libm-test.inc: Add tests for errors discovered in IBM long
32611 double versions of fmodl, remainderl, erfl and erfcl.
32612
32613 2013-10-04 Alan Modra <amodra@gmail.com>
32614
32615 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
32616 all uses of ieee854 long double macros and unions. Simplify tests
32617 for long doubles that are fully specified by the high double.
32618 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
32619 Likewise.
32620 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
32621 Remove dead code too.
32622 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
32623 (__ieee754_ynl): Likewise.
32624 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
32625 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
32626 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
32627 Remove dead code too.
32628 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
32629 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
32630 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
32631 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
32632 Simplify.
32633 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
32634 Simplify.
32635 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
32636 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
32637 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
32638 Comment on variable precision.
32639 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
32640 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32641 Likewise.
32642 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32643 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
32644 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
32645 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
32646 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
32647
32648 2013-10-04 Alan Modra <amodra@gmail.com>
32649
32650 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
32651 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
32652 all uses of ieee854 long double macros and unions.
32653 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
32654 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32655 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
32656 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
32657 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
32658 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32659 Likewise.
32660 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
32661 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32662 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
32663 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32664 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
32665 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
32666 Simplify sign and nan test too.
32667 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
32668 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
32669 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
32670 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
32671 Likewise.
32672 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32673 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
32674 Likewise.
32675 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32676 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
32677 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
32678 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
32679 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
32680 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
32681
32682 2013-10-04 Alan Modra <amodra@gmail.com>
32683
32684 * stdio-common/printf_size.c (__printf_size): Don't use
32685 union ieee854_long_double in fpnum union.
32686 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
32687 signbit macro to retrieve sign from long double.
32688 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
32689 retrieve sign from long double.
32690 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
32691 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
32692 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
32693 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
32694 * math/test-misc.c (main): Don't use union ieee854_long_double.
32695
32696 2013-10-04 Alan Modra <amodra@gmail.com>
32697
32698 [BZ #15680]
32699 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
32700 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
32701 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
32702 calculation. Remove unnecessary test for denormal exponent.
32703 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
32704 Correct handling of denormals. Avoid undefined shift behaviour.
32705 Correct normalisation of low mantissa when low double is denormal.
32706 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
32707 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
32708 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
32709 Correct normalisation of low mantissa. Test for overflow of high
32710 mantissa and normalise.
32711 (ldbl_nearbyint): Use more readable constant for two52.
32712 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
32713 (__mpn_construct_long_double): Fix test for overflow of high
32714 mantissa and correct normalisation. Avoid undefined shift.
32715
32716 2013-10-04 Alan Modra <amodra@gmail.com>
32717
32718 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
32719 (union ibm_extended_long_double): Define as an array of ieee754_double.
32720 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
32721 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
32722 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
32723 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32724 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32725 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
32726 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32727 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32728 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32729 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
32730 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32731
32732 2013-10-03 Joseph Myers <joseph@codesourcery.com>
32733
32734 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
32735 page size instead of calling getpagesize.
32736
32737 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
32738 (LOCFILE_ALIGN_MASK): Likewise.
32739 (LOCFILE_ALIGN_UP): Likewise.
32740 (LOCFILE_ALIGNED_P): Likewise.
32741 * locale/programs/ld-collate.c (collate_output): Use the new
32742 macros instead of __alignof__ (int32_t).
32743 * locale/weight.h (findidx): Likewise.
32744
32745 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
32746
32747 [BZ #431]
32748 * manual/string.texi: Fix strncat and wcsncat.
32749
32750 2013-10-03 Brooks Moses <bmoses@google.com>
32751
32752 [BZ #15915]
32753 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
32754 * Makerules: ...here, and adjust associated comments.
32755
32756 2013-10-02 Will Newton <will.newton@linaro.org>
32757
32758 * malloc/Makefile: Add tst-pvalloc.
32759 * malloc/tst-pvalloc.c: New file.
32760
32761 2013-10-02 Will Newton <will.newton@linaro.org>
32762
32763 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
32764 improve test coverage.
32765
32766 2013-10-02 Will Newton <will.newton@linaro.org>
32767
32768 * malloc/Makefile: Add tst-posix_memalign.
32769 * malloc/tst-posix_memalign.c: New file.
32770
32771 2013-10-01 Eric Blake <eblake@redhat.com>
32772
32773 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
32774 Use __THROWNL rather than __THROW on static functions.
32775
32776 2013-09-30 Petr Machata <pmachata@redhat.com>
32777
32778 * elf/elf.h (R_AARCH64_ABS16): New macro.
32779 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
32780 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
32781 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
32782 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
32783 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
32784 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
32785 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
32786 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
32787 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
32788 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
32789 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
32790 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
32791 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
32792 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
32793 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
32794 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
32795 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
32796 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
32797 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
32798 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
32799 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
32800 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
32801 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
32802 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
32803 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
32804 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
32805 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
32806 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
32807 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
32808 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
32809 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
32810 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
32811 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
32812 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
32813 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
32814 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
32815 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
32816 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
32817 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
32818 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
32819 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
32820 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
32821 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
32822 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
32823 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
32824 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
32825 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
32826 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
32827 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
32828 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
32829 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
32830 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
32831 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
32832 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
32833 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
32834 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
32835 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
32836 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
32837 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
32838 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
32839 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
32840 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
32841 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
32842 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
32843 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
32844 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
32845 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
32846 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
32847 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
32848 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
32849 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
32850 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
32851 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
32852 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
32853 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
32854 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
32855 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
32856 (R_AARCH64_TLSDESC_LDR): Likewise.
32857 (R_AARCH64_TLSDESC_ADD): Likewise.
32858 (R_AARCH64_TLSDESC_CALL): Likewise.
32859
32860 2013-09-30 Andreas Schwab <schwab@suse.de>
32861
32862 [BZ #15048]
32863 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
32864 the nss database lookup.
32865 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32866 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32867
32868 2013-09-28 Mike Frysinger <vapier@gentoo.org>
32869
32870 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
32871
32872 2013-09-28 P. J. McDermott <pj@pehjota.net>
32873
32874 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
32875 ${Bash-specific parameter/pattern/string} parameter expansion.
32876 * sysdeps/unix/make-syscalls.sh: Likewise.
32877
32878 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32879
32880 * sysdeps/sh/stackguard-macros.h: New file.
32881
32882 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
32883
32884 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
32885 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
32886 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
32887 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
32888 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32889 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
32890
32891 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32892
32893 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
32894 Fix thread ID register.
32895
32896 2013-09-25 Joseph Myers <joseph@codesourcery.com>
32897
32898 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
32899 [POSIX || UNIX98]: Require rather than permitting all symbols from
32900 <time.h>.
32901 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
32902 element of struct sched_param.
32903 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
32904 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
32905 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
32906 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
32907 constant.
32908
32909 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
32910
32911 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
32912 argument calculation.
32913
32914 2013-09-24 Joseph Myers <joseph@codesourcery.com>
32915
32916 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
32917 Expect macro.
32918 [POSIX] (pthread_attr_t): Do not require type.
32919 [POSIX] (pthread_cond_t): Likewise.
32920 [POSIX] (pthread_condattr_t): Likewise.
32921 [POSIX] (pthread_key_t): Likewise.
32922 [POSIX] (pthread_mutex_t): Likewise.
32923 [POSIX] (pthread_mutexattr_t): Likewise.
32924 [POSIX] (pthread_once_t): Likewise.
32925 [POSIX] (pthread_t): Likewise.
32926 [POSIX-based standards] (pthread_atfork): Expect function.
32927
32928 2013-09-24 Joseph Myers <joseph@codesourcery.com>
32929 Richard Sandiford <richard@codesourcery.com>
32930
32931 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
32932 (swap_endianness_p): New extern variable.
32933 (set_big_endian): New inline function.
32934 (maybe_swap_uint32): Likewise.
32935 (maybe_swap_uint32_array): Likewise.
32936 (maybe_swap_uint32_obstack): Likewise.
32937 * locale/programs/locfile.c: Include <stdbool.h>.
32938 (swap_endianness_p): New variable.
32939 (add_locale_uint32): Call maybe_swap_uint32.
32940 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
32941 (write_locale_data): Call maybe_swap_uint32_array.
32942 * locale/programs/ld-collate.c (obstack_int32_grow): Call
32943 maybe_swap_uint32.
32944 (obstack_int32_grow_fast): Likewise.
32945 (output_weightwc): Call maybe_swap_uint32_obstack.
32946 (collate_output): Likewise.
32947 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
32948 (OPT_LITTLE_ENDIAN): Likewise.
32949 (options): Add --little-endian and --big-endian options.
32950 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
32951 * locale/programs/locarchive.c: Include "locfile.h".
32952 (GET): New macro.
32953 (SET): Likewise.
32954 (INC): Likewise.
32955 (create_archive): Use the new macros to access fields of
32956 structures directly mapped from or written to locale archives.
32957 (oldlocrecentcmp): Likewise.
32958 (enlarge_archive): Likewise.
32959 (insert_name): Likewise.
32960 (add_alias): Likewise.
32961 (add_locale): Likewise.
32962 (delete_locales_from_archive): Likewise.
32963 (show_archive_content): Likewise.
32964 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
32965 locale data.
32966
32967 2013-09-24 Roland McGrath <roland@hack.frob.com>
32968
32969 * manual/freemanuals.texi: Updated from (newly) canonical copy at
32970 http://www.gnu.org/doc/freemanuals.texi.
32971 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
32972
32973 2013-09-24 Will Newton <will.newton@linaro.org>
32974
32975 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
32976 macro.
32977
32978 2013-09-23 Joseph Myers <joseph@codesourcery.com>
32979
32980 * locale/hashval.h (compute_hashval): Interpret bytes of key as
32981 unsigned char.
32982
32983 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
32984
32985 * manual/threads.texi (POSIX Threads): Fix a typo.
32986
32987 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
32988
32989 [BZ #14547]
32990 * string/tst-strcoll-overflow.c: New test case.
32991 * string/Makefile (xtests): Add tst-strcoll-overflow.
32992 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
32993 cache if string sizes may cause integer overflow.
32994
32995 [BZ #14547]
32996 * string/strcoll_l.c (coll_seq): New members rule, idx,
32997 save_idx and back_us.
32998 (get_next_seq_nocache): New function.
32999 (do_compare_nocache): New function.
33000 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
33001 when malloc fails.
33002
33003 2013-09-23 Carlos O'Donell <carlos@redhat.com>
33004
33005 [BZ #15754]
33006 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
33007 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
33008 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
33009
33010 [BZ #15754]
33011 * elf/Makefile (tests): Add tst-ptrguard1.
33012 (tests-static): Add tst-ptrguard1-static.
33013 (tst-ptrguard1-ARGS): Define.
33014 (tst-ptrguard1-static-ARGS): Define.
33015 * elf/tst-ptrguard1.c: New file.
33016 * elf/tst-ptrguard1-static.c: New file.
33017 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
33018 * sysdeps/i386/stackguard-macros.h: Likewise.
33019 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33020 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33021 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33022 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33023 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33024 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33025
33026 2013-09-23 Hector Marco <hecmargi@upv.es>
33027 Ismael Ripoll <iripoll@disca.upv.es>
33028 Carlos O'Donell <carlos@redhat.com>
33029
33030 [BZ #15754]
33031 * sysdeps/generic/stackguard-macros.h: Define
33032 __pointer_chk_guard_local and POINTER_CHK_GUARD.
33033 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
33034 Define __pointer_chk_guard_local.
33035 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
33036 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
33037
33038 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
33039
33040 [BZ #15859]
33041 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
33042
33043 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
33044
33045 * include/string.h (__ffs): Declare as hidden.
33046 * string/ffs.c (__ffs): Define as hidden.
33047 * sysdeps/i386/ffs.c (__ffs): Likewise.
33048 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
33049 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
33050 * sysdeps/s390/ffs.c (__ffs): Likewise.
33051 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
33052
33053 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
33054
33055 * NEWS: Mention malloc probes.
33056
33057 * malloc/arena.c (new_heap): New memory_heap_new probe.
33058 (grow_heap): New memory_heap_more probe.
33059 (shrink_heap): New memory_heap_less probe.
33060 (heap_trim): New memory_heap_free probe.
33061 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
33062 (systrim): New memory_sbrk_less probe.
33063 * manual/probes.texi: Document them.
33064
33065 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
33066 * manual/probes.texi: Document it.
33067
33068 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
33069 (__libc_realloc): Add memory_realloc_retry probe.
33070 (__libc_memalign): Add memory_memalign_retry probe.
33071 (__libc_valloc): Add memory_valloc_retry probe.
33072 (__libc_pvalloc): Add memory_pvalloc_retry probe.
33073 (__libc_calloc): Add memory_calloc_retry probe.
33074 * manual/probes.texi: Document them.
33075
33076 * malloc/arena.c (get_free_list): Add probe
33077 memory_arena_reuse_free_list.
33078 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
33079 and memory_arena_reuse.
33080 (arena_get2) [!PER_THREAD]: Likewise.
33081 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
33082 memory_arena_reuse_realloc.
33083 * manual/probes.texi: Document them.
33084
33085 * malloc/malloc.c (__libc_free): Add
33086 memory_mallopt_free_dyn_thresholds probe.
33087 (__libc_mallopt): Add multiple memory_mallopt probes.
33088 * manual/probes.texi: Document them.
33089
33090 * malloc/malloc.c: Include stap-probe.h.
33091 (__libc_mallopt): Add memory_mallopt probe.
33092 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
33093 * manual/probes.texi: New.
33094 * manual/Makefile (chapters): Add probes.
33095 * manual/threads.texi: Set next node.
33096
33097 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
33098
33099 [BZ #15963, #13985]
33100 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
33101 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
33102 Add `Chinese' to `nan' entry name.
33103
33104 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33105
33106 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
33107 (POLYNOMIAL): Likewise.
33108 (TAYLOR_SINCOS): Likewise.
33109 (TAYLOR_SLOW): Likewise.
33110 (__sin): Use TAYLOR_SINCOS.
33111 (__cos): Likewise.
33112 (slow): Use TAYLOR_SLOW.
33113 (sloww): Likewise.
33114 (bsloww): Likewise.
33115 (csloww): Likewise.
33116
33117 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33118
33119 * stdlib/strtod_l.c: Fix buffer overrun.
33120
33121 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33122
33123 * benchtests/Makefile (bench): Add sincos.
33124 * benchtests/bench-sincos.c: New file.
33125
33126 * math/libm-test.inc (cos_test_data): New test inputs.
33127 (sin_test_data): Likewise.
33128
33129 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
33130 macro.
33131 (__sin): Use it.
33132 (__cos): Likewise.
33133 (slow1): Likewise.
33134 (slow2): Likewise.
33135 (sloww1): Likewise.
33136 (sloww2): Likewise.
33137 (bsloww1): Likewise.
33138 (bsloww2): Likewise.
33139 (cslow2): Likewise.
33140 (csloww1): Likewise.
33141 (csloww2): Likewise.
33142
33143 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
33144 function.
33145 (__sin): Use it.
33146 (__cos): Likewise.
33147
33148 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
33149 gotos.
33150 (__cos): Likewise.
33151
33152 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
33153
33154 * config.h.in (HAVE_MIPS_NAN2008): New macro.
33155 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
33156 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
33157 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
33158 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
33159 * elf/cache.c (print_entry): Handle the new cache flags.
33160
33161 2013-09-18 Joseph Myers <joseph@codesourcery.com>
33162 Aldy Hernandez <aldyh@redhat.com>
33163
33164 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
33165 Change condition to [_SOFT_FLOAT].
33166 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
33167 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
33168 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
33169 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
33170 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
33171 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
33172 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
33173 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
33174 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
33175 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
33176 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
33177 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
33178 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
33179 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
33180 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
33181 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
33182 declaration.
33183
33184 2013-09-18 Joseph Myers <joseph@codesourcery.com>
33185
33186 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
33187 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
33188 (__longjmp): Use LOAD_GP to load saved GPRs.
33189 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
33190 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
33191 (__sigsetjmp): Use SAVE_GP to save GPRs.
33192
33193 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
33194 Do not append -msoft-float.
33195 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
33196
33197 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33198
33199 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
33200
33201 2013-09-17 Joseph Myers <joseph@codesourcery.com>
33202
33203 [BZ #15966]
33204 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
33205 (_FPU_GETCW): Use initial "__" on variable and field names but not
33206 on macro parameter name.
33207 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
33208 parentheses around reference to macro parameter.
33209
33210 2013-09-13 Richard Sandiford <richard@codesourcery.com>
33211
33212 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
33213 prototype.
33214 (ctype_startup): Use uint32_t in cast and sizeof for
33215 ctype->charnames.
33216
33217 2013-09-11 Jia Liu <proljc@gmail.com>
33218
33219 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
33220 __daddr_t_defined.
33221 [__FreeBSD__]: Likewise.
33222
33223 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
33224
33225 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
33226 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
33227 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
33228 (strchr): Remove __strchr_sse42 ifunc selection.
33229 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
33230 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
33231
33232 2013-09-11 Will Newton <will.newton@linaro.org>
33233
33234 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
33235 parameter to RES. Remove hardcoded 1000 value.
33236 * benchtests/bench-skeleton.c (main): Pass RES parameter
33237 to TIMING_INIT and multiply result by 1000.
33238
33239 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33240
33241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33242
33243 2013-09-11 Andreas Schwab <schwab@suse.de>
33244
33245 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
33246 if not defined.
33247 (O_TMPFILE) [__USE_GNU]: Define.
33248 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
33249 Define.
33250
33251 2013-09-11 Will Newton <will.newton@linaro.org>
33252
33253 [BZ #15857]
33254 * malloc/malloc.c (__libc_memalign): Check the value of bytes
33255 does not overflow.
33256
33257 2013-09-11 Will Newton <will.newton@linaro.org>
33258
33259 [BZ #15856]
33260 * malloc/malloc.c (__libc_valloc): Check the value of bytes
33261 does not overflow.
33262
33263 2013-09-11 Will Newton <will.newton@linaro.org>
33264
33265 [BZ #15855]
33266 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
33267 does not overflow.
33268
33269 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
33270
33271 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
33272 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33273 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33274 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33275 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33276
33277 2013-09-10 Allan McRae <allan@archlinux.org>
33278
33279 [BZ #15748]
33280 * manual/arith.texi (Parsing of Floats): Clarify
33281 cross-reference.
33282
33283 [BZ #15849]
33284 * manual/install.texi (Running make install): Mention
33285 --enable-pt-chown.
33286 * INSTALL: Regenerated.
33287
33288 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
33289
33290 * csu/init-first.c (_init): Remove the !SHARED condition around
33291 FPU control word initialization.
33292 * elf/dl-support.c (_dl_fpu_control): New variable.
33293 (_dl_aux_init) <AT_FPUCW>: Initialize it.
33294 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
33295 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
33296 * math/test-fpucw-static.c: New file.
33297 * math/test-fpucw-ieee.c: New file.
33298 * math/test-fpucw-ieee-static.c: New file.
33299 * math/Makefile (tests): Add `test-fpucw-ieee' and
33300 `$(tests-static)'.
33301 (tests-static): New variable.
33302 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
33303 dependency to...
33304 [($(build-shared),yes)]
33305 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
33306 ... this.
33307 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
33308 New dependency.
33309
33310 2013-09-09 Allan McRae <allan@archlinux.org>
33311
33312 [BZ #15939]
33313 * manual/string.texi (Collation Functions): Fix typo in
33314 strcoll example.
33315 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
33316
33317 [BZ #15893]
33318 * stdlib/isomac.c (get_null_defines): Fix memory leak.
33319
33320 [BZ #15892]
33321 * libio/memstream.c (open_memstream): Fix memory leak.
33322 * libio/wmemstream.c (open_wmemstream): Likewise.
33323
33324 [BZ #15895]
33325 * nscd/netgroupcache.c: Fix nesting of ifdefs.
33326
33327 2013-09-09 Will Newton <will.newton@linaro.org>
33328
33329 * malloc/Makefile: Add tst-realloc to tests.
33330 * malloc/tst-realloc.c: New file.
33331
33332 2013-09-09 Allan McRae <allan@archlinux.org>
33333
33334 [BZ #15844]
33335 * COPYING: Update from GNU website to fix FSF address.
33336 * COPYING.LIB: Likewise.
33337
33338 2013-09-06 David S. Miller <davem@davemloft.net>
33339
33340 * po/zh_TW.po: Update Chinese (traditional) translation from
33341 translation project.
33342
33343 2013-09-06 Richard Sandiford <richard@codesourcery.com>
33344 Joseph Myers <joseph@codesourcery.com>
33345
33346 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
33347 "localeinfo.h".
33348 (obstack_chunk_alloc): New macro.
33349 (obstack_chunk_free): Likewise.
33350 (record_offset): New function.
33351 (init_locale_data): Likewise.
33352 (align_locale_data): Likewise.
33353 (add_locale_empty): Likewise.
33354 (add_locale_raw_data): Likewise.
33355 (add_locale_raw_obstack): Likewise.
33356 (add_locale_string): Likewise.
33357 (add_locale_wstring): Likewise.
33358 (add_locale_uint32): Likewise.
33359 (add_locale_uint32_array): Likewise.
33360 (add_locale_char): Likewise.
33361 (start_locale_structure): Likewise.
33362 (end_locale_structure): Likewise.
33363 (start_locale_prelude): Likewise.
33364 (end_locale_prelude): Likewise.
33365 (write_locale_data): Take locale_file structure rather than an
33366 iovec.
33367 * locale/programs/locfile.h: Include "obstack.h".
33368 (struct locale_file): Change to store locale file contents instead
33369 of header.
33370 (init_locale_data): New prototype.
33371 (align_locale_data): Likewise.
33372 (add_locale_empty): Likewise.
33373 (add_locale_raw_data): Likewise.
33374 (add_locale_raw_obstack): Likewise.
33375 (add_locale_string): Likewise.
33376 (add_locale_wstring): Likewise.
33377 (add_locale_uint32): Likewise.
33378 (add_locale_uint32_array): Likewise.
33379 (add_locale_char): Likewise.
33380 (start_locale_structure): Likewise.
33381 (end_locale_structure): Likewise.
33382 (start_locale_prelude): Likewise.
33383 (end_locale_prelude): Likewise.
33384 (write_locale_data): Update prototype.
33385 * locale/programs/3level.h (struct TABLE): Remove result field.
33386 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
33387 Use new locale_file interface.
33388 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
33389 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
33390 * locale/programs/ld-address.c (address_output): Use new
33391 locale_file interface.
33392 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
33393 NO_ADD_LOCALE.
33394 (collate_finish): Don't call collseq_table_finalize.
33395 (collate_output): Use new locale_file interface.
33396 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
33397 in file.
33398 (NO_FINALIZE): Change to NO_ADD_LOCALE.
33399 (TABLE): Move defines earlier in file.
33400 (ELEMENT): Likewise.
33401 (DEFAULT): Likewise.
33402 (wctrans_table_add): Move macro and inline function earlier in
33403 file.
33404 (struct wctype_table): Move type earlier in file.
33405 (add_locale_wctype_table): New static prototype.
33406 (struct locale_ctype_t): Use logical types instead of struct iovec
33407 pointers for members.
33408 (ctype_output): Use new locale_file interface.
33409 (wctype_table_finalize): Change to add_locale_wctype_table. Use
33410 new locale_file interface.
33411 (allocate_arrays): Update for use of new locale_file interface.
33412 * locale/programs/ld-identification.c (identification_output): Use
33413 new locale_file interface.
33414 * locale/programs/ld-measurement.c (measurement_output): Likewise.
33415 * locale/programs/ld-messages.c (messages_output): Likewise.
33416 * locale/programs/ld-monetary.c (monetary_output): Likewise.
33417 * locale/programs/ld-name.c (name_output): Likewise.
33418 * locale/programs/ld-numeric.c (numeric_output): Likewise.
33419 * locale/programs/ld-paper.c (paper_output): Likewise.
33420 * locale/programs/ld-telephone.c (telephone_output): Likewise.
33421 * locale/programs/ld-time.c (time_output): Likewise.
33422
33423 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33424
33425 * benchtests/Makefile: Add memrchr benchmark.
33426 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
33427 benchmark as memrchr.
33428 * benchtests/bench-memrchr-ifunc.c: New file.
33429 * benchtests/bench-memrchr.c: New file.
33430
33431 2013-09-06 Will Newton <will.newton@linaro.org>
33432
33433 * benchtests/Makefile (string-bench): Add memcpy.
33434
33435 2013-09-05 Carlos O'Donell <carlos@redhat.com>
33436 Cong Wang <amwang@redhat.com>
33437
33438 [BZ #15850]
33439 * sysdeps/unix/sysv/linux/bits/in.h
33440 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
33441 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
33442 before __USE_KERNEL_IPV6_DEFS uses.
33443 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
33444 IPPROTO_BEETPH.
33445 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
33446 sockaddr_in6, or ipv6_mreq.
33447
33448 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33449
33450 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
33451 memory access for final bytes in some large inputs.
33452 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
33453
33454 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33455
33456 * string/test-memrchr.c: New file.
33457 * string/test-memrchr-ifunc.c: New file.
33458 * string/Makefile: Add new memrchr testcase.
33459
33460 2013-09-05 Mike Frysinger <vapier@gentoo.org>
33461
33462 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
33463 fanotify_init returns EPERM.
33464
33465 2013-09-04 Joseph Myers <joseph@codesourcery.com>
33466
33467 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
33468 errors.
33469 (top level): Treat second token from macro or constant entries for
33470 allowed headers as allowed.
33471 * include/complex.h: Condition internal declarations on
33472 [!_ISOMAC].
33473 * include/fenv.h: Condition include of <stdbool.h> and internal
33474 declarations on [!_ISOMAC].
33475
33476 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
33477
33478 [BZ #15923]
33479 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
33480
33481 2013-09-04 Joseph Myers <joseph@codesourcery.com>
33482
33483 * configure.in (--enable-versioning): Remove configure option.
33484 (libc_cv_asm_symver_directive): Remove configure test.
33485 (libc_cv_ld_version_script_option): Likewise.
33486 (VERSIONING): Remove variable and AC_SUBST.
33487 (DO_VERSIONING): Remove AC_DEFINE.
33488 * configure: Regenerated.
33489 * config.h.in (DO_VERSIONING): Remove macro.
33490 * Makerules [$(versioning) = yes]: Change conditionals to
33491 [$(build-shared) = yes].
33492 * config.make.in (versioning): Remove variable.
33493 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
33494 [$(build-shared) = yes].
33495 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
33496 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
33497 * elf/Makefile [$(versioning) = yes]: Change conditionals to
33498 [$(build-shared) = yes].
33499 * extra-lib.mk [$(versioning) = yes]: Likewise.
33500 * hurd/Makefile [$(versioning) = yes]: Likewise.
33501 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
33502 [SHARED].
33503 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
33504 [SHARED].
33505 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
33506 [SHARED && !NO_HIDDEN].
33507 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
33508 [SHARED].
33509 [SHARED && DO_VERSIONING]: Likewise..
33510 * libio/Makefile [$(versioning) = yes]: Change conditionals to
33511 [$(build-shared) = yes].
33512 * manual/install.texi (--disable-versioning): Remove
33513 documentation.
33514 * INSTALL: Regenerated.
33515 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
33516 to [SHARED].
33517 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
33518 [$(build-shared) = yes].
33519 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
33520 * sysdeps/i386/i686/multiarch/strstr-c.c
33521 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
33522 [SHARED && !NO_HIDDEN].
33523 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
33524 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
33525 * sysdeps/powerpc/powerpc32/dl-machine.c
33526 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
33527 * sysdeps/powerpc/powerpc32/sysdep.h
33528 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
33529 to [SHARED && PIC && !NO_HIDDEN].
33530 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
33531 conditional to [SHARED].
33532
33533 2013-09-04 Will Newton <will.newton@linaro.org>
33534
33535 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
33536 * benchtests/bench-string.h: Include bench-timing.h instead
33537 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
33538 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
33539 call to HP_TIMING_DIFF_INIT.
33540 * benchtests/bench-memccpy.c: Use bench-timing.h macros
33541 instead of hp-timing.h macros.
33542 * benchtests/bench-memchr.c: Likewise.
33543 * benchtests/bench-memcmp.c: Likewise.
33544 * benchtests/bench-memcpy.c: Likewise.
33545 * benchtests/bench-memmem.c: Likewise.
33546 * benchtests/bench-memmove.c: Likewise.
33547 * benchtests/bench-memset.c: Likewise.
33548 * benchtests/bench-rawmemchr.c: Likewise.
33549 * benchtests/bench-strcasecmp.c: Likewise.
33550 * benchtests/bench-strcasestr.c: Likewise.
33551 * benchtests/bench-strcat.c: Likewise.
33552 * benchtests/bench-strchr.c: Likewise.
33553 * benchtests/bench-strcmp.c: Likewise.
33554 * benchtests/bench-strcpy.c: Likewise.
33555 * benchtests/bench-strcpy_chk.c: Likewise.
33556 * benchtests/bench-strlen.c: Likewise.
33557 * benchtests/bench-strncasecmp.c: Likewise.
33558 * benchtests/bench-strncat.c: Likewise.
33559 * benchtests/bench-strncmp.c: Likewise.
33560 * benchtests/bench-strncpy.c: Likewise.
33561 * benchtests/bench-strnlen.c: Likewise.
33562 * benchtests/bench-strpbrk.c: Likewise.
33563 * benchtests/bench-strrchr.c: Likewise.
33564 * benchtests/bench-strspn.c: Likewise.
33565 * benchtests/bench-strstr.c: Likewise.
33566
33567 2013-09-04 Will Newton <will.newton@linaro.org>
33568
33569 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
33570
33571 2013-09-03 Joseph Myers <joseph@codesourcery.com>
33572
33573 [BZ #15427]
33574 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
33575 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
33576 * math/libm-test.inc (lgamma_test_data): Add more tests.
33577 * sysdeps/i386/fpu/libm-test-ulps: Update.
33578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33579
33580 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
33581
33582 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
33583 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33584 Add ifunc.
33585 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33586 Add strcmp-sse2-unaligned
33587 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
33588
33589 2013-09-02 Mike Frysinger <vapier@gentoo.org>
33590
33591 * Versions.def (libc): Add GLIBC_2.19.
33592
33593 2013-09-02 Mike Frysinger <vapier@gentoo.org>
33594
33595 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
33596 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
33597
33598 2013-09-02 Joseph Myers <joseph@codesourcery.com>
33599
33600 [BZ #14155]
33601 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
33602 intermediate calculations in recurrence.
33603 (__ieee754_ynf): Likewise.
33604 * math/libm-test.inc (jn_test_data): Do not allow spurious
33605 underflow exception. Add more tests.
33606 (yn_test_data): Add more tests.
33607 * sysdeps/i386/fpu/libm-test-ulps: Update.
33608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33609
33610 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
33611
33612 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
33613
33614 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33615
33616 * csu/init-first.c: Fix then/than typos.
33617 * locale/programs/ld-collate.c: Likewise.
33618 * locale/programs/linereader.h: Likewise.
33619 * manual/charset.texi: Likewise.
33620 * manual/filesys.texi: Likewise.
33621 * manual/stdio.texi: Likewise.
33622 * manual/string.texi: Likewise.
33623 * stdlib/fmtmsg.c: Likewise.
33624 * sysdeps/i386/stpncpy.S: Likewise.
33625 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33626 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
33627 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33628 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
33629
33630 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33631
33632 * elf/dl-open.c: Fix typos.
33633 * iconvdata/gbbig5.c: Likewise.
33634 * iconvdata/iso-2022-jp.c: Likewise.
33635 * iconv/gconv_int.h: Likewise.
33636 * iconv/loop.c: Likewise.
33637 * nis/rpcsvc/nis.h: Likewise.
33638 * resolv/ns_name.c: Likewise.
33639 * stdio-common/vfscanf.c: Likewise.
33640 * streams/stropts.h: Likewise.
33641 * sunrpc/rpc_thread.c: Likewise.
33642 * sysdeps/i386/strpbrk.S: Likewise.
33643 * sysdeps/ieee754/k_standard.c: Likewise.
33644 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33645 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33646 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
33647 * sysdeps/mach/hurd/profil.c: Likewise.
33648 * sysdeps/s390/dl-procinfo.h: Likewise.
33649 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
33650 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
33651 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
33652 * sysdeps/x86_64/dl-trampoline.S: Likewise.
33653 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33654
33655 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33656
33657 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
33658 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
33659
33660 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
33661
33662 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
33663 aix specific files.
33664 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
33665 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
33666 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
33667 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
33668 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
33669 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
33670 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
33671 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
33672
33673 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
33674 Roland McGrath <roland@hack.frob.com>
33675
33676 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
33677 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
33678
33679 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
33680
33681 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
33682 __executable_start symbol instead of _start.
33683
33684 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
33685
33686 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
33687 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
33688 Move macros to...
33689 * sysdeps/gnu/ldsodefs.h: ... this new file.
33690
33691 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
33692 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
33693 instead of ELFOSABI_LINUX.
33694
33695 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
33696 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
33697 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
33698 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
33699 Likewise.
33700 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
33701 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
33702 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
33703 Likewise.
33704 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
33705 (ibm_extended_long_double): Add ieee_nan member.
33706 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
33707 (do_test): New function.
33708
33709 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
33710 TEST_TRUNC.
33711 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
33712 functions, renamed from truncdfsf_test, trunctfsf_test,
33713 trunctfdf_test.
33714 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
33715 functions.
33716 (do_test): Run all these.
33717
33718 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
33719
33720 * argp/argp-help.c: Fix typos.
33721 * argp/argp-parse.c: Likewise.
33722 * debug/backtracesyms.c: Likewise.
33723 * elf/elf.h: Likewise.
33724 * malloc/malloc.c: Likewise.
33725 * nis/nis_print.c: Likewise.
33726 * resolv/res_comp.c: Likewise.
33727 * stdlib/stdlib.h: Likewise.
33728 * sunrpc/clnt_tcp.c: Likewise.
33729 * sunrpc/clnt_udp.c: Likewise.
33730 * sunrpc/clnt_unix.c: Likewise.
33731 * sysdeps/unix/bsd/ptsname.c: Likewise.
33732 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
33733 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
33734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
33735 Likewise.
33736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
33737 Likewise.
33738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
33739 Likewise.
33740 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33741
33742 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33743
33744 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
33745 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33746
33747 2013-08-27 Mike Frysinger <vapier@gentoo.org>
33748
33749 [BZ #15897]
33750 * dlfcn/Makefile (tests): Add bug-dl-leaf.
33751 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
33752 ($(objpfx)bug-dl-leaf): New rule.
33753 ($(objpfx)bug-dl-leaf.so): Likewise.
33754 ($(objpfx)bug-dl-leaf.out): Likewise.
33755 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
33756 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
33757 * dlfcn/bug-dl-leaf.c: New test.
33758 * dlfcn/bug-dl-leaf-lib.c: Likewise.
33759 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
33760 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
33761 (dlclose): Likewise.
33762 (dlmopen): Likewise.
33763
33764 2013-08-27 Roland McGrath <roland@hack.frob.com>
33765
33766 * include/netdb.h [!_ISOMAC]:
33767 Don't include <tls.h>.
33768 (h_errno, __libc_h_errno): Move declaration and macros out of
33769 [_LIBC_REENTRANT].
33770
33771 * include/resolv.h [_RESOLV_H_]:
33772 Don't include <tls.h>.
33773 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
33774 * resolv/res_libc.c: Don't include <tls.h>.
33775 (_res): Use __attribute__ ((nocommon)) in place of
33776 __attribute__ ((section (".bss"))).
33777
33778 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
33779 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
33780
33781 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
33782
33783 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
33784 only under [SIOCGIFCONF && SIOCGIFNETMASK].
33785
33786 * resolv/res_mkquery.c: Include <sys/time.h>.
33787
33788 * inet/ifreq.c: Moved to ...
33789 * sysdeps/unix/ifreq.c: ... here.
33790 * inet/ifreq.c: New file, true stub version.
33791
33792 * socket/sa_len.c: New file.
33793 * socket/Makefile (aux): Add it.
33794 * sysdeps/unix/sysv/linux/Makefile
33795 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
33796 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
33797 and #include <socket/sa_len.c>.
33798 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
33799 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
33800
33801 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
33802 * bits/socket.h: ... here.
33803
33804 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
33805 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
33806 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
33807
33808 2013-08-27 Andreas Schwab <schwab@suse.de>
33809
33810 [BZ #15736]
33811 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
33812 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
33813 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
33814 * string/test-strcasecmp.c (test_main): Run tests in several
33815 locales.
33816 * string/test-strncasecmp.c (test_main): Likewise.
33817
33818 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
33819 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
33820 to __strcasecmp_nonascii and __strncasecmp_nonascii.
33821 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
33822 (__strncasecmp_ssse3) [PIC]: Likewise.
33823
33824 2013-08-26 Roland McGrath <roland@hack.frob.com>
33825
33826 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
33827
33828 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
33829 instead of explicitly declaring xdecrypt.
33830 * nis/nss_nis/nis-publickey.c: Likewise.
33831
33832 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33833
33834 [BZ #15890]
33835 * nscd/aicache.c: Include res_hconf.h.
33836 (addhstaiX): Initialize res_hconf.
33837
33838 2013-08-26 Andreas Schwab <schwab@suse.de>
33839
33840 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
33841 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
33842
33843 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33844
33845 * nscd/aicache.c (addhstaiX): Fix indentation.
33846
33847 2013-08-25 Mike Frysinger <vapier@gentoo.org>
33848
33849 * configure.ac: Quote $build_pt_chown test.
33850 * configure: Regenerated.
33851
33852 2013-08-23 Joseph Myers <joseph@codesourcery.com>
33853
33854 [BZ #15532]
33855 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
33856 * math/s_cexpf.c (__cexpf): Likewise.
33857 * math/s_cexpl.c (__cexpl): Likewise.
33858 * math/libm-test.inc (cexp_test_data): Correct expected return
33859 value for NaN + i0. Add another test.
33860
33861 2013-08-22 David S. Miller <davem@davemloft.net>
33862
33863 * po/ca.po: Update Catalan translation from translation project.
33864 * po/uk.po: Add Ukrainian translations from translation project.
33865
33866 2013-08-21 Joseph Myers <joseph@codesourcery.com>
33867
33868 [BZ #15797]
33869 * math/s_fdim.c (__fdim): Check for infinite arguments if result
33870 is infinite, not alongside NaN test.
33871 * math/s_fdimf.c (__fdimf): Likewise.
33872 * math/s_fdiml.c (__fdiml): Likewise.
33873 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
33874 errno is unchanged.
33875
33876 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
33877
33878 * argp/argp-help.c: Fix typos.
33879 * crypt/speeds.c: Likewise.
33880 * csu/check_fds.c: Likewise.
33881 * elf/dl-load.c: Likewise.
33882 * elf/dl-open.c: Likewise.
33883 * elf/reldep3.c: Likewise.
33884 * elf/reldep.c: Likewise.
33885 * elf/sprof.c: Likewise.
33886 * iconv/iconv_charmap.c: Likewise.
33887 * iconv/skeleton.c: Likewise.
33888 * iconv/strtab.c: Likewise.
33889 * io/lockf64.c: Likewise.
33890 * libio/libioP.h: Likewise.
33891 * resolv/gai_notify.c: Likewise.
33892 * resolv/ns_name.c: Likewise.
33893 * resolv/ns_samedomain.c: Likewise.
33894 * resolv/res_send.c: Likewise.
33895 * stdlib/random.c: Likewise.
33896 * sunrpc/rpc/xdr.h: Likewise.
33897 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
33898 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
33899 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33900 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33901 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33902 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
33903 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
33904 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33905 * sysdeps/mach/hurd/check_fds.c: Likewise.
33906 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33907 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
33908 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33909 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33910 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
33911 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33912 * sysdeps/pthread/aio_notify.c: Likewise.
33913 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
33914 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
33915 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
33916 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33917 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
33918
33919 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33920
33921 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
33922 version if bit_Slow_SSE4_2 is set.
33923 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33924 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33925
33926 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33927
33928 [BZ #15867]
33929 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
33930 trampoline stack frame information.
33931 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
33932 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
33933 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
33934 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
33935 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
33936 * sysdeps/unix/sysv/linux/powerpc/init-first.c
33937 (_libc_vdso_platform_setup): Initialize the signal trampolines.
33938 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
33939 sa_flags value.
33940 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
33941 interrupting a syscall and set with option SA_SIGINFO.
33942
33943 2013-08-20 Joseph Myers <joseph@codesourcery.com>
33944
33945 [BZ #15531]
33946 * math/s_cproj.c (__cproj): Only return an infinity if one part of
33947 argument is infinite.
33948 * math/s_cprojf.c (__cprojf): Likewise.
33949 * math/s_cprojl.c (__cprojl): Likewise.
33950 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
33951 * math/libm-test.inc (cproj_test_data): Add more tests.
33952
33953 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
33954
33955 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
33956 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
33957 size. Use __ffs to determine corresponding shift.
33958
33959 2013-08-20 Joseph Myers <joseph@codesourcery.com>
33960 Roland McGrath <roland@hack.frob.com>
33961
33962 * Makefile (INSTALL): Remove trailing blank lines from output of
33963 makeinfo.
33964
33965 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33966
33967 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
33968 Align 32 bit compat elf_greg to 8 bytes.
33969
33970 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
33971
33972 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
33973
33974 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33975
33976 * string/strcoll_l.c (coll_seq): New structure.
33977 (get_next_seq_cached): New function.
33978 (get_next_seq): New function.
33979 (do_compare): New function.
33980 (STRCOLL): Use GNU style definition. Simplify implementation
33981 by using get_next_seq, get_next_seq_cached and do_compare.
33982
33983 2013-08-16 Florian Weimer <fweimer@redhat.com>
33984
33985 [BZ #14699]
33986 CVE-2013-4237
33987 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
33988 member.
33989 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
33990 member.
33991 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
33992 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
33993 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
33994 conditional.
33995 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
33996 GETDENTS_64BIT_ALIGNED.
33997 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33998 * manual/filesys.texi (Reading/Closing Directory): Document
33999 ENAMETOOLONG return value of readdir_r. Recommend readdir more
34000 strongly.
34001 * manual/conf.texi (Limits for Files): Add portability note to
34002 NAME_MAX, PATH_MAX.
34003 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
34004
34005 2013-08-13 Andreas Schwab <schwab@suse.de>
34006
34007 [BZ #15749]
34008 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
34009 of fabs.
34010 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
34011 LDBL_MAX_EXP >= 16384]: Add tests for it.
34012
34013 2013-08-12 David S. Miller <davem@davemloft.net>
34014
34015 * version.h (RELEASE): Set to "development".
34016 (VERSION): Set to "2.18.90".
34017 * NEWS: Add 2.19 section.
34018
34019 2013-08-03 David S. Miller <davem@davemloft.net>
34020
34021 * po/ko.po: Update Korean translation from translation project.
34022
34023 2013-08-01 David S. Miller <davem@davemloft.net>
34024
34025 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
34026 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
34027 Bilka.
34028
34029 2013-07-30 David S. Miller <davem@davemloft.net>
34030
34031 * po/fr.po: Update French translation from translation project.
34032
34033 2013-07-28 David S. Miller <davem@davemloft.net>
34034
34035 * po/cs.po: Update Czech translation from translation project.
34036
34037 * po/sv.po: Update Swedish translation from translation project.
34038
34039 2013-07-27 David S. Miller <davem@davemloft.net>
34040
34041 * po/eo.po: Update Esperanto translation from translation project.
34042
34043 * po/vi.po: Update Vietnamese translation from translation project.
34044
34045 * po/de.po: Update German translation from translation project.
34046
34047 2013-07-26 David S. Miller <davem@davemloft.net>
34048
34049 * po/bg.po: Update Bulgarian translation from translation project.
34050
34051 * po/nl.po: Update Dutch translation from translation project.
34052 * po/pl.po: Update Polish translation from translation project.
34053 * po/ru.po: Update Russian translation from translation project.
34054
34055 2013-07-24 David S. Miller <davem@davemloft.net>
34056
34057 * po/libc.pot: Update.
34058
34059 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34060
34061 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
34062 variable page size.
34063 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
34064 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
34065 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
34066
34067 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34068
34069 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
34070
34071 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34072 Andreas Schwab <schwab@suse.de>
34073 Roland McGrath <roland@hack.frob.com>
34074 Joseph Myers <joseph@codesourcery.com>
34075 Carlos O'Donell <carlos@redhat.com>
34076
34077 [BZ #15755]
34078 * config.h.in: Define HAVE_PT_CHOWN.
34079 * config.make.in (build-pt-chown): New variable.
34080 * configure.in (--enable-pt_chown): New configure option.
34081 * configure: Regenerate.
34082 * login/Makefile: Include Makeconfig. Build pt_chown only if
34083 build-pt-chown is enabled.
34084 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
34085 pt_chown to fix pty ownership.
34086 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
34087 CLOSE_ALL_FDS.
34088 * manual/install.texi (Configuring and compiling): Mention
34089 --enable-pt_chown. Add @findex for grantpt.
34090 * INSTALL: Regenerate.
34091
34092 2013-07-20 David S. Miller <davem@davemloft.net>
34093
34094 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
34095 difference between 32-bit and 64-bit.
34096
34097 2013-07-15 Carlos O'Donell <carlos@redhat.com>
34098
34099 [BZ #15711]
34100 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
34101 Avoid system header dependency with -ffreestanding.
34102 ($(objpfx)bits/syscall%d): Likewise.
34103
34104 2013-07-13 David S. Miller <davem@davemloft.net>
34105
34106 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
34107 underflows from atanl/atan2l due to bug 15319.
34108 (casinh_test_data): Likewise.
34109
34110 2013-07-07 David S. Miller <davem@davemloft.net>
34111
34112 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
34113
34114 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
34115
34116 * sysdeps/i386/fpu/libm-test-ulps: Update.
34117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34118
34119 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34120
34121 * configure.in (--enable-lock-elision): Fix message text.
34122 * INSTALL: Regenerate.
34123 * configure: Regenerate.
34124
34125 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34126
34127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34128
34129 2013-07-03 Andreas Jaeger <aj@suse.de>
34130
34131 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
34132 define.
34133 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
34134 (ptrace_peeksiginfo_args): Add.
34135 (__ptrace_peeksiginfo_flags): Add.
34136 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34137 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34138 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34139
34140 2013-07-03 Allan McRae <allan@archlinux.org>
34141
34142 * sysdeps/i386/fpu/libm-test-ulps: Update.
34143
34144 2013-07-02 David S. Miller <davem@davemloft.net>
34145
34146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34147
34148 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
34149
34150 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34151
34152 2013-07-02 Joseph Myers <joseph@codesourcery.com>
34153
34154 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
34155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34156
34157 2013-07-02 Andi Kleen <ak@linux.intel.com>
34158
34159 * config.h.in (ENABLE_LOCK_ELISION): Add.
34160 * configure.in (--enable-lock-elision): Add option.
34161 * manual/install.texi: Document --enable lock elision.
34162 * configure: Regenerate
34163 * INSTALL: Regenerate.
34164
34165 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
34166
34167 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
34168 SSE4.2 strcasecmp for libc.a.
34169 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
34170
34171 2013-07-02 Joseph Myers <joseph@codesourcery.com>
34172
34173 [BZ #13304]
34174 * soft-fp/op-common.h (_FP_FMA): New macro.
34175 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
34176 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
34177 (_FP_MUL_MEAT_1_imm): ... here.
34178 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
34179 (_FP_MUL_MEAT_1_wide): ... here.
34180 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
34181 (_FP_MUL_MEAT_1_hard): ... here.
34182 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
34183 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
34184 (_FP_MUL_MEAT_2_wide): ... here.
34185 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
34186 (_FP_MUL_MEAT_2_wide_3mul): ... here.
34187 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
34188 (_FP_MUL_MEAT_2_gmp): ... here.
34189 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
34190 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
34191 (_FP_MUL_MEAT_4_wide): ... here.
34192 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
34193 (_FP_MUL_MEAT_4_gmp): ... here.
34194 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
34195 (_FP_WFRACBITS_DW_S): Likewise.
34196 (_FP_WFRACXBITS_DW_S): Likewise.
34197 (_FP_HIGHBIT_DW_S): Likewise.
34198 (FP_FMA_S): Likewise.
34199 (_FP_FRAC_HIGH_DW_S): Likewise.
34200 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
34201 (_FP_WFRACBITS_DW_D): Likewise.
34202 (_FP_WFRACXBITS_DW_D): Likewise.
34203 (_FP_HIGHBIT_DW_D): Likewise.
34204 (FP_FMA_D): Likewise.
34205 (_FP_FRAC_HIGH_DW_D): Likewise.
34206 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
34207 (_FP_WFRACBITS_DW_E): Likewise.
34208 (_FP_WFRACXBITS_DW_E): Likewise.
34209 (_FP_HIGHBIT_DW_E): Likewise.
34210 (FP_FMA_E): Likewise.
34211 (_FP_FRAC_HIGH_DW_E): Likewise.
34212 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
34213 (_FP_WFRACBITS_DW_Q): Likewise.
34214 (_FP_WFRACXBITS_DW_Q): Likewise.
34215 (_FP_HIGHBIT_DW_Q): Likewise.
34216 (FP_FMA_Q): Likewise.
34217 (_FP_FRAC_HIGH_DW_Q): Likewise.
34218 * soft-fp/fmasf4.c: New file.
34219 * soft-fp/fmadf4.c: Likewise.
34220 * soft-fp/fmatf4.c: Likewise.
34221
34222 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34223
34224 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34225 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
34226 Silvermont.
34227 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
34228 macro.
34229 (index_Slow_SSE4_2): Likewise.
34230 (index_Prefer_PMINUB_for_stringop): Likewise.
34231 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
34232 bit_Slow_SSE4_2 is set.
34233 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34234 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34235
34236 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34237
34238 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
34239 rtld_global._dl_hwcap2.
34240 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
34241 POWER8.
34242 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
34243 POWER8 feature descriptions defined in _dl_hwcap2.
34244 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
34245 string handling for POWER8 feature bits.
34246 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
34247 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
34248 _dl_powerpc_cap_flags.
34249 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
34250 * sysdeps/powerpc/rtld-global-offsets.sym
34251 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
34252 _dl_hwcap2 in the rtld_global_ro structure.
34253
34254 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34255
34256 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
34257 hardware capabilities in support of AT_HWCAP2.
34258 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
34259 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
34260 GLRO(dl_hwcap2).
34261 (_dl_show_auxv): Add support for calling _dl_procinfo to display
34262 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
34263 explicitly the unknown a_type display mechanism is used.
34264 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
34265 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
34266 struct member.
34267 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
34268 to macro prototype for AT_HWCAP2 support.
34269 * sysdeps/i386/dl-procinfo.h: Likewise.
34270 * sysdeps/s390/dl-procinfo.h: Likewise.
34271 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
34272 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
34273 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
34274 return -1 for unknown a_type display fallback.
34275 * sysdeps/sparc/dl-procinfo.h: Likewise.
34276 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
34277 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
34278
34279 2013-06-28 Joseph Myers <joseph@codesourcery.com>
34280
34281 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
34282 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
34283
34284 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
34285
34286 [BZ #12492]
34287 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
34288 mprotect making __stack_prot writable.
34289
34290 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
34291 Joseph Myers <joseph@codesourcery.com>
34292
34293 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
34294 as being properly aligned.
34295
34296 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
34297
34298 * dlfcn/modstatic5.c: New file.
34299 * dlfcn/tststatic5.c: New file.
34300 * dlfcn/Makefile (tests): Add tststatic5.
34301 (tests-static): Likewise.
34302 (modules-names): Add modstatic5.
34303 (tststatic5-ENV): New variable.
34304 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
34305
34306 [BZ #15022]
34307 * elf/dl-support.c (_dl_main_map): New variable.
34308 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
34309 (_dl_nns, _dl_load_adds): Set to 1.
34310 (_dl_initial_searchlist): Refer to _dl_main_map.
34311 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
34312 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
34313 call to _dl_get_origin.
34314 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
34315 around call_map.
34316 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
34317 * dlfcn/modstatic3.c: New file.
34318 * dlfcn/tststatic3.c: New file.
34319 * dlfcn/tststatic4.c: New file.
34320 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
34321 (tests-static): Likewise.
34322 (modules-names): Add modstatic3.
34323 (tststatic3-ENV, tststatic4-ENV): New variables.
34324 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
34325 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
34326
34327 2013-06-26 Joseph Myers <joseph@codesourcery.com>
34328
34329 * configure.in (CC): Require GCC version 4.4 or later.
34330 * configure: Regenerated.
34331 * manual/install.texi (Tools for Compilation): Update GCC version
34332 requirement.
34333 * INSTALL: Regenerated.
34334
34335 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34336
34337 [BZ #15674]
34338 * string/test-memcmp.c (check2): New.
34339 (main): Call check2.
34340
34341 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
34342
34343 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
34344
34345 [BZ #15022]
34346 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
34347 over to...
34348 (dl_open_worker) [!SHARED]: ... here.
34349
34350 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34351
34352 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
34353
34354 2013-06-25 Richard Henderson <rth@redhat.com>
34355
34356 * locale/programs/locarchive.c: Include <libc-internal.h>
34357
34358 2013-06-25 Joseph Myers <joseph@codesourcery.com>
34359
34360 * manual/texinfo.tex: Update to version 2013-06-21.17, with
34361 trailing whitespace removed.
34362
34363 2013-06-24 Mike Frysinger <vapier@gentoo.org>
34364
34365 [BZ #10283]
34366 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
34367 * locale/programs/locarchive.c: Include libc-mmap.h.
34368 (prepare_address_space): Take two new outputs (the mmap base and len).
34369 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
34370 values.
34371 (create_archive): Declare new mmap base and len values for
34372 prepare_address_space, and store the result in ah.
34373 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
34374 (enlarge_archive): If ah->mmap_base is not NULL, use that and
34375 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
34376 Declare new mmap base and len values for
34377 prepare_address_space, and store the result in new_ah.
34378 (open_archive): Declare new mmap base and len values for
34379 prepare_address_space, and store the result in ah.
34380 (close_archive): If ah->mmap_base is not NULL, use that and
34381 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
34382 * sysdeps/generic/libc-mmap.h: New file.
34383
34384 2013-06-24 Mike Frysinger <vapier@gentoo.org>
34385
34386 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
34387 (ALIGN_UP): Likewise.
34388 (PTR_ALIGN_DOWN): Likewise.
34389 (PTR_ALIGN_UP): Likewise.
34390
34391 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34392
34393 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
34394 entry mapped to PPC_PLATFORM_POWER8.
34395 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
34396 POWER8.
34397 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
34398 (_dl_string_platform): Add case for exporting platform position for
34399 POWER8.
34400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
34401 search path to sysdeps/powerpc/powerpc32/power8 directory.
34402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
34403 search path to sysdeps/powerpc/powerpc64/power8 directory.
34404 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
34405 power7 directories.
34406 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
34407 power7 directories.
34408
34409 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
34410
34411 * INSTALL: Regenerate.
34412
34413 * nscd/connections.c (nscd_init): Fix comment.
34414
34415 2013-06-22 Joseph Myers <joseph@codesourcery.com>
34416
34417 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
34418
34419 [BZ #15667]
34420 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
34421 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
34422
34423 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
34424
34425 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
34426 DL_DST_REQ_STATIC.
34427 (DL_DST_REQ_STATIC): Remove macro.
34428
34429 2013-06-21 Joseph Myers <joseph@codesourcery.com>
34430
34431 [BZ #7006]
34432 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
34433 with a shift of 0 bits.
34434
34435 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
34436
34437 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
34438 $(tststatic-ENV).
34439
34440 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34441
34442 [BZ #15655]
34443 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
34444
34445 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34446
34447 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
34448 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
34449 accepts -fno-tree-loop-distribute-patterns.
34450 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
34451 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
34452 recursive call.
34453 * string/memset.c (memset): Likewise.
34454 * string/test-memmove.c (simple_memmove): Disable loop transformation
34455 to library calls.
34456 * string/test-memset.c (simple_memset): Likewise.
34457 * benchtests/bench-memmove.c (simple_memmove): Likewise.
34458 * benchtests/bench-memset.c (simple_memset): Likewise.
34459 * configure: Regenerated.
34460
34461 2013-06-20 Joseph Myers <joseph@codesourcery.com>
34462
34463 * math/test-misc.c (main): Ignore fesetround failure when failures
34464 of subsequent rounding tests would be ignored.
34465
34466 [BZ #15654]
34467 * math/fedisblxcpt.c (fedisableexcept): Return 0.
34468 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
34469 * math/fegetenv.c (__fegetenv): Return 0.
34470 * math/fegetexcept.c (fegetexcept): Return 0.
34471 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
34472 FE_TONEAREST.
34473 * math/feholdexcpt.c (feholdexcept): Return 0.
34474 * math/fesetenv.c (__fesetenv): Return 0.
34475 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
34476 argument FE_TONEAREST.
34477 * math/feupdateenv.c (__feupdateenv): Return 0.
34478 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
34479
34480 2013-06-18 Roland McGrath <roland@hack.frob.com>
34481
34482 * elf/rtld-Rules (rtld-compile-command.S): New variable.
34483 (rtld-compile-command.s, rtld-compile-command.c): New variables.
34484 ($(objpfx)rtld-%.os rules): Use them.
34485
34486 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34487
34488 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
34489 fields.
34490
34491 2013-06-17 Roland McGrath <roland@hack.frob.com>
34492
34493 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
34494 length of target pattern, then descending length of dependency pattern.
34495 * configure.in (AWK): Require gawk 3.1.2 or newer.
34496 * manual/install.texi (Tools for Compilation): Say that we do.
34497 * configure: Regenerated.
34498
34499 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
34500 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
34501 * scripts/sysd-rules.awk: ... this new script.
34502 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
34503 than a glob-style pattern.
34504
34505 2013-06-17 Joseph Myers <joseph@codesourcery.com>
34506
34507 * math/test-misc.c (main): Do not treat incorrectly rounded
34508 conversions as failure unless ROUNDING_TESTS passes.
34509
34510 2013-06-15 Joseph Myers <joseph@codesourcery.com>
34511
34512 [BZ #15631]
34513 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
34514 restore exception state around main square root computation, then
34515 check for inexactness explicitly.
34516
34517 * math/libm-test.inc (fma_test_data): Add another test.
34518
34519 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34520
34521 * manual/threads.texi (Non-POSIX Extensions): New document
34522 node. Document pthread_getattr_default_np and
34523 pthread_setattr_default_np.
34524
34525 * Versions.def (libpthread): Add GLIBC_2.18.
34526 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
34527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34528 Likewise.
34529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34530 Likewise.
34531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34532 Likewise.
34533 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34534 Likewise.
34535 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
34536 Likewise.
34537 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34538 Likewise.
34539 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34540 Likewise.
34541 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34542 Likewise.
34543 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34544 Likewise.
34545
34546 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34547
34548 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34549 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
34550
34551 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34552 H.J. Lu <hjl.tools@gmail.com>
34553
34554 [BZ #15627]
34555 * sysdeps/x86_64/rtld-memset.c: Remove file.
34556 * sysdeps/x86_64/rtld-memset.S: New file.
34557
34558 2013-06-14 Joseph Myers <joseph@codesourcery.com>
34559
34560 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
34561 (test_in_one_mode): Take arguments for whether the rounding mode
34562 is supported for each floating-point type.
34563 (do_test): Pass new arguments to test_in_one_mode using
34564 ROUNDING_TESTS.
34565
34566 2013-06-13 Roland McGrath <roland@hack.frob.com>
34567
34568 * posix/tst-waitid.c (do_test): Distinguish different instances of
34569 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
34570 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
34571 before entering the kernel for waitpid.
34572
34573 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34574
34575 * NEWS: Fix note on clock function precision. Text by Roland
34576 McGrath.
34577
34578 2013-06-13 Roland McGrath <roland@hack.frob.com>
34579
34580 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
34581 it into place only when and if the sanity check passes.
34582
34583 2013-06-13 Joseph Myers <joseph@codesourcery.com>
34584
34585 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
34586 output for whether conversion result is exact. Take argument
34587 indicating whether type is IBM long double.
34588 (round_for_all): Change need_exact field to ibm_ld.
34589 * stdlib/tst-strtod-round.c (struct exactness): New type.
34590 (struct test): Change bool ld_ok field to struct exactness exact.
34591 (TEST): Update all definitions for change to field.
34592 (tests): Regenerate array contents.
34593 (test_in_one_mode): Take pointer to new field instead of old ld_ok
34594 field value. Check for IBM long double here.
34595 (do_test): Update calls to test_in_one_mode.
34596
34597 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34598
34599 [BZ #12515]
34600 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
34601 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
34602
34603 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34604
34605 [BZ #15605]
34606 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
34607 generated by the compiler on loop optimizations.
34608 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
34609 general definitions.
34610
34611 2013-06-12 Joseph Myers <joseph@codesourcery.com>
34612
34613 * math/bug-nextafter.c: Include <math-tests.h>.
34614 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34615 the relevant type.
34616 * math/bug-nexttoward.c: Include <math-tests.h>.
34617 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34618 the relevant type.
34619 * math/test-misc.c: Include <math-tests.h>.
34620 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34621 the relevant type.
34622
34623 2013-06-12 Andreas Jaeger <aj@suse.de>
34624
34625 * po/ia.po: Update Interlingua translation from translation
34626 project.
34627
34628 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
34629
34630 * include/fenv.h: Include stdbool.h.
34631 (struct rm_ctx): New structure.
34632 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
34633 Define macro.
34634 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
34635 (SET_RESTORE_ROUNDF): Likewise.
34636 (SET_RESTORE_ROUNDL): Likewise.
34637 (SET_RESTORE_ROUND_NOEX): Likewise.
34638 (SET_RESTORE_ROUND_NOEXF): Likewise.
34639 (SET_RESTORE_ROUND_NOEXL): Likewise.
34640 (SET_RESTORE_ROUND_53BIT): Likewise.
34641 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
34642 (libc_feresetround_noexf_ctx): Likewise.
34643 (libc_feresetround_noexl_ctx): Likewise.
34644 (libc_feholdsetround_53bit_ctx): Likewise.
34645 (libc_feresetround_53bit_ctx): Likewise.
34646 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
34647 (libc_feholdexcept_setround_sse_ctx): New function.
34648 (libc_fesetenv_sse_ctx): Likewise.
34649 (libc_feupdateenv_sse_ctx): Likewise.
34650 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
34651 (libc_feholdexcept_setround_387_ctx): Likewise.
34652 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
34653 (libc_feholdsetround_387_prec_ctx): Likewise.
34654 (libc_feholdsetround_387_ctx): Likewise.
34655 (libc_feholdsetround_387_53bit_ctx): Likewise.
34656 (libc_feholdsetround_sse_ctx): Likewise.
34657 (libc_feresetround_sse_ctx): Likewise.
34658 (libc_feresetround_387_ctx): Likewise.
34659 (libc_feupdateenv_387_ctx): Likewise.
34660 (libc_feholdexcept_setroundf_ctx): Define macro.
34661 (libc_fesetenvf_ctx): Likewise.
34662 (libc_feupdateenvf_ctx): Likewise.
34663 (libc_feholdsetroundf_ctx): Likewise.
34664 (libc_feresetroundf_ctx): Likewise.
34665 (libc_feholdexcept_setround_ctx): Likewise.
34666 (libc_fesetenv_ctx): Likewise.
34667 (libc_feupdateenv_ctx): Likewise.
34668 (libc_feholdsetround_ctx): Likewise.
34669 (libc_feresetround_ctx): Likewise.
34670 (libc_feholdexcept_setroundl_ctx): Likewise.
34671 (libc_feupdateenvl_ctx): Likewise.
34672 (libc_feholdsetroundl_ctx): Likewise.
34673 (libc_feresetroundl_ctx): Likewise.
34674 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
34675 (libc_feresetround_53bit_ctx): Likewise.
34676
34677 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34678
34679 * locale/iso-639.def: Convert to UTF-8.
34680
34681 2013-06-11 Joseph Myers <joseph@codesourcery.com>
34682
34683 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
34684 (EXCEPTION_TESTS_double): Likewise.
34685 (EXCEPTION_TESTS_long_double): Likewise.
34686 (EXCEPTION_TESTS): Likewise.
34687 * math/libm-test.inc (test_exceptions): Only test exceptions if
34688 EXCEPTION_TESTS (FLOAT).
34689
34690 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34691
34692 * benchtests/Makefile (string-bench): Add strcpy_chk and
34693 stpcpy_chk.
34694 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
34695 * benchtests/bench-stpcpy_chk.c: New file.
34696 * benchtests/bench-strcpy_chk-ifunc.c: New file.
34697 * benchtests/bench-strcpy_chk.c: New file.
34698 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
34699 code.
34700 (do_test): Likewise.
34701
34702 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34703
34704 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
34705 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
34706 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
34707 with tabs where appropriate.
34708 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
34709 dl-procinfo.h.
34710 [PPC_PLATFORM_PPC440]: Likewise.
34711 [PPC_PLATFORM_PPC464]: Likewise.
34712 [PPC_PLATFORM_PPC476]: Likewise.
34713 (_dl_string_platform): Add support for detecting ppc405, ppc440,
34714 ppc464, and ppc476 platform strings merging from ports/
34715 dl-procinfo.h.
34716
34717 2013-06-11 Andreas Schwab <schwab@suse.de>
34718
34719 [BZ #14991]
34720 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
34721 (from_ucs4_idx): Regenerate.
34722 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
34723 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
34724 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
34725 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
34726 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
34727 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
34728 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
34729 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
34730 from FROM_LOOP and TO_LOOP specific macros.
34731 (BODY): Handle combining characters.
34732 * iconvdata/BIG5HKSCS.irreversible: Update.
34733 * iconvdata/BIG5HKSCS.precomposed: New file.
34734 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
34735 characters.
34736 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
34737
34738 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34739
34740 * include/sys/time.h: Fix indentation and add copyright header.
34741
34742 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
34743 (do_test): Likewise.
34744 * string/test-memchr.c (do_one_test): Likewise.
34745 (do_test): Likewise.
34746 * string/test-memcmp.c (do_one_test): Likewise.
34747 (do_test): Likewise.
34748 * string/test-memcpy.c (do_one_test): Likewise.
34749 (do_test): Likewise.
34750 * string/test-memmem.c (do_one_test): Likewise.
34751 (do_test): Likewise.
34752 (do_random_tests): Likewise.
34753 * string/test-memmove.c (do_one_test): Likewise.
34754 (do_test): Likewise.
34755 * string/test-memset.c (do_one_test): Likewise.
34756 (do_test): Likewise.
34757 * string/test-rawmemchr.c (do_one_test): Likewise.
34758 (do_test): Likewise.
34759 * string/test-strcasecmp.c (do_one_test): Likewise.
34760 (do_test): Likewise.
34761 * string/test-strcasestr.c (do_one_test): Likewise.
34762 (do_test): Likewise.
34763 * string/test-strcat.c (do_one_test): Likewise.
34764 (do_test): Likewise.
34765 * string/test-strchr.c (do_one_test): Likewise.
34766 (do_test): Likewise.
34767 * string/test-strcmp.c (do_one_test): Likewise.
34768 (do_test): Likewise.
34769 * string/test-strcpy.c (do_one_test): Likewise.
34770 (do_test): Likewise.
34771 * string/test-string.h: Likewise.
34772 (test_init): Likewise.
34773 * string/test-strlen.c (do_one_test): Likewise.
34774 (do_test): Likewise.
34775 * string/test-strncasecmp.c (do_one_test): Likewise.
34776 (do_test): Likewise.
34777 * string/test-strncat.c (do_one_test): Likewise.
34778 (do_test): Likewise.
34779 * string/test-strncmp.c (do_one_test): Likewise.
34780 (do_test_limit): Likewise.
34781 (do_test): Likewise.
34782 * string/test-strncpy.c (do_one_test): Likewise.
34783 (do_test): Likewise.
34784 * string/test-strnlen.c (do_one_test): Likewise.
34785 (do_test): Likewise.
34786 * string/test-strpbrk.c (do_one_test): Likewise.
34787 (do_test): Likewise.
34788 * string/test-strrchr.c (do_one_test): Likewise.
34789 (do_test): Likewise.
34790 * string/test-strspn.c (do_one_test): Likewise.
34791 (do_test): Likewise.
34792 * string/test-strstr.c (do_one_test): Likewise.
34793 (do_test): Likewise.
34794
34795 * benchtests/Makefile (string-bench): Add string benchmarks.
34796 * benchtests/bench-bcopy-ifunc.c: New file.
34797 * benchtests/bench-bcopy.c: New file.
34798 * benchtests/bench-bzero-ifunc.c: New file.
34799 * benchtests/bench-bzero.c: New file.
34800 * benchtests/bench-memccpy-ifunc.c: New file.
34801 * benchtests/bench-memccpy.c: New file.
34802 * benchtests/bench-memchr-ifunc.c: New file.
34803 * benchtests/bench-memchr.c: New file.
34804 * benchtests/bench-memcmp-ifunc.c: New file.
34805 * benchtests/bench-memcmp.c: New file.
34806 * benchtests/bench-memmem-ifunc.c: New file.
34807 * benchtests/bench-memmem.c: New file.
34808 * benchtests/bench-memmove-ifunc.c: New file.
34809 * benchtests/bench-memmove.c: New file.
34810 * benchtests/bench-mempcpy-ifunc.c: New file.
34811 * benchtests/bench-mempcpy.c: New file.
34812 * benchtests/bench-memset-ifunc.c: New file.
34813 * benchtests/bench-memset.c: New file.
34814 * benchtests/bench-rawmemchr-ifunc.c: New file.
34815 * benchtests/bench-rawmemchr.c: New file.
34816 * benchtests/bench-stpcpy-ifunc.c: New file.
34817 * benchtests/bench-stpcpy.c: New file.
34818 * benchtests/bench-stpncpy-ifunc.c: New file.
34819 * benchtests/bench-stpncpy.c: New file.
34820 * benchtests/bench-strcasecmp-ifunc.c: New file.
34821 * benchtests/bench-strcasecmp.c: New file.
34822 * benchtests/bench-strcasestr-ifunc.c: New file.
34823 * benchtests/bench-strcasestr.c: New file.
34824 * benchtests/bench-strcat-ifunc.c: New file.
34825 * benchtests/bench-strcat.c: New file.
34826 * benchtests/bench-strchr-ifunc.c: New file.
34827 * benchtests/bench-strchr.c: New file.
34828 * benchtests/bench-strchrnul-ifunc.c: New file.
34829 * benchtests/bench-strchrnul.c: New file.
34830 * benchtests/bench-strcmp-ifunc.c: New file.
34831 * benchtests/bench-strcmp.c: New file.
34832 * benchtests/bench-strcpy-ifunc.c: New file.
34833 * benchtests/bench-strcpy.c: New file.
34834 * benchtests/bench-strcspn-ifunc.c: New file.
34835 * benchtests/bench-strcspn.c: New file.
34836 * benchtests/bench-strlen-ifunc.c: New file.
34837 * benchtests/bench-strlen.c: New file.
34838 * benchtests/bench-strncasecmp-ifunc.c: New file.
34839 * benchtests/bench-strncasecmp.c: New file.
34840 * benchtests/bench-strncat-ifunc.c: New file.
34841 * benchtests/bench-strncat.c: New file.
34842 * benchtests/bench-strncmp-ifunc.c: New file.
34843 * benchtests/bench-strncmp.c: New file.
34844 * benchtests/bench-strncpy-ifunc.c: New file.
34845 * benchtests/bench-strncpy.c: New file.
34846 * benchtests/bench-strnlen-ifunc.c: New file.
34847 * benchtests/bench-strnlen.c: New file.
34848 * benchtests/bench-strpbrk-ifunc.c: New file.
34849 * benchtests/bench-strpbrk.c: New file.
34850 * benchtests/bench-strrchr-ifunc.c: New file.
34851 * benchtests/bench-strrchr.c: New file.
34852 * benchtests/bench-strspn-ifunc.c: New file.
34853 * benchtests/bench-strspn.c: New file.
34854 * benchtests/bench-strstr-ifunc.c: New file.
34855 * benchtests/bench-strstr.c: New file.
34856
34857 * benchtests/Makefile: Disable parallel execution of targets.
34858 (string-bench): Add memcpy.
34859 (benchset): New variable to store a list of benchmark sets.
34860 (bench-func): Renamed from bench.
34861 (bench-set): New target.
34862 (bench): Depend on bench-func and bench-set.
34863 * benchtests/README: Add section on benchmark sets.
34864 * benchtests/bench-memcpy-ifunc.c: New file.
34865 * benchtests/bench-memcpy.c: New file.
34866 * benchtests/bench-string.h: New file.
34867
34868 2013-06-11 Andreas Schwab <schwab@suse.de>
34869
34870 [BZ #15577]
34871 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
34872 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
34873 values in the triple.
34874 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
34875 terminator in the group key.
34876
34877 2013-06-11 Andreas Jaeger <aj@suse.de>
34878
34879 * po/zh_TW.po: Update Chinese (traditional) translation from
34880 translation project.
34881
34882 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34883
34884 * include/time.h (__clock_gettime): Add libc_hidden_proto.
34885 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
34886 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
34887 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34888 (clock_getcpuclockid): Likewise.
34889 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
34890 Add weak_alias and libc_hidden_def.
34891 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
34892 * rt/clock_gettime.c (clock_gettime): Rename to
34893 __clock_gettime. Add weak_alias and libc_hidden_def.
34894 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
34895 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
34896 __clock_nanosleep. Add weak_alias and libc_hidden_def.
34897 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
34898 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
34899 Likewise.
34900 * rt/clock_settime.c (clock_settime): Rename to
34901 __clock_settime. Add weak_alias and libc_hidden_def.
34902 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
34903
34904 2013-06-10 Joseph Myers <joseph@codesourcery.com>
34905
34906 * mach/err_boot.sub: Remove trailing whitespace.
34907 * mach/err_ipc.sub: Likewise.
34908 * mach/err_mach.sub: Likewise.
34909
34910 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
34911 (ROUNDING_TESTS_double): Likewise.
34912 (ROUNDING_TESTS_long_double): Likewise.
34913 (ROUNDING_TESTS): Likewise.
34914 * math/libm-test.inc: Include <math-tests.h>.
34915 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
34916 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
34917 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
34918 (IF_ROUND_INIT_FE_UPWARD): Likewise.
34919
34920 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34921
34922 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
34923 of assigning.
34924
34925 2013-06-08 Joseph Myers <joseph@codesourcery.com>
34926
34927 * sysdeps/gnu/errlist.awk: Do not generate space at end of
34928 otherwise empty TRANS lines.
34929 * sysdeps/gnu/errlist.c: Regenerated.
34930
34931 * catgets/gencat.c (error_print): Use (void) in function
34932 definition.
34933 * crypt/crypt_util.c (__init_des): Likewise.
34934 * crypt/speeds.c (Stop): Likewise.
34935 (main): Likewise.
34936 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
34937 * inet/ruserpass.c (token): Likewise.
34938 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
34939 * intl/localealias.c (extend_alias_table): Likewise.
34940 * intl/plural-exp.c (init_germanic_plural): Likewise.
34941 * libio/fcloseall.c (__fcloseall): Likewise.
34942 * libio/genops.c (_IO_flush_all): Likewise.
34943 (_IO_flush_all_linebuffered): Likewise.
34944 (_IO_cleanup): Likewise.
34945 (_IO_iter_begin): Likewise.
34946 (_IO_iter_end): Likewise.
34947 (_IO_list_lock): Likewise.
34948 (_IO_list_unlock): Likewise.
34949 (_IO_list_resetlock): Likewise.
34950 * libio/getchar.c (getchar): Likewise.
34951 * libio/getchar_u.c (getchar_unlocked): Likewise.
34952 * libio/getwchar.c (getwchar): Likewise.
34953 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
34954 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
34955 * login/getpt.c (__getpt): Likewise.
34956 * login/tst-utmp.c (main): Likewise.
34957 * malloc/hooks.c (__malloc_check_init): Likewise.
34958 * malloc/malloc.c (__malloc_stats): Likewise.
34959 * malloc/mtrace.c (tr_break): Likewise.
34960 (mtrace): Likewise.
34961 (muntrace): Likewise.
34962 * misc/fstab.c (endfsent): Likewise.
34963 * misc/getclktck.c (__getclktck): Likewise.
34964 * misc/getdtsz.c (__getdtablesize): Likewise.
34965 * misc/gethostid.c (gethostid): Likewise.
34966 * misc/getpagesize.c (__getpagesize): Likewise.
34967 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
34968 (__get_nprocs): Likewise.
34969 (__get_phys_pages): Likewise.
34970 (__get_avphys_pages): Likewise.
34971 * misc/getttyent.c (getttyent): Likewise.
34972 (setttyent): Likewise.
34973 (endttyent): Likewise.
34974 * misc/getusershell.c (getusershell): Likewise.
34975 (endusershell): Likewise.
34976 (setusershell): Likewise.
34977 (initshells): Likewise.
34978 * misc/hsearch.c (__hdestroy): Likewise.
34979 * misc/sync.c (sync): Likewise.
34980 * misc/syslog.c (closelog_internal): Likewise.
34981 (closelog): Likewise.
34982 * misc/ttyslot.c (ttyslot): Likewise.
34983 * misc/vhangup.c (vhangup): Likewise.
34984 * posix/fork.c (__fork): Likewise.
34985 * posix/getegid.c (__getegid): Likewise.
34986 * posix/geteuid.c (__geteuid): Likewise.
34987 * posix/getgid.c (__getgid): Likewise.
34988 * posix/getpid.c (__getpid): Likewise.
34989 * posix/getppid.c (__getppid): Likewise.
34990 * posix/getuid.c (__getuid): Likewise.
34991 * posix/pause.c (pause): Likewise.
34992 * posix/setpgrp.c (setpgrp): Likewise.
34993 * posix/setsid.c (__setsid): Likewise.
34994 * posix/test-vfork.c (noop): Likewise.
34995 * resolv/gethnamaddr.c (_endhtent): Likewise.
34996 (_gethtent): Likewise.
34997 (ht_endhostent): Likewise.
34998 (gethostent): Likewise.
34999 (dns_service): Likewise.
35000 * stdlib/drand48.c (drand48): Likewise.
35001 * stdlib/lrand48.c (lrand48): Likewise.
35002 * stdlib/mrand48.c (mrand48): Likewise.
35003 * stdlib/rand.c (rand): Likewise.
35004 * stdlib/random.c (__random): Likewise.
35005 * stdlib/setenv.c (clearenv): Likewise.
35006 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
35007 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
35008 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
35009 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
35010 (__get_nprocs): Likewise.
35011 (__get_phys_pages): Likewise.
35012 (__get_avphys_pages): Likewise.
35013 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
35014 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
35015 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
35016 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
35017 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
35018 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
35019 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
35020 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
35021 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
35022 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
35023 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
35024 * sysdeps/mach/hurd/sync.c (sync): Likewise.
35025 * sysdeps/posix/clock.c (clock): Likewise.
35026 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
35027 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
35028 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
35029 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
35030 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
35031 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
35032 (__get_nprocs_conf): Likewise.
35033 (__get_phys_pages): Likewise.
35034 (__get_avphys_pages): Likewise.
35035 * time/clock.c (clock): Likewise.
35036 * time/tzset.c (__tzname_max): Likewise.
35037
35038 2013-06-07 Joseph Myers <joseph@codesourcery.com>
35039
35040 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
35041 (__bswap_32): Do not use "register".
35042 * crypt/crypt.c (_ufc_doit_r): Likewise.
35043 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
35044 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
35045 * gmon/gmon.c (__monstartup): Likewise.
35046 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
35047 * hurd/hurdmalloc.c (more_memory): Likewise.
35048 (malloc): Likewise.
35049 (free): Likewise.
35050 (realloc): Likewise.
35051 (malloc_fork_prepare): Likewise.
35052 (malloc_fork_parent): Likewise.
35053 (malloc_fork_child): Likewise.
35054 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
35055 (_svcauth_des): Likewise.
35056 * inet/inet_lnaof.c (inet_lnaof): Likewise.
35057 * inet/inet_net.c (inet_network): Likewise.
35058 * inet/inet_netof.c (inet_netof): Likewise.
35059 * inet/rcmd.c (__validuser2_sa): Likewise.
35060 * io/fts.c (fts_open): Likewise.
35061 (fts_load): Likewise.
35062 (fts_close): Likewise.
35063 (fts_read): Likewise.
35064 (fts_children): Likewise.
35065 (fts_build): Likewise.
35066 (fts_stat): Likewise.
35067 (fts_sort): Likewise.
35068 (fts_alloc): Likewise.
35069 (fts_lfree): Likewise.
35070 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
35071 (_IO_file_xsgetn): Likewise.
35072 (_IO_file_xsgetn_mmap): Likewise.
35073 * libio/iofopncook.c (_IO_cookie_read): Likewise.
35074 (_IO_cookie_write): Likewise.
35075 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
35076 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
35077 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
35078 * malloc/obstack.c (_obstack_begin): Likewise.
35079 (_obstack_begin_1): Likewise.
35080 (_obstack_newchunk): Likewise.
35081 (_obstack_allocated_p): Likewise.
35082 (obstack_free): Likewise.
35083 (_obstack_memory_used): Likewise.
35084 * misc/getttyent.c (getttynam): Likewise.
35085 (getttyent): Likewise.
35086 (skip): Likewise.
35087 (value): Likewise.
35088 * misc/getusershell.c (initshells): Likewise.
35089 * misc/syslog.c (__vsyslog_chk): Likewise.
35090 * misc/ttyslot.c (ttyslot): Likewise.
35091 * nis/nis_hash.c (__nis_hash): Likewise.
35092 * posix/fnmatch_loop.c (FCT): Likewise.
35093 * posix/getconf.c (print_all): Likewise.
35094 (main): Likewise.
35095 * posix/getopt.c (exchange): Likewise.
35096 * posix/glob.c (globfree): Likewise.
35097 (prefix_array): Likewise.
35098 (__glob_pattern_type): Likewise.
35099 * resolv/arpa/nameser.h (NS_GET16): Likewise.
35100 (NS_GET32): Likewise.
35101 (NS_PUT16): Likewise.
35102 (NS_PUT32): Likewise.
35103 * resolv/gethnamaddr.c (getanswer): Likewise.
35104 (gethostbyname2): Likewise.
35105 (gethostbyaddr): Likewise.
35106 (_gethtent): Likewise.
35107 (_gethtbyname2): Likewise.
35108 (_gethtbyaddr): Likewise.
35109 * resolv/ns_print.c (dst_s_get_int16): Likewise.
35110 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
35111 * resolv/res_init.c (__res_vinit): Likewise.
35112 (net_mask): Likewise.
35113 * resolv/res_mkquery.c (outchar): Likewise.
35114 (PRINT): Likewise.
35115 * stdio-common/printf_fp.c (outchar): Likewise.
35116 (PRINT): Likewise.
35117 * stdio-common/printf_fphex.c (outchar): Likewise.
35118 (PRINT): Likewise.
35119 * stdio-common/printf_size.c (outchar): Likewise.
35120 (PRINT): Likewise.
35121 * stdio-common/test_rdwr.c (main): Likewise.
35122 * stdio-common/tfformat.c (matches): Likewise.
35123 * stdio-common/vfprintf.c (outchar): Likewise.
35124 (printf_unknown): Likewise.
35125 (buffered_vfprintf): Likewise.
35126 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
35127 * stdio-common/xbug.c (AppendToBuffer): Likewise.
35128 (ReadFile): Likewise.
35129 * stdlib/qsort.c (SWAP): Likewise.
35130 (_quicksort): Likewise.
35131 * stdlib/setenv.c (__add_to_environ): Likewise.
35132 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
35133 * stdlib/strtol_l.c (__strtol_l): Likewise.
35134 * stdlib/tst-strtod.c (main): Likewise.
35135 * stdlib/tst-strtol.c (main): Likewise.
35136 * stdlib/tst-strtoll.c (main): Likewise.
35137 * string/bits/string2.h (__strcmp_cc): Likewise.
35138 (__strcmp_cg): Likewise.
35139 (__strcspn_c1): Likewise.
35140 (__strcspn_c2): Likewise.
35141 (__strcspn_c3): Likewise.
35142 (__strspn_c1): Likewise.
35143 (__strspn_c2): Likewise.
35144 (__strspn_c3): Likewise.
35145 (__strsep_1c): Likewise.
35146 (__strsep_2c): Likewise.
35147 (__strsep_3c): Likewise.
35148 * string/memccpy.c (__memccpy): Likewise.
35149 * string/stpcpy.c (__stpcpy): Likewise.
35150 * string/strcmp.c (strcmp): Likewise.
35151 * string/strrchr.c (strrchr): Likewise.
35152 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
35153 Likewise.
35154 * sysdeps/mach/hurd/getcwd.c
35155 (_hurd_canonicalize_directory_name_internal): Likewise.
35156 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
35157 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
35158 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
35159 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
35160 Likewise, in both definitions.
35161 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
35162 definitions.
35163 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
35164 64] (__bswap_64): Likewise.
35165 * time/test_time.c (main): Likewise.
35166 * time/tzfile.c (__tzfile_read): Likewise.
35167 (__tzfile_compute): Likewise.
35168 * time/tzset.c (__tzset_parse_tz): Likewise.
35169 (tzset_internal): Likewise.
35170 (compute_change): Likewise.
35171 * wcsmbs/wcscat.c (__wcscat): Likewise.
35172 * wcsmbs/wcschr.c (wcschr): Likewise.
35173 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
35174 * wcsmbs/wcscspn.c (wcscspn): Likewise.
35175 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
35176 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
35177 * wcsmbs/wcsspn.c (wcsspn): Likewise.
35178 * wcsmbs/wcsstr.c (wcsstr): Likewise.
35179 * wcsmbs/wmemchr.c (wmemchr): Likewise.
35180 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
35181 * wcsmbs/wmemset.c (wmemset): Likewise.
35182
35183 2013-06-06 Joseph Myers <joseph@codesourcery.com>
35184
35185 * scripts/config.guess: Update to version 2013-05-16.
35186 * scripts/config.sub: Update to version 2013-04-24.
35187 * scripts/install-sh: Update to version 2011-11-20.07.
35188 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
35189 * scripts/move-if-change: Update to version 2012-01-06 07:23.
35190
35191 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
35192
35193 * debug/fgetws_u_chk.c: Fix leading whitespaces.
35194 * elf/sln.c: Likewise.
35195 * hurd/hurd/ioctl.h: Likewise.
35196 * hurd/hurdmalloc.c: Likewise.
35197 * hurd/xattr.c: Likewise.
35198 * include/shlib-compat.h: Likewise.
35199 * inet/ruserpass.c: Likewise.
35200 * libio/iofgets_u.c: Likewise.
35201 * libio/iofgetws_u.c: Likewise.
35202 * locale/programs/ld-identification.c: Likewise.
35203 * locale/programs/ld-time.c: Likewise.
35204 * mach/msg-destroy.c: Likewise.
35205 * nss/nss_files/files-netgrp.c: Likewise.
35206 * resolv/res_data.c: Likewise.
35207 * soft-fp/op-1.h: Likewise.
35208 * soft-fp/op-2.h: Likewise.
35209 * soft-fp/op-4.h: Likewise.
35210 * soft-fp/op-common.h: Likewise.
35211 * stdio-common/printf_fphex.c: Likewise.
35212 * stdlib/strtod_l.c: Likewise.
35213 * sunrpc/rpc/clnt.h: Likewise.
35214 * sysdeps/generic/framestate.c: Likewise.
35215 * sysdeps/i386/bsd-_setjmp.S: Likewise.
35216 * sysdeps/i386/bsd-setjmp.S: Likewise.
35217 * sysdeps/i386/__longjmp.S: Likewise.
35218 * sysdeps/i386/setjmp.S: Likewise.
35219 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35220 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35221 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35222 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35223 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35224 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35225 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35226 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35227 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35228 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
35229 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35230 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35231 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35232 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35233 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35234 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35235 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35236 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
35237 * sysdeps/ieee754/support.c: Likewise.
35238 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35239 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
35240 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
35241 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
35242 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
35243 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
35244 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
35245 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
35246 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
35247 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
35248 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
35249 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
35250 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
35251 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
35252 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
35253 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
35254 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
35256
35257 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
35258
35259 * posix/transbug.c: Remove executable mode.
35260
35261 2013-06-05 Joseph Myers <joseph@codesourcery.com>
35262
35263 * crypt/speeds.c: Remove trailing whitespace.
35264 * dlfcn/default.c: Likewise.
35265 * elf/ifuncdep2.c: Likewise.
35266 * elf/ifuncmain1.c: Likewise.
35267 * elf/ifuncmain1vis.c: Likewise.
35268 * elf/testobj.h: Likewise.
35269 * elf/tst-stackguard1.c: Likewise.
35270 * gmon/sys/gmon.h: Likewise.
35271 * hurd/hurdmsg.c: Likewise.
35272 * hurd/new-fd.c: Likewise.
35273 * hurd/ports-get.c: Likewise.
35274 * iconvdata/ibm1008_420.c: Likewise.
35275 * inet/tst-getni1.c: Likewise.
35276 * inet/tst-getni2.c: Likewise.
35277 * libio/ioungetc.c: Likewise.
35278 * libio/wfiledoalloc.c: Likewise.
35279 * manual/libm-err-tab.pl: Likewise.
35280 * math/w_dremf.c: Likewise.
35281 * misc/ftruncate.c: Likewise.
35282 * posix/bug-glob2.c: Likewise.
35283 * posix/tst-pcre.c: Likewise.
35284 * posix/wait4.c: Likewise.
35285 * resolv/README: Likewise.
35286 * resolv/res_debug.h: Likewise.
35287 * resolv/tst-inet_ntop.c: Likewise.
35288 * setjmp/bug269-setjmp.c: Likewise.
35289 * soft-fp/extended.h: Likewise.
35290 * soft-fp/op-1.h: Likewise.
35291 * soft-fp/op-2.h: Likewise.
35292 * soft-fp/op-4.h: Likewise.
35293 * soft-fp/op-8.h: Likewise.
35294 * soft-fp/testit.c: Likewise.
35295 * stdio-common/bug16.c: Likewise.
35296 * stdlib/random.c: Likewise.
35297 * sunrpc/rpcsvc/rquota.x: Likewise.
35298 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
35299 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35300 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35301 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35302 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35303 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35304 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35305 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35306 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35307 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35308 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35309 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35310 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35311 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35312 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35313 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35314 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35315 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35316 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35317 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35318 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35319 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35320 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
35321 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35322 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35323 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35324 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35325 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35326 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35327 * sysdeps/ieee754/s_lib_version.c: Likewise.
35328 * sysdeps/mach/hurd/check_fds.c: Likewise.
35329 * sysdeps/mach/hurd/getsockname.c: Likewise.
35330 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
35331 * sysdeps/mach/hurd/recvfrom.c: Likewise.
35332 * sysdeps/powerpc/bits/link.h: Likewise.
35333 * sysdeps/powerpc/dl-procinfo.c: Likewise.
35334 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
35335 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
35336 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
35337 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
35338 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35339 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
35340 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
35341 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
35342 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
35343 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
35344 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
35345 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
35346 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
35347 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
35348 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
35349 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
35350 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
35351 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
35352 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35353 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35354 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
35355 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
35356 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
35357 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
35358 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
35359 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
35360 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35361 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35362 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
35363 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
35364 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
35365 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
35366 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35367 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
35368 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
35369 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
35370 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
35371 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
35372 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
35373 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
35374 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
35375 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
35376 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
35377 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
35378 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
35379 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
35380 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
35381 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
35382 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
35383 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35384 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35385 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
35386 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
35387 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
35388 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
35389 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
35390 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
35391 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
35392 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
35393 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
35394 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
35395 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
35396 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
35397 * sysdeps/powerpc/sysdep.h: Likewise.
35398 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35399 * sysdeps/s390/s390-64/sub_n.S: Likewise.
35400 * sysdeps/sh/dl-trampoline.S: Likewise.
35401 * sysdeps/sh/memset.S: Likewise.
35402 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
35403 * sysdeps/sh/strlen.S: Likewise.
35404 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
35405 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
35406 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
35407 * sysdeps/sparc/sparc32/rem.S: Likewise.
35408 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
35409 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
35410 * sysdeps/sparc/sparc32/strchr.S: Likewise.
35411 * sysdeps/sparc/sparc32/udiv.S: Likewise.
35412 * sysdeps/sparc/sparc32/urem.S: Likewise.
35413 * sysdeps/sparc/sparc64/add_n.S: Likewise.
35414 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35415 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
35416 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
35417 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
35418 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
35419 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
35420 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
35421 * sysdeps/unix/bsd/times.c: Likewise.
35422 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
35423 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
35424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
35425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
35426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
35427 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
35428 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
35429 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
35430 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
35431 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
35432 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
35433 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35434 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
35435 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35436 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35437 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
35438 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35439 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
35440 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
35441 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
35442 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
35443 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
35444 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35445 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
35446 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
35447 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
35448 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
35449 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35450 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
35451 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
35452 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
35453 * sysdeps/x86_64/strcspn.S: Likewise.
35454
35455 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35456
35457 * locale/C-translit.h: Revert #include <stdint.h> because this is a
35458 generated file. Regenerate properly from gen-translit.pl.
35459 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
35460 locale/C-translit.h.
35461
35462 2013-06-05 Andreas Schwab <schwab@suse.de>
35463
35464 [BZ #15100]
35465 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
35466 week as 6 instead of -1.
35467 * time/tst-strptime.c (day_tests): Add test case.
35468
35469 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35470
35471 * sysdeps/generic/math_private.h
35472 (libc_feholdexcept_setround_53bit): Replace with
35473 libc_feholdsetround_53bit.
35474 (libc_feupdateenv_53bit): Replace with
35475 libc_feresetround_53bit.
35476 (SET_RESTORE_ROUND_53BIT): Adjust.
35477
35478 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
35479
35480 * string/test-strchrnul.c: Add copyright header.
35481
35482 * posix/tst-getaddrinfo4.c: Increase test timeout.
35483
35484 2013-06-03 Carlos O'Donell <carlos@redhat.com>
35485
35486 [BZ #15536]
35487 * math/libm-test.inc (MAX_EXP): Remove
35488 (MIN_EXP): Define.
35489 (ulp): Use MIN_EXP - MANT_DIG.
35490 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
35491
35492 2013-05-31 Carlos O'Donell <carlos@redhat.com>
35493
35494 * po/be.po: Revert last change.
35495 * po/zh_CN.po: Likewise.
35496 * po/header.pot: Likewise.
35497
35498 2013-05-31 Joseph Myers <joseph@codesourcery.com>
35499
35500 * Makefile ($(common-objpfx)linkobj/libc.so): Define
35501 link-libc-deps to empty as target-specific variable.
35502 * Makerules (link-libc-args): New variable.
35503 (libc-for-link): Likewise.
35504 (link-libc-deps): Likewise.
35505 (lib%.so): Depend on $(link-libc-deps). Link with
35506 $(link-libc-args).
35507 (build-module): Link with $(link-libc-args).
35508 (build-module-asneeded): Likewise.
35509 (build-module-helper-objlist): Filter out $(link-libc-deps) from
35510 list of objects.
35511 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
35512 target-specific variable.
35513 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
35514 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
35515 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
35516 libc.
35517 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
35518 libc and ld.so.
35519 ($(objpfx)libpcprofile.so): Likewise.
35520 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
35521 libc_nonshared.a.
35522 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
35523 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
35524 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
35525 $(link-libc-deps).
35526 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
35527 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
35528 * login/Makefile ($(objpfx)libutil.so): Likewise.
35529 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
35530 * math/Makefile ($(objpfx)libm.so): Likewise.
35531 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
35532 $(objpfx)libnsl.so): Define libc-for-link as target-specific
35533 variable instead of depending directly on libc.
35534 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
35535 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
35536 $(link-libc-deps).
35537 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
35538 libc.
35539 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
35540 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
35541 ($(objpfx)libanl.so): Likewise.
35542 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
35543 ld.so.
35544 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
35545 $(link-libc-deps).
35546 * sysdeps/i386/fpu/Makefile: Remove file.
35547 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
35548 ($(objpfx)libm.so): Remove dependency on ld.so.
35549
35550 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
35551
35552 [BZ # 15553]
35553 * nis/yp_xdr.c (XDRMAXNAME): Define.
35554 (XDRMAXRECORD): Define.
35555 (xdr_domainname): Use XDRMAXNAME.
35556 (xdr_mapname): Likewise.
35557 (xdr_peername): Likewise.
35558 (xdr_keydat): Use XDRMAXRECORD.
35559 (xdr_valdat): Likewise.
35560
35561 2013-05-30 Jeff Law <law@redhat.com>
35562
35563 [BZ #14256]
35564 * manual/errno.texi (ESTALE): Update to account for more than
35565 just NFS file systems.
35566 * sysdeps/gnu/errlist.c: Regenerated.
35567
35568 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35569
35570 [BZ #15465]
35571 * elf/Makefile (tests): Add tst-null-argv.
35572 (modules-names): Add tst-null-argv-lib.
35573 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
35574 (tst-null-argv-ENV): Set environment for tst-null-argv.
35575 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
35576 (RTLD_PROGNAME): New macro.
35577 * elf/tst-null-argv.c: New test case.
35578 * elf/tst-null-argv-lib.c: Library for test case.
35579 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
35580 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
35581 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
35582 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
35583 * elf/dl-init.c (call_init): Likewise.
35584 (_dl_init): Likewise.
35585 * elf/dl-load.c (print_search_path): Likewise.
35586 (_dl_map_object): Likewise.
35587 * elf/dl-lookup.c (do_lookup_x): Likewise.
35588 (add_dependency): Likewise.
35589 (_dl_lookup_symbol_x): Likewise.
35590 (_dl_debug_bindings): Likewise.
35591 * elf/dl-open.c (_dl_show_scope): Likewise.
35592 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
35593 * elf/dl-version.c (match_symbol): Likewise.
35594 (_dl_check_map_versions): Likewise.
35595 * elf/rtld.c (dl_main): Likewise.
35596 (print_unresolved): Use RTLD_PROGNAME.
35597 (print_missing_version): Likewise.
35598 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
35599 (elf_machine_rela): Likewise.
35600 * sysdeps/powerpc/powerpc32/dl-machine.c
35601 (__process_machine_rela): Likewise.
35602 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35603 Likewise.
35604 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35605 Likewise.
35606 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
35607 Likewise.
35608 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35609 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
35610 Likewise.
35611 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
35612 Likewise.
35613 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35614
35615 2013-05-28 Carlos O'Donell <carlos@redhat.com>
35616
35617 * po/be.po: Add descriptive title.
35618 * po/zh_CN.po: Likewise.
35619 * po/header.pot: Likewise.
35620
35621 2013-05-28 Mike Frysinger <vapier@gentoo.org>
35622
35623 * locale/programs/locarchive.c (create_archive): Inlucde fname in
35624 error message.
35625 (enlarge_archive): Likewise.
35626
35627 2013-05-28 Ben North <ben@redfrontdoor.org>
35628
35629 * manual/arith.texi (frexp): It is the magnitude of the return
35630 value which lies in [0.5, 1), not the return value itself.
35631
35632 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35633
35634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35635
35636 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
35637
35638 * stdio-common/bug26.c (main): Correct fscanf template.
35639
35640 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
35641 declare _dl_skip_args.
35642
35643 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
35644 Don't declare.
35645
35646 * manual/platform.texi: Add missing @end deftypefun.
35647
35648 2013-05-24 Joseph Myers <joseph@codesourcery.com>
35649
35650 [BZ #15529]
35651 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
35652 bit of mantissa of 2^16382.
35653 * math/libm-test.inc (hypot_test_data): Add more tests.
35654
35655 * math/libm-test.inc: Add drem and pow10 to list of tested
35656 functions.
35657 (pow10_test): New function.
35658 (drem_test): Likewise.
35659 (drem_test_tonearest): Likewise.
35660 (drem_test_towardzero): Likewise.
35661 (drem_test_downward): Likewise.
35662 (drem_test_upward): Likewise.
35663 (main): Call the new functions.
35664
35665 * math/libm-test.inc (finite_test_data): Remove.
35666 (finite_test): Run tests from isfinite_test_data.
35667 (gamma_test_data): Remove.
35668 (gamma_test): Run tests from lgamma_test_data.
35669 * sysdeps/i386/fpu/libm-test-ulps: Update.
35670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35671
35672 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35673
35674 * manual/platform.texi: Add PowerPC PPR function set documentation.
35675 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
35676 implementation.
35677
35678 2013-05-24 Carlos O'Donell <carlos@redhat.com>
35679
35680 * math/libm-test.inc (MAX_EXP): Define.
35681 (ULPDIFF): Define.
35682 (ulp): New function.
35683 (check_float_internal): Use ULPDIFF.
35684 (cpow_test): Disable failing test.
35685 (check_ulp): Test ulp() implemetnation.
35686 (main): Call check_ulp before starting tests.
35687
35688 2013-05-24 Joseph Myers <joseph@codesourcery.com>
35689
35690 * math/gen-libm-test.pl (generate_testfile): Do not handle
35691 START_DATA and END_DATA.
35692 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
35693 END_DATA.
35694 (acos_tonearest_test_data): Likewise.
35695 (acos_towardzero_test_data): Likewise.
35696 (acos_downward_test_data): Likewise.
35697 (acos_upward_test_data): Likewise.
35698 (acosh_test_data): Likewise.
35699 (asin_test_data): Likewise.
35700 (asin_tonearest_test_data): Likewise.
35701 (asin_towardzero_test_data): Likewise.
35702 (asin_downward_test_data): Likewise.
35703 (asin_upward_test_data): Likewise.
35704 (asinh_test_data): Likewise.
35705 (atan_test_data): Likewise.
35706 (atanh_test_data): Likewise.
35707 (atan2_test_data): Likewise.
35708 (cabs_test_data): Likewise.
35709 (cacos_test_data): Likewise.
35710 (cacosh_test_data): Likewise.
35711 (carg_test_data): Likewise.
35712 (casin_test_data): Likewise.
35713 (casinh_test_data): Likewise.
35714 (catan_test_data): Likewise.
35715 (catanh_test_data): Likewise.
35716 (cbrt_test_data): Likewise.
35717 (ccos_test_data): Likewise.
35718 (ccosh_test_data): Likewise.
35719 (ceil_test_data): Likewise.
35720 (cexp_test_data): Likewise.
35721 (cimag_test_data): Likewise.
35722 (clog_test_data): Likewise.
35723 (clog10_test_data): Likewise.
35724 (conj_test_data): Likewise.
35725 (copysign_test_data): Likewise.
35726 (cos_test_data): Likewise.
35727 (cos_tonearest_test_data): Likewise.
35728 (cos_towardzero_test_data): Likewise.
35729 (cos_downward_test_data): Likewise.
35730 (cos_upward_test_data): Likewise.
35731 (cosh_test_data): Likewise.
35732 (cosh_tonearest_test_data): Likewise.
35733 (cosh_towardzero_test_data): Likewise.
35734 (cosh_downward_test_data): Likewise.
35735 (cosh_upward_test_data): Likewise.
35736 (cpow_test_data): Likewise.
35737 (cproj_test_data): Likewise.
35738 (creal_test_data): Likewise.
35739 (csin_test_data): Likewise.
35740 (csinh_test_data): Likewise.
35741 (csqrt_test_data): Likewise.
35742 (ctan_test_data): Likewise.
35743 (ctan_tonearest_test_data): Likewise.
35744 (ctan_towardzero_test_data): Likewise.
35745 (ctan_downward_test_data): Likewise.
35746 (ctan_upward_test_data): Likewise.
35747 (ctanh_test_data): Likewise.
35748 (ctanh_tonearest_test_data): Likewise.
35749 (ctanh_towardzero_test_data): Likewise.
35750 (ctanh_downward_test_data): Likewise.
35751 (ctanh_upward_test_data): Likewise.
35752 (erf_test_data): Likewise.
35753 (erfc_test_data): Likewise.
35754 (exp_test_data): Likewise.
35755 (exp_tonearest_test_data): Likewise.
35756 (exp_towardzero_test_data): Likewise.
35757 (exp_downward_test_data): Likewise.
35758 (exp_upward_test_data): Likewise.
35759 (exp10_test_data): Likewise.
35760 (exp2_test_data): Likewise.
35761 (expm1_test_data): Likewise.
35762 (fabs_test_data): Likewise.
35763 (fdim_test_data): Likewise.
35764 (finite_test_data): Likewise.
35765 (floor_test_data): Likewise.
35766 (fma_test_data): Likewise.
35767 (fma_towardzero_test_data): Likewise.
35768 (fma_downward_test_data): Likewise.
35769 (fma_upward_test_data): Likewise.
35770 (fmax_test_data): Likewise.
35771 (fmin_test_data): Likewise.
35772 (fmod_test_data): Likewise.
35773 (fpclassify_test_data): Likewise.
35774 (frexp_test_data): Likewise.
35775 (gamma_test_data): Likewise.
35776 (hypot_test_data): Likewise.
35777 (ilogb_test_data): Likewise.
35778 (isfinite_test_data): Likewise.
35779 (isgreater_test_data): Likewise.
35780 (isgreaterequal_test_data): Likewise.
35781 (isinf_test_data): Likewise.
35782 (isless_test_data): Likewise.
35783 (islessequal_test_data): Likewise.
35784 (islessgreater_test_data): Likewise.
35785 (isnan_test_data): Likewise.
35786 (isnormal_test_data): Likewise.
35787 (issignaling_test_data): Likewise.
35788 (isunordered_test_data): Likewise.
35789 (j0_test_data): Likewise.
35790 (j1_test_data): Likewise.
35791 (jn_test_data): Likewise.
35792 (ldexp_test_data): Likewise.
35793 (lgamma_test_data): Likewise.
35794 (lrint_test_data): Likewise.
35795 (lrint_tonearest_test_data): Likewise.
35796 (lrint_towardzero_test_data): Likewise.
35797 (lrint_downward_test_data): Likewise.
35798 (lrint_upward_test_data): Likewise.
35799 (llrint_test_data): Likewise.
35800 (llrint_tonearest_test_data): Likewise.
35801 (llrint_towardzero_test_data): Likewise.
35802 (llrint_downward_test_data): Likewise.
35803 (llrint_upward_test_data): Likewise.
35804 (log_test_data): Likewise.
35805 (log10_test_data): Likewise.
35806 (log1p_test_data): Likewise.
35807 (log2_test_data): Likewise.
35808 (logb_test_data): Likewise.
35809 (logb_downward_test_data): Likewise.
35810 (lround_test_data): Likewise.
35811 (llround_test_data): Likewise.
35812 (modf_test_data): Likewise.
35813 (nearbyint_test_data): Likewise.
35814 (nextafter_test_data): Likewise.
35815 (nexttoward_test_data): Likewise.
35816 (pow_test_data): Likewise.
35817 (pow_tonearest_test_data): Likewise.
35818 (pow_towardzero_test_data): Likewise.
35819 (pow_downward_test_data): Likewise.
35820 (pow_upward_test_data): Likewise.
35821 (remainder_test_data): Likewise.
35822 (remainder_tonearest_test_data): Likewise.
35823 (remainder_towardzero_test_data): Likewise.
35824 (remainder_downward_test_data): Likewise.
35825 (remainder_upward_test_data): Likewise.
35826 (remquo_test_data): Likewise.
35827 (rint_test_data): Likewise.
35828 (rint_tonearest_test_data): Likewise.
35829 (rint_towardzero_test_data): Likewise.
35830 (rint_downward_test_data): Likewise.
35831 (rint_upward_test_data): Likewise.
35832 (round_test_data): Likewise.
35833 (scalb_test_data): Likewise.
35834 (scalbn_test_data): Likewise.
35835 (scalbln_test_data): Likewise.
35836 (signbit_test_data): Likewise.
35837 (sin_test_data): Likewise.
35838 (sin_tonearest_test_data): Likewise.
35839 (sin_towardzero_test_data): Likewise.
35840 (sin_downward_test_data): Likewise.
35841 (sin_upward_test_data): Likewise.
35842 (sincos_test_data): Likewise.
35843 (sinh_test_data): Likewise.
35844 (sinh_tonearest_test_data): Likewise.
35845 (sinh_towardzero_test_data): Likewise.
35846 (sinh_downward_test_data): Likewise.
35847 (sinh_upward_test_data): Likewise.
35848 (sqrt_test_data): Likewise.
35849 (tan_test_data): Likewise.
35850 (tan_tonearest_test_data): Likewise.
35851 (tan_towardzero_test_data): Likewise.
35852 (tan_downward_test_data): Likewise.
35853 (tan_upward_test_data): Likewise.
35854 (tanh_test_data): Likewise.
35855 (tgamma_test_data): Likewise.
35856 (trunc_test_data): Likewise.
35857 (y0_test_data): Likewise.
35858 (y1_test_data): Likewise.
35859 (yn_test_data): Likewise.
35860 (significand_test_data): Likewise.
35861
35862 * math/gen-libm-test.pl (@functions): Remove variable.
35863 (generate_testfile): Don't handle START and END lines.
35864 * math/libm-test.inc (START): New macro.
35865 (END): Likewise.
35866 (END_COMPLEX): Likewise.
35867 (acos_test): Use END macro without arguments.
35868 (acos_test_tonearest): Likewise.
35869 (acos_test_towardzero): Likewise.
35870 (acos_test_downward): Likewise.
35871 (acos_test_upward): Likewise.
35872 (acosh_test): Likewise.
35873 (asin_test): Likewise.
35874 (asin_test_tonearest): Likewise.
35875 (asin_test_towardzero): Likewise.
35876 (asin_test_downward): Likewise.
35877 (asin_test_upward): Likewise.
35878 (asinh_test): Likewise.
35879 (atan_test): Likewise.
35880 (atanh_test): Likewise.
35881 (atan2_test): Likewise.
35882 (cabs_test): Likewise.
35883 (cacos_test): Use END_COMPLEX macro without arguments.
35884 (cacosh_test): Likewise.
35885 (carg_test): Use END macro without arguments.
35886 (casin_test): Use END_COMPLEX macro without arguments.
35887 (casinh_test): Likewise.
35888 (catan_test): Likewise.
35889 (catanh_test): Likewise.
35890 (cbrt_test): Use END macro without arguments.
35891 (ccos_test): Use END_COMPLEX macro without arguments.
35892 (ccosh_test): Likewise.
35893 (ceil_test): Use END macro without arguments.
35894 (cexp_test): Use END_COMPLEX macro without arguments.
35895 (cimag_test): Use END macro without arguments.
35896 (clog_test): Use END_COMPLEX macro without arguments.
35897 (clog10_test): Likewise.
35898 (conj_test): Likewise.
35899 (copysign_test): Use END macro without arguments.
35900 (cos_test): Likewise.
35901 (cos_test_tonearest): Likewise.
35902 (cos_test_towardzero): Likewise.
35903 (cos_test_downward): Likewise.
35904 (cos_test_upward): Likewise.
35905 (cosh_test): Likewise.
35906 (cosh_test_tonearest): Likewise.
35907 (cosh_test_towardzero): Likewise.
35908 (cosh_test_downward): Likewise.
35909 (cosh_test_upward): Likewise.
35910 (cpow_test): Use END_COMPLEX macro without arguments.
35911 (cproj_test): Likewise.
35912 (creal_test): Use END macro without arguments.
35913 (csin_test): Use END_COMPLEX macro without arguments.
35914 (csinh_test): Likewise.
35915 (csqrt_test): Likewise.
35916 (ctan_test): Likewise.
35917 (ctan_test_tonearest): Likewise.
35918 (ctan_test_towardzero): Likewise.
35919 (ctan_test_downward): Likewise.
35920 (ctan_test_upward): Likewise.
35921 (ctanh_test): Likewise.
35922 (ctanh_test_tonearest): Likewise.
35923 (ctanh_test_towardzero): Likewise.
35924 (ctanh_test_downward): Likewise.
35925 (ctanh_test_upward): Likewise.
35926 (erf_test): Use END macro without arguments.
35927 (erfc_test): Likewise.
35928 (exp_test): Likewise.
35929 (exp_test_tonearest): Likewise.
35930 (exp_test_towardzero): Likewise.
35931 (exp_test_downward): Likewise.
35932 (exp_test_upward): Likewise.
35933 (exp10_test): Likewise.
35934 (exp2_test): Likewise.
35935 (expm1_test): Likewise.
35936 (fabs_test): Likewise.
35937 (fdim_test): Likewise.
35938 (finite_test): Likewise.
35939 (floor_test): Likewise.
35940 (fma_test): Likewise.
35941 (fma_test_towardzero): Likewise.
35942 (fma_test_downward): Likewise.
35943 (fma_test_upward): Likewise.
35944 (fmax_test): Likewise.
35945 (fmin_test): Likewise.
35946 (fmod_test): Likewise.
35947 (fpclassify_test): Likewise.
35948 (frexp_test): Likewise.
35949 (gamma_test): Likewise.
35950 (hypot_test): Likewise.
35951 (ilogb_test): Likewise.
35952 (isfinite_test): Likewise.
35953 (isgreater_test): Likewise.
35954 (isgreaterequal_test): Likewise.
35955 (isinf_test): Likewise.
35956 (isless_test): Likewise.
35957 (islessequal_test): Likewise.
35958 (islessgreater_test): Likewise.
35959 (isnan_test): Likewise.
35960 (isnormal_test): Likewise.
35961 (issignaling_test): Likewise.
35962 (isunordered_test): Likewise.
35963 (j0_test): Likewise.
35964 (j1_test): Likewise.
35965 (jn_test): Likewise.
35966 (ldexp_test): Likewise.
35967 (lgamma_test): Likewise.
35968 (lrint_test): Likewise.
35969 (lrint_test_tonearest): Likewise.
35970 (lrint_test_towardzero): Likewise.
35971 (lrint_test_downward): Likewise.
35972 (lrint_test_upward): Likewise.
35973 (llrint_test): Likewise.
35974 (llrint_test_tonearest): Likewise.
35975 (llrint_test_towardzero): Likewise.
35976 (llrint_test_downward): Likewise.
35977 (llrint_test_upward): Likewise.
35978 (log_test): Likewise.
35979 (log10_test): Likewise.
35980 (log1p_test): Likewise.
35981 (log2_test): Likewise.
35982 (logb_test): Likewise.
35983 (logb_test_downward): Likewise.
35984 (lround_test): Likewise.
35985 (llround_test): Likewise.
35986 (modf_test): Likewise.
35987 (nearbyint_test): Likewise.
35988 (nextafter_test): Likewise.
35989 (nexttoward_test): Likewise.
35990 (pow_test): Likewise.
35991 (pow_test_tonearest): Likewise.
35992 (pow_test_towardzero): Likewise.
35993 (pow_test_downward): Likewise.
35994 (pow_test_upward): Likewise.
35995 (remainder_test): Likewise.
35996 (remainder_test_tonearest): Likewise.
35997 (remainder_test_towardzero): Likewise.
35998 (remainder_test_downward): Likewise.
35999 (remainder_test_upward): Likewise.
36000 (remquo_test): Likewise.
36001 (rint_test): Likewise.
36002 (rint_test_tonearest): Likewise.
36003 (rint_test_towardzero): Likewise.
36004 (rint_test_downward): Likewise.
36005 (rint_test_upward): Likewise.
36006 (round_test): Likewise.
36007 (scalb_test): Likewise.
36008 (scalbn_test): Likewise.
36009 (scalbln_test): Likewise.
36010 (signbit_test): Likewise.
36011 (sin_test): Likewise.
36012 (sin_test_tonearest): Likewise.
36013 (sin_test_towardzero): Likewise.
36014 (sin_test_downward): Likewise.
36015 (sin_test_upward): Likewise.
36016 (sincos_test): Likewise.
36017 (sinh_test): Likewise.
36018 (sinh_test_tonearest): Likewise.
36019 (sinh_test_towardzero): Likewise.
36020 (sinh_test_downward): Likewise.
36021 (sinh_test_upward): Likewise.
36022 (sqrt_test): Likewise.
36023 (tan_test): Likewise.
36024 (tan_test_tonearest): Likewise.
36025 (tan_test_towardzero): Likewise.
36026 (tan_test_downward): Likewise.
36027 (tan_test_upward): Likewise.
36028 (tanh_test): Likewise.
36029 (tgamma_test): Likewise.
36030 (trunc_test): Likewise.
36031 (y0_test): Likewise.
36032 (y1_test): Likewise.
36033 (yn_test): Likewise.
36034 (significand_test): Likewise.
36035
36036 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
36037
36038 [BZ #15381]
36039 * libio/genops.c (_IO_no_init): Initialize wide struct info.
36040
36041 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
36042
36043 [BZ #14894]
36044 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
36045 __ppc_mdoio and __ppc_mdoom.
36046 * manual/platform.texi: Document new functions __ppc_yield,
36047 __ppc_mdoio and __ppc_mdoom.
36048
36049 2013-05-22 Carlos O'Donell <carlos@redhat.com>
36050
36051 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
36052 (main): Mention "tls" pseudo-hwcap is legacy.
36053 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
36054
36055 2013-05-22 Joseph Myers <joseph@codesourcery.com>
36056
36057 * math/gen-libm-test.pl (parse_args): Output only string of
36058 arguments as text for test name, not full call or descriptions of
36059 tests for extra outputs.
36060 (generate_testfile): Do not pass function name to parse_args.
36061 Generate this_func variable from START.
36062 * math/libm-test.inc (struct test_f_f_data): Rename test_name
36063 field to arg_str.
36064 (struct test_ff_f_data): Likewise.
36065 (test_ff_f_data_nexttoward): Likewise.
36066 (struct test_fi_f_data): Likewise.
36067 (struct test_fl_f_data): Likewise.
36068 (struct test_if_f_data): Likewise.
36069 (struct test_fff_f_data): Likewise.
36070 (struct test_c_f_data): Likewise.
36071 (struct test_f_f1_data): Likewise. Remove field extra_name.
36072 (struct test_fF_f1_data): Likewise.
36073 (struct test_ffI_f1_data): Likewise.
36074 (struct test_c_c_data): Rename test_name field to arg_str.
36075 (struct test_cc_c_data): Likewise.
36076 (struct test_f_i_data): Likewise.
36077 (struct test_ff_i_data): Likewise.
36078 (struct test_f_l_data): Likewise.
36079 (struct test_f_L_data): Likewise.
36080 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
36081 and extra2_name.
36082 (COMMON_TEST_SETUP): New macro.
36083 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
36084 (COMMON_TEST_CLEANUP): Likewise.
36085 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
36086 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
36087 macros.
36088 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
36089 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
36090 macros.
36091 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
36092 (RUN_TEST_fff_f): Take argument string. Call new setup and
36093 cleanup macros.
36094 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
36095 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
36096 macros.
36097 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
36098 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
36099 macros.
36100 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
36101 (RUN_TEST_fF_f1): Take argument string. Call new setup and
36102 cleanup macros.
36103 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
36104 (RUN_TEST_fI_f1): Take argument string. Call new setup and
36105 cleanup macros.
36106 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
36107 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
36108 cleanup macros.
36109 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
36110 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
36111 macros.
36112 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
36113 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
36114 macros.
36115 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
36116 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
36117 macros.
36118 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
36119 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
36120 cleanup macros.
36121 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
36122 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
36123 cleanup macros.
36124 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
36125 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
36126 macros.
36127 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
36128 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
36129 cleanup macros.
36130 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
36131 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
36132 macros.
36133 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
36134 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
36135 macros.
36136 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
36137 (RUN_TEST_fFF_11): Take argument string. Call new setup and
36138 cleanup macros.
36139 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
36140
36141 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
36142
36143 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
36144 to _sifields.sigfault.
36145 (si_addr_lsb): Define new macro.
36146 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
36147 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36148 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
36149
36150 2013-05-03 Carlos O'Donell <carlos at redhat.com>
36151
36152 [BZ #15441]
36153 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
36154 returns -1.
36155 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
36156 null return -1.
36157 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
36158 loading the domain.
36159
36160 2013-05-22 Joseph Myers <joseph@codesourcery.com>
36161
36162 * math/gen-libm-test.pl (parse_args): Do not include expected
36163 result in test name.
36164 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
36165 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36166 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36167 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36168 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36170
36171 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36172
36173 * benchtests/Makefile: Sort function entries.
36174
36175 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
36176 tanh, asinh, acosh, atanh.
36177 * benchtests/acos-inputs: New file.
36178 * benchtests/acosh-inputs: New file.
36179 * benchtests/asin-inputs: New file.
36180 * benchtests/asinh-inputs: New file.
36181 * benchtests/atanh-inputs: New file.
36182 * benchtests/cosh-inputs: New file.
36183 * benchtests/log-inputs: New file.
36184 * benchtests/sinh-inputs: New file.
36185 * benchtests/tanh-inputs: New file.
36186
36187 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
36188
36189 [BZ #15339]
36190 * posix/tst-getaddrinfo4.c: New test.
36191 * posix/Makefile (tests): Add it.
36192
36193 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36194
36195 [BZ #15339]
36196 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
36197 when no services were used.
36198 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
36199 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
36200
36201 2013-05-21 Andreas Schwab <schwab@suse.de>
36202
36203 [BZ #15014]
36204 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
36205 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
36206 successful.
36207 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
36208 redundant variable declarations and reallocation of buffer when
36209 parsing as IPv6 address. Always set NSS status when called from
36210 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
36211 buffer too small. Correct computation of needed size.
36212 * nss/Makefile (tests): Add test-digits-dots.
36213 * nss/test-digits-dots.c: New test.
36214
36215 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36216
36217 * benchtests/Makefile: Remove instructions for adding
36218 benchmark tests.
36219 * benchtests/README: New file to explain how to execute and
36220 enhance the benchmark tests.
36221
36222 2013-05-21 Andreas Schwab <schwab@suse.de>
36223
36224 [BZ #15493]
36225 * setjmp/Makefile (tests): Add tst-sigsetjmp.
36226 * setjmp/tst-sigsetjmp.c: New test.
36227
36228 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
36229
36230 * sysdeps/x86_64/memset.S (memset): New implementation.
36231 (__bzero): Likewise.
36232 (__memset_tail): New function.
36233
36234 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
36235
36236 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
36237 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
36238 __memcpy_sse2_unaligned ifunc selection.
36239 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36240 Add memcpy-sse2-unaligned.S.
36241 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36242 Add: __memcpy_sse2_unaligned.
36243
36244 2013-05-19 Joseph Myers <joseph@codesourcery.com>
36245
36246 [BZ #15490]
36247 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
36248 math_force_eval before restoring floating-point envrionment.
36249 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
36250 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
36251 Likewise.
36252 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
36253 <math_private.h>.
36254 (__nearbyintl): Use math_force_eval before restoring
36255 floating-point environment.
36256 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
36257
36258 * math/gen-libm-test.pl (special_functions): Remove.
36259 (parse_args): Don't handle TEST_extra. Handle functions with no
36260 return value.
36261 * math/libm-test.inc (struct test_sincos_data): Replace with
36262 struct test_fFF_11_data.
36263 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
36264 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
36265 (sincos_test_data): Change element type to struct
36266 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
36267 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
36268 RUN_TEST_LOOP_sincos.
36269 * math/README.libm-test: Don't mention special handling of
36270 individual functions.
36271 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
36272 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36273 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36274 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36275 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36277
36278 * math/gen-libm-test.pl (get_variable): Remove function.
36279 (parse_args): Don't show pointer parameters to call in test
36280 names. Use "extra output N" in test names for extra outputs
36281 rather than naming variables.
36282
36283 2013-05-18 Joseph Myers <joseph@codesourcery.com>
36284
36285 [BZ #15488]
36286 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
36287 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
36288 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
36289 double tests.
36290 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
36291 disable.
36292 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
36293 check_long_double.
36294
36295 * math/gen-libm-test.pl (@tests): Remove variable.
36296 ($count): Likewise.
36297 (new_test): Remove function.
36298 (show_exceptions): New function.
36299 (special_functions): Use show_exceptions instead of new_test.
36300 (parse_args): Likewise.
36301 (generate_testfile): Pass only function name in generated call to
36302 print_max_error or print_complex_max_error.
36303 (get_ulps): Do not handle complex tests specially.
36304 (output_test): Rename to ...
36305 (get_all_ulps_for_test): ... this. Return a string rather than
36306 printing to a file. Require ulps to be present.
36307 (output_ulps): Generate arrays rather than #defines.
36308 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
36309 (struct ulp_data): New type.
36310 (BUILD_COMPLEX_ULP): Remove macro.
36311 (compare_ulp_data): New function.
36312 (find_ulps): Likewise.
36313 (find_test_ulps): Likewise.
36314 (find_function_ulps): Likewise.
36315 (find_complex_function_ulps): Likewise.
36316 (print_max_error): Determine allowed ulps using
36317 find_function_ulps.
36318 (print_complex_max_error): Determine allowed ulps using
36319 find_complex_function_ulps.
36320 (check_float_internal): Determine max ulps using find_test_ulps.
36321 (check_float): Do not take max_ulp parameter. Update call to
36322 check_float_internal.
36323 (check_complex): Likewise.
36324 (check_int): Do not take max_ulp parameter.
36325 (check_long): Likewise.
36326 (check_bool): Likewise.
36327 (check_longlong): Likewise.
36328 (struct test_f_f_data): Remove max_ulp field.
36329 (struct test_ff_f_data): Likewise.
36330 (struct test_ff_f_data_nexttoward): Likewise.
36331 (struct test_fi_f_data): Likewise.
36332 (struct test_fl_f_data): Likewise.
36333 (struct test_if_f_data): Likewise.
36334 (struct test_fff_f_data): Likewise.
36335 (struct test_c_f_data): Likewise.
36336 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
36337 (struct test_fF_f1_data): Likewise.
36338 (struct test_ffI_f1_data): Likewise.
36339 (struct test_c_c_data): Remove max_ulp field.
36340 (struct test_cc_c_data): Likewise.
36341 (struct test_f_i_data): Likewise.
36342 (struct test_ff_i_data): Likewise.
36343 (struct test_f_l_data): Likewise.
36344 (struct test_f_L_data): Likewise.
36345 (struct test_sincos_data): Likewise.
36346 (RUN_TEST_f_f): Do not handle ulps.
36347 (RUN_TEST_LOOP_f_f): Likewise.
36348 (RUN_TEST_2_f): Likewise.
36349 (RUN_TEST_LOOP_2_f): Likewise.
36350 (RUN_TEST_fff_f): Likewise.
36351 (RUN_TEST_LOOP_fff_f): Likewise.
36352 (RUN_TEST_c_f): Likewise.
36353 (RUN_TEST_LOOP_c_f): Likewise.
36354 (RUN_TEST_f_f1): Likewise.
36355 (RUN_TEST_LOOP_f_f1): Likewise.
36356 (RUN_TEST_fF_f1): Likewise.
36357 (RUN_TEST_LOOP_fF_f1): Likewise.
36358 (RUN_TEST_fI_f1): Likewise.
36359 (RUN_TEST_LOOP_fI_f1): Likewise.
36360 (RUN_TEST_ffI_f1): Likewise.
36361 (RUN_TEST_LOOP_ffI_f1): Likewise.
36362 (RUN_TEST_c_c): Likewise.
36363 (RUN_TEST_LOOP_c_c): Likewise.
36364 (RUN_TEST_cc_c): Likewise.
36365 (RUN_TEST_LOOP_cc_c): Likewise.
36366 (RUN_TEST_f_i): Likewise.
36367 (RUN_TEST_LOOP_f_i): Likewise.
36368 (RUN_TEST_f_i_tg): Likewise.
36369 (RUN_TEST_LOOP_f_i_tg): Likewise.
36370 (RUN_TEST_ff_i_tg): Likewise.
36371 (RUN_TEST_LOOP_ff_i_tg): Likewise.
36372 (RUN_TEST_f_b): Likewise.
36373 (RUN_TEST_LOOP_f_b): Likewise.
36374 (RUN_TEST_f_b_tg): Likewise.
36375 (RUN_TEST_LOOP_f_b_tg): Likewise.
36376 (RUN_TEST_f_l): Likewise.
36377 (RUN_TEST_LOOP_f_l): Likewise.
36378 (RUN_TEST_f_L): Likewise.
36379 (RUN_TEST_LOOP_f_L): Likewise.
36380 (RUN_TEST_sincos): Likewise.
36381 (RUN_TEST_LOOP_sincos): Likewise.
36382
36383 2013-05-17 Joseph Myers <joseph@codesourcery.com>
36384
36385 [BZ #15480]
36386 [BZ #15485]
36387 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
36388 main case of finite arguments, set rounding mode to FE_TONEAREST
36389 and discard exceptions.
36390 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
36391 exceptions.
36392 (remainder_tonearest_test_data): New variable.
36393 (remainder_test_tonearest): New function.
36394 (remainder_towardzero_test_data): New variable.
36395 (remainder_test_towardzero): New function.
36396 (remainder_downward_test_data): New variable.
36397 (remainder_test_downward): New function.
36398 (remainder_upward_test_data): New variable.
36399 (remainder_test_upward): New function.
36400 (main): Call the new test functions.
36401
36402 * math/libm-test.inc (struct test_f_f1_data): Remove field
36403 extra_init.
36404 (struct test_fF_f1_data): Likewise.
36405 (struct test_ffI_f1_data): Likewise.
36406 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
36407 based on value of EXTRA_EXPECTED.
36408 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
36409 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
36410 EXTRA_VAR based on value of EXTRA_EXPECTED.
36411 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
36412 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
36413 EXTRA_VAR based on value of EXTRA_EXPECTED.
36414 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
36415 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
36416 EXTRA_VAR based on value of EXTRA_EXPECTED.
36417 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
36418 * math/gen-libm-test.pl (parse_args): Don't output initializers
36419 for extra output values.
36420
36421 * math/libm-test.inc (check_int): Expect result to be exactly
36422 equal to expected value and do not handle ulps.
36423 (check_long): Likewise.
36424 (check_longlong): Likewise.
36425
36426 * math/libm-test.inc (ceil_test_data): Test for "inexact"
36427 exceptions.
36428 (cimag_test_data): Likewise.
36429 (conj_test_data): Likewise.
36430 (copysign_test_data): Likewise.
36431 (cproj_test_data): Likewise.
36432 (creal_test_data): Likewise.
36433 (fabs_test_data): Likewise.
36434 (fdim_test_data): Likewise.
36435 (finite_test_data): Likewise.
36436 (floor_test_data): Likewise.
36437 (fmax_test_data): Likewise.
36438 (fmin_test_data): Likewise.
36439 (fmod_test_data): Likewise.
36440 (fpclassify_test_data): Likewise.
36441 (frexp_test_data): Likewise.
36442 (ilogb_test_data): Likewise.
36443 (isfinite_test_data): Likewise.
36444 (isgreater_test_data): Likewise.
36445 (isgreaterequal_test_data): Likewise.
36446 (isinf_test_data): Likewise.
36447 (isless_test_data): Likewise.
36448 (islessequal_test_data): Likewise.
36449 (islessgreater_test_data): Likewise.
36450 (isnan_test_data): Likewise.
36451 (isnormal_test_data): Likewise.
36452 (issignaling_test_data): Likewise.
36453 (isunordered_test_data): Likewise.
36454 (ldexp_test_data): Likewise.
36455 (lrint_test_data): Likewise.
36456 (lrint_test_data) [TEST_FLOAT]: Disable one test.
36457 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
36458 (lrint_tonearest_test_data): Test for "inexact" exceptions.
36459 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
36460 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
36461 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
36462 test input.
36463 (lrint_towardzero_test_data): Test for "inexact" exceptions.
36464 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
36465 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
36466 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
36467 that test input.
36468 (lrint_downward_test_data): Test for "inexact" exceptions.
36469 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
36470 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
36471 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
36472 test input.
36473 (lrint_upward_test_data): Test for "inexact" exceptions.
36474 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
36475 test input.
36476 (llrint_test_data): Test for "inexact" exceptions.
36477 (llrint_test_data) [TEST_FLOAT]: Disable one test.
36478 (llrint_tonearest_test_data): Test for "inexact" exceptions.
36479 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
36480 (llrint_towardzero_test_data): Test for "inexact" exceptions.
36481 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
36482 (llrint_downward_test_data): Test for "inexact" exceptions.
36483 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
36484 (llrint_upward_test_data): Test for "inexact" exceptions.
36485 (logb_test_data): Likewise.
36486 (logb_downward_test_data): Likewise.
36487 (nextafter_test_data): Likewise.
36488 (nexttoward_test_data): Likewise.
36489 (remainder_test_data): Likewise.
36490 (remquo_test_data): Likewise.
36491 (scalbn_test_data): Likewise.
36492 (scalbln_test_data): Likewise.
36493 (signbit_test_data): Likewise.
36494 (sqrt_test_data): Likewise.
36495 (significand_test_data): Likewise.
36496
36497 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
36498
36499 [BZ #15424]
36500 * benchtests/bench-modf.c (struct args): Mark arg0 as
36501 volatile.
36502 * scripts/bench.pl: Mark members of struct args as volatile.
36503
36504 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36505
36506 [BZ # 15497]
36507 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
36508 negative infinity on POWER6 or lower.
36509 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
36510
36511 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
36512
36513 [BZ #15442]
36514 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
36515 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
36516 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
36517 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
36518 (_FP_SETQNAN): New macro.
36519 (_FP_SETQNAN_SEMIRAW): Likewise.
36520 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
36521 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
36522 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
36523 (FP_EXTEND): Use _FP_FRAC_SNANP.
36524 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
36525 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
36526 into account.
36527 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
36528 New macro.
36529 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
36530 Likewise.
36531
36532 2013-05-16 Joseph Myers <joseph@codesourcery.com>
36533
36534 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
36535 with DIVIDE_BY_ZERO_EXCEPTION.
36536 (gamma_test_data): Likewise.
36537 (lgamma_test_data): Likewise.
36538 (log_test_data): Likewise.
36539 (log10_test_data): Likewise.
36540 (log2_test_data): Likewise.
36541 (tgamma_test_data): Likewise.
36542
36543 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
36544 (acos_test_tonearest): Likewise.
36545 (acos_test_towardzero): Likewise.
36546 (acos_test_downward): Likewise.
36547 (acos_test_upward): Likewise.
36548 (acosh_test): Likewise.
36549 (asin_test): Likewise.
36550 (asin_test_tonearest): Likewise.
36551 (asin_test_towardzero): Likewise.
36552 (asin_test_downward): Likewise.
36553 (asin_test_upward): Likewise.
36554 (asinh_test): Likewise.
36555 (atan_test): Likewise.
36556 (atanh_test): Likewise.
36557 (atan2_test): Likewise.
36558 (cabs_test): Likewise.
36559 (cacos_test): Likewise.
36560 (cacosh_test): Likewise.
36561 (casin_test): Likewise.
36562 (casinh_test): Likewise.
36563 (catan_test): Likewise.
36564 (catanh_test): Likewise.
36565 (cbrt_test): Likewise.
36566 (ccos_test): Likewise.
36567 (ccosh_test): Likewise.
36568 (cexp_test): Likewise.
36569 (clog_test): Likewise.
36570 (clog10_test): Likewise.
36571 (cos_test): Likewise.
36572 (cos_test_tonearest): Likewise.
36573 (cos_test_towardzero): Likewise.
36574 (cos_test_downward): Likewise.
36575 (cos_test_upward): Likewise.
36576 (cosh_test): Likewise.
36577 (cosh_test_tonearest): Likewise.
36578 (cosh_test_towardzero): Likewise.
36579 (cosh_test_downward): Likewise.
36580 (cosh_test_upward): Likewise.
36581 (cpow_test): Likewise.
36582 (csin_test): Likewise.
36583 (csinh_test): Likewise.
36584 (csqrt_test): Likewise.
36585 (ctan_test): Likewise.
36586 (ctan_test_tonearest): Likewise.
36587 (ctan_test_towardzero): Likewise.
36588 (ctan_test_downward): Likewise.
36589 (ctan_test_upward): Likewise.
36590 (ctanh_test): Likewise.
36591 (ctanh_test_tonearest): Likewise.
36592 (ctanh_test_towardzero): Likewise.
36593 (ctanh_test_downward): Likewise.
36594 (ctanh_test_upward): Likewise.
36595 (erf_test): Likewise.
36596 (erfc_test): Likewise.
36597 (exp_test): Likewise.
36598 (exp_test_tonearest): Likewise.
36599 (exp_test_towardzero): Likewise.
36600 (exp_test_downward): Likewise.
36601 (exp_test_upward): Likewise.
36602 (exp10_test): Likewise.
36603 (exp2_test): Likewise.
36604 (expm1_test): Likewise.
36605 (fmod_test): Likewise.
36606 (gamma_test): Likewise.
36607 (hypot_test): Likewise.
36608 (j0_test): Likewise.
36609 (j1_test): Likewise.
36610 (jn_test): Likewise.
36611 (lgamma_test): Likewise.
36612 (log_test): Likewise.
36613 (log10_test): Likewise.
36614 (log1p_test): Likewise.
36615 (log2_test): Likewise.
36616 (logb_test_downward): Likewise.
36617 (pow_test): Likewise.
36618 (pow_test_tonearest): Likewise.
36619 (pow_test_towardzero): Likewise.
36620 (pow_test_downward): Likewise.
36621 (pow_test_upward): Likewise.
36622 (remainder_test): Likewise.
36623 (remquo_test): Likewise.
36624 (sin_test): Likewise.
36625 (sin_test_tonearest): Likewise.
36626 (sin_test_towardzero): Likewise.
36627 (sin_test_downward): Likewise.
36628 (sin_test_upward): Likewise.
36629 (sincos_test): Likewise.
36630 (sinh_test): Likewise.
36631 (sinh_test_tonearest): Likewise.
36632 (sinh_test_towardzero): Likewise.
36633 (sinh_test_downward): Likewise.
36634 (sinh_test_upward): Likewise.
36635 (sqrt_test): Likewise.
36636 (tan_test): Likewise.
36637 (tan_test_tonearest): Likewise.
36638 (tan_test_towardzero): Likewise.
36639 (tan_test_downward): Likewise.
36640 (tan_test_upward): Likewise.
36641 (tanh_test): Likewise.
36642 (tgamma_test): Likewise.
36643 (y0_test): Likewise.
36644 (y1_test): Likewise.
36645 (yn_test): Likewise.
36646
36647 * math/gen-libm-test.pl (adjust_arg): Remove function.
36648 (special_function): Remove argument $in_func. Only handle
36649 generating output for tables of tests, not inside functions.
36650 (parse_args): Likewise.
36651 (generate_testfile): Remove variable $in_func. Update call to
36652 parse_args.
36653 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
36654 (MINUS_ZERO_INIT): Rename macro to minus_zero.
36655 (PLUS_INFTY_INIT): Rename macro to plus_infty.
36656 (MINUS_INFTY_INIT): Rename macro to minus_infty.
36657 (QNAN_VALUE_INIT): Rename macro to qnan_value.
36658 (MAX_VALUE_INIT): Rename macro to max_value.
36659 (MIN_VALUE_INIT): Rename macro to min_value.
36660 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
36661 (plus_zero): Remove variable.
36662 (minus_zero): Likewise.
36663 (plus_infty): Likewise.
36664 (minus_infty): Likewise.
36665 (qnan_value): Likewise.
36666 (max_value): Likewise.
36667 (min_value): Likewise.
36668 (min_subnorm_value): Likewise.
36669
36670 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36671
36672 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
36673 uint64_t or uint32_t usage.
36674 * crypt/sha256-block.c: Likewise.
36675 * crypt/sha256-crypt.c: Likewise.
36676 * crypt/sha256.c: Likewise.
36677 * crypt/sha512-block.c: Likewise.
36678 * crypt/sha512-crypt.c: Likewise.
36679 * crypt/sha512.c: Likewise.
36680 * debug/backtrace-tst.c: Likewise.
36681 * debug/pcprofiledump.c: Likewise.
36682 * elf/cache.c: Likewise.
36683 * elf/dl-cache.c: Likewise.
36684 * elf/dl-misc.c: Likewise.
36685 * elf/dl-profile.c: Likewise.
36686 * elf/dl-support.c: Likewise.
36687 * elf/ldconfig.c: Likewise.
36688 * elf/sprof.c: Likewise.
36689 * iconv/dummy-repertoire.c: Likewise.
36690 * iconv/iconv_charmap.c: Likewise.
36691 * iconv/skeleton.c: Likewise.
36692 * iconvdata/8bit-generic.c: Likewise.
36693 * iconvdata/cp737.h: Likewise.
36694 * iconvdata/cp775.h: Likewise.
36695 * iconvdata/ibm1008.h: Likewise.
36696 * iconvdata/ibm1025.h: Likewise.
36697 * iconvdata/ibm1046.h: Likewise.
36698 * iconvdata/ibm1097.h: Likewise.
36699 * iconvdata/ibm1112.h: Likewise.
36700 * iconvdata/ibm1122.h: Likewise.
36701 * iconvdata/ibm1123.h: Likewise.
36702 * iconvdata/ibm1124.h: Likewise.
36703 * iconvdata/ibm1129.h: Likewise.
36704 * iconvdata/ibm1130.h: Likewise.
36705 * iconvdata/ibm1132.h: Likewise.
36706 * iconvdata/ibm1133.h: Likewise.
36707 * iconvdata/ibm1137.h: Likewise.
36708 * iconvdata/ibm1140.h: Likewise.
36709 * iconvdata/ibm1141.h: Likewise.
36710 * iconvdata/ibm1142.h: Likewise.
36711 * iconvdata/ibm1143.h: Likewise.
36712 * iconvdata/ibm1144.h: Likewise.
36713 * iconvdata/ibm1145.h: Likewise.
36714 * iconvdata/ibm1146.h: Likewise.
36715 * iconvdata/ibm1147.h: Likewise.
36716 * iconvdata/ibm1148.h: Likewise.
36717 * iconvdata/ibm1149.h: Likewise.
36718 * iconvdata/ibm1153.h: Likewise.
36719 * iconvdata/ibm1154.h: Likewise.
36720 * iconvdata/ibm1155.h: Likewise.
36721 * iconvdata/ibm1156.h: Likewise.
36722 * iconvdata/ibm1157.h: Likewise.
36723 * iconvdata/ibm1158.h: Likewise.
36724 * iconvdata/ibm1160.h: Likewise.
36725 * iconvdata/ibm1161.h: Likewise.
36726 * iconvdata/ibm1162.h: Likewise.
36727 * iconvdata/ibm1163.h: Likewise.
36728 * iconvdata/ibm1164.h: Likewise.
36729 * iconvdata/ibm1166.h: Likewise.
36730 * iconvdata/ibm1167.h: Likewise.
36731 * iconvdata/ibm12712.h: Likewise.
36732 * iconvdata/ibm1390.h: Likewise.
36733 * iconvdata/ibm1399.h: Likewise.
36734 * iconvdata/ibm16804.h: Likewise.
36735 * iconvdata/ibm4517.h: Likewise.
36736 * iconvdata/ibm4899.h: Likewise.
36737 * iconvdata/ibm4909.h: Likewise.
36738 * iconvdata/ibm4971.h: Likewise.
36739 * iconvdata/ibm5347.h: Likewise.
36740 * iconvdata/ibm803.h: Likewise.
36741 * iconvdata/ibm856.h: Likewise.
36742 * iconvdata/ibm901.h: Likewise.
36743 * iconvdata/ibm902.h: Likewise.
36744 * iconvdata/ibm9030.h: Likewise.
36745 * iconvdata/ibm9066.h: Likewise.
36746 * iconvdata/ibm921.h: Likewise.
36747 * iconvdata/ibm922.h: Likewise.
36748 * iconvdata/ibm9448.h: Likewise.
36749 * iconvdata/isiri-3342.h: Likewise.
36750 * iconvdata/jis0201.h: Likewise.
36751 * include/link.h: Likewise.
36752 * include/netdb.h: Likewise.
36753 * inet/check_native.c: Likewise.
36754 * inet/check_pf.c: Likewise.
36755 * inet/getipv4sourcefilter.c: Likewise.
36756 * inet/getnameinfo.c: Likewise.
36757 * inet/getsourcefilter.c: Likewise.
36758 * inet/htonl.c: Likewise.
36759 * inet/setipv4sourcefilter.c: Likewise.
36760 * inet/setsourcefilter.c: Likewise.
36761 * inet/test-inet6_opt.c: Likewise.
36762 * inet/tst-network.c: Likewise.
36763 * locale/C-collate.c: Likewise.
36764 * locale/C-ctype.c: Likewise.
36765 * locale/C-time.c: Likewise.
36766 * locale/C-translit.h: Likewise.
36767 * locale/loadarchive.c: Likewise.
36768 * locale/programs/3level.h: Likewise.
36769 * locale/programs/charmap.c: Likewise.
36770 * locale/programs/charmap.h: Likewise.
36771 * locale/programs/ld-address.c: Likewise.
36772 * locale/programs/ld-collate.c: Likewise.
36773 * locale/programs/ld-ctype.c: Likewise.
36774 * locale/programs/ld-identification.c: Likewise.
36775 * locale/programs/ld-measurement.c: Likewise.
36776 * locale/programs/ld-messages.c: Likewise.
36777 * locale/programs/ld-monetary.c: Likewise.
36778 * locale/programs/ld-name.c: Likewise.
36779 * locale/programs/ld-numeric.c: Likewise.
36780 * locale/programs/ld-paper.c: Likewise.
36781 * locale/programs/ld-telephone.c: Likewise.
36782 * locale/programs/ld-time.c: Likewise.
36783 * locale/programs/linereader.c: Likewise.
36784 * locale/programs/locale.c: Likewise.
36785 * locale/programs/locarchive.c: Likewise.
36786 * locale/programs/locfile.h: Likewise.
36787 * locale/programs/repertoire.c: Likewise.
36788 * locale/programs/simple-hash.c: Likewise.
36789 * locale/programs/simple-hash.h: Likewise.
36790 * malloc/memusage.c: Likewise.
36791 * malloc/memusagestat.c: Likewise.
36792 * nis/nis_defaults.c: Likewise.
36793 * nis/nis_hash.c: Likewise.
36794 * nis/nis_print.c: Likewise.
36795 * nis/nis_xdr.c: Likewise.
36796 * nscd/connections.c: Likewise.
36797 * nscd/hstcache.c: Likewise.
36798 * nscd/nscd_gethst_r.c: Likewise.
36799 * nscd/nscd_getserv_r.c: Likewise.
36800 * nscd/nscd_helper.c: Likewise.
36801 * nscd/servicescache.c: Likewise.
36802 * nss/makedb.c: Likewise.
36803 * nss/nss_db/db-XXX.c: Likewise.
36804 * nss/nss_db/db-initgroups.c: Likewise.
36805 * nss/nss_db/db-netgrp.c: Likewise.
36806 * nss/nss_files/files-network.c: Likewise.
36807 * nss/nss_files/files-parse.c: Likewise.
36808 * posix/bug-regex5.c: Likewise.
36809 * posix/fnmatch_loop.c: Likewise.
36810 * posix/regcomp.c: Likewise.
36811 * posix/regexec.c: Likewise.
36812 * posix/tst-rfc3484-2.c: Likewise.
36813 * posix/tst-rfc3484-3.c: Likewise.
36814 * posix/tst-rfc3484.c: Likewise.
36815 * resolv/nss_dns/dns-canon.c: Likewise.
36816 * resolv/nss_dns/dns-network.c: Likewise.
36817 * resolv/res_init.c: Likewise.
36818 * resolv/res_mkquery.c: Likewise.
36819 * resolv/tst-aton.c: Likewise.
36820 * stdlib/cxa_atexit.c: Likewise.
36821 * stdlib/cxa_finalize.c: Likewise.
36822 * stdlib/gen-fpioconst.c: Likewise.
36823 * stdlib/strtol_l.c: Likewise.
36824 * string/tst-endian.c: Likewise.
36825 * sunrpc/auth_des.c: Likewise.
36826 * sunrpc/clnt_udp.c: Likewise.
36827 * sunrpc/rtime.c: Likewise.
36828 * sunrpc/svcauth_des.c: Likewise.
36829 * sunrpc/xdr.c: Likewise.
36830 * sunrpc/xdr_intXX_t.c: Likewise.
36831 * sunrpc/xdr_rec.c: Likewise.
36832 * sysdeps/generic/ldconfig.h: Likewise.
36833 * sysdeps/generic/ldsodefs.h: Likewise.
36834 * sysdeps/generic/memusage.h: Likewise.
36835 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36836 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
36837 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
36838 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36839 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36840 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36841 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36842 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36843 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36844 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
36845 * sysdeps/posix/getaddrinfo.c: Likewise.
36846 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36847 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36848 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
36849 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36850 * sysdeps/powerpc/test-gettimebase.c: Likewise.
36851 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
36852 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
36853 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
36854 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
36855 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
36856 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36857 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36858 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
36859 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
36860 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
36861 * sysdeps/x86_64/dl-tls.h: Likewise.
36862 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
36863 * time/alt_digit.c: Likewise.
36864 * time/era.c: Likewise.
36865 * wcsmbs/tst-c16c32-1.c: Likewise.
36866
36867 2013-05-16 Joseph Myers <joseph@codesourcery.com>
36868
36869 * math/libm-test.inc (struct test_sincos_data): New type.
36870 (RUN_TEST_LOOP_sincos): New macro.
36871 (sincos_test_data): New variable.
36872 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
36873
36874 2013-05-16 Richard Henderson <rth@redhat.com>
36875
36876 * math/atest-exp2.c (LIMB64): New macro.
36877 (CONSTSZ): New macro.
36878 (mp_exp1, mp_exp_m1, mp_log2): New variables.
36879 (hexdig): Move ...
36880 (print_mpn_fp): ... to function scope.
36881 (read_mpn_hex): Remove.
36882 (get_log2): Remove.
36883 (exp2_mpn): Use mp_log2.
36884 (main): Use mp_exp1.
36885
36886 2013-05-16 Joseph Myers <joseph@codesourcery.com>
36887
36888 * math/libm-test.inc: Remove comment about not testing "inexact"
36889 exceptions.
36890 (INEXACT_EXCEPTION): New macro.
36891 (NO_INEXACT_EXCEPTION): Likewise.
36892 (INVALID_EXCEPTION_OK): Update value.
36893 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36894 (OVERFLOW_EXCEPTION_OK): Likewise.
36895 (UNDERFLOW_EXCEPTION_OK): Likewise.
36896 (IGNORE_ZERO_INF_SIGN): Likewise.
36897 (ERRNO_UNCHANGED): Likewise.
36898 (ERRNO_EDOM): Likewise.
36899 (ERRNO_ERANGE): Likewise.
36900 (test_exceptions): Handle testing "inexact" exceptions.
36901 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
36902 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
36903 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
36904 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
36905 INEXACT_EXCEPTION.
36906 (rint_towardzero_test_data): Likewise.
36907 (rint_downward_test_data): Likewise.
36908 (rint_upward_test_data): Likewise.
36909
36910 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
36911 with OVERFLOW_EXCEPTION.
36912 (exp10_test_data): Likewise.
36913 (exp2_test_data): Likewise.
36914 (expm1_test_data): Likewise.
36915 (lgamma_test_data): Likewise.
36916 (pow_test_data): Likewise.
36917 (tgamma_test_data): Likewise.
36918 (yn_test_data): Remove duplicate test of overflow.
36919
36920 * math/libm-test.inc (struct test_cc_c_data): New type.
36921 (RUN_TEST_LOOP_cc_c): New macro.
36922 (cpow_test_data): New variable.
36923 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
36924
36925 * math/libm-test.inc (struct test_f_L_data): New type.
36926 (RUN_TEST_LOOP_f_L): New macro.
36927 (llrint_test_data): New variable.
36928 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
36929 (llrint_tonearest_test_data): New variable.
36930 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
36931 (llrint_towardzero_test_data): New variable.
36932 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
36933 (llrint_downward_test_data): New variable.
36934 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
36935 (llrint_upward_test_data): New variable.
36936 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
36937 (llround_test_data): New variable.
36938 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
36939
36940 2013-05-13 Peter Collingbourne <pcc@google.com>
36941
36942 * math/atest-exp2.c (get_log2): Remove const attribute.
36943
36944 2013-05-15 Joseph Myers <joseph@codesourcery.com>
36945
36946 * math/libm-test.inc (struct test_f_l_data): New type.
36947 (RUN_TEST_LOOP_f_l): New macro.
36948 (lrint_test_data): New variable.
36949 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
36950 (lrint_tonearest_test_data): New variable.
36951 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
36952 (lrint_towardzero_test_data): New variable.
36953 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
36954 (lrint_downward_test_data): New variable.
36955 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
36956 (lrint_upward_test_data): New variable.
36957 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
36958 (lround_test_data): New variable.
36959 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
36960
36961 2013-05-15 Peter Collingbourne <pcc@google.com>
36962
36963 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
36964 (EXTRACT_WORDS64) Use where appropriate.
36965 (INSERT_WORDS64) Likewise.
36966
36967 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
36968 constraints with x constraints.
36969 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
36970
36971 * malloc/obstack.c (_obstack_compat): Add initializer.
36972
36973 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
36974
36975 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
36976 si_trapno and add si_addr_lsb to _sifields.sigfault.
36977 (si_trapno): Remove macro.
36978 (si_addr_lsb): Define new macro.
36979 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
36980
36981 2013-05-15 Joseph Myers <joseph@codesourcery.com>
36982
36983 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
36984 instead of TEST_f_l.
36985 (llrint_test_tonearest): Likewise.
36986 (llrint_test_towardzero): Likewise.
36987 (llrint_test_downward): Likewise.
36988 (llrint_test_upward): Likewise.
36989 (llround_test): Likewise.
36990
36991 * math/libm-test.inc (struct test_f_i_data): Add comment.
36992 (RUN_TEST_LOOP_f_b): New macro.
36993 (RUN_TEST_LOOP_f_b_tg): Likewise.
36994 (finite_test_data): New variable.
36995 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
36996 (isfinite_test_data): New variable.
36997 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36998 (isinf_test_data): New variable.
36999 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37000 (isnan_test_data): New variable.
37001 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37002 (isnormal_test_data): New variable.
37003 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37004 (issignaling_test_data): New variable.
37005 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37006 (signbit_test_data): New variable.
37007 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37008
37009 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
37010 with INVALID_EXCEPTION.
37011 (acosh_test_data): Likewise.
37012 (asin_test_data): Likewise.
37013 (atanh_test_data): Likewise.
37014 (fmod_test_data): Likewise.
37015 (log_test_data): Likewise.
37016 (log10_test_data): Likewise.
37017 (log2_test_data): Likewise.
37018 (pow_test_data): Likewise.
37019 (sqrt_test_data): Likewise.
37020 (y0_test_data): Likewise.
37021 (y1_test_data): Likewise.
37022 (yn_test_data): Likewise.
37023
37024 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
37025 function contents.
37026
37027 * math/libm-test.inc (struct test_ff_i_data): New type.
37028 (RUN_TEST_LOOP_ff_i_tg): New macro.
37029 (isgreater_test_data): New variable.
37030 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37031 (isgreaterequal_test_data): New variable.
37032 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37033 (isless_test_data): New variable.
37034 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37035 (islessequal_test_data): New variable.
37036 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37037 (islessgreater_test_data): New variable.
37038 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37039 (isunordered_test_data): New variable.
37040 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37041
37042 2013-05-14 David S. Miller <davem@davemloft.net>
37043
37044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37045
37046 2013-05-14 Joseph Myers <joseph@codesourcery.com>
37047
37048 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
37049
37050 * math/libm-test.inc (struct test_fF_f1_data): Change type of
37051 extra_test to int.
37052 (struct test_f_i_data): Change type of max_ulp to int.
37053
37054 * math/libm-test.inc (test_ffI_f1_data): New type.
37055 (RUN_TEST_LOOP_ffI_f1): New macro.
37056 (remquo_test_data): New variable.
37057 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
37058
37059 * setjmp/tst-setjmp-fp.c: New file.
37060 * setjmp/Makefile (tests): Add tst-setjmp-fp.
37061 (link-libm): New variable.
37062 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
37063
37064 * math/libm-test.inc (struct test_f_i_data): New type.
37065 (RUN_TEST_LOOP_f_i): New macro.
37066 (RUN_TEST_LOOP_f_i_tg): Likewise.
37067 (fpclassify_test_data): New variable.
37068 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
37069 (ilogb_test_data): New variable.
37070 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
37071
37072 * math/libm-test.inc (scalbln_test): Correct function name in END
37073 call.
37074
37075 * math/libm-test.inc (struct test_f_f1_data): Add comment.
37076 (RUN_TEST_LOOP_fI_f1): New macro.
37077 (frexp_test_data): New variable.
37078 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
37079
37080 * math/libm-test.inc (struct test_fF_f1_data): New type.
37081 (RUN_TEST_LOOP_fF_f1): New macro.
37082 (modf_test_data): New variable.
37083 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
37084
37085 * math/libm-test.inc (struct test_f_f1_data): New type.
37086 (RUN_TEST_LOOP_f_f1): New macro.
37087 (gamma_test_data): New variable.
37088 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
37089 (lgamma_test_data): New variable.
37090 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
37091
37092 2013-05-13 Carlos O'Donell <carlos@redhat.com>
37093
37094 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
37095 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
37096 (main): Comment "tls" pseudo-hwcap.
37097
37098 2013-05-13 Joseph Myers <joseph@codesourcery.com>
37099
37100 * math/libm-test.inc (struct test_fl_f_data): New type.
37101 (RUN_TEST_LOOP_fl_f): New variable.
37102 (scalbln_test_data): New variable.
37103 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
37104
37105 * math/libm-test.inc (struct test_fi_f_data): New type.
37106 (RUN_TEST_LOOP_fi_f): New macro.
37107 (ldexp_test_data): New variable.
37108 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
37109 (scalbn_test_data): New variable.
37110 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
37111
37112 * math/libm-test.inc (struct test_c_f_data): New type.
37113 (RUN_TEST_LOOP_c_f): New macro.
37114 (cabs_test_data): New variable.
37115 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
37116 (carg_test_data): New variable.
37117 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
37118 (cimag_test_data): New variable.
37119 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
37120 (creal_test_data): New variable.
37121 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
37122
37123 * math/libm-test.inc (struct test_if_f_data): New type.
37124 (RUN_TEST_LOOP_if_f): New macro.
37125 (jn_test_data): New variable.
37126 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
37127 (yn_test_data): New variable.
37128 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
37129
37130 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
37131
37132 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37133
37134 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
37135 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
37136
37137 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
37138
37139 * benchtests/Makefile (CPPFLAGS-nonlib): Add
37140 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
37141 (bench-deps): Add bench-timing.h.
37142 * benchtests-bench-skeleton.c: Include bench-timing.h.
37143 (main): Use TIMING_* macros instead of clock_gettime.
37144 * benchtests/bench-timing.h: New file.
37145
37146 [BZ #14582]
37147 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
37148 Renamed from _LIB_VERSION.
37149 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
37150
37151 2013-05-12 Joseph Myers <joseph@codesourcery.com>
37152
37153 * math/libm-test.inc (struct test_fff_f_data): New type.
37154 (RUN_TEST_LOOP_fff_f): New macro.
37155 (fma_test_data): New variable.
37156 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
37157 (fma_towardzero_test_data): New variable.
37158 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
37159 (fma_downward_test_data): New variable.
37160 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
37161 (fma_upward_test_data): New variable.
37162 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
37163
37164 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
37165 (struct test_c_c_data): New type.
37166 (RUN_TEST_LOOP_c_c): New macro.
37167 (cacos_test_data): New variable.
37168 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
37169 (cacosh_test_data): New variable.
37170 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
37171 (casin_test_data): New variable.
37172 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
37173 (casinh_test_data): New variable.
37174 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
37175 (catan_test_data): New variable.
37176 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
37177 (catanh_test_data): New variable.
37178 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
37179 (ccos_test_data): New variable.
37180 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
37181 (ccosh_test_data): New variable.
37182 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
37183 (cexp_test_data): New variable.
37184 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
37185 (clog_test_data): New variable.
37186 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
37187 (clog10_test_data): New variable.
37188 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
37189 (conj_test_data): New variable.
37190 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
37191 (cproj_test_data): New variable.
37192 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
37193 (csin_test_data): New variable.
37194 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
37195 (csinh_test_data): New variable.
37196 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
37197 (csqrt_test_data): New variable.
37198 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
37199 (ctan_test_data): New variable.
37200 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
37201 (ctan_tonearest_test_data): New variable.
37202 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
37203 (ctan_towardzero_test_data): New variable.
37204 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
37205 (ctan_downward_test_data): New variable.
37206 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
37207 (ctan_upward_test_data): New variable.
37208 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
37209 (ctanh_test_data): New variable.
37210 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
37211 (ctanh_tonearest_test_data): New variable.
37212 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
37213 (ctanh_towardzero_test_data): New variable.
37214 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
37215 (ctanh_downward_test_data): New variable.
37216 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
37217 (ctanh_upward_test_data): New variable.
37218 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
37219 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
37220 of BUILD_COMPLEX.
37221
37222 * math/libm-test.inc (struct test_ff_f_data): New type.
37223 (struct test_ff_f_data_nexttoward): Likewise.
37224 (RUN_TEST_LOOP_2_f): New macro.
37225 (RUN_TEST_LOOP_ff_f): Likewise.
37226 (atan2_test_data): New variable.
37227 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
37228 (copysign_test_data): New variable.
37229 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
37230 (fdim_test_data): New variable.
37231 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
37232 (fmax_test_data): New variable.
37233 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
37234 (fmin_test_data): New variable.
37235 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
37236 (fmod_test_data): New variable.
37237 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
37238 (hypot_test_data): New variable.
37239 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
37240 (nextafter_test_data): New variable.
37241 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
37242 (nexttoward_test_data): New variable.
37243 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
37244 (pow_test_data): New variable.
37245 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
37246 (pow_tonearest_test_data): New variable.
37247 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
37248 (pow_towardzero_test_data): New variable.
37249 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
37250 (pow_downward_test_data): New variable.
37251 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
37252 (pow_upward_test_data): New variable.
37253 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
37254 (remainder_test_data): New variable.
37255 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
37256 (scalb_test_data): New variable.
37257 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
37258 * sysdeps/i386/fpu/libm-test-ulps: Update.
37259
37260 2013-05-11 Joseph Myers <joseph@codesourcery.com>
37261
37262 * math/libm-test.inc (fma_test): Use max_value instead of local
37263 variable fltmax.
37264 (nextafter_test): Likewise.
37265
37266 * math/libm-test.inc (acos_towardzero_test_data): New variable.
37267 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37268 (acos_downward_test_data): New variable.
37269 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37270 (acos_upward_test_data): New variable.
37271 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37272 (acosh_test_data): New variable.
37273 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
37274 (asin_test_data): New variable.
37275 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
37276 (asin_tonearest_test_data): New variable.
37277 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37278 (asin_towardzero_test_data): New variable.
37279 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37280 (asin_downward_test_data): New variable.
37281 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37282 (asin_upward_test_data): New variable.
37283 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37284 (asinh_test_data): New variable.
37285 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
37286 (atan_test_data): New variable.
37287 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
37288 (atanh_test_data): New variable.
37289 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
37290 (cbrt_test_data): New variable.
37291 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
37292 (ceil_test_data): New variable.
37293 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
37294 (cos_test_data): New variable.
37295 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
37296 (cos_tonearest_test_data): New variable.
37297 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37298 (cos_towardzero_test_data): New variable.
37299 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37300 (cos_downward_test_data): New variable.
37301 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37302 (cos_upward_test_data): New variable.
37303 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37304 (cosh_test_data): New variable.
37305 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
37306 (cosh_tonearest_test_data): New variable.
37307 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37308 (cosh_towardzero_test_data): New variable.
37309 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37310 (cosh_downward_test_data): New variable.
37311 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37312 (cosh_upward_test_data): New variable.
37313 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37314 (erf_test_data): New variable.
37315 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
37316 (erfc_test_data): New variable.
37317 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
37318 (exp_test_data): New variable.
37319 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
37320 (exp_tonearest_test_data): New variable.
37321 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37322 (exp_towardzero_test_data): New variable.
37323 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37324 (exp_downward_test_data): New variable.
37325 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37326 (exp_upward_test_data): New variable.
37327 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37328 (exp10_test_data): New variable.
37329 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
37330 (exp2_test_data): New variable.
37331 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
37332 (expm1_test_data): New variable.
37333 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
37334 (fabs_test_data): New variable.
37335 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
37336 (floor_test_data): New variable.
37337 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
37338 (j0_test_data): New variable.
37339 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
37340 (j1_test_data): New variable.
37341 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
37342 (log_test_data): New variable.
37343 (log_test): Run tests with RUN_TEST_LOOP_f_f.
37344 (log10_test_data): New variable.
37345 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
37346 (log1p_test_data): New variable.
37347 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
37348 (log2_test_data): New variable.
37349 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
37350 (logb_test_data): New variable.
37351 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
37352 (logb_downward_test_data): New variable.
37353 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37354 (nearbyint_test_data): New variable.
37355 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
37356 (rint_test_data): New variable.
37357 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
37358 (rint_tonearest_test_data): New variable.
37359 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37360 (rint_towardzero_test_data): New variable.
37361 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37362 (rint_downward_test_data): New variable.
37363 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37364 (rint_upward_test_data): New variable.
37365 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37366 (round_test_data): New variable.
37367 (round_test): Run tests with RUN_TEST_LOOP_f_f.
37368 (sin_test_data): New variable.
37369 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
37370 (sin_tonearest_test_data): New variable.
37371 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37372 (sin_towardzero_test_data): New variable.
37373 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37374 (sin_downward_test_data): New variable.
37375 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37376 (sin_upward_test_data): New variable.
37377 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37378 (sinh_test_data): New variable.
37379 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
37380 (sinh_tonearest_test_data): New variable.
37381 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37382 (sinh_towardzero_test_data): New variable.
37383 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37384 (sinh_downward_test_data): New variable.
37385 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37386 (sinh_upward_test_data): New variable.
37387 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37388 (sqrt_test_data): New variable.
37389 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
37390 (tan_test_data): New variable.
37391 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
37392 (tan_tonearest_test_data): New variable.
37393 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37394 (tan_towardzero_test_data): New variable.
37395 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37396 (tan_downward_test_data): New variable.
37397 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37398 (tan_upward_test_data): New variable.
37399 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37400 (tanh_test_data): New variable.
37401 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
37402 (tgamma_test_data): New variable.
37403 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
37404 (trunc_test_data): New variable.
37405 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
37406 (y0_test_data): New variable.
37407 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
37408 (y1_test_data): New variable.
37409 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
37410 (significand_test_data): New variable.
37411 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
37412
37413 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
37414
37415 [BZ #12387]
37416 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
37417
37418 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
37419
37420 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
37421
37422 2013-05-10 Andreas Jaeger <aj@suse.de>
37423
37424 [BZ #15448]
37425 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
37426 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
37427
37428 2013-05-10 Joseph Myers <joseph@codesourcery.com>
37429
37430 * math/gen-libm-test.pl (adjust_arg): New function.
37431 (special_functions): Handle generating output in both functions
37432 and arrays.
37433 (parse_args): Likewise.
37434 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
37435 $in_func argument to parse_args.
37436 * math/libm-test.inc (struct test_f_f_data): New type.
37437 (IF_ROUND_INIT_): New macro.
37438 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
37439 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
37440 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
37441 (IF_ROUND_INIT_FE_UPWARD): Likewise.
37442 (ROUND_RESTORE_): Likewise.
37443 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
37444 (ROUND_RESTORE_FE_TONEAREST): Likewise.
37445 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
37446 (ROUND_RESTORE_FE_UPWARD): Likewise.
37447 (RUN_TEST_LOOP_f_f): New macro.
37448 (acos_test_data): New variable.
37449 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
37450 (acos_tonearest_test_data): New variable.
37451 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37452
37453 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37454
37455 * benchtests/bench-skeleton.c (startup): Fix coding style.
37456
37457 2013-05-10 Joseph Myers <joseph@codesourcery.com>
37458
37459 [BZ #6809]
37460 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
37461 negative infinity argument.
37462 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
37463 negative infinity argument.
37464 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
37465 negative infinity argument.
37466 * math/libm-test.inc (tgamma_test): Expect errno to be set for
37467 domain errors.
37468
37469 2013-05-10 Florian Weimer <fweimer@redhat.com>
37470
37471 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
37472 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
37473 * iconv/iconv_prog.c (main): Likewise.
37474 * locale/programs/charmap-dir.c (charmap_readdir)
37475 (fopen_uncompressed): Likewise.
37476 * locale/programs/locfile.c (siblings_uncached)
37477 (write_locale_data): Use lstat64 instead of lstat.
37478 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
37479 stat.
37480
37481 2013-05-10 Andreas Jaeger <aj@suse.de>
37482
37483 [BZ #15395]
37484 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
37485 localization.
37486 Include <locale.h>.
37487
37488 2013-05-09 Carlos O'Donell <carlos@redhat.com>
37489
37490 * elf/dl-close.c (_dl_close_worker): Add comments.
37491
37492 2013-05-09 Joseph Myers <joseph@codesourcery.com>
37493
37494 [BZ #15359]
37495 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
37496 high part of pi/2.
37497 (__ieee754_rem_pio2l): Update comments.
37498
37499 [BZ #15429]
37500 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
37501 high part of pi/2.
37502 (__ieee754_rem_pio2l): Update comments.
37503
37504 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
37505 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
37506
37507 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
37508 M_PI_4l.
37509
37510 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
37511 (M_PI_34_LOG10El): Likewise.
37512 (M_PI2_LOG10El): Likewise.
37513 (M_PI4_LOG10El): Likewise.
37514 (M_PI_LOG10El): Likewise.
37515
37516 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37517
37518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37519
37520 2013-05-08 Joseph Myers <joseph@codesourcery.com>
37521
37522 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
37523 (MINUS_ZERO_INIT): Likewise.
37524 (PLUS_INFTY_INIT): Likewise.
37525 (MINUS_INFTY_INIT): Likewise.
37526 (QNAN_VALUE_INIT): Likewise.
37527 (MAX_VALUE_INIT): Likewise.
37528 (MIN_VALUE_INIT): Likewise.
37529 (MIN_SUBNORM_VALUE_INIT): Likewise.
37530 (plus_zero): Initialize with PLUS_ZERO_INIT.
37531 (minus_zero): Initialize with MINUS_ZERO_INIT.
37532 (plus_infty): Initialize with PLUS_INFTY_INIT.
37533 (minus_infty): Initialize with MINUS_INFTY_INIT.
37534 (qnan_value): Initialize with QNAN_VALUE_INIT.
37535 (max_value): Initialize with MAX_VALUE_INIT.
37536 (min_value): Initialize with MIN_VALUE_INIT.
37537 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
37538
37539 * math/libm-test.inc (RUN_TEST_if_f): New macro.
37540 (jn_test): Use TEST_if_f instead of TEST_ff_f.
37541 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
37542 (yn_test): Use TEST_if_f instead of TEST_ff_f.
37543
37544 * math/libm-test.inc (RUN_TEST_f_f): New macro.
37545 (RUN_TEST_2_f): Likewise.
37546 (RUN_TEST_ff_f): Likewise.
37547 (RUN_TEST_fi_f): Likewise.
37548 (RUN_TEST_fl_f): Likewise.
37549 (RUN_TEST_fff_f): Likewise.
37550 (RUN_TEST_c_f): Likewise.
37551 (RUN_TEST_f_f1): Likewise.
37552 (RUN_TEST_fF_f1): Likewise.
37553 (RUN_TEST_fI_f1): Likewise.
37554 (RUN_TEST_ffI_f1): Likewise.
37555 (RUN_TEST_c_c): Likewise.
37556 (RUN_TEST_cc_c): Likewise.
37557 (RUN_TEST_f_i): Likewise.
37558 (RUN_TEST_f_i_tg): Likewise.
37559 (RUN_TEST_ff_i_tg): Likewise.
37560 (RUN_TEST_f_b): Likewise.
37561 (RUN_TEST_f_b_tg): Likewise.
37562 (RUN_TEST_f_l): Likewise.
37563 (RUN_TEST_f_L): Likewise.
37564 (RUN_TEST_sincos): Likewise.
37565 * math/gen-libm-test.pl (new_test): Take new argument to indicate
37566 whether to show exceptions. Do not include ");\n" in return
37567 value.
37568 (special_functions): Output call to RUN_TEST_sincos instead of
37569 check_float calls. Update calls to new_test.
37570 (parse_args): Output call to single RUN_TEST_* macro instead of
37571 check_* calls and other assignments. Update calls to new_test.
37572
37573 [BZ #2546]
37574 [BZ #2560]
37575 [BZ #5159]
37576 [BZ #15426]
37577 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
37578 input to result for tgamma overflow.
37579 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
37580 (gamma_coeff): New variable.
37581 (NCOEFF): New macro.
37582 (gamma_positive): New function.
37583 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
37584 underflow here. Use gamma_positive instead of exp (lgamma) for
37585 other arguments.
37586 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
37587 (gamma_coeff): New variable.
37588 (NCOEFF): New macro.
37589 (gammaf_positive): New function.
37590 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
37591 underflow here. Use gamma_positive instead of exp (lgamma) for
37592 other arguments.
37593 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
37594 (gamma_coeff): New variable.
37595 (NCOEFF): New macro.
37596 (gammal_positive): New function.
37597 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
37598 underflow here. Use gamma_positive instead of exp (lgamma) for
37599 other arguments.
37600 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
37601 (gamma_coeff): New variable.
37602 (NCOEFF): New macro.
37603 (gammal_positive): New function.
37604 (__ieee754_gammal_r): Handle positive infinity, overflow and
37605 underflow here. Handle NaN the same as positive infinity. Remove
37606 check x < 0xffffffff for negative integers. Use gamma_positive
37607 instead of exp (lgamma) for other arguments.
37608 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
37609 (gamma_coeff): New variable.
37610 (NCOEFF): New macro.
37611 (gammal_positive): New function.
37612 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
37613 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
37614 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
37615 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
37616 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
37617 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
37618 * sysdeps/generic/math_private.h (__gamma_productf): New
37619 prototype.
37620 (__gamma_product): Likewise.
37621 (__gamma_productl): Likewise.
37622 * math/Makefile (libm-calls): Add gamma_product.
37623 * math/libm-test.inc (tgamma_test): Add more tests.
37624 * sysdeps/i386/fpu/libm-test-ulps: Update.
37625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37626
37627 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
37628
37629 * benchtests/bench-skeleton.c (main): Preheat CPU.
37630
37631 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
37632
37633 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
37634
37635 2013-05-07 Roland McGrath <roland@hack.frob.com>
37636
37637 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
37638 and _dl_skip_args_internal.
37639
37640 2013-05-07 Carlos O'Donell <carlos@redhat.com>
37641
37642 * manual/message.texi (Message Translation): Talk about users.
37643 Message to key mapping impacts design.
37644
37645 2013-05-06 Roland McGrath <roland@hack.frob.com>
37646
37647 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
37648
37649 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
37650
37651 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
37652 * sysdeps/wordsize-64/glob64.c: ... here.
37653
37654 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
37655 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
37656 New macros.
37657
37658 * debug/getlogin_r_chk.c: Moved to ...
37659 * login/getlogin_r_chk.c: ... here.
37660 * debug/Makefile (routines): Move getlogin_r_chk to ...
37661 * login/Makefile (routines): ... here.
37662 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
37663 * login/Versions (libc: GLIBC_2.4): ... here.
37664
37665 * io/poll.c (__poll): Renamed from poll.
37666 Add libc_hidden_def.
37667 (poll): Define as weak alias.
37668
37669 * debug/ptsname_r_chk.c: Moved to ...
37670 * login/ptsname_r_chk.c: ... here.
37671 * debug/Makefile (routines): Move ptsname_r_chk to ...
37672 * login/Makefile (routines): ... here.
37673 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
37674 * login/Versions (libc: GLIBC_2.4): ... here.
37675
37676 * posix/getlogin.c: Moved to ...
37677 * login/getlogin.c: ... here.
37678 * posix/getlogin_r.c: Moved to ...
37679 * login/getlogin_r.c: ... here.
37680 * posix/getlogin_r.c: Moved to ...
37681 * login/getlogin_r.c: ... here.
37682 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
37683 * login/Makefile (routines): ... here.
37684 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
37685 * login/Versions (libc: GLIBC_2.0): ... here.
37686
37687 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
37688 (setrlimit): Define as weak alias.
37689
37690 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
37691 Call __ names for open, ftruncate, and close.
37692 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
37693 (truncate): Define as weak alias.
37694
37695 2013-05-06 Joseph Myers <joseph@codesourcery.com>
37696
37697 * math/gen-libm-test.pl (parse_args): Initialize x before each
37698 test of frexp, modf and remquo.
37699
37700 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
37701 test signgam value.
37702
37703 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37704
37705 [BZ #15418]
37706 [BZ #15419]
37707 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
37708 internal tests.
37709 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37710
37711 2013-05-06 Roland McGrath <roland@hack.frob.com>
37712
37713 * elf/dl-writev.h: New file.
37714 * elf/dl-misc.c: Include it.
37715 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
37716 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
37717
37718 2013-05-04 Joseph Myers <joseph@codesourcery.com>
37719
37720 * math/libm-test.inc (noXFails): Remove variable.
37721 (noXPasses): Likewise.
37722 (BUILD_COMPLEX_INT): Remove macro.
37723 (print_screen): Remove xfail argument.
37724 (print_screen_max_error): Likewise.
37725 (update_stats): Likewise.
37726 (print_max_error): Likewise. Update calls to other affected
37727 functions.
37728 (print_complex_max_error): Likewise.
37729 (test_single_exception): Update calls to print_screen.
37730 (test_single_errno): Likewise.
37731 (check_float_internal): Remove xfail argument. Update calls to
37732 other affected functions.
37733 (check_float): Likewise.
37734 (check_complex): Likewise.
37735 (check_int): Likewise.
37736 (check_long): Likewise.
37737 (check_bool): Likewise.
37738 (check_longlong): Likewise.
37739 (main): Don't print noXFails and noXPasses.
37740 * math/gen-libm-test.pl (top level): Don't mention expected
37741 failure handling in comment.
37742 (new_test): Don't handle expected failures.
37743 (parse_args): Don't mention expected failure handling in comment.
37744 (generate_testfile): Don't handle expected failures.
37745 (parse_ulps): Likewise.
37746 (print_ulps_file): Likewise.
37747 (get_failure): Remove function.
37748 (output_test): Don't handle expected failures.
37749 * make/README.libm-test: Don't mention expected failure handling.
37750
37751 * math/libm-test.inc (plus_zero): Make const. Add initializer.
37752 (minus_zero): Likewise.
37753 (plus_infty): Likewise.
37754 (minus_infty): Likewise.
37755 (qnan_value): Likewise.
37756 (max_value): Likewise.
37757 (min_value): Likewise.
37758 (min_subnorm_value): Likewise.
37759 (initialize): Do not initialize those variables dynamically.
37760
37761 2013-05-03 Roland McGrath <roland@hack.frob.com>
37762
37763 * io/open.c (__open_2): Moved to ...
37764 * io/open_2.c: ... this new file.
37765 * io/open64.c (__open64_2): Moved to ...
37766 * io/open64_2.c: ... this new file.
37767 * io/openat.c (__openat_2): Moved to ...
37768 * io/openat_2.c: ... this new file.
37769 * io/openat64.c (__openat64_2): Moved to ...
37770 * io/openat64_2.c: ... this new file.
37771 * io/Makefile (routines): Add them.
37772 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
37773 * sysdeps/unix/sysv/linux/open_2.c: File removed.
37774 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
37775 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
37776 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
37777 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
37778 (__openat64): Add hidden_ver.
37779 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
37780 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
37781
37782 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
37783 Separately conditionalize setting of GLRO(dl_sysinfo) so
37784 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
37785 as well, but the actual setting is only under [NEED_DL_SYSINFO].
37786
37787 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37788
37789 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
37790 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
37791 definition.
37792 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
37793 * sysdeps/unix/sysv/linux/powerpc/init-first.c
37794 (_libc_vdso_platform_setup): Add __vdso_time initialization.
37795 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
37796 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
37797
37798 2013-05-03 Joseph Myers <joseph@codesourcery.com>
37799
37800 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
37801 test signgam value.
37802
37803 * math/libm-test.inc (hypot_test): Do not use
37804 IGNORE_ZERO_INF_SIGN.
37805
37806 2013-05-03 Andreas Jaeger <aj@suse.de>
37807
37808 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
37809 Linux 3.9.
37810 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
37811 (PF_MAX): Adjust for VSOCK change.
37812
37813 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37814
37815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37816
37817 2013-05-02 Carlos O'Donell <carlos@redhat.com>
37818
37819 [BZ #15264]
37820 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
37821 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
37822 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
37823
37824 2013-05-02 David S. Miller <davem@davemloft.net>
37825
37826 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37827
37828 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
37829
37830 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
37831
37832 2013-05-01 Roland McGrath <roland@hack.frob.com>
37833
37834 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
37835
37836 2013-05-01 Richard Smith <richard@metafoo.co.uk>
37837
37838 [BZ #14952]
37839 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
37840 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
37841 Use __attribute__ ((__gnu_inline__)).
37842 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
37843 Don't use __attribute__ ((__gnu_inline__)).
37844
37845 2013-05-01 Joseph Myers <joseph@codesourcery.com>
37846
37847 [BZ #15423]
37848 * math/s_catan.c (__catan): Handle small real or imaginary part of
37849 input specially to avoid spurious underflow.
37850 * math/s_catanf.c (__catanf): Likewise.
37851 * math/s_catanh.c (__catanh): Likewise.
37852 * math/s_catanhf.c (__catanhf): Likewise.
37853 * math/s_catanhl.c (__catanhl): Likewise.
37854 * math/s_catanl.c (__catanl): Likewise.
37855 * math/libm-test.inc (catan_test): Add more tests.
37856 (catanh_test): Likewise.
37857 * sysdeps/i386/fpu/libm-test-ulps: Update.
37858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37859
37860 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37861
37862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37863
37864 2013-04-30 Joseph Myers <joseph@codesourcery.com>
37865
37866 [BZ #15416]
37867 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
37868 accurately for denominator in atan2.
37869 * math/s_catanf.c (__catanf): Likewise.
37870 * math/s_catanh.c (__catanh): Likewise.
37871 * math/s_catanhf.c (__catanhf): Likewise.
37872 * math/s_catanhl.c (__catanhl): Likewise.
37873 * math/s_catanl.c (__catanl): Likewise.
37874 * math/libm-test.inc (catan_test): Add more tests.
37875 (catanh_test): Likewise.
37876 * sysdeps/i386/fpu/libm-test-ulps: Update.
37877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37878
37879 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37880
37881 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
37882
37883 * benchtests/Makefile (bench): Remove slow benchmarks.
37884 * benchtests/atan-inputs: Add slow benchmark inputs.
37885 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
37886 (BENCH_FUNC): Accept variant offset.
37887 (VARIANT): Define.
37888 * benchtests/bench-skeleton.c (main): Run benchmark for each
37889 variant.
37890 * benchtests/cos-inputs: Add slow benchmark inputs.
37891 * benchtests/exp-inputs: Likewise.
37892 * benchtests/pow-inputs: Likewise.
37893 * benchtests/sin-inputs: Likewise.
37894 * benchtests/slowatan-inputs: Remove.
37895 * benchtests/slowatan.c: Remove.
37896 * benchtests/slowcos-inputs: Remove.
37897 * benchtests/slowcos.c: Remove.
37898 * benchtests/slowexp-inputs: Remove.
37899 * benchtests/slowexp.c: Remove.
37900 * benchtests/slowpow-inputs: Remove.
37901 * benchtests/slowpow.c: Remove.
37902 * benchtests/slowsin-inputs: Remove.
37903 * benchtests/slowsin.c: Remove.
37904 * benchtests/slowtan-inputs: Remove.
37905 * benchtests/slowtan.c: Remove.
37906 * benchtests/tan-inputs: Add slow benchmark inputs.
37907 * scripts/bench.pl: Parse comments and directives.
37908
37909 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
37910 in CPPFLAGS.
37911 ($(objpfx)bench-%.c): Remove *-ITER.
37912 * benchtests/bench-modf.c: Remove definition of ITER.
37913 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
37914 (main): Loop for DURATION seconds instead of fixed number of
37915 iterations.
37916 * scripts/bench.pl: Don't expect iterations in parameters.
37917
37918 2013-04-29 Roland McGrath <roland@hack.frob.com>
37919
37920 * io/fchdir.c (__fchdir): Renamed from fchdir.
37921 (fchdir): Define as weak alias.
37922
37923 2013-04-29 Joseph Myers <joseph@codesourcery.com>
37924
37925 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
37926 (ERRNO_EDOM): Likewise.
37927 (ERRNO_ERANGE): Likewise.
37928 (noErrnoTests): New variable.
37929 (init_max_error): Set errno to 0.
37930 (test_single_errno): New function.
37931 (test_errno): Likewise.
37932 (check_float_internal): Call test_errno. Set errno to 0.
37933 (check_complex): Refer to errno tests in comment.
37934 (check_int): Call test_errno. Set errno to 0.
37935 (check_long): Likewise.
37936 (check_bool): Likewise.
37937 (check_longlong): Likewise.
37938 (cos_test): Use ERRNO_* flags for errno tests instead of
37939 check_int.
37940 (expm1_test): Likewise.
37941 (fmod_test): Likewise.
37942 (ilogb_test): Likewise.
37943 (lgamma_test): Likewise.
37944 (pow_test): Likewise.
37945 (remainder_test): Likewise.
37946 (sin_test): Likewise.
37947 (tan_test): Likewise.
37948 (yn_test): Likewise.
37949 (initialize): Set errno to 0.
37950 (main): Print number of errno tests.
37951 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
37952
37953 2013-04-29 Andreas Jaeger <aj@suse.de>
37954
37955 [BZ #15084]
37956 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
37957 and RES_USEVC.
37958
37959 [BZ #15085]
37960 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
37961 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
37962 unimplemented.
37963
37964 [BZ #15380]
37965 * stdlib/random.c (__initstate): Return NULL if
37966 __initstate fails.
37967
37968 [BZ #15086]
37969 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
37970 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
37971 RES_SNGLKUPREOP.
37972
37973 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37974
37975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37976
37977 2013-04-29 Joseph Myers <joseph@codesourcery.com>
37978
37979 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
37980 of individual tests.
37981 (casin_test): Likewise.
37982 (casinh_test): Likewise.
37983
37984 2013-04-27 Joseph Myers <joseph@codesourcery.com>
37985
37986 [BZ #15409]
37987 * math/s_catan.c (__catan): Handle arguments with large real or
37988 imaginary part separately without squaring.
37989 * math/s_catanf.c (__catanf): Likewise.
37990 * math/s_catanh.c (__catanh): Likewise.
37991 * math/s_catanhf.c (__catanhf): Likewise.
37992 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37993 and redefine.
37994 (__catanhl): Handle arguments with large real or imaginary part
37995 separately without squaring.
37996 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37997 and redefine.
37998 (__catanl): Handle arguments with large real or imaginary part
37999 separately without squaring.
38000 * math/libm-test.inc (catan_test): Add more tests.
38001 (catanh_test): Likewise.
38002 * sysdeps/i386/fpu/libm-test-ulps: Update.
38003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38004
38005 2013-04-27 Andreas Jaeger <aj@suse.de>
38006
38007 [BZ #15007]
38008 * stdlib/stdlib.h: Update guards for qecvt.
38009 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
38010 <stdlib.h>.
38011
38012 2013-04-27 Allan McRae <allan@archlinux.org>
38013
38014 * sysdeps/i386/fpu/libm-test-ulps: Update.
38015
38016 2013-04-26 Joseph Myers <joseph@codesourcery.com>
38017
38018 [BZ #15406]
38019 * math/s_catan.c: Include <float.h>.
38020 (__catan): Ensure underflow exception occurs for underflowed
38021 result.
38022 * math/s_catanf.c: Include <float.h>.
38023 (__catanf): Ensure underflow exception occurs for underflowed
38024 result.
38025 * math/s_catanh.c: Include <float.h>.
38026 (__catanh): Ensure underflow exception occurs for underflowed
38027 result.
38028 * math/s_catanhf.c: Include <float.h>.
38029 (__catanhf): Ensure underflow exception occurs for underflowed
38030 result.
38031 * math/s_catanhl.c: Include <float.h>.
38032 (__catanhl): Ensure underflow exception occurs for underflowed
38033 result.
38034 * math/s_catanl.c: Include <float.h>.
38035 (__catanl): Ensure underflow exception occurs for underflowed
38036 result.
38037 * math/libm-test.inc (catan_test): Add more tests.
38038 (catanh_test): Likewise.
38039
38040 [BZ #15405]
38041 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
38042 underflowed result.
38043 * math/s_ccoshf.c (__ccoshf): Likewise.
38044 * math/s_ccoshl.c (__ccoshl): Likewise.
38045 * math/s_csin.c (__csin): Likewise.
38046 * math/s_csinf.c (__csinf): Likewise.
38047 * math/s_csinh.c (__csinh): Likewise.
38048 * math/s_csinhf.c (__csinhf): Likewise.
38049 * math/s_csinhl.c (__csinhl): Likewise.
38050 * math/s_csinl.c (__csinl): Likewise.
38051 * math/libm-test.inc (ccos_test): Add more tests.
38052 (ccosh_test): Likewise.
38053 (csin_test): Likewise.
38054 (csinh_test): Likewise.
38055
38056 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38057
38058 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
38059 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
38060 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
38061 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
38062 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
38063 powerpc/power5+/fpu folders.
38064 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
38065
38066
38067 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38068
38069 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38070
38071 2013-04-25 Joseph Myers <joseph@codesourcery.com>
38072
38073 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
38074 additions to variable.
38075 [$(config-machine) = x86_64] (modules-names): Likewise.
38076 ($(objpfx)tst-audit3): Remove dependency.
38077 ($(objpfx)tst-audit3.out): Likewise.
38078 ($(objpfx)tst-audit4): Likewise.
38079 ($(objpfx)tst-audit4.out): Likewise.
38080 ($(objpfx)tst-audit5): Likewise.
38081 ($(objpfx)tst-audit5.out): Likewise.
38082 ($(objpfx)tst-audit6): Likewise.
38083 ($(objpfx)tst-audit6.out): Likewise.
38084 ($(objpfx)tst-audit7): Likewise.
38085 ($(objpfx)tst-audit7.out): Likewise.
38086 (tst-audit3-ENV): Remove variable.
38087 (tst-audit4-ENV): Likewise.
38088 (tst-audit5-ENV): Likewise.
38089 (tst-audit6-ENV): Likewise.
38090 (tst-audit7-ENV): Likewise.
38091 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
38092 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
38093 addition to variable.
38094 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
38095 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
38096 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
38097 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
38098 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
38099 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
38100 tst-audit3, tst-audit4 and tst-audit5.
38101 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
38102 tst-audit6 and tst-audit7.
38103 [$(subdir) = elf] (modules-names): Add audit modules for those
38104 tests.
38105 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
38106 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
38107 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
38108 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
38109 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
38110 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
38111 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
38112 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
38113 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
38114 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
38115 [$(subdir) = elf] (tst-audit3-ENV): New variable.
38116 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
38117 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
38118 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
38119 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
38120 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
38121 Likewise.
38122 [$(subdir) = elf && $(config-cflags-avx) = yes]
38123 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
38124 [$(subdir) = elf && $(config-cflags-avx) = yes]
38125 (CFLAGS-tst-auditmod4a.c): Likewise.
38126 [$(subdir) = elf && $(config-cflags-avx) = yes]
38127 (CFLAGS-tst-auditmod4b.c): Likewise.
38128 [$(subdir) = elf && $(config-cflags-avx) = yes]
38129 (CFLAGS-tst-auditmod6b.c): Likewise.
38130 [$(subdir) = elf && $(config-cflags-avx) = yes]
38131 (CFLAGS-tst-auditmod6c.c): Likewise.
38132 [$(subdir) = elf && $(config-cflags-avx) = yes]
38133 (CFLAGS-tst-auditmod7b.c): Likewise.
38134 * elf/tst-audit3.c: Move to ...
38135 * sysdeps/x86_64/tst-audit3.c: ... here.
38136 * elf/tst-audit4.c: Move to ...
38137 * sysdeps/x86_64/tst-audit4.c: ... here.
38138 * elf/tst-audit5.c: Move to ...
38139 * sysdeps/x86_64/tst-audit5.c: ... here.
38140 * elf/tst-audit6.c: Move to ...
38141 * sysdeps/x86_64/tst-audit6.c: ... here.
38142 * elf/tst-audit7.c: Move to ...
38143 * sysdeps/x86_64/tst-audit7.c: ... here.
38144 * elf/tst-auditmod3a.c: Move to ...
38145 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
38146 * elf/tst-auditmod3b.c: Move to ...
38147 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
38148 * elf/tst-auditmod4a.c: Move to ...
38149 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
38150 * elf/tst-auditmod4b.c: Move to ...
38151 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
38152 * elf/tst-auditmod5a.c: Move to ...
38153 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
38154 * elf/tst-auditmod5b.c: Move to ...
38155 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
38156 * elf/tst-auditmod6a.c: Move to ...
38157 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
38158 * elf/tst-auditmod6b.c: Move to ...
38159 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
38160 * elf/tst-auditmod6c.c: Move to ...
38161 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
38162 * elf/tst-auditmod7a.c: Move to ...
38163 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
38164 * elf/tst-auditmod7b.c: Move to ...
38165 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
38166
38167 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
38168
38169 [BZ #15366]
38170 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
38171 define unconditionally.
38172 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
38173 define unconditionally.
38174 (INT8_C, INT16_C, etc.): Likewise.
38175
38176 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
38177
38178 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
38179 __ehdr_start with hidden visibility.
38180
38181 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
38182
38183 2013-04-24 Carlos O'Donell <carlos@redhat.com>
38184
38185 * math/libm-test.inc (cos_test): Use accurate hex constants.
38186 (sincost_test): Likewise.
38187
38188 2013-04-24 Joseph Myers <joseph@codesourcery.com>
38189
38190 * math/libm-test.inc (catan_test): Add more tests.
38191 (catanh_test): Likewise.
38192
38193 * math/s_catanf.c (__catanf): Use suffixed floating-point
38194 constants.
38195 * math/s_catanhf.c (__catanhf): Likewise.
38196 * math/s_catanhl.c (__catanhl): Likewise.
38197 * math/s_catanl.c (__catanl): Likewise.
38198
38199 [BZ #15394]
38200 * math/s_catan.c (__catan): Calculate imaginary part of result
38201 with log1p not log unless computing log of number close to 0.
38202 * math/s_catanf.c (__catanf): Likewise.
38203 * math/s_catanl.c (__catanl): Likewise.
38204 * math/s_catanh.c (__catanh): Calculate real part of result with
38205 log1p not log unless computing log of number close to 0.
38206 * math/s_catanhf.c (__catanhf): Likewise.
38207 * math/s_catanhl.c (__catanhl): Likewise.
38208 * math/libm-test.inc (catan_test): Add more tests.
38209 (catanh_test): Likewise.
38210 * sysdeps/i386/fpu/libm-test-ulps: Update.
38211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38212
38213 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
38214
38215 * benchtests/Makefile: Mention files in which fast and slow
38216 paths of math functions are implemented.
38217
38218 2013-04-23 Roland McGrath <roland@hack.frob.com>
38219
38220 * sysdeps/posix/timespec_get.c: New file.
38221
38222 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38223
38224 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
38225 POWER.
38226 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
38227 for POWER.
38228 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
38229 powerpc/power5/fpu folders.
38230 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
38231 * benchtests/Makefile: Add modf testcase.
38232 * benchtests/bench-modf.c: New file: Benchmark test for mo
38233
38234 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
38235
38236 [BZ #14888]
38237 * time/Makefile (tests): Add tst-strptime-whitespace.
38238 * time/strptime_l.c (get_number): Use ISSPACE.
38239 (__strptime_internal): Likewise.
38240 * time/tst-strptime-whitespace.c: New test case.
38241
38242 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
38243
38244 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
38245 member.
38246 (_nss_files_init): Set it here.
38247
38248 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
38249
38250 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
38251 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
38252 unsigned.
38253
38254 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
38255
38256 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
38257
38258 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38259
38260 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
38261 size just once.
38262
38263 2013-04-21 David S. Miller <davem@davemloft.net>
38264
38265 * po/ru.po: Update Russion translation from translation project.
38266
38267 2013-04-17 Adam Conrad <adconrad@0c3.net>
38268
38269 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
38270 and setfsgid.
38271
38272 2013-04-17 Carlos O'Donell <carlos@redhat.com>
38273
38274 * configure.in: Remove i386 configure warning. Remove i386 case.
38275 * configure: Regenerate.
38276 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
38277 Add example to error message.
38278 * sysdeps/i386/configure: Regenerate.
38279
38280 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
38281
38282 * benchtests/Makefile (bench): Add cos, tan, slowcos and
38283 slowtan.
38284 * benchtests/cos-inputs: New file.
38285 * benchtests/slowcos-inputs: New file.
38286 * benchtests/slowcos.c: New file.
38287 * benchtests/slowtan-inputs: New file.
38288 * benchtests/slowtan.c: New file.
38289 * benchtests/tan-inputs: New file.
38290
38291 2013-04-16 Roland McGrath <roland@hack.frob.com>
38292
38293 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
38294 considered kosher.
38295
38296 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38297
38298 * benchtests/Makefile: Include cppflags-iterator.mk to add
38299 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
38300
38301 * Makefile.in (bench-clean): New target.
38302 * benchtests/Makefile (bench-clean): Likewise.
38303
38304 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
38305
38306 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
38307
38308 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
38309
38310 * stdio-common/tstdiomisc.c: Fix coding-style violation.
38311
38312 2013-04-15 Andreas Schwab <schwab@suse.de>
38313
38314 * nscd/grpcache.c (cache_addgr): Properly check for short write.
38315 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38316 * nscd/pwdcache.c (cache_addpw): Likewise.
38317 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
38318 more than recsize.
38319
38320 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38321
38322 * benchtests/Makefile (bench): Write all output to
38323 bench-out.tmp together.
38324
38325 2013-04-15 Andreas Schwab <schwab@suse.de>
38326
38327 * nscd/nscd.c (main): Don't fork again after closing files.
38328
38329 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38330
38331 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
38332
38333 * benchtests/Rules (bench-deps): Collect dependencies into a
38334 single variable. Add Makefile to dependencies.
38335 ($(objpfx)bench-%.c): Depend on bench-deps.
38336
38337 2013-04-12 Roland McGrath <roland@hack.frob.com>
38338 Xavier Roche <roche+kml2@exalead.com>
38339
38340 [BZ #15361]
38341 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
38342 just that it's a file descriptor.
38343 * manual/llio.texi (Synchronizing AIO Operations): Update description
38344 for EBADF error from aio_fsync.
38345
38346 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
38347
38348 * Rules (bench): Move target definition...
38349 * benchtests/Makefile: ... here.
38350
38351 2013-04-11 Carlos O'Donell <carlos@redhat.com>
38352
38353 * math/libm-test.inc (cos_test): Fix PI/2 test.
38354 (sincos_test): Likewise.
38355 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
38356 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
38357
38358 2013-04-11 Andreas Schwab <schwab@suse.de>
38359
38360 [BZ #13988]
38361 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
38362 accept exponent character only when digits were seen.
38363 * stdio-common/Makefile (tests): Add bug26.
38364 * stdio-common/bug26.c: New file.
38365
38366 [BZ #14293]
38367 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
38368 non-freeable.
38369
38370 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
38371
38372 * Makeconfig (rtld-prefix): Define built linker prefix.
38373 * Rules (run-bench): Use it.
38374 * math/Makefile (run-regen-ulps): Likewise.
38375
38376 * Rules (bench): Remove eval.
38377
38378 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38379 Roland McGrath <roland@hack.frob.com>
38380 Ondrej Bilka <neleai@seznam.cz>
38381
38382 [BZ #15346]
38383 * time/getdate.c: Include ctype.h and alloca.h.
38384 (__getdate_r): Trim leading and trailing spaces of input.
38385 * time/tst-getdate.c (tests): Add tests with leading and
38386 trailing spaces.
38387
38388 2013-04-08 Roland McGrath <roland@hack.frob.com>
38389
38390 [BZ #14280]
38391 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
38392 when computing value.
38393
38394 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38395
38396 * math/README.libm-test (How can I generate "libm-test-ulps"?):
38397 Use testrun.sh to run libm tests.
38398
38399 [BZ #15309]
38400 * elf/dl-open.c (dl_open_worker): memset all of seen array.
38401
38402 2013-04-06 Marko Myllynen <myllynen@redhat.com>
38403
38404 [BZ #15264]
38405 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
38406
38407 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38408
38409 * Makefile.in (regen-ulps): New target.
38410 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
38411 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
38412 [ifneq (no,$(PERL)] (regen-ulps): New target.
38413 [ifeq (no,$(PERL)] (regen-ulps): New target.
38414 * math/libm-test.inc (ulps_file_name): Define.
38415 (output_dir): New variable.
38416 (options): Add "output-dir" option.
38417 (parse_opt): Handle 'o' case.
38418 (main): If output_dir is non-NULL use it as a prefix
38419 otherwise use "".
38420 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
38421
38422 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38423
38424 [BZ #10060, #10062]
38425 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
38426 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
38427 fail configure if __sync_val_compare_and_swap is not inlined.
38428 * sysdeps/i386/configure: Regenerate.
38429 * configure.in: Build for i686 when configured for i386.
38430 * configure: Regenerate.
38431 * README: Remove i386 reference.
38432
38433 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38434
38435 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
38436 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38437
38438 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
38439
38440 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
38441 (lmsnanval): New variables.
38442 (F): Add conversion tests.
38443 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
38444 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
38445
38446 * stdio-common/tstdiomisc.c (F): Properly collect individual
38447 tests' results.
38448
38449 [BZ #14686, #15336]
38450 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
38451 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
38452 Instead, use input NaN values or generate a qNaN by arithmetic
38453 operation. Also fix bugs to comply with the standard.
38454 * math/libm-test.inc (remainder_test): Add more tests.
38455
38456 [BZ #15335, #15342]
38457 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
38458 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
38459 input NaN values or generate a qNaN by arithmetic operation.
38460
38461 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
38462 unreachable code.
38463
38464 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
38465 definitions.
38466
38467 2013-04-03 Joseph Myers <joseph@codesourcery.com>
38468
38469 [BZ #14478]
38470 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
38471 underflowed result.
38472 * math/s_cexpf.c (__cexpf): Likewise.
38473 * math/s_cexpl.c (__cexpl): Likewise.
38474 * math/libm-test.inc (cexp_test): Add more tests.
38475
38476 2013-04-03 Andreas Schwab <schwab@suse.de>
38477
38478 [BZ #15330]
38479 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
38480 order arrays from heap if bigger than alloca cutoff.
38481
38482 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
38483
38484 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
38485 (SNAN_TESTS_double): Refer to GCC PR56831.
38486 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
38487 GCC PR56828.
38488
38489 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
38490
38491 * Rules (bench): Move bench.out after the run is complete.
38492
38493 * Rules (bench): Echo currently running benchmark.
38494
38495 * benchtests/Makefile (bench): Add atan and slowatan.
38496 * benchtests/atan-inputs: New file.
38497 * benchtests/slowatan-inputs: New file.
38498 * benchtests/slowatan.c: New file.
38499
38500 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
38501 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
38502 its value.
38503
38504 [BZ #15305]
38505 * sysdeps/unix/sysv/linux/kernel-features.h
38506 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
38507 __ASSUME_XFS_RESTRICTED_CHOWN.
38508 * sysdeps/unix/sysv/linux/pathconf.c
38509 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
38510 Save and restore errno.
38511
38512 2013-04-02 Joseph Myers <joseph@codesourcery.com>
38513
38514 [BZ #15327]
38515 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
38516 arguments using __kernel_casinh.
38517 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
38518 arguments using __kernel_casinhf.
38519 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
38520 arguments using __kernel_casinhl.
38521 * math/libm-test.inc (cacosh_test): Add more tests.
38522 * sysdeps/i386/fpu/libm-test-ulps: Update.
38523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38524
38525 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
38526
38527 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
38528 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
38529
38530 * bench/Makefile (bench): Add sin and slowsin.
38531 * benchtests/sin-inputs: New file.
38532 * benchtests/slowsin-inputs: New file.
38533 * benchtests/slowsin.c: New file.
38534
38535 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
38536 (bench): Add slowexp and slowpow.
38537 (exp-ITER): Increase iterations.
38538 (pow-ITER): Likewise.
38539 * benchtests/exp-inputs: Change input.
38540 * benchtests/pow-inputs: Likewise.
38541 * benchtests/slowexp-inputs: New file.
38542 * benchtests/slowexp.c: New file.
38543 * benchtests/slowpow-inputs: New file.
38544 * benchtests/slowpow.c: New file.
38545
38546 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38547
38548 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
38549 instructions.
38550 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38551 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
38552 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
38553 * benchtests/Makefile: Add rint benchtest.
38554 * benchtests/rint-inputs: Input for rint benchtest.
38555
38556 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
38557
38558 * Versions.def (libm): Add GLIBC_2.18.
38559 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
38560 hidden libm prototypes.
38561 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
38562 * math/Makefile (libm-calls): Add s_issignaling.
38563 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
38564 __issignalingf, __issignalingl. Adjust all libm.abilist files.
38565 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
38566 declaration.
38567 * math/math.h [__USE_GNU] (issignaling): New macro.
38568 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
38569 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
38570 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
38571 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
38572 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
38573 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
38574 * manual/arith.texi (issignaling): New section.
38575 * manual/libm-err-tab.pl (@all_functions): Update comment.
38576 * math/gen-libm-test.pl (parse_args): Apply special handling for
38577 issignaling.
38578 * math/libm-test.inc (print_float, issignaling_test): New
38579 functions.
38580 (check_float_internal): Add issignaling checks.
38581 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
38582 default definition.
38583 * sysdeps/powerpc/math-tests.h: New file.
38584 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
38585 tests.
38586 * math/test-snan.c (TEST_FUNC): Likewise.
38587
38588 2013-03-30 David S. Miller <davem@davemloft.net>
38589
38590 * po/de.po: Update from translation team.
38591
38592 2013-03-30 Joseph Myers <joseph@codesourcery.com>
38593
38594 [BZ #10357]
38595 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38596 imaginary part less than 1.0 and real part less than 0.5
38597 specially.
38598 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38599 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38600 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
38601 (cacos_test): Add more tests.
38602 (casin_test): Likewise.
38603 (casinh_test): Likewise.
38604 * sysdeps/i386/fpu/libm-test-ulps: Update.
38605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38606
38607 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38608
38609 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
38610 ONE with its value.
38611
38612 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
38613 (__pow_mp): Replace ONE and MONE with their values.
38614 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38615 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
38616 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38617 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
38618 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38619 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38620
38621 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
38622
38623 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
38624 (__pow_mp): Replace ZERO and MZERO with their values.
38625 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
38626 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38627 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38628 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38629 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38630 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
38631 (__sqr): Likewise.
38632
38633 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
38634
38635 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
38636
38637 2013-03-28 Roland McGrath <roland@hack.frob.com>
38638
38639 * include/stdlib.h [!SHARED] (__call_tls_dtors):
38640 Declare with __attribute__ ((weak)).
38641 * stdlib/exit.c (__libc_atexit) [!SHARED]:
38642 Call __call_tls_dtors only if it's not NULL.
38643
38644 2013-03-28 Roland McGrath <roland@hack.frob.com>
38645
38646 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
38647 didn't do it already, then set _dl_phdr and _dl_phnum based on the
38648 magic __ehdr_start linker symbol if it's defined.
38649 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
38650 them up here if it was already done.
38651
38652 * elf/dl-support.c (_dl_phdr): Make pointer to const.
38653 (_dl_aux_init): Use const in cast when setting it.
38654 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
38655 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
38656 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
38657
38658 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
38659 Declare them here.
38660 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
38661 * csu/libc-tls.c: Nor here.
38662 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
38663
38664 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
38665 (__libc_message): Never call vsyslog.
38666
38667 2013-03-28 Alan Modra <amodra@gmail.com>
38668
38669 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
38670 Define as empty.
38671 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
38672 Likewise.
38673
38674 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38675
38676 [BZ #15214]
38677 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
38678 underflow.
38679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38680
38681 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38682
38683 [BZ #15304]
38684 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
38685 Don't add gid passed as argument.
38686
38687 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
38688
38689 2013-03-27 Joseph Myers <joseph@codesourcery.com>
38690
38691 [BZ #15307]
38692 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38693 imaginary part between 1.0 and 1.5 and real part less than 0.5
38694 specially.
38695 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38696 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38697 * math/libm-test.inc (cacos_test): Add more tests.
38698 (casin_test): Likewise.
38699 (casinh_test): Likewise.
38700 * sysdeps/i386/fpu/libm-test-ulps: Update.
38701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38702
38703 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38704
38705 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
38706 constants.
38707 (norm): Likewise.
38708 (denorm): Likewise.
38709 (__dbl_mp): Likewise.
38710 (add_magnitudes): Likewise.
38711 (sub_magnitudes): Likewise.
38712 (__add): Likewise.
38713 (__sub): Likewise.
38714 (__mul): Likewise.
38715 (__sqr): Likewise.
38716 (__inv): Likewise.
38717 (__dvd): Likewise.
38718
38719 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
38720 commented code.
38721 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
38722 (__dubcos): Likewise.
38723 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
38724 (__ieee754_acos): Likewise.
38725 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
38726 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
38727 (__exp1): Likewise.
38728 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38729 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38730 (log1): Likewise.
38731 (my_log2): Likewise.
38732 (checkint): Likewise.
38733 * sysdeps/ieee754/dbl-64/e_remainder.c
38734 (__ieee754_remainder): Likewise.
38735 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38736 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
38737 (bsloww): Likewise.
38738 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38739
38740 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
38741 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
38742 MANTISSA_STORE_T to store computations on mantissa. Use
38743 macros for rounding and division.
38744 (denorm): Likewise.
38745 (__dbl_mp): Likewise.
38746 (add_magnitudes): Likewise.
38747 (sub_magnitudes): Likewise.
38748 (__mul): Likewise.
38749 (__sqr): Likewise.
38750 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
38751 powers of two in terms of TWOPOW macro.
38752 (mp_no): Make type of mantissa as MANTISSA_T.
38753 [!RADIXI]: Define RADIXI.
38754 [!TWO52]: Define TWO52.
38755 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
38756
38757 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38758
38759 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
38760 llroundl symbol when building for PPC32.
38761
38762 2013-03-24 Mark H Weaver <mhw@netris.org>
38763
38764 * manual/arith.texi (Normalization Functions): Fix prototypes for
38765 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
38766
38767 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38768
38769 [BZ #13889]
38770 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
38771 high value to check if expl overflow.
38772 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
38773 to check for underflow and overflow.
38774 * math/libm-test.inc: Add exp test.
38775
38776 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
38777
38778 [BZ #11120]
38779 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
38780 with NOT_IN_libc.
38781
38782 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38783
38784 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
38785 symbol.
38786
38787 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
38788
38789 * math/gen-libm-test.pl (parse_args, special_functions): Properly
38790 wrap blocks consisting of several statements.
38791
38792 * sysdeps/generic/math-tests.h: New file.
38793 * sysdeps/i386/fpu/math-tests.h: Likewise.
38794 * math/test-snan.c: Include it.
38795 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
38796
38797 2013-03-21 Joseph Myers <joseph@codesourcery.com>
38798
38799 [BZ #15285]
38800 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
38801 (__ieee754_j0l): Do not improve calculations using cos of twice
38802 input for inputs above LDBL_MAX / 2.0L.
38803 (__ieee754_y0l): Likewise.
38804 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
38805 (__ieee754_j1l): Do not improve calculations using cos of twice
38806 input for inputs above LDBL_MAX / 2.0L.
38807 (__ieee754_y1l): Likewise.
38808 * math/libm-test.inc (j0_test): Add another test.
38809 (j1_test): Likewise.
38810 (y0_test): Likewise.
38811 (y1_test): Likewise.
38812 * sysdeps/i386/fpu/libm-test-ulps: Update.
38813
38814 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38815
38816 * Rules ($(objpfx)bench-%.c): Include code from a C source
38817 file.
38818
38819 2013-03-21 Joseph Myers <joseph@codesourcery.com>
38820
38821 [BZ #15287]
38822 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38823 imaginary part 1.0 and real part less than 0.5 specially.
38824 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38825 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38826 * math/libm-test.inc (cacos_test): Add more tests.
38827 (casin_test): Likewise.
38828 (casinh_test): Likewise.
38829 * sysdeps/i386/fpu/libm-test-ulps: Update.
38830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38831
38832 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38833
38834 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
38835 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
38836
38837 2013-03-20 Joseph Myers <joseph@codesourcery.com>
38838
38839 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
38840 * config.make.in (config-cflags-sse4): Remove variable.
38841 (config-cflags-avx): Likewise.
38842 (config-cflags-sse2avx): Likewise.
38843 (config-cflags-novzeroupper): Likewise.
38844 (config-asflags-i686): Likewise.
38845 (have-mfma4): Likewise.
38846 (have-as-vis3): Likewise.
38847 (MIG): Likewise.
38848 * configure.in (MIG): Do not AC_SUBST.
38849 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
38850 (libc_cv_cc_sse4): Do not AC_SUBST.
38851 (libc_cv_cc_avx): Likewise.
38852 (libc_cv_cc_sse2avx): Likewise.
38853 (libc_cv_cc_novzeroupper): Likewise.
38854 (libc_cv_cc_fma4): Likewise.
38855 (libc_cv_as_i686): Likewise.
38856 (libc_cv_sparc_as_vis3): Likewise.
38857 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
38858 LIBC_CONFIG_VAR.
38859 (config-asflags-i686): Likewise.
38860 (config-cflags-avx): Likewise.
38861 (config-cflags-sse2avx): Likewise.
38862 (have-mfma4): Likewise.
38863 (config-cflags-novzeroupper): Likewise.
38864 * sysdeps/mach/configure.in (MIG): Likewise.
38865 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
38866 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
38867 LIBC_CONFIG_VAR.
38868 (config-cflags-avx): Likewise.
38869 (config-cflags-sse2avx): Likewise.
38870 (have-mfma4): Likewise.
38871 (config-cflags-novzeroupper): Likewise.
38872 * configure: Regenerated.
38873 * sysdeps/i386/configure: Likewise.
38874 * sysdeps/mach/configure: Likewise.
38875 * sysdeps/sparc/configure: Likewise.
38876 * sysdeps/x86_64/configure: Likewise.
38877
38878 2013-03-20 Roland McGrath <roland@hack.frob.com>
38879
38880 [BZ #14812]
38881 * locale/programs/localedef.c (options): Put N_ translation marker
38882 on argument names, not just descriptions.
38883
38884 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38885
38886 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
38887
38888 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
38889
38890 [BZ #14176]
38891 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
38892
38893 2013-03-19 Roland McGrath <roland@hack.frob.com>
38894
38895 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
38896 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
38897 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
38898 [!BEFORE_ABORT] (before_abort): New function.
38899 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
38900 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
38901 (writev_for_fatal): New function.
38902 (WRITEV_FOR_FATAL): New macro; call that.
38903 (backtrace_and_maps): New function.
38904 (BEFORE_ABORT): New macro; call that.
38905 (struct str_list): Type removed.
38906 (__libc_message, __libc_fatal): Functions removed.
38907 Include <sysdeps/posix/libc_fatal.c> instead.
38908
38909 2013-03-19 Joseph Myers <joseph@codesourcery.com>
38910
38911 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
38912 constants.
38913 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
38914 double constants.
38915
38916 2013-03-19 Andreas Schwab <schwab@suse.de>
38917
38918 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
38919 * sysdeps/gnu/configure: Regenerate.
38920
38921 * configure.in: Substitute libc_cv_rtlddir.
38922 * configure: Regenerate.
38923 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
38924 * Makeconfig (rtlddir, inst_rtlddir): New variables.
38925 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
38926 * elf/Makefile (install-others, CFLAGS-interp.c)
38927 (ldso_install, common-ldd-rewrite): Likewise.
38928 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
38929 $(inst_slibdir)/$(rtld-installed-name).
38930 * scripts/rellns-sh: Add -p option.
38931 * Makerules (make-shlib-link): Use rellns-sh to get relative name
38932 for source.
38933
38934 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
38935
38936 * manual/nptl.texi: Renamed to ...
38937 * manual/threads.texi: ... this.
38938 * manual/Makefile (chapters): Update.
38939
38940 2013-03-18 Roland McGrath <roland@hack.frob.com>
38941
38942 [BZ #14812]
38943 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
38944 on argument names, not just descriptions.
38945 * malloc/memusagestat.c (options): Likewise.
38946 * nss/getent.c (options): Likewise.
38947
38948 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
38949
38950 [BZ #14812]
38951 * iconv/iconv_prog.c (options): Put N_ translation marker
38952 on argument names, not just descriptions.
38953 * iconv/iconvconfig.c (options): Likewise.
38954
38955 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
38956
38957 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
38958 implementation which is faster on all x86_64 architectures.
38959 Tested on AMD, Intel Nehalem, SNB, IVB.
38960 * sysdeps/x86_64/strnlen.S: Likewise.
38961
38962 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
38963 Remove all multiarch strlen and strnlen versions.
38964 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
38965 Remove strlen and strnlen related parts.
38966
38967 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
38968 Inline strlen part.
38969 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
38970
38971 * sysdeps/x86_64/multiarch/strlen.S: Remove.
38972 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
38973 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
38974 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
38975 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38976 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
38977
38978 2013-03-17 Carlos O'Donell <carlos@redhat.com>
38979
38980 * manual/memory.texi (Malloc Tunable Parameters):
38981 Sort parameters alphabetically. Add comments for missing entries.
38982
38983 2013-03-17 David S. Miller <davem@davemloft.net>
38984
38985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38986
38987 2013-03-16 Joseph Myers <joseph@codesourcery.com>
38988
38989 [BZ #15283]
38990 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
38991 for arguments at most half maximum finite value.
38992 * math/libm-test.inc (j0_test): Add more tests.
38993 (j1_test): Likewise.
38994 (y0_test): Likewise.
38995 (y1_test): Likewise.
38996 * sysdeps/i386/fpu/libm-test-ulps: Update.
38997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38998
38999 [BZ #14155]
39000 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
39001 1 / x and functions P and Q for arguments above 0x1p256L.
39002 (__ieee754_y0l): Likewise.
39003 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
39004 (__ieee754_y1l): Likewise.
39005 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
39006 (j1_test): Likewise.
39007 (y0_test): Likewise.
39008 (y1_test): Likewise.
39009
39010 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
39011
39012 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
39013 variable.
39014
39015 2013-03-15 Roland McGrath <roland@hack.frob.com>
39016
39017 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
39018 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
39019 zero since it's initialized to EXEC_PAGESIZE.
39020
39021 * sysdeps/unix/sysv/linux/ldsodefs.h
39022 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
39023 * sysdeps/generic/ldsodefs.h: ... here.
39024
39025 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
39026
39027 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
39028
39029 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
39030 math/test-snan.c.
39031 * math/test-snan.c: Renamed from
39032 sysdeps/powerpc/fpu/test-powerpc-snan.c.
39033 * math/Makefile (tests): Add test-snan.
39034 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
39035 test-powerpc-snan.
39036
39037 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
39038 SUFFIX. Initialize qNaN_var with __builtin_nan family of
39039 functions.
39040 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
39041 __builtin_nan family of functions.
39042 * math/libm-test.inc (initialize): Initialize qnan_value with
39043 __builtin_nan family of functions.
39044 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
39045 Remove variables.
39046 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
39047 Remove functions.
39048 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
39049 storage class. Initialize qNaN_var and sNaN_var with
39050 __builtin_nan and __builtin_nans families of functions,
39051 respectively.
39052
39053 * math/libm-test.inc (acosh_test): Also test with qNaN input.
39054 (sqrt_test): Remove duplicate test with qNaN input.
39055 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
39056 (round_test, signbit_test, significand_test): Note missing +/-Inf
39057 as well as qNaN tests.
39058
39059 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
39060 qNaN_var. Fix a few strings, too.
39061 * math/libm-test.inc (nan_value): Rename to qnan_value.
39062 * math/gen-libm-test.pl (%beautify): Adjust to that.
39063 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
39064 * math/test-misc.c (main): Likewise.
39065 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
39066 to __qnan_bytes, and __qnan_union, respectively.
39067 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
39068 Likewise.
39069 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
39070 and lqnanval, respectively.
39071 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
39072 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
39073 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
39074 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
39075
39076 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
39077 * math/test-misc.c (main) [__x86_64__]: Enable test for long
39078 doubles.
39079
39080 * math/test-misc.c (main): Fix copy'n'pastos.
39081 * misc/tst-efgcvt.c (special): Likewise.
39082
39083 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
39084 Remove declarations.
39085
39086 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39087
39088 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
39089 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
39090 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
39091 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
39092
39093 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39094
39095 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
39096 macro to return vdso values correctly in IFUNC implementations.
39097 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
39098 Optimization by using IFUNC.
39099
39100 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39101 Richard Henderson <rth@redhat.com>
39102 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39103
39104 * Makefile.in (bench): New target.
39105 * NEWS: Mention the benchmark framework.
39106 * Rules (bench): Likewise.
39107 (binaries-bench): Generate binaries for functions to
39108 benchmark.
39109 * benchtests/Makefile: New makefile for benchmark tests.
39110 * benchtests/bench-skeleton.c: New skeleton file for benchmark
39111 programs.
39112 * benchtests/exp-inputs: New input file for EXP function.
39113 * benchtests/pow-inputs: New input file for POW function.
39114 * scripts/bench.pl: New script to generate source files for
39115 benchmark programs.
39116
39117 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39118
39119 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
39120 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
39121 computations on mantissa. Use macros for rounding and
39122 division.
39123 (denorm): Likewise.
39124 (__dbl_mp): Likewise.
39125 (add_magnitudes): Likewise.
39126 (sub_magnitudes): Likewise.
39127 (__mul): Likewise.
39128 (__sqr): Likewise.
39129 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
39130 powers of two in terms of TWOPOW macro.
39131 (mp_no): Make type of mantissa as MANTISSA_T.
39132 [!RADIXI]: Define RADIXI.
39133 [!TWO52]: Define TWO52.
39134 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
39135
39136 * manual/nptl.texi (cindex): Modify threads to pthreads.
39137
39138 2013-03-15 Joseph Myers <joseph@codesourcery.com>
39139
39140 * sysdeps/x86_64/preconfigure: Regenerated.
39141
39142 2013-03-14 Joseph Myers <joseph@codesourcery.com>
39143
39144 [BZ #14155]
39145 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
39146 0x1p28 and above.
39147 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
39148 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
39149 0x1p28 and above.
39150 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
39151 * math/libm-test.inc (j0_test): Do not allow one spurious
39152 underflow exception.
39153 (y1_test): Likewise.
39154
39155 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
39156
39157 * manual/Makefile (chapters): Add nptl.
39158 * manual/debug.texi (Debugging Support): Add link to Threads
39159 chapter.
39160 * manual/nptl.texi: New file.
39161
39162 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
39163
39164 2013-03-14 Petr Baudis <pasky@ucw.cz>
39165
39166 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
39167 for non-NULL pointer before the memory validity test. Pointed
39168 out by Holger Brunck <holger.brunck@keymile.com>.
39169
39170 2013-03-13 Andreas Schwab <schwab@suse.de>
39171
39172 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
39173 instead of .os.
39174
39175 2013-03-13 Joseph Myers <joseph@codesourcery.com>
39176
39177 * timezone/zic.c: Update from tzcode 2013b.
39178
39179 2013-03-12 Carlos O'Donell <carlos@redhat.com>
39180
39181 * manual/install.texi (Configuring and compiling):
39182 Mention i686 and i586.
39183 * INSTALL: Regenerate.
39184
39185 2013-03-12 Roland McGrath <roland@hack.frob.com>
39186
39187 * sysdeps/init_array/elf-init.c: New file.
39188 * csu/elf-init.c
39189 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
39190 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
39191
39192 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
39193 __gmon_start__ as global, but as static with a .preinit_array pointer.
39194 * sysdeps/init_array/gmon-start.c: New file. Use that.
39195 * sysdeps/init_array/crti.S: New file, empty except for comments.
39196 * sysdeps/init_array/crtn.S: Likewise.
39197
39198 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
39199
39200 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
39201 definining bcopy.
39202 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39203 Remove Prefer_SSE_for_memop.
39204 * sysdeps/x86_64/multiarch/init-arch.h: Remove
39205 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
39206 HAS_PREFER_SSE_FOR_MEMOP.
39207 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
39208 memset-x86-64.
39209 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39210 Remove bzero, memset ifunc support.
39211 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
39212 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
39213 * sysdeps/x86_64/multiarch/memset.S: Likewise.
39214 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39215
39216 2013-03-11 Andreas Schwab <schwab@suse.de>
39217
39218 [BZ #15234]
39219 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
39220 by SHLIB_COMPAT.
39221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
39222 (GLIBC_2.16): Remove pthread_atfork.
39223
39224 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
39225
39226 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
39227 (ptestcases.h): Likewise.
39228
39229 2013-03-08 Roland McGrath <roland@hack.frob.com>
39230
39231 * Makeconfig ($(common-objpfx)config.status): Depend on
39232 sysdeps/*/preconfigure{,.in} too.
39233
39234 2013-03-08 Joseph Myers <joseph@codesourcery.com>
39235
39236 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
39237 (__free_hook): Use void * instead of __malloc_ptr_t.
39238 (__malloc_hook): Likewise.
39239 (__realloc_hook): Likewise.
39240 (__memalign_hook): Likewise.
39241 (__after_morecore_hook): Likewise.
39242 * malloc/arena.c (save_malloc_hook): Likewise.
39243 (save_free_hook): Likewise.
39244 * malloc/hooks.c (malloc_hook_ini): Likewise.
39245 (realloc_hook_ini): Likewise.
39246 (memalign_hook_ini): Likewise.
39247 * malloc/malloc.c (malloc_hook_ini): Likewise.
39248 (realloc_hook_ini): Likewise.
39249 (memalign_hook_ini): Likewise.
39250 (__free_hook): Likewise.
39251 (__malloc_hook): Likewise.
39252 (__realloc_hook): Likewise.
39253 (__memalign_hook): Likewise.
39254 (__libc_malloc): Likewise.
39255 (__libc_free): Likewise.
39256 (__libc_realloc): Likewise.
39257 (__libc_memalign): Likewise.
39258 (__libc_valloc): Likewise.
39259 (__libc_pvalloc): Likewise.
39260 (__libc_calloc): Likewise.
39261 (__posix_memalign): Likewise.
39262 * malloc/morecore.c (__sbrk): Likewise.
39263 (__default_morecore): Likewise.
39264
39265 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
39266
39267 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
39268 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
39269 __malloc_ptrdiff_t.
39270
39271 * malloc/malloc.h (__malloc_size_t): Remove macro.
39272 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
39273 __malloc_size_t.
39274 (old_memalign_hook): Likewise.
39275 (old_realloc_hook): Likewise.
39276 (struct hdr): Likewise.
39277 (flood): Likewise.
39278 (mallochook): Likewise.
39279 (memalignhook): Likewise.
39280 (reallochook): Likewise.
39281 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
39282 (tr_old_realloc_hook): Likewise.
39283 (tr_old_memalign_hook): Likewise.
39284 (tr_mallochook): Likewise.
39285 (tr_reallochook): Likewise.
39286 (tr_memalignhook): Likewise.
39287
39288 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39289
39290 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
39291 default_ldbl_pack and using as default implementation.
39292 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
39293 implementation.
39294 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
39295 redundant definition.
39296 (ldbl_insert_mantissa): Likewise.
39297 (ldbl_canonicalize): Likewise.
39298 (ldbl_nearbyint): Likewise.
39299 (ldbl_pack): Rename to ldbl_pack_ppc.
39300 (ldbl_unpack): Rename to ldbl_unpack_ppc.
39301 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
39302 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
39303
39304 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
39305
39306 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
39307 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
39308 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
39309 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
39310 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
39311 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
39312 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
39313 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
39314
39315 2013-03-07 Andreas Jaeger <aj@suse.de>
39316
39317 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39318 bits/mman-linux.h.
39319
39320 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
39321
39322 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
39323 Include mpa.h and declare __MPEXP.
39324 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
39325 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
39326 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
39327 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
39328 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
39329 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
39330 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
39331
39332 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
39333 (__slowpow): Use long double EXPL and LOGL functions to
39334 compute POW.
39335 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
39336 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
39337 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
39338 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
39339 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
39340 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
39341
39342 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
39343 intermediate variable to calculate exponent.
39344 (__sqr): Likewise.
39345 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
39346 Likewise.
39347 (__sqr): Likewise.
39348
39349 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
39350 [!NO__SQR]: Define __sqr.
39351 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
39352 and NO__SQR. Remove all code except __mul and __sqr. Include
39353 sysdeps/ieee754/dbl-64/mpa.c.
39354 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39355
39356 [BZ #12723]
39357 * posix/Makefile (tests): Add tst-pathconf.
39358 * posix/tst-pathconf.c: New test case.
39359 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
39360 _PC_PIPE_BUF.
39361 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
39362
39363 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
39364
39365 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
39366
39367 2013-03-06 Andreas Jaeger <aj@suse.de>
39368
39369 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
39370 definition via __MAP_ANONYMOUS.
39371
39372 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
39373 it's not part of Linux headers.
39374
39375 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
39376 (MAP_HUGE_MASK): Define.
39377
39378 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39379 Define.
39380 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39381 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39382 Define.
39383 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39384 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39385 Define.
39386 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39387 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
39388 Define.
39389 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39390
39391 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
39392 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
39393 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
39394 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
39395 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
39396 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
39397
39398 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39399 Handle f2fs.
39400
39401 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39402 Handle f2fs and efivarfs.
39403
39404 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
39405 f2fs.
39406
39407 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
39408 (EFIVARFS_MAGIC): Add.
39409 (F2FS_LINK_MAX): Add.
39410
39411 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39412
39413 * stdio-common/vfprintf.c: Replace __builtin_expect with
39414 __glibc_unlikely.
39415
39416 2013-03-06 Joseph Myers <joseph@codesourcery.com>
39417
39418 [BZ #13550]
39419 * sysdeps/generic/bp-sym.h: Remove file.
39420 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
39421 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
39422 <bp-sym.h> and <bp-asm.h>.
39423 (__longjmp): Don't use BP_SYM.
39424 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
39425 and <bp-asm.h>.
39426 (memcpy): Don't use BP_SYM.
39427 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
39428 <bp-sym.h> and <bp-asm.h>.
39429 (memcpy): Don't use BP_SYM.
39430 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
39431 <bp-asm.h>.
39432 (memcpy): Don't use BP_SYM.
39433 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
39434 <bp-asm.h>.
39435 (memset): Don't use BP_SYM.
39436 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39437 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39438 (__bzero): Don't use BP_SYM.
39439 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39440 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39441 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
39442 <bp-sym.h> and <bp-asm.h>.
39443 (memcmp): Don't use BP_SYM. Remove comment about bounded
39444 pointers.
39445 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
39446 <bp-sym.h> and <bp-asm.h>.
39447 (memcpy): Don't use BP_SYM.
39448 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
39449 <bp-sym.h> and <bp-asm.h>.
39450 (memset): Don't use BP_SYM.
39451 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39452 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39453 (__bzero): Don't use BP_SYM.
39454 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39455 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39456 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
39457 <bp-sym.h> and <bp-asm.h>.
39458 (strncmp): Don't use BP_SYM. Remove comment about bounded
39459 pointers.
39460 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
39461 <bp-sym.h> and <bp-asm.h>.
39462 (memcpy): Don't use BP_SYM.
39463 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
39464 <bp-sym.h> and <bp-asm.h>.
39465 (memset): Don't use BP_SYM.
39466 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39467 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39468 (__bzero): Don't use BP_SYM.
39469 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39470 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39471 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
39472 <bp-sym.h> and <bp-asm.h>.
39473 (__memchr): Don't use BP_SYM.
39474 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
39475 <bp-sym.h> and <bp-asm.h>.
39476 (memcmp): Don't use BP_SYM. Remove comment about bounded
39477 pointers.
39478 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
39479 <bp-sym.h> and <bp-asm.h>.
39480 (memcpy): Don't use BP_SYM.
39481 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
39482 <bp-sym.h> and <bp-asm.h>.
39483 (__mempcpy): Don't use BP_SYM.
39484 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
39485 <bp-sym.h> and <bp-asm.h>.
39486 (__memrchr): Don't use BP_SYM.
39487 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
39488 <bp-sym.h> and <bp-asm.h>.
39489 (memset): Don't use BP_SYM.
39490 (__bzero): Likewise.
39491 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
39492 <bp-sym.h> and <bp-asm.h>.
39493 (__rawmemchr): Don't use BP_SYM.
39494 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
39495 <bp-sym.h> and <bp-asm.h>.
39496 (__STRCMP): Don't use BP_SYM.
39497 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
39498 <bp-sym.h> and <bp-asm.h>.
39499 (strchr): Don't use BP_SYM.
39500 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
39501 <bp-sym.h> and <bp-asm.h>.
39502 (__strchrnul): Don't use BP_SYM.
39503 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
39504 <bp-sym.h> and <bp-asm.h>.
39505 (strlen): Don't use BP_SYM.
39506 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
39507 <bp-sym.h> and <bp-asm.h>.
39508 (strncmp): Don't use BP_SYM. Remove comment about bounded
39509 pointers.
39510 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
39511 <bp-sym.h> and <bp-asm.h>.
39512 (__strnlen): Don't use BP_SYM.
39513 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
39514 <bp-sym.h> and <bp-asm.h>.
39515 (__GI__setjmp): Don't use BP_SYM.
39516 (_setjmp): Likewise.
39517 (__sigsetjmp): Likewise.
39518 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
39519 (L(start_addresses)): Don't use BP_SYM.
39520 (_start): Likewise.
39521 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
39522 <bp-asm.h>.
39523 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
39524 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
39525 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39526 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39527 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
39528 <bp-asm.h>.
39529 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
39530 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
39531 about bounded pointers.
39532 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39533 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39534 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
39535 <bp-asm.h>.
39536 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
39537 about bounded pointers. Remove GKM FIXME comments.
39538 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39539 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
39540 <bp-asm.h>.
39541 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
39542 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
39543 Remove GKM FIXME comments.
39544 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39545 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39546 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
39547 <bp-asm.h>.
39548 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
39549 about bounded pointers. Remove GKM FIXME comment.
39550 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
39551 and <bp-asm.h>.
39552 (strncmp): Don't use BP_SYM. Remove comment about bounded
39553 pointers.
39554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
39555 <bp-sym.h> and <bp-asm.h>.
39556 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
39557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
39558 <bp-sym.h> and <bp-asm.h>.
39559 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
39560 comment.
39561
39562 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39563
39564 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
39565 call free(NULL).
39566
39567 2013-03-05 David S. Miller <davem@davemloft.net>
39568
39569 * po/es.po: Update from translation team.
39570
39571 2013-03-05 Andreas Jaeger <aj@suse.de>
39572
39573 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
39574 <bits/mman-linux.h>.
39575 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39576 is fine.
39577 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
39578 <bits/mman-linux.h> to end of file.
39579 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39580 is fine.
39581 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
39582 <bits/mman-linux.h> to end of file.
39583 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39584 is fine.
39585 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
39586 <bits/mman-linux.h> to end of file.
39587
39588 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
39589 (MCL_CURRENT, MCL_FUTURE): Define here.
39590
39591 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39592
39593 [BZ #15232]
39594 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
39595 attribute_hidden.
39596 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39597
39598 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39599
39600 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
39601 fourth parameter needed for rt_sigprocmask syscall.
39602 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
39603 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
39604 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
39605 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
39606 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
39607 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
39608
39609 2013-03-04 Joseph Myers <joseph@codesourcery.com>
39610
39611 [BZ #13550]
39612 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
39613 comment about bounded pointers.
39614 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
39615 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
39616
39617 2013-03-04 Andreas Jaeger <aj@suse.de>
39618
39619 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
39620 common definitions.
39621
39622 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
39623 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
39624 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
39625 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39626 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
39627 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39628
39629 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39630
39631 [BZ #15055]
39632 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
39633 __ieee754_sqrl instead of __sqrl.
39634
39635 2013-03-01 Joseph Myers <joseph@codesourcery.com>
39636
39637 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
39638 * sysdeps/powerpc/fpu_control.h: ... here.
39639 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
39640 * sysdeps/powerpc/bits/fenvinline.h: ... here.
39641 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
39642 * sysdeps/powerpc/bits/mathinline.h: ... here.
39643
39644 2013-03-01 Roland McGrath <roland@hack.frob.com>
39645
39646 * elf/dl-hwcaps.c (_dl_important_hwcaps):
39647 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
39648 to just [NEED_DL_SYSINFO_DSO].
39649 * elf/dl-support.c: Likewise.
39650 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
39651 * elf/rtld.c (dl_main): Likewise.
39652 * elf/setup-vdso.h (setup_vdso): Likewise.
39653 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
39654 * sysdeps/unix/sysv/linux/dl-sysdep.c
39655 (_dl_discover_osversion): Likewise.
39656
39657 2013-03-01 Carlos O'Donell <carlos@redhat.com>
39658
39659 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
39660 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
39661
39662 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
39663
39664 * NEWS: Mention libm performance improvements and non-x86 PI
39665 futex support.
39666
39667 * csu/libc-start.c (__pthread_initialize_minimal): Change
39668 function arguments.
39669 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
39670
39671 2013-02-28 Joseph Myers <joseph@codesourcery.com>
39672
39673 [BZ #13550]
39674 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
39675 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
39676 <bp-sym.h> and <bp-asm.h>.
39677 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39678 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
39679 and <bp-asm.h>.
39680 (memcpy): Don't use BP_SYM.
39681 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
39682 <bp-asm.h>.
39683 (__mpn_add_n): Don't use BP_SYM.
39684 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
39685 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
39686 and <bp-asm.h>.
39687 (__mpn_addmul_1): Don't use BP_SYM.
39688 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39689 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
39690 <bp-sym.h>.
39691 (_setjmp): Don't use BP_SYM.
39692 (__novmx_setjmp): Likewise.
39693 (__GI__setjmp): Likewise.
39694 (__vmx_setjmp): Likewise.
39695 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
39696 <bp-sym.h>.
39697 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
39698 (__bzero): Don't use BP_SYM.
39699 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39700 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39701 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
39702 <bp-sym.h> and <bp-asm.h>.
39703 (memcpy): Don't use BP_SYM.
39704 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
39705 <bp-sym.h> and <bp-asm.h>.
39706 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39707 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
39708 <bp-sym.h> and <bp-asm.h>.
39709 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39710 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
39711 <bp-asm.h>.
39712 (__mpn_lshift): Don't use BP_SYM.
39713 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39714 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
39715 <bp-asm.h>.
39716 (memset): Don't use BP_SYM.
39717 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39718 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39719 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
39720 <bp-asm.h>.
39721 (__mpn_mul_1): Don't use BP_SYM.
39722 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39723 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
39724 <bp-sym.h> and <bp-asm.h>.
39725 (memcmp): Don't use BP_SYM.
39726 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
39727 <bp-sym.h> and <bp-asm.h>.
39728 (memcpy): Don't use BP_SYM.
39729 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
39730 <bp-sym.h> and <bp-asm.h>.
39731 (memset): Don't use BP_SYM.
39732 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
39733 <bp-sym.h> and <bp-asm.h>.
39734 (strncmp): Don't use BP_SYM.
39735 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
39736 <bp-sym.h> and <bp-asm.h>.
39737 (memcpy): Don't use BP_SYM.
39738 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
39739 <bp-sym.h> and <bp-asm.h>.
39740 (memset): Don't use BP_SYM.
39741 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
39742 <bp-sym.h> and <bp-asm.h>.
39743 (__memchr): Don't use BP_SYM.
39744 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
39745 <bp-sym.h> and <bp-asm.h>.
39746 (memcmp): Don't use BP_SYM.
39747 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
39748 <bp-sym.h> and <bp-asm.h>.
39749 (memcpy): Don't use BP_SYM.
39750 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
39751 <bp-sym.h> and <bp-asm.h>.
39752 (__mempcpy): Don't use BP_SYM.
39753 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
39754 <bp-sym.h> and <bp-asm.h>.
39755 (__memrchr): Don't use BP_SYM.
39756 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
39757 <bp-sym.h> and <bp-asm.h>.
39758 (memset): Don't use BP_SYM.
39759 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
39760 <bp-sym.h> and <bp-asm.h>.
39761 (__rawmemchr): Don't use BP_SYM.
39762 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
39763 <bp-sym.h> and <bp-asm.h>.
39764 (__STRCMP): Don't use BP_SYM.
39765 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
39766 <bp-sym.h> and <bp-asm.h>.
39767 (strchr): Don't use BP_SYM.
39768 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
39769 <bp-sym.h> and <bp-asm.h>.
39770 (__strchrnul): Don't use BP_SYM.
39771 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
39772 <bp-sym.h> and <bp-asm.h>.
39773 (strlen): Don't use BP_SYM.
39774 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
39775 <bp-sym.h> and <bp-asm.h>.
39776 (strncmp): Don't use BP_SYM.
39777 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
39778 <bp-sym.h> and <bp-asm.h>.
39779 (__strnlen): Don't use BP_SYM.
39780 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
39781 <bp-asm.h>.
39782 (__mpn_rshift): Don't use BP_SYM.
39783 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39784 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
39785 <bp-sym.h> and <bp-asm.h>.
39786 (__sigsetjmp): Don't use BP_SYM.
39787 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
39788 (L(start_addresses)): Don't use BP_SYM.
39789 (_start): Likewise.
39790 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
39791 <bp-asm.h>.
39792 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
39793 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39794 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39795 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
39796 <bp-asm.h>.
39797 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
39798 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39799 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39800 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
39801 <bp-asm.h>.
39802 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
39803 comments.
39804 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39805 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
39806 <bp-asm.h>.
39807 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
39808 FIXME comments.
39809 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39810 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39811 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
39812 <bp-asm.h>.
39813 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
39814 comment.
39815 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
39816 and <bp-asm.h>.
39817 (strncmp): Don't use BP_SYM,
39818 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
39819 <bp-asm.h>.
39820 (__mpn_sub_n): Don't use BP_SYM.
39821 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39822 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
39823 and <bp-asm.h>.
39824 (__mpn_submul_1): Don't use BP_SYM.
39825 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
39827 <bp-sym.h> and <bp-asm.h>.
39828 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
39829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
39830 <bp-sym.h> and <bp-asm.h>.
39831 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
39832 comment.
39833
39834 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39835
39836 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
39837 Use ZK to minimize writes to Z.
39838 (sub_magnitudes): Simplify code a bit.
39839 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
39840 Use ZK to minimize writes to Z.
39841 (sub_magnitudes): Simplify code a bit.
39842
39843 2013-02-27 Roland McGrath <roland@hack.frob.com>
39844
39845 * csu/gmon-start.c: Add special exception to license text.
39846
39847 2013-02-27 Richard Henderson <rth@redhat.com>
39848
39849 * scripts/config.guess: Update from config.git.
39850 * scripts/config.sub: Likewise.
39851
39852 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39853
39854 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
39855
39856 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
39857
39858 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
39859
39860 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
39861
39862 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
39863
39864 2013-02-26 Roland McGrath <roland@hack.frob.com>
39865
39866 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
39867 [$(build-shared = yes].
39868
39869 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39870
39871 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
39872 (__mul): Reduce iterations for calculating mantissa.
39873
39874 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
39875 MPTWO.
39876 (__mpranred): Likewise.
39877
39878 [BZ #15160]
39879 * malloc/memusagestat.c (main): Draw graphs for heap and stack
39880 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
39881
39882 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
39883
39884 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
39885 Define __attribute__.
39886
39887 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39888
39889 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
39890 unused.
39891 * posix/regex_internal.h (__attribute): Remove.
39892 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
39893 (re_string_context_at): Likewise.
39894 (bitset_not): Use __attribute__ and mark function as possibly
39895 unused.
39896 (bitset_merge): Likewise.
39897 (bitset_mask): Likewise.
39898 (re_string_char_size_at): Likewise.
39899 (re_string_wchar_at): Likewise.
39900 (re_string_elem_size_at): Likewise.
39901
39902 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39903
39904 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
39905 code.
39906 (cc32): Likewise.
39907
39908 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
39909 (__acr): Likewise.
39910 (__cpy): Likewise.
39911 (norm): Likewise.
39912 (denorm): Likewise.
39913 (__dbl_mp): Likewise.
39914 (add_magnitudes): Likewise.
39915 (sub_magnitudes): Likewise.
39916 (__mul): Likewise.
39917 (__inv): Likewise.
39918
39919 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
39920 style.
39921
39922 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
39923 style.
39924
39925 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
39926 code.
39927
39928 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
39929 up changes with default code.
39930 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
39931 Likewise.
39932
39933 2013-02-24 Allan McRae <allan@archlinux.org>
39934
39935 * manual/socket.texi (The Internet Namespace): Order menu items
39936 to match that in the file.
39937
39938 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
39939 node listing of the info page menu.
39940
39941 2013-02-21 Joseph Myers <joseph@codesourcery.com>
39942
39943 [BZ #13550]
39944 * sysdeps/i386/bp-asm.h: Remove file.
39945 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
39946 (PARMS): Do not use macros from bp-asm.h.
39947 (S1): Likewise.
39948 (S2): Likewise.
39949 (SIZE): Likewise.
39950 (__mpn_add_n): Do not use BP_SYM
39951 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
39952 "bp-asm.h".
39953 (PARMS): Do not use macros from bp-asm.h.
39954 (S1): Likewise.
39955 (SIZE): Likewise.
39956 (__mpn_addmul_1): Do not use BP_SYM
39957 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
39958 "bp-asm.h".
39959 (PARMS): Do not use macros from bp-asm.h.
39960 (SIGMSK): Likewise.
39961 (_setjmp): Likewise. Do not use BP_SYM.
39962 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
39963 "bp-asm.h".
39964 (PARMS): Do not use macros from bp-asm.h.
39965 (SIGMSK): Likewise.
39966 (setjmp): Likewise. Do not use BP_SYM.
39967 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
39968 "bp-asm.h".
39969 (PARMS): Do not use macros from bp-asm.h.
39970 (__frexp): Do not use BP_SYM.
39971 (frexp): Likewise.
39972 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
39973 "bp-asm.h".
39974 (PARMS): Do not use macros from bp-asm.h.
39975 (__frexpf): Do not use BP_SYM.
39976 (frexpf): Likewise.
39977 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
39978 "bp-asm.h".
39979 (PARMS): Do not use macros from bp-asm.h.
39980 (__frexpl): Do not use BP_SYM.
39981 (frexpl): Likewise.
39982 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
39983 "bp-asm.h".
39984 (PARMS): Do not use macros from bp-asm.h.
39985 (__remquo): Do not use BP_SYM.
39986 (remquo): Likewise.
39987 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
39988 "bp-asm.h".
39989 (PARMS): Do not use macros from bp-asm.h.
39990 (__remquof): Do not use BP_SYM.
39991 (remquof): Likewise.
39992 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
39993 "bp-asm.h".
39994 (PARMS): Do not use macros from bp-asm.h.
39995 (__remquol): Do not use BP_SYM.
39996 (remquol): Likewise.
39997 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
39998 "bp-asm.h".
39999 (PARMS): Do not use macros from bp-asm.h.
40000 (DEST): Likewise.
40001 (SRC): Likewise.
40002 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
40003 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
40004 "bp-asm.h".
40005 (PARMS): Do not use macros from bp-asm.h.
40006 (strlen): Do not use BP_SYM.
40007 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
40008 "bp-asm.h".
40009 (PARMS): Do not use macros from bp-asm.h.
40010 (S1): Likewise.
40011 (S2): Likewise.
40012 (SIZE): Likewise.
40013 (__mpn_add_n): Do not use BP_SYM.
40014 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
40015 "bp-asm.h".
40016 (PARMS): Do not use macros from bp-asm.h.
40017 (S1): Likewise.
40018 (SIZE): Likewise.
40019 (__mpn_addmul_1): Do not use BP_SYM.
40020 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
40021 weak_alias.
40022 (bzero): Likewise.
40023 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
40024 "bp-asm.h".
40025 (PARMS): Do not use macros from bp-asm.h.
40026 (S): Likewise.
40027 (SIZE): Likewise.
40028 (__mpn_lshift): Do not use BP_SYM.
40029 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
40030 "bp-asm.h".
40031 (PARMS): Do not use macros from bp-asm.h.
40032 (DEST): Likewise.
40033 (SRC): Likewise.
40034 (LEN): Likewise.
40035 (memcpy): Likewise. Do not use BP_SYM.
40036 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
40037 libc_hidden_def and weak_alias.
40038 (mempcpy): Do not use BP_SYM in weak_alias.
40039 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
40040 "bp-asm.h".
40041 (PARMS): Do not use macros from bp-asm.h.
40042 (DEST): Likewise.
40043 (LEN): Likewise.
40044 [!BZERO_P] (CHR): Likewise.
40045 (memset): Likewise. Do not use BP_SYM.
40046 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
40047 "bp-asm.h".
40048 (PARMS): Do not use macros from bp-asm.h.
40049 (S1): Likewise.
40050 (SIZE): Likewise.
40051 (__mpn_mul_1): Do not use BP_SYM.
40052 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
40053 "bp-asm.h".
40054 (PARMS): Do not use macros from bp-asm.h.
40055 (S): Likewise.
40056 (SIZE): Likewise.
40057 (__mpn_rshift): Do not use BP_SYM.
40058 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
40059 "bp-asm.h".
40060 (PARMS): Do not use macros from bp-asm.h.
40061 (STR): Likewise.
40062 (CHR): Likewise.
40063 (strchr): Likewise. Do not use BP_SYM.
40064 (index): Do not use BP_SYM in weak_alias.
40065 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
40066 "bp-asm.h".
40067 (PARMS): Do not use macros from bp-asm.h.
40068 (DEST): Likewise.
40069 (SRC): Likewise.
40070 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
40071 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
40072 "bp-asm.h".
40073 (PARMS): Do not use macros from bp-asm.h.
40074 (strlen): Do not use BP_SYM.
40075 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
40076 "bp-asm.h".
40077 (PARMS): Do not use macros from bp-asm.h.
40078 (S1): Likewise.
40079 (S2): Likewise.
40080 (SIZE): Likewise.
40081 (__mpn_sub_n): Do not use BP_SYM.
40082 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
40083 "bp-asm.h".
40084 (PARMS): Do not use macros from bp-asm.h.
40085 (S1): Likewise.
40086 (SIZE): Likewise.
40087 (__mpn_submul_1): Do not use BP_SYM.
40088 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
40089 "bp-asm.h".
40090 (PARMS): Do not use macros from bp-asm.h.
40091 (S1): Likewise.
40092 (S2): Likewise.
40093 (SIZE): Likewise.
40094 (__mpn_add_n): Do not use BP_SYM.
40095 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
40096 weak_alias.
40097 (bzero): Likewise.
40098 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
40099 "bp-asm.h".
40100 (PARMS): Do not use macros from bp-asm.h.
40101 (BLK2): Likewise.
40102 (LEN): Likewise.
40103 (memcmp): Do not use BP_SYM.
40104 (bcmp): Do not use BP_SYM in weak_alias.
40105 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
40106 "bp-asm.h".
40107 (PARMS): Do not use macros from bp-asm.h.
40108 (DEST): Likewise.
40109 (SRC): Likewise.
40110 (LEN): Likewise.
40111 (memcpy): Likewise. Do not use BP_SYM.
40112 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
40113 "bp-asm.h".
40114 (PARMS): Do not use macros from bp-asm.h.
40115 (DEST): Likewise.
40116 (SRC): Likewise.
40117 (LEN): Likewise.
40118 (memmove): Likewise. Do not use BP_SYM.
40119 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
40120 "bp-asm.h".
40121 (PARMS): Do not use macros from bp-asm.h.
40122 (DEST): Likewise.
40123 (SRC): Likewise.
40124 (LEN): Likewise.
40125 (__mempcpy): Likewise. Do not use BP_SYM.
40126 (mempcpy): Do not use BP_SYM in weak_alias.
40127 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
40128 "bp-asm.h".
40129 (PARMS): Do not use macros from bp-asm.h.
40130 (DEST): Likewise.
40131 (LEN): Likewise.
40132 [!BZERO_P] (CHR): Likewise.
40133 (memset): Likewise. Do not use BP_SYM.
40134 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
40135 "bp-asm.h".
40136 (PARMS): Do not use macros from bp-asm.h.
40137 (STR2): Likewise.
40138 (strcmp): Do not use BP_SYM.
40139 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
40140 "bp-asm.h".
40141 (PARMS): Do not use macros from bp-asm.h.
40142 (STR): Likewise.
40143 (DELIM): Likewise.
40144 [USE_AS_STRTOK_R] (SAVE): Likewise.
40145 (FUNCTION): Likewise. Do not use BP_SYM.
40146 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
40147 aliases.
40148 (strtok_r): Likewise.
40149 (__GI___strtok_r): Likewise.
40150 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
40151 (PARMS): Do not use macros from bp-asm.h.
40152 (S): Likewise.
40153 (SIZE): Likewise.
40154 (__mpn_lshift): Do not use BP_SYM.
40155 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
40156 (PARMS): Do not use macros from bp-asm.h.
40157 (STR): Likewise.
40158 (CHR): Likewise.
40159 (__memchr): Do not use BP_SYM.
40160 (memchr): Do not use BP_SYM in weak_alias.
40161 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
40162 (PARMS): Do not use macros from bp-asm.h.
40163 (BLK2): Likewise.
40164 (LEN): Likewise.
40165 (memcmp): Do not use BP_SYM.
40166 (bcmp): Do not use BP_SYM in weak_alias.
40167 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
40168 (PARMS): Do not use macros from bp-asm.h.
40169 (S1): Likewise.
40170 (SIZE): Likewise.
40171 (__mpn_mul_1): Do not use BP_SYM.
40172 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
40173 "bp-asm.h".
40174 (PARMS): Do not use macros from bp-asm.h.
40175 (STR): Likewise.
40176 (CHR): Likewise.
40177 (__rawmemchr): Do not use BP_SYM.
40178 (rawmemchr): Do not use BP_SYM in weak_alias.
40179 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
40180 (PARMS): Do not use macros from bp-asm.h.
40181 (S): Likewise.
40182 (SIZE): Likewise.
40183 (__mpn_rshift): Do not use BP_SYM.
40184 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
40185 (PARMS): Do not use macros from bp-asm.h.
40186 (SIGMSK): Likewise.
40187 (__sigsetjmp): Likewise. Do not use BP_SYM.
40188 * sysdeps/i386/start.S: Do not include "bp-sym.h".
40189 (_start): Do not use BP_SYM.
40190 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
40191 (PARMS): Do not use macros from bp-asm.h.
40192 (DEST): Likewise.
40193 (SRC): Likewise.
40194 (__stpcpy): Likewise. Do not use BP_SYM.
40195 (stpcpy): Do not use BP_SYM in weak_alias.
40196 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
40197 "bp-asm.h".
40198 (PARMS): Do not use macros from bp-asm.h.
40199 (DEST): Likewise.
40200 (SRC): Likewise.
40201 (LEN): Likewise.
40202 (__stpncpy): Likewise. Do not use BP_SYM.
40203 (stpncpy): Do not use BP_SYM in weak_alias.
40204 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
40205 (PARMS): Do not use macros from bp-asm.h.
40206 (STR): Likewise.
40207 (CHR): Likewise.
40208 (strchr): Likewise. Do not use BP_SYM.
40209 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
40210 "bp-asm.h".
40211 (PARMS): Do not use macros from bp-asm.h.
40212 (STR): Likewise.
40213 (CHR): Likewise.
40214 (__strchrnul): Likewise. Do not use BP_SYM.
40215 (strchrnul): Do not use BP_SYM in weak_alias.
40216 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
40217 "bp-asm.h".
40218 (PARMS): Do not use macros from bp-asm.h.
40219 (STOP): Likewise.
40220 (strcspn): Do not use BP_SYM.
40221 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
40222 "bp-asm.h".
40223 (PARMS): Do not use macros from bp-asm.h.
40224 (STR): Likewise.
40225 (STOP): Likewise.
40226 (strpbrk): Likewise. Do not use BP_SYM.
40227 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
40228 "bp-asm.h".
40229 (PARMS): Do not use macros from bp-asm.h.
40230 (STR): Likewise.
40231 (CHR): Likewise.
40232 (strrchr): Likewise. Do not use BP_SYM.
40233 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
40234 (PARMS): Do not use macros from bp-asm.h.
40235 (SKIP): Likewise.
40236 (strspn): Do not use BP_SYM.
40237 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
40238 (PARMS): Do not use macros from bp-asm.h.
40239 (STR): Likewise.
40240 (DELIM): Likewise.
40241 (SAVE): Likewise.
40242 (FUNCTION): Likewise. Do not use BP_SYM.
40243 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
40244 aliases.
40245 (strtok_r): Likewise.
40246 (__GI___strtok_r): Likewise.
40247 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
40248 (PARMS): Do not use macros from bp-asm.h.
40249 (S1): Likewise.
40250 (S2): Likewise.
40251 (SIZE): Likewise.
40252 (__mpn_sub_n): Do not use BP_SYM.
40253 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
40254 "bp-asm.h".
40255 (PARMS): Do not use macros from bp-asm.h.
40256 (S1): Likewise.
40257 (SIZE): Likewise.
40258 (__mpn_submul_1): Do not use BP_SYM.
40259 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
40260 <bp-sym.h>.
40261 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
40262 and <bp-asm.h>.
40263 (PARMS): Do not use macros from bp-asm.h.
40264 (FLAGS): Likewise.
40265 (PTID): Likewise.
40266 (TLS): Likewise.
40267 (CTID): Likewise.
40268 (__clone): Do not use BP_SYM.
40269 (clone): Do not use BP_SYM in weak_alias.
40270 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
40271 and <bp-asm.h>.
40272 (PARMS): Do not use macros from bp-asm.h.
40273 (LEN): Likewise.
40274 (__mmap64): Do not use BP_SYM.
40275 (mmap64): Do not use BP_SYM in weak_alias.
40276 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
40277 <bp-sym.h> and <bp-asm.h>.
40278 (PARMS): Do not use macros from bp-asm.h.
40279 (__posix_fadvise64_l64): Do not use BP_SYM.
40280 * sysdeps/unix/sysv/linux/i386/semtimedop.S
40281 (PARMS): Do not use macros from bp-asm.h.
40282 (NSOPS): Likewise.
40283 (semtimedop): Do not use BP_SYM.
40284 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
40285 and <bp-asm.h>.
40286
40287 2013-02-21 Allan McRae <allan@archlinux.org>
40288
40289 * manual/message.texi (Charset conversion in gettext):
40290 Move @end statement to beginning of line.
40291
40292 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
40293
40294 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
40295 static.
40296 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
40297 Likewise.
40298
40299 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
40300 (denorm): Likewise.
40301 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
40302 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
40303
40304 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40305
40306 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
40307 tail-call to the resolved function if pltexit isn't needed.
40308
40309 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
40310
40311 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
40312 or Y being zero as being unlikely.
40313 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
40314 Likewise.
40315
40316 2013-02-20 Carlos O'Donell <carlos@redhat.com>
40317
40318 * manual/nss.texi (System Databases and Name Service Switch):
40319 Remove frobnicate @pxref.
40320
40321 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
40322
40323 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
40324 __attribute__ ((unused)) to __attribute__ ((__unused__)).
40325
40326 2013-02-20 Petr Machata <pmachata@redhat.com>
40327
40328 * elf/elf.h (R_ARM_TARGET1): New macro.
40329 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
40330 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
40331 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
40332 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
40333 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
40334 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
40335 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
40336 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
40337 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
40338 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
40339 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
40340 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
40341 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
40342 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
40343 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
40344 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
40345 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
40346 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
40347 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
40348 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
40349 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
40350 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
40351 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
40352 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
40353 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
40354 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
40355 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
40356 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
40357 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
40358 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
40359 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
40360 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
40361 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
40362 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
40363 (R_ARM_THM_GOT_BREL12): Likewise.
40364 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
40365 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
40366 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
40367 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
40368 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
40369 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
40370 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
40371 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
40372 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
40373
40374 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
40375
40376 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
40377 __attribute_used__ to __attribute__ ((unused)).
40378
40379 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
40380
40381 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
40382 powerpc mpa.c.
40383 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
40384 comment formatting.
40385 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
40386
40387 2013-02-19 Joseph Myers <joseph@codesourcery.com>
40388
40389 [BZ #13550]
40390 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
40391 Remove macro.
40392 (ENTER): Remove both macro definitions.
40393 (LEAVE): Likewise.
40394 (CHECK_BOUNDS_LOW): Likewise.
40395 (CHECK_BOUNDS_HIGH): Likewise.
40396 (CHECK_BOUNDS_BOTH): Likewise.
40397 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
40398 (RETURN_BOUNDED_POINTER): Likewise.
40399 (RETURN_NULL_BOUNDED_POINTER): Likewise.
40400 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
40401 (POP_ERRNO_LOCATION_RETURN): Likewise.
40402 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
40403 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40404 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
40405 macros.
40406 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40407 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
40408 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
40409 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
40410 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
40411 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
40412 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
40413 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
40414 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
40415 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
40416 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
40417 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
40418 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40419 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
40420 removed macros.
40421 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40422 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
40423 macros.
40424 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40425 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
40426 * sysdeps/i386/i586/memset.S (memset): Likewise.
40427 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
40428 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40429 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
40430 macros.
40431 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40432 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
40433 Change uses of L(2) to L(out).
40434 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
40435 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
40436 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
40437 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40438 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
40439 removed macros.
40440 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40441 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
40442 macros.
40443 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40444 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
40445 (RETURN): Do not use macro LEAVE.
40446 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
40447 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
40448 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
40449 * sysdeps/i386/i686/memset.S (memset): Likewise.
40450 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
40451 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
40452 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
40453 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
40454 Likewise.
40455 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40456 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
40457 L(1_2) and L(1_3) into L(1).
40458 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
40459 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
40460 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40461 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
40462 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
40463 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
40464 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
40465 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40466 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
40467 macros.
40468 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
40469 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40470 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
40471 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
40472 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
40473 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40474 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
40475 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
40476 * sysdeps/i386/strcspn.S (strcspn): Likewise.
40477 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
40478 * sysdeps/i386/strrchr.S (strrchr): Likewise.
40479 * sysdeps/i386/strspn.S (strspn): Likewise.
40480 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
40481 conditional code.
40482 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40483 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
40484 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
40485 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
40486 L(1_3) into L(1_1).
40487 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
40488 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40489 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
40490 macros.
40491 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40492
40493 2013-02-19 Jakub Jelinek <jakub@redhat.com>
40494
40495 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
40496 macro.
40497
40498 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
40499
40500 * math/atest-exp.c (exp_mpn): Remove ROUND.
40501 * math/atest-exp2.c (exp_mpn): Likewise.
40502 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
40503
40504 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
40505 * stdlib/tst-tls-atexit-lib.c: Likewise.
40506 * stdlib/tst-tls-atexit.c: Likewise.
40507
40508 2013-02-18 Mike Frysinger <vapier@gentoo.org>
40509
40510 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
40511 and __attribute_alloc_size__.
40512
40513 2013-02-18 Mike Frysinger <vapier@gentoo.org>
40514
40515 * include/programs/xmalloc.h: Change __attribute_alloc_size to
40516 __attribute_alloc_size__.
40517 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
40518 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
40519
40520 2013-02-18 Mike Frysinger <vapier@gentoo.org>
40521
40522 * include/programs/xmalloc.h: New file.
40523 * catgets/gencat.c: Include it.
40524 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
40525 * elf/pldd.c: Likewise.
40526 * iconv/iconv_charmap.c: Likewise.
40527 * iconv/iconvconfig.c: Likewise.
40528 * iconv/strtab.c: Likewise.
40529 * locale/programs/locale.c: Likewise.
40530 * locale/programs/localedef.h: Likewise.
40531 * locale/programs/simple-hash.c: Likewise.
40532 * nscd/nscd.h: Likewise.
40533 * nss/makedb.c: Likewise.
40534 * sysdeps/generic/ldconfig.h: Likewise.
40535
40536 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
40537
40538 * Versions.def: Add GLIBC_2.18.
40539 * include/link.h (struct link_map): New member l_tls_dtor_count.
40540 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
40541 (__call_tls_dtors): Likewise.
40542 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
40543 __cxa_thread_atexit_impl.
40544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40545 Likewise.
40546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40547 Likewise.
40548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40549 Likewise.
40550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40551 Likewise.
40552 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
40554 Likewise.
40555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
40556 Likewise.
40557 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40558 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40559 Likewise.
40560 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
40561 (tests): Add test case tst-tls-atexit.
40562 (modules-names): Add shared library for tst-tls-atexit.
40563 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
40564 (GLIBC_PRIVATE): Add __call_tls_dtors.
40565 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
40566 for libstdc++.
40567 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
40568 * stdlib/tst-tls-atexit.c: New test case.
40569 * stdlib/tst-tls-atexit-lib.c: New test case.
40570
40571 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
40572
40573 * elf/Versions (ld): Add _dl_find_dso_for_object.
40574 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
40575 * elf/dl-open.c (_dl_find_dso_for_object): New function.
40576 (dl_open_worker): Use _dl_find_dso_for_object.
40577 * elf/dl-sym.c (do_sym): Likewise.
40578 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
40579
40580 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40581
40582 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
40583 Syntactic changes only.
40584 (_dl_runtime_profile): Do a tail-call to the resolved function.
40585
40586 2013-02-17 Joseph Myers <joseph@codesourcery.com>
40587
40588 [BZ #13550]
40589 * sysdeps/x86_64/bp-asm.h: Remove file.
40590 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
40591 <bp-sym.h> and <bp-asm.h>.
40592 (__clone): Do not use BP_SYM.
40593 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
40594 <bp-sym.h> and <bp-asm.h>.
40595 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40596 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
40597 "bp-asm.h".
40598 (_setjmp): Do not use BP_SYM.
40599 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
40600 "bp-asm.h".
40601 (setjmp): Do not use BP_SYM.
40602 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
40603 libc_hidden_def.
40604 (mempcpy): Do not use BP_SYM in weak_alias.
40605 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
40606 "bp-asm.h".
40607 (strchr): Do not use BP_SYM.
40608 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
40609 "bp-asm.h".
40610 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
40611 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
40612 (_start): Do not use BP_SYM.
40613 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
40614 "bp-asm.h".
40615 (strcat): Do not use BP_SYM.
40616 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
40617 "bp-asm.h".
40618 (STRCMP): Do not use BP_SYM.
40619 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
40620 "bp-asm.h".
40621 (STRCPY): Do not use BP_SYM.
40622 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
40623 "bp-asm.h".
40624 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
40625 "bp-asm.h".
40626 (FUNCTION): Do not use BP_SYM.
40627 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
40628 weak_alias.
40629 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
40630
40631 2013-02-17 Andreas Jaeger <aj@suse.de>
40632
40633 * time/Versions: Sort entries.
40634 * string/Versions: Likewise.
40635 * resolv/Versions: Likewise.
40636 * posix/Versions: Likewise.
40637 * iconv/Versions: Likewise.
40638 * elf/Versions: Likewise.
40639 * wcsmbs/Versions: Likewise.
40640
40641 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
40642
40643 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
40644 loop termination condition.
40645
40646 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
40647 variable to calculate EZ.
40648 (__sqr): Likewise.
40649
40650 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
40651 the lower precision input.
40652
40653 2013-02-15 Joseph Myers <joseph@codesourcery.com>
40654
40655 [BZ #13550]
40656 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
40657 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
40658 (run-via-rtld-prefix): Do not handle %-bp tests.
40659 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
40660 (all-object-suffixes): Remove .ob.
40661 (bppfx): Remove variable.
40662 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
40663 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
40664 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
40665 [$(build-bounded) = yes] (libtype.ob): Likewise.
40666 * Makerules (elide-routines.ob): Remove variable.
40667 (do-tests-clean): Do not handle *-bp.out.
40668 (common-mostlyclean): Do not handle *-bp and *-bp.out.
40669 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
40670 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
40671 (tests): Do not include $(tests-bp.out).
40672 (xtests): Do not include $(xtests-bp.out).
40673 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
40674 [$(build-bounded) = yes] ($(addprefix
40675 $(objpfx),$(binaries-bounded))): Remove rule.
40676 ($(objpfx)%-bp.out): Remove rule.
40677 * config.make.in (build-bounded): Remove variable.
40678 * crypt/Makefile [$(build-bounded) = yes]
40679 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
40680 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
40681 append to variable.
40682 [$(build-bounded) = yes] (install-lib): Likewise.
40683 [$(build-bounded) = yes] (generated): Likewise.
40684 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
40685 Remove rule.
40686 * intl/Makefile [$(build-bounded) = yes]
40687 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
40688 * math/Makefile [$(build-bounded) = yes]
40689 ($(tests:%=$(objpfx)%-bp): Likewise.
40690 * misc/Makefile [$(build-bounded) = yes]
40691 ($(objpfx)tst-tsearch-bp): Likewise.
40692 * nptl/Makeconfig (bounded-thread-library): Remove variable.
40693 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
40694 Remove dependency.
40695 * string/Makefile (o-objects.ob): Remove variable.
40696 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
40697 (CFLAGS-.ob): Remove variable.
40698 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
40699 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
40700 both definitions of variable.
40701 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
40702 (ASFLAGS-.ob): Remove variable.
40703
40704 2013-02-14 Joseph Myers <joseph@codesourcery.com>
40705
40706 [BZ #13550]
40707 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
40708 Remove __BOUNDED_POINTERS__ from condition.
40709 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
40710 * string/bits/string2.h [!__NO_STRING_INLINES &&
40711 !__BOUNDED_POINTERS__]: Likewise.
40712 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
40713 Likewise.
40714 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
40715 Remove conditional code.
40716 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
40717 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
40718 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
40719 condition.
40720
40721 [BZ #13550]
40722 * csu/libc-start.c: Do not include <bp-sym.h>.
40723 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
40724 * elf/dl-open.c: Do not include <bp-sym.h>.
40725 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
40726 * math/fegetenv.c: Do not include <bp-sym.h>.
40727 (fegetenv): Do not use BP_SYM in versioned symbols.
40728 * nptl/sysdeps/pthread/bits/libc-lockP.h
40729 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
40730 <bp-sym.h>.
40731 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40732 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
40733 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40734 (__pthread_mutex_destroy): Likewise.
40735 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40736 (__pthread_mutex_lock): Likewise.
40737 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40738 (__pthread_mutex_trylock): Likewise.
40739 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40740 (__pthread_mutex_unlock): Likewise.
40741 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40742 (__pthread_mutexattr_init): Likewise.
40743 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40744 (__pthread_mutexattr_destroy): Likewise.
40745 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40746 (__pthread_mutexattr_settype): Likewise.
40747 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40748 (__pthread_rwlock_init): Likewise.
40749 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40750 (__pthread_rwlock_destroy): Likewise.
40751 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40752 (__pthread_rwlock_rdlock): Likewise.
40753 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40754 (__pthread_rwlock_tryrdlock): Likewise.
40755 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40756 (__pthread_rwlock_wrlock): Likewise.
40757 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40758 (__pthread_rwlock_trywrlock): Likewise.
40759 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40760 (__pthread_rwlock_unlock): Likewise.
40761 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40762 (__pthread_key_create): Likewise.
40763 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40764 (__pthread_setspecific): Likewise.
40765 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40766 (__pthread_getspecific): Likewise.
40767 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
40768 Likewise.
40769 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40770 (_pthread_cleanup_push_defer): Likewise.
40771 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40772 (_pthread_cleanup_pop_restore): Likewise.
40773 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40774 (pthread_setcancelstate): Likewise.
40775 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
40776 <bp-sym.h>.
40777 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
40778 (memchr): Do not use BP_SYM in weak_alias.
40779 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
40780 (fegetenv): Do not use BP_SYM in versioned symbols.
40781 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
40782 (fesetenv): Do not use BP_SYM in versioned symbols.
40783 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
40784 (feupdateenv): Do not use BP_SYM in versioned symbols.
40785 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
40786 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
40787 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
40788 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
40789 (open64): Do not use BP_SYM in weak_alias.
40790 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
40791 (fegetenv): Do not use BP_SYM in versioned symbols.
40792 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
40793 (fesetenv): Do not use BP_SYM in versioned symbols.
40794 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
40795 (feupdateenv): Do not use BP_SYM in versioned symbols.
40796 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
40797 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
40798 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
40799 (feraiseexcept): Do not use BP_SYM in versioned symbols.
40800 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
40801 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
40802 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
40803 <bp-sym.h>.
40804 (__libc_start_main): Do not use BP_SYM.
40805
40806 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
40807
40808 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
40809 redundant return line.
40810 (norm): Likewise.
40811 (denorm): Likewise.
40812 (dbl_mp): Likewise.
40813 (sub_magnitudes): Likewise.
40814 (__add): Likewise.
40815 (__sub): Likewise.
40816 (__mul): Likewise.
40817 (__inv): Likewise.
40818 (__dvd): Likewise.
40819 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
40820 (norm): Likewise.
40821 (denorm): Likewise.
40822 (dbl_mp): Likewise.
40823 (sub_magnitudes): Likewise.
40824 (__add): Likewise.
40825 (__sub): Likewise.
40826 (__mul): Likewise.
40827 (__inv): Likewise.
40828 (__dvd): Likewise.
40829
40830 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
40831 instead of __mul.
40832 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40833 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
40834 (cc32): Likewise.
40835
40836 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
40837 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
40838 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
40839 of __mul for squares.
40840 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
40841 function
40842 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
40843 Likewise.
40844 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
40845 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40846
40847 2013-02-13 Joseph Myers <joseph@codesourcery.com>
40848
40849 [BZ #13550]
40850 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
40851 code.
40852 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
40853 prototype or function definition. Rename ubp_* variables and
40854 parameters. Remove argv definitions conditional on
40855 [__BOUNDED_POINTERS__].
40856 * debug/backtrace.c (__backtrace): Do not use __unbounded.
40857 * elf/dl-runtime.c (_dl_fixup): Likewise.
40858 * include/set-hooks.h (RUN_HOOK): Likewise.
40859 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
40860 definition.
40861 * string/strcpy.c (strcpy): Do not use __unbounded.
40862 * sysdeps/generic/frame.h (struct layout): Likewise.
40863 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
40864 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
40865 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
40866 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
40867 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
40868 (__backtrace): Likewise.
40869 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
40870 use __ptrvalue.
40871 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
40872 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
40873 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
40874 Likewise.
40875 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
40876 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
40877 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
40878 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
40879 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
40880 Do not use __unbounded.
40881 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
40882 Rename __unboundedrlimits parameter to rlimits in prototype.
40883 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
40884 Do not use __unbounded.
40885 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
40886 not use __ptrvalue.
40887 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
40888 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
40889 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
40890 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
40891 __ptrvalue or __unbounded.
40892 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
40893 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
40894 use __unbounded.
40895 (__new_msgctl): Do not use __ptrvalue.
40896 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
40897 __unbounded.
40898 (__libc_msgrcv): Do not use __ptrvalue.
40899 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
40900 startup_info): Do not use __unbounded.
40901 (__libc_start_main): Likewise. Rename ubp_* variables and
40902 parameters. Remove argv definitions conditional on
40903 [__BOUNDED_POINTERS__].
40904 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
40905 __ptrvalue.
40906 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
40907 use __unbounded.
40908 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
40909 or __ptrvalue.
40910 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
40911 use __unbounded.
40912 (__new_shmctl): Do not use __ptrvalue.
40913 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
40914 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
40915 Likewise.
40916 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
40917 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
40918 (__libc_sigaction): Likewise.
40919 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
40920 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
40921 Likewise.
40922 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
40923
40924 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
40925
40926 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
40927
40928 * string/mempcpy.c: Implement by calling memcpy.
40929
40930 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
40931
40932 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
40933
40934 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
40935 evaluation.
40936
40937 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
40938 values in the mantissa.
40939
40940 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
40941 minimize writes to Z.
40942 (sub_magnitudes): Simplify code a bit.
40943
40944 2013-02-12 Roland McGrath <roland@hack.frob.com>
40945
40946 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
40947 from the message. The linker prefixes all warnings with that already.
40948
40949 2013-02-12 Andreas Schwab <schwab@suse.de>
40950
40951 [BZ #15078]
40952 * posix/regexec.c (extend_buffers): Add parameter min_len.
40953 (check_matching): Pass minimum needed length.
40954 (clean_state_log_if_needed): Likewise.
40955 (get_subexp): Likewise.
40956 * posix/Makefile (tests): Add bug-regex34.
40957 (bug-regex34-ENV): Define.
40958 * posix/bug-regex34.c: New file.
40959
40960 [BZ #11561]
40961 * posix/regcomp.c (parse_bracket_exp): When looking up collating
40962 elements compare against the byte sequence of it, not its name.
40963 * posix/Makefile (tests): Add bug-regex35.
40964 (bug-regex35-ENV): Define.
40965 * posix/bug-regex35.c: New file.
40966
40967 2013-02-11 Tom de Vries <tom@codesourcery.com>
40968
40969 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
40970 comment.
40971 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
40972 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
40973 (CHECK_EOL): Add undef.
40974
40975 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
40976
40977 * bits/stdlib-bsearch.h: New file.
40978 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
40979 * stdlib/stdlib.h: Likewise.
40980
40981 2013-02-11 Roland McGrath <roland@hack.frob.com>
40982
40983 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
40984 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
40985 declaration.
40986 * manual/search.texi (Array Search Function): Add missing const in
40987 lfind prototype.
40988 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
40989 declaration to use rlim_t.
40990 (Basic Scheduling Functions): Remove erroneous const from
40991 sched_getparam prototype. Remove erroneous * from
40992 sched_get_priority_max and sched_get_priority_min prototypes.
40993 (Resource Usage): Fix summary @comment on vtimes to refer to
40994 sys/vtimes.h rather than vtimes.h.
40995 Add missing *s in vtimes prototype.
40996 (Limits on Resources): Fix ulimit prototype to return long int.
40997 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
40998 prototypes to use long int rather than double.
40999 (BSD Random): Fix initstate and setstate to use char *, not void *.
41000 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
41001 prototype to make second argument 'struct aiocb64 *const[]'.
41002 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
41003 (Status of AIO Operations): Remove erroneous const in aio_return and
41004 aio_return64 prototypes.
41005 (Synchronizing I/O): Fix sync prototype to return void.
41006 * manual/startup.texi (Suboptions): Remove an erroneous const in
41007 getsubopt prototype.
41008 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
41009 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
41010 use size_t rather than int.
41011 (Scanning All Users): Likewise for getpwent_r.
41012 (Setting Groups): Add missing const to setgroups prototype.
41013 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
41014 * manual/socket.texi (Host Names): Fix gethostbyaddr and
41015 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
41016 'const void *' rather than 'const char *'.
41017 (Host Address Functions): Likewise for inet_ntop.
41018 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
41019 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
41020 ssize_t for return value.
41021 (Sending Data): Likewise for send, sendto, sendmsg.
41022 (Socket Option Functions): Add a missing const in setsockopt prototype.
41023 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
41024 use wchar_t for the argument.
41025 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
41026 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
41027 take no arguments.
41028 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
41029 double/float/long double for second argument.
41030 Fix return types of significand, significandf, significandl.
41031 * manual/filesys.texi (Setting Permissions): Use mode_t for second
41032 argument in fchmod prototype.
41033 (File Owner): Use uid_t and gid_t in fchown prototype.
41034 (File Times): Add const to utimes, futimes, and lutimes prototypes.
41035 (Making Special Files): Use mode_t and dev_t in mknod prototype.
41036 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
41037 use 'const struct dirent **' as argument types to CMP function pointer
41038 argument.
41039 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
41040 (File Times): Fix summary magic @comment for struct utimbuf and utime
41041 to refer to utime.h, not time.h.
41042 * manual/string.texi (Argz Functions): Add missing const in
41043 argz_extract and argz_next prototypes.
41044 (Finding Tokens in a String): Likewise for basename.
41045 (String/Array Comparison): Fix typo in wcscasecmp prototype.
41046 (Copying and Concatenation): Fix typo in wmemmove prototype.
41047 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
41048 (Signal Stack): Remove erroneous const in sigstack prototype.
41049 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
41050 prototype.
41051 (Simple Calendar Time): Likewise for stime.
41052 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
41053 prototype.
41054 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
41055 say sys/sysctl.h instead.
41056 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
41057 and vsyslog prototypes.
41058
41059 2013-02-11 Tom de Vries <tom@codesourcery.com>
41060
41061 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
41062 Remove.
41063
41064 2013-02-11 Roland McGrath <roland@hack.frob.com>
41065
41066 * misc/sys/mman.h: Fix typo in mremap comment.
41067
41068 2013-02-08 Roland McGrath <roland@hack.frob.com>
41069
41070 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
41071 the '\0' terminator.
41072
41073 2013-02-08 Joseph Myers <joseph@codesourcery.com>
41074
41075 [BZ #13550]
41076 * debug/segfault.c: Don't include <bp-checks.h>.
41077 * sysdeps/generic/bp-checks.h: Remove file.
41078 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
41079 (__GETDENTS): Don't use CHECK_N.
41080 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
41081 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
41082 (__getgroups): Don't use CHECK_N.
41083 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
41084 (setgroups): Don't use CHECK_N.
41085 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
41086 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
41087 (__libc_msgrcv): Don't use CHECK_N.
41088 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
41089 (__libc_msgsnd): Don't use CHECK_N.
41090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
41091 <bp-checks.h>.
41092 (__libc_pread): Don't use CHECK_N.
41093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
41094 include <bp-checks.h>.
41095 (__libc_pread64): Don't use CHECK_N.
41096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
41097 include <bp-checks.h>.
41098 (__libc_pwrite): Don't use CHECK_N.
41099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
41100 include <bp-checks.h>.
41101 (__libc_pwrite64): Don't use CHECK_N.
41102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
41103 <bp-checks.h>.
41104 (__libc_pread): Don't use CHECK_N.
41105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
41106 include <bp-checks.h>.
41107 (__libc_pread64): Don't use CHECK_N.
41108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
41109 include <bp-checks.h>.
41110 (__libc_pwrite): Don't use CHECK_N.
41111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
41112 include <bp-checks.h>.
41113 (__libc_pwrite64): Don't use CHECK_N.
41114 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
41115 (do_pread): Don't use CHECK_N.
41116 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
41117 (do_pread64): Don't use CHECK_N.
41118 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
41119 (do_pwrite): Don't use CHECK_N.
41120 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
41121 (do_pwrite64): Don't use CHECK_N.
41122 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
41123 (__libc_readv): Don't use CHECK_N.
41124 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
41125 (semop): Don't use CHECK_N.
41126 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
41127 <bp-checks.h>.
41128 (semtimedop): Don't use CHECK_N.
41129 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
41130 (__libc_pread): Don't use CHECK_N.
41131 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
41132 <bp-checks.h>.
41133 (__libc_pread64): Don't use CHECK_N.
41134 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
41135 <bp-checks.h>.
41136 (__libc_pwrite): Don't use CHECK_N.
41137 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
41138 <bp-checks.h>.
41139 (__libc_pwrite64): Don't use CHECK_N.
41140 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
41141 <bp-checks.h>.
41142 (__libc_msgrcv): Don't use CHECK_N.
41143 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
41144 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
41145 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
41146 (__libc_writev): Don't use CHECK_N.
41147
41148 2013-02-08 Roland McGrath <roland@hack.frob.com>
41149
41150 * string/strcpy.c: Removed unused variable.
41151
41152 * Makeconfig (+sysdep-includes): Define with := rather than =.
41153 Use an existing include/ subdir of each sysdeps dir before it.
41154
41155 2013-02-08 Carlos O'Donell <carlos@redhat.com>
41156
41157 * nscd/connection.c (register_traced_file): Comment function.
41158 [HAVE_INOTIFY] (union __inev): Define.
41159 [HAVE_INOTIFY] (inotify_check_files): New function.
41160 [HAVE_INOTIFY] (clear_db_cache): Likewise.
41161 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
41162 clear_db_cache.
41163 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
41164
41165 2013-02-08 Carlos O'Donell <carlos@redhat.com>
41166
41167 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
41168 loaded if not already and that a failure is permanent.
41169
41170 2013-02-08 Carlos O'Donell <carlos@redhat.com>
41171
41172 [BZ #15006]
41173 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
41174 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
41175
41176 2013-02-08 Joseph Myers <joseph@codesourcery.com>
41177
41178 [BZ #13550]
41179 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
41180 (CHECK_1_NULL_OK): Likewise.
41181 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
41182 (__fxstat): Do not use CHECK_1.
41183 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
41184 <bp-checks.h>.
41185 (___fxstat64): Do not use CHECK_1.
41186 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
41187 <bp-checks.h>.
41188 (__fxstatat): Do not use CHECK_1.
41189 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
41190 <bp-checks.h>.
41191 (__fxstatat64): Do not use CHECK_1.
41192 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
41193 <bp-checks.h>.
41194 (__fxstat): Do not use CHECK_1.
41195 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
41196 <bp-checks.h>.
41197 (__fxstatat): Do not use CHECK_1.
41198 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41199 <bp-checks.h>.
41200 (__getresgid): Do not use CHECK_1.
41201 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41202 <bp-checks.h>.
41203 (__getresuid): Do not use CHECK_1.
41204 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
41205 <bp-checks.h>.
41206 (__lxstat): Do not use CHECK_1.
41207 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41208 <bp-checks.h>.
41209 (__old_msgctl): Do not use CHECK_1.
41210 (__new_msgctl): Likewise.
41211 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
41212 <bp-checks.h>.
41213 (__new_setrlimit): Do not use CHECK_1.
41214 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41215 <bp-checks.h>.
41216 (__old_shmctl): Do not use CHECK_1.
41217 (__new_shmctl): Likewise.
41218 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
41219 <bp-checks.h>.
41220 (__xstat): Do not use CHECK_1.
41221 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
41222 (__lxstat): Do not use CHECK_1.
41223 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
41224 <bp-checks.h>.
41225 (___lxstat64): Do not use CHECK_1.
41226 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
41227 (__old_msgctl): Do not use CHECK_1.
41228 (__new_msgctl): Likewise.
41229 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
41230 <bp-checks.h>.
41231 (__gettimeofday): Do not use CHECK_1.
41232 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
41233 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
41234 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
41235 <bp-checks.h>.
41236 (__gettimeofday): Do not use CHECK_1.
41237 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
41238 (__old_shmctl): Do not use CHECK_1_NULL_OK.
41239 (__new_shmctl): Do not use CHECK_1.
41240 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
41241 <bp-checks.h>.
41242 (do_sigtimedwait): Do not use CHECK_1.
41243 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
41244 <bp-checks.h>.
41245 (do_sigwaitinfo): Do not use CHECK_1.
41246 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
41247 <bp-checks.h>.
41248 (msgctl): Do not use CHECK_1.
41249 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
41250 <bp-checks.h>.
41251 (shmctl): Do not use CHECK_1.
41252 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
41253 (ustat): Do not use CHECK_1.
41254 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
41255 <bp-checks.h>.
41256 (__fxstat): Do not use CHECK_1.
41257 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
41258 <bp-checks.h>.
41259 (__fxstatat): Do not use CHECK_1.
41260 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
41261 <bp-checks.h>.
41262 (__lxstat): Do not use CHECK_1.
41263 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
41264 <bp-checks.h>.
41265 (__xstat): Do not use CHECK_1.
41266 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
41267 (__xstat): Do not use CHECK_1.
41268 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
41269 (___xstat64): Do not use CHECK_1.
41270
41271 [BZ #13550]
41272 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
41273 definitions.
41274 (CHECK_BOUNDS_HIGH): Likewise.
41275 * string/strcpy.c: Do not include <bp-checks.h>.
41276 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
41277
41278 2013-02-07 Roland McGrath <roland@hack.frob.com>
41279
41280 * nscd/nscd-client.h (__nscd_drop_map_ref):
41281 Add __attribute__ ((unused)).
41282 * nis/nss-nisplus.h (niserr2nss): Likewise.
41283
41284 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
41285 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
41286
41287 * csu/libc-tls.c (init_static_tls, init_slotinfo):
41288 Remove inline keyword.
41289 * include/rounding-mode.h (round_away): Likewise.
41290 * libio/wfileops.c (adjust_wide_data): Likewise.
41291 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
41292 (__m128i_strloadu_tolower): Likewise.
41293 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
41294 (__m128i_strloadu_tolower): Likewise.
41295 * time/mktime.c (ydhms_diff): Likewise.
41296 * locale/elem-hash.h (elem_hash): Likewise.
41297 * locale/setlocale.c (setdata): Likewise.
41298 * posix/regex_internal.h (re_string_char_size_at): Likewise.
41299 (re_string_wchar_at): Likewise.
41300 (bitset_not, bitset_merge, bitset_mask): Likewise.
41301 [!(__GNUC__ > 3)] (inline): Remove macro.
41302 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
41303 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
41304 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
41305 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
41306 * string/memcmp.c (memcmp_bytes): Likewise.
41307 * locale/programs/locarchive.c (compute_hashval): Likewise.
41308 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
41309 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
41310 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
41311 * nss/getent.c (print_rpc, print_protocols): Likewise.
41312 (print_passwd, print_group, print_aliases): Likewise.
41313 * nis/nss-nisplus.h (niserr2nss): Likewise.
41314 * nscd/connections.c (restart_p): Likewise.
41315 Change return type to bool.
41316
41317 2013-02-05 Roland McGrath <roland@hack.frob.com>
41318
41319 * Makeconfig (all-Depend-files): Add existing
41320 $(sorted-subdirs:=/Depend) files.
41321 (all-subdirs): Remove nss.
41322 * sysdeps/unix/inet/Subdirs: Add it here instead.
41323 * hesiod/Depend: New file.
41324
41325 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
41326 instead of calling alloca.
41327
41328 * io/lseek.c (__lseek): Rename to __libc_lseek.
41329 Define __lseek as an alias.
41330
41331 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
41332
41333 2013-02-04 Carlos O'Donell <carlos@redhat.com>
41334
41335 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
41336 else clause and remove check for non-standard endianness.
41337
41338 2013-02-04 David S. Miller <davem@davemloft.net>
41339
41340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41341
41342 2013-02-04 Joseph Myers <joseph@codesourcery.com>
41343
41344 [BZ #13550]
41345 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
41346 (__ubp_memchr): Remove prototype.
41347 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
41348 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
41349 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
41350 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
41351 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
41352 Remove alias.
41353 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
41354 (__ubp_memchr): Likewise.
41355 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
41356 (__ubp_memchr): Likewise.
41357 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
41358 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
41359 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
41360 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
41361 CHECK_STRING.
41362 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
41363 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
41364 (__getcwd): Do not use CHECK_STRING.
41365 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41366 <bp-checks.h>.
41367 (__real_chown): Do not use CHECK_STRING.
41368 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
41369 <bp-checks.h>.
41370 (fchownat): Do not use CHECK_STRING.
41371 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
41372 CHECK_STRING.
41373 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41374 <bp-checks.h>.
41375 (__lchown): Do not use CHECK_STRING.
41376 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
41377 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
41378 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
41379 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
41380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41381 include <bp-checks.h>.
41382 (truncate64): Do not use CHECK_STRING.
41383 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41384 <bp-checks.h>.
41385 (__real_chown): Do not use CHECK_STRING.
41386 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41387 <bp-checks.h>.
41388 (__lchown): Do not use CHECK_STRING.
41389 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41390 <bp-checks.h>.
41391 (__chown): Do not use CHECK_STRING.
41392 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
41393 <bp-checks.h>.
41394 (truncate64): Do not use CHECK_STRING.
41395 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
41396 Likewise.
41397 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
41398 (__xmknod): Do not use CHECK_STRING.
41399 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
41400 <bp-checks.h>.
41401 (__xmknodat): Do not use CHECK_STRING.
41402 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
41403 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
41404
41405 2013-02-04 Andreas Schwab <schwab@suse.de>
41406
41407 [BZ #14142]
41408 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
41409 * include/netdb.h: Likewise for h_errno.
41410 * elf/tst-stackguard1.c: Include <tls.h>.
41411
41412 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
41413
41414 * elf/link.h (struct link_map): Extend the l_addr comment.
41415 * include/link.h (struct link_map): Likewise.
41416
41417 2013-02-01 Joseph Myers <joseph@codesourcery.com>
41418
41419 [BZ #13550]
41420 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
41421 (BOUNDED_1): Remove macro.
41422 * debug/backtrace.c: Don't include <bp-checks.h>.
41423 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
41424 (__backtrace): Likewise.
41425 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
41426 <bp-checks.h>.
41427 (__backtrace): Don't use BOUNDED_1.
41428 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
41429 <bp-checks.h>.
41430 (__backtrace): Don't use BOUNDED_1.
41431 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
41432 (__backtrace): Don't use BOUNDED_1.
41433 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
41434 (shmat): Don't use BOUNDED_N.
41435
41436 2013-01-31 Joseph Myers <joseph@codesourcery.com>
41437
41438 [BZ #13550]
41439 * sysdeps/generic/bp-start.h: Remove file.
41440 * csu/libc-start.c: Don't include <bp-start.h>.
41441 (LIBC_START_MAIN): Set up __environ directly instead of using
41442 INIT_ARGV_and_ENVIRON.
41443 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
41444 <bp-start.h>.
41445
41446 [BZ #13550]
41447 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
41448 definitions.
41449 (CHECK_FCNTL): Likewise.
41450 (CHECK_N_PAGES): Likewise.
41451
41452 [BZ #13550]
41453 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
41454 definitions.
41455 (CHECK_SIGSET_NULL_OK): Likewise.
41456 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
41457 <bp-checks.h>.
41458 (sigpending): Don't use CHECK_SIGSET.
41459 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
41460 <bp-checks.h>.
41461 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41462 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
41463 <bp-checks.h>.
41464 (do_sigsuspend): Don't use CHECK_SIGSET.
41465 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
41466 use CHECK_SIGSET.
41467 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
41468 (do_sigwait): Don't use CHECK_SIGSET.
41469 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
41470 use CHECK_SIGSET.
41471 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
41472 include <bp-checks.h>.
41473 (sigpending): Don't use CHECK_SIGSET.
41474 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
41475 include <bp-checks.h>.
41476 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41477 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
41478 <bp-checks.h>.
41479 (sigpending): Don't use CHECK_SIGSET.
41480 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
41481 <bp-checks.h>.
41482 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41483
41484 [BZ #13550]
41485 * sysdeps/generic/bp-semctl.h: Remove file.
41486 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
41487 <bp-checks.h> and <bp-semctl.h>.
41488 (__old_semctl): Don't use CHECK_SEMCTL.
41489 (__new_semctl): Likewise.
41490 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
41491 and <bp-semctl.h>.
41492 (__old_semctl): Don't use CHECK_SEMCTL.
41493 (__new_semctl): Likewise.
41494 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
41495 <bp-checks.h> and <bp-semctl.h>.
41496 (__old_semctl): Don't use CHECK_SEMCTL.
41497 (__new_semctl): Likewise.
41498 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
41499 <bp-checks.h> and <bp-semctl.h>.
41500 (semctl): Don't use CHECK_SEMCTL.
41501
41502 [BZ #13550]
41503 * Makerules (elide-bp-thunks): Remove variable.
41504 (elide-routines.oS): Don't use $(elide-bp-thunks).
41505 (elide-routines.os): Likewise.
41506 (elide-routines.o): Likewise.
41507 (elide-routines.op): Likewise.
41508 (elide-routines.og): Likewise.
41509 (objects): Don't use $(bp-thunks).
41510 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
41511 include.
41512 (common-generated): Do not add s-proto-bp.d.
41513 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
41514 (int): Likewise.
41515 (typ): Likewise.
41516 Do not generate makefile rules for bounded-pointer thunks.
41517 * sysdeps/generic/bp-thunks.h: Remove file.
41518 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
41519 * sysdeps/unix/s-proto-bp.S: Likewise.
41520
41521 [BZ #15062]
41522 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
41523 parts of result separately when argument is not close to line from
41524 -i to i and one part of argument is small.
41525 * math/k_casinhf.c (__kernel_casinhf): Likewise.
41526 * math/k_casinhl.c (__kernel_casinhl): Likewise.
41527 * math/libm-test.inc (cacos_test): Add more tests.
41528 (casin_test): Likewise.
41529 (casinh_test): Likewise.
41530 * sysdeps/i386/fpu/libm-test-ulps: Update.
41531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41532
41533 2013-01-31 David S. Miller <davem@davemloft.net>
41534
41535 * po/de.po: Update from translation team.
41536
41537 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
41538
41539 * time/tzfile.c: Include stdint.h for SIZE_MAX.
41540
41541 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
41542
41543 * configure.in (_AC_PROG_CC_C89): New definition.
41544 * configure: Regenerate.
41545
41546 * configure.in (AC_PROG_CPP): New definition.
41547 * configure: Regenerate.
41548
41549 2013-01-23 Joseph Myers <joseph@codesourcery.com>
41550
41551 * debug/tst-backtrace.h: New file.
41552 * debug/tst-backtrace2.c: Include tst-backtrace.h.
41553 (ret): Remove variable.
41554 (x): Likewise.
41555 (FAIL): Remove macro.
41556 (NO_INLINE): Likewise.
41557 (fn1): Use match function instead of strstr.
41558 * debug/tst-backtrace3.c: Include tst-backtrace.h.
41559 (ret): Remove variable.
41560 (x): Likewise.
41561 (FAIL): Remove macro.
41562 (NO_INLINE): Likewise.
41563 (fn): Use match function instead of strstr.
41564 * debug/tst-backtrace4.c: Include tst-backtrace.h.
41565 (ret): Remove variable.
41566 (x): Likewise.
41567 (FAIL): Remove macro.
41568 (NO_INLINE): Likewise.
41569 (handle_signal): Use match function instead of strstr.
41570 * debug/tst-backtrace5.c: Include tst-backtrace.h.
41571 (ret): Remove variable.
41572 (x): Likewise.
41573 (FAIL): Remove macro.
41574 (NO_INLINE): Likewise.
41575 (handle_signal): Use match function instead of strstr.
41576
41577 2013-01-23 Roland McGrath <roland@hack.frob.com>
41578
41579 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
41580
41581 2013-01-23 David S. Miller <davem@davemloft.net>
41582
41583 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
41584 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
41585 argument of CAS if possible.
41586 * sysdeps/sparc/sparc64/bits/atomic.h
41587 (__arch_compare_and_exchange_val_32_acq): Likewise.
41588 (__arch_compare_and_exchange_val_64_acq): Likewise.
41589
41590 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
41591
41592 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
41593 * sysdeps/posix/ulimit.c: ... this.
41594 Include <limits.h>.
41595 * sysdeps/unix/bsd/ulimit.c: Remove file.
41596
41597 2013-01-23 Adam Conrad <adconrad@0c3.net>
41598
41599 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
41600 (LDFLAGS-tst-array5): Likewise.
41601
41602 2013-01-23 Joseph Myers <joseph@codesourcery.com>
41603
41604 [BZ #15036]
41605 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
41606 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
41607 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
41608 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
41609
41610 2013-01-21 David S. Miller <davem@davemloft.net>
41611
41612 * sysdeps/sparc/backtrace.c: New file.
41613 * sysdeps/sparc/sparc32/backtrace.h: New file.
41614 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
41615 * sysdeps/sparc/sparc64/backtrace.h: New file.
41616 * sysdeps/sparc/sparc64/backtrace.c: Delete.
41617 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
41618 -funwind-tables.
41619
41620 2013-01-21 Andreas Schwab <schwab@suse.de>
41621
41622 [BZ #15020]
41623 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
41624 closed its stdout.
41625
41626 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
41627
41628 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
41629 "mpa2.h".
41630 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41631
41632 2013-01-18 Joseph Myers <joseph@codesourcery.com>
41633 Mark Mitchell <mark@codesourcery.com>
41634 Tom de Vries <tom@codesourcery.com>
41635 Paul Pluzhnikov <ppluzhnikov@google.com>
41636
41637 * debug/tst-backtrace2.c: New file.
41638 * debug/tst-backtrace3.c: Likewise.
41639 * debug/tst-backtrace4.c: Likewise.
41640 * debug/tst-backtrace5.c: Likewise.
41641 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
41642 (CFLAGS-tst-backtrace3.c): Likewise.
41643 (CFLAGS-tst-backtrace4.c): Likewise.
41644 (CFLAGS-tst-backtrace5.c): Likewise.
41645 (LDFLAGS-tst-backtrace2): Likewise.
41646 (LDFLAGS-tst-backtrace3): Likewise.
41647 (LDFLAGS-tst-backtrace4): Likewise.
41648 (LDFLAGS-tst-backtrace5): Likewise.
41649 (tests): Add new tests tst-backtrace2, tst-backtrace3,
41650 tst-backtrace4 and tst-backtrace5.
41651
41652 2013-01-18 Anton Blanchard <anton@samba.org>
41653 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41654
41655 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
41656 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
41657 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
41658 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
41659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41660 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
41661 "+r" and remove output regs list as redundant. Add explicit inline
41662 asm to specify register of return val to work around compiler codegen
41663 bug. Remove (int) cast on return value. Add return type parameter to
41664 use in macro so that this macro does not truncate return value for
41665 64-bit values.
41666 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
41667 pass to INTERNAL_VSYSCALL_NCS.
41668 (INLINE_VSYSCALL): Add 'long int' as return type to
41669 INTERNAL_VSYSCALL_NCS macro invocation.
41670 (INTERNAL_VSYSCALL): Add 'long int' as return type to
41671 INTERNAL_VSYSCALL_NCS macro invocation.
41672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41673
41674 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
41675
41676 [BZ #14496]
41677 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
41678 Fix application of SIMD FP exception mask.
41679
41680 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
41681 mp_no from a power of two.
41682 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
41683 __mpexp_twomm1. Use __pow_mp.
41684
41685 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
41686 multiplication.
41687
41688 2013-01-17 David S. Miller <davem@davemloft.net>
41689
41690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41691
41692 2013-01-17 Joseph Myers <joseph@codesourcery.com>
41693
41694 [BZ #15023]
41695 * include/complex.h: Condition contents on [!_COMPLEX_H].
41696 (__kernel_casinhf): New prototype.
41697 (__kernel_casinh): Likewise.
41698 (__kernel_casinhl): Likewise.
41699 * math/Makefile (libm_calls): Add k_casinh.
41700 * math/k_casinh.c: New file.
41701 * math/k_casinhf.c: Likewise.
41702 * math/k_casinhl.c: Likewise.
41703 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
41704 finite nonzero arguments.
41705 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
41706 finite nonzero arguments.
41707 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
41708 finite nonzero arguments.
41709 * math/s_casinh.c: Do not include <float.h>.
41710 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
41711 * math/s_casinhf.c: Do not include <float.h>.
41712 (__casinhf): Move code for finite nonzero arguments to
41713 k_casinhf.c.
41714 * math/s_casinhl.c: Do not include <float.h>.
41715 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
41716 redefine.
41717 (__casinhl): Move code for finite nonzero arguments to
41718 k_casinhl.c.
41719 * math/libm-test.inc (cacos_test): Add more tests.
41720 * sysdeps/i386/fpu/libm-test-ulps: Update.
41721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41722
41723 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
41724
41725 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
41726 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
41727 [!HAVE_MREMAP]: Remove [defined linux] case.
41728 * malloc/arena.c: Do not include <malloc-sysdep.h>.
41729
41730 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
41731
41732 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
41733
41734 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
41735
41736 * elf/elf.h (R_386_SIZE32): New relocation.
41737 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
41738 R_386_SIZE32.
41739 (elf_machine_rela): Likewise.
41740 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41741 R_X86_64_SIZE64 and R_X86_64_SIZE32.
41742
41743 2013-01-17 Joseph Myers <joseph@codesourcery.com>
41744
41745 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
41746 (FP_FAST_FMA): Do not define.
41747 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
41748 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
41749 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
41750 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
41751 !_SOFT_FLOAT]: Likewise.
41752 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
41753 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
41754 value.
41755 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
41756 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
41757 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
41758 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
41759 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
41760 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
41761 file.
41762
41763 2013-01-16 Andreas Schwab <schwab@suse.de>
41764
41765 [BZ #14327]
41766 * include/stdlib.h (__mktemp): Add declaration.
41767 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
41768 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
41769
41770 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
41771
41772 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
41773 definitions.
41774 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
41775 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
41776 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
41777 definitions here.
41778 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
41779 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
41780 definitions.
41781 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
41782 and ONE.
41783 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
41784 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
41785 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
41786 definitions.
41787 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
41788 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
41789 definitions.
41790 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
41791
41792 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
41793
41794 2013-01-15 David S. Miller <davem@davemloft.net>
41795
41796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41797 trunc{,f} to libm-sysdep_routes.
41798 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
41800 file.
41801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
41802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
41803 file.
41804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
41805 file.
41806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
41807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
41808 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
41809 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
41810 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
41811 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
41812 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
41813 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
41814
41815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41816 nearbyint{,f} to libm-sysdep_routes.
41817 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
41819 New file.
41820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
41821 file.
41822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
41823 New file.
41824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
41825 file.
41826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
41827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
41828 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
41829 file.
41830 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
41831 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
41832 file.
41833 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
41834 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
41835 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
41836
41837 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
41838 libc_feholdexcept and libc_fesetenv.
41839
41840 2013-01-15 Mike Frysinger <vapier@gentoo.org>
41841
41842 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
41843
41844 2013-01-14 David S. Miller <davem@davemloft.net>
41845
41846 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
41847 (SPARC_ASM_VIS2_IFUNC): Likewise.
41848 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
41849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
41850 use of 'siam' instruction.
41851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
41852 Likewise.
41853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
41854 Likewise.
41855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
41856 Likewise.
41857 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
41858 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
41859 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
41860 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
41861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
41862 file.
41863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
41864 file.
41865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
41866 file.
41867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
41868 file.
41869 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
41870 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
41871 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
41872 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
41873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
41874 new VIS2 routines.
41875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
41876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41878 Likewise.
41879 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41880 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41881 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41882 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
41884 routines to libm-sysdep_routines.
41885 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41886
41887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41888 fdim/fdimf to libm-sysdep_routines.
41889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
41890 file.
41891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
41892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
41893 file.
41894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
41895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
41896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
41897 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
41898 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
41899 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
41900 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
41901
41902 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
41903
41904 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
41905 to optimize copies.
41906
41907 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
41908 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41909 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41910
41911 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
41912 local variable MPTWO.
41913 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
41914 Likewise.
41915
41916 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41917
41918 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
41919 GLOB_NOESCAPE.
41920
41921 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41922
41923 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
41924
41925 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41926
41927 * manual/pattern.texi (glob_t): Document gl_flags.
41928 (glob64_t): Likewise.
41929
41930 2013-01-11 David S. Miller <davem@davemloft.net>
41931
41932 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
41933 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
41934 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
41935 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
41936 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
41937 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
41938 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
41939 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
41940 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
41941 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
41942 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
41943 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
41944 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
41945
41946 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
41947 sparc V9 rather than using V8 code.
41948 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41949 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41950
41951 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41952 Move to...
41953 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
41954 Here.
41955
41956 2013-01-11 Roland McGrath <roland@hack.frob.com>
41957
41958 [BZ #14941]
41959 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
41960 not in the main loop.
41961 * configure: Regenerated.
41962
41963 2013-01-11 Joseph Myers <joseph@codesourcery.com>
41964
41965 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
41966 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
41967 to just #else.
41968 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
41969 [!__GLIBC_HAVE_LONG_LONG] case.
41970 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
41971 condition to just #else.
41972 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
41973 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
41974 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
41975 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
41976 unconditional.
41977 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
41978 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41979 #elif condition to just #else.
41980 * sysdeps/unix/sysv/linux/sys/sysmacros.h
41981 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
41982 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41983 #elif condition to just #else.
41984
41985 2013-01-11 Steve Ellcey <sellcey@mips.com>
41986
41987 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
41988 (EF_MIPS_ARCH_64): Fix value.
41989 (EF_MIPS_ARCH_32R2): New.
41990 (EF_MIPS_ARCH_64R2): New.
41991
41992 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
41993
41994 * Makeconfig (+link-pie-before-libc): New.
41995 (+link-pie-after-libc): Likewise.
41996 (+link-pie-tests): Likewise.
41997 (+link-pie): Rewritten.
41998 (link-before-libc): Remove $(config-LDFLAGS).
41999 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
42000 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
42001 (config-LDFLAGS): Renamed to ...
42002 (rtld-LDFLAGS): This.
42003 (rtld-tests-LDFLAGS): New macro.
42004 (link-libc-rpath-link): Likewise.
42005 (link-libc-tests-rpath-link): Likewise.
42006 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
42007 (link-libc): Prepand $(link-libc-rpath-link).
42008 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
42009 (test-program-prefix): New macro.
42010 (test-via-rtld-prefix): Likewise.
42011 (test-program-cmd): Likewise.
42012 (host-test-program-cmd): Likewise.
42013 * Makefile ($(common-objpfx)testrun.sh): Replace
42014 $(run-program-prefix) with $(test-program-prefix).
42015 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
42016 $(rtld-LDFLAGS).
42017 ($(common-objpfx)shlib.lds): Likewise.
42018 (build-module-helper): Likewise.
42019 ($(common-objpfx)format.lds): Likewise.
42020 * Rules (binaries-pie-tests): New.
42021 (binaries-pie-notests): Likewise.
42022 (binaries-pie): Rewritten.
42023 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
42024 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
42025 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
42026 (make-test-out): Replace $(host-built-program-cmd) with
42027 $(host-test-program-cmd).
42028 * config.make.in (build-hardcoded-path-in-tests): New variable.
42029 * configure.in (--enable-hardcoded-path-in-tests): New configure
42030 option.
42031 (hardcoded_path_in_tests): New AC_SUBST.
42032 * configure: Regenerated.
42033 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
42034 $(built-program-cmd) with $(test-program-cmd).
42035 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
42036 (test_program_cmd): This.
42037 * elf/Makefile ($(objpfx)order.out): Run test with
42038 $(test-program-prefix).
42039 ($(objpfx)order2.out): Likewise.
42040 ($(objpfx)tst-initorder.out): Likewise.
42041 ($(objpfx)tst-initorder2.out): Likewise.
42042 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
42043 $(test-program-cmd).
42044 ($(objpfx)tst-array1-static.out): Likewise.
42045 ($(objpfx)tst-array2.out): Likewise.
42046 ($(objpfx)tst-array3.out): Likewise.
42047 ($(objpfx)tst-array4.out): Likewise.
42048 ($(objpfx)tst-array5.out): Likewise.
42049 ($(objpfx)tst-array5-static.out): Likewise.
42050 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
42051 $(test-program-cmd).
42052 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
42053 $(run-program-prefix) with $(test-program-prefix).
42054 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
42055 (test_program_prefix): This.
42056 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
42057 $(run-program-prefix) with $(test-program-prefix).
42058 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
42059 (test_program_prefix): This.
42060 * iconvdata/tst-tables.sh: Likewise.
42061 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
42062 $(run-program-prefix) with $(test-program-prefix).
42063 ($(objpfx)tst-translit.out): Likewise.
42064 ($(objpfx)tst-gettext2.out): Likewise.
42065 ($(objpfx)tst-gettext4.out): Likewise.
42066 ($(objpfx)tst-gettext6.out): Likewise.
42067 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
42068 (test_program_prefix): This.
42069 * intl/tst-gettext2.sh: Likewise.
42070 * intl/tst-gettext4.sh Likewise.
42071 * intl/tst-gettext6.sh: Likewise.
42072 * intl/tst-translit.sh: Likewise.
42073 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
42074 with $(test-program-cmd).
42075 * libio/Makefile ($(objpfx)test-freopen.out): Replace
42076 $(run-program-prefix) with $(test-program-prefix).
42077 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
42078 (test_program_prefix): This.
42079 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
42080 $(run-program-prefix) with $(test-program-prefix).
42081 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
42082 (test_program_prefix): This.
42083 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
42084 * posix/Makefile ($(objpfx)globtest.out): Replace
42085 $(run-via-rtld-prefix) and $(test-wrapper) with
42086 $(test-program-prefix) and $(test-via-rtld-prefix).
42087 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
42088 $(test-program-prefix).
42089 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
42090 $(host-test-program-cmd).
42091 (tst-spawn-ARGS): Likewise.
42092 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
42093 $(test-program-prefix).
42094 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
42095 (test_via_rtld_prefix): This.
42096 (test_wrapper): Renamed to ...
42097 (test_program_prefix): This.
42098 (run_program_prefix): Replaced by test_program_prefix.
42099 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
42100 (test_program_prefix): This.
42101 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
42102 with $(host-test-program-cmd).
42103 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
42104 $(run-program-prefix) with $(test-program-prefix).
42105 ($(objpfx)tst-printf.out): Likewise.
42106 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
42107 $(test-program-cmd).
42108 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
42109 (test_program_prefix): This.
42110 * stdio-common/tst-unbputc.sh: Likewise.
42111 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
42112 $(run-program-prefix) with $(test-program-prefix).
42113 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
42114 (test_program_prefix): This.
42115 * string/Makefile ($(objpfx)tst-svc.out): Replace
42116 $(built-program-cmd) with $(test-program-cmd).
42117
42118 2013-01-11 Andreas Jaeger <aj@suse.de>
42119
42120 [BZ #15003]
42121 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
42122 value. Sync with Linux 3.7.
42123
42124 2013-01-10 David S. Miller <davem@davemloft.net>
42125
42126 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
42127 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42128 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42129
42130 2013-01-10 Roland McGrath <roland@hack.frob.com>
42131
42132 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
42133 never set.
42134 * configure: Regenerated.
42135
42136 2013-01-10 David S. Miller <davem@davemloft.net>
42137
42138 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
42139 sparc V9 rather than using V8 code.
42140 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42141 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42142
42143 2013-01-10 Roland McGrath <roland@hack.frob.com>
42144
42145 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
42146 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
42147 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
42148 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
42149 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
42150 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
42151 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
42152 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
42153 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
42154 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
42155 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
42156 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
42157 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
42158 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
42159 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
42160 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
42161 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
42162 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
42163 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
42164 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
42165 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
42166 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
42167 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
42168 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
42169 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
42170 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
42171 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
42172
42173 2013-01-10 David S. Miller <davem@davemloft.net>
42174
42175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42176
42177 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
42178
42179 * posix/Makefile (tests-static): New variable.
42180 (tests): Add $(tests-static).
42181 (tst-exec-static-ARGS): New variable.
42182 (tst-spawn-static-ARGS): Likewise.
42183 * posix/tst-exec-static.c: New file.
42184 * posix/tst-spawn-static.c: Likewise.
42185 * posix/tst-exec.c: Support run directly.
42186 * posix/tst-spawn.c: Likewise.
42187
42188 2013-01-10 Joseph Myers <joseph@codesourcery.com>
42189
42190 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
42191 long.
42192 * math/bits/mathcalls.h (llrint): Likewise.
42193 (llround): Likewise.
42194 * stdlib/stdlib.h (struct drand48_data): Likewise.
42195 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
42196 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
42197 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
42198 Likewise.
42199 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
42200 Likewise.
42201 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
42202 (elf_greg_t): Likewise.
42203 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
42204 (__jmp_buf): Likewise.
42205 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
42206 definitions.
42207 (llrint): Likewise, for all definitions.
42208 (llrintl): Likewise.
42209
42210 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
42211 Remove [__GNUC__] condition.
42212 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
42213 condition to just [__USE_ISOC99].
42214 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
42215
42216 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
42217
42218 [BZ #14200]
42219 * sysdeps/unix/sysv/linux/x86/bits/environments.h
42220 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
42221 defined.
42222 (_POSIX_V6_ILP32_OFF32): Likewise.
42223 (_XBS5_ILP32_OFF32): Likewise.
42224 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
42225 (__ILP32_OFFBIG_LDFLAGS): Likewise.
42226
42227 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42228
42229 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
42230
42231 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
42232 doubles __mpexp_twomm1. Adjust usage.
42233 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
42234 Remove.
42235
42236 2013-01-10 Andreas Schwab <schwab@suse.de>
42237
42238 [BZ #14964]
42239 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
42240 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
42241
42242 2013-01-09 David S. Miller <davem@davemloft.net>
42243
42244 [BZ #15003]
42245 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
42246 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
42247 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
42248 (TCP_FASTOPEN): Define.
42249 (tcp_repair_opt): New structure.
42250 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
42251 enum values.
42252 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
42253 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
42254 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
42255 (tcp_cookie_transactions): New structure.
42256
42257 2013-01-09 Anton Blanchard <anton@samba.org>
42258
42259 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
42260 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
42261 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
42262 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
42263
42264 2013-01-09 Joseph Myers <joseph@codesourcery.com>
42265
42266 * include/features.h (__USE_ANSI): Remove.
42267
42268 2013-01-09 Roland McGrath <roland@hack.frob.com>
42269
42270 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
42271
42272 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
42273
42274 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
42275
42276 * sysdeps/s390/fpu/libm-test-ulps: Update.
42277
42278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42279
42280 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
42281 (__acr): Likewise.
42282 (__cpy): Likewise.
42283 (norm): Likewise.
42284 (denorm): Likewise.
42285 (__mp_dbl): Likewise.
42286 (__dbl_mp): Likewise.
42287 (add_magnitudes): Likewise.
42288 (sub_magnitudes): Likewise.
42289 (__add): Likewise.
42290 (__sub): Likewise.
42291 (__mul): Likewise.
42292 (__inv): Likewise.
42293 (__dvd): Likewise.
42294 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
42295 (__acr): Likewise.
42296 (__cpy): Likewise.
42297 (norm): Likewise.
42298 (denorm): Likewise.
42299 (__mp_dbl): Likewise.
42300 (__dbl_mp): Likewise.
42301 (add_magnitudes): Likewise.
42302 (sub_magnitudes): Likewise.
42303 (__add): Likewise.
42304 (__sub): Likewise.
42305 (__mul): Likewise.
42306 (__inv): Likewise.
42307 (__dvd): Likewise.
42308 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
42309 (__acr): Likewise.
42310 (__cpy): Likewise.
42311 (norm): Likewise.
42312 (denorm): Likewise.
42313 (__mp_dbl): Likewise.
42314 (__dbl_mp): Likewise.
42315 (add_magnitudes): Likewise.
42316 (sub_magnitudes): Likewise.
42317 (__add): Likewise.
42318 (__sub): Likewise.
42319 (__mul): Likewise.
42320 (__inv): Likewise.
42321 (__dvd): Likewise.
42322
42323 2013-01-08 Joseph Myers <joseph@codesourcery.com>
42324
42325 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
42326 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
42327 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
42328 2 && __USE_EXTERN_INLINES]: Likewise.
42329
42330 2013-01-08 Andreas Jaeger <aj@suse.de>
42331
42332 [BZ# 14985]
42333 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
42334 Remove.
42335 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
42336 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
42337
42338 2013-01-07 Anton Blanchard <anton@samba.org>
42339
42340 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
42341 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
42342 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
42343 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
42344 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
42345 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42346 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
42347 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
42348 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42349 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42350 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42351 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42352 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42353 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42354 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
42355 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42356 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42357 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42358 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
42359 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
42360 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
42361 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
42362 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42363 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
42364 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
42365 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
42366 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42367 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
42368 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
42369 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42370 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
42371 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42372 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42373 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42374 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42375 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42376 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42377 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
42378 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
42379 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
42380 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
42381 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42382 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42383
42384 2013-01-07 Joseph Myers <joseph@codesourcery.com>
42385
42386 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
42387 (__MALLOC_PMT): Likewise.
42388 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
42389 [__GNUC__], only on [_LIBC].
42390 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
42391 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
42392 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
42393 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
42394 forward declaration.
42395 (realloc_hook_ini): Likewise.
42396 (memalign_hook_ini): Likewise.
42397 (__libc_memalign): Do not use __MALLOC_PMT in variable
42398 declaration.
42399 (__libc_valloc): Likewise.
42400 (__libc_pvalloc): Likewise.
42401 (__libc_calloc): Likewise.
42402 (__posix_memalign): Likewise.
42403
42404 [BZ #14996]
42405 * math/s_casinh.c: Include <float.h>.
42406 (__casinh): Do not do computation with squaring and square root
42407 for large arguments.
42408 * math/s_casinhf.c: Include <float.h>.
42409 (__casinhf): Do not do computation with squaring and square root
42410 for large arguments.
42411 * math/s_casinhl.c: Include <float.h>.
42412 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
42413 (__casinhl): Do not do computation with squaring and square root
42414 for large arguments.
42415 * math/libm-test.inc (casin_test): Add more tests.
42416 (casinh_test): Likewise.
42417 * sysdeps/i386/fpu/libm-test-ulps: Update.
42418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42419
42420 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
42421
42422 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
42423 (__x86_64_raw_data_cache_size): Likewise.
42424 (__x86_64_data_cache_size_half): Likewise.
42425 (__x86_64_raw_data_cache_size_half): Likewise.
42426 (__x86_64_shared_cache_size): Likewise.
42427 (__x86_64_raw_shared_cache_size): Likewise.
42428 (__x86_64_shared_cache_size_half): Likewise.
42429 (__x86_64_raw_shared_cache_size_half): Likewise.
42430 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
42431 to ...
42432 (__x86_data_cache_size): This.
42433 (__x86_64_raw_data_cache_size): Renamed to ...
42434 (__x86_raw_data_cache_size): This.
42435 (__x86_64_data_cache_size_half): Renamed to ...
42436 (__x86_data_cache_size_half): This.
42437 (__x86_64_raw_data_cache_size_half): Renamed to ...
42438 (__x86_raw_data_cache_size_half): This.
42439 (__x86_64_shared_cache_size): Renamed to ...
42440 (__x86_shared_cache_size): This.
42441 (__x86_64_raw_shared_cache_size): Renamed to ...
42442 (__x86_raw_shared_cache_size): This.
42443 (__x86_64_shared_cache_size_half): Renamed to ...
42444 (__x86_shared_cache_size_half): This.
42445 (__x86_64_raw_shared_cache_size_half): Renamed to ...
42446 (__x86_raw_shared_cache_size_half): This.
42447 * sysdeps/x86_64/memcpy.S: Updated.
42448 * sysdeps/x86_64/memset.S: Likewise.
42449 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
42450 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42451 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42452
42453 2013-01-04 David S. Miller <davem@davemloft.net>
42454
42455 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42456
42457 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
42458
42459 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
42460 1 to avoid redefinition warning.
42461 (__USE_GNU): Don't define.
42462 (init_signaling_nan): Protoize.
42463
42464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42465
42466 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42467
42468 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
42469 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
42470 (__cpymn): Likewise.
42471 (norm): Remove commented code.
42472 (denorm): Likewise.
42473 (__mp_dbl): Likewise.
42474 (__inv): Likewise.
42475 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
42476 (__cpymn): Likewise.
42477 (norm): Remove commented code.
42478 (denorm): Likewise.
42479 (__mp_dbl): Likewise.
42480 (__inv): Likewise.
42481
42482 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
42483 mp_no value for 1.0 and 2.0.
42484 (norm): Use RADIXI instead of radixi.d.
42485 (denorm): Likewise.
42486 (__mul): Use 0.0 instead of zero.d.
42487 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
42488 mp_no value for 1.0 and 2.0.
42489 (norm): Use RADIXI instead of radixi.d.
42490 (denorm): Likewise.
42491 (__mul): Use 0.0 instead of zero.d.
42492
42493 2013-01-04 Joseph Myers <joseph@codesourcery.com>
42494
42495 [BZ #14994]
42496 * math/s_casinh.c (__casinh): Reduce finite argument to first
42497 quadrant then set signs of results at the end.
42498 * math/s_casinhf.c (__casinhf): Likewise.
42499 * math/s_casinhl.c (__casinhl): Likewise.
42500 * math/libm-test.inc (casin_test): Add more tests.
42501 (casinh_test): Likewise.
42502 * sysdeps/i386/fpu/libm-test-ulps: Update.
42503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42504
42505 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42506
42507 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
42508
42509 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
42510
42511 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
42512 declarations.
42513 (denorm): Likewise.
42514 (__mp_dbl): Likewise.
42515 (__inv): Likewise.
42516
42517 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
42518 and adjust the header comment.
42519
42520 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
42521 variable name from declaration.
42522
42523 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
42524
42525 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42526 Initialize COMMON_CPUID_INDEX_7 element.
42527 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
42528 (CPUID_RTM): Likewise.
42529 (HAS_RTM): Likewise.
42530 (COMMON_CPUID_INDEX_7): New enum.
42531
42532 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
42533
42534 [BZ #14981]
42535 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
42536 size is zero, record memory as freed.
42537
42538 2013-01-03 Andreas Jaeger <aj@suse.de>
42539
42540 * po/ia.po: Add new Interlingua translation.
42541
42542 2012-01-03 Allan McRae <allan@archlinux.org>
42543
42544 * locale/programs/localedef.c: Fix description of '--posix' flag.
42545
42546 2013-01-02 Joseph Myers <joseph@codesourcery.com>
42547
42548 * NEWS: Update dates in second copyright notice.
42549 * README: Update copyright dates in example.
42550 * manual/libc.texinfo: Update copyright dates.
42551 * scripts/test-installation.pl: Update copyright date in --version
42552 output.
42553
42554 * hurd/ctty-input.c: Fix copyright notice formatting.
42555 * hurd/ctty-output.c: Likewise.
42556 * hurd/dtable.c: Likewise.
42557 * hurd/hurd-raise.c: Likewise.
42558 * hurd/hurdprio.c: Likewise.
42559 * hurd/msgportdemux.c: Likewise.
42560 * misc/sys/file.h: Likewise.
42561 * misc/sys/ioctl.h: Likewise.
42562 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
42563 * sysdeps/mach/hurd/chdir.c: Likewise.
42564 * sysdeps/mach/hurd/fchdir.c: Likewise.
42565 * sysdeps/mach/hurd/rename.c: Likewise.
42566 * sysdeps/mach/hurd/rmdir.c: Likewise.
42567 * sysdeps/mach/hurd/seekdir.c: Likewise.
42568 * sysdeps/mach/hurd/setsid.c: Likewise.
42569 * sysdeps/posix/wait3.c: Likewise.
42570
42571 * All files with FSF copyright notices: Update copyright dates
42572 using scripts/update-copyrights.
42573 * intl/plural.c: Regenerated.
42574 * locale/programs/charmap-kw.h: Likewise.
42575 * locale/programs/locfile-kw.h: Likewise.
42576
42577 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
42578
42579 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
42580 four values.
42581
42582 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
42583 calculation loop and add branch prediction.
42584
42585 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
42586 check access beyond bounds of m1np.
42587
42588 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
42589 MPTWO.
42590 (__inv): Remove local variable MPTWO to use the global
42591 constant.
42592 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
42593 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
42594 variable MPTWO.
42595 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
42596 MP3HALFS static const.
42597
42598 2013-01-01 David S. Miller <davem@davemloft.net>
42599
42600 * po/ca.po: Update from translation team.
42601
42602 2013-01-01 Joseph Myers <joseph@codesourcery.com>
42603
42604 * scripts/update-copyrights: New file.
42605 * Makeconfig: Reformat copyright notice.
42606 * ctype/ctype.h: Likewise.
42607 * debug/swprintf_chk.c: Likewise.
42608 * elf/dl-cache.c: Likewise.
42609 * elf/dl-debug.c: Likewise.
42610 * elf/dl-object.c: Likewise.
42611 * grp/initgroups.c: Likewise.
42612 * hurd/Makefile: Likewise.
42613 * hurd/hurd/signal.h: Likewise.
42614 * hurd/hurdfault.c: Likewise.
42615 * hurd/hurdioctl.c: Likewise.
42616 * hurd/hurdlookup.c: Likewise.
42617 * hurd/intr-msg.c: Likewise.
42618 * iconv/gconv_open.c: Likewise.
42619 * libio/swprintf.c: Likewise.
42620 * locale/lc-ctype.c: Likewise.
42621 * locale/nl_langinfo.c: Likewise.
42622 * mach/Machrules: Likewise.
42623 * mach/Makefile: Likewise.
42624 * malloc/obstack.h: Likewise.
42625 * manual/Makefile: Likewise.
42626 * manual/tsort.awk: Likewise.
42627 * misc/bits/stab.def: Likewise.
42628 * nis/nis_print_group_entry.c: Likewise.
42629 * nis/nis_table.c: Likewise.
42630 * nis/nss_compat/compat-pwd.c: Likewise.
42631 * nis/nss_compat/compat-spwd.c: Likewise.
42632 * po/Makefile: Likewise.
42633 * posix/fnmatch.c: Likewise.
42634 * posix/regex.h: Likewise.
42635 * resolv/Makefile: Likewise.
42636 * resolv/nss_dns/dns-network.c: Likewise.
42637 * resolv/res_hconf.c: Likewise.
42638 * scripts/gen-sorted.awk: Likewise.
42639 * soft-fp/soft-fp.h: Likewise.
42640 * stdio-common/printf.h: Likewise.
42641 * stdlib/monetary.h: Likewise.
42642 * stdlib/random.c: Likewise.
42643 * stdlib/random_r.c: Likewise.
42644 * sysdeps/generic/Makefile: Likewise.
42645 * sysdeps/gnu/Makefile: Likewise.
42646 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42647 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42648 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42649 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42650 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42651 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42652 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42653 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42654 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42655 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42656 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42657 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42658 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42659 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42660 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
42661 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42662 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42663 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42664 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42665 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42666 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42667 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42668 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42669 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
42670 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
42671 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42672 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
42673 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
42674 * sysdeps/mach/hurd/errnos.awk: Likewise.
42675 * sysdeps/mach/hurd/fork.c: Likewise.
42676 * sysdeps/mach/hurd/getcwd.c: Likewise.
42677 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
42678 * sysdeps/mach/hurd/mmap.c: Likewise.
42679 * sysdeps/mach/hurd/utimes.c: Likewise.
42680 * sysdeps/mach/hurd/xmknod.c: Likewise.
42681 * sysdeps/posix/profil.c: Likewise.
42682 * sysdeps/posix/readdir_r.c: Likewise.
42683 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42684 * sysdeps/powerpc/bits/setjmp.h: Likewise.
42685 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
42686 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
42687 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42688 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42689 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42690 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42691 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42692 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42693 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42694 * sysdeps/pthread/lio_listio.c: Likewise.
42695 * sysdeps/sparc/dl-procinfo.h: Likewise.
42696 * sysdeps/unix/i386/sysdep.S: Likewise.
42697 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
42698 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
42699 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
42700 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
42701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42702 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
42703 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
42704 * sysdeps/unix/sysv/linux/speed.c: Likewise.
42705 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
42706 * sysdeps/wordsize-32/divdi3.c: Likewise.
42707 * time/sys/time.h: Likewise.
42708 * wcsmbs/Makefile: Likewise.
42709
42710 2013-01-01 David S. Miller <davem@davemloft.net>
42711
42712 * po/fr.po: Update from translation team.
42713
42714 * catgets/gencat.c: Update copyright year.
42715 * csu/version.c: Likewise.
42716 * debug/catchsegv.sh: Likewise.
42717 * debug/pcprofiledump.c: Likewise.
42718 * debug/xtrace.sh: Likewise.
42719 * elf/ldconfig.c: Likewise.
42720 * elf/ldd.bash.in: Likewise.
42721 * elf/pldd.c: Likewise.
42722 * elf/sotruss.ksh: Likewise.
42723 * elf/sprof.c: Likewise.
42724 * iconv/iconv_prog.c: Likewise.
42725 * iconv/iconvconfig.c: Likewise.
42726 * locale/programs/locale.c: Likewise.
42727 * locale/programs/localedef.c: Likewise.
42728 * login/programs/pt_chown.c: Likewise.
42729 * malloc/memusage.sh: Likewise.
42730 * malloc/memusagestat.c: Likewise.
42731 * malloc/mtrace.pl: Likewise.
42732 * nscd/nscd.c: Likewise.
42733 * nss/getent.c: Likewise.
42734 * nss/makedb.c: Likewise.
42735 * posix/getconf.c: Likewise.
42736
42737 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
42738
42739 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
42740 numbers.
42741
42742 2012-12-30 Mike Frysinger <vapier@gentoo.org>
42743
42744 * math/bits/mathcalls.h (modf): Use __nonnull.
42745
42746 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42747
42748 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
42749 (split): Use macro CN instead of the bare value.
42750 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
42751 could be used.
42752 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
42753 instead of the bare value.
42754 (power1): Likewise.
42755
42756 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42757
42758 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
42759 __ATAN_TWOM.
42760 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42761
42762 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
42763 their values.
42764 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
42765 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
42766 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
42767 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
42768
42769 2012-12-28 Andreas Jaeger <aj@suse.de>
42770
42771 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
42772 values are from Linux 3.7.
42773
42774 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
42775 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
42776
42777 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42778
42779 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
42780 TRUE case.
42781
42782 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
42783 (norm): Likewise.
42784 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
42785 variables with preprocessor constants.
42786 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42787 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42788 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42789
42790 2012-12-27 Bruno Haible <bruno@clisp.org>
42791
42792 [BZ #14317]
42793 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
42794 only if needed.
42795
42796 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42797
42798 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
42799 and use variable directly.
42800 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
42801
42802 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
42803 MPONE.
42804 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
42805 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
42806 variable MPONE.
42807 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
42808 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
42809 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
42810 include directive. Remove local variable MPONE.
42811 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
42812 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
42813 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42814
42815 2012-12-25 David S. Miller <davem@davemloft.net>
42816
42817 * version.h (RELEASE): Set to "development".
42818 (VERSION): Set to "2.17.90".
42819 * NEWS: Add 2.18 section.
42820
42821 2012-12-21 David S. Miller <davem@davemloft.net>
42822
42823 * po/hr.po: Update from translation team.
42824
42825 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42826
42827 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
42828
42829 2012-12-19 Steve Ellcey <sellcey@mips.com>
42830
42831 * NEWS: Mention new memcpy for MIPS.
42832
42833 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42834
42835 * manual/contrib.texi (Contributors): Spelling correction.
42836
42837 2012-12-15 David S. Miller <davem@davemloft.net>
42838
42839 * po/ru.po: Update from translation team.
42840
42841 2012-12-13 David S. Miller <davem@davemloft.net>
42842
42843 * NEWS: Mention IFUNC testsuite enhancements.
42844
42845 * po/pl.po: Update from translation team.
42846 * po/bg.po: Likewise.
42847
42848 * manual/contrib.texi (Contributors): Update entries for Hongjiu
42849 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
42850
42851 2012-12-11 David S. Miller <davem@davemloft.net>
42852
42853 * po/sv.po: Update from translation team.
42854
42855 * po/vi.po: Update from translation team.
42856
42857 * po/cs.po: Update from translation team.
42858
42859 * po/de.po: Update from translation team.
42860 * po/eo.po: Likewise.
42861 * po/nl.po: Likewise.
42862
42863 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
42864
42865 [BZ #14246]
42866 * manual/argp.texi (Argp Helper Functions): Move node to follow
42867 Argp Parsing State.
42868
42869 [BZ #14872]
42870 * manual/conf.texi (Limits on File System Capacity): Mention if
42871 terminating null is included in the max size.
42872
42873 2012-12-10 Andreas Jaeger <aj@suse.de>
42874
42875 * po/cs.po: Update from translation team.
42876
42877 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
42878
42879 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
42880 void pointer and cast to uintptr_t.
42881 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
42882 path.
42883 * sysdeps/s390/s390-64/memcpy.S: Likewise.
42884 * sysdeps/s390/s390-64/memset.S: Likewise.
42885
42886 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
42887
42888 [BZ #14833]
42889 * menual/message.texi (Message Translation): Fix typos.
42890 (Helper programs for gettext): Likewise.
42891
42892 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
42893
42894 [BZ #14898]
42895 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
42896 Change to -1.
42897
42898 2012-12-07 David S. Miller <davem@davemloft.net>
42899
42900 * po/libc.pot: Update.
42901
42902 2012-12-07 Richard Henderson <rth@redhat.com>
42903
42904 [BZ #10114]
42905 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
42906 normal/normal case to before the switch.
42907 (_FP_DIV): Likewise.
42908
42909 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
42910 Mike Frysinger <vapier@gentoo.org>
42911
42912 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
42913 check for __NR_fadvise64_64.
42914
42915 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
42916
42917 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
42918 0, not just to plain "0" as a statement.
42919 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
42920 with cw.
42921
42922 2012-12-06 Joseph Myers <joseph@codesourcery.com>
42923
42924 * NEWS: Use sourceware.org in Bugzilla URL.
42925
42926 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
42927
42928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
42929 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42930
42931 * stdio-common/tst-put-error.c (do_test): Add newline to the
42932 padded test to ensure flush.
42933
42934 2012-12-05 Jeff Law <law@redhat.com>
42935
42936 * sunrpc/etc.rpc (fedfs_admin): Add entry.
42937
42938 2012-12-05 Joseph Myers <joseph@codesourcery.com>
42939
42940 * README: Don't refer to ports add-on as distributed separately.
42941 Mention AArch64 in list of systems supported in the ports add-on.
42942
42943 * LICENSES: Add more non-FSF copyright and license notices.
42944
42945 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
42946 ((unused)).
42947
42948 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
42949
42950 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
42951 10000 as width of padded output.
42952
42953 2012-12-04 Joseph Myers <joseph@codesourcery.com>
42954
42955 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
42956
42957 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
42958 variable LX with __attribute__ ((unused)).
42959 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
42960 Likewise.
42961 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
42962 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42963 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
42964 with __attribute__ ((unused)).
42965
42966 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
42967
42968 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
42969
42970 2012-12-04 Joseph Myers <joseph@codesourcery.com>
42971
42972 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
42973 (CFLAGS-nldbl-acos.c): New variable.
42974 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
42975 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
42976 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
42977 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
42978 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
42979 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
42980 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
42981 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
42982 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
42983 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
42984 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
42985 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
42986 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
42987 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
42988 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
42989 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
42990 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
42991 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
42992 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
42993 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
42994 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
42995 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
42996 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
42997 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
42998 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
42999 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
43000 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
43001 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
43002 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
43003 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
43004 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
43005 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
43006 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
43007 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
43008 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
43009 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
43010 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
43011 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
43012 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
43013 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
43014 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
43015 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
43016 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
43017 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
43018 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
43019 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
43020 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
43021 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
43022 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
43023 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
43024 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
43025 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
43026 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
43027 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
43028 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
43029 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
43030 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
43031 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
43032 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
43033 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
43034 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
43035 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
43036 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
43037 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
43038 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
43039 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
43040 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
43041 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
43042 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
43043 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
43044 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
43045 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
43046 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
43047 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
43048 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
43049 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
43050 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
43051 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
43052 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
43053 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
43054 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
43055 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
43056 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
43057 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
43058 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
43059 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
43060 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
43061 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
43062 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
43063 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
43064 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
43065 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
43066 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
43067 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
43068 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
43069 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
43070 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
43071
43072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
43073 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
43074
43075 [BZ #14914]
43076 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
43077 whole low double instead of just low 47 bits when splitting values
43078 into two parts.
43079
43080 2012-12-03 Allan McRae <allan@archlinux.org>
43081
43082 * manual/stdio.texi (Predefined Printf Handlers): Remove
43083 @hsep and @vsep usage.
43084
43085 2012-12-03 Mike Frysinger <vapier@gentoo.org>
43086
43087 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
43088 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
43089
43090 2012-12-03 Jeff Law <law@redhat.com>
43091
43092 * time/sys/time.h (settimeofday): Do not mark TV argument
43093 as __nonnull.
43094
43095 2012-12-01 Mike Frysinger <vapier@gentoo.org>
43096
43097 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
43098 when currently writing and seek to current position when not.
43099 * libio/Makefile (tests): Remove bug-fclose1.
43100 * libio/bug-fclose1.c: Delete.
43101
43102 2012-12-01 Joseph Myers <joseph@codesourcery.com>
43103
43104 * manual/arith.texi (feenableexcept): Fix typo.
43105 (fedisableexcept): Likewise.
43106
43107 2012-11-30 Roland McGrath <roland@hack.frob.com>
43108
43109 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
43110 second, differently-typed declaration, rather than a cast.
43111
43112 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
43113
43114 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
43115 * include/rpc/svc.h: ... here.
43116
43117 2012-11-30 Aurelien Jarno <aurel32@debian.org>
43118
43119 [BZ #13013]
43120 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
43121 depending n and resplen2 to catch cases where answer
43122 equals answerp2.
43123
43124 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
43125
43126 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
43127 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
43128
43129 2012-11-29 Mike Frysinger <vapier@gentoo.org>
43130
43131 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
43132
43133 2012-11-29 Roland McGrath <roland@hack.frob.com>
43134
43135 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
43136
43137 2012-11-28 Jeff Law <law@redhat.com>
43138
43139 [BZ #13761]
43140 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
43141 dataset_temporary. Track alloca usage into alloca_used.
43142 If dataset is large allocate and release it via malloc/free.
43143
43144 2012-06-04 Florian Weimer <fweimer@redhat.com>
43145
43146 [BZ #14197]
43147 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
43148
43149 2012-11-28 David S. Miller <davem@davemloft.net>
43150
43151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43152
43153 2012-11-28 Joseph Myers <joseph@codesourcery.com>
43154
43155 [BZ #14803]
43156 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
43157 of pi/2 rounded to nearest to 64 bits.
43158 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
43159 nearest to 64 bits.
43160 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
43161 bits.
43162
43163 2012-11-28 Jeff Law <law@redhat.com>
43164 Martin Osvald <mosvald@redhat.com>
43165
43166 [BZ #14889]
43167 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
43168 * sunrpc/svc.c: Include time.h.
43169 (__svc_accept_failed): New function.
43170 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
43171 any reason other than EINTR, call __svc_accept_failed.
43172 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
43173 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
43174
43175 2012-11-28 Andreas Schwab <schwab@suse.de>
43176
43177 * scripts/abilist.awk: Also handle indirect functions in .opd
43178 section.
43179
43180 2012-11-28 Joseph Myers <joseph@codesourcery.com>
43181
43182 [BZ #13881]
43183 * sysdeps/x86/fpu/powl_helper.c: New file.
43184 * sysdeps/x86/fpu/Makefile: Likewise.
43185 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
43186 (p3): New object.
43187 (__ieee754_powl): Use __powl_helper for finite arguments except
43188 integer exponents below 8.
43189 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
43190 (p3): New object.
43191 (__ieee754_powl): Use __powl_helper for finite arguments except
43192 integer exponents below 8.
43193 * math/libm-test.inc (pow_test): Add more tests and enable some
43194 previously disabled tests.
43195 * sysdeps/i386/fpu/libm-test-ulps: Update.
43196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43197
43198 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43199 Carlos O'Donell <carlos_odonell@mentor.com>
43200
43201 * nss/makedb.c (is_prime): Assert that input is odd and greater
43202 than 4. Note that fact in a comment too.
43203 (next_prime): Add 4 to input.
43204
43205 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43206
43207 [BZ #11741]
43208 * libio/Makefile (tests): Add test case tst-fwrite-error.
43209 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
43210 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
43211 * libio/tst-fwrite-error.c: New test case.
43212
43213 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
43214
43215 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
43216 before casting to void *.
43217 * include/libc-internal.h (__pointer_type): New macro.
43218 (__integer_if_pointer_type_sub): Likewise.
43219 (__integer_if_pointer_type): Likewise.
43220 (cast_to_integer): Likewise.
43221 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
43222 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
43223 before casting to atomic64_t.
43224 (atomic_exchange_acq): Likewise.
43225 (__arch_exchange_and_add_body): Likewise.
43226 (__arch_add_body): Likewise.
43227 (atomic_add_negative): Likewise.
43228 (atomic_add_zero): Likewise.
43229
43230 2012-11-26 Joseph Myers <joseph@codesourcery.com>
43231
43232 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
43233 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
43234 (add_fdes): Likewise.
43235 (linear_search_fdes): Likewise.
43236 (binary_search_unencoded_fdes): Likewise.
43237
43238 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
43239
43240 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
43241
43242 2012-11-24 Adam Conrad <adconrad@0c3.net>
43243
43244 * configure.in: Autodetect C++ header directories.
43245 * configure: Regenerated.
43246
43247 2012-11-23 Mike Frysinger <vapier@gentoo.org>
43248
43249 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
43250
43251 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
43252
43253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43254
43255 2012-11-22 Joseph Myers <joseph@codesourcery.com>
43256
43257 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
43258 LDBL_MANT_DIG == 106]: Disable some tests.
43259 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
43260 Likewise.
43261 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
43262 Likewise.
43263
43264 [BZ #14871]
43265 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
43266 input for small inputs. Return +/- pi/2 for large inputs.
43267 * math/libm-test.inc (atan_test): Add more tests.
43268
43269 * sysdeps/generic/unwind-dw2-fde-glibc.c
43270 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
43271 __attribute__ ((unused)).
43272
43273 [BZ #14645]
43274 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
43275 x * y if x and y are nonzero and z is zero.
43276
43277 [BZ #14811]
43278 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
43279 nonzero exponents with absolute value below 0x1p-117 to +/-
43280 0x1p-117.
43281
43282 [BZ #14869]
43283 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
43284 up arguments below 2**-450, not just those below 2**-500.
43285 * math/libm-test.inc (hypot_test): Add another test.
43286
43287 [BZ #14868]
43288 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
43289 Return a+b for ratio over 2**120, not 2**60.
43290 * math/libm-test.inc (hypot_test): Add another test.
43291
43292 * math/libm-test.inc (clog_test): Use
43293 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
43294 (clog10_test): Likewise.
43295
43296 [BZ #6778]
43297 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
43298
43299 2012-11-22 Andreas Schwab <schwab@suse.de>
43300
43301 * sysdeps/i386/fpu/libm-test-ulps: Update.
43302
43303 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
43304
43305 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
43306 printf output with newline.
43307
43308 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
43309
43310 [BZ #14865]
43311 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
43312 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
43313 -z nodlopen, -z initfirst and -z execstack support.
43314 * configure: Regenerated.
43315
43316 * elf/elf.h (DF_1_NODIRECT): New macro.
43317 (DF_1_IGNMULDEF): Likewise.
43318 (DF_1_NOKSYMS): Likewise.
43319 (DF_1_NOHDR): Likewise.
43320 (DF_1_EDITED): Likewise.
43321 (DF_1_NORELOC): Likewise.
43322 (DF_1_SYMINTPOSE): Likewise.
43323 (DF_1_GLOBAUDIT): Likewise.
43324 (DF_1_SINGLETON): Likewise.
43325 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
43326 DT_1_SUPPORTED_MASK bits.
43327 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
43328
43329 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
43330
43331 * sysdeps/unix/make-syscalls.sh: Document prefixes.
43332
43333 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
43334
43335 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
43336 macro.
43337
43338 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
43339 (sendmmsg): Move declarations...
43340 * socket/sys/socket.h: ... here.
43341 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
43342 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
43343 include it from...
43344 * socket/recvmmsg.c: ... this new file.
43345 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
43346 (sendmmsg): Rename to __sendmmsg, create weak alias and make
43347 definition of __sendmmsg hidden.
43348 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
43349 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
43350 Move ENOSYS stub into and include it from...
43351 * socket/sendmmsg.c: ... this new file.
43352 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
43353 (sysdep_routines): Move recvmmsg and sendmmsg...
43354 * socket/Makefile (routines): ... here.
43355 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
43356 (GLIBC_PRIVATE): Add __sendmmsg.
43357 * include/sys/socket.h (__sendmmsg): Add declarations.
43358 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
43359 sendmmsg.
43360
43361 2012-11-20 Joseph Myers <joseph@codesourcery.com>
43362
43363 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
43364 variable I1 with __attribute__ ((unused)).
43365 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43366
43367 2012-11-19 Joseph Myers <joseph@codesourcery.com>
43368
43369 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
43370 DUMMY variables with __attribute__ ((unused)).
43371
43372 * bits/byteswap.h: Include <bits/types.h>.
43373 (__bswap_64): Use __uint64_t instead of unsigned long long int.
43374
43375 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
43376
43377 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
43378 string_t. Do not manually set errno.
43379 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
43380 length with __strnlen. Make sure to both set errno and return it on
43381 failure.
43382
43383 2012-11-19 David S. Miller <davem@davemloft.net>
43384
43385 With help from Joseph Myers.
43386 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
43387 very large arguments properly.
43388 * math/libm-test.inc (atan_test): New tests.
43389 (atan2_test): New tests.
43390 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43391 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43392
43393 2012-11-19 Joseph Myers <joseph@codesourcery.com>
43394
43395 [BZ #14856]
43396 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
43397 Define to 3.
43398
43399 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
43400 [POSIX] (EADDRNOTAVAIL): Likewise.
43401 [POSIX] (EAFNOSUPPORT): Likewise.
43402 [POSIX] (EALREADY): Likewise.
43403 [POSIX] (ECONNABORTED): Likewise.
43404 [POSIX] (ECONNREFUSED): Likewise.
43405 [POSIX] (ECONNRESET): Likewise.
43406 [POSIX] (EDESTADDRREQ): Likewise.
43407 [POSIX] (EDQUOT): Likewise.
43408 [POSIX] (EHOSTUNREACH): Likewise.
43409 [POSIX] (EIDRM): Likewise.
43410 [POSIX] (EISCONN): Likewise.
43411 [POSIX] (ELOOP): Likewise.
43412 [POSIX] (EMULTIHOP): Likewise.
43413 [POSIX] (ENETDOWN): Likewise.
43414 [POSIX] (ENETUNREACH): Likewise.
43415 [POSIX] (ENOBUFS): Likewise.
43416 [POSIX] (ENODATA): Likewise.
43417 [POSIX] (ENOLINK): Likewise.
43418 [POSIX] (ENOMSG): Likewise.
43419 [POSIX] (ENOPROTOOPT): Likewise.
43420 [POSIX] (ENOSR): Likewise.
43421 [POSIX] (ENOSTR): Likewise.
43422 [POSIX] (ENOTCONN): Likewise.
43423 [POSIX] (ENOTSOCK): Likewise.
43424 [POSIX] (EOPNOTSUPP): Likewise.
43425 [POSIX] (EOVERFLOW): Likewise.
43426 [POSIX] (EPROTO): Likewise.
43427 [POSIX] (EPROTONOSUPPORT): Likewise.
43428 [POSIX] (EPROTOTYPE): Likewise.
43429 [POSIX] (ESTALE): Likewise.
43430 [POSIX] (ETIME): Likewise.
43431 [POSIX] (ETXTBSY): Likewise.
43432 [POSIX] (EWOULDBLOCK): Likewise.
43433 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
43434 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
43435 [POSIX] (SEEK_CUR): Likewise.
43436 [POSIX] (SEEK_END): Likewise.
43437 [POSIX || UNIX98] (mode_t): Do not require.
43438 [POSIX] (off_t): Likewise.
43439 [POSIX] (pid_t): Likewise.
43440 [POSIX] (sys/stat.h): Do not allow header.
43441 [POSIX] (unistd.h): Likewise.
43442 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
43443 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
43444 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
43445 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
43446 require.
43447 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
43448 sigevent): Specify elements.
43449 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
43450 entry.
43451 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
43452 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
43453
43454 * conform/data/cpio.h-data [POSIX]: Disable whole file.
43455 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
43456 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
43457 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
43458 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
43459 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
43460 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
43461 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
43462 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
43463 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
43464 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
43465 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
43466 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
43467 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
43468 Likewise.
43469 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
43470 Likewise.
43471 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
43472 Likewise.
43473 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
43474 Likewise.
43475 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
43476 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
43477 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
43478 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
43479 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
43480 Specify lower bound on value.
43481 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
43482 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
43483 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
43484 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
43485 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
43486 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
43487 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
43488 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
43489 value.
43490 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
43491 as optional.
43492 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
43493 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
43494 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
43495 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
43496 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
43497 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
43498 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
43499 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
43500 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
43501 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
43502 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
43503 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
43504 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
43505 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
43506 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
43507 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
43508 entry.
43509 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
43510 optional.
43511 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
43512 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
43513 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
43514 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
43515 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
43516 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
43517 Likewise.
43518 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
43519 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
43520 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
43521 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
43522 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
43523 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
43524 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
43525 as optional.
43526 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
43527 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
43528 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
43529 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
43530 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
43531 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
43532 specify as optional.
43533 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
43534 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
43535 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
43536 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
43537 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
43538 [XPG3] (NL_LANGMAX): Likewise.
43539 [POSIX || XPG3] (NL_MSGMAX): Likewise.
43540 [POSIX || XPG3] (NL_NMAX): Likewise.
43541 [POSIX || XPG3] (NL_SETMAX): Likewise.
43542 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
43543 [XPG3] (NZERO): Likewise.
43544 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
43545 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
43546 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
43547 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
43548 (REG_ERANGE): Expect.
43549 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
43550 optional-constant.
43551 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
43552 Use (void) in prototype.
43553 [POSIX] (*_t): Allow.
43554 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
43555 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
43556 (WRDE_BADVAL): Expect.
43557
43558 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
43559 expect.
43560 [XPG3 || XPG4] (O_RSYNC): Likewise.
43561 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
43562 Likewise.
43563 [XPG3 || XPG4] (pthread_sigmask): Likewise.
43564 [XPG3 || XPG4] (sigqueue): Likewise.
43565 [XPG3 || XPG4] (sigtimedwait): Likewise.
43566 [XPG3 || XPG4] (sigwaitinfo): Likewise.
43567 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
43568 [XPG3 || XPG4] (vsnprintf): Likewise.
43569 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
43570 Likewise.
43571 [XPG3 || XPG4] (blksize_t): Likewise.
43572 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
43573 Likewise.
43574 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
43575 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
43576 [XPG3 || XPG4] (struct itimerspec): Likewise.
43577 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
43578 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
43579 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
43580 [XPG3 || XPG4] (clockid_t): Likewise.
43581 [XPG3 || XPG4] (timer_t): Likewise.
43582 [XPG3 || XPG4] (clock_getres): Likewise.
43583 [XPG3 || XPG4] (clock_gettime): Likewise.
43584 [XPG3 || XPG4] (clock_settime): Likewise.
43585 [XPG3 || XPG4] (nanosleep): Likewise.
43586 [XPG3 || XPG4] (timer_create): Likewise.
43587 [XPG3 || XPG4] (timer_delete): Likewise.
43588 [XPG3 || XPG4] (timer_gettime): Likewise.
43589 [XPG3 || XPG4] (timer_getoverrun): Likewise.
43590 [XPG3 || XPG4] (timer_settime): Likewise.
43591 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
43592 [XPG3 || XPG4] (getlogin_r): Likewise.
43593 [XPG3 || XPG4] (pread): Likewise.
43594 [XPG3 || XPG4] (pthread_atfork): Likewise.
43595 [XPG3 || XPG4] (pwrite): Likewise.
43596
43597 [BZ #14835]
43598 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
43599 <bits/siginfo.h>.
43600
43601 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
43602
43603 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
43604 finalizing MALLSTREAM.
43605
43606 * sysdeps/mach/hurd/syncfs.c: New file.
43607
43608 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
43609
43610 [BZ #14719]
43611 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
43612 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
43613 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
43614 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
43615 (_nss_dns_gethostbyname4_r): Likewise.
43616 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
43617 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
43618
43619 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
43620
43621 [BZ #13763]
43622 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
43623
43624 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
43625
43626 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
43627 * elf/cache.c (print_entry): Print ",AArch64" for
43628 FLAG_AARCH64_LIB64
43629
43630 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
43631 * elf/cache.c (print_entry): Print ",hard-float" for
43632 FLAG_ARM_LIBHF.
43633
43634 2012-11-18 David S. Miller <davem@davemloft.net>
43635
43636 With help from Joseph Myers.
43637 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
43638 cutoff to 2**-13.
43639 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
43640 cutoff to 2**-25.
43641 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
43642 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
43643 small.
43644 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
43645 * math/libm-test.inc (y0_test): New tests.
43646 (y1_test): New tests.
43647 * sysdeps/i386/fpu/libm-test-ulps: Update.
43648 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43649 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43650
43651 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
43652
43653 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
43654 64-bit targets.
43655 * configure: Regenerated.
43656
43657 2012-11-17 David S. Miller <davem@davemloft.net>
43658
43659 [BZ #14811]
43660 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
43661 nonzero exponents with absolute value below 0x1p-128 to +/-
43662 0x1p-128.
43663
43664 2012-11-17 Joseph Myers <joseph@codesourcery.com>
43665
43666 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
43667
43668 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
43669
43670 * posix/getconf-speclist.c: New file.
43671 * posix/posix-envs.def: Likewise.
43672 * posix/confstr.c (START_ENV_GROUP): New macro.
43673 (END_ENV_GROUP): Likewise.
43674 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
43675 (KNOWN_PRESENT_ENV_STRING): Likewise.
43676 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
43677 (UNKNOWN_ENVIRONMENT): Likewise.
43678 (confstr): Include posix-envs.def instead of handling
43679 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
43680 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
43681 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
43682 (END_ENV_GROUP): Likewise.
43683 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
43684 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
43685 (UNKNOWN_ENVIRONMENT): Likewise.
43686 (__sysconf): Include posix-envs.def instead of handling associated
43687 cases directly here.
43688 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
43689 preprocessing getconf-speclist.c rather than running getconf or
43690 generating empty file.
43691
43692 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
43693
43694 * scripts/check-local-headers.sh: Ignore 'mach' headers.
43695
43696 2012-11-16 Andrej Lajovic <natrij@gmail.com>
43697
43698 [BZ #14672]
43699 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
43700
43701 2012-11-16 David S. Miller <davem@davemloft.net>
43702
43703 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
43704 smaller than LDBL_EPSILON/2.0L, just return xm1.
43705
43706 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
43707
43708 * elf/tst-array1.c (init): Set constructor priority to 1000.
43709 (fini): Set destructor priority to 1000.
43710 * elf/tst-array2dep.c: Likewise.
43711
43712 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
43713
43714 [BZ #11741]
43715 * libio/fileops.c (_IO_new_file_write): Correctly return error.
43716 (_IO_new_file_xsputn): Also return EOF if none of the input
43717 data was written when overflow failed.
43718 * libio/iopadn.c (_IO_padn): Likewise.
43719 * libio/iowpadn.c (_IO_wpadn): Likewise.
43720 * stdio-common/tst-put-error.c: Add copyright notice.
43721 (do_test): Add case for printing padded string.
43722 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
43723 _IO_padn returned error.
43724 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
43725 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
43726 return EOF.
43727
43728 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
43729
43730 * libio/libioP.h: Add comment note that the references to C++
43731 bits are now obsolete.
43732
43733 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43734
43735 * math/libm-test.inc (check_complex): Use asprintf.
43736
43737 2012-11-14 Joseph Myers <joseph@codesourcery.com>
43738
43739 * debug/pcprofiledump.c (print_version): Update copyright year.
43740 * malloc/memusagestat.c (print_version): Likewise.
43741
43742 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
43743
43744 [BZ #14831]
43745 * elf/Makefile (tests): Add tst-audit8.
43746 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
43747 ($(objpfx)tst-audit8.out): New target.
43748 (tst-audit8-ENV): New variable.
43749 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
43750 audit if l_reloc_result is NULL.
43751 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
43752 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
43753 * elf/tst-audit8.c: New file.
43754
43755 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43756
43757 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
43758 * misc/Makefile (CFLAGS-select.c): Define.
43759 * posix/Makefile (CFLAGS-pause.c): Define.
43760
43761 2012-11-13 David S. Miller <davem@davemloft.net>
43762
43763 * crypt/Makefile: Move test targets after toplevel Rules
43764 inclusion. Grab any necessary sysdep routines when linking.
43765 * crypt/md5.c (md5_process_block): Remove define, we will always
43766 name it __md5_process_block.
43767 (md5_finish_ctx): Update md5_process_block call.
43768 (md5_stream): Likewise.
43769 (md5_process_bytes): Likewise.
43770 (md5_process_block): Rename to __md5_process_block and move to ...
43771 * crypt/md5-block.c: ... here.
43772 * crypt/sha256.c (sha256_process_block): Move to ...
43773 * crypt/sha256-block.c: ... here.
43774 * crypt/sha512.c (sha512_process_block): Move to ...
43775 * crypt/sha512-block.c: ... here.
43776 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
43777 path.
43778 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
43779 * sysdeps/sparc/sparc64/multiarch/Makefile
43780 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
43781 crypt subdir.
43782 (localedef-aux): Add md5 crypto assembler when in locale subdir.
43783 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
43784 multiarch changes.
43785 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
43786 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
43787 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
43788 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
43789 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
43790 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
43791 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
43792 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
43793 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
43794 file.
43795 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
43796 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
43797 file.
43798 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
43799
43800 2012-11-13 Joseph Myers <joseph@codesourcery.com>
43801
43802 * timezone/tzselect.ksh: Update from tzcode git revision
43803 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
43804 * timezone/zdump.c: Likewise.
43805 * timezone/zic.c: Likewise.
43806 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
43807 in TZVERSION setting, not $(PKGVERSION).
43808 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
43809 REPORT_BUGS_TO settings.
43810
43811 [BZ #14838]
43812 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
43813 macro.
43814
43815 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43816
43817 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
43818 detection to immediately after _FP_ROUND().
43819 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
43820 bits are 0.
43821
43822 2012-11-11 David S. Miller <davem@davemloft.net>
43823
43824 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
43825 inttypes.h
43826 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
43827 __close rather than their public counterparts.
43828
43829 2012-11-10 Joseph Myers <joseph@codesourcery.com>
43830
43831 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
43832 file.
43833 [UNIX98] (sem_timedwait): Do not expect.
43834 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
43835 [XPG4 || UNIX98] (sockatmark): Do not expect.
43836 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
43837 (clock_getcpuclockid): Do not expect.
43838 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
43839 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
43840 Do not expect.
43841 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
43842 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
43843 [UNIX98] (vwscanf): Likewise.
43844 [UNIX98] (vswscanf): Likewise.
43845
43846 2012-11-09 Joseph Myers <joseph@codesourcery.com>
43847
43848 * timezone/version.h: Remove file.
43849 * timezone/README: Do not refer to version.h.
43850 * timezone/Makefile ($(objpfx)zic.o): New dependency on
43851 $(objpfx)version.h.
43852 ($(objpfx)zdump.o): Likewise.
43853 ($(objpfx)version.h): New target.
43854
43855 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
43856 2012i.
43857 * timezone/README: Don't mention modification to tzselect.ksh.
43858 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
43859 work on unmodified tzselect.ksh. Substitute version numbers in
43860 tzselect.ksh.
43861
43862 * Makefile (format-me): Remove.
43863 (INSTALL): Adjust indentation. Use commands directly instead of
43864 using $(format-me).
43865
43866 * aclocal.m4 (ACX_PKGVERSION): New macro.
43867 (ACX_BUGURL): Likewise.
43868 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
43869 (PKGVERSION): New AC_DEFINE_UNQUOTED.
43870 (REPORT_BUGS_TO): Likewise.
43871 * configure: Regenerated.
43872 * config.h.in (PKGVERSION): New macro.
43873 (REPORT_BUGS_TO): Likewise.
43874 * config.make.in (PKGVERSION): New variable.
43875 (PKGVERSION_TEXI): Likewise.
43876 (REPORT_BUGS_TO): Likewise.
43877 (REPORT_BUGS_TEXI): Likewise.
43878 * Makefile (format-me): Use -I$(common-objpfx)manual.
43879 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
43880 ($(common-objpfx)manual/%): New target.
43881 (manual/%): Remove target.
43882 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
43883 (print_version): Use PKGVERSION.
43884 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
43885 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
43886 and REPORT_BUGS_TO.
43887 ($(objpfx)xtrace): Likewise.
43888 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
43889 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
43890 (print_version): Use PKGVERSION.
43891 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
43892 (do_version): Use PKGVERSION.
43893 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
43894 REPORT_BUGS_TO.
43895 (common-ldd-rewrite): Likewise.
43896 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
43897 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
43898 (print_version): Use PKGVERSION.
43899 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
43900 * elf/pldd.c (argp_program_bug_address): Remove variable.
43901 (more_help): New function.
43902 (argp): Use more_help.
43903 (print_version): Use PKGVERSION.
43904 * elf/sln.c (main): Use PKGVERSION.
43905 (usage): Use REPORT_BUGS_TO.
43906 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
43907 (top level): Use PKGVERSION.
43908 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
43909 (print_version): Use PKGVERSION.
43910 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
43911 (print_version): Use PKGVERSION.
43912 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
43913 (print_version): Use PKGVERSION.
43914 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
43915 (print_version): Use PKGVERSION.
43916 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
43917 (print_version): Use PKGVERSION.
43918 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
43919 (print_version): Use PKGVERSION.
43920 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
43921 and BUGURL.
43922 ($(objpfx)memusage): Likewise.
43923 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
43924 (do_version): Use PKGVERSION.
43925 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
43926 (print_version): Use PKGVERSION.
43927 * malloc/mtrace.pl ($PACKAGE): Remove variable.
43928 ($PKGVERSION): New variable.
43929 ($REPORT_BUGS_TO): Likewise.
43930 (usage): Use $REPORT_BUGS_TO.
43931 (top level): Use $PKGVERSION.
43932 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
43933 ($(objpfx)pkgvers.texi): New rule.
43934 ($(objpfx)stamp-pkgvers): Likewise.
43935 * manual/install.texi: Include pkgvers.texi.
43936 (--with-pkgversion): Document new configure option.
43937 (--with-bugurl): Likewise.
43938 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
43939 than necessarily for this particular distribution. Use
43940 REPORT_BUGS_TO for where to report bugs.
43941 * INSTALL: Regenerated.
43942 * manual/libc.texinfo: Include pkgvers.texi.
43943 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
43944 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
43945 (print_version): Use PKGVERSION.
43946 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
43947 (print_version): Use PKGVERSION.
43948 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
43949 (print_version): Use PKGVERSION.
43950 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
43951 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
43952 macro.
43953 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
43954 (print_version): Use PKGVERSION.
43955 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
43956 (print_version): Use PKGVERSION.
43957 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
43958 and PKGVERSION.
43959
43960 * timezone/checktab.awk: Update from tzcode 2012i.
43961 * timezone/ialloc.c: Likewise.
43962 * timezone/private.h: Likewise.
43963 * timezone/scheck.c: Likewise.
43964 * timezone/tzfile.h: Likewise.
43965 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
43966 (TZVERSION): Hardcode tzcode version number.
43967 * timezone/zdump.c: Update from tzcode 2012i.
43968 * timezone/zic.c: Likewise.
43969 * timezone/version.h: New file.
43970 * timezone/README: Describe version.h. Update upstream location.
43971
43972 [BZ #14824]
43973 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
43974 (mktemp): Enable declaration.
43975 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
43976 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
43977 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
43978 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
43979 Likewise.
43980 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
43981 Likewise.
43982 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
43983 Likewise.
43984 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
43985 Likewise.
43986 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
43987 Likewise.
43988 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
43989 Likewise.
43990
43991 [BZ #14821]
43992 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
43993 offset in buffer as u_int32_t not u_long. Consistently use memcpy
43994 for copies of such integer values.
43995 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43996 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43997
43998 2012-11-09 Andreas Jaeger <aj@suse.de>
43999
44000 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
44001 definitions and declarations that are provided by
44002 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
44003
44004 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44005
44006 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
44007 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
44008 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
44009 definition.
44010
44011 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44012
44013 * elf/elf.h: Update comment before AArch64 relocations.
44014
44015 2012-11-07 David S. Miller <davem@davemloft.net>
44016
44017 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
44018 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44019 (__start_context): Declare.
44020 (__makecontext_ret): Delete.
44021 (__makecontext): Hook up __start_context instead of
44022 __makecontext_ret.
44023 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
44024 (sysdep_routines): Add __start_context when in stdlib.
44025
44026 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44027
44028 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
44029 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
44030 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
44031 hardcoded "nm".
44032 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
44033 (READELF): New variable. Use it instead of hardcoded "readelf".
44034
44035 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
44036
44037 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
44038 * sysdeps/x86/Makefile: Here.
44039 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
44040 * sysdeps/x86/tst-xmmymm.sh: This.
44041
44042 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44043
44044 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
44045 expectations.
44046 [UNIX98] (pthread_barrier_t): Do not expect.
44047 [UNIX98] (pthread_barrierattr_t): Likewise.
44048 [UNIX98] (pthread_spinlock_t): Likewise.
44049 [UNIX98] (pthread_barrier_destroy): Likewise.
44050 [UNIX98] (pthread_barrier_init): Likewise.
44051 [UNIX98] (pthread_barrier_wait): Likewise.
44052 [UNIX98] (pthread_barrierattr_destroy): Likewise.
44053 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
44054 [UNIX98] (pthread_barrierattr_init): Likewise.
44055 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
44056 [UNIX98] (pthread_getcpuclockid): Likewise.
44057 [UNIX98] (pthread_mutex_timedlock): Likewise.
44058 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
44059 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
44060 [UNIX98] (pthread_sigmask): Likewise.
44061 [UNIX98] (pthread_spin_destroy): Likewise.
44062 [UNIX98] (pthread_spin_init): Likewise.
44063 [UNIX98] (pthread_spin_lock): Likewise.
44064 [UNIX98] (pthread_spin_trylock): Likewise.
44065 [UNIX98] (pthread_spin_unlock): Likewise.
44066 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
44067 Do not expect.
44068 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
44069 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
44070 [XPG3 || XPG4] (pthread_cond_t): Likewise.
44071 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
44072 [XPG3 || XPG4] (pthread_key_t): Likewise.
44073 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
44074 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
44075 [XPG3 || XPG4] (pthread_once_t): Likewise.
44076 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
44077 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
44078 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
44079 [XPG3 || XPG4] (pthread_t): Likewise.
44080
44081 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
44082 not expect.
44083 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
44084
44085 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
44086 Change function return type to int.
44087
44088 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
44089 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
44090 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
44091 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
44092 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
44093 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
44094 [!POSIX] (posix_madvise): Likewise.
44095 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
44096 && !UNIX98].
44097 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
44098 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
44099 (mode_t): Likewise.
44100 (posix_mem_offset): Likewise.
44101 (posix_typed_mem_get_info): Likewise.
44102 (posix_typed_mem_open): Likewise.
44103
44104 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
44105 Change condition to [XOPEN2K8].
44106
44107 * conform/conformtest.pl: Preprocess allow-header data with -x c
44108 instead of from stdin.
44109 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
44110 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
44111 [C99-based standards] (cerfc): Likewise.
44112 [C99-based standards] (cexp2): Likewise.
44113 [C99-based standards] (cexpm1): Likewise.
44114 [C99-based standards] (clog10): Likewise.
44115 [C99-based standards] (clog1p): Likewise.
44116 [C99-based standards] (clog2): Likewise.
44117 [C99-based standards] (clgamma): Likewise.
44118 [C99-based standards] (ctgamma): Likewise.
44119 [C99-based standards] (cerff): Likewise.
44120 [C99-based standards] (cerfcf): Likewise.
44121 [C99-based standards] (cexp2f): Likewise.
44122 [C99-based standards] (cexpm1f): Likewise.
44123 [C99-based standards] (clog10f): Likewise.
44124 [C99-based standards] (clog1pf): Likewise.
44125 [C99-based standards] (clog2f): Likewise.
44126 [C99-based standards] (clgammaf): Likewise.
44127 [C99-based standards] (ctgammaf): Likewise.
44128 [C99-based standards] (cerfl): Likewise.
44129 [C99-based standards] (cerfcl): Likewise.
44130 [C99-based standards] (cexp2l): Likewise.
44131 [C99-based standards] (cexpm1l): Likewise.
44132 [C99-based standards] (clog10l): Likewise.
44133 [C99-based standards] (clog1pl): Likewise.
44134 [C99-based standards] (clog2l): Likewise.
44135 [C99-based standards] (clgammal): Likewise.
44136 [C99-based standards] (ctgammal): Likewise.
44137 * conform/data/inttypes.h-data [C99-based standards]: Include
44138 stdint.h-data. Remove all expectations for stdint.h contents.
44139 [C99-based standards] (PRI*): Do not allow.
44140 [C99-based standards] (SCN*): Likewise.
44141 [C99-based standards] (*_t): Likewise.
44142 [C99-based-standards] (PRId8): Expect macro.
44143 [C99-based-standards] (PRIi8): Likewise.
44144 [C99-based-standards] (PRIo8): Likewise.
44145 [C99-based-standards] (PRIu8): Likewise.
44146 [C99-based-standards] (PRIx8): Likewise.
44147 [C99-based-standards] (PRIX8): Likewise.
44148 [C99-based-standards] (SCNd8): Likewise.
44149 [C99-based-standards] (SCNi8): Likewise.
44150 [C99-based-standards] (SCNo8): Likewise.
44151 [C99-based-standards] (SCNu8): Likewise.
44152 [C99-based-standards] (SCNx8): Likewise.
44153 [C99-based-standards] (PRIdLEAST8): Likewise.
44154 [C99-based-standards] (PRIiLEAST8): Likewise.
44155 [C99-based-standards] (PRIoLEAST8): Likewise.
44156 [C99-based-standards] (PRIuLEAST8): Likewise.
44157 [C99-based-standards] (PRIxLEAST8): Likewise.
44158 [C99-based-standards] (PRIXLEAST8): Likewise.
44159 [C99-based-standards] (SCNdLEAST8): Likewise.
44160 [C99-based-standards] (SCNiLEAST8): Likewise.
44161 [C99-based-standards] (SCNoLEAST8): Likewise.
44162 [C99-based-standards] (SCNuLEAST8): Likewise.
44163 [C99-based-standards] (SCNxLEAST8): Likewise.
44164 [C99-based-standards] (PRIdFAST8): Likewise.
44165 [C99-based-standards] (PRIiFAST8): Likewise.
44166 [C99-based-standards] (PRIoFAST8): Likewise.
44167 [C99-based-standards] (PRIuFAST8): Likewise.
44168 [C99-based-standards] (PRIxFAST8): Likewise.
44169 [C99-based-standards] (PRIXFAST8): Likewise.
44170 [C99-based-standards] (SCNdFAST8): Likewise.
44171 [C99-based-standards] (SCNiFAST8): Likewise.
44172 [C99-based-standards] (SCNoFAST8): Likewise.
44173 [C99-based-standards] (SCNuFAST8): Likewise.
44174 [C99-based-standards] (SCNxFAST8): Likewise.
44175 [C99-based-standards] (PRId16): Likewise.
44176 [C99-based-standards] (PRIi16): Likewise.
44177 [C99-based-standards] (PRIo16): Likewise.
44178 [C99-based-standards] (PRIu16): Likewise.
44179 [C99-based-standards] (PRIx16): Likewise.
44180 [C99-based-standards] (PRIX16): Likewise.
44181 [C99-based-standards] (SCNd16): Likewise.
44182 [C99-based-standards] (SCNi16): Likewise.
44183 [C99-based-standards] (SCNo16): Likewise.
44184 [C99-based-standards] (SCNu16): Likewise.
44185 [C99-based-standards] (SCNx16): Likewise.
44186 [C99-based-standards] (PRIdLEAST16): Likewise.
44187 [C99-based-standards] (PRIiLEAST16): Likewise.
44188 [C99-based-standards] (PRIoLEAST16): Likewise.
44189 [C99-based-standards] (PRIuLEAST16): Likewise.
44190 [C99-based-standards] (PRIxLEAST16): Likewise.
44191 [C99-based-standards] (PRIXLEAST16): Likewise.
44192 [C99-based-standards] (SCNdLEAST16): Likewise.
44193 [C99-based-standards] (SCNiLEAST16): Likewise.
44194 [C99-based-standards] (SCNoLEAST16): Likewise.
44195 [C99-based-standards] (SCNuLEAST16): Likewise.
44196 [C99-based-standards] (SCNxLEAST16): Likewise.
44197 [C99-based-standards] (PRIdFAST16): Likewise.
44198 [C99-based-standards] (PRIiFAST16): Likewise.
44199 [C99-based-standards] (PRIoFAST16): Likewise.
44200 [C99-based-standards] (PRIuFAST16): Likewise.
44201 [C99-based-standards] (PRIxFAST16): Likewise.
44202 [C99-based-standards] (PRIXFAST16): Likewise.
44203 [C99-based-standards] (SCNdFAST16): Likewise.
44204 [C99-based-standards] (SCNiFAST16): Likewise.
44205 [C99-based-standards] (SCNoFAST16): Likewise.
44206 [C99-based-standards] (SCNuFAST16): Likewise.
44207 [C99-based-standards] (SCNxFAST16): Likewise.
44208 [C99-based-standards] (PRId32): Likewise.
44209 [C99-based-standards] (PRIi32): Likewise.
44210 [C99-based-standards] (PRIo32): Likewise.
44211 [C99-based-standards] (PRIu32): Likewise.
44212 [C99-based-standards] (PRIx32): Likewise.
44213 [C99-based-standards] (PRIX32): Likewise.
44214 [C99-based-standards] (SCNd32): Likewise.
44215 [C99-based-standards] (SCNi32): Likewise.
44216 [C99-based-standards] (SCNo32): Likewise.
44217 [C99-based-standards] (SCNu32): Likewise.
44218 [C99-based-standards] (SCNx32): Likewise.
44219 [C99-based-standards] (PRIdLEAST32): Likewise.
44220 [C99-based-standards] (PRIiLEAST32): Likewise.
44221 [C99-based-standards] (PRIoLEAST32): Likewise.
44222 [C99-based-standards] (PRIuLEAST32): Likewise.
44223 [C99-based-standards] (PRIxLEAST32): Likewise.
44224 [C99-based-standards] (PRIXLEAST32): Likewise.
44225 [C99-based-standards] (SCNdLEAST32): Likewise.
44226 [C99-based-standards] (SCNiLEAST32): Likewise.
44227 [C99-based-standards] (SCNoLEAST32): Likewise.
44228 [C99-based-standards] (SCNuLEAST32): Likewise.
44229 [C99-based-standards] (SCNxLEAST32): Likewise.
44230 [C99-based-standards] (PRIdFAST32): Likewise.
44231 [C99-based-standards] (PRIiFAST32): Likewise.
44232 [C99-based-standards] (PRIoFAST32): Likewise.
44233 [C99-based-standards] (PRIuFAST32): Likewise.
44234 [C99-based-standards] (PRIxFAST32): Likewise.
44235 [C99-based-standards] (PRIXFAST32): Likewise.
44236 [C99-based-standards] (SCNdFAST32): Likewise.
44237 [C99-based-standards] (SCNiFAST32): Likewise.
44238 [C99-based-standards] (SCNoFAST32): Likewise.
44239 [C99-based-standards] (SCNuFAST32): Likewise.
44240 [C99-based-standards] (SCNxFAST32): Likewise.
44241 [C99-based-standards] (PRId64): Likewise.
44242 [C99-based-standards] (PRIi64): Likewise.
44243 [C99-based-standards] (PRIo64): Likewise.
44244 [C99-based-standards] (PRIu64): Likewise.
44245 [C99-based-standards] (PRIx64): Likewise.
44246 [C99-based-standards] (PRIX64): Likewise.
44247 [C99-based-standards] (SCNd64): Likewise.
44248 [C99-based-standards] (SCNi64): Likewise.
44249 [C99-based-standards] (SCNo64): Likewise.
44250 [C99-based-standards] (SCNu64): Likewise.
44251 [C99-based-standards] (SCNx64): Likewise.
44252 [C99-based-standards] (PRIdLEAST64): Likewise.
44253 [C99-based-standards] (PRIiLEAST64): Likewise.
44254 [C99-based-standards] (PRIoLEAST64): Likewise.
44255 [C99-based-standards] (PRIuLEAST64): Likewise.
44256 [C99-based-standards] (PRIxLEAST64): Likewise.
44257 [C99-based-standards] (PRIXLEAST64): Likewise.
44258 [C99-based-standards] (SCNdLEAST64): Likewise.
44259 [C99-based-standards] (SCNiLEAST64): Likewise.
44260 [C99-based-standards] (SCNoLEAST64): Likewise.
44261 [C99-based-standards] (SCNuLEAST64): Likewise.
44262 [C99-based-standards] (SCNxLEAST64): Likewise.
44263 [C99-based-standards] (PRIdFAST64): Likewise.
44264 [C99-based-standards] (PRIiFAST64): Likewise.
44265 [C99-based-standards] (PRIoFAST64): Likewise.
44266 [C99-based-standards] (PRIuFAST64): Likewise.
44267 [C99-based-standards] (PRIxFAST64): Likewise.
44268 [C99-based-standards] (PRIXFAST64): Likewise.
44269 [C99-based-standards] (SCNdFAST64): Likewise.
44270 [C99-based-standards] (SCNiFAST64): Likewise.
44271 [C99-based-standards] (SCNoFAST64): Likewise.
44272 [C99-based-standards] (SCNuFAST64): Likewise.
44273 [C99-based-standards] (SCNxFAST64): Likewise.
44274 [C99-based-standards] (PRIdMAX): Likewise.
44275 [C99-based-standards] (PRIiMAX): Likewise.
44276 [C99-based-standards] (PRIoMAX): Likewise.
44277 [C99-based-standards] (PRIuMAX): Likewise.
44278 [C99-based-standards] (PRIxMAX): Likewise.
44279 [C99-based-standards] (PRIXMAX): Likewise.
44280 [C99-based-standards] (SCNdMAX): Likewise.
44281 [C99-based-standards] (SCNiMAX): Likewise.
44282 [C99-based-standards] (SCNoMAX): Likewise.
44283 [C99-based-standards] (SCNuMAX): Likewise.
44284 [C99-based-standards] (SCNxMAX): Likewise.
44285 [C99-based-standards] (PRIdPTR): Likewise.
44286 [C99-based-standards] (PRIiPTR): Likewise.
44287 [C99-based-standards] (PRIoPTR): Likewise.
44288 [C99-based-standards] (PRIuPTR): Likewise.
44289 [C99-based-standards] (PRIxPTR): Likewise.
44290 [C99-based-standards] (PRIXPTR): Likewise.
44291 [C99-based-standards] (SCNdPTR): Likewise.
44292 [C99-based-standards] (SCNiPTR): Likewise.
44293 [C99-based-standards] (SCNoPTR): Likewise.
44294 [C99-based-standards] (SCNuPTR): Likewise.
44295 [C99-based-standards] (SCNxPTR): Likewise.
44296 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
44297 allow.
44298 * conform/data/stdint.h-data: Update comments to clarify
44299 requirements.
44300 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
44301 type.
44302 [C99-based standards] (INT8_MAX): Likewise.
44303 [C99-based standards] (INT16_MIN): Likewise.
44304 [C99-based standards] (INT16_MAX): Likewise.
44305 [C99-based standards] (INT32_MIN): Likewise.
44306 [C99-based standards] (INT32_MAX): Likewise.
44307 [C99-based standards] (INT64_MIN): Likewise.
44308 [C99-based standards] (INT64_MAX): Likewise.
44309 [C99-based standards] (UINT8_MAX): Likewise.
44310 [C99-based standards] (UINT16_MAX): Likewise.
44311 [C99-based standards] (UINT32_MAX): Likewise.
44312 [C99-based standards] (UINT64_MAX): Likewise.
44313 [C99-based standards] (INT_LEAST8_MIN): Likewise.
44314 [C99-based standards] (INT_LEAST8_MAX): Likewise.
44315 [C99-based standards] (INT_LEAST16_MIN): Likewise.
44316 [C99-based standards] (INT_LEAST16_MAX): Likewise.
44317 [C99-based standards] (INT_LEAST32_MIN): Likewise.
44318 [C99-based standards] (INT_LEAST32_MAX): Likewise.
44319 [C99-based standards] (INT_LEAST64_MIN): Likewise.
44320 [C99-based standards] (INT_LEAST64_MAX): Likewise.
44321 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
44322 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
44323 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
44324 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
44325 [C99-based standards] (INT_FAST8_MIN): Likewise.
44326 [C99-based standards] (INT_FAST8_MAX): Likewise.
44327 [C99-based standards] (INT_FAST16_MIN): Likewise.
44328 [C99-based standards] (INT_FAST16_MAX): Likewise.
44329 [C99-based standards] (INT_FAST32_MIN): Likewise.
44330 [C99-based standards] (INT_FAST32_MAX): Likewise.
44331 [C99-based standards] (INT_FAST64_MIN): Likewise.
44332 [C99-based standards] (INT_FAST64_MAX): Likewise.
44333 [C99-based standards] (UINT_FAST8_MAX): Likewise.
44334 [C99-based standards] (UINT_FAST16_MAX): Likewise.
44335 [C99-based standards] (UINT_FAST32_MAX): Likewise.
44336 [C99-based standards] (UINT_FAST64_MAX): Likewise.
44337 [C99-based standards] (INTPTR_MIN): Likewise.
44338 [C99-based standards] (INTPTR_MAX): Likewise.
44339 [C99-based standards] (UINTPTR_MAX): Likewise.
44340 [C99-based standards] (INTMAX_MIN): Likewise.
44341 [C99-based standards] (INTMAX_MAX): Likewise.
44342 [C99-based standards] (UINTMAX_MAX): Likewise.
44343 [C99-based standards] (PTRDIFF_MIN): Likewise.
44344 [C99-based standards] (PTRDIFF_MAX): Likewise.
44345 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
44346 [C99-based standards] (SIZE_MAX): Likewise.
44347 [C99-based standards] (WCHAR_MAX): Likewise.
44348 [C99-based standards] (WINT_MAX): Likewise.
44349 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
44350 constraint on value.
44351 [C99-based standards] (WCHAR_MIN): Likewise.
44352 [C99-based standards] (WINT_MIN): Likewise.
44353 [C99-based standards] (*_t): Allow.
44354 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
44355 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
44356 Include math.h-data and complex.h-data. Remove all expectations
44357 of math.h and complex.h contents.
44358 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
44359 at end of line.
44360 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
44361 (struct tm): Expect tag.
44362 [C99-based-standards] (wcstof): Expect function.
44363 [C99-based-standards] (wcstold): Likewise.
44364 [C99-based-standards] (wcstoll): Likewise.
44365 [C99-based-standards] (wcstoull): Likewise.
44366 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
44367 macro-int-constant. Specify type.
44368 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
44369 constraint on value.
44370 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
44371 Specify type.
44372 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
44373 Specify value.
44374 [ISO C standards]: Do not allow headers.
44375 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
44376 wcs[abcdefghijklmnopqrstuvwxyz]*.
44377 [ISO C standards] (*_t): Do not allow.
44378 * conform/data/wctype.h-data [C99-based standards] (iswblank):
44379 Expect function.
44380 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
44381 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
44382 Specify type.
44383 [ISO C standards]: Do not allow headers.
44384 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
44385 is[abcdefghijklmnopqrstuvwxyz]*.
44386 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
44387 to[abcdefghijklmnopqrstuvwxyz]*.
44388 [ISO C standards] (*_t): Do not allow.
44389 * conform/data/stdalign.h-data: New file.
44390 * conform/data/stdbool.h-data: Likewise.
44391 * conform/data/stdnoreturn.h-data: Likewise.
44392
44393 2012-11-07 Roland McGrath <roland@hack.frob.com>
44394
44395 [BZ #14815]
44396 * manual/filesys.texi (Directory Entries): Typo fix.
44397 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
44398
44399 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44400
44401 * elf/elf.h (EM_AARCH64): New macro.
44402 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
44403 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
44404 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
44405 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
44406 (R_AARCH64_TLSDESC): Likewise.
44407 (NT_ARM_TLS): Likewise.
44408 (NT_ARM_HW_BREAK): Likewise.
44409 (NT_ARM_HW_WATCH): Likewise.
44410
44411 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44412
44413 [BZ #14811]
44414 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
44415 (__ieee754_powl): Saturate nonzero exponents with absolute value
44416 below 0x1p-79 to +/- 0x1p-79.
44417 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
44418 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
44419 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
44420 nonzero exponents with absolute value below 0x1p-32 to +/-
44421 0x1p-32.
44422 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
44423 (__ieee754_powl): Saturate nonzero exponents with absolute value
44424 below 0x1p-79 to +/- 0x1p-79.
44425 * math/libm-test.inc (pow_test): Add more tests.
44426
44427 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44428
44429 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
44430 _dl_s390_cap_flags with kernel. Increase string length.
44431 (_dl_s390_platforms): Add z196 and zEC12.
44432
44433 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44434
44435 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
44436 Change XOPEN21K to XOPEN2K.
44437
44438 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
44439
44440 * string/memmove.c: Use memcpy when possible.
44441
44442 2012-11-06 Andreas Jaeger <aj@suse.de>
44443
44444 * po/eo.po: Update from translation team.
44445
44446 2012-11-06 Joseph Myers <joseph@codesourcery.com>
44447
44448 [BZ #14793]
44449 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
44450 exponent and small x and y exponents, scale x or y up. Increase
44451 by 2 the exponent used in scaling up.
44452 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44453 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44454 * math/libm-test.inc (fma_test): Add more tests.
44455 (fma_test_towardzero): Likewise.
44456 (fma_test_downward): Likewise.
44457 (fma_test_upward): Likewise.
44458
44459 2012-11-05 Joseph Myers <joseph@codesourcery.com>
44460
44461 [BZ #14805]
44462 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
44463 fenv_t *.
44464
44465 [BZ #14801]
44466 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
44467 namespace for names of struct fields.
44468 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
44469 fenv_t fields.
44470 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
44471 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
44472
44473 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
44474
44475 [BZ #3665]
44476 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
44477
44478 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
44479
44480 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
44481 PTR_DEMANGLE.
44482
44483 [BZ #5246]
44484 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
44485 PTR_DEMANGLE.
44486
44487 2012-11-04 Joseph Myers <joseph@codesourcery.com>
44488
44489 [BZ #14797]
44490 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
44491 definitely overflow as x * y not x * y + z.
44492 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44493 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44494 * math/libm-test.inc (fma_test): Add more tests.
44495 (fma_test_towardzero): Likewise.
44496 (fma_test_downward): Likewise.
44497 (fma_test_upward): Likewise.
44498
44499 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
44500
44501 [BZ #157]
44502
44503 * include/stub-tag.h: Remove file.
44504 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
44505 '#include' of it.
44506 * manual/maint.texi (Porting): Don't reference it.
44507 * Makerules ($(objpfx)stubs): Likewise.
44508 * dirent/closedir.c: Don't include <stub-tag.h>.
44509 * dirent/dirfd.c: Likewise.
44510 * dirent/fdopendir.c: Likewise.
44511 * dirent/getdents.c: Likewise.
44512 * dirent/getdents64.c: Likewise.
44513 * dirent/opendir.c: Likewise.
44514 * dirent/readdir.c: Likewise.
44515 * dirent/readdir64.c: Likewise.
44516 * dirent/readdir64_r.c: Likewise.
44517 * dirent/readdir_r.c: Likewise.
44518 * dirent/rewinddir.c: Likewise.
44519 * dirent/seekdir.c: Likewise.
44520 * dirent/telldir.c: Likewise.
44521 * gmon/profil.c: Likewise.
44522 * grp/setgroups.c: Likewise.
44523 * inet/if_index.c: Likewise.
44524 * io/access.c: Likewise.
44525 * io/chdir.c: Likewise.
44526 * io/chmod.c: Likewise.
44527 * io/chown.c: Likewise.
44528 * io/close.c: Likewise.
44529 * io/dup.c: Likewise.
44530 * io/dup2.c: Likewise.
44531 * io/dup3.c: Likewise.
44532 * io/euidaccess.c: Likewise.
44533 * io/faccessat.c: Likewise.
44534 * io/fchdir.c: Likewise.
44535 * io/fchmod.c: Likewise.
44536 * io/fchmodat.c: Likewise.
44537 * io/fchown.c: Likewise.
44538 * io/fchownat.c: Likewise.
44539 * io/fcntl.c: Likewise.
44540 * io/flock.c: Likewise.
44541 * io/fstatfs.c: Likewise.
44542 * io/fstatfs64.c: Likewise.
44543 * io/fstatvfs.c: Likewise.
44544 * io/fstatvfs64.c: Likewise.
44545 * io/futimens.c: Likewise.
44546 * io/fxstat.c: Likewise.
44547 * io/fxstat64.c: Likewise.
44548 * io/fxstatat.c: Likewise.
44549 * io/fxstatat64.c: Likewise.
44550 * io/getcwd.c: Likewise.
44551 * io/isatty.c: Likewise.
44552 * io/lchmod.c: Likewise.
44553 * io/lchown.c: Likewise.
44554 * io/link.c: Likewise.
44555 * io/linkat.c: Likewise.
44556 * io/lseek.c: Likewise.
44557 * io/lseek64.c: Likewise.
44558 * io/lxstat64.c: Likewise.
44559 * io/mkdir.c: Likewise.
44560 * io/mkdirat.c: Likewise.
44561 * io/mkfifo.c: Likewise.
44562 * io/mkfifoat.c: Likewise.
44563 * io/open.c: Likewise.
44564 * io/open64.c: Likewise.
44565 * io/openat.c: Likewise.
44566 * io/openat64.c: Likewise.
44567 * io/pipe.c: Likewise.
44568 * io/pipe2.c: Likewise.
44569 * io/poll.c: Likewise.
44570 * io/posix_fadvise.c: Likewise.
44571 * io/posix_fadvise64.c: Likewise.
44572 * io/posix_fallocate.c: Likewise.
44573 * io/posix_fallocate64.c: Likewise.
44574 * io/read.c: Likewise.
44575 * io/readlink.c: Likewise.
44576 * io/readlinkat.c: Likewise.
44577 * io/rmdir.c: Likewise.
44578 * io/sendfile.c: Likewise.
44579 * io/sendfile64.c: Likewise.
44580 * io/statfs.c: Likewise.
44581 * io/statfs64.c: Likewise.
44582 * io/statvfs.c: Likewise.
44583 * io/statvfs64.c: Likewise.
44584 * io/symlink.c: Likewise.
44585 * io/symlinkat.c: Likewise.
44586 * io/ttyname.c: Likewise.
44587 * io/ttyname_r.c: Likewise.
44588 * io/umask.c: Likewise.
44589 * io/unlink.c: Likewise.
44590 * io/unlinkat.c: Likewise.
44591 * io/utime.c: Likewise.
44592 * io/utimensat.c: Likewise.
44593 * io/write.c: Likewise.
44594 * io/xmknod.c: Likewise.
44595 * io/xmknodat.c: Likewise.
44596 * io/xstat.c: Likewise.
44597 * io/xstat64.c: Likewise.
44598 * login/getpt.c: Likewise.
44599 * login/grantpt.c: Likewise.
44600 * login/unlockpt.c: Likewise.
44601 * math/e_acoshl.c: Likewise.
44602 * math/e_acosl.c: Likewise.
44603 * math/e_asinl.c: Likewise.
44604 * math/e_atan2l.c: Likewise.
44605 * math/e_atanhl.c: Likewise.
44606 * math/e_coshl.c: Likewise.
44607 * math/e_expl.c: Likewise.
44608 * math/e_fmodl.c: Likewise.
44609 * math/e_gammal_r.c: Likewise.
44610 * math/e_hypotl.c: Likewise.
44611 * math/e_j0l.c: Likewise.
44612 * math/e_j1l.c: Likewise.
44613 * math/e_jnl.c: Likewise.
44614 * math/e_lgammal_r.c: Likewise.
44615 * math/e_log10l.c: Likewise.
44616 * math/e_log2l.c: Likewise.
44617 * math/e_logl.c: Likewise.
44618 * math/e_powl.c: Likewise.
44619 * math/e_rem_pio2l.c: Likewise.
44620 * math/e_sinhl.c: Likewise.
44621 * math/e_sqrtl.c: Likewise.
44622 * math/fclrexcpt.c: Likewise.
44623 * math/fedisblxcpt.c: Likewise.
44624 * math/feenablxcpt.c: Likewise.
44625 * math/fegetenv.c: Likewise.
44626 * math/fegetexcept.c: Likewise.
44627 * math/fegetround.c: Likewise.
44628 * math/feholdexcpt.c: Likewise.
44629 * math/fesetenv.c: Likewise.
44630 * math/fesetround.c: Likewise.
44631 * math/feupdateenv.c: Likewise.
44632 * math/fgetexcptflg.c: Likewise.
44633 * math/fraiseexcpt.c: Likewise.
44634 * math/fsetexcptflg.c: Likewise.
44635 * math/ftestexcept.c: Likewise.
44636 * math/k_cosl.c: Likewise.
44637 * math/k_rem_pio2l.c: Likewise.
44638 * math/k_sinl.c: Likewise.
44639 * math/k_tanl.c: Likewise.
44640 * math/s_asinhl.c: Likewise.
44641 * math/s_atanl.c: Likewise.
44642 * math/s_cbrtl.c: Likewise.
44643 * math/s_erfl.c: Likewise.
44644 * math/s_expm1l.c: Likewise.
44645 * math/s_log1pl.c: Likewise.
44646 * math/s_tanhl.c: Likewise.
44647 * misc/acct.c: Likewise.
44648 * misc/brk.c: Likewise.
44649 * misc/chflags.c: Likewise.
44650 * misc/chroot.c: Likewise.
44651 * misc/fchflags.c: Likewise.
44652 * misc/fgetxattr.c: Likewise.
44653 * misc/flistxattr.c: Likewise.
44654 * misc/fremovexattr.c: Likewise.
44655 * misc/fsetxattr.c: Likewise.
44656 * misc/fsync.c: Likewise.
44657 * misc/ftruncate.c: Likewise.
44658 * misc/futimes.c: Likewise.
44659 * misc/futimesat.c: Likewise.
44660 * misc/getdomain.c: Likewise.
44661 * misc/getdtsz.c: Likewise.
44662 * misc/gethostid.c: Likewise.
44663 * misc/gethostname.c: Likewise.
44664 * misc/getloadavg.c: Likewise.
44665 * misc/getpagesize.c: Likewise.
44666 * misc/getsysstats.c: Likewise.
44667 * misc/getxattr.c: Likewise.
44668 * misc/gtty.c: Likewise.
44669 * misc/ioctl.c: Likewise.
44670 * misc/lgetxattr.c: Likewise.
44671 * misc/listxattr.c: Likewise.
44672 * misc/llistxattr.c: Likewise.
44673 * misc/lremovexattr.c: Likewise.
44674 * misc/lsetxattr.c: Likewise.
44675 * misc/lutimes.c: Likewise.
44676 * misc/madvise.c: Likewise.
44677 * misc/mincore.c: Likewise.
44678 * misc/mlock.c: Likewise.
44679 * misc/mlockall.c: Likewise.
44680 * misc/mmap.c: Likewise.
44681 * misc/mprotect.c: Likewise.
44682 * misc/msync.c: Likewise.
44683 * misc/munlock.c: Likewise.
44684 * misc/munlockall.c: Likewise.
44685 * misc/munmap.c: Likewise.
44686 * misc/preadv.c: Likewise.
44687 * misc/preadv64.c: Likewise.
44688 * misc/ptrace.c: Likewise.
44689 * misc/pwritev.c: Likewise.
44690 * misc/pwritev64.c: Likewise.
44691 * misc/readv.c: Likewise.
44692 * misc/reboot.c: Likewise.
44693 * misc/remap_file_pages.c: Likewise.
44694 * misc/removexattr.c: Likewise.
44695 * misc/revoke.c: Likewise.
44696 * misc/select.c: Likewise.
44697 * misc/setdomain.c: Likewise.
44698 * misc/setegid.c: Likewise.
44699 * misc/seteuid.c: Likewise.
44700 * misc/sethostid.c: Likewise.
44701 * misc/sethostname.c: Likewise.
44702 * misc/setregid.c: Likewise.
44703 * misc/setreuid.c: Likewise.
44704 * misc/setxattr.c: Likewise.
44705 * misc/sstk.c: Likewise.
44706 * misc/stty.c: Likewise.
44707 * misc/swapoff.c: Likewise.
44708 * misc/swapon.c: Likewise.
44709 * misc/sync.c: Likewise.
44710 * misc/syncfs.c: Likewise.
44711 * misc/syscall.c: Likewise.
44712 * misc/truncate.c: Likewise.
44713 * misc/ualarm.c: Likewise.
44714 * misc/usleep.c: Likewise.
44715 * misc/ustat.c: Likewise.
44716 * misc/utimes.c: Likewise.
44717 * misc/vhangup.c: Likewise.
44718 * misc/writev.c: Likewise.
44719 * posix/_exit.c: Likewise.
44720 * posix/alarm.c: Likewise.
44721 * posix/execve.c: Likewise.
44722 * posix/fexecve.c: Likewise.
44723 * posix/fork.c: Likewise.
44724 * posix/fpathconf.c: Likewise.
44725 * posix/getaddrinfo.c: Likewise.
44726 * posix/getegid.c: Likewise.
44727 * posix/geteuid.c: Likewise.
44728 * posix/getgid.c: Likewise.
44729 * posix/getgroups.c: Likewise.
44730 * posix/getlogin.c: Likewise.
44731 * posix/getlogin_r.c: Likewise.
44732 * posix/getpgid.c: Likewise.
44733 * posix/getpid.c: Likewise.
44734 * posix/getppid.c: Likewise.
44735 * posix/getresgid.c: Likewise.
44736 * posix/getresuid.c: Likewise.
44737 * posix/getsid.c: Likewise.
44738 * posix/getuid.c: Likewise.
44739 * posix/glob64.c: Likewise.
44740 * posix/nanosleep.c: Likewise.
44741 * posix/pathconf.c: Likewise.
44742 * posix/pause.c: Likewise.
44743 * posix/posix_madvise.c: Likewise.
44744 * posix/pread.c: Likewise.
44745 * posix/pread64.c: Likewise.
44746 * posix/pwrite.c: Likewise.
44747 * posix/pwrite64.c: Likewise.
44748 * posix/sched_getaffinity.c: Likewise.
44749 * posix/sched_getp.c: Likewise.
44750 * posix/sched_gets.c: Likewise.
44751 * posix/sched_primax.c: Likewise.
44752 * posix/sched_primin.c: Likewise.
44753 * posix/sched_rr_gi.c: Likewise.
44754 * posix/sched_setaffinity.c: Likewise.
44755 * posix/sched_setp.c: Likewise.
44756 * posix/sched_sets.c: Likewise.
44757 * posix/sched_yield.c: Likewise.
44758 * posix/setgid.c: Likewise.
44759 * posix/setlogin.c: Likewise.
44760 * posix/setpgid.c: Likewise.
44761 * posix/setresgid.c: Likewise.
44762 * posix/setresuid.c: Likewise.
44763 * posix/setsid.c: Likewise.
44764 * posix/setuid.c: Likewise.
44765 * posix/sleep.c: Likewise.
44766 * posix/spawni.c: Likewise.
44767 * posix/sysconf.c: Likewise.
44768 * posix/times.c: Likewise.
44769 * posix/wait.c: Likewise.
44770 * posix/wait3.c: Likewise.
44771 * posix/wait4.c: Likewise.
44772 * posix/waitpid.c: Likewise.
44773 * resolv/gai_sigqueue.c: Likewise.
44774 * resource/getpriority.c: Likewise.
44775 * resource/getrlimit.c: Likewise.
44776 * resource/getrusage.c: Likewise.
44777 * resource/nice.c: Likewise.
44778 * resource/setpriority.c: Likewise.
44779 * resource/setrlimit.c: Likewise.
44780 * resource/ulimit.c: Likewise.
44781 * rt/aio_cancel.c: Likewise.
44782 * rt/aio_fsync.c: Likewise.
44783 * rt/aio_read.c: Likewise.
44784 * rt/aio_sigqueue.c: Likewise.
44785 * rt/aio_suspend.c: Likewise.
44786 * rt/aio_write.c: Likewise.
44787 * rt/clock_getres.c: Likewise.
44788 * rt/clock_gettime.c: Likewise.
44789 * rt/clock_nanosleep.c: Likewise.
44790 * rt/clock_settime.c: Likewise.
44791 * rt/lio_listio.c: Likewise.
44792 * rt/mq_close.c: Likewise.
44793 * rt/mq_getattr.c: Likewise.
44794 * rt/mq_notify.c: Likewise.
44795 * rt/mq_open.c: Likewise.
44796 * rt/mq_receive.c: Likewise.
44797 * rt/mq_send.c: Likewise.
44798 * rt/mq_setattr.c: Likewise.
44799 * rt/mq_timedreceive.c: Likewise.
44800 * rt/mq_timedsend.c: Likewise.
44801 * rt/mq_unlink.c: Likewise.
44802 * rt/shm_open.c: Likewise.
44803 * rt/shm_unlink.c: Likewise.
44804 * rt/timer_create.c: Likewise.
44805 * rt/timer_delete.c: Likewise.
44806 * rt/timer_getoverr.c: Likewise.
44807 * rt/timer_gettime.c: Likewise.
44808 * rt/timer_settime.c: Likewise.
44809 * setjmp/__longjmp.c: Likewise.
44810 * setjmp/setjmp.c: Likewise.
44811 * signal/kill.c: Likewise.
44812 * signal/killpg.c: Likewise.
44813 * signal/raise.c: Likewise.
44814 * signal/sigaction.c: Likewise.
44815 * signal/sigaltstack.c: Likewise.
44816 * signal/sigblock.c: Likewise.
44817 * signal/sigignore.c: Likewise.
44818 * signal/sigintr.c: Likewise.
44819 * signal/signal.c: Likewise.
44820 * signal/sigpause.c: Likewise.
44821 * signal/sigpending.c: Likewise.
44822 * signal/sigqueue.c: Likewise.
44823 * signal/sigreturn.c: Likewise.
44824 * signal/sigset.c: Likewise.
44825 * signal/sigsetmask.c: Likewise.
44826 * signal/sigstack.c: Likewise.
44827 * signal/sigsuspend.c: Likewise.
44828 * signal/sigtimedwait.c: Likewise.
44829 * signal/sigvec.c: Likewise.
44830 * signal/sigwait.c: Likewise.
44831 * signal/sigwaitinfo.c: Likewise.
44832 * signal/sysv_signal.c: Likewise.
44833 * socket/accept.c: Likewise.
44834 * socket/accept4.c: Likewise.
44835 * socket/bind.c: Likewise.
44836 * socket/connect.c: Likewise.
44837 * socket/getpeername.c: Likewise.
44838 * socket/getsockname.c: Likewise.
44839 * socket/getsockopt.c: Likewise.
44840 * socket/isfdtype.c: Likewise.
44841 * socket/listen.c: Likewise.
44842 * socket/recv.c: Likewise.
44843 * socket/recvfrom.c: Likewise.
44844 * socket/recvmsg.c: Likewise.
44845 * socket/send.c: Likewise.
44846 * socket/sendmsg.c: Likewise.
44847 * socket/sendto.c: Likewise.
44848 * socket/setsockopt.c: Likewise.
44849 * socket/shutdown.c: Likewise.
44850 * socket/sockatmark.c: Likewise.
44851 * socket/socket.c: Likewise.
44852 * socket/socketpair.c: Likewise.
44853 * stdio-common/ctermid.c: Likewise.
44854 * stdio-common/cuserid.c: Likewise.
44855 * stdio-common/remove.c: Likewise.
44856 * stdio-common/rename.c: Likewise.
44857 * stdio-common/renameat.c: Likewise.
44858 * stdio-common/tempname.c: Likewise.
44859 * stdlib/getcontext.c: Likewise.
44860 * stdlib/makecontext.c: Likewise.
44861 * stdlib/setcontext.c: Likewise.
44862 * stdlib/swapcontext.c: Likewise.
44863 * stdlib/system.c: Likewise.
44864 * streams/fattach.c: Likewise.
44865 * streams/fdetach.c: Likewise.
44866 * streams/getmsg.c: Likewise.
44867 * streams/getpmsg.c: Likewise.
44868 * streams/putmsg.c: Likewise.
44869 * streams/putpmsg.c: Likewise.
44870 * sysdeps/unix/bsd/getpt.c: Likewise.
44871 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
44872 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
44873 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
44874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44875 Likewise.
44876 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
44877 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44878 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
44879 * sysvipc/msgctl.c: Likewise.
44880 * sysvipc/msgget.c: Likewise.
44881 * sysvipc/msgrcv.c: Likewise.
44882 * sysvipc/msgsnd.c: Likewise.
44883 * sysvipc/semctl.c: Likewise.
44884 * sysvipc/semget.c: Likewise.
44885 * sysvipc/semop.c: Likewise.
44886 * sysvipc/semtimedop.c: Likewise.
44887 * sysvipc/shmat.c: Likewise.
44888 * sysvipc/shmctl.c: Likewise.
44889 * sysvipc/shmdt.c: Likewise.
44890 * sysvipc/shmget.c: Likewise.
44891 * termios/tcdrain.c: Likewise.
44892 * termios/tcflow.c: Likewise.
44893 * termios/tcflush.c: Likewise.
44894 * termios/tcgetattr.c: Likewise.
44895 * termios/tcgetpgrp.c: Likewise.
44896 * termios/tcsendbrk.c: Likewise.
44897 * termios/tcsetattr.c: Likewise.
44898 * termios/tcsetpgrp.c: Likewise.
44899 * time/adjtime.c: Likewise.
44900 * time/clock.c: Likewise.
44901 * time/getitimer.c: Likewise.
44902 * time/gettimeofday.c: Likewise.
44903 * time/setitimer.c: Likewise.
44904 * time/settimeofday.c: Likewise.
44905 * time/stime.c: Likewise.
44906 * time/time.c: Likewise.
44907
44908 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
44909
44910 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
44911 /usr/old/bin.
44912
44913 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
44914 instead of spaces.
44915 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
44916
44917 2012-11-03 Joseph Myers <joseph@codesourcery.com>
44918
44919 [BZ #14796]
44920 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
44921 FE_TONEAREST before applying Dekker multiplication and Knuth
44922 addition. Clear inexact exceptions and check for exact zero
44923 results afterwards.
44924 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44925 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44926 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44927 * math/libm-test.inc (fma_test): Add more tests.
44928 (fma_test_towardzero): Likewise.
44929 (fma_test_downward): Likewise.
44930 (fma_test_upward): Likewise.
44931 * sysdeps/generic/math_private.h (default_libc_fesetround): New
44932 function.
44933 (libc_fesetround): New macro.
44934 (libc_fesetroundf): Likewise.
44935 (libc_fesetroundl): Likewise.
44936 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
44937 function.
44938 (libc_fesetround_387): Likewise.
44939 (libc_fesetroundf): New macro.
44940 (libc_fesetround): Likewise.
44941 (libc_fesetroundl): Likewise.
44942 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
44943 function.
44944 (libc_fesetroundf): New macro.
44945 (libc_fesetround): Likewise.
44946 (libc_fesetroundl): Likewise.
44947 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
44948 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
44949 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
44950 libm_hidden_ver.
44951 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
44952 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
44953 libm_hidden_def.
44954 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
44955 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
44956 libm_hidden_ver.
44957 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
44958 libm_hidden_def.
44959
44960 [BZ #3439]
44961 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
44962 integer constant usable in #if and use that to give value to enum
44963 constant.
44964 (FE_DIVBYZERO): Likewise.
44965 (FE_UNDERFLOW): Likewise.
44966 (FE_OVERFLOW): Likewise.
44967 (FE_INVALID): Likewise.
44968 (FE_INVALID_SNAN): Likewise.
44969 (FE_INVALID_ISI): Likewise.
44970 (FE_INVALID_IDI): Likewise.
44971 (FE_INVALID_ZDZ): Likewise.
44972 (FE_INVALID_IMZ): Likewise.
44973 (FE_INVALID_COMPARE): Likewise.
44974 (FE_INVALID_SOFTWARE): Likewise.
44975 (FE_INVALID_SQRT): Likewise.
44976 (FE_INVALID_INTEGER_CONVERSION): Likewise.
44977 (FE_TONEAREST): Likewise.
44978 (FE_TOWARDZERO): Likewise.
44979 (FE_UPWARD): Likewise.
44980 (FE_DOWNWARD): Likewise.
44981 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
44982 (FE_DIVBYZERO): Likewise.
44983 (FE_OVERFLOW): Likewise.
44984 (FE_UNDERFLOW): Likewise.
44985 (FE_INEXACT): Likewise.
44986 (FE_TONEAREST): Likewise.
44987 (FE_DOWNWARD): Likewise.
44988 (FE_UPWARD): Likewise.
44989 (FE_TOWARDZERO): Likewise.
44990 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
44991 (FE_UNDERFLOW): Likewise.
44992 (FE_OVERFLOW): Likewise.
44993 (FE_DIVBYZERO): Likewise.
44994 (FE_INVALID): Likewise.
44995 (FE_TONEAREST): Likewise.
44996 (FE_TOWARDZERO): Likewise.
44997 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
44998 (FE_OVERFLOW): Likewise.
44999 (FE_UNDERFLOW): Likewise.
45000 (FE_DIVBYZERO): Likewise.
45001 (FE_INEXACT): Likewise.
45002 (FE_TONEAREST): Likewise.
45003 (FE_TOWARDZERO): Likewise.
45004 (FE_UPWARD): Likewise.
45005 (FE_DOWNWARD): Likewise.
45006 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
45007 (FE_DIVBYZERO): Likewise.
45008 (FE_OVERFLOW): Likewise.
45009 (FE_UNDERFLOW): Likewise.
45010 (FE_INEXACT): Likewise.
45011 (FE_TONEAREST): Likewise.
45012 (FE_DOWNWARD): Likewise.
45013 (FE_UPWARD): Likewise.
45014 (FE_TOWARDZERO): Likewise.
45015
45016 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
45017
45018 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
45019
45020 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
45021
45022 * scripts/cross-test-ssh.sh (command): Use newlines to separate
45023 commands. Quote $PWD.
45024 (blacklist_exports): Don't use remove_newlines. Replace "declare
45025 -x" by "export".
45026 (remove_newlines): Remove.
45027
45028 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
45029
45030 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
45031 * stdlib/stdlib.h (atof): Moved to ...
45032 * include/bits/stdlib-float.h: Here. New file.
45033 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
45034 * stdlib/bits/stdlib-float.h: New file.
45035 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
45036 -mno-sse -mno-mmx.
45037 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
45038 <xmmintrin.h>.
45039
45040 2012-11-02 Joseph Myers <joseph@codesourcery.com>
45041
45042 * conform/conformtest.pl (@headers): Add fenv.h.
45043 * conform/data/fenv.h-data: New file.
45044 * include/fenv.h [_ISOMAC]: Disable all contents of file except
45045 include of <math/fenv.h>.
45046
45047 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
45048 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
45049 && !UNIX98]. Enables tests for XOPEN2K8.
45050 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
45051 POSIX2008]: Likewise.
45052
45053 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
45054 (struct rusage): Do not expect type or its members.
45055
45056 [BZ #3439]
45057 * math/math.h (FP_NAN): Define macro to integer constant usable in
45058 #if and use that to give value to enum constant.
45059 (FP_INFINITE): Likewise.
45060 (FP_ZERO): Likewise.
45061 (FP_SUBNORMAL): Likewise.
45062 (FP_NORMAL): Likewise.
45063
45064 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
45065
45066 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
45067 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
45068 arguments.
45069
45070 2012-11-02 Roland McGrath <roland@hack.frob.com>
45071
45072 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
45073 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
45074 autoconf-time if not.
45075 * configure.in: Remove AC_PREREQ.
45076
45077 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45078
45079 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
45080 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
45081 of the internal implementation.
45082
45083 2012-11-02 Joseph Myers <joseph@codesourcery.com>
45084
45085 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
45086 except include of <misc/sys/syslog.h>.
45087
45088 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
45089
45090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
45091 function returns with a NULL context exit with zero.
45092
45093 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45094
45095 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
45096
45097 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
45098
45099 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
45100 (run_program_cmd): This.
45101 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
45102 (tst_langinfo): New variable. Use it.
45103
45104 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
45105
45106 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
45107 floating point opcodes.
45108
45109 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
45110
45111 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
45112 variable.
45113
45114 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
45115
45116 * sysdeps/mach/hurd/powerpc: Remove directory.
45117 * sysdeps/mach/powerpc: Likewise.
45118
45119 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
45120
45121 * scripts/check-local-headers.sh: Ignore c++ headers.
45122
45123 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
45124
45125 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
45126 __libc_cleanup_region_start argument.
45127
45128 2012-11-01 Joseph Myers <joseph@codesourcery.com>
45129
45130 [BZ #14784]
45131 [BZ #14785]
45132 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
45133 x * y using scaling, not as x * y + z.
45134 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45135 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45136 * math/libm-test.inc (fma_test): Add more tests.
45137 (fma_test_towardzero): Likewise.
45138 (fma_test_downward): Likewise.
45139 (fma_test_upward): Likewise.
45140
45141 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
45142
45143 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
45144
45145 2012-10-31 Joseph Myers <joseph@codesourcery.com>
45146
45147 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
45148 New variable.
45149
45150 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
45151
45152 * rt/tst-shm.c (worker): Correct checking for mmap failure.
45153
45154 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
45155
45156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45157 Fix sort order.
45158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45159 Likewise.
45160
45161 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45162
45163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45164 Fix the order of the list for glibc 2.17.
45165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45166 Likewise.
45167
45168 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
45169
45170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45171
45172 2012-10-31 Joseph Myers <joseph@codesourcery.com>
45173
45174 [BZ #14610]
45175 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
45176 for low part of x being zero before using __atanl (y).
45177 * math/libm-test.inc (atan2_test): Add another test.
45178
45179 * manual/install.texi (Configuring and compiling): Document
45180 general use of test-wrapper and test-wrapper-env.
45181 * INSTALL: Regenerated.
45182
45183 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
45184 (__fma): Do not extract and scale down low bits on after-rounding
45185 systems when result rounded to normal precision would have normal
45186 exponent.
45187 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
45188 (__fmal): Do not extract and scale down low bits on after-rounding
45189 systems when result rounded to normal precision would have normal
45190 exponent.
45191 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
45192 (__fmal): Do not extract and scale down low bits on after-rounding
45193 systems when result rounded to normal precision would have normal
45194 exponent.
45195 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
45196 macro.
45197 (fma_test): Add more tests.
45198 (fma_test_towardzero): Likewise.
45199 (fma_test_downward): Likewise.
45200 (fma_test_upward): Likewise.
45201
45202 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
45203
45204 * sysdeps/i386/tininess.h: Renamed to ...
45205 * sysdeps/x86/tininess.h: This.
45206 * sysdeps/x86_64/tininess.h: Removed.
45207
45208 2012-10-30 Joseph Myers <joseph@codesourcery.com>
45209
45210 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
45211 input. Use $(build-program-cmd).
45212 ($(objpfx)tst-array1-static.out): Likewise.
45213 ($(objpfx)tst-array2.out): Likewise.
45214 ($(objpfx)tst-array3.out): Likewise.
45215 ($(objpfx)tst-array4.out): Likewise.
45216 ($(objpfx)tst-array5.out): Likewise.
45217 ($(objpfx)tst-array5-static.out): Likewise.
45218
45219 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
45220
45221 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
45222 if defined.
45223
45224 * nss/nsswitch.h (nss_interface_function): Provide new
45225 macro for use with NSS functions.
45226 * grp/initgroups.c: Use new macro.
45227 * nss/getXXbyYY.c: Likewise.
45228 * nss/getXXbyYY_r.c: Likewise.
45229 * nss/getXXent.c: Likewise.
45230 * nss/getXXent_r.c: Likewise.
45231 * sysdeps/posix/getaddrinfo.c: Likewise.
45232
45233 2012-10-30 Andreas Jaeger <aj@suse.de>
45234
45235 * po/ru.po: Update Russion translation from translation project.
45236
45237 2012-10-30 Joseph Myers <joseph@codesourcery.com>
45238
45239 [BZ #14152]
45240 [BZ #14783]
45241 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
45242 result and shift together with sticky bit instead of replicating
45243 round-to-nearest rounding.
45244 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45245 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45246 * math/libm-test.inc (fma_test): Add more tests. Do not permit
45247 missing underflow exceptions.
45248 (fma_test_towardzero): Add more tests.
45249 (fma_test_downward): Likewise.
45250 (fma_test_upward): Likewise.
45251
45252 [BZ #14047]
45253 * sysdeps/generic/tininess.h: New file.
45254 * sysdeps/i386/tininess.h: Likewise.
45255 * sysdeps/sh/tininess.h: Likewise.
45256 * sysdeps/x86_64/tininess.h: Likewise.
45257 * stdlib/tst-strtod-underflow.c: Likewise.
45258 * stdlib/tst-tininess.c: Likewise.
45259 * stdlib/strtod_l.c: Include <tininess.h>.
45260 (round_and_return): Do not set errno for exact underflow cases.
45261 Force an underflow exception when setting errno for underflow.
45262 Determine underflow based on rounding to normal precision if
45263 TININESS_AFTER_ROUNDING.
45264 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
45265 ERANGE for exact underflow cases.
45266 * stdlib/Makefile (tests): Add tst-tininess and
45267 tst-strtod-underflow.
45268 ($(objpfx)tst-tininess): Use $(link-libm).
45269 ($(objpfx)tst-strtod-underflow): Likewise.
45270
45271 2012-10-30 Andreas Jaeger <aj@suse.de>
45272
45273 [BZ#14767]
45274 * elf/Makefile (tests): Remove conditional for have-initfini-array
45275 since this is now always required and the variable does not exist
45276 anymore.
45277 (tests-static): Likewise.
45278 (modules-names): Likewise.
45279
45280 * po/eo.po: Add Esperanto translation from translation project.
45281
45282 * elf/tst-array1.c (fini_array): Make writeable so that it can be
45283 merged with constructor/destructor.
45284 (init_array): Likewise.
45285 * elf/tst-array2dep.c (fini_array): Likewise.
45286 (init_array): Likewise.
45287
45288 2012-10-29 Mike Frysinger <vapier@gentoo.org>
45289
45290 * manual/message.texi: Delete @cartouche tags.
45291
45292 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
45293
45294 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
45295 EOPNOTSUPP.
45296 * sysdeps/mach/hurd/fsync.c: Likewise.
45297
45298 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
45299 [_POSIX_REALTIME_SIGNALS]: Change condition to
45300 [_POSIX_REALTIME_SIGNALS > 0].
45301
45302 2012-10-27 Andreas Jaeger <aj@suse.de>
45303
45304 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
45305 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
45306 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
45307 [__WORDSIZE != 64]: Likewise.
45308
45309 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
45310
45311 * iconvdata/tst-table.sh: Remove ${SHELL}.
45312 * iconvdata/tst-tables.sh: Likewise.
45313
45314 2012-10-25 David S. Miller <davem@davemloft.net>
45315
45316 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45317 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
45318 of strtoull.
45319
45320 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
45321 ifunc-impl-list.c
45322 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45323 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
45324 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
45325 file.
45326
45327 2012-10-25 Roland McGrath <roland@hack.frob.com>
45328
45329 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45330 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
45331 __getdirentries.
45332
45333 2012-10-25 Joseph Myers <joseph@codesourcery.com>
45334 Jim Blandy <jimb@codesourcery.com>
45335
45336 * scripts/cross-test-ssh.sh: New file.
45337 * manual/install.texi (Configuring and compiling): Document use of
45338 cross-test-ssh.sh.
45339 * INSTALL: Regenerated.
45340
45341 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
45342
45343 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
45344 EOPNOTSUPP.
45345
45346 2012-10-25 Joseph Myers <joseph@codesourcery.com>
45347
45348 * Makeconfig (run-program-prefix): Fix comment.
45349
45350 2012-10-24 Joseph Myers <joseph@codesourcery.com>
45351 Jim Blandy <jimb@codesourcery.com>
45352
45353 * Makeconfig (test-wrapper): New variable,
45354 (test-wrapper-env): Likewise.
45355 [$(cross-compiling) = yes && $(test-wrapper) != ""]
45356 (run-built-tests): Define to yes.
45357 (run-program-prefix): Use $(test-wrapper).
45358 (built-program-cmd): Likewise.
45359 * Rules (make-test-out): Use $(test-wrapper-env) and
45360 $(host-built-program-cmd).
45361 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
45362 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
45363 tst-pathopt.sh.
45364 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
45365 $(test-wrapper-env) to tst-rtld-load-self.sh.
45366 ($(objpfx)order2.out): Use $(test-wrapper).
45367 ($(objpfx)tst-initorder.out): Likewise.
45368 ($(objpfx)tst-initorder2.out): Likewise.
45369 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
45370 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
45371 (test_wrapper_env): New variable. Use it to run ld.so.
45372 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
45373 Use it to run ld.so.
45374 (test_wrapper_env): Likewise.
45375 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
45376 $(test-wrapper) to run-iconv-test.sh.
45377 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
45378 (ICONV): Use $test_wrapper.
45379 * posix/Makefile ($(objpfx)globtest.out): Pass
45380 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
45381 globtest.sh, not $(run-program-prefix).
45382 * posix/globtest.sh (run_via_rtld_prefix): New variable.
45383 (test_wrapper): Likewise.
45384 (test_wrapper_env): Likewise. Use it to run globtest with HOME
45385 set together with run_via_rtld_prefix.
45386 (run_program_prefix): Define in terms of test_wrapper and
45387 run_via_rtld_prefix.
45388
45389 2012-10-24 Roland McGrath <roland@hack.frob.com>
45390
45391 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
45392 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
45393 Targets removed.
45394
45395 [BZ #14743]
45396 * include/time.h: Remove librt_hidden_proto (clock_gettime).
45397 Declare __clock_getres, __clock_gettime, __clock_settime,
45398 __clock_nanosleep, and __clock_getcpuclockid.
45399 * rt/clock_gettime.c: Define __clock_gettime as an alias.
45400 Remove librt_hidden_def (clock_gettime).
45401 * sysdeps/unix/clock_gettime.c: Likewise.
45402 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
45403 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
45404 * rt/clock_getres.c: Define __clock_getres as an alias.
45405 * sysdeps/posix/clock_getres.c: Likewise.
45406 * rt/clock_settime.c: Define __clock_settime as an alias.
45407 * sysdeps/unix/clock_settime.c: Likewise.
45408 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
45409 * sysdeps/unix/clock_nanosleep.c: Likewise.
45410 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
45411 * rt/clock-compat.c: New file.
45412 * rt/Makefile (librt-routines): Add clock-compat and move
45413 $(clock-routines) to ...
45414 (routines): ... here, new variable.
45415 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
45416 Don't add get_clockfreq here.
45417 * rt/Versions (libc: GLIBC_2.17): New version set.
45418 Add clock_* symbols here.
45419 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
45420 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
45421 (GLIBC_2.17): Add clock_* symbols.
45422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45423 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45424 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45426 Likewise.
45427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45428 Likewise.
45429 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45430 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45431 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45433 * NEWS: Mention the move.
45434
45435 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
45436 Use __open, __read, __close rather than their public counterparts.
45437 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45438 (__get_clockfreq_via_cpuinfo): Likewise.
45439 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
45440 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
45441
45442 * config.h.in (HAVE_IFUNC): New #undef.
45443 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
45444 was successful.
45445 * configure: Regenerated.
45446
45447 2012-10-24 Mike Frysinger <vapier@gentoo.org>
45448
45449 * configure.in: Move READELF check to start of file.
45450 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
45451 libc_cv_asm_gnu_indirect_function in the process.
45452 * configure: Regenerated.
45453
45454 2012-10-24 Mike Frysinger <vapier@gentoo.org>
45455
45456 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
45457 send the output to /dev/null.
45458 (libc_cv_cc_with_libunwind): Likewise.
45459 (libc_cv_as_noexecstack): Likewise.
45460 * configure: Regenerate.
45461
45462 2012-10-24 Joseph Myers <joseph@codesourcery.com>
45463
45464 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
45465
45466 * posix/globtest.sh (TMPDIR): Do not set.
45467 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
45468 (testout): Likewise.
45469
45470 2012-10-24 Andreas Jaeger <aj@suse.de>
45471
45472 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
45473 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
45474 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
45475 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
45476 posix_fadvise64, posix_fallocate64.
45477
45478 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
45479 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
45480 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
45481 Likewise.
45482 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
45483 Likewise.
45484 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
45485
45486 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
45487 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
45488 <bits/fcntl-linux.h>.
45489 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
45490
45491 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
45492 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
45493 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
45494 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
45495 [__WORDSIZE != 64]: Likewise.
45496
45497 2012-10-23 Joseph Myers <joseph@codesourcery.com>
45498
45499 * Makeconfig (run-built-tests): New variable.
45500 * Rules [$(cross-compiling) = yes]: Change condition to
45501 [$(run-built-tests) = no].
45502 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
45503 to [$(run-built-tests) = yes].
45504 * elf/Makefile [$(cross-compiling) = no]: Likewise
45505 * grp/Makefile [$(cross-compiling) = no]: Likewise.
45506 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
45507 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
45508 * intl/Makefile [$(cross-compiling) = no]: Likewise.
45509 * io/Makefile [$(cross-compiling) = no]: Likewise.
45510 * libio/Makefile [$(cross-compiling) = no]: Likewise.
45511 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
45512 * misc/Makefile [$(cross-compiling) = no]: Likewise.
45513 * posix/Makefile [$(cross-compiling) = no]: Likewise.
45514 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
45515 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
45516 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
45517 * string/Makefile [$(cross-compiling) = no]: Likewise.
45518
45519 * posix/Makefile ($(objpfx)globtest.out): Pass
45520 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
45521 $(rtld-installed-name).
45522 * posix/globtest.sh (elf_objpfx): Remove variable.
45523 (rtld_installed_name): Likewise.
45524 (library_path): Likewise.
45525 (run_program_prefix): New variable. Use for running globtest
45526 binary.
45527
45528 2012-10-23 Jim Blandy <jimb@codesourcery.com>
45529 Joseph Myers <joseph@codesourcery.com>
45530
45531 * Makeconfig (host-built-program-cmd): New variable.
45532 * elf/Makefile (tst-stackguard1-ARGS): Use
45533 $(host-built-program-cmd).
45534 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
45535 (tst-spawn-ARGS): Likewise.
45536 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
45537
45538 2012-10-23 Joseph Myers <joseph@codesourcery.com>
45539 Jim Blandy <jimb@codesourcery.com>
45540
45541 * Makeconfig (run-via-rtld-prefix): New variable.
45542 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
45543 (built-program-cmd): Likewise.
45544
45545 2012-10-22 Andreas Jaeger <aj@suse.de>
45546
45547 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
45548 __O_RSYNC if it exists, otherwise to O_SYNC.
45549
45550 2012-10-22 Jim Blandy <jimb@codesourcery.com>
45551 Joseph Myers <joseph@codesourcery.com>
45552
45553 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
45554 /dev/null.
45555 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
45556 from /dev/null
45557 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
45558 /dev/null.
45559
45560 2012-10-22 Andreas Jaeger <aj@suse.de>
45561
45562 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
45563 Define always.
45564 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
45565
45566 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45567 bits/fcntl-linux.h.
45568
45569 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
45570 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
45571
45572 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
45573 to __O_LARGEFILE.
45574 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
45575 to __O_LARGEFILE.
45576
45577 2012-10-21 Jim Blandy <jimb@codesourcery.com>
45578 Joseph Myers <joseph@codesourcery.com>
45579
45580 * config.make.in (NM): New variable.
45581
45582 2012-10-21 Andreas Jaeger <aj@suse.de>
45583
45584 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
45585 definitions and declarations that are provided by
45586 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
45587
45588 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
45589
45590 [BZ #14683]
45591 * elf/Makefile (tests-static): Add tst-leaks1-static.
45592 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
45593 ($(objpfx)tst-leaks1-static): New rule.
45594 ($(objpfx)tst-leaks1-static-mem): Likewise.
45595 (tst-leaks1-static-ENV): New macro.
45596 * elf/dl-open.c (dl_open_worker): Check the main application
45597 only if SHARED is defined.
45598 * elf/tst-leaks1-static.c: New file.
45599
45600 2012-10-20 Andreas Jaeger <aj@suse.de>
45601
45602 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
45603 generic values for Linux.
45604 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
45605 and declarations that are provided by <bits/fcntl-linux.h> and
45606 include <bits/fcntl-linux.h>.
45607 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45608 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45609
45610 2012-10-20 Roland McGrath <roland@hack.frob.com>
45611
45612 * io/fcntl.h: Move include of <bits/types.h> to the top and
45613 include it unconditionally.
45614
45615 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
45616
45617 * wcsmbs/Makefile (tests-ifunc): New variable.
45618 (tests): Add $(tests-ifunc).
45619 * wcsmbs/test-wcschr-ifunc.c: New file.
45620 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
45621 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
45622 * wcsmbs/test-wcslen-ifunc.c: Likewise.
45623 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
45624 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
45625
45626 * string/Makefile (tests-ifunc): New variable.
45627 (tests): Add $(tests-ifunc).
45628 * string/test-memccpy.c (TEST_NAME): New macro.
45629 * string/test-memchr.c (TEST_NAME): Likewise.
45630 * string/test-memcmp.c (TEST_NAME): Likewise.
45631 * string/test-memcpy.c (TEST_NAME): Likewise.
45632 * string/test-memmem.c (TEST_NAME): Likewise.
45633 * string/test-memmove.c (TEST_NAME): Likewise.
45634 * string/test-memset.c (TEST_NAME): Likewise.
45635 * string/test-rawmemchr.c (TEST_NAME): Likewise.
45636 * string/test-stpcpy.c (TEST_NAME): Likewise.
45637 * string/test-stpncpy.c (TEST_NAME): Likewise.
45638 * string/test-strcasecmp.c (TEST_NAME): Likewise.
45639 * string/test-strcasestr.c (TEST_NAME): Likewise.
45640 * string/test-strcat.c (TEST_NAME): Likewise.
45641 * string/test-strchr.c (TEST_NAME): Likewise.
45642 * string/test-strcmp.c(TEST_NAME): Likewise.
45643 * string/test-strcpy.c (TEST_NAME): Likewise.
45644 * string/test-strcspn.c (TEST_NAME): Likewise.
45645 * string/test-strlen.c (TEST_NAME): Likewise.
45646 * string/test-strncasecmp.c (TEST_NAME): Likewise.
45647 * string/test-strncmp.c (TEST_NAME): Likewise.
45648 * string/test-strncpy.c (TEST_NAME): Likewise.
45649 * string/test-strnlen.c (TEST_NAME): Likewise.
45650 * string/test-strpbrk.c (TEST_NAME): Likewise.
45651 * string/test-strrchr.c (TEST_NAME): Likewise.
45652 * string/test-strspn.c (TEST_NAME): Likewise.
45653 * string/test-strstr.c (TEST_NAME): Likewise.
45654 * string/test-bcopy-ifunc.c: New file.
45655 * string/test-bzero-ifunc.c: Likewise.
45656 * string/test-memccpy-ifunc.c: Likewise.
45657 * string/test-memchr-ifunc.c: Likewise.
45658 * string/test-memcmp-ifunc.c: Likewise.
45659 * string/test-memcpy-ifunc.c: Likewise.
45660 * string/test-memmem-ifunc.c: Likewise.
45661 * string/test-memmove-ifunc.c: Likewise.
45662 * string/test-mempcpy-ifunc.c: Likewise.
45663 * string/test-memset-ifunc.c: Likewise.
45664 * string/test-rawmemchr-ifunc.c: Likewise.
45665 * string/test-stpcpy-ifunc.c: Likewise.
45666 * string/test-stpncpy-ifunc.c: Likewise.
45667 * string/test-strcasecmp-ifunc.c: Likewise.
45668 * string/test-strcasestr-ifunc.c: Likewise.
45669 * string/test-strcat-ifunc.c: Likewise.
45670 * string/test-strchr-ifunc.c: Likewise.
45671 * string/test-strchrnul-ifunc.c: Likewise.
45672 * string/test-strcmp-ifunc.c: Likewise.
45673 * string/test-strcpy-ifunc.c: Likewise.
45674 * string/test-strcspn-ifunc.c: Likewise.
45675 * string/test-strlen-ifunc.c: Likewise.
45676 * string/test-strncasecmp-ifunc.c: Likewise.
45677 * string/test-strncat-ifunc.c: Likewise.
45678 * string/test-strncmp-ifunc.c: Likewise.
45679 * string/test-strncpy-ifunc.c: Likewise.
45680 * string/test-strnlen-ifunc.c: Likewise.
45681 * string/test-strpbrk-ifunc.c: Likewise.
45682 * string/test-strrchr-ifunc.c: Likewise.
45683 * string/test-strspn-ifunc.c: Likewise.
45684 * string/test-strstr-ifunc.c: Likewise.
45685
45686 * debug/Makefile (tests-ifunc): New variable.
45687 (tests): Add $(tests-ifunc).
45688 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
45689 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
45690 * debug/test-stpcpy_chk-ifunc.c: New file.
45691 * debug/test-strcpy_chk-ifunc.c: Likewise.
45692
45693 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
45694
45695 [BZ #13601]
45696 * elf/dl-load.c (open_verify): Retry read if the entire ELF
45697 header is not read in.
45698
45699 2012-10-19 Joseph Myers <joseph@codesourcery.com>
45700
45701 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
45702 script to $(SHELL) as $<. Pass $(common-objpfx) to script
45703 directly. Pass built executable to script as
45704 $(built-program-cmd).
45705 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
45706 $testprogram without using LD_LIBRARY_PATH and $ldso.
45707
45708 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
45709 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
45710 $(rtld-installed-name).
45711 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
45712 (rtld_installed_name): Likewise.
45713 (library_path): Likewise.
45714 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
45715 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
45716 $(run-program-prefix) to tst-tables.sh.
45717 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
45718 it to run tst-table-from and tst-table-to.
45719 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
45720 Pass it to tst-table.sh.
45721 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
45722 $(run-program-prefix) to tst-gettext.sh.
45723 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
45724 tst-translit.sh.
45725 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
45726 tst-gettext2.sh.
45727 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
45728 to run tst-gettext.
45729 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
45730 to run tst-gettext2.
45731 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
45732 to run tst-translit.
45733 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
45734 $(run-program-prefix) to tst-mtrace.sh.
45735 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
45736 to run tst-mtrace.
45737 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
45738 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
45739 $(rtld-installed-name).
45740 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
45741 (rtld_installed_name): Likewise.
45742 (run_program_prefix): New variable. Use it to run wordexp-test.
45743
45744 * Makeconfig (ARCH): Remove all definitions.
45745 (machine): Likewise.
45746 [ARCH]: Remove conditional code.
45747 [!objdir]: Give error.
45748 [!objdir] (objpfx): Remove.
45749 [!objdir] (common-objpfx): Likewise.
45750 [!objdir] (common-objdir): Likewise.
45751 * configure.in (config_makefile): Remove. Hardcode Makefile in
45752 AC_CONFIG_FILES call.
45753 * configure: Regenerated.
45754
45755 [BZ #13888]
45756 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
45757 or TMPDIR.
45758 (testout): Likewise.
45759
45760 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
45761 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
45762 $(rtld-installed-name).
45763 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
45764 (rtld_installed_name): Likwise.
45765 (runit): Remove function.
45766 (run_getconf): New variable, Use it for running getconf binary.
45767
45768 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
45769
45770 [BZ #14716]
45771 * string/test-memmem.c (check_result): New function.
45772 (do_one_test): Use it.
45773 (check1): New function.
45774 (test_main): Use it.
45775
45776 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
45777
45778 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
45779
45780 2012-10-18 Joseph Myers <joseph@codesourcery.com>
45781
45782 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
45783 (_G_LSEEK64): Likewise.
45784 (_G_MMAP64): Likewise.
45785 (_G_FSTAT64): Likewise.
45786 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
45787 (_G_LSEEK64): Likewise.
45788 (_G_MMAP64): Likewise.
45789 (_G_FSTAT64): Likewise.
45790 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
45791 unconditional. Call __mmap64 directly.
45792 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
45793 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
45794 __lseek64 directly.
45795 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
45796 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
45797 __mmap64 directly.
45798 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
45799 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
45800 __lseek64 directly.
45801 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
45802 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
45803 __lseek64 directly.
45804 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
45805 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
45806 __lseek64 directly.
45807 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
45808 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
45809 __fxstat64 directly.
45810 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
45811 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
45812 unconditional.
45813 (freopen64) [!_G_OPEN64]: Remove conditional code.
45814 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
45815 unconditional.
45816 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
45817 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
45818 unconditional.
45819 (ftello64) [!_G_LSEEK64]: Remove conditional code.
45820 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
45821 unconditional.
45822 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
45823 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
45824 unconditional.
45825 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
45826 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
45827 unconditional.
45828 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
45829 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
45830 unconditional.
45831 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
45832 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
45833 unconditional.
45834 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
45835
45836 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
45837
45838 [BZ #12140]
45839 * manual/memory.texi (Malloc Tunable Parameters): Add note
45840 about free list pointers overwriting some perturb bytes.
45841 Wording suggested by Roland McGrath.
45842
45843 2012-10-17 Joseph Myers <joseph@codesourcery.com>
45844
45845 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
45846 (lgamma_test): Likewise.
45847 (tgamma_test): Likewise.
45848
45849 2012-10-16 Florian Weimer <fweimer@redhat.com>
45850
45851 [BZ #14700]
45852 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
45853 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
45854
45855 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
45856
45857 * NEWS: Mention BZ #14716.
45858 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
45859 when removing AVAILABLE1_USES_J macro.
45860
45861 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
45862
45863 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
45864 (__bswap_64): __uint64_t for unsigned 64-bit int.
45865
45866 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
45867
45868 * include/string.h (memmem): Declare libc hidden alias.
45869 * string/memmem.c (memmem): Define libc hidden alias.
45870 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
45871 __read, __close instead of open, read, close.
45872
45873 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
45874
45875 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
45876 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
45877 global and hidden.
45878 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
45879 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
45880 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
45881 Likewise.
45882 (__rawmemchr_sse2): Likewise.
45883 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
45884 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
45885 (__strchr_sse2): Likewise.
45886 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
45887 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
45888 (__strcasecmp_sse2): Likewise.
45889 (__strncasecmp_sse2): Likewise.
45890 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
45891 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
45892 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
45893 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
45894 (__strrchr_sse2): Likewise.
45895 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
45896 ifunc-impl-list.c.
45897 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
45898 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
45899 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
45900 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45901 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
45902 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
45903 * sysdeps/x86_64/multiarch/memset.S: Likewise.
45904 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45905 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
45906 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
45907 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
45908 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
45909 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
45910 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
45911 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
45912 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
45913 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
45914 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
45915 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
45916 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
45917 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
45918 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
45919 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
45920 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
45921 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
45922 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45923 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
45924 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45925 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
45926 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
45927
45928 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
45929 global and hidden.
45930 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
45931 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
45932 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
45933 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
45934 Likewise.
45935 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
45936 Likewise.
45937 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
45938 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
45939 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
45940 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
45941 ifunc-impl-list.c.
45942 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45943 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45944 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45945 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45946 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45947 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45948 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45949 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45950 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45951 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45952 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45953 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45954 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45955 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
45956 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
45957 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45958 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
45959 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
45960 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45961 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45962 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45963 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45964 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45965 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45966 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45967 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
45968 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
45969 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
45970 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
45971 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45972 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
45973 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45974 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45975 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
45976 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45977 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45978 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45979 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45980 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45981 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45982 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
45983
45984 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
45985 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
45986 * include/ifunc-impl-list.h: New file.
45987 * misc/ifunc-impl-list.c: Likewise.
45988 * misc/Makefile (routines): Add ifunc-impl-list.
45989 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
45990 * string/test-string.h: Include <ifunc-impl-list.h>.
45991 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
45992 TEST_NAME]: New variables.
45993 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
45994 are defined.
45995 (test_init): Call __libc_ifunc_impl_list to initialize
45996 func_list if TEST_IFUNC and TEST_NAME are defined.
45997
45998 * string/Makefile (strop-tests): Add bcopy and bzero.
45999 * string/test-bcopy.c: New file.
46000 * string/test-bzero.c: Likewise.
46001 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
46002 defined.
46003 * string/test-memset.c: Support bzero test if TEST_BZERO is
46004 defined.
46005 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
46006 __libc_memmove.
46007 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
46008 __libc_memset.
46009 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
46010 of memset.
46011
46012 2012-10-10 Joseph Myers <joseph@codesourcery.com>
46013
46014 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
46015 * configure: Regenerated.
46016
46017 * Makeconfig (+link-static-before-libc): Don't include
46018 $(link-static-libc).
46019
46020 * libio/libio.h (_IO_pos_t): Remove.
46021
46022 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
46023
46024 * NEWS: Add note about FIPS mode. Wording suggested by Roland
46025 McGrath.
46026
46027 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
46028
46029 * crypt/crypt-entry.c: Include fips-private.h.
46030 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
46031 * crypt/md5c-test.c (main): Tolerate disabled MD5.
46032 * sysdeps/unix/sysv/linux/fips-private.h: New file.
46033 * sysdeps/generic/fips-private.h: New file, dummy fallback.
46034
46035 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
46036
46037 * crypt/crypt-private.h: Include stdbool.h.
46038 (_ufc_setup_salt_r): Return bool.
46039 * crypt/crypt-entry.c: Include errno.h.
46040 (__crypt_r): Return NULL with EINVAL for bad salt.
46041 * crypt/crypt_util.c (bad_for_salt): New.
46042 (_ufc_setup_salt_r): Check that salt is long enough and within
46043 the specified alphabet.
46044 * crypt/badsalttest.c: New file.
46045 * crypt/Makefile (tests): Add it.
46046 ($(objpfx)badsalttest): New.
46047
46048 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
46049
46050 * NEWS: Add entry for BZ #14602.
46051
46052 2012-10-09 Joseph Myers <joseph@codesourcery.com>
46053
46054 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
46055 type-generic.
46056 * math/libm-test.inc: Update comment listing what functions and
46057 macros are tested.
46058 (isgreater_test): New function.
46059 (isgreaterequal_test): Likewise.
46060 (isless_test): Likewise.
46061 (islessequal_test): Likewise.
46062 (islessgreater_test): Likewise.
46063 (isunordered_test): Likewise.
46064 (main): Call the new functions.
46065
46066 2012-10-09 Roland McGrath <roland@hack.frob.com>
46067
46068 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
46069 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
46070 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
46071 * sysdeps/i386/configure: Regenerated.
46072 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
46073 * sysdeps/mach/configure: Regenerated.
46074 * sysdeps/mach/hurd/configure: Regenerated.
46075 * sysdeps/powerpc/configure: Regenerated.
46076 * sysdeps/powerpc/powerpc32/configure: Regenerated.
46077 * sysdeps/powerpc/powerpc64/configure: Regenerated.
46078 * sysdeps/s390/s390-32/configure: Regenerated.
46079 * sysdeps/s390/s390-64/configure: Regenerated.
46080 * sysdeps/sh/configure: Regenerated.
46081 * sysdeps/sparc/configure: Regenerated.
46082 * sysdeps/unix/sysv/linux/configure: Regenerated.
46083 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
46084 * sysdeps/x86_64/configure: Regenerated.
46085
46086 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
46087 defined. Don't check if MAP is NULL.
46088
46089 2012-10-09 Joseph Myers <joseph@codesourcery.com>
46090
46091 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
46092 (_G_stat64): Likewise.
46093 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
46094 (_G_stat64): Likewise.
46095 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
46096 instead of struct _G_stat64.
46097 * libio/fileops.c (mmap_remap_check): Likewise.
46098 (decide_maybe_mmap): Likewise.
46099 (_IO_new_file_seekoff): Likewise.
46100 (_IO_file_stat): Likewise.
46101 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
46102 _G_off64_t.
46103 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
46104 instead of struct _G_stat64.
46105 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
46106
46107 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
46108
46109 [BZ #14602]
46110 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46111 Replace with ...
46112 (CHECK_EOL): New macro.
46113 (two_way_short_needle): Check beginning of haystack for EOL. Use
46114 CHECK_EOL.
46115 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46116 Replace with CHECK_EOL.
46117 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46118 Replace with CHECK_EOL.
46119
46120 2012-10-08 Joseph Myers <joseph@codesourcery.com>
46121
46122 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
46123 type-generic.
46124 * math/libm-test.inc: Update comment listing what functions and
46125 macros are tested.
46126 (finite_test): New function.
46127 (isinf_test): Likewise.
46128 (isnan_test): Likewise.
46129 (fpclassify_test): Test subnormal input.
46130 (isfinite_test): Likewise.
46131 (isnormal_test): Likewise.
46132 (main): Call the new functions.
46133
46134 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
46135
46136 [BZ #14660]
46137 * Makerules (%.dynsym): Force C locale when running
46138 $(OBJDUMP) --dynamic-syms.
46139
46140 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
46141
46142 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
46143 <stdint.h>.
46144
46145 2012-10-06 David S. Miller <davem@davemloft.net>
46146
46147 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
46148 upper 32-bits of the length value in %o2 since we use branch-on-register
46149 tests which consider the entire 64-bit register.
46150
46151 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
46152
46153 * string/test-strstr.c (check2): Add a test for page boundary.
46154
46155 2012-10-05 David S. Miller <davem@davemloft.net>
46156
46157 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
46158 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
46159 file.
46160 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
46161 sysdep_routines.
46162 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
46163 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
46164 and bzero when HWCAP_SPARC_CRYPTO is present.
46165
46166 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
46167
46168 [BZ #14602]
46169 * string/test-strstr.c (check2): New function.
46170 (test_main): Call check2.
46171
46172 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
46173 and bug-strchr1.
46174 * string/bug-strcasestr1.c (do_test): Moved to ...
46175 * string/test-strcasestr.c (check1): Here. New function.
46176 (do_one_test): Break out result checking code into ...
46177 (check_result): This. New function.
46178 (do_one_test): Call check_result.
46179 (test_main): Call check1.
46180 * string/bug-strchr1.c (do_test): Moved to ...
46181 * string/test-strchr.c (check1): Here. New function.
46182 (do_one_test): Break out result checking code into ...
46183 (check_result): This. New function.
46184 (do_one_test): Call check_result.
46185 (test_main): Call check1.
46186 * string/bug-strstr1.c (main): Moved to ...
46187 * string/test-strstr.c (check1): Here. New function.
46188 (do_one_test): Break out result checking code into ...
46189 (check_result): This. New function.
46190 (do_one_test): Call check_result.
46191 (test_main): Call check1.
46192 * string/bug-strcasestr1.c: Removed.
46193 * string/bug-strchr1.c: Likewise.
46194 * string/bug-strstr1.c: Likewise.
46195
46196 * elf/Makefile (dl-routines): Add hwcaps.
46197 * elf/dl-support.c (_dl_important_hwcaps): Removed.
46198 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
46199 (_dl_important_hwcaps): Moved to ...
46200 * elf/dl-hwcaps.c: Here. New file.
46201 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
46202
46203 [BZ #14557]
46204 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
46205 if IS_IN_rtld isn't defined.
46206
46207 * elf/dl-support.c (_dl_sysinfo_map): New.
46208 Include "get-dynamic-info.h" and "setup-vdso.h".
46209 (_dl_non_dynamic_init): Call setup_vdso.
46210 * elf/dynamic-link.h: Don't include <assert.h>.
46211 (elf_get_dynamic_info): Moved to ...
46212 * elf/get-dynamic-info.h: Here. New file.
46213 * elf/dynamic-link.h: Include "get-dynamic-info.h".
46214 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
46215 * elf/setup-vdso.h: Here. New file.
46216 * elf/rtld.c: Include "setup-vdso.h".
46217 (dl_main): Call setup_vdso.
46218
46219 2012-10-05 Joseph Myers <joseph@codesourcery.com>
46220
46221 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
46222 creal in comment listing functions tested. List finite, isinf,
46223 isnan, isless, islessequal, isgreater, isgreaterequal,
46224 islessgreater, isunordered, lgamma_r and pow10 as functions and
46225 macros not tested. Mention which functions not tested are aliases
46226 for other functions. Fix typo. Note that signs of NaNs are not
46227 tested.
46228
46229 * scripts/config.guess: Update from config.git.
46230 * scripts/config.sub: Likewise.
46231
46232 2012-10-04 Roland McGrath <roland@hack.frob.com>
46233
46234 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
46235 * misc/madvise.c (madvise): Renamed to __madvise.
46236 Make madvise a weak alias.
46237 * include/sys/mman.h: Declare __madvise.
46238 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
46239 * sysdeps/unix/syscalls.list
46240 (madvise): Make __madvise the strong name, and madvise a weak alias.
46241 * sysdeps/unix/sysv/linux/syscalls.list
46242 (madvise, mmap): Remove redundant entries.
46243 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
46244 * malloc/malloc.c (mtrim): Likewise.
46245 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
46246
46247 2012-10-03 Roland McGrath <roland@hack.frob.com>
46248
46249 * sysdeps/mach/hurd/dl-cache.c: File removed.
46250 * config.h.in (USE_LDCONFIG): New #undef.
46251 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
46252 * configure: Regenerated.
46253 * elf/Makefile (dl-routines): Add dl-cache only under
46254 [$(use-ldconfig) = yes].
46255 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
46256 cache on [USE_LDCONFIG].
46257 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
46258 [USE_LDCONFIG].
46259 * elf/rtld.c (dl_main): Likewise.
46260
46261 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
46262
46263 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
46264 _SC_LEVEL4_CACHE_LINESIZE.
46265
46266 2012-10-03 Roland McGrath <roland@hack.frob.com>
46267
46268 * sysdeps/unix/bsd/confstr.h: File removed.
46269
46270 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
46271
46272 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
46273 sys/sdt-config.h.
46274
46275 2012-10-02 Roland McGrath <roland@hack.frob.com>
46276
46277 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
46278 Make 'mapoff' field ElfW(Off) rather than off_t.
46279
46280 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
46281
46282 * nscd/Makefile: Remove nscd-cflags and all its users.
46283 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
46284 (CFLAGS-nonlib): Add compiler flags for nscd modules.
46285
46286 [BZ #10631]
46287 * malloc.c (malloc_printerr): Clarify error message.
46288
46289 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
46290
46291 [BZ #14648]
46292 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46293 Set bit_FMA_Usable if FMA is supported.
46294 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
46295 macro.
46296 (bit_FMA4_Usable): Updated.
46297 (index_FMA_Usable): New macro.
46298 (CPUID_FMA): Likewise
46299 (HAS_FMA): Defined with bit_FMA_Usable.
46300
46301 2012-10-01 Roland McGrath <roland@hack.frob.com>
46302
46303 * bits/types.h (__swblk_t): Type removed.
46304 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
46305 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
46306 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46307 (__SWBLK_T_TYPE): Likewise.
46308 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46309 (__SWBLK_T_TYPE): Likewise.
46310 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46311 (__SWBLK_T_TYPE): Likewise.
46312 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46313 (__SWBLK_T_TYPE): Likewise.
46314
46315 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
46316 Honza Horak <hhorak@redhat.com>
46317
46318 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
46319 (xdr_mapname): Use YPMAXMAP as maxsize.
46320 (xdr_peername): Use YPMAXPEER as maxsize.
46321 (xdr_keydat): Use YPAXRECORD as maxsize.
46322 (xdr_valdat): Use YPMAXRECORD as maxsize.
46323
46324 2012-10-01 Roland McGrath <roland@hack.frob.com>
46325
46326 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
46327
46328 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
46329 * csu/init-first.c: ... here.
46330 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
46331 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
46332 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
46333 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
46334 * sysdeps/i386/init-first.c: File removed.
46335 * sysdeps/sh/init-first.c: File removed.
46336
46337 2012-10-01 Joseph Myers <joseph@codesourcery.com>
46338
46339 [BZ #14645]
46340 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
46341 if x * y might underflow to zero and z is zero.
46342 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46343 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46344 * math/libm-test.inc (min_subnorm_value): New variable.
46345 (fma_test): Add more tests.
46346 (fma_test_towardzero): Likewise.
46347 (fma_test_downward): Likewise
46348 (fma_test_upward): Likewise.
46349 (initialize): Set min_subnorm_value.
46350
46351 2012-09-29 Joseph Myers <joseph@codesourcery.com>
46352
46353 [BZ #14638]
46354 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
46355 0 + 0.
46356 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
46357 mode for addition resulting in exact zero.
46358 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
46359 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
46360 exact 0 + 0.
46361 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46362 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46363 * math/libm-test.inc (fma_test): Add more tests.
46364 (fma_test_towardzero): New function.
46365 (fma_test_downward): Likewise.
46366 (fma_test_upward): Likewise.
46367 (main): Call the new functions.
46368
46369 2012-09-28 David S. Miller <davem@davemloft.net>
46370
46371 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
46372
46373 2012-09-28 Roland McGrath <roland@hack.frob.com>
46374
46375 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
46376 instead of SIGALRM.
46377
46378 * sysdeps/gnu/_G_config.h: Moved to ...
46379 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
46380 * sysdeps/mach/hurd/_G_config.h: Moved to ...
46381 * sysdeps/generic/_G_config.h: ... here.
46382
46383 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
46384
46385 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
46386
46387 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
46388 Conditionalize target on [libnss_test1.so-version].
46389
46390 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
46391
46392 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
46393 (elfobjdir): Move out of conditionals.
46394
46395 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
46396 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
46397 (__nss_lookup_function): Conditionalize label remove_from_tree on
46398 [!DO_STATIC_NSS || SHARED], matching its only use.
46399
46400 2012-09-28 David S. Miller <davem@davemloft.net>
46401
46402 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
46403 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
46404 file.
46405 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
46406 sysdep_routines.
46407 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
46408 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
46409 when HWCAP_SPARC_CRYPTO is present.
46410
46411 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
46412
46413 * io/tst-mknodat.c: Create a FIFO instead of a socket.
46414
46415 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
46416
46417 [BZ #6530]
46418 * stdio-common/vfprintf.c (process_string_arg): Revert
46419 2000-07-22 change.
46420
46421 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
46422
46423 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
46424 for testcase.
46425 * stdio-common/tst-sprintf.c: Include <locale.h>
46426 (main): Test sprintf's handling of incomplete multibyte
46427 characters.
46428
46429 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
46430
46431 * elf/dl-runtime.c (VERSYMIDX): Removed.
46432 * elf/dl-version.c (VERSYMIDX): Likewise.
46433 * elf/do-rel.h (VERSYMIDX): Likewise.
46434 (VALIDX): Likewise.
46435 * elf/dynamic-link.h (VERSYMIDX): Likewise.
46436 * elf/rtld.c (VALIDX): Likewise.
46437 (ADDRIDX): Likewise.
46438 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
46439 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
46440 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
46441 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
46442 (VALIDX): Likewise.
46443 (ADDRIDX): Likewise.
46444
46445 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
46446
46447 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
46448
46449 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
46450
46451 [BZ #11438]
46452 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
46453 to global scope.
46454 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
46455 addresses are in the same scope as 192.0.2/24.
46456 * posix/gai.conf: Document new scope table defaults.
46457
46458 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46459
46460 [BZ #5298]
46461 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
46462 for ftell. Compute offsets from write pointers instead.
46463 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
46464
46465 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46466
46467 [BZ #14543]
46468 * libio/Makefile (tests): New test case tst-fseek.
46469 * libio/tst-fseek.c: New test case to verify that fseek/ftell
46470 combination works in wide mode.
46471 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
46472 state when the external buffer state changes.
46473
46474 2012-09-27 David S. Miller <davem@davemloft.net>
46475
46476 [BZ #14376]
46477 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
46478 pass reloc->r_addend in as the 'high' argument to
46479 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
46480
46481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46482
46483 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
46484
46485 * rt/tst-aio2.c: Include <pthread.h>.
46486 * rt/tst-aio3.c: Likewise.
46487
46488 2012-09-27 Steve Ellcey <sellcey@mips.com>
46489
46490 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
46491
46492 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
46493
46494 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
46495 contents on [SHARED].
46496
46497 2012-09-26 Marek Polacek <polacek@redhat.com>
46498
46499 [BZ #14530]
46500 [BZ #13741]
46501 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
46502 for C++ and GCC <4.3 as well as for non GCC compilers.
46503
46504 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
46505
46506 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46507
46508 2012-09-25 Roland McGrath <roland@hack.frob.com>
46509
46510 * Makefile.in (all, install): Declare with .PHONY.
46511 Reported by Michael Hope <michael.hope@linaro.org>.
46512
46513 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46514
46515 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
46516 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
46517 system header.
46518 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
46519 Likewise.
46520 (sydep_routines): Add the new and the internal functions.
46521 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
46522 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
46523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
46524 (GLIBC_2.17): Add the new function.
46525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
46526 (GLIBC_2.17): Likewise.
46527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
46528 (GLIBC_2.17): Likewise.
46529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
46530 (GLIBC_2.17): Likewise.
46531 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
46532
46533 2012-09-25 Alan Modra <amodra@gmail.com>
46534
46535 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
46536 Add release barrier before setting once_control to say
46537 initialisation is done. Add hints on lwarx. Use macro in
46538 place of isync.
46539 (clear_once_control): Add release barrier.
46540
46541 2012-09-25 Joseph Myers <joseph@codesourcery.com>
46542
46543 [BZ #13629]
46544 * math/s_clog.c (__clog): Handle more values close to |z| = 1
46545 specially.
46546 * math/s_clog10.c (__clog10): Likewise.
46547 * math/s_clog10f.c (__clog10f): Likewise.
46548 * math/s_clog10l.c (__clog10l): Likewise.
46549 * math/s_clogf.c (__clogf): Likewise.
46550 * math/s_clogl.c (__clogl): Likewise.
46551 * math/Makefile (libm-calls): Add x2y2m1.
46552 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
46553 (__x2y2m1): Likewise.
46554 (__x2y2m1l): Likewise.
46555 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
46556 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
46557 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
46558 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
46559 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
46560 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
46561 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
46562 * sysdeps/i386/fpu/libm-test-ulps: Update.
46563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46564
46565 [BZ #14621]
46566 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
46567 int as type of variable DEPTH.
46568 (glob): Use size_t instead of int as type of variables NEWCOUNT
46569 and OLD_PATHC.
46570
46571 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46572
46573 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
46574 Add s_sincosf-sse2.
46575 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
46576 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
46577 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
46578 macros for using routine as __sincosf_ia32.
46579 Use macro for function declaration and weak_alias.
46580 * sysdeps/i386/fpu/libm-test-ulps: Update.
46581
46582 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
46583 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46584
46585 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
46586 subnormal argument.
46587 * math/s_cexpf.c (__cexpf): Likewise.
46588 * math/s_csinf.c (__csinf): Likewise.
46589 * math/s_csinhf.c (__csinhf): Likewise.
46590 * math/s_ctanf.c (__ctanf): Likewise.
46591 * math/s_ctanhf.c (__ctanhf): Likewise.
46592 * math/s_ccosh.c (__ccoshf): Likewise.
46593 * math/s_cexp.c (__cexpl): Likewise.
46594 * math/s_csin.c (__csin): Likewise.
46595 * math/s_csinh.c (__csinh): Likewise.
46596 * math/s_ctan.c (__ctan): Likewise.
46597 * math/s_ctanh.c (ctanh): Likewise.
46598 * math/s_ccoshl.c (__ccoshl): Likewise.
46599 * math/s_cexpl.c (__cexpl): Likewise.
46600 * math/s_csinl.c (__csinl): Likewise.
46601 * math/s_csinhl.c (__csinhl): Likewise.
46602 * math/s_ctanl.c (__ctanl): Likewise.
46603 * math/s_ctanhl.c (__ctanhl): Likewise.
46604
46605 2012-09-25 Joseph Myers <joseph@codesourcery.com>
46606
46607 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
46608 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
46609 (_IO_off_t): Define to __off_t, not _G_off_t.
46610 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
46611 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
46612 (_IO_wint_t): Define to wint_t, not _G_wint_t.
46613 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
46614 type of __dummy and __dummy2 fields.
46615 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
46616 (_G_ssize_t): Likewise.
46617 (_G_off_t): Likewise.
46618 (_G_pid_t): Likewise.
46619 (_G_uid_t): Likewise.
46620 (_G_wchar_t): Likewise.
46621 (_G_wint_t): Likewise.
46622 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
46623 (_G_ssize_t): Likewise.
46624 (_G_off_t): Likewise.
46625 (_G_pid_t): Likewise.
46626 (_G_uid_t): Likewise.
46627 (_G_wchar_t): Likewise.
46628 (_G_wint_t): Likewise.
46629 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
46630 (_G_ssize_t): Likewise.
46631 (_G_off_t): Likewise.
46632 (_G_pid_t): Likewise.
46633 (_G_uid_t): Likewise.
46634 (_G_wchar_t): Likewise.
46635 (_G_wint_t): Likewise.
46636
46637 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46638
46639 * malloc/arena.c: Include malloc-sysdep.h.
46640 (shrink_heap): Use check_may_shrink_heap to decide if madvise
46641 is sufficient to shrink the heap or an unmap is needed.
46642 * sysdeps/generic/malloc-sysdep.h: New file. Define
46643 new function check_may_shrink_heap.
46644 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
46645 new function check_may_shrink_heap.
46646
46647 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46648
46649 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
46650 comments.
46651
46652 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
46653
46654 * catgets/test-gencat.sh: Add "set -e".
46655 * elf/tst-pathopt.sh: Likewise.
46656 * grp/tst_fgetgrent.sh: Likewise.
46657 * iconvdata/run-iconv-test.sh: Likewise.
46658 * intl/tst-gettext.sh: Likewise.
46659 * intl/tst-gettext2.sh: Likewise.
46660 * intl/tst-gettext4.sh: Likewise.
46661 * intl/tst-gettext6.sh: Likewise.
46662 * intl/tst-translit.sh: Likewise.
46663 * io/ftwtest-sh: Likewise.
46664 * libio/test-freopen.sh: Likewise.
46665 * malloc/tst-mtrace.sh: Likewise.
46666 * posix/globtest.sh: Likewise.
46667 * posix/tst-getconf.sh: Likewise.
46668 * posix/wordexp-tst.sh: Likewise.
46669 * stdio-common/tst-printf.sh: Likewise.
46670 * stdio-common/tst-unbputc.sh: Likewise.
46671 * stdlib/tst-fmtmsg.sh: Likewise.
46672 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
46673 * catgets/Makefile: Do not specify -e option when running
46674 testsuite shell scripts.
46675 * elf/Makefile: Likewise.
46676 * grp/Makefile: Likewise.
46677 * iconvdata/Makefile: Likewise.
46678 * intl/Makefile: Likewise.
46679 * io/Makefile: Likewise.
46680 * libio/Makefile: Likewise.
46681 * malloc/Makefile: Likewise.
46682 * posix/Makefile: Likewise.
46683 * stdio-common/Makefile: Likewise.
46684 * stdlib/Makefile: Likewise.
46685 * sysdeps/x86_64/Makefile: Likewise.
46686
46687 * io/ftwtest-sh: Add copyright header.
46688 * posix/globtest.sh: Likewise.
46689 * posix/tst-getconf.sh: Likewise.
46690 * posix/wordexp-tst.sh: Likewise.
46691 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
46692
46693 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
46694
46695 [BZ #13679]
46696 * Makeconfig (+link): Defined as $(+link-static) if
46697 $(build-shared) isn't yes.
46698 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
46699 isn't yes.
46700 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
46701
46702 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
46703
46704 [BZ #14562]
46705 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
46706 new chunk size with MALLOC_ALIGN_MASK.
46707
46708 2012-09-24 Joseph Myers <joseph@codesourcery.com>
46709
46710 [BZ #5044]
46711 * stdio-common/printf_fphex.c: Include <stdbool.h> and
46712 <rounding-mode.h>.
46713 (__printf_fphex): Determine rounding using get_rounding_mode and
46714 round_away.
46715 * stdio-common/tst-printf-round.c (struct hex_test): New
46716 structure.
46717 (hex_tests): New variable.
46718 (test_hex_in_one_mode): New function.
46719 (do_test): Also run tests for hex float output.
46720
46721 2012-09-21 Joseph Myers <joseph@codesourcery.com>
46722
46723 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
46724 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
46725 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
46726 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
46727 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
46728 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
46729 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
46730 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
46731
46732 2012-09-20 Joseph Myers <joseph@codesourcery.com>
46733
46734 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
46735 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
46736 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
46737 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
46738
46739 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
46740
46741 [BZ #14579]
46742 * elf/rtld.c (dl_main): Limit the check for self loading to normal
46743 mode only.
46744 * elf/tst-rtld-load-self.sh: New test.
46745 * elf/Makefile: Run it.
46746
46747 2012-09-18 Joseph Myers <joseph@codesourcery.com>
46748
46749 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
46750 (tst-writev-ENV): Remove.
46751 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
46752
46753 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
46754
46755 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
46756
46757 2012-09-17 Joseph Myers <joseph@codesourcery.com>
46758
46759 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
46760 unconditional.
46761 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
46762 Likewise.
46763 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
46764 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
46765 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
46766 Likewise.
46767
46768 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
46769
46770 [BZ #14587]
46771 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
46772 * config.make.in (have-cpp-asm-debuginfo): Removed.
46773 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
46774 * configure: Regenerated.
46775
46776 2012-09-14 Joseph Myers <joseph@codesourcery.com>
46777
46778 [BZ #5044]
46779 * stdio-common/printf_fp.c: Include <stdbool.h> and
46780 <rounding-mode.h>.
46781 (___printf_fp): Determine rounding using get_rounding_mode and
46782 round_away.
46783 * stdio-common/tst-printf-round.c: New file.
46784 * stdio-common/Makefile (tests): Add tst-printf-round.
46785 (link-libm): New variable.
46786 ($(objpfx)tst-printf-round): Depend in $(link-libm).
46787
46788 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
46789
46790 [BZ #14576]
46791 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
46792 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
46793 Likewise.
46794 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
46795 Likewise.
46796
46797 2012-09-13 Joseph Myers <joseph@codesourcery.com>
46798
46799 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
46800 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46801 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46802 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46803
46804 2012-09-12 Joseph Myers <joseph@codesourcery.com>
46805
46806 [BZ #14518]
46807 * include/rounding-mode.h: New file.
46808 * sysdeps/generic/get-rounding-mode.h: Likewise.
46809 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
46810 * stdlib/strtod_l.c: Include <rounding-mode.h>.
46811 (MAX_VALUE): New macro.
46812 (MIN_VALUE): Likewise.
46813 (overflow_value): New function.
46814 (underflow_value): Likewise.
46815 (round_and_return): Use overflow_value and underflow_value to
46816 determine return values in overflow and underflow cases. Use
46817 round_away to determine rounding depending on rounding mode.
46818 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
46819 determine return values in overflow and underflow cases.
46820 * stdlib/tst-strtod-round.c: Include <fenv.h>.
46821 (struct test_results): New structure.
46822 (struct test): Use struct test_results to store expected results
46823 for all rounding modes.
46824 (TEST): Include expected results for all rounding modes.
46825 (test_in_one_mode): New function.
46826 (do_test): Use test_in_one_mode to compute and check results.
46827 Check results for all rounding modes.
46828 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
46829 $(link-libm).
46830
46831 2012-12-09 Allan McRae <allan@archlinux.org>
46832
46833 * sysdeps/i386/fpu/libm-test-ulps: Update
46834
46835 2012-09-11 Joseph Myers <joseph@codesourcery.com>
46836
46837 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
46838 (_G_int32_t): Likewise.
46839 (_G_uint16_t): Likewise.
46840 (_G_uint32_t): Likewise.
46841 (_G_HAVE_BOOL): Likewise.
46842 (_G_HAVE_ATEXIT): Likewise.
46843 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46844 (_G_HAVE_IO_FILE_OPEN): Likewise.
46845 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
46846 (_G_int32_t): Likewise.
46847 (_G_uint16_t): Likewise.
46848 (_G_uint32_t): Likewise.
46849 (_G_HAVE_BOOL): Likewise.
46850 (_G_HAVE_ATEXIT): Likewise.
46851 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46852 (_G_HAVE_IO_FILE_OPEN): Likewise.
46853 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
46854 (_G_int32_t): Likewise.
46855 (_G_uint16_t): Likewise.
46856 (_G_uint32_t): Likewise.
46857 (_G_HAVE_BOOL): Likewise.
46858 (_G_HAVE_ATEXIT): Likewise.
46859 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46860 (_G_HAVE_IO_FILE_OPEN): Likewise.
46861
46862 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
46863
46864 * csu/libc-tls.c: Update copyright years.
46865
46866 2012-09-10 Joseph Myers <joseph@codesourcery.com>
46867
46868 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
46869 [!_G_USING_THUNKS]: Remove conditional code.
46870 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
46871 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
46872
46873 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
46874 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
46875 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46876 (_G_VTABLE_LABEL_PREFIX): Likewise.
46877 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46878 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46879 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46880 (_G_VTABLE_LABEL_PREFIX): Likewise.
46881 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
46882 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46883 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46884 (_G_VTABLE_LABEL_PREFIX): Likewise.
46885 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
46886
46887 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
46888
46889 * libio/Makefile: Include ../Makeconfig before tests.
46890 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
46891 only if $(build-shared) is yes.
46892
46893 * iconv/gconv_db.c: Update copyright years.
46894
46895 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46896
46897 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
46898 unwind info if defined PIC. Fix special cases description.
46899 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
46900
46901 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
46902 DP_HI_MASK entry.
46903 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
46904
46905 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
46906
46907 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
46908
46909 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
46910 is NULL.
46911
46912 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
46913 (LDLIBS-tst-chk4): This.
46914 (LDFLAGS-tst-chk5): Renamed to ...
46915 (LDLIBS-tst-chk5): This.
46916 (LDFLAGS-tst-chk6): Renamed to ...
46917 (LDLIBS-tst-chk6): This.
46918 (LDFLAGS-tst-lfschk4): Renamed to ...
46919 (LDLIBS-tst-lfschk4): This.
46920 (LDFLAGS-tst-lfschk5): Renamed to ...
46921 (LDLIBS-tst-lfschk5): This.
46922 (LDFLAGS-tst-lfschk6): Renamed to ...
46923 (LDLIBS-tst-lfschk6): This.
46924
46925 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
46926 on $(common-objpfx)soversions.mk.
46927
46928 2012-09-07 Joseph Myers <joseph@codesourcery.com>
46929
46930 [BZ #10014]
46931 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
46932 example host name.
46933
46934 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
46935
46936 * malloc/arena.c (arena_get_retry): New function that gets
46937 another arena for the caller to try its request on.
46938 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
46939 current arena cannot fulfill the request.
46940 (__libc_memalign): Likewise.
46941 (__libc_memalign): Likewise.
46942 (__libc_pvalloc): Likewise.
46943 (__libc_calloc): Likewise.
46944
46945 2012-09-05 John Tobey <john.tobey@gmail.com>
46946
46947 [BZ #13542]
46948 * manual/arith.texi (Operations on Complex): Fix description
46949 of carg branch cut.
46950
46951 2012-09-06 Joseph Myers <joseph@codesourcery.com>
46952
46953 [BZ #10014]
46954 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
46955 host name.
46956
46957 [BZ #10038]
46958 * manual/memory.texi (Memory): Make order of menu items match
46959 order of sections.
46960
46961 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46962
46963 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
46964 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
46965 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
46966
46967 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46968
46969 * csu/libc-tls.c (static_dtv): Renamed to ...
46970 (_dl_static_dtv): This. Make it global.
46971 (_dl_initial_dtv): Removed.
46972 (__libc_setup_tls): Updated.
46973 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
46974 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
46975 DL_INITIAL_DTV.
46976
46977 2012-09-06 Petr Machata <pmachata@redhat.com>
46978
46979 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
46980 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
46981 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
46982 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
46983
46984 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46985
46986 [BZ #14545]
46987 * csu/libc-tls.c (_dl_initial_dtv): New variable.
46988 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
46989 freeing dtv[-1].
46990
46991 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46992
46993 [BZ #14544]
46994 * Makeconfig (link-static-before-libc): Replace $(+prector)
46995 with $(+prectorT).
46996 (link-static-after-libc): Replace $(+postctor) with
46997 $(+postctorT).
46998 (link-bounded): Replace $(+prector)/$(+postctor) with
46999 $(+prectorT)/$(+postctorT).
47000 (+prectorT): New macro.
47001 (+postctorT): Likewise.
47002
47003 2012-09-06 Joseph Myers <joseph@codesourcery.com>
47004
47005 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
47006 (round_str): Handle values above the maximum for IBM long double
47007 as inexact.
47008 * stdlib/tst-strtod-round.c (tests): Regenerated.
47009
47010 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47011
47012 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
47013 assembler flag.
47014 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
47015 zarch_nohighgprs around the zarch optimized routines.
47016 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
47017 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
47018 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
47019 for zarch.
47020
47021 2012-09-05 David S. Miller <davem@davemloft.net>
47022
47023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47024
47025 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
47026 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
47027 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
47028 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47029 entries.
47030
47031 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47032
47033 * malloc/arena.c: Fold copyright years.
47034 * malloc/mcheck.c, malloc/memusage.c: Likewise.
47035
47036 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47037
47038 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
47039
47040 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47041
47042 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
47043
47044 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47045
47046 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
47047 change internal state upon failure.
47048
47049 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47050
47051 * malloc/mcheck.c (mcheck_check_all): Fix typo.
47052 * malloc/memusage.c (mmap): Likewise.
47053 (mmap64, mremap): Likewise. Adjust name in comment.
47054
47055 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
47056
47057 * libio/fileops.c: Fix typos in comments.
47058 * libio/oldfileops.c: Likewise.
47059 * libio/wfileops.c: Likewise.
47060
47061 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
47062
47063 [BZ #1349]
47064 * malloc/Makefile (tests): Add tst-malloc-usable test case.
47065 (tst-malloc-usable-ENV): Set environment for test case.
47066 * malloc/hooks.c (malloc_check_get_size): New function to get
47067 requested size.
47068 * malloc/malloc.c (musable): Use malloc_check_get_size.
47069 * malloc/tst-malloc-usable.c: New test case.
47070
47071 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
47072
47073 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
47074
47075 2012-09-05 Allan McRae <allan@archlinux.org>
47076
47077 [BZ #13966]
47078 * configure.in (CXX_SYSINCLUDES): Use compiler output to
47079 determine header location.
47080 * configure: Regenerated.
47081
47082 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
47083
47084 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
47085 float format.
47086 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
47087 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
47088 format.
47089 (test): Regenerate.
47090
47091 2012-09-04 David S. Miller <davem@davemloft.net>
47092
47093 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
47094 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
47095 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
47096
47097 2012-09-04 Florian Weimer <fweimer@redhat.com>
47098
47099 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
47100 failures.
47101
47102 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
47103
47104 2012-09-04 Joseph Myers <joseph@codesourcery.com>
47105
47106 [BZ #9914]
47107 * libio/iogetdelim.c: Include <limits.h>.
47108 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
47109 + len + 1 would overflow.
47110
47111 2012-09-03 Andreas Jaeger <aj@suse.de>
47112
47113 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47114 * sysdeps/i386/fpu/libm-test-ulps: Update.
47115
47116 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47117
47118 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
47119 Add s_sinf-sse2, s_conf-sse2.
47120
47121 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
47122 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
47123 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
47124 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
47125
47126 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
47127 for using routine as __sinf_ia32.
47128 Use macro for function declaration and weak_alias.
47129 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
47130 for using routine as __cosf_ia32.
47131 Use macro for function declaration and weak_alias.
47132
47133 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
47134 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
47135
47136 * sysdeps/x86_64/fpu/s_sinf.S: New file.
47137 * sysdeps/x86_64/fpu/s_cosf.S: New file.
47138 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47139
47140 * math/libm-test.inc (cos_test): Add more test cases.
47141 (sin_test): Likewise.
47142 (sincos_test): Likewise.
47143
47144 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47145
47146 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
47147 (IFUNC_RESOLVE): Make pointers to the specialized implementations
47148 hidden.
47149 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
47150
47151 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
47152
47153 [BZ #14538]
47154 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
47155 first element of the GOT.
47156 (elf_machine_load_address): Return the difference between
47157 the runtime address of _DYNAMIC and elf_machine_dynamic ().
47158
47159 2012-09-01 Allan McRae <allan@archlinux.org>
47160
47161 [BZ #13412]
47162 * configure.in (AWK): Require gawk version 3.0 or later.
47163 * configure: Regenerated.
47164
47165 2012-09-01 Joseph Myers <joseph@codesourcery.com>
47166
47167 * sysdeps/unix/sysv/linux/kernel-features.h
47168 (__ASSUME_POSIX_CPU_TIMERS): Remove.
47169 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47170 [__NR_clock_getres]: Make code unconditional.
47171 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
47172 (clock_getcpuclockid): Remove code left unreachable by removal of
47173 conditionals.
47174 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
47175 code unconditional.
47176 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
47177 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47178 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
47179 Make code unconditional.
47180 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
47181 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47182 * sysdeps/unix/sysv/linux/clock_settime.c
47183 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
47184 conditional code.
47185 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
47186 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47187
47188 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
47189
47190 [BZ #14476]
47191 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
47192 scripts/test-installation.pl.
47193
47194 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
47195 and $ld_so_version if it is set.
47196
47197 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
47198
47199 [BZ #14516]
47200 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
47201 failure if reading from procfs failed.
47202 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
47203
47204 2012-08-27 Joseph Myers <joseph@codesourcery.com>
47205
47206 * sysdeps/unix/sysv/linux/kernel-features.h
47207 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
47208 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
47209 Remove conditional code.
47210 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47211 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
47212 Remove conditional code.
47213 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47214 * sysdeps/unix/sysv/linux/i386/fxstat.c
47215 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47216 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47217 * sysdeps/unix/sysv/linux/i386/fxstatat.c
47218 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47219 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47220 * sysdeps/unix/sysv/linux/i386/lxstat.c
47221 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47222 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47223 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
47224 Remove conditional code.
47225 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47226 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
47227 Remove conditional code.
47228 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47229 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
47230 <kernel-features.h>.
47231 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
47232 Remove.
47233 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
47234 Remove conditional code.
47235 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47236 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
47237 Remove conditional.
47238
47239 2012-08-27 Mike Frysinger <vapier@gentoo.org>
47240
47241 [BZ #5400]
47242 * NEWS: Add fixed bug number.
47243
47244 2012-08-27 Joseph Myers <joseph@codesourcery.com>
47245
47246 [BZ #14519]
47247 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
47248 underflowing exponent in case of negative sign.
47249 * stdlib/tst-strtod-round-data: Add more tests.
47250 * stdlib/tst-strtod-round.c (tests): Regenerated.
47251
47252 [BZ #3479]
47253 * stdlib/strtod_l.c (NDIG): Remove.
47254 (HEXNDIG): Likewise.
47255 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
47256 smallest representable value.
47257 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
47258 lie within an exact representation of 1/2 ulp of the result.
47259 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
47260 unconditionally.
47261 (TENS_P9_IDX): Define unconditionally.
47262 (TENS_P9_SIZE): Likewise.
47263 (TENS_P10_IDX): Likewise.
47264 (TENS_P10_SIZE): Likewise.
47265 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
47266 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
47267 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
47268 entries for 10^2^13 and 10^2^14.
47269 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
47270 (TENS_P13_IDX): Define.
47271 (TENS_P13_SIZE): Likewise.
47272 (TENS_P14_IDX): Likewise.
47273 (TENS_P14_SIZE): Likewise.
47274 (_fpioconst_pow10): Change array size to
47275 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
47276 unconditional.
47277 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
47278 1024]: Add entries for 10^2^13 and 10^2^14.
47279 [LAST_POW10 > _LAST_POW10]: Remove #error.
47280 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
47281 (_fpioconst_pow10): Change array size to
47282 FPIOCONST_POW10_ARRAY_SIZE.
47283 * stdlib/gen-fpioconst.c: New file.
47284 * stdlib/gen-tst-strtod-round.c: Likewise.
47285 * stdlib/tst-strtod-round-data: Likewise.
47286 * stdlib/tst-strtod-round.c: Likewise.
47287 * stdlib/Makefile (tests): Add tst-strtod-round.
47288
47289 [BZ #14459]
47290 * stdlib/strtod_l.c: Include <stdint.h>.
47291 (NDEBUG): Do not define.
47292 (round_and_return): Change EXPONENT parameter to type intmax_t.
47293 Rearrange calculations to avoid internal overflow possibilities.
47294 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
47295 Rearrange calculations to avoid internal overflow possibilities.
47296 Assert that number fits inside MPNSIZE limbs.
47297 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
47298 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
47299 calculations and add assertions to avoid internal overflow
47300 possibilities. Add casts to avoid signed/unsigned operations.
47301 * stdlib/tst-strtod-overflow.c: New file.
47302 * stdlib/Makefile (tests): Add tst-strtod-overflow.
47303
47304 2012-08-25 Marek Polacek <polacek@redhat.com>
47305
47306 * time/time.h: Fix some typos in comments.
47307
47308 2012-08-23 Roland McGrath <roland@hack.frob.com>
47309
47310 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
47311 * posix/tst-rfc3484-2.c: Likewise.
47312 * posix/tst-rfc3484-3.c: Likewise.
47313
47314 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
47315
47316 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
47317 (EF_ARM_ABI_FLOAT_HARD): Likewise.
47318
47319 2012-08-23 Joseph Myers <joseph@codesourcery.com>
47320
47321 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
47322 #include of fxstatat64.c.
47323
47324 2012-08-22 Roland McGrath <roland@hack.frob.com>
47325
47326 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
47327 * shadow/getspent_r.c: Likewise.
47328 * shadow/getspnam.c: Likewise.
47329 * shadow/getspnam_r.c: Likewise.
47330 * gshadow/getsgent.c: Likewise.
47331 * gshadow/getsgent_r.c: Likewise.
47332 * gshadow/getsgnam.c: Likewise.
47333 * gshadow/getsgnam_r.c: Likewise.
47334 * inet/getnetbyad.c: Likewise.
47335 * inet/getnetbyad_r.c: Likewise.
47336 * inet/getnetbynm.c: Likewise.
47337 * inet/getnetbynm_r.c: Likewise.
47338 * inet/getnetent.c: Likewise.
47339 * inet/getnetent_r.c: Likewise.
47340 * inet/getproto.c: Likewise.
47341 * inet/getproto_r.c: Likewise.
47342 * inet/getprtent.c: Likewise.
47343 * inet/getprtent_r.c: Likewise.
47344 * inet/getprtname.c: Likewise.
47345 * inet/getprtname_r.c: Likewise.
47346 * inet/getrpcbyname.c: Likewise.
47347 * inet/getrpcbyname_r.c: Likewise.
47348 * inet/getrpcbynumber.c: Likewise.
47349 * inet/getrpcbynumber_r.c: Likewise.
47350 * inet/getrpcent.c: Likewise.
47351 * inet/getrpcent_r.c: Likewise.
47352 * inet/getaliasent.c: Likewise.
47353 * inet/getaliasent_r.c: Likewise.
47354 * inet/getaliasname.c: Likewise.
47355 * inet/getaliasname_r.c: Likewise.
47356 * nscd/getgrgid_r.c: Likewise.
47357 * nscd/getgrnam_r.c: Likewise.
47358 * nscd/gethstbyad_r.c: Likewise.
47359 * nscd/gethstbynm3_r.c: Likewise.
47360 * nscd/getpwnam_r.c: Likewise.
47361 * nscd/getpwuid_r.c: Likewise.
47362 * nscd/getsrvbynm_r.c: Likewise.
47363 * nscd/getsrvbypt_r.c: Likewise.
47364 * nscd/gai.c: Likewise.
47365
47366 * configure.in (build_nscd): New substituted variable, set
47367 by --disable-build-nscd and defaults to $use_nscd.
47368 * configure: Regenerated.
47369 * config.make.in (build-nscd): New substituted variable.
47370 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
47371 Change conditional to require [$(build-nscd) = yes] as well.
47372 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
47373
47374 [BZ# 13696]
47375 * configure.in (use_nscd): New substituted variable, set by
47376 --disable-nscd. If enabled, define USE_NSCD.
47377 * configure: Regenerated.
47378 * config.h.in: Add USE_NSCD.
47379 * config.make.in (use-nscd): New substituted variable.
47380 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
47381 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
47382 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
47383 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
47384 (CFLAGS-getgrnam_r.c): Likewise.
47385 (CFLAGS-initgroups.c): Likewise.
47386 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
47387 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
47388 Variables removed.
47389 * inet/getnetgrent_r.c
47390 (nscd_setnetgrent): New function, broken out of ...
47391 (setnetgrent): ... here. Call it.
47392 (innetgr): Conditionalize nscd bits on [USE_NSCD].
47393 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
47394 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
47395 * nscd/Makefile (routines, aux): Move definitions after include of
47396 Makeconfig. Conditionalize on [$(use-nscd) != no].
47397 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
47398 Conditionalize on [USE_NSCD].
47399 (is_nscd, nscd_init_cb): Likewise.
47400 (nss_load_library): Conditionalize init callback on [USE_NSCD].
47401 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
47402 * nss/nss_db/db-init.c: Likewise.
47403 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
47404 [USE_NSCD].
47405 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
47406 (make_request): Use it.
47407 (cache_valid_p): New function.
47408 (__check_pf): Use it.
47409 * NEWS: Add item for --disable-nscd.
47410
47411 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
47412
47413 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
47414 to support sed >= 4.2.1-20-ga9bf076.
47415 * configure: Regenerated.
47416
47417 2012-08-22 Roland McGrath <roland@hack.frob.com>
47418
47419 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
47420 Conditionalize whole body on [IREL].
47421
47422 2012-08-22 Jeff Law <law@redhat.com>
47423
47424 [BZ #14505]
47425 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
47426 if the family is PF_UNSPEC.
47427
47428 2012-08-22 Mike Frysinger <vapier@gentoo.org>
47429
47430 * Makerules (lib-version): Rename from V.
47431 (install-lib-nosubdir): Change V to lib-version.
47432
47433 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
47434
47435 [BZ #14252]
47436 * powerpc32/power6/wcschr.c: New file.
47437 * powerpc32/power6/wcscpy.c: New file.
47438 * powerpc32/power6/wcsrchr.c: New file.
47439 * powerpc64/power6/wcschr.c: New file.
47440 * powerpc64/power6/wcscpy.c: New file.
47441 * powerpc64/power6/wcsrchr.c: New file.
47442
47443 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
47444
47445 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
47446 (two_way_short_needle): Use it.
47447 * string/strstr.c (AVAILABLE1_USES_J): Define.
47448 * string/strcasestr.c: Likewise.
47449
47450 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
47451 array references.
47452 * string/strcasestr.c (TOLOWER): Make side-effect safe.
47453
47454 [BZ #11607]
47455 * NEWS: Add an entry.
47456 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
47457 define their defaults.
47458 (two_way_short_needle): Detect end-of-string on-the-fly.
47459 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
47460 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
47461 * string/bug-strcasestr1.c: New test.
47462 * string/Makefile: Run it.
47463
47464 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
47465
47466 [BZ #11607]
47467 * string/str-two-way.h (two_way_short_needle): Optimize matching of
47468 the first character.
47469
47470 2012-08-21 Roland McGrath <roland@hack.frob.com>
47471
47472 * csu/elf-init.c (__libc_csu_irel): Function removed.
47473 * csu/libc-start.c (apply_irel): New function.
47474 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
47475
47476 2012-08-21 Joseph Myers <joseph@codesourcery.com>
47477
47478 * sysdeps/unix/sysv/linux/kernel-features.h
47479 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
47480 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
47481 <kernel-features.h>.
47482 [__NR_fadvise64_64]: Make code unconditional.
47483 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
47484 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
47485 !__NR_fadvise64_64)]: Likewise.
47486 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
47487 !__NR_fadvise64_64))]: Likewise.
47488 [__NR_fadvise64]: Make code unconditional.
47489 [!__NR_fadvise64]: Remove conditional code.
47490 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
47491 <kernel-features.h>.
47492 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47493 unconditional.
47494 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47495 conditional code.
47496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
47497 not include <kernel-features.h>.
47498 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47499 unconditional.
47500 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47501 conditional code.
47502 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
47503 include <kernel-features.h>.
47504 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47505 unconditional.
47506 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47507 conditional code.
47508
47509 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
47510
47511 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
47512 slight instruction rearrangements per scrollpipe analysis.
47513 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
47514
47515 2012-08-20 Roland McGrath <roland@hack.frob.com>
47516
47517 * manual/syslog.texi (syslog; vsyslog, closelog):
47518 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
47519 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
47520
47521 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
47522 DSOCAPS to match condition on defining it.
47523
47524 2012-08-20 Joseph Myers <joseph@codesourcery.com>
47525
47526 * sysdeps/unix/sysv/linux/kernel-features.h
47527 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
47528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
47529 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47530 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
47532 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47533 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
47535 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47536 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47537
47538 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
47539 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
47540
47541 * sysdeps/unix/sysv/linux/kernel-features.h
47542 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
47543 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
47544 unconditional.
47545 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47546 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
47547 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
47548 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47549 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
47550 Make code unconditional.
47551 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47552 (__mmap64) [!__NR_mmap2]: Likewise.
47553 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
47554 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
47555 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47556 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
47557 [__NR_mmap2]: Make code unconditional.
47558 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47559 (__mmap64) [!__NR_mmap2]: Likewise.
47560
47561 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47562
47563 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
47564
47565 2012-08-18 Andreas Jaeger <aj@suse.de>
47566
47567 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
47568
47569 2012-08-18 Mike Frysinger <vapier@gentoo.org>
47570
47571 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
47572 * include/unistd.h (__have_sock_cloexec): Likewise.
47573 (__have_pipe2): Likewise.
47574 (__have_dup3): Likewise.
47575
47576 2012-08-18 Mike Frysinger <vapier@gentoo.org>
47577
47578 [BZ #9685]
47579 * include/unistd.h (__have_pipe2): Change define into an extern int.
47580 (__have_dup3): Likewise.
47581 * socket/have_sock_cloexec.c: Include fcntl.h.
47582 (__have_pipe2): New variable.
47583 (__have_dup3): Likewise.
47584
47585 2012-08-17 Mike Frysinger <vapier@gentoo.org>
47586
47587 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
47588
47589 2012-08-17 Marek Polacek <polacek@redhat.com>
47590
47591 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
47592 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
47593
47594 2012-08-17 Roland McGrath <roland@hack.frob.com>
47595
47596 * configure.in: Add AC_SUBST for sysheaders.
47597 * configure: Regenerated.
47598 * config.make.in (sysheaders): New substituted variable.
47599
47600 * sysdeps/unix/mkfifo.c: Moved ...
47601 * sysdeps/posix/mkfifo.c: ... here.
47602 * sysdeps/unix/mkfifoat.c: Moved ...
47603 * sysdeps/posix/mkfifoat.c: ... here.
47604
47605 * sysdeps/unix/utime.c: Moved ...
47606 * sysdeps/posix/utime.c: ... here.
47607
47608 * sysdeps/unix/time.c: Moved ...
47609 * sysdeps/posix/time.c: ... here.
47610 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
47611 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
47612
47613 * sysdeps/unix/nice.c: Moved ...
47614 * sysdeps/posix/nice.c: ... here.
47615
47616 * sysdeps/unix/alarm.c: Moved ...
47617 * sysdeps/posix/alarm.c: ... here.
47618
47619 * intl/Makefile ($(codeset_mo)): Depend on the input file.
47620
47621 2012-08-17 Jeff Law <law@redhat.com>
47622
47623 * intl/Makefile (codeset_mo): New variable.
47624 ($(codeset_mo)): New target.
47625 (tst-codeset.out): Depend on that. Remove explicit rule.
47626 (tst-gettext3.out, tst-gettext5.out): Likewise.
47627 (LOCPATH-ENV, tst-codeset-ENV): New variables.
47628 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
47629 * intl/tst-codeset.sh: Remove.
47630 * intl/tst-gettext3.sh: Likewise.
47631 * intl/tst-gettext5.sh: Likewise.
47632
47633 2012-08-17 Roland McGrath <roland@hack.frob.com>
47634
47635 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
47636 * sysdeps/unix/syscalls.list: ... here.
47637
47638 * sysdeps/posix/getaddrinfo.c
47639 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
47640 (gaiconf_init, gaiconf_reload): Use them.
47641 [!_STATBUF_ST_NSEC]
47642 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
47643 Define using time_t rather than struct timespec.
47644
47645 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
47646 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
47647 Macros removed.
47648 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
47649 [!NO_THREADS].
47650 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
47651 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
47652 Likewise.
47653
47654 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
47655 __libc_cleanup_push argument.
47656
47657 * bits/param.h: New file.
47658 * misc/sys/param.h: New file.
47659 * include/sys/param.h: New file.
47660 * misc/Makefile (headers): Add bits/param.h.
47661 * sysdeps/generic/sys/param.h: File removed.
47662 * sysdeps/unix/sysv/linux/bits/param.h: New file.
47663 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
47664 * sysdeps/mach/hurd/bits/param.h: New file.
47665 * sysdeps/mach/hurd/sys/param.h: File removed.
47666
47667 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
47668 last change.
47669
47670 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
47671 [_IO_MTSAFE_IO].
47672 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
47673 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
47674 New macros.
47675
47676 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
47677 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
47678 rather than -D_IO_MTSAFE_IO conditionally.
47679 * stdio-common/Makefile (CPPFLAGS): Likewise.
47680 * wcsmbs/Makefile (CPPFLAGS): Likewise.
47681 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
47682 Use $(libio-mtsafe).
47683 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
47684 of -D_IO_MTSAFE_IO.
47685 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
47686 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
47687 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
47688 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
47689 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
47690 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
47691 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
47692 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
47693 (CFLAGS-fread_u_chk.c): Likewise.
47694 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
47695 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
47696 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
47697 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
47698 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
47699 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
47700 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
47701 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
47702 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
47703
47704 * libio/Makefile: Test [$(libc-reentrant) = yes]
47705 instead of [$(filter %REENTRANT, $(defines)) nonempty].
47706
47707 * Makeconfig
47708 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
47709 * sysdeps/pthread/configure: File removed.
47710 * sysdeps/pthread/Makeconfig: New file.
47711 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
47712 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
47713
47714 2012-08-16 Gary Benson <gbenson@redhat.com>
47715
47716 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
47717 unmapping the first object in a namespace.
47718
47719 2012-08-16 Roland McGrath <roland@hack.frob.com>
47720
47721 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
47722 (__internal_setnetgrent): ... this. Add internal_function to
47723 definition. Add libc_hidden_def.
47724 (setnetgrent): Update caller.
47725 (internal_endnetgrent): Renamed to ...
47726 (__internal_endnetgrent): ... this. Add internal_function to
47727 definition. Add libc_hidden_def.
47728 (endnetgrent): Update caller.
47729 (internal_getnetgrent_r): Renamed to ...
47730 (__internal_getnetgrent_r): ... this. Add internal_function to
47731 definition. Add libc_hidden_def.
47732 (__getnetgrent_r): Update caller.
47733 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
47734
47735 2012-08-16 Joseph Myers <joseph@codesourcery.com>
47736
47737 * stdlib/longlong.h: Update from GCC.
47738
47739 2012-08-16 Roland McGrath <roland@hack.frob.com>
47740
47741 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
47742 on _QL, which is set by umul_ppmm but never used.
47743 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
47744 variables, which are set by GMP macros but never used.
47745 * stdio-common/_itowa.c (_itowa): Likewise.
47746 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
47747 * stdlib/mod_1.c (mpn_mod_1): Likewise.
47748
47749 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
47750
47751 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
47752 struct La_sh_regs is not constant.
47753 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
47754 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
47755 and struct La_sparc64_regs are not constant.
47756
47757 2012-08-16 Joseph Myers <joseph@codesourcery.com>
47758
47759 * sysdeps/unix/sysv/linux/kernel-features.h
47760 (__ASSUME_POSIX_TIMERS): Remove.
47761 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47762 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47763 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
47764 Make code unconditional.
47765 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47766 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
47767 Make code unconditional.
47768 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47769 * sysdeps/unix/sysv/linux/clock_nanosleep.c
47770 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
47771 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47772 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
47773 Make code unconditional.
47774 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47775 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
47776 (__libc_missing_posix_timers): Remove.
47777
47778 2012-08-15 Roland McGrath <roland@hack.frob.com>
47779
47780 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
47781 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
47782
47783 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
47784
47785 * elf/dl-sym.c: Include <stdlib.h>.
47786
47787 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
47788 constants, which avoids warnings in 32-bit builds.
47789
47790 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
47791 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
47792
47793 * misc/lseek.c: File moved to ...
47794 * io/lseek.c: ... here.
47795
47796 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
47797
47798 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
47799 shifting LEN more than 31 bits at once.
47800
47801 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47802
47803 [BZ #14195]
47804 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
47805 segmentation fault for a case of two empty input strings.
47806 * string/test-strncasecmp.c (check1): Renamed to...
47807 (bz12205): ...this.
47808 (bz14195): Add new testcase for two empty input strings and N > 0.
47809 (test_main): Call new testcase, adapt for renamed function.
47810
47811 2012-08-15 Andreas Jaeger <aj@suse.de>
47812
47813 [BZ #14090]
47814 * crypt/md5test2.c: New test, based on test supplied by Serge
47815 Belyshev <belyshev@depni.sinp.msu.ru>.
47816 * crypt/Makefile (xtests): Add md5test-giant..
47817 * crypt/Makefile ($(objpfx)md5test-giant): Add.
47818
47819 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
47820
47821 [BZ #14090]
47822 * crypt/md5.c (md5_process_block): Don't assume the buffer
47823 length is less than 2**32.
47824 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
47825 length is less than 2**64.
47826
47827 2012-08-15 Roland McGrath <roland@hack.frob.com>
47828
47829 * string/str-two-way.h: Include <sys/param.h>.
47830 (MAX): Macro removed.
47831
47832 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
47833 Move #define and #undef of memmove to just before and after
47834 including <string.h>.
47835
47836 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
47837 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
47838 and after including <string.h>. Move declarations of
47839 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
47840 to before #include "string/memmove.c".
47841
47842 * include/dirent.h: Declare __getdirentries.
47843
47844 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
47845 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
47846
47847 2012-08-14 Mike Frysinger <vapier@gentoo.org>
47848
47849 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
47850 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
47851 * sysdeps/i386/configure: Regenerated.
47852 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
47853 STABS_CURRENT_FILE, and STABS_FUN.
47854 (END): Remove call to STABS_FUN_END.
47855 (STABS_CURRENT_FILE1): Delete.
47856 (STABS_CURRENT_FILE): Likewise.
47857 (STABS_FUN): Likewise.
47858 (STABS_FUN_END): Likewise.
47859 (STABS_FUN2): Likewise.
47860 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
47861 * sysdeps/x86_64/configure: Regenerated.
47862
47863 2012-08-14 Roland McGrath <roland@hack.frob.com>
47864
47865 * elf/dl-open.c: Include <atomic.h>.
47866 * elf/dl-lookup.c: Likewise.
47867
47868 2012-08-14 Joseph Myers <joseph@codesourcery.com>
47869
47870 * sysdeps/unix/sysv/linux/kernel-features.h
47871 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
47872 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
47873 unconditionally.
47874 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
47875 unconditionally.
47876 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
47877 condition on __ASSUME_CLONE_THREAD_FLAGS.
47878
47879 2012-08-14 Andreas Jaeger <aj@suse.de>
47880
47881 * sysdeps/i386/fpu/libm-test-ulps: Update.
47882
47883 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
47884
47885 * include/atomic.h (atomic_exchange_and_add): Split into ...
47886 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
47887 New atomic macros.
47888
47889 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
47890
47891 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47892
47893 2012-08-13 Jeff Law <law@redhat.com>
47894
47895 * manual/stdio.texi (snprintf): Clarify handling of the trailing
47896 null byte in the output string.
47897
47898 2012-08-10 Joseph Myers <joseph@codesourcery.com>
47899
47900 * sysdeps/unix/sysv/linux/kernel-features.h
47901 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
47902 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
47903 (__ASSUME_ARG_MAX_STACK_BASED): Define.
47904 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
47905 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
47906 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
47907 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
47908
47909 2012-08-09 Jeff Law <law@redhat.com>
47910
47911 [BZ #13939]
47912 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
47913 When avoid_arena is set, don't retry in the that arena. Pick the
47914 next one, whatever it might be.
47915 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
47916 (arena_lock): Pass in new parameter to arena_get2.
47917 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
47918 arena_get2.
47919 (__libc_malloc): Unify retrying after main arena failure with
47920 __libc_memalign version.
47921 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
47922
47923 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
47924
47925 [BZ #14166]
47926 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
47927 to __redirect_strstr.
47928 (__strstr_sse42): Use typeof __redirect_strstr.
47929 (__strstr_ia32): Likewise.
47930 (__libc_strstr): New prototype.
47931 (strstr): Renamed to ...
47932 (__libc_strstr): This.
47933 (strstr): New strong alias of __libc_strstr.
47934 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
47935 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
47936 __redirect_time.
47937 Include <time.h>.
47938 (__libc_time): New prototype.
47939 (time_ifunc): Replace time with __libc_time.
47940 (time): New strong alias and hidden definition of __libc_time.
47941 (__GI_time): Remove strong alias.
47942 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
47943 Include <stddef.h>.
47944 (memmove): Redefined to __redirect_memmove.
47945 (__memmove_sse2): Use typeof __redirect_memmove.
47946 (__memmove_ssse3): Likewise.
47947 (__memmove_ssse3_back): Likewise.
47948 (__libc_memmove): New prototype.
47949 (memmove): Renamed to ...
47950 (__libc_memmove): This.
47951 (memmove): New strong alias of __libc_memmove.
47952
47953 2012-08-08 Mark Salter <msalter@redhat.com>
47954
47955 * elf/elf.h
47956 (R_MN10300_TLS_GD): Define.
47957 (R_MN10300_TLS_LD): Likewise.
47958 (R_MN10300_TLS_LDO): Likewise.
47959 (R_MN10300_TLS_GOTIE): Likewise.
47960 (R_MN10300_TLS_IE): Likewise.
47961 (R_MN10300_TLS_LE): Likewise.
47962 (R_MN10300_TLS_DTPMOD): Likewise.
47963 (R_MN10300_TLS_DTPOFF): Likewise.
47964 (R_MN10300_TLS_TPOFF): Likewise.
47965 (R_MN10300_SYM_DIFF): Likewise.
47966 (R_MN10300_ALIGN): Likewise.
47967 (R_MN10300_NUM): Update.
47968
47969 2012-08-08 Joseph Myers <joseph@codesourcery.com>
47970
47971 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
47972 Remove.
47973
47974 2012-08-08 Roland McGrath <roland@hack.frob.com>
47975
47976 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
47977
47978 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
47979 sysdeps/unix -> sysdeps/posix move.
47980 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
47981
47982 2012-08-07 Allan McRae <allan@archlinux.org>
47983
47984 [BZ #14303]
47985 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
47986 (SUNOS_CPP): Likewise.
47987 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
47988 not found.
47989 (open_input): Call CPP using execvp.
47990
47991 2012-08-07 Joseph Myers <joseph@codesourcery.com>
47992
47993 * sysdeps/unix/sysv/linux/kernel-features.h
47994 (__ASSUME_PROT_GROWSUPDOWN): Remove.
47995 (__ASSUME_NO_CLONE_DETACHED): Likewise.
47996 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47997 (__ASSUME_WAITID_SYSCALL): Likewise.
47998 * sysdeps/unix/sysv/linux/dl-execstack.c
47999 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
48000 code unconditional.
48001 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
48002 conditional code.
48003 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
48004 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
48005 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
48006 code.
48007 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
48008 unconditional.
48009 [__ASSUME_WAITID_SYSCALL]: Likewise.
48010 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
48011
48012 2012-08-07 Roland McGrath <roland@hack.frob.com>
48013
48014 * sysdeps/unix/closedir.c: Renamed to ...
48015 * sysdeps/posix/closedir.c: ... here.
48016 * sysdeps/unix/dirfd.c: Renamed to ...
48017 * sysdeps/posix/dirfd.c: ... here.
48018 * sysdeps/unix/dirstream.h: Renamed to ...
48019 * sysdeps/posix/dirstream.h: ... here.
48020 * sysdeps/unix/fdopendir.c: Renamed to ...
48021 * sysdeps/posix/fdopendir.c: ... here.
48022 * sysdeps/unix/opendir.c: Renamed to ...
48023 * sysdeps/posix/opendir.c: ... here.
48024 * sysdeps/unix/readdir.c: Renamed to ...
48025 * sysdeps/posix/readdir.c: ... here.
48026 * sysdeps/unix/readdir_r.c: Renamed to ...
48027 * sysdeps/posix/readdir_r.c: ... here.
48028 * sysdeps/unix/rewinddir.c: Renamed to ...
48029 * sysdeps/posix/rewinddir.c: ... here.
48030 * sysdeps/unix/seekdir.c: Renamed to ...
48031 * sysdeps/posix/seekdir.c: ... here.
48032 * sysdeps/unix/telldir.c: Renamed to ...
48033 * sysdeps/posix/telldir.c: ... here.
48034 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
48035 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
48036 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
48037 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
48038
48039 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
48040 * bits/fcntl.h: ... here.
48041
48042 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
48043 not 0.
48044 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
48045 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
48046 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
48047 (struct flock): Move l_start, l_len to the beginning.
48048 Use __pid_t for l_pid.
48049 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
48050 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
48051 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
48052 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
48053 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
48054 [__USE_LARGEFILE64] (struct flock64): New type.
48055 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
48056
48057 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
48058 * bits/dirent.h: ... here.
48059
48060 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
48061 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
48062
48063 2012-08-07 Joseph Myers <joseph@codesourcery.com>
48064
48065 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48066 Change from 2.6.0 to 2.6.16.
48067 * sysdeps/unix/sysv/linux/configure: Regenerated.
48068 * sysdeps/unix/sysv/linux/kernel-features.h
48069 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
48070 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
48071 version.
48072 (__ASSUME_UTIMES): Likewise.
48073 (__ASSUME_CLONE_STOPPED): Remove.
48074 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
48075 architectures, not kernel version.
48076 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
48077 (__ASSUME_NO_CLONE_DETACHED): Likewise.
48078 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
48079 (__ASSUME_WAITID_SYSCALL): Likewise.
48080 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
48081 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
48082 * README: State 2.6.16 as minimum Linux kernel version. Do not
48083 refer to older versions.
48084
48085 2012-08-06 Roland McGrath <roland@hack.frob.com>
48086
48087 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
48088 Define alphasort64 as an alias.
48089 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
48090 Define versionsort64 as an alias.
48091 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
48092 Define scandir64 as an alias.
48093 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
48094 Define scandirat64 as an alias.
48095 * dirent/alphasort64.c (alphasort64):
48096 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
48097 * dirent/versionsort64.c: Likewise.
48098 * dirent/scandir64.c: Likewise.
48099 * dirent/scandirat64.c: Likewise.
48100 * sysdeps/wordsize-64/alphasort.c: File removed.
48101 * sysdeps/wordsize-64/alphasort64.c: File removed.
48102 * sysdeps/wordsize-64/scandir.c: File removed.
48103 * sysdeps/wordsize-64/scandir64.c: File removed.
48104 * sysdeps/wordsize-64/scandirat.c: File removed.
48105 * sysdeps/wordsize-64/scandirat64.c: File removed.
48106 * sysdeps/wordsize-64/versionsort.c: File removed.
48107 * sysdeps/wordsize-64/versionsort64.c: File removed.
48108 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
48109 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
48110 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
48111 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
48112 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
48113 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
48114 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
48115 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
48116
48117 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
48118 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
48119 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
48120 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48121 [defined __arch64__ || defined __sparcv9]
48122 (__INO_T_MATCHES_INO64_T): New macro.
48123 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
48124 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
48125 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
48126 * sysdeps/unix/sysv/linux/bits/dirent.h
48127 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
48128 (_DIRENT_MATCHES_DIRENT64): New macro.
48129
48130 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
48131 Define lockf64 as an alias.
48132 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
48133 Define fseeko64 as an alias.
48134 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
48135 Define ftello64 as an alias.
48136 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
48137 Define _IO_fgetpos64 and fgetpos64 as aliases.
48138 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
48139 Define _IO_fsetpos64 and fsetpos64 as aliases.
48140 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
48141 Conditionalize body on this.
48142 * libio/fseeko64.c: Likewise.
48143 * libio/ftello64.c: Likewise.
48144 * libio/iofgetpos64.c: Likewise.
48145 * libio/iofsetpos64.c: Likewise.
48146 * sysdeps/wordsize-64/lockf.c: File removed.
48147 * sysdeps/wordsize-64/lockf64.c: File removed.
48148 * sysdeps/wordsize-64/fseeko.c: File removed.
48149 * sysdeps/wordsize-64/fseeko64.c: File removed.
48150 * sysdeps/wordsize-64/ftello.c: File removed.
48151 * sysdeps/wordsize-64/ftello64.c: File removed.
48152 * sysdeps/wordsize-64/iofgetpos.c: File removed.
48153 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
48154 * sysdeps/wordsize-64/iofsetpos.c: File removed.
48155 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
48156 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
48157 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
48158 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
48159 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
48160 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
48161 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
48162 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
48163 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
48164 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
48165 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
48166
48167 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
48168 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
48169 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
48170 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48171 [defined __arch64__ || defined __sparcv9]
48172 (__OFF_T_MATCHES_OFF64_T): New macro.
48173 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
48174 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
48175 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48176 (__OFF_T_MATCHES_OFF64_T): New macro.
48177
48178 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
48179
48180 * stdlib/secure-getenv.c (__secure_getenv): Replace
48181 GLIBC_2_16 with GLIBC_2_17.
48182
48183 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
48184
48185 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
48186 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
48187
48188 2012-08-03 David S. Miller <davem@davemloft.net>
48189
48190 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48191
48192 2012-08-03 Joseph Myers <joseph@codesourcery.com>
48193
48194 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
48195 Remove.
48196 (__ASSUME_CORRECT_SI_PID): Likewise.
48197 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
48198 (__ASSUME_TMPFS_NAME): Likewise.
48199 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
48200 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
48201 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
48202 (HAVE_AUX_SECURE): Make definition unconditional.
48203 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
48204 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
48205
48206 2012-08-03 Roland McGrath <roland@hack.frob.com>
48207
48208 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
48209 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
48210 * sysdeps/mach/hurd/eloop-threshold.h: New file.
48211 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48212 __eloop_threshold instead of SYMLOOP_MAX.
48213
48214 * sysdeps/generic/eloop-threshold.h: New file.
48215 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
48216 of MAXSYMLINKS.
48217 * elf/chroot_canon.c (chroot_canon): Likewise.
48218
48219 2012-08-03 Joseph Myers <joseph@codesourcery.com>
48220
48221 [BZ #13717]
48222 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48223 Change to 2.6.0 everywhere.
48224 * sysdeps/unix/sysv/linux/configure: Regenerated.
48225 * sysdeps/unix/sysv/linux/kernel-features.h
48226 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
48227 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
48228 kernel versions.
48229 (__ASSUME_POSIX_TIMERS): Define unconditionally.
48230 (__ASSUME_FUTEX_REQUEUE): Remove.
48231 (__ASSUME_STATFS64): Define unconditionally.
48232 (__ASSUME_AT_SECURE): Likewise.
48233 (__ASSUME_CORRECT_SI_PID): Likewise.
48234 (__ASSUME_TGKILL): Define without depending on kernel version for
48235 i386.
48236 (__ASSUME_UTIMES): Likewise.
48237 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
48238 kernel version.
48239 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
48240 (__ASSUME_TMPFS_NAME): Likewise.
48241 * README: Update reference to Linux kernel versions.
48242
48243 2012-08-02 Marek Polacek <polacek@redhat.com>
48244
48245 [BZ# 14150]
48246 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
48247 libc_cv_asm_type_prefix with %.
48248 * configure: Regenerated.
48249 * include/libc-symbols.h: Remove comment about
48250 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
48251 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
48252 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
48253 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
48254 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
48255 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
48256 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
48257 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
48258 * elf/tst-unique2mod1.c: Likewise.
48259 * elf/tst-unique1mod2.c: Likewise.
48260 * elf/tst-unique1mod1.c: Likewise.
48261 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
48262 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
48263 Replace ASM_TYPE_DIRECTIVE with .type.
48264 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48265 * sysdeps/i386/sysdep.h: Likewise.
48266 * sysdeps/x86_64/sysdep.h: Likewise.
48267 * sysdeps/sh/sysdep.h: Likewise.
48268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48269 Do not define ASM_TYPE_DIRECTIVE.
48270 * sysdeps/powerpc/sysdep.h: Likewise.
48271 * sysdeps/powerpc/powerpc32/sysdep.h:
48272 Replace ASM_TYPE_DIRECTIVE with .type.
48273 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
48274 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48275 * sysdeps/i386/fpu/e_powf.S: Likewise.
48276 * sysdeps/i386/fpu/e_expl.S: Likewise.
48277 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48278 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48279 * sysdeps/i386/fpu/e_pow.S: Likewise.
48280 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48281 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48282 * sysdeps/i386/fpu/s_expm1.S: Likewise.
48283 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48284 * sysdeps/i386/fpu/e_log2.S: Likewise.
48285 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48286 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48287 * sysdeps/i386/fpu/e_powl.S: Likewise.
48288 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48289 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48290 * sysdeps/i386/fpu/e_logl.S: Likewise.
48291 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48292 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48293 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48294 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48295 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48296 * sysdeps/i386/fpu/e_log.S: Likewise.
48297 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48298 * sysdeps/i386/fpu/e_logf.S: Likewise.
48299 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48300 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48301 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48302 * sysdeps/i386/fpu/e_log10.S: Likewise.
48303 * sysdeps/i386/fpu/s_frexp.S: Likewise.
48304 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48305 * sysdeps/i386/fpu/s_asinh.S: Likewise.
48306 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48307 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48308 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
48309 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48310 * sysdeps/i386/i686/strtok.S: Likewise.
48311 * sysdeps/i386/i386-mcount.S: Likewise.
48312 * sysdeps/i386/strtok.S: Likewise.
48313 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
48314 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48315 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48316 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48317 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48318 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48319 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48320 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48321 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48322 * sysdeps/x86_64/_mcount.S: Likewise.
48323 * sysdeps/x86_64/strtok.S: Likewise.
48324 * sysdeps/sh/_mcount.S: Likewise.
48325
48326 2012-08-01 Roland McGrath <roland@hack.frob.com>
48327
48328 * libio/iofopen.c: Include <fcntl.h>.
48329 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
48330 (_IO_fopen64, fopen64): Define as aliases.
48331 * libio/iofopen64.c: Include <fcntl.h>.
48332 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
48333 Conditionalize body on this.
48334 * sysdeps/wordsize-64/iofopen.c: File removed.
48335 * sysdeps/wordsize-64/iofopen64.c: File removed.
48336
48337 2012-08-01 Marek Polacek <polacek@redhat.com>
48338
48339 * libc/Makeconfig: Use elf in place of binfmt-subdir.
48340 Use dlfcn directly instead of a variable.
48341 (binfmt-subdir): Do not define.
48342 (dlfcn): Likewise.
48343
48344 2012-08-01 Joseph Myers <joseph@codesourcery.com>
48345
48346 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
48347 Remove all definitions.
48348 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
48349 <kernel-features.h>.
48350 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
48351 (miss_F_GETOWN_EX): Remove all definitions.
48352 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
48353 macro definition.
48354 [!__ASSUME_FCNTL64]: Remove conditional code.
48355 [__ASSUME_FCNTL64]: Make code unconditional.
48356 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
48357 <kernel-features.h>.
48358 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
48359 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
48360 (lockf64) [__NR_fcntl64]: Make code unconditional.
48361 (lockf64) [__ASSUME_FCNTL64]: Likewise.
48362
48363 * sysdeps/unix/sysv/linux/kernel-features.h
48364 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
48365 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
48366 Make code unconditional.
48367 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48368 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
48370 [__NR_vfork]: Make code unconditional.
48371 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48372 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
48374 [__NR_vfork]: Make code unconditional.
48375 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48376 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48377
48378 2012-08-01 Roland McGrath <roland@hack.frob.com>
48379
48380 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
48381 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
48382
48383 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48384 Define mkstemp64 as an alias.
48385 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48386 Define mkstemps64 as an alias.
48387 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48388 Define mkostemp64 as an alias.
48389 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48390 Define mkostemps64 as an alias.
48391 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
48392 Conditionalize body on this.
48393 * misc/mkostemp64.c: Likewise.
48394 * misc/mkostemps64.c: Likewise.
48395 * misc/mkstemps64.c: Likewise.
48396 * sysdeps/wordsize-64/mkstemp64.c: File removed.
48397 * sysdeps/wordsize-64/mkostemp64.c: File removed.
48398 * sysdeps/wordsize-64/mkostemp.c: File removed.
48399 * sysdeps/wordsize-64/mkstemp.c: File removed.
48400 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
48401 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
48402 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
48403 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
48404
48405 [BZ #14138]
48406 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
48407 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
48408 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
48409 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
48410
48411 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
48412 compat_symbol macros from <shlib-compat.h> rather than the underlying
48413 default_symbol_version and symbol_version macros, so that DEFAULT
48414 lines in shlib-versions are respected.
48415 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
48416
48417 2012-08-01 Florian Weimer <fweimer@redhat.com>
48418
48419 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
48420 Declare with warn_unused_result.
48421 (setgid, setregid, setegid, setresgid): Likewise.
48422 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
48423 Likewise.
48424 * WUR-REPORT: Remove set*id functions.
48425
48426 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
48427
48428 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
48429
48430 2012-07-31 Roland McGrath <roland@hack.frob.com>
48431
48432 [BZ #10191]
48433 * include/sys/socket.h (__libc_accept, __libc_accept4):
48434 Add attribute_hidden.
48435 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
48436
48437 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
48438 use of PTR_MANGLE.
48439 * inet/getnetgrent_r.c (setup): Likewise.
48440
48441 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
48442
48443 2012-07-31 David S. Miller <davem@davemloft.net>
48444
48445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48446
48447 2012-07-31 Joseph Myers <joseph@codesourcery.com>
48448
48449 [BZ #13629]
48450 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
48451 value between 1.0 and 2.0 and smaller part has absolute value less
48452 than 1.0.
48453 * math/s_clog10.c (__clog10): Likewise.
48454 * math/s_clog10f.c (__clog10f): Likewise.
48455 * math/s_clog10l.c (__clog10l): Likewise.
48456 * math/s_clogf.c (__clogf): Likewise.
48457 * math/s_clogl.c (__clogl): Likewise.
48458 * math/libm-test.inc (clog_test): Add more tests.
48459 (clog10_test): Likewise.
48460 * sysdeps/i386/fpu/libm-test-ulps: Update.
48461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48462
48463 2012-07-31 Florian Weimer <fweimer@redhat.com>
48464
48465 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
48466 Exit with zero in case no suitable GID is found, and write a
48467 message to standard error.
48468
48469 2012-07-30 Roland McGrath <roland@hack.frob.com>
48470
48471 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
48472 rather than to 1.
48473 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
48474 (MAXPATHLEN): Removed.
48475 (NOGROUP, NODEV): New macros.
48476 (setbit, clrbit, isset, isclr): New macros.
48477 (howmany, roundup, powerof2): New macros.
48478 (DEV_BSIZE): New macro.
48479
48480 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
48481 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
48482
48483 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
48484 definition on [!__NO_LONG_DOUBLE_MATH].
48485
48486 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
48487 PTR_MANGLE and PTR_DEMANGLE.
48488
48489 * socket/accept4.c (accept4): Rename to __libc_accept4.
48490 Define accept4 as a weak alias.
48491
48492 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
48493 on [_DIRENT_HAVE_D_TYPE].
48494 * io/ftw.c (ftw_dir): Likewise.
48495
48496 * io/xmknod.c (__xmknod): Don't check PATH for being null.
48497
48498 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
48499
48500 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
48501 Use the BSD numbers rather than the arbitrary ones we had.
48502 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
48503 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
48504 (SIGXCPU, SIGXFSZ): New macros.
48505 (_NSIG): Now 32.
48506
48507 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
48508 initializer on [_LIBC_REENTRANT].
48509
48510 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
48511 definitions inside [_POSIX_MAPPED_FILES].
48512
48513 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
48514
48515 * dirent/opendir.c: Include <fcntl.h>.
48516
48517 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
48518 (__libc_getspecific): Likewise.
48519 (__libc_key_create): Likewise.
48520
48521 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
48522 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
48523 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
48524 (tmpfile64): Define as alias.
48525 * sysdeps/wordsize-64/tmpfile.c: File removed.
48526 * sysdeps/wordsize-64/tmpfile64.c: File removed.
48527 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
48528 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
48529
48530 * stdio-common/vfscanf.c: Include <stdbool.h>.
48531 * nss/makedb.c: Likewise.
48532 * stdio-common/_i18n_number.h: Likewise.
48533 * argp/argp-help.c: Likewise.
48534 * posix/wordexp.c: Likewise.
48535 * sysdeps/posix/spawni.c: Likewise.
48536 * nss/nss_files/files-initgroups.c: Likewise.
48537 * stdio-common/reg-modifier.c: Include <stdlib.h>.
48538 * nss/nss_files/files-initgroups.c: Likewise.
48539 * nss/nss_db/db-netgrp.c: Likewise.
48540 * nss/nss_db/db-initgroups.c: Likewise.
48541 * io/fchmodat.c: Include <sys/stat.h>.
48542
48543 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
48544 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
48545
48546 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
48547 [HAVE_MMAP].
48548
48549 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
48550 Add multiple inclusion protection.
48551
48552 2012-07-27 David S. Miller <davem@davemloft.net>
48553
48554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48555
48556 2012-07-27 Gary Benson <gbenson@redhat.com>
48557
48558 [BZ #14298]
48559 * elf/rtld.c: Include <stap-probe.h>.
48560 (dl_main): Added static probes "init_start" and "init_complete".
48561 * elf/dl-load.c: Include <stap-probe.h>.
48562 (lose): Take new parameter "nsid".
48563 Added static probe "map_failed".
48564 (_dl_map_object_from_fd): Pass namespace id to lose.
48565 Added static probe "map_start".
48566 (open_verify): Pass namespace id to lose.
48567 * elf/dl-open.c: Include <stap-probe.h>.
48568 (dl_open_worker) Added static probes "map_complete", "reloc_start"
48569 and "reloc_complete".
48570 * elf/dl-close.c: Include <stap-probe.h>.
48571 (_dl_close_worker): Added static probes "unmap_start" and
48572 "unmap_complete".
48573 * elf/rtld-debugger-interface.txt: New file documenting the above.
48574
48575 2012-07-26 Roland McGrath <roland@hack.frob.com>
48576
48577 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
48578 rather than a string variable.
48579 * sunrpc/rpc_main.c (h_output): Likewise.
48580 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
48581
48582 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
48583
48584 * inet/check_native.c: New file.
48585
48586 2012-07-26 Joseph Myers <joseph@codesourcery.com>
48587
48588 [BZ #13629]
48589 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
48590 if larger part has absolute value 1.0.
48591 * math/s_clog10.c (__clog10): Likewise.
48592 * math/s_clog10f.c (__clog10f): Likewise.
48593 * math/s_clog10l.c (__clog10l): Likewise.
48594 * math/s_clogf.c (__clogf): Likewise.
48595 * math/s_clogl.c (__clogl): Likewise.
48596 * math/libm-test.inc (clog_test): Add more tests.
48597 (clog10_test): Likewise.
48598 * sysdeps/i386/fpu/libm-test-ulps: Update.
48599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48600
48601 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
48602 (pltexit): Likewise.
48603 (La_regs): Likewise.
48604 (La_retval): Likewise.
48605 (int_retval): Likewise.
48606 Update #error for removed macros to refer only to definitions in
48607 tst-audit.h.
48608 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
48609 macro.
48610 (pltexit): Likewise.
48611 (La_regs): Likewise.
48612 (La_retval): Likewise.
48613 (int_retval): Likewise.
48614 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
48615 macro.
48616 (pltexit): Likewise.
48617 (La_regs): Likewise.
48618 (La_retval): Likewise.
48619 (int_retval): Likewise.
48620 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
48621 macro.
48622 (pltexit): Likewise.
48623 (La_regs): Likewise.
48624 (La_retval): Likewise.
48625 (int_retval): Likewise.
48626 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
48627 macro.
48628 (pltexit): Likewise.
48629 (La_regs): Likewise.
48630 (La_retval): Likewise.
48631 (int_retval): Likewise.
48632 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
48633 macro.
48634 (pltexit): Likewise.
48635 (La_regs): Likewise.
48636 (La_retval): Likewise.
48637 (int_retval): Likewise.
48638 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
48639 macro.
48640 (pltexit): Likewise.
48641 (La_regs): Likewise.
48642 (La_retval): Likewise.
48643 (int_retval): Likewise.
48644 * sysdeps/generic/tst-audit.h: Update comment to refer only to
48645 macro definitions in tst-audit.h.
48646 * sysdeps/i386/tst-audit.h: New file.
48647 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
48648 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
48649 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
48650 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
48651 * sysdeps/sh/tst-audit.h: Likewise.
48652 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
48653 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
48654 * sysdeps/x86_64/tst-audit.h: Likewise.
48655
48656 2012-07-26 Andreas Jaeger <aj@suse.de>
48657
48658 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
48659 ptrace.
48660
48661 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
48662 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
48663 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
48664 PTRACE_O_MASK.
48665 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
48666 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
48667 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
48668
48669 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
48670 value.
48671
48672 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
48673 _sigsys.
48674 (si_call_addr, si_syscall, si_arch): Define new macro.
48675 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
48676 _sigsys.
48677 (si_call_addr, si_syscall, si_arch): Define new marcro.
48678 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
48679 _sigsys.
48680 (si_call_addr, si_syscall, si_arch): Define new macro.
48681 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
48682 _sigsys.
48683 (si_call_addr, si_syscall, si_arch): Define new macro.
48684
48685 2012-07-25 Joseph Myers <joseph@codesourcery.com>
48686
48687 [BZ #13717]
48688 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48689 Change to 2.4.21 where previously 2.4.1.
48690 * sysdeps/unix/sysv/linux/configure: Regenerated.
48691 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
48692 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
48693 Linux kernel version.
48694 (__ASSUME_STD_AUXV): Remove.
48695 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
48696 kernel version.
48697 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
48698 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
48699 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
48700 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
48701 (__ASSUME_NETLINK_SUPPORT): Likewise.
48702 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
48703 (__no_netlink_support): Remove conditional definition.
48704 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
48705 Remove.
48706 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
48707 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
48708 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
48709 (if_nameindex_ioctl): Remove.
48710 (if_nameindex_netlink): Do not handle __no_netlink_support.
48711 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
48712 code.
48713 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
48714 Remove conditional code.
48715 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
48716 code.
48717 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
48718 unconditional.
48719 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
48720 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
48721 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
48722 Remove.
48723 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
48724 [!__ASSUME_STD_AUXV]: Remove conditional code.
48725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
48726 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
48727 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
48728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
48729 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
48730 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
48731 code.
48732 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
48733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48734 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
48735 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
48736 conditional code.
48737 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
48738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
48739 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
48740 code.
48741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48742 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
48743 conditional code.
48744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
48745 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48746 code unconditional.
48747 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48748 conditional code.
48749 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48750 unconditional.
48751 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48752 conditional code.
48753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48754 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48755 unconditional.
48756 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48757 conditional code.
48758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
48759 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48760 code unconditional.
48761 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48762 conditional code.
48763 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48764 unconditional.
48765 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48766 conditional code.
48767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
48768 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48769 code unconditional.
48770 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48771 conditional code.
48772 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48773 unconditional.
48774 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48775 conditional code.
48776
48777 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
48778
48779 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
48780 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
48781 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
48782 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
48783 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
48784 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
48785 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
48786 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
48787 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
48788 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
48789 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
48790 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
48791 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
48792 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
48793 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
48794 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
48795 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
48796 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
48797 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
48798 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
48799 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
48800 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
48801 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48802
48803 2012-07-25 Florian Weimer <fweimer@redhat.com>
48804
48805 * Versions.def: Add GLIBC_2.17.
48806 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
48807 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
48808 Introduce __libc_secure_getenv.
48809 * stdlib/Versions (2.17): Add secure_getenv
48810 (GLIBC_PRIVATE): Add __libc_secure_getenv.
48811 * stdlib/secure-getenv.c: Rename __secure_getenv to
48812 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
48813 symbol __secure_getenv for GLIBC_2.0.
48814 * stdlib/tst-secure-getenv.c: New.
48815 * stdlib/Makefile (tests): Add testcase.
48816 * manual/startup.texi (Environment Access): Document
48817 secure_getenv.
48818 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
48819 __libc_secure_getenv.
48820 * inet/ruserpass.c (ruserpass): Likewise.
48821 * malloc/mtrace.c (mtrace): Likewise.
48822 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
48823 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
48824 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
48825 * sysdeps/posix/tempname.c: Likewise. Evaluate
48826 HAVE_SECURE_GETENV.
48827 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
48828 __secure_getenv to __libc_secure_getenv.
48829 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
48830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48831 Likewise.
48832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48833 Likewise.
48834 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
48835 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
48836 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
48837 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
48838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
48839 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
48840 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
48841
48842 2012-07-25 Joseph Myers <joseph@codesourcery.com>
48843
48844 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
48845 (struct La_i86_retval): Likewise.
48846 (struct La_x86_64_regs): Likewise.
48847 (struct La_x86_64_retval): Likewise.
48848 (struct La_x32_regs): Likewise.
48849 (struct La_x32_retval): Likewise.
48850 (struct La_ppc32_regs): Likewise.
48851 (struct La_ppc32_retval): Likewise.
48852 (struct La_ppc64_regs): Likewise.
48853 (struct La_ppc64_retval): Likewise.
48854 (struct La_sh_regs): Likewise.
48855 (struct La_sh_retval): Likewise.
48856 (struct La_s390_32_regs): Likewise.
48857 (struct La_s390_32_retval): Likewise.
48858 (struct La_s390_64_regs): Likewise.
48859 (struct La_s390_64_retval): Likewise.
48860 (struct La_sparc32_regs): Likewise.
48861 (struct La_sparc32_retval): Likewise.
48862 (struct La_sparc64_regs): Likewise.
48863 (struct La_sparc64_retval): Likewise.
48864 (struct audit_ifaces): Remove architecture-specific pltenter and
48865 pltexit members.
48866 * sysdeps/i386/ldsodefs.h: New file.
48867 * sysdeps/powerpc/ldsodefs.h: Likewise.
48868 * sysdeps/s390/ldsodefs.h: Likewise.
48869 * sysdeps/sh/ldsodefs.h: Likewise.
48870 * sysdeps/sparc/ldsodefs.h: Likewise.
48871 * sysdeps/x86_64/ldsodefs.h: Likewise.
48872
48873 2012-07-25 Marek Polacek <polacek@redhat.com>
48874
48875 [BZ #6808]
48876 * math/libm-test.inc (yn_test): Add another test.
48877 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
48878 to ERANGE when the result is +-Inf.
48879 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
48880 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
48881 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
48882 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
48883
48884 2012-07-24 Joseph Myers <joseph@codesourcery.com>
48885
48886 * conform/data/time.h-data (NULL): Use macro-constant. Require
48887 equal to 0.
48888 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
48889 clock_t.
48890 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
48891
48892 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
48893
48894 * configure.in <sysdeps resolving>: Correct printing
48895 Implies_before.
48896 * configure: Regenerate.
48897
48898 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
48899
48900 * math/w_ilogb.c: Include <limits.h>.
48901 * math/w_ilogbl.c: Likewise.
48902
48903 2012-07-20 Joseph Myers <joseph@codesourcery.com>
48904
48905 * manual/lang.texi (__va_copy): Document primarily as ISO C99
48906 va_copy. Document allowing for unavailable va_copy only as
48907 pre-C99 compatibility.
48908 * manual/string.texi (Copying and Concatenation): Use va_copy
48909 instead of __va_copy in concat example.
48910
48911 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
48912
48913 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
48914 (__sendto): Use create_address_port. Initialize APORT and deallocate
48915 it if not null.
48916
48917 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
48918 with O_NOLINK passed to __file_name_lookup.
48919
48920 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
48921 with O_NOLINK passed to __file_name_lookup.
48922
48923 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
48924 negative N or less than NGIDS.
48925
48926 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
48927 type to string_t. Set ERANGE as errno and return it if NAME is not big
48928 enough. Use memcpy instead of strncpy.
48929
48930 2012-07-20 Joseph Myers <joseph@codesourcery.com>
48931
48932 * elf/Makefile (check-data): Remove.
48933 (localplt.data): New vpath directive.
48934 ($(objpfx)check-localplt.out): Use localplt.data from vpath
48935 instead of $(check-data).
48936 * scripts/data/localplt-generic.data: Move to ...
48937 * sysdeps/generic/localplt.data: ... here.
48938 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
48939 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
48940 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
48941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
48942 ... here.
48943 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
48944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
48945 ... here.
48946 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
48947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
48948 ... here.
48949 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
48950 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48951 ... here.
48952 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
48953 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
48954 ... here.
48955 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
48956 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
48957 ... here.
48958
48959 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48960
48961 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
48962 PPC32 and PPC64 files.
48963 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
48964 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
48965
48966 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48967
48968 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
48969 __makecontext_ret to ...
48970 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
48971 ... here and call exit if uc_link is NULL. New file.
48972 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
48973 __makecontext_ret.S.
48974 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
48975 __makecontext_ret to ...
48976 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
48977 ... here and call exit if uc_link is NULL. New file.
48978 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
48979 __makecontext_ret.S.
48980
48981 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48982
48983 * elf/elf.h (R_390_IRELATIVE): New definition.
48984 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
48985 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
48986 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
48987 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
48988 (elf_machine_lazy_rel): Likewise.
48989 * sysdeps/s390/dl-irel.h: New file.
48990 * sysdeps/s390/s390-64/memcpy.S: New asm code.
48991 * sysdeps/s390/s390-64/memset.S: New asm code.
48992 * sysdeps/s390/s390-64/memcmp.S: New asm code.
48993 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
48994 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
48995 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
48996 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
48997 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
48998 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
48999 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
49000 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
49001 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
49002 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
49003 * sysdeps/s390/s390-32/memcpy.S: New asm code.
49004 * sysdeps/s390/s390-32/memset.S: New asm code.
49005 * sysdeps/s390/s390-32/memcmp.S: New asm code.
49006
49007 2012-07-17 Marek Polacek <polacek@redhat.com>
49008
49009 [BZ #14349]
49010 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
49011 * sysdeps/s390/s390-64/configure.in: Likewise.
49012 * sysdeps/sparc/configure.in: Likewise.
49013 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
49014 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
49015 * sysdeps/i386/configure.in: Likewise.
49016 * sysdeps/x86_64/configure.in: Likewise.
49017 * sysdeps/sh/configure.in: Likewise.
49018 * sysdeps/s390/s390-32/configure: Regenerated.
49019 * sysdeps/s390/s390-64/configure: Likewise.
49020 * sysdeps/x86_64/configure: Likewise.
49021 * sysdeps/sh/configure: Likewise.
49022 * sysdeps/powerpc/powerpc64/configure: Likewise.
49023 * sysdeps/powerpc/powerpc32/configure: Likewise.
49024 * sysdeps/sparc/configure: Likwise.
49025 * sysdeps/i386/configure: Likewise.
49026
49027 * elf/dl-open.c: Comment fixes.
49028
49029 2012-07-17 Joseph Myers <joseph@codesourcery.com>
49030
49031 * Makefile [CXX] (check-data): Remove.
49032 [CXX] (c++-types.data): New vpath directive.
49033 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
49034 vpath. Do not allow for C++ type data being missing.
49035 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
49036 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
49037 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
49038 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
49039 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
49040 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
49041 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
49042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
49043 ... here.
49044 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
49045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
49046 ... here.
49047 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
49048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
49049 ... here.
49050 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
49051 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
49052 ... here.
49053 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
49054 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
49055 ... here.
49056 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
49057 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
49058 ... here.
49059 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
49060 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
49061 ... here.
49062 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
49063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
49064
49065 * elf/tls-macros.h (TLS_LE): Move architecture-specific
49066 definitions to architecture-specific files.
49067 (TLS_IE): Likewise.
49068 (TLS_LD): Likewise.
49069 (TLS_GD): Likewise.
49070 * sysdeps/i386/tls-macros.h: New file.
49071 * sysdeps/powerpc/tls-macros.h: Likewise.
49072 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
49073 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
49074 * sysdeps/sh/tls-macros.h: Likewise.
49075 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
49076 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
49077 * sysdeps/x86_64/tls-macros.h: Likewise.
49078
49079 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
49080
49081 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
49082 zero value for regular exit case.
49083
49084 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
49085 (__start_context): Preserve zero value for regular exit case.
49086
49087 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
49088 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49089
49090 * manual/setjmp.texi (setcontext): Clarify normal process
49091 termination when uc_link is the null pointer.
49092 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
49093 exit call.
49094
49095 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
49096
49097 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
49098 preprocessor. Test for each exception mask separately.
49099
49100 2012-07-16 Andreas Jaeger <aj@suse.de>
49101
49102 * po/ru.po: Update from translation team.
49103
49104 2012-07-15 Joseph Myers <joseph@codesourcery.com>
49105
49106 * conform/data/string.h-data (NULL): Use macro-constant. Require
49107 equal to 0.
49108 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
49109 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
49110 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
49111 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
49112 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49113
49114 2012-07-13 Andreas Jaeger <aj@suse.de>
49115
49116 * po/fr.po: Update from translation team.
49117
49118 2012-07-12 Marek Polacek <polacek@redhat.com>
49119
49120 [BZ #14173]
49121 * math/libm-test.inc (yn_test): Add test for BZ #14173.
49122 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
49123 loop condition.
49124
49125 2012-07-12 Joseph Myers <joseph@codesourcery.com>
49126
49127 [BZ #13717]
49128 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
49129 Change to 2.4.1 where previously 2.4.0.
49130 * sysdeps/unix/sysv/linux/configure: Regenerated.
49131 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
49132 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
49133 version.
49134 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
49135 (__ASSUME_AT_CLKTCK): Remove.
49136 (__ASSUME_AT_PAGESIZE): Likewise.
49137 (__ASSUME_AT_XID): Likewise.
49138 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
49139 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
49140 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
49141 unconditionally.
49142 (HAVE_AUX_PAGESIZE): Likewise.
49143 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
49144 [__ASSUME_AT_CLKTCK]: Make code unconditional.
49145 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
49146
49147 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
49148
49149 [BZ #14307]
49150 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
49151 the temporary buffer used to invoke __gethostbyname2_r,
49152 __gethostbyaddr_r and gethostbyname4_r to make room for struct
49153 host_data / struct gaih_addrtuple.
49154 * resolv/nss_dns/dns-host.c (global scope): Move definition of
49155 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
49156 header file nss/nsswitch.h.
49157 * nss/nsswitch.h (global scope): Add definition of implementation
49158 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
49159 resolv/nss_dns/dns-host.c).
49160
49161 2012-07-11 Andreas Jaeger <aj@suse.de>
49162
49163 * po/fr.po: Update from translation team.
49164
49165 * po/sv.po: Update from translation team
49166 * po/fr.po: Another update from translation team.
49167
49168 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49169
49170 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
49171 for subnormals or multiply small sinh result by itself.
49172 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
49173 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49174
49175 2012-07-11 David S. Miller <davem@davemloft.net>
49176
49177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49178
49179 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
49180
49181 [BZ #14347]
49182 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
49183 (INTERNAL_MARK): Shift it here.
49184
49185 2012-07-10 Marek Polacek <polacek@redhat.com>
49186
49187 [BZ #14151]
49188 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
49189 libc_cv_asm_global_directive with .globl.
49190 * configure: Regenerated.
49191 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
49192 with .globl.
49193 * sysdeps/i386/configure: Regenerated.
49194 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
49195 with .globl.
49196 * sysdeps/x86_64/configure: Regenerated.
49197 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
49198 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
49199 * elf/tst-unique2mod2.c: Likewise.
49200 * elf/tst-unique2mod1.c: Likewise.
49201 * elf/tst-unique1mod2.c: Likewise.
49202 * elf/tst-unique1mod1.c: Likewise.
49203 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49204 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
49205 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49206 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49207 * sysdeps/mach/sysdep.h: Likewise.
49208 * sysdeps/i386/sysdep.h: Likewise.
49209 * sysdeps/i386/i386-mcount.S: Likewise.
49210 * sysdeps/x86_64/_mcount.S: Likewise.
49211 * sysdeps/x86_64/sysdep.h: Likewise.
49212 * sysdeps/sh/_mcount.S: Likewise.
49213 * sysdeps/sh/sysdep.h: Likewise.
49214 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
49215 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
49216 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
49217 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49218 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
49219 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
49220 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
49221 * locale/localeinfo.h: Likewise.
49222 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
49223 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
49224
49225 2012-07-09 Roland McGrath <roland@hack.frob.com>
49226
49227 [BZ #14336]
49228 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
49229 system".
49230 * manual/message.texi (The Uniforum approach): Likewise.
49231 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
49232 (glibc iconv Implementation): Likewise.
49233
49234 2012-07-09 Joseph Myers <joseph@codesourcery.com>
49235
49236 [BZ #14337]
49237 * math/s_clog.c (__clog): Avoid scaling a value down where that
49238 could result in underflow.
49239 * math/s_clog10.c (__clog10): Likewise.
49240 * math/s_clog10f.c (__clog10f): Likewise.
49241 * math/s_clog10l.c (__clog10l): Likewise.
49242 * math/s_clogf.c (__clogf): Likewise.
49243 * math/s_clogl.c (__clogl): Likewise.
49244 * math/libm-test.inc (clog_test): Add more tests.
49245 (clog10_test): Likewise.
49246 * sysdeps/i386/fpu/libm-test-ulps: Update.
49247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49248
49249 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
49250
49251 [BZ #14283]
49252 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
49253 by 7 not 8 to examine high bit of fractional part.
49254
49255 [BZ #14042]
49256 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
49257 for call to __mcount_internal.
49258 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
49259 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
49260 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
49261
49262 2012-07-06 Joseph Myers <joseph@codesourcery.com>
49263
49264 [BZ #14154]
49265 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
49266 approximation for values within 0x1p-13f of an odd multiple of
49267 pi/4.
49268 * math/libm-test.inc (tan_test): Do not allow spurious underflow
49269 exception. Add more tests.
49270 * sysdeps/i386/fpu/libm-test-ulps: Update.
49271
49272 [BZ #6778]
49273 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
49274 inputs and return -1 for them. Do not check for +Inf in case not
49275 reachable for +Inf.
49276 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
49277 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
49278 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
49279 and return -1 for them. Do not check for +Inf in case not
49280 reachable for +Inf.
49281 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
49282 define.
49283 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
49284 and return -1 for them. Do not check for +Inf in case not
49285 reachable for +Inf.
49286 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
49287 spurious underflow.
49288 * sysdeps/i386/fpu/libm-test-ulps: Update.
49289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49290
49291 2012-07-06 Mike Frysinger <vapier@gentoo.org>
49292
49293 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
49294
49295 2012-07-05 Joseph Myers <joseph@codesourcery.com>
49296
49297 [BZ #14157]
49298 [BZ #14331]
49299 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
49300 could result in spurious underflow. Scale down values above
49301 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
49302 * math/s_csqrtf.c (__csqrtf): Likewise.
49303 * math/s_csqrtl.c (__csqrtl): Likewise.
49304 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
49305 spurious underflow.
49306 * sysdeps/i386/fpu/libm-test-ulps: Update.
49307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49308
49309 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
49310
49311 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
49312 xopen-msg.sed.
49313 * catgets/xopen-msg.awk: New file.
49314 * catgets/xopen-msg.sed: Removed.
49315
49316 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
49317 po2text.sed.
49318 * intl/po2test.awk: New file.
49319 * intl/po2test.sed: Removed.
49320
49321 2012-07-04 Joseph Myers <joseph@codesourcery.com>
49322
49323 [BZ #14328]
49324 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
49325 or multiply small sinh result by itself.
49326 * math/s_ctanf.c (__ctanf): Likewise.
49327 * math/s_ctanh.c (__ctanh): Likewise.
49328 * math/s_ctanhf.c (__ctanhf): Likewise.
49329 * math/s_ctanhl.c (__ctanhl): Likewise.
49330 * math/s_ctanl.c (__ctanl): Likewise.
49331 * math/libm-test.inc (ctan_test_tonearest): New function.
49332 (ctan_test_towardzero): Likewise.
49333 (ctan_test_downward): Likewise.
49334 (ctan_test_upward): Likewise.
49335 (ctanh_test_tonearest): Likewise.
49336 (ctanh_test_towardzero): Likewise.
49337 (ctanh_test_downward): Likewise.
49338 (ctanh_test_upward): Likewise.
49339 (main): Call these new functions.
49340 * sysdeps/i386/fpu/libm-test-ulps: Update.
49341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49342
49343 2012-07-03 Mike Frysinger <vapier@gentoo.org>
49344
49345 * .gitignore: Delete /ports entry.
49346
49347 2012-07-03 Andreas Jaeger <aj@suse.de>
49348
49349 * po/bg.po: Update from translation team.
49350 * po/cs.po: Likewise.
49351 * po/de.po: Likewise.
49352 * po/hr.po: Likewise.
49353 * po/nl.pl: Likewise.
49354 * po/pl.po: Likewise.
49355 * po/vi.po: Likewise.
49356
49357 2012-07-03 Joseph Myers <joseph@codesourcery.com>
49358
49359 * Makeconfig [!+link] (+link-before-libc): New variable.
49360 [!+link] (+link-after-libc): Likewise.
49361 [!+link] (+link-tests): Likewise.
49362 [!+link] (+link): Define in terms of $(+link-before-libc) and
49363 $(+link-after-libc).
49364 [!+link-static] (+link-static-before-libc): New variable.
49365 [!+link-static] (+link-static-after-libc): Likewise.
49366 [!+link-static] (+link-static-tests): Likewise.
49367 [!+link-static] (+link-static): Define in terms of
49368 $(+link-static-before-libc) and $(+link-static-after-libc).
49369 [build-shared] (link-libc-before-gnulib): New variable.
49370 [build-shared] (link-libc-tests): Likewise.
49371 [build-shared] (link-libc): Define in terms of
49372 $(link-libc-before-gnulib).
49373 [!build-shared] (link-libc-tests): New variable.
49374 (link-libc-static-tests): New variable.
49375 [!gnulib] (gnulib-arch): New variable.
49376 [!gnulib] (gnulib-tests): Likewise.
49377 [!gnulib] (static-gnulib-arch): Likewise.
49378 [!gnulib] (static-gnulib-tests): Likewise.
49379 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
49380 Define with "=" instead of ":=".
49381 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
49382 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
49383 * Rules (binaries-all-notests): New variable.
49384 (binaries-all-tests): Likewise.
49385 (binaries-static-notests): Likewise.
49386 (binaries-static-tests): Likewise.
49387 (binaries-all): Define using $(binaries-all-notests) and
49388 $(binaries-all-tests).
49389 (binaries-static): Define using $(binaries-static-notests) and
49390 $(binaries-static-tests).
49391 (binaries-shared-tests): New variable.
49392 (binaries-shared-notests): Likewise.
49393 (binaries-shared): Remove variable.
49394 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
49395 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
49396 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
49397 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
49398 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
49399 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
49400 * elf/Makefile (sln-modules): New variable.
49401 (extra-objs): Add $(sln-modules:=.o).
49402 (ldconfig-modules): Add static-stubs.
49403 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
49404 * elf/static-stubs.c: New file.
49405
49406 [BZ #14283]
49407 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
49408 by 7 not 8 to examine high bit of fractional part. Use volatile
49409 variables when splitting into final array of floats if
49410 __FLT_EVAL_METHOD__ != 0.
49411 * math/libm-test.inc (cos_test): Add another test.
49412 (sin_test): Likewise.
49413 * sysdeps/i386/fpu/libm-test-ulps: Update.
49414
49415 [BZ #14273]
49416 * math/libm-test.inc (cosh_test): Add more tests.
49417
49418 * version.h (RELEASE): Set to "development".
49419 (VERSION): Set to "2.16.90".
49420
49421 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
49422
49423 * NEWS: Update copyright. Remove last-updated date.
49424 Mention math library bug fixes and timezone data changes.
49425 * README: Mention GNU/Hurd, x32, and HPPA support status.
49426
49427 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
49428
49429 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
49430
49431 2012-06-27 Andreas Jaeger <aj@suse.de>
49432
49433 * manual/contrib.texi (Contributors): Add Samuel Thibault.
49434
49435 2012-06-25 Andreas Jaeger <aj@suse.de>
49436
49437 * sysdeps/s390/fpu/libm-test-ulps: Update.
49438
49439 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
49440 Thomas Schwinge <thomas@codesourcery.com>
49441
49442 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
49443 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
49444 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
49445 fanotify_mark.
49446
49447 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
49448
49449 * sysdeps/mach/start.c: Remove file.
49450 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
49451 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
49452 * sysdeps/sh/init-first.c: Likewise.
49453
49454 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
49455 registers for frame unwinding purposes, add CFI directives.
49456 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
49457 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
49458 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
49459 Likewise.
49460
49461 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
49462 __fortify_fail returning.
49463 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
49464
49465 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
49466 sysdeps/sh/____longjmp_chk.S.
49467 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
49468 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
49469 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
49470 (gen-as-const-headers): Append sigaltstack-offsets.sym.
49471
49472 * sysdeps/sh/abort-instr.h: New file.
49473 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
49474 process in case exit returns.
49475
49476 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
49477 initialize the GOT register before use.
49478
49479 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
49480 calculation of ARGC > 4.
49481
49482 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
49483 meaningful names to some local labels.
49484
49485 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49486 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49487
49488 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
49489 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
49490 (__arch_compare_and_exchange_val_16_acq): Likewise.
49491 (__arch_compare_and_exchange_val_32_acq): Likewise.
49492 (atomic_exchange_and_add): Fix gUSA sequence.
49493 (atomic_add): Likewise.
49494 (atomic_add_negative): Likewise.
49495 (atomic_add_zero): Likewise.
49496 (atomic_bit_test_set): Likewise.
49497
49498 2012-06-22 Andreas Schwab <schwab@redhat.com>
49499
49500 [BZ #13579]
49501 * include/link.h (struct link_map): Add l_free_initfini.
49502 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
49503 l_initfini.
49504 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
49505 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
49506 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
49507 set.
49508
49509 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
49510
49511 * configure.in: Use AC_LANG_SOURCE.
49512 * configure: Regenerate.
49513
49514 2012-06-22 Roland McGrath <roland@hack.frob.com>
49515
49516 * configure.in (libc_cv_localstatedir): New substituted variable.
49517 * configure: Regenerated.
49518 * config.make.in (localstatedir): New variable, substituted from
49519 libc_cv_localstatedir.
49520 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
49521 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
49522 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
49523 * sysdeps/gnu/configure: Regenerated.
49524
49525 2012-06-21 Jeff Law <law@redhat.com>
49526
49527 [BZ #14277]
49528 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
49529 free. Simplify list management for _LIBC case.
49530
49531 2012-06-21 Joseph Myers <joseph@codesourcery.com>
49532
49533 [BZ #14273]
49534 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
49535 Clear sign bit of 64-bit integer value before comparing against
49536 overflow value.
49537
49538 * sysdeps/mach/configure: Regenerated.
49539
49540 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
49541
49542 [BZ #14278]
49543 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
49544
49545 2012-06-21 Jeff Law <law@redhat.com>
49546
49547 [BZ #13882]
49548 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
49549 uint16_t for elements in the "seen" array to avoid char overflows.
49550 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49551 * elf/dl-open.c (dl_open_worker): Likewise.
49552
49553 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
49554
49555 * scripts/list-sources.sh: Scan PORTS for translations.
49556 * po/libc.pot: Regenerated.
49557
49558 2012-06-21 Andreas Jaeger <aj@suse.de>
49559
49560 [BZ #12194]
49561 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
49562 warning.
49563 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
49564 * bits/byteswap-16.h (__bswap_16): Likewise.
49565 * bits/byteswap.h (__bswap_constant_16): Likewise.
49566
49567 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
49568
49569 [BZ #14117]
49570 * sysdeps/i386/fpu_control.h: Removed.
49571 * sysdeps/x86_64/fpu_control.h: Moved to ...
49572 * sysdeps/x86/fpu_control.h: Here.
49573
49574 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
49575 (_FPU_SETCW): Likewise.
49576
49577 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
49578
49579 [BZ #14117]
49580 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
49581 * sysdeps/x86/fpu/bits/mathinline.h: This.
49582 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
49583
49584 [BZ #14050]
49585 [BZ #14117]
49586 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
49587 functions if __x86_64__ is defined.
49588
49589 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
49590
49591 * string/endian.h: Add !__ASSEMBLER__ condition for including
49592 conversion interfaces.
49593
49594 2012-06-15 Joseph Myers <joseph@codesourcery.com>
49595
49596 [BZ #14241]
49597 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
49598 of ABS(x) in calculating zero to negative powers other than odd
49599 integers.
49600 * math/libm-test.inc (pow_test): Add more tests.
49601
49602 2012-06-15 Andreas Jaeger <aj@suse.de>
49603
49604 * manual/contrib.texi (Contributors): Update entry of Liubov
49605 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
49606 Machado Filho.
49607
49608 2012-06-15 Cyril Hrubis <metan@ucw.cz>
49609
49610 * string/string.h: Add __wur to GNU version of strerror_r.
49611
49612 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
49613
49614 [BZ #14229]
49615 * string/Makefile (tests): Add tst-strtok_r.
49616 * string/tst-strtok_r.c: New file.
49617 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
49618 RAX_LP/RDX_LP on SAVE_PTR.
49619
49620 2012-06-14 Roland McGrath <roland@hack.frob.com>
49621
49622 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
49623
49624 2012-06-14 Joseph Myers <joseph@codesourcery.com>
49625
49626 * libm_test.inc (csqrt_test): Allow more spurious underflow
49627 exceptions.
49628 (j0_test): Likewise.
49629 (j1_test): Likewise.
49630 (y0_test): Likewise.
49631 (y1_test): Likewise.
49632
49633 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
49634
49635 * po/Makefile (libc.pot): Use UTF-8 charset.
49636
49637 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
49638
49639 [BZ #14210]
49640 Suppress sign-conversion warning from FD_SET.
49641 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
49642 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
49643 not unsigned long int.
49644 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
49645
49646 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
49647
49648 [BZ #14050]
49649 [BZ #14117]
49650 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
49651 __extern_always_inline instead of __extern_inline.
49652 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
49653 (__signbit): Likewise.
49654 (__signbitl): Support C++ namespace.
49655 (lrintf): New inline function.
49656 (lrint): Likewise.
49657 (llrintf): Likewise.
49658 (llrint): Likewise.
49659 (fmaxf): Likewise.
49660 (fmax): Likewise.
49661 (fminf): Likewise.
49662 (fmin): Likewise.
49663 (rint): Likewise.
49664 (rintf): Likewise.
49665 (ceil): Likewise.
49666 (ceilf): Likewise.
49667 (floor): Likewise.
49668 (floorf): Likewise.
49669 (nearbyint): Likewise.
49670 (nearbyintf): Likewise.
49671
49672 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
49673
49674 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
49675 non-default versions.
49676
49677 2012-06-11 Roland McGrath <roland@hack.frob.com>
49678
49679 [BZ #14218]
49680 * manual/argp.texi (Argp): Reword argp_parse description slightly.
49681
49682 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
49683
49684 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
49685 (FE_UPWARD, FE_DOWNWARD): Don't define.
49686 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
49687 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
49688
49689 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
49690 reading it.
49691 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
49692 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49693
49694 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49695
49696 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49697 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
49698 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
49699 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
49700
49701 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
49702
49703 [BZ #14117]
49704 * sysdeps/i386/fpu/bits/fenv.h: Removed.
49705 * sysdeps/i386/fpu/Implies: New file.
49706 * sysdeps/x86_64/fpu/Implies: Likewise.
49707 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
49708 * sysdeps/x86/fpu/bits/fenv.h: This.
49709
49710 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
49711 __SSE_MATH__.
49712
49713 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
49714
49715 [BZ #14134]
49716 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
49717 character 0xffff that matches the last element of the
49718 conversion table.
49719
49720 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49721
49722 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
49723 fmodl commit.
49724
49725 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49726
49727 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
49728 values higher than 25.6283.
49729
49730 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49731
49732 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
49733 subnormal exponent extraction and add some __builtin_expect.
49734 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
49735 Fix for subnormal mantissa calculation.
49736
49737 2012-06-04 Mike Frysinger <vapier@gentoo.org>
49738
49739 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
49740 cpu2 is -1 and errno is not ENOSYS.
49741
49742 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
49743
49744 [BZ #14117]
49745 * sysdeps/i386/i486/bits/string.h: Renamed to ...
49746 * sysdeps/x86/bits/string.h: This.
49747 * sysdeps/x86_64/bits/string.h: Removed.
49748
49749 * sysdeps/i386/i486/bits/string.h: Define inline functions only
49750 if not compiling for x86-64, but compiling for >= i486.
49751
49752 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
49753 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
49754
49755 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
49756 New macro from Linux kernel 3.4.0.
49757 (FP_XSTATE_MAGIC2): Likewise.
49758 (FP_XSTATE_MAGIC2_SIZE): Likewise.
49759 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
49760 (struct _fpx_sw_bytes): New struct.
49761 (struct _xsave_hdr): Likewise.
49762 (struct _ymmh_state): Likewise.
49763 (struct _xstate): Likewise.
49764
49765 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
49766 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
49767 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
49768 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
49769 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
49770 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
49771
49772 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
49773 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
49774 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
49775 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
49776 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
49777 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
49778
49779 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49780
49781 [BZ #13743]
49782 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
49783 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
49784 (sysdep_headers): Include sys/platform/ppc.h.
49785 * sysdeps/powerpc/test-gettimebase.c: Test for
49786 __ppc_get_timebase() to catch future ISA opcode/insn changes.
49787 * manual/Makefile (appendices): Include platform.texi.
49788 * manual/contrib.texi (Contributors): Update @node pointers.
49789 * manual/maint.texi (Maintenance): Likewise.
49790 (Platform): New node.
49791 * manual/platform.texi: New file. Document the new features.
49792
49793 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
49794 Jakub Jelinek <jakub@redhat.com>
49795
49796 [BZ #14188]
49797 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
49798 where __builtin_expect is unavailable.
49799
49800 2012-06-03 David S. Miller <davem@davemloft.net>
49801
49802 * stdlib/longlong.h: Updated from GCC.
49803
49804 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
49805
49806 [BZ #14042]
49807 * sysdeps/powerpc/powerpc32/mcount.c: New file.
49808 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
49809 __mcount_internal.
49810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
49811 (GLIBC_2.16): Likewise.
49812
49813 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49814
49815 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
49816
49817 2012-06-01 Joseph Myers <joseph@codesourcery.com>
49818
49819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
49820 (default-abi): New variable.
49821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
49822 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
49823 variable.
49824 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
49825 Likewise.
49826 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
49827 Likewise.
49828 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
49829 Likewise.
49830
49831 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
49832 definition. Document in comment.
49833
49834 2012-06-01 David S. Miller <davem@davemloft.net>
49835
49836 * stdlib/longlong.h: Updated from GCC.
49837
49838 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49839
49840 [BZ #14117]
49841 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
49842 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
49843 sys/debugreg.h sys/io.h here.
49844 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
49845 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
49846 sys/io.h.
49847 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
49848 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
49849 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
49850 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
49851 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
49852 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
49853
49854 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
49855 Define only if __x86_64__ is defined.
49856
49857 2012-06-01 Joseph Myers <joseph@codesourcery.com>
49858
49859 [BZ #14048]
49860 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
49861 Use int64_t for variable i.
49862 * math/libm-test.inc (fmod_test): Add more tests.
49863
49864 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
49865 z computation is not scheduled after fetestexcept.
49866 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
49867 Use math_force_eval instead of asm to ensure calculation scheduled
49868 before exception test.
49869 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
49870 Ensure a1 + u.d computation is not scheduled after fetestexcept.
49871
49872 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
49873
49874 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
49875 computation is not scheduled after fetestexcept.
49876
49877 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49878
49879 [BZ #14117]
49880 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
49881 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
49882
49883 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49884
49885 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
49886 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
49887
49888 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
49889
49890 [BZ #14117]
49891 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
49892 <bits/wordsize.h>.
49893 (__WCHAR_MIN): Support __WORDSIZE == 64.
49894 (__WCHAR_MAX): Likewise.
49895
49896 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
49897 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
49898
49899 [BZ #14183]
49900 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
49901 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
49902
49903 [BZ #14117]
49904 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
49905 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
49906
49907 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
49908 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
49909
49910 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
49911 Defined to 1 if __x86_64__ isn't defined.
49912 (_STAT_VER_LINUX_OLD): New.
49913 (st_atime): Remove duplicate.
49914 (st_mtime): Likewise.
49915 (st_ctime): Likewise.
49916
49917 2012-05-31 David S. Miller <davem@davemloft.net>
49918
49919 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
49920 entries.
49921
49922 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
49923
49924 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
49925 gen-libm-test.pl.
49926
49927 [BZ #14132]
49928 * elf/dl-reloc.c: Include <_itoa.h>.
49929 (_dl_reloc_bad_type): Remove use of INTUSE.
49930 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
49931 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
49932 * stdio-common/psiginfo.c (psiginfo): Likewise.
49933 * stdio-common/psignal.c (psignal): Likewise.
49934 * string/strsignal.c (strsignal): Likewise.
49935 * include/signal.h (_sys_siglist): Declare hidden proto.
49936 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
49937 INTVARDEF with libc_hidden_data_def.
49938 * stdio-common/itoa-udigits.c: Likewise.
49939 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
49940 (_itoa_lower_digits_internal): Remove declaration.
49941 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
49942 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
49943 (_sys_sigabbrev_internal): Remove aliases.
49944 (_sys_siglist): Define hidden alias.
49945
49946 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
49947
49948 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49949 bits/sysctl.h.
49950
49951 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
49952
49953 [BZ #14117]
49954 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
49955 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
49956
49957 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
49958 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
49959 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
49960 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
49961 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
49962 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
49963
49964 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
49965 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
49966 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
49967
49968 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
49969 with __addr.
49970 (insw): Likewise.
49971 (insl): Likewise.
49972 (outsb): Likewise.
49973 (outsw): Likewise.
49974 (outsl): Likewise.
49975
49976 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
49977 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
49978 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
49979
49980 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
49981 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
49982 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
49983 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
49984 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
49985 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
49986
49987 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
49988 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
49989
49990 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
49991 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
49992
49993 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
49994 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
49995 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
49996
49997 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
49998 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
49999 to ...
50000 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
50001
50002 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
50003 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
50004 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
50005
50006 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
50007 for x86-64.
50008 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
50009
50010 2012-05-31 Joseph Myers <joseph@codesourcery.com>
50011
50012 * math/math.h (M_El): Use two more decimal places.
50013 (M_LOG2El): Likewise.
50014 (M_LOG10El): Likewise.
50015 (M_LN2l): Likewise.
50016 (M_LN10l): Likewise.
50017 (M_PIl): Likewise.
50018 (M_PI_2l): Likewise.
50019 (M_PI_4l): Likewise.
50020 (M_1_PIl): Likewise.
50021 (M_2_PIl): Likewise.
50022 (M_2_SQRTPIl): Likewise.
50023 (M_SQRT2l): Likewise.
50024 (M_SQRT1_2l): Likewise.
50025
50026 2012-05-31 David S. Miller <davem@davemloft.net>
50027
50028 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
50029 values between float registers.
50030 * sysdeps/sparc/sparc64/memset.S: Likewise.
50031 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50032
50033 2012-05-31 Mike Frysinger <vapier@gentoo.org>
50034
50035 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
50036 -D_FORTIFY_SOURCE=1.
50037 (CPPFLAGS-tst-longjmp_chk.c): Define.
50038 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
50039 (CPPFLAGS-tst-longjmp_chk2.c): Define.
50040 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
50041 CFLAGS-tst-wchar-h.c.
50042
50043 2012-05-31 Marek Polacek <polacek@redhat.com>
50044
50045 [BZ #14132]
50046 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
50047 __endmntent_internal): Remove declaration.
50048 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
50049 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
50050 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
50051
50052 2012-05-30 David S. Miller <davem@davemloft.net>
50053
50054 * sysdeps/sparc/sparc32/soft-fp/q_util.c
50055 (___Q_simulate_exceptions): Use real FP ops rather than writing
50056 into the %fsr.
50057 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
50058 Likewise.
50059
50060 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50061
50062 [BZ #14117]
50063 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
50064 * sysdeps/x86/bits/xtitypes.h: This.
50065
50066 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
50067 * sysdeps/x86/bits/wordsize.h: This.
50068
50069 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
50070 * sysdeps/x86/bits/huge_vall.h: This.
50071
50072 * sysdeps/i386/bits/select.h: Removed.
50073 * sysdeps/x86_64/bits/select.h: Renamed to ...
50074 * sysdeps/x86/bits/select.h: This.
50075
50076 * sysdeps/i386/bits/setjmp.h: Removed.
50077 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
50078 * sysdeps/x86/bits/setjmp.h: This.
50079
50080 * sysdeps/i386/bits/mathdef.h: Removed.
50081 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
50082 * sysdeps/x86/bits/mathdef.h: This.
50083
50084 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
50085
50086 [BZ #14132]
50087 * include/sys/socket.h (__connect_internal)
50088 (__libc_sa_len_internal): Remove declaration.
50089 (__connect, __libc_sa_len): Declare hidden_proto.
50090 (SA_LEN): Remove use of INTUSE.
50091 * socket/connect.c: Add libc_hidden_def.
50092 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
50093 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
50094 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
50095 alias.
50096 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
50097 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
50098 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
50099 of adding _internal alias.
50100
50101 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50102
50103 [BZ #14117]
50104 * sysdeps/i386/bits/link.h: Removed.
50105 * sysdeps/i386/bits/linkmap.h: Likewise.
50106 * sysdeps/x86_64/bits/link.h: Renamed to ...
50107 * sysdeps/x86/bits/link.h: This.
50108 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
50109 * sysdeps/x86/bits/linkmap.h: This.
50110
50111 * sysdeps/i386/bits/endian.h: Removed.
50112 * sysdeps/x86_64/bits/endian.h: Renamed to ...
50113 * sysdeps/x86/bits/endian.h: This.
50114
50115 * sysdeps/i386/bits/byteswap.h: Removed.
50116 * sysdeps/i386/bits/byteswap-16.h: Likewise.
50117 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
50118 * sysdeps/x86/bits/byteswap.h: This.
50119 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
50120 * sysdeps/x86/bits/byteswap-16.h: This.
50121 * sysdeps/i386/Implies: Add x86.
50122 * sysdeps/x86_64/Implies: Likewise.
50123
50124 2012-05-30 David S. Miller <davem@davemloft.net>
50125
50126 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
50127 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
50128 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
50129 (FP_TRAPPING_EXCEPTIONS): Define.
50130 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
50131 (FP_TRAPPING_EXCEPTIONS): Define.
50132 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
50133 subnormals only when inexact has been signalled or underflow
50134 exceptions are enabled.
50135 (_FP_PACK_CANONICAL): Likewise.
50136
50137 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50138
50139 [BZ #14183]
50140 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
50141 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
50142
50143 2012-05-30 Richard Henderson <rth@twiddle.net>
50144
50145 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
50146 with #ifndef NOT_IN_libc.
50147
50148 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
50149 marked to avoid plt entry.
50150
50151 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50152
50153 [BZ #14112]
50154 * Makeconfig (default-abi): New macro.
50155 (abi-includes): Likewise.
50156 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
50157 $(abi-$(default-abi)-lib-soname) for soname if defined.
50158 ($(common-objpfx)gnu/lib-names.stmp): Generate from
50159 abi-variants.
50160 * Makefile (installed-stubs): Likewise.
50161 * include/stubs-biarch.h: Removed.
50162 * scripts/lib-names.awk: Only handle one library at a time.
50163 * scripts/soversions.awk: Remove WORDSIZE support.
50164 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
50165 entries.
50166 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
50167 Removed.
50168 (syscall-list-default-condition): Likewise.
50169 (syscall-list-default-condition): Likewise.
50170 (syscall-list-includes): Likewise.
50171 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
50172 syscall-list-* with abi-*. Handle undefined abi-variants.
50173 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
50174 * sysdeps/unix/sysv/linux/i386/Implies: New file.
50175 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
50176 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
50177 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
50178 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
50179 Removed.
50180 (syscall-list-32-options): Likewise.
50181 (syscall-list-32-condition): Likewise.
50182 (syscall-list-64-options): Likewise.
50183 (syscall-list-64-condition): Likewise.
50184 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
50185 macro.
50186 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
50187 Renamed to ...
50188 (abi-*): This.
50189 (abi-64-ld-soname): New macro.
50190 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
50191 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
50192 Renamed to ...
50193 (abi-*): This.
50194 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
50195 * sysdeps/x86_64/x32/shlib-versions: Likewise.
50196
50197 2012-05-30 Joseph Myers <joseph@codesourcery.com>
50198
50199 * sysdeps/unix/sysv/linux/kernel-features.h
50200 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
50201 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
50202 include <kernel-features.h>.
50203 [!__NR_ftruncate64]: Remove conditional code.
50204 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50205 [__NR_ftruncate64]: Make code unconditional.
50206 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50207 * sysdeps/unix/sysv/linux/truncate64.c: Do not
50208 include <kernel-features.h>.
50209 [!__NR_ftruncate64]: Remove conditional code.
50210 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50211 [__NR_ftruncate64]: Make code unconditional.
50212 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
50214 include <kernel-features.h>.
50215 [!__NR_ftruncate64]: Remove conditional code.
50216 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50217 [__NR_ftruncate64]: Make code unconditional.
50218 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
50220 include <kernel-features.h>.
50221 [!__NR_ftruncate64]: Remove conditional code.
50222 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50223 [__NR_ftruncate64]: Make code unconditional.
50224 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50225
50226 * configure.in (libc_cv_fpie): Weaken to a compile test using
50227 LIBC_TRY_CC_OPTION.
50228 * configure: Regenerated.
50229
50230 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50231
50232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
50233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
50234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
50235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50236 Refreshed.
50237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
50238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
50239 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
50240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
50241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
50242 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50243 Refreshed.
50244
50245 2012-05-27 David S. Miller <davem@davemloft.net>
50246
50247 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
50248 (___Q_zero): New.
50249 (__Q_simulate_exceptions): Return void. Change to simulate
50250 exceptions by writing into the %fsr.
50251 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
50252 (__Qp_handle_exceptions): Likewise.
50253 (numbers): Delete.
50254 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
50255 __Qp_handle_exceptions.
50256 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
50257 __Qp_handle_exceptions.
50258 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
50259 as unused and give dummy FP_RND_NEAREST initializer.
50260 (FP_INHIBIT_RESULTS): Define.
50261 (___Q_simulate_exceptions): Update declaration.
50262 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
50263 formatting.
50264 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
50265 as unused and give dummy FP_RND_NEAREST initializer.
50266 (__Qp_handle_exceptions): Update declaration.
50267 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
50268 formatting.
50269
50270 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
50271
50272 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
50273 the temporary FPU control word.
50274 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
50275 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
50276 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
50277 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
50278 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
50279 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
50280 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
50281 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
50282 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
50283 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
50284 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50285
50286 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50287
50288 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
50289 fields.
50290
50291 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
50292
50293 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
50294 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
50295 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
50296 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
50297 Likewise.
50298 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
50299 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
50300 Likewise.
50301
50302 2012-05-27 Ulrich Drepper <drepper@gmail.com>
50303
50304 * po/h.po: Update from translation team.
50305
50306 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
50307
50308 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
50309
50310 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
50311 handling of denormals.
50312 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50313 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
50314 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50315 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50316 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50317 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
50318 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
50319 Likewise.
50320
50321 2012-05-26 Marek Polacek <polacek@redhat.com>
50322
50323 [BZ #14152]
50324 * math/libm-test.inc (fma_test): Don't always expect underflow
50325 exception.
50326
50327 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
50328
50329 [BZ #12416]
50330 * elf/tst-execstack.c: Include stackinfo.h.
50331 (do_test): Adjust test case to ensure that pthread_getattr_np
50332 behaviour remains the same after marking stack executable.
50333
50334 2012-05-25 Joseph Myers <joseph@codesourcery.com>
50335
50336 * sysdeps/unix/sysv/linux/kernel-features.h
50337 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
50338 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
50339 kernel-features.h.
50340 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
50341 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
50342 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
50343 kernel-features.h.
50344 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
50345 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
50346
50347 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
50348
50349 * configure.in: Define the default includes to being none.
50350 * configure: Regenerated.
50351
50352 2012-05-25 Roland McGrath <roland@hack.frob.com>
50353
50354 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
50355 * sysdeps/x86_64/setjmp.S: Likewise.
50356 * sysdeps/i386/bsd-setjmp.S: Likewise.
50357 * sysdeps/i386/bsd-_setjmp.S: Likewise.
50358 * sysdeps/i386/setjmp.S: Likewise.
50359 * sysdeps/i386/__longjmp.S: Likewise.
50360 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
50361 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
50362
50363 * include/stap-probe.h: New file.
50364 * configure.in: Handle --enable-systemtap.
50365 * configure: Regenerated.
50366 * config.h.in (USE_STAP_PROBE): New #undef.
50367 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
50368 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
50369 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
50370
50371 2012-05-25 Joseph Myers <joseph@codesourcery.com>
50372
50373 [BZ #13717]
50374 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
50375 to 2.4.0 where earlier.
50376 * sysdeps/unix/sysv/linux/configure: Regenerated.
50377 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
50378 <kernel-features.h>.
50379 [__ASSUME_32BITUIDS]: Make code unconditional.
50380 [!__ASSUME_32BITUIDS]: Remove conditional code.
50381 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
50382 <kernel-features.h>.
50383 [__ASSUME_32BITUIDS]: Make code unconditional.
50384 [!__ASSUME_32BITUIDS]: Remove conditional code.
50385 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
50386 [__ASSUME_32BITUIDS]: Make code unconditional.
50387 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
50388 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
50389 <kernel-features.h>.
50390 [__ASSUME_32BITUIDS]: Make code unconditional.
50391 [!__ASSUME_32BITUIDS]: Remove conditional code.
50392 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
50393 <kernel-features.h>.
50394 [__ASSUME_32BITUIDS]: Make code unconditional.
50395 [!__ASSUME_32BITUIDS]: Remove conditional code.
50396 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
50397 <kernel-features.h>.
50398 [__ASSUME_32BITUIDS]: Make code unconditional.
50399 [!__ASSUME_32BITUIDS]: Remove conditional code.
50400 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
50401 <kernel-features.h>.
50402 [__ASSUME_32BITUIDS]: Make code unconditional.
50403 [!__ASSUME_32BITUIDS]: Remove conditional code.
50404 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
50405 <kernel-features.h>.
50406 [__ASSUME_32BITUIDS]: Make code unconditional.
50407 [!__ASSUME_32BITUIDS]: Remove conditional code.
50408 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
50409 <kernel-features.h>.
50410 [__ASSUME_32BITUIDS]: Make code unconditional.
50411 [!__ASSUME_32BITUIDS]: Remove conditional code.
50412 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
50413 <kernel-features.h>.
50414 [__ASSUME_32BITUIDS]: Make code unconditional.
50415 [!__ASSUME_32BITUIDS]: Remove conditional code.
50416 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
50417 <kernel-features.h>.
50418 [__ASSUME_32BITUIDS]: Make code unconditional.
50419 [!__ASSUME_32BITUIDS]: Remove conditional code.
50420 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
50421 <kernel-features.h>.
50422 [__ASSUME_32BITUIDS]: Make code unconditional.
50423 [!__ASSUME_32BITUIDS]: Remove conditional code.
50424 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
50425 <kernel-features.h>.
50426 [__ASSUME_32BITUIDS]: Make code unconditional.
50427 [!__ASSUME_32BITUIDS]: Remove conditional code.
50428 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
50429 <kernel-features.h>.
50430 [__NR_setresgid] (__setresgid): Do not declare.
50431 [__ASSUME_32BITUIDS]: Make code unconditional.
50432 [!__ASSUME_32BITUIDS]: Remove conditional code.
50433 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
50434 <kernel-features.h>.
50435 [__NR_setresuid] (__setresuid): Do not declare.
50436 [__ASSUME_32BITUIDS]: Make code unconditional.
50437 [!__ASSUME_32BITUIDS]: Remove conditional code.
50438 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
50439 <kernel-features.h>.
50440 [__ASSUME_32BITUIDS]: Make code unconditional.
50441 [!__ASSUME_32BITUIDS]: Remove conditional code.
50442 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
50443 <kernel-features.h>.
50444 [__ASSUME_32BITUIDS]: Make code unconditional.
50445 [!__ASSUME_32BITUIDS]: Remove conditional code.
50446 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
50447 <kernel-features.h>.
50448 [__ASSUME_32BITUIDS]: Make code unconditional.
50449 [!__ASSUME_32BITUIDS]: Remove conditional code.
50450 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
50451 <kernel-features.h>.
50452 [__ASSUME_32BITUIDS]: Make code unconditional.
50453 [!__ASSUME_32BITUIDS]: Remove conditional code.
50454 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
50455 <kernel-features.h>.
50456 [__ASSUME_32BITUIDS]: Make code unconditional.
50457 [!__ASSUME_32BITUIDS]: Remove conditional code.
50458 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
50459 <kernel-features.h>.
50460 [__ASSUME_32BITUIDS]: Make code unconditional.
50461 [!__ASSUME_32BITUIDS]: Remove conditional code.
50462 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
50463 <kernel-features.h>.
50464 [__ASSUME_32BITUIDS]: Make code unconditional.
50465 [!__ASSUME_32BITUIDS]: Remove conditional code.
50466 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
50467 <kernel-features.h>.
50468 [__ASSUME_32BITUIDS]: Make code unconditional.
50469 [!__ASSUME_32BITUIDS]: Remove conditional code.
50470 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
50471 <kernel-features.h>.
50472 [__ASSUME_32BITUIDS]: Make code unconditional.
50473 [!__ASSUME_32BITUIDS]: Remove conditional code.
50474 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
50475 <kernel-features.h>.
50476 [__ASSUME_32BITUIDS]: Make code unconditional.
50477 [!__ASSUME_32BITUIDS]: Remove conditional code.
50478 * sysdeps/unix/sysv/linux/kernel-features.h
50479 (__ASSUME_SETRESUID_SYSCALL): Remove.
50480 (__ASSUME_SETRESGID_SYSCALL): Likewise.
50481 (__ASSUME_32BITUIDS): Likewise.
50482 (__ASSUME_LDT_WORKS): Likewise.
50483 (__ASSUME_O_DIRECTORY): Likewise.
50484 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
50485 architecture but not kernel version.
50486 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
50487 (__ASSUME_MMAP2_SYSCALL): Likewise.
50488 (__ASSUME_STAT64_SYSCALL): Likewise.
50489 (__ASSUME_IPC64): Likewise.
50490 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
50491 <kernel-features.h>.
50492 [__ASSUME_32BITUIDS]: Make code unconditional.
50493 [!__ASSUME_32BITUIDS]: Remove conditional code.
50494 * sysdeps/unix/sysv/linux/opendir.c: Do not include
50495 <kernel-features.h>.
50496 [__ASSUME_O_DIRECTORY]: Make code unconditional.
50497 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
50498 132096]: Remove conditional code.
50499 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
50500 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
50501 <kernel-features.h>.
50502 [__ASSUME_32BITUIDS]: Make code unconditional.
50503 [!__ASSUME_32BITUIDS]: Remove conditional code.
50504 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
50505 <kernel-features.h>.
50506 [__ASSUME_32BITUIDS]: Make code unconditional.
50507 [!__ASSUME_32BITUIDS]: Remove conditional code.
50508 * sysdeps/unix/sysv/linux/setegid.c: Do not include
50509 <kernel-features.h>.
50510 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
50511 unconditional.
50512 (__setresgid): Do not declare.
50513 [__ASSUME_32BITUIDS]: Make code unconditional.
50514 [!__ASSUME_32BITUIDS]: Remove conditional code.
50515 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
50516 <kernel-features.h>.
50517 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
50518 unconditional.
50519 (__setresuid): Do not declare.
50520 [__ASSUME_32BITUIDS]: Make code unconditional.
50521 [!__ASSUME_32BITUIDS]: Remove conditional code.
50522 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
50523 <kernel-features.h>.
50524 [__ASSUME_32BITUIDS]: Make code unconditional.
50525 [!__ASSUME_32BITUIDS]: Remove conditional code.
50526 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
50527 <kernel-features.h>.
50528 [__ASSUME_32BITUIDS]: Make code unconditional.
50529 [!__ASSUME_32BITUIDS]: Remove conditional code.
50530
50531 2012-05-25 Richard Henderson <rth@twiddle.net>
50532
50533 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
50534 dl_hwcap to ifunc resolver.
50535 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
50536 elf_ifunc_invoke.
50537 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
50538 dl_hwcap to ifunc resolver.
50539 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
50540
50541 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50542
50543 [BZ #14153]
50544 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
50545 for |x| <= 2**-26, not 2**-57.
50546 * math/libm-test.inc (acos_test): Do not allow spurious underflow
50547 exception.
50548
50549 2012-05-24 Jeff Law <law@redhat.com>
50550
50551 * stdio-common/Makefile (tests): Add bug25.
50552 * stdio-common/bug25.c: New test.
50553
50554 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
50555
50556 [BZ #13576]
50557 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
50558 multiple of MALLOC_ALIGNMENT in size.
50559 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
50560
50561 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50562
50563 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
50564 Require >= 256.
50565 (FILENAME_MAX): Use macro-int-constant.
50566 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
50567 (_IOFBF): Use macro-int-constant.
50568 (_IOLBF): Likewise.
50569 (_IONBF): Likewise.
50570 (SEEK_CUR): Likewise.
50571 (SEEK_END): Likewise.
50572 (SEEK_SET): Likewise.
50573 (TMP_MAX): Likewise.
50574 (EOF): Use macro-int-constant. Require < 0.
50575 (NULL): Use macro-constant. Require == 0.
50576 (stdin): Require type to be FILE *.
50577 (stdout): Likewise.
50578 (stderr): Likewise.
50579 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
50580 macro-int-constant.
50581 (EXIT_SUCCESS): Likewise.
50582 (NULL): Use macro-constant. Require == 0.
50583 (RAND_MAX): Use macro-int-constant.
50584 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
50585 [C99-based standards] (strtof): Require function.
50586 [C99-based standards] (strtold): Likewise.
50587 [C99-based standards] (strtoll): Likewise.
50588 [C99-based standards] (strtoull): Likewise.
50589 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
50590 [ISO || ISO99 || ISO11] (limits.h): Likewise.
50591 [ISO || ISO99 || ISO11] (math.h): Likewise.
50592 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
50593 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
50594 [ISO || ISO99 || ISO11] (*_t): Do not allow.
50595
50596 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
50597
50598 [BZ #14132]
50599 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
50600 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
50601 * intl/dgettext.c (DCGETTEXT): Likewise.
50602 * intl/gettext.c (DCGETTEXT): Likewise.
50603 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
50604 * posix/regex_internal.h (gettext): Likewise.
50605 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
50606 Remove declaration.
50607 * include/argz.h (__argz_count_internal)
50608 (__argz_stringify_internal): Remove declaration.
50609 (__argz_count, __argz_stringify): Declare hidden proto.
50610 * intl/dcgettext.c: Remove use of INTDEF.
50611 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
50612 * string/argz-stringify.c: Likewise.
50613 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
50614 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
50615 Declare hidden proto.
50616 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
50617 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
50618 Declare hidden proto.
50619 * include/stdio.h (__asprintf_internal): Don't declare.
50620 (__asprintf): Don't define as macro. Declare hidden proto.
50621 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
50622 (__fsetlocking): Declare hidden proto.
50623 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
50624 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
50625 hidden proto.
50626 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
50627 (_IO_setlinebuf): Remove use of INTUSE.
50628 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
50629 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
50630 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
50631 Remove declaration.
50632 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
50633 (_IO_do_flush): Remove use of INTUSE.
50634 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
50635 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
50636 (_IO_adjust_column, _IO_least_wmarker)
50637 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
50638 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
50639 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
50640 (_IO_default_doallocate, _IO_wdefault_doallocate)
50641 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
50642 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
50643 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
50644 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
50645 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
50646 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
50647 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
50648 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
50649 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
50650 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
50651 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
50652 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
50653 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
50654 proto.
50655 (_IO_flush_all_internal, _IO_adjust_column_internal)
50656 (_IO_default_uflow_internal, _IO_default_finish_internal)
50657 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
50658 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
50659 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
50660 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
50661 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
50662 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
50663 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
50664 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
50665 (_IO_file_close_internal, _IO_file_close_it_internal)
50666 (_IO_file_underflow_internal, _IO_file_overflow_internal)
50667 (_IO_file_init_internal, _IO_file_attach_internal)
50668 (_IO_file_fopen_internal, _IO_file_read_internal)
50669 (_IO_file_sync_internal, _IO_file_seek_internal)
50670 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
50671 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
50672 (_IO_str_underflow_internal, _IO_str_overflow_internal)
50673 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
50674 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
50675 (_IO_list_all_internal, _IO_link_in_internal)
50676 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
50677 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
50678 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
50679 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
50680 (_IO_do_write_internal, _IO_padn_internal)
50681 (_IO_getline_info_internal, _IO_getline_internal)
50682 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
50683 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
50684 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
50685 (_IO_vfscanf_internal, _IO_vfprintf_internal)
50686 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
50687 (_IO_init_internal, _IO_un_link_internal): Don't declare.
50688 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
50689 with libc_hidden_ver, remove use of INTUSE.
50690 * libio/genops.c: Likewise.
50691 * libio/freopen.c: Likewise.
50692 * libio/freopen64.c: Likewise.
50693 * libio/iofclose.c: Likewise.
50694 * libio/iofdopen.c: Likewise.
50695 * libio/iofflush.c: Likewise.
50696 * libio/iofflush_u.c: Likewise.
50697 * libio/iofgets.c: Likewise.
50698 * libio/iofgets_u.c: Likewise.
50699 * libio/iofopen.c: Likewise.
50700 * libio/iofopncook.c: Likewise.
50701 * libio/iofread.c: Likewise.
50702 * libio/iofread_u.c: Likewise.
50703 * libio/ioftell.c: Likewise.
50704 * libio/iofwrite.c: Likewise.
50705 * libio/iogetline.c: Likewise.
50706 * libio/iogets.c: Likewise.
50707 * libio/iogetwline.c: Likewise.
50708 * libio/iopadn.c: Likewise.
50709 * libio/iopopen.c: Likewise.
50710 * libio/ioseekoff.c: Likewise.
50711 * libio/ioseekpos.c: Likewise.
50712 * libio/iosetbuffer.c: Likewise.
50713 * libio/iosetvbuf.c: Likewise.
50714 * libio/ioungetc.c: Likewise.
50715 * libio/ioungetwc.c: Likewise.
50716 * libio/iovdprintf.c: Likewise.
50717 * libio/iovsprintf.c: Likewise.
50718 * libio/iovsscanf.c: Likewise.
50719 * libio/memstream.c: Likewise.
50720 * libio/obprintf.c: Likewise.
50721 * libio/oldfileops.c: Likewise.
50722 * libio/oldiofclose.c: Likewise.
50723 * libio/oldiofdopen.c: Likewise.
50724 * libio/oldiofopen.c: Likewise.
50725 * libio/oldiopopen.c: Likewise.
50726 * libio/oldstdfiles.c: Likewise.
50727 * libio/putc.c: Likewise.
50728 * libio/setbuf.c: Likewise.
50729 * libio/setlinebuf.c: Likewise.
50730 * libio/stdfiles.c: Likewise.
50731 * libio/strops.c: Likewise.
50732 * libio/vasprintf.c: Likewise.
50733 * libio/vscanf.c: Likewise.
50734 * libio/vsnprintf.c: Likewise.
50735 * libio/vswprintf.c: Likewise.
50736 * libio/wfiledoalloc.c: Likewise.
50737 * libio/wfileops.c: Likewise.
50738 * libio/wgenops.c: Likewise.
50739 * libio/wmemstream.c: Likewise.
50740 * libio/wstrops.c: Likewise.
50741 * libio/__fpurge.c: Likewise.
50742 * libio/__fsetlocking.c: Likewise.
50743 * assert/assert.c: Likewise.
50744 * debug/fgets_chk.c: Likewise.
50745 * debug/fgets_u_chk.c: Likewise.
50746 * debug/fread_chk.c: Likewise.
50747 * debug/fread_u_chk.c: Likewise.
50748 * debug/gets_chk.c: Likewise.
50749 * debug/obprintf_chk.c: Likewise.
50750 * debug/vasprintf_chk.c: Likewise.
50751 * debug/vdprintf_chk.c: Likewise.
50752 * debug/vsnprintf_chk.c: Likewise.
50753 * debug/vsprintf_chk.c: Likewise.
50754 * malloc/mtrace.c: Likewise.
50755 * misc/error.c: Likewise.
50756 * misc/syslog.c: Likewise.
50757 * stdio-common/asprintf.c: Likewise.
50758 * stdio-common/fxprintf.c: Likewise.
50759 * stdio-common/getw.c: Likewise.
50760 * stdio-common/isoc99_fscanf.c: Likewise.
50761 * stdio-common/isoc99_scanf.c: Likewise.
50762 * stdio-common/isoc99_vfscanf.c: Likewise.
50763 * stdio-common/isoc99_vscanf.c: Likewise.
50764 * stdio-common/isoc99_vsscanf.c: Likewise.
50765 * stdio-common/printf-prs.c: Likewise.
50766 * stdio-common/printf_fp.c: Likewise.
50767 * stdio-common/printf_fphex.c: Likewise.
50768 * stdio-common/printf_size.c: Likewise.
50769 * stdio-common/putw.c: Likewise.
50770 * stdio-common/scanf.c: Likewise.
50771 * stdio-common/sprintf.c: Likewise.
50772 * stdio-common/tmpfile.c: Likewise.
50773 * stdio-common/vfprintf.c: Likewise.
50774 * stdio-common/vfscanf.c: Likewise.
50775 * stdlib/strfmon_l.c: Likewise.
50776 * sunrpc/openchild.c: Likewise.
50777 * sunrpc/xdr_stdio.c: Likewise.
50778 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
50779 * sysdeps/mach/hurd/tmpfile.c: Likewise.
50780
50781 2012-05-24 Roland McGrath <roland@hack.frob.com>
50782
50783 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
50784
50785 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
50786 in the third column, to generate for the shared library an IFUNC
50787 that uses _dl_vdso_vsym.
50788 * Makerules (COMPILE.c, compile-stdin.c): New variables.
50789 * Makeconfig (object-suffixes-noshared): New variable.
50790
50791 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
50792 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
50793 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
50794 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
50795
50796 [BZ #14132]
50797 * include/sys/time.h (__gettimeofday): Remove macro.
50798 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
50799 * time/gettimeofday.c (__gettimeofday): Remove #undef.
50800 Remove INTDEF.
50801 (__gettimeofday): Add libc_hidden_def.
50802 (gettimeofday): Add libc_hidden_weak.
50803 * sysdeps/mach/gettimeofday.c: Likewise.
50804 * sysdeps/posix/gettimeofday.c: Likewise.
50805 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
50806 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
50807 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
50808 (__gettimeofday_internal): Remove strong_alias.
50809 (__gettimeofday): Add libc_hidden_def.
50810 (gettimeofday): Add libc_hidden_weak.
50811 * sysdeps/unix/syscalls.list (gettimeofday):
50812 Remove __gettimeofday_internal alias.
50813
50814 2012-05-24 Daniel Jacobowitz <drow@false.org>
50815 H.J. Lu <hongjiu.lu@intel.com>
50816
50817 [BZ #12495]
50818 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
50819 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
50820 (largebin_index_32_big): New.
50821 (largebin_index): Use it for 16-byte alignment.
50822 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
50823 correction with front_misalign.
50824
50825 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
50826
50827 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
50828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
50829 Likewise.
50830 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
50831 Likewise.
50832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
50833 Likewise.
50834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
50835 Likewise.
50836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
50837 Likewise.
50838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
50839 Likewise.
50840 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
50841 Likewise.
50842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
50843 Likewise.
50844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
50845 Likewise.
50846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
50847 Likewise.
50848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
50849 Likewise.
50850 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
50851 Likewise.
50852
50853 * scripts/data/c++-types-x32-linux-gnu.data: New file.
50854 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
50855
50856 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50857
50858 [BZ #10846]
50859 [BZ #14036]
50860 * math/libm-test.inc (exp_test): Add test from bug 14036.
50861 (pow_test): Add test from bug 10846.
50862
50863 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
50864 and other flags.
50865 (special_function): Do not include flags in test name.
50866 (parse_args): Likewise.
50867 * sysdeps/i386/fpu/libm-test-ulps: Update.
50868 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50869 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50870 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50872
50873 * math/gen-libm-test.pl (%beautify): Add entries for underflow
50874 exceptions.
50875 * math/libm-test.inc ("Philosophy"): Update comment about
50876 exception testing.
50877 (UNDERFLOW_EXCEPTION): New macro.
50878 (UNDERFLOW_EXCEPTION_OK): Likewise.
50879 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
50880 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
50881 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
50882 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
50883 (INVALID_EXCEPTION_OK): Update value.
50884 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50885 (OVERFLOW_EXCEPTION_OK): Likewise.
50886 (IGNORE_ZERO_INF_SIGN): Likewise.
50887 (test_exceptions): Handle underflow exceptions.
50888 (acos_test): Update for underflow exception expectations.
50889 (cexp_test): Likewise.
50890 (clog_test): Likewise.
50891 (clog10_test): Likewise.
50892 (csqrt_test): Likewise.
50893 (ctan_test): Likewise.
50894 (ctanh_test): Likewise.
50895 (exp_test): Likewise.
50896 (exp10_test): Likewise.
50897 (exp2_test): Likewise.
50898 (expm1_test): Likewise.
50899 (fma_test): Likewise.
50900 (j0_test): Likewise.
50901 (jn_test): Likewise.
50902 (nexttoward_test): Likewise.
50903 (pow_test): Likewise.
50904 (scalbn_test): Likewise.
50905 (scalbln_test): Likewise.
50906 (tan_test): Likewise.
50907 (y1_test): Likewise.
50908 * sysdeps/i386/fpu/libm-test-ulps: Update.
50909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50910
50911 2012-05-23 David S. Miller <davem@davemloft.net>
50912
50913 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
50914 (__libc_sigaction): Remove unused local variables.
50915
50916 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50917
50918 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
50919
50920 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
50921
50922 mktime: avoid signed integer overflow
50923 * time/mktime.c (__mktime_internal): Do not mishandle the case
50924 where diff == INT_MIN.
50925
50926 mktime: simplify computation of average
50927 * time/mktime.c (ranged_convert): Use new time_t_avg function
50928 instead of rolling our own (probably-slower) code.
50929
50930 mktime: do not assume signed right shift propagates sign bit
50931 * time/mktime.c (isdst_differ): New static function.
50932 (__mktime_internal): No need to normalize tm_isdst now.
50933 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
50934 tm_isdst values.
50935
50936 mktime: merge another wrapv change from gnulib
50937 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
50938 from some compilers.
50939
50940 mktime: remove incorrect attempt at unusual arithmetics
50941 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
50942 The code didn't really work on such machines anyway.
50943 (TYPE_MINIMUM): Assume two's complement.
50944 (twos_complement_arithmetic): Verify that long_int and time_t
50945 are two's complement (or unsigned, in the latter case).
50946
50947 mktime: check signed shifts on long_int and time_t, too
50948 * time/mktime.c (SHR): Check that shifts work as desired
50949 on the types long_int and time_t too, as SHR is used on
50950 such types.
50951
50952 mktime: do not assume 'long' is wide enough
50953 * time/mktime.c (verify): Move decl up.
50954 (long_int): New type.
50955 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
50956 to remove assumption in the code that 'long' is wide enough to
50957 store year values. This assumption is not true on x32 and on
50958 some non-glibc platforms.
50959
50960 mktime: merge wrapv change from gnulib
50961 * time/mktime.c (WRAPV): New macro.
50962 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
50963 (guess_time_tm, __mktime_internal): Do not assume that signed
50964 integer overflow wraps around; modern compilers generate code
50965 where this assumption is no longer valid.
50966
50967 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50968
50969 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50970 Replace "jmp L(pseudo_end)" with "ret".
50971 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
50972 Likewise.
50973
50974 2012-05-23 Andreas Jaeger <aj@suse.de>
50975
50976 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
50977 * sysdeps/unix/sysv/linux/poll.c: Remove file.
50978
50979 2012-05-23 Andreas Jaeger <aj@suse.de>
50980 Maximilian Attems <max@stro.at>
50981
50982 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
50983 New macros.
50984
50985 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50986
50987 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
50988 code so that pseudo_end is just ret and the stack pointer is
50989 correct also for static library in error case.
50990
50991 2012-05-23 Joseph Myers <joseph@codesourcery.com>
50992
50993 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
50994 move to syscalls.list.
50995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
50996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
50997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
50998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
50999
51000 * manual/install.texi (Running make install): Do not mention Linux
51001 kernel version for which pt_chown is not needed.
51002 (Linux): Do not mention problems with nscd with 2.0 kernels.
51003 * INSTALL: Regenerated.
51004
51005 2012-05-23 Andreas Jaeger <aj@suse.de>
51006
51007 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
51008 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
51009 macro.
51010 * sysdeps/unix/sysv/linux/s390/bits/mman.h
51011 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51012 * sysdeps/unix/sysv/linux/sh/bits/mman.h
51013 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51014 * sysdeps/unix/sysv/linux/i386/bits/mman.h
51015 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51016 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
51017 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51018 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
51019 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51020 * sysdeps/unix/sysv/linux/bits/in.h
51021 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
51022
51023 2012-05-22 Roland McGrath <roland@hack.frob.com>
51024
51025 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
51026 (PREPARE_VERSION): Just use assert instead, it will be elided
51027 under [NDEBUG] anyway.
51028
51029 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51030
51031 * sysdeps/unix/sysv/linux/Makefile: Include
51032 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
51033 (sysdep_routines): Remove sysctl.
51034 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
51035 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
51036 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
51037 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
51038 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
51039
51040 2012-05-22 Andreas Jaeger <aj@suse.de>
51041
51042 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
51043 that pseudo_end is just ret and the stack pointer is correct also
51044 for static library in error case.
51045
51046 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
51047
51048 [BZ #14122]
51049 * nss/nsswitch.c (defconfig_entries): New variable.
51050 (__nss_database_lookup): Don't leak defconfig entries.
51051 (nss_parse_service_list): Don't leak on error paths.
51052 (free_database_entries): New function.
51053 (free_defconfig): New function.
51054 (free_mem): Move common code to free_database_entries.
51055
51056 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51057
51058 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
51059 Add arch_prctl.
51060 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
51061
51062 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
51063 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
51064 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
51065 New macro.
51066 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
51067 (INTERNAL_SYSCALL_TYPES): Likewise.
51068 (LOAD_ARGS_TYPES_[1-6]): Likewise.
51069 (LOAD_REGS_TYPES_[1-6]): Likewise.
51070 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
51071 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
51072
51073 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51074
51075 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
51076 copysignl for GLIBC_2_0.
51077 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
51078 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
51079 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
51080 logbl for GLIBC_2_0.
51081 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
51082 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
51083
51084 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51085
51086 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
51087 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
51088
51089 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
51090 Use "neg %eax".
51091
51092 * time/mktime.c: Update copyright years.
51093
51094 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
51095
51096 mktime: merge comment-quoting-style change from gnulib
51097 * time/mktime.c: Quote 'like this' in comments.
51098 The GNU coding standards suggest that we no longer quote `like this',
51099 as "`" and "'" are typically rendered asymmetrically nowadays.
51100 The typical gnulib style is to quote 'like this' when quoting
51101 code, and "like this" when quoting English.
51102
51103 * time/mktime.c (compile-command): Add "-I.".
51104
51105 mktime: merge mktime-internal.h change from gnulib
51106 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
51107
51108 mktime: merge time_r change from gnulib
51109 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
51110
51111 mktime: merge DEBUG change from gnulib
51112 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
51113 case system <time.h> has a #define.
51114
51115 mktime: merge <sys/types.h> change from gnulib
51116 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
51117 since <time.t> is now guaranteed to define time_t.
51118
51119 mktime: merge HAVE_CONFIG_H change from gnulib
51120 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
51121
51122 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51123
51124 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
51125 Use "neg %eax".
51126
51127 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
51128 __rlim_t cast.
51129 (struct rusage): Use anonymous union to pad each field to
51130 __syscall_slong_t.
51131
51132 2012-05-21 David S. Miller <davem@davemloft.net>
51133
51134 * Makefules (o-iterator): Remove .s cases.
51135 (compile-command.s): Delete.
51136 (COMPILE.s): Delete.
51137 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
51138
51139 2012-05-21 Joseph Myers <joseph@codesourcery.com>
51140
51141 * configure.in (libc_cv_predef_stack_protector): Only consider
51142 "foobar" and "__stack_chk_fail" lines in libc_undefs.
51143 * configure: Regenerated.
51144
51145 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
51146
51147 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
51148 New macro. Use R*LP on int and pointer.
51149 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
51150 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
51151 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
51152 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
51153
51154 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
51155 [__WORDSIZE_TIME64_COMPAT32] instead of
51156 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
51157 (struct utmp): Likewise.
51158 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
51159 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
51160 Renamed to ...
51161 (__WORDSIZE_TIME64_COMPAT32): This.
51162 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
51163 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
51164 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
51165 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
51166 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
51167 (__WORDSIZE_TIME64_COMPAT32): New macro.
51168
51169 2012-05-21 Andreas Jaeger <aj@suse.de>
51170
51171 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
51172 only if [SHARED]. Add prototype for __wcschr_ia32.
51173
51174 2012-05-21 Roland McGrath <roland@hack.frob.com>
51175
51176 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
51177 of %rbp unmolested in the jmp_buf while mangling the low bits.
51178 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
51179 unmolested high bits of %rbp while demangling the low bits.
51180 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
51181
51182 2012-05-21 Andreas Jaeger <aj@suse.de>
51183
51184 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
51185 * sunrpc/svc_simple.c: Use it for registerrpc.
51186 * sunrpc/xcrypt.c: Use it for passwd2des.
51187
51188 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
51189
51190 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
51191
51192 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
51193 Don't define if [__SYSCALL_WORDSIZE != 32].
51194 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
51195 New macro.
51196
51197 2012-05-21 Bruno Haible <bruno@clisp.org>
51198 Andreas Jaeger <aj@suse.de>
51199
51200 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
51201 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
51202 inptr and inend for must_buffer_ch.
51203 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
51204 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
51205 * stdio-common/Makefile (tests): Remove bug15.
51206 (bug15-ENV): Remove macro.
51207 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
51208 anymore.
51209
51210 2012-05-19 Andreas Jaeger <aj@suse.de>
51211 Roland McGrath <roland@hack.frob.com>
51212
51213 * manual/contrib.texi: Completely rewritten. It contains now an
51214 alphabetical list of contributors and their contributions.
51215
51216 2012-05-21 Richard Henderson <rth@twiddle.net>
51217
51218 * misc/getauxval.c (__getauxval): Use unsigned long int.
51219 * misc/sys/auxv.h: Include <sys/cdefs.h>.
51220 (getauxval): Use unsigned long int.
51221
51222 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
51223
51224 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
51225
51226 2012-05-21 Roland McGrath <roland@hack.frob.com>
51227
51228 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
51229 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
51230 __alignof__ (long double).
51231
51232 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51233
51234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51235
51236 2012-05-20 Richard Henderson <rth@twiddle.net>
51237
51238 * misc/getauxval.c: New file.
51239 * misc/sys/auxv.h: New file.
51240 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
51241 (routines): Add getauxval.
51242 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
51243 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
51244 * elf/dl-sysdep.c (_dl_auxv): Remove.
51245 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
51246 * elf/dl-support.c (_dl_auxv): New variable.
51247 (_dl_aux_init): Initialize it.
51248 * manual/startup.texi (Auxiliary Vector): New node.
51249 * sysdeps/generic/bits/hwcap.h: New file.
51250 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
51251 * sysdeps/powerpc/sysdep.h: ... here. Include it.
51252 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
51253 * sysdeps/sparc/sysdep.h: ... here. Include it.
51254 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
51255 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
51256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51257 Update.
51258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
51259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
51260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
51261 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
51262 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
51263 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
51264 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
51265 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
51266
51267 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51268
51269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51270
51271 2012-05-19 David S. Miller <davem@davemloft.net>
51272
51273 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51274
51275 2012-05-19 Joseph Myers <joseph@codesourcery.com>
51276
51277 [BZ #14123]
51278 * math/s_ccosh.c: Include <float.h>
51279 (__ccosh): Avoid internal overflow calculating sinh and cosh
51280 values before multiplying by sin and cos values.
51281 * math/s_ccoshf.c: Likewise.
51282 * math/s_ccoshl.c: Likewise.
51283 * math/s_csin.c: Likewise.
51284 * math/s_csinf.c: Likewise.
51285 * math/s_csinl.c: Likewise.
51286 * math/s_csinh.c: Likewise.
51287 * math/s_csinhf.c: Likewise.
51288 * math/s_csinhl.c: Likewise.
51289 * math/libm-test.inc (ccos_test): Add more tests.
51290 (ccosh_test): Likewise.
51291 (csin_test): Likewise.
51292 (csinh_test): Likewise.
51293 * sysdeps/i386/fpu/libm-test-ulps: Update.
51294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51295
51296 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
51297
51298 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
51299 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
51300
51301 * sysdeps/x86_64/x32/_itoa.h: Add comment.
51302
51303 2012-05-19 Joseph Myers <joseph@codesourcery.com>
51304
51305 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
51306 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
51307 * sysdeps/powerpc/soft-fp/Versions: Likewise.
51308 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
51309 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
51310 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
51311 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
51312 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
51313 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
51314 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
51315 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
51316 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
51317 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
51318 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
51319 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
51320 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
51321 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
51322 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
51323 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
51324 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
51325 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
51326 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
51327 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
51328 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
51329 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
51330 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
51331 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
51332 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
51333 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
51334 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
51335 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
51336
51337 2012-05-18 Andreas Jaeger <aj@suse.de>
51338
51339 * csu/.gitignore: Delete.
51340
51341 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
51342
51343 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
51344 (timex): Use __syscall_slong_t.
51345
51346 2012-05-18 Andreas Jaeger <aj@suse.de>
51347 Carlos O'Donell <carlos_odonell@mentor.com>
51348
51349 * manual/install.texi (Configuring and compiling): Update
51350 description about files modified in the source directory.
51351 * INSTALL: Regenerated.
51352
51353 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
51354
51355 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
51356 value. Use "or" to set return value to -1.
51357 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
51358 negate return value.
51359
51360 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51361
51362 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
51363 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
51364 failure if the compiler has Graphite support disabled.
51365 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
51366 Likewise.
51367 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
51368 (CFLAGS-memmove.c): Likewise.
51369 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
51370 Likewise.
51371
51372 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
51373
51374 * sysdeps/x86_64/x32/_itoa.h: New file.
51375
51376 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
51377 getdents system call only if kernel and user dirents have the
51378 same d_ino and d_off.
51379
51380 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51381 LLONG_MAX != LONG_MAX.
51382 (_itoa_word): Use _ITOA_WORD_TYPE on value.
51383 (_fitoa_word): Likewise.
51384
51385 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
51386 years.
51387 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
51388 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
51389 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
51390
51391 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
51392 include <bits/wordsize.h>. Check __x86_64__ instead of
51393 __WORDSIZE.
51394 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
51395 if __x86_64__ is defined. Use anonymous union on fpstate.
51396
51397 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
51398 anonymous union.
51399
51400 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
51401
51402 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
51403 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
51404 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
51405 Refer to _rtld_local_ro instead of _rtld_global_ro.
51406 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
51407 Likewise.
51408 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
51409 Likewise.
51410 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
51411 Likewise.
51412 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
51413 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
51414 of _rtld_global, and rtld_progname instead of _dl_argv[0].
51415
51416 [BZ #10882]
51417 * sysdeps/powerpc/powerpc32/dl-machine.c
51418 (__elf_machine_runtime_setup) [PROF]: Don't reference
51419 _dl_prof_resolve.
51420
51421 2012-05-18 Andreas Jaeger <aj@suse.de>
51422
51423 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
51424 function only available for GCCs before 3.4 since GCC 3.4
51425 introduced a builtin.
51426 (lrint): Likewise.
51427 (llrintf): Likewise.
51428 (llrint): Likewise.
51429 (fmaxf): Likewise.
51430 (fmax): Likewise.
51431 (fminf): Likewise.
51432 (fmin): Likewise.
51433 (rint): Likewise.
51434 (rintf): Likewise.
51435 (nearbyint): Likewise.
51436 (nearbyintf): Likewise.
51437 (ceil): Likewise.
51438 (ceilf): Likewise.
51439 (floor): Likewise.
51440 (floorf): Likewise.
51441
51442 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
51443
51444 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
51445 on both fields and cast pointer to __syscall_ulong_t.
51446
51447 * bits/types.h (__fsword_t): New type.
51448 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
51449 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
51450 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51451 (__FSWORD_T_TYPE): Likewise.
51452 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51453 (__FSWORD_T_TYPE): Likewise.
51454 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51455 (__FSWORD_T_TYPE): Likewise.
51456 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
51457 (__FSWORD_T_TYPE): Likewise.
51458 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
51459 __SWORD_TYPE with __fsword_t.
51460 (statfs64): Likewise.
51461
51462 2012-05-17 David S. Miller <davem@davemloft.net>
51463
51464 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
51465
51466 2012-05-17 Andreas Jaeger <aj@suse.de>
51467
51468 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
51469 warning.
51470
51471 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
51472
51473 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
51474
51475 2012-05-17 Andreas Jaeger <aj@suse.de>
51476
51477 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
51478 when it is used.
51479
51480 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
51481
51482 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
51483
51484 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
51485
51486 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
51487 * sysdeps/x86_64/tst-mallocalign1.c: New file.
51488
51489 2012-05-17 Andreas Jaeger <aj@suse.de>
51490 Carlos O'Donell <carlos_odonell@mentor.com>
51491
51492 [BZ #14059]
51493 * sysdeps/x86_64/multiarch/init-arch.h
51494 (bit_YMM_Usable): Rename to...
51495 (bit_AVX_Usable): ... this.
51496 (bit_FMA4_Usable): New macro.
51497 (bit_XMM_state): New macro.
51498 (bit_YMM_state): New macro.
51499 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
51500 [__ASSEMBLER__] (index_AVX_Usable): ... this.
51501 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
51502 (CPUID_OSXSAVE): New macro.
51503 (CPUID_AVX): New macro.
51504 (CPUID_FMA4): New macro.
51505 (index_YMM_Usable): Rename to...
51506 (index_AVX_Usable): ... this.
51507 (HAS_AVX): Use HAS_ARCH_FEATURE.
51508 (HAS_FMA4): Likewise.
51509 (HAS_YMM_USABLE): Remove.
51510 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51511 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
51512 are present.
51513 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
51514 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
51515 * sysdeps/x86_64/multiarch/Makefile: Likewise.
51516 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
51517 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
51518
51519 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
51520
51521 * math/libm-test.c: Support platforms without multiple rounding modes.
51522 * math/bug-nextafter.c: Support platforms without FP exceptions.
51523 * math/bug-nexttoward.c: Likewise.
51524 * math/test-fenv.c: Likewise.
51525 * math/test-misc.c: Likewise.
51526 * stdlib/bug-getcontext.c: Likewise.
51527
51528 2012-05-17 Andreas Jaeger <aj@suse.de>
51529
51530 * manual/examples/search.c (critter_cmp): Change signature to
51531 avoid warnings.
51532 * manual/string.texi (Collation Functions): Likewise.
51533
51534 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51535
51536 * bits/types.h: Fold copyright years.
51537 * bits/typesizes.h: Likewise.
51538 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
51539 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
51540 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
51541 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
51542 * time/time.h: Likewise.
51543
51544 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
51545
51546 [BZ #208]
51547 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
51548 in instead of returning them. Return void.
51549 (__libc_mallinfo): Accumulate over all arenas.
51550 (__malloc_stats): Adjust for change in int_mallinfo interface.
51551
51552 2012-05-16 Roland McGrath <roland@hack.frob.com>
51553
51554 [BZ #10375]
51555 * configure.in (NM): Add AC_CHECK_TOOL for it.
51556 (libc_extra_cflags): New substituted variable.
51557 Check for -fstack-protector being used implicitly.
51558 * configure: Regenerated.
51559 * config.make.in (config-extra-cflags): New variable,
51560 gets @libc_extra_cflags@.
51561 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
51562
51563 [BZ #10375]
51564 * configure.in: Check for _FORTIFY_SOURCE being predefined.
51565 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
51566 * configure: Regenerated.
51567 * config.make.in (CPPUNDEFS): New substituted variable.
51568 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
51569 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
51570 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
51571
51572 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51573
51574 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
51575 (mq_attr): Use __syscall_slong_t.
51576
51577 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51578
51579 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
51580 Check __x86_64__ instead of __WORDSIZE.
51581 (_STAT_VER_LINUX): Likewise.
51582 (stat): Check __x86_64__ instead of __WORDSIZE. Use
51583 __syscall_ulong_t and __syscall_slong_t.
51584 (stat64): Likewise.
51585
51586 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51587
51588 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
51589
51590 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51591
51592 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
51593
51594 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51595
51596 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
51597 __syscall_ulong_t.
51598
51599 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
51600 include <bits/wordsize.h>. Check __x86_64__ instead of
51601 __WORDSIZE.
51602 (greg_t): Use "__extension__ long long int" if __x86_64__ is
51603 defined.
51604 (mcontext_t): Replace "unsigned long" with "unsigned long long".
51605
51606 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
51607 include <bits/wordsize.h>. Check __x86_64__ instead of
51608 __WORDSIZE.
51609 (user_regs_struct): Use "__extension__ unsigned long long"
51610 instead of "unsigned long" if __x86_64__ is defined.
51611 (user): Likewise. Pad after pointer field if __ILP32__ is
51612 defined.
51613
51614 2012-05-16 Joseph Myers <joseph@codesourcery.com>
51615
51616 * configure.in (makeinfo): Require version 4.5 or later. Allow
51617 versions 5 to 9.
51618 * configure: Regenerated.
51619 * manual/install.texi (texinfo): Increase version requirement to
51620 4.5 or later.
51621 * INSTALL: Regenerated.
51622
51623 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
51624
51625 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51626
51627 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
51628
51629 * sysdeps/x86_64/x32/ffs.c: New file.
51630
51631 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
51632 __syscall_ulong_t.
51633 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
51634 defined. Use __syscall_ulong_t.
51635 (shminfo): Use __syscall_ulong_t.
51636 (shm_info): Likewise.
51637
51638 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
51639 __syscall_ulong_t.
51640
51641 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
51642 <bits/wordsize.h>.
51643 (msgqnum_t): Use __syscall_ulong_t.
51644 (msglen_t): Likewise.
51645 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
51646 __syscall_ulong_t.
51647
51648 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
51649 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
51650
51651 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
51652
51653 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
51654 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
51655
51656 * sysvipc/sys/msg.h (msgbuf): Replace long int with
51657 __syscall_slong_t.
51658
51659 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
51660 include <bits/wordsize.h>. Check __x86_64__ instead of
51661 __WORDSIZE.
51662
51663 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
51664 "unsigned long long int" if __x86_64__ is defined.
51665 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
51666
51667 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
51668 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
51669 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
51670
51671 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
51672 <stdint.h>.
51673 (GET_PC): Cast to uintptr_t first.
51674 (GET_FRAME): Likewise.
51675 (GET_STACK): Likewise.
51676
51677 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
51678 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
51679 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
51680 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
51681 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
51682 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
51683 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
51684 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
51685 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
51686 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
51687 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
51688 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
51689 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
51690 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
51691 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
51692 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
51693 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
51694 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
51695 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
51696 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
51697 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
51698 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
51699 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
51700 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
51701 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
51702 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
51703 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
51704 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
51705 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
51706
51707 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
51708
51709 * Makerules (+depfiles): Also collect depfiles from .oS in
51710 $(extra-objs).
51711 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
51712 .oS, $(libnldbl-routines)).
51713
51714 * Makerules (native-compile-mkdep-flags): Define.
51715 * sunrpc/Makefile (extra-objs): Add $(addprefix
51716 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
51717 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
51718 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
51719 calling $(make-target-directory).
51720
51721 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51722
51723 * bits/types.h (__snseconds_t): Removed.
51724 * time/time.h (struct timespec): Replace __snseconds_t with
51725 __syscall_slong_t.
51726 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
51727 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
51728 Likewise.
51729 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51730 (__SNSECONDS_T_TYPE): Likewise.
51731 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51732 (__SNSECONDS_T_TYPE): Likewise.
51733 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51734 (__SNSECONDS_T_TYPE): Likewise.
51735
51736 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51737
51738 * sysdeps/mach/hurd/bits/typesizes.h
51739 (__SYSCALL_SLONG_TYPE): New macro.
51740 (__SYSCALL_ULONG_TYPE): Likewise.
51741
51742 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51743
51744 * bits/types.h (__syscall_slong_t): New type.
51745 (__syscall_ulong_t): Likewise.
51746
51747 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
51748 (__SYSCALL_ULONG_TYPE): Likewise.
51749 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51750 (__SYSCALL_SLONG_TYPE): Likewise.
51751 (__SYSCALL_ULONG_TYPE): Likewise.
51752 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51753 (__SYSCALL_SLONG_TYPE): Likewise.
51754 (__SYSCALL_ULONG_TYPE): Likewise.
51755 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51756 (__SYSCALL_SLONG_TYPE): Likewise.
51757 (__SYSCALL_ULONG_TYPE): Likewise.
51758
51759 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51760
51761 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
51762 Add sigaltstack-offsets.sym.
51763 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
51764 <sigaltstack-offsets.h>.
51765 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
51766 longjmp_msg pointer.
51767 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
51768 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
51769 signal stack.
51770 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
51771
51772 2012-05-15 Joseph Myers <joseph@codesourcery.com>
51773
51774 * elf/stackguard-macros.h: Remove file.
51775 * sysdeps/generic/stackguard-macros.h: New file.
51776 * sysdeps/i386/stackguard-macros.h: Likewise.
51777 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
51778 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
51779 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
51780 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
51781 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
51782 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
51783 * sysdeps/x86_64/stackguard-macros.h: Likewise.
51784 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
51785 <elf/stackguard-macros.h>.
51786
51787 [BZ #14109]
51788 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
51789 __aligned__ in attribute.
51790 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
51791 (gregset_t): Likewise.
51792
51793 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51794
51795 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
51796 * sysdeps/x86_64/64/Implies-after: Here. New file.
51797 * sysdeps/x86_64/x32/Implies-after: New file.
51798
51799 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51800
51801 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
51802 and access return value for _dl_profile_fixup. Use R10_LP to
51803 load frame size.
51804
51805 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51806
51807 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
51808
51809 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51810
51811 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
51812 * sysdeps/x86_64/x32/sysdep.h: New file.
51813
51814 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51815
51816 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
51817 * sysdeps/x86_64/setjmp.S: Likewise.
51818
51819 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51820
51821 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
51822 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
51823 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
51824 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
51825 remove unused global constant.
51826
51827 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
51828
51829 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
51830 include of <not-cancel.h>.
51831
51832 2012-05-15 Roland McGrath <roland@hack.frob.com>
51833
51834 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
51835
51836 2012-05-15 Jeff Law <law@redhat.com>
51837 Andreas Jaeger <aj@suse.de>
51838
51839 [BZ #13594]
51840 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
51841 out from...
51842 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
51843 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
51844 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
51845 code changing __hst_map_handle.map.
51846
51847 2012-05-15 Roland McGrath <roland@hack.frob.com>
51848
51849 * configure.in (sysnames): Look for Implies-before and Implies-after
51850 files.
51851 * configure: Regenerated.
51852
51853 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51854
51855 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
51856 8-byte data alignment with LP_SIZE alignment.
51857
51858 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51859
51860 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
51861 into R10_LP.
51862
51863 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51864
51865 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
51866
51867 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51868
51869 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
51870 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
51871 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
51872 Likewise.
51873 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
51874
51875 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51876
51877 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
51878 (stackinfo_sub_sp): Likewise.
51879
51880 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51881
51882 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
51883 RAX_LP.
51884
51885 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51886
51887 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
51888 into R*_LP.
51889
51890 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51891
51892 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
51893 sizes into R*_LP.
51894
51895 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51896
51897 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
51898
51899 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51900
51901 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
51902 into R11_LP and load __x86_64_shared_cache_size_half into
51903 R8_LP.
51904
51905 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51906
51907 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
51908 R8_LP.
51909
51910 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51911
51912 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
51913 logb for POWER7.
51914 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
51915 logbf for POWER7.
51916 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
51917 logbl for POWER7.
51918 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
51919 powerpc32/power7/fpu/s_logb.c via #include.
51920 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
51921 powerpc32/power7/fpu/s_logbf.c via #include.
51922 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
51923 powerpc32/power7/fpu/s_logbl.c via #include.
51924
51925 2012-05-15 Joseph Myers <joseph@codesourcery.com>
51926
51927 * README.libm: Remove file.
51928
51929 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51930
51931 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
51932 count for x32. Use R*_LP and omit operand-size suffix.
51933
51934 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51935
51936 * shlib-versions: Move x86_64-.*-linux.* entries to ...
51937 * sysdeps/x86_64/64/shlib-versions: Here. New file.
51938 * sysdeps/x86_64/x32/shlib-versions: New file.
51939
51940 2012-05-14 Roland McGrath <roland@hack.frob.com>
51941
51942 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
51943 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
51944 Use _dl_fatal_printf instead.
51945
51946 2012-05-14 Joseph Myers <joseph@codesourcery.com>
51947
51948 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
51949 set if not set by the user. Do not allow for being unset.
51950 * sysdeps/unix/sysv/linux/configure: Regenerated.
51951
51952 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51953
51954 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
51955 the `q' suffix from lea and replace .quad with ASM_ADDR.
51956
51957 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51958
51959 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
51960 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
51961 instead of $17.
51962 (PTR_DEMANGLE): Likewise.
51963
51964 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51965
51966 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
51967 (LP_OP): Likewise.
51968 (ASM_ADDR): Likewise.
51969 (RAX_LP): Likewise.
51970 (RBP_LP): Likewise.
51971 (RBX_LP): Likewise.
51972 (RCX_LP): Likewise.
51973 (RDI_LP): Likewise.
51974 (RSI_LP): Likewise.
51975 (RSP_LP): Likewise.
51976 (R8_LP): Likewise.
51977 (R9_LP): Likewise.
51978 (R10_LP): Likewise.
51979 (R10_LP): Likewise.
51980 (R11_LP): Likewise.
51981 (R12_LP): Likewise.
51982 (R13_LP): Likewise.
51983 (R14_LP): Likewise.
51984 (R15_LP): Likewise.
51985
51986 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51987
51988 * sysdeps/x86_64/x32/dl-machine.h: New file.
51989
51990 2012-05-14 Andreas Jaeger <aj@suse.de>
51991
51992 * manual/Makefile (subdir): Remove export of subdir.
51993 (all): Remove target.
51994 (.PHONY): Remove all from list.
51995 (mkinstalldirs): Remove.
51996 (.PHONY): Remove installdirs from list.
51997 ($(inst_infodir)/libc.info): Use make-target-directory.
51998 (installdirs): Remove.
51999 (subdir_%): Remove.
52000 (glibc-targets): Remove.
52001 (lib): Remove.
52002 (stubs): Remove.
52003 ($(objpfx)stubs ../po/manual.pot): Remove.
52004 ($(objpfx)stamp%): Remove.
52005 (make-target-directory): Remove.
52006 (subdir_install): Remove.
52007 (routines): Remove.
52008 (aux): Remove.
52009 (sources): Remove.
52010 (objects): Remove.
52011 (headers): Remove.
52012
52013 [BZ #13750]
52014 * manual/.gitignore: Remove, it's not needed anymore.
52015 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
52016 all files in it.
52017 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
52018 directory.
52019 (texis): Renamed to $(objpfx)texis.
52020 (texis-path): New, contains path to generated files.
52021 (chapters.%): Use texis-path for complete path, add extra argument
52022 libc-texinfo.sh.
52023 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
52024 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
52025 (summary,texi, stamp-summary): Use complete path of
52026 files. Generate files in build dir.
52027 (dir-add.texi): Build in build dir.
52028 (libm-err.texi,stamp-libm-err): Likewise.
52029 (version.texi, stamp-version): Likewise.
52030 (.%c.texi): Likewise.
52031 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
52032 (mostlyclean): Remove target.
52033 (realclean): Remove target.
52034 (generated): Add new variable with contents from mostlyclean and
52035 realclean, remove entries duplicated in common-mostlyclean, add
52036 stamp-libm-err and stamp-version.
52037 (generated-dirs): Add libc directory.
52038 ($(inst_infodir)/libc.info): Install files from build dir.
52039
52040 * manual/install.texi (Configuring and compiling): Adjust since
52041 the info files are not part of the tar ball anymore.
52042
52043 2012-05-14 Andreas Jaeger <aj@suse.de>
52044
52045 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
52046 variable.
52047
52048 2012-05-14 Joseph Myers <joseph@codesourcery.com>
52049
52050 [BZ #13717]
52051 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
52052 to 2.2.0 where earlier.
52053 * sysdeps/unix/sysv/linux/configure: Regenerated.
52054 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
52055 Remove conditional code.
52056 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
52057 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
52058 Remove conditional code.
52059 [!__NR_lchown]: Likewise.
52060 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52061 [__NR_lchown]: Likewise.
52062 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
52063 comment referencing __ASSUME_LCHOWN_SYSCALL.
52064 * sysdeps/unix/sysv/linux/i386/sigaction.c
52065 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52066 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52067 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
52068 Remove conditional code.
52069 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
52070 (__protocol_available): Remove #if 0 code.
52071 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
52072 conditional code.
52073 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
52074 * sysdeps/unix/sysv/linux/kernel-features.h
52075 (__ASSUME_GETCWD_SYSCALL): Don't define.
52076 (__ASSUME_REALTIME_SIGNALS): Likewise.
52077 (__ASSUME_PREAD_SYSCALL): Likewise.
52078 (__ASSUME_PWRITE_SYSCALL): Likewise.
52079 (__ASSUME_POLL_SYSCALL): Likewise.
52080 (__ASSUME_LCHOWN_SYSCALL): Likewise.
52081 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
52082 non-SPARC.
52083 (__ASSUME_SIOCGIFNAME): Don't define.
52084 (__ASSUME_MSG_NOSIGNAL): Likewise.
52085 (__ASSUME_SENDFILE): Define unconditionally.
52086 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
52087 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
52088 conditional code.
52089 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
52090 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
52091 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
52092 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52093 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
52094 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
52095 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
52097 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52098 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
52100 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52101 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
52103 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52104 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
52106 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52107 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
52109 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52110 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
52112 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52113 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
52115 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52116 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
52118 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52119 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52120 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
52121 Remove conditional code.
52122 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52123 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
52124 Remove conditional code.
52125 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52126 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
52127 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
52128 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
52129 Remove conditional code.
52130 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52131 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
52132 Remove conditional code.
52133 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52134 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
52135 Remove conditional code.
52136 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52137 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
52138 Remove conditional code.
52139 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52140 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
52141 Remove conditional code.
52142 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52143 * sysdeps/unix/sysv/linux/sh/pwrite64.c
52144 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52145 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52146 * sysdeps/unix/sysv/linux/sigaction.c
52147 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52148 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52149 * sysdeps/unix/sysv/linux/sigpending.c
52150 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52151 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52152 * sysdeps/unix/sysv/linux/sigprocmask.c
52153 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52154 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52155 * sysdeps/unix/sysv/linux/sigsuspend.c
52156 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52157 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52158 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
52159 (__libc_missing_rt_sigs): Remove.
52160 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
52161 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
52162 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
52163 Remove conditional code.
52164 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
52165 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
52166 return 1.
52167 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
52168 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
52169 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
52170 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
52171
52172 2012-05-14 Andreas Jaeger <aj@suse.de>
52173
52174 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
52175 it's not used in glibc.
52176 (__coshm1): Likewise.
52177 (__acosh1p): Likewise.
52178 (__sgn): Likewise.
52179
52180 * manual/string.texi (Copying and Concatenation): Add missing
52181 variable in concat example.
52182 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
52183
52184 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52185
52186 [BZ #14103]
52187 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
52188 __builtin_clzl with __builtin_clzll.
52189
52190 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52191
52192 [BZ #14104]
52193 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
52194 libc_freeres_ptr.
52195
52196 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52197
52198 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
52199 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
52200 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
52201 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
52202
52203 2012-05-14 Mike Frysinger <vapier@gentoo.org>
52204
52205 * NEWS: Update ia64 info.
52206
52207 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
52208
52209 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
52210 used as bcopy.
52211
52212 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
52213
52214 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
52215 * sysdeps/unix/syscalls.list (dup3): Likewise.
52216 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
52217 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
52218
52219 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
52220
52221 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
52222 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
52223
52224 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
52225
52226 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
52227 thread pointer.
52228 (TLS_IE): Use mov/add instead of movq/addq to load thread
52229 pointer.
52230 (TLS_GD_PREFIX): New.
52231 (TLS_GD): Use it.
52232
52233 2012-05-11 David S. Miller <davem@davemloft.net>
52234
52235 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
52236 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
52237 (_FPU_SETCW): Likewise.
52238
52239 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52240
52241 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
52242 is 32-byte aligned.
52243
52244 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
52245
52246 [BZ #11837]
52247 * iconvdata/gb18030.c: Update tables.
52248 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
52249 characters specially.
52250 (BODY for TO_LOOP): Add encoding of missing ranges.
52251
52252 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
52253
52254 [BZ #13673]
52255 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
52256 * sysdeps/mach/hurd/dup3.c: Likewise.
52257 * sysdeps/mach/hurd/readlinkat.c: Likewise.
52258 * sysdeps/powerpc/memmove.c:: Likewise.
52259
52260 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52261
52262 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
52263 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
52264
52265 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52266
52267 * elf/elf.h (R_X86_64_RELATIVE64): New.
52268 (R_X86_64_NUM): Updated.
52269 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
52270 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
52271 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
52272 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
52273 tst-quad1pie tst-quad2pie
52274 (modules-names): Add tst-quadmod1 tst-quadmod2.
52275 ($(objpfx)tst-quad1): New dependency.
52276 ($(objpfx)tst-quad2): Likewise.
52277 ($(objpfx)tst-quad1pie): Likewise.
52278 ($(objpfx)tst-quad2pie): Likewise.
52279 * sysdeps/x86_64/tst-quad1.c: New file.
52280 * sysdeps/x86_64/tst-quad1pie.c: New file.
52281 * sysdeps/x86_64/tst-quad2.c: Likewise.
52282 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
52283 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
52284 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
52285 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
52286 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
52287
52288 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52289
52290 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
52291 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
52292 * streams/stropts.h (t_scalar_t): Define type.
52293
52294 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
52295 (_PATH_PRESERVE): Set to "/var/lib".
52296 (_PATH_RWHODIR): Set to "/var/spool/rwho".
52297
52298 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
52299 instead of int.
52300
52301 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
52302 if __dir_mkfile succeeded.
52303
52304 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
52305 checking for _hurd_dtablesize. Unlock it right after having
52306 finished _hurd_dtable allocation.
52307
52308 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52309
52310 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
52311 * sysdeps/mach/hurd/configure: Regenerated.
52312 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
52313 special-casing to...
52314 * sysdeps/gnu/configure.in: ... this new file.
52315 * sysdeps/unix/sysv/linux/configure: Regenerated.
52316 * sysdeps/gnu/configure: New generated file.
52317
52318 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
52319 for Linux: use nsec instead of usec, as well as:
52320 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
52321 members of type struct timespec.
52322 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
52323 New macros.
52324 (struct stat64): Likewise.
52325 (_STATBUF_ST_NSEC): New macro.
52326 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
52327
52328 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
52329 __strtoul_internal rather than strtoul.
52330
52331 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52332
52333 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
52334 and reject them.
52335
52336 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52337
52338 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
52339 which preserves existing values.
52340 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
52341
52342 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52343
52344 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
52345 TIMEOUT values. Return EINVAL for NFDS values either negative or
52346 greater than FD_SETSIZE.
52347
52348 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52349
52350 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
52351 allocated, call __vm_protect to finish enabling the existing space, and
52352 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
52353 allocate the remainder.
52354
52355 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52356
52357 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
52358 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
52359
52360 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52361
52362 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
52363 sysdeps/mach/hurd/readlink.c.
52364
52365 * posix/tst-sysconf.c (posix_options): Only use
52366 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
52367 _POSIX_SYNCHRONIZED_IO when they are defined
52368 * sysdeps/mach/hurd/bits/posix_opt.h:
52369 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
52370 (_XOPEN_REALTIME): Undefine macro.
52371 (_XOPEN_REALTIME_THREADS): Undefine macro.
52372 (_XOPEN_SHM): Undefine macro.
52373 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
52374 macro to -1.
52375 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
52376 macro to -1.
52377 (_POSIX_ASYNC_IO): Undefine macro.
52378 (_POSIX_PRIORITIZED_IO): Undefine macro.
52379 (_POSIX_SPIN_LOCKS): Define macro to -1.
52380
52381 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
52382 SA_NODEFER, SA_RESETHAND.
52383 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
52384 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
52385 F_DUPFD_CLOEXEC.
52386
52387 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52388
52389 * elf/Makefile (pldd-modules): Define unconditionally.
52390
52391 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52392
52393 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
52394
52395 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52396
52397 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
52398 Return ENOENT when name is empty.
52399 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
52400
52401 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52402
52403 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
52404
52405 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
52406
52407 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52408
52409 Fix mlock in all cases except non-readable pages.
52410 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
52411 instead of VM_PROT_ALL as parameter to __vm_wire function.
52412
52413 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
52414 (__mkdir): When path is `/', just fail with EEXIST.
52415 * sysdeps/mach/hurd/mkdirat.c: Likewise.
52416
52417 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52418
52419 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
52420 <sys/uio.h> (for writev).
52421 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
52422 and <sys/param.h> (for MIN).
52423
52424 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52425
52426 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
52427 REQUESTED_TIME. Properly set the remaining time and return EINTR
52428 if interrupted.
52429
52430 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52431
52432 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
52433 Depend on against $(link-rpcuserlibs).
52434
52435 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52436
52437 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
52438 (__libc_stack_end): Do not use attribute_relro.
52439 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
52440 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
52441 to libthread-provided value.
52442 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
52443 attribute_relro.
52444
52445 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52446
52447 [BZ #3748]
52448 * bits/libc-lock.h (__libc_once_get): New macro.
52449 * sysdeps/mach/bits/libc-lock.h: Likewise.
52450 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
52451 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
52452 instead of using implementation details.
52453
52454 * libio/fileops.c: Unconditionally include <kernel-features.h>.
52455 * libio/freopen.c: Likewise.
52456 * libio/freopen64.c: Likewise.
52457 * misc/syslog.c: Likewise.
52458 * nscd/connections.c: Likewise.
52459 * nscd/netgroupcache.c: Likewise.
52460 * sysdeps/posix/getcwd.c: Likewise.
52461
52462 2012-05-10 Roland McGrath <roland@hack.frob.com>
52463
52464 * math/w_ilogbf.c: Add #include <limits.h>.
52465
52466 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52467
52468 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
52469 path instead of returning without unlocking.
52470
52471 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
52472 immediate-write ioctls.
52473 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
52474
52475 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52476
52477 * sysdeps/mach/hurd/i386/init-first.c (init): Use
52478 __builtin_frame_address instead of making assumptions about the
52479 location of the return address relative to DATA. Force early load of
52480 the return address.
52481 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
52482 __builtin_frame_address.
52483
52484 dup3 for GNU Hurd.
52485 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
52486 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
52487 implement dup3 and do some further code clean-ups.
52488 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
52489 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
52490
52491 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52492
52493 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
52494
52495 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
52496 HURD_CRITICAL_END around holding _hurd_dtable_lock.
52497 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
52498 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
52499 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
52500 d->port.lock.
52501
52502 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
52503 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
52504 when handler == SIG_ERR, not when handler != SIG_ERR.
52505
52506 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52507
52508 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
52509 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
52510 definitions.
52511
52512 accept4 for GNU Hurd.
52513 * include/sys/socket.h (__libc_accept4): New prototype.
52514 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
52515 to implement __libc_accept4.
52516 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
52517 __libc_accept4.
52518 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
52519
52520 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
52521 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
52522 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
52523 signal-defines.sym.
52524
52525 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52526
52527 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
52528
52529 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52530
52531 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
52532 assertion on O_CLOEXEC flag.
52533 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
52534 * hurd/intern-fd.c: Likewise.
52535 * hurd/port2fd.c: Likewise.
52536
52537 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52538
52539 [BZ #3906]
52540 * bits/in.h (IPV6_PKTINFO): Define new macro.
52541 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
52542
52543 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52544
52545 [BZ #13954]
52546 [BZ #13955]
52547 [BZ #13956]
52548 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
52549 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
52550 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
52551 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
52552 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52553 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
52554 * math/libm-test.inc (logb_test) : Additional logb tests.
52555
52556 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
52557 Andreas Jaeger <aj@suse.de>
52558
52559 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
52560 * configure: Regenerated.
52561 * config.h.in (LINK_OBSOLETE_RPC): New macro.
52562 * config.make.in (link-obsolete-rpc): New substituted variable.
52563 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
52564 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
52565 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
52566 (shared-only-routines): Don't set it under [link-obsolete-rpc],
52567 so that libc.a contains the symbols.
52568 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
52569 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
52570 * sunrpc/auth_none.c: Likewise.
52571 * sunrpc/auth_unix.c: Likewise.
52572 * sunrpc/authdes_prot.c: Likewise.
52573 * sunrpc/authuxprot.c: Likewise.
52574 * sunrpc/clnt_gen.c: Likewise.
52575 * sunrpc/clnt_perr.c: Likewise.
52576 * sunrpc/clnt_raw.c: Likewise.
52577 * sunrpc/clnt_simp.c: Likewise.
52578 * sunrpc/clnt_tcp.c: Likewise.
52579 * sunrpc/clnt_udp.c: Likewise.
52580 * sunrpc/clnt_unix.c: Likewise.
52581 * sunrpc/des_crypt.c: Likewise.
52582 * sunrpc/des_soft.c: Likewise.
52583 * sunrpc/get_myaddr.c: Likewise.
52584 * sunrpc/key_call.c: Likewise.
52585 * sunrpc/key_prot.c: Likewise.
52586 * sunrpc/netname.c: Likewise.
52587 * sunrpc/pm_getmaps.c: Likewise.
52588 * sunrpc/pm_getport.c: Likewise.
52589 * sunrpc/pmap_clnt.c: Likewise.
52590 * sunrpc/pmap_prot.c: Likewise.
52591 * sunrpc/pmap_prot2.c: Likewise.
52592 * sunrpc/pmap_rmt.c: Likewise.
52593 * sunrpc/publickey.c: Likewise.
52594 * sunrpc/rpc_cmsg.c: Likewise.
52595 * sunrpc/rpc_common.c: Likewise.
52596 * sunrpc/rpc_dtable.c: Likewise.
52597 * sunrpc/rpc_prot.c: Likewise.
52598 * sunrpc/rpc_thread.c: Likewise.
52599 * sunrpc/rtime.c: Likewise.
52600 * sunrpc/svc.c: Likewise.
52601 * sunrpc/svc_auth.c: Likewise.
52602 * sunrpc/svc_raw.c: Likewise.
52603 * sunrpc/svc_run.c: Likewise.
52604 * sunrpc/svc_tcp.c: Likewise.
52605 * sunrpc/svc_udp.c: Likewise.
52606 * sunrpc/svc_unix.c: Likewise.
52607 * sunrpc/svcauth_des.c: Likewise.
52608 * sunrpc/xcrypt.c: Likewise.
52609 * sunrpc/xdr.c: Likewise.
52610 * sunrpc/xdr_array.c: Likewise.
52611 * sunrpc/xdr_float.c: Likewise.
52612 * sunrpc/xdr_intXX_t.c: Likewise.
52613 * sunrpc/xdr_mem.c: Likewise.
52614 * sunrpc/xdr_rec.c: Likewise.
52615 * sunrpc/xdr_ref.c: Likewise.
52616 * sunrpc/xdr_sizeof.c: Likewise.
52617 * sunrpc/xdr_stdio.c: Likewise.
52618
52619 2012-05-10 Roland McGrath <roland@hack.frob.com>
52620
52621 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
52622 change. Update copyright years.
52623
52624 2012-05-10 Joseph Myers <joseph@codesourcery.com>
52625
52626 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
52627
52628 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
52629 Joseph Myers <joseph@codesourcery.com>
52630 Paul Pluzhnikov <ppluzhnikov@google.com>
52631
52632 [BZ #14012]
52633 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
52634 requiring rpcgen.
52635 [cross-compiling] (extra-libs): Likewise.
52636 [cross-compiling] (extra-libs-others): Likewise.
52637 [cross-compiling] (librpcsvc-routines): Likewise.
52638 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
52639 [cross-compiling] (omit-deps): Likewise.
52640 (sunrpc-CPPFLAGS): New variable.
52641 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
52642 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
52643 (cross-rpcgen-objs): New variable.
52644 (extra-objs): Append $(cross-rpcgen-objs).
52645 ($(cross-rpcgen-objs)): New rule.
52646 ($(objpfx)cross-rpcgen): Likewise.
52647 (rpcgen-cmd): Define to use $(built-program-file). Expand
52648 comment.
52649 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
52650 ($(objpfx)x%.stmp): Likewise.
52651 * sunrpc/proto.h [IS_IN_build] (_): Define.
52652 [IS_IN_build] (_libc_intl_domainname): Likewise.
52653
52654 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52655
52656 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
52657 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
52658 and R_X86_64_TPOFF64.
52659
52660 2012-05-10 Joseph Myers <joseph@codesourcery.com>
52661
52662 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
52663 sysdeps/unix/sysv/syscalls.list.
52664 (stime): Likewise.
52665 (utime): Likewise.
52666 * sysdeps/unix/sysv/syscalls.list: Remove file.
52667
52668 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
52669
52670 [BZ #3440]
52671 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
52672 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
52673 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
52674 (__LC_IDENTIFICATION): Make these macros useful in #if
52675 expressions, as required by C99.
52676
52677 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
52678
52679 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
52680 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
52681 after this.
52682
52683 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
52684
52685 * stdlib/longlong.h: Updated from GCC.
52686
52687 2012-05-09 Andreas Jaeger <aj@suse.de>
52688
52689 * nscd/nscd.c (run_modes): Make named enum, reorder so that
52690 default is first entry.
52691 (run_mode): Set type.
52692 (main): Remove informal message about syslog.
52693 (options): Fix typo.
52694
52695 [BZ #14053]
52696 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
52697 to asm.
52698 (lrint): Likewise.
52699 (llrintf): Likewise.
52700 (llrint): Likewise.
52701 (rint): Likewise.
52702 (rintf): Likewise.
52703 (nearbyint): Likewise.
52704 (nearbyintf): Likewise.
52705
52706 2012-05-09 Andreas Jaeger <aj@suse.de>
52707 Pedro Alves <palves@redhat.com>
52708
52709 * nscd/nscd.c (run_mode): Use enum.
52710 (main): Cleanup coding style issue.
52711
52712 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
52713 Andreas Jaeger <aj@suse.de>
52714
52715 * nscd/nscd.c (go_background): Replaced with...
52716 (run_mode): ... this.
52717 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
52718 (options): Add -F --foreground.
52719 (main): Implement it.
52720 (parse_opt): Parse it.
52721
52722 2012-05-09 Andreas Jaeger <aj@suse.de>
52723
52724 [BZ #14083]
52725 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
52726 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
52727 -Wconversion warning.
52728 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
52729 Likewise.
52730
52731 2012-05-09 Joseph Myers <joseph@codesourcery.com>
52732
52733 * conform/data/locale.h-data (NULL): Use macro-constant. Require
52734 == 0.
52735 (LC_ALL): Use macro-int-constant.
52736 (LC_COLLATE): Likewise.
52737 (LC_CTYPE): Likewise.
52738 (LC_MESSAGES): Likewise.
52739 (LC_MONETARY): Likewise.
52740 (LC_NUMERIC): Likewise.
52741 (LC_TIME): Likewise.
52742 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
52743 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
52744 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52745 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
52746 Specify type.
52747 [C99-based standards] (float_t): Expect type.
52748 [C99-based standards] (double_t): Expect type.
52749 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
52750 type.
52751 [C99-based standards] (HUGE_VALL): Likewise.
52752 [C99-based standards] (INFINITY): Likewise.
52753 [C99-based standards] (NAN): Likewise.
52754 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
52755 [C99-based standards] (FP_NAN): Likewise.
52756 [C99-based standards] (FP_NORMAL): Likewise.
52757 [C99-based standards] (FP_SUBNORMAL): Likewise.
52758 [C99-based standards] (FP_ZERO): Likewise.
52759 [C99-based standards] (FP_FAST_FMA): Use
52760 optional-macro-int-constant. Specify type. Require == 1.
52761 [C99-based standards] (FP_FAST_FMAF): Likewise.
52762 [C99-based standards] (FP_FAST_FMAL): Likewise.
52763 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
52764 [C99-based standards] (FP_ILOGBNAN): Likewise.
52765 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
52766 Specify type.
52767 [C99-based standards] (MATH_ERREXCEPT): Likewise.
52768 [C99-based standards] (math_errhandling): Specify type.
52769 [ISO99 || ISO11] (signgam): Do not allow.
52770 [non-C99-based standards] (copysignf): Do not allow.
52771 [non-C99-based standards] (exp2f): Likewise.
52772 [non-C99-based standards] (log2f): Likewise.
52773 [non-C99-based standards] (modff): Allow.
52774 [non-C99-based standards] (erff): Do not allow.
52775 [non-C99-based standards] (erfcf): Likewise.
52776 [non-C99-based standards] (gammaf): Likewise.
52777 [non-C99-based standards] (hypotf): Likewise.
52778 [non-C99-based standards] (j0f): Likewise.
52779 [non-C99-based standards] (j1f): Likewise.
52780 [non-C99-based standards] (jnf): Likewise.
52781 [non-C99-based standards] (lgammaf): Likewise.
52782 [non-C99-based standards] (tgammaf): Likewise.
52783 [non-C99-based standards] (y0f): Likewise.
52784 [non-C99-based standards] (y1f): Likewise.
52785 [non-C99-based standards] (ynf): Likewise.
52786 [non-C99-based standards] (isnanf): Likewise.
52787 [non-C99-based standards] (acoshf): Likewise.
52788 [non-C99-based standards] (asinhf): Likewise.
52789 [non-C99-based standards] (atanhf): Likewise.
52790 [non-C99-based standards] (cbrtf): Likewise.
52791 [non-C99-based standards] (expm1f): Likewise.
52792 [non-C99-based standards] (ilogbf): Likewise.
52793 [non-C99-based standards] (log1pf): Likewise.
52794 [non-C99-based standards] (logbf): Likewise.
52795 [non-C99-based standards] (nextafterf): Likewise.
52796 [non-C99-based standards] (remainderf): Likewise.
52797 [non-C99-based standards] (rintf): Likewise.
52798 [non-C99-based standards] (scalbf): Likewise.
52799 [non-C99-based standards] (copysignl): Likewise.
52800 [non-C99-based standards] (exp2l): Likewise.
52801 [non-C99-based standards] (log2l): Likewise.
52802 [non-C99-based standards] (modfl): Allow.
52803 [non-C99-based standards] (erfl): Do not allow.
52804 [non-C99-based standards] (erfcl): Likewise.
52805 [non-C99-based standards] (gammal): Likewise.
52806 [non-C99-based standards] (hypotl): Likewise.
52807 [non-C99-based standards] (j0l): Likewise.
52808 [non-C99-based standards] (j1l): Likewise.
52809 [non-C99-based standards] (jnl): Likewise.
52810 [non-C99-based standards] (lgammal): Likewise.
52811 [non-C99-based standards] (tgammal): Likewise.
52812 [non-C99-based standards] (y0l): Likewise.
52813 [non-C99-based standards] (y1l): Likewise.
52814 [non-C99-based standards] (ynl): Likewise.
52815 [non-C99-based standards] (isnanl): Likewise.
52816 [non-C99-based standards] (acoshl): Likewise.
52817 [non-C99-based standards] (asinhl): Likewise.
52818 [non-C99-based standards] (atanhl): Likewise.
52819 [non-C99-based standards] (cbrtl): Likewise.
52820 [non-C99-based standards] (expm1l): Likewise.
52821 [non-C99-based standards] (ilogbl): Likewise.
52822 [non-C99-based standards] (log1pl): Likewise.
52823 [non-C99-based standards] (logbl): Likewise.
52824 [non-C99-based standards] (nextafterl): Likewise.
52825 [non-C99-based standards] (remainderl): Likewise.
52826 [non-C99-based standards] (rintl): Likewise.
52827 [non-C99-based standards] (scalbl): Likewise.
52828 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52829 [non-C99-based standards] (FP_*): Do not allow.
52830 [C99-based standards] (FP_*): Change to
52831 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
52832 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52833 allow.
52834 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
52835 (SIG_ERR): Likewise.
52836 [X/Open-based standards] (SIG_HOLD): Likewise.
52837 (SIG_IGN): Likewise.
52838 (SIGABRT): Use macro-int-constant. Specify type. Require
52839 positive value.
52840 (SIGFPE): Likewise.
52841 (SIGILL): Likewise.
52842 (SIGINT): Likewise.
52843 (SIGSEGV): Likewise.
52844 (SIGTER): Likewise.
52845 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
52846 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
52847 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
52848 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
52849 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
52850 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
52851 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
52852 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
52853 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
52854 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
52855 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
52856 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
52857 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
52858 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
52859 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
52860 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
52861 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
52862 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
52863 [X/Open-based standards] (SIGTRAP): Likewise.
52864 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
52865 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
52866 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
52867 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
52868 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52869 allow.
52870
52871 2012-05-08 Ian Wienand <ianw@vmware.com>
52872
52873 [BZ #14080]
52874 * time/tzset.c (__tzset_parse_tz): Update default rules for
52875 daylight time changes in the Energy Policy Act of 2005.
52876
52877 2012-05-09 Andreas Jaeger <aj@suse.de>
52878
52879 [BZ #13983]
52880 * elf/ldconfig.c (parse_conf): Change string to make clear that
52881 ldconfig only issued a warning if ld.so.conf does not exist.
52882
52883 2012-05-08 David S. Miller <davem@davemloft.net>
52884
52885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
52886 movxtod instead of popping the value on the stack.
52887
52888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52889
52890 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
52891
52892 * config.h.in: Add HAVE_ARM_PCS_VFP.
52893
52894 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
52895
52896 [BZ #13979]
52897 * include/features.h: Warn if user requests __FORTIFY_SOURCE
52898 checking but the checks are disabled for any reason.
52899
52900 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
52901
52902 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
52903 and ELF64_R_TYPE with ELFW(R_TYPE).
52904
52905 2012-05-08 Joseph Myers <joseph@codesourcery.com>
52906
52907 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
52908 (ulimit): Likewise.
52909
52910 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
52911 (settimeofday): Likewise.
52912
52913 2012-05-08 Mike Frysinger <vapier@gentoo.org>
52914
52915 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
52916 a struct th_u2 inside the union, and move tu_block/tu_code into
52917 a new th_u3 union of tu_block/tu_code inside of that. Move
52918 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
52919 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
52920 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
52921 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
52922 (th_stuff): Change to th_u1.tu_stuff.
52923 (th_data): Define.
52924 (th_msg): Change to th_u1.th_u2.tu_data.
52925
52926 2012-05-07 David S. Miller <davem@davemloft.net>
52927
52928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52929
52930 [BZ #14074]
52931 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
52932 (SETUP_PIC_REG): Use it.
52933 (SETUP_PIC_REG_LEAF): Use it.
52934
52935 2012-05-07 Joseph Myers <joseph@codesourcery.com>
52936
52937 [BZ #13885]
52938 [BZ #13923]
52939 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52940 USE_AS_EXPM1L.
52941 (EXPL_FINITE): Likewise.
52942 (FLDLOG): Likewise.
52943 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
52944 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
52945 e_expl.S.
52946 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52947 USE_AS_EXPM1L.
52948 (EXPL_FINITE): Likewise.
52949 (FLDLOG): Likewise.
52950 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
52951 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
52952 e_expl.S.
52953 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
52954 test of -max_value argument for long double.
52955 * sysdeps/i386/fpu/libm-test-ulps: Update.
52956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52957
52958 2012-05-06 David S. Miller <davem@davemloft.net>
52959
52960 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
52961 quad soft-float symbols whose references which are compiler
52962 generated.
52963 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52964
52965 2012-05-06 Joseph Myers <joseph@codesourcery.com>
52966
52967 [BZ #13884]
52968 [BZ #13914]
52969 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52970 USE_AS_EXP10L.
52971 (EXPL_FINITE): Likewise.
52972 (FLDLOG): Likewise.
52973 (c0): Likewise.
52974 (c1): Likewise.
52975 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
52976 Adjust comments for base varying.
52977 (__expl_finite): Change alias to EXPL_FINITE.
52978 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
52979 e_expl.S.
52980 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
52981 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
52982 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
52983 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
52984 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52985 USE_AS_EXP10L.
52986 (EXPL_FINITE): Likewise.
52987 (FLDLOG): Likewise.
52988 (c0): Likewise.
52989 (c1): Likewise.
52990 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
52991 Adjust comments for base varying.
52992 (__expl_finite): Change alias to EXPL_FINITE.
52993 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
52994 tests for bugs.
52995 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52996
52997 [BZ #14064]
52998 * math/libm-test.inc (check_float_internal): Correct ulp
52999 calculation for subnormal expected results.
53000
53001 2012-05-06 Andreas Jaeger <aj@suse.de>
53002
53003 * Makeconfig (+math-flags): New, set to -frounding-math.
53004 (+cflags): Add +math-flags so that all of glibc gets compiled with
53005 it.
53006
53007 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
53008
53009 2012-05-05 Joseph Myers <joseph@codesourcery.com>
53010
53011 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
53012 Disable one test.
53013
53014 [BZ #13787]
53015 [BZ #13922]
53016 [BZ #14036]
53017 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
53018 (__ieee754_expl): Allow for and saturate large arguments.
53019 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
53020 (u_threshold): Likewise.
53021 (__exp): Call __ieee754_exp before checking for overflow and
53022 underflow.
53023 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
53024 (u_threshold): Likewise.
53025 (__expf): Call __ieee754_expf before checking for overflow and
53026 underflow.
53027 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
53028 (u_threshold): Likewise.
53029 (__expl): Call __ieee754_expl before checking for overflow and
53030 underflow.
53031 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
53032 (__ieee754_expl): Allow for and saturate large arguments.
53033 * math/libm-test.inc (exp_test): Add another test. Do not allow
53034 missing overflow exception on overflow.
53035 (expm1_test): Do not allow missing overflow exception on overflow.
53036
53037 * sysdeps/i386/fpu/e_expl.c: Move to ...
53038 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
53039 rather than using inline asm.
53040 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
53041 * sysdeps/x86_64/fpu/e_expl.S: Copy from
53042 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
53043
53044 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
53045 (nice): Likewise.
53046 (poll): Likewise.
53047 (signal): Likewise.
53048 (time): Likewise.
53049 (times): Likewise.
53050
53051 2012-05-04 Joseph Myers <joseph@codesourcery.com>
53052
53053 * sysdeps/unix/syscalls.list (adjtime): Add entry from
53054 sysdeps/unix/common/syscalls.list.
53055 (fchmod): Likewise.
53056 (fchown): Likewise.
53057 (ftruncate): Likewise.
53058 (getrusage): Likewise.
53059 (gettimeofday): Likewise.
53060 (setpgid): Likewise.
53061 (setregid): Likewise.
53062 (setreuid): Likewise.
53063 (sigaction): Likewise.
53064 (truncate): Likewise.
53065 (vhangup): Likewise.
53066 * sysdeps/unix/common/syscalls.list: Remove file.
53067 * sysdeps/unix/bsd/Implies: Don't include unix/common.
53068 * sysdeps/unix/sysv/linux/Implies: Likewise.
53069
53070 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
53071
53072 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
53073 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
53074 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
53075 Moved to ...
53076 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
53077 Here.
53078 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
53079 to ...
53080 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
53081 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
53082 to ...
53083 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
53084 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
53085 to ...
53086 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
53087 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
53088 to ...
53089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
53090 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
53091 to ...
53092 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
53093 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
53094 to ...
53095 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
53096 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
53097 to ...
53098 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
53099 Here.
53100 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
53101 to ...
53102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
53103 Here.
53104 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
53105 to ...
53106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
53107 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
53108 Moved to ...
53109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
53110 Here.
53111 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
53112 to ...
53113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
53114
53115 2012-05-04 Joseph Myers <joseph@codesourcery.com>
53116
53117 * sysdeps/unix/common/bits/dirent.h: Remove file.
53118 * sysdeps/unix/common/bits/fcntl.h: Likewise.
53119
53120 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
53121 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
53122 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
53123 * sysdeps/unix/bsd/isatty.c: Likewise.
53124 * sysdeps/unix/bsd/tcdrain.c: Likewise.
53125 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
53126 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
53127
53128 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53129
53130 [BZ #13563]
53131 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
53132 long double comparison inaccuracies.
53133 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
53134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53135
53136 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
53137
53138 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
53139 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
53140
53141 2012-05-04 Joseph Myers <joseph@codesourcery.com>
53142
53143 [BZ #14049]
53144 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
53145 nonzero digits before rounding a hex value.
53146 * stdlib/tst-strtod.c (tests): Add another test.
53147
53148 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53149
53150 * sysdeps/s390/fpu/libm-test-ulps: Update.
53151
53152 2012-05-03 Andreas Jaeger <aj@suse.de>
53153
53154 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
53155 does not get optimized out.
53156 (malloc_opt_barrier): New.
53157
53158 2012-05-03 Andreas Jaeger <aj@suse.de>
53159 Roland McGrath <roland@hack.frob.com>
53160
53161 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
53162 intermediate file deletion.
53163 (generated): Add .symlist files.
53164
53165 2012-05-03 Joseph Myers <joseph@codesourcery.com>
53166
53167 [BZ #13775]
53168 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
53169 Redirect under this condition.
53170 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
53171 [__USE_GNU] (__dprintf_chk): Not under this condition.
53172 [__USE_GNU] (__vdprintf_chk): Likewise.
53173 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
53174 under this condition.
53175 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
53176 [__USE_XOPEN2K8] (dprintf): Define under this condition.
53177 [__USE_XOPEN2K8] (vdprintf): Likewise.
53178 [__USE_GNU] (__dprintf_chk): Not under this condition.
53179 [__USE_GNU] (__vdprintf_chk): Likewise.
53180 [__USE_GNU] (dprintf): Likewise.
53181 [__USE_GNU] (vdprintf): Likewise.
53182
53183 2012-05-03 Roland McGrath <roland@hack.frob.com>
53184
53185 * elf/Makefile (common-generated): Set this instead of generated for
53186 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
53187 $(all-built-dso)-derived lists.
53188
53189 2012-05-03 Andreas Jaeger <aj@suse.de>
53190
53191 * sysdeps/i386/fpu/libm-test-ulps: Update.
53192
53193 * FAQ: Removed.
53194 * FAQ.in: Likewise.
53195 * scripts/gen-FAQ.pl: Likewise.
53196 * manual/install.texi (Installation): Point to online location of
53197 FAQ.
53198 * Makefile (files-for-dist): Remove FAQ.
53199 (FAQ): Remove.
53200
53201 2012-05-02 Allan McRae <allan@archlinux.org>
53202
53203 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
53204 (LDFLAGS-reldepmod5.so): Likewise.
53205 (LDFLAGS-reldep6mod1.so): Likewise.
53206 (LDFLAGS-reldep6mod4.so): Likewise.
53207 (LDFLAGS-reldep8mod3.so): Likewise.
53208 (LDFLAGS-unload4mod1.so): Likewise.
53209 (LDFLAGS-unload4mod2.so): Likewise.
53210 (LDFLAGS-tst-initorder): Likewise.
53211 (LDFLAGS-tst-initordera2.so): Likewise.
53212 (LDFLAGS-tst-initordera3.so): Likewise.
53213 (LDFLAGS-tst-initordera4.so): Likewise.
53214 (LDFLAGS-tst-initorderb2.so): Likewise.
53215 (LDFLAGS-noload): Likewise.
53216 (LDFLAGS-next): Likewise.
53217 (LDFLAGS-order2mod1.so): Likewise.
53218 (LDFLAGS-order2mod2.so): Likewise.
53219 (LDFLAGS-tst-initorder2): Likewise.
53220 (LDFLAGS-tst-initorder2a.so): Likewise.
53221 (LDFLAGS-tst-initorder2b.so): Likewise.
53222 (LDFLAGS-tst-initorder2c.so): Likewise.
53223 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
53224
53225 2012-05-02 David S. Miller <davem@davemloft.net>
53226
53227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53228
53229 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
53230
53231 [BZ #14055]
53232 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
53233
53234 2012-05-02 Andreas Jaeger <aj@suse.de>
53235
53236 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
53237 since we manipulate rounding mode.
53238 (CPPFLAGS-test-idouble.c): Likewise.
53239 (CPPFLAGS-test-ifloat.c): Likewise.
53240 (CFLAGS-test-ldouble.c): Likewise.
53241 (CFLAGS-test-double.c): Likewise.
53242 (CFLAGS-test-float.c): Likewise.
53243 (CFLAGS-test-misc.c): Likewise.
53244 (CFLAGS-test-test-fenv.c): Likewise.
53245
53246 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53247
53248 [BZ #2550]
53249 [BZ #2570]
53250 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
53251 comparisons to determine direction to adjust input.
53252
53253 2012-05-01 Roland McGrath <roland@hack.frob.com>
53254
53255 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
53256 output to the target.
53257
53258 * scripts/localplt.awk: New file.
53259 * elf/Makefile ($(objpfx)check-localplt): Target removed.
53260 (check-localplt-CFLAGS): Variable removed.
53261 ($(all-built-dso:=.jmprel)): New static pattern rule.
53262 (generated): Add those targets.
53263 (localplt-built-dso): New variable.
53264 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
53265
53266 * elf/check-localplt.c: File removed.
53267
53268 * scripts/check-execstack.awk: New file.
53269 * elf/Makefile ($(objpfx)check-execstack): Target removed.
53270 (check-execstack-CFLAGS): Variable removed.
53271 ($(objpfx)check-execstack.h): Target removed.
53272 ($(objpfx)execstack-default): New target.
53273 (generated): Add that instead of check-execstack.h.
53274 ($(all-built-dso:=.phdr)): New static pattern rule.
53275 (generated): Add those targets.
53276 * elf/check-execstack.c: File removed.
53277
53278 * scripts/check-textrel.awk: New file.
53279 * elf/Makefile ($(objpfx)check-textrel): Target removed.
53280 (check-textrel-CFLAGS): Variable removed.
53281 (all-built-dso): Use := to define.o
53282 ($(all-built-dso:=.dyn)): New static pattern rule.
53283 (generated): Add those targets.
53284 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
53285 * config.make.in (READELF): New substituted variable.
53286 * elf/check-textrel.c: File removed.
53287
53288 2012-05-01 Joseph Myers <joseph@codesourcery.com>
53289
53290 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53291 allow.
53292 * conform/data/ctype.h-data [C99-based standards] (isblank):
53293 Expect function.
53294 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
53295 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
53296 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53297 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
53298 Specify type. Require positive value.
53299 (EILSEQ): Likewise.
53300 (ERANGE): Likewise.
53301 [ISO || POSIX] (EILSEQ): Do not expect.
53302 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
53303 Specify type. Require positive value.
53304 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
53305 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
53306 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
53307 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
53308 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
53309 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
53310 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
53311 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
53312 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
53313 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
53314 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
53315 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
53316 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
53317 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
53318 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
53319 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
53320 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
53321 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
53322 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
53323 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
53324 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
53325 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
53326 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
53327 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
53328 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
53329 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
53330 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
53331 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
53332 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
53333 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
53334 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
53335 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
53336 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
53337 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
53338 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
53339 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
53340 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
53341 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
53342 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
53343 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
53344 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
53345 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
53346 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
53347 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
53348 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
53349 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
53350 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
53351 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
53352 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
53353 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
53354 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
53355 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
53356 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
53357 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
53358 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
53359 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
53360 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
53361 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
53362 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
53363 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
53364 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
53365 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
53366 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
53367 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
53368 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
53369 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
53370 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
53371 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
53372 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
53373 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
53374 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
53375 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
53376 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
53377 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
53378 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
53379 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
53380 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
53381 Require >= 2.
53382 (FLT_ROUNDS): Expect as macro, not constant.
53383 (FLT_MANT_DIG): Use macro-int-constant.
53384 (DBL_MANT_DIG): Likewise.
53385 (LDBL_MANT_DIG): Likewise.
53386 (FLT_DIG): Likewise.
53387 (DBL_DIG): Likewise.
53388 (LDBL_DIG): Likewise.
53389 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
53390 (DBL_MIN_EXP): Likewise.
53391 (LDBL_MIN_EXP): Likewise.
53392 (FLT_MAX_EXP): Use macro-int-constant.
53393 (DBL_MAX_EXP): Likewise.
53394 (LDBL_MAX_EXP): Likewise.
53395 (FLT_MAX_10_EXP): Likewise.
53396 (DBL_MAX_10_EXP): Likewise.
53397 (LDBL_MAX_10_EXP): Likewise.
53398 (FLT_MAX): Use macro-constant.
53399 (DBL_MAX): Likewise.
53400 (LDBL_MAX): Likewise.
53401 (FLT_EPSILON): Use macro-constant. Give upper bound.
53402 (DBL_EPSILON): Likewise.
53403 (LDBL_EPSILON): Likewise.
53404 (FLT_MIN): Likewise.
53405 (DBL_MIN): Likewise.
53406 (LDBL_MIN): Likewise.
53407 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
53408 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
53409 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
53410 [ISO11] (FLT_HAS_SUBNORM): Likewise.
53411 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
53412 [ISO11] (DBL_DECIMAL_DIG): Likewise.
53413 [ISO11] (FLT_DECIMAL_DIG): Likewise.
53414 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
53415 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
53416 [ISO11] (FLT_TRUE_MIN): Likewise.
53417 [ISO11] (LDBL_TRUE_MIN): Likewise.
53418 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53419 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
53420 (SCHAR_MIN): Use macro-int-constant. Specify type.
53421 (SCHAR_MAX): Likewise.
53422 (UCHAR_MAX): Likewise.
53423 (CHAR_MIN): Likewise.
53424 (CHAR_MAX): Likewise.
53425 (MB_LEN_MAX): Use macro-int-constant.
53426 (SHRT_MIN): Use macro-int-constant. Specify type.
53427 (SHRT_MAX): Likewise.
53428 (USHRT_MAX): Likewise.
53429 (INT_MAX): Likewise.
53430 (INT_MIN): Use macro-int-constant. Specify type. Make upper
53431 bound negative.
53432 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
53433 bound with "U".
53434 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
53435 bound with "L".
53436 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
53437 bound negative. Suffix upper bound with "L".
53438 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
53439 bound with "UL".
53440 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
53441 Specify type.
53442 [C99-based standards] (LLONG_MAX): Likewise.
53443 [C99-based standards] (ULLONG_MAX): Likewise.
53444 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
53445 == 0.
53446 [ISO11] (max_align_t): Require type.
53447 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53448
53449 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
53450 from $CFLAGS, without defining away __attribute__ calls.
53451 (checknamespace): Use $CFLAGS_namespace.
53452
53453 * conform/conformtest.pl (@keywords): Only include C99 keywords
53454 for standards based on C99 or C11.
53455
53456 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
53457 Disable tests.
53458 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
53459 UNIX98]: Likewise.
53460
53461 * conform/conformtest.pl: Handle "macro-int-constant" and test for
53462 usability of symbols in #if.
53463
53464 * conform/conformtest.pl: If macro or constant types start
53465 "promoted:", expect the symbol to be of the following type
53466 promoted by the integer promotions.
53467
53468 * conform/conformtest.pl: Parse all "constant" and "macro" lines
53469 in one place. Also handle "macro-constant".
53470
53471 * conform/conformtest.pl: Only accept expected macro values with
53472 "==". Parse all "macro" lines in one place.
53473 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
53474
53475 * conform/conformtest.pl: Handle braced types on "constant" lines
53476 instead of handling "typed-constant".
53477 * conform/data/signal.h-data: Use "constant" instead of
53478 "typed-constant".
53479
53480 * conform/conformtest.pl: Handle "optional-" at start of lines in
53481 one place rather than duplicating several cases. Handle each
53482 format of "macro" line with initial "optional-".
53483
53484 * conform/conformtest.pl: Only accept expected constant or
53485 optional-constant values with "==". Parse all "constant" lines in
53486 one place. Parse all "optional-constant" lines in one place.
53487 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
53488 * conform/data/fmtmsg.h-data: Likewise.
53489 * conform/data/netinet/in.h-data: Likewise.
53490 * conform/data/tar.h-data: Likewise.
53491 * conform/data/limits.h-data: Use "==" form on "constant" and
53492 "optional-constant" lines.
53493
53494 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
53495 Use -std=c99 for XOPEN2K.
53496 (@knownproblems): Remove.
53497 (newtoken): Don't check %isknown.
53498
53499 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
53500 Do not expect macro.
53501 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
53502 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
53503 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
53504 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
53505 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
53506 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
53507 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
53508 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
53509 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
53510 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
53511 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
53512 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
53513 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
53514 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
53515 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
53516 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
53517 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
53518 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
53519 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
53520 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
53521 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
53522 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
53523 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
53524 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
53525 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
53526 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
53527 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
53528 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
53529 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
53530 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
53531 [XPG3] (acosh): Likewise.
53532 [XPG3] (asinh): Likewise.
53533 [XPG3] (atanh): Likewise.
53534 [XPG3] (cbrt): Likewise.
53535 [XPG3] (expm1): Likewise.
53536 [XPG3] (ilogb): Likewise.
53537 [XPG3] (log1p): Likewise.
53538 [XPG3] (logb): Likewise.
53539 [XPG3] (nextafter): Likewise.
53540 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
53541 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
53542 [XPG3] (remainder): Likewise.
53543 [XPG3] (rint): Likewise.
53544 [XPG3 || XPG4 || UNIX98] (round): Likewise.
53545 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
53546 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
53547 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
53548 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
53549 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
53550 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
53551 [UNIX98 || XOPEN2K] (scalb): Expect.
53552 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
53553 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
53554 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
53555 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
53556 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
53557 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
53558 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
53559 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
53560 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
53561 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
53562 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
53563 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
53564 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
53565 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
53566 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
53567 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
53568 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
53569 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
53570 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
53571 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
53572 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
53573 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
53574 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
53575 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
53576 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
53577 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
53578 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
53579 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
53580 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
53581 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
53582 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
53583 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
53584 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
53585 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
53586 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
53587 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
53588 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
53589 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
53590 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
53591 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
53592 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
53593 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
53594 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
53595 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
53596 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
53597 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
53598 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
53599 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
53600 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
53601 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
53602 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
53603 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
53604 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
53605 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
53606 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
53607 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
53608 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
53609 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
53610 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
53611 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
53612 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
53613 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
53614 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
53615 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
53616 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
53617 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
53618 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
53619 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
53620 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
53621 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
53622 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
53623 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
53624 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
53625 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
53626 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
53627 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
53628 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
53629 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
53630 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
53631 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
53632 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
53633 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
53634 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
53635 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
53636 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
53637 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
53638 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
53639 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
53640 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
53641 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
53642 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
53643 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
53644 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
53645 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
53646 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
53647 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
53648 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
53649 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
53650 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
53651 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
53652 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
53653 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
53654 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
53655 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
53656 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
53657 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
53658 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
53659 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
53660 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
53661 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
53662 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
53663 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
53664 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
53665 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
53666 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
53667 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
53668 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
53669 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
53670 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
53671 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
53672 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
53673 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
53674 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
53675 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
53676 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
53677 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
53678 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
53679 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
53680 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
53681 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
53682 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
53683 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
53684 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
53685 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
53686 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
53687 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
53688 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
53689
53690 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
53691 _XOPEN_SOURCE_EXTENDED for XPG4.
53692
53693 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
53694
53695 * Makeconfig (localtime): Remove variable.
53696 (inst_localtime-file): Likewise.
53697
53698 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
53699
53700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
53701 Update.
53702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53703 Update.
53704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
53705 Update.
53706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
53707 Update.
53708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
53709 Update.
53710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
53711 Update.
53712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53713 Update.
53714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
53715 Update.
53716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53717 Update.
53718
53719 2012-05-01 Joseph Myers <joseph@codesourcery.com>
53720
53721 [BZ #2550]
53722 [BZ #2570]
53723 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
53724 comparisons to determine direction to adjust input.
53725 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
53726 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
53727 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
53728 Likewise.
53729 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
53730 Likewise.
53731 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
53732 Likewise.
53733 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
53734 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
53735 Likewise.
53736 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
53737 Likewise.
53738 * math/libm-test.inc (nexttoward_test): Add more tests.
53739
53740 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
53741
53742 [BZ #14040]
53743 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
53744 in version GLIBC_2.1, not GLIBC_2.0.
53745 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
53746 Likewise.
53747
53748 2012-04-30 Joseph Myers <joseph@codesourcery.com>
53749
53750 [BZ #13942]
53751 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
53752 (1 - x) * (1 + x).
53753 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
53754 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
53755 * math/libm-test.inc (acos_test): Add more tests.
53756 (asin_test): Likewise.
53757 * sysdeps/i386/fpu/libm-test-ulps: Update.
53758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53759
53760 [BZ #14034]
53761 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
53762 of square root.
53763 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
53764 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
53765 * math/libm-test.inc (acos_test_tonearest): New function.
53766 (acos_test_towardzero): Likewise.
53767 (acos_test_downward): Likewise.
53768 (acos_test_upward): Likewise.
53769 (asin_test_tonearest): Likewise.
53770 (asin_test_towardzero): Likewise.
53771 (asin_test_downward): Likewise.
53772 (asin_test_upward): Likewise.
53773 (main): Call the new functions.
53774 * sysdeps/i386/fpu/libm-test-ulps: Update.
53775 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53776
53777 [BZ #13884]
53778 [BZ #13924]
53779 * math/e_exp10.c: Include <float.h>.
53780 (__ieee754_exp10): Handle underflow here rather than multiplying
53781 large negative argument by M_LN10.
53782 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
53783 of __ieee754_expf.
53784 * math/e_exp10l.c: Include <float.h>.
53785 (__ieee754_exp10l): Handle underflow here rather than multiplying
53786 large negative argument by M_LN10l.
53787 * math/libm-test.inc (exp10_test): Add another test. Do not allow
53788 spurious overflow exception on underflow.
53789
53790 2012-04-29 Marek Polacek <polacek@redhat.com>
53791
53792 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
53793 (__fortify_function): New macro.
53794 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
53795 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
53796 __extern_always_inline.
53797 * libio/bits/stdio2.h: Likewise.
53798 * libio/bits/stdio.h: Likewise.
53799 * string/string.h: Likewise.
53800 * string/bits/string3.h: Likewise.
53801 * include/stdio.h: Likewise.
53802 * stdlib/bits/stdlib.h: Likewise.
53803 * stdlib/stdlib.h: Likewise.
53804 * rt/bits/mqueue2.h: Likewise.
53805 * rt/mqueue.h: Likewise.
53806 * posix/bits/unistd.h: Likewise.
53807 * posix/unistd.h: Likewise.
53808 * io/bits/poll2.h: Likewise.
53809 * io/bits/fcntl2.h: Likewise.
53810 * io/fcntl.h: Likewise.
53811 * io/sys/poll.h: Likewise.
53812 * misc/bits/syslog.h: Likewise.
53813 * misc/bits/syslog-ldbl.h: Likewise.
53814 * misc/sys/syslog.h: Likewise.
53815 * socket/bits/socket2.h: Likewise.
53816 * socket/sys/socket.h: Likewise.
53817 * debug/tst-chk1.c: Likewise.
53818 * wcsmbs/bits/wchar2.h: Likewise.
53819 * wcsmbs/bits/wchar-ldbl.h: Likewise.
53820 * wcsmbs/wchar.h: Likewise.
53821
53822 2012-04-29 Andreas Jaeger <aj@suse.de>
53823
53824 * Makerules (tests): Remove enable-check-abi protection.
53825 (check-abi-warn): Remove.
53826 (check-abi-%): Remove check-abi-warn usage.
53827
53828 * configure.in: Remove check-abi configure option.
53829 * configure: Regenerated.
53830 * config.make.in (enable-check-abi): Remove.
53831
53832 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
53833
53834 [BZ #14033]
53835 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
53836 double functions to double *_finite functions.
53837
53838 [BZ #13941]
53839 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
53840 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
53841 LDBL_MIN_EXP.
53842 * stdio-common/Makefile (tests): Add tst-sprintf3.
53843 * stdio-common/tst-sprintf3.c: New file.
53844
53845 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
53846 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
53847
53848 2012-04-28 Joseph Myers <joseph@codesourcery.com>
53849
53850 * conform/conformtest.pl: Remove duplicate typed-constant
53851 handling.
53852
53853 2012-04-28 David S. Miller <davem@davemloft.net>
53854
53855 * Makerules (%.abilist): Add vpath on sysdep_dirs.
53856 (check-abi-%): Remove AWK script prerequisite and explicit
53857 abilist directory.
53858 (check-abi): Rewrite to just diff the symlist with the abilist.
53859 (config-tls, config-abi-config): Delete, no longer used.
53860 (update-abi-%): Remove AWK script and explicit abilist directory.
53861 (update-abi): Rewrite to simply compare and conditionally copy the
53862 symlist and the sysdep abilist file. Remove update-abi-config
53863 checks.
53864 * abilist/ld.abilist: Remove.
53865 * abilist/libBrokenLocale.abilist: Remove.
53866 * abilist/libanl.abilist: Remove.
53867 * abilist/libcrypt.abilist: Remove.
53868 * abilist/libdl.abilist: Remove.
53869 * abilist/librt.abilist: Remove.
53870 * abilist/libthread_db.abilist: Remove.
53871 * abilist/libutil.abilist: Remove.
53872 * scripts/extract-abilist.awk: Remove.
53873 * scripts/merge-abilist.awk: Remove.
53874 * sysdeps/generic/libcidn.abilist: New file.
53875 * sysdeps/generic/libnss_compat.abilist: New file.
53876 * sysdeps/generic/libnss_db.abilist: New file.
53877 * sysdeps/generic/libnss_dns.abilist: New file.
53878 * sysdeps/generic/libnss_files.abilist: New file.
53879 * sysdeps/generic/libnss_hesiod.abilist: New file.
53880 * sysdeps/generic/libnss_nis.abilist: New file.
53881 * sysdeps/generic/libnss_nisplus.abilist: New file.
53882 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
53883 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
53884 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
53885 file.
53886 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
53887 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
53888 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
53889 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
53890 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
53891 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
53892 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
53893 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
53894 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
53895 file.
53896 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
53897 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
53898 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
53899 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
53900 file.
53901 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
53902 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
53903 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
53904 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
53905 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
53906 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
53907 file.
53908 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
53909 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
53910 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
53911 file.
53912 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
53913 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
53914 New file.
53915 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
53916 New file.
53917 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
53918 New file.
53919 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
53920 New file.
53921 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
53922 New file.
53923 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
53924 New file.
53925 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
53926 New file.
53927 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
53928 New file.
53929 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
53930 New file.
53931 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
53932 New file.
53933 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
53934 New file.
53935 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
53936 New file.
53937 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
53938 New file.
53939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
53940 file.
53941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
53942 New file.
53943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
53944 New file.
53945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
53946 file.
53947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
53948 New file.
53949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
53950 New file.
53951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
53952 file.
53953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
53954 New file.
53955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53956 New file.
53957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
53958 New file.
53959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
53960 New file.
53961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
53962 New file.
53963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
53964 New file.
53965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
53966 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
53967 file.
53968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
53969 New file.
53970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
53971 file.
53972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
53973 file.
53974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
53975 file.
53976 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
53977 file.
53978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
53979 file.
53980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53981 New file.
53982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
53983 file.
53984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
53985 file.
53986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
53987 New file.
53988 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
53989 file.
53990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
53991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
53992 file.
53993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
53994 New file.
53995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
53996 file.
53997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
53998 file.
53999 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
54000 file.
54001 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
54002 file.
54003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
54004 file.
54005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54006 New file.
54007 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
54008 file.
54009 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
54010 file.
54011 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
54012 New file.
54013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
54014 file.
54015 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
54016 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
54017 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
54018 file.
54019 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
54020 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
54021 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
54022 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
54023 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
54024 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
54025 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
54026 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
54027 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
54028 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
54029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
54030 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
54031 file.
54032 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
54033 New file.
54034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
54035 file.
54036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
54037 file.
54038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
54039 file.
54040 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
54041 file.
54042 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
54043 file.
54044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
54045 New file.
54046 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
54047 New file.
54048 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
54049 file.
54050 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
54051 New file.
54052 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
54053 file.
54054 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
54055 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
54056 file.
54057 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
54058 New file.
54059 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
54060 file.
54061 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
54062 file.
54063 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
54064 file.
54065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
54066 file.
54067 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
54068 file.
54069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
54070 New file.
54071 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
54072 New file.
54073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
54074 file.
54075 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
54076 New file.
54077 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
54078 file.
54079
54080 2012-04-28 Joseph Myers <joseph@codesourcery.com>
54081
54082 * conform/conformtest.pl: Fix typo in handling typed-constant from
54083 allow-header.
54084
54085 2012-04-27 Joseph Myers <joseph@codesourcery.com>
54086
54087 * README: Cut down references to pre-2.6 Linux kernels and
54088 Linuxthreads. Update lists of configurations in libc and ports
54089 and sort alphabetically. Say "or newer" with Linux kernel version
54090 requirements.
54091
54092 * config.h.in [IS_IN_build]: Allow compiling without optimization.
54093
54094 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54095
54096 [BZ #887]
54097 * math/libm-test.inc (logb_test_downward): New test to expose
54098 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
54099 rounding mode.
54100
54101 2012-04-27 Joseph Myers <joseph@codesourcery.com>
54102
54103 [BZ #14027]
54104 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
54105 to be done.
54106 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
54107 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
54108
54109 2012-04-26 Joseph Myers <joseph@codesourcery.com>
54110
54111 * sysdeps/unix/i386/brk.S: Remove file.
54112 * sysdeps/unix/i386/dl-brk.S: Likewise.
54113 * sysdeps/unix/i386/pipe.S: Likewise.
54114 * sysdeps/unix/i386/sigreturn.S: Likewise.
54115 * sysdeps/unix/i386/syscall.S: Likewise.
54116 * sysdeps/unix/i386/vfork.S: Likewise.
54117 * sysdeps/unix/i386/wait.S: Likewise.
54118
54119 * sysdeps/unix/common/tcsendbrk.c: Move to ...
54120 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
54121
54122 * configure.in (arm*-none*): Do not allow without
54123 --enable-hacker-mode.
54124 (netbsd*): Remove case setting base_os.
54125 (386bsd*): Likewise.
54126 (freebsd*): Likewise.
54127 (bsdi*): Likewise.
54128 (osf*): Likewise.
54129 (sunos*): Likewise.
54130 (ultrix*): Likewise.
54131 (newsos*): Likewise.
54132 (dynix*): Likewise.
54133 (*bsd*): Likewise.
54134 (sysv*): Likewise.
54135 (isc*): Likewise.
54136 (esix*): Likewise.
54137 (sco*): Likewise.
54138 (minix*): Likewise.
54139 (irix4*): Likewise.
54140 (irix6*): Likewise.
54141 (solaris[2-9]*): Likewise.
54142 (none): Likewise.
54143 * configure: Regenerated.
54144
54145 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54146
54147 [BZ #11521]
54148 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
54149 overflow or cancellation in calculating denominator.
54150 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
54151 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
54152 down expression to avoid unexpected rounding in newer GCCs.
54153 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
54154
54155 2012-04-26 David S. Miller <davem@davemloft.net>
54156
54157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
54158 long-double compat symbols.
54159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
54161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
54162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
54163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
54164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
54165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
54166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
54167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
54168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
54169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
54170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
54171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
54172
54173 2012-04-25 David S. Miller <davem@davemloft.net>
54174
54175 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
54176 HWCAP_* values only after the memory barriers have been defined.
54177 (atomic_full_barrier): Define.
54178 (atomic_read_barrier): Define.
54179 (atomic_write_barrier): Define.
54180
54181 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
54182
54183 * shlib-versions: Add libgcc_s version information.
54184 * sysdeps/generic/libgcc_s.h: Remove.
54185 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
54186 libgcc_s.h.
54187 * sysdeps/gnu/unwind-resume.c: Likewise.
54188 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
54189
54190 2012-04-25 David S. Miller <davem@davemloft.net>
54191
54192 * sysdeps/unix/sparc/brk.S: Delete.
54193 * sysdeps/unix/sparc/dl-brk.S: Delete.
54194 * sysdeps/unix/sparc/pipe.S: Delete.
54195 * sysdeps/unix/sparc/sysdep.S: Delete.
54196 * sysdeps/unix/sparc/sysdep.h: Delete.
54197 * sysdeps/unix/sparc/vfork.S: Delete.
54198 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
54199 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
54200 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
54201 (ret_ERRVAL, r0, r1, MOVE): Define.
54202 (JUMPTARGET): Remove.
54203 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
54204 sysdeps/unix/sparc/sysdep.h
54205 (ENTRY, END): Remove.
54206 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54207
54208 2012-04-25 Joseph Myers <joseph@codesourcery.com>
54209
54210 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
54211 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
54212 -DIS_IN_build.
54213
54214 * timezone/README: Update upstream location and email address for
54215 tzcode and tzdata.
54216 * timezone/zdump.c: Update from tzcode 2012b.
54217 * timezone/zic.c: Likewise.
54218
54219 * configure.in (libc_cv_as_needed): Remove test.
54220 * configure: Regenerated.
54221 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
54222 conditional definition.
54223 [$(have-as-needed) != yes] (no-as-needed): Likewise.
54224 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
54225 * config.make.in (have-as-needed): Remove variable.
54226
54227 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
54228 Paul Pluzhnikov <ppluzhnikov@google.com>
54229
54230 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
54231 strings correctly.
54232
54233 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
54234
54235 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
54236 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
54237 * sysdeps/sh/strlen.S: Likewise.
54238
54239 2012-04-24 Joseph Myers <joseph@codesourcery.com>
54240
54241 * sysdeps/unix/fork.S: Remove file.
54242 * sysdeps/unix/i386/fork.S: Likewise.
54243 * sysdeps/unix/sparc/fork.S: Likewise.
54244
54245 * sysdeps/unix/system.c: Remove file.
54246 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
54247
54248 * sysdeps/unix/getegid.S: Remove file.
54249 * sysdeps/unix/geteuid.S: Likewise.
54250
54251 2012-04-24 Roland McGrath <roland@hack.frob.com>
54252
54253 * scripts/check-localplt.awk: New file.
54254 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
54255 of diff.
54256 * scripts/data/localplt-generic.data: Add a comment.
54257
54258 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
54259 NODE when __dir_mkfile failed.
54260 * sysdeps/mach/hurd/symlinkat.c: Likewise.
54261 Reported by Ludovic Courtès <ludo@gnu.org>.
54262
54263 2012-04-24 Andreas Jaeger <aj@suse.de>
54264
54265 * Makerules (common-clean): Also remove gen-as-const-headers
54266 files.
54267
54268 2012-04-24 Joseph Myers <joseph@codesourcery.com>
54269
54270 * Makerules (native-compile): Do not change working directory for
54271 build. Use $(OUTPUT_OPTION) in command.
54272 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
54273
54274 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54275
54276 [BZ #13886]
54277 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
54278 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
54279 * math/libm-test.inc (floor_test): Add more tests.
54280 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
54281
54282 2012-04-24 Joseph Myers <joseph@codesourcery.com>
54283
54284 * sysdeps/unix/getdents.c: Remove file.
54285 * sysdeps/unix/sysv/getdents.c: Likewise.
54286 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
54287
54288 * sysdeps/unix/syscalls.list (madvise): Add syscall from
54289 sysdeps/unix/mman/syscalls.list.
54290 (mmap): Likewise.
54291 (mprotect): Likewise.
54292 (msync): Likewise.
54293 (munmap): Likewise.
54294 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
54295 * sysdeps/unix/mman/syscalls.list: Remove.
54296 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
54297
54298 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
54299 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
54300 * configure: Regenerated.
54301 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
54302 $(libgcc_s_suffix).
54303 * config.make.in (libgcc_s_suffix): Remove variable.
54304
54305 2012-04-23 Joseph Myers <joseph@codesourcery.com>
54306
54307 * sysdeps/unix/sysv/gethostname.c: Move to ...
54308 * sysdeps/posix/gethostname.c: ... here.
54309
54310 * sysdeps/unix/execve.S: Remove file.
54311
54312 * sysdeps/unix/_exit.S: Remove file.
54313
54314 2012-04-23 Andreas Jaeger <aj@suse.de>
54315
54316 [BZ #13739]
54317 * manual/Makefile: Remove make dist support, there's no
54318 need for a stand-alone documentation tar ball.
54319 (TEXI2DVI): Define always, it's not in Makeconfig.
54320 (dist): Removed.
54321 (tar-it): Removed.
54322 (edition): Removed.
54323 (glibc-doc-$(edition).tar): Removed
54324 (%.Z): Removed.
54325 (%.gz): Removed.
54326 (%.uu): Removed.
54327 (ETAGS): Remove, it's in Makeconfig.
54328 (move-if-change): Remove, it's in Makeconfig.
54329
54330 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
54331
54332 [BZ #13970]
54333 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
54334 (strtod, strtof, strtold, strtol, strtoul, strtoq)
54335 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
54336 (strtod_l, strtof_l, strtold_l): Remove __wur.
54337 It is not necessarily an error to ignore strtol's return value.
54338 One can reliably look at the stored endptr to decide whether
54339 the number had valid syntax.
54340
54341 2012-04-21 Andreas Jaeger <aj@suse.de>
54342
54343 [BZ #13739]
54344 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
54345
54346 2012-04-21 Joseph Myers <joseph@codesourcery.com>
54347
54348 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
54349 * sysdeps/unix/sysv/Versions: Remove file.
54350
54351 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
54352
54353 [BZ #13927]
54354 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54355
54356 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
54357
54358 [BZ #7064]
54359 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
54360 version from __vm86.
54361
54362 2012-04-20 Joseph Myers <joseph@codesourcery.com>
54363
54364 * sysdeps/unix/common/lxstat.c: Remove file.
54365 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
54366
54367 * sysdeps/unix/sysv/Makefile: Remove file.
54368
54369 * sysdeps/unix/sysv/direct.h: Remove file.
54370
54371 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
54372 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
54373 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
54374 * sysdeps/unix/sysv/bits/signum.h: Likewise.
54375 * sysdeps/unix/sysv/bits/stat.h: Likewise.
54376 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
54377 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
54378
54379 * sysdeps/unix/sysv/setrlimit.c: Remove file.
54380
54381 * sysdeps/unix/xmknod.c: Remove file.
54382 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
54383
54384 * sysdeps/unix/sysv/settimeofday.c: Remove file.
54385
54386 * sysdeps/unix/sysv/i386/time.S: Remove file.
54387
54388 * sysdeps/unix/fxstat.c: Remove file.
54389 * sysdeps/unix/xstat.c: Likewise.
54390 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
54391
54392 * sysdeps/unix/sysv/sigaction.c: Remove file.
54393
54394 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
54395 (sysdep_headers): Remove variable.
54396 [termio.h not in sysdep_headers] (generated): Likewise.
54397 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
54398 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
54399 * sysdeps/unix/sysv/tcdrain.c: Likewise.
54400 * sysdeps/unix/sysv/tcflow.c: Likewise.
54401 * sysdeps/unix/sysv/tcflush.c: Likewise.
54402 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
54403 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
54404 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
54405 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
54406 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
54407
54408 * sysdeps/unix/siglist.c: Remove file.
54409
54410 * sysdeps/unix/getppid.S: Remove file.
54411
54412 * sysdeps/unix/mkdir.c: Remove file.
54413 * sysdeps/unix/rmdir.c: Likewise.
54414
54415 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
54416
54417 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
54418 ERR_MAX value.
54419 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
54420 errlist-compat value.
54421
54422 2012-04-18 David S. Miller <davem@davemloft.net>
54423
54424 * sysdeps/generic/memcopy.h (reg_char): Delete.
54425 * debug/strcat_chk.c: Use char, not reg_char.
54426 * debug/strcpy_chk.c: Likewise.
54427 * debug/strncat_chk.c: Likewise.
54428 * debug/strncpy_chk.c: Likewise.
54429 * string/memchr.c: Likewise.
54430 * string/memrchr.c: Likewise.
54431 * string/rawmemchr.c: Likewise.
54432 * string/strcat.c: Likewise.
54433 * string/strchr.c: Likewise.
54434 * string/strchrnul.c: Likewise.
54435 * string/strcmp.c: Likewise.
54436 * string/strcpy.c: Likewise.
54437 * string/strncat.c: Likewise.
54438 * string/strncmp.c: Likewise.
54439 * string/strncpy.c: Likewise.
54440
54441 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
54442
54443 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
54444 __builtin_memcopy is called when src and dest ranges are known to not
54445 overlap.
54446
54447 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
54448
54449 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
54450 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
54451 fwd_align_merge macro call.
54452 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
54453 bwd_align_merge macro call.
54454 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54455
54456 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
54457
54458 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
54459 bwd_align_merge macros.
54460 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
54461 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
54462 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54463
54464 2012-04-18 David S. Miller <davem@davemloft.net>
54465
54466 * sysdeps/sparc/sparc64/memcopy.h: Delete.
54467
54468 2012-04-18 Andreas Jaeger <aj@suse.de>
54469
54470 [BZ# 6794]
54471 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
54472 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
54473 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54474
54475 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
54476 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
54477 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54478
54479 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
54480 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
54481 Adjust for changed ldbl-128 files.
54482
54483 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
54484 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
54485 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54486
54487 2012-04-17 David S. Miller <davem@davemloft.net>
54488
54489 * sysdeps/sparc/sparc32/memcopy.h: Delete.
54490
54491 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
54492
54493 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
54494 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
54495 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
54496 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
54497 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
54498 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
54499
54500 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54501
54502 [BZ #6794]
54503 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
54504 * math/libm-test.inc: Add ilogb errno and exception tests.
54505 * math/w_ilogb.c: New file: ilogb wrapper.
54506 * math/w_ilogbf.c: New file: ilogbf wrapper.
54507 * math/w_ilogbl.c: New file: ilogbl wrapper.
54508 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
54509 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
54510 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
54511 exception being thrown with 0.0 as argument.
54512 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
54513 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
54514 exception being thrown with 0.0 as argument.
54515 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
54516 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
54517 exception being thrown with 0.0 as argument.
54518 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
54519 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
54520 exception being thrown with 0.0 as argument.
54521 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
54522 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
54523 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
54524 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
54525 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
54526 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
54527 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
54528 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
54529 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
54530
54531 2012-04-17 Petr Baudis <pasky@ucw.cz>
54532
54533 * include/sys/uio.h: Change __vector to __iovec to avoid clash
54534 with altivec.
54535
54536 2012-04-16 Marek Polacek <polacek@redhat.com>
54537
54538 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
54539
54540 2012-04-16 Marek Polacek <polacek@redhat.com>
54541
54542 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
54543 operands of fdivp instruction.
54544
54545 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
54546
54547 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
54548 * elf/tst-auditmod3b.c: Likewise.
54549 * elf/tst-auditmod4b.c: Likewise.
54550 * elf/tst-auditmod5b.c: Likewise.
54551 * elf/tst-auditmod6b.c: Likewise.
54552 * elf/tst-auditmod6c.c: Likewise.
54553 * elf/tst-auditmod7b.c: Likewise.
54554 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
54555 * sysdeps/x86_64/preconfigure.in: Likewise.
54556 * sysdeps/x86_64/preconfigure: Regenerated.
54557
54558 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
54559
54560 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
54561 __ILP32__.
54562
54563 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
54564
54565 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54566 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
54567
54568 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
54569
54570 [BZ #13973]
54571 * locale/iso-639.def: Fix gl language name. Spotted by
54572 Yaron Shahrabani.
54573
54574 2012-04-12 Roland McGrath <roland@hack.frob.com>
54575
54576 [BZ #2074]
54577 * libio/libio.h (__io_write_fn): Update comment.
54578
54579 2012-04-12 Petr Baudis <pasky@ucw.cz>
54580
54581 [BZ #2074]
54582 * stdio.texi (Hook Functions): The user provided writer function
54583 is not allowed to return -1.
54584
54585 2012-04-11 David S. Miller <davem@davemloft.net>
54586
54587 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54588
54589 2012-04-11 Mike Frysinger <vapier@gentoo.org>
54590
54591 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
54592 Add a leading slash to rtkaio.
54593
54594 2012-04-11 Jim Meyering <meyering@redhat.com>
54595
54596 [BZ #11959]
54597 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
54598 It is not necessarily an error to ignore fwrite's return
54599 value. One can reliably use ferror to test for errors after
54600 the fact.
54601
54602 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
54603
54604 * bits/types.h (__snseconds_t): New type.
54605 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
54606
54607 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
54608 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54609 (__SNSECONDS_T_TYPE): Likewise.
54610 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54611 (__SNSECONDS_T_TYPE): Likewise.
54612 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54613 (__SNSECONDS_T_TYPE): Likewise.
54614
54615 2012-04-10 Andreas Jaeger <aj@suse.de>
54616
54617 [BZ #2636]
54618 * manual/time.texi (Processor Time): Return type of times is
54619 elapsed real time since an arbitrary point in the past.
54620 (CPU Time): Move CLK_TCK from here...
54621 (Processor Time): ...to here. Correct description.
54622 * manual/conf.texi (Constants for Sysconf): Correct description of
54623 _SC_CLK_TCK.
54624
54625 2012-04-10 David S. Miller <davem@davemloft.net>
54626
54627 [BZ #13967]
54628 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
54629 where the is a gap between DT_REL(A) and DT_JMPREL.
54630
54631 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
54632
54633 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
54634 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
54635 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
54636
54637 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54638
54639 * elf/dl-support.c (_dl_inhibit_cache): New variable.
54640 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
54641 (dl_main): Handle --inhibit-cache.
54642 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
54643 _dl_inhibit_cache.
54644 * elf/dl-load.c (_dl_map_object): Use it.
54645 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
54646
54647 2012-04-09 Joseph Myers <joseph@codesourcery.com>
54648
54649 [BZ #13872]
54650 * sysdeps/i386/fpu/e_powl.S (p78): New object.
54651 (__ieee754_powl): Saturate large exponents rather than testing for
54652 overflow of y*log2(x).
54653 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54654 * math/libm-test.inc (pow_test): Do not permit spurious overflow
54655 exceptions.
54656
54657 [BZ #11521]
54658 * math/s_ctan.c: Include <float.h>.
54659 (__ctan): Avoid internal overflow or cancellation in calculating
54660 denominator.
54661 * math/s_ctanf.c: Likewise.
54662 * math/s_ctanl.c: Likewise.
54663 * math/s_ctanh.c: Likewise.
54664 * math/s_ctanhf.c: Likewise.
54665 * math/s_ctanhl.c: Likewise.
54666 * math/libm-test.inc (ctan_test): Add more tests.
54667 (ctanh_test): Likewise.
54668 * sysdeps/i386/fpu/libm-test-ulps: Update.
54669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54670
54671 2012-04-09 Andreas Jaeger <aj@suse.de>
54672
54673 [BZ #6894]
54674 * manual/filesys.texi (Directory Entries): Mention that d_namlen
54675 is an optional BSD extension.
54676
54677 [BZ #10254]
54678 * manual/stdio.texi (Opening Streams): Document additional fopen
54679 parameters.
54680
54681 2012-04-09 Roland McGrath <roland@hack.frob.com>
54682
54683 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
54684 %eax without telling the compiler.
54685
54686 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
54687
54688 [BZ # 13963]
54689 * manual/install.texi: Use sourceware.org.
54690
54691 2012-04-09 Joseph Myers <joseph@codesourcery.com>
54692
54693 [BZ #13873]
54694 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
54695 (__ieee754_pow): Generate overflow and underflow using huge*huge
54696 and tiny*tiny rather than just returning constant infinity or zero
54697 for large exponents.
54698 * math/libm-test.inc (pow_test): Require overflow exceptions for
54699 applicable cases of large exponents.
54700
54701 [BZ #706]
54702 * sysdeps/i386/fpu/e_pow.S (p10): New object.
54703 (__ieee754_pow): Use iterative multiplication algorithm only for
54704 integer exponents with absolute value below 1024. Check for odd
54705 integer exponents when using algorithm for real exponents.
54706 * math/libm-test.inc (pow_test): Add more tests.
54707 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54708
54709 2012-04-08 Joseph Myers <joseph@codesourcery.com>
54710
54711 [BZ #13705]
54712 * math/libm-test.inc (exp_test): Do not allow overflow exception
54713 on underflow test.
54714
54715 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
54716
54717 [BZ #13705]
54718 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
54719 instead of __kernel_standard_f.
54720
54721 2012-04-08 Mike Frysinger <vapier@gentoo.org>
54722
54723 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
54724 * sysdeps/x86_64/memset_chk.S: Likewise.
54725
54726 2012-04-08 Andreas Jaeger <aj@suse.de>
54727
54728 [BZ #10153]
54729 * manual/startup.texi (Environment Access): Describe return value
54730 for putenv and setenv.
54731
54732 [BZ #6895]
54733 * manual/filesys.texi (Directory Entries): Add description for
54734 DT_LNK.
54735
54736 [BZ #6890]
54737 * manual/filesys.texi (Directory Entries): Clarify that it's file
54738 system not operating system in the description of DT_UNKNOWN.
54739
54740 [BZ #6578]
54741 * manual/syslog.texi (closelog): Fix reference, it's openlog.
54742
54743 2012-04-08 Stephen Compall <s11@member.fsf.org>
54744
54745 [BZ #6649]
54746 * manual/llio.texi (Opening and Closing Files): Add cross
54747 reference to explain mode argument.
54748
54749 2012-04-07 Mike Frysinger <vapier@gentoo.org>
54750
54751 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
54752 * sysdeps/x86_64/memset_chk.S: Likewise.
54753
54754 2012-04-07 David S. Miller <davem@davemloft.net>
54755
54756 * elf/elf.h (R_SPARC_WDISP10): Define.
54757 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
54758 R_SPARC_SIZE32.
54759 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
54760 R_SPARC_SIZE64 and R_SPARC_H34.
54761
54762 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
54763
54764 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
54765 conditions and remove no longer applicable assertion.
54766
54767 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
54768
54769 * bits/byteswap.h: Include <features.h>.
54770 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
54771 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
54772
54773 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
54774
54775 * bits/byteswap.h (__bswap_16): Removed.
54776 Include <bits/byteswap-16.h> to get __bswap_16.
54777 * sysdeps/i386/bits/byteswap.h: Likewise.
54778 * sysdeps/s390/bits/byteswap.h: Likewise.
54779 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54780 * bits/byteswap-16.h: New file.
54781 * sysdeps/i386/bits/byteswap-16.h: Likewise.
54782 * sysdeps/s390/bits/byteswap-16.h: Likewise.
54783 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
54784 * string/Makefile (headers): Add bits/byteswap-16.h.
54785
54786 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54787
54788 [BZ #13895]
54789 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
54790 extra indirection.
54791 * nss/Makefile (tests-static, tests): Add tst-nss-static.
54792 * nss/tst-nss-static.c: New.
54793
54794 2012-04-06 Robert Millan <rmh@gnu.org>
54795
54796 [BZ #6486]
54797 * manual/llio.texi (File Position Primitive): lseek
54798 refers to WHENCE when it really means OFFSET.
54799
54800 2012-04-06 Andreas Jaeger <aj@suse.de>
54801
54802 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
54803 strncmp declarations.
54804
54805 * abilist/libc.abilist: Add __poll and __ppoll.
54806
54807 2012-04-05 David S. Miller <davem@davemloft.net>
54808
54809 * scripts/check-local-headers.sh: Accept a host triplet in the
54810 path matched by the exclude regexp.
54811
54812 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
54813 definition.
54814 * sysdeps/powerpc/powerpc32/dl-machine.h
54815 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
54816 * sysdeps/s390/s390-32/dl-machine.h
54817 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54818 * sysdeps/sparc/sparc32/dl-machine.h
54819 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54820 * sysdeps/sparc/sparc64/dl-machine.h
54821 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54822
54823 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
54824 lazy binding.
54825 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
54826 undefined symbol errors.
54827
54828 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
54829 DT_NEEDED entries.
54830
54831 2012-04-05 Michael Matz <matz@suse.de>
54832
54833 [BZ #13592]
54834 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
54835
54836 2012-04-05 Andreas Jaeger <aj@suse.de>
54837
54838 [BZ #13908]
54839 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
54840 comment.
54841
54842 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54843
54844 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
54845 which ROUND is no valid rounding mode.
54846
54847 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54848
54849 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
54850 read again.
54851 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
54852
54853 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54854
54855 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
54856 an exception using FPU order intentionally.
54857
54858 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54859
54860 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
54861 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
54862 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
54863 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
54864
54865 2012-04-05 Simon Josefsson <simon@josefsson.org>
54866
54867 [BZ #12340]
54868 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
54869 EINVAL when BUFLEN is too smal.
54870
54871 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
54872
54873 [BZ #13553]
54874 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
54875 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
54876
54877 2012-04-03 Andreas Jaeger <aj@suse.de>
54878
54879 [BZ #13938]
54880 * manual/setjmp.texi (System V contexts): Fix sentence.
54881
54882 [BZ #13926]
54883 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
54884 New macro for this case.
54885 [!__GNUC__] (__bswap_64): New inline function for this case.
54886 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54887 * bits/byteswap.h: Likewise.
54888 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
54889 ull, guard with __GLIBC_HAVE_LONG_LONG.
54890
54891 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
54892 __GLIBC_HAVE_LONG_LONG.
54893
54894 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
54895 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
54896
54897 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
54898
54899 [BZ #13691]
54900 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
54901 inptr and inend, rather than using last_ch.
54902
54903 2012-04-02 David S. Miller <davem@davemloft.net>
54904
54905 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
54906 * stdio-common/printf-parse.h (read_int): Change return type to
54907 'int', return -1 on INT_MAX overflow.
54908 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
54909 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
54910 overflows INT_MAX. Check for overflow of in-format-string precision
54911 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
54912 SIZE_MAX not INT_MAX for integer overflow test.
54913 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
54914 skip the construct in the format string but do not record anything.
54915 * stdio-common/bug22.c: Adjust to test both width/prevision
54916 INT_MAX overflow as well as total length INT_MAX overflow. Check
54917 explicitly for proper errno values.
54918
54919 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
54920
54921 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
54922 CHAR_MAX.
54923 * string/test-strcmp.c [! WIDE]: Likewise.
54924 * time/tst-mktime2.c: Likewise for INT_MAX.
54925 * string/test-string.h: #include <sys/param.h> for MIN.
54926
54927 * csu/init-first.c (__libc_init_first): Call __ctype_init.
54928 * sysdeps/i386/init-first.c (init): Likewise.
54929 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
54930 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
54931 * sysdeps/sh/init-first.c (init): Likewise.
54932
54933 2012-04-01 Ulrich Drepper <drepper@gmail.com>
54934
54935 * po/ru.po: Update from translation team.
54936 * po/vi.po: Likewise.
54937
54938 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
54939
54940 * resolv/nss_dns/dns-host.c: Merge copyright years.
54941
54942 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54943
54944 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
54945 Optimize memcpy with prefetch if
54946 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
54947 src, dst pointers have unequal 16 byte alignments.
54948
54949 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
54950
54951 [BZ #13928]
54952 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
54953 from a CNAME entry and return the minimum ttl for the query.
54954 (gaih_getanswer_slice): Likewise.
54955
54956 2012-03-30 Jeff Law <law@redhat.com>
54957
54958 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
54959 due to long keys.
54960 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
54961 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
54962
54963 * resolv/nss_dns/dns-host.c: Update copyright year.
54964
54965 2012-03-30 Ulrich Drepper <drepper@gmail.com>
54966
54967 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
54968 requests to save a system call. Fix check that all bytes are sent.
54969
54970 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
54971 comments for sendmmsg.
54972
54973 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
54974
54975 [BZ #13691]
54976 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
54977 with only 1 character between 0x0041 and 0x01b0.
54978 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
54979 * wcsmbs/tst-mbsnrtowcs.c: New file.
54980
54981 2012-03-29 David S. Miller <davem@davemloft.net>
54982
54983 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
54984 small copies by hand.
54985
54986 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54987
54988 [BZ #13761]
54989 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
54990 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
54991 group memberships.
54992
54993 2012-03-28 David S. Miller <davem@davemloft.net>
54994
54995 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
54996 that branches into memcpy.
54997 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
54998 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
54999 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
55000 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
55001 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
55002 bits.
55003 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
55004 implementation too.
55005 * sysdeps/sparc/mempcpy.S: New file.
55006
55007 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
55008 the IFUNC routine in the libc case.
55009 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55010
55011 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
55012 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
55013 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
55014 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
55015 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
55016 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
55017 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
55018 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
55019
55020 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
55021 loop to 256 bytes instead of 64 bytes and fix test signedness.
55022
55023 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
55024 * sysdeps/sparc/sparc32/Makefile: rather than here...
55025 * sysdeps/sparc/sparc64/Makefile: and here.
55026
55027 2012-03-28 Ulrich Drepper <drepper@gmail.com>
55028
55029 * malloc/mallocbug.c: Avoid warnings about unused variables.
55030
55031 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
55032
55033 [BZ #13760]
55034 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
55035 in the right place. Discard and retry query if response is
55036 larger than input buffer size.
55037
55038 2012-03-28 Joseph Myers <joseph@codesourcery.com>
55039
55040 [BZ #369]
55041 [BZ #2678]
55042 [BZ #3866]
55043 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
55044 x for large integer exponent.
55045 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
55046 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
55047 sign of result as needed afterwards.
55048 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
55049 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
55050 result for underflowing pow the same as for overflow.
55051 (__kernel_standard_l): Handle powl overflow and underflow here
55052 rather than calling __kernel_standard.
55053 * math/libm-test.inc (pow_test): Add more tests.
55054
55055 [BZ #3868]
55056 [BZ #13879]
55057 [BZ #13910]
55058 [BZ #13911]
55059 [BZ #13912]
55060 [BZ #13913]
55061 [BZ #13915]
55062 [BZ #13916]
55063 [BZ #13917]
55064 [BZ #13918]
55065 [BZ #13919]
55066 [BZ #13920]
55067 [BZ #13921]
55068 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
55069 * sysdeps/ieee754/k_standard.c: Include <float.h>.
55070 (__kernel_standard_l): New function.
55071 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
55072 __kernel_standard.
55073 * math/w_acosl.c (__acosl): Likewise.
55074 * math/w_asinl.c (__asinl): Likewise.
55075 * math/w_atan2l.c (__atan2l): Likewise.
55076 * math/w_atanhl.c (__atanhl): Likewise.
55077 * math/w_coshl.c (__coshl): Likewise.
55078 * math/w_exp10l.c (__exp10l): Likewise.
55079 * math/w_exp2l.c (__exp2l): Likewise.
55080 * math/w_fmodl.c (__fmodl): Likewise.
55081 * math/w_hypotl.c (__hypotl): Likewise.
55082 * math/w_j0l.c (__j0l, __y0l): Likewise.
55083 * math/w_j1l.c (__j1l, __y1l): Likewise.
55084 * math/w_jnl.c (__jnl, __ynl): Likewise.
55085 * math/w_lgammal.c (__lgammal): Likewise.
55086 * math/w_log10l.c (__log10l): Likewise.
55087 * math/w_log2l.c (__log2l): Likewise.
55088 * math/w_logl.c (__logl): Likewise.
55089 * math/w_powl.c (__powl): Likewise.
55090 * math/w_remainderl.c (__remainderl): Likewise.
55091 * math/w_scalbl.c (sysv_scalbl): Likewise.
55092 * math/w_sinhl.c (__sinhl): Likewise.
55093 * math/w_sqrtl.c (__sqrtl): Likewise.
55094 * math/w_tgammal.c (__tgammal): Likewise.
55095 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
55096 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
55097 * math/libm-test.inc (acos_test): Add more tests.
55098 (acosh_test): Likewise.
55099 (asin_test): Likewise.
55100 (atanh_test): Likewise.
55101 (exp_test): Likewise.
55102 (exp10_test): Likewise.
55103 (exp2_test): Likewise.
55104 (expm1_test): Likewise.
55105 (lgamma_test): Likewise.
55106 (log_test): Likewise.
55107 (log10_test): Likewise.
55108 (log1p_test): Likewise.
55109 (log2_test): Likewise.
55110 (pow_test): Do not allow some spurious overflow exceptions.
55111 (sqrt_test): Add more tests.
55112 (tgamma_test): Likewise.
55113 (y0_test): Likewise.
55114 (y1_test): Likewise.
55115 (yn_test): Likewise.
55116
55117 2012-03-27 Anton Blanchard <anton@samba.org>
55118
55119 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
55120 MAP_HUGETLB.
55121 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55122 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55123 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55124
55125 2012-03-27 David S. Miller <davem@davemloft.net>
55126
55127 * conform/Makefile: Run run-conformtest.sh using $(BASH).
55128
55129 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
55130 have-as-vis3 check.
55131
55132 2012-03-27 Andreas Jaeger <aj@suse.de>
55133
55134 * sysdeps/x86_64/elf/configure.in: Moved to ...
55135 * sysdeps/x86_64/configure.in: ... here.
55136 * sysdeps/x86_64/elf/start.S: Moved to ...
55137 * sysdeps/x86_64/start.S: ... here.
55138 * sysdeps/x86_64/elf/configure: Delete.
55139
55140 * sysdeps/x86_64/configure.in: Merge contents from
55141 sysdeps/i386/configure.in (without i686 check).
55142
55143 * sysdeps/i386/elf/Versions: Merge into ...
55144 * sysdeps/i386/Versions: ... this.
55145 * sysdeps/i386/elf/Versions: Delete file.
55146 * sysdeps/i386/elf/start.S: Moved to ...
55147 * sysdeps/i386/start.S: ...here.
55148 * sysdeps/i386/elf/configure.in: Merge into...
55149 * sysdeps/i386/configure.in: ...here.
55150 * sysdeps/i386/elf/configure.in: Delete file.
55151 * sysdeps/i386/elf/configure: Delete file.
55152
55153 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
55154 * debug/backtracesyms.c: ... here.
55155 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
55156 * debug/backtracesymsfd.c: ... here.
55157 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
55158 * sysdeps/generic/ifunc-sel.h: ... here.
55159
55160 * sysdeps/unix/i386/start.c: Delete file.
55161 * sysdeps/unix/sparc/start.c: Delete file.
55162 * sysdeps/unix/start.c: Delete file.
55163
55164 * sysdeps/sh/elf/configure.in: Moved to ...
55165 * sysdeps/sh/configure.in: ... here.
55166 * sysdeps/sh/elf/start.S: Moved to ...
55167 * sysdeps/sh/start.S: ... here.
55168 * sysdeps/sh/elf/configure: Delete file.
55169
55170 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
55171 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
55172 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
55173 * sysdeps/powerpc/powerpc64/entry.h: ... here.
55174 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
55175 * sysdeps/powerpc/powerpc64/start.S: here.
55176 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
55177 * sysdeps/powerpc/powerpc64/Makefile: ... this.
55178 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
55179 * sysdeps/powerpc/powerpc64/configure.in: ... this.
55180 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
55181
55182 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
55183 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
55184 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
55185 * sysdeps/powerpc/powerpc32/start.S: ... here.
55186 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
55187 * sysdeps/powerpc/powerpc32/configure.in: ... this.
55188 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
55189
55190 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
55191 * sysdeps/powerpc/ifunc-sel.h: ... here.
55192 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
55193 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
55194
55195 * sysdeps/sparc/elf/configure.in: Moved to ...
55196 * sysdeps/sparc/configure.in: ... here.
55197 * sysdeps/sparc/elf/configure: Delete file.
55198 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
55199 * sysdeps/sparc/sparc32/start.S: ... here.
55200 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
55201 * sysdeps/sparc/sparc64/start.S: ... here.
55202 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
55203 * sysdeps/sparc/sparc32/Makefile: ... this.
55204 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
55205 * sysdeps/sparc/sparc64/Makefile: ... this.
55206
55207 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
55208 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
55209 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
55210 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
55211 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
55212 * sysdeps/s390/s390-32/setjmp.S: ... here.
55213 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
55214 * sysdeps/s390/s390-32/configure.in: ... here.
55215 * sysdeps/s390/s390-32/elf/configure: Delete file.
55216 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
55217 * sysdeps/s390/s390-32/start.S: ... here.
55218
55219 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
55220 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
55221 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
55222 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
55223 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
55224 * sysdeps/s390/s390-64/setjmp.S: ... here.
55225 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
55226 * sysdeps/s390/s390-64/configure.in: ... here
55227 * sysdeps/s390/s390-64/elf/configure: Delete file.
55228 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
55229 * sysdeps/s390/s390-64/start.S: ... here.
55230 * sysdeps/s390/s390-64/elf/configure: Delete.
55231
55232 * configure.in: Remove support for elf directories in sysdeps.
55233
55234 * configure: Regenerated.
55235 * sysdeps/i386/configure: Regenerated.
55236 * sysdeps/powerpc/powerpc32/configure: Regenerated.
55237 * sysdeps/powerpc/powerpc64/configure: Regenerated.
55238 * sysdeps/s390/s390-32/configure: Regenerated.
55239 * sysdeps/s390/s390-64/configure: Regenerated.
55240 * sysdeps/sh/configure: Regenerated.
55241 * sysdeps/sparc/configure: Regenerated.
55242 * sysdeps/x86_64/configure: Regenerated.
55243
55244 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
55245
55246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55247
55248 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
55249 denormal result into account.
55250
55251 2012-03-25 Roland McGrath <roland@hack.frob.com>
55252
55253 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
55254 Reported by Allan McRae <allan@archlinux.org>.
55255
55256 2012-03-23 Jeff Law <law@redhat.com>
55257
55258 * nss/getnssent.c (__nss_getent): Fix typo.
55259
55260 2012-03-23 David S. Miller <davem@davemloft.net>
55261
55262 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55263
55264 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
55265
55266 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
55267 to pad to uint64_t for each field.
55268 (dl_tls_index): Replace unsigned long with uint64_t.
55269
55270 2012-03-23 Daniel Jacobowitz <dmj@google.com>
55271 Paul Pluzhnikov <ppluzhnikov@google.com>
55272
55273 [BZ #6528]
55274 * grp/Makefile (otherlibs): Don't set it.
55275 * inet/Makefile (otherlibs): Likewise.
55276 * login/Makefile (otherlibs): Likewise.
55277 * nscd/Makefile (otherlibs): Likewise.
55278 * posix/Makefile (otherlibs): Likewise.
55279 * pwd/Makefile (otherlibs): Likewise.
55280 * rt/Makefile (otherlibs): Likewise.
55281 * sunrpc/Makefile (otherlibs): Likewise.
55282 * nss/Makefile (otherlibs): Likewise.
55283 Add libnss_files to routines and static-only-routines.
55284 ($(objpfx)getent): Remove rule.
55285 * resolv/Makefile: Add libnss_dns and libresolv to routines and
55286 static-only-routines.
55287
55288 2012-03-22 Joseph Myers <joseph@codesourcery.com>
55289
55290 [BZ #13892]
55291 * math/s_cexp.c: Include <float.h>.
55292 (__cexp): Handle exp result overflowing not necessarily
55293 overflowing both real and imaginary parts of result.
55294 * math/s_cexpf.c: Likewise.
55295 * math/s_cexpl.c: Likewise.
55296 * math/libm-test.inc (cexp_test): Add more tests.
55297 * sysdeps/i386/fpu/libm-test-ulps: Update.
55298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55299
55300 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55301
55302 * include/link.h (ELFW): New macro.
55303 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
55304 Replace ELF64_R_TYPE with ELFW(R_TYPE).
55305
55306 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55307
55308 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
55309 with uint64_t.
55310
55311 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55312
55313 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
55314 declaration.
55315 (struct La_x32_retval): Likewise.
55316
55317 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55318
55319 * sysdeps/x86_64/preconfigure.in: New file.
55320 * sysdeps/x86_64/preconfigure: New generated file.
55321
55322 2012-03-22 Joseph Myers <joseph@codesourcery.com>
55323
55324 [BZ #13824]
55325 * math/e_exp2l.c: Include <float.h>.
55326 (__ieee754_exp2l): Handle overflow and underflow cases
55327 separately. Only pass fractional part of argument to
55328 __ieee754_expl.
55329 * math/libm-test.inc (exp2_test): Add more tests.
55330
55331 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
55332 negating x to take absolute value.
55333 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
55334 Likewise.
55335 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
55336 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
55337 Likewise.
55338 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
55339 computing low part if x was negated.
55340 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
55341
55342 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
55343
55344 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
55345 la_x32_gnu_pltexit.
55346 (pltexit): Cast int_retval to ptrdiff_t.
55347 * elf/tst-auditmod3b.c: Likewise.
55348 * elf/tst-auditmod4b.c: Likewise.
55349 * elf/tst-auditmod5b.c: Likewise.
55350 * elf/tst-auditmod6b.c: Likewise.
55351 * elf/tst-auditmod6c.c: Likewise.
55352 * elf/tst-auditmod7b.c: Likewise.
55353
55354 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
55355 and x32_gnu_pltexit.
55356
55357 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
55358 __ELF_NATIVE_CLASS.
55359 (La_x32_regs): New macro.
55360 (La_x32_retval): Likewise.
55361 (la_x32_gnu_pltenter): New function prototype.
55362 (la_x32_gnu_pltexit): Likewise.
55363
55364 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
55365
55366 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
55367 exponent.
55368
55369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55370
55371 * configure.in (libc_cv_cc_nofma): Check for option to disable
55372 generation of FMA instructions.
55373 * configure: Regenerate.
55374 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
55375 * sysdeps/ieee754/dbl-64/Makefile: New file.
55376 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
55377 Remove brandred-fma4.
55378 (CFLAGS-brandred-fma4.c): Remove.
55379 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
55380 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
55381 define.
55382 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
55383 define.
55384
55385 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
55386
55387 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
55388 LLONG_MAX != LONG_MAX.
55389 (_itoa_word): Use _ITOA_WORD_TYPE on value.
55390 (_fitoa_word): Likewise.
55391 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
55392 LLONG_MAX != LONG_MAX.
55393 * stdio-common/_itowa.h: Include <_itoa.h>.
55394 (_itowa_word): Use _ITOA_WORD_TYPE on value.
55395 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
55396 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
55397 only if not defined.
55398 (_ITOA_WORD_TYPE): Likewise.
55399 (_itoa_word): Use _ITOA_WORD_TYPE on value.
55400 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
55401
55402 2012-03-21 David S. Miller <davem@davemloft.net>
55403
55404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55405
55406 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
55407
55408 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
55409 of x86_64 when setting libc_cv_slibdir, libdir and
55410 libc_cv_localedir.
55411 * sysdeps/unix/sysv/linux/configure: Regenerated.
55412
55413 2012-03-21 Joseph Myers <joseph@codesourcery.com>
55414
55415 * manual/lang.texi (Old Varargs): Remove section.
55416 (How Variadic): Update menu.
55417 (va_start): Do not mention varargs.h.
55418
55419 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
55420 Joseph Myers <joseph@codesourcery.com>
55421
55422 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
55423 link test.
55424 * configure: Regenerated.
55425
55426 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
55427
55428 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
55429 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
55430 conformtest.pl
55431
55432 2012-03-21 Joseph Myers <joseph@codesourcery.com>
55433
55434 * NOTES: Remove.
55435 * Makefile (files-for-dist): Remove NOTES.
55436 (NOTES): Remove rule.
55437 * README: Don't refer to NOTES.
55438 * manual/creature.texi: Don't include macros.texi.
55439 * manual/intro.texi (creature.texi): Remove comment referring to
55440 NOTES.
55441
55442 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
55443 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
55444 * configure: Regenerated.
55445 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
55446 LIBC_TRY_CC_OPTION.
55447 (libc_cv_as_i686): Likewise.
55448 (libc_cv_cc_avx): Likewise.
55449 (libc_cv_cc_sse2avx): Likewise.
55450 (libc_cv_cc_fma4): Likewise.
55451 (libc_cv_cc_novzeroupper): Likewise.
55452 * sysdeps/i386/configure: Regenerated.
55453
55454 [BZ #13883]
55455 * sysdeps/i386/fpu/s_cexp.S: Remove.
55456 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
55457 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
55458 * math/libm-test.inc (cexp_test): Add more tests.
55459 * sysdeps/i386/fpu/libm-test-ulps: Update.
55460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55461
55462 2012-03-21 Allan McRae <allan@archlinux.org>
55463
55464 * timezone/Makefile: Do not install iso3166.tab and zone.tab
55465
55466 2012-03-21 Joseph Myers <joseph@codesourcery.com>
55467
55468 [BZ #13871]
55469 * math/w_exp2.c: Do not include <float.h>.
55470 (o_threshold, u_threshold): Remove.
55471 (__exp2): Calculate result before checking finiteness and calling
55472 __kernel_standard.
55473 * math/w_exp2f.c: Likewise.
55474 * math/w_exp2l.c: Likewise.
55475 * math/libm-test.inc (exp2_test): Require overflow exception for
55476 1e6 input.
55477
55478 [BZ #3866]
55479 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
55480 range of signed 64-bit integers before using fistpll. Remove
55481 checks for whether integers fit in mantissa bits.
55482 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
55483 the range of signed 32-bit integers before using fistpl. Remove
55484 checks for whether integers fit in mantissa bits.
55485 * sysdeps/i386/fpu/e_powl.S (p64): New object.
55486 (__ieee754_powl): Test for y outside the range of signed 64-bit
55487 integers before using fistpll. Reduce 64-bit values to 63-bit
55488 ones as needed.
55489 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
55490 divide-by-zero is raised for zero to large negative powers.
55491 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
55492 (__ieee754_powl): Test for y outside the range of signed 64-bit
55493 integers before using fistpll. Reduce 64-bit values to 63-bit
55494 ones as needed.
55495 * math/libm-test.inc (pow_test): Add more tests.
55496
55497 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
55498
55499 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
55500 <stdio-common/_itoa.h>.
55501 * debug/segfault.c: Likewise.
55502 * elf/dl-cache.c: Likewise.
55503 * elf/dl-minimal.c: Likewise.
55504 * elf/dl-misc.c: Likewise.
55505 * elf/dl-sysdep.c: Likewise.
55506 * elf/dl-version.c: Likewise.
55507 * elf/rtld.c: Likewise.
55508 * hurd/hurdsock.c: Likewise.
55509 * hurd/lookup-retry.c: Likewise.
55510 * malloc/malloc.c: Likewise.
55511 * malloc/mtrace.c: Likewise.
55512 * nscd/nscd_getgr_r.c: Likewise.
55513 * nscd/nscd_getpw_r.c: Likewise.
55514 * nscd/nscd_getserv_r.c: Likewise.
55515 * posix/getopt_init.c: Likewise.
55516 * posix/wordexp.c: Likewise.
55517 * stdio-common/_itoa.c: Likewise.
55518 * stdio-common/printf_fphex.c: Likewise.
55519 * stdio-common/vfprintf.c: Likewise.
55520 * string/_strerror.c: Likewise.
55521 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
55522 * sysdeps/i386/i686/hp-timing.h: Likewise.
55523 * sysdeps/mach/_strerror.c: Likewise.
55524 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
55525 * sysdeps/mach/hurd/sethostid.c: Likewise.
55526 * sysdeps/mach/hurd/xmknodat.c: Likewise.
55527 * sysdeps/mach/xpg-strerror.c: Likewise.
55528 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
55529 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
55530 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
55531 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
55532 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
55533 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
55534 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
55535 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
55536 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
55537 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
55538 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
55539 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
55540 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
55541 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
55542 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
55543 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
55544 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
55545 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
55546 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
55547 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
55548 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
55549
55550 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
55551
55552 * stdio-common/_itoa.h: Moved to ...
55553 * sysdeps/generic/_itoa.h: Here.
55554
55555 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
55556
55557 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
55558 instead of "_itoa.h" and "_itowa.h".
55559 * stdio-common/vfprintf.: Likewise.
55560
55561 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
55562
55563 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
55564 <bits/wordsize.h>.
55565 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
55566 (__signbit): Likwise.
55567 (llrintf): Likwise.
55568 (llrint): Likwise.
55569
55570 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
55571
55572 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
55573 __WORDSIZE != 64.
55574
55575 2012-03-20 Joseph Myers <joseph@codesourcery.com>
55576
55577 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
55578 OVERFLOW_EXCEPTION_OK.
55579 * math/libm-test.inc ("Philosophy"): Update comment about
55580 exception testing.
55581 (OVERFLOW_EXCEPTION): Define.
55582 (OVERFLOW_EXCEPTION_OK): Likewise.
55583 (INVALID_EXCEPTION_OK): Renumber.
55584 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
55585 (IGNORE_ZERO_INF_SIGN): Likewise.
55586 (test_exceptions): Handle FE_OVERFLOW.
55587 (exp10_test): Expect overflow exceptions.
55588 (exp2_test): Likewise.
55589 (expm1_test): Likewise.
55590 (nextafter_test): Likewise.
55591 (pow_test): Likewise.
55592 (scalbn_test): Likewise.
55593 (scalbln_test): Likewise.
55594
55595 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55596
55597 * sysdeps/x86_64/bits/atomic.h
55598 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
55599 64bit integer.
55600 (atomic_exchange_acq): Likewise.
55601 (__arch_exchange_and_add_body): Likewise.
55602 (__arch_add_body): Likewise.
55603 (atomic_add_negative): Likewise.
55604 (atomic_add_zero): Likewise.
55605
55606 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55607
55608 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
55609 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
55610
55611 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55612
55613 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
55614 Check __x86_64__ instead of __WORDSIZE.
55615
55616 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55617
55618 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
55619
55620 2012-03-19 David S. Miller <davem@davemloft.net>
55621
55622 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55623
55624 * sysdeps/sparc/fpu/fenv_private.h: New file.
55625 * sysdeps/sparc/fpu/math_private.h: Use it.
55626 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
55627 Remove.
55628 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
55629 (libc_feholdexcept_setroundl): Remove.
55630 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
55631 Remove.
55632 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
55633 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
55634
55635 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55636
55637 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
55638 int64_t instead of long int.
55639 (INSERT_WORDS64): Likwise.
55640
55641 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55642
55643 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
55644 _Unwind_GetCFA return to _Unwind_Ptr first.
55645
55646 2012-03-19 Joseph Myers <joseph@codesourcery.com>
55647
55648 [BZ #13629]
55649 * math/s_clog.c: Include <float.h>.
55650 (__clog): Scale large or subnormal inputs.
55651 * math/s_clogf.c: Likewise.
55652 * math/s_clogl.c: Likewise.
55653 * math/s_clog10.c: Include <float.h>.
55654 (M_LOG10_2): Define.
55655 (__clog10): Scale large or subnormal inputs.
55656 * math/s_clog10f.c: Likewise.
55657 * math/s_clog10l.c: Likewise.
55658 * math/libm-test.inc (clog_test): Add more tests.
55659 (clog10_test): Likewise.
55660 * sysdeps/i386/fpu/libm-test-ulps: Update.
55661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55662
55663 [BZ #11451]
55664 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
55665 x and y.
55666 * math/libm-test.inc (atan2_test): Add another test.
55667
55668 * Makerules (common-objdir-compile): Remove.
55669 * sysdeps/unix/Makefile (config-generated): Do not add
55670 $(unix-generated) to variable.
55671 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
55672 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
55673 Remove rule.
55674 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
55675 Likewise.
55676 [generic bits/local_lim.h] (before-compile): Do not append to
55677 variable.
55678 [generic bits/local_lim.h] (common-generated): Likewise.
55679 [generic sys/param.h] (before-compile): Do not append to variable.
55680 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
55681 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
55682 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
55683 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
55684 include.
55685 [generic sys/param.h] (sys/param.h-includes): Remove variable.
55686 [generic sys/param.h] (sys/param.h-includes): Remove rule.
55687 [generic sys/param.h] ($(addprefix
55688 $(common-objpfx),$(sys/param.h-includes))): Likewise.
55689 [generic sys/param.h] (common-generated): Do not append to
55690 variable.
55691 [generic sys/param.h] (sysdep_headers): Likewise.
55692 [generic bits/errno.h] (before-compile): Do not append to
55693 variable.
55694 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
55695 rule.
55696 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
55697 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
55698 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
55699 [generic bits/errno.h] (common-generated): Do not append to
55700 variable.
55701 [generic bits/ioctls.h] (before-compile): Do not append to
55702 variable.
55703 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
55704 rule.
55705 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
55706 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
55707 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
55708 rule.
55709 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
55710 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
55711 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
55712 [generic bits/ioctls.h] (common-generated): Do not append to
55713 variable.
55714 [generic sys/syscall.h] (syscall.h): Remove variable.
55715 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
55716 rule.
55717 [generic sys/syscall.h] (before-compile): Do not append to
55718 variable.
55719 [generic sys/syscall.h] (common-generated): Likewise.
55720 * sysdeps/unix/errnos-tmpl.c: Remove file.
55721 * sysdeps/unix/errnos.awk: Likewise.
55722 * sysdeps/unix/ioctls-tmpl.c: Likewise.
55723 * sysdeps/unix/ioctls.awk: Likewise.
55724 * sysdeps/unix/mk-local_lim.c: Likewise.
55725 * sysdeps/unix/snarf-ioctls: Likewise.
55726
55727 2012-03-19 Richard Henderson <rth@twiddle.net>
55728
55729 * sysdeps/i386/fpu/fenv_private.h: New file.
55730 * sysdeps/i386/fpu/math_private.h: Use it.
55731 (math_opt_barrier, math_force_eval): Remove.
55732 (libc_feholdexcept_setround_53bit): Remove.
55733 (libc_feupdateenv_53bit): Remove.
55734 * sysdeps/x86_64/fpu/math_private.h: Likewise.
55735 (math_opt_barrier, math_force_eval): Remove.
55736 (libc_feholdexcept): Remove.
55737 (libc_feholdexcept_setround): Remove.
55738 (libc_fetestexcept, libc_fesetenv): Remove.
55739 (libc_feupdateenv_test): Remove.
55740 (libc_feupdateenv, libc_feholdsetround): Remove.
55741 (libc_feresetround): Remove.
55742
55743 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
55744 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
55745
55746 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
55747 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
55748 (libc_feupdateenv_testl): New.
55749 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
55750 (libc_feupdateenv_testf): New.
55751 (libc_feupdateenv): Use libc_feupdateenv_test.
55752 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
55753 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
55754
55755 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
55756 (libc_feholdsetroundf, libc_feholdsetroundl): New.
55757 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
55758 (libc_feresetround_noex): New.
55759 (libc_feresetround_noexf): New.
55760 (libc_feresetround_noexl): New.
55761 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
55762 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
55763 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
55764 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
55765 SET_RESTORE_ROUND.
55766 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
55767 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
55768 (__cos): Likewise.
55769 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
55770 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
55771 SET_RESTORE_ROUND_NOEX.
55772 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
55773 SET_RESTORE_ROUND_NOEXF.
55774 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
55775 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
55776 (libc_feholdsetroundf): New.
55777 (libc_feresetround, libc_feresetroundf): New.
55778
55779 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
55780 (libc_feholdexcept_setround_53bit): Convert from macro to function.
55781 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
55782
55783 * sysdeps/generic/math_private.h: Include <fenv.h>.
55784 (default_libc_feholdexcept): New.
55785 (default_libc_feholdexcept_setround): New.
55786 (default_libc_fesetenv, default_libc_feupdateenv): New.
55787 (libc_feholdexcept): Only define if undefined.
55788 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
55789 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
55790 (libc_feholdexcept_setroundl): Likewise.
55791 (libc_feholdexcept_setround_53bit): Likewise.
55792 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
55793 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
55794 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
55795 (libc_feupdateenv_53bit): Likewise.
55796 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
55797 (libc_feholdexcept): Convert from macro to inline function.
55798 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
55799 (libc_fesetenv, libc_feupdateenv): Likewise.
55800
55801 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
55802 not previously defined.
55803 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
55804 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
55805 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
55806 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
55807 * sysdeps/ieee754/flt-32/math_private.h: New file.
55808 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
55809 math_private.h below SET_FLOAT_WORD.
55810 (__isnan, __isinf_ns, __finite): Remove.
55811 (__isnanf, __isinf_nsf, __finitef): Remove.
55812
55813 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
55814
55815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55816
55817 2012-03-17 David S. Miller <davem@davemloft.net>
55818
55819 [BZ #6471]
55820 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
55821 for 2.16.
55822
55823 2012-03-16 David S. Miller <davem@davemloft.net>
55824
55825 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
55826 warnings.
55827
55828 [BZ #6471]
55829 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
55830 properly.
55831 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
55832 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
55833 sysdep_routines when subdir is sysvipc.
55834 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
55835 __getshmlba helper.
55836
55837 * sysdeps/sparc/fpu/libm-test/ulps: Update.
55838
55839 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55840
55841 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
55842 [__LP64__].
55843
55844 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55845
55846 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
55847 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
55848 (__lround): Renamed to ...
55849 (__llround): This. Replace long int with long long int.
55850 Define lround functions as aliases of llround functions.
55851 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
55852
55853 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55854
55855 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
55856 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
55857 adresses to uintptr_t. Replace "long int" and "unsigned long
55858 int" with "greg_t" on va_arg.
55859
55860 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55861
55862 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
55863 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
55864
55865 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
55866 Move e_machine check before EI_CLASS check. Handle x32
55867 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
55868 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
55869 SKIP_EM_IA_64 and include
55870 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
55871
55872 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
55873 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
55874 (add_system_dir): New macro.
55875
55876 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
55877 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
55878
55879 2012-03-16 Joseph Myers <joseph@codesourcery.com>
55880
55881 [BZ #2551]
55882 [BZ #2552]
55883 [BZ #2553]
55884 [BZ #2554]
55885 [BZ #2562]
55886 [BZ #2563]
55887 [BZ #2565]
55888 [BZ #2566]
55889 [BZ #2576]
55890 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
55891 (y0): Likewise.
55892 * math/w_j0f.c (j0f): Likewise.
55893 (y0f): Likewise.
55894 * math/w_j0l.c (__j0l): Likewise.
55895 (__y0l): Likewise.
55896 * math/w_j1.c (j1): Likewise.
55897 (y1): Likewise.
55898 * math/w_j1f.c (j1f): Likewise.
55899 (y1f): Likewise.
55900 * math/w_j1l.c (__j1l): Likewise.
55901 (__y1l): Likewise.
55902 * math/w_jn.c (jn): Likewise.
55903 (yn): Likewise.
55904 * math/w_jnf.c (jnf): Likewise.
55905 (ynf): Likewise.
55906 * math/w_jnl.c (__jnl): Likewise.
55907 (__ynl): Likewise.
55908 * math/libm-test.inc (j0_test): Add more tests.
55909 (j1_test): Likewise.
55910 (jn_test): Likewise. Add trailing semicolon to existing test.
55911 (y0_test): Likewise.
55912 (y1_test): Likewise.
55913 * sysdeps/i386/fpu/libm-test-ulps: Update.
55914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55915
55916 [BZ #13851]
55917 [BZ #13854]
55918 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
55919 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
55920 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
55921 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
55922 (__tanl): Set errno for infinite argument.
55923 * sysdeps/i386/fpu/mptan.c: Remove.
55924 * sysdeps/i386/fpu/s_tan.S: Likewise.
55925 * sysdeps/i386/fpu/s_tanl.S: Likewise.
55926 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
55927 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
55928 * math/libm-test.inc (tan_test): Add more tests and enable more
55929 tests for double and long double.
55930 * sysdeps/i386/fpu/libm-test-ulps: Update.
55931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55932
55933 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
55934
55935 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
55936 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
55937
55938 2012-03-16 Roland McGrath <roland@hack.frob.com>
55939
55940 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
55941 * configure.in: Use it for both main tree and add-ons.
55942 * configure: Regenerated.
55943
55944 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55945
55946 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
55947
55948 2012-03-16 Joseph Myers <joseph@codesourcery.com>
55949
55950 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
55951 in comment.
55952
55953 [BZ #13851]
55954 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
55955 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
55956 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
55957 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
55958 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
55959 infinite argument.
55960 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
55961 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
55962 != 0 for prec == 2.
55963 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
55964 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
55965 * sysdeps/i386/fpu/s_cosl.S: Likewise.
55966 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
55967 * sysdeps/i386/fpu/s_sinl.S: Likewise.
55968 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
55969 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
55970 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
55971 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
55972 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
55973 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
55974 * math/libm-test.inc (cos_test): Add more tests and enable more
55975 tests for long double.
55976 (sin_test): Likewise.
55977 (sincos_test): Likewise.
55978 * sysdeps/i386/fpu/libm-test-ulps: Update.
55979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55980
55981 2012-03-16 David S. Miller <davem@davemloft.net>
55982
55983 * sysdeps/sparc/fpu/math_private.h: New file.
55984
55985 2012-03-15 David S. Miller <davem@davemloft.net>
55986
55987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
55988 file.
55989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
55990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
55991 file.
55992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
55993 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
55994 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
55995 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
55996 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
55997 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
55998 sysdep routines.
55999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
56000
56001 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
56002 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
56003
56004 * sysdeps/sparc/sparc-ifunc.h: New file.
56005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
56006 sparc-ifunc.h
56007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
56008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
56009 Likewise.
56010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
56011 Likewise.
56012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
56013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
56014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
56016 Likewise.
56017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
56018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
56019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
56020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
56021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
56022 Likewise.
56023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
56024 Likewise.
56025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
56026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
56027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
56028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
56029 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
56030 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
56031 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
56032 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
56033 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
56034 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
56035 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
56036 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
56037 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
56038 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
56039 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
56040 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
56041 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
56042 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
56043 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
56044 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
56045 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
56046 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
56047 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
56048 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
56049
56050 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
56051
56052 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
56053 scaling.
56054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56055
56056 2012-03-15 Andreas Jaeger <aj@suse.de>
56057
56058 [BZ #13852]
56059 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
56060 ieee754/flt-32 implementation for sin, cos and sincos.
56061 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
56062 * sysdeps/i386/fpu/s_cosf.S: Likewise.
56063 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
56064 * sysdeps/i386/fpu/s_sinf.S: Likewise.
56065 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
56066 ieee754/flt-32 implementation for tan.
56067
56068 * math/libm-test.inc (cos_test): Enable some large input tests for
56069 float as well
56070 (sin_test): Likewise.
56071 (sincos_test): Likewise.
56072 (tan_test): Add tests for large input.
56073
56074 * sysdeps/i386/fpu/libm-test-ulps: Update.
56075
56076 2012-03-15 Andreas Jaeger <aj@suse.de>
56077
56078 [BZ #13658]
56079 * math/libm-test.inc (cos_test): Add more test cases.
56080 (sin_test): Likewise.
56081 (sincos_test): Likewise.
56082
56083 2012-03-15 Andreas Jaeger <aj@suse.de>
56084
56085 [BZ #13837]
56086 * math/libm-test.inc (cos_test): Add a test case for large input
56087 value.
56088 (sin_test): Likewise.
56089 (sincos_test): Likewise.
56090
56091 2012-03-15 Andreas Jaeger <aj@suse.de>
56092 Joseph Myers <joseph@codesourcery.com>
56093
56094 [BZ #13658]
56095 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
56096 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
56097 * sysdeps/i386/fpu/branred.c: Likewise.
56098 * sysdeps/i386/fpu/dosincos.c: Likewise.
56099 * sysdeps/i386/fpu/mpa.c: Likewise.
56100 * sysdeps/i386/fpu/s_cos.S: Likewise.
56101 * sysdeps/i386/fpu/s_sin.S: Likewise.
56102 * sysdeps/i386/fpu/s_sincos.S: Likewise.
56103 * sysdeps/i386/fpu/sincos32.c: Likewise.
56104
56105 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
56106 Define.
56107 (libc_feupdateenv_53bit): Define.
56108 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
56109 Define.
56110 (libc_feupdateenv_53bit): Define.
56111
56112 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
56113 53 bit (without extend i386 double precision).
56114
56115 * math/libm-test.inc (sincos_test): Add tests for large input.
56116 (sin): Likewise.
56117 (cos): Likewise.
56118
56119 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
56120
56121 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
56122
56123 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56124
56125 2012-03-15 David S. Miller <davem@davemloft.net>
56126
56127 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
56128 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
56129 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
56130 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
56131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
56132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
56133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
56134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
56135 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
56136 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
56137 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
56138 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
56139 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
56140 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
56141 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
56142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
56143 file.
56144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
56145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
56146 file.
56147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
56148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
56149 file.
56150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
56151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
56152 file.
56153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
56154 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
56155 fmin/fmax sysdep routines.
56156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
56157
56158 2012-03-14 David S. Miller <davem@davemloft.net>
56159
56160 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
56161 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
56162 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
56163 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
56164 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
56165 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
56166 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
56167 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
56168 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
56169 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
56170 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
56171 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
56172 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
56173 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
56174 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
56175 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
56176 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
56177 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
56178 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
56179 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
56180 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
56181 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
56182 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
56183 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
56184 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
56185 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
56186 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
56187 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
56188 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
56189 routines.
56190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
56191 file.
56192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
56193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
56194 file.
56195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
56196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
56197 file.
56198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
56199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
56200 file.
56201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
56202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
56203 file.
56204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
56205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
56206 file.
56207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
56208 file.
56209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
56210 file.
56211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
56212 file.
56213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
56214 New file.
56215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
56216 file.
56217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
56218 file.
56219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
56220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
56221 file.
56222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
56223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
56224 file.
56225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
56226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
56227 file.
56228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
56229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
56230 VIS3 routines.
56231
56232 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
56233 New file.
56234
56235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56236
56237 * sysdeps/sparc/configure.in: New file.
56238 * sysdeps/sparc/configure: Generate.
56239 * configure.in (libc_cv_sparc_as_vis3): Substitute.
56240 * configure: Regenerate.
56241 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
56242 * config.make.in (have-as-vis3): New.
56243 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
56244 available use -Av9d instead of -Av9a.
56245 * sysdeps/sparc/sparc64/Makefile: Likewise.
56246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
56247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
56248 New file.
56249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
56250 file.
56251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
56252 New file.
56253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
56254 file.
56255 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
56256 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
56257 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
56258 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
56259 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
56260
56261 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
56262 fzeros/fnegs to load 0x80000000 into a float register instead of
56263 using the stack.
56264 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
56265
56266 2012-03-14 Joseph Myers <joseph@codesourcery.com>
56267
56268 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56269 bits/syscall.h.
56270 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
56271 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
56272 ($(inst_includedir)/bits/syscall.h): Remove rule.
56273 ($(objpfx)bits/syscall.d): Include instead of
56274 $(objpfx)syscall-list.d.
56275 (generated): Change syscall-list.h and syscall-list.d to
56276 bits/syscall.h and bits/syscall.d.
56277
56278 2012-03-14 Roland McGrath <roland@hack.frob.com>
56279
56280 [BZ #13846]
56281 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
56282
56283 2012-03-14 Joseph Myers <joseph@codesourcery.com>
56284
56285 [BZ #13841]
56286 * math/s_csqrt.c: Include <float.h>.
56287 (__csqrt): Scale large or subnormal inputs.
56288 * math/s_csqrtf.c: Likewise.
56289 * math/s_csqrtl.c: Likewise.
56290 * math/libm-test.inc (csqrt_test): Add more tests.
56291 * sysdeps/i386/fpu/libm-test-ulps: Update.
56292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56293
56294 [BZ #13840]
56295 * math/libm-test.inc (hypot_test): Add more tests.
56296
56297 2012-03-13 David S. Miller <davem@davemloft.net>
56298
56299 [BZ #13840]
56300 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
56301 double-precision for the calculation instead of scaling.
56302
56303 2012-03-13 Joseph Myers <joseph@codesourcery.com>
56304
56305 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
56306 manipulate bits before adding and subtracting TWO52[sx].
56307 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
56308 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
56309 Likewise.
56310 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
56311
56312 2012-03-13 David S. Miller <davem@davemloft.net>
56313
56314 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
56315 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
56316 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
56317 rtld-global-offsets.h
56318 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56319
56320 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
56321 large parameters.
56322
56323 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
56324
56325 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
56326 'err' in the ifdef scope in which it is actually used.
56327
56328 * nss/nss_db/db-init.c: Include string.h
56329
56330 2012-03-12 David S. Miller <davem@davemloft.net>
56331
56332 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
56333 masking out of the most significant byte of random value used.
56334 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56335 Fix coding style in previous change.
56336
56337 * sysdeps/unix/sysv/linux/kernel-features.h
56338 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
56339 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
56340 expression.
56341 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
56342 later.
56343
56344 2012-03-11 David S. Miller <davem@davemloft.net>
56345
56346 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
56347 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
56348 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
56349 for 'resultvar' otherwise things get truncated on 64-bit.
56350
56351 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56352 Fix masking out of the most significant byte of random value used.
56353
56354 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56355
56356 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
56357
56358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56359
56360 2012-03-09 David S. Miller <davem@davemloft.net>
56361
56362 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
56363 variables with appropriate CPP guards.
56364 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
56365 from the frame pointer, not the stack pointer. Correct layout
56366 comments. Fix test on resulting framesize and the management of
56367 the outregs buffer for pltexit. Preserve floating point return
56368 values across _dl_call_pltexit call.
56369 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
56370 framesize and the management of the outregs buffer for pltexit.
56371 Preserve floating point return values across _dl_call_pltexit
56372 call.
56373 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
56374 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
56375 (la_sparc64_gnu_pltexit): New functions.
56376 (print_exit): Fix format string for return register value.
56377
56378 2012-03-10 Joseph Myers <joseph@codesourcery.com>
56379
56380 * sunrpc/Makefile (others): Add rpcgen.
56381 ($(objpfx)rpcgen): Remove special build rule and dependency on
56382 libc.
56383 * sunrpc/rpcgen.c: New file.
56384
56385 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
56386
56387 [BZ #13673]
56388 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
56389 * stdio-common/bug-vfprintf-nargs.c: Likewise.
56390 * sysdeps/i386/crti.S: Likewise.
56391 * sysdeps/i386/crtn.S: Likewise.
56392 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
56393 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
56394 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
56395 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
56396 * sysdeps/sh/crti.S: Likewise.
56397 * sysdeps/sh/crtn.S: Likewise.
56398 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
56399
56400 [BZ #13673]
56401 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
56402 with URL.
56403 * locale/programs/locfile-kw.gperf: Likewise.
56404 * locale/programs/charmap-kw.h: Regenerated.
56405 * locale/programs/locfile-kw.h: Likewise.
56406
56407 [BZ #13673]
56408 * intl/plural.y: Replace FSF snail mail address with URL.
56409 * intl/plural.c: Regenerated.
56410
56411 2012-03-09 Richard Henderson <rth@twiddle.net>
56412
56413 * include/math_private.h: Remove file.
56414 * math/math_private.h: Move file ...
56415 * sysdeps/generic/math_private.h: ... here.
56416
56417 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
56418 * sysdeps/powerpc/fpu/math_private.h: Likewise.
56419 * sysdeps/x86_64/fpu/math_private.h: Likewise.
56420
56421 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
56422 and <math_private.h>.
56423 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56424 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56425 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56426 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56427 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56428 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
56429 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56430 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56431 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56432 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56433 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56434 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56435 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56436 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56437 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56438 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56439 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56440 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56441 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56442 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56443 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56444 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56445 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56446 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56447 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
56448 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56449 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56450 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56451 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56452 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56453 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56454 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56455 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
56456 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56457 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56458 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56459 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56460 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56461 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56462 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56463 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
56464 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56465 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56466 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
56467 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
56468 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56469 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
56470 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
56471 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56472 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56473 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
56474 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
56475 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
56476 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56477 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
56478 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56479 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56480 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
56481 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
56482 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
56483 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56484 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
56485 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56486 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56487 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
56488 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56489 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56490 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56491 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
56492 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
56493 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
56494 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56495 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
56496 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56497 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
56498 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
56499 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
56500 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56501 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
56502 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
56503 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
56504 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
56505 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
56506 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56507 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56508 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
56509 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
56510 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
56511 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56512 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56513 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56514 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
56515 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56516 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
56517 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
56518 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
56519 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56520 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
56521 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56522 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
56523 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
56524 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
56525 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
56526 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
56527 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56528 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
56529 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
56530 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
56531 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56532 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56533 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56534 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56535 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56536 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56537 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
56538 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56539 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56540 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56541 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56542 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56543 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56544 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56545 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56546 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
56547 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56548 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56549 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56550 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
56551 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56552 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
56553 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
56554 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56555 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56556 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
56557 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
56558 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
56559 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56560 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56561 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
56562 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56563 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56564 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
56565 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
56566 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
56567 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
56568 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56569 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56570 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56571 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
56572 * sysdeps/ieee754/k_standard.c: Likewise.
56573 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56574 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56575 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56576 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56577 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56578 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56579 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56580 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56581 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56582 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56583 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56584 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56585 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56586 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56587 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56588 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56589 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
56590 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56591 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56592 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
56593 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
56594 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
56595 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56596 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56597 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
56598 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
56599 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56600 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56601 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56602 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56603 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
56604 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56605 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56606 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56607 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
56608 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56609 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56610 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
56611 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
56612 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56613 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
56614 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
56615 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
56616 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56617 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
56618 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
56619 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56620 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56621 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56622 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56623 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56624 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
56625 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56626 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
56627 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56628 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56629 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
56630 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
56631 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56632 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56633 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56634 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
56635 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56636 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56637 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56638 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56639 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56640 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56641 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56642 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56643 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56644 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56645 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56646 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56647 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56648 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56649 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
56650 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56651 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56652 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
56653 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
56654 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
56655 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56656 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56657 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
56658 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56659 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56660 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
56661 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
56662 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56663 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
56664 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56665 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
56666 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
56667 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56668 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56669 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
56670 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
56671 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
56672 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
56673 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56674 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56675 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56676 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56677 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
56678 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56679 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56680 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
56681 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
56682 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56683 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56684 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56685 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56686 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56687 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56688 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56689 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56690 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56691 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56692 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56693 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56694 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
56695 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56696 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
56697 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56698 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
56699 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56700 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56701 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56702 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56703 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56704 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56705 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56706 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
56707 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56708 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56709 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
56710 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
56711 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56712 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
56713 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
56714 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56715 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
56716 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
56717 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
56718 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56719 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56720 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56721 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56722 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
56723 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56724 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56725 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
56726 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56727 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
56728 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
56729 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56730 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56731 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56732 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
56733 * sysdeps/ieee754/s_lib_version.c: Likewise.
56734 * sysdeps/ieee754/s_matherr.c: Likewise.
56735 * sysdeps/ieee754/s_signgam.c: Likewise.
56736 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56737 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56738 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
56739 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
56740 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
56741 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
56742 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
56743 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
56744 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
56745 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
56746 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
56747 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
56748 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56749 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56750 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
56751 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
56752 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56753 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
56754 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56755 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56756 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56757
56758 2012-03-09 Joseph Myers <joseph@codesourcery.com>
56759
56760 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
56761 * sunrpc/rpc_main.c: Likewise.
56762 * sunrpc/rpc_svcout.c: Likewise.
56763
56764 2012-03-09 David S. Miller <davem@davemloft.net>
56765
56766 * include/math_private.h: New file.
56767
56768 2012-03-09 Joseph Myers <joseph@codesourcery.com>
56769
56770 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
56771 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
56772 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
56773 from <bits/socket_type.h>.
56774 (enum __socket_type): Don't define here.
56775 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
56776 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56777 bits/socket_type.h.
56778
56779 [BZ #13566]
56780 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
56781 checking __USE_GNU.
56782
56783 * Makerules ($(inst_includedir)/%.h): New rule.
56784 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
56785 (install-others): Remove variable setting.
56786 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
56787
56788 2012-03-08 Richard Henderson <rth@twiddle.net>
56789
56790 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
56791 from macro to inline function; merge with the
56792 !__LIBC_INTERNAL_MATH_INLINES version.
56793 (__ieee754_sqrtf): Likewise.
56794
56795 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
56796 to inline function.
56797 (__rintf, __floor, __floorf): Likewise.
56798
56799 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
56800 macro to inline function.
56801 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
56802
56803 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
56804 not <math/math_private.h>.
56805
56806 2012-03-08 David S. Miller <davem@davemloft.net>
56807
56808 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
56809 copyright year.
56810 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
56811
56812 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
56813
56814 * resolv/gai_misc.c (handle_requests): Fix struct timespec
56815 normalization.
56816 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
56817 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
56818
56819 2012-03-08 Ulrich Drepper <drepper@gmail.com>
56820
56821 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
56822 be defined individually, they must be defined as a block. Define
56823 S for printing a string instead of hidint the different by using a
56824 macro for adding the 'l'.
56825 * stdio-common/tst-fphex-wide.c: Adjust.
56826
56827 2012-03-07 Marek Polacek <polacek@redhat.com>
56828
56829 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
56830
56831 2012-03-08 Marek Polacek <polacek@redhat.com>
56832
56833 [BZ #13806]
56834 * stdio-common/Makefile (tests): Add tst-fphex-wide.
56835 * stdio-common/tst-fphex.c: Define a few macros to make the
56836 test reusable. Use them.
56837 * stdio-common/tst-fphex-wide.c: New file.
56838
56839 2012-03-08 Joseph Myers <joseph@codesourcery.com>
56840
56841 [BZ #6911]
56842 * manual/macros.texi (gnusystems): New macro.
56843 (nongnusystems): Likewise.
56844 (gnulinuxhurdsystems): Likewise.
56845 (gnuhurdsystems): Likewise..
56846 (gnulinuxsystems): Likewise.
56847 * manual/charset.texi: Use new macros or @theglibc{} to refer to
56848 variants of the GNU system, not "GNU system".
56849 * manual/conf.texi: Likewise.
56850 * manual/errno.texi: Likewise. Update example of errno macro
56851 expansion.
56852 * manual/filesys.texi: Likewise.
56853 (getumask): Document as specific to GNU/Hurd.
56854 * manual/install.texi: Likewise. Reword some references to
56855 GNU/Linux.
56856 * manual/intro.texi: Likewise.
56857 * manual/io.texi: Likewise.
56858 (File Name Portability): Detail which constraints are inapplicable
56859 to all GNU systems and which are only inapplicable to GNU/Hurd.
56860 * manual/job.texi: Likewise.
56861 * manual/llio.texi: Likewise.
56862 (O_NOCTTY): Document as present on GNU/Linux.
56863 * manual/maint.texi: Likewise.
56864 * manual/memory.texi: Likewise.
56865 * manual/pattern.texi: Likewise.
56866 * manual/pipe.texi: Likewise.
56867 * manual/process.texi: Likewise.
56868 * manual/resource.texi: Likewise.
56869 (RUSAGE_CHILDREN): Remove statement about specifying a particular
56870 child on GNU/Hurd.
56871 * manual/setjmp.texi: Likewise.
56872 * manual/signal.texi: Likewise.
56873 * manual/startup.texi: Likewise.
56874 * manual/stdio.texi: Likewise.
56875 * manual/terminal.texi: Likewise.
56876 (ONLCR): Document as POSIX.
56877 (OXTABS): Document availability on GNU/Linux as XTABS.
56878 (ONOEOT): Document availability separately from other bits.
56879 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
56880 * manual/time.texi: Likewise.
56881 * manual/users.texi: Likewise.
56882 * INSTALL: Regenerated.
56883 * sysdeps/gnu/errlist.c: Regenerated.
56884
56885 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
56886 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
56887 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
56888 puts.
56889 * configure: Regenerated.
56890
56891 2012-03-07 Joseph Myers <joseph@codesourcery.com>
56892
56893 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
56894 default includes instead of AC_HEADER_CHECK.
56895 * sysdeps/i386/configure: Regenerated.
56896
56897 [BZ #10716]
56898 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
56899 * math/s_cacoshf.c (__cacoshf): Likewise.
56900 * math/s_cacoshl.c (__cacoshl): Likewise.
56901 * math/s_casinh.c (__casinh): Set signs of result from argument.
56902 * math/s_casinhf.c (__casinhf): Likewise.
56903 * math/s_casinhl.c (__casinhl): Likewise.
56904 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
56905 (casinh_test): Add more tests.
56906 * sysdeps/i386/fpu/libm-test-ulps: Update.
56907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56908
56909 2012-03-07 Ulrich Drepper <drepper@gmail.com>
56910
56911 * po/zh_TW.po: Update from translation team.
56912
56913 * login/Makefile (distribute): Remove variable.
56914 * catgets/Makefile: Likewise.
56915 * mach/Makefile: Likewise.
56916 * malloc/Makefile: Likewise.
56917 * misc/Makefile: Likewise.
56918 * iconv/Makefile: Likewise.
56919 * nscd/Makefile: Likewise.
56920 * hurd/Makefile: Likewise.
56921 * manual/Makefile: Likewise.
56922 * locale/Makefile: Likewise.
56923 * intl/Makefile: Likewise.
56924 * conform/Makefile: Likewise.
56925 * nss/Makefile: Likewise.
56926 * time/Makefile: Likewise.
56927 * soft-fp/Makefile: Likewise.
56928 * dirent/Makefile: Likewise.
56929 * gmon/Makefile: Likewise.
56930 * po/Makefile: Likewise.
56931 * rt/Makefile: Likewise.
56932 * socket/Makefile: Likewise.
56933 * math/Makefile: Likewise.
56934 * signal/Makefile: Likewise.
56935 * debug/Makefile: Likewise.
56936 * elf/Makefile: Likewise.
56937 * timezone/Makefile: Likewise.
56938 * stdlib/Makefile: Likewise.
56939 * iconvdata/Makefile: Likewise.
56940 * sunrpc/Makefile: Likewise.
56941 * io/Makefile: Likewise.
56942 * argp/Makefile: Likewise.
56943 * inet/Makefile: Likewise.
56944 * hesiod/Makefile: Likewise.
56945 * grp/Makefile: Likewise.
56946 * csu/Makefile: Likewise.
56947 * wctype/Makefile: Likewise.
56948 * crypt/Makefile: Likewise.
56949 * libio/Makefile: Likewise.
56950 * string/Makefile: Likewise.
56951 * nis/Makefile: Likewise.
56952 * resolv/Makefile: Likewise.
56953 * stdio-common/Makefile: Likewise.
56954 * wcsmbs/Makefile: Likewise.
56955 * dlfcn/Makefile: Likewise.
56956 * posix/Makefile: Likewise.
56957
56958 [BZ #6959]
56959 * timezone/Makefile: Don't install timezone files, just the programs
56960 and scripts.
56961
56962 2012-03-06 Ulrich Drepper <drepper@gmail.com>
56963
56964 * nss/databases.def: Add missing gshadow entry.
56965
56966 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
56967
56968 2012-03-06 Marek Polacek <polacek@redhat.com>
56969
56970 [BZ #13726]
56971 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
56972 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
56973 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
56974 * stdio-common/tst-long-dbl-fphex.c: New file.
56975
56976 2012-03-06 David S. Miller <davem@davemloft.net>
56977
56978 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56979 (set_obp_int): New function.
56980 (get_obp_int): New function.
56981 (__get_clockfreq_via_dev_openprom): Likewise.
56982 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
56983 Avoid unused variable warnings on 'val' and use builtin_expect.
56984 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
56985 __builtin_expect.
56986 (INLINE_CLONE_SYSCALL): Likewise.
56987
56988 2012-03-05 David S. Miller <davem@davemloft.net>
56989
56990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56991
56992 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
56993
56994 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56995
56996 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
56997 only for |x| >= 40.
56998 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56999
57000 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
57001
57002 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
57003 Replace gettimeofday with __vdso_gettimeofday.
57004
57005 * sysdeps/unix/sysv/linux/x86_64/init-first.c
57006 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
57007 __vdso_clock_gettime and __vdso_getcpu.
57008
57009 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
57010 time with __vdso_time.
57011
57012 2012-03-05 Joseph Myers <joseph@codesourcery.com>
57013
57014 * manual/lang.texi (size_t): Note types to which size_t may be
57015 equivalent with the GNU C Library, but do not describe when
57016 differences between them are significant.
57017
57018 2012-03-05 Andreas Jaeger <aj@suse.de>
57019
57020 * sysdeps/i386/fpu/libm-test-ulps: Update.
57021
57022 2012-03-05 Joseph Myers <joseph@codesourcery.com>
57023
57024 [BZ #3976]
57025 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
57026 (__ieee754_pow): Save and restore rounding mode and use
57027 round-to-nearest for main computations.
57028 * math/libm-test.inc (pow_test_tonearest): New function.
57029 (pow_test_towardzero): Likewise.
57030 (pow_test_downward): Likewise.
57031 (pow_test_upward): Likewise.
57032 (main): Call the new functions.
57033 * sysdeps/i386/fpu/libm-test-ulps: Update.
57034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57035
57036 [BZ #3976]
57037 * math/libm-test.inc (cosh_test_tonearest): New function.
57038 (cosh_test_towardzero): Likewise.
57039 (cosh_test_downward): Likewise.
57040 (cosh_test_upward): Likewise.
57041 (sinh_test_tonearest): Likewise.
57042 (sinh_test_towardzero): Likewise.
57043 (sinh_test_downward): Likewise.
57044 (sinh_test_upward): Likewise.
57045 (main): Call the new functions.
57046 * sysdeps/i386/fpu/libm-test-ulps: Update.
57047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57048
57049 2012-03-05 Tom de Vries <tom@codesourcery.com>
57050
57051 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
57052 default stack guard is set in last bytes.
57053 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
57054
57055 2012-03-05 Kees Cook <keescook@chromium.org>
57056
57057 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
57058
57059 [BZ #13656]
57060 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
57061 possibly allocate from heap instead of stack.
57062 * stdio-common/bug-vfprintf-nargs.c: New file.
57063 * stdio-common/Makefile (tests): Add nargs overflow test.
57064
57065 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
57066
57067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57068
57069 2012-03-03 Marek Polacek <polacek@redhat.com>
57070
57071 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
57072 * math/math_private.h: Likewise.
57073 * stdlib/tst-strtod.c: Likewise.
57074 * sysdeps/i386/i486/bits/atomic.h: Likewise.
57075 * sysdeps/x86_64/bits/atomic.h: Likewise.
57076
57077 2012-03-02 David S. Miller <davem@davemloft.net>
57078
57079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
57080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
57081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
57082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
57083 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
57084 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
57085 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
57086 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
57087
57088 2012-03-02 Roland McGrath <roland@hack.frob.com>
57089
57090 [BZ #13792]
57091 * manual/examples/README: New file, says the example source files
57092 can be used under GPL>=2.
57093 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
57094 line containing just "*/".
57095 * manual/examples/add.c: Add copyright header (GPL>=2).
57096 * manual/examples/argp-ex1.c: Likewise.
57097 * manual/examples/argp-ex2.c: Likewise.
57098 * manual/examples/argp-ex3.c: Likewise.
57099 * manual/examples/argp-ex4.c: Likewise.
57100 * manual/examples/atexit.c: Likewise.
57101 * manual/examples/db.c: Likewise.
57102 * manual/examples/dir.c: Likewise.
57103 * manual/examples/dir2.c: Likewise.
57104 * manual/examples/execinfo.c: Likewise.
57105 * manual/examples/filecli.c: Likewise.
57106 * manual/examples/filesrv.c: Likewise.
57107 * manual/examples/fmtmsgexpl.c: Likewise.
57108 * manual/examples/genpass.c: Likewise.
57109 * manual/examples/inetcli.c: Likewise.
57110 * manual/examples/inetsrv.c: Likewise.
57111 * manual/examples/isockad.c: Likewise.
57112 * manual/examples/longopt.c: Likewise.
57113 * manual/examples/memopen.c: Likewise.
57114 * manual/examples/memstrm.c: Likewise.
57115 * manual/examples/mkfsock.c: Likewise.
57116 * manual/examples/mkisock.c: Likewise.
57117 * manual/examples/mygetpass.c: Likewise.
57118 * manual/examples/pipe.c: Likewise.
57119 * manual/examples/popen.c: Likewise.
57120 * manual/examples/rprintf.c: Likewise.
57121 * manual/examples/search.c: Likewise.
57122 * manual/examples/select.c: Likewise.
57123 * manual/examples/setjmp.c: Likewise.
57124 * manual/examples/sigh1.c: Likewise.
57125 * manual/examples/sigusr.c: Likewise.
57126 * manual/examples/stpcpy.c: Likewise.
57127 * manual/examples/strdupa.c: Likewise.
57128 * manual/examples/strftim.c: Likewise.
57129 * manual/examples/strncat.c: Likewise.
57130 * manual/examples/subopt.c: Likewise.
57131 * manual/examples/swapcontext.c: Likewise.
57132 * manual/examples/termios.c: Likewise.
57133 * manual/examples/testopt.c: Likewise.
57134 * manual/examples/testpass.c: Likewise.
57135 * manual/examples/timeval_subtract.c: Likewise.
57136
57137 [BZ #13792]
57138 * manual/time.texi (Elapsed Time): Move timeval_subtract example
57139 function to ...
57140 * manual/timeval_subtract.c.texi: ... here, new file.
57141
57142 2012-03-02 David S. Miller <davem@davemloft.net>
57143
57144 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
57145
57146 2012-03-02 Joseph Myers <joseph@codesourcery.com>
57147
57148 [BZ #3976]
57149 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
57150 (__sin): Save and restore rounding mode and use round-to-nearest
57151 for all computations.
57152 (__cos): Save and restore rounding mode and use round-to-nearest
57153 for all computations.
57154 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
57155 <fenv.h>.
57156 (tan): Save and restore rounding mode and use round-to-nearest for
57157 all computations.
57158 * math/libm-test.inc (cos_test_tonearest): New function.
57159 (cos_test_towardzero): Likewise.
57160 (cos_test_downward): Likewise.
57161 (cos_test_upward): Likewise.
57162 (sin_test_tonearest): Likewise.
57163 (sin_test_towardzero): Likewise.
57164 (sin_test_downward): Likewise.
57165 (sin_test_upward): Likewise.
57166 (tan_test_tonearest): Likewise.
57167 (tan_test_towardzero): Likewise.
57168 (tan_test_downward): Likewise.
57169 (tan_test_upward): Likewise.
57170 (main): Call the new functions.
57171 * sysdeps/i386/fpu/libm-test-ulps: Update.
57172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57173
57174 [BZ #10135]
57175 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
57176 small n, then large n, before computing and testing k+n.
57177 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
57178 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
57179 Likewise.
57180 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
57181 Likewise.
57182 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
57183 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
57184 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
57185 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
57186 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
57187 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
57188 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
57189 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
57190 * math/libm-test.inc (scalbn_test): Add more tests.
57191 (scalbln_test): Likewise.
57192
57193 * manual/filesys.texi (mode_t): Describe constraints on size and
57194 signedness, not exact equivalence to a particular type.
57195 (ino_t): Likewise.
57196 (ino64_t): Likewise.
57197 (dev_t): Likewise.
57198 (nlink_t): Likewise.
57199 (blkcnt_t): Likewise.
57200 (blkcnt64_t): Likewise.
57201 * manual/llio.texi (off_t): Likewise.
57202
57203 [BZ #3976]
57204 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
57205 (__ieee754_exp): Save and restore rounding mode and use
57206 round-to-nearest for all computations.
57207 * math/libm-test.inc (exp_test_tonearest): New function.
57208 (exp_test_towardzero): Likewise.
57209 (exp_test_downward): Likewise.
57210 (exp_test_upward): Likewise.
57211 (main): Call the new functions.
57212 * sysdeps/i386/fpu/libm-test-ulps: Update.
57213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57214
57215 2012-03-01 Chris Demetriou <cgd@google.com>
57216
57217 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
57218 have predictable order.
57219
57220 2012-03-01 David S. Miller <davem@davemloft.net>
57221
57222 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
57223
57224 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
57225 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
57226 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
57227 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
57228
57229 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
57230 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
57231 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
57232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
57233 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
57234 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
57235 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
57236 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
57237 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
57238
57239 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57240
57241 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
57242 * sysdeps/sparc/fpu/libm-test-ulps: to here.
57243 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
57244
57245 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
57246 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57247 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
57248 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
57249 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
57250 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
57251 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
57252 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57253 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
57254 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
57255 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
57256 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57257 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57258 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
57259 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57260 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57261 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
57262 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
57263 * sysdeps/sparc/elf/configure: Regenerated.
57264
57265 2012-03-01 Joseph Myers <joseph@codesourcery.com>
57266
57267 * configure.in (AS, LD): Require binutils 2.20 or later.
57268 * configure: Regenerated.
57269 * manual/install.texi (Tools for Compilation): Give binutils 2.20
57270 as required minimum version.
57271 * INSTALL: Regenerated.
57272
57273 [BZ #2541]
57274 [BZ #4108]
57275 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
57276 before squaring exponent.
57277 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
57278 bottom long double and 27 bits of top long double before squaring
57279 exponent.
57280 * math/libm-test.inc (erfc_test): Add more tests.
57281 * sysdeps/i386/fpu/libm-test-ulps: Update.
57282 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57284
57285 2012-03-01 Kai Tietz <ktietz@redhat.com>
57286
57287 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
57288 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
57289 containing bit-fields.
57290 * soft-fp/extended.h (_FP_UNION_E): Likewise.
57291 * soft-fp/single.h (_FP_UNION_S): Likewise.
57292 * soft-fp/double.h (_FP_UNION_D): Likewise.
57293
57294 2012-02-29 Joseph Myers <joseph@codesourcery.com>
57295
57296 [BZ #13786]
57297 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
57298 not include ../strcmp.S.
57299 [USE_AS_STRNCASECMP_L]: Likewise.
57300 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
57301 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
57302 * sysdeps/i386/i686/multiarch/strncase_l-c.c
57303 (__strncasecmp_l_ia32): Define as alias to
57304 __strncasecmp_l_nonascii.
57305
57306 [BZ #5794]
57307 * math/libm-test.inc (expm1_test): Add test for bug 5794.
57308 * sysdeps/i386/fpu/libm-test-ulps: Update.
57309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57310
57311 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
57312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57313
57314 2012-02-29 Jeff Law <law@redhat.com>
57315
57316 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
57317 out of bounds read.
57318
57319 2012-02-29 Marek Polacek <polacek@redhat.com>
57320
57321 [BZ #13706]
57322 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
57323 * elf/Makefile: Add rules to run tst-unused-dep.out.
57324
57325 2012-02-28 David S. Miller <davem@davemloft.net>
57326
57327 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
57328 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
57329 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
57330 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
57331 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
57332 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
57333
57334 2012-02-29 Joseph Myers <joseph@codesourcery.com>
57335
57336 * math/libm-test.inc (llround_test): Move one test from
57337 lround_test. Use TEST_f_L in moved test.
57338 (lround_test): Move misplaced test to llround_test. Add testcase
57339 from bug 2561.
57340
57341 2012-02-28 Ulrich Drepper <drepper@gmail.com>
57342
57343 * sysdeps/x86_64/fpu/e_expf.S: New file.
57344 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
57345
57346 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
57347
57348 [BZ #13637]
57349 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
57350 of remain_len that may cause incomplete multi-byte character and
57351 false match.
57352 * posix/bug-regex33.c: New file.
57353 * posix/Makefile (tests): Add bug-regex33.
57354
57355 2012-02-28 Joseph Myers <joseph@codesourcery.com>
57356
57357 * manual/macros.texi: New file.
57358 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
57359 * manual/libc.texinfo: Include macros.texi.
57360 * manual/creatute.texi: Likewise.
57361 * manual/install.texi: Likewise.
57362 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
57363 @glibcadj{} in references to the GNU C Library.
57364 * manual/charset.texi: Likewise.
57365 * manual/conf.texi: Likewise.
57366 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
57367 when not using those macros.
57368 * manual/creature.texi: Likewise.
57369 * manual/crypt.texi: Likewise.
57370 * manual/errno.texi: Likewise.
57371 * manual/filesys.texi: Likewise.
57372 * manual/header.texi: Likewise.
57373 * manual/install.texi: Likewise.
57374 * manual/intro.texi: Likewise.
57375 * manual/io.texi: Likewise.
57376 * manual/job.texi: Likewise.
57377 * manual/lang.texi: Likewise.
57378 * manual/libc.texiinfo: Likewise.
57379 * manual/llio.texi: Likewise.
57380 * manual/locale.texi: Likewise.
57381 * manual/maint.texi: Likewise.
57382 * manual/math.texi: Likewise.
57383 * manual/memory.texi: Likewise.
57384 * manual/message.texi: Likewise.
57385 * manual/nss.texi: Likewise.
57386 * manual/pattern.texi: Likewise.
57387 * manual/process.texi: Likewise.
57388 * manual/resource.texi: Likewise.
57389 * manual/search.texi: Likewise.
57390 * manual/setjmp.texi: Likewise.
57391 * manual/signal.texi: Likewise.
57392 * manual/socket.texi: Likewise.
57393 * manual/startup.texi: Likewise.
57394 * manual/stdio.texi: Likewise.
57395 * manual/string.texi: Likewise.
57396 * manual/sysinfo.texi: Likewise.
57397 * manual/syslog.texi: Likewise.
57398 * manual/terminal.texi: Likewise.
57399 * manual/time.texi: Likewise.
57400 * manual/users.texi: Likewise.
57401 * INSTALL: Regenerated.
57402 * NOTES: Regenerated.
57403 * sysdeps/gnu/errlist.c: Regenerated.
57404
57405 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
57406
57407 * include/dirent.h: Include <dirstream.h> before
57408 <dirent/dirent.h>.
57409
57410 2012-02-28 David S. Miller <davem@davemloft.net>
57411
57412 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
57413 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
57414 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
57415 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
57416
57417 2012-02-27 David S. Miller <davem@davemloft.net>
57418
57419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
57420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
57421 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
57422 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
57423
57424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
57425 frame pointer instead of stack pointer relative arg slot.
57426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
57427 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
57428 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
57429
57430 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
57431
57432 [BZ #3992]
57433 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
57434
57435 2012-02-27 David S. Miller <davem@davemloft.net>
57436
57437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
57438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
57439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
57440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
57441 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
57442 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
57443 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
57444 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
57445
57446 2012-02-27 Joseph Myers <joseph@codesourcery.com>
57447
57448 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
57449 later. Allow versions 5-9.
57450 * configure: Regenerated.
57451 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
57452 required minimum version and 4.6 as recommended version. Do not
57453 mention bugs in GCC 2.7 and 2.8.
57454 * INSTALL: Regenerated.
57455
57456 2012-02-27 David S. Miller <davem@davemloft.net>
57457
57458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
57459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
57460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
57461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
57462 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
57463 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
57464 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
57465 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
57466
57467 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
57468 manipulate bits before adding and subtracting TWO112[sx].
57469 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
57470
57471 2012-02-27 Roland McGrath <roland@hack.frob.com>
57472
57473 [BZ #13775]
57474 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
57475 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
57476 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
57477 being in POSIX, because they are in 1003.1-2008.
57478
57479 * rt/tst-aio.c: Include <fcntl.h>.
57480 * rt/tst-aio7.c: Likewise.
57481 * rt/tst-aio64.c: Likewise.
57482
57483 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
57484
57485 2012-02-27 Joseph Myers <joseph@codesourcery.com>
57486
57487 * manual/install.texi (--with-headers): Describe headers as
57488 interface headers, not private headers.
57489 (Specific advice for GNU/Linux systems): Describe use of headers
57490 from "make headers_install", not private headers from older
57491 kernels.
57492 * INSTALL: Regenerated.
57493 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
57494 Change to 2.6.19.
57495 * sysdeps/unix/sysv/linux/configure: Regenerated.
57496
57497 * manual/llio.texi (fclean): Remove documentation.
57498
57499 * manual/Makefile (libc-texi-generated): New variable. Include
57500 version.texi.
57501 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
57502 $(libc-texi-generated), not duplicated list of files.
57503 (version.texi, stamp-version): New rules.
57504 (realclean): Remove $(libc-texi-generated), not individual files
57505 from that list. Do not remove dir-add.texinfo.
57506 * manual/libc.texinfo: Comment out uses of edition numbers and
57507 references to printed manual. Remove last-updated dates.
57508 (EDITION): Comment out.
57509 (ISBN): Likewise.
57510 (VERSION, UPDATED): Remove.
57511 (version.texi): Include.
57512
57513 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
57514
57515 * sysdeps/posix/spawni.c: Include <signal.h>.
57516 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
57517 * sysdeps/pthread/aio_fsync.c: Likewise.
57518
57519 2012-02-26 Ulrich Drepper <drepper@gmail.com>
57520
57521 * conform/Makefile (tests): Run only when not cross-compiling and
57522 when fast-check is not defined.
57523
57524 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
57525 * conform/data/limits.h-data: Fixes for POSIX2008.
57526 * conform/run-conformtest.sh: Run all tests.
57527 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
57528 headers.
57529 * include/bits/dlfcn.h: Likewise.
57530 * include/langinfo.h: Likewise.
57531 * include/monetary.h: Likewise.
57532 * include/sys/poll.h: Likewise.
57533
57534 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
57535 for __USE_GNU.
57536 * posix/spawn.h: Define __need_sigset_t.
57537 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
57538 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
57539 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
57540 to get sigevent_t only.
57541 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
57542 only for __USE_GNU.
57543 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57544 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
57545 process_vm_writev only for __USE_GNU.
57546 * termios/termios.h: Declare tcgetsid also for POSIX2008.
57547
57548 * conform/Makefile: For now ignore errors from run-conformtest.
57549 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
57550 POSIX to avoid namespace pollution. Don't prepend headers.
57551 * conform/data/aio.h-data: Fixes for POSIX testing.
57552 * conform/data/fcntl.h-data: Likewise.
57553 * conform/data/glob.h-data: Likewise.
57554 * conform/data/grp.h-data: Likewise.
57555 * conform/data/pthread.h-data: Likewise.
57556 * conform/data/pwd.h-data: Likewise.
57557 * conform/data/signal.h-data: Likewise.
57558 * conform/data/spawn.h-data: Likewise.
57559 * conform/data/stdio.h-data: Likewise.
57560 * conform/data/stdlib.h-data: Likewise.
57561 * conform/data/stropts.h-data: Likewise.
57562 * conform/data/sys/mman.h-data: Likewise.
57563 * conform/data/sys/stat.h-data: Likewise.
57564 * conform/data/sys/types.h-data: Likewise.
57565 * conform/data/sys/wait.h-data: Likewise.
57566 * conform/data/time.h-data: Likewise.
57567 * conform/data/unistd.h-data: Likewise.
57568 * conform/data/utime.h-data: Likewise.
57569
57570 * io/sys/stat.h: fchmod was always in POSIX.
57571 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
57572 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
57573 * rt/aio.h: Define __need_timespec before including <time.h>.
57574 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
57575 struct. Add forward declaration of pthread_attr_t and use it in
57576 sigevent.
57577 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
57578 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57579 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
57580 always remove CLK_TCK definition.
57581
57582 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
57583
57584 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
57585
57586 2012-02-25 Ulrich Drepper <drepper@gmail.com>
57587
57588 * conform/run-conformtest.sh: New file.
57589 * conform/Makefile: Run run-conformtest for tests.
57590 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
57591 support.
57592
57593 * conform/data/uchar.h-data: New file.
57594 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
57595 * conform/data/arpa/inet.h-data: Likewise.
57596 * conform/data/assert.h-data: Likewise.
57597 * conform/data/complex.h-data: Likewise.
57598 * conform/data/cpio.h-data: Likewise.
57599 * conform/data/ctype.h-data: Likewise.
57600 * conform/data/dirent.h-data: Likewise.
57601 * conform/data/dlfcn.h-data: Likewise.
57602 * conform/data/errno.h-data: Likewise.
57603 * conform/data/fcntl.h-data: Likewise.
57604 * conform/data/float.h-data: Likewise.
57605 * conform/data/fmtmsg.h-data: Likewise.
57606 * conform/data/fnmatch.h-data: Likewise.
57607 * conform/data/ftw.h-data: Likewise.
57608 * conform/data/glob.h-data: Likewise.
57609 * conform/data/grp.h-data: Likewise.
57610 * conform/data/iconv.h-data: Likewise.
57611 * conform/data/inttypes.h-data: Likewise.
57612 * conform/data/langinfo.h-data: Likewise.
57613 * conform/data/libgen.h-data: Likewise.
57614 * conform/data/limits.h-data: Likewise.
57615 * conform/data/locale.h-data: Likewise.
57616 * conform/data/math.h-data: Likewise.
57617 * conform/data/monetary.h-data: Likewise.
57618 * conform/data/mqueue.h-data: Likewise.
57619 * conform/data/ndbm.h-data: Likewise.
57620 * conform/data/net/if.h-data: Likewise.
57621 * conform/data/netdb.h-data: Likewise.
57622 * conform/data/netinet/in.h-data: Likewise.
57623 * conform/data/nl_types.h-data: Likewise.
57624 * conform/data/poll.h-data: Likewise.
57625 * conform/data/pthread.h-data: Likewise.
57626 * conform/data/pwd.h-data: Likewise.
57627 * conform/data/regex.h-data: Likewise.
57628 * conform/data/sched.h-data: Likewise.
57629 * conform/data/search.h-data: Likewise.
57630 * conform/data/semaphore.h-data: Likewise.
57631 * conform/data/setjmp.h-data: Likewise.
57632 * conform/data/signal.h-data: Likewise.
57633 * conform/data/spawn.h-data: Likewise.
57634 * conform/data/stdarg.h-data: Likewise.
57635 * conform/data/stdio.h-data: Likewise.
57636 * conform/data/stdlib.h-data: Likewise.
57637 * conform/data/string.h-data: Likewise.
57638 * conform/data/strings.h-data: Likewise.
57639 * conform/data/stropts.h-data: Likewise.
57640 * conform/data/sys/ipc.h-data: Likewise.
57641 * conform/data/sys/mman.h-data: Likewise.
57642 * conform/data/sys/msg.h-data: Likewise.
57643 * conform/data/sys/resource.h-data: Likewise.
57644 * conform/data/sys/select.h-data: Likewise.
57645 * conform/data/sys/sem.h-data: Likewise.
57646 * conform/data/sys/shm.h-data: Likewise.
57647 * conform/data/sys/socket.h-data: Likewise.
57648 * conform/data/sys/stat.h-data: Likewise.
57649 * conform/data/sys/statvfs.h-data: Likewise.
57650 * conform/data/sys/time.h-data: Likewise.
57651 * conform/data/sys/timeb.h-data: Likewise.
57652 * conform/data/sys/times.h-data: Likewise.
57653 * conform/data/sys/types.h-data: Likewise.
57654 * conform/data/sys/uio.h-data: Likewise.
57655 * conform/data/sys/un.h-data: Likewise.
57656 * conform/data/sys/utsname.h-data: Likewise.
57657 * conform/data/sys/wait.h-data: Likewise.
57658 * conform/data/syslog.h-data: Likewise.
57659 * conform/data/tar.h-data: Likewise.
57660 * conform/data/termios.h-data: Likewise.
57661 * conform/data/utime.h-data: Likewise.
57662 * conform/data/utmpx.h-data: Likewise.
57663 * conform/data/varargs.h-data: Likewise.
57664 * conform/data/wchar.h-data: Likewise.
57665 * conform/data/wctype.h-data: Likewise.
57666 * conform/data/wordexp.h-data: Likewise.
57667
57668 * include/stropts.h: New file.
57669 * include/uchar.h: New file.
57670 * include/aio.h: Changes to allow conformtest.pl to use the headers.
57671 * include/assert.h: Likewise.
57672 * include/ctype.h: Likewise.
57673 * include/dirent.h: Likewise.
57674 * include/dlfcn.h: Likewise.
57675 * include/fcntl.h: Likewise.
57676 * include/fnmatch.h: Likewise.
57677 * include/glob.h: Likewise.
57678 * include/grp.h: Likewise.
57679 * include/libio.h: Likewise.
57680 * include/locale.h: Likewise.
57681 * include/math.h: Likewise.
57682 * include/net/if.h: Likewise.
57683 * include/netdb.h: Likewise.
57684 * include/netinet/in.h: Likewise.
57685 * include/pthread.h: Likewise.
57686 * include/pwd.h: Likewise.
57687 * include/regex.h: Likewise.
57688 * include/sched.h: Likewise.
57689 * include/search.h: Likewise.
57690 * include/setjmp.h: Likewise.
57691 * include/signal.h: Likewise.
57692 * include/stdio.h: Likewise.
57693 * include/stdlib.h: Likewise.
57694 * include/string.h: Likewise.
57695 * include/sys/cdefs.h: Likewise.
57696 * include/sys/mman.h: Likewise.
57697 * include/sys/msg.h: Likewise.
57698 * include/sys/resource.h: Likewise.
57699 * include/sys/select.h: Likewise.
57700 * include/sys/socket.h: Likewise.
57701 * include/sys/stat.h: Likewise.
57702 * include/sys/statvfs.h: Likewise.
57703 * include/sys/time.h: Likewise.
57704 * include/sys/times.h: Likewise.
57705 * include/sys/uio.h: Likewise.
57706 * include/sys/utsname.h: Likewise.
57707 * include/sys/wait.h: Likewise.
57708 * include/termios.h: Likewise.
57709 * include/time.h: Likewise.
57710 * include/ulimit.h: Likewise.
57711 * include/unistd.h: Likewise.
57712 * include/utime.h: Likewise.
57713 * include/wchar.h: Likewise.
57714 * include/wctype.h: Likewise.
57715 * include/wordexp.h: Likewise.
57716
57717 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
57718
57719 * time/time.h: TIME_UTC must be a macro.
57720 Make timespec_get available for ISO C11 only as well.
57721
57722 2012-02-24 Ulrich Drepper <drepper@gmail.com>
57723
57724 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
57725 Reported by Peng Haitao <penght@cn.fujitsu.com>.
57726
57727 2012-02-24 Joseph Myers <joseph@codesourcery.com>
57728
57729 * configure.in: Use -o not -a in test for unsupported multi-arch.
57730
57731 2012-02-24 Joseph Myers <joseph@codesourcery.com>
57732
57733 * manual/texinfo.tex: Update to version 2012-01-19.16.
57734
57735 2012-02-24 Joseph Myers <joseph@codesourcery.com>
57736
57737 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
57738
57739 2012-02-24 Roland McGrath <roland@hack.frob.com>
57740
57741 [BZ #13738]
57742 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
57743 * manual/fdl-1.3.texi: New file.
57744 * manual/fdl-1.1.texi: File removed.
57745
57746 [BZ #13738]
57747 * manual/libc.texinfo (FDL_VERSION): New @set.
57748 Use it for mention of FDL in cover text.
57749 (Documentation License): Use it in @include file name.
57750
57751 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57752 Roland McGrath <roland@hack.frob.com>
57753
57754 [BZ #5461]
57755 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
57756 (not LONG_LONG_MAX and LONG_LONG_MIN.
57757 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
57758 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
57759 name.
57760 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
57761
57762 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57763
57764 [BZ #2547]
57765 [BZ #11365]
57766 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
57767 manipulate bits before adding and subtracting TWO23[sx].
57768 * math/libm-test.inc (nearbyint_test): Add more tests.
57769
57770 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57771
57772 [BZ #2548]
57773 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
57774 bits before adding and subtracting TWO23[sx].
57775 * math/libm-test.inc (rint_test): Add more tests.
57776 (rint_test_tonearest): Likewise.
57777 (rint_test_towardzero): Likewise.
57778 (rint_test_downward): Likewise.
57779 (rint_test_upward: Likewise.
57780
57781 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57782
57783 [BZ #10110]
57784 * include/stdc-predef.h: New file. Extracted from features.h.
57785 * include/features.h: Include stdc-predef.h.
57786 * Makefile (headers): Add stdc-predef.h.
57787 * CONFORMANCE (Compiler limitations): Update.
57788
57789 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57790
57791 * manual/libc.texinfo (VERSION, UPDATED): Revert.
57792
57793 2012-02-21 David S. Miller <davem@davemloft.net>
57794
57795 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
57796 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
57797
57798 2012-02-20 David S. Miller <davem@davemloft.net>
57799
57800 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
57801 using a normal save/restore sequence, rather than allocating a
57802 dummy stack frame just to store a frame pointer and restore.
57803 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57804
57805 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57806
57807 * manual/install.texi: Fix stray word in line-wrapped comment.
57808
57809 2012-02-20 David S. Miller <davem@davemloft.net>
57810
57811 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
57812 both binutils and gcc support GOTDATA.
57813
57814 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
57815 "rd %pc" in the PIC register setup sequences.
57816
57817 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
57818 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
57819 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
57820 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
57821 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
57822 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
57823 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57824 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57825 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
57826 (SYSCALL_ERROR_HANDLER): Likewise.
57827 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
57828 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57829 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
57830 (SYSCALL_ERROR_HANDLER): Likewise.
57831
57832 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
57833 (HAVE_GCC_GOTDATA): New.
57834 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
57835 relocation support in both binutils and gcc.
57836 * sysdeps/sparc/elf/configure: Regenerate.
57837
57838 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
57839 * sysdeps/sparc/sparc32/elf/configure: Delete.
57840 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
57841 * sysdeps/sparc/sparc64/elf/configure: Delete.
57842 * sysdeps/sparc/elf/configure.in: New file.
57843 * sysdeps/sparc/elf/configure: Generate.
57844
57845 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
57846 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
57847 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57848 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
57849 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
57850
57851 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57852
57853 * manual/install.texi: Do not mention specific glibc version
57854 numbers.
57855 * manual/libc.texinfo (VERSION, UPDATED): Update.
57856 (@copying): Use @copyright{} and range of years.
57857
57858 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57859
57860 [BZ #13695]
57861 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
57862 [crti.S not in sysdirs] (generated): Do not append.
57863 [crti.S not in sysdirs] (omit-deps): Likewise.
57864 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
57865 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
57866 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
57867 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
57868 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
57869 Likewise.
57870 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
57871 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
57872 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
57873 * csu/defs.awk: Remove file.
57874 * sysdeps/generic/initfini.c: Likewise.
57875 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
57876 variable.
57877 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
57878 Likewise.
57879
57880 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57881
57882 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
57883 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
57884 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
57885 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
57886 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57887 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
57888 <bits/epoll.h>.
57889 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
57890 (__EPOLL_PACKED): Define to empty if not defined by
57891 <bits/epoll.h>.
57892 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
57893 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57894 bits/epoll.h.
57895
57896 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57897
57898 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
57899 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
57900 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
57901 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
57902 <bits/timerfd.h>.
57903 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
57904 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57905 bits/timerfd.h.
57906
57907 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57908
57909 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
57910 in C locale.
57911 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57912 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
57913 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
57914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57915
57916 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
57917
57918 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57919 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
57920
57921 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
57922
57923 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
57924 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
57925 defined.
57926 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
57927 Likewise.
57928 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
57929 entry for 2.16.
57930
57931 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
57932
57933 * math/w_acos.c: Use non-signaling floating-point comparisons.
57934 * math/w_acosf.c: Likewise.
57935 * math/w_acosh.c: Likewise.
57936 * math/w_acoshf.c: Likewise.
57937 * math/w_acoshl.c: Likewise.
57938 * math/w_acosl.c: Likewise.
57939 * math/w_asin.c: Likewise.
57940 * math/w_asinf.c: Likewise.
57941 * math/w_asinl.c: Likewise.
57942 * math/w_atanh.c: Likewise.
57943 * math/w_atanhf.c: Likewise.
57944 * math/w_atanhl.c: Likewise.
57945 * math/w_exp2.c: Likewise.
57946 * math/w_exp2f.c: Likewise.
57947 * math/w_exp2l.c: Likewise.
57948 * math/w_j0.c: Likewise.
57949 * math/w_j0f.c: Likewise.
57950 * math/w_j0l.c: Likewise.
57951 * math/w_j1.c: Likewise.
57952 * math/w_j1f.c: Likewise.
57953 * math/w_j1l.c: Likewise.
57954 * math/w_jn.c: Likewise.
57955 * math/w_jnf.c: Likewise.
57956 * math/w_log.c: Likewise.
57957 * math/w_log10.c: Likewise.
57958 * math/w_log10f.c: Likewise.
57959 * math/w_log10l.c: Likewise.
57960 * math/w_log2.c: Likewise.
57961 * math/w_log2f.c: Likewise.
57962 * math/w_log2l.c: Likewise.
57963 * math/w_logf.c: Likewise.
57964 * math/w_logl.c: Likewise.
57965 * math/w_sqrt.c: Likewise.
57966 * math/w_sqrtf.c: Likewise.
57967 * math/w_sqrtl.c: Likewise.
57968 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57969 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
57970 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57971 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57972 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57973
57974 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57975
57976 [BZ #9739]
57977 * manual/string.texi (strnlen): Use correct parameter name in
57978 equivalent expression.
57979
57980 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57981
57982 [BZ #11174]
57983 * manual/users.texi (seteuid): Consistently use neweuid for
57984 argument name.
57985
57986 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57987
57988 [BZ #13704]
57989 * manual/nss.texi (Services in the NSS configuration): Correct
57990 list of services in example configuration file.
57991
57992 2012-02-19 Nick Bowler <nbowler@draconx.ca>
57993
57994 [BZ #11322]
57995 * manual/arith.texi: Remove statements about negative zero
57996 behaving identically to zero.
57997
57998 2012-02-18 Joseph Myers <joseph@codesourcery.com>
57999
58000 [BZ #5993]
58001 * manual/install.texi: Do not document upgrading from libc5.
58002
58003 2012-02-18 Joseph Myers <joseph@codesourcery.com>
58004
58005 [BZ #4596]
58006 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
58007
58008 2012-02-18 David S. Miller <davem@davemloft.net>
58009
58010 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
58011 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
58012 %o7 across the call.
58013 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
58014 instead.
58015 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
58016 SETUP_PIC_REG_LEAF.
58017 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58018 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
58019 * sysdeps/sparc/crtn.S: Likewise.
58020
58021 2012-02-17 Ulrich Drepper <drepper@gmail.com>
58022
58023 * aout/Makefile: Remove.
58024
58025 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
58026
58027 [BZ #13058]
58028 * manual/examples/argp-ex1.c (main): Format definition in GNU
58029 style.
58030 * manual/examples/argp-ex2.c (main): Likewise.
58031 * manual/examples/argp-ex3.c (main): Likewise.
58032 * manual/examples/argp-ex4.c (main): Likewise.
58033 * manual/examples/longopt.c (main): Use new-style prototype
58034 definition.
58035 * manual/examples/strncat.c (main): Specify return type and use
58036 (void) for arguments.
58037 * manual/examples/subopt.c (main): Use char **argv argument.
58038
58039 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58040
58041 [BZ #5077]
58042 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
58043 rounding modes.
58044
58045 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
58046
58047 [BZ #6907]
58048 * manual/string.texi (strchr): Change when strchrnul is
58049 recommended.
58050
58051 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
58052
58053 [BZ #174]
58054 * manual/locale.texi (setlocale): Document LOCPATH.
58055
58056 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58057
58058 [BZ #10210]
58059 * manual/process.texi (execle): Move @dots{} before last argument.
58060
58061 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
58062
58063 [BZ #12047]
58064 * manual/charset.texi (Generic Charset Conversion): Fix typo
58065 (LC_TYPE -> LC_CTYPE).
58066
58067 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
58068
58069 [BZ #5805]
58070 * manual/arith.texi (scalbn): Use @var{} on parameter names.
58071 (scalbnf): Likewise.
58072 (scalbnl): Likewise.
58073 (scalbln): Likewise.
58074 (scalblnf): Likewise.
58075 (scalblnl): Likewise.
58076 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
58077 (vwarnx): Likewise.
58078 (verr): Likewise.
58079 (verrx): Likewise.
58080 * manual/filesys.texi (telldir): Use braces around return type.
58081 * manual/llio.texi (mmap): Add space after comma.
58082 (mmap64): Likewise.
58083 * manual/math.texi (jn): Use @var{} on parameter names.
58084 (jnf): Likewise.
58085 (jnl): Likewise.
58086 (yn): Likewise.
58087 (ynf): Likewise.
58088 (ynl): Likewise.
58089 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
58090 line.
58091 * manual/resource.texi (ulimit): Use @dots{} instead of literal
58092 "...".
58093 (sched_get_priority_min): Remove semicolon on @deftypefun line.
58094 (sched_get_priority_max): Likewise.
58095 * manual/signal.texi (sigvec): Add space after comma.
58096 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
58097 names.
58098 (if_indextoname): Likewise.
58099 (if_freenameindex): Likewise.
58100 (sendto): Use ',' instead of '.' in prototype.
58101 * manual/startup.texi (syscall): Use @dots{} instead of literal
58102 "...".
58103 * manual/stdio.texi (__fpending): Separate initial words of
58104 paragraph from @deftypefun line.
58105 * manual/syslog.texi (syslog): Use @dots{} instead of literal
58106 "...".
58107 (vsyslog): Use @var{} on parameter names.
58108 * manual/terminal.texi (stty): Use @var{} on parameter names.
58109 * manual/users.texi (getutmp): Use @var{} on parameter names.
58110 (getutmpx): Likewise.
58111
58112 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58113
58114 [BZ #6884]
58115 * manual/stdio.texi (fopen): Fix typos in description of
58116 ",ccs=STRING".
58117
58118 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
58119
58120 [BZ #4026]
58121 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
58122 get clock_id definition.
58123
58124 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
58125
58126 [BZ #4822]
58127 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
58128 (madvise): Cast every argument to void on its own.
58129
58130 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58131
58132 [BZ #9902]
58133 * manual/startup.texi (Exit Status): Fix typo.
58134
58135 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58136
58137 [BZ #10140]
58138 * manual/examples/argp-ex1.c: Include <stdlib.h>.
58139 * manual/examples/argp-ex2.c: Likewise.
58140 * manual/examples/argp-ex3.c: Likewise.
58141
58142 2012-02-16 Richard Henderson <rth@redhat.com>
58143
58144 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
58145 * sysdeps/s390/s390-32/initfini.c: Remove.
58146 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
58147 * sysdeps/s390/s390-64/initfini.c: Remove.
58148
58149 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58150
58151 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
58152 compiler output for sysdeps/generic/initfini.c.
58153 * sysdeps/sh/elf/initfini.c: Remove file.
58154
58155 2012-02-16 David S. Miller <davem@davemloft.net>
58156
58157 [BZ #11494]
58158 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
58159
58160 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
58161 * sysdeps/sparc/crti.S: New file.
58162 * sysdeps/sparc/crtn.S: New file.
58163 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
58164 * sysdeps/sparc/sparc64/Makefile: Likewise.
58165
58166 2012-02-15 Mike Frysinger <vapier@gentoo.org>
58167
58168 [BZ #3335]
58169 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
58170
58171 2012-02-15 Roland McGrath <roland@hack.frob.com>
58172
58173 [BZ #4822]
58174 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
58175
58176 * mach/devstream.c (cookie_io_functions_t): Macro removed.
58177 (write, read, close): Likewise.
58178 Patch by Aurelien Jarno <aurelien@aurel32.net>.
58179
58180 2012-02-15 Joseph Myers <joseph@codesourcery.com>
58181
58182 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
58183 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
58184 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
58185 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
58186 <bits/signalfd.h>.
58187 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
58188 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58189 bits/signalfd.h.
58190
58191 2012-02-14 Marek Polacek <polacek@redhat.com>
58192
58193 * sysdeps/x86_64/crti.S: New file.
58194 * sysdeps/x86_64/crtn.S: New file.
58195 * sysdeps/x86_64/elf/initfini.c: Remove file.
58196
58197 2012-02-13 Joseph Myers <joseph@codesourcery.com>
58198
58199 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
58200 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
58201 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
58202 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
58203 <bits/inotify.h>.
58204 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
58205 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58206 bits/inotify.h.
58207
58208 2012-02-13 Joseph Myers <joseph@codesourcery.com>
58209
58210 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
58211 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
58212 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
58213 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
58214 <bits/eventfd.h>.
58215 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
58216 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58217 bits/eventfd.h.
58218
58219 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
58220
58221 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
58222 __feraiseexcept instead of feraiseexcept.
58223
58224 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
58225 nanosleep invocations.
58226 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
58227 strings, and add error checking for a nanosleep invocations.
58228
58229 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
58230
58231 Replace FSF snail mail address with URLs, as per GNU coding standards.
58232 Most of the snail mail addresses were wrong anyway, and omitting
58233 them makes the source code easier to maintain. Almost all of the
58234 changes are to license notices and to locale LC_IDENTIFICATION
58235 addresses, except for this one:
58236 * manual/libc.texinfo: In "Published by", give the FSF's URL,
58237 not its snail mail address.
58238
58239 2012-02-09 Richard Henderson <rth@twiddle.net>
58240
58241 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
58242 of kernel-features.h.
58243
58244 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
58245
58246 2012-02-08 Marek Polacek <polacek@redhat.com>
58247
58248 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
58249 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
58250 * sysdeps/gnu/_G_config.h: Likewise.
58251 * sysdeps/generic/_G_config.h: Likewise.
58252
58253 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
58254
58255 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
58256 tests.
58257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58258
58259 * sysdeps/powerpc/powerpc32/crti.S: New file.
58260 * sysdeps/powerpc/powerpc32/crtn.S: New file.
58261 * sysdeps/powerpc/powerpc64/crti.S: New file.
58262 * sysdeps/powerpc/powerpc64/crtn.S: New file.
58263
58264 * Makeconfig (have-initfini): Don't set.
58265 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
58266 * configure.in (nopic_initfini): Don't substitute.
58267 * config.h.in (HAVE_INITFINI): Don't #undef.
58268 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
58269 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
58270
58271 2012-02-08 Joseph Myers <joseph@codesourcery.com>
58272
58273 Support crti.S and crtn.S provided directly by architectures.
58274 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
58275 [crti.S in sysdirs] (omit-deps): Likewise.
58276 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
58277 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
58278 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
58279 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
58280 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
58281 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
58282 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
58283 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
58284 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
58285 compiler output for sysdeps/generic/initfini.c.
58286 * sysdeps/i386/elf/Makefile: Remove file.
58287 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
58288
58289 2012-02-07 Marek Polacek <polacek@redhat.com>
58290
58291 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
58292 * sysdeps/gnu/_G_config.h: Likewise.
58293 * sysdeps/mach/hurd/_G_config.h: Likewise.
58294
58295 2012-02-07 Marek Polacek <polacek@redhat.com>
58296
58297 * math/Makefile (tests): Add tst-CMPLX2.
58298 * math/tst-CMPLX2.c: New file.
58299
58300 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
58301
58302 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58303
58304 * math/libm-test.inc (jn_test): Add missing L suffix.
58305
58306 2012-02-06 Marek Polacek <polacek@redhat.com>
58307
58308 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
58309 * sysdeps/i386/fpu/e_powf.S: Likewise.
58310 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58311 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
58312 * sysdeps/i386/fpu/e_acosh.S: Likewise.
58313 * sysdeps/i386/fpu/e_pow.S: Likewise.
58314 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
58315 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58316 * sysdeps/i386/fpu/s_expm1.S: Likewise.
58317 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
58318 * sysdeps/i386/fpu/e_log2.S: Likewise.
58319 * sysdeps/i386/fpu/e_log2l.S: Likewise.
58320 * sysdeps/i386/fpu/e_scalb.S: Likewise.
58321 * sysdeps/i386/fpu/e_powl.S: Likewise.
58322 * sysdeps/i386/fpu/s_log1p.S: Likewise.
58323 * sysdeps/i386/fpu/e_log10f.S: Likewise.
58324 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
58325 * sysdeps/i386/fpu/e_logl.S: Likewise.
58326 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
58327 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
58328 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
58329 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
58330 * sysdeps/i386/fpu/e_log2f.S: Likewise.
58331 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58332 * sysdeps/i386/fpu/e_log.S: Likewise.
58333 * sysdeps/i386/fpu/s_cexp.S: Likewise.
58334 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58335 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
58336 * sysdeps/i386/fpu/e_logf.S: Likewise.
58337 * sysdeps/i386/fpu/e_log10l.S: Likewise.
58338 * sysdeps/i386/fpu/e_atanh.S: Likewise.
58339 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
58340 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
58341 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
58342 * sysdeps/i386/fpu/e_log10.S: Likewise.
58343 * sysdeps/i386/fpu/s_frexp.S: Likewise.
58344 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58345 * sysdeps/i386/fpu/s_asinh.S: Likewise.
58346 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
58347 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58348 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
58349 * sysdeps/i386/asm-syntax.h: Likewise.
58350 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58351 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58352 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58353 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
58354 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
58355 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58356 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
58357 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
58358 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58359 * sysdeps/powerpc/sysdep.h: Likewise.
58360 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
58361 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
58362
58363 2012-02-06 Joseph Myers <joseph@codesourcery.com>
58364
58365 [BZ #411]
58366 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
58367
58368 2012-02-06 Joseph Myers <joseph@codesourcery.com>
58369
58370 * sysdeps/i386/sysdep.h: Include <features.h>.
58371 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
58372 version.
58373
58374 2012-02-05 Joseph Myers <joseph@codesourcery.com>
58375
58376 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
58377 Define.
58378 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
58379 LOAD_PIC_REG_STR.
58380
58381 2012-02-03 Joseph Myers <joseph@codesourcery.com>
58382
58383 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
58384 (SETUP_PIC_REG): Use GET_PC_THUNK.
58385 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
58386 macro.
58387
58388 2012-02-03 Joseph Myers <joseph@codesourcery.com>
58389
58390 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
58391 for non-PIC compilation.
58392 (SETUP_PIC_REG): Add .p2align directive.
58393 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
58394 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
58395 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
58396 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
58397 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
58398 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
58399 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
58400 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
58401 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
58402 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
58403 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
58404 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
58405 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
58406 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
58407 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
58408 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
58409 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
58410 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
58411 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
58412 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
58413 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58414 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
58415 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
58416 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
58417 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
58418 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
58419 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58420 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
58421 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
58422 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
58423 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
58424 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58425 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
58426 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
58427 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
58428 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
58429 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
58430 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
58431 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
58432 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
58433 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
58434
58435 2012-02-03 Joseph Myers <joseph@codesourcery.com>
58436
58437 * math/tst-CMPLX.c: Include <stdio.h>.
58438
58439 2012-01-31 Joseph Myers <joseph@codesourcery.com>
58440
58441 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
58442 float.
58443 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
58444 * sysdeps/sparc/bits/mathdef.h: Likewise.
58445
58446 2012-01-31 Marek Polacek <polacek@redhat.com>
58447
58448 * libio/libio.h: Don't define _PARAMS.
58449 * locale/programs/config.h: Don't define PARAMS.
58450 * stdlib/strtol_l.c: Likewise.
58451 (__strtol_l): Remove PARAMS from the prototype.
58452
58453 2012-01-31 Ulrich Drepper <drepper@gmail.com>
58454
58455 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
58456 names. Just use the correct names. Remove unnecessary wrapper
58457 functions.
58458 * malloc/arena.c: Likewise.
58459 * malloc/hooks.c: Likewise.
58460
58461 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
58462 ARENA_TEST says not to. Simplify test for creation of a new arena.
58463 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
58464
58465 2012-01-30 Ulrich Drepper <drepper@gmail.com>
58466
58467 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
58468 into tail calls.
58469 (update_get_addr): New function.
58470 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
58471 GET_ADDR_MODULE parameter.
58472
58473 2012-01-30 Joseph Myers <joseph@codesourcery.com>
58474
58475 * crypt/cert.c: Remove __STDC__ conditionals.
58476 * crypt/crypt-entry.c: Likewise.
58477 * crypt/crypt_util.c: Likewise.
58478 * libio/filedoalloc.c: Likewise.
58479 * libio/fileops.c: Likewise.
58480 * libio/genops.c: Likewise.
58481 * libio/iofclose.c: Likewise.
58482 * libio/iofdopen.c: Likewise.
58483 * libio/iofopen.c: Likewise.
58484 * libio/iofopen64.c: Likewise.
58485 * libio/iogetdelim.c: Likewise.
58486 * libio/iopopen.c: Likewise.
58487 * libio/obprintf.c: Likewise.
58488 * libio/oldfileops.c: Likewise.
58489 * libio/oldiofclose.c: Likewise.
58490 * libio/oldiofdopen.c: Likewise.
58491 * libio/oldiofopen.c: Likewise.
58492 * libio/oldiopopen.c: Likewise.
58493 * libio/wfiledoalloc.c: Likewise.
58494 * libio/wgenops.c: Likewise.
58495 * locale/programs/xmalloc.c: Likewise.
58496 * misc/syslog.c: Likewise.
58497 * stdio-common/xbug.c: Likewise.
58498 * string/memchr.c: Likewise.
58499 * string/memcmp.c: Likewise.
58500 * string/memrchr.c: Likewise.
58501 * string/rawmemchr.c: Likewise.
58502 * sysdeps/posix/getcwd.c: Likewise.
58503 * time/strftime_l.c: Likewise.
58504
58505 2012-01-30 Joseph Myers <joseph@codesourcery.com>
58506
58507 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
58508 * config.make.in (config-cflags-sse2avx): Define.
58509 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
58510 Fix typo.
58511
58512 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
58513
58514 * scripts/config.guess: Update from upstream config git repository.
58515 * scripts/config.sub: Likewise.
58516
58517 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
58518
58519 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
58520 (EM_NUM): Update.
58521 (R_TILEPRO_*, R_TILEGX_*): New macros.
58522
58523 * scripts/firstversions.awk: Fix bug in version range handling.
58524
58525 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
58526
58527 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
58528
58529 * include/sys/epoll.h: New file.
58530 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
58531 libc_hidden_def.
58532
58533 2012-01-28 Ulrich Drepper <drepper@gmail.com>
58534
58535 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
58536 Avoid unnecessary __WORDSIZE == 64 test.
58537 (fmaxf): Use VEX format if possible.
58538 (fmax): Likewise.
58539 (fminf): Likewise.
58540 (fmin): Likewise.
58541
58542 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
58543 * math/math_private.h: Remove libc_fegetround* and
58544 libc_fesetround*.
58545 * sysdeps/i386/configure.in: Check for -msse2avx.
58546 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
58547 also if SSE2AVX is defined.
58548 Remove libc_fegetround* and libc_fesetround*.
58549 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
58550 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
58551 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
58552 of HAS_YMM_USABLE.
58553 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58554 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58555 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58556 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58557 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58558
58559 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
58560
58561 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58562
58563 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
58564 size is not set.
58565 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
58566
58567 2012-01-27 Ulrich Drepper <drepper@gmail.com>
58568
58569 [BZ #13618]
58570 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
58571 relocation.
58572 * Makeconfig (libm): Define.
58573 * elf/Makefile: Add rules to build and run tst-relsort1.
58574 * elf/tst-relsort1.c: New file.
58575 * elf/tst-relsort1mod1.c: New file.
58576 * elf/tst-relsort1mod2.c: New file.
58577
58578 2012-01-27 Joseph Myers <joseph@codesourcery.com>
58579
58580 * math/s_ldexp.c: Remove __STDC__ conditionals.
58581 * math/s_ldexpf.c: Likewise.
58582 * math/s_ldexpl.c: Likewise.
58583 * math/s_nextafter.c: Likewise.
58584 * math/s_nexttowardf.c: Likewise.
58585 * math/s_significand.c: Likewise.
58586 * math/s_significandf.c: Likewise.
58587 * math/s_significandl.c: Likewise.
58588 * math/w_jnl.c: Likewise.
58589 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
58590 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
58591 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
58592 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
58593 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
58594 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58595 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
58596 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
58597 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
58598 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
58599 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
58600 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58601 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
58602 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
58603 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
58604 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
58605 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
58606 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
58607 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
58608 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58609 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58610 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
58611 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
58612 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58613 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
58614 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
58615 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
58616 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
58617 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
58618 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
58619 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
58620 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
58621 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
58622 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
58623 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
58624 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
58625 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
58626 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
58627 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
58628 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
58629 * sysdeps/ieee754/k_standard.c: Likewise.
58630 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58631 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
58632 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
58633 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
58634 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
58635 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
58636 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
58637 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
58638 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
58639 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
58640 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
58641 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
58642 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
58643 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
58644 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
58645 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
58646 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
58647 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
58648 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
58649 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
58650 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
58651 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
58652 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
58653 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
58654 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
58655 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
58656 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58657 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58658 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58659 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
58660 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
58661 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
58662 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
58663 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
58664 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
58665 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
58666 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
58667 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
58668 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
58669 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
58670 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
58671 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
58672 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
58673 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
58674 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
58675 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
58676 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
58677 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
58678 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
58679 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
58680 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
58681 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
58682 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
58683 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
58684 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
58685 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
58686 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
58687 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58688 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58689 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58690 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
58691 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
58692 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
58693 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
58694 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
58695 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
58696 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
58697 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
58698 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
58699 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
58700 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
58701 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
58702 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
58703 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
58704 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
58705 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
58706 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
58707 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
58708 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
58709 * sysdeps/ieee754/s_matherr.c: Likewise.
58710 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
58711 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
58712 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
58713 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
58714
58715 2012-01-26 Joseph Myers <joseph@codesourcery.com>
58716
58717 * crypt/md5.h: Remove __STDC__ conditionals.
58718 * libio/libioP.h: Likewise.
58719 * locale/programs/config.h: Likewise.
58720 * sysdeps/generic/sysdep.h: Likewise.
58721 * sysdeps/i386/asm-syntax.h: Likewise.
58722 * sysdeps/s390/asm-syntax.h: Likewise.
58723 * sysdeps/unix/sysdep.h: Likewise.
58724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
58725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
58726
58727 2012-01-26 Joseph Myers <joseph@codesourcery.com>
58728
58729 * libio/libio.h: Remove __STDC__ conditionals.
58730 * malloc/obstack.h: Likewise.
58731 * math/complex.h: Likewise.
58732 * math/math.h: Likewise.
58733 * sysdeps/generic/_G_config.h: Likewise.
58734 * sysdeps/gnu/_G_config.h: Likewise.
58735 * sysdeps/mach/hurd/_G_config.h: Likewise.
58736 * sysdeps/powerpc/bits/mathdef.h: Likewise.
58737 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
58738 * sysdeps/sparc/bits/mathdef.h: Likewise.
58739
58740 2012-01-26 Ulrich Drepper <drepper@gmail.com>
58741
58742 [BZ #13583]
58743 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
58744 Clean up HAS_* macros.
58745 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
58746 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
58747 possible.
58748 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
58749 HAS_AVX.
58750 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58751 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58752 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58753 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58754 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58755
58756 2012-01-25 Joseph Myers <joseph@codesourcery.com>
58757
58758 * elf/tst-unique3.cc (gets): Remove declaration.
58759 * elf/tst-unique3lib.cc (gets): Likewise.
58760 * elf/tst-unique3lib2.cc (gets): Likewise.
58761 * elf/tst-unique4.cc (gets): Likewise.
58762
58763 2012-01-24 Ulrich Drepper <drepper@gmail.com>
58764
58765 * include/stdio.h: Add C++ protection. Add gets declarations and
58766 definitions.
58767 * debug/tst-chk1.c: Don't declare gets here.
58768 * stdio-common/tst-gets.c: Likewise.
58769
58770 2012-01-24 Joseph Myers <joseph@codesourcery.com>
58771
58772 * posix/glob: Remove directory.
58773
58774 2012-01-24 Joseph Myers <joseph@codesourcery.com>
58775
58776 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
58777
58778 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
58779
58780 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
58781 of the non-standard EPFNOSUPPORT.
58782
58783 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
58784
58785 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
58786 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
58787 ANYWHERE set to 1 only on KERN_NO_SPACE error.
58788
58789 2012-01-21 Ulrich Drepper <drepper@gmail.com>
58790
58791 * wcsmbs/uchar.h: Test __STDC_VERSION__.
58792
58793 2012-01-20 Ulrich Drepper <drepper@gmail.com>
58794
58795 * nscd/aicache.c (addhstaiX): Do not cache negative results of
58796 transient errors.
58797 * nscd/grpcache.c (cache_addgr): Likewise.
58798 * nscd/hstcache.c (cache_addhst): Likewise.
58799 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58800 * nscd/pwdcache.c (cache_addpw): Likewise.
58801 * nscd/servicescache.c (cache_addserv): Likewise.
58802
58803 2012-01-16 Ulrich Drepper <drepper@gmail.com>
58804
58805 * malloc/malloc.c: Various cleanups.
58806 * malloc/hooks.c: Likewise.
58807
58808 * stdlib/Makefile (tests): Add bug-fmtmsg1.
58809 * stdlib/bug-fmtmsg1.c: New file.
58810
58811 * stdlib/fmtmsg.c (init): Add missing unlock.
58812 Patch by Peng Haitao <penght@cn.fujitsu.com>.
58813
58814 2012-01-12 Marek Polacek <polacek@redhat.com>
58815
58816 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
58817 and _GNU_SOURCE.
58818
58819 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
58820
58821 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
58822 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
58823 macro to ensure uniqueness of label name.
58824 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
58825 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
58826
58827 2012-01-11 Ulrich Drepper <drepper@gmail.com>
58828
58829 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
58830
58831 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
58832 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
58833 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
58834 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
58835
58836 2012-01-10 Ulrich Drepper <drepper@gmail.com>
58837
58838 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
58839
58840 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
58841 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
58842 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
58843
58844 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
58845
58846 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
58847 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
58848 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
58849 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
58850
58851 * math/bits/math-finite.h: Add ldexp support.
58852
58853 2012-01-10 Marek Polacek <polacek@redhat.com>
58854
58855 * locale/programs/localedef.h (show_archive_content): Add noreturn
58856 attribute.
58857
58858 2012-01-09 Ulrich Drepper <drepper@gmail.com>
58859
58860 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
58861
58862 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58863
58864 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
58865
58866 * io/Makefile (headers): Add bits/poll2.h.
58867
58868 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
58869
58870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
58871 typo #include statement.
58872
58873 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58874
58875 * include/sys/cdefs.h: Define __attribute_alloc_size.
58876 * catgets/gencat.c: Add alloc_size attribute and apply consistently
58877 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
58878 * elf/pldd.c: Likewise.
58879 * iconv/iconv_charmap.c: Likewise.
58880 * iconv/iconvconfig.c: Likewise.
58881 * iconv/strtab.c: Likewise.
58882 * locale/programs/locale.c: Likewise.
58883 * locale/programs/localedef.h: Likewise.
58884 * locale/programs/simple-hash.c: Likewise.
58885 * nscd/nscd.h: Likewise.
58886 * nss/makedb.c: Likewise.
58887 * sysdeps/generic/ldconfig.h: Likewise.
58888 * locale/programs/localedef.c: Remove xmalloc prototype.
58889 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
58890
58891 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
58892
58893 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
58894 appropriate.
58895
58896 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58897
58898 * math/Makefile (tests): Add tst-CMPLX.
58899 * math/tst-CMPLX.c: New file.
58900
58901 * math/complex.h (CMPLXL): Fix typo.
58902
58903 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
58904 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
58905 GLIBC_2.16.
58906 * debug/tst-chk1.c: Add poll and ppoll tests.
58907 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
58908 * include/sys/poll.h: Add hidden proto for ppoll.
58909 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
58910 * sysdeps/mach/hurd/ppoll.c: Likewise.
58911 * io/ppoll.c: Likewise.
58912 * debug/poll_chk.c: New file.
58913 * debug/ppoll_chk.c: New file.
58914 * include/bits/poll2.h: New file.
58915 * io/bits/poll2.h: New file.
58916
58917 [BZ #1350]
58918 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
58919
58920 * configure.in: static is always set to yes. Remove.
58921 * config.make.in: Don't set build-static.
58922 * Makeconfig: Remove use of build-static.
58923 * dlfcn/Makefile: Likewise.
58924 * elf/Makefile: Likewise.
58925 * math/Makefile: Likewise.
58926 * misc/Makefile: Likewise.
58927 * nptl/Makefile: Likewise.
58928 * sysdeps/mach/hurd/Makefile: Likewise.
58929
58930 * configure.in: PWD_P is not used anymore.
58931 * config.make.in: Remove PWD_P entry.
58932
58933 * configure.in: Remove last remnants of RANLIB.
58934 No need to check for signed size_t anymore.
58935 Don't set libc_commonpagesize and libc_relro_required here for Alpha
58936 and IA-64.
58937 Remove __builtin_expect test because we require at least gcc 3.4.
58938 * aclocal.m4: Likewise.
58939
58940 * wcsmbs/mbrtoc16.c: Implement using towc function.
58941 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
58942 * wcsmbs/wcsmbsload.c: Likewise.
58943 * iconv/gconv_simple.c: Likewise.
58944 * iconv/gconv_int.h: Likewise.
58945 * iconv/gconv_builtin.h: Likewise.
58946 * iconv/iconv_prog.c: Remove CHAR16 handling.
58947
58948 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
58949
58950 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
58951
58952 * configure.in: Remove --with-elf and --enable-bounded options.
58953 Dont set base_machine for ia64. More non-ELF conditions removed.
58954 Remove testing and setting of leading underscore information.
58955 * config.make.in (build-bounded): Set to no.
58956 * config.h.in: Remove NO_UNDERSCORES entry.
58957 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
58958 them.
58959 * csu/start.c: Remove !NO_UNDERSCORE code.
58960 * locale/localeinfo.h: Likewise.
58961 * sysdeps/generic/machine-gmon.h: Likewise.
58962 * sysdeps/generic/sysdep.h: Likewise.
58963 * sysdeps/i386/sysdep.h: Likewise.
58964 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
58965 * sysdeps/mach/sysdep.h: Likewise.
58966 * sysdeps/s390/s390-32/sysdep.h: Likewise.
58967 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58968 * sysdeps/sh/sysdep.h: Likewise.
58969 * sysdeps/sparc/sparc32/alloca.S: Likewise.
58970 * sysdeps/unix/i386/sysdep.S: Likewise.
58971 * sysdeps/unix/sparc/start.c: Likewise.
58972 * sysdeps/unix/sparc/sysdep.S: Likewise.
58973 * sysdeps/unix/sparc/sysdep.h: Likewise.
58974 * sysdeps/unix/start.c: Likewise.
58975 * sysdeps/unix/x86_64/sysdep.S: Likewise.
58976 * sysdeps/x86_64/sysdep.h: Likewise.
58977
58978 2012-01-07 Ulrich Drepper <drepper@gmail.com>
58979
58980 [BZ #13553]
58981 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
58982 for non-gcc.
58983 * argp/argp-fmtstream.h: Use const instead __const.
58984 * argp/argp.h: Likewise.
58985 * assert/assert.h: Likewise.
58986 * bits/fenv.h: Likewise.
58987 * bits/sched.h: Likewise.
58988 * bits/sigset.h: Likewise.
58989 * bits/sigthread.h: Likewise.
58990 * catgets/nl_types.h: Likewise.
58991 * conform/data/pthread.h-data: Likewise.
58992 * crypt/crypt-private.h: Likewise.
58993 * crypt/crypt.h: Likewise.
58994 * crypt/crypt_util.c: Likewise.
58995 * ctype/ctype.h: Likewise.
58996 * debug/execinfo.h: Likewise.
58997 * debug/mbsnrtowcs_chk.c: Likewise.
58998 * debug/mbsrtowcs_chk.c: Likewise.
58999 * debug/wcsnrtombs_chk.c: Likewise.
59000 * debug/wcsrtombs_chk.c: Likewise.
59001 * debug/wcstombs_chk.c: Likewise.
59002 * dirent/dirent.h: Likewise.
59003 * dlfcn/dlfcn.h: Likewise.
59004 * elf/neededtest4.c: Likewise.
59005 * grp/grp.h: Likewise.
59006 * gshadow/gshadow.h: Likewise.
59007 * iconv/gconv.h: Likewise.
59008 * iconv/gconv_int.h: Likewise.
59009 * iconv/gconv_simple.c: Likewise.
59010 * iconv/iconv.h: Likewise.
59011 * iconv/loop.c: Likewise.
59012 * iconv/skeleton.c: Likewise.
59013 * include/aio.h: Likewise.
59014 * include/aliases.h: Likewise.
59015 * include/argz.h: Likewise.
59016 * include/arpa/inet.h: Likewise.
59017 * include/assert.h: Likewise.
59018 * include/dirent.h: Likewise.
59019 * include/dlfcn.h: Likewise.
59020 * include/execinfo.h: Likewise.
59021 * include/fcntl.h: Likewise.
59022 * include/fenv.h: Likewise.
59023 * include/glob.h: Likewise.
59024 * include/grp.h: Likewise.
59025 * include/libintl.h: Likewise.
59026 * include/mntent.h: Likewise.
59027 * include/netdb.h: Likewise.
59028 * include/pwd.h: Likewise.
59029 * include/rpc/netdb.h: Likewise.
59030 * include/sched.h: Likewise.
59031 * include/search.h: Likewise.
59032 * include/shadow.h: Likewise.
59033 * include/signal.h: Likewise.
59034 * include/stdio.h: Likewise.
59035 * include/stdlib.h: Likewise.
59036 * include/string.h: Likewise.
59037 * include/sys/socket.h: Likewise.
59038 * include/sys/stat.h: Likewise.
59039 * include/sys/statfs.h: Likewise.
59040 * include/sys/statvfs.h: Likewise.
59041 * include/sys/syslog.h: Likewise.
59042 * include/sys/time.h: Likewise.
59043 * include/sys/uio.h: Likewise.
59044 * include/time.h: Likewise.
59045 * include/unistd.h: Likewise.
59046 * include/utmp.h: Likewise.
59047 * include/wchar.h: Likewise.
59048 * include/wctype.h: Likewise.
59049 * inet/aliases.h: Likewise.
59050 * inet/arpa/inet.h: Likewise.
59051 * inet/netinet/ether.h: Likewise.
59052 * inet/netinet/in.h: Likewise.
59053 * intl/libintl.h: Likewise.
59054 * io/bits/fcntl2.h: Likewise.
59055 * io/fcntl.h: Likewise.
59056 * io/ftw.h: Likewise.
59057 * io/sys/poll.h: Likewise.
59058 * io/sys/stat.h: Likewise.
59059 * io/sys/statfs.h: Likewise.
59060 * io/sys/statvfs.h: Likewise.
59061 * io/utime.h: Likewise.
59062 * libio/bits/stdio.h: Likewise.
59063 * libio/bits/stdio2.h: Likewise.
59064 * libio/libio.h: Likewise.
59065 * libio/libioP.h: Likewise.
59066 * libio/stdio.h: Likewise.
59067 * locale/lc-ctype.c: Likewise.
59068 * locale/locale.h: Likewise.
59069 * login/utmp.h: Likewise.
59070 * malloc/arena.c: Likewise.
59071 * malloc/malloc.c: Likewise.
59072 * malloc/malloc.h: Likewise.
59073 * malloc/mcheck.c: Likewise.
59074 * malloc/mtrace.c: Likewise.
59075 * math/bits/mathcalls.h: Likewise.
59076 * math/fenv.h: Likewise.
59077 * math/math_private.h: Likewise.
59078 * misc/bits/error.h: Likewise.
59079 * misc/bits/syslog.h: Likewise.
59080 * misc/err.h: Likewise.
59081 * misc/error.h: Likewise.
59082 * misc/fstab.h: Likewise.
59083 * misc/mntent.h: Likewise.
59084 * misc/regexp.h: Likewise.
59085 * misc/search.h: Likewise.
59086 * misc/sgtty.h: Likewise.
59087 * misc/sys/mman.h: Likewise.
59088 * misc/sys/syslog.h: Likewise.
59089 * misc/sys/uio.h: Likewise.
59090 * misc/sys/xattr.h: Likewise.
59091 * misc/ttyent.h: Likewise.
59092 * nis/rpcsvc/ypclnt.h: Likewise.
59093 * nss/nss.h: Likewise.
59094 * posix/bits/unistd.h: Likewise.
59095 * posix/fnmatch.h: Likewise.
59096 * posix/glob.h: Likewise.
59097 * posix/sched.h: Likewise.
59098 * posix/spawn.h: Likewise.
59099 * posix/sys/wait.h: Likewise.
59100 * posix/unistd.h: Likewise.
59101 * posix/wordexp.h: Likewise.
59102 * pwd/pwd.h: Likewise.
59103 * resolv/netdb.h: Likewise.
59104 * resource/sys/resource.h: Likewise.
59105 * rt/aio.h: Likewise.
59106 * rt/bits/mqueue2.h: Likewise.
59107 * rt/mqueue.h: Likewise.
59108 * shadow/shadow.h: Likewise.
59109 * signal/signal.h: Likewise.
59110 * socket/send.c: Likewise.
59111 * socket/sendto.c: Likewise.
59112 * socket/sys/socket.h: Likewise.
59113 * stdio-common/printf.h: Likewise.
59114 * stdlib/bits/stdlib.h: Likewise.
59115 * stdlib/fmtmsg.h: Likewise.
59116 * stdlib/monetary.h: Likewise.
59117 * stdlib/stdlib.h: Likewise.
59118 * stdlib/ucontext.h: Likewise.
59119 * streams/stropts.h: Likewise.
59120 * string/argz.h: Likewise.
59121 * string/bits/string2.h: Likewise.
59122 * string/string.h: Likewise.
59123 * string/strings.h: Likewise.
59124 * sunrpc/rpc/auth.h: Likewise.
59125 * sunrpc/rpc/auth_des.h: Likewise.
59126 * sunrpc/rpc/clnt.h: Likewise.
59127 * sunrpc/rpc/netdb.h: Likewise.
59128 * sunrpc/rpc/pmap_clnt.h: Likewise.
59129 * sunrpc/rpc/xdr.h: Likewise.
59130 * sysdeps/generic/inttypes.h: Likewise.
59131 * sysdeps/generic/net/if.h: Likewise.
59132 * sysdeps/generic/sys/swap.h: Likewise.
59133 * sysdeps/gnu/net/if.h: Likewise.
59134 * sysdeps/gnu/utmpx.h: Likewise.
59135 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
59136 * sysdeps/i386/i486/bits/string.h: Likewise.
59137 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
59138 * sysdeps/s390/bits/string.h: Likewise.
59139 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
59140 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
59141 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
59142 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
59143 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
59144 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
59145 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
59146 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
59147 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
59148 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
59149 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
59150 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
59151 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
59152 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
59153 * sysdeps/unix/sysv/linux/readv.c: Likewise.
59154 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
59155 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
59156 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59157 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
59158 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
59159 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
59160 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
59161 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
59162 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
59163 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
59164 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
59165 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
59166 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
59167 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
59168 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
59169 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
59170 * sysvipc/sys/ipc.h: Likewise.
59171 * sysvipc/sys/msg.h: Likewise.
59172 * sysvipc/sys/sem.h: Likewise.
59173 * sysvipc/sys/shm.h: Likewise.
59174 * termios/termios.h: Likewise.
59175 * time/sys/time.h: Likewise.
59176 * time/time.h: Likewise.
59177 * wcsmbs/bits/wchar2.h: Likewise.
59178 * wcsmbs/uchar.h: Likewise.
59179 * wcsmbs/wchar.h: Likewise.
59180 * wctype/wctype.h: Likewise.
59181
59182 [BZ #13551]
59183 * Makeconfig: Remove all but ELF support including AIX support.
59184 * Makerules: Likewise.
59185 * config.h.in: Likewise.
59186 * config.make.in: Likewise.
59187 * configure: Likewise.
59188 * configure.in: Likewise.
59189 * csu/Makefile: Likewise.
59190 * csu/version.c: Likewise.
59191 * debug/Makefile: Likewise.
59192 * dlfcn/Makefile: Likewise.
59193 * elf/Makefile: Likewise.
59194 * extra-lib.mk: Likewise.
59195 * iconv/Makefile: Likewise.
59196 * include/libc-symbols.h: Likewise.
59197 * include/shlib-compat.h: Likewise.
59198 * resolv/Makefile: Likewise.
59199 * resolv/res_libc.c: Likewise.
59200 * rt/Makefile: Likewise.
59201 * sysdeps/i386/asm-syntax.h: Likewise.
59202 * sysdeps/i386/sysdep.h: Likewise.
59203 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
59204 * sysdeps/mach/sysdep.h: Likewise.
59205 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
59206 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
59207 * sysdeps/s390/asm-syntax.h: Likewise.
59208 * sysdeps/s390/s390-32/sysdep.h: Likewise.
59209 * sysdeps/s390/s390-64/sysdep.h: Likewise.
59210 * sysdeps/sh/sysdep.h: Likewise.
59211 * sysdeps/unix/sparc/sysdep.h: Likewise.
59212 * sysdeps/wordsize-32/divdi3.c: Likewise.
59213 * sysdeps/x86_64/sysdep.h: Likewise.
59214
59215 * argp/Versions: Remove _argp_unlock_xxx.
59216
59217 [BZ #13559]
59218 * abilist/ld.abilist: Update. Adjust for removal of tls option.
59219 * abilist/libBrokenLocale.abilist: Likewise.
59220 * abilist/libanl.abilist: Likewise.
59221 * abilist/libc.abilist: Likewise.
59222 * abilist/libcrypt.abilist: Likewise.
59223 * abilist/libdl.abilist: Likewise.
59224 * abilist/libm.abilist: Likewise.
59225 * abilist/libnsl.abilist: Likewise.
59226 * abilist/libpthread.abilist: Likewise.
59227 * abilist/libresolv.abilist: Likewise.
59228 * abilist/librt.abilist: Likewise.
59229 * abilist/libthread_db.abilist: Likewise.
59230 * abilist/libutil.abilist: Likewise.
59231 * abilist/libnss_db.abilist: New file.
59232
59233 * scripts/abilist.awk: Add support for indirect functions.
59234
59235 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
59236
59237 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
59238
59239 * shlib-versions: Remove entries for ports architectures.
59240
59241 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
59242 files in ports.
59243 * elf/stackguard-macros.h: Remove support for IA-64.
59244 * elf/tst-auditmod1.c: Likewise.
59245 * sysdeps/generic/ldsodefs.h: Likewise.
59246
59247 * sysdeps/unix/sysv/linux/configure.in: Ports should define
59248 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
59249 configure files.
59250
59251 [BZ #13552]
59252 * configure.in: Remove --enable-omitfp support.
59253 * FAQ.in: Adjust.
59254 * config.make.in: Likewise.
59255 * Makeconfig: Likewise.
59256 * manual/install.texi: Likewise.
59257
59258 In case anyone cares, the IA-64 architecture could move to ports.
59259 * sysdeps/ia64/*: Removed.
59260 * sysdeps/unix/sysv/linux/ia64/*: Removed.
59261 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
59262
59263 [BZ #13555]
59264 * configure.in: Remove entries for unsupported architectures.
59265
59266 [BZ #13533]
59267 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
59268 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
59269 routines.
59270 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
59271 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
59272 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
59273 fall back to using wcrtomb.
59274 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
59275 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
59276 renaming.
59277 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
59278 * wcsmbs/tst-c16c32-1.c: New file.
59279
59280 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
59281 local variable.
59282
59283 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
59284
59285 * elf/tst-unique3.cc: Add explicit declaration of gets.
59286 * elf/tst-unique3lib.cc: Likewise.
59287 * elf/tst-unique3lib2.cc: Likewise.
59288 * elf/tst-unique4.cc: Likewise.
59289
59290 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
59291
59292 2012-01-06 Joseph Myers <joseph@codesourcery.com>
59293
59294 [BZ #13566]
59295 * assert/assert.h (static_assert): Don't define for C++.
59296 * libio/stdio.h (gets): Do declare for C++ <= C++11.
59297 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
59298
59299 2012-01-03 Ulrich Drepper <drepper@gmail.com>
59300
59301 * iconv/loop.c (single loop): Fix assertion in storing of
59302 remaining bytes.
59303
59304 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
59305
59306 2012-01-01 Ulrich Drepper <drepper@gmail.com>
59307
59308 * posix/getconf.c: Update copyright year.
59309 * nss/getent.c: Likewise.
59310 * nss/makedb.c: Likewise.
59311 * iconv/iconvconfig.c: Likewise.
59312 * iconv/iconv_prog.c: Likewise.
59313 * elf/ldconfig.c: Likewise.
59314 * elf/pldd.c: Likewise.
59315 * elf/sotruss.ksh: Likewise.
59316 * catgets/gencat.c: Likewise.
59317 * csu/version.c: Likewise.
59318 * elf/ldd.bash.in: Likewise.
59319 * elf/sprof.c (print_version): Likewise.
59320 * locale/programs/locale.c: Likewise.
59321 * locale/programs/localedef.c: Likewise.
59322 * login/programs/pt_chown.c: Likewise.
59323 * nscd/nscd.c (print_version): Likewise.
59324 * debug/xtrace.sh: Likewise.
59325 * malloc/memusage.sh: Likewise.
59326 * malloc/mtrace.pl: Likewise.
59327 * debug/catchsegv.sh: Likewise.
59328
59329 2011-12-30 Jakub Jelinek <jakub@redhat.com>
59330
59331 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
59332 pure attribute.
59333
59334 2011-12-24 Ulrich Drepper <drepper@gmail.com>
59335
59336 [BZ #13533]
59337 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
59338 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
59339 transformations.
59340 * iconv/gconv_int.h: Likewise.
59341 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
59342 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
59343 from libc for GLIBC_2.16.
59344 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
59345 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
59346 * wcsmbs/uchar.h: Really define mbstate_t.
59347 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
59348 * wcsmbs/c16rtomb.c: New file.
59349 * wcsmbs/mbrtoc16.c: New file.
59350 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
59351 for C/POSIX locale.
59352 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
59353 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
59354
59355 * wcsmbs/wchar.h: Add missing __restrict.
59356
59357 2011-12-23 Ulrich Drepper <drepper@gmail.com>
59358
59359 [BZ #13532]
59360 * time/Makefile (routines): Add timespec_get.
59361 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
59362 * time/time.h: Define TIME_UTC and declare timespec_get. Define
59363 timespec for ISO C11.
59364 * time/timespec_get.c: New file.
59365 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
59366 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
59367
59368 [BZ #13531]
59369 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
59370 * stdlib/stdlib.h: Declare aligned_alloc.
59371 * Versions.def: Add GLIBC_2.16 for libc.
59372 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
59373
59374 [BZ 13527]
59375 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
59376 ISO C11.
59377
59378 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
59379 code.
59380
59381 [BZ #13528]
59382 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
59383
59384 [BZ #13529]
59385 * assert/assert.h (static_assert): Define.
59386
59387 * version.h: Update for 2.16 development version.
59388
59389 [BZ #13526]
59390 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
59391 _ISOC11_SOURCE.
59392
59393 * version.h (RELEASE): Bump for 2.15 release.
59394 * include/features.h (__GLIBC_MINOR__): Bump to 15.
59395
59396 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
59397 Patch by Marek Polacek <mpolacek@redhat.com>.
59398
59399 * bits/byteswap.h: Protect long long constants with __extension__.
59400 * sysdeps/i386/bits/byteswap.h: Likewise.
59401 * sysdeps/ia64/bits/byteswap.h: Likewise.
59402 * sysdeps/s390/bits/byteswap.h: Likewise.
59403 * sysdeps/x86_64/bits/byteswap.h: Likewise.
59404
59405 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59406
59407 [BZ #13540]
59408 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
59409 destination buffer.
59410 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
59411
59412 2011-12-23 Marek Polacek <polacek@redhat.com>
59413
59414 * elf/dl-addr.c (determine_info): Add inline keyword.
59415 * elf/tst-auditmod4b.c (check_avx): Likewise.
59416 * elf/tst-auditmod6b.c (check_avx): Likewise.
59417 * elf/tst-auditmod6c.c (check_avx): Likewise.
59418 * elf/tst-auditmod7b.c (check_avx): Likewise.
59419
59420 2011-12-23 Ulrich Drepper <drepper@gmail.com>
59421
59422 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
59423 !__SSE_MATH__.
59424
59425 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59426
59427 [BZ #13540]
59428 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
59429 processing for last bytes.
59430
59431 2011-08-06 Bruno Haible <bruno@clisp.org>
59432
59433 [BZ #13061]
59434 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
59435 U+0385, not to U+1FEE.
59436
59437 [BZ #13062]
59438 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
59439 entry for U+00A5 U+0301.
59440
59441 2011-12-22 Ulrich Drepper <drepper@gmail.com>
59442
59443 [BZ #13166]
59444 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
59445 buffer for the output is too small.
59446
59447 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
59448 optimization.
59449
59450 [BZ #13185]
59451 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
59452 SSE flags if possible.
59453
59454 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59455
59456 [BZ #13540]
59457 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
59458 processing for last bytes.
59459
59460 2011-12-22 Joseph Myers <joseph@codesourcery.com>
59461
59462 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
59463 (syscall-list-default-options, syscall-list-default-condition)
59464 (syscall-list-includes): Define.
59465 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
59466 list of ABIs and options and #if conditions for each ABI. Do not
59467 handle common syscalls between ABIs specially.
59468 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
59469 Remove.
59470 (syscall-list-variants, syscall-list-32bit-options)
59471 (syscall-list-32bit-condition, syscall-list-64bit-options)
59472 (syscall-list-64bit-condition): Define.
59473 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
59474 (syscall-list-variants, syscall-list-32bit-options)
59475 (syscall-list-32bit-condition, syscall-list-64bit-options)
59476 (syscall-list-64bit-condition): Define.
59477 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
59478 Remove.
59479 (syscall-list-variants, syscall-list-32bit-options)
59480 (syscall-list-32bit-condition, syscall-list-64bit-options)
59481 (syscall-list-64bit-condition): Define.
59482 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
59483 Remove.
59484 (syscall-list-variants, syscall-list-32bit-options)
59485 (syscall-list-32bit-condition, syscall-list-64bit-options)
59486 (syscall-list-64bit-condition): Define.
59487
59488 2011-12-22 Ulrich Drepper <drepper@gmail.com>
59489
59490 * locale/iso-639.def: Add brx entry.
59491
59492 [BZ #13328]
59493 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
59494 Proposed by Mariusz_Cukr <marcukr@op.pl>.
59495
59496 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
59497 __feraiseexcept_renamed.
59498
59499 2011-12-21 Ulrich Drepper <drepper@gmail.com>
59500
59501 [BZ #13538]
59502 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
59503 EPOLLET with unsigned values.
59504 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
59505 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
59506
59507 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
59508 to large cancellation.
59509 * math/s_cacoshf.c: Likewise.
59510 * math/s_cacoshl.c: Likewise.
59511
59512 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
59513
59514 [BZ #13305]
59515 [BZ #12786]
59516 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
59517 * math/s_cacoshf.c: Likewise.
59518 * math/s_cacoshl.c: Likewise.
59519
59520 2011-12-21 Ulrich Drepper <drepper@gmail.com>
59521
59522 [BZ #13439]
59523 * iconv/gconv.h: Define __GCONV_SWAP.
59524 * iconvdata/unicode.c: The swap bit must be stored in __flags.
59525 * iconvdata/utf-16.c: Likewise.
59526 * iconvdata/utf-32.c: Likewise.
59527
59528 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
59529
59530 [BZ #13524]
59531 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
59532 numerator after shifting it by one limb.
59533
59534 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
59535
59536 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
59537 under [__USE_EXTERN_INLINES].
59538
59539 2011-12-17 Ulrich Drepper <drepper@gmail.com>
59540
59541 [BZ #13446]
59542 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
59543
59544 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59545
59546 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
59547 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
59548 optimized code.
59549 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
59550 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
59551 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
59552 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
59553 for strncasecmp/strncasecmp_l compilation.
59554 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
59555 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
59556
59557 2011-12-08 Marek Polacek <mpolacek@redhat.com>
59558
59559 [BZ #13484]
59560 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
59561 of __asm__.
59562
59563 2011-12-17 Ulrich Drepper <drepper@gmail.com>
59564
59565 [BZ #13506]
59566 * time/tzfile.c (__tzfile_read): Check values from file header.
59567
59568 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
59569
59570 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
59571 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
59572 * powerpc/powerpc32/dl-start.S: Likewise.
59573 * powerpc/powerpc32/elf/start.S: Likewise.
59574 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
59575 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
59576 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
59577 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
59578 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
59579 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
59580 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
59581 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
59582 * powerpc/powerpc32/fpu/s_round.S: Likewise.
59583 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
59584 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
59585 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
59586 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
59587 * powerpc/powerpc32/memset.S: Likewise.
59588 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
59589 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59590 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59591 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59592 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59593 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
59594 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
59595 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
59596 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
59597 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
59598 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
59599 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
59600 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
59601
59602 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59603
59604 * math/libm-test.inc: Added more nearbyint tests.
59605 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
59606 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
59607 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
59608 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
59609
59610 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
59611
59612 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
59613 FD_CLOEXEC.
59614
59615 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59616
59617 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
59618 Add wcscpy-ssse3 wcscpy-c.
59619 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
59620 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
59621 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
59622 * sysdeps/x86_64/wcschr.S: New file.
59623 * sysdeps/x86_64/wcsrchr.S: New file.
59624 * string/test-strcmp.c: Remove checking of wcscmp function for
59625 wrong alignments.
59626 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
59627 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
59628 wcsrchr-sse2 wcsrchr-c.
59629 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
59630 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
59631 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
59632 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
59633 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
59634 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
59635 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
59636 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
59637 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
59638 * wcsmbc/wcschr.c (WCSCHR): New macro.
59639
59640 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59641
59642 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
59643 * wcsmbs/test-wcsrchr.c: New file.
59644 * string/test-strrchr.c: Add wcsrchr support.
59645 (WIDE): New macro.
59646 * wcsmbs/test-wcscpy.c: New file.
59647 * string/test-strcpy.c: Add wcscpy support.
59648 (WIDE): New macro.
59649
59650 2011-12-10 Ulrich Drepper <drepper@gmail.com>
59651
59652 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
59653 the inner loop.
59654
59655 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
59656
59657 [BZ #13472]
59658 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
59659
59660 2011-12-04 Ulrich Drepper <drepper@gmail.com>
59661
59662 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
59663 Minor optimizations.
59664
59665 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
59666 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
59667 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
59668
59669 2011-12-03 Ulrich Drepper <drepper@gmail.com>
59670
59671 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
59672 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
59673 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
59674 for gcc to avoid warnings.
59675 * inet/Makefile (tests): Add tst-checks.
59676 * inet/tst-checks.c: New file.
59677
59678 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
59679 warning.
59680
59681 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
59682 __wmemcmp_sse2.
59683
59684 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
59685 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
59686
59687 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
59688
59689 2011-12-02 Ulrich Drepper <drepper@gmail.com>
59690
59691 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
59692 problem.
59693
59694 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
59695
59696 2011-11-29 Joseph Myers <joseph@codesourcery.com>
59697
59698 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
59699 conditional on GCC version.
59700 (__arch_compare_and_exchange_val_8_acq)
59701 (__arch_compare_and_exchange_val_16_acq)
59702 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
59703 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
59704 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
59705
59706 2011-12-02 Joseph Myers <joseph@codesourcery.com>
59707
59708 * sysdeps/sh/backtrace.c: New file.
59709
59710 2011-12-02 Andreas Schwab <schwab@redhat.com>
59711
59712 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
59713 parenthesis.
59714
59715 2011-12-01 Andreas Schwab <schwab@redhat.com>
59716
59717 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
59718 falling back to utime.
59719
59720 2011-11-30 Andreas Schwab <schwab@redhat.com>
59721
59722 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
59723 expectations for float.
59724
59725 2011-11-29 Andreas Schwab <schwab@redhat.com>
59726
59727 * locale/weight.h (findidx): Add parameter len.
59728 * locale/weightwc.h (findidx): Likewise.
59729 * posix/fnmatch_loop.c (FCT): Adjust caller.
59730 * posix/regcomp.c (build_equiv_class): Likewise.
59731 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
59732 * posix/regexec.c (check_node_accept_bytes): Likewise.
59733 * string/strcoll_l.c (STRCOLL): Likewise.
59734 * string/strxfrm_l.c (STRXFRM): Likewise.
59735
59736 2011-11-17 Ulrich Drepper <drepper@gmail.com>
59737
59738 * Makefile.in: Remove CVSOPT handling.
59739 * configure.in: Remove use of AC_REVISION.
59740 * iconvdata/Makefile (distribute): No need to filter out CVS.
59741 * scripts/list-sources.sh: Remove CVS, subversion and monotone
59742 handling.
59743
59744 2011-11-16 Andreas Schwab <schwab@redhat.com>
59745
59746 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
59747 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
59748 [USE_AS_STRNCASECMP_L]: Likewise.
59749 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
59750 NO_TLS_DIRECT_SEG_REFS.
59751 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
59752 Fix argument offsets for non-PIC.
59753 [USE_AS_STRNCASECMP_L]: Likewise.
59754 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
59755 NO_TLS_DIRECT_SEG_REFS.
59756
59757 2011-11-15 Ulrich Drepper <drepper@gmail.com>
59758
59759 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
59760 O_CLOEXEC.
59761 * locale/loadlocale.c (_nl_load_locale): Likewise.
59762
59763 2011-11-15 Andreas Schwab <schwab@redhat.com>
59764
59765 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
59766 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
59767 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
59768 (SYSCALL_GETTIME): Set errno on error.
59769
59770 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
59771 count references to noai6ai_cached.
59772
59773 2011-11-15 Ulrich Drepper <drepper@gmail.com>
59774
59775 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
59776
59777 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
59778 FD_CLOEXEC for /proc/self/maps.
59779
59780 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
59781 FD_CLOEXEC for /proc/meminfo.
59782
59783 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
59784 gai.conf.
59785
59786 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
59787 FD_CLOEXEC for given file.
59788
59789 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
59790
59791 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
59792 FD_CLOEXEC for /etc/hosts.
59793 (_gethtent): Likewise.
59794
59795 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
59796
59797 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
59798 cancellation and set FD_CLOEXEC for /etc/netgroup.
59799
59800 * nss/nss_files/files-key.c (search): Don't allow cancellation when
59801 reading /etc/publickey.
59802
59803 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
59804 allow cancellation when reading /etc/group.
59805
59806 * nss/nss_files/files-alias.c (internal_setent): Don't allow
59807 cancellation.
59808 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
59809
59810 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
59811 when using data file.
59812
59813 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
59814
59815 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
59816 (write_nis_obj): Use "c" and "e" in fopen.
59817
59818 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
59819
59820 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
59821
59822 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
59823
59824 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
59825
59826 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
59827 locale.alias.
59828
59829 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
59830
59831 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
59832
59833 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
59834
59835 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
59836 file parsing and set FD_CLOEXEC.
59837
59838 2011-11-14 Ulrich Drepper <drepper@gmail.com>
59839
59840 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
59841
59842 2011-11-14 Andreas Schwab <schwab@redhat.com>
59843
59844 * malloc/arena.c (arena_get2): Don't call reused_arena when
59845 _int_new_arena failed.
59846
59847 2011-11-14 Ulrich Drepper <drepper@gmail.com>
59848
59849 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
59850 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
59851 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
59852 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59853 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59854 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
59855 to compile strcasecmp and strncasecmp.
59856 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
59857 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
59858
59859 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
59860
59861 2011-11-13 Ulrich Drepper <drepper@gmail.com>
59862
59863 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
59864 locale-defines.sym to gen-as-const-headers.
59865 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
59866 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
59867 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
59868 to compile strcasecmp and strncasecmp.
59869 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
59870 strcasecmp_l and strncasecmp_l.
59871 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
59872 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
59873 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
59874 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
59875 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
59876 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
59877 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
59878 * sysdeps/i386/i686/multiarch/strncase.S: New file.
59879 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
59880 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
59881 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
59882
59883 2011-11-12 Ulrich Drepper <drepper@gmail.com>
59884
59885 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
59886 result of SYSDEP_GETTIME_CPU to retval.
59887 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
59888 parameter list to macro. Remove trailing semicolon. Adjust users.
59889
59890 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
59891 variable.
59892
59893 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
59894 mantissa words.
59895 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
59896
59897 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
59898 from unused variable.
59899
59900 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
59901 DWARF definitions.
59902 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
59903 for assembling.
59904
59905 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
59906 over namespaces.
59907
59908 * sunrpc/rpc_prot.c (rejected): Fix case value.
59909
59910 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
59911 unsigned long long int to avoid warnings in shift.
59912
59913 * posix/regex_internal.c (re_string_reconstruct): Actually use result
59914 of use of trans.
59915 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
59916 variable tmp.
59917
59918 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
59919 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
59920 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
59921
59922 * nis/nis_table.c (nis_list): Use variable of correct type for
59923 result of __follow_path call.
59924
59925 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59926
59927 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
59928 of math functions ceil, trunc, floor, round, and sqrt, when
59929 avaliable on the platform.
59930 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
59931 name clash.
59932 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59933 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
59934 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
59935
59936 2011-10-30 Marek Polacek <mpolacek@redhat.com>
59937
59938 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
59939 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
59940
59941 2011-11-11 Roland McGrath <roland@hack.frob.com>
59942
59943 * include/unistd.h: Fix __readlink return type.
59944 Reported by Chris Metcalf <cmetcalf@tilera.com>.
59945
59946 2011-11-11 Ulrich Drepper <drepper@gmail.com>
59947
59948 * stdlib/ucontext.h: Undo last change for makecontext.
59949
59950 2011-11-11 Andreas Schwab <schwab@redhat.com>
59951
59952 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
59953
59954 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
59955 * setjmp/setjmp.h: Mark functions as non-leaf.
59956 * setjmp/bits/setjmp2.h: Likewise.
59957 * stdlib/ucontext.h: Likewise.
59958
59959 2011-11-10 Andreas Schwab <schwab@redhat.com>
59960
59961 * malloc/arena.c (_int_new_arena): Don't increment narenas.
59962 (reused_arena): Don't check arena limit.
59963 (arena_get2): Atomically check arena limit.
59964
59965 2011-11-08 Ulrich Drepper <drepper@gmail.com>
59966
59967 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
59968 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
59969
59970 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
59971 instructions.
59972
59973 2011-11-07 Andreas Schwab <schwab@redhat.com>
59974
59975 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
59976 handler when locking.
59977
59978 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59979 Fix size of allocated buffer.
59980
59981 2011-11-04 Andreas Schwab <schwab@redhat.com>
59982
59983 [BZ #10103]
59984 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
59985 declarations for long double functions.
59986 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
59987
59988 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
59989
59990 2011-11-03 Andreas Schwab <schwab@redhat.com>
59991
59992 * nscd/nscd.c (main): Don't start AVC thread until credentials are
59993 installed.
59994
59995 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
59996 is disabled.
59997
59998 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
59999
60000 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
60001
60002 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
60003
60004 * include/alloca.h (stackinfo_alloca_round): Define.
60005 (extend_alloca): Use it.
60006 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
60007 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
60008 here.
60009
60010 * scripts/check-local-headers.sh: Ignore libaudit.h.
60011
60012 * nscd/Makefile (extra-objs): Make recursively expanded.
60013
60014 2011-11-01 Ulrich Drepper <drepper@gmail.com>
60015
60016 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
60017 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
60018
60019 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
60020 * posix/tst-rfc3484-2.c: Likewise.
60021 * posix/tst-rfc3484-3.c: Likewise.
60022
60023 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
60024 process_vm_writev.
60025 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
60026 process_vm_writev.
60027 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
60028 process_vm_writev from libc using GLIBC_2.15 version.
60029
60030 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
60031
60032 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
60033
60034 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
60035 stack usage.
60036
60037 2011-10-31 Ulrich Drepper <drepper@gmail.com>
60038
60039 [BZ #13367]
60040 * nss/getent.c (initgroups_keys): Show error message in case no group
60041 names are given.
60042
60043 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
60044 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
60045 __bump_nl_timestamp.
60046 * nscd/connections (nscd_init): When host database is served open
60047 netlink socket and request notification about configuration changes.
60048 (main_loop_poll): Track netlink file descriptor and bump timestamp
60049 in case data becomes available.
60050 (main_loop_epoll): Likewise.
60051 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
60052 (database_pers_head): Add extra_data fileds.
60053 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
60054 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
60055 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
60056 Adjust caller.
60057 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
60058 in6ai data, call __free_in6ai.
60059 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
60060 Add -DHAVE_NETLINK.
60061 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
60062 interface information. Reuse previous data if netlink timestamp
60063 is not changed.
60064 (__bump_nl_timestamp): New function.
60065 (__free_in6ai): New function.
60066
60067 2011-10-30 Ulrich Drepper <drepper@gmail.com>
60068
60069 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
60070 close_not_cancel_no_status here.
60071 (__check_pf): Reorganize code a bit to not call close twice if OOM.
60072
60073 2011-10-29 Ulrich Drepper <drepper@gmail.com>
60074
60075 [BZ #13276]
60076 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
60077 return value.
60078
60079 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
60080 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
60081 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
60082
60083 2011-07-03 Andreas Jaeger <aj@suse.de>
60084
60085 [BZ #10709]
60086 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
60087 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
60088 * math/libm-test.inc (sin_test): Add test case.
60089
60090 2011-10-29 Ulrich Drepper <drepper@gmail.com>
60091
60092 [BZ #13337]
60093 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
60094 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
60095
60096 * elf/chroot_canon.c (chroot_canon): Cleanups.
60097
60098 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
60099
60100 [BZ #13335]
60101 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
60102 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
60103
60104 * string/test-strchr.c: Make usable for strchrnul testing.
60105 * string/test-strchrnul.c: New file.
60106 * string/Makefile (strop-tests): Add strchrnul.
60107
60108 * po/it.po: Update from translation team.
60109 * po/es.po: Likewise.
60110
60111 2011-10-28 Ulrich Drepper <drepper@gmail.com>
60112
60113 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
60114 the three constants needed as parameters. Drop the others.
60115 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
60116 __m128i_strloadu_tolower.
60117 Create and initialize variable zero and use it in all the places
60118 where _mm_setzero_si128 was used.
60119
60120 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
60121 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
60122 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
60123 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
60124 anymore.
60125 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
60126 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
60127 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
60128 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
60129 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
60130 __mpranred, __mptan.
60131 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
60132 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
60133 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
60134 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
60135 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
60136 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
60137 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
60138 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
60139 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
60140
60141 2011-10-28 Andreas Schwab <schwab@redhat.com>
60142
60143 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
60144 redefine if SHARED.
60145 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
60146
60147 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
60148 wide char related routines to wcsmbs subdir.
60149
60150 2011-10-27 Andreas Schwab <schwab@redhat.com>
60151
60152 [BZ #13344]
60153 * misc/sys/cdefs.h (__THROWNL): Define.
60154 * posix/unistd.h: Use __THREADNL instead of __THREAD
60155 for memory synchronization functions.
60156
60157 2011-10-26 Roland McGrath <roland@hack.frob.com>
60158
60159 [BZ #13349]
60160 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
60161 doesn't exist.
60162 * manual/stdio.texi (Obstack Streams): Node removed.
60163
60164 2011-10-26 Andreas Schwab <schwab@redhat.com>
60165
60166 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
60167 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60168 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60169
60170 * math/math_private.h (math_force_eval): Allow non-addressable
60171 arguments.
60172 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
60173
60174 2011-10-25 Ulrich Drepper <drepper@gmail.com>
60175
60176 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
60177 file is not needed.
60178
60179 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
60180 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
60181 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
60182 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
60183 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
60184 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
60185 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
60186 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
60187 Add AVX variants.
60188 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
60189 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
60190 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
60191 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
60192 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
60193 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
60194 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
60195 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
60196 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
60197 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
60198 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
60199 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
60200 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
60201 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
60202 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
60203 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
60204 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
60205 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
60206 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
60207
60208 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
60209 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
60210
60211 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
60212 place. Use VEX encoding when compiling for AVX.
60213
60214 2011-10-25 Andreas Schwab <schwab@redhat.com>
60215
60216 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
60217 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
60218
60219 * string/test-strchr.c (do_test): Don't generate NUL bytes.
60220
60221 2011-10-25 Ulrich Drepper <drepper@gmail.com>
60222
60223 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
60224 useless if() expression.
60225 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60226 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
60227 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60228 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60229 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60230 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60231 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60232 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60233 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
60234 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60235 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60236 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60237 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
60238 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60239 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
60240 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60241 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60242 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60243 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
60244
60245 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
60246
60247 2011-10-25 Andreas Schwab <schwab@redhat.com>
60248
60249 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
60250 condition.
60251 * elf/dl-fini.c (_dl_sort_fini): Likewise.
60252
60253 2011-10-25 Ulrich Drepper <drepper@gmail.com>
60254
60255 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
60256 .text section. Avoid duplicate constants.
60257 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
60258 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60259 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60260 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60261 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60262 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60263 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60264 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60265 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
60266 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
60267 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
60268 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
60269 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
60270 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
60271 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
60272 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
60273 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
60274 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
60275 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60276 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60277 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
60278 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
60279 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
60280 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
60281 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
60282 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
60283 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
60284 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
60285 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
60286 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
60287 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
60288 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
60289 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60290 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
60291 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
60292 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
60293 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
60294 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
60295 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
60296 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
60297 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
60298 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
60299 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
60300 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
60301 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
60302
60303 2011-10-24 Ulrich Drepper <drepper@gmail.com>
60304
60305 * sysdeps/x86_64/dla.h: Move to ...
60306 * sysdeps/x86_64/fpu/dla.h: ...here.
60307 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
60308 situations. Use __builtin_fma only for gcc 4.6 and up.
60309
60310 * config.make.in: Add have-mfma4 entry.
60311 * configure.in: Substitute libc_cv_cc_fma4.
60312 * math/Makefile (dbl-only-routines): Add sincostab.
60313 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
60314 Use __sincostab not sincos.
60315 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
60316 name is a macro.
60317 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60318 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60319 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60320 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
60321 using __copysign.
60322 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
60323 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
60324 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
60325 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
60326 and __inv.
60327 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
60328 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
60329 __copysign.
60330 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
60331 define aliases when function name is a macro.
60332 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
60333 sysdeps/ieee754/dbl-64/sincos.tbl.
60334 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
60335 fma4-enabled routines.
60336 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
60337 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
60338 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
60339 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
60340 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
60341 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
60342 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
60343 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
60344 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
60345 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
60346 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
60347 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
60348 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
60349 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
60350 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
60351 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
60352 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
60353 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
60354 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
60355 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
60356 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
60357 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
60358 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
60359 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
60360 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
60361 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
60362 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
60363 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
60364 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
60365 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
60366
60367 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
60368 rename.
60369 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60370 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60371 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60372 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60373 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60374 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60375 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60376 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60377
60378 2011-10-24 Andreas Schwab <schwab@redhat.com>
60379
60380 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
60381
60382 2011-10-23 Ulrich Drepper <drepper@gmail.com>
60383
60384 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
60385
60386 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
60387 prediction.
60388 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
60389
60390 * string/strnlen.c: Don't define STRNLEN, reverse logic.
60391 Remove unused variable magic_bits.
60392 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
60393
60394 * string/strnlen.c: Define and use STRNLEN macro.
60395 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
60396 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
60397 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
60398 * wcsmbs/wcslen.c: Define and use WCSLEN.
60399 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
60400 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
60401 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
60402 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
60403 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
60404 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
60405 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
60406
60407 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60408
60409 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60410 strnlen-sse2-no-bsf.
60411 Rename strlen-no-bsf to strlen-sse2-no-bsf.
60412 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
60413 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
60414 Add strnlen support.
60415 (USE_AS_STRNLEN): New macro.
60416 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
60417 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
60418 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
60419 * sysdeps/x86_64/wcslen.S: New file.
60420
60421 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
60422
60423 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
60424 XMM-moves are used for copying on small sizes.
60425
60426 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60427
60428 * wcsmbs/Makefile (strop-tests): Add wcschr.
60429 * wcsmbs/test-wcschr.c: New file.
60430 * string/test-strchr.c: Update.
60431 Add wcschr support.
60432 (WIDE): New macro.
60433
60434 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60435
60436 * wcsmbs/Makefile (strop-tests): Add wcslen.
60437 * wcsmbs/test-wcslen.c: New file.
60438 * string/test-strlen.c: Update.
60439 Add wcslen support.
60440 (WIDE): New macro.
60441
60442 2011-10-23 Ulrich Drepper <drepper@gmail.com>
60443
60444 * po/it.po: Update from translation team.
60445
60446 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60447
60448 * sysdeps/x86_64/wcscmp.S: Update.
60449 Fix wrong comparison semantics.
60450 wcscmp shall use signed comparison not unsigned.
60451 Don't use substraction to avoid overflow bug.
60452 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
60453 * wcsmbc/wcscmp.c: Likewise.
60454 * string/test-strcmp.c: Likewise.
60455 Add new tests to check cases with negative values.
60456
60457 2011-10-23 Ulrich Drepper <drepper@gmail.com>
60458
60459 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
60460 * sysdeps/x86_64/dla.h: ...here. New file.
60461 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
60462 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60463 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60464 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60465 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60466 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60467 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60468 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60469 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60470
60471 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
60472
60473 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
60474 __ynl_finite aliases.
60475
60476 2011-10-22 Ulrich Drepper <drepper@gmail.com>
60477
60478 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60479
60480 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
60481 define DLA_FMA.
60482 [DLA_FMA] (EMULV): Use DLA_FMA.
60483 [DLA_FMA] (MUL12): Use EMULV.
60484 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
60485 that are not needed.
60486 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60487 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60488 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60489 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60490 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60491 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60492 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60493
60494 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
60495
60496 * math/s_nan.c: Undef __nan.
60497 * math/s_nanf.c: Undef __nanf.
60498 * math/s_nanl.c: Undef __nanl.
60499 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
60500 "math_private.h".
60501
60502 2011-10-22 Ulrich Drepper <drepper@gmail.com>
60503
60504 * math/s_catan.c: Add branch predictions.
60505 * math/s_catanf.c: Likewise.
60506 * math/s_catanh.c: Likewise.
60507 * math/s_catanhf.c: Likewise.
60508 * math/s_catanhl.c: Likewise.
60509 * math/s_catanl.c: Likewise.
60510 * math/s_cexp.c: Likewise.
60511 * math/s_cexpf.c: Likewise.
60512 * math/s_cexpl.c: Likewise.
60513 * math/s_clog.c: Likewise.
60514 * math/s_clog10.c: Likewise.
60515 * math/s_clog10f.c: Likewise.
60516 * math/s_clog10l.c: Likewise.
60517 * math/s_clogf.c: Likewise.
60518 * math/s_clogl.c: Likewise.
60519 * math/s_csqrt.c: Likewise.
60520 * math/s_csqrtf.c: Likewise.
60521 * math/s_csqrtl.c: Likewise.
60522 * math/s_ctanf.c: Likewise.
60523 * math/s_ctanh.c: Likewise.
60524 * math/s_ctanhf.c: Likewise.
60525 * math/s_ctanhl.c: Likewise.
60526 * math/s_ctanl.c: Likewise.
60527
60528 * math/math_private.h: Define __nan, __nanf, __nanl.
60529 * math/s_cacosh.c: Include <math_private.h>.
60530 * math/s_cacoshl.c: Likewise.
60531 * math/s_casinh.c: Likewise.
60532 * math/s_casinhf.c: Likewise.
60533 * math/s_casinhl.c: Likewise.
60534 * math/s_ccos.c: Rely entire on ccosh.
60535 * math/s_ccosf.c: Rely entire on ccoshf.
60536 * math/s_ccosl.c: Rely entirely on ccoshl.
60537 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
60538 Remove tests for FE_INVALID.
60539 * math/s_ccoshf.c: Likewise.
60540 * math/s_ccoshl.c: Likewise.
60541 * math/s_csin.c: Likewise.
60542 * math/s_csinf.c: Likewise.
60543 * math/s_csinh.c Likewise.
60544 * math/s_csinhf.c: Likewise.
60545 * math/s_csinhl.c: Likewise.
60546 * math/s_csinl.c: Likewise.
60547 * math/s_ctan.c: Likewise.
60548 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
60549 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
60550 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
60551
60552 2011-10-21 Ulrich Drepper <drepper@gmail.com>
60553
60554 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
60555 compilation problems.
60556
60557 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
60558 __builtin_expect.
60559
60560 2011-10-20 Ulrich Drepper <drepper@gmail.com>
60561
60562 * sysdeps/i386/configure.in: Test for -mfma4 option.
60563 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
60564 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
60565 COMMON_CPUID_INDEX_80000001.
60566 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
60567 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
60568 use it if FMA3 is not supported.
60569 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
60570
60571 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
60572 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60573
60574 2011-10-20 Andreas Schwab <schwab@redhat.com>
60575
60576 [BZ #12892]
60577 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
60578 it would create a cycle with a link time dependency.
60579
60580 2011-10-19 Ulrich Drepper <drepper@gmail.com>
60581
60582 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
60583 instruction.
60584 * string/Makefile (strop-tests): Add rawmemchr.
60585 * string/test-rawmemchr.c: New file.
60586
60587 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
60588 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
60589 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
60590 when compiling str{,n}casecmp and when AVX is available. Hook up
60591 new optimized code in initializers.
60592
60593 2011-10-19 Andreas Schwab <schwab@redhat.com>
60594
60595 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
60596 __feraiseexcept instead of feraiseexcept.
60597
60598 2011-10-18 Ulrich Drepper <drepper@gmail.com>
60599
60600 * math/math_private.h: Define defaults for libc_fetestexcept and
60601 libc_feupdateenv.
60602 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
60603 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
60604 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
60605 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
60606 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
60607 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
60608 libc_fetestexcept and libc_feupdateenv.
60609
60610 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
60611 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
60612 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
60613 * sysdeps/x86_64/fpu/math_private.h: Define special version of
60614 libc_feholdexcept_setround.
60615
60616 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
60617 Add s_nearbyint-c and s_nearbyintf-c.
60618 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
60619 nearbyintf inlines.
60620 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
60621 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
60622 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
60623 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
60624
60625 * math/math_private.h: Define defaults for libc_fegetround,
60626 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
60627 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
60628 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
60629 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
60630 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
60631 standard functions.
60632 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60633 Remove comments and hacks for old compiler versions.
60634 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
60635 libc_fegetround, libc_fesetround, libc_feholdexcept, and
60636 libc_feholdexceptl.
60637
60638 2011-10-18 Andreas Schwab <schwab@redhat.com>
60639
60640 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
60641 (__feraiseexcept_renamed): Add __NTH.
60642 (feraiseexcept): Add __NTH. Rename local variables to fix
60643 namespace violations.
60644
60645 2011-10-17 Ulrich Drepper <drepper@gmail.com>
60646
60647 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
60648
60649 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
60650
60651 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
60652 recently added interfaces.
60653 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
60654
60655 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
60656 about macro parameter expansion.
60657
60658 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
60659 __NO_MATH_INLINES is defined. Cleanups.
60660
60661 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
60662 and __floorf is target has SSE4.1.
60663 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
60664 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
60665 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
60666 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
60667
60668 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
60669 name.
60670 (floorf): Likewise.
60671
60672 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
60673
60674 2011-10-17 Andreas Schwab <schwab@redhat.com>
60675
60676 * misc/sys/cdefs.h: Fix last change.
60677
60678 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
60679 database lookup.
60680
60681 2011-10-16 Ulrich Drepper <drepper@gmail.com>
60682
60683 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
60684
60685 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
60686 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60687 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
60688 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60689 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60690 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
60691 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60692 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60693 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
60694 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
60695 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
60696 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
60697 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
60698 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
60699 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
60700 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
60701 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
60702 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
60703 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
60704 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
60705 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
60706 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
60707
60708 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
60709 ceil, ceilf, floor, floorf.
60710
60711 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
60712 Perform IRELATIVE relocations last.
60713
60714 * elf/do-rel.h: Add another parameter nrelative, replacing the
60715 local variable with the same name. Change name of the function
60716 to end in Rel or Rela (uppercase).
60717 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
60718 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
60719 elf_dynamic_do_##reloc function.
60720
60721 2011-10-15 Ulrich Drepper <drepper@gmail.com>
60722
60723 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
60724 is sufficient, at least on modern CPUs.
60725
60726 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
60727
60728 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
60729 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
60730
60731 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
60732 __expl_finite.
60733 * math/bits/math-finite.h: Add entries for exp.
60734 * math/e_expl.c: Add __*_finite alias.
60735 * sysdeps/i386/fpu/e_exp.S: Likewise.
60736 * sysdeps/i386/fpu/e_expf.S: Likewise.
60737 * sysdeps/i386/fpu/e_expl.c: Likewise.
60738 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60739 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
60740 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
60741 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60742 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
60743 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
60744 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
60745
60746 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
60747 is sufficient, at least on modern CPUs.
60748
60749 * ctype/ctype-info.c (__ctype_init): Define.
60750 * include/ctype.h (__ctype_init): Declare.
60751 (__ctype_b_loc): The variable is always initialized.
60752 (__ctype_toupper_loc): Likewise.
60753 (__ctype_tolower_loc): Likewise.
60754 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
60755 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
60756
60757 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
60758
60759 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
60760
60761 * configure.in: Also look in $cxxmachine/include for C++ system
60762 headers.
60763
60764 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60765
60766 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
60767 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
60768 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
60769 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
60770 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
60771 (USE_AS_WMEMCMP): New macro.
60772 Fixing indents.
60773 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
60774 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
60775 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
60776 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
60777 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60778 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
60779 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
60780 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
60781 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
60782 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
60783 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
60784 (USE_AS_WMEMCMP): New macro.
60785 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
60786 * sysdeps/string/test-memcmp.c: Update.
60787 Fix simple_wmemcmp.
60788 Add new tests.
60789 * wcsmbs/wmemcmp.c: Update.
60790 (WMEMCMP): New macro.
60791 Fix overflow bug.
60792
60793 2011-10-12 Andreas Jaeger <aj@suse.de>
60794
60795 [BZ #13268]
60796 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
60797
60798 2011-10-15 Ulrich Drepper <drepper@gmail.com>
60799
60800 * libio/iofwide.c (do_length): Avoid warning.
60801
60802 * ctype/ctype.h (__isctype_f): Add missing __THROW.
60803
60804 2011-10-14 Ulrich Drepper <drepper@gmail.com>
60805
60806 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
60807
60808 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
60809 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
60810 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
60811 * sysdeps/i386/i686/fpu/e_log.S: New file.
60812 * sysdeps/i386/i686/fpu/e_logf.S: New file.
60813 * sysdeps/i386/i686/fpu/e_logl.S: New file.
60814
60815 * ctype/ctype.h: Add support for inlined isXXX functions when
60816 compiling C++ code.
60817
60818 2011-10-14 Andreas Schwab <schwab@redhat.com>
60819
60820 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60821
60822 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
60823
60824 2011-10-13 Roland McGrath <roland@hack.frob.com>
60825
60826 [BZ #13291]
60827 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
60828
60829 2011-10-13 Andreas Schwab <schwab@redhat.com>
60830
60831 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
60832 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
60833 feraiseexcept.
60834
60835 * sysdeps/x86_64/memrchr.S: Check for zero size.
60836
60837 * string/stratcliff.c: Add memrchr tests.
60838
60839 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60840
60841 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60842 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
60843 rawmemchr-sse2 rawmemchr-sse2-bsf.
60844 * sysdeps/i386/i686/multiarch/memchr.S: New file.
60845 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
60846 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
60847 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
60848 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
60849 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
60850 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
60851 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
60852 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
60853 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
60854 * string/memrchr.c (MEMRCHR): New macro.
60855
60856 2011-10-12 Ulrich Drepper <drepper@gmail.com>
60857
60858 Add integration with gcc's -ffinite-math-only and optimize wrapper
60859 functions in libm.
60860 * Versions.def: Define GLIBC_2.15 version for libm.
60861 * math/Makefile (headers): Add bits/math-finite.h.
60862 * math/bits/math-finite.h: New file.
60863 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
60864 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
60865 * math/e_acoshl.c: Add __*_finite alias.
60866 * math/e_acosl.c: Likewise.
60867 * math/e_asinl.c: Likewise.
60868 * math/e_atan2l.c: Likewise.
60869 * math/e_atanhl.c: Likewise.
60870 * math/e_coshl.c: Likewise.
60871 * math/e_exp10.c: Likewise.
60872 * math/e_exp10f.c: Likewise.
60873 * math/e_exp10l.c: Likewise.
60874 * math/e_exp2l.c: Likewise.
60875 * math/e_fmodl.c: Likewise.
60876 * math/e_gammal_r.c: Likewise.
60877 * math/e_hypotl.c: Likewise.
60878 * math/e_j0l.c: Likewise.
60879 * math/e_j1l.c: Likewise.
60880 * math/e_jnl.c: Likewise.
60881 * math/e_lgammal_r.c: Likewise.
60882 * math/e_log10l.c: Likewise.
60883 * math/e_log2l.c: Likewise.
60884 * math/e_logl.c: Likewise.
60885 * math/e_powl.c: Likewise.
60886 * math/e_sinhl.c: Likewise.
60887 * math/e_sqrtl.c: Likewise.
60888 * math/e_scalb.c: Completely rewritten and optimized.
60889 * math/e_scalbf.c: Likewise.
60890 * math/e_scalbl.c: Likewise.
60891 * math/w_acos.c: Likewise.
60892 * math/w_acosf.c: Likewise.
60893 * math/w_acosl.c: Likewise.
60894 * math/w_acosh.c: Likewise.
60895 * math/w_acoshf.c: Likewise.
60896 * math/w_acoshl.c: Likewise.
60897 * math/w_asin.c: Likewise.
60898 * math/w_asinf.c: Likewise.
60899 * math/w_asinl.c: Likewise.
60900 * math/w_atan2.c: Likewise.
60901 * math/w_atan2f.c: Likewise.
60902 * math/w_atan2l.c: Likewise.
60903 * math/w_atanh.c: Likewise.
60904 * math/w_atanhf.c: Likewise.
60905 * math/w_atanhl.c: Likewise.
60906 * math/w_exp10.c: Likewise.
60907 * math/w_exp10f.c: Likewise.
60908 * math/w_exp10l.c: Likewise.
60909 * math/w_fmod.c: Likewise.
60910 * math/w_fmodf.c: Likewise.
60911 * math/w_fmodl.c: Likewise.
60912 * math/w_j0.c: Likewise.
60913 * math/w_j0f.c: Likewise.
60914 * math/w_j0l.c: Likewise.
60915 * math/w_j1.c: Likewise.
60916 * math/w_j1f.c: Likewise.
60917 * math/w_j1l.c: Likewise.
60918 * math/w_jn.c: Likewise.
60919 * math/w_jnf.c: Likewise.
60920 * math/w_log.c: Likewise.
60921 * math/w_logf.c: Likewise.
60922 * math/w_logl.c: Likewise.
60923 * math/w_log10.c: Likewise.
60924 * math/w_log10f.c: Likewise.
60925 * math/w_log10l.c: Likewise.
60926 * math/w_log2.c: Likewise.
60927 * math/w_log2f.c: Likewise.
60928 * math/w_log2l.c: Likewise.
60929 * math/w_pow.c: Likewise.
60930 * math/w_powf.c: Likewise.
60931 * math/w_powl.c: Likewise.
60932 * math/w_remainder.c: Likewise.
60933 * math/w_remainderf.c: Likewise.
60934 * math/w_remainderl.c: Likewise.
60935 * math/w_scalb.c: Likewise.
60936 * math/w_scalbf.c: Likewise.
60937 * math/w_scalbl.c: Likewise.
60938 * math/w_sqrt.c: Likewise.
60939 * math/w_sqrtf.c: Likewise.
60940 * math/w_sqrtl.c: Likewise.
60941 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
60942 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
60943 used.
60944 * math/math_private.h: Declare __kernel_standard_f.
60945 * math/w_cosh.c: Remove cruft and optimize a bit.
60946 * math/w_coshf.c: Likewise.
60947 * math/w_coshl.c: Likewise.
60948 * math/w_exp2.c: Likewise.
60949 * math/w_exp2f.c: Likewise.
60950 * math/w_exp2l.c: Likewise.
60951 * math/w_hypot.c: Likewise.
60952 * math/w_hypotf.c: Likewise.
60953 * math/w_hypotl.c: Likewise.
60954 * math/w_lgamma.c: Likewise.
60955 * math/w_lgamma_r.c: Likewise.
60956 * math/w_lgammaf.c: Likewise.
60957 * math/w_lgammaf_r.c: Likewise.
60958 * math/w_lgammal.c: Likewise.
60959 * math/w_lgammal_r.c: Likewise.
60960 * math/w_sinh.c: Likewise.
60961 * math/w_sinhf.c: Likewise.
60962 * math/w_sinhl.c: Likewise.
60963 * math/w_tgamma.c: Likewise.
60964 * math/w_tgammaf.c: Likewise.
60965 * math/w_tgammal.c: Likewise.
60966 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
60967 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60968 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
60969 Minor optimizations. Pretty printing. Remove cruft.
60970 * sysdeps/i386/fpu/e_acosf.S: Likewise.
60971 * sysdeps/i386/fpu/e_acosh.S: Likewise.
60972 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60973 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
60974 * sysdeps/i386/fpu/e_acosl.c: Likewise.
60975 * sysdeps/i386/fpu/e_asin.S: Likewise.
60976 * sysdeps/i386/fpu/e_asinf.S: Likewise.
60977 * sysdeps/i386/fpu/e_atan2.S: Likewise.
60978 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
60979 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
60980 * sysdeps/i386/fpu/e_atanh.S: Likewise.
60981 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60982 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60983 * sysdeps/i386/fpu/e_exp10.S: Likewise.
60984 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
60985 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
60986 * sysdeps/i386/fpu/e_exp2.S: Likewise.
60987 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
60988 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
60989 * sysdeps/i386/fpu/e_fmod.S: Likewise.
60990 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
60991 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
60992 * sysdeps/i386/fpu/e_hypot.S: Likewise.
60993 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
60994 * sysdeps/i386/fpu/e_log.S: Likewise.
60995 * sysdeps/i386/fpu/e_log10.S: Likewise.
60996 * sysdeps/i386/fpu/e_log10f.S: Likewise.
60997 * sysdeps/i386/fpu/e_log10l.S: Likewise.
60998 * sysdeps/i386/fpu/e_log2.S: Likewise.
60999 * sysdeps/i386/fpu/e_log2f.S: Likewise.
61000 * sysdeps/i386/fpu/e_log2l.S: Likewise.
61001 * sysdeps/i386/fpu/e_logf.S: Likewise.
61002 * sysdeps/i386/fpu/e_logl.S: Likewise.
61003 * sysdeps/i386/fpu/e_pow.S: Likewise.
61004 * sysdeps/i386/fpu/e_powf.S: Likewise.
61005 * sysdeps/i386/fpu/e_powl.S: Likewise.
61006 * sysdeps/i386/fpu/e_remainder.S: Likewise.
61007 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
61008 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
61009 * sysdeps/i386/fpu/e_scalb.S: Likewise.
61010 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
61011 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
61012 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
61013 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
61014 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
61015 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61016 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61017 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61018 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61019 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61020 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61021 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
61022 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61023 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61024 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61025 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61026 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
61027 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61028 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61029 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61030 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61031 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61032 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61033 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61034 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61035 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61036 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
61037 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
61038 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
61039 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
61040 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
61041 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
61042 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
61043 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
61044 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
61045 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
61046 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
61047 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61048 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
61049 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
61050 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
61051 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
61052 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
61053 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
61054 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
61055 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
61056 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
61057 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
61058 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
61059 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
61060 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
61061 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
61062 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
61063 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
61064 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
61065 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
61066 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
61067 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
61068 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61069 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
61070 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
61071 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
61072 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
61073 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
61074 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
61075 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
61076 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
61077 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
61078 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
61079 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
61080 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
61081 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
61082 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
61083 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
61084 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
61085 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
61086 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
61087 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
61088 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
61089 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
61090 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
61091 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
61092 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
61093 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
61094 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
61095 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
61096 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
61097 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
61098 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
61099 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
61100 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
61101 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61102 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
61103 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
61104 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
61105 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
61106 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61107 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61108 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
61109 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
61110 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
61111 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
61112 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
61113 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
61114 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
61115 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
61116 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
61117 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
61118 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
61119 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
61120 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
61121 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
61122 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61123 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
61124 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
61125 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
61126 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
61127 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
61128 (__isnanf): Likewise.
61129 (__isinf_ns): Likewise.
61130 (__isinf_nsf): Likewise.
61131 (__finite): Likewise.
61132 (__finitef): Likewise.
61133 (__ieee754_sqrt): Define as macro.
61134 (__ieee754_sqrtf): Define as macro.
61135 (__ieee754_sqrtl): Define as macro.
61136 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
61137 inlined copy.
61138 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
61139 __FINITE_MATH_ONLY__ consistent.
61140 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
61141
61142 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
61143
61144 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
61145 of rawmemchr.
61146
61147 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
61148
61149 2011-10-09 Ulrich Drepper <drepper@gmail.com>
61150
61151 * po/ja.po: Update from translation team.
61152
61153 2011-10-08 Roland McGrath <roland@hack.frob.com>
61154
61155 * locale/programs/locarchive.c (prepare_address_space): New function.
61156 (create_archive, enlarge_archive, open_archive): Use it.
61157
61158 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
61159 inside [SHARED], where it is used.
61160
61161 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
61162
61163 * nss/getent.c (netgroup_keys): Remove unused variable.
61164 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
61165
61166 2011-10-08 Ulrich Drepper <drepper@gmail.com>
61167
61168 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
61169 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
61170 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
61171 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
61172 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
61173 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
61174 * math/Makefile (libm-calls): Add s_isinf_ns.
61175 * math/divtc3.c: Use __isinf_nsl instead of isinf.
61176 * math/multc3.c: Likewise.
61177 * math/s_casin.c: Likewise.
61178 * math/s_casinf.c: Likewise.
61179 * math/s_casinl.c: Likewise.
61180 * math/s_ccos.c: Likewise.
61181 * math/s_ccosf.c: Likewise.
61182 * math/s_ccosl.c: Likewise.
61183 * math/s_ctan.c: Likewise.
61184 * math/s_ctanf.c: Likewise.
61185 * math/s_ctanh.c: Likewise.
61186 * math/s_ctanhf.c: Likewise.
61187 * math/s_ctanhl.c: Likewise.
61188 * math/s_ctanl.c: Likewise.
61189 * math/w_fmod.c: Likewise.
61190 * math/w_fmodf.c: Likewise.
61191 * math/w_fmodl.c: Likewise.
61192 * math/w_remainder.c: Likewise.
61193 * math/w_remainderf.c: Likewise.
61194 * math/w_remainderl.c: Likewise.
61195 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
61196 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
61197 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
61198 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
61199 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
61200 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
61201 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
61202 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
61203
61204 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
61205 of the number.
61206 * stdio-common/printf_fphex.c: Likewise.
61207 * stdio-common/printf_size.c: Likewise.
61208
61209 * math/e_exp10.c: Include math_private.h using <...> not "...".
61210 * math/e_exp10f.c: Likewise.
61211 * math/e_exp10l.c: Likewise.
61212 * math/e_exp2l.c: Likewise.
61213 * math/e_j0l.c: Likewise.
61214 * math/e_j1l.c: Likewise.
61215 * math/e_jnl.c: Likewise.
61216 * math/e_lgammal_r.c: Likewise.
61217 * math/e_rem_pio2l.c: Likewise.
61218 * math/e_scalb.c: Likewise.
61219 * math/e_scalbf.c: Likewise.
61220 * math/e_scalbl.c: Likewise.
61221 * math/k_cosl.c: Likewise.
61222 * math/k_sinl.c: Likewise.
61223 * math/k_tanl.c: Likewise.
61224 * math/s_cacoshf.c: Likewise.
61225 * math/s_catan.c: Likewise.
61226 * math/s_catanf.c: Likewise.
61227 * math/s_catanh.c: Likewise.
61228 * math/s_catanhf.c: Likewise.
61229 * math/s_catanhl.c: Likewise.
61230 * math/s_catanl.c: Likewise.
61231 * math/s_ccosh.c: Likewise.
61232 * math/s_ccoshf.c: Likewise.
61233 * math/s_ccoshl.c: Likewise.
61234 * math/s_cexp.c: Likewise.
61235 * math/s_cexpf.c: Likewise.
61236 * math/s_cexpl.c: Likewise.
61237 * math/s_clog.c: Likewise.
61238 * math/s_clog10.c: Likewise.
61239 * math/s_clog10f.c: Likewise.
61240 * math/s_clog10l.c: Likewise.
61241 * math/s_clogf.c: Likewise.
61242 * math/s_clogl.c: Likewise.
61243 * math/s_csin.c: Likewise.
61244 * math/s_csinf.c: Likewise.
61245 * math/s_csinh.c: Likewise.
61246 * math/s_csinhf.c: Likewise.
61247 * math/s_csinhl.c: Likewise.
61248 * math/s_csinl.c: Likewise.
61249 * math/s_csqrt.c: Likewise.
61250 * math/s_csqrtf.c: Likewise.
61251 * math/s_csqrtl.c: Likewise.
61252 * math/s_ctan.c: Likewise.
61253 * math/s_ctanf.c: Likewise.
61254 * math/s_ctanh.c: Likewise.
61255 * math/s_ctanhf.c: Likewise.
61256 * math/s_ctanhl.c: Likewise.
61257 * math/s_ctanl.c: Likewise.
61258 * math/s_ldexp.c: Likewise.
61259 * math/s_ldexpf.c: Likewise.
61260 * math/s_ldexpl.c: Likewise.
61261 * math/s_significand.c: Likewise.
61262 * math/s_significandf.c: Likewise.
61263 * math/s_significandl.c: Likewise.
61264 * math/w_acos.c: Likewise.
61265 * math/w_acosf.c: Likewise.
61266 * math/w_acosh.c: Likewise.
61267 * math/w_acoshf.c: Likewise.
61268 * math/w_acoshl.c: Likewise.
61269 * math/w_acosl.c: Likewise.
61270 * math/w_asin.c: Likewise.
61271 * math/w_asinf.c: Likewise.
61272 * math/w_asinl.c: Likewise.
61273 * math/w_atan2.c: Likewise.
61274 * math/w_atan2f.c: Likewise.
61275 * math/w_atan2l.c: Likewise.
61276 * math/w_atanh.c: Likewise.
61277 * math/w_atanhf.c: Likewise.
61278 * math/w_atanhl.c: Likewise.
61279 * math/w_cosh.c: Likewise.
61280 * math/w_coshf.c: Likewise.
61281 * math/w_coshl.c: Likewise.
61282 * math/w_dremf.c: Likewise.
61283 * math/w_exp10.c: Likewise.
61284 * math/w_exp10f.c: Likewise.
61285 * math/w_exp10l.c: Likewise.
61286 * math/w_exp2.c: Likewise.
61287 * math/w_exp2f.c: Likewise.
61288 * math/w_fmod.c: Likewise.
61289 * math/w_fmodf.c: Likewise.
61290 * math/w_fmodl.c: Likewise.
61291 * math/w_hypot.c: Likewise.
61292 * math/w_hypotf.c: Likewise.
61293 * math/w_hypotl.c: Likewise.
61294 * math/w_j0.c: Likewise.
61295 * math/w_j0f.c: Likewise.
61296 * math/w_j0l.c: Likewise.
61297 * math/w_j1.c: Likewise.
61298 * math/w_j1f.c: Likewise.
61299 * math/w_j1l.c: Likewise.
61300 * math/w_jn.c: Likewise.
61301 * math/w_jnf.c: Likewise.
61302 * math/w_jnl.c: Likewise.
61303 * math/w_lgamma.c: Likewise.
61304 * math/w_lgamma_r.c: Likewise.
61305 * math/w_lgammaf.c: Likewise.
61306 * math/w_lgammaf_r.c: Likewise.
61307 * math/w_lgammal.c: Likewise.
61308 * math/w_lgammal_r.c: Likewise.
61309 * math/w_log.c: Likewise.
61310 * math/w_log10.c: Likewise.
61311 * math/w_log10f.c: Likewise.
61312 * math/w_log10l.c: Likewise.
61313 * math/w_log2.c: Likewise.
61314 * math/w_log2f.c: Likewise.
61315 * math/w_log2l.c: Likewise.
61316 * math/w_logf.c: Likewise.
61317 * math/w_logl.c: Likewise.
61318 * math/w_pow.c: Likewise.
61319 * math/w_powf.c: Likewise.
61320 * math/w_powl.c: Likewise.
61321 * math/w_remainder.c: Likewise.
61322 * math/w_remainderf.c: Likewise.
61323 * math/w_remainderl.c: Likewise.
61324 * math/w_scalb.c: Likewise.
61325 * math/w_scalbf.c: Likewise.
61326 * math/w_scalbl.c: Likewise.
61327 * math/w_sinh.c: Likewise.
61328 * math/w_sinhf.c: Likewise.
61329 * math/w_sinhl.c: Likewise.
61330 * math/w_sqrt.c: Likewise.
61331 * math/w_sqrtf.c: Likewise.
61332 * math/w_sqrtl.c: Likewise.
61333 * math/w_tgamma.c: Likewise.
61334 * math/w_tgammaf.c: Likewise.
61335 * math/w_tgammal.c: Likewise.
61336
61337 * po/ja.po: Update from translation team.
61338
61339 2011-09-29 Andreas Jaeger <aj@suse.de>
61340
61341 [BZ #13179]
61342 * sunrpc/netname.c (netname2host): Fix logic.
61343
61344 [BZ #6779]
61345 [BZ #6783]
61346 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
61347 correctly.
61348 * math/w_remainder.c (__remainder): Likewise.
61349 * math/w_remainderf.c (__remainderf): Likewise.
61350 * math/libm-test.inc (remainder_test): Add test cases.
61351
61352 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61353
61354 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
61355 sdiv_qrnnd.
61356
61357 2011-10-07 Ulrich Drepper <drepper@gmail.com>
61358
61359 * string/test-memcmp.c: Avoid unncessary #defines.
61360 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
61361
61362 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61363
61364 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
61365 Use new sse2 version for core i3 - i7 as it's faster
61366 than sse42 version.
61367 (bit_Prefer_PMINUB_for_stringop): New.
61368 * sysdeps/x86_64/rawmemchr.S: Update.
61369 Replace with faster SSE2 version.
61370 * sysdeps/x86_64/memrchr.S: New file.
61371 * sysdeps/x86_64/memchr.S: Update.
61372 Replace with faster SSE2 version.
61373
61374 2011-09-12 Marek Polacek <mpolacek@redhat.com>
61375
61376 * elf/dl-load.c (lose): Add cast to avoid warning.
61377
61378 2011-10-07 Ulrich Drepper <drepper@gmail.com>
61379
61380 * po/ca.po: Update from translation team.
61381
61382 * inet/getnetgrent_r.c: Hook up nscd.
61383 * nscd/Makefile (routines): Add nscd_netgroup.
61384 (nscd-modules): Add netgroupcache.
61385 (CFLAGS-netgroupcache.c): Define.
61386 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
61387 (cache_search): Add const to second parameter.
61388 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
61389 INNETGR.
61390 (dbs): Add netgrdb entry.
61391 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
61392 (verify_persistent_db): Handle netgrdb.
61393 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
61394 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
61395 GETFDNETGR.
61396 (netgroup_response_header): Define.
61397 (innetgroup_response_header): Define.
61398 (datahead): Add netgroup_response_header and innetgroup_response_header
61399 elements.
61400 * nscd/nscd.conf: Add entries for netgroup cache.
61401 * nscd/nscd.h (dbtype): Add netgrdb.
61402 (_PATH_NSCD_NETGROUP_DB): Define.
61403 (netgroup_iov_disabled): Declare.
61404 (xmalloc, xcalloc, xrealloc): Move declarations here.
61405 (cache_search): Adjust prototype.
61406 Add netgroup-related prototypes.
61407 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
61408 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
61409 (__nscd_innetgr): Declare.
61410 * nscd/selinux.c (perms): Use access_vector_t as element type and
61411 add netgroup-related initializers.
61412 * nscd/netgroupcache.c: New file.
61413 * nscd/nscd_netgroup.c: New file.
61414 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
61415 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
61416 For four parameters use innetgr.
61417 * nss/nss_files/files-init.c: Add definition and callback for netgr.
61418 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
61419 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
61420 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
61421
61422 * nscd/connections.c (register_traced_file): Don't register file
61423 for disabled databases.
61424
61425 2011-10-06 Ulrich Drepper <drepper@gmail.com>
61426
61427 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
61428
61429 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
61430 from tree and freeing node.
61431
61432 2011-09-25 Jiri Olsa <jolsa@redhat.com>
61433
61434 * nss/nsswitch.c (__nss_database_lookup): Handle
61435 nss_parse_service_list out of memory case.
61436
61437 2011-09-15 Jiri Olsa <jolsa@redhat.com>
61438
61439 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
61440 out of memory case.
61441
61442 2011-10-04 Andreas Schwab <schwab@redhat.com>
61443
61444 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
61445 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
61446 pass it down.
61447 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
61448 elf_machine_rela, elf_machine_lazy_rel.
61449 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
61450 (ELF_DYNAMIC_DO_REL): Likewise.
61451 (ELF_DYNAMIC_DO_RELA): Likewise.
61452 (ELF_DYNAMIC_RELOCATE): Likewise.
61453 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
61454 to ELF_DYNAMIC_DO_REL.
61455 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
61456 (dl_main): In trace mode always set __RTLD_NOIFUNC.
61457 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
61458 elf_machine_rela.
61459 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
61460 skip_ifunc, don't call ifunc function if non-zero.
61461 (elf_machine_rela): Likewise.
61462 (elf_machine_lazy_rel): Likewise.
61463 (elf_machine_lazy_rela): Likewise.
61464 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
61465 (elf_machine_lazy_rel): Likewise.
61466 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
61467 Likewise.
61468 (elf_machine_lazy_rel): Likewise.
61469 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61470 Likewise.
61471 (elf_machine_lazy_rel): Likewise.
61472 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
61473 (elf_machine_lazy_rel): Likewise.
61474 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
61475 (elf_machine_lazy_rel): Likewise.
61476 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
61477 (elf_machine_lazy_rel): Likewise.
61478 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
61479 (elf_machine_lazy_rel): Likewise.
61480 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
61481 (elf_machine_lazy_rel): Likewise.
61482 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
61483 (elf_machine_lazy_rel): Likewise.
61484
61485 2011-09-28 Ulrich Drepper <drepper@gmail.com>
61486
61487 * nss/nss_files/files-init.c (_nss_files_init): Use static
61488 initialization for all the *_traced_file variables.
61489
61490 2011-09-28 Andreas Schwab <schwab@redhat.com>
61491
61492 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61493
61494 2011-09-27 Roland McGrath <roland@hack.frob.com>
61495
61496 [BZ #13226]
61497 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
61498
61499 2011-09-27 Andreas Schwab <schwab@redhat.com>
61500
61501 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
61502 Reread the line before reparsing it.
61503
61504 2011-09-26 Andreas Schwab <schwab@redhat.com>
61505
61506 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
61507
61508 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
61509 Maxim Kuvyrkov <maxim@codesourcery.com>
61510 Joseph Myers <joseph@codesourcery.com>
61511
61512 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
61513 if needed for __stack_chk_guard.
61514
61515 2011-09-19 Roland McGrath <roland@hack.frob.com>
61516
61517 * sysdeps/posix/spawni.c (script_execute): Always define it.
61518 It will be optimized away if unused.
61519 (maybe_script_execute): New function.
61520 (__spawni): Call it.
61521
61522 * Makerules: Don't include tls.make.
61523 (config-tls): Always set to thread.
61524 * tls.make.c: File removed.
61525
61526 2011-09-19 Mike Frysinger <vapier@gentoo.org>
61527
61528 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
61529 * config.make.in (CPPFLAGS-config): New substituted variable.
61530
61531 2011-09-15 Ulrich Drepper <drepper@gmail.com>
61532
61533 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
61534
61535 [BZ #13192]
61536 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
61537 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
61538
61539 2011-09-15 Roland McGrath <roland@hack.frob.com>
61540
61541 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
61542 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
61543 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61544 (CALL_FAIL): Likewise.
61545 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
61546 (CALL_FAIL): Macro removed.
61547 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
61548
61549 2011-09-15 Ulrich Drepper <drepper@gmail.com>
61550
61551 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
61552 for __FINITE_MATH_ONLY__ == 1.
61553
61554 2011-09-15 Andreas Schwab <schwab@redhat.com>
61555
61556 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
61557 __ieee754_sqrt instead of sqrt.
61558 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
61559 __ieee754_sqrtf instead of sqrtf.
61560 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
61561 __floorf instead of floorf.
61562 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
61563 __floorf, __truncf instead of floorf, truncf.
61564
61565 2011-09-14 Ulrich Drepper <drepper@gmail.com>
61566
61567 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
61568
61569 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
61570 __extern_always_inline.
61571 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
61572 32-bit.
61573
61574 2011-09-14 Andreas Schwab <schwab@redhat.com>
61575
61576 * elf/rtld.c (dl_main): Also relocate in dependency order when
61577 doing symbol dependency testing.
61578
61579 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
61580
61581 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61582 Always define `refsym'.
61583
61584 2011-09-13 Andreas Schwab <schwab@redhat.com>
61585
61586 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
61587 (__FD_ELT): Renamed from __FDELT.
61588 * misc/bits/select2.h (__FD_ELT): Likewise.
61589 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
61590 __FD_MASK instead of __FDELT, __FDMASK.
61591 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
61592 Likewise.
61593 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
61594 Likewise.
61595
61596 * elf/Makefile (gen-ldd): Fix pattern.
61597
61598 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
61599 (init_tls): Likewise.
61600
61601 2011-09-12 Ulrich Drepper <drepper@gmail.com>
61602
61603 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
61604
61605 2011-09-12 Andreas Schwab <schwab@redhat.com>
61606
61607 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
61608 `struct cmsghdr *' instead of `void *'.
61609 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
61610 Likewise.
61611
61612 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
61613
61614 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
61615 if non-absolute.
61616 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
61617 ldd_rewrite_script.
61618
61619 2011-09-11 Ulrich Drepper <drepper@gmail.com>
61620
61621 * configure.in: Remove --with-tls option.
61622 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
61623 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
61624 out in case it is missing.
61625 * sysdeps/ia64/elf/configure.in: Likewise.
61626 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
61627 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
61628 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
61629 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
61630 * sysdeps/sh/elf/configure.in: Likewise.
61631 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
61632 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
61633 * sysdeps/x86_64/elf/configure.in: Likewise.
61634 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
61635 * sysdeps/mach/hurd/tls.h: Likewise.
61636
61637 [BZ #13067]
61638 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
61639
61640 [BZ #13090]
61641 * configure.in: Fix use of AC_INIT.
61642
61643 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
61644
61645 2011-09-10 Ulrich Drepper <drepper@gmail.com>
61646
61647 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
61648 __set_errno.
61649 * malloc/hooks.c: Likewise.
61650
61651 [BZ #11929]
61652 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
61653 variables statically.
61654 (narenas): Initialize.
61655 (list_lock): Initialize.
61656 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
61657 initializtion of main_arena and list_lock. Small cleanups.
61658 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
61659 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
61660 Add initializers to main_arena and mp_.
61661 (malloc_state): Remove pagesize member. Change all users to use
61662 GLRO(dl_pagesize).
61663
61664 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
61665 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
61666 is always initialized.
61667
61668 * malloc/malloc.c: Removed unused configurations and dead code.
61669 * malloc/arena.c: Likewise.
61670 * malloc/hooks.c: Likewise.
61671 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
61672
61673 * include/tls.h: Removed. USE___THREAD must always be defined.
61674 * bits/libc-tsd.h: Don't handle !USE___THREAD.
61675 * elf/dl-libc.c: Likewise.
61676 * elf/dl-tsd.c: Likewise.
61677 * include/errno.h: Likewise.
61678 * include/netdb.h: Likewise.
61679 * include/resolv.h: Likewise.
61680 * inet/herrno-loc.c: Likewise.
61681 * inet/herrno.c: Likewise.
61682 * malloc/arena.c: Likewise.
61683 * malloc/hooks.c: Likewise.
61684 * malloc/malloc.c: Likewise.
61685 * resolv/res-state.c: Likewise.
61686 * resolv/res_libc.c: Likewise.
61687 * sysdeps/i386/dl-machine.h: Likewise.
61688 * sysdeps/ia64/dl-machine.h: Likewise.
61689 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
61690 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
61691 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
61692 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
61693 * sysdeps/sh/dl-machine.h: Likewise.
61694 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
61695 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
61696 * sysdeps/unix/i386/sysdep.S: Likewise.
61697 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
61698 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
61699 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
61700 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
61701 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
61702 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
61703 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
61704 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
61705 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61706 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
61707 * sysdeps/unix/x86_64/sysdep.S: Likewise.
61708 * sysdeps/x86_64/dl-machine.h: Likewise.
61709 * tls.make.c: Likewise.
61710
61711 * configure.in: Remove --with-__thread option. Make tests for
61712 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
61713 tls_model attribute fail if no support is available. Remove
61714 USE_IN_LIBIO.
61715 * Makeconfig: Adjust for dropped configure option. All features are
61716 now mandatory.
61717 * Makerules: Likewise.
61718 * Versions.def: Likewise.
61719 * argp/argp-fmtstream.c: Likewise.
61720 * argp/argp-fmtstream.h: Likewise.
61721 * argp/argp-help.c: Likewise.
61722 * assert/assert.c: Likewise.
61723 * config.h.in: Likewise.
61724 * config.make.in: Likewise.
61725 * configure: Likewise.
61726 * configure.in: Likewise.
61727 * csu/Versions: Likewise.
61728 * csu/init.c: Likewise.
61729 * elf/tst-audit2.c: Likewise.
61730 * elf/tst-tls10.c: Likewise.
61731 * elf/tst-tls10.h: Likewise.
61732 * elf/tst-tls11.c: Likewise.
61733 * elf/tst-tls12.c: Likewise.
61734 * elf/tst-tls14.c: Likewise.
61735 * elf/tst-tlsmod11.c: Likewise.
61736 * elf/tst-tlsmod12.c: Likewise.
61737 * elf/tst-tlsmod13.c: Likewise.
61738 * elf/tst-tlsmod13a.c: Likewise.
61739 * elf/tst-tlsmod14a.c: Likewise.
61740 * elf/tst-tlsmod15b.c: Likewise.
61741 * elf/tst-tlsmod16a.c: Likewise.
61742 * elf/tst-tlsmod16b.c: Likewise.
61743 * elf/tst-tlsmod7.c: Likewise.
61744 * elf/tst-tlsmod8.c: Likewise.
61745 * elf/tst-tlsmod9.c: Likewise.
61746 * gmon/gmon.c: Likewise.
61747 * grp/fgetgrent_r.c: Likewise.
61748 * grp/putgrent.c: Likewise.
61749 * hurd/fopenport.c: Likewise.
61750 * include/libc-symbols.h: Likewise.
61751 * include/tls.h: Likewise.
61752 * intl/gettextP.h: Likewise.
61753 * intl/loadinfo.h: Likewise.
61754 * locale/global-locale.c: Likewise.
61755 * locale/localeinfo.h: Likewise.
61756 * mach/devstream.c: Likewise.
61757 * malloc/arena.c: Likewise.
61758 * malloc/set-freeres.c: Likewise.
61759 * misc/err.c: Likewise.
61760 * misc/getttyent.c: Likewise.
61761 * misc/mntent_r.c: Likewise.
61762 * posix/getopt.c: Likewise.
61763 * posix/wordexp.c: Likewise.
61764 * pwd/fgetpwent_r.c: Likewise.
61765 * resolv/Versions: Likewise.
61766 * resolv/res_hconf.c: Likewise.
61767 * shadow/fgetspent_r.c: Likewise.
61768 * shadow/putspent.c: Likewise.
61769 * stdio-common/printf_fphex.c: Likewise.
61770 * stdio-common/tmpfile.c: Likewise.
61771 * stdlib/abort.c: Likewise.
61772 * stdlib/fmtmsg.c: Likewise.
61773 * sunrpc/auth_unix.c: Likewise.
61774 * sunrpc/clnt_perr.c: Likewise.
61775 * sunrpc/clnt_tcp.c: Likewise.
61776 * sunrpc/clnt_udp.c: Likewise.
61777 * sunrpc/clnt_unix.c: Likewise.
61778 * sunrpc/openchild.c: Likewise.
61779 * sunrpc/svc_simple.c: Likewise.
61780 * sunrpc/svc_tcp.c: Likewise.
61781 * sunrpc/svc_udp.c: Likewise.
61782 * sunrpc/svc_unix.c: Likewise.
61783 * sunrpc/xdr.c: Likewise.
61784 * sunrpc/xdr_array.c: Likewise.
61785 * sunrpc/xdr_rec.c: Likewise.
61786 * sunrpc/xdr_ref.c: Likewise.
61787 * sunrpc/xdr_stdio.c: Likewise.
61788
61789 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61790
61791 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61792
61793 2011-07-03 Andreas Jaeger <aj@suse.de>
61794
61795 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
61796 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
61797 regenerate with gen-libm-tests.pl.
61798
61799 2010-05-12 Petr Baudis <pasky@suse.cz>
61800
61801 [BZ #11589]
61802 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
61803 around j0() zero points by switching to j1().
61804 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61805 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61806 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61807 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61808
61809 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61810
61811 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
61812 instead of 0.
61813 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
61814 instead of 0.
61815 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61816 Patch in part by Pavel Roskin <proski@gnu.org>.
61817
61818 [BZ #13138]
61819 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
61820 realloc.
61821 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
61822 Free memory block if necessary.
61823
61824 [BZ #12847]
61825 * libio/genops.c (INTDEF): For string streams the _lock pointer can
61826 be NULL. Don't lock in this case.
61827
61828 2011-09-09 Roland McGrath <roland@hack.frob.com>
61829
61830 * elf/elf.h (ELFOSABI_GNU): New macro.
61831 (ELFOSABI_LINUX): Define to that.
61832
61833 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
61834
61835 * string/strncat.c (strncat): Undef the symbol in case it has been
61836 defined in bits/string.h.
61837
61838 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61839
61840 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
61841
61842 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
61843 link map.
61844
61845 2011-08-17 Andreas Jaeger <aj@suse.de>
61846
61847 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
61848
61849 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
61850 Ian Lance Taylor <iant@google.com>
61851
61852 * math/libm-test.inc (lround_test): New testcase.
61853 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
61854
61855 2011-09-08 Ulrich Drepper <drepper@gmail.com>
61856
61857 * Makefile: Remove support for automatic cvs check-ins.
61858 * Makerules: Likewise.
61859 * config.make.in: Likewise.
61860 * configure.in: Likewise.
61861 * intl/Makefile: Likewise.
61862 * locale/Makefile: Likewise.
61863 * po/Makefile: Likewise.
61864 * posix/Makefile: Likewise.
61865 * sysdeps/gnu/Makefile: Likewise.
61866 * sysdeps/mach/hurd/Makefile: Likewise.
61867 * sysdeps/sparc/sparc32/Makefile: Likewise.
61868
61869 [BZ #13118]
61870 * posix/Makefile (bug-regex32-ENV): Define.
61871 Patch by John Stanley <jpsinthemix@verizon.net>.
61872
61873 * misc/Makefile (headers): Add bits/select2.h.
61874 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
61875 * misc/bits/select2.h: New file.
61876 * include/bits/select2.h: New file.
61877 * debug/Makefile (routines): Add fdelt_chk.
61878 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
61879 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
61880 FD_ISSET.
61881 * debug/fdelt_chk.c: New file.
61882
61883 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
61884 * wcsmbs/test-wmemcmp.c: Likewise.
61885 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
61886 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
61887
61888 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61889
61890 * string/Makefile (strop-tests): Add memcmp.
61891 * string/test-wmemcmp.c: New file.
61892 * string/test-memcmp.c: Add wmemcmp support.
61893
61894 2011-09-08 Roland McGrath <roland@hack.frob.com>
61895
61896 [BZ #13153]
61897 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
61898 2011-07-19 change.
61899
61900 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
61901 garbage value in a __mach_port_mod_refs call in the cases of the
61902 task-self and thread-self ports.
61903
61904 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
61905
61906 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
61907
61908 2011-09-08 Andreas Schwab <schwab@redhat.com>
61909
61910 * elf/dl-load.c (lose): Check for non-null L.
61911
61912 2011-09-07 Ulrich Drepper <drepper@gmail.com>
61913
61914 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
61915
61916 * elf/dl-libc.c (dlerror_run): Pass back error code from
61917 dl_catch_error.
61918
61919 [BZ #13123]
61920 * elf/dl-load.c (lose): Free l_origin if it is valid.
61921
61922 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
61923 names.
61924 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
61925 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
61926 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
61927 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
61928 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
61929 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
61930
61931 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61932
61933 * sysdeps/powerpc/fpu/e_hypot.c: New file.
61934 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
61935 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
61936 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
61937 * sysdeps/powerpc/fpu/k_cosf.c: New file.
61938 * sysdeps/powerpc/fpu/k_sinf.c: New file.
61939 * sysdeps/powerpc/fpu/s_cosf.c: New file.
61940 * sysdeps/powerpc/fpu/s_sinf.c: New file.
61941 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
61942 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
61943
61944 2011-08-15 Alan Modra <amodra@gmail.com>
61945
61946 [BZ #13092]
61947 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
61948 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
61949 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
61950 ppc_mcount to static-only-routines.
61951 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
61952 __mcount_internal.
61953 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
61954 __mcount_internal with usual JUMPTARGET. Remove useless nop.
61955
61956 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
61957
61958 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
61959 for finite and infinity parameters.
61960
61961 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
61962
61963 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
61964 and add nop instructions for throughput optimization.
61965 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61966
61967 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
61968
61969 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
61970 aligned copy for power7 with vector-scalar instructions.
61971 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
61972
61973 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
61974
61975 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
61976 AVX check.
61977
61978 2011-09-07 Andreas Schwab <schwab@redhat.com>
61979
61980 [BZ #13144]
61981 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
61982 last change.
61983
61984 2011-09-07 Ulrich Drepper <drepper@gmail.com>
61985
61986 * sysdeps/unix/sysv/linux/x86_64/init-first.c
61987 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
61988 syscall wrapper around clock_gettime in __vdso_clock_gettime.
61989 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
61990 clock_gettime.
61991
61992 2011-09-06 Ulrich Drepper <drepper@gmail.com>
61993
61994 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
61995 Forgot to demangle the pointer.
61996
61997 * sysdeps/i386/sysdep.h: Define atom_text_section.
61998 * sysdeps/x86_64/sysdep.h: Likewise.
61999 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
62000 section with atom_text_section.
62001 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
62002 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
62003 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
62004 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
62005 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
62006
62007 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
62008 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
62009 already be defined. Change to take two parameters and don't assign
62010 result to variable. Adjust all users.
62011 Define INTERNAL_GETTIME if not already defined.
62012 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
62013 call.
62014 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
62015 HAVE_CLOCK_GETTIME_VSYSCALL.
62016 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
62017
62018 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
62019 gettimeofday vsyscall, just use time.
62020
62021 2011-09-06 Andreas Schwab <schwab@redhat.com>
62022
62023 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
62024 <errno.h>.
62025
62026 2011-09-06 Ulrich Drepper <drepper@gmail.com>
62027
62028 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
62029 syscall on x86-64.
62030 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
62031 syscall.
62032 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
62033 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
62034 syscall if possible.
62035
62036 2011-09-05 Ulrich Drepper <drepper@gmail.com>
62037
62038 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
62039 e_ident. Don't pass to find_mapsXX.
62040 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
62041
62042 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62043
62044 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62045 strchr-sse2-no-bsf strrchr-sse2-no-bsf
62046 * sysdeps/x86_64/multiarch/strchr.S: Update.
62047 Check bit_slow_BSF bit.
62048 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62049 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
62050 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
62051
62052 2011-09-05 Ulrich Drepper <drepper@gmail.com>
62053
62054 [BZ #13134]
62055 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
62056 before glibc 2.15.
62057 (tryshell): Define.
62058 (__spawni): Change last parameter to be flag. Test
62059 SPAWN_XFLAGS_USE_PATH flag to use path or not.
62060 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
62061 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
62062 * posix/spawni.c: Likewise.
62063 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
62064 * posix/spawnp.c: Likewise. Change normal version to use
62065 SPAWN_XFLAGS_USE_PATH.
62066 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
62067 SPAWN_XFLAGS_TRY_SHELL.
62068
62069 [BZ #13150]
62070 * posix/glob.h: Remove gcc 1.x support.
62071
62072 [BZ #13068]
62073 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
62074
62075 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62076
62077 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62078 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
62079 strrchr-sse2-bsf
62080 * sysdeps/i386/i686/multiarch/strchr.S: New file.
62081 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
62082 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
62083 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
62084 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
62085 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
62086
62087 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62088
62089 * sysdeps/x86_64/wcscmp.S: New file.
62090
62091 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
62092 wcscmp-c wcscmp-sse2
62093 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
62094 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
62095 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
62096 * wcsmbs/wcscmp.c: Allow renaming.
62097
62098 2011-09-05 David S. Miller <davem@davemloft.net>
62099
62100 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
62101 stack slot, rather than the struct return pointer slot.
62102 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
62103 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
62104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
62105 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
62106
62107 2011-09-05 Ulrich Drepper <drepper@gmail.com>
62108
62109 * po/ja.po: Update from translation team.
62110
62111 [BZ #13144]
62112 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
62113 kernel in 64-bit binaries.
62114
62115 2011-09-01 David S. Miller <davem@davemloft.net>
62116
62117 * elf/elf.h (HWCAP_SPARC_*): Move to..
62118 * sysdeps/sparc/sysdep.h: this new file and add new values.
62119 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
62120 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
62121 _DL_HWCAP_COUNT to 24.
62122 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
62123 entries.
62124 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
62125 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
62126 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
62127 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
62128 instead of magic constants.
62129 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62130
62131 2011-08-31 David S. Miller <davem@davemloft.net>
62132
62133 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
62134 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
62135 Reimplement to do errno handling inline.
62136 (SYSCALL_ERROR_HANDLER): New macro.
62137 (__SYSCALL_STRING): Do not do errno handling in asm.
62138 (__CLONE_SYSCALL_STRING): Delete.
62139 (__INTERNAL_SYSCALL_STRING): Delete.
62140 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
62141 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
62142 (PSEUDO): Reimplement to do errno handling inline.
62143 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
62144 (SYSCALL_ERROR_HANDLER): New macro.
62145 (__SYSCALL_STRING): Do not do errno handling in asm.
62146 (__CLONE_SYSCALL_STRING): Delete.
62147 (__INTERNAL_SYSCALL_STRING): Delete.
62148 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
62149 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
62150 i386.
62151 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
62152 (inline_syscall*): Add 'err' argument.
62153 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
62154 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
62155 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
62156 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
62157
62158 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
62159 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
62160
62161 2011-08-30 Andreas Schwab <schwab@redhat.com>
62162
62163 * elf/rtld.c (dl_main): Relocate objects in dependency order.
62164
62165 2011-08-29 Jiri Olsa <jolsa@redhat.com>
62166
62167 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
62168 directive.
62169
62170 2011-08-24 David S. Miller <davem@davemloft.net>
62171
62172 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
62173
62174 2011-08-24 Andreas Schwab <schwab@redhat.com>
62175
62176 * elf/Makefile: Add rules to build and run unload8 test.
62177 * elf/unload8.c: New file.
62178 * elf/unload8mod1.c: New file.
62179 * elf/unload8mod1x.c: New file.
62180 * elf/unload8mod2.c: New file.
62181 * elf/unload8mod3.c: New file.
62182
62183 * elf/dl-close.c (_dl_close_worker): Reset private search list if
62184 it wasn't used.
62185
62186 2011-08-23 David S. Miller <davem@davemloft.net>
62187
62188 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
62189 subtract stack bias.
62190 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
62191 %sp not %fp in calculations.
62192 (_JMPBUF_UNWINDS_ADJ): Likewise.
62193
62194 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
62195 (aio_suspend): Call it to force an exception region around the
62196 AIO_MISC_WAIT() invocation.
62197
62198 2011-08-23 Andreas Schwab <schwab@redhat.com>
62199
62200 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
62201 backslash.
62202
62203 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
62204
62205 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
62206 protection macro.
62207 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
62208 and <dl-machine.h>.
62209 (Elf64_FuncDesc): Remove.
62210
62211 2011-08-22 David S. Miller <davem@davemloft.net>
62212
62213 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
62214 sigaltstack check, add missing cfi directives.
62215 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
62216 missing cfi directives, and sigaltstack handling.
62217
62218 2011-08-16 Andreas Schwab <schwab@redhat.com>
62219
62220 [BZ #11724]
62221 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
62222 object is seen twice.
62223 * elf/dl-fini.c (_dl_sort_fini): Likewise.
62224
62225 * elf/Makefile (distribute): Add tst-initorder2.c.
62226 (tests): Add tst-initorder2.
62227 (modules-names): Add tst-initorder2a tst-initorder2b
62228 tst-initorder2c tst-initorder2d. Add rules to build them.
62229 ($(objpfx)tst-initorder2.out): New rule.
62230 * elf/tst-initorder2.c: New file.
62231 * elf/tst-initorder2.exp: New file.
62232
62233 2011-08-22 Andreas Schwab <schwab@redhat.com>
62234
62235 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
62236
62237 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
62238 dependencies back to end of function.
62239
62240 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62241 $(elfobjdir)/ld.so.
62242
62243 2011-08-21 Ulrich Drepper <drepper@gmail.com>
62244
62245 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
62246 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
62247 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
62248 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
62249 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
62250 of __vdso_gettimeofday.
62251 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
62252 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
62253 attribute_hidden.
62254 (_libc_vdso_platform_setup): Remove initialization of
62255 __vdso_gettimeofday and __vdso_time.
62256
62257 2011-08-20 Ulrich Drepper <drepper@gmail.com>
62258
62259 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
62260 and fgetc_unlocked.
62261 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
62262 getc_unlocked.
62263
62264 * elf/dl-open.c (add_to_global): Report additions to the global scope
62265 for LD_DEBUG=scopes.
62266 (dl_open_worker): Also print scope of newly loaded dependencies.
62267 (_dl_show_scope): Indicate if there is no scope.
62268
62269 [BZ #13114]
62270 * stdio-common/Makefile (tests): Add bug24.
62271 * stdio-common/bug24.c: New file.
62272
62273 2011-08-19 Andreas Jaeger <aj@suse.de>
62274
62275 [BZ #13114]
62276 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
62277 non-existant file when using close-on-exec mode.
62278
62279 2011-08-20 Ulrich Drepper <drepper@gmail.com>
62280
62281 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
62282 the very first instruction.
62283
62284 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
62285 the CFI state in the end.
62286 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
62287 inclusion of dl-trampoline.h.
62288 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
62289
62290 2011-08-19 Andreas Schwab <schwab@redhat.com>
62291
62292 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
62293 expectations for long double.
62294
62295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
62296 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
62297
62298 2011-08-14 David S. Miller <davem@davemloft.net>
62299
62300 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
62301 artificual limit depends upon the system page size.
62302
62303 2011-08-17 Ulrich Drepper <drepper@gmail.com>
62304
62305 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
62306 * resolv/Makefile: Define CFLAGS-libresolv.
62307
62308 2011-08-17 Andreas Schwab <schwab@redhat.com>
62309
62310 * nss/makedb.c (compute_tables): Make variables used in nested
62311 function static.
62312
62313 2011-08-17 Ulrich Drepper <drepper@gmail.com>
62314
62315 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
62316 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
62317 if buffer was too small.
62318
62319 * elf/pldd.c (main): Attach to all threads in the process.
62320 Rewrite /proc handling to use *at functions.
62321
62322 2011-08-16 Ulrich Drepper <drepper@gmail.com>
62323
62324 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
62325 specifies first scope to show.
62326 (dl_open_worker): Update callers. Move printing scope of new
62327 object to before the relocation.
62328 * elf/rtld.c (dl_main): Update _dl_show_scope call.
62329 * sysdeps/generic/ldsodefs.h: Update declaration.
62330
62331 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
62332 string for the scope number.
62333
62334 2011-08-14 Ulrich Drepper <drepper@gmail.com>
62335
62336 * nscd/servicescache.c (cache_addserv): Make sure written is always
62337 initialized.
62338
62339 2011-08-14 Roland McGrath <roland@hack.frob.com>
62340
62341 * sysdeps/i386/i486/bits/atomic.h
62342 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
62343 statement expression, so as to suppress "set but not used" warning.
62344 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
62345
62346 * string/strncat.c (STRNCAT): Use prototype definition.
62347
62348 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
62349 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
62350 -Iprograms here.
62351 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
62352 (localedef-modules): Add localedef.
62353 (locale-modules): Add locale.
62354
62355 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
62356 * elf/rtld.c (dl_main): Invert order of assignment in last change,
62357 to avoid a warning.
62358
62359 2011-08-14 David S. Miller <davem@davemloft.net>
62360
62361 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
62362 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
62363
62364 2011-08-13 Ulrich Drepper <drepper@gmail.com>
62365
62366 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
62367 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
62368 * elf/rtld.c (dl_main): Set l_name of vDSO.
62369 Call _dl_show_scope when DL_DEBUG_SCOPES.
62370 (process_dl_debug): Recognize scopes flag and also set it for all.
62371 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
62372 Declare _dl_show_scope.
62373
62374 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
62375 (do_dlopen): Pass caller_dlopen to dl_open.
62376 (__libc_dlopen_mode): Initialize caller_dlopen.
62377
62378 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
62379 of libc. Make tolower call locale-independent. Optimize a bit by
62380 using isdigit instead of isalnum.
62381 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
62382
62383 2011-08-12 Ulrich Drepper <drepper@gmail.com>
62384
62385 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
62386 was a dependency or dynamically loaded.
62387
62388 2011-08-11 Ulrich Drepper <drepper@gmail.com>
62389
62390 * intl/l10nflist.c: Allow architecture-specific pop function.
62391 * sysdeps/x86_64/l10nflist.c: New file.
62392
62393 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
62394 classification.
62395
62396 2011-08-10 Andreas Schwab <schwab@redhat.com>
62397
62398 * include/dirent.h: Add libc_hidden_proto for scandirat and
62399 scandirat64. Don't declare __scandirat64.
62400 * dirent/scandirat.c: Add libc_hidden_def.
62401 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
62402 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
62403
62404 2011-08-10 David S. Miller <davem@davemloft.net>
62405
62406 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
62407 enum.
62408 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
62409 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
62410 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
62411
62412 2011-08-09 Ulrich Drepper <drepper@gmail.com>
62413
62414 * Versions.def [libc]: Add GLIBC_2.15.
62415 * dirent/Makefile (routines): Add scandirat and scandirat64.
62416 * dirent/Versions [libc]: Export scandirat and scandirat64 for
62417 GLIBC_2.15.
62418 * dirent/dirent.h: Declare scandirat and scandirat64.
62419 * dirent/scandirat.c: New file.
62420 * dirent/scandirat64.c: New file.
62421 * sysdeps/wordsize-64/scandirat.c: New file.
62422 * sysdeps/wordsize-64/scandirat64.c: New file.
62423 * dirent/opendir.c: Define opendirat.
62424 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
62425 using scandirat.
62426 * dirent/scandir64.c: Adjust for scandir.c change.
62427 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
62428 __scandirat64, and __scandir_cancel_handler.
62429 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
62430 additional parameter and use openat instead of open (outside of ld.so).
62431 Add new __opendir as wrapper around __opendirat.
62432 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
62433 here without requiring old scandirat implementation.
62434
62435 2011-08-08 Ulrich Drepper <drepper@gmail.com>
62436
62437 * dirent/scandir.c (cancel_handler): Renamed to
62438 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
62439 defined. Adjust users.
62440 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
62441 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
62442
62443 2011-08-04 Ulrich Drepper <drepper@gmail.com>
62444
62445 * string/test-string.h (IMPL): Use __STRING to expand name and then
62446 stringify it.
62447
62448 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
62449 of cleanups.
62450
62451 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62452
62453 * string/Makefile: Update.
62454 (strop-tests): Append strncat.
62455 * string/test-wcscmp.c: New file.
62456 New comprehensive test for wcscmp.
62457 * string/test-strcmp.c: Update.
62458 (WIDE): New define.
62459
62460 2011-07-22 Andreas Schwab <schwab@redhat.com>
62461
62462 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
62463 line.
62464
62465 2011-07-26 Andreas Schwab <schwab@redhat.com>
62466
62467 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62468 encoding to ACE if AI_IDN.
62469
62470 2011-08-01 Jakub Jelinek <jakub@redhat.com>
62471
62472 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
62473 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
62474
62475 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62476
62477 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
62478 Fix overflow bug in strncat.
62479 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
62480
62481 * string/test-strncat.c: Update.
62482 Add new tests for checking overflow bugs.
62483
62484 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62485
62486 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62487 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
62488 * sysdeps/i386/i686/multiarch/strcat.S: New file.
62489 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
62490 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
62491 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
62492 * sysdeps/i386/i686/multiarch/strncat.S: New file.
62493 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
62494 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
62495
62496 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
62497 (USE_AS_STRCAT): Define.
62498 Add strcat and strncat support.
62499 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
62500
62501 2011-07-25 Andreas Schwab <schwab@redhat.com>
62502
62503 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
62504 __n bigger than INT_MAX+1.
62505 (__strncmp_g): Likewise.
62506
62507 2011-07-23 Ulrich Drepper <drepper@gmail.com>
62508
62509 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
62510 * libio/stido.h: Likewise.
62511
62512 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
62513 (AF_NFC): Define.
62514 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
62515 (AF_NFC): Define.
62516
62517 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
62518 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
62519 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
62520 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
62521 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
62522
62523 [BZ #13021]
62524 * scripts/test-installation.pl: Don't expect libnss_test1 to be
62525 installed.
62526
62527 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
62528 typo.
62529 (_dl_x86_64_save_sse): Likewise.
62530
62531 2011-07-22 Ulrich Drepper <drepper@gmail.com>
62532
62533 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
62534 OSXSAVE.
62535 (_dl_x86_64_save_sse): Likewise.
62536
62537 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
62538
62539 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
62540
62541 2011-07-21 Andreas Schwab <schwab@redhat.com>
62542
62543 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
62544 change.
62545 (_dl_x86_64_save_sse): Use correct AVX check.
62546
62547 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62548
62549 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
62550 bug in strncpy/strncat.
62551 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
62552
62553 2011-07-21 Ulrich Drepper <drepper@gmail.com>
62554
62555 * string/tester.c (test_strcat): Add tests for different alignments
62556 of source and destination.
62557 (test_strncat): Likewise.
62558
62559 2011-07-20 Ulrich Drepper <drepper@gmail.com>
62560
62561 [BZ #12852]
62562 * posix/glob.c (glob): Check passed in values before using them in
62563 expressions to avoid some overflows.
62564 (glob_in_dir): Likewise.
62565
62566 [BZ #13007]
62567 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
62568 check for AVX enablement so that we don't crash with old kernels and
62569 new hardware.
62570 * elf/tst-audit4.c: Add same checks here.
62571 * elf/tst-audit6.c: Likewise.
62572
62573 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
62574
62575 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
62576
62577 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
62578
62579 2011-07-20 Ulrich Drepper <drepper@gmail.com>
62580
62581 * po/cs.po: Update from translation team.
62582 * po/bg.po: Likewise.
62583
62584 2011-07-12 Marek Polacek <mpolacek@redhat.com>
62585
62586 * misc/sys/cdefs.h: Add support for const attribute.
62587 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
62588 to gnu_dev_{major,minor,makedev} functions.
62589
62590 2011-07-20 Marek Polacek <mpolacek@redhat.com>
62591
62592 * intl/dcigettext.c (get_output_charset): Add missing bracket.
62593
62594 2011-07-20 Andreas Schwab <schwab@redhat.com>
62595
62596 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
62597 strlen results.
62598
62599 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62600
62601 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
62602 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
62603 register in order to avoid conflicts with the soft frame pointer
62604 being held in r11 when necessary.
62605 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
62606 (INTERNAL_VSYSCALL_NCS): Likewise.
62607
62608 2011-07-14 Marek Polacek <mpolacek@redhat.com>
62609
62610 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
62611 * elf/dl-fini.c (_dl_fini): Adjust caller.
62612 * elf/dl-close.c (_dl_close_worker): Likewise.
62613 * sysdeps/generic/ldsodefs.h: Adjust declaration.
62614
62615 2011-07-15 Marek Polacek <mpolacek@redhat.com>
62616
62617 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
62618 "aux_cache->nlibs < 0".
62619
62620 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
62621 in the reload-count case.
62622
62623 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62624
62625 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62626 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
62627 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
62628 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
62629 * sysdeps/x86_64/multiarch/strcat.S: New file.
62630 * sysdeps/x86_64/multiarch/strncat.S: New file.
62631 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
62632 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
62633 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
62634 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
62635 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
62636 (USE_AS_STRCAT): Define.
62637 Add strcat and strncat support.
62638 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
62639 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
62640 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
62641 * string/strncat.c: Update.
62642 (USE_AS_STRNCAT): Define.
62643 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62644 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
62645 and i7.
62646 * sysdeps/x86_64/multiarch/init-arch.h
62647 (bit_Prefer_PMINUB_for_stringop): New.
62648 (index_Prefer_PMINUB_for_stringop): Likewise.
62649 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
62650 bit_Prefer_PMINUB_for_stringop.
62651
62652 2011-07-19 Ulrich Drepper <drepper@gmail.com>
62653
62654 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
62655 buffer64.
62656 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
62657 of casting of buffer.
62658 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
62659 buffer32 and buffer64.
62660 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
62661 writes instead of casting of buffer.
62662 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
62663 buffer32.
62664 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
62665 casting of buffer.
62666
62667 2011-07-19 Andreas Schwab <schwab@redhat.com>
62668
62669 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
62670
62671 2011-07-19 Ulrich Drepper <drepper@gmail.com>
62672
62673 * nscd/nscd.c (termination_handler): Don't do anything for a database
62674 if it has not yet been initialized.
62675
62676 2011-07-18 Ulrich Drepper <drepper@gmail.com>
62677
62678 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
62679
62680 2011-07-15 Marek Polacek <mpolacek@redhat.com>
62681
62682 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
62683
62684 2011-07-18 Ulrich Drepper <drepper@gmail.com>
62685
62686 * po/nl.po: Update from translation team.
62687 * po/sv.po: Likewise.
62688
62689 2011-07-16 Roland McGrath <roland@hack.frob.com>
62690
62691 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
62692 now disallowed by GCC.
62693
62694 * configure.in (use-default-link): Default to yes if a test -shared
62695 link meets our qualifications.
62696 * configure: Regenerated.
62697
62698 * config.make.in (output-format): New variable.
62699 * configure.in: Check for ld --print-output-format support.
62700 * configure: Regenerated.
62701 * Makerules ($(common-objpfx)format.lds)
62702 [$(output-format) != unknown]: Just use $(output-format),
62703 instead of the linker-script munging.
62704
62705 2011-07-14 Roland McGrath <roland@hack.frob.com>
62706
62707 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
62708 of $(common-objpfx)shlib.lds.
62709 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
62710
62711 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
62712 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
62713
62714 * configure.in (-z relro check): Adjust test code to add a large
62715 writable data section after it.
62716 * configure: Regenerated.
62717
62718 2011-07-11 Roland McGrath <roland@hack.frob.com>
62719
62720 * configure.in (-z relro check): Fix test code to make the variable
62721 truly const.
62722 * configure: Regenerated.
62723
62724 2011-07-11 Ulrich Drepper <drepper@gmail.com>
62725
62726 * nscd/nscd.h (struct traced_file): Define.
62727 (struct database_dyn): Remove inotify_descr, reset_res, and filename
62728 elements. Add traced_files.
62729 (inotify_fd): Declare.
62730 (register_traced_file): Declare.
62731 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
62732 (inotify_fd): Export.
62733 (resolv_conf_descr): Remove.
62734 (nscd_init): Move inotify descriptor creation to main.
62735 Don't register files for notification here.
62736 (register_traced_file): New function.
62737 (invalidate_cache): Don't use reset_res to determine whether to call
62738 res_init, go through the list of registered files.
62739 (main_loop_poll): The inotify descriptors are now stored in the
62740 structures for the traced files.
62741 (main_loop_epoll): Likewise
62742 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
62743 to __nss_disable_nscd.
62744 * nscd/cache.c (prune_cache): There is no single inotify descriptor
62745 for a database anymore. Check the records for all the registered
62746 files instead.
62747 * nss/Makefile (libnss_files-routines): Add files-init.
62748 (libnss_db-routines): Add db-init.
62749 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
62750 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
62751 * nss/nss_db/db-init.c: New file.
62752 * nss/nss_files/files-init.c: New file.
62753 * nss/nsswitch.c (nss_load_library): New function. Broken out of
62754 __nss_lookup_function.
62755 (__nss_lookup_function): Call nss_load_library.
62756 (nss_load_all_libraries): New function.
62757 (__nss_disable_nscd): Take parameter with callback function for files
62758 to register. Set is_nscd. Load all the DSOs for the NSS modules
62759 used for the cached services.
62760 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
62761 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
62762 options for features to all the files in nscd.
62763
62764 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
62765
62766 2011-07-10 Roland McGrath <roland@hack.frob.com>
62767
62768 * csu/elf-init.c (__libc_csu_init): Comment typo.
62769
62770 2011-07-09 Ulrich Drepper <drepper@gmail.com>
62771
62772 * po/pl.po: Update from translation team.
62773 * po/ja.po: Likewise.
62774 * po/ru.po: Likewise.
62775 * po/ko.po: Likewise.
62776 * po/fr.po: Likewise.
62777
62778 2011-07-09 Roland McGrath <roland@hack.frob.com>
62779
62780 * configure.in (.ctors/.dtors header and trailer check):
62781 Use an empirical test on a built program.
62782 * configure: Regenerated.
62783
62784 * configure.in (-z relro check): Use an empirical test on a built DSO.
62785 Detect, but do not require, on ia64.
62786 * configure: Regenerated.
62787
62788 * configure.in (READELF): Find it with AC_CHECK_TOOL.
62789 Update tests that use readelf to use $READELF instead.
62790 * configure: Regenerated.
62791
62792 2011-07-08 Ulrich Drepper <drepper@gmail.com>
62793
62794 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
62795 if the result is not used.
62796
62797 2011-07-05 Andreas Jaeger <aj@suse.de>
62798
62799 [BZ#9696]
62800 * stdlib/tst-strtod.c: Add testcase.
62801
62802 2011-07-07 Ulrich Drepper <drepper@gmail.com>
62803
62804 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
62805 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
62806 The latter has a higher limit. Take additional parameter to pass to
62807 the new function.
62808 (__pathconf): Pass file to __statfs_link_max.
62809 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
62810 __statfs_link_max.
62811 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
62812 __statfs_link_max.
62813
62814 [BZ #12868]
62815 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
62816 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62817 Handle Lustre.
62818 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
62819 (__statfs_filesize_max): Likewise.
62820 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
62821
62822 2011-07-05 Andreas Jaeger <aj@suse.de>
62823
62824 * resolv/res_comp.c (dn_skipname): Remove unused variable.
62825
62826 2011-07-06 Marek Polacek <mpolacek@redhat.com>
62827
62828 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
62829 `status' variable.
62830 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
62831 Likewise.
62832
62833 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
62834
62835 * Makefile (strop-tests): Add strncat.
62836 * string/test-strncat.c: New file.
62837
62838 2011-06-30 Marek Polacek <mpolacek@redhat.com>
62839
62840 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
62841
62842 2011-06-21 Andreas Jaeger <aj@suse.de>
62843
62844 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
62845 Copy rule from iconvdata/Makefile.
62846
62847 2011-07-06 Ulrich Drepper <drepper@gmail.com>
62848
62849 [BZ #12922]
62850 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
62851 but no long options are defined, just return 'W'.
62852
62853 2011-06-22 Marek Polacek <mpolacek@redhat.com>
62854
62855 [BZ #9696]
62856 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
62857
62858 2011-07-06 Ulrich Drepper <drepper@gmail.com>
62859
62860 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
62861 netgroups to read.
62862 (innetgr): Likewise.
62863
62864 2011-07-05 Roland McGrath <roland@hack.frob.com>
62865
62866 * config.make.in (install_root): Default to $(DESTDIR).
62867
62868 2011-07-05 Ulrich Drepper <drepper@gmail.com>
62869
62870 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
62871
62872 2011-07-02 Roland McGrath <roland@hack.frob.com>
62873
62874 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
62875
62876 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
62877 containing directory rather than embedding absolute directory names.
62878
62879 * scripts/check-local-headers.sh: Rewritten using awk.
62880 Match by word, not by line. Print error messages for matches.
62881 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
62882
62883 * Makerules [shlib-lds-flags empty]:
62884 ($(common-objpfx)libc_pic.opts): New target.
62885 ($(common-objpfx)libc_pic.os.clean): New target.
62886 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
62887
62888 * config.make.in (OBJCOPY): New variable.
62889 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
62890 * configure: Regenerated.
62891
62892 * config.make.in (use-default-link): New variable.
62893 * configure.in (use_default_link): Grok --with-default-link to set it.
62894 * configure: Regenerated.
62895 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
62896 (shlib-lds, shlib-lds-flags): Define to empty.
62897
62898 * Makerules (shlib-lds): New variable.
62899 (shlib-lds-flags): New variable.
62900 (build-shlib, build-moduile, build-module-asneeded): Use it.
62901 ($(common-objpfx)libc.so): Use $(shlib-lds).
62902 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
62903 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
62904
62905 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
62906 DT_FLAGS/DT_FLAGS_1 with zero flags.
62907
62908 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
62909 linker script munging.
62910
62911 2011-07-02 Ulrich Drepper <drepper@gmail.com>
62912
62913 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
62914 as 128-bit value.
62915 * crypt/sha512.c (sha512_process_block): Perform total addition using
62916 128-bit if possible.
62917 (__sha512_finish_ctx): Likewise.
62918 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
62919 as 64-bit value.
62920 * crypt/sha256.c (SWAP64): Define.
62921 (sha256_process_block): Perform total addition using 64-bit if
62922 possible.
62923 (__sha256_finish_ctx): Likewise.
62924
62925 2011-07-01 Ulrich Drepper <drepper@gmail.com>
62926
62927 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
62928 * nscd/initgrcache.c (addinitgroupsX): Likewise.
62929 * nscd/hstcache.c (cache_addhst): Likewise.
62930 * nscd/grpcache.c (cache_addgr): Likewise.
62931 * nscd/aicache.c (addhstaiX): Likewise
62932 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
62933
62934 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
62935
62936 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
62937 * nscd/initgrcache.c (addinitgroupsX): Likewise.
62938 * nscd/hstcache.c (cache_addhst): Likewise.
62939 * nscd/grpcache.c (cache_addgr): Likewise.
62940 * nscd/aicache.c (addhstaiX): Likewise
62941
62942 2011-07-01 Andreas Schwab <schwab@redhat.com>
62943
62944 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
62945 domain only when needed.
62946
62947 2011-06-30 Andreas Schwab <schwab@redhat.com>
62948
62949 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
62950 is always restored.
62951
62952 2011-06-29 Ulrich Drepper <drepper@gmail.com>
62953
62954 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
62955 are re-adding the entry.
62956 * nscd/servicescache.c (cache_addserv): Likewise.
62957
62958 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
62959
62960 * sysdeps/generic/dl-irel.h: fix protection against multiple
62961 inclusions.
62962 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
62963
62964 2011-06-28 Ulrich Drepper <drepper@gmail.com>
62965
62966 [BZ #12935]
62967 * malloc/memusage.sh: Fix quoting in message.
62968 * debug/xtrace.sh: Likewise.
62969
62970 * configure.in: Remove support for --experimental-malloc option, make
62971 it the default.
62972 * config.make.in: Likewise.
62973 * malloc/Makefile: Likewise.
62974
62975 2011-06-27 Andreas Schwab <schwab@redhat.com>
62976
62977 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
62978 two-byte characters.
62979
62980 2011-06-27 Roland McGrath <roland@hack.frob.com>
62981
62982 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
62983 AC_CACHE_CHECK invocation.
62984 * configure: Regenerated.
62985
62986 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
62987
62988 2011-06-27 Ulrich Drepper <drepper@gmail.com>
62989
62990 [BZ #12350]
62991 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
62992 bit from old_res_options.
62993
62994 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
62995
62996 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
62997 value type for setfct.
62998
62999 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
63000
63001 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
63002 __gettimeofday instead of gettimeofday.
63003
63004 2011-06-26 Ulrich Drepper <drepper@gmail.com>
63005
63006 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
63007
63008 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
63009
63010 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
63011
63012 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
63013 info.
63014
63015 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
63016
63017 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63018 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
63019 strcpy-sse2-unaligned strncpy-sse2-unaligned
63020 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
63021 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
63022 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
63023 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
63024 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
63025 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
63026 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
63027 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
63028 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
63029 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
63030 (STRCPY): Support SSE2 and SSSE3 versions.
63031
63032 2011-06-24 Ulrich Drepper <drepper@gmail.com>
63033
63034 [BZ #12874]
63035 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
63036 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
63037 kernels which artificially limit size of requests.
63038
63039 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
63040
63041 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63042 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
63043 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
63044 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
63045 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
63046 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
63047 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
63048 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
63049 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
63050 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
63051 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
63052 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
63053 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
63054 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
63055 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
63056 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63057 Enable unaligned load optimization for Intel Core i3, i5 and i7
63058 processors.
63059 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
63060 Define.
63061 (index_Fast_Unaligned_Load): Define.
63062 (HAS_FAST_UNALIGNED_LOAD): Define.
63063
63064 2011-06-23 Marek Polacek <mpolacek@redhat.com>
63065
63066 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
63067
63068 2011-06-22 Ulrich Drepper <drepper@gmail.com>
63069
63070 [BZ #12907]
63071 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
63072 until it is clear that the information is realy needed.
63073 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
63074
63075 2011-06-22 Andreas Schwab <schwab@redhat.com>
63076
63077 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
63078
63079 2011-06-22 Ulrich Drepper <drepper@gmail.com>
63080
63081 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
63082 /sys/devices/system/cpu/online if it is usable.
63083
63084 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
63085 reading the information from the /proc filesystem to once a second.
63086
63087 2011-06-21 Andreas Jaeger <aj@suse.de>
63088
63089 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
63090 NULL after inclusion of kernel headers.
63091
63092 2011-06-21 Ulrich Drepper <drepper@gmail.com>
63093
63094 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
63095 calls to internal_setent.
63096
63097 [BZ #12885]
63098 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
63099 addresses using gethostbyname4_r ignore IPv4 addresses.
63100
63101 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
63102 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
63103
63104 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
63105
63106 2011-06-20 David S. Miller <davem@davemloft.net>
63107
63108 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
63109 inclusions.
63110 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
63111
63112 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
63113 (elf_irel): Use it.
63114 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
63115 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
63116 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
63117 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
63118 * sysdeps/x86_64/dl-irel.h: Likewise.
63119
63120 * elf/dl-runtime.c: Use elf_ifunc_invoke.
63121 * elf/dl-sym.c: Likewise.
63122
63123 2011-06-15 Ulrich Drepper <drepper@gmail.com>
63124
63125 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
63126 need to dereference resplen2.
63127
63128 2011-06-14 Andreas Schwab <schwab@redhat.com>
63129
63130 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
63131
63132 2011-06-15 Ulrich Drepper <drepper@gmail.com>
63133
63134 * Makeconfig: Define vardbdir and inst_vardbdir.
63135 * nss/Makefile: Add rules to install db-Makefile.
63136
63137 * nss/nss_db/db-XXX.c: Cleanup.
63138
63139 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
63140 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
63141 GLIBC_PRIVATE.
63142 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
63143 * nss/makedb.c: Implement -g option to specify that value strings
63144 are generated and should not be added to table iterated over for
63145 get*ent calls.
63146 * nss/nss_db/db-initgroups.c: New file.
63147
63148 * nss/getent.c: Add support for initgroups lookups through getgrouplist
63149 interface.
63150
63151 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
63152 (internal_getgrouplist): Adjust to name change.
63153 Update use_initgroups_entry if this is not the first call.
63154 * nss/databases.def: Add initgroups entry.
63155
63156 * nss/makedb.c (compute_tables): Check result of multiple hash table
63157 sizes to minimize maximum chain length.
63158
63159 2011-06-14 Ulrich Drepper <drepper@gmail.com>
63160
63161 * Versions.def: Add entry for libnss_db.
63162 * shlib-versions: Likewise.
63163 * nss/Makefile: Add rules to build libnss_db.
63164 * nss/Versions: Add libnss_db information. Organize libnss_files
63165 entries better.
63166 * nss/db-Makefile: Add gshadow support. Change rules for the new
63167 makedb progra. Some minor improvements to generate smaller files.
63168 * nss/nss_db/nss_db.h: Move NSS database header data structures to
63169 here from...
63170 * nss/makedb.c: ...here.
63171 Improve database format to be smaller and require less memory at
63172 runtime.
63173 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
63174 db anymore.
63175 * nss/nss_db/db-netgrp.c: Likewise.
63176 * nss/nss_db/db-open.c: Likewise.
63177 * nss/nss_files/flies-XXX.x: Adjust comments.
63178 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
63179 * nss/nss_files/files-grp.c: Likewise.
63180 * nss/nss_files/files-hosts.c: Likewise.
63181 * nss/nss_files/files-network.c: Likewise.
63182 * nss/nss_files/files-proto.c: Likewise.
63183 * nss/nss_files/files-pwd.c: Likewise.
63184 * nss/nss_files/files-rpc.c: Likewise.
63185 * nss/nss_files/files-service.c: Likewise.
63186 * nss/nss_files/files-sgrp.c: Likewise.
63187 * nss/nss_files/files-spwd.c: Likewise.
63188 * nss/nss_db/db-alias.c: Removed.
63189 * nss/nss_db/dummy-db.h: Removed.
63190
63191 2011-06-02 Ulrich Drepper <drepper@gmail.com>
63192
63193 * nss/makedb.c: Rewritten to not use database library.
63194 * nss/Makefile: Update to build new makedb program.
63195
63196 2011-06-14 Andreas Jaeger <aj@suse.de>
63197
63198 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
63199 memset declaration.
63200
63201 2011-06-10 Andreas Schwab <schwab@redhat.com>
63202
63203 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
63204 tmpbuf.
63205
63206 2011-06-10 Roland McGrath <roland@hack.frob.com>
63207
63208 * Makerules (shlib.lds): Fail if the linker script comes out empty.
63209 * elf/Makefile ($(objpfx)ld.so): Likewise.
63210
63211 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
63212 Don't list ld.so twice in dependencies.
63213
63214 * posix/bug-regex31.c: Include <stdlib.h>.
63215
63216 * nscd/hstcache.c (cache_addhst): Remove unused variable.
63217
63218 * nis/nss_compat/compat-spwd.c
63219 (getspent_next_nss_netgr): Remove unused variable.
63220 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
63221
63222 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
63223 nonmembers" output to use the right array.
63224
63225 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
63226
63227 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
63228
63229 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
63230 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
63231 * catgets/gencat.c (read_input_file): Likewise.
63232 * locale/programs/locarchive.c (enlarge_archive): Likewise.
63233
63234 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
63235 variable definition inside #if's controlling its use.
63236
63237 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
63238
63239 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
63240
63241 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
63242
63243 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
63244 unreachable code.
63245
63246 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
63247
63248 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
63249 * configure: Regenerated.
63250
63251 * Makerules: Revert last change.
63252 * elf/Makefile: Likewise.
63253
63254 2011-06-09 Roland McGrath <roland@hack.frob.com>
63255
63256 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
63257 * elf/Makefile ($(objpfx)librtld.os): Likewise.
63258 (reloc-link): Likewise.
63259
63260 2011-06-09 Ulrich Drepper <drepper@gmail.com>
63261
63262 * elf/Makefile: Add rules to build pldd.
63263 * elf/pldd.c: New file.
63264 * elf/pldd-xx.c: New file.
63265
63266 2011-06-07 Ulrich Drepper <drepper@gmail.com>
63267
63268 * version.h: Update for 2.15 development version.
63269
63270 2011-06-07 David S. Miller <davem@davemloft.net>
63271
63272 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
63273 ifuncs.
63274 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
63275 elf_machine_lazy_rel): Likewise.
63276 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
63277 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
63278 elf_machine_lazy_rel): Likewise.
63279 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
63280 dl_hwcap via passed in argument.
63281 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
63282 Likewise.
63283
63284 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63285
63286 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
63287
63288 2011-06-06 Roland McGrath <roland@hack.frob.com>
63289
63290 [BZ #12849]
63291 * manual/fdl-1.1.texi: New file, verbatim from:
63292 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
63293 * manual/lgpl-2.1.texi: New file, verbatim from:
63294 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
63295 * manual/Makefile (licenses): New variable, list those new file names.
63296 (texis): Use it.
63297 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
63298
63299 * manual/fdl.texi: File removed.
63300 * manual/lesser.texi: File removed.
63301 * manual/libc.texinfo (Copying, Documentation License):
63302 Use new @include file names, put @appendix directive before @include.
63303
63304 2011-06-04 Jakub Jelinek <jakub@redhat.com>
63305
63306 [BZ #12841]
63307 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
63308 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
63309 (mq_open): Add __NTH.
63310
63311 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
63312
63313 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63314 Assume Intel Core i3/i5/i7 processor if AVX is available.
63315
63316 2011-05-31 Ulrich Drepper <drepper@gmail.com>
63317
63318 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
63319 typo.
63320
63321 2011-05-31 Andreas Schwab <schwab@redhat.com>
63322
63323 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
63324 memory. Use alloca_account. Fix memory leak when retrying.
63325
63326 2011-05-31 Ulrich Drepper <drepper@gmail.com>
63327
63328 * version.h (RELEASE): Bump for 2.14 release.
63329 * include/features.h (__GLIBC_MINOR__): Bump to 14.
63330
63331 * config.make.in (RANLIB): Remove entry.
63332
63333 2011-05-30 Ulrich Drepper <drepper@gmail.com>
63334
63335 * po/Makefile (po-sed-cmd): Add ksh to extensions.
63336 (libc.pot): Work around missing support for .ksh extension in xgettext.
63337
63338 [BZ #12684]
63339 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
63340 if both request failed.
63341 (send_dg): In case of server errors clear resplen or *resplen2.
63342
63343 [BZ #12454]
63344 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
63345 when there are multiple maps.
63346 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
63347 (_dl_fini): Remove test here.
63348
63349 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
63350
63351 2011-05-29 Ulrich Drepper <drepper@gmail.com>
63352
63353 [BZ #12350]
63354 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
63355 bit from old_res_options.
63356 (gaih_inet): Likewise.
63357
63358 [BZ #11099]
63359 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
63360 as signed.
63361
63362 * resolv/res_init.c (res_setoptions): Make the code more compact.
63363
63364 [BZ #11558]
63365 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
63366 set RES_USEVC.
63367
63368 [BZ #11634]
63369 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
63370
63371 * malloc/malloc.h: Mark malloc hook variables as deprecated.
63372
63373 [BZ #11781]
63374 * malloc/malloc.h: Declare malloc hook variables as volatile.
63375
63376 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
63377 in last patch.
63378
63379 [BZ #11799]
63380 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
63381 raise in the comment.
63382 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
63383 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
63384 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
63385
63386 2011-05-28 Ulrich Drepper <drepper@gmail.com>
63387
63388 [BZ #12811]
63389 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
63390 grow the buffers more if it already has to be sufficient.
63391 (build_wcs_upper_buffer): Likewise.
63392 * posix/regexec.c (check_matching): Likewise.
63393 (clean_state_log_if_needed): Likewise.
63394 (extend_buffers): Don't enlarge buffers beyond size of the input
63395 buffer.
63396 Patches mostly by Emil Wojak <emil@wojak.eu>.
63397 * posix/bug-regex32.c: New file.
63398 * posix/Makefile (tests): Add bug-regex32.
63399
63400 * locale/findlocale.c (_nl_find_locale): Return right away if
63401 _nl_explode_name failed.
63402 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
63403
63404 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
63405
63406 * debug/xtrace.sh: Unify messages.
63407 * malloc/memusage.sh: Likewise.
63408
63409 [BZ #12813]
63410 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
63411 time symbol from vDSO. Substitute with vsyscall if not available.
63412 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
63413 __vdso_time.
63414
63415 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
63416 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
63417 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
63418 Add sendmmsg and internal_sendmmsg.
63419 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
63420 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
63421 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
63422
63423 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
63424 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
63425 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
63426
63427 2011-05-27 Ulrich Drepper <drepper@gmail.com>
63428
63429 [BZ #12813]
63430 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
63431 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
63432 available.
63433 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
63434 __vdso_getcpu.
63435
63436 [BZ #12814]
63437 * iconvdata/Makefile (tests): Add bug-iconv9.
63438 * iconvdata/bug-iconv9.c: New file.
63439
63440 2011-05-27 Andreas Schwab <schwab@redhat.com>
63441
63442 [BZ #12814]
63443 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
63444
63445 2011-05-25 Jakub Jelinek <jakub@redhat.com>
63446
63447 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
63448 (struct user_regs_struct): Change intcs field back to cs.
63449
63450 2011-05-25 Ulrich Drepper <drepper@gmail.com>
63451
63452 * po/ja.po: Update from translation team.
63453
63454 2011-05-23 Ulrich Drepper <drepper@gmail.com>
63455
63456 [BZ #12795]
63457 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
63458 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
63459
63460 2011-05-20 Andreas Schwab <schwab@redhat.com>
63461
63462 * stdlib/longlong.h: Update from GCC.
63463
63464 2011-05-23 Andreas Schwab <schwab@redhat.com>
63465
63466 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
63467 parameter name.
63468 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
63469 Add parameter name.
63470 (__sysconf): Pass it down.
63471
63472 2011-05-22 Ulrich Drepper <drepper@gmail.com>
63473
63474 [BZ #12671]
63475 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
63476 some situations.
63477 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
63478 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
63479 add in in __libc_use_alloca calls. Adjust callers.
63480 (glob): Use malloc in some situations.
63481
63482 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
63483 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
63484 pltexit.
63485
63486 2011-05-21 Ulrich Drepper <drepper@gmail.com>
63487
63488 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
63489 and CLOCK_BOOTTIME_ALARM.
63490
63491 [BZ #12782]
63492 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
63493 is returned.
63494
63495 * string/_strerror.c (__strerror_r): Print negative errors as signed
63496 numbers.
63497
63498 [BZ #12777]
63499 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
63500 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
63501 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
63502
63503 * configure.in: Fix typo in redirection and correct removal of test
63504 files in two cases.
63505
63506 [BZ #12788]
63507 * locale/setlocale.c (new_composite_name): Fix test to check for
63508 identical name of all categories.
63509
63510 [BZ #12792]
63511 * libio/filedoalloc.c (local_isatty): New function.
63512 (_IO_file_doallocate): Use local_isatty.
63513 * stdio-common/perror.c (perror): In case a new stream is used
63514 forward the stream error.
63515 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
63516 error flag.
63517
63518 2011-05-20 Ulrich Drepper <drepper@gmail.com>
63519
63520 [BZ #11869]
63521 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
63522 alloca.
63523 * include/alloca.h (extend_alloca_account): Define.
63524
63525 [BZ #11857]
63526 * posix/regex.h: Fix comments with documentation of user-accessible
63527 fields after compilation and describe correct free'ing of pattern
63528 after re_compile_pattern.
63529 Patch by Reuben Thomas <rrt@sc3d.org>.
63530
63531 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
63532
63533 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
63534 and -mno-altivec to prevent the compiler from using Altivec and/or
63535 VSX instructions when the corresponding registers are not available.
63536
63537 2011-05-19 Andreas Schwab <schwab@redhat.com>
63538
63539 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
63540
63541 2011-05-19 Ulrich Drepper <drepper@gmail.com>
63542
63543 * libio/freopen.c (freopen): Use __dup2, not dup2.
63544 * libio/freopen64.c (freopen64): Likewise.
63545
63546 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
63547
63548 [BZ #12775]
63549 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
63550 * math/Makefile (tests): Add test-powl.
63551 (CFLAGS-test-powl.c): Define.
63552 * math/test-powl.c: New file.
63553
63554 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
63555
63556 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
63557
63558 2011-05-17 Ulrich Drepper <drepper@gmail.com>
63559
63560 [BZ #11837]
63561 * iconvdata/gb18030.c: Update to GB18020-2005.
63562
63563 2011-05-16 Ulrich Drepper <drepper@gmail.com>
63564
63565 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
63566 RE_SYNTAX_POSIX_AWK): Update to match recent development.
63567 Patch by Aharon Robbins <arnold@skeeve.com>.
63568
63569 [BZ #11892]
63570 * stdlib/putenv.c (putenv): Don't always create copy of the variable
63571 on the stack.
63572
63573 [BZ #11895]
63574 * misc/pselect.c (__pselect): Handle timeout value errors hidden
63575 through underflows.
63576
63577 [BZ #12766]
63578 * misc/error.c (error_at_line): Ensure file_name and old_file_name
63579 point to strings before performing equality test for error_one_per_line
63580 mode.
63581
63582 [BZ #11697]
63583 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
63584
63585 [BZ #11820]
63586 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
63587 (struct user_fpregs_struct): Avoid __uint*_t types.
63588
63589 [BZ #6420]
63590 * malloc/mtrace.c (tr_where): Add additional parameter to point to
63591 symbol info. Use it instead of calling _dl_addr locally.
63592 (lock_and_info): New function.
63593 (tr_freehook): Call lock_and_info and pass symbol info as additional
63594 parameter to tr_where.
63595 (tr_mallochook): Likewise.
63596 (tr_reallochook): Likewise.
63597 (tr_memalignhook): Likewise.
63598
63599 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
63600 used and couldn't be at all thread-safe.
63601
63602 2011-05-15 Ulrich Drepper <drepper@gmail.com>
63603
63604 * libio/freopen.c (freopen): Don't close old file descriptor
63605 before the new one is opened. Instead dup the new file descriptor
63606 to the old one after the new stream is created.
63607 * libio/freopen64.c (freopen64): Likewise.
63608 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
63609 * libio/fileops.c (_IO_new_file_close_it): Handle new
63610 _IO_FLAGS2_NOCLOSE flag.
63611 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
63612 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
63613 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
63614 _IO_FLAGS2_NOCLOSE flag.
63615 * include/unistd.h: Add hidden_proto for dup3.
63616 Define __have_dup3.
63617 * io/dup3.c: Define hidden symbol.
63618 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
63619
63620 [BZ #7101]
63621 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
63622 when an incomplete long option is used.
63623 * posix/tst-getopt_long1.c: New file.
63624 * posix/Makefile (tests): Add tst-getopt_long1.
63625
63626 [BZ #10138]
63627 * scripts/config.guess: Update from autoconf-2.68.
63628 * scripts/config.sub: Likewise.
63629
63630 [BZ #10157]
63631 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
63632 tests into ...
63633 (has_cpuclock): ...this. New function.
63634 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
63635 macro here based on has_cpuclock code.
63636
63637 [BZ #10149]
63638 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63639 First byte (not low byte) is now always NUL.
63640 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
63641
63642 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63643 Use non-cancelable interfaces.
63644
63645 [BZ #9809]
63646 * locale/iso-639.def: Add entry for Sorani.
63647
63648 [BZ #11901]
63649 * include/stdlib.h: Move include protection to the right place.
63650 Define abort_msg_s. Declare __abort_msg with it.
63651 * stdlib/abort.c (__abort_msg): Adjust type.
63652 * assert/assert.c (__assert_fail_base): New function. Majority
63653 of code from __assert_fail. Allocate memory for __abort_msg with
63654 mmap.
63655 (__assert_fail): Now call __assert_fail_base.
63656 * assert/assert-perr.c: Remove bulk of implementation. Use
63657 __assert_fail_base.
63658 * include/assert.hL Declare __assert_fail_base.
63659 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
63660 mmap.
63661 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
63662
63663 2011-05-14 Ulrich Drepper <drepper@gmail.com>
63664
63665 [BZ #11952]
63666 [BZ #12453]
63667 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
63668 until all modules are registered in the DTV.
63669 * elf/Makefile: Add rules to build and run tst-tls19.
63670 * elf/tst-tls19.c: New file.
63671 * elf/tst-tls19mod1.c: New file.
63672 * elf/tst-tls19mod2.c: New file.
63673 * elf/tst-tls19mod3.c: New file.
63674 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
63675
63676 [BZ #12083]
63677 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
63678 correctly.
63679
63680 [BZ #12601]
63681 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
63682 two-byte sequence errors.
63683 * iconvdata/Makefile (tests): Add bug-iconv8.
63684 * iconvdata/bug-iconv8.c: New file.
63685
63686 [BZ #12626]
63687 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
63688 buf2 definition.
63689
63690 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
63691
63692 [BZ #12432]
63693 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
63694 (dummy_getcfa): New function.
63695 (init): Get _Unwind_GetCFA address, use dummy if not found.
63696 (backtrace_helper): In recursion check, also check whether CFA changes.
63697 (__backtrace): Completely initialize arg.
63698
63699 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
63700 storing incomplete byte sequence in state object. Avoid testing for
63701 guaranteed too small input if we know there is enough data available.
63702
63703 2011-05-11 Andreas Schwab <schwab@redhat.com>
63704
63705 * Makeconfig (+link-pie): Indent.
63706 * Rules (binaries-pie): Define if $(have-fpie) and
63707 $(build-shared).
63708 (binaries-shared): Also filter out $(binaries-pie).
63709 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
63710 * nscd/Makefile (others-pie): Add nscd.
63711 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
63712 ($(objpfx)nscd): Remove command override.
63713 * login/Makefile (others-pie): Add pt_chown.
63714 ($(objpfx)pt_chown): Remove command override.
63715 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
63716 remove command overrides.
63717
63718 2011-05-13 Ulrich Drepper <drepper@gmail.com>
63719
63720 * libio/tst_putwc.c: Fix error messages.
63721
63722 [BZ #12724]
63723 * libio/fileops.c (_IO_new_file_close_it): Always flush when
63724 currently writing and seek to current position when not.
63725 * libio/Makefile (tests): Add bug-fclose1.
63726 * libio/bug-fclose1.c: New file.
63727
63728 2011-05-12 Ulrich Drepper <drepper@gmail.com>
63729
63730 [BZ #12511]
63731 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
63732 don't set DF_1_NODELETE here.
63733 (do_lookup_x): When entering new entry test for copy relocation
63734 and if necessary set DF_1_NODELETE flag.
63735 * elf/tst-unique4.cc: New file.
63736 * elf/tst-unique4.h: New file.
63737 * elf/tst-unique4lib.cc: New file.
63738 * elf/Makefile: Add rules to build and run tst-unique4.
63739 Patch by Piotr Bury <pbury@goahead.com>.
63740
63741 2011-05-11 Ulrich Drepper <drepper@gmail.com>
63742
63743 [BZ #12052]
63744 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
63745
63746 [BZ #12625]
63747 * misc/mntent_r.c (addmntent): Flush the stream after the output
63748
63749 [BZ #12393]
63750 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
63751 (is_trusted_path_normalize): Skip initial colon. Append slash
63752 to empty buffer. Duplicate is_trusted_path code but allow
63753 constructed patch to be prefix.
63754 (is_dst): Allow $ORIGIN followed by /.
63755 (_dl_dst_substitute): Correct clearing of check_for_trusted.
63756 Correct testing of result of is_trusted_path_normalize
63757 (decompose_rpath): Fix warning.
63758
63759 2011-05-10 Ulrich Drepper <drepper@gmail.com>
63760
63761 [BZ #11257]
63762 * grp/initgroups.c (internal_getgrouplist): When we found the service
63763 list through the initgroups entry in nsswitch.conf do not always
63764 continue on a successful lookup. Don't always use the
63765 __nss_group_database value if it is set.
63766 * nss/nsswitch.conf (initgroups): Change action for successful db
63767 lookup to continue for compatibility.
63768
63769 2011-05-09 Ulrich Drepper <drepper@gmail.com>
63770
63771 [BZ #11532]
63772 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
63773 and CP774 modules.
63774 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
63775 and CP774 modules.
63776 * iconvdata/tst-tables.sh: Likewise.
63777 * iconvdata/cp770.c: New file.
63778 * iconvdata/cp771.c: New file.
63779 * iconvdata/cp772.c: New file.
63780 * iconvdata/cp773.c: New file.
63781 * iconvdata/cp774.c: New file.
63782 * iconvdata/testdata/CP770: New file.
63783 * iconvdata/testdata/CP770..UTF8: New file.
63784 * iconvdata/testdata/CP771: New file.
63785 * iconvdata/testdata/CP771..UTF8: New file.
63786 * iconvdata/testdata/CP772: New file.
63787 * iconvdata/testdata/CP772..UTF8: New file.
63788 * iconvdata/testdata/CP773: New file.
63789 * iconvdata/testdata/CP773..UTF8: New file.
63790 * iconvdata/testdata/CP774: New file.
63791 * iconvdata/testdata/CP774..UTF8: New file.
63792
63793 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
63794 END CHARMAP line.
63795 * iconvdata/gen-8bit-gap.sh: Likewise.
63796 * iconvdata/gen-8bit.sh: Likewise.
63797
63798 * locale/iso-639.def: Add ary entry.
63799
63800 [BZ #11258]
63801 * locale/C-translit.h.in: Add U20A1 transliteration.
63802
63803 [BZ #12178]
63804 * locale/iso-639.def: Add wae entry.
63805 Patch by Kevin Bortis <bortis@translate-wae.ch>.
63806
63807 [BZ #12545]
63808 * locale/programs/localedef.c (construct_output_path): Use ssize_t
63809 for n.
63810
63811 [BZ #12711]
63812 * locale/C-translit.h.in: Add entry for U20B9.
63813 Patch by pravin.d.s@gmail.com.
63814
63815 2011-05-08 Ulrich Drepper <drepper@gmail.com>
63816
63817 [BZ #12713]
63818 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
63819 ENAMETOOLONG use generic getcwd.
63820 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
63821 in rtld. Use *stat64.
63822 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
63823 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
63824 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
63825 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
63826 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
63827 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
63828 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
63829 __fstatat64 macros.
63830 * include/dirent.h: Add libc_hidden_proto for rewinddir.
63831 * dirent/rewinddir.c: Add libc_hidden_def.
63832 * sysdeps/mach/hurd/rewinddir.c: Likewise.
63833 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
63834
63835 * include/dirent.h (__alloc_dir): Add flags parameter.
63836 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
63837 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
63838 __alloc_dir.
63839 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
63840 from fdopendir if O_CLOEXEC is already set.
63841
63842 2011-03-15 Alan Modra <amodra@gmail.com>
63843
63844 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
63845 l_tls_firstbyte_offset non-zero. Save padding offset in
63846 l_tls_firstbyte_offset for later use.
63847 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
63848 freeing static tls block.
63849
63850 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
63851
63852 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
63853 where #ifdef was intended. The intent is to prevent ARG_MAX from
63854 being defined by the kernel headers.
63855
63856 2011-05-07 Ulrich Drepper <drepper@gmail.com>
63857
63858 [BZ #12734]
63859 * resolv/resolv.h: Define RES_NOTLDQUERY.
63860 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
63861 no-tld-query and set RES_NOTLDQUERY.
63862 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
63863 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
63864 modern BIND to search name as TLD unless forbidden.
63865
63866 2011-05-07 Petr Baudis <pasky@suse.cz>
63867 Ulrich Drepper <drepper@gmail.com>
63868
63869 [BZ #12393]
63870 * elf/dl-load.c (fillin_rpath): Move trusted path check...
63871 (is_trusted_path): ...to here.
63872 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
63873 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
63874 using is_trusted_path_normalize() in setuid scripts.
63875
63876 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
63877
63878 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
63879 __BEGIN/__END_DECLS.
63880
63881 2011-05-06 Ulrich Drepper <drepper@gmail.com>
63882
63883 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
63884 NSS_STATUS_NOTFOUND if no record was found.
63885
63886 2011-05-05 Andreas Schwab <schwab@redhat.com>
63887
63888 * sunrpc/Makefile (headers): Add rpc/netdb.h.
63889 (headers-not-in-tirpc): Remove rpc/netdb.h
63890 * resolv/netdb.h: Revert last change.
63891
63892 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
63893
63894 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
63895 circular dependency between libgcc.a and libc.a.
63896
63897 2011-05-05 Andreas Schwab <schwab@redhat.com>
63898
63899 * resolv/netdb.h: Don't include <rpc/netdb.h>.
63900 * nis/Makefile: Don't install rpcsvc/*.
63901 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
63902 instead of <rpc/types.h>.
63903 (MAXHOSTNAMELEN): Define.
63904
63905 2011-05-03 Andreas Schwab <schwab@redhat.com>
63906
63907 * elf/ldconfig.c (add_dir): Don't crash on empty path.
63908
63909 2011-04-28 Maciej Babinski <mbabinski@google.com>
63910
63911 [BZ #12714]
63912 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
63913 gethostbyname4_r when IPv6 results are possible.
63914
63915 2011-05-02 Ulrich Drepper <drepper@gmail.com>
63916
63917 [BZ #12723]
63918 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
63919 _PC_PIPE_BUF handling.
63920
63921 2011-04-30 Bruno Haible <bruno@clisp.org>
63922
63923 [BZ #12717]
63924 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
63925 * resolv/netdb.h (getnameinfo): Change type of flags parameter
63926 to 'int'.
63927 * inet/getnameinfo.c (getnameinfo): Likewise.
63928
63929 2011-04-29 Ulrich Drepper <drepper@gmail.com>
63930
63931 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
63932 to groups setting in database lookup.
63933 * nss/nsswitch.conf: Add initgroups entry.
63934
63935 2011-04-22 Ulrich Drepper <drepper@gmail.com>
63936
63937 [BZ #12685]
63938 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
63939 mode string.
63940 Patch by Eric Blake <eblake@redhat.com>.
63941
63942 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
63943
63944 * sunrpc/Makefile (need-export-routines): Add svc_run.
63945 (routines): Remove svc_run.
63946 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
63947 * sunrpc/clnt_perr.c (clnt_perrno): Export.
63948 * sunrpc/svc_run.c (svc_run): Likewise.
63949 * sunrpc/svc_udp.c (svcudp_create): Likewise.
63950
63951 2011-04-21 Ulrich Drepper <drepper@gmail.com>
63952
63953 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
63954 problem in reallocation in last patch.
63955
63956 2011-04-20 Ulrich Drepper <drepper@gmail.com>
63957
63958 * sunrpc/Makefile: Move inclusion of Rules.
63959
63960 2011-04-19 Ulrich Drepper <drepper@gmail.com>
63961
63962 * nss/nss_files/files-initgroups.c: New file.
63963 * nss/Makefile (libnss_files-routines): Add files-initgroups.
63964 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
63965 _nss_files_initgroups_dyn.
63966
63967 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
63968
63969 * elf/elf.h (R_ARM_IRELATIVE): Define.
63970
63971 2011-04-19 Ulrich Drepper <drepper@gmail.com>
63972
63973 * po/ru.po: Update from translation team.
63974
63975 2011-04-17 Ulrich Drepper <drepper@gmail.com>
63976
63977 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
63978 dependencies.
63979
63980 2011-02-06 Mike Frysinger <vapier@gentoo.org>
63981
63982 [BZ #12653]
63983 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
63984 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
63985 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
63986 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
63987 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
63988
63989 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
63990
63991 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
63992 differing bytes.
63993 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
63994 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
63995 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
63996
63997 2011-04-17 Ulrich Drepper <drepper@gmail.com>
63998
63999 [BZ #12420]
64000 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
64001 storing it.
64002 * stdlib/bug-getcontext.c: New file.
64003 * stdlib/Makefile: Add rules to build and run bug-getcontext.
64004
64005 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64006
64007 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
64008 instructions into .machine "z9-109".
64009 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
64010 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
64011
64012 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64013
64014 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
64015 between environment variables and auxiliary vector.
64016
64017 2011-04-16 Ulrich Drepper <drepper@gmail.com>
64018
64019 * Makefile: Add rules to build linkobj/libc.so.
64020 * include/libc-symbols.h: Define libc_hidden_nolink.
64021 * include/rpc/auth.h: Mark functions which are to be hidden.
64022 * include/rpc/auth_des.h: Likewise.
64023 * include/rpc/auth_unix.h: Likewise.
64024 * include/rpc/clnt.h: Likewise.
64025 * include/rpc/des_crypt.h: Likewise.
64026 * include/rpc/key_prot.h: Likewise.
64027 * include/rpc/pmap_clnt.h: Likewise.
64028 * include/rpc/pmap_prot.h: Likewise.
64029 * include/rpc/pmap_rmt.h: Likewise.
64030 * include/rpc/rpc_msg.h: Likewise.
64031 * include/rpc/svc.h: Likewise.
64032 * include/rpc/svc_auth.h: Likewise.
64033 * include/rpc/xdr.h: Likewise.
64034 * nis/Makefile: Link all DSOs against linkobj/libc.so.
64035 * nss/Makefile: Likewise.
64036 * sunrpc/Makefile: Don't install headers. Build library with normal
64037 entry points. Don't build rpcinfo. Link RPC tests appropriately.
64038 * sunrpc/auth_des.c: Hide exported symbols by default, export some
64039 for the compat linking library. Remove use of INTDEF/INTUSE.
64040 * sunrpc/auth_none.c: Likewise.
64041 * sunrpc/auth_unix.c: Likewise.
64042 * sunrpc/authdes_prot.c: Likewise.
64043 * sunrpc/authuxprot.c: Likewise.
64044 * sunrpc/clnt_gen.c: Likewise.
64045 * sunrpc/clnt_perr.c: Likewise.
64046 * sunrpc/clnt_raw.c: Likewise.
64047 * sunrpc/clnt_simp.c: Likewise.
64048 * sunrpc/clnt_tcp.c: Likewise.
64049 * sunrpc/clnt_udp.c: Likewise.
64050 * sunrpc/clnt_unix.c: Likewise.
64051 * sunrpc/des_crypt.c: Likewise.
64052 * sunrpc/des_soft.c: Likewise.
64053 * sunrpc/get_myaddr.c: Likewise.
64054 * sunrpc/key_call.c: Likewise.
64055 * sunrpc/key_prot.c: Likewise.
64056 * sunrpc/netname.c: Likewise.
64057 * sunrpc/pm_getmaps.c: Likewise.
64058 * sunrpc/pm_getport.c: Likewise.
64059 * sunrpc/pmap_clnt.c: Likewise.
64060 * sunrpc/pmap_prot.c: Likewise.
64061 * sunrpc/pmap_prot2.c: Likewise.
64062 * sunrpc/pmap_rmt.c: Likewise.
64063 * sunrpc/publickey.c: Likewise.
64064 * sunrpc/rpc_cmsg.c: Likewise.
64065 * sunrpc/rpc_common.c: Likewise.
64066 * sunrpc/rpc_dtable.c: Likewise.
64067 * sunrpc/rpc_prot.c: Likewise.
64068 * sunrpc/rpc_thread.c: Likewise.
64069 * sunrpc/rtime.c: Likewise.
64070 * sunrpc/svc.c: Likewise.
64071 * sunrpc/svc_auth.c: Likewise.
64072 * sunrpc/svc_authux.c: Likewise.
64073 * sunrpc/svc_raw.c: Likewise.
64074 * sunrpc/svc_run.c: Likewise.
64075 * sunrpc/svc_simple.c: Likewise.
64076 * sunrpc/svc_tcp.c: Likewise.
64077 * sunrpc/svc_udp.c: Likewise.
64078 * sunrpc/svc_unix.c: Likewise.
64079 * sunrpc/svcauth_des.c: Likewise.
64080 * sunrpc/xcrypt.c: Likewise.
64081 * sunrpc/xdr.c: Likewise.
64082 * sunrpc/xdr_array.c: Likewise.
64083 * sunrpc/xdr_float.c: Likewise.
64084 * sunrpc/xdr_intXX_t.c: Likewise.
64085 * sunrpc/xdr_mem.c: Likewise.
64086 * sunrpc/xdr_rec.c: Likewise.
64087 * sunrpc/xdr_ref.c: Likewise.
64088 * sunrpc/xdr_sizeof.c: Likewise.
64089 * sunrpc/xdr_stdio.c: Likewise.
64090
64091 2011-04-10 Ulrich Drepper <drepper@gmail.com>
64092
64093 [BZ #12650]
64094 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
64095 * sysdeps/ia64/dl-tls.h: Likewise.
64096 * sysdeps/powerpc/dl-tls.h: Likewise.
64097 * sysdeps/s390/dl-tls.h: Likewise.
64098 * sysdeps/sh/dl-tls.h: Likewise.
64099 * sysdeps/sparc/dl-tls.h: Likewise.
64100 * sysdeps/x86_64/dl-tls.h: Likewise.
64101 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
64102
64103 2011-03-14 Andreas Schwab <schwab@redhat.com>
64104
64105 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
64106 rpath element also skip the following colon.
64107 (expand_dynamic_string_token): Add is_path parameter and pass
64108 down to DL_DST_REQUIRED and _dl_dst_substitute.
64109 (decompose_rpath): Call expand_dynamic_string_token with
64110 non-zero is_path. Ignore empty rpaths.
64111 (_dl_map_object_from_fd): Call expand_dynamic_string_token
64112 with zero is_path.
64113
64114 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
64115
64116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
64117 Make cancelable.
64118
64119 2011-04-09 Ulrich Drepper <drepper@gmail.com>
64120
64121 [BZ #12655]
64122 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
64123 Patch by Filipe David Manana <fdmanana@apache.org>.
64124
64125 2011-04-07 Andreas Schwab <schwab@redhat.com>
64126
64127 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
64128 Maintain aligned stack.
64129 (CHECK_RSP): Remove unused macro.
64130
64131 2011-04-03 Ulrich Drepper <drepper@gmail.com>
64132
64133 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
64134 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
64135
64136 2011-04-02 Ulrich Drepper <drepper@gmail.com>
64137
64138 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
64139
64140 * include/features.h: Mention __USE_XOPEN2K8 in comment.
64141
64142 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
64143
64144 [BZ #12518]
64145 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
64146 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
64147 * sysdeps/x86_64/memmove.c: New file.
64148 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
64149 (memcpy): Renamed to ...
64150 (__new_memcpy): This.
64151 (memcpy): Provide GLIBC_2_14 memcpy.
64152 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
64153 (memcpy): Provide GLIBC_2_2_5 memcpy.
64154
64155 2011-04-01 Ulrich Drepper <drepper@gmail.com>
64156
64157 [BZ #12631]
64158 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
64159
64160 2011-03-30 Andreas Schwab <schwab@redhat.com>
64161
64162 * misc/syncfs.c: New file.
64163 * misc/Makefile (routines): Add syncfs.
64164 * posix/unistd.h: Declare syncfs.
64165 * sysdeps/unix/syscalls.list: Add syncfs.
64166
64167 2011-04-01 Andreas Schwab <schwab@redhat.com>
64168
64169 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
64170 open_by_handle_at.
64171 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
64172 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64173 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64174 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64175 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64176 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
64177 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64178
64179 2011-04-01 Ulrich Drepper <drepper@gmail.com>
64180
64181 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
64182 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64183 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
64184 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64185 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64186 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64187 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64188
64189 * io/Makefile: Compile fallocate.c, fallocate64.c, and
64190 sync_file_range.c with -fexceptions.
64191 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
64192 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
64193 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
64194 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
64195 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
64196 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
64197 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
64198 sync_file_range as cancellation point
64199 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
64200 now a wrapper around __call_sync_file_range with cancellation handling.
64201 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
64202 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
64203 function name to __call_sync_file_range.
64204 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
64205 Add call_sync_file_range.
64206
64207 2011-04-01 Andreas Schwab <schwab@redhat.com>
64208
64209 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64210 bits/timex.h.
64211
64212 2011-04-01 Ulrich Drepper <drepper@gmail.com>
64213
64214 * iconv/iconv.h: Fix typo in comment.
64215 * io/fcntl.h: Likewise.
64216 * libio/stdio.h: Likewise.
64217 * posix/spawn.h: Likewise.
64218 * posix/unistd.h: Likewise.
64219 * stdlib/stdlib.h: Likewise.
64220 * time/time.h: Likewise.
64221 * wcsmbs/wchar.h: Likewise.
64222
64223 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
64224 open_by_handle): Add.
64225 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
64226 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
64227 Augment a few comments.
64228 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64229 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64230 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64231 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64232 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64233 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
64234 open_by_handle.
64235
64236 * io/fcntl.h (AT_EMPTY_PATH): Define.
64237
64238 2011-03-30 Ulrich Drepper <drepper@gmail.com>
64239
64240 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
64241 * sysdeps/unix/sysv/linux/bits/time.h: New file.
64242 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
64243 to...
64244 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
64245 * Versions.def: Add GLIBC_2.14.
64246 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
64247 Export.
64248
64249 2011-03-22 Ulrich Drepper <drepper@gmail.com>
64250
64251 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
64252 round counter.
64253 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
64254
64255 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
64256
64257 [BZ #12597]
64258 * string/test-strncmp.c (do_page_test): New function.
64259 (check2): Likewise.
64260 (test_main): Call check2.
64261 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
64262
64263 2011-03-20 Ulrich Drepper <drepper@gmail.com>
64264
64265 [BZ #12587]
64266 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
64267 Handle cache information in CPU leaf 4.
64268 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
64269
64270 2011-03-18 Ulrich Drepper <drepper@gmail.com>
64271
64272 [BZ #12583]
64273 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
64274 character representation.
64275 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
64276
64277 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
64278
64279 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
64280 END(__isnan) to END(__isnanf) to match function entry point/label
64281 EALIGN(__isnanf,...).
64282
64283 2011-03-10 Jakub Jelinek <jakub@redhat.com>
64284
64285 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
64286
64287 2011-03-10 Ulrich Drepper <drepper@gmail.com>
64288
64289 [BZ #12510]
64290 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
64291 copy from the symbol referenced in the relocation to initialize the
64292 used variable.
64293 Patch by Piotr Bury <pbury@goahead.com>.
64294 * elf/Makefile: Add rules to build and tst-unique3.
64295 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
64296 * elf/tst-unique3.cc: New file.
64297 * elf/tst-unique3.h: New file.
64298 * elf/tst-unique3lib.cc: New file.
64299 * elf/tst-unique3lib2.cc: New file.
64300
64301 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
64302
64303 2011-03-10 Mike Frysinger <vapier@gentoo.org>
64304
64305 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
64306 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
64307 to _start.
64308
64309 2011-03-06 Ulrich Drepper <drepper@gmail.com>
64310
64311 * elf/dl-load.c (_dl_map_object): If we are looking for the first
64312 to-be-loaded object along a path to loader is ld.so.
64313
64314 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
64315 Ulrich Drepper <drepper@gmail.com>
64316
64317 * sysdeps/x86_64/memset.S: After aligning destination, code
64318 branches to different locations depending on the value of
64319 misalignment, when multiarch is enabled. Fix this.
64320
64321 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
64322
64323 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
64324 Set _x86_64_preferred_memory_instruction for AMD processsors.
64325 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64326 Set bit_Prefer_SSE_for_memop for AMD processors.
64327
64328 2011-03-04 Ulrich Drepper <drepper@gmail.com>
64329
64330 * libio/fmemopen.c (fmemopen): Optimize a bit.
64331
64332 2011-03-03 Andreas Schwab <schwab@redhat.com>
64333
64334 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
64335
64336 2011-03-03 Roland McGrath <roland@redhat.com>
64337
64338 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
64339
64340 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
64341
64342 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
64343 __bzero_ultra1 instead of __memset_ultra1.
64344
64345 2011-02-23 Andreas Schwab <schwab@redhat.com>
64346 Ulrich Drepper <drepper@gmail.com>
64347
64348 [BZ #12509]
64349 * include/link.h (struct link_map): Add l_orig_initfini.
64350 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
64351 returning unsuccessfully.
64352 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
64353 close of a file loaded at startup, restore the original l_initfini
64354 list.
64355 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
64356 list, store the pointer.
64357 * elf/Makefile ($(objpfx)noload-mem): New rule.
64358 (noload-ENV): Define.
64359 (tests): Add $(objpfx)noload-mem.
64360 * elf/noload.c: Include <memcheck.h>.
64361 (main): Call mtrace. Close all opened handles.
64362
64363 2011-02-17 Andreas Schwab <schwab@redhat.com>
64364
64365 [BZ #12454]
64366 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
64367 dependencies are missing.
64368
64369 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
64370
64371 Fix __if_freereq crash: Unlike the generic version which uses free,
64372 Hurd needs munmap.
64373 * sysdeps/mach/hurd/ifreq.h: New file.
64374
64375 2011-01-27 Petr Baudis <pasky@suse.cz>
64376 Ulrich Drepper <drepper@gmail.com>
64377
64378 [BZ 12445]#
64379 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
64380 to extend_alloca().
64381 * stdio-common/bug23.c: New file.
64382 * stdio-common/Makefile (tests): Add bug23.
64383
64384 2010-09-28 Andreas Schwab <schwab@redhat.com>
64385 Ulrich Drepper <drepper@gmail.com>
64386
64387 [BZ #12489]
64388 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
64389 before performing relro protection. At old place add assertion
64390 to make sure nothing changed.
64391
64392 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
64393 Glauber de Oliveira Costa <glommer@gmail.com>
64394
64395 * elf/elf.h: Add new ARM TLS relocs.
64396
64397 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
64398
64399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
64400 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
64401 cast from r3.
64402 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
64403 'tests' variable.
64404 * sysdeps/wordsize-64/tst-writev.c: New file.
64405
64406 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
64407
64408 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
64409 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
64410 insns in _dl_start to prevent a TOC reference before relocs are
64411 resolved.
64412
64413 2011-02-15 Ulrich Drepper <drepper@gmail.com>
64414
64415 [BZ #12469]
64416 * Makeconfig: Remove RANLIB definition.
64417 * Makerules: Don't use RANLIB.
64418 * aclocal.m4: Remove ranlib test.
64419 * configure.in: No need to check for ranlib.
64420 * elf/rtld-Rules: Don't use RANLIB.
64421
64422 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
64423
64424 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
64425 protection macro.
64426 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
64427 inclusion protection macro.
64428
64429 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
64430 SIGRTMIN and SIGRTMAX and print information in that case only when
64431 SIGRTMIN is defined.
64432
64433 2011-02-11 Jakub Jelinek <jakub@redhat.com>
64434
64435 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
64436 arginfo fn returning -1.
64437
64438 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
64439 and thousands string is zero terminated.
64440
64441 2011-02-03 Andreas Schwab <schwab@redhat.com>
64442
64443 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
64444 sysdeps/unix/sysv/linux/bits/socket.h.
64445
64446 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
64447
64448 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
64449 (__CPU_COUNT): Remove old macros.
64450 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
64451 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
64452 (__CPU_ALLOC, __CPU_FREE): Add macros.
64453 (__sched_cpualloc, __sched_cpufree): Add declarations.
64454
64455 2011-02-05 Ulrich Drepper <drepper@gmail.com>
64456
64457 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
64458 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
64459 * nscd/aicache.c (addhstaiX): Return timeout of added value.
64460 (readdhstai): Return value of addhstaiX call.
64461 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
64462 (addgrbyX): Return value returned by cache_addgr.
64463 (readdgrbyname): Return value returned by addgrbyX.
64464 (readdgrbygid): Likewise.
64465 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
64466 (addpwbyX): Return value returned by cache_addpw.
64467 (readdpwbyname): Return value returned by addhstbyX.
64468 (readdpwbyuid): Likewise.
64469 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
64470 (addservbyX): Return value returned by cache_addserv.
64471 (readdservbyname): Return value returned by addservbyX:
64472 (readdservbyport): Likewise.
64473 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
64474 (addhstbyX): Return value returned by cache_addhst.
64475 (readdhstbyname): Return value returned by addhstbyX.
64476 (readdhstbyaddr): Likewise.
64477 (readdhstbynamev6): Likewise.
64478 (readdhstbyaddrv6): Likewise.
64479 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
64480 (readdinitgroups): Return value returned by addinitgroupsX.
64481 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
64482 (prune_cache): Keep track of timeout value of re-added entries.
64483 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
64484 * nscd/nscd.h: Adjust prototypes of readd* functions.
64485
64486 2011-02-04 Roland McGrath <roland@redhat.com>
64487
64488 * nis/nis_server.c (nis_servstate): Use the right name for 0.
64489 (nis_stats): Likewise.
64490 * nis/nis_modify.c (nis_modify): Likewise.
64491 * nis/nis_remove.c (nis_remove): Likewise.
64492 * nis/nis_add.c (nis_add): Likewise.
64493
64494 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
64495
64496 * posix/fnmatch_loop.c: Add some consts.
64497
64498 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
64499
64500 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
64501
64502 [BZ #12460]
64503 * config.make.in (config-cflags-novzeroupper): Define.
64504 * configure.in: Substitute libc_cv_cc_novzeroupper.
64505 * elf/Makefile (AVX-CFLAGS): Define.
64506 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
64507 (CFLAGS-tst-auditmod4a.c): Likewise.
64508 (CFLAGS-tst-auditmod4b.c): Likewise.
64509 (CFLAGS-tst-auditmod6b.c): Likewise.
64510 (CFLAGS-tst-auditmod6c.c): Likewise.
64511 (CFLAGS-tst-auditmod7b.c): Likewise.
64512 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
64513
64514 2011-02-02 Ulrich Drepper <drepper@gmail.com>
64515
64516 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
64517 function to the callback.
64518 Patch partly by Jiri Olsa <jolsa@redhat.com>.
64519
64520 2011-02-02 Andreas Schwab <schwab@redhat.com>
64521
64522 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
64523 of errno.
64524
64525 2011-01-19 Ulrich Drepper <drepper@gmail.com>
64526
64527 [BZ #11724]
64528 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
64529 of constructors.
64530 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
64531 of destructors.
64532 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
64533
64534 [BZ #11724]
64535 * elf/Makefile: Add rules to build and run new test.
64536 * elf/tst-initorder.c: New file.
64537 * elf/tst-initorder.exp: New file.
64538 * elf/tst-initordera1.c: New file.
64539 * elf/tst-initordera2.c: New file.
64540 * elf/tst-initordera3.c: New file.
64541 * elf/tst-initordera4.c: New file.
64542 * elf/tst-initorderb1.c: New file.
64543 * elf/tst-initorderb2.c: New file.
64544 * elf/tst-order-a1.c: New file.
64545 * elf/tst-order-a2.c: New file.
64546 * elf/tst-order-a3.c: New file.
64547 * elf/tst-order-a4.c: New file.
64548 * elf/tst-order-b1.c: New file.
64549 * elf/tst-order-b2.c: New file.
64550 * elf/tst-order-main.c: New file.
64551 New test case by George Gensure <werkt0@gmail.com>.
64552
64553 2010-10-01 Andreas Schwab <schwab@redhat.com>
64554
64555 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
64556 decoding ACE if AI_CANONIDN.
64557
64558 2011-01-18 Ulrich Drepper <drepper@gmail.com>
64559
64560 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
64561
64562 2011-01-17 Ulrich Drepper <drepper@gmail.com>
64563
64564 * version.h (RELEASE): Bump for 2.13 release.
64565 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
64566
64567 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
64568
64569 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
64570 MADV_NOHUGEPAGE.
64571 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
64572 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
64573 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
64574 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
64575 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
64576 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
64577
64578 * posix/getconf.c: Update copyright year.
64579 * catgets/gencat.c: Likewise.
64580 * csu/version.c: Likewise.
64581 * debug/catchsegv.sh: Likewise.
64582 * debug/xtrace.sh: Likewise.
64583 * elf/ldconfig.c: Likewise.
64584 * elf/ldd.bash.in: Likewise.
64585 * elf/sprof.c (print_version): Likewise.
64586 * iconv/iconv_prog.c: Likewise.
64587 * iconv/iconvconfig.c: Likewise.
64588 * locale/programs/locale.c: Likewise.
64589 * locale/programs/localedef.c: Likewise.
64590 * malloc/memusage.sh: Likewise.
64591 * malloc/mtrace.pl: Likewise.
64592 * nscd/nscd.c (print_version): Likewise.
64593 * nss/getent.c: Likewise.
64594
64595 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
64596 PF_CAIF, and PF_ALG.
64597 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64598
64599 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
64600
64601 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
64602 (modules-names): Use them.
64603 (ifunc-test-modules, ifunc-pie-tests): Define.
64604 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
64605 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
64606 (test-extras): Likewise.
64607 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
64608 $(compile-command.c).
64609 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
64610 (all-built-dso): Define.
64611 (check-textrel.out, check-execstack.out): Depend on it.
64612
64613 * configure.in: Don't override --enable-multi-arch.
64614
64615 2011-01-15 Ulrich Drepper <drepper@gmail.com>
64616
64617 [BZ #6812]
64618 * nscd/hstcache.c (tryagain): Define.
64619 (cache_addhst): Return tryagain not notfound for temporary errors.
64620 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
64621 failed.
64622
64623 2011-01-14 Ulrich Drepper <drepper@gmail.com>
64624
64625 [BZ #10563]
64626 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
64627 to make the syscall.
64628 * sysdeps/unix/sysv/linux/setgroups.c: New file.
64629
64630 [BZ #12378]
64631 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
64632 and fall back to matching as normal character if the string ends before
64633 the matching ']' is found. This is what POSIX requires.
64634 * posix/testfnm.c: Adjust test result.
64635 * posix/globtest.sh: Adjust test result. Add new test.
64636 * posix/tst-fnmatch.input: Likewise.
64637 * posix/tst-fnmatch2.c: Add new test.
64638
64639 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
64640
64641 * elf/Makefile (check-execstack): Revert last change. Depend on
64642 check-execstack.h.
64643 (check-execstack.h): New target.
64644 (generated): Add check-execstack.h.
64645 * elf/check-execstack.c: Include "check-execstack.h".
64646 (main): Revert last change.
64647 (handle_file): Return zero if GNU_STACK is absent and
64648 DEFAULT_STACK_PERMS doesn't include PF_X.
64649
64650 2011-01-13 Ulrich Drepper <drepper@gmail.com>
64651
64652 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
64653 in child fails because the descriptor is already closed.
64654 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
64655 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
64656 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
64657
64658 [BZ #12397]
64659 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
64660 syscall.
64661
64662 [BZ #10484]
64663 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
64664 temporary buffer used to handle multi lookups locally.
64665 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
64666
64667 2011-01-12 Ulrich Drepper <drepper@gmail.com>
64668
64669 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
64670 loader is ld.so.
64671
64672 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
64673
64674 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
64675 alignment for SSE2.
64676
64677 2011-01-12 Ulrich Drepper <drepper@gmail.com>
64678
64679 [BZ #12394]
64680 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
64681 characters. When rounding increased number of integer digits recompute
64682 number of groups.
64683 * stdio-common/tst-grouping.c: New file.
64684 * stdio-common/Makefile: Add rules to build and run tst-grouping.
64685
64686 2011-01-09 Ulrich Drepper <drepper@gmail.com>
64687
64688 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
64689 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
64690
64691 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
64692 void.
64693 * bits/select.h: Likewise.
64694
64695 2011-01-08 Ulrich Drepper <drepper@gmail.com>
64696
64697 * po/ja.po: Update from translation team.
64698
64699 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
64700
64701 [BZ #11155]
64702 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
64703 implementation just like for lxstat, fxstatat, et al.
64704
64705 2010-12-27 Jim Meyering <meyering@redhat.com>
64706
64707 [BZ #12348]
64708 * posix/regexec.c (build_trtable): Return failure indication upon
64709 calloc failure. Otherwise, re_search_internal could infloop on OOM.
64710
64711 2010-12-25 Ulrich Drepper <drepper@gmail.com>
64712
64713 [BZ #12201]
64714 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
64715 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
64716 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
64717 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
64718
64719 [BZ #12207]
64720 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
64721
64722 [BZ #12204]
64723 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
64724 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
64725
64726 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
64727
64728 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
64729 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
64730 script has SORT_BY_INIT_PRIORITY.
64731 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
64732 NO_CTORS_DTORS_SECTIONS is defined.
64733 * elf/soinit.c: Likewise.
64734 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
64735 NO_CTORS_DTORS_SECTIONS is defined.
64736 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
64737 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
64738 * sysdeps/sh/init-first.c: Likewise.
64739 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
64740
64741 2010-12-24 Ulrich Drepper <drepper@gmail.com>
64742
64743 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
64744 always use the slow path.
64745
64746 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
64747
64748 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
64749 similar rule which adds the sysdep directories to the header search in
64750 order to pick up the correct platform stackinfo.h.
64751 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
64752 perform test if it is, otherwise return successfully without testing.
64753 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
64754 DEFAULT_STACK_PERMS define in stackinfo.h.
64755 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
64756 defined in stackinfo.h.
64757 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
64758 DEFAULT_STACK_PERMS defined in stackinfo.h.
64759 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
64760 * sysdeps/ia64/stackinfo.h: Likewise.
64761 * sysdeps/s390/stackinfo.h: Likewise.
64762 * sysdeps/sh/stackinfo.h: Likewise.
64763 * sysdeps/sparc/stackinfo.h: Likewise.
64764 * sysdeps/x86_64/stackinfo.h: Likewise.
64765 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
64766 PF_X for powerpc64. Retain PF_X for powerpc32.
64767
64768 2010-12-19 Ulrich Drepper <drepper@gmail.com>
64769
64770 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
64771 accurately.
64772 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
64773 GETDENTS_64BIT_ALIGNED.
64774
64775 2010-12-14 Ulrich Drepper <dreper@gmail.com>
64776
64777 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
64778
64779 2010-12-10 Andreas Schwab <schwab@redhat.com>
64780
64781 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
64782 _GNU_SOURCE.
64783
64784 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
64785 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
64786 Remove __restrict.
64787 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
64788 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
64789
64790 2010-12-09 Ulrich Drepper <drepper@gmail.com>
64791
64792 [BZ #11655]
64793 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
64794 are initialized.
64795
64796 2010-12-09 Jakub Jelinek <jakub@redhat.com>
64797
64798 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
64799
64800 2010-12-03 Ulrich Drepper <drepper@gmail.com>
64801
64802 * po/it.po: Update from translation team.
64803
64804 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
64805
64806 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
64807 unused codes.
64808
64809 2010-11-30 Ulrich Drepper <drepper@gmail.com>
64810
64811 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
64812
64813 2010-11-24 Andreas Schwab <schwab@redhat.com>
64814
64815 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
64816 specially.
64817 (gaih_getanswer_slice): Likewise.
64818
64819 2010-10-20 Jakub Jelinek <jakub@redhat.com>
64820
64821 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
64822
64823 2010-05-31 Petr Baudis <pasky@suse.cz>
64824
64825 [BZ #11149]
64826 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
64827 silently even in the chroot mode.
64828
64829 2010-11-22 Ulrich Drepper <drepper@gmail.com>
64830
64831 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
64832 last patch a bit. Pretty printing
64833
64834 2010-05-31 Petr Baudis <pasky@suse.cz>
64835
64836 [BZ #10085]
64837 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
64838 initialization of skip_initgroups_dyn.
64839
64840 2010-11-19 Ulrich Drepper <drepper@gmail.com>
64841
64842 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
64843 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
64844
64845 2010-11-16 Ulrich Drepper <drepper@gmail.com>
64846
64847 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
64848
64849 2010-11-11 Andreas Schwab <schwab@redhat.com>
64850
64851 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
64852 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
64853 (tst-fnmatch-ENV): Set MALLOC_TRACE.
64854 ($(objpfx)tst-fnmatch-mem): New rule.
64855 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
64856 * posix/tst-fnmatch.c (main): Call mtrace.
64857
64858 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
64859
64860 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64861 Support Intel processor model 6 and model 0x2c.
64862
64863 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
64864
64865 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
64866 signed comparison.
64867
64868 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
64869
64870 [BZ #12205]
64871 * string/test-strncasecmp.c (check_result): New function.
64872 (do_one_test): Use it.
64873 (check1): New function.
64874 (test_main): Use it.
64875 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
64876 Support strcasecmp and strncasecmp.
64877
64878 2010-11-08 Ulrich Drepper <drepper@gmail.com>
64879
64880 [BZ #12194]
64881 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
64882 * sysdeps/x86_64/bits/byteswap.h: Likewise.
64883
64884 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
64885
64886 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
64887 IFUNC support.
64888 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64889 memset-x86-64.
64890 * sysdeps/x86_64/multiarch/bzero.S: New file.
64891 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
64892 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
64893 * sysdeps/x86_64/multiarch/memset.S: New file.
64894 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
64895 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64896 Set bit_Prefer_SSE_for_memop for Intel processors.
64897 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
64898 Define.
64899 (index_Prefer_SSE_for_memop): Define.
64900 (HAS_PREFER_SSE_FOR_MEMOP): Define.
64901
64902 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
64903
64904 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
64905 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
64906
64907 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
64908
64909 [BZ #12191]
64910 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
64911 (__x86_64_raw_data_cache_size_half): Likewise.
64912 (__x86_64_raw_shared_cache_size): Likewise.
64913 (__x86_64_raw_shared_cache_size_half): Likewise.
64914
64915 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
64916 (__x86_64_raw_data_cache_size_half): Likewise.
64917 (__x86_64_raw_shared_cache_size): Likewise.
64918 (__x86_64_raw_shared_cache_size_half): Likewise.
64919 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
64920 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
64921 and __x86_64_raw_shared_cache_size_half. Round
64922 __x86_64_data_cache_size_half, __x86_64_data_cache_size
64923 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
64924 to multiple of 256 bytes.
64925
64926 2010-11-03 Ulrich Drepper <drepper@gmail.com>
64927
64928 [BZ #12167]
64929 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
64930 of inacessible symlinks. Verify result of symlink before returning it.
64931 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
64932 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
64933
64934 2010-10-28 Erich Ritz <erichritz@gmail.com>
64935
64936 * math/math.h (isinf): Fix typo in comment.
64937
64938 2010-11-01 Ulrich Drepper <drepper@gmail.com>
64939
64940 * po/da.po: Update from translation team.
64941
64942 2010-10-26 Ulrich Drepper <drepper@gmail.com>
64943
64944 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
64945 is added to the list.
64946
64947 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64948 Ulrich Drepper <drepper@gmail.com>
64949
64950 * elf/dl-object.c (_dl_new_object): Don't append the new object to
64951 the global list here. Move code to...
64952 (_dl_add_to_namespace_list): ...here. New function.
64953 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
64954 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
64955 * elf/dl-load.c (lose): Don't remove the element from the list.
64956 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
64957 (_dl_map_object): Likewise.
64958
64959 2010-10-25 Ulrich Drepper <drepper@gmail.com>
64960
64961 [BZ #12159]
64962 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
64963 into all bytes of SSE register.
64964 Patch by Richard Li <richardpku@gmail.com>.
64965
64966 2010-10-24 Ulrich Drepper <drepper@gmail.com>
64967
64968 [BZ #12140]
64969 * malloc/malloc.c (_int_free): Fill correct number of bytes when
64970 perturbing.
64971
64972 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
64973
64974 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
64975 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
64976 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
64977 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
64978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
64979 submachine.
64980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
64981
64982 2010-10-22 Andreas Schwab <schwab@redhat.com>
64983
64984 * include/dlfcn.h (__RTLD_SECURE): Define.
64985 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
64986 mode & __RTLD_SECURE instead.
64987 (open_path): Rename preloaded parameter to secure.
64988 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
64989 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
64990 * elf/dl-deps.c (openaux): Likewise.
64991 * elf/rtld.c (struct map_args): Remove is_preloaded.
64992 (map_doit): Don't use it.
64993 (dl_main): Likewise.
64994 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
64995 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
64996
64997 2010-09-09 Andreas Schwab <schwab@redhat.com>
64998
64999 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
65000 (sysd-rules-targets): Remove duplicates.
65001 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
65002 rtld-%.$o dependency.
65003
65004 2010-10-18 Andreas Schwab <schwab@redhat.com>
65005
65006 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
65007 _dl_map_object do it.
65008
65009 2010-10-19 Ulrich Drepper <drepper@gmail.com>
65010
65011 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
65012 fast fma builtins, define the macros in the C99 standard.
65013 (FP_FAST_FMAF): Likewise.
65014 (FP_FAST_FMAL): Likewise.
65015 * sysdeps/x86_64/bits/mathdef.h: Likewise.
65016
65017 * bits/mathdef.h: Update copyright year.
65018 * sysdeps/powerpc/bits/mathdef.h: Likewise.
65019
65020 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
65021
65022 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
65023 builtins, define the macros in the C99 standard.
65024 (FP_FAST_FMAF): Likewise.
65025 (FP_FAST_FMAL): Likewise.
65026 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
65027 multiply/add.
65028 (FP_FAST_FMAF): Likewise.
65029
65030 2010-10-15 Jakub Jelinek <jakub@redhat.com>
65031
65032 [BZ #3268]
65033 * math/libm-test.inc (fma_test): Some new testcases.
65034 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
65035 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
65036 y and infinite z. Do multiplication by C already in long double.
65037 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
65038 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
65039 y and infinite z. Do bitwise or of inexact bit into u.d.
65040 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
65041 * sysdeps/i386/fpu/s_fmaf.S: Removed.
65042 * sysdeps/i386/fpu/s_fma.S: Removed.
65043 * sysdeps/i386/fpu/s_fmal.S: Removed.
65044
65045 2010-10-16 Jakub Jelinek <jakub@redhat.com>
65046
65047 [BZ #3268]
65048 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
65049 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
65050 computation is not scheduled after fetestexcept. Fix value
65051 of minimum denormal long double.
65052
65053 2010-10-14 Jakub Jelinek <jakub@redhat.com>
65054
65055 [BZ #3268]
65056 * math/libm-test.inc (fma_test): Add some more tests.
65057 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
65058 correctly.
65059
65060 2010-10-15 Andreas Schwab <schwab@redhat.com>
65061
65062 * scripts/data/localplt-s390-linux-gnu.data: New file.
65063 * scripts/data/localplt-s390x-linux-gnu.data: New file.
65064
65065 2010-10-13 Jakub Jelinek <jakub@redhat.com>
65066
65067 [BZ #3268]
65068 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
65069 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
65070 instead of dbl-64.
65071 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
65072 inlines.
65073 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
65074 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
65075 if one of x and y is very large and the other is subnormal.
65076 * sysdeps/s390/fpu/s_fmaf.c: New file.
65077 * sysdeps/s390/fpu/s_fma.c: New file.
65078 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
65079 * sysdeps/powerpc/fpu/s_fma.S: New file.
65080 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
65081 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
65082 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
65083
65084 2010-10-12 Jakub Jelinek <jakub@redhat.com>
65085
65086 [BZ #3268]
65087 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
65088 fma tests.
65089 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
65090 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
65091 * sysdeps/i386/i686/multiarch/s_fma.c: Include
65092 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
65093 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
65094 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
65095 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
65096
65097 2010-10-12 Ulrich Drepper <drepper@redhat.com>
65098
65099 [BZ #12078]
65100 * posix/regcomp.c (parse_branch): One more memory leak plugged.
65101 * posix/bug-regex31.input: Add test case.
65102
65103 2010-10-11 Ulrich Drepper <drepper@gmail.com>
65104
65105 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
65106 * posix/bug-regex31.input: New file.
65107
65108 [BZ #12078]
65109 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
65110 (parse_sub_exp): Fix last change, use postorder.
65111
65112 * posix/bug-regex31.c: New file.
65113 * posix/Makefile: Add rules to build and run bug-regex31.
65114
65115 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
65116
65117 [BZ #12078]
65118 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
65119
65120 [BZ #12108]
65121 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
65122 to have entries in sys_siglist.
65123
65124 [BZ #12093]
65125 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
65126 be NULL.
65127
65128 2010-10-07 Jakub Jelinek <jakub@redhat.com>
65129
65130 [BZ #3268]
65131 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
65132 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
65133 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
65134 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
65135 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
65136 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
65137 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
65138 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
65139 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
65140 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
65141 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
65142 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
65143 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
65144 * math/ftestexcept.c (fetestexcept): Likewise.
65145 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
65146 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
65147 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
65148 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
65149 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
65150 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
65151 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65152
65153 2010-10-11 Ulrich Drepper <drepper@gmail.com>
65154
65155 [BZ #12107]
65156 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
65157 newline.
65158
65159 2010-10-06 Ulrich Drepper <drepper@gmail.com>
65160
65161 * string/bug-strstr1.c: New file.
65162 * string/Makefile: Add rules to build and run bug-strstr1.
65163
65164 2010-10-05 Eric Blake <eblake@redhat.com>
65165
65166 [BZ #12092]
65167 * string/str-two-way.h (two_way_long_needle): Always clear memory
65168 when skipping input due to the shift table.
65169
65170 2010-10-03 Ulrich Drepper <drepper@gmail.com>
65171
65172 [BZ #12005]
65173 * malloc/mcheck.c: Handle large requests.
65174
65175 [BZ #12077]
65176 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
65177 for strncmp and strncasecmp.
65178 * string/stratcliff.c: Add tests for strcmp and strncmp.
65179 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
65180
65181 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
65182
65183 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
65184 __set_fpscr.
65185
65186 2010-09-30 Andreas Jaeger <aj@suse.de>
65187
65188 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
65189 (CGROUP_SUPER_MAGIC): Define.
65190 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65191 Handle btrfs and cgroup file systems.
65192 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
65193 Likewise.
65194
65195 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
65196
65197 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
65198 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
65199
65200 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
65201
65202 [BZ #12067]
65203 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
65204 trying to locate the ELF header.
65205
65206 2010-09-27 Andreas Schwab <schwab@redhat.com>
65207
65208 [BZ #11611]
65209 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
65210 Mask out sign-bit copies when constructing f_fsid.
65211
65212 2010-09-24 Petr Baudis <pasky@suse.cz>
65213
65214 * debug/stack_chk_fail_local.c: Add missing licence exception.
65215 * debug/warning-nop.c: Likewise.
65216
65217 2010-09-15 Joseph Myers <joseph@codesourcery.com>
65218
65219 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
65220 implementing getdents64 using getdents syscall, set d_type if
65221 __ASSUME_GETDENTS32_D_TYPE.
65222
65223 2010-09-16 Andreas Schwab <schwab@redhat.com>
65224
65225 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
65226 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
65227
65228 2010-09-21 Ulrich Drepper <drepper@redhat.com>
65229
65230 [BZ #12037]
65231 * posix/unistd.h: Undo change of feature selection for ftruncate from
65232 2010-01-11.
65233
65234 2010-09-20 Ulrich Drepper <drepper@redhat.com>
65235
65236 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
65237 detection.
65238
65239 2010-09-20 Andreas Schwab <schwab@redhat.com>
65240
65241 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
65242 fanotify_mark.
65243 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
65244
65245 2010-09-14 Andreas Schwab <schwab@redhat.com>
65246
65247 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
65248 variables after CHECK_SP call.
65249 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
65250
65251 2010-09-13 Andreas Schwab <schwab@redhat.com>
65252 Ulrich Drepper <drepper@redhat.com>
65253
65254 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
65255 re-relocationg ld.so.
65256 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
65257 _dl_init_paths call.
65258 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
65259 here anymore.
65260
65261 2010-09-14 Ulrich Drepper <drepper@redhat.com>
65262
65263 * resolv/res_init.c (__res_vinit): Count the default server we added.
65264
65265 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
65266 Ulrich Drepper <drepper@redhat.com>
65267
65268 [BZ #11968]
65269 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
65270 (____longjmp_chk): Use %ebx for saving value across system call.
65271 Add unwind info.
65272
65273 2010-09-06 Andreas Schwab <schwab@redhat.com>
65274
65275 * manual/Makefile: Don't mix pattern rules with normal rules.
65276
65277 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
65278
65279 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
65280 operation.
65281 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
65282 * libio/iofopncook.c (_IO_cookie_init): Likewise.
65283 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
65284 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
65285 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65286 Likewise.
65287
65288 2010-09-04 Ulrich Drepper <drepper@redhat.com>
65289
65290 [BZ #11979]
65291 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
65292 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
65293
65294 2010-09-02 Ulrich Drepper <drepper@redhat.com>
65295
65296 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
65297 * sysdeps/x86_64/addmul_1.S: Likewise.
65298 * sysdeps/x86_64/lshift.S: Likewise.
65299 * sysdeps/x86_64/mul_1.S: Likewise.
65300 * sysdeps/x86_64/rshift.S: Likewise.
65301 * sysdeps/x86_64/sub_n.S: Likewise.
65302 * sysdeps/x86_64/submul_1.S: Likewise.
65303
65304 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
65305
65306 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
65307 Define __sched_param instead of SCHED_* and sched_param when
65308 <bits/sched.h> is included with __need_schedparam defined.
65309 * bits/sched.h [__need_schedparam]
65310 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
65311 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
65312 (__defined_schedparam): Define to 1.
65313 (__sched_param): New structure, identical to sched_param.
65314 (__need_schedparam): Undefine.
65315
65316 2010-08-31 Mike Frysinger <vapier@gentoo.org>
65317
65318 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
65319 (epoll_create1): Declare.
65320
65321 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
65322
65323 2010-08-31 Andreas Schwab <schwab@redhat.com>
65324
65325 [BZ #7066]
65326 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
65327 shifting retval into place.
65328
65329 2010-09-01 Ulrich Drepper <drepper@redhat.com>
65330
65331 * nis/rpcsvc/nis.h: Update copyright notice.
65332 * nis/rpcsvc/nis.x: Likewise.
65333 * nis/rpcsvc/nis_callback.h: Likewise.
65334 * nis/rpcsvc/nis_callback.x: Likewise.
65335 * nis/rpcsvc/nis_object.x: Likewise.
65336 * nis/rpcsvc/nis_tags.h: Likewise.
65337 * nis/rpcsvc/yp.h: Likewise.
65338 * nis/rpcsvc/yp.x: Likewise.
65339 * nis/rpcsvc/ypupd.h: Likewise.
65340 * nis/yp_xdr.c: Likewise.
65341 * nis/ypupdate_xdr.c: Likewise.
65342
65343 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
65344 mainly the body of pmap_getport. Add parameters to specify timeouts.
65345 (pmap_getport): Use __libc_rpc_getport.
65346 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
65347 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
65348 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
65349
65350 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
65351
65352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
65353 fanotify_mark.
65354
65355 2010-08-27 Roland McGrath <roland@redhat.com>
65356
65357 * sysdeps/i386/i686/multiarch/Makefile
65358 (CFLAGS-varshift.c): New variable.
65359
65360 2010-08-27 Ulrich Drepper <drepper@redhat.com>
65361
65362 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
65363 * sysdeps/i386/i686/multiarch/varshift.c: New file.
65364
65365 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
65366
65367 * sysdeps/x86_64/strlen.S: Minimal code improvement.
65368
65369 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
65370
65371 * sysdeps/x86_64/strlen.S: Unroll the loop.
65372 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65373 strlen-sse2 strlen-sse2-bsf.
65374 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
65375 __strlen_no_bsf if bit_Slow_BSF is set.
65376 (__strlen_sse42): Removed.
65377 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
65378 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
65379
65380 2010-08-25 Roland McGrath <roland@redhat.com>
65381
65382 * sysdeps/x86_64/multiarch/varshift.S: File removed.
65383 * sysdeps/x86_64/multiarch/varshift.c: New file.
65384 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
65385 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
65386 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
65387 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
65388
65389 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
65390
65391 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65392 strlen-sse2 strlen-sse2-bsf.
65393 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
65394 __strlen_sse2_bsf if bit_Slow_BSF is unset.
65395 (__strlen_sse2): Removed.
65396 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
65397 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
65398 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
65399 bit_Slow_BSF for Atom.
65400 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
65401 (index_Slow_BSF): Define.
65402 (HAS_SLOW_BSF): Define.
65403
65404 2010-08-25 Ulrich Drepper <drepper@redhat.com>
65405
65406 [BZ #10851]
65407 * resolv/res_init.c (__res_vinit): When no server address at all
65408 is given default to loopback.
65409
65410 2010-08-24 Roland McGrath <roland@redhat.com>
65411
65412 * configure.in: Remove config-name.h generation.
65413 * configure: Regenerated.
65414 * config-name.in: File removed.
65415 * scripts/config-uname.sh: New file.
65416 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
65417 ($(objdir)config-name.h): New target.
65418
65419 * sunrpc/rpc_parse.h: Avoid nested comment.
65420
65421 2010-08-24 Richard Henderson <rth@redhat.com>
65422 Ulrich Drepper <drepper@redhat.com>
65423 H.J. Lu <hongjiu.lu@intel.com>
65424
65425 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
65426 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
65427 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
65428 Replace _mm_srli_si128 with __m128i_shift_right. Replace
65429 _mm_alignr_epi8 with _mm_loadu_si128.
65430 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
65431 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
65432 (__m128i_shift_right): Removed.
65433 * sysdeps/i386/i686/multiarch/varshift.h: New file.
65434 * sysdeps/i386/i686/multiarch/varshift.S: New file.
65435 * sysdeps/x86_64/multiarch/varshift.h: New file.
65436 * sysdeps/x86_64/multiarch/varshift.S: New file.
65437
65438 2010-08-21 Mike Frysinger <vapier@gentoo.org>
65439
65440 * configure.in: Move assembler checks to before sysdep dir checking.
65441
65442 2010-08-20 Petr Baudis <pasky@suse.cz>
65443
65444 * LICENSES: Sync the sunrpc license.
65445
65446 2010-08-19 Ulrich Drepper <drepper@redhat.com>
65447
65448 * sunrpc/auth_des.c: Update copyright notice once again.
65449 * sunrpc/auth_none.c: Likewise.
65450 * sunrpc/auth_unix.c: Likewise.
65451 * sunrpc/authdes_prot.c: Likewise.
65452 * sunrpc/authuxprot.c: Likewise.
65453 * sunrpc/bindrsvprt.c: Likewise.
65454 * sunrpc/clnt_gen.c: Likewise.
65455 * sunrpc/clnt_perr.c: Likewise.
65456 * sunrpc/clnt_raw.c: Likewise.
65457 * sunrpc/clnt_simp.c: Likewise.
65458 * sunrpc/clnt_tcp.c: Likewise.
65459 * sunrpc/clnt_udp.c: Likewise.
65460 * sunrpc/clnt_unix.c: Likewise.
65461 * sunrpc/des_crypt.c: Likewise.
65462 * sunrpc/des_soft.c: Likewise.
65463 * sunrpc/get_myaddr.c: Likewise.
65464 * sunrpc/getrpcport.c: Likewise.
65465 * sunrpc/key_call.c: Likewise.
65466 * sunrpc/key_prot.c: Likewise.
65467 * sunrpc/openchild.c: Likewise.
65468 * sunrpc/pm_getmaps.c: Likewise.
65469 * sunrpc/pm_getport.c: Likewise.
65470 * sunrpc/pmap_clnt.c: Likewise.
65471 * sunrpc/pmap_prot.c: Likewise.
65472 * sunrpc/pmap_prot2.c: Likewise.
65473 * sunrpc/pmap_rmt.c: Likewise.
65474 * sunrpc/rpc/auth.h: Likewise.
65475 * sunrpc/rpc/auth_unix.h: Likewise.
65476 * sunrpc/rpc/clnt.h: Likewise.
65477 * sunrpc/rpc/des_crypt.h: Likewise.
65478 * sunrpc/rpc/key_prot.h: Likewise.
65479 * sunrpc/rpc/netdb.h: Likewise.
65480 * sunrpc/rpc/pmap_clnt.h: Likewise.
65481 * sunrpc/rpc/pmap_prot.h: Likewise.
65482 * sunrpc/rpc/pmap_rmt.h: Likewise.
65483 * sunrpc/rpc/rpc.h: Likewise.
65484 * sunrpc/rpc/rpc_des.h: Likewise.
65485 * sunrpc/rpc/rpc_msg.h: Likewise.
65486 * sunrpc/rpc/svc.h: Likewise.
65487 * sunrpc/rpc/svc_auth.h: Likewise.
65488 * sunrpc/rpc/types.h: Likewise.
65489 * sunrpc/rpc/xdr.h: Likewise.
65490 * sunrpc/rpc_clntout.c: Likewise.
65491 * sunrpc/rpc_cmsg.c: Likewise.
65492 * sunrpc/rpc_common.c: Likewise.
65493 * sunrpc/rpc_cout.c: Likewise.
65494 * sunrpc/rpc_dtable.c: Likewise.
65495 * sunrpc/rpc_hout.c: Likewise.
65496 * sunrpc/rpc_main.c: Likewise.
65497 * sunrpc/rpc_parse.c: Likewise.
65498 * sunrpc/rpc_parse.h: Likewise.
65499 * sunrpc/rpc_prot.c: Likewise.
65500 * sunrpc/rpc_sample.c: Likewise.
65501 * sunrpc/rpc_scan.c: Likewise.
65502 * sunrpc/rpc_scan.h: Likewise.
65503 * sunrpc/rpc_svcout.c: Likewise.
65504 * sunrpc/rpc_tblout.c: Likewise.
65505 * sunrpc/rpc_util.c: Likewise.
65506 * sunrpc/rpc_util.h: Likewise.
65507 * sunrpc/rpcinfo.c: Likewise.
65508 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
65509 * sunrpc/rpcsvc/key_prot.x: Likewise.
65510 * sunrpc/rpcsvc/klm_prot.x: Likewise.
65511 * sunrpc/rpcsvc/mount.x: Likewise.
65512 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
65513 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
65514 * sunrpc/rpcsvc/rex.x: Likewise.
65515 * sunrpc/rpcsvc/rstat.x: Likewise.
65516 * sunrpc/rpcsvc/rusers.x: Likewise.
65517 * sunrpc/rpcsvc/sm_inter.x: Likewise.
65518 * sunrpc/rpcsvc/spray.x: Likewise.
65519 * sunrpc/rpcsvc/yppasswd.x: Likewise.
65520 * sunrpc/rtime.c: Likewise.
65521 * sunrpc/svc.c: Likewise.
65522 * sunrpc/svc_auth.c: Likewise.
65523 * sunrpc/svc_authux.c: Likewise.
65524 * sunrpc/svc_raw.c: Likewise.
65525 * sunrpc/svc_run.c: Likewise.
65526 * sunrpc/svc_simple.c: Likewise.
65527 * sunrpc/svc_tcp.c: Likewise.
65528 * sunrpc/svc_udp.c: Likewise.
65529 * sunrpc/svc_unix.c: Likewise.
65530 * sunrpc/svcauth_des.c: Likewise.
65531 * sunrpc/xcrypt.c: Likewise.
65532 * sunrpc/xdr.c: Likewise.
65533 * sunrpc/xdr_array.c: Likewise.
65534 * sunrpc/xdr_float.c: Likewise.
65535 * sunrpc/xdr_mem.c: Likewise.
65536 * sunrpc/xdr_rec.c: Likewise.
65537 * sunrpc/xdr_ref.c: Likewise.
65538 * sunrpc/xdr_sizeof.c: Likewise.
65539 * sunrpc/xdr_stdio.c: Likewise.
65540
65541 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
65542 handling.
65543
65544 2010-08-19 Andreas Schwab <schwab@redhat.com>
65545
65546 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
65547
65548 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
65549
65550 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
65551 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
65552 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
65553 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
65554 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
65555 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
65556 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
65557 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
65558 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
65559 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
65560 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
65561 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
65562 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
65563 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
65564
65565 2010-07-26 Anton Blanchard <anton@samba.org>
65566
65567 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
65568 * malloc/arena.c (heap_trim): Likewise.
65569
65570 2010-08-16 Ulrich Drepper <drepper@redhat.com>
65571
65572 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
65573 here. Not...
65574 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
65575 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
65576
65577 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
65578
65579 * sysdeps/i386/elf/Makefile: New file.
65580
65581 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
65582
65583 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
65584 from fanotify_init.
65585 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
65586 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
65587
65588 2010-08-15 Ulrich Drepper <drepper@redhat.com>
65589
65590 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
65591 of strncasecmp_l.
65592 * sysdeps/multiarch/strcmp.S: Likewise.
65593
65594 2010-08-14 Ulrich Drepper <drepper@redhat.com>
65595
65596 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
65597 strncase_l-nonascii.
65598 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
65599 Add strncase_l-ssse3.
65600 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
65601 * sysdeps/x86_64/strcmp.S: Likewise.
65602 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
65603 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
65604 * sysdeps/x86_64/strncase.S: New file.
65605 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
65606 * sysdeps/x86_64/strncase_l.S: New file.
65607 * string/Makefile (strop-tests): Add strncasecmp.
65608 * string/test-strncasecmp.c: New file.
65609
65610 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
65611 warning.
65612
65613 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
65614 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
65615
65616 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
65617
65618 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
65619
65620 2010-08-12 Ulrich Drepper <drepper@redhat.com>
65621
65622 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
65623 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
65624 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
65625
65626 2010-05-01 Alan Modra <amodra@gmail.com>
65627
65628 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
65629 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
65630 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
65631 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
65632 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
65633 tidying. Don't tail-call __sigjmp_save for static lib.
65634 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
65635 save location.
65636 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
65637 (CALL_MCOUNT): Add eh info, and nop after bl.
65638 (TAIL_CALL_SYSCALL_ERROR): New macro.
65639 (PSEUDO_RET): Use it.
65640 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
65641 Correct save location of integer regs and cr.
65642 (_dl_profile_resolve): Correct cr save location. Delete nops
65643 after bl when SHARED. Reduce cfi size a little by better
65644 placement of cfi directives.
65645 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
65646 make a stack frame. Instead use parm save area as a temp.
65647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
65648 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
65649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
65650 Don't make a stack frame for parent, use parm save area.
65651 Increase child stack frame to 112 bytes. Don't save unused reg,
65652 and adjust reg usage. Set up cfi on error recovery and
65653 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
65654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
65655 (__makecontext): Add dummy nop after jump to exit.
65656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
65657 Use correct parm save area and cr save, reduce stack frame.
65658 Correct cfi for possible PSEUDO_RET frame setup.
65659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
65660 Branch to local label emitted by PSEUDO_RET rather than
65661 __syscall_error.
65662
65663 2010-08-12 Andreas Schwab <schwab@redhat.com>
65664
65665 [BZ #11904]
65666 * locale/programs/locale.c (print_assignment): New function.
65667 (show_locale_vars): Use it.
65668
65669 2010-08-11 Ulrich Drepper <drepper@redhat.com>
65670
65671 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
65672 field.
65673 (struct statfs64): Likewise.
65674 (_STATFS_F_FLAGS): Define.
65675 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
65676 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65677 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
65678 (ST_VALID): Define locally.
65679 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
65680 __statvfs_getflags, use the provided value.
65681 * sysdeps/unix/sysv/linux/kernel-features.h: Define
65682 __ASSUME_STATFS_F_FLAGS.
65683
65684 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
65685
65686 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
65687 Add sys/fanotify.h.
65688 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
65689 fanotify_mask for GLIBC_2.13.
65690 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
65691 fanotify_init and fanotify_mark.
65692 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
65693 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
65694
65695 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
65696 Add prlimit.
65697 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
65698 prlimit64 for GLIBC_2.13.
65699 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
65700 prlimit64.
65701 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
65702 syscall.
65703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
65704 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
65705 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
65706 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
65707 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
65708 add prlimit alias.
65709 * sysdeps/unix/sysv/linux/prlimit.c: New file.
65710
65711 [BZ #11903]
65712 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
65713 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
65714
65715 * nss/Makefile: Add rules to build and run tst-nss-test1.
65716 * shlib-versions: Add entry for libnss_test1.
65717 * nss/nss_test1.c: New file.
65718 * nss/tst-nss-test1.c: New file.
65719
65720 * nss/nsswitch.c (__nss_database_custom): Define new variable.
65721 (__nss_configure_lookup): Set appropriate entry in
65722 __nss_configure_lookup to true.
65723 * nss/nsswitch.h: Define enum with indeces of databases in
65724 databases and __nss_database_custom arrays. Declare
65725 __nss_database_custom.
65726 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
65727 to avoid using nscd when custom rules are installed.
65728 * nss/getXXbyYY_r.c: Likewise.
65729 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
65730
65731 * nss/nss_files/files-parse.c: Whitespace fixes.
65732
65733 2010-08-09 Ulrich Drepper <drepper@redhat.com>
65734
65735 [BZ #11883]
65736 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
65737 * posix/fnmatch_loop.c: Likewise.
65738
65739 2010-07-17 Andi Kleen <ak@linux.intel.com>
65740
65741 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
65742 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
65743 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
65744 * Versions.def [GLIBC_2.13]: Add.
65745
65746 2010-08-06 Ulrich Drepper <drepper@redhat.com>
65747
65748 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
65749 Also fail if tpwd after pwuid call is NULL.
65750
65751 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
65752
65753 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
65754 when converting to ms.
65755
65756 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
65757
65758 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
65759 EOPNOTSUPP errors with ENOTTY.
65760 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
65761 EOPNOTSUPP errors with ENOTTY.
65762
65763 2010-07-31 Ulrich Drepper <drepper@redhat.com>
65764
65765 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
65766 Add strcasecmp_l-ssse3.
65767 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
65768 strcasecmp.
65769 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
65770 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
65771 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
65772
65773 2010-07-30 Ulrich Drepper <drepper@redhat.com>
65774
65775 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
65776
65777 * string/Makefile (strop-tests): Add strcasecmp.
65778 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
65779 strcasecmp_l-nonascii.
65780 (gen-as-const-headers): Add locale-defines.sym.
65781 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
65782 * sysdeps/x86_64/strcasecmp.S: New file.
65783 * sysdeps/x86_64/strcasecmp_l.S: New file.
65784 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
65785 * sysdeps/x86_64/locale-defines.sym: New file.
65786 * string/test-strcasecmp.c: New file.
65787
65788 * string/test-strcasestr.c: Test both ends of the range of characters.
65789 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
65790
65791 2010-07-29 Roland McGrath <roland@redhat.com>
65792
65793 [BZ #11856]
65794 * manual/locale.texi (Yes-or-No Questions): Fix example code.
65795
65796 2010-07-27 Ulrich Drepper <drepper@redhat.com>
65797
65798 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
65799 for ld.so.
65800
65801 2010-07-27 Andreas Schwab <schwab@redhat.com>
65802
65803 * manual/memory.texi (Malloc Tunable Parameters): Document
65804 M_PERTURB.
65805
65806 2010-07-26 Roland McGrath <roland@redhat.com>
65807
65808 [BZ #11840]
65809 * configure.in (-fgnu89-inline check): Set and substitute
65810 gnu89_inline, not libc_cv_gnu89_inline.
65811 * configure: Regenerated.
65812 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
65813
65814 2010-07-26 Ulrich Drepper <drepper@redhat.com>
65815
65816 * string/test-strnlen.c: New file.
65817 * string/Makefile (strop-tests): Add strnlen.
65818 * string/tester.c (test_strnlen): Add a few more test cases.
65819 * string/tst-strlen.c: Better error reporting.
65820
65821 * sysdeps/x86_64/strnlen.S: New file.
65822
65823 2010-07-24 Ulrich Drepper <drepper@redhat.com>
65824
65825 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
65826 lower-latency instructions.
65827
65828 2010-07-23 Ulrich Drepper <drepper@redhat.com>
65829
65830 * string/test-strcasestr.c: New file.
65831 * string/test-strstr.c: New file.
65832 * string/Makefile (strop-tests): Add strstr and strcasestr.
65833 * string/str-two-way.h: Don't undefine MAX.
65834 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
65835
65836 2010-07-21 Andreas Schwab <schwab@redhat.com>
65837
65838 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65839 strcasestr-nonascii.
65840 (CFLAGS-strcasestr-nonascii.c): Define.
65841 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
65842 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
65843 Remove unused attribute.
65844
65845 2010-07-20 Roland McGrath <roland@redhat.com>
65846
65847 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
65848 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
65849 ld.so.cache was broken. With it, there is no way to disable dsocaps
65850 like LD_HWCAP_MASK can disable hwcaps.
65851
65852 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
65853
65854 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
65855
65856 2010-07-16 Ulrich Drepper <drepper@redhat.com>
65857
65858 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
65859 call in strcasestr.
65860 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
65861 __strcasestr_sse42_nonascii.
65862 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
65863 strcasestr-nonascii.c.
65864 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
65865
65866 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
65867
65868 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
65869 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
65870 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
65871 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
65872
65873 2010-07-09 Ulrich Drepper <drepper@redhat.com>
65874
65875 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
65876 fcntl.
65877
65878 2010-07-06 Andreas Schwab <schwab@redhat.com>
65879
65880 [BZ #11577]
65881 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
65882 dl_signal_cerror.
65883
65884 2010-07-06 Ulrich Drepper <drepper@redhat.com>
65885
65886 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
65887 _PC_PIPE_BUF using F_GETPIPE_SZ.
65888
65889 2010-07-05 Roland McGrath <roland@redhat.com>
65890
65891 * manual/arith.texi (Rounding Functions): Fix rint description
65892 implicit in round description.
65893
65894 2010-07-02 Ulrich Drepper <drepper@redhat.com>
65895
65896 * elf/Makefile: Fix linking for a few tests to make recent linker
65897 happy.
65898
65899 2010-06-30 Andreas Schwab <schwab@redhat.com>
65900
65901 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
65902 $(common-objpfx)libc_nonshared.a.
65903
65904 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
65905
65906 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
65907 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
65908 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
65909 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
65910 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
65911 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
65912 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
65913 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
65914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
65915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
65916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
65917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
65918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
65919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
65920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
65921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
65922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
65923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
65924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
65925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
65926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
65927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
65928 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
65929 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
65930 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
65931 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
65932 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
65933 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
65934 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
65935 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
65936 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
65937 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
65938 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
65939 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
65940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
65941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
65942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
65943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
65944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
65945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
65946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
65947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
65948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
65949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
65950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
65951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
65952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
65953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
65954
65955 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
65956
65957 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
65958 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
65959 * string/memmove.c (memmove): Renamed to ...
65960 (MEMMOVE): ...this. Default to memmove.
65961 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
65962 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
65963 (END_CHK): Define.
65964 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65965 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
65966 mempcpy-ssse3-back memmove-ssse3-back.
65967 * sysdeps/x86_64/multiarch/bcopy.S: New file .
65968 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
65969 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
65970 * sysdeps/x86_64/multiarch/memcpy.S: New file.
65971 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
65972 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
65973 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
65974 * sysdeps/x86_64/multiarch/memmove.c: New file.
65975 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
65976 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
65977 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
65978 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
65979 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
65980 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
65981 Define.
65982 (index_Fast_Copy_Backward): Define.
65983 (HAS_ARCH_FEATURE): Define.
65984 (HAS_FAST_REP_STRING): Define.
65985 (HAS_FAST_COPY_BACKWARD): Define.
65986
65987 2010-06-21 Andreas Schwab <schwab@redhat.com>
65988
65989 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
65990 Restore proper fallback handling.
65991
65992 2010-06-19 Ulrich Drepper <drepper@redhat.com>
65993
65994 [BZ #11701]
65995 * posix/group_member.c (__group_member): Correct checking loop.
65996
65997 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
65998 OOM in getpwuid_r correctly. Return error number when the caller
65999 should return, otherwise -1.
66000 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
66001 call returning > 0 value.
66002 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
66003
66004 2010-06-07 Andreas Schwab <schwab@redhat.com>
66005
66006 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
66007 libc_nonshared.a from targets in modules-names.
66008
66009 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
66010
66011 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
66012 requires it.
66013
66014 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
66015
66016 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
66017 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
66018 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
66019 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
66020
66021 2010-06-02 Andreas Schwab <schwab@redhat.com>
66022
66023 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
66024
66025 2010-06-14 Ulrich Drepper <drepper@redhat.com>
66026
66027 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
66028 and F_GETPIPE_SZ.
66029 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
66030 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
66031 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
66032 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
66033 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
66034 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
66035
66036 2010-06-14 Roland McGrath <roland@redhat.com>
66037
66038 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
66039
66040 2010-06-07 Jakub Jelinek <jakub@redhat.com>
66041
66042 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
66043 __REDIRECT followed by __THROW.
66044 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
66045 * posix/getopt.h (getopt): Likewise.
66046
66047 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
66048
66049 * hurd/lookup-at.c (__file_name_lookup_at): Accept
66050 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
66051 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
66052 in AT_FLAGS.
66053 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
66054 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
66055
66056 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
66057
66058 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
66059
66060 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
66061
66062 [BZ #11640]
66063 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66064 Properly check family and model.
66065
66066 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
66067
66068 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
66069
66070 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
66071
66072 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
66073
66074 2010-05-21 Ulrich Drepper <drepper@redhat.com>
66075
66076 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
66077 symbol reference.
66078
66079 2010-05-19 Andreas Schwab <schwab@redhat.com>
66080
66081 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
66082 symbol reference.
66083
66084 2010-05-21 Andreas Schwab <schwab@redhat.com>
66085
66086 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
66087 and internal_recvmmsg.
66088 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
66089 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
66090 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
66091 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
66092
66093 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
66094 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
66095 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
66096
66097 2010-05-20 Andreas Schwab <schwab@redhat.com>
66098
66099 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
66100
66101 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
66102
66103 POWER7 optimizations.
66104 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
66105 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
66106
66107 2010-05-19 Ulrich Drepper <drepper@redhat.com>
66108
66109 * version.h: Update for 2.13 development version.
66110
66111 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
66112
66113 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
66114 exceptions. Return 0.
66115
66116 2010-05-07 Roland McGrath <roland@redhat.com>
66117
66118 * elf/ldconfig.c (main): Add a const.
66119
66120 2010-05-06 Ulrich Drepper <drepper@redhat.com>
66121
66122 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
66123 (args_options): Add no-idn option.
66124 (ahosts_keys_int): Add idn_flags to ai_flags.
66125 (parse_option): Handle 'i' option to clear idn_flags.
66126
66127 * malloc/malloc.c (_int_free): Possible race in the most recently
66128 added check. Only act on the data if no current modification
66129 happened.
66130
66131 See ChangeLog.17 for earlier changes.