1 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3 * math/libm-test.inc (struct test_sincos_data): New type.
4 (RUN_TEST_LOOP_sincos): New macro.
5 (sincos_test_data): New variable.
6 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8 2013-05-16 Richard Henderson <rth@redhat.com>
10 * math/atest-exp2.c (LIMB64): New macro.
12 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14 (print_mpn_fp): ... to function scope.
15 (read_mpn_hex): Remove.
17 (exp2_mpn): Use mp_log2.
20 2013-05-16 Joseph Myers <joseph@codesourcery.com>
22 * math/libm-test.inc: Remove comment about not testing "inexact"
24 (INEXACT_EXCEPTION): New macro.
25 (NO_INEXACT_EXCEPTION): Likewise.
26 (INVALID_EXCEPTION_OK): Update value.
27 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28 (OVERFLOW_EXCEPTION_OK): Likewise.
29 (UNDERFLOW_EXCEPTION_OK): Likewise.
30 (IGNORE_ZERO_INF_SIGN): Likewise.
31 (ERRNO_UNCHANGED): Likewise.
32 (ERRNO_EDOM): Likewise.
33 (ERRNO_ERANGE): Likewise.
34 (test_exceptions): Handle testing "inexact" exceptions.
35 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
36 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
37 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
38 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
40 (rint_towardzero_test_data): Likewise.
41 (rint_downward_test_data): Likewise.
42 (rint_upward_test_data): Likewise.
44 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
45 with OVERFLOW_EXCEPTION.
46 (exp10_test_data): Likewise.
47 (exp2_test_data): Likewise.
48 (expm1_test_data): Likewise.
49 (lgamma_test_data): Likewise.
50 (pow_test_data): Likewise.
51 (tgamma_test_data): Likewise.
52 (yn_test_data): Remove duplicate test of overflow.
54 * math/libm-test.inc (struct test_cc_c_data): New type.
55 (RUN_TEST_LOOP_cc_c): New macro.
56 (cpow_test_data): New variable.
57 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
59 * math/libm-test.inc (struct test_f_L_data): New type.
60 (RUN_TEST_LOOP_f_L): New macro.
61 (llrint_test_data): New variable.
62 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
63 (llrint_tonearest_test_data): New variable.
64 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
65 (llrint_towardzero_test_data): New variable.
66 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
67 (llrint_downward_test_data): New variable.
68 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
69 (llrint_upward_test_data): New variable.
70 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
71 (llround_test_data): New variable.
72 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
74 2013-05-13 Peter Collingbourne <pcc@google.com>
76 * math/atest-exp2.c (get_log2): Remove const attribute.
78 2013-05-15 Joseph Myers <joseph@codesourcery.com>
80 * math/libm-test.inc (struct test_f_l_data): New type.
81 (RUN_TEST_LOOP_f_l): New macro.
82 (lrint_test_data): New variable.
83 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
84 (lrint_tonearest_test_data): New variable.
85 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
86 (lrint_towardzero_test_data): New variable.
87 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
88 (lrint_downward_test_data): New variable.
89 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
90 (lrint_upward_test_data): New variable.
91 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
92 (lround_test_data): New variable.
93 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
95 2013-05-15 Peter Collingbourne <pcc@google.com>
97 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
98 (EXTRACT_WORDS64) Use where appropriate.
99 (INSERT_WORDS64) Likewise.
101 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
102 constraints with x constraints.
103 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
105 * malloc/obstack.c (_obstack_compat): Add initializer.
107 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
109 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
110 si_trapno and add si_addr_lsb to _sifields.sigfault.
111 (si_trapno): Remove macro.
112 (si_addr_lsb): Define new macro.
113 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
115 2013-05-15 Joseph Myers <joseph@codesourcery.com>
117 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
119 (llrint_test_tonearest): Likewise.
120 (llrint_test_towardzero): Likewise.
121 (llrint_test_downward): Likewise.
122 (llrint_test_upward): Likewise.
123 (llround_test): Likewise.
125 * math/libm-test.inc (struct test_f_i_data): Add comment.
126 (RUN_TEST_LOOP_f_b): New macro.
127 (RUN_TEST_LOOP_f_b_tg): Likewise.
128 (finite_test_data): New variable.
129 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
130 (isfinite_test_data): New variable.
131 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
132 (isinf_test_data): New variable.
133 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
134 (isnan_test_data): New variable.
135 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
136 (isnormal_test_data): New variable.
137 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
138 (issignaling_test_data): New variable.
139 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
140 (signbit_test_data): New variable.
141 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
143 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
144 with INVALID_EXCEPTION.
145 (acosh_test_data): Likewise.
146 (asin_test_data): Likewise.
147 (atanh_test_data): Likewise.
148 (fmod_test_data): Likewise.
149 (log_test_data): Likewise.
150 (log10_test_data): Likewise.
151 (log2_test_data): Likewise.
152 (pow_test_data): Likewise.
153 (sqrt_test_data): Likewise.
154 (y0_test_data): Likewise.
155 (y1_test_data): Likewise.
156 (yn_test_data): Likewise.
158 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
161 * math/libm-test.inc (struct test_ff_i_data): New type.
162 (RUN_TEST_LOOP_ff_i_tg): New macro.
163 (isgreater_test_data): New variable.
164 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
165 (isgreaterequal_test_data): New variable.
166 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
167 (isless_test_data): New variable.
168 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
169 (islessequal_test_data): New variable.
170 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
171 (islessgreater_test_data): New variable.
172 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
173 (isunordered_test_data): New variable.
174 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
176 2013-05-14 David S. Miller <davem@davemloft.net>
178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
180 2013-05-14 Joseph Myers <joseph@codesourcery.com>
182 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
184 * math/libm-test.inc (struct test_fF_f1_data): Change type of
186 (struct test_f_i_data): Change type of max_ulp to int.
188 * math/libm-test.inc (test_ffI_f1_data): New type.
189 (RUN_TEST_LOOP_ffI_f1): New macro.
190 (remquo_test_data): New variable.
191 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
193 * setjmp/tst-setjmp-fp.c: New file.
194 * setjmp/Makefile (tests): Add tst-setjmp-fp.
195 (link-libm): New variable.
196 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
198 * math/libm-test.inc (struct test_f_i_data): New type.
199 (RUN_TEST_LOOP_f_i): New macro.
200 (RUN_TEST_LOOP_f_i_tg): Likewise.
201 (fpclassify_test_data): New variable.
202 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
203 (ilogb_test_data): New variable.
204 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
206 * math/libm-test.inc (scalbln_test): Correct function name in END
209 * math/libm-test.inc (struct test_f_f1_data): Add comment.
210 (RUN_TEST_LOOP_fI_f1): New macro.
211 (frexp_test_data): New variable.
212 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
214 * math/libm-test.inc (struct test_fF_f1_data): New type.
215 (RUN_TEST_LOOP_fF_f1): New macro.
216 (modf_test_data): New variable.
217 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
219 * math/libm-test.inc (struct test_f_f1_data): New type.
220 (RUN_TEST_LOOP_f_f1): New macro.
221 (gamma_test_data): New variable.
222 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
223 (lgamma_test_data): New variable.
224 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
226 2013-05-13 Carlos O'Donell <carlos@redhat.com>
228 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
229 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
230 (main): Comment "tls" pseudo-hwcap.
232 2013-05-13 Joseph Myers <joseph@codesourcery.com>
234 * math/libm-test.inc (struct test_fl_f_data): New type.
235 (RUN_TEST_LOOP_fl_f): New variable.
236 (scalbln_test_data): New variable.
237 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
239 * math/libm-test.inc (struct test_fi_f_data): New type.
240 (RUN_TEST_LOOP_fi_f): New macro.
241 (ldexp_test_data): New variable.
242 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
243 (scalbn_test_data): New variable.
244 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
246 * math/libm-test.inc (struct test_c_f_data): New type.
247 (RUN_TEST_LOOP_c_f): New macro.
248 (cabs_test_data): New variable.
249 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
250 (carg_test_data): New variable.
251 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
252 (cimag_test_data): New variable.
253 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
254 (creal_test_data): New variable.
255 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
257 * math/libm-test.inc (struct test_if_f_data): New type.
258 (RUN_TEST_LOOP_if_f): New macro.
259 (jn_test_data): New variable.
260 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
261 (yn_test_data): New variable.
262 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
264 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
266 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
268 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
269 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
271 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
273 * benchtests/Makefile (CPPFLAGS-nonlib): Add
274 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
275 (bench-deps): Add bench-timing.h.
276 * benchtests-bench-skeleton.c: Include bench-timing.h.
277 (main): Use TIMING_* macros instead of clock_gettime.
278 * benchtests/bench-timing.h: New file.
281 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
282 Renamed from _LIB_VERSION.
283 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
285 2013-05-12 Joseph Myers <joseph@codesourcery.com>
287 * math/libm-test.inc (struct test_fff_f_data): New type.
288 (RUN_TEST_LOOP_fff_f): New macro.
289 (fma_test_data): New variable.
290 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
291 (fma_towardzero_test_data): New variable.
292 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
293 (fma_downward_test_data): New variable.
294 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
295 (fma_upward_test_data): New variable.
296 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
298 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
299 (struct test_c_c_data): New type.
300 (RUN_TEST_LOOP_c_c): New macro.
301 (cacos_test_data): New variable.
302 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
303 (cacosh_test_data): New variable.
304 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
305 (casin_test_data): New variable.
306 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
307 (casinh_test_data): New variable.
308 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
309 (catan_test_data): New variable.
310 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
311 (catanh_test_data): New variable.
312 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
313 (ccos_test_data): New variable.
314 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
315 (ccosh_test_data): New variable.
316 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
317 (cexp_test_data): New variable.
318 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
319 (clog_test_data): New variable.
320 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
321 (clog10_test_data): New variable.
322 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
323 (conj_test_data): New variable.
324 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
325 (cproj_test_data): New variable.
326 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
327 (csin_test_data): New variable.
328 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
329 (csinh_test_data): New variable.
330 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
331 (csqrt_test_data): New variable.
332 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
333 (ctan_test_data): New variable.
334 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
335 (ctan_tonearest_test_data): New variable.
336 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
337 (ctan_towardzero_test_data): New variable.
338 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
339 (ctan_downward_test_data): New variable.
340 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
341 (ctan_upward_test_data): New variable.
342 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
343 (ctanh_test_data): New variable.
344 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
345 (ctanh_tonearest_test_data): New variable.
346 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
347 (ctanh_towardzero_test_data): New variable.
348 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
349 (ctanh_downward_test_data): New variable.
350 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
351 (ctanh_upward_test_data): New variable.
352 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
353 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
356 * math/libm-test.inc (struct test_ff_f_data): New type.
357 (struct test_ff_f_data_nexttoward): Likewise.
358 (RUN_TEST_LOOP_2_f): New macro.
359 (RUN_TEST_LOOP_ff_f): Likewise.
360 (atan2_test_data): New variable.
361 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
362 (copysign_test_data): New variable.
363 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
364 (fdim_test_data): New variable.
365 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
366 (fmax_test_data): New variable.
367 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
368 (fmin_test_data): New variable.
369 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
370 (fmod_test_data): New variable.
371 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
372 (hypot_test_data): New variable.
373 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
374 (nextafter_test_data): New variable.
375 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
376 (nexttoward_test_data): New variable.
377 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
378 (pow_test_data): New variable.
379 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
380 (pow_tonearest_test_data): New variable.
381 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
382 (pow_towardzero_test_data): New variable.
383 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
384 (pow_downward_test_data): New variable.
385 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
386 (pow_upward_test_data): New variable.
387 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
388 (remainder_test_data): New variable.
389 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
390 (scalb_test_data): New variable.
391 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
392 * sysdeps/i386/fpu/libm-test-ulps: Update.
394 2013-05-11 Joseph Myers <joseph@codesourcery.com>
396 * math/libm-test.inc (fma_test): Use max_value instead of local
398 (nextafter_test): Likewise.
400 * math/libm-test.inc (acos_towardzero_test_data): New variable.
401 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
402 (acos_downward_test_data): New variable.
403 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
404 (acos_upward_test_data): New variable.
405 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
406 (acosh_test_data): New variable.
407 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
408 (asin_test_data): New variable.
409 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
410 (asin_tonearest_test_data): New variable.
411 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
412 (asin_towardzero_test_data): New variable.
413 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
414 (asin_downward_test_data): New variable.
415 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
416 (asin_upward_test_data): New variable.
417 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
418 (asinh_test_data): New variable.
419 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
420 (atan_test_data): New variable.
421 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
422 (atanh_test_data): New variable.
423 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
424 (cbrt_test_data): New variable.
425 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
426 (ceil_test_data): New variable.
427 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
428 (cos_test_data): New variable.
429 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
430 (cos_tonearest_test_data): New variable.
431 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
432 (cos_towardzero_test_data): New variable.
433 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
434 (cos_downward_test_data): New variable.
435 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
436 (cos_upward_test_data): New variable.
437 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
438 (cosh_test_data): New variable.
439 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
440 (cosh_tonearest_test_data): New variable.
441 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
442 (cosh_towardzero_test_data): New variable.
443 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
444 (cosh_downward_test_data): New variable.
445 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
446 (cosh_upward_test_data): New variable.
447 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
448 (erf_test_data): New variable.
449 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
450 (erfc_test_data): New variable.
451 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
452 (exp_test_data): New variable.
453 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
454 (exp_tonearest_test_data): New variable.
455 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
456 (exp_towardzero_test_data): New variable.
457 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
458 (exp_downward_test_data): New variable.
459 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
460 (exp_upward_test_data): New variable.
461 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
462 (exp10_test_data): New variable.
463 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
464 (exp2_test_data): New variable.
465 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
466 (expm1_test_data): New variable.
467 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
468 (fabs_test_data): New variable.
469 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
470 (floor_test_data): New variable.
471 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
472 (j0_test_data): New variable.
473 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
474 (j1_test_data): New variable.
475 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
476 (log_test_data): New variable.
477 (log_test): Run tests with RUN_TEST_LOOP_f_f.
478 (log10_test_data): New variable.
479 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
480 (log1p_test_data): New variable.
481 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
482 (log2_test_data): New variable.
483 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
484 (logb_test_data): New variable.
485 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
486 (logb_downward_test_data): New variable.
487 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
488 (nearbyint_test_data): New variable.
489 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
490 (rint_test_data): New variable.
491 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
492 (rint_tonearest_test_data): New variable.
493 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
494 (rint_towardzero_test_data): New variable.
495 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
496 (rint_downward_test_data): New variable.
497 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
498 (rint_upward_test_data): New variable.
499 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
500 (round_test_data): New variable.
501 (round_test): Run tests with RUN_TEST_LOOP_f_f.
502 (sin_test_data): New variable.
503 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
504 (sin_tonearest_test_data): New variable.
505 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
506 (sin_towardzero_test_data): New variable.
507 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
508 (sin_downward_test_data): New variable.
509 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
510 (sin_upward_test_data): New variable.
511 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
512 (sinh_test_data): New variable.
513 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
514 (sinh_tonearest_test_data): New variable.
515 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
516 (sinh_towardzero_test_data): New variable.
517 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
518 (sinh_downward_test_data): New variable.
519 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
520 (sinh_upward_test_data): New variable.
521 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
522 (sqrt_test_data): New variable.
523 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
524 (tan_test_data): New variable.
525 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
526 (tan_tonearest_test_data): New variable.
527 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
528 (tan_towardzero_test_data): New variable.
529 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
530 (tan_downward_test_data): New variable.
531 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
532 (tan_upward_test_data): New variable.
533 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
534 (tanh_test_data): New variable.
535 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
536 (tgamma_test_data): New variable.
537 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
538 (trunc_test_data): New variable.
539 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
540 (y0_test_data): New variable.
541 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
542 (y1_test_data): New variable.
543 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
544 (significand_test_data): New variable.
545 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
547 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
550 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
552 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
554 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
556 2013-05-10 Andreas Jaeger <aj@suse.de>
559 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
560 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
562 2013-05-10 Joseph Myers <joseph@codesourcery.com>
564 * math/gen-libm-test.pl (adjust_arg): New function.
565 (special_functions): Handle generating output in both functions
567 (parse_args): Likewise.
568 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
569 $in_func argument to parse_args.
570 * math/libm-test.inc (struct test_f_f_data): New type.
571 (IF_ROUND_INIT_): New macro.
572 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
573 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
574 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
575 (IF_ROUND_INIT_FE_UPWARD): Likewise.
576 (ROUND_RESTORE_): Likewise.
577 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
578 (ROUND_RESTORE_FE_TONEAREST): Likewise.
579 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
580 (ROUND_RESTORE_FE_UPWARD): Likewise.
581 (RUN_TEST_LOOP_f_f): New macro.
582 (acos_test_data): New variable.
583 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
584 (acos_tonearest_test_data): New variable.
585 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
587 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
589 * benchtests/bench-skeleton.c (startup): Fix coding style.
591 2013-05-10 Joseph Myers <joseph@codesourcery.com>
594 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
595 negative infinity argument.
596 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
597 negative infinity argument.
598 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
599 negative infinity argument.
600 * math/libm-test.inc (tgamma_test): Expect errno to be set for
603 2013-05-10 Florian Weimer <fweimer@redhat.com>
605 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
606 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
607 * iconv/iconv_prog.c (main): Likewise.
608 * locale/programs/charmap-dir.c (charmap_readdir)
609 (fopen_uncompressed): Likewise.
610 * locale/programs/locfile.c (siblings_uncached)
611 (write_locale_data): Use lstat64 instead of lstat.
612 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
615 2013-05-10 Andreas Jaeger <aj@suse.de>
618 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
622 2013-05-09 Carlos O'Donell <carlos@redhat.com>
624 * elf/dl-close.c (_dl_close_worker): Add comments.
626 2013-05-09 Joseph Myers <joseph@codesourcery.com>
629 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
631 (__ieee754_rem_pio2l): Update comments.
634 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
636 (__ieee754_rem_pio2l): Update comments.
638 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
639 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
641 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
644 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
645 (M_PI_34_LOG10El): Likewise.
646 (M_PI2_LOG10El): Likewise.
647 (M_PI4_LOG10El): Likewise.
648 (M_PI_LOG10El): Likewise.
650 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
654 2013-05-08 Joseph Myers <joseph@codesourcery.com>
656 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
657 (MINUS_ZERO_INIT): Likewise.
658 (PLUS_INFTY_INIT): Likewise.
659 (MINUS_INFTY_INIT): Likewise.
660 (QNAN_VALUE_INIT): Likewise.
661 (MAX_VALUE_INIT): Likewise.
662 (MIN_VALUE_INIT): Likewise.
663 (MIN_SUBNORM_VALUE_INIT): Likewise.
664 (plus_zero): Initialize with PLUS_ZERO_INIT.
665 (minus_zero): Initialize with MINUS_ZERO_INIT.
666 (plus_infty): Initialize with PLUS_INFTY_INIT.
667 (minus_infty): Initialize with MINUS_INFTY_INIT.
668 (qnan_value): Initialize with QNAN_VALUE_INIT.
669 (max_value): Initialize with MAX_VALUE_INIT.
670 (min_value): Initialize with MIN_VALUE_INIT.
671 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
673 * math/libm-test.inc (RUN_TEST_if_f): New macro.
674 (jn_test): Use TEST_if_f instead of TEST_ff_f.
675 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
676 (yn_test): Use TEST_if_f instead of TEST_ff_f.
678 * math/libm-test.inc (RUN_TEST_f_f): New macro.
679 (RUN_TEST_2_f): Likewise.
680 (RUN_TEST_ff_f): Likewise.
681 (RUN_TEST_fi_f): Likewise.
682 (RUN_TEST_fl_f): Likewise.
683 (RUN_TEST_fff_f): Likewise.
684 (RUN_TEST_c_f): Likewise.
685 (RUN_TEST_f_f1): Likewise.
686 (RUN_TEST_fF_f1): Likewise.
687 (RUN_TEST_fI_f1): Likewise.
688 (RUN_TEST_ffI_f1): Likewise.
689 (RUN_TEST_c_c): Likewise.
690 (RUN_TEST_cc_c): Likewise.
691 (RUN_TEST_f_i): Likewise.
692 (RUN_TEST_f_i_tg): Likewise.
693 (RUN_TEST_ff_i_tg): Likewise.
694 (RUN_TEST_f_b): Likewise.
695 (RUN_TEST_f_b_tg): Likewise.
696 (RUN_TEST_f_l): Likewise.
697 (RUN_TEST_f_L): Likewise.
698 (RUN_TEST_sincos): Likewise.
699 * math/gen-libm-test.pl (new_test): Take new argument to indicate
700 whether to show exceptions. Do not include ");\n" in return
702 (special_functions): Output call to RUN_TEST_sincos instead of
703 check_float calls. Update calls to new_test.
704 (parse_args): Output call to single RUN_TEST_* macro instead of
705 check_* calls and other assignments. Update calls to new_test.
711 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
712 input to result for tgamma overflow.
713 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
714 (gamma_coeff): New variable.
716 (gamma_positive): New function.
717 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
718 underflow here. Use gamma_positive instead of exp (lgamma) for
720 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
721 (gamma_coeff): New variable.
723 (gammaf_positive): New function.
724 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
725 underflow here. Use gamma_positive instead of exp (lgamma) for
727 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
728 (gamma_coeff): New variable.
730 (gammal_positive): New function.
731 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
732 underflow here. Use gamma_positive instead of exp (lgamma) for
734 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
735 (gamma_coeff): New variable.
737 (gammal_positive): New function.
738 (__ieee754_gammal_r): Handle positive infinity, overflow and
739 underflow here. Handle NaN the same as positive infinity. Remove
740 check x < 0xffffffff for negative integers. Use gamma_positive
741 instead of exp (lgamma) for other arguments.
742 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
743 (gamma_coeff): New variable.
745 (gammal_positive): New function.
746 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
747 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
748 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
749 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
750 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
751 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
752 * sysdeps/generic/math_private.h (__gamma_productf): New
754 (__gamma_product): Likewise.
755 (__gamma_productl): Likewise.
756 * math/Makefile (libm-calls): Add gamma_product.
757 * math/libm-test.inc (tgamma_test): Add more tests.
758 * sysdeps/i386/fpu/libm-test-ulps: Update.
759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
761 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
763 * benchtests/bench-skeleton.c (main): Preheat CPU.
765 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
767 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
769 2013-05-07 Roland McGrath <roland@hack.frob.com>
771 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
772 and _dl_skip_args_internal.
774 2013-05-07 Carlos O'Donell <carlos@redhat.com>
776 * manual/message.texi (Message Translation): Talk about users.
777 Message to key mapping impacts design.
779 2013-05-06 Roland McGrath <roland@hack.frob.com>
781 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
783 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
785 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
786 * sysdeps/wordsize-64/glob64.c: ... here.
788 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
789 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
792 * debug/getlogin_r_chk.c: Moved to ...
793 * login/getlogin_r_chk.c: ... here.
794 * debug/Makefile (routines): Move getlogin_r_chk to ...
795 * login/Makefile (routines): ... here.
796 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
797 * login/Versions (libc: GLIBC_2.4): ... here.
799 * io/poll.c (__poll): Renamed from poll.
801 (poll): Define as weak alias.
803 * debug/ptsname_r_chk.c: Moved to ...
804 * login/ptsname_r_chk.c: ... here.
805 * debug/Makefile (routines): Move ptsname_r_chk to ...
806 * login/Makefile (routines): ... here.
807 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
808 * login/Versions (libc: GLIBC_2.4): ... here.
810 * posix/getlogin.c: Moved to ...
811 * login/getlogin.c: ... here.
812 * posix/getlogin_r.c: Moved to ...
813 * login/getlogin_r.c: ... here.
814 * posix/getlogin_r.c: Moved to ...
815 * login/getlogin_r.c: ... here.
816 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
817 * login/Makefile (routines): ... here.
818 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
819 * login/Versions (libc: GLIBC_2.0): ... here.
821 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
822 (setrlimit): Define as weak alias.
824 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
825 Call __ names for open, ftruncate, and close.
826 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
827 (truncate): Define as weak alias.
829 2013-05-06 Joseph Myers <joseph@codesourcery.com>
831 * math/gen-libm-test.pl (parse_args): Initialize x before each
832 test of frexp, modf and remquo.
834 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
837 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
841 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
843 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
845 2013-05-06 Roland McGrath <roland@hack.frob.com>
847 * elf/dl-writev.h: New file.
848 * elf/dl-misc.c: Include it.
849 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
850 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
852 2013-05-04 Joseph Myers <joseph@codesourcery.com>
854 * math/libm-test.inc (noXFails): Remove variable.
855 (noXPasses): Likewise.
856 (BUILD_COMPLEX_INT): Remove macro.
857 (print_screen): Remove xfail argument.
858 (print_screen_max_error): Likewise.
859 (update_stats): Likewise.
860 (print_max_error): Likewise. Update calls to other affected
862 (print_complex_max_error): Likewise.
863 (test_single_exception): Update calls to print_screen.
864 (test_single_errno): Likewise.
865 (check_float_internal): Remove xfail argument. Update calls to
866 other affected functions.
867 (check_float): Likewise.
868 (check_complex): Likewise.
869 (check_int): Likewise.
870 (check_long): Likewise.
871 (check_bool): Likewise.
872 (check_longlong): Likewise.
873 (main): Don't print noXFails and noXPasses.
874 * math/gen-libm-test.pl (top level): Don't mention expected
875 failure handling in comment.
876 (new_test): Don't handle expected failures.
877 (parse_args): Don't mention expected failure handling in comment.
878 (generate_testfile): Don't handle expected failures.
879 (parse_ulps): Likewise.
880 (print_ulps_file): Likewise.
881 (get_failure): Remove function.
882 (output_test): Don't handle expected failures.
883 * make/README.libm-test: Don't mention expected failure handling.
885 * math/libm-test.inc (plus_zero): Make const. Add initializer.
886 (minus_zero): Likewise.
887 (plus_infty): Likewise.
888 (minus_infty): Likewise.
889 (qnan_value): Likewise.
890 (max_value): Likewise.
891 (min_value): Likewise.
892 (min_subnorm_value): Likewise.
893 (initialize): Do not initialize those variables dynamically.
895 2013-05-03 Roland McGrath <roland@hack.frob.com>
897 * io/open.c (__open_2): Moved to ...
898 * io/open_2.c: ... this new file.
899 * io/open64.c (__open64_2): Moved to ...
900 * io/open64_2.c: ... this new file.
901 * io/openat.c (__openat_2): Moved to ...
902 * io/openat_2.c: ... this new file.
903 * io/openat64.c (__openat64_2): Moved to ...
904 * io/openat64_2.c: ... this new file.
905 * io/Makefile (routines): Add them.
906 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
907 * sysdeps/unix/sysv/linux/open_2.c: File removed.
908 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
909 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
910 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
911 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
912 (__openat64): Add hidden_ver.
913 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
914 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
916 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
917 Separately conditionalize setting of GLRO(dl_sysinfo) so
918 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
919 as well, but the actual setting is only under [NEED_DL_SYSINFO].
921 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
923 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
924 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
926 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
927 * sysdeps/unix/sysv/linux/powerpc/init-first.c
928 (_libc_vdso_platform_setup): Add __vdso_time initialization.
929 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
930 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
932 2013-05-03 Joseph Myers <joseph@codesourcery.com>
934 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
937 * math/libm-test.inc (hypot_test): Do not use
938 IGNORE_ZERO_INF_SIGN.
940 2013-05-03 Andreas Jaeger <aj@suse.de>
942 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
944 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
945 (PF_MAX): Adjust for VSOCK change.
947 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
951 2013-05-02 Carlos O'Donell <carlos@redhat.com>
954 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
955 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
956 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
958 2013-05-02 David S. Miller <davem@davemloft.net>
960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
962 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
964 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
966 2013-05-01 Roland McGrath <roland@hack.frob.com>
968 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
970 2013-05-01 Richard Smith <richard@metafoo.co.uk>
973 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
974 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
975 Use __attribute__ ((__gnu_inline__)).
976 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
977 Don't use __attribute__ ((__gnu_inline__)).
979 2013-05-01 Joseph Myers <joseph@codesourcery.com>
982 * math/s_catan.c (__catan): Handle small real or imaginary part of
983 input specially to avoid spurious underflow.
984 * math/s_catanf.c (__catanf): Likewise.
985 * math/s_catanh.c (__catanh): Likewise.
986 * math/s_catanhf.c (__catanhf): Likewise.
987 * math/s_catanhl.c (__catanhl): Likewise.
988 * math/s_catanl.c (__catanl): Likewise.
989 * math/libm-test.inc (catan_test): Add more tests.
990 (catanh_test): Likewise.
991 * sysdeps/i386/fpu/libm-test-ulps: Update.
992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
994 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
996 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
998 2013-04-30 Joseph Myers <joseph@codesourcery.com>
1001 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
1002 accurately for denominator in atan2.
1003 * math/s_catanf.c (__catanf): Likewise.
1004 * math/s_catanh.c (__catanh): Likewise.
1005 * math/s_catanhf.c (__catanhf): Likewise.
1006 * math/s_catanhl.c (__catanhl): Likewise.
1007 * math/s_catanl.c (__catanl): Likewise.
1008 * math/libm-test.inc (catan_test): Add more tests.
1009 (catanh_test): Likewise.
1010 * sysdeps/i386/fpu/libm-test-ulps: Update.
1011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1013 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1015 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
1017 * benchtests/Makefile (bench): Remove slow benchmarks.
1018 * benchtests/atan-inputs: Add slow benchmark inputs.
1019 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
1020 (BENCH_FUNC): Accept variant offset.
1022 * benchtests/bench-skeleton.c (main): Run benchmark for each
1024 * benchtests/cos-inputs: Add slow benchmark inputs.
1025 * benchtests/exp-inputs: Likewise.
1026 * benchtests/pow-inputs: Likewise.
1027 * benchtests/sin-inputs: Likewise.
1028 * benchtests/slowatan-inputs: Remove.
1029 * benchtests/slowatan.c: Remove.
1030 * benchtests/slowcos-inputs: Remove.
1031 * benchtests/slowcos.c: Remove.
1032 * benchtests/slowexp-inputs: Remove.
1033 * benchtests/slowexp.c: Remove.
1034 * benchtests/slowpow-inputs: Remove.
1035 * benchtests/slowpow.c: Remove.
1036 * benchtests/slowsin-inputs: Remove.
1037 * benchtests/slowsin.c: Remove.
1038 * benchtests/slowtan-inputs: Remove.
1039 * benchtests/slowtan.c: Remove.
1040 * benchtests/tan-inputs: Add slow benchmark inputs.
1041 * scripts/bench.pl: Parse comments and directives.
1043 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
1045 ($(objpfx)bench-%.c): Remove *-ITER.
1046 * benchtests/bench-modf.c: Remove definition of ITER.
1047 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
1048 (main): Loop for DURATION seconds instead of fixed number of
1050 * scripts/bench.pl: Don't expect iterations in parameters.
1052 2013-04-29 Roland McGrath <roland@hack.frob.com>
1054 * io/fchdir.c (__fchdir): Renamed from fchdir.
1055 (fchdir): Define as weak alias.
1057 2013-04-29 Joseph Myers <joseph@codesourcery.com>
1059 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
1060 (ERRNO_EDOM): Likewise.
1061 (ERRNO_ERANGE): Likewise.
1062 (noErrnoTests): New variable.
1063 (init_max_error): Set errno to 0.
1064 (test_single_errno): New function.
1065 (test_errno): Likewise.
1066 (check_float_internal): Call test_errno. Set errno to 0.
1067 (check_complex): Refer to errno tests in comment.
1068 (check_int): Call test_errno. Set errno to 0.
1069 (check_long): Likewise.
1070 (check_bool): Likewise.
1071 (check_longlong): Likewise.
1072 (cos_test): Use ERRNO_* flags for errno tests instead of
1074 (expm1_test): Likewise.
1075 (fmod_test): Likewise.
1076 (ilogb_test): Likewise.
1077 (lgamma_test): Likewise.
1078 (pow_test): Likewise.
1079 (remainder_test): Likewise.
1080 (sin_test): Likewise.
1081 (tan_test): Likewise.
1082 (yn_test): Likewise.
1083 (initialize): Set errno to 0.
1084 (main): Print number of errno tests.
1085 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
1087 2013-04-29 Andreas Jaeger <aj@suse.de>
1090 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
1094 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
1095 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
1099 * stdlib/random.c (__initstate): Return NULL if
1103 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
1104 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
1107 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1111 2013-04-29 Joseph Myers <joseph@codesourcery.com>
1113 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
1114 of individual tests.
1115 (casin_test): Likewise.
1116 (casinh_test): Likewise.
1118 2013-04-27 Joseph Myers <joseph@codesourcery.com>
1121 * math/s_catan.c (__catan): Handle arguments with large real or
1122 imaginary part separately without squaring.
1123 * math/s_catanf.c (__catanf): Likewise.
1124 * math/s_catanh.c (__catanh): Likewise.
1125 * math/s_catanhf.c (__catanhf): Likewise.
1126 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1128 (__catanhl): Handle arguments with large real or imaginary part
1129 separately without squaring.
1130 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1132 (__catanl): Handle arguments with large real or imaginary part
1133 separately without squaring.
1134 * math/libm-test.inc (catan_test): Add more tests.
1135 (catanh_test): Likewise.
1136 * sysdeps/i386/fpu/libm-test-ulps: Update.
1137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1139 2013-04-27 Andreas Jaeger <aj@suse.de>
1142 * stdlib/stdlib.h: Update guards for qecvt.
1143 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
1146 2013-04-27 Allan McRae <allan@archlinux.org>
1148 * sysdeps/i386/fpu/libm-test-ulps: Update.
1150 2013-04-26 Joseph Myers <joseph@codesourcery.com>
1153 * math/s_catan.c: Include <float.h>.
1154 (__catan): Ensure underflow exception occurs for underflowed
1156 * math/s_catanf.c: Include <float.h>.
1157 (__catanf): Ensure underflow exception occurs for underflowed
1159 * math/s_catanh.c: Include <float.h>.
1160 (__catanh): Ensure underflow exception occurs for underflowed
1162 * math/s_catanhf.c: Include <float.h>.
1163 (__catanhf): Ensure underflow exception occurs for underflowed
1165 * math/s_catanhl.c: Include <float.h>.
1166 (__catanhl): Ensure underflow exception occurs for underflowed
1168 * math/s_catanl.c: Include <float.h>.
1169 (__catanl): Ensure underflow exception occurs for underflowed
1171 * math/libm-test.inc (catan_test): Add more tests.
1172 (catanh_test): Likewise.
1175 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
1177 * math/s_ccoshf.c (__ccoshf): Likewise.
1178 * math/s_ccoshl.c (__ccoshl): Likewise.
1179 * math/s_csin.c (__csin): Likewise.
1180 * math/s_csinf.c (__csinf): Likewise.
1181 * math/s_csinh.c (__csinh): Likewise.
1182 * math/s_csinhf.c (__csinhf): Likewise.
1183 * math/s_csinhl.c (__csinhl): Likewise.
1184 * math/s_csinl.c (__csinl): Likewise.
1185 * math/libm-test.inc (ccos_test): Add more tests.
1186 (ccosh_test): Likewise.
1187 (csin_test): Likewise.
1188 (csinh_test): Likewise.
1190 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1192 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
1193 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
1194 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
1195 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
1196 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
1197 powerpc/power5+/fpu folders.
1198 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
1201 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1203 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1205 2013-04-25 Joseph Myers <joseph@codesourcery.com>
1207 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
1208 additions to variable.
1209 [$(config-machine) = x86_64] (modules-names): Likewise.
1210 ($(objpfx)tst-audit3): Remove dependency.
1211 ($(objpfx)tst-audit3.out): Likewise.
1212 ($(objpfx)tst-audit4): Likewise.
1213 ($(objpfx)tst-audit4.out): Likewise.
1214 ($(objpfx)tst-audit5): Likewise.
1215 ($(objpfx)tst-audit5.out): Likewise.
1216 ($(objpfx)tst-audit6): Likewise.
1217 ($(objpfx)tst-audit6.out): Likewise.
1218 ($(objpfx)tst-audit7): Likewise.
1219 ($(objpfx)tst-audit7.out): Likewise.
1220 (tst-audit3-ENV): Remove variable.
1221 (tst-audit4-ENV): Likewise.
1222 (tst-audit5-ENV): Likewise.
1223 (tst-audit6-ENV): Likewise.
1224 (tst-audit7-ENV): Likewise.
1225 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
1226 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
1227 addition to variable.
1228 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
1229 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
1230 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
1231 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
1232 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
1233 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
1234 tst-audit3, tst-audit4 and tst-audit5.
1235 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
1236 tst-audit6 and tst-audit7.
1237 [$(subdir) = elf] (modules-names): Add audit modules for those
1239 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
1240 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
1241 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
1242 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
1243 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
1244 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
1245 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
1246 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
1247 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
1248 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
1249 [$(subdir) = elf] (tst-audit3-ENV): New variable.
1250 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
1251 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
1252 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
1253 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
1254 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
1256 [$(subdir) = elf && $(config-cflags-avx) = yes]
1257 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
1258 [$(subdir) = elf && $(config-cflags-avx) = yes]
1259 (CFLAGS-tst-auditmod4a.c): Likewise.
1260 [$(subdir) = elf && $(config-cflags-avx) = yes]
1261 (CFLAGS-tst-auditmod4b.c): Likewise.
1262 [$(subdir) = elf && $(config-cflags-avx) = yes]
1263 (CFLAGS-tst-auditmod6b.c): Likewise.
1264 [$(subdir) = elf && $(config-cflags-avx) = yes]
1265 (CFLAGS-tst-auditmod6c.c): Likewise.
1266 [$(subdir) = elf && $(config-cflags-avx) = yes]
1267 (CFLAGS-tst-auditmod7b.c): Likewise.
1268 * elf/tst-audit3.c: Move to ...
1269 * sysdeps/x86_64/tst-audit3.c: ... here.
1270 * elf/tst-audit4.c: Move to ...
1271 * sysdeps/x86_64/tst-audit4.c: ... here.
1272 * elf/tst-audit5.c: Move to ...
1273 * sysdeps/x86_64/tst-audit5.c: ... here.
1274 * elf/tst-audit6.c: Move to ...
1275 * sysdeps/x86_64/tst-audit6.c: ... here.
1276 * elf/tst-audit7.c: Move to ...
1277 * sysdeps/x86_64/tst-audit7.c: ... here.
1278 * elf/tst-auditmod3a.c: Move to ...
1279 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
1280 * elf/tst-auditmod3b.c: Move to ...
1281 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
1282 * elf/tst-auditmod4a.c: Move to ...
1283 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
1284 * elf/tst-auditmod4b.c: Move to ...
1285 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
1286 * elf/tst-auditmod5a.c: Move to ...
1287 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
1288 * elf/tst-auditmod5b.c: Move to ...
1289 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
1290 * elf/tst-auditmod6a.c: Move to ...
1291 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
1292 * elf/tst-auditmod6b.c: Move to ...
1293 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
1294 * elf/tst-auditmod6c.c: Move to ...
1295 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
1296 * elf/tst-auditmod7a.c: Move to ...
1297 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
1298 * elf/tst-auditmod7b.c: Move to ...
1299 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
1301 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
1304 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
1305 define unconditionally.
1306 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
1307 define unconditionally.
1308 (INT8_C, INT16_C, etc.): Likewise.
1310 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
1312 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
1313 __ehdr_start with hidden visibility.
1315 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
1317 2013-04-24 Carlos O'Donell <carlos@redhat.com>
1319 * math/libm-test.inc (cos_test): Use accurate hex constants.
1320 (sincost_test): Likewise.
1322 2013-04-24 Joseph Myers <joseph@codesourcery.com>
1324 * math/libm-test.inc (catan_test): Add more tests.
1325 (catanh_test): Likewise.
1327 * math/s_catanf.c (__catanf): Use suffixed floating-point
1329 * math/s_catanhf.c (__catanhf): Likewise.
1330 * math/s_catanhl.c (__catanhl): Likewise.
1331 * math/s_catanl.c (__catanl): Likewise.
1334 * math/s_catan.c (__catan): Calculate imaginary part of result
1335 with log1p not log unless computing log of number close to 0.
1336 * math/s_catanf.c (__catanf): Likewise.
1337 * math/s_catanl.c (__catanl): Likewise.
1338 * math/s_catanh.c (__catanh): Calculate real part of result with
1339 log1p not log unless computing log of number close to 0.
1340 * math/s_catanhf.c (__catanhf): Likewise.
1341 * math/s_catanhl.c (__catanhl): Likewise.
1342 * math/libm-test.inc (catan_test): Add more tests.
1343 (catanh_test): Likewise.
1344 * sysdeps/i386/fpu/libm-test-ulps: Update.
1345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1347 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1349 * benchtests/Makefile: Mention files in which fast and slow
1350 paths of math functions are implemented.
1352 2013-04-23 Roland McGrath <roland@hack.frob.com>
1354 * sysdeps/posix/timespec_get.c: New file.
1356 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1358 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
1360 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
1362 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
1363 powerpc/power5/fpu folders.
1364 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
1365 * benchtests/Makefile: Add modf testcase.
1366 * benchtests/bench-modf.c: New file: Benchmark test for mo
1368 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1371 * time/Makefile (tests): Add tst-strptime-whitespace.
1372 * time/strptime_l.c (get_number): Use ISSPACE.
1373 (__strptime_internal): Likewise.
1374 * time/tst-strptime-whitespace.c: New test case.
1376 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
1378 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
1380 (_nss_files_init): Set it here.
1382 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
1384 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
1385 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
1388 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
1390 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
1392 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1394 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
1397 2013-04-21 David S. Miller <davem@davemloft.net>
1399 * po/ru.po: Update Russion translation from translation project.
1401 2013-04-17 Adam Conrad <adconrad@0c3.net>
1403 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
1406 2013-04-17 Carlos O'Donell <carlos@redhat.com>
1408 * configure.in: Remove i386 configure warning. Remove i386 case.
1409 * configure: Regenerate.
1410 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
1411 Add example to error message.
1412 * sysdeps/i386/configure: Regenerate.
1414 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1416 * benchtests/Makefile (bench): Add cos, tan, slowcos and
1418 * benchtests/cos-inputs: New file.
1419 * benchtests/slowcos-inputs: New file.
1420 * benchtests/slowcos.c: New file.
1421 * benchtests/slowtan-inputs: New file.
1422 * benchtests/slowtan.c: New file.
1423 * benchtests/tan-inputs: New file.
1425 2013-04-16 Roland McGrath <roland@hack.frob.com>
1427 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
1430 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1432 * benchtests/Makefile: Include cppflags-iterator.mk to add
1433 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
1435 * Makefile.in (bench-clean): New target.
1436 * benchtests/Makefile (bench-clean): Likewise.
1438 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
1440 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
1442 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
1444 * stdio-common/tstdiomisc.c: Fix coding-style violation.
1446 2013-04-15 Andreas Schwab <schwab@suse.de>
1448 * nscd/grpcache.c (cache_addgr): Properly check for short write.
1449 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1450 * nscd/pwdcache.c (cache_addpw): Likewise.
1451 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
1454 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1456 * benchtests/Makefile (bench): Write all output to
1457 bench-out.tmp together.
1459 2013-04-15 Andreas Schwab <schwab@suse.de>
1461 * nscd/nscd.c (main): Don't fork again after closing files.
1463 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1465 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
1467 * benchtests/Rules (bench-deps): Collect dependencies into a
1468 single variable. Add Makefile to dependencies.
1469 ($(objpfx)bench-%.c): Depend on bench-deps.
1471 2013-04-12 Roland McGrath <roland@hack.frob.com>
1472 Xavier Roche <roche+kml2@exalead.com>
1475 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
1476 just that it's a file descriptor.
1477 * manual/llio.texi (Synchronizing AIO Operations): Update description
1478 for EBADF error from aio_fsync.
1480 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1482 * Rules (bench): Move target definition...
1483 * benchtests/Makefile: ... here.
1485 2013-04-11 Carlos O'Donell <carlos@redhat.com>
1487 * math/libm-test.inc (cos_test): Fix PI/2 test.
1488 (sincos_test): Likewise.
1489 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1490 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
1492 2013-04-11 Andreas Schwab <schwab@suse.de>
1495 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
1496 accept exponent character only when digits were seen.
1497 * stdio-common/Makefile (tests): Add bug26.
1498 * stdio-common/bug26.c: New file.
1501 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
1504 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1506 * Makeconfig (rtld-prefix): Define built linker prefix.
1507 * Rules (run-bench): Use it.
1508 * math/Makefile (run-regen-ulps): Likewise.
1510 * Rules (bench): Remove eval.
1512 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1513 Roland McGrath <roland@hack.frob.com>
1514 Ondrej Bilka <neleai@seznam.cz>
1517 * time/getdate.c: Include ctype.h and alloca.h.
1518 (__getdate_r): Trim leading and trailing spaces of input.
1519 * time/tst-getdate.c (tests): Add tests with leading and
1522 2013-04-08 Roland McGrath <roland@hack.frob.com>
1525 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
1526 when computing value.
1528 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1530 * math/README.libm-test (How can I generate "libm-test-ulps"?):
1531 Use testrun.sh to run libm tests.
1534 * elf/dl-open.c (dl_open_worker): memset all of seen array.
1536 2013-04-06 Marko Myllynen <myllynen@redhat.com>
1539 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
1541 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1543 * Makefile.in (regen-ulps): New target.
1544 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
1545 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
1546 [ifneq (no,$(PERL)] (regen-ulps): New target.
1547 [ifeq (no,$(PERL)] (regen-ulps): New target.
1548 * math/libm-test.inc (ulps_file_name): Define.
1549 (output_dir): New variable.
1550 (options): Add "output-dir" option.
1551 (parse_opt): Handle 'o' case.
1552 (main): If output_dir is non-NULL use it as a prefix
1554 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
1556 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1559 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
1560 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
1561 fail configure if __sync_val_compare_and_swap is not inlined.
1562 * sysdeps/i386/configure: Regenerate.
1563 * configure.in: Build for i686 when configured for i386.
1564 * configure: Regenerate.
1565 * README: Remove i386 reference.
1567 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1569 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
1570 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1572 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
1574 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
1575 (lmsnanval): New variables.
1576 (F): Add conversion tests.
1577 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
1578 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
1580 * stdio-common/tstdiomisc.c (F): Properly collect individual
1584 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
1585 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
1586 Instead, use input NaN values or generate a qNaN by arithmetic
1587 operation. Also fix bugs to comply with the standard.
1588 * math/libm-test.inc (remainder_test): Add more tests.
1591 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
1592 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
1593 input NaN values or generate a qNaN by arithmetic operation.
1595 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
1598 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
1601 2013-04-03 Joseph Myers <joseph@codesourcery.com>
1604 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
1606 * math/s_cexpf.c (__cexpf): Likewise.
1607 * math/s_cexpl.c (__cexpl): Likewise.
1608 * math/libm-test.inc (cexp_test): Add more tests.
1610 2013-04-03 Andreas Schwab <schwab@suse.de>
1613 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
1614 order arrays from heap if bigger than alloca cutoff.
1616 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
1618 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
1619 (SNAN_TESTS_double): Refer to GCC PR56831.
1620 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
1623 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1625 * Rules (bench): Move bench.out after the run is complete.
1627 * Rules (bench): Echo currently running benchmark.
1629 * benchtests/Makefile (bench): Add atan and slowatan.
1630 * benchtests/atan-inputs: New file.
1631 * benchtests/slowatan-inputs: New file.
1632 * benchtests/slowatan.c: New file.
1634 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
1635 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
1639 * sysdeps/unix/sysv/linux/kernel-features.h
1640 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
1641 __ASSUME_XFS_RESTRICTED_CHOWN.
1642 * sysdeps/unix/sysv/linux/pathconf.c
1643 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1644 Save and restore errno.
1646 2013-04-02 Joseph Myers <joseph@codesourcery.com>
1649 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
1650 arguments using __kernel_casinh.
1651 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
1652 arguments using __kernel_casinhf.
1653 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
1654 arguments using __kernel_casinhl.
1655 * math/libm-test.inc (cacosh_test): Add more tests.
1656 * sysdeps/i386/fpu/libm-test-ulps: Update.
1657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1659 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1661 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
1662 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
1664 * bench/Makefile (bench): Add sin and slowsin.
1665 * benchtests/sin-inputs: New file.
1666 * benchtests/slowsin-inputs: New file.
1667 * benchtests/slowsin.c: New file.
1669 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
1670 (bench): Add slowexp and slowpow.
1671 (exp-ITER): Increase iterations.
1672 (pow-ITER): Likewise.
1673 * benchtests/exp-inputs: Change input.
1674 * benchtests/pow-inputs: Likewise.
1675 * benchtests/slowexp-inputs: New file.
1676 * benchtests/slowexp.c: New file.
1677 * benchtests/slowpow-inputs: New file.
1678 * benchtests/slowpow.c: New file.
1680 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1682 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
1684 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1685 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1686 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1687 * benchtests/Makefile: Add rint benchtest.
1688 * benchtests/rint-inputs: Input for rint benchtest.
1690 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
1692 * Versions.def (libm): Add GLIBC_2.18.
1693 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
1694 hidden libm prototypes.
1695 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
1696 * math/Makefile (libm-calls): Add s_issignaling.
1697 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
1698 __issignalingf, __issignalingl. Adjust all libm.abilist files.
1699 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
1701 * math/math.h [__USE_GNU] (issignaling): New macro.
1702 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
1703 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
1704 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
1705 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
1706 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1707 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
1708 * manual/arith.texi (issignaling): New section.
1709 * manual/libm-err-tab.pl (@all_functions): Update comment.
1710 * math/gen-libm-test.pl (parse_args): Apply special handling for
1712 * math/libm-test.inc (print_float, issignaling_test): New
1714 (check_float_internal): Add issignaling checks.
1715 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
1717 * sysdeps/powerpc/math-tests.h: New file.
1718 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
1720 * math/test-snan.c (TEST_FUNC): Likewise.
1722 2013-03-30 David S. Miller <davem@davemloft.net>
1724 * po/de.po: Update from translation team.
1726 2013-03-30 Joseph Myers <joseph@codesourcery.com>
1729 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1730 imaginary part less than 1.0 and real part less than 0.5
1732 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1733 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1734 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
1735 (cacos_test): Add more tests.
1736 (casin_test): Likewise.
1737 (casinh_test): Likewise.
1738 * sysdeps/i386/fpu/libm-test-ulps: Update.
1739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1741 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1743 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
1746 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
1747 (__pow_mp): Replace ONE and MONE with their values.
1748 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1749 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
1750 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1751 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
1752 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1753 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1755 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
1757 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
1758 (__pow_mp): Replace ZERO and MZERO with their values.
1759 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1760 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1761 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1762 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1763 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1764 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
1767 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
1769 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
1771 2013-03-28 Roland McGrath <roland@hack.frob.com>
1773 * include/stdlib.h [!SHARED] (__call_tls_dtors):
1774 Declare with __attribute__ ((weak)).
1775 * stdlib/exit.c (__libc_atexit) [!SHARED]:
1776 Call __call_tls_dtors only if it's not NULL.
1778 2013-03-28 Roland McGrath <roland@hack.frob.com>
1780 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
1781 didn't do it already, then set _dl_phdr and _dl_phnum based on the
1782 magic __ehdr_start linker symbol if it's defined.
1783 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
1784 them up here if it was already done.
1786 * elf/dl-support.c (_dl_phdr): Make pointer to const.
1787 (_dl_aux_init): Use const in cast when setting it.
1788 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
1789 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
1790 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
1792 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
1794 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
1795 * csu/libc-tls.c: Nor here.
1796 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
1798 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
1799 (__libc_message): Never call vsyslog.
1801 2013-03-28 Alan Modra <amodra@gmail.com>
1803 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
1805 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
1808 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1811 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
1813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1815 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1818 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1819 Don't add gid passed as argument.
1821 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1823 2013-03-27 Joseph Myers <joseph@codesourcery.com>
1826 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1827 imaginary part between 1.0 and 1.5 and real part less than 0.5
1829 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1830 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1831 * math/libm-test.inc (cacos_test): Add more tests.
1832 (casin_test): Likewise.
1833 (casinh_test): Likewise.
1834 * sysdeps/i386/fpu/libm-test-ulps: Update.
1835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1837 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1839 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1843 (__dbl_mp): Likewise.
1844 (add_magnitudes): Likewise.
1845 (sub_magnitudes): Likewise.
1853 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1855 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1856 (__dubcos): Likewise.
1857 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1858 (__ieee754_acos): Likewise.
1859 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1860 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1862 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1863 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1865 (my_log2): Likewise.
1866 (checkint): Likewise.
1867 * sysdeps/ieee754/dbl-64/e_remainder.c
1868 (__ieee754_remainder): Likewise.
1869 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1870 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1872 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1874 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1875 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1876 MANTISSA_STORE_T to store computations on mantissa. Use
1877 macros for rounding and division.
1879 (__dbl_mp): Likewise.
1880 (add_magnitudes): Likewise.
1881 (sub_magnitudes): Likewise.
1884 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1885 powers of two in terms of TWOPOW macro.
1886 (mp_no): Make type of mantissa as MANTISSA_T.
1887 [!RADIXI]: Define RADIXI.
1888 [!TWO52]: Define TWO52.
1889 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1891 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1893 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1894 llroundl symbol when building for PPC32.
1896 2013-03-24 Mark H Weaver <mhw@netris.org>
1898 * manual/arith.texi (Normalization Functions): Fix prototypes for
1899 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1901 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1904 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1905 high value to check if expl overflow.
1906 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1907 to check for underflow and overflow.
1908 * math/libm-test.inc: Add exp test.
1910 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
1913 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1916 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1918 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1921 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1923 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1924 wrap blocks consisting of several statements.
1926 * sysdeps/generic/math-tests.h: New file.
1927 * sysdeps/i386/fpu/math-tests.h: Likewise.
1928 * math/test-snan.c: Include it.
1929 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1931 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1934 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1935 (__ieee754_j0l): Do not improve calculations using cos of twice
1936 input for inputs above LDBL_MAX / 2.0L.
1937 (__ieee754_y0l): Likewise.
1938 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1939 (__ieee754_j1l): Do not improve calculations using cos of twice
1940 input for inputs above LDBL_MAX / 2.0L.
1941 (__ieee754_y1l): Likewise.
1942 * math/libm-test.inc (j0_test): Add another test.
1943 (j1_test): Likewise.
1944 (y0_test): Likewise.
1945 (y1_test): Likewise.
1946 * sysdeps/i386/fpu/libm-test-ulps: Update.
1948 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1950 * Rules ($(objpfx)bench-%.c): Include code from a C source
1953 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1956 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1957 imaginary part 1.0 and real part less than 0.5 specially.
1958 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1959 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1960 * math/libm-test.inc (cacos_test): Add more tests.
1961 (casin_test): Likewise.
1962 (casinh_test): Likewise.
1963 * sysdeps/i386/fpu/libm-test-ulps: Update.
1964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1966 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1968 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1969 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1971 2013-03-20 Joseph Myers <joseph@codesourcery.com>
1973 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1974 * config.make.in (config-cflags-sse4): Remove variable.
1975 (config-cflags-avx): Likewise.
1976 (config-cflags-sse2avx): Likewise.
1977 (config-cflags-novzeroupper): Likewise.
1978 (config-asflags-i686): Likewise.
1979 (have-mfma4): Likewise.
1980 (have-as-vis3): Likewise.
1982 * configure.in (MIG): Do not AC_SUBST.
1983 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1984 (libc_cv_cc_sse4): Do not AC_SUBST.
1985 (libc_cv_cc_avx): Likewise.
1986 (libc_cv_cc_sse2avx): Likewise.
1987 (libc_cv_cc_novzeroupper): Likewise.
1988 (libc_cv_cc_fma4): Likewise.
1989 (libc_cv_as_i686): Likewise.
1990 (libc_cv_sparc_as_vis3): Likewise.
1991 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1993 (config-asflags-i686): Likewise.
1994 (config-cflags-avx): Likewise.
1995 (config-cflags-sse2avx): Likewise.
1996 (have-mfma4): Likewise.
1997 (config-cflags-novzeroupper): Likewise.
1998 * sysdeps/mach/configure.in (MIG): Likewise.
1999 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
2000 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
2002 (config-cflags-avx): Likewise.
2003 (config-cflags-sse2avx): Likewise.
2004 (have-mfma4): Likewise.
2005 (config-cflags-novzeroupper): Likewise.
2006 * configure: Regenerated.
2007 * sysdeps/i386/configure: Likewise.
2008 * sysdeps/mach/configure: Likewise.
2009 * sysdeps/sparc/configure: Likewise.
2010 * sysdeps/x86_64/configure: Likewise.
2012 2013-03-20 Roland McGrath <roland@hack.frob.com>
2015 * locale/programs/localedef.c (options): Put N_ translation marker
2016 on argument names, not just descriptions.
2018 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2020 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
2022 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
2025 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
2027 2013-03-19 Roland McGrath <roland@hack.frob.com>
2029 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
2030 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
2031 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
2032 [!BEFORE_ABORT] (before_abort): New function.
2033 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
2034 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
2035 (writev_for_fatal): New function.
2036 (WRITEV_FOR_FATAL): New macro; call that.
2037 (backtrace_and_maps): New function.
2038 (BEFORE_ABORT): New macro; call that.
2039 (struct str_list): Type removed.
2040 (__libc_message, __libc_fatal): Functions removed.
2041 Include <sysdeps/posix/libc_fatal.c> instead.
2043 2013-03-19 Joseph Myers <joseph@codesourcery.com>
2045 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
2047 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
2050 2013-03-19 Andreas Schwab <schwab@suse.de>
2052 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
2053 * sysdeps/gnu/configure: Regenerate.
2055 * configure.in: Substitute libc_cv_rtlddir.
2056 * configure: Regenerate.
2057 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
2058 * Makeconfig (rtlddir, inst_rtlddir): New variables.
2059 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
2060 * elf/Makefile (install-others, CFLAGS-interp.c)
2061 (ldso_install, common-ldd-rewrite): Likewise.
2062 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
2063 $(inst_slibdir)/$(rtld-installed-name).
2064 * scripts/rellns-sh: Add -p option.
2065 * Makerules (make-shlib-link): Use rellns-sh to get relative name
2068 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2070 * manual/nptl.texi: Renamed to ...
2071 * manual/threads.texi: ... this.
2072 * manual/Makefile (chapters): Update.
2074 2013-03-18 Roland McGrath <roland@hack.frob.com>
2077 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
2078 on argument names, not just descriptions.
2079 * malloc/memusagestat.c (options): Likewise.
2080 * nss/getent.c (options): Likewise.
2082 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
2085 * iconv/iconv_prog.c (options): Put N_ translation marker
2086 on argument names, not just descriptions.
2087 * iconv/iconvconfig.c (options): Likewise.
2089 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
2091 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
2092 implementation which is faster on all x86_64 architectures.
2093 Tested on AMD, Intel Nehalem, SNB, IVB.
2094 * sysdeps/x86_64/strnlen.S: Likewise.
2096 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2097 Remove all multiarch strlen and strnlen versions.
2098 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2099 Remove strlen and strnlen related parts.
2101 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
2103 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2105 * sysdeps/x86_64/multiarch/strlen.S: Remove.
2106 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
2107 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
2108 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
2109 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2110 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
2112 2013-03-17 Carlos O'Donell <carlos@redhat.com>
2114 * manual/memory.texi (Malloc Tunable Parameters):
2115 Sort parameters alphabetically. Add comments for missing entries.
2117 2013-03-17 David S. Miller <davem@davemloft.net>
2119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2121 2013-03-16 Joseph Myers <joseph@codesourcery.com>
2124 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
2125 for arguments at most half maximum finite value.
2126 * math/libm-test.inc (j0_test): Add more tests.
2127 (j1_test): Likewise.
2128 (y0_test): Likewise.
2129 (y1_test): Likewise.
2130 * sysdeps/i386/fpu/libm-test-ulps: Update.
2131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2134 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
2135 1 / x and functions P and Q for arguments above 0x1p256L.
2136 (__ieee754_y0l): Likewise.
2137 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
2138 (__ieee754_y1l): Likewise.
2139 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
2140 (j1_test): Likewise.
2141 (y0_test): Likewise.
2142 (y1_test): Likewise.
2144 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
2146 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
2149 2013-03-15 Roland McGrath <roland@hack.frob.com>
2151 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
2152 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
2153 zero since it's initialized to EXEC_PAGESIZE.
2155 * sysdeps/unix/sysv/linux/ldsodefs.h
2156 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
2157 * sysdeps/generic/ldsodefs.h: ... here.
2159 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
2161 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
2163 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
2165 * math/test-snan.c: Renamed from
2166 sysdeps/powerpc/fpu/test-powerpc-snan.c.
2167 * math/Makefile (tests): Add test-snan.
2168 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
2171 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
2172 SUFFIX. Initialize qNaN_var with __builtin_nan family of
2174 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
2175 __builtin_nan family of functions.
2176 * math/libm-test.inc (initialize): Initialize qnan_value with
2177 __builtin_nan family of functions.
2178 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
2180 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
2182 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
2183 storage class. Initialize qNaN_var and sNaN_var with
2184 __builtin_nan and __builtin_nans families of functions,
2187 * math/libm-test.inc (acosh_test): Also test with qNaN input.
2188 (sqrt_test): Remove duplicate test with qNaN input.
2189 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
2190 (round_test, signbit_test, significand_test): Note missing +/-Inf
2191 as well as qNaN tests.
2193 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
2194 qNaN_var. Fix a few strings, too.
2195 * math/libm-test.inc (nan_value): Rename to qnan_value.
2196 * math/gen-libm-test.pl (%beautify): Adjust to that.
2197 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
2198 * math/test-misc.c (main): Likewise.
2199 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
2200 to __qnan_bytes, and __qnan_union, respectively.
2201 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
2203 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
2204 and lqnanval, respectively.
2205 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
2206 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
2207 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
2208 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
2210 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
2211 * math/test-misc.c (main) [__x86_64__]: Enable test for long
2214 * math/test-misc.c (main): Fix copy'n'pastos.
2215 * misc/tst-efgcvt.c (special): Likewise.
2217 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
2218 Remove declarations.
2220 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2222 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
2223 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
2224 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
2225 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
2227 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2229 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
2230 macro to return vdso values correctly in IFUNC implementations.
2231 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2232 Optimization by using IFUNC.
2234 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2235 Richard Henderson <rth@redhat.com>
2236 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2238 * Makefile.in (bench): New target.
2239 * NEWS: Mention the benchmark framework.
2240 * Rules (bench): Likewise.
2241 (binaries-bench): Generate binaries for functions to
2243 * benchtests/Makefile: New makefile for benchmark tests.
2244 * benchtests/bench-skeleton.c: New skeleton file for benchmark
2246 * benchtests/exp-inputs: New input file for EXP function.
2247 * benchtests/pow-inputs: New input file for POW function.
2248 * scripts/bench.pl: New script to generate source files for
2251 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2253 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
2254 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
2255 computations on mantissa. Use macros for rounding and
2258 (__dbl_mp): Likewise.
2259 (add_magnitudes): Likewise.
2260 (sub_magnitudes): Likewise.
2263 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
2264 powers of two in terms of TWOPOW macro.
2265 (mp_no): Make type of mantissa as MANTISSA_T.
2266 [!RADIXI]: Define RADIXI.
2267 [!TWO52]: Define TWO52.
2268 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
2270 * manual/nptl.texi (cindex): Modify threads to pthreads.
2272 2013-03-15 Joseph Myers <joseph@codesourcery.com>
2274 * sysdeps/x86_64/preconfigure: Regenerated.
2276 2013-03-14 Joseph Myers <joseph@codesourcery.com>
2279 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
2281 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
2282 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
2284 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
2285 * math/libm-test.inc (j0_test): Do not allow one spurious
2286 underflow exception.
2287 (y1_test): Likewise.
2289 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2291 * manual/Makefile (chapters): Add nptl.
2292 * manual/debug.texi (Debugging Support): Add link to Threads
2294 * manual/nptl.texi: New file.
2296 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
2298 2013-03-14 Petr Baudis <pasky@ucw.cz>
2300 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
2301 for non-NULL pointer before the memory validity test. Pointed
2302 out by Holger Brunck <holger.brunck@keymile.com>.
2304 2013-03-13 Andreas Schwab <schwab@suse.de>
2306 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
2309 2013-03-13 Joseph Myers <joseph@codesourcery.com>
2311 * timezone/zic.c: Update from tzcode 2013b.
2313 2013-03-12 Carlos O'Donell <carlos@redhat.com>
2315 * manual/install.texi (Configuring and compiling):
2316 Mention i686 and i586.
2317 * INSTALL: Regenerate.
2319 2013-03-12 Roland McGrath <roland@hack.frob.com>
2321 * sysdeps/init_array/elf-init.c: New file.
2323 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
2324 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
2326 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
2327 __gmon_start__ as global, but as static with a .preinit_array pointer.
2328 * sysdeps/init_array/gmon-start.c: New file. Use that.
2329 * sysdeps/init_array/crti.S: New file, empty except for comments.
2330 * sysdeps/init_array/crtn.S: Likewise.
2332 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
2334 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
2336 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2337 Remove Prefer_SSE_for_memop.
2338 * sysdeps/x86_64/multiarch/init-arch.h: Remove
2339 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
2340 HAS_PREFER_SSE_FOR_MEMOP.
2341 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2343 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2344 Remove bzero, memset ifunc support.
2345 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
2346 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
2347 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2348 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2350 2013-03-11 Andreas Schwab <schwab@suse.de>
2353 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
2355 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
2356 (GLIBC_2.16): Remove pthread_atfork.
2358 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2360 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
2361 (ptestcases.h): Likewise.
2363 2013-03-08 Roland McGrath <roland@hack.frob.com>
2365 * Makeconfig ($(common-objpfx)config.status): Depend on
2366 sysdeps/*/preconfigure{,.in} too.
2368 2013-03-08 Joseph Myers <joseph@codesourcery.com>
2370 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
2371 (__free_hook): Use void * instead of __malloc_ptr_t.
2372 (__malloc_hook): Likewise.
2373 (__realloc_hook): Likewise.
2374 (__memalign_hook): Likewise.
2375 (__after_morecore_hook): Likewise.
2376 * malloc/arena.c (save_malloc_hook): Likewise.
2377 (save_free_hook): Likewise.
2378 * malloc/hooks.c (malloc_hook_ini): Likewise.
2379 (realloc_hook_ini): Likewise.
2380 (memalign_hook_ini): Likewise.
2381 * malloc/malloc.c (malloc_hook_ini): Likewise.
2382 (realloc_hook_ini): Likewise.
2383 (memalign_hook_ini): Likewise.
2384 (__free_hook): Likewise.
2385 (__malloc_hook): Likewise.
2386 (__realloc_hook): Likewise.
2387 (__memalign_hook): Likewise.
2388 (__libc_malloc): Likewise.
2389 (__libc_free): Likewise.
2390 (__libc_realloc): Likewise.
2391 (__libc_memalign): Likewise.
2392 (__libc_valloc): Likewise.
2393 (__libc_pvalloc): Likewise.
2394 (__libc_calloc): Likewise.
2395 (__posix_memalign): Likewise.
2396 * malloc/morecore.c (__sbrk): Likewise.
2397 (__default_morecore): Likewise.
2399 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
2401 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
2402 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
2405 * malloc/malloc.h (__malloc_size_t): Remove macro.
2406 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
2408 (old_memalign_hook): Likewise.
2409 (old_realloc_hook): Likewise.
2410 (struct hdr): Likewise.
2412 (mallochook): Likewise.
2413 (memalignhook): Likewise.
2414 (reallochook): Likewise.
2415 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
2416 (tr_old_realloc_hook): Likewise.
2417 (tr_old_memalign_hook): Likewise.
2418 (tr_mallochook): Likewise.
2419 (tr_reallochook): Likewise.
2420 (tr_memalignhook): Likewise.
2422 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2424 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
2425 default_ldbl_pack and using as default implementation.
2426 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
2428 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
2429 redundant definition.
2430 (ldbl_insert_mantissa): Likewise.
2431 (ldbl_canonicalize): Likewise.
2432 (ldbl_nearbyint): Likewise.
2433 (ldbl_pack): Rename to ldbl_pack_ppc.
2434 (ldbl_unpack): Rename to ldbl_unpack_ppc.
2435 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
2436 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
2438 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2440 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
2441 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
2442 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
2443 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
2444 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
2445 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
2446 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
2447 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
2449 2013-03-07 Andreas Jaeger <aj@suse.de>
2451 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2454 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2456 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
2457 Include mpa.h and declare __MPEXP.
2458 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
2459 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2460 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2461 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
2462 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2463 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2464 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
2466 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
2467 (__slowpow): Use long double EXPL and LOGL functions to
2469 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2470 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2471 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
2472 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2473 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2474 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
2476 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
2477 intermediate variable to calculate exponent.
2479 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2483 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
2484 [!NO__SQR]: Define __sqr.
2485 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
2486 and NO__SQR. Remove all code except __mul and __sqr. Include
2487 sysdeps/ieee754/dbl-64/mpa.c.
2488 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2491 * posix/Makefile (tests): Add tst-pathconf.
2492 * posix/tst-pathconf.c: New test case.
2493 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
2495 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
2497 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
2499 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
2501 2013-03-06 Andreas Jaeger <aj@suse.de>
2503 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
2504 definition via __MAP_ANONYMOUS.
2506 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
2507 it's not part of Linux headers.
2509 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
2510 (MAP_HUGE_MASK): Define.
2512 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2514 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2515 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2517 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2518 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2520 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2521 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
2523 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2525 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
2526 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
2527 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
2528 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
2529 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
2530 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
2532 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
2535 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2536 Handle f2fs and efivarfs.
2538 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
2541 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
2542 (EFIVARFS_MAGIC): Add.
2543 (F2FS_LINK_MAX): Add.
2545 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2547 * stdio-common/vfprintf.c: Replace __builtin_expect with
2550 2013-03-06 Joseph Myers <joseph@codesourcery.com>
2553 * sysdeps/generic/bp-sym.h: Remove file.
2554 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
2555 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
2556 <bp-sym.h> and <bp-asm.h>.
2557 (__longjmp): Don't use BP_SYM.
2558 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
2560 (memcpy): Don't use BP_SYM.
2561 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
2562 <bp-sym.h> and <bp-asm.h>.
2563 (memcpy): Don't use BP_SYM.
2564 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
2566 (memcpy): Don't use BP_SYM.
2567 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
2569 (memset): Don't use BP_SYM.
2570 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2571 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2572 (__bzero): Don't use BP_SYM.
2573 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2574 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2575 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
2576 <bp-sym.h> and <bp-asm.h>.
2577 (memcmp): Don't use BP_SYM. Remove comment about bounded
2579 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
2580 <bp-sym.h> and <bp-asm.h>.
2581 (memcpy): Don't use BP_SYM.
2582 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
2583 <bp-sym.h> and <bp-asm.h>.
2584 (memset): Don't use BP_SYM.
2585 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2586 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2587 (__bzero): Don't use BP_SYM.
2588 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2589 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2590 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
2591 <bp-sym.h> and <bp-asm.h>.
2592 (strncmp): Don't use BP_SYM. Remove comment about bounded
2594 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
2595 <bp-sym.h> and <bp-asm.h>.
2596 (memcpy): Don't use BP_SYM.
2597 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
2598 <bp-sym.h> and <bp-asm.h>.
2599 (memset): Don't use BP_SYM.
2600 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2601 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2602 (__bzero): Don't use BP_SYM.
2603 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2604 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2605 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
2606 <bp-sym.h> and <bp-asm.h>.
2607 (__memchr): Don't use BP_SYM.
2608 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
2609 <bp-sym.h> and <bp-asm.h>.
2610 (memcmp): Don't use BP_SYM. Remove comment about bounded
2612 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
2613 <bp-sym.h> and <bp-asm.h>.
2614 (memcpy): Don't use BP_SYM.
2615 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
2616 <bp-sym.h> and <bp-asm.h>.
2617 (__mempcpy): Don't use BP_SYM.
2618 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
2619 <bp-sym.h> and <bp-asm.h>.
2620 (__memrchr): Don't use BP_SYM.
2621 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
2622 <bp-sym.h> and <bp-asm.h>.
2623 (memset): Don't use BP_SYM.
2624 (__bzero): Likewise.
2625 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
2626 <bp-sym.h> and <bp-asm.h>.
2627 (__rawmemchr): Don't use BP_SYM.
2628 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
2629 <bp-sym.h> and <bp-asm.h>.
2630 (__STRCMP): Don't use BP_SYM.
2631 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
2632 <bp-sym.h> and <bp-asm.h>.
2633 (strchr): Don't use BP_SYM.
2634 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
2635 <bp-sym.h> and <bp-asm.h>.
2636 (__strchrnul): Don't use BP_SYM.
2637 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
2638 <bp-sym.h> and <bp-asm.h>.
2639 (strlen): Don't use BP_SYM.
2640 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
2641 <bp-sym.h> and <bp-asm.h>.
2642 (strncmp): Don't use BP_SYM. Remove comment about bounded
2644 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
2645 <bp-sym.h> and <bp-asm.h>.
2646 (__strnlen): Don't use BP_SYM.
2647 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
2648 <bp-sym.h> and <bp-asm.h>.
2649 (__GI__setjmp): Don't use BP_SYM.
2650 (_setjmp): Likewise.
2651 (__sigsetjmp): Likewise.
2652 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
2653 (L(start_addresses)): Don't use BP_SYM.
2655 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
2657 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
2658 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
2659 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2660 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2661 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
2663 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
2664 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
2665 about bounded pointers.
2666 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2667 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2668 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
2670 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2671 about bounded pointers. Remove GKM FIXME comments.
2672 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2673 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
2675 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
2676 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
2677 Remove GKM FIXME comments.
2678 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2679 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2680 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
2682 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2683 about bounded pointers. Remove GKM FIXME comment.
2684 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
2686 (strncmp): Don't use BP_SYM. Remove comment about bounded
2688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
2689 <bp-sym.h> and <bp-asm.h>.
2690 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
2692 <bp-sym.h> and <bp-asm.h>.
2693 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2696 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2698 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
2701 2013-03-05 David S. Miller <davem@davemloft.net>
2703 * po/es.po: Update from translation team.
2705 2013-03-05 Andreas Jaeger <aj@suse.de>
2707 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
2708 <bits/mman-linux.h>.
2709 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2711 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
2712 <bits/mman-linux.h> to end of file.
2713 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2715 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
2716 <bits/mman-linux.h> to end of file.
2717 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2719 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
2720 <bits/mman-linux.h> to end of file.
2722 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
2723 (MCL_CURRENT, MCL_FUTURE): Define here.
2725 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2728 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
2730 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2732 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2734 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
2735 fourth parameter needed for rt_sigprocmask syscall.
2736 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2737 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2738 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2739 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2740 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2741 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
2743 2013-03-04 Joseph Myers <joseph@codesourcery.com>
2746 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
2747 comment about bounded pointers.
2748 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
2749 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
2751 2013-03-04 Andreas Jaeger <aj@suse.de>
2753 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
2756 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
2757 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
2758 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
2759 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2760 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
2761 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2763 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2766 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2767 __ieee754_sqrl instead of __sqrl.
2769 2013-03-01 Joseph Myers <joseph@codesourcery.com>
2771 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
2772 * sysdeps/powerpc/fpu_control.h: ... here.
2773 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
2774 * sysdeps/powerpc/bits/fenvinline.h: ... here.
2775 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
2776 * sysdeps/powerpc/bits/mathinline.h: ... here.
2778 2013-03-01 Roland McGrath <roland@hack.frob.com>
2780 * elf/dl-hwcaps.c (_dl_important_hwcaps):
2781 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
2782 to just [NEED_DL_SYSINFO_DSO].
2783 * elf/dl-support.c: Likewise.
2784 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2785 * elf/rtld.c (dl_main): Likewise.
2786 * elf/setup-vdso.h (setup_vdso): Likewise.
2787 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
2788 * sysdeps/unix/sysv/linux/dl-sysdep.c
2789 (_dl_discover_osversion): Likewise.
2791 2013-03-01 Carlos O'Donell <carlos@redhat.com>
2793 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
2794 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2796 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2798 * NEWS: Mention libm performance improvements and non-x86 PI
2801 * csu/libc-start.c (__pthread_initialize_minimal): Change
2803 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2805 2013-02-28 Joseph Myers <joseph@codesourcery.com>
2808 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
2809 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
2810 <bp-sym.h> and <bp-asm.h>.
2811 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2812 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
2814 (memcpy): Don't use BP_SYM.
2815 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
2817 (__mpn_add_n): Don't use BP_SYM.
2818 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
2819 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
2821 (__mpn_addmul_1): Don't use BP_SYM.
2822 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2823 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2825 (_setjmp): Don't use BP_SYM.
2826 (__novmx_setjmp): Likewise.
2827 (__GI__setjmp): Likewise.
2828 (__vmx_setjmp): Likewise.
2829 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2831 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2832 (__bzero): Don't use BP_SYM.
2833 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2834 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2835 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2836 <bp-sym.h> and <bp-asm.h>.
2837 (memcpy): Don't use BP_SYM.
2838 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
2839 <bp-sym.h> and <bp-asm.h>.
2840 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2841 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
2842 <bp-sym.h> and <bp-asm.h>.
2843 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2844 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2846 (__mpn_lshift): Don't use BP_SYM.
2847 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2848 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2850 (memset): Don't use BP_SYM.
2851 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2852 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2853 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2855 (__mpn_mul_1): Don't use BP_SYM.
2856 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2857 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2858 <bp-sym.h> and <bp-asm.h>.
2859 (memcmp): Don't use BP_SYM.
2860 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2861 <bp-sym.h> and <bp-asm.h>.
2862 (memcpy): Don't use BP_SYM.
2863 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2864 <bp-sym.h> and <bp-asm.h>.
2865 (memset): Don't use BP_SYM.
2866 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2867 <bp-sym.h> and <bp-asm.h>.
2868 (strncmp): Don't use BP_SYM.
2869 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2870 <bp-sym.h> and <bp-asm.h>.
2871 (memcpy): Don't use BP_SYM.
2872 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2873 <bp-sym.h> and <bp-asm.h>.
2874 (memset): Don't use BP_SYM.
2875 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2876 <bp-sym.h> and <bp-asm.h>.
2877 (__memchr): Don't use BP_SYM.
2878 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2879 <bp-sym.h> and <bp-asm.h>.
2880 (memcmp): Don't use BP_SYM.
2881 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2882 <bp-sym.h> and <bp-asm.h>.
2883 (memcpy): Don't use BP_SYM.
2884 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2885 <bp-sym.h> and <bp-asm.h>.
2886 (__mempcpy): Don't use BP_SYM.
2887 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2888 <bp-sym.h> and <bp-asm.h>.
2889 (__memrchr): Don't use BP_SYM.
2890 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2891 <bp-sym.h> and <bp-asm.h>.
2892 (memset): Don't use BP_SYM.
2893 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2894 <bp-sym.h> and <bp-asm.h>.
2895 (__rawmemchr): Don't use BP_SYM.
2896 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2897 <bp-sym.h> and <bp-asm.h>.
2898 (__STRCMP): Don't use BP_SYM.
2899 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2900 <bp-sym.h> and <bp-asm.h>.
2901 (strchr): Don't use BP_SYM.
2902 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2903 <bp-sym.h> and <bp-asm.h>.
2904 (__strchrnul): Don't use BP_SYM.
2905 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2906 <bp-sym.h> and <bp-asm.h>.
2907 (strlen): Don't use BP_SYM.
2908 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2909 <bp-sym.h> and <bp-asm.h>.
2910 (strncmp): Don't use BP_SYM.
2911 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2912 <bp-sym.h> and <bp-asm.h>.
2913 (__strnlen): Don't use BP_SYM.
2914 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2916 (__mpn_rshift): Don't use BP_SYM.
2917 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2918 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2919 <bp-sym.h> and <bp-asm.h>.
2920 (__sigsetjmp): Don't use BP_SYM.
2921 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2922 (L(start_addresses)): Don't use BP_SYM.
2924 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2926 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2927 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2928 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2929 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2931 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2932 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2933 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2934 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2936 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2938 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2939 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2941 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2943 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2944 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2945 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2947 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2949 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2951 (strncmp): Don't use BP_SYM,
2952 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2954 (__mpn_sub_n): Don't use BP_SYM.
2955 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2956 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2958 (__mpn_submul_1): Don't use BP_SYM.
2959 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2961 <bp-sym.h> and <bp-asm.h>.
2962 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2964 <bp-sym.h> and <bp-asm.h>.
2965 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2968 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2970 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2971 Use ZK to minimize writes to Z.
2972 (sub_magnitudes): Simplify code a bit.
2973 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2974 Use ZK to minimize writes to Z.
2975 (sub_magnitudes): Simplify code a bit.
2977 2013-02-27 Roland McGrath <roland@hack.frob.com>
2979 * csu/gmon-start.c: Add special exception to license text.
2981 2013-02-27 Richard Henderson <rth@redhat.com>
2983 * scripts/config.guess: Update from config.git.
2984 * scripts/config.sub: Likewise.
2986 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2988 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2990 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2992 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2994 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2996 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2998 2013-02-26 Roland McGrath <roland@hack.frob.com>
3000 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
3001 [$(build-shared = yes].
3003 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3005 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
3006 (__mul): Reduce iterations for calculating mantissa.
3008 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
3010 (__mpranred): Likewise.
3013 * malloc/memusagestat.c (main): Draw graphs for heap and stack
3014 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
3016 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
3018 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
3019 Define __attribute__.
3021 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3023 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
3025 * posix/regex_internal.h (__attribute): Remove.
3026 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
3027 (re_string_context_at): Likewise.
3028 (bitset_not): Use __attribute__ and mark function as possibly
3030 (bitset_merge): Likewise.
3031 (bitset_mask): Likewise.
3032 (re_string_char_size_at): Likewise.
3033 (re_string_wchar_at): Likewise.
3034 (re_string_elem_size_at): Likewise.
3036 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3038 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
3042 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
3047 (__dbl_mp): Likewise.
3048 (add_magnitudes): Likewise.
3049 (sub_magnitudes): Likewise.
3053 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
3056 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
3059 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
3062 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
3063 up changes with default code.
3064 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
3067 2013-02-24 Allan McRae <allan@archlinux.org>
3069 * manual/socket.texi (The Internet Namespace): Order menu items
3070 to match that in the file.
3072 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
3073 node listing of the info page menu.
3075 2013-02-21 Joseph Myers <joseph@codesourcery.com>
3078 * sysdeps/i386/bp-asm.h: Remove file.
3079 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
3080 (PARMS): Do not use macros from bp-asm.h.
3084 (__mpn_add_n): Do not use BP_SYM
3085 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
3087 (PARMS): Do not use macros from bp-asm.h.
3090 (__mpn_addmul_1): Do not use BP_SYM
3091 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
3093 (PARMS): Do not use macros from bp-asm.h.
3095 (_setjmp): Likewise. Do not use BP_SYM.
3096 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
3098 (PARMS): Do not use macros from bp-asm.h.
3100 (setjmp): Likewise. Do not use BP_SYM.
3101 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
3103 (PARMS): Do not use macros from bp-asm.h.
3104 (__frexp): Do not use BP_SYM.
3106 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
3108 (PARMS): Do not use macros from bp-asm.h.
3109 (__frexpf): Do not use BP_SYM.
3111 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
3113 (PARMS): Do not use macros from bp-asm.h.
3114 (__frexpl): Do not use BP_SYM.
3116 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
3118 (PARMS): Do not use macros from bp-asm.h.
3119 (__remquo): Do not use BP_SYM.
3121 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
3123 (PARMS): Do not use macros from bp-asm.h.
3124 (__remquof): Do not use BP_SYM.
3125 (remquof): Likewise.
3126 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
3128 (PARMS): Do not use macros from bp-asm.h.
3129 (__remquol): Do not use BP_SYM.
3130 (remquol): Likewise.
3131 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
3133 (PARMS): Do not use macros from bp-asm.h.
3136 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
3137 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
3139 (PARMS): Do not use macros from bp-asm.h.
3140 (strlen): Do not use BP_SYM.
3141 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
3143 (PARMS): Do not use macros from bp-asm.h.
3147 (__mpn_add_n): Do not use BP_SYM.
3148 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
3150 (PARMS): Do not use macros from bp-asm.h.
3153 (__mpn_addmul_1): Do not use BP_SYM.
3154 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
3157 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
3159 (PARMS): Do not use macros from bp-asm.h.
3162 (__mpn_lshift): Do not use BP_SYM.
3163 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
3165 (PARMS): Do not use macros from bp-asm.h.
3169 (memcpy): Likewise. Do not use BP_SYM.
3170 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
3171 libc_hidden_def and weak_alias.
3172 (mempcpy): Do not use BP_SYM in weak_alias.
3173 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
3175 (PARMS): Do not use macros from bp-asm.h.
3178 [!BZERO_P] (CHR): Likewise.
3179 (memset): Likewise. Do not use BP_SYM.
3180 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
3182 (PARMS): Do not use macros from bp-asm.h.
3185 (__mpn_mul_1): Do not use BP_SYM.
3186 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
3188 (PARMS): Do not use macros from bp-asm.h.
3191 (__mpn_rshift): Do not use BP_SYM.
3192 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
3194 (PARMS): Do not use macros from bp-asm.h.
3197 (strchr): Likewise. Do not use BP_SYM.
3198 (index): Do not use BP_SYM in weak_alias.
3199 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
3201 (PARMS): Do not use macros from bp-asm.h.
3204 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
3205 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
3207 (PARMS): Do not use macros from bp-asm.h.
3208 (strlen): Do not use BP_SYM.
3209 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
3211 (PARMS): Do not use macros from bp-asm.h.
3215 (__mpn_sub_n): Do not use BP_SYM.
3216 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
3218 (PARMS): Do not use macros from bp-asm.h.
3221 (__mpn_submul_1): Do not use BP_SYM.
3222 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
3224 (PARMS): Do not use macros from bp-asm.h.
3228 (__mpn_add_n): Do not use BP_SYM.
3229 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
3232 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
3234 (PARMS): Do not use macros from bp-asm.h.
3237 (memcmp): Do not use BP_SYM.
3238 (bcmp): Do not use BP_SYM in weak_alias.
3239 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
3241 (PARMS): Do not use macros from bp-asm.h.
3245 (memcpy): Likewise. Do not use BP_SYM.
3246 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
3248 (PARMS): Do not use macros from bp-asm.h.
3252 (memmove): Likewise. Do not use BP_SYM.
3253 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
3255 (PARMS): Do not use macros from bp-asm.h.
3259 (__mempcpy): Likewise. Do not use BP_SYM.
3260 (mempcpy): Do not use BP_SYM in weak_alias.
3261 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
3263 (PARMS): Do not use macros from bp-asm.h.
3266 [!BZERO_P] (CHR): Likewise.
3267 (memset): Likewise. Do not use BP_SYM.
3268 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
3270 (PARMS): Do not use macros from bp-asm.h.
3272 (strcmp): Do not use BP_SYM.
3273 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
3275 (PARMS): Do not use macros from bp-asm.h.
3278 [USE_AS_STRTOK_R] (SAVE): Likewise.
3279 (FUNCTION): Likewise. Do not use BP_SYM.
3280 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
3282 (strtok_r): Likewise.
3283 (__GI___strtok_r): Likewise.
3284 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3285 (PARMS): Do not use macros from bp-asm.h.
3288 (__mpn_lshift): Do not use BP_SYM.
3289 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3290 (PARMS): Do not use macros from bp-asm.h.
3293 (__memchr): Do not use BP_SYM.
3294 (memchr): Do not use BP_SYM in weak_alias.
3295 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3296 (PARMS): Do not use macros from bp-asm.h.
3299 (memcmp): Do not use BP_SYM.
3300 (bcmp): Do not use BP_SYM in weak_alias.
3301 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
3302 (PARMS): Do not use macros from bp-asm.h.
3305 (__mpn_mul_1): Do not use BP_SYM.
3306 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
3308 (PARMS): Do not use macros from bp-asm.h.
3311 (__rawmemchr): Do not use BP_SYM.
3312 (rawmemchr): Do not use BP_SYM in weak_alias.
3313 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3314 (PARMS): Do not use macros from bp-asm.h.
3317 (__mpn_rshift): Do not use BP_SYM.
3318 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3319 (PARMS): Do not use macros from bp-asm.h.
3321 (__sigsetjmp): Likewise. Do not use BP_SYM.
3322 * sysdeps/i386/start.S: Do not include "bp-sym.h".
3323 (_start): Do not use BP_SYM.
3324 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
3325 (PARMS): Do not use macros from bp-asm.h.
3328 (__stpcpy): Likewise. Do not use BP_SYM.
3329 (stpcpy): Do not use BP_SYM in weak_alias.
3330 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
3332 (PARMS): Do not use macros from bp-asm.h.
3336 (__stpncpy): Likewise. Do not use BP_SYM.
3337 (stpncpy): Do not use BP_SYM in weak_alias.
3338 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3339 (PARMS): Do not use macros from bp-asm.h.
3342 (strchr): Likewise. Do not use BP_SYM.
3343 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
3345 (PARMS): Do not use macros from bp-asm.h.
3348 (__strchrnul): Likewise. Do not use BP_SYM.
3349 (strchrnul): Do not use BP_SYM in weak_alias.
3350 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
3352 (PARMS): Do not use macros from bp-asm.h.
3354 (strcspn): Do not use BP_SYM.
3355 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
3357 (PARMS): Do not use macros from bp-asm.h.
3360 (strpbrk): Likewise. Do not use BP_SYM.
3361 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
3363 (PARMS): Do not use macros from bp-asm.h.
3366 (strrchr): Likewise. Do not use BP_SYM.
3367 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
3368 (PARMS): Do not use macros from bp-asm.h.
3370 (strspn): Do not use BP_SYM.
3371 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
3372 (PARMS): Do not use macros from bp-asm.h.
3376 (FUNCTION): Likewise. Do not use BP_SYM.
3377 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
3379 (strtok_r): Likewise.
3380 (__GI___strtok_r): Likewise.
3381 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
3382 (PARMS): Do not use macros from bp-asm.h.
3386 (__mpn_sub_n): Do not use BP_SYM.
3387 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
3389 (PARMS): Do not use macros from bp-asm.h.
3392 (__mpn_submul_1): Do not use BP_SYM.
3393 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
3395 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
3397 (PARMS): Do not use macros from bp-asm.h.
3402 (__clone): Do not use BP_SYM.
3403 (clone): Do not use BP_SYM in weak_alias.
3404 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
3406 (PARMS): Do not use macros from bp-asm.h.
3408 (__mmap64): Do not use BP_SYM.
3409 (mmap64): Do not use BP_SYM in weak_alias.
3410 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3411 <bp-sym.h> and <bp-asm.h>.
3412 (PARMS): Do not use macros from bp-asm.h.
3413 (__posix_fadvise64_l64): Do not use BP_SYM.
3414 * sysdeps/unix/sysv/linux/i386/semtimedop.S
3415 (PARMS): Do not use macros from bp-asm.h.
3417 (semtimedop): Do not use BP_SYM.
3418 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
3421 2013-02-21 Allan McRae <allan@archlinux.org>
3423 * manual/message.texi (Charset conversion in gettext):
3424 Move @end statement to beginning of line.
3426 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3428 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
3430 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3433 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
3435 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
3436 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
3438 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3440 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
3441 tail-call to the resolved function if pltexit isn't needed.
3443 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3445 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
3446 or Y being zero as being unlikely.
3447 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3450 2013-02-20 Carlos O'Donell <carlos@redhat.com>
3452 * manual/nss.texi (System Databases and Name Service Switch):
3453 Remove frobnicate @pxref.
3455 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3457 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3458 __attribute__ ((unused)) to __attribute__ ((__unused__)).
3460 2013-02-20 Petr Machata <pmachata@redhat.com>
3462 * elf/elf.h (R_ARM_TARGET1): New macro.
3463 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
3464 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
3465 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
3466 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
3467 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
3468 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
3469 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
3470 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
3471 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
3472 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
3473 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
3474 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
3475 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
3476 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
3477 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
3478 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
3479 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
3480 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
3481 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
3482 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
3483 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
3484 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
3485 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
3486 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
3487 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
3488 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
3489 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
3490 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
3491 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
3492 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
3493 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
3494 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
3495 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
3496 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
3497 (R_ARM_THM_GOT_BREL12): Likewise.
3498 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
3499 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
3500 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
3501 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
3502 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
3503 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
3504 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
3505 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
3506 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
3508 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3510 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3511 __attribute_used__ to __attribute__ ((unused)).
3513 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3515 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
3517 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
3519 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
3521 2013-02-19 Joseph Myers <joseph@codesourcery.com>
3524 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
3526 (ENTER): Remove both macro definitions.
3528 (CHECK_BOUNDS_LOW): Likewise.
3529 (CHECK_BOUNDS_HIGH): Likewise.
3530 (CHECK_BOUNDS_BOTH): Likewise.
3531 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
3532 (RETURN_BOUNDED_POINTER): Likewise.
3533 (RETURN_NULL_BOUNDED_POINTER): Likewise.
3534 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
3535 (POP_ERRNO_LOCATION_RETURN): Likewise.
3536 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
3537 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3538 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
3540 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3541 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
3542 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
3543 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
3544 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
3545 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
3546 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
3547 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
3548 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
3549 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
3550 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
3551 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
3552 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3553 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
3555 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3556 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
3558 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3559 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
3560 * sysdeps/i386/i586/memset.S (memset): Likewise.
3561 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
3562 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3563 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
3565 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3566 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
3567 Change uses of L(2) to L(out).
3568 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
3569 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
3570 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
3571 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3572 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
3574 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3575 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
3577 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3578 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
3579 (RETURN): Do not use macro LEAVE.
3580 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
3581 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
3582 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
3583 * sysdeps/i386/i686/memset.S (memset): Likewise.
3584 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
3585 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
3586 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3587 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
3589 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3590 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
3591 L(1_2) and L(1_3) into L(1).
3592 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3593 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
3594 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3595 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
3596 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3597 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
3598 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
3599 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3600 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
3602 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
3603 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3604 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
3605 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
3606 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
3607 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3608 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
3609 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
3610 * sysdeps/i386/strcspn.S (strcspn): Likewise.
3611 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
3612 * sysdeps/i386/strrchr.S (strrchr): Likewise.
3613 * sysdeps/i386/strspn.S (strspn): Likewise.
3614 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
3616 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3617 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
3618 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3619 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
3621 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
3622 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3623 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
3625 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3627 2013-02-19 Jakub Jelinek <jakub@redhat.com>
3629 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
3632 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3634 * math/atest-exp.c (exp_mpn): Remove ROUND.
3635 * math/atest-exp2.c (exp_mpn): Likewise.
3636 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
3638 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
3639 * stdlib/tst-tls-atexit-lib.c: Likewise.
3640 * stdlib/tst-tls-atexit.c: Likewise.
3642 2013-02-18 Mike Frysinger <vapier@gentoo.org>
3644 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
3645 and __attribute_alloc_size__.
3647 2013-02-18 Mike Frysinger <vapier@gentoo.org>
3649 * include/programs/xmalloc.h: Change __attribute_alloc_size to
3650 __attribute_alloc_size__.
3651 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
3652 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
3654 2013-02-18 Mike Frysinger <vapier@gentoo.org>
3656 * include/programs/xmalloc.h: New file.
3657 * catgets/gencat.c: Include it.
3658 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
3659 * elf/pldd.c: Likewise.
3660 * iconv/iconv_charmap.c: Likewise.
3661 * iconv/iconvconfig.c: Likewise.
3662 * iconv/strtab.c: Likewise.
3663 * locale/programs/locale.c: Likewise.
3664 * locale/programs/localedef.h: Likewise.
3665 * locale/programs/simple-hash.c: Likewise.
3666 * nscd/nscd.h: Likewise.
3667 * nss/makedb.c: Likewise.
3668 * sysdeps/generic/ldconfig.h: Likewise.
3670 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3672 * Versions.def: Add GLIBC_2.18.
3673 * include/link.h (struct link_map): New member l_tls_dtor_count.
3674 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
3675 (__call_tls_dtors): Likewise.
3676 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
3677 __cxa_thread_atexit_impl.
3678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3682 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3686 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3687 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
3689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
3691 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3692 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3694 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
3695 (tests): Add test case tst-tls-atexit.
3696 (modules-names): Add shared library for tst-tls-atexit.
3697 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
3698 (GLIBC_PRIVATE): Add __call_tls_dtors.
3699 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
3701 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
3702 * stdlib/tst-tls-atexit.c: New test case.
3703 * stdlib/tst-tls-atexit-lib.c: New test case.
3705 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
3707 * elf/Versions (ld): Add _dl_find_dso_for_object.
3708 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
3709 * elf/dl-open.c (_dl_find_dso_for_object): New function.
3710 (dl_open_worker): Use _dl_find_dso_for_object.
3711 * elf/dl-sym.c (do_sym): Likewise.
3712 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
3714 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3716 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
3717 Syntactic changes only.
3718 (_dl_runtime_profile): Do a tail-call to the resolved function.
3720 2013-02-17 Joseph Myers <joseph@codesourcery.com>
3723 * sysdeps/x86_64/bp-asm.h: Remove file.
3724 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
3725 <bp-sym.h> and <bp-asm.h>.
3726 (__clone): Do not use BP_SYM.
3727 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
3728 <bp-sym.h> and <bp-asm.h>.
3729 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3730 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
3732 (_setjmp): Do not use BP_SYM.
3733 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
3735 (setjmp): Do not use BP_SYM.
3736 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
3738 (mempcpy): Do not use BP_SYM in weak_alias.
3739 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
3741 (strchr): Do not use BP_SYM.
3742 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
3744 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
3745 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
3746 (_start): Do not use BP_SYM.
3747 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
3749 (strcat): Do not use BP_SYM.
3750 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
3752 (STRCMP): Do not use BP_SYM.
3753 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
3755 (STRCPY): Do not use BP_SYM.
3756 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
3758 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
3760 (FUNCTION): Do not use BP_SYM.
3761 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
3763 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
3765 2013-02-17 Andreas Jaeger <aj@suse.de>
3767 * time/Versions: Sort entries.
3768 * string/Versions: Likewise.
3769 * resolv/Versions: Likewise.
3770 * posix/Versions: Likewise.
3771 * iconv/Versions: Likewise.
3772 * elf/Versions: Likewise.
3773 * wcsmbs/Versions: Likewise.
3775 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3777 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
3778 loop termination condition.
3780 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
3781 variable to calculate EZ.
3784 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
3785 the lower precision input.
3787 2013-02-15 Joseph Myers <joseph@codesourcery.com>
3790 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
3791 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
3792 (run-via-rtld-prefix): Do not handle %-bp tests.
3793 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
3794 (all-object-suffixes): Remove .ob.
3795 (bppfx): Remove variable.
3796 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
3797 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
3798 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
3799 [$(build-bounded) = yes] (libtype.ob): Likewise.
3800 * Makerules (elide-routines.ob): Remove variable.
3801 (do-tests-clean): Do not handle *-bp.out.
3802 (common-mostlyclean): Do not handle *-bp and *-bp.out.
3803 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
3804 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
3805 (tests): Do not include $(tests-bp.out).
3806 (xtests): Do not include $(xtests-bp.out).
3807 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
3808 [$(build-bounded) = yes] ($(addprefix
3809 $(objpfx),$(binaries-bounded))): Remove rule.
3810 ($(objpfx)%-bp.out): Remove rule.
3811 * config.make.in (build-bounded): Remove variable.
3812 * crypt/Makefile [$(build-bounded) = yes]
3813 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
3814 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
3816 [$(build-bounded) = yes] (install-lib): Likewise.
3817 [$(build-bounded) = yes] (generated): Likewise.
3818 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
3820 * intl/Makefile [$(build-bounded) = yes]
3821 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3822 * math/Makefile [$(build-bounded) = yes]
3823 ($(tests:%=$(objpfx)%-bp): Likewise.
3824 * misc/Makefile [$(build-bounded) = yes]
3825 ($(objpfx)tst-tsearch-bp): Likewise.
3826 * nptl/Makeconfig (bounded-thread-library): Remove variable.
3827 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3829 * string/Makefile (o-objects.ob): Remove variable.
3830 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3831 (CFLAGS-.ob): Remove variable.
3832 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3833 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3834 both definitions of variable.
3835 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3836 (ASFLAGS-.ob): Remove variable.
3838 2013-02-14 Joseph Myers <joseph@codesourcery.com>
3841 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3842 Remove __BOUNDED_POINTERS__ from condition.
3843 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3844 * string/bits/string2.h [!__NO_STRING_INLINES &&
3845 !__BOUNDED_POINTERS__]: Likewise.
3846 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3848 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3849 Remove conditional code.
3850 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3851 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3852 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3856 * csu/libc-start.c: Do not include <bp-sym.h>.
3857 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3858 * elf/dl-open.c: Do not include <bp-sym.h>.
3859 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3860 * math/fegetenv.c: Do not include <bp-sym.h>.
3861 (fegetenv): Do not use BP_SYM in versioned symbols.
3862 * nptl/sysdeps/pthread/bits/libc-lockP.h
3863 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3865 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3866 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3867 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3868 (__pthread_mutex_destroy): Likewise.
3869 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3870 (__pthread_mutex_lock): Likewise.
3871 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3872 (__pthread_mutex_trylock): Likewise.
3873 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3874 (__pthread_mutex_unlock): Likewise.
3875 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3876 (__pthread_mutexattr_init): Likewise.
3877 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3878 (__pthread_mutexattr_destroy): Likewise.
3879 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3880 (__pthread_mutexattr_settype): Likewise.
3881 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3882 (__pthread_rwlock_init): Likewise.
3883 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3884 (__pthread_rwlock_destroy): Likewise.
3885 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3886 (__pthread_rwlock_rdlock): Likewise.
3887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3888 (__pthread_rwlock_tryrdlock): Likewise.
3889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3890 (__pthread_rwlock_wrlock): Likewise.
3891 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3892 (__pthread_rwlock_trywrlock): Likewise.
3893 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3894 (__pthread_rwlock_unlock): Likewise.
3895 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3896 (__pthread_key_create): Likewise.
3897 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3898 (__pthread_setspecific): Likewise.
3899 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3900 (__pthread_getspecific): Likewise.
3901 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3903 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3904 (_pthread_cleanup_push_defer): Likewise.
3905 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3906 (_pthread_cleanup_pop_restore): Likewise.
3907 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3908 (pthread_setcancelstate): Likewise.
3909 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3911 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3912 (memchr): Do not use BP_SYM in weak_alias.
3913 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3914 (fegetenv): Do not use BP_SYM in versioned symbols.
3915 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3916 (fesetenv): Do not use BP_SYM in versioned symbols.
3917 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3918 (feupdateenv): Do not use BP_SYM in versioned symbols.
3919 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3920 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3921 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3922 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3923 (open64): Do not use BP_SYM in weak_alias.
3924 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3925 (fegetenv): Do not use BP_SYM in versioned symbols.
3926 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3927 (fesetenv): Do not use BP_SYM in versioned symbols.
3928 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3929 (feupdateenv): Do not use BP_SYM in versioned symbols.
3930 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3931 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3932 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3933 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3934 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3935 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3936 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3938 (__libc_start_main): Do not use BP_SYM.
3940 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3942 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3943 redundant return line.
3947 (sub_magnitudes): Likewise.
3953 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3957 (sub_magnitudes): Likewise.
3964 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3966 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3967 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3970 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3971 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3972 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3973 of __mul for squares.
3974 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3976 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3978 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3979 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3981 2013-02-13 Joseph Myers <joseph@codesourcery.com>
3984 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3986 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3987 prototype or function definition. Rename ubp_* variables and
3988 parameters. Remove argv definitions conditional on
3989 [__BOUNDED_POINTERS__].
3990 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3991 * elf/dl-runtime.c (_dl_fixup): Likewise.
3992 * include/set-hooks.h (RUN_HOOK): Likewise.
3993 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3995 * string/strcpy.c (strcpy): Do not use __unbounded.
3996 * sysdeps/generic/frame.h (struct layout): Likewise.
3997 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3998 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3999 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
4000 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
4001 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
4002 (__backtrace): Likewise.
4003 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
4005 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
4006 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4007 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
4009 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
4010 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
4011 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4012 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4013 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
4014 Do not use __unbounded.
4015 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
4016 Rename __unboundedrlimits parameter to rlimits in prototype.
4017 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
4018 Do not use __unbounded.
4019 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
4021 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4022 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
4023 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4024 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
4025 __ptrvalue or __unbounded.
4026 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
4027 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
4029 (__new_msgctl): Do not use __ptrvalue.
4030 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
4032 (__libc_msgrcv): Do not use __ptrvalue.
4033 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
4034 startup_info): Do not use __unbounded.
4035 (__libc_start_main): Likewise. Rename ubp_* variables and
4036 parameters. Remove argv definitions conditional on
4037 [__BOUNDED_POINTERS__].
4038 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
4040 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
4042 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
4044 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
4046 (__new_shmctl): Do not use __ptrvalue.
4047 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
4048 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
4050 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
4051 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
4052 (__libc_sigaction): Likewise.
4053 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
4054 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
4056 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4058 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
4060 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
4062 * string/mempcpy.c: Implement by calling memcpy.
4064 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4066 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
4068 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
4071 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
4072 values in the mantissa.
4074 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
4075 minimize writes to Z.
4076 (sub_magnitudes): Simplify code a bit.
4078 2013-02-12 Roland McGrath <roland@hack.frob.com>
4080 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
4081 from the message. The linker prefixes all warnings with that already.
4083 2013-02-12 Andreas Schwab <schwab@suse.de>
4086 * posix/regexec.c (extend_buffers): Add parameter min_len.
4087 (check_matching): Pass minimum needed length.
4088 (clean_state_log_if_needed): Likewise.
4089 (get_subexp): Likewise.
4090 * posix/Makefile (tests): Add bug-regex34.
4091 (bug-regex34-ENV): Define.
4092 * posix/bug-regex34.c: New file.
4095 * posix/regcomp.c (parse_bracket_exp): When looking up collating
4096 elements compare against the byte sequence of it, not its name.
4097 * posix/Makefile (tests): Add bug-regex35.
4098 (bug-regex35-ENV): Define.
4099 * posix/bug-regex35.c: New file.
4101 2013-02-11 Tom de Vries <tom@codesourcery.com>
4103 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
4105 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
4106 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
4107 (CHECK_EOL): Add undef.
4109 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
4111 * bits/stdlib-bsearch.h: New file.
4112 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
4113 * stdlib/stdlib.h: Likewise.
4115 2013-02-11 Roland McGrath <roland@hack.frob.com>
4117 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
4118 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
4120 * manual/search.texi (Array Search Function): Add missing const in
4122 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
4123 declaration to use rlim_t.
4124 (Basic Scheduling Functions): Remove erroneous const from
4125 sched_getparam prototype. Remove erroneous * from
4126 sched_get_priority_max and sched_get_priority_min prototypes.
4127 (Resource Usage): Fix summary @comment on vtimes to refer to
4128 sys/vtimes.h rather than vtimes.h.
4129 Add missing *s in vtimes prototype.
4130 (Limits on Resources): Fix ulimit prototype to return long int.
4131 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
4132 prototypes to use long int rather than double.
4133 (BSD Random): Fix initstate and setstate to use char *, not void *.
4134 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
4135 prototype to make second argument 'struct aiocb64 *const[]'.
4136 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
4137 (Status of AIO Operations): Remove erroneous const in aio_return and
4138 aio_return64 prototypes.
4139 (Synchronizing I/O): Fix sync prototype to return void.
4140 * manual/startup.texi (Suboptions): Remove an erroneous const in
4141 getsubopt prototype.
4142 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
4143 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
4144 use size_t rather than int.
4145 (Scanning All Users): Likewise for getpwent_r.
4146 (Setting Groups): Add missing const to setgroups prototype.
4147 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
4148 * manual/socket.texi (Host Names): Fix gethostbyaddr and
4149 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
4150 'const void *' rather than 'const char *'.
4151 (Host Address Functions): Likewise for inet_ntop.
4152 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
4153 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
4154 ssize_t for return value.
4155 (Sending Data): Likewise for send, sendto, sendmsg.
4156 (Socket Option Functions): Add a missing const in setsockopt prototype.
4157 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
4158 use wchar_t for the argument.
4159 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
4160 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
4162 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
4163 double/float/long double for second argument.
4164 Fix return types of significand, significandf, significandl.
4165 * manual/filesys.texi (Setting Permissions): Use mode_t for second
4166 argument in fchmod prototype.
4167 (File Owner): Use uid_t and gid_t in fchown prototype.
4168 (File Times): Add const to utimes, futimes, and lutimes prototypes.
4169 (Making Special Files): Use mode_t and dev_t in mknod prototype.
4170 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
4171 use 'const struct dirent **' as argument types to CMP function pointer
4173 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
4174 (File Times): Fix summary magic @comment for struct utimbuf and utime
4175 to refer to utime.h, not time.h.
4176 * manual/string.texi (Argz Functions): Add missing const in
4177 argz_extract and argz_next prototypes.
4178 (Finding Tokens in a String): Likewise for basename.
4179 (String/Array Comparison): Fix typo in wcscasecmp prototype.
4180 (Copying and Concatenation): Fix typo in wmemmove prototype.
4181 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
4182 (Signal Stack): Remove erroneous const in sigstack prototype.
4183 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
4185 (Simple Calendar Time): Likewise for stime.
4186 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
4188 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
4189 say sys/sysctl.h instead.
4190 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
4191 and vsyslog prototypes.
4193 2013-02-11 Tom de Vries <tom@codesourcery.com>
4195 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
4198 2013-02-11 Roland McGrath <roland@hack.frob.com>
4200 * misc/sys/mman.h: Fix typo in mremap comment.
4202 2013-02-08 Roland McGrath <roland@hack.frob.com>
4204 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
4205 the '\0' terminator.
4207 2013-02-08 Joseph Myers <joseph@codesourcery.com>
4210 * debug/segfault.c: Don't include <bp-checks.h>.
4211 * sysdeps/generic/bp-checks.h: Remove file.
4212 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
4213 (__GETDENTS): Don't use CHECK_N.
4214 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
4215 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4216 (__getgroups): Don't use CHECK_N.
4217 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4218 (setgroups): Don't use CHECK_N.
4219 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
4220 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
4221 (__libc_msgrcv): Don't use CHECK_N.
4222 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
4223 (__libc_msgsnd): Don't use CHECK_N.
4224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
4226 (__libc_pread): Don't use CHECK_N.
4227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
4228 include <bp-checks.h>.
4229 (__libc_pread64): Don't use CHECK_N.
4230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
4231 include <bp-checks.h>.
4232 (__libc_pwrite): Don't use CHECK_N.
4233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
4234 include <bp-checks.h>.
4235 (__libc_pwrite64): Don't use CHECK_N.
4236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
4238 (__libc_pread): Don't use CHECK_N.
4239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
4240 include <bp-checks.h>.
4241 (__libc_pread64): Don't use CHECK_N.
4242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
4243 include <bp-checks.h>.
4244 (__libc_pwrite): Don't use CHECK_N.
4245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
4246 include <bp-checks.h>.
4247 (__libc_pwrite64): Don't use CHECK_N.
4248 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
4249 (do_pread): Don't use CHECK_N.
4250 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
4251 (do_pread64): Don't use CHECK_N.
4252 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
4253 (do_pwrite): Don't use CHECK_N.
4254 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
4255 (do_pwrite64): Don't use CHECK_N.
4256 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
4257 (__libc_readv): Don't use CHECK_N.
4258 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
4259 (semop): Don't use CHECK_N.
4260 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
4262 (semtimedop): Don't use CHECK_N.
4263 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
4264 (__libc_pread): Don't use CHECK_N.
4265 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
4267 (__libc_pread64): Don't use CHECK_N.
4268 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
4270 (__libc_pwrite): Don't use CHECK_N.
4271 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
4273 (__libc_pwrite64): Don't use CHECK_N.
4274 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
4276 (__libc_msgrcv): Don't use CHECK_N.
4277 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
4278 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
4279 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
4280 (__libc_writev): Don't use CHECK_N.
4282 2013-02-08 Roland McGrath <roland@hack.frob.com>
4284 * string/strcpy.c: Removed unused variable.
4286 * Makeconfig (+sysdep-includes): Define with := rather than =.
4287 Use an existing include/ subdir of each sysdeps dir before it.
4289 2013-02-08 Carlos O'Donell <carlos@redhat.com>
4291 * nscd/connection.c (register_traced_file): Comment function.
4292 [HAVE_INOTIFY] (union __inev): Define.
4293 [HAVE_INOTIFY] (inotify_check_files): New function.
4294 [HAVE_INOTIFY] (clear_db_cache): Likewise.
4295 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
4297 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
4299 2013-02-08 Carlos O'Donell <carlos@redhat.com>
4301 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
4302 loaded if not already and that a failure is permanent.
4304 2013-02-08 Carlos O'Donell <carlos@redhat.com>
4307 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
4308 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
4310 2013-02-08 Joseph Myers <joseph@codesourcery.com>
4313 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
4314 (CHECK_1_NULL_OK): Likewise.
4315 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
4316 (__fxstat): Do not use CHECK_1.
4317 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4319 (___fxstat64): Do not use CHECK_1.
4320 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4322 (__fxstatat): Do not use CHECK_1.
4323 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4325 (__fxstatat64): Do not use CHECK_1.
4326 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
4328 (__fxstat): Do not use CHECK_1.
4329 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4331 (__fxstatat): Do not use CHECK_1.
4332 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4334 (__getresgid): Do not use CHECK_1.
4335 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4337 (__getresuid): Do not use CHECK_1.
4338 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
4340 (__lxstat): Do not use CHECK_1.
4341 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4343 (__old_msgctl): Do not use CHECK_1.
4344 (__new_msgctl): Likewise.
4345 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
4347 (__new_setrlimit): Do not use CHECK_1.
4348 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4350 (__old_shmctl): Do not use CHECK_1.
4351 (__new_shmctl): Likewise.
4352 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
4354 (__xstat): Do not use CHECK_1.
4355 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
4356 (__lxstat): Do not use CHECK_1.
4357 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4359 (___lxstat64): Do not use CHECK_1.
4360 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
4361 (__old_msgctl): Do not use CHECK_1.
4362 (__new_msgctl): Likewise.
4363 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
4365 (__gettimeofday): Do not use CHECK_1.
4366 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
4367 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
4368 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
4370 (__gettimeofday): Do not use CHECK_1.
4371 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
4372 (__old_shmctl): Do not use CHECK_1_NULL_OK.
4373 (__new_shmctl): Do not use CHECK_1.
4374 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
4376 (do_sigtimedwait): Do not use CHECK_1.
4377 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
4379 (do_sigwaitinfo): Do not use CHECK_1.
4380 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
4382 (msgctl): Do not use CHECK_1.
4383 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
4385 (shmctl): Do not use CHECK_1.
4386 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
4387 (ustat): Do not use CHECK_1.
4388 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
4390 (__fxstat): Do not use CHECK_1.
4391 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4393 (__fxstatat): Do not use CHECK_1.
4394 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
4396 (__lxstat): Do not use CHECK_1.
4397 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
4399 (__xstat): Do not use CHECK_1.
4400 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
4401 (__xstat): Do not use CHECK_1.
4402 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
4403 (___xstat64): Do not use CHECK_1.
4406 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
4408 (CHECK_BOUNDS_HIGH): Likewise.
4409 * string/strcpy.c: Do not include <bp-checks.h>.
4410 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
4412 2013-02-07 Roland McGrath <roland@hack.frob.com>
4414 * nscd/nscd-client.h (__nscd_drop_map_ref):
4415 Add __attribute__ ((unused)).
4416 * nis/nss-nisplus.h (niserr2nss): Likewise.
4418 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
4419 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
4421 * csu/libc-tls.c (init_static_tls, init_slotinfo):
4422 Remove inline keyword.
4423 * include/rounding-mode.h (round_away): Likewise.
4424 * libio/wfileops.c (adjust_wide_data): Likewise.
4425 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
4426 (__m128i_strloadu_tolower): Likewise.
4427 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
4428 (__m128i_strloadu_tolower): Likewise.
4429 * time/mktime.c (ydhms_diff): Likewise.
4430 * locale/elem-hash.h (elem_hash): Likewise.
4431 * locale/setlocale.c (setdata): Likewise.
4432 * posix/regex_internal.h (re_string_char_size_at): Likewise.
4433 (re_string_wchar_at): Likewise.
4434 (bitset_not, bitset_merge, bitset_mask): Likewise.
4435 [!(__GNUC__ > 3)] (inline): Remove macro.
4436 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
4437 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
4438 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4439 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
4440 * string/memcmp.c (memcmp_bytes): Likewise.
4441 * locale/programs/locarchive.c (compute_hashval): Likewise.
4442 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
4443 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
4444 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
4445 * nss/getent.c (print_rpc, print_protocols): Likewise.
4446 (print_passwd, print_group, print_aliases): Likewise.
4447 * nis/nss-nisplus.h (niserr2nss): Likewise.
4448 * nscd/connections.c (restart_p): Likewise.
4449 Change return type to bool.
4451 2013-02-05 Roland McGrath <roland@hack.frob.com>
4453 * Makeconfig (all-Depend-files): Add existing
4454 $(sorted-subdirs:=/Depend) files.
4455 (all-subdirs): Remove nss.
4456 * sysdeps/unix/inet/Subdirs: Add it here instead.
4457 * hesiod/Depend: New file.
4459 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
4460 instead of calling alloca.
4462 * io/lseek.c (__lseek): Rename to __libc_lseek.
4463 Define __lseek as an alias.
4465 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
4467 2013-02-04 Carlos O'Donell <carlos@redhat.com>
4469 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
4470 else clause and remove check for non-standard endianness.
4472 2013-02-04 David S. Miller <davem@davemloft.net>
4474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4476 2013-02-04 Joseph Myers <joseph@codesourcery.com>
4479 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
4480 (__ubp_memchr): Remove prototype.
4481 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
4482 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4483 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
4484 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4485 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
4487 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
4488 (__ubp_memchr): Likewise.
4489 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
4490 (__ubp_memchr): Likewise.
4491 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
4492 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
4493 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
4494 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
4496 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4497 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
4498 (__getcwd): Do not use CHECK_STRING.
4499 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4501 (__real_chown): Do not use CHECK_STRING.
4502 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
4504 (fchownat): Do not use CHECK_STRING.
4505 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
4507 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4509 (__lchown): Do not use CHECK_STRING.
4510 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4511 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4512 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4513 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4515 include <bp-checks.h>.
4516 (truncate64): Do not use CHECK_STRING.
4517 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4519 (__real_chown): Do not use CHECK_STRING.
4520 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4522 (__lchown): Do not use CHECK_STRING.
4523 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4525 (__chown): Do not use CHECK_STRING.
4526 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
4528 (truncate64): Do not use CHECK_STRING.
4529 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
4531 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
4532 (__xmknod): Do not use CHECK_STRING.
4533 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4535 (__xmknodat): Do not use CHECK_STRING.
4536 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4537 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
4539 2013-02-04 Andreas Schwab <schwab@suse.de>
4542 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
4543 * include/netdb.h: Likewise for h_errno.
4544 * elf/tst-stackguard1.c: Include <tls.h>.
4546 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4548 * elf/link.h (struct link_map): Extend the l_addr comment.
4549 * include/link.h (struct link_map): Likewise.
4551 2013-02-01 Joseph Myers <joseph@codesourcery.com>
4554 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
4555 (BOUNDED_1): Remove macro.
4556 * debug/backtrace.c: Don't include <bp-checks.h>.
4557 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
4558 (__backtrace): Likewise.
4559 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
4561 (__backtrace): Don't use BOUNDED_1.
4562 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
4564 (__backtrace): Don't use BOUNDED_1.
4565 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
4566 (__backtrace): Don't use BOUNDED_1.
4567 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
4568 (shmat): Don't use BOUNDED_N.
4570 2013-01-31 Joseph Myers <joseph@codesourcery.com>
4573 * sysdeps/generic/bp-start.h: Remove file.
4574 * csu/libc-start.c: Don't include <bp-start.h>.
4575 (LIBC_START_MAIN): Set up __environ directly instead of using
4576 INIT_ARGV_and_ENVIRON.
4577 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
4581 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
4583 (CHECK_FCNTL): Likewise.
4584 (CHECK_N_PAGES): Likewise.
4587 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
4589 (CHECK_SIGSET_NULL_OK): Likewise.
4590 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
4592 (sigpending): Don't use CHECK_SIGSET.
4593 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
4595 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4596 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
4598 (do_sigsuspend): Don't use CHECK_SIGSET.
4599 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
4601 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
4602 (do_sigwait): Don't use CHECK_SIGSET.
4603 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
4605 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
4606 include <bp-checks.h>.
4607 (sigpending): Don't use CHECK_SIGSET.
4608 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
4609 include <bp-checks.h>.
4610 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4611 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
4613 (sigpending): Don't use CHECK_SIGSET.
4614 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
4616 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4619 * sysdeps/generic/bp-semctl.h: Remove file.
4620 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
4621 <bp-checks.h> and <bp-semctl.h>.
4622 (__old_semctl): Don't use CHECK_SEMCTL.
4623 (__new_semctl): Likewise.
4624 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
4626 (__old_semctl): Don't use CHECK_SEMCTL.
4627 (__new_semctl): Likewise.
4628 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
4629 <bp-checks.h> and <bp-semctl.h>.
4630 (__old_semctl): Don't use CHECK_SEMCTL.
4631 (__new_semctl): Likewise.
4632 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
4633 <bp-checks.h> and <bp-semctl.h>.
4634 (semctl): Don't use CHECK_SEMCTL.
4637 * Makerules (elide-bp-thunks): Remove variable.
4638 (elide-routines.oS): Don't use $(elide-bp-thunks).
4639 (elide-routines.os): Likewise.
4640 (elide-routines.o): Likewise.
4641 (elide-routines.op): Likewise.
4642 (elide-routines.og): Likewise.
4643 (objects): Don't use $(bp-thunks).
4644 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
4646 (common-generated): Do not add s-proto-bp.d.
4647 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
4650 Do not generate makefile rules for bounded-pointer thunks.
4651 * sysdeps/generic/bp-thunks.h: Remove file.
4652 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
4653 * sysdeps/unix/s-proto-bp.S: Likewise.
4656 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
4657 parts of result separately when argument is not close to line from
4658 -i to i and one part of argument is small.
4659 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4660 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4661 * math/libm-test.inc (cacos_test): Add more tests.
4662 (casin_test): Likewise.
4663 (casinh_test): Likewise.
4664 * sysdeps/i386/fpu/libm-test-ulps: Update.
4665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4667 2013-01-31 David S. Miller <davem@davemloft.net>
4669 * po/de.po: Update from translation team.
4671 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
4673 * time/tzfile.c: Include stdint.h for SIZE_MAX.
4675 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
4677 * configure.in (_AC_PROG_CC_C89): New definition.
4678 * configure: Regenerate.
4680 * configure.in (AC_PROG_CPP): New definition.
4681 * configure: Regenerate.
4683 2013-01-23 Joseph Myers <joseph@codesourcery.com>
4685 * debug/tst-backtrace.h: New file.
4686 * debug/tst-backtrace2.c: Include tst-backtrace.h.
4687 (ret): Remove variable.
4689 (FAIL): Remove macro.
4690 (NO_INLINE): Likewise.
4691 (fn1): Use match function instead of strstr.
4692 * debug/tst-backtrace3.c: Include tst-backtrace.h.
4693 (ret): Remove variable.
4695 (FAIL): Remove macro.
4696 (NO_INLINE): Likewise.
4697 (fn): Use match function instead of strstr.
4698 * debug/tst-backtrace4.c: Include tst-backtrace.h.
4699 (ret): Remove variable.
4701 (FAIL): Remove macro.
4702 (NO_INLINE): Likewise.
4703 (handle_signal): Use match function instead of strstr.
4704 * debug/tst-backtrace5.c: Include tst-backtrace.h.
4705 (ret): Remove variable.
4707 (FAIL): Remove macro.
4708 (NO_INLINE): Likewise.
4709 (handle_signal): Use match function instead of strstr.
4711 2013-01-23 Roland McGrath <roland@hack.frob.com>
4713 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
4715 2013-01-23 David S. Miller <davem@davemloft.net>
4717 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
4718 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
4719 argument of CAS if possible.
4720 * sysdeps/sparc/sparc64/bits/atomic.h
4721 (__arch_compare_and_exchange_val_32_acq): Likewise.
4722 (__arch_compare_and_exchange_val_64_acq): Likewise.
4724 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
4726 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
4727 * sysdeps/posix/ulimit.c: ... this.
4729 * sysdeps/unix/bsd/ulimit.c: Remove file.
4731 2013-01-23 Adam Conrad <adconrad@0c3.net>
4733 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
4734 (LDFLAGS-tst-array5): Likewise.
4736 2013-01-23 Joseph Myers <joseph@codesourcery.com>
4739 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
4740 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
4741 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
4742 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
4744 2013-01-21 David S. Miller <davem@davemloft.net>
4746 * sysdeps/sparc/backtrace.c: New file.
4747 * sysdeps/sparc/sparc32/backtrace.h: New file.
4748 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
4749 * sysdeps/sparc/sparc64/backtrace.h: New file.
4750 * sysdeps/sparc/sparc64/backtrace.c: Delete.
4751 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
4754 2013-01-21 Andreas Schwab <schwab@suse.de>
4757 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
4760 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
4762 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
4764 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4766 2013-01-18 Joseph Myers <joseph@codesourcery.com>
4767 Mark Mitchell <mark@codesourcery.com>
4768 Tom de Vries <tom@codesourcery.com>
4769 Paul Pluzhnikov <ppluzhnikov@google.com>
4771 * debug/tst-backtrace2.c: New file.
4772 * debug/tst-backtrace3.c: Likewise.
4773 * debug/tst-backtrace4.c: Likewise.
4774 * debug/tst-backtrace5.c: Likewise.
4775 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
4776 (CFLAGS-tst-backtrace3.c): Likewise.
4777 (CFLAGS-tst-backtrace4.c): Likewise.
4778 (CFLAGS-tst-backtrace5.c): Likewise.
4779 (LDFLAGS-tst-backtrace2): Likewise.
4780 (LDFLAGS-tst-backtrace3): Likewise.
4781 (LDFLAGS-tst-backtrace4): Likewise.
4782 (LDFLAGS-tst-backtrace5): Likewise.
4783 (tests): Add new tests tst-backtrace2, tst-backtrace3,
4784 tst-backtrace4 and tst-backtrace5.
4786 2013-01-18 Anton Blanchard <anton@samba.org>
4787 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4789 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
4790 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
4791 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
4792 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
4793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4794 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
4795 "+r" and remove output regs list as redundant. Add explicit inline
4796 asm to specify register of return val to work around compiler codegen
4797 bug. Remove (int) cast on return value. Add return type parameter to
4798 use in macro so that this macro does not truncate return value for
4800 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
4801 pass to INTERNAL_VSYSCALL_NCS.
4802 (INLINE_VSYSCALL): Add 'long int' as return type to
4803 INTERNAL_VSYSCALL_NCS macro invocation.
4804 (INTERNAL_VSYSCALL): Add 'long int' as return type to
4805 INTERNAL_VSYSCALL_NCS macro invocation.
4806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4808 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4811 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
4812 Fix application of SIMD FP exception mask.
4814 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
4815 mp_no from a power of two.
4816 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
4817 __mpexp_twomm1. Use __pow_mp.
4819 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4822 2013-01-17 David S. Miller <davem@davemloft.net>
4824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4826 2013-01-17 Joseph Myers <joseph@codesourcery.com>
4829 * include/complex.h: Condition contents on [!_COMPLEX_H].
4830 (__kernel_casinhf): New prototype.
4831 (__kernel_casinh): Likewise.
4832 (__kernel_casinhl): Likewise.
4833 * math/Makefile (libm_calls): Add k_casinh.
4834 * math/k_casinh.c: New file.
4835 * math/k_casinhf.c: Likewise.
4836 * math/k_casinhl.c: Likewise.
4837 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4838 finite nonzero arguments.
4839 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4840 finite nonzero arguments.
4841 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4842 finite nonzero arguments.
4843 * math/s_casinh.c: Do not include <float.h>.
4844 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4845 * math/s_casinhf.c: Do not include <float.h>.
4846 (__casinhf): Move code for finite nonzero arguments to
4848 * math/s_casinhl.c: Do not include <float.h>.
4849 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4851 (__casinhl): Move code for finite nonzero arguments to
4853 * math/libm-test.inc (cacos_test): Add more tests.
4854 * sysdeps/i386/fpu/libm-test-ulps: Update.
4855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4857 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
4859 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4860 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4861 [!HAVE_MREMAP]: Remove [defined linux] case.
4862 * malloc/arena.c: Do not include <malloc-sysdep.h>.
4864 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4866 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4868 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
4870 * elf/elf.h (R_386_SIZE32): New relocation.
4871 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4873 (elf_machine_rela): Likewise.
4874 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4875 R_X86_64_SIZE64 and R_X86_64_SIZE32.
4877 2013-01-17 Joseph Myers <joseph@codesourcery.com>
4879 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4880 (FP_FAST_FMA): Do not define.
4881 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4882 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4883 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4884 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4885 !_SOFT_FLOAT]: Likewise.
4886 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4887 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4889 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4890 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4891 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4892 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4893 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4894 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4897 2013-01-16 Andreas Schwab <schwab@suse.de>
4900 * include/stdlib.h (__mktemp): Add declaration.
4901 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4902 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4904 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4906 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4908 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4909 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4910 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4912 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4913 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4915 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4917 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4918 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4919 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4921 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4922 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4924 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4926 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4928 2013-01-15 David S. Miller <davem@davemloft.net>
4930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4931 trunc{,f} to libm-sysdep_routes.
4932 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4942 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4943 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4944 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4945 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4946 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4947 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4950 nearbyint{,f} to libm-sysdep_routes.
4951 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4962 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4964 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4965 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4967 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4968 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4969 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4971 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4972 libc_feholdexcept and libc_fesetenv.
4974 2013-01-15 Mike Frysinger <vapier@gentoo.org>
4976 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4978 2013-01-14 David S. Miller <davem@davemloft.net>
4980 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4981 (SPARC_ASM_VIS2_IFUNC): Likewise.
4982 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4984 use of 'siam' instruction.
4985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4991 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4992 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4993 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4994 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
5001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
5003 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
5004 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
5005 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
5006 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
5007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
5009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5013 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5014 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5015 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5016 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
5018 routines to libm-sysdep_routines.
5019 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
5022 fdim/fdimf to libm-sysdep_routines.
5023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
5025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
5026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
5028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
5029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
5030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
5031 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
5032 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
5033 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
5034 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
5036 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5038 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
5041 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
5042 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5043 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5045 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
5046 local variable MPTWO.
5047 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5050 2013-01-13 Mike Frysinger <vapier@gentoo.org>
5052 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
5055 2013-01-13 Mike Frysinger <vapier@gentoo.org>
5057 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
5059 2013-01-13 Mike Frysinger <vapier@gentoo.org>
5061 * manual/pattern.texi (glob_t): Document gl_flags.
5062 (glob64_t): Likewise.
5064 2013-01-11 David S. Miller <davem@davemloft.net>
5066 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
5067 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
5068 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
5069 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
5070 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
5071 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
5072 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
5073 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
5074 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
5075 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
5076 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
5077 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
5078 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
5080 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
5081 sparc V9 rather than using V8 code.
5082 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5083 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5085 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5087 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
5090 2013-01-11 Roland McGrath <roland@hack.frob.com>
5092 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
5093 not in the main loop.
5094 * configure: Regenerated.
5096 2013-01-11 Joseph Myers <joseph@codesourcery.com>
5098 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
5099 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
5101 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
5102 [!__GLIBC_HAVE_LONG_LONG] case.
5103 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
5104 condition to just #else.
5105 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
5106 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
5107 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
5108 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
5110 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
5111 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
5112 #elif condition to just #else.
5113 * sysdeps/unix/sysv/linux/sys/sysmacros.h
5114 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
5115 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
5116 #elif condition to just #else.
5118 2013-01-11 Steve Ellcey <sellcey@mips.com>
5120 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
5121 (EF_MIPS_ARCH_64): Fix value.
5122 (EF_MIPS_ARCH_32R2): New.
5123 (EF_MIPS_ARCH_64R2): New.
5125 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
5127 * Makeconfig (+link-pie-before-libc): New.
5128 (+link-pie-after-libc): Likewise.
5129 (+link-pie-tests): Likewise.
5130 (+link-pie): Rewritten.
5131 (link-before-libc): Remove $(config-LDFLAGS).
5132 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
5133 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
5134 (config-LDFLAGS): Renamed to ...
5135 (rtld-LDFLAGS): This.
5136 (rtld-tests-LDFLAGS): New macro.
5137 (link-libc-rpath-link): Likewise.
5138 (link-libc-tests-rpath-link): Likewise.
5139 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
5140 (link-libc): Prepand $(link-libc-rpath-link).
5141 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
5142 (test-program-prefix): New macro.
5143 (test-via-rtld-prefix): Likewise.
5144 (test-program-cmd): Likewise.
5145 (host-test-program-cmd): Likewise.
5146 * Makefile ($(common-objpfx)testrun.sh): Replace
5147 $(run-program-prefix) with $(test-program-prefix).
5148 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
5150 ($(common-objpfx)shlib.lds): Likewise.
5151 (build-module-helper): Likewise.
5152 ($(common-objpfx)format.lds): Likewise.
5153 * Rules (binaries-pie-tests): New.
5154 (binaries-pie-notests): Likewise.
5155 (binaries-pie): Rewritten.
5156 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
5157 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
5158 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
5159 (make-test-out): Replace $(host-built-program-cmd) with
5160 $(host-test-program-cmd).
5161 * config.make.in (build-hardcoded-path-in-tests): New variable.
5162 * configure.in (--enable-hardcoded-path-in-tests): New configure
5164 (hardcoded_path_in_tests): New AC_SUBST.
5165 * configure: Regenerated.
5166 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
5167 $(built-program-cmd) with $(test-program-cmd).
5168 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
5169 (test_program_cmd): This.
5170 * elf/Makefile ($(objpfx)order.out): Run test with
5171 $(test-program-prefix).
5172 ($(objpfx)order2.out): Likewise.
5173 ($(objpfx)tst-initorder.out): Likewise.
5174 ($(objpfx)tst-initorder2.out): Likewise.
5175 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
5176 $(test-program-cmd).
5177 ($(objpfx)tst-array1-static.out): Likewise.
5178 ($(objpfx)tst-array2.out): Likewise.
5179 ($(objpfx)tst-array3.out): Likewise.
5180 ($(objpfx)tst-array4.out): Likewise.
5181 ($(objpfx)tst-array5.out): Likewise.
5182 ($(objpfx)tst-array5-static.out): Likewise.
5183 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
5184 $(test-program-cmd).
5185 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
5186 $(run-program-prefix) with $(test-program-prefix).
5187 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
5188 (test_program_prefix): This.
5189 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
5190 $(run-program-prefix) with $(test-program-prefix).
5191 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
5192 (test_program_prefix): This.
5193 * iconvdata/tst-tables.sh: Likewise.
5194 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
5195 $(run-program-prefix) with $(test-program-prefix).
5196 ($(objpfx)tst-translit.out): Likewise.
5197 ($(objpfx)tst-gettext2.out): Likewise.
5198 ($(objpfx)tst-gettext4.out): Likewise.
5199 ($(objpfx)tst-gettext6.out): Likewise.
5200 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
5201 (test_program_prefix): This.
5202 * intl/tst-gettext2.sh: Likewise.
5203 * intl/tst-gettext4.sh Likewise.
5204 * intl/tst-gettext6.sh: Likewise.
5205 * intl/tst-translit.sh: Likewise.
5206 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
5207 with $(test-program-cmd).
5208 * libio/Makefile ($(objpfx)test-freopen.out): Replace
5209 $(run-program-prefix) with $(test-program-prefix).
5210 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
5211 (test_program_prefix): This.
5212 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
5213 $(run-program-prefix) with $(test-program-prefix).
5214 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
5215 (test_program_prefix): This.
5216 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
5217 * posix/Makefile ($(objpfx)globtest.out): Replace
5218 $(run-via-rtld-prefix) and $(test-wrapper) with
5219 $(test-program-prefix) and $(test-via-rtld-prefix).
5220 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
5221 $(test-program-prefix).
5222 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
5223 $(host-test-program-cmd).
5224 (tst-spawn-ARGS): Likewise.
5225 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
5226 $(test-program-prefix).
5227 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
5228 (test_via_rtld_prefix): This.
5229 (test_wrapper): Renamed to ...
5230 (test_program_prefix): This.
5231 (run_program_prefix): Replaced by test_program_prefix.
5232 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
5233 (test_program_prefix): This.
5234 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
5235 with $(host-test-program-cmd).
5236 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
5237 $(run-program-prefix) with $(test-program-prefix).
5238 ($(objpfx)tst-printf.out): Likewise.
5239 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
5240 $(test-program-cmd).
5241 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
5242 (test_program_prefix): This.
5243 * stdio-common/tst-unbputc.sh: Likewise.
5244 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
5245 $(run-program-prefix) with $(test-program-prefix).
5246 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
5247 (test_program_prefix): This.
5248 * string/Makefile ($(objpfx)tst-svc.out): Replace
5249 $(built-program-cmd) with $(test-program-cmd).
5251 2013-01-11 Andreas Jaeger <aj@suse.de>
5254 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
5255 value. Sync with Linux 3.7.
5257 2013-01-10 David S. Miller <davem@davemloft.net>
5259 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
5260 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5261 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5263 2013-01-10 Roland McGrath <roland@hack.frob.com>
5265 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
5267 * configure: Regenerated.
5269 2013-01-10 David S. Miller <davem@davemloft.net>
5271 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
5272 sparc V9 rather than using V8 code.
5273 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5274 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5276 2013-01-10 Roland McGrath <roland@hack.frob.com>
5278 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
5279 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
5280 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
5281 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
5282 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
5283 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
5284 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
5285 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
5286 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
5287 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
5288 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
5289 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
5290 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
5291 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
5292 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
5293 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
5294 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
5295 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
5296 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
5297 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
5298 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
5299 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
5300 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
5301 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
5302 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
5303 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
5304 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
5306 2013-01-10 David S. Miller <davem@davemloft.net>
5308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5310 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5312 * posix/Makefile (tests-static): New variable.
5313 (tests): Add $(tests-static).
5314 (tst-exec-static-ARGS): New variable.
5315 (tst-spawn-static-ARGS): Likewise.
5316 * posix/tst-exec-static.c: New file.
5317 * posix/tst-spawn-static.c: Likewise.
5318 * posix/tst-exec.c: Support run directly.
5319 * posix/tst-spawn.c: Likewise.
5321 2013-01-10 Joseph Myers <joseph@codesourcery.com>
5323 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
5325 * math/bits/mathcalls.h (llrint): Likewise.
5326 (llround): Likewise.
5327 * stdlib/stdlib.h (struct drand48_data): Likewise.
5328 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
5329 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
5330 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
5332 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
5334 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
5335 (elf_greg_t): Likewise.
5336 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
5337 (__jmp_buf): Likewise.
5338 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
5340 (llrint): Likewise, for all definitions.
5341 (llrintl): Likewise.
5343 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
5344 Remove [__GNUC__] condition.
5345 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
5346 condition to just [__USE_ISOC99].
5347 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
5349 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5352 * sysdeps/unix/sysv/linux/x86/bits/environments.h
5353 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
5355 (_POSIX_V6_ILP32_OFF32): Likewise.
5356 (_XBS5_ILP32_OFF32): Likewise.
5357 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
5358 (__ILP32_OFFBIG_LDFLAGS): Likewise.
5360 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5362 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
5364 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
5365 doubles __mpexp_twomm1. Adjust usage.
5366 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
5369 2013-01-10 Andreas Schwab <schwab@suse.de>
5372 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
5373 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
5375 2013-01-09 David S. Miller <davem@davemloft.net>
5378 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
5379 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
5380 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
5381 TCP_FASTOPEN): Define.
5382 (tcp_repair_opt): New structure.
5383 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
5385 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
5386 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
5387 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
5388 (tcp_cookie_transactions): New structure.
5390 2013-01-09 Anton Blanchard <anton@samba.org>
5392 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
5393 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
5394 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
5395 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5397 2013-01-09 Joseph Myers <joseph@codesourcery.com>
5399 * include/features.h (__USE_ANSI): Remove.
5401 2013-01-09 Roland McGrath <roland@hack.frob.com>
5403 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
5405 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
5407 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
5409 * sysdeps/s390/fpu/libm-test-ulps: Update.
5411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5413 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
5418 (__mp_dbl): Likewise.
5419 (__dbl_mp): Likewise.
5420 (add_magnitudes): Likewise.
5421 (sub_magnitudes): Likewise.
5427 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
5432 (__mp_dbl): Likewise.
5433 (__dbl_mp): Likewise.
5434 (add_magnitudes): Likewise.
5435 (sub_magnitudes): Likewise.
5441 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
5446 (__mp_dbl): Likewise.
5447 (__dbl_mp): Likewise.
5448 (add_magnitudes): Likewise.
5449 (sub_magnitudes): Likewise.
5456 2013-01-08 Joseph Myers <joseph@codesourcery.com>
5458 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
5459 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
5460 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
5461 2 && __USE_EXTERN_INLINES]: Likewise.
5463 2013-01-08 Andreas Jaeger <aj@suse.de>
5466 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
5468 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5469 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5471 2013-01-07 Anton Blanchard <anton@samba.org>
5473 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
5474 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5475 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
5476 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5477 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5478 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5479 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
5480 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5481 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5482 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5483 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5484 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5485 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5486 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5487 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5488 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5489 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5490 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5491 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5492 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5493 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5494 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
5495 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5496 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5497 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
5498 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5499 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5500 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5501 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
5502 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5503 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5504 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5505 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5506 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5507 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5508 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5509 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5510 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5511 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
5512 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5513 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
5514 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5515 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5517 2013-01-07 Joseph Myers <joseph@codesourcery.com>
5519 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
5520 (__MALLOC_PMT): Likewise.
5521 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
5522 [__GNUC__], only on [_LIBC].
5523 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5524 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
5525 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5526 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
5527 forward declaration.
5528 (realloc_hook_ini): Likewise.
5529 (memalign_hook_ini): Likewise.
5530 (__libc_memalign): Do not use __MALLOC_PMT in variable
5532 (__libc_valloc): Likewise.
5533 (__libc_pvalloc): Likewise.
5534 (__libc_calloc): Likewise.
5535 (__posix_memalign): Likewise.
5538 * math/s_casinh.c: Include <float.h>.
5539 (__casinh): Do not do computation with squaring and square root
5540 for large arguments.
5541 * math/s_casinhf.c: Include <float.h>.
5542 (__casinhf): Do not do computation with squaring and square root
5543 for large arguments.
5544 * math/s_casinhl.c: Include <float.h>.
5545 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
5546 (__casinhl): Do not do computation with squaring and square root
5547 for large arguments.
5548 * math/libm-test.inc (casin_test): Add more tests.
5549 (casinh_test): Likewise.
5550 * sysdeps/i386/fpu/libm-test-ulps: Update.
5551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5553 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
5555 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
5556 (__x86_64_raw_data_cache_size): Likewise.
5557 (__x86_64_data_cache_size_half): Likewise.
5558 (__x86_64_raw_data_cache_size_half): Likewise.
5559 (__x86_64_shared_cache_size): Likewise.
5560 (__x86_64_raw_shared_cache_size): Likewise.
5561 (__x86_64_shared_cache_size_half): Likewise.
5562 (__x86_64_raw_shared_cache_size_half): Likewise.
5563 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
5565 (__x86_data_cache_size): This.
5566 (__x86_64_raw_data_cache_size): Renamed to ...
5567 (__x86_raw_data_cache_size): This.
5568 (__x86_64_data_cache_size_half): Renamed to ...
5569 (__x86_data_cache_size_half): This.
5570 (__x86_64_raw_data_cache_size_half): Renamed to ...
5571 (__x86_raw_data_cache_size_half): This.
5572 (__x86_64_shared_cache_size): Renamed to ...
5573 (__x86_shared_cache_size): This.
5574 (__x86_64_raw_shared_cache_size): Renamed to ...
5575 (__x86_raw_shared_cache_size): This.
5576 (__x86_64_shared_cache_size_half): Renamed to ...
5577 (__x86_shared_cache_size_half): This.
5578 (__x86_64_raw_shared_cache_size_half): Renamed to ...
5579 (__x86_raw_shared_cache_size_half): This.
5580 * sysdeps/x86_64/memcpy.S: Updated.
5581 * sysdeps/x86_64/memset.S: Likewise.
5582 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5583 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5584 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5586 2013-01-04 David S. Miller <davem@davemloft.net>
5588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5590 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
5592 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
5593 1 to avoid redefinition warning.
5594 (__USE_GNU): Don't define.
5595 (init_signaling_nan): Protoize.
5597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5599 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5601 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
5602 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
5603 (__cpymn): Likewise.
5604 (norm): Remove commented code.
5606 (__mp_dbl): Likewise.
5608 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
5609 (__cpymn): Likewise.
5610 (norm): Remove commented code.
5612 (__mp_dbl): Likewise.
5615 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
5616 mp_no value for 1.0 and 2.0.
5617 (norm): Use RADIXI instead of radixi.d.
5619 (__mul): Use 0.0 instead of zero.d.
5620 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
5621 mp_no value for 1.0 and 2.0.
5622 (norm): Use RADIXI instead of radixi.d.
5624 (__mul): Use 0.0 instead of zero.d.
5626 2013-01-04 Joseph Myers <joseph@codesourcery.com>
5629 * math/s_casinh.c (__casinh): Reduce finite argument to first
5630 quadrant then set signs of results at the end.
5631 * math/s_casinhf.c (__casinhf): Likewise.
5632 * math/s_casinhl.c (__casinhl): Likewise.
5633 * math/libm-test.inc (casin_test): Add more tests.
5634 (casinh_test): Likewise.
5635 * sysdeps/i386/fpu/libm-test-ulps: Update.
5636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5638 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5640 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
5642 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
5644 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
5647 (__mp_dbl): Likewise.
5650 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
5651 and adjust the header comment.
5653 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
5654 variable name from declaration.
5656 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
5658 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5659 Initialize COMMON_CPUID_INDEX_7 element.
5660 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
5661 (CPUID_RTM): Likewise.
5662 (HAS_RTM): Likewise.
5663 (COMMON_CPUID_INDEX_7): New enum.
5665 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
5668 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
5669 size is zero, record memory as freed.
5671 2013-01-03 Andreas Jaeger <aj@suse.de>
5673 * po/ia.po: Add new Interlingua translation.
5675 2012-01-03 Allan McRae <allan@archlinux.org>
5677 * locale/programs/localedef.c: Fix description of '--posix' flag.
5679 2013-01-02 Joseph Myers <joseph@codesourcery.com>
5681 * NEWS: Update dates in second copyright notice.
5682 * README: Update copyright dates in example.
5683 * manual/libc.texinfo: Update copyright dates.
5684 * scripts/test-installation.pl: Update copyright date in --version
5687 * hurd/ctty-input.c: Fix copyright notice formatting.
5688 * hurd/ctty-output.c: Likewise.
5689 * hurd/dtable.c: Likewise.
5690 * hurd/hurd-raise.c: Likewise.
5691 * hurd/hurdprio.c: Likewise.
5692 * hurd/msgportdemux.c: Likewise.
5693 * misc/sys/file.h: Likewise.
5694 * misc/sys/ioctl.h: Likewise.
5695 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5696 * sysdeps/mach/hurd/chdir.c: Likewise.
5697 * sysdeps/mach/hurd/fchdir.c: Likewise.
5698 * sysdeps/mach/hurd/rename.c: Likewise.
5699 * sysdeps/mach/hurd/rmdir.c: Likewise.
5700 * sysdeps/mach/hurd/seekdir.c: Likewise.
5701 * sysdeps/mach/hurd/setsid.c: Likewise.
5702 * sysdeps/posix/wait3.c: Likewise.
5704 * All files with FSF copyright notices: Update copyright dates
5705 using scripts/update-copyrights.
5706 * intl/plural.c: Regenerated.
5707 * locale/programs/charmap-kw.h: Likewise.
5708 * locale/programs/locfile-kw.h: Likewise.
5710 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5712 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
5715 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
5716 calculation loop and add branch prediction.
5718 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
5719 check access beyond bounds of m1np.
5721 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5723 (__inv): Remove local variable MPTWO to use the global
5725 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
5726 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5728 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
5729 MP3HALFS static const.
5731 2013-01-01 David S. Miller <davem@davemloft.net>
5733 * po/ca.po: Update from translation team.
5735 2013-01-01 Joseph Myers <joseph@codesourcery.com>
5737 * scripts/update-copyrights: New file.
5738 * Makeconfig: Reformat copyright notice.
5739 * ctype/ctype.h: Likewise.
5740 * debug/swprintf_chk.c: Likewise.
5741 * elf/dl-cache.c: Likewise.
5742 * elf/dl-debug.c: Likewise.
5743 * elf/dl-object.c: Likewise.
5744 * grp/initgroups.c: Likewise.
5745 * hurd/Makefile: Likewise.
5746 * hurd/hurd/signal.h: Likewise.
5747 * hurd/hurdfault.c: Likewise.
5748 * hurd/hurdioctl.c: Likewise.
5749 * hurd/hurdlookup.c: Likewise.
5750 * hurd/intr-msg.c: Likewise.
5751 * iconv/gconv_open.c: Likewise.
5752 * libio/swprintf.c: Likewise.
5753 * locale/lc-ctype.c: Likewise.
5754 * locale/nl_langinfo.c: Likewise.
5755 * mach/Machrules: Likewise.
5756 * mach/Makefile: Likewise.
5757 * malloc/obstack.h: Likewise.
5758 * manual/Makefile: Likewise.
5759 * manual/tsort.awk: Likewise.
5760 * misc/bits/stab.def: Likewise.
5761 * nis/nis_print_group_entry.c: Likewise.
5762 * nis/nis_table.c: Likewise.
5763 * nis/nss_compat/compat-pwd.c: Likewise.
5764 * nis/nss_compat/compat-spwd.c: Likewise.
5765 * po/Makefile: Likewise.
5766 * posix/fnmatch.c: Likewise.
5767 * posix/regex.h: Likewise.
5768 * resolv/Makefile: Likewise.
5769 * resolv/nss_dns/dns-network.c: Likewise.
5770 * resolv/res_hconf.c: Likewise.
5771 * scripts/gen-sorted.awk: Likewise.
5772 * soft-fp/soft-fp.h: Likewise.
5773 * stdio-common/printf.h: Likewise.
5774 * stdlib/monetary.h: Likewise.
5775 * stdlib/random.c: Likewise.
5776 * stdlib/random_r.c: Likewise.
5777 * sysdeps/generic/Makefile: Likewise.
5778 * sysdeps/gnu/Makefile: Likewise.
5779 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5780 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5781 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5782 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5783 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5784 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5785 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5786 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5787 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5788 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5789 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5790 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5791 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5792 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5793 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
5794 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5795 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5796 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5797 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5798 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5799 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5800 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5801 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5802 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5803 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
5804 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5805 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5806 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
5807 * sysdeps/mach/hurd/errnos.awk: Likewise.
5808 * sysdeps/mach/hurd/fork.c: Likewise.
5809 * sysdeps/mach/hurd/getcwd.c: Likewise.
5810 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5811 * sysdeps/mach/hurd/mmap.c: Likewise.
5812 * sysdeps/mach/hurd/utimes.c: Likewise.
5813 * sysdeps/mach/hurd/xmknod.c: Likewise.
5814 * sysdeps/posix/profil.c: Likewise.
5815 * sysdeps/posix/readdir_r.c: Likewise.
5816 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5817 * sysdeps/powerpc/bits/setjmp.h: Likewise.
5818 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
5819 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5820 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5821 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5822 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5823 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5824 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5825 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5826 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5827 * sysdeps/pthread/lio_listio.c: Likewise.
5828 * sysdeps/sparc/dl-procinfo.h: Likewise.
5829 * sysdeps/unix/i386/sysdep.S: Likewise.
5830 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5831 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5832 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5833 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5835 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5836 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5837 * sysdeps/unix/sysv/linux/speed.c: Likewise.
5838 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5839 * sysdeps/wordsize-32/divdi3.c: Likewise.
5840 * time/sys/time.h: Likewise.
5841 * wcsmbs/Makefile: Likewise.
5843 2013-01-01 David S. Miller <davem@davemloft.net>
5845 * po/fr.po: Update from translation team.
5847 * catgets/gencat.c: Update copyright year.
5848 * csu/version.c: Likewise.
5849 * debug/catchsegv.sh: Likewise.
5850 * debug/pcprofiledump.c: Likewise.
5851 * debug/xtrace.sh: Likewise.
5852 * elf/ldconfig.c: Likewise.
5853 * elf/ldd.bash.in: Likewise.
5854 * elf/pldd.c: Likewise.
5855 * elf/sotruss.ksh: Likewise.
5856 * elf/sprof.c: Likewise.
5857 * iconv/iconv_prog.c: Likewise.
5858 * iconv/iconvconfig.c: Likewise.
5859 * locale/programs/locale.c: Likewise.
5860 * locale/programs/localedef.c: Likewise.
5861 * login/programs/pt_chown.c: Likewise.
5862 * malloc/memusage.sh: Likewise.
5863 * malloc/memusagestat.c: Likewise.
5864 * malloc/mtrace.pl: Likewise.
5865 * nscd/nscd.c: Likewise.
5866 * nss/getent.c: Likewise.
5867 * nss/makedb.c: Likewise.
5868 * posix/getconf.c: Likewise.
5870 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5872 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5875 2012-12-30 Mike Frysinger <vapier@gentoo.org>
5877 * math/bits/mathcalls.h (modf): Use __nonnull.
5879 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5881 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5882 (split): Use macro CN instead of the bare value.
5883 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5885 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5886 instead of the bare value.
5889 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5891 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5893 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5895 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5897 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5898 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5899 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5900 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5902 2012-12-28 Andreas Jaeger <aj@suse.de>
5904 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
5905 values are from Linux 3.7.
5907 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5908 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
5910 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5912 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
5915 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5917 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5918 variables with preprocessor constants.
5919 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5920 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5921 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5923 2012-12-27 Bruno Haible <bruno@clisp.org>
5926 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5929 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5931 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5932 and use variable directly.
5933 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5935 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5937 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5938 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5940 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5941 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5942 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5943 include directive. Remove local variable MPONE.
5944 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5945 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5946 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5948 2012-12-25 David S. Miller <davem@davemloft.net>
5950 * version.h (RELEASE): Set to "development".
5951 (VERSION): Set to "2.17.90".
5952 * NEWS: Add 2.18 section.
5954 2012-12-21 David S. Miller <davem@davemloft.net>
5956 * po/hr.po: Update from translation team.
5958 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5960 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5962 2012-12-19 Steve Ellcey <sellcey@mips.com>
5964 * NEWS: Mention new memcpy for MIPS.
5966 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5968 * manual/contrib.texi (Contributors): Spelling correction.
5970 2012-12-15 David S. Miller <davem@davemloft.net>
5972 * po/ru.po: Update from translation team.
5974 2012-12-13 David S. Miller <davem@davemloft.net>
5976 * NEWS: Mention IFUNC testsuite enhancements.
5978 * po/pl.po: Update from translation team.
5979 * po/bg.po: Likewise.
5981 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5982 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5984 2012-12-11 David S. Miller <davem@davemloft.net>
5986 * po/sv.po: Update from translation team.
5988 * po/vi.po: Update from translation team.
5990 * po/cs.po: Update from translation team.
5992 * po/de.po: Update from translation team.
5993 * po/eo.po: Likewise.
5994 * po/nl.po: Likewise.
5996 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5999 * manual/argp.texi (Argp Helper Functions): Move node to follow
6003 * manual/conf.texi (Limits on File System Capacity): Mention if
6004 terminating null is included in the max size.
6006 2012-12-10 Andreas Jaeger <aj@suse.de>
6008 * po/cs.po: Update from translation team.
6010 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6012 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
6013 void pointer and cast to uintptr_t.
6014 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
6016 * sysdeps/s390/s390-64/memcpy.S: Likewise.
6017 * sysdeps/s390/s390-64/memset.S: Likewise.
6019 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
6022 * menual/message.texi (Message Translation): Fix typos.
6023 (Helper programs for gettext): Likewise.
6025 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
6028 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
6031 2012-12-07 David S. Miller <davem@davemloft.net>
6033 * po/libc.pot: Update.
6035 2012-12-07 Richard Henderson <rth@redhat.com>
6038 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
6039 normal/normal case to before the switch.
6040 (_FP_DIV): Likewise.
6042 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
6043 Mike Frysinger <vapier@gentoo.org>
6045 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
6046 check for __NR_fadvise64_64.
6048 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
6050 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
6051 0, not just to plain "0" as a statement.
6052 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
6055 2012-12-06 Joseph Myers <joseph@codesourcery.com>
6057 * NEWS: Use sourceware.org in Bugzilla URL.
6059 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6062 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
6064 * stdio-common/tst-put-error.c (do_test): Add newline to the
6065 padded test to ensure flush.
6067 2012-12-05 Jeff Law <law@redhat.com>
6069 * sunrpc/etc.rpc (fedfs_admin): Add entry.
6071 2012-12-05 Joseph Myers <joseph@codesourcery.com>
6073 * README: Don't refer to ports add-on as distributed separately.
6074 Mention AArch64 in list of systems supported in the ports add-on.
6076 * LICENSES: Add more non-FSF copyright and license notices.
6078 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
6081 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
6083 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
6084 10000 as width of padded output.
6086 2012-12-04 Joseph Myers <joseph@codesourcery.com>
6088 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
6090 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
6091 variable LX with __attribute__ ((unused)).
6092 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6094 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6095 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6096 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
6097 with __attribute__ ((unused)).
6099 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
6101 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
6103 2012-12-04 Joseph Myers <joseph@codesourcery.com>
6105 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
6106 (CFLAGS-nldbl-acos.c): New variable.
6107 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
6108 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
6109 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
6110 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
6111 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
6112 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
6113 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
6114 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
6115 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
6116 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
6117 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
6118 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
6119 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
6120 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
6121 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
6122 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
6123 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
6124 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
6125 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
6126 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
6127 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
6128 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
6129 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
6130 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
6131 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
6132 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
6133 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
6134 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
6135 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
6136 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
6137 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
6138 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
6139 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
6140 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
6141 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
6142 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
6143 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
6144 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
6145 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
6146 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
6147 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
6148 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
6149 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
6150 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
6151 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
6152 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
6153 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
6154 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
6155 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
6156 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
6157 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
6158 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
6159 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
6160 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
6161 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
6162 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
6163 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
6164 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
6165 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
6166 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
6167 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
6168 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
6169 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
6170 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
6171 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
6172 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
6173 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
6174 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
6175 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
6176 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
6177 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
6178 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
6179 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
6180 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
6181 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
6182 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
6183 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
6184 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
6185 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
6186 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
6187 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
6188 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
6189 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
6190 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
6191 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
6192 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
6193 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
6194 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
6195 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
6196 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
6197 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
6198 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
6199 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
6200 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
6201 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
6202 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
6203 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
6205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6206 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
6209 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
6210 whole low double instead of just low 47 bits when splitting values
6213 2012-12-03 Allan McRae <allan@archlinux.org>
6215 * manual/stdio.texi (Predefined Printf Handlers): Remove
6216 @hsep and @vsep usage.
6218 2012-12-03 Mike Frysinger <vapier@gentoo.org>
6220 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
6221 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
6223 2012-12-03 Jeff Law <law@redhat.com>
6225 * time/sys/time.h (settimeofday): Do not mark TV argument
6228 2012-12-01 Mike Frysinger <vapier@gentoo.org>
6230 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
6231 when currently writing and seek to current position when not.
6232 * libio/Makefile (tests): Remove bug-fclose1.
6233 * libio/bug-fclose1.c: Delete.
6235 2012-12-01 Joseph Myers <joseph@codesourcery.com>
6237 * manual/arith.texi (feenableexcept): Fix typo.
6238 (fedisableexcept): Likewise.
6240 2012-11-30 Roland McGrath <roland@hack.frob.com>
6242 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
6243 second, differently-typed declaration, rather than a cast.
6245 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6247 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
6248 * include/rpc/svc.h: ... here.
6250 2012-11-30 Aurelien Jarno <aurel32@debian.org>
6253 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
6254 depending n and resplen2 to catch cases where answer
6257 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
6259 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
6260 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
6262 2012-11-29 Mike Frysinger <vapier@gentoo.org>
6264 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
6266 2012-11-29 Roland McGrath <roland@hack.frob.com>
6268 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
6270 2012-11-28 Jeff Law <law@redhat.com>
6273 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
6274 dataset_temporary. Track alloca usage into alloca_used.
6275 If dataset is large allocate and release it via malloc/free.
6277 2012-06-04 Florian Weimer <fweimer@redhat.com>
6280 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
6282 2012-11-28 David S. Miller <davem@davemloft.net>
6284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6286 2012-11-28 Joseph Myers <joseph@codesourcery.com>
6289 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
6290 of pi/2 rounded to nearest to 64 bits.
6291 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
6293 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
6296 2012-11-28 Jeff Law <law@redhat.com>
6297 Martin Osvald <mosvald@redhat.com>
6300 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
6301 * sunrpc/svc.c: Include time.h.
6302 (__svc_accept_failed): New function.
6303 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
6304 any reason other than EINTR, call __svc_accept_failed.
6305 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
6306 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
6308 2012-11-28 Andreas Schwab <schwab@suse.de>
6310 * scripts/abilist.awk: Also handle indirect functions in .opd
6313 2012-11-28 Joseph Myers <joseph@codesourcery.com>
6316 * sysdeps/x86/fpu/powl_helper.c: New file.
6317 * sysdeps/x86/fpu/Makefile: Likewise.
6318 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
6320 (__ieee754_powl): Use __powl_helper for finite arguments except
6321 integer exponents below 8.
6322 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
6324 (__ieee754_powl): Use __powl_helper for finite arguments except
6325 integer exponents below 8.
6326 * math/libm-test.inc (pow_test): Add more tests and enable some
6327 previously disabled tests.
6328 * sysdeps/i386/fpu/libm-test-ulps: Update.
6329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6331 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6332 Carlos O'Donell <carlos_odonell@mentor.com>
6334 * nss/makedb.c (is_prime): Assert that input is odd and greater
6335 than 4. Note that fact in a comment too.
6336 (next_prime): Add 4 to input.
6338 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6341 * libio/Makefile (tests): Add test case tst-fwrite-error.
6342 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
6343 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
6344 * libio/tst-fwrite-error.c: New test case.
6346 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
6348 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
6349 before casting to void *.
6350 * include/libc-internal.h (__pointer_type): New macro.
6351 (__integer_if_pointer_type_sub): Likewise.
6352 (__integer_if_pointer_type): Likewise.
6353 (cast_to_integer): Likewise.
6354 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
6355 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
6356 before casting to atomic64_t.
6357 (atomic_exchange_acq): Likewise.
6358 (__arch_exchange_and_add_body): Likewise.
6359 (__arch_add_body): Likewise.
6360 (atomic_add_negative): Likewise.
6361 (atomic_add_zero): Likewise.
6363 2012-11-26 Joseph Myers <joseph@codesourcery.com>
6365 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
6366 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
6367 (add_fdes): Likewise.
6368 (linear_search_fdes): Likewise.
6369 (binary_search_unencoded_fdes): Likewise.
6371 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
6373 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
6375 2012-11-24 Adam Conrad <adconrad@0c3.net>
6377 * configure.in: Autodetect C++ header directories.
6378 * configure: Regenerated.
6380 2012-11-23 Mike Frysinger <vapier@gentoo.org>
6382 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
6384 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
6386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6388 2012-11-22 Joseph Myers <joseph@codesourcery.com>
6390 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
6391 LDBL_MANT_DIG == 106]: Disable some tests.
6392 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6394 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6398 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
6399 input for small inputs. Return +/- pi/2 for large inputs.
6400 * math/libm-test.inc (atan_test): Add more tests.
6402 * sysdeps/generic/unwind-dw2-fde-glibc.c
6403 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
6404 __attribute__ ((unused)).
6407 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
6408 x * y if x and y are nonzero and z is zero.
6411 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
6412 nonzero exponents with absolute value below 0x1p-117 to +/-
6416 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
6417 up arguments below 2**-450, not just those below 2**-500.
6418 * math/libm-test.inc (hypot_test): Add another test.
6421 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6422 Return a+b for ratio over 2**120, not 2**60.
6423 * math/libm-test.inc (hypot_test): Add another test.
6425 * math/libm-test.inc (clog_test): Use
6426 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
6427 (clog10_test): Likewise.
6430 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
6432 2012-11-22 Andreas Schwab <schwab@suse.de>
6434 * sysdeps/i386/fpu/libm-test-ulps: Update.
6436 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
6438 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
6439 printf output with newline.
6441 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
6444 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
6445 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
6446 -z nodlopen, -z initfirst and -z execstack support.
6447 * configure: Regenerated.
6449 * elf/elf.h (DF_1_NODIRECT): New macro.
6450 (DF_1_IGNMULDEF): Likewise.
6451 (DF_1_NOKSYMS): Likewise.
6452 (DF_1_NOHDR): Likewise.
6453 (DF_1_EDITED): Likewise.
6454 (DF_1_NORELOC): Likewise.
6455 (DF_1_SYMINTPOSE): Likewise.
6456 (DF_1_GLOBAUDIT): Likewise.
6457 (DF_1_SINGLETON): Likewise.
6458 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
6459 DT_1_SUPPORTED_MASK bits.
6460 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
6462 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
6464 * sysdeps/unix/make-syscalls.sh: Document prefixes.
6466 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
6468 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
6471 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
6472 (sendmmsg): Move declarations...
6473 * socket/sys/socket.h: ... here.
6474 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
6475 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
6477 * socket/recvmmsg.c: ... this new file.
6478 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
6479 (sendmmsg): Rename to __sendmmsg, create weak alias and make
6480 definition of __sendmmsg hidden.
6481 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
6482 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
6483 Move ENOSYS stub into and include it from...
6484 * socket/sendmmsg.c: ... this new file.
6485 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
6486 (sysdep_routines): Move recvmmsg and sendmmsg...
6487 * socket/Makefile (routines): ... here.
6488 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
6489 (GLIBC_PRIVATE): Add __sendmmsg.
6490 * include/sys/socket.h (__sendmmsg): Add declarations.
6491 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
6494 2012-11-20 Joseph Myers <joseph@codesourcery.com>
6496 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
6497 variable I1 with __attribute__ ((unused)).
6498 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6500 2012-11-19 Joseph Myers <joseph@codesourcery.com>
6502 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
6503 DUMMY variables with __attribute__ ((unused)).
6505 * bits/byteswap.h: Include <bits/types.h>.
6506 (__bswap_64): Use __uint64_t instead of unsigned long long int.
6508 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6510 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
6511 string_t. Do not manually set errno.
6512 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
6513 length with __strnlen. Make sure to both set errno and return it on
6516 2012-11-19 David S. Miller <davem@davemloft.net>
6518 With help from Joseph Myers.
6519 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
6520 very large arguments properly.
6521 * math/libm-test.inc (atan_test): New tests.
6522 (atan2_test): New tests.
6523 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6524 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6526 2012-11-19 Joseph Myers <joseph@codesourcery.com>
6529 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
6532 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
6533 [POSIX] (EADDRNOTAVAIL): Likewise.
6534 [POSIX] (EAFNOSUPPORT): Likewise.
6535 [POSIX] (EALREADY): Likewise.
6536 [POSIX] (ECONNABORTED): Likewise.
6537 [POSIX] (ECONNREFUSED): Likewise.
6538 [POSIX] (ECONNRESET): Likewise.
6539 [POSIX] (EDESTADDRREQ): Likewise.
6540 [POSIX] (EDQUOT): Likewise.
6541 [POSIX] (EHOSTUNREACH): Likewise.
6542 [POSIX] (EIDRM): Likewise.
6543 [POSIX] (EISCONN): Likewise.
6544 [POSIX] (ELOOP): Likewise.
6545 [POSIX] (EMULTIHOP): Likewise.
6546 [POSIX] (ENETDOWN): Likewise.
6547 [POSIX] (ENETUNREACH): Likewise.
6548 [POSIX] (ENOBUFS): Likewise.
6549 [POSIX] (ENODATA): Likewise.
6550 [POSIX] (ENOLINK): Likewise.
6551 [POSIX] (ENOMSG): Likewise.
6552 [POSIX] (ENOPROTOOPT): Likewise.
6553 [POSIX] (ENOSR): Likewise.
6554 [POSIX] (ENOSTR): Likewise.
6555 [POSIX] (ENOTCONN): Likewise.
6556 [POSIX] (ENOTSOCK): Likewise.
6557 [POSIX] (EOPNOTSUPP): Likewise.
6558 [POSIX] (EOVERFLOW): Likewise.
6559 [POSIX] (EPROTO): Likewise.
6560 [POSIX] (EPROTONOSUPPORT): Likewise.
6561 [POSIX] (EPROTOTYPE): Likewise.
6562 [POSIX] (ESTALE): Likewise.
6563 [POSIX] (ETIME): Likewise.
6564 [POSIX] (ETXTBSY): Likewise.
6565 [POSIX] (EWOULDBLOCK): Likewise.
6566 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
6567 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
6568 [POSIX] (SEEK_CUR): Likewise.
6569 [POSIX] (SEEK_END): Likewise.
6570 [POSIX || UNIX98] (mode_t): Do not require.
6571 [POSIX] (off_t): Likewise.
6572 [POSIX] (pid_t): Likewise.
6573 [POSIX] (sys/stat.h): Do not allow header.
6574 [POSIX] (unistd.h): Likewise.
6575 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
6576 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
6577 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
6578 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
6580 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
6581 sigevent): Specify elements.
6582 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
6584 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
6585 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
6587 * conform/data/cpio.h-data [POSIX]: Disable whole file.
6588 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
6589 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
6590 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
6591 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
6592 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
6593 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
6594 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
6595 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
6596 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
6597 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
6598 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
6599 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
6600 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
6602 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
6604 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
6606 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
6608 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
6609 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
6610 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
6611 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
6612 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
6613 Specify lower bound on value.
6614 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
6615 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
6616 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
6617 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
6618 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
6619 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
6620 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
6621 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
6623 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
6625 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
6626 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
6627 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
6628 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
6629 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
6630 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
6631 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
6632 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
6633 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
6634 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
6635 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
6636 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
6637 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
6638 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
6639 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
6640 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
6642 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
6644 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
6645 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
6646 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
6647 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
6648 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
6649 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
6651 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
6652 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
6653 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
6654 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
6655 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
6656 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
6657 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
6659 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
6660 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
6661 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
6662 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
6663 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
6664 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
6665 specify as optional.
6666 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
6667 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
6668 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
6669 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
6670 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
6671 [XPG3] (NL_LANGMAX): Likewise.
6672 [POSIX || XPG3] (NL_MSGMAX): Likewise.
6673 [POSIX || XPG3] (NL_NMAX): Likewise.
6674 [POSIX || XPG3] (NL_SETMAX): Likewise.
6675 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
6676 [XPG3] (NZERO): Likewise.
6677 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
6678 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
6679 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
6680 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
6681 (REG_ERANGE): Expect.
6682 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
6684 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
6685 Use (void) in prototype.
6686 [POSIX] (*_t): Allow.
6687 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
6688 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
6689 (WRDE_BADVAL): Expect.
6691 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
6693 [XPG3 || XPG4] (O_RSYNC): Likewise.
6694 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
6696 [XPG3 || XPG4] (pthread_sigmask): Likewise.
6697 [XPG3 || XPG4] (sigqueue): Likewise.
6698 [XPG3 || XPG4] (sigtimedwait): Likewise.
6699 [XPG3 || XPG4] (sigwaitinfo): Likewise.
6700 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
6701 [XPG3 || XPG4] (vsnprintf): Likewise.
6702 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
6704 [XPG3 || XPG4] (blksize_t): Likewise.
6705 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
6707 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
6708 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6709 [XPG3 || XPG4] (struct itimerspec): Likewise.
6710 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
6711 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
6712 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
6713 [XPG3 || XPG4] (clockid_t): Likewise.
6714 [XPG3 || XPG4] (timer_t): Likewise.
6715 [XPG3 || XPG4] (clock_getres): Likewise.
6716 [XPG3 || XPG4] (clock_gettime): Likewise.
6717 [XPG3 || XPG4] (clock_settime): Likewise.
6718 [XPG3 || XPG4] (nanosleep): Likewise.
6719 [XPG3 || XPG4] (timer_create): Likewise.
6720 [XPG3 || XPG4] (timer_delete): Likewise.
6721 [XPG3 || XPG4] (timer_gettime): Likewise.
6722 [XPG3 || XPG4] (timer_getoverrun): Likewise.
6723 [XPG3 || XPG4] (timer_settime): Likewise.
6724 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
6725 [XPG3 || XPG4] (getlogin_r): Likewise.
6726 [XPG3 || XPG4] (pread): Likewise.
6727 [XPG3 || XPG4] (pthread_atfork): Likewise.
6728 [XPG3 || XPG4] (pwrite): Likewise.
6731 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
6734 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6736 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
6737 finalizing MALLSTREAM.
6739 * sysdeps/mach/hurd/syncfs.c: New file.
6741 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6744 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
6745 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
6746 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
6747 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
6748 (_nss_dns_gethostbyname4_r): Likewise.
6749 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
6750 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
6752 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
6755 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
6757 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
6759 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
6760 * elf/cache.c (print_entry): Print ",AArch64" for
6763 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
6764 * elf/cache.c (print_entry): Print ",hard-float" for
6767 2012-11-18 David S. Miller <davem@davemloft.net>
6769 With help from Joseph Myers.
6770 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
6772 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
6774 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
6775 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
6777 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6778 * math/libm-test.inc (y0_test): New tests.
6779 (y1_test): New tests.
6780 * sysdeps/i386/fpu/libm-test-ulps: Update.
6781 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6784 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
6786 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
6788 * configure: Regenerated.
6790 2012-11-17 David S. Miller <davem@davemloft.net>
6793 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
6794 nonzero exponents with absolute value below 0x1p-128 to +/-
6797 2012-11-17 Joseph Myers <joseph@codesourcery.com>
6799 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
6801 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
6803 * posix/getconf-speclist.c: New file.
6804 * posix/posix-envs.def: Likewise.
6805 * posix/confstr.c (START_ENV_GROUP): New macro.
6806 (END_ENV_GROUP): Likewise.
6807 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6808 (KNOWN_PRESENT_ENV_STRING): Likewise.
6809 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6810 (UNKNOWN_ENVIRONMENT): Likewise.
6811 (confstr): Include posix-envs.def instead of handling
6812 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
6813 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
6814 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
6815 (END_ENV_GROUP): Likewise.
6816 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6817 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6818 (UNKNOWN_ENVIRONMENT): Likewise.
6819 (__sysconf): Include posix-envs.def instead of handling associated
6820 cases directly here.
6821 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6822 preprocessing getconf-speclist.c rather than running getconf or
6823 generating empty file.
6825 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
6827 * scripts/check-local-headers.sh: Ignore 'mach' headers.
6829 2012-11-16 Andrej Lajovic <natrij@gmail.com>
6832 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6834 2012-11-16 David S. Miller <davem@davemloft.net>
6836 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6837 smaller than LDBL_EPSILON/2.0L, just return xm1.
6839 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
6841 * elf/tst-array1.c (init): Set constructor priority to 1000.
6842 (fini): Set destructor priority to 1000.
6843 * elf/tst-array2dep.c: Likewise.
6845 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6848 * libio/fileops.c (_IO_new_file_write): Correctly return error.
6849 (_IO_new_file_xsputn): Also return EOF if none of the input
6850 data was written when overflow failed.
6851 * libio/iopadn.c (_IO_padn): Likewise.
6852 * libio/iowpadn.c (_IO_wpadn): Likewise.
6853 * stdio-common/tst-put-error.c: Add copyright notice.
6854 (do_test): Add case for printing padded string.
6855 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6856 _IO_padn returned error.
6857 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6858 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6861 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6863 * libio/libioP.h: Add comment note that the references to C++
6864 bits are now obsolete.
6866 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6868 * math/libm-test.inc (check_complex): Use asprintf.
6870 2012-11-14 Joseph Myers <joseph@codesourcery.com>
6872 * debug/pcprofiledump.c (print_version): Update copyright year.
6873 * malloc/memusagestat.c (print_version): Likewise.
6875 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
6878 * elf/Makefile (tests): Add tst-audit8.
6879 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6880 ($(objpfx)tst-audit8.out): New target.
6881 (tst-audit8-ENV): New variable.
6882 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6883 audit if l_reloc_result is NULL.
6884 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6885 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6886 * elf/tst-audit8.c: New file.
6888 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6890 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6891 * misc/Makefile (CFLAGS-select.c): Define.
6892 * posix/Makefile (CFLAGS-pause.c): Define.
6894 2012-11-13 David S. Miller <davem@davemloft.net>
6896 * crypt/Makefile: Move test targets after toplevel Rules
6897 inclusion. Grab any necessary sysdep routines when linking.
6898 * crypt/md5.c (md5_process_block): Remove define, we will always
6899 name it __md5_process_block.
6900 (md5_finish_ctx): Update md5_process_block call.
6901 (md5_stream): Likewise.
6902 (md5_process_bytes): Likewise.
6903 (md5_process_block): Rename to __md5_process_block and move to ...
6904 * crypt/md5-block.c: ... here.
6905 * crypt/sha256.c (sha256_process_block): Move to ...
6906 * crypt/sha256-block.c: ... here.
6907 * crypt/sha512.c (sha512_process_block): Move to ...
6908 * crypt/sha512-block.c: ... here.
6909 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6911 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6912 * sysdeps/sparc/sparc64/multiarch/Makefile
6913 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6915 (localedef-aux): Add md5 crypto assembler when in locale subdir.
6916 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6918 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6919 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6920 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6921 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6922 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6923 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6924 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6925 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6926 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6928 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6929 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6931 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6933 2012-11-13 Joseph Myers <joseph@codesourcery.com>
6935 * timezone/tzselect.ksh: Update from tzcode git revision
6936 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6937 * timezone/zdump.c: Likewise.
6938 * timezone/zic.c: Likewise.
6939 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6940 in TZVERSION setting, not $(PKGVERSION).
6941 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6942 REPORT_BUGS_TO settings.
6945 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6948 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6950 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6951 detection to immediately after _FP_ROUND().
6952 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6955 2012-11-11 David S. Miller <davem@davemloft.net>
6957 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6959 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6960 __close rather than their public counterparts.
6962 2012-11-10 Joseph Myers <joseph@codesourcery.com>
6964 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6966 [UNIX98] (sem_timedwait): Do not expect.
6967 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6968 [XPG4 || UNIX98] (sockatmark): Do not expect.
6969 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6970 (clock_getcpuclockid): Do not expect.
6971 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6972 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6974 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6975 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6976 [UNIX98] (vwscanf): Likewise.
6977 [UNIX98] (vswscanf): Likewise.
6979 2012-11-09 Joseph Myers <joseph@codesourcery.com>
6981 * timezone/version.h: Remove file.
6982 * timezone/README: Do not refer to version.h.
6983 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6985 ($(objpfx)zdump.o): Likewise.
6986 ($(objpfx)version.h): New target.
6988 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6990 * timezone/README: Don't mention modification to tzselect.ksh.
6991 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6992 work on unmodified tzselect.ksh. Substitute version numbers in
6995 * Makefile (format-me): Remove.
6996 (INSTALL): Adjust indentation. Use commands directly instead of
6999 * aclocal.m4 (ACX_PKGVERSION): New macro.
7000 (ACX_BUGURL): Likewise.
7001 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
7002 (PKGVERSION): New AC_DEFINE_UNQUOTED.
7003 (REPORT_BUGS_TO): Likewise.
7004 * configure: Regenerated.
7005 * config.h.in (PKGVERSION): New macro.
7006 (REPORT_BUGS_TO): Likewise.
7007 * config.make.in (PKGVERSION): New variable.
7008 (PKGVERSION_TEXI): Likewise.
7009 (REPORT_BUGS_TO): Likewise.
7010 (REPORT_BUGS_TEXI): Likewise.
7011 * Makefile (format-me): Use -I$(common-objpfx)manual.
7012 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
7013 ($(common-objpfx)manual/%): New target.
7014 (manual/%): Remove target.
7015 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
7016 (print_version): Use PKGVERSION.
7017 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
7018 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
7020 ($(objpfx)xtrace): Likewise.
7021 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
7022 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
7023 (print_version): Use PKGVERSION.
7024 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
7025 (do_version): Use PKGVERSION.
7026 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
7028 (common-ldd-rewrite): Likewise.
7029 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
7030 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
7031 (print_version): Use PKGVERSION.
7032 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
7033 * elf/pldd.c (argp_program_bug_address): Remove variable.
7034 (more_help): New function.
7035 (argp): Use more_help.
7036 (print_version): Use PKGVERSION.
7037 * elf/sln.c (main): Use PKGVERSION.
7038 (usage): Use REPORT_BUGS_TO.
7039 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
7040 (top level): Use PKGVERSION.
7041 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
7042 (print_version): Use PKGVERSION.
7043 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
7044 (print_version): Use PKGVERSION.
7045 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
7046 (print_version): Use PKGVERSION.
7047 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
7048 (print_version): Use PKGVERSION.
7049 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
7050 (print_version): Use PKGVERSION.
7051 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
7052 (print_version): Use PKGVERSION.
7053 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
7055 ($(objpfx)memusage): Likewise.
7056 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
7057 (do_version): Use PKGVERSION.
7058 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
7059 (print_version): Use PKGVERSION.
7060 * malloc/mtrace.pl ($PACKAGE): Remove variable.
7061 ($PKGVERSION): New variable.
7062 ($REPORT_BUGS_TO): Likewise.
7063 (usage): Use $REPORT_BUGS_TO.
7064 (top level): Use $PKGVERSION.
7065 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
7066 ($(objpfx)pkgvers.texi): New rule.
7067 ($(objpfx)stamp-pkgvers): Likewise.
7068 * manual/install.texi: Include pkgvers.texi.
7069 (--with-pkgversion): Document new configure option.
7070 (--with-bugurl): Likewise.
7071 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
7072 than necessarily for this particular distribution. Use
7073 REPORT_BUGS_TO for where to report bugs.
7074 * INSTALL: Regenerated.
7075 * manual/libc.texinfo: Include pkgvers.texi.
7076 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
7077 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
7078 (print_version): Use PKGVERSION.
7079 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
7080 (print_version): Use PKGVERSION.
7081 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
7082 (print_version): Use PKGVERSION.
7083 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
7084 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
7086 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
7087 (print_version): Use PKGVERSION.
7088 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
7089 (print_version): Use PKGVERSION.
7090 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
7093 * timezone/checktab.awk: Update from tzcode 2012i.
7094 * timezone/ialloc.c: Likewise.
7095 * timezone/private.h: Likewise.
7096 * timezone/scheck.c: Likewise.
7097 * timezone/tzfile.h: Likewise.
7098 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
7099 (TZVERSION): Hardcode tzcode version number.
7100 * timezone/zdump.c: Update from tzcode 2012i.
7101 * timezone/zic.c: Likewise.
7102 * timezone/version.h: New file.
7103 * timezone/README: Describe version.h. Update upstream location.
7106 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
7107 (mktemp): Enable declaration.
7108 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
7109 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
7110 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
7111 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
7113 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
7115 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
7117 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
7119 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
7121 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
7125 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
7126 offset in buffer as u_int32_t not u_long. Consistently use memcpy
7127 for copies of such integer values.
7128 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
7129 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
7131 2012-11-09 Andreas Jaeger <aj@suse.de>
7133 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
7134 definitions and declarations that are provided by
7135 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7137 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7139 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
7140 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
7141 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
7144 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7146 * elf/elf.h: Update comment before AArch64 relocations.
7148 2012-11-07 David S. Miller <davem@davemloft.net>
7150 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
7151 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7152 (__start_context): Declare.
7153 (__makecontext_ret): Delete.
7154 (__makecontext): Hook up __start_context instead of
7156 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
7157 (sysdep_routines): Add __start_context when in stdlib.
7159 2012-11-07 Joseph Myers <joseph@codesourcery.com>
7161 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
7162 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
7163 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
7165 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
7166 (READELF): New variable. Use it instead of hardcoded "readelf".
7168 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
7170 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
7171 * sysdeps/x86/Makefile: Here.
7172 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
7173 * sysdeps/x86/tst-xmmymm.sh: This.
7175 2012-11-07 Joseph Myers <joseph@codesourcery.com>
7177 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
7179 [UNIX98] (pthread_barrier_t): Do not expect.
7180 [UNIX98] (pthread_barrierattr_t): Likewise.
7181 [UNIX98] (pthread_spinlock_t): Likewise.
7182 [UNIX98] (pthread_barrier_destroy): Likewise.
7183 [UNIX98] (pthread_barrier_init): Likewise.
7184 [UNIX98] (pthread_barrier_wait): Likewise.
7185 [UNIX98] (pthread_barrierattr_destroy): Likewise.
7186 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
7187 [UNIX98] (pthread_barrierattr_init): Likewise.
7188 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
7189 [UNIX98] (pthread_getcpuclockid): Likewise.
7190 [UNIX98] (pthread_mutex_timedlock): Likewise.
7191 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
7192 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
7193 [UNIX98] (pthread_sigmask): Likewise.
7194 [UNIX98] (pthread_spin_destroy): Likewise.
7195 [UNIX98] (pthread_spin_init): Likewise.
7196 [UNIX98] (pthread_spin_lock): Likewise.
7197 [UNIX98] (pthread_spin_trylock): Likewise.
7198 [UNIX98] (pthread_spin_unlock): Likewise.
7199 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
7201 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
7202 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
7203 [XPG3 || XPG4] (pthread_cond_t): Likewise.
7204 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
7205 [XPG3 || XPG4] (pthread_key_t): Likewise.
7206 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
7207 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
7208 [XPG3 || XPG4] (pthread_once_t): Likewise.
7209 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
7210 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
7211 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
7212 [XPG3 || XPG4] (pthread_t): Likewise.
7214 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
7216 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
7218 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
7219 Change function return type to int.
7221 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
7222 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
7223 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
7224 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
7225 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
7226 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
7227 [!POSIX] (posix_madvise): Likewise.
7228 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
7230 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
7231 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
7233 (posix_mem_offset): Likewise.
7234 (posix_typed_mem_get_info): Likewise.
7235 (posix_typed_mem_open): Likewise.
7237 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
7238 Change condition to [XOPEN2K8].
7240 * conform/conformtest.pl: Preprocess allow-header data with -x c
7241 instead of from stdin.
7242 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
7243 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
7244 [C99-based standards] (cerfc): Likewise.
7245 [C99-based standards] (cexp2): Likewise.
7246 [C99-based standards] (cexpm1): Likewise.
7247 [C99-based standards] (clog10): Likewise.
7248 [C99-based standards] (clog1p): Likewise.
7249 [C99-based standards] (clog2): Likewise.
7250 [C99-based standards] (clgamma): Likewise.
7251 [C99-based standards] (ctgamma): Likewise.
7252 [C99-based standards] (cerff): Likewise.
7253 [C99-based standards] (cerfcf): Likewise.
7254 [C99-based standards] (cexp2f): Likewise.
7255 [C99-based standards] (cexpm1f): Likewise.
7256 [C99-based standards] (clog10f): Likewise.
7257 [C99-based standards] (clog1pf): Likewise.
7258 [C99-based standards] (clog2f): Likewise.
7259 [C99-based standards] (clgammaf): Likewise.
7260 [C99-based standards] (ctgammaf): Likewise.
7261 [C99-based standards] (cerfl): Likewise.
7262 [C99-based standards] (cerfcl): Likewise.
7263 [C99-based standards] (cexp2l): Likewise.
7264 [C99-based standards] (cexpm1l): Likewise.
7265 [C99-based standards] (clog10l): Likewise.
7266 [C99-based standards] (clog1pl): Likewise.
7267 [C99-based standards] (clog2l): Likewise.
7268 [C99-based standards] (clgammal): Likewise.
7269 [C99-based standards] (ctgammal): Likewise.
7270 * conform/data/inttypes.h-data [C99-based standards]: Include
7271 stdint.h-data. Remove all expectations for stdint.h contents.
7272 [C99-based standards] (PRI*): Do not allow.
7273 [C99-based standards] (SCN*): Likewise.
7274 [C99-based standards] (*_t): Likewise.
7275 [C99-based-standards] (PRId8): Expect macro.
7276 [C99-based-standards] (PRIi8): Likewise.
7277 [C99-based-standards] (PRIo8): Likewise.
7278 [C99-based-standards] (PRIu8): Likewise.
7279 [C99-based-standards] (PRIx8): Likewise.
7280 [C99-based-standards] (PRIX8): Likewise.
7281 [C99-based-standards] (SCNd8): Likewise.
7282 [C99-based-standards] (SCNi8): Likewise.
7283 [C99-based-standards] (SCNo8): Likewise.
7284 [C99-based-standards] (SCNu8): Likewise.
7285 [C99-based-standards] (SCNx8): Likewise.
7286 [C99-based-standards] (PRIdLEAST8): Likewise.
7287 [C99-based-standards] (PRIiLEAST8): Likewise.
7288 [C99-based-standards] (PRIoLEAST8): Likewise.
7289 [C99-based-standards] (PRIuLEAST8): Likewise.
7290 [C99-based-standards] (PRIxLEAST8): Likewise.
7291 [C99-based-standards] (PRIXLEAST8): Likewise.
7292 [C99-based-standards] (SCNdLEAST8): Likewise.
7293 [C99-based-standards] (SCNiLEAST8): Likewise.
7294 [C99-based-standards] (SCNoLEAST8): Likewise.
7295 [C99-based-standards] (SCNuLEAST8): Likewise.
7296 [C99-based-standards] (SCNxLEAST8): Likewise.
7297 [C99-based-standards] (PRIdFAST8): Likewise.
7298 [C99-based-standards] (PRIiFAST8): Likewise.
7299 [C99-based-standards] (PRIoFAST8): Likewise.
7300 [C99-based-standards] (PRIuFAST8): Likewise.
7301 [C99-based-standards] (PRIxFAST8): Likewise.
7302 [C99-based-standards] (PRIXFAST8): Likewise.
7303 [C99-based-standards] (SCNdFAST8): Likewise.
7304 [C99-based-standards] (SCNiFAST8): Likewise.
7305 [C99-based-standards] (SCNoFAST8): Likewise.
7306 [C99-based-standards] (SCNuFAST8): Likewise.
7307 [C99-based-standards] (SCNxFAST8): Likewise.
7308 [C99-based-standards] (PRId16): Likewise.
7309 [C99-based-standards] (PRIi16): Likewise.
7310 [C99-based-standards] (PRIo16): Likewise.
7311 [C99-based-standards] (PRIu16): Likewise.
7312 [C99-based-standards] (PRIx16): Likewise.
7313 [C99-based-standards] (PRIX16): Likewise.
7314 [C99-based-standards] (SCNd16): Likewise.
7315 [C99-based-standards] (SCNi16): Likewise.
7316 [C99-based-standards] (SCNo16): Likewise.
7317 [C99-based-standards] (SCNu16): Likewise.
7318 [C99-based-standards] (SCNx16): Likewise.
7319 [C99-based-standards] (PRIdLEAST16): Likewise.
7320 [C99-based-standards] (PRIiLEAST16): Likewise.
7321 [C99-based-standards] (PRIoLEAST16): Likewise.
7322 [C99-based-standards] (PRIuLEAST16): Likewise.
7323 [C99-based-standards] (PRIxLEAST16): Likewise.
7324 [C99-based-standards] (PRIXLEAST16): Likewise.
7325 [C99-based-standards] (SCNdLEAST16): Likewise.
7326 [C99-based-standards] (SCNiLEAST16): Likewise.
7327 [C99-based-standards] (SCNoLEAST16): Likewise.
7328 [C99-based-standards] (SCNuLEAST16): Likewise.
7329 [C99-based-standards] (SCNxLEAST16): Likewise.
7330 [C99-based-standards] (PRIdFAST16): Likewise.
7331 [C99-based-standards] (PRIiFAST16): Likewise.
7332 [C99-based-standards] (PRIoFAST16): Likewise.
7333 [C99-based-standards] (PRIuFAST16): Likewise.
7334 [C99-based-standards] (PRIxFAST16): Likewise.
7335 [C99-based-standards] (PRIXFAST16): Likewise.
7336 [C99-based-standards] (SCNdFAST16): Likewise.
7337 [C99-based-standards] (SCNiFAST16): Likewise.
7338 [C99-based-standards] (SCNoFAST16): Likewise.
7339 [C99-based-standards] (SCNuFAST16): Likewise.
7340 [C99-based-standards] (SCNxFAST16): Likewise.
7341 [C99-based-standards] (PRId32): Likewise.
7342 [C99-based-standards] (PRIi32): Likewise.
7343 [C99-based-standards] (PRIo32): Likewise.
7344 [C99-based-standards] (PRIu32): Likewise.
7345 [C99-based-standards] (PRIx32): Likewise.
7346 [C99-based-standards] (PRIX32): Likewise.
7347 [C99-based-standards] (SCNd32): Likewise.
7348 [C99-based-standards] (SCNi32): Likewise.
7349 [C99-based-standards] (SCNo32): Likewise.
7350 [C99-based-standards] (SCNu32): Likewise.
7351 [C99-based-standards] (SCNx32): Likewise.
7352 [C99-based-standards] (PRIdLEAST32): Likewise.
7353 [C99-based-standards] (PRIiLEAST32): Likewise.
7354 [C99-based-standards] (PRIoLEAST32): Likewise.
7355 [C99-based-standards] (PRIuLEAST32): Likewise.
7356 [C99-based-standards] (PRIxLEAST32): Likewise.
7357 [C99-based-standards] (PRIXLEAST32): Likewise.
7358 [C99-based-standards] (SCNdLEAST32): Likewise.
7359 [C99-based-standards] (SCNiLEAST32): Likewise.
7360 [C99-based-standards] (SCNoLEAST32): Likewise.
7361 [C99-based-standards] (SCNuLEAST32): Likewise.
7362 [C99-based-standards] (SCNxLEAST32): Likewise.
7363 [C99-based-standards] (PRIdFAST32): Likewise.
7364 [C99-based-standards] (PRIiFAST32): Likewise.
7365 [C99-based-standards] (PRIoFAST32): Likewise.
7366 [C99-based-standards] (PRIuFAST32): Likewise.
7367 [C99-based-standards] (PRIxFAST32): Likewise.
7368 [C99-based-standards] (PRIXFAST32): Likewise.
7369 [C99-based-standards] (SCNdFAST32): Likewise.
7370 [C99-based-standards] (SCNiFAST32): Likewise.
7371 [C99-based-standards] (SCNoFAST32): Likewise.
7372 [C99-based-standards] (SCNuFAST32): Likewise.
7373 [C99-based-standards] (SCNxFAST32): Likewise.
7374 [C99-based-standards] (PRId64): Likewise.
7375 [C99-based-standards] (PRIi64): Likewise.
7376 [C99-based-standards] (PRIo64): Likewise.
7377 [C99-based-standards] (PRIu64): Likewise.
7378 [C99-based-standards] (PRIx64): Likewise.
7379 [C99-based-standards] (PRIX64): Likewise.
7380 [C99-based-standards] (SCNd64): Likewise.
7381 [C99-based-standards] (SCNi64): Likewise.
7382 [C99-based-standards] (SCNo64): Likewise.
7383 [C99-based-standards] (SCNu64): Likewise.
7384 [C99-based-standards] (SCNx64): Likewise.
7385 [C99-based-standards] (PRIdLEAST64): Likewise.
7386 [C99-based-standards] (PRIiLEAST64): Likewise.
7387 [C99-based-standards] (PRIoLEAST64): Likewise.
7388 [C99-based-standards] (PRIuLEAST64): Likewise.
7389 [C99-based-standards] (PRIxLEAST64): Likewise.
7390 [C99-based-standards] (PRIXLEAST64): Likewise.
7391 [C99-based-standards] (SCNdLEAST64): Likewise.
7392 [C99-based-standards] (SCNiLEAST64): Likewise.
7393 [C99-based-standards] (SCNoLEAST64): Likewise.
7394 [C99-based-standards] (SCNuLEAST64): Likewise.
7395 [C99-based-standards] (SCNxLEAST64): Likewise.
7396 [C99-based-standards] (PRIdFAST64): Likewise.
7397 [C99-based-standards] (PRIiFAST64): Likewise.
7398 [C99-based-standards] (PRIoFAST64): Likewise.
7399 [C99-based-standards] (PRIuFAST64): Likewise.
7400 [C99-based-standards] (PRIxFAST64): Likewise.
7401 [C99-based-standards] (PRIXFAST64): Likewise.
7402 [C99-based-standards] (SCNdFAST64): Likewise.
7403 [C99-based-standards] (SCNiFAST64): Likewise.
7404 [C99-based-standards] (SCNoFAST64): Likewise.
7405 [C99-based-standards] (SCNuFAST64): Likewise.
7406 [C99-based-standards] (SCNxFAST64): Likewise.
7407 [C99-based-standards] (PRIdMAX): Likewise.
7408 [C99-based-standards] (PRIiMAX): Likewise.
7409 [C99-based-standards] (PRIoMAX): Likewise.
7410 [C99-based-standards] (PRIuMAX): Likewise.
7411 [C99-based-standards] (PRIxMAX): Likewise.
7412 [C99-based-standards] (PRIXMAX): Likewise.
7413 [C99-based-standards] (SCNdMAX): Likewise.
7414 [C99-based-standards] (SCNiMAX): Likewise.
7415 [C99-based-standards] (SCNoMAX): Likewise.
7416 [C99-based-standards] (SCNuMAX): Likewise.
7417 [C99-based-standards] (SCNxMAX): Likewise.
7418 [C99-based-standards] (PRIdPTR): Likewise.
7419 [C99-based-standards] (PRIiPTR): Likewise.
7420 [C99-based-standards] (PRIoPTR): Likewise.
7421 [C99-based-standards] (PRIuPTR): Likewise.
7422 [C99-based-standards] (PRIxPTR): Likewise.
7423 [C99-based-standards] (PRIXPTR): Likewise.
7424 [C99-based-standards] (SCNdPTR): Likewise.
7425 [C99-based-standards] (SCNiPTR): Likewise.
7426 [C99-based-standards] (SCNoPTR): Likewise.
7427 [C99-based-standards] (SCNuPTR): Likewise.
7428 [C99-based-standards] (SCNxPTR): Likewise.
7429 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
7431 * conform/data/stdint.h-data: Update comments to clarify
7433 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
7435 [C99-based standards] (INT8_MAX): Likewise.
7436 [C99-based standards] (INT16_MIN): Likewise.
7437 [C99-based standards] (INT16_MAX): Likewise.
7438 [C99-based standards] (INT32_MIN): Likewise.
7439 [C99-based standards] (INT32_MAX): Likewise.
7440 [C99-based standards] (INT64_MIN): Likewise.
7441 [C99-based standards] (INT64_MAX): Likewise.
7442 [C99-based standards] (UINT8_MAX): Likewise.
7443 [C99-based standards] (UINT16_MAX): Likewise.
7444 [C99-based standards] (UINT32_MAX): Likewise.
7445 [C99-based standards] (UINT64_MAX): Likewise.
7446 [C99-based standards] (INT_LEAST8_MIN): Likewise.
7447 [C99-based standards] (INT_LEAST8_MAX): Likewise.
7448 [C99-based standards] (INT_LEAST16_MIN): Likewise.
7449 [C99-based standards] (INT_LEAST16_MAX): Likewise.
7450 [C99-based standards] (INT_LEAST32_MIN): Likewise.
7451 [C99-based standards] (INT_LEAST32_MAX): Likewise.
7452 [C99-based standards] (INT_LEAST64_MIN): Likewise.
7453 [C99-based standards] (INT_LEAST64_MAX): Likewise.
7454 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
7455 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
7456 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
7457 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
7458 [C99-based standards] (INT_FAST8_MIN): Likewise.
7459 [C99-based standards] (INT_FAST8_MAX): Likewise.
7460 [C99-based standards] (INT_FAST16_MIN): Likewise.
7461 [C99-based standards] (INT_FAST16_MAX): Likewise.
7462 [C99-based standards] (INT_FAST32_MIN): Likewise.
7463 [C99-based standards] (INT_FAST32_MAX): Likewise.
7464 [C99-based standards] (INT_FAST64_MIN): Likewise.
7465 [C99-based standards] (INT_FAST64_MAX): Likewise.
7466 [C99-based standards] (UINT_FAST8_MAX): Likewise.
7467 [C99-based standards] (UINT_FAST16_MAX): Likewise.
7468 [C99-based standards] (UINT_FAST32_MAX): Likewise.
7469 [C99-based standards] (UINT_FAST64_MAX): Likewise.
7470 [C99-based standards] (INTPTR_MIN): Likewise.
7471 [C99-based standards] (INTPTR_MAX): Likewise.
7472 [C99-based standards] (UINTPTR_MAX): Likewise.
7473 [C99-based standards] (INTMAX_MIN): Likewise.
7474 [C99-based standards] (INTMAX_MAX): Likewise.
7475 [C99-based standards] (UINTMAX_MAX): Likewise.
7476 [C99-based standards] (PTRDIFF_MIN): Likewise.
7477 [C99-based standards] (PTRDIFF_MAX): Likewise.
7478 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
7479 [C99-based standards] (SIZE_MAX): Likewise.
7480 [C99-based standards] (WCHAR_MAX): Likewise.
7481 [C99-based standards] (WINT_MAX): Likewise.
7482 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
7483 constraint on value.
7484 [C99-based standards] (WCHAR_MIN): Likewise.
7485 [C99-based standards] (WINT_MIN): Likewise.
7486 [C99-based standards] (*_t): Allow.
7487 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
7488 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
7489 Include math.h-data and complex.h-data. Remove all expectations
7490 of math.h and complex.h contents.
7491 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
7493 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
7494 (struct tm): Expect tag.
7495 [C99-based-standards] (wcstof): Expect function.
7496 [C99-based-standards] (wcstold): Likewise.
7497 [C99-based-standards] (wcstoll): Likewise.
7498 [C99-based-standards] (wcstoull): Likewise.
7499 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
7500 macro-int-constant. Specify type.
7501 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
7502 constraint on value.
7503 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7505 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
7507 [ISO C standards]: Do not allow headers.
7508 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
7509 wcs[abcdefghijklmnopqrstuvwxyz]*.
7510 [ISO C standards] (*_t): Do not allow.
7511 * conform/data/wctype.h-data [C99-based standards] (iswblank):
7513 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
7514 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7516 [ISO C standards]: Do not allow headers.
7517 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
7518 is[abcdefghijklmnopqrstuvwxyz]*.
7519 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
7520 to[abcdefghijklmnopqrstuvwxyz]*.
7521 [ISO C standards] (*_t): Do not allow.
7522 * conform/data/stdalign.h-data: New file.
7523 * conform/data/stdbool.h-data: Likewise.
7524 * conform/data/stdnoreturn.h-data: Likewise.
7526 2012-11-07 Roland McGrath <roland@hack.frob.com>
7529 * manual/filesys.texi (Directory Entries): Typo fix.
7530 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
7532 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7534 * elf/elf.h (EM_AARCH64): New macro.
7535 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
7536 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
7537 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
7538 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
7539 (R_AARCH64_TLSDESC): Likewise.
7540 (NT_ARM_TLS): Likewise.
7541 (NT_ARM_HW_BREAK): Likewise.
7542 (NT_ARM_HW_WATCH): Likewise.
7544 2012-11-07 Joseph Myers <joseph@codesourcery.com>
7547 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
7548 (__ieee754_powl): Saturate nonzero exponents with absolute value
7549 below 0x1p-79 to +/- 0x1p-79.
7550 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
7551 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
7552 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
7553 nonzero exponents with absolute value below 0x1p-32 to +/-
7555 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
7556 (__ieee754_powl): Saturate nonzero exponents with absolute value
7557 below 0x1p-79 to +/- 0x1p-79.
7558 * math/libm-test.inc (pow_test): Add more tests.
7560 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7562 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
7563 _dl_s390_cap_flags with kernel. Increase string length.
7564 (_dl_s390_platforms): Add z196 and zEC12.
7566 2012-11-07 Joseph Myers <joseph@codesourcery.com>
7568 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
7569 Change XOPEN21K to XOPEN2K.
7571 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
7573 * string/memmove.c: Use memcpy when possible.
7575 2012-11-06 Andreas Jaeger <aj@suse.de>
7577 * po/eo.po: Update from translation team.
7579 2012-11-06 Joseph Myers <joseph@codesourcery.com>
7582 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
7583 exponent and small x and y exponents, scale x or y up. Increase
7584 by 2 the exponent used in scaling up.
7585 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7586 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7587 * math/libm-test.inc (fma_test): Add more tests.
7588 (fma_test_towardzero): Likewise.
7589 (fma_test_downward): Likewise.
7590 (fma_test_upward): Likewise.
7592 2012-11-05 Joseph Myers <joseph@codesourcery.com>
7595 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
7599 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
7600 namespace for names of struct fields.
7601 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
7603 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7604 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
7606 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
7609 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
7611 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7613 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
7617 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
7620 2012-11-04 Joseph Myers <joseph@codesourcery.com>
7623 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
7624 definitely overflow as x * y not x * y + z.
7625 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7626 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7627 * math/libm-test.inc (fma_test): Add more tests.
7628 (fma_test_towardzero): Likewise.
7629 (fma_test_downward): Likewise.
7630 (fma_test_upward): Likewise.
7632 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7636 * include/stub-tag.h: Remove file.
7637 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
7639 * manual/maint.texi (Porting): Don't reference it.
7640 * Makerules ($(objpfx)stubs): Likewise.
7641 * dirent/closedir.c: Don't include <stub-tag.h>.
7642 * dirent/dirfd.c: Likewise.
7643 * dirent/fdopendir.c: Likewise.
7644 * dirent/getdents.c: Likewise.
7645 * dirent/getdents64.c: Likewise.
7646 * dirent/opendir.c: Likewise.
7647 * dirent/readdir.c: Likewise.
7648 * dirent/readdir64.c: Likewise.
7649 * dirent/readdir64_r.c: Likewise.
7650 * dirent/readdir_r.c: Likewise.
7651 * dirent/rewinddir.c: Likewise.
7652 * dirent/seekdir.c: Likewise.
7653 * dirent/telldir.c: Likewise.
7654 * gmon/profil.c: Likewise.
7655 * grp/setgroups.c: Likewise.
7656 * inet/if_index.c: Likewise.
7657 * io/access.c: Likewise.
7658 * io/chdir.c: Likewise.
7659 * io/chmod.c: Likewise.
7660 * io/chown.c: Likewise.
7661 * io/close.c: Likewise.
7662 * io/dup.c: Likewise.
7663 * io/dup2.c: Likewise.
7664 * io/dup3.c: Likewise.
7665 * io/euidaccess.c: Likewise.
7666 * io/faccessat.c: Likewise.
7667 * io/fchdir.c: Likewise.
7668 * io/fchmod.c: Likewise.
7669 * io/fchmodat.c: Likewise.
7670 * io/fchown.c: Likewise.
7671 * io/fchownat.c: Likewise.
7672 * io/fcntl.c: Likewise.
7673 * io/flock.c: Likewise.
7674 * io/fstatfs.c: Likewise.
7675 * io/fstatfs64.c: Likewise.
7676 * io/fstatvfs.c: Likewise.
7677 * io/fstatvfs64.c: Likewise.
7678 * io/futimens.c: Likewise.
7679 * io/fxstat.c: Likewise.
7680 * io/fxstat64.c: Likewise.
7681 * io/fxstatat.c: Likewise.
7682 * io/fxstatat64.c: Likewise.
7683 * io/getcwd.c: Likewise.
7684 * io/isatty.c: Likewise.
7685 * io/lchmod.c: Likewise.
7686 * io/lchown.c: Likewise.
7687 * io/link.c: Likewise.
7688 * io/linkat.c: Likewise.
7689 * io/lseek.c: Likewise.
7690 * io/lseek64.c: Likewise.
7691 * io/lxstat64.c: Likewise.
7692 * io/mkdir.c: Likewise.
7693 * io/mkdirat.c: Likewise.
7694 * io/mkfifo.c: Likewise.
7695 * io/mkfifoat.c: Likewise.
7696 * io/open.c: Likewise.
7697 * io/open64.c: Likewise.
7698 * io/openat.c: Likewise.
7699 * io/openat64.c: Likewise.
7700 * io/pipe.c: Likewise.
7701 * io/pipe2.c: Likewise.
7702 * io/poll.c: Likewise.
7703 * io/posix_fadvise.c: Likewise.
7704 * io/posix_fadvise64.c: Likewise.
7705 * io/posix_fallocate.c: Likewise.
7706 * io/posix_fallocate64.c: Likewise.
7707 * io/read.c: Likewise.
7708 * io/readlink.c: Likewise.
7709 * io/readlinkat.c: Likewise.
7710 * io/rmdir.c: Likewise.
7711 * io/sendfile.c: Likewise.
7712 * io/sendfile64.c: Likewise.
7713 * io/statfs.c: Likewise.
7714 * io/statfs64.c: Likewise.
7715 * io/statvfs.c: Likewise.
7716 * io/statvfs64.c: Likewise.
7717 * io/symlink.c: Likewise.
7718 * io/symlinkat.c: Likewise.
7719 * io/ttyname.c: Likewise.
7720 * io/ttyname_r.c: Likewise.
7721 * io/umask.c: Likewise.
7722 * io/unlink.c: Likewise.
7723 * io/unlinkat.c: Likewise.
7724 * io/utime.c: Likewise.
7725 * io/utimensat.c: Likewise.
7726 * io/write.c: Likewise.
7727 * io/xmknod.c: Likewise.
7728 * io/xmknodat.c: Likewise.
7729 * io/xstat.c: Likewise.
7730 * io/xstat64.c: Likewise.
7731 * login/getpt.c: Likewise.
7732 * login/grantpt.c: Likewise.
7733 * login/unlockpt.c: Likewise.
7734 * math/e_acoshl.c: Likewise.
7735 * math/e_acosl.c: Likewise.
7736 * math/e_asinl.c: Likewise.
7737 * math/e_atan2l.c: Likewise.
7738 * math/e_atanhl.c: Likewise.
7739 * math/e_coshl.c: Likewise.
7740 * math/e_expl.c: Likewise.
7741 * math/e_fmodl.c: Likewise.
7742 * math/e_gammal_r.c: Likewise.
7743 * math/e_hypotl.c: Likewise.
7744 * math/e_j0l.c: Likewise.
7745 * math/e_j1l.c: Likewise.
7746 * math/e_jnl.c: Likewise.
7747 * math/e_lgammal_r.c: Likewise.
7748 * math/e_log10l.c: Likewise.
7749 * math/e_log2l.c: Likewise.
7750 * math/e_logl.c: Likewise.
7751 * math/e_powl.c: Likewise.
7752 * math/e_rem_pio2l.c: Likewise.
7753 * math/e_sinhl.c: Likewise.
7754 * math/e_sqrtl.c: Likewise.
7755 * math/fclrexcpt.c: Likewise.
7756 * math/fedisblxcpt.c: Likewise.
7757 * math/feenablxcpt.c: Likewise.
7758 * math/fegetenv.c: Likewise.
7759 * math/fegetexcept.c: Likewise.
7760 * math/fegetround.c: Likewise.
7761 * math/feholdexcpt.c: Likewise.
7762 * math/fesetenv.c: Likewise.
7763 * math/fesetround.c: Likewise.
7764 * math/feupdateenv.c: Likewise.
7765 * math/fgetexcptflg.c: Likewise.
7766 * math/fraiseexcpt.c: Likewise.
7767 * math/fsetexcptflg.c: Likewise.
7768 * math/ftestexcept.c: Likewise.
7769 * math/k_cosl.c: Likewise.
7770 * math/k_rem_pio2l.c: Likewise.
7771 * math/k_sinl.c: Likewise.
7772 * math/k_tanl.c: Likewise.
7773 * math/s_asinhl.c: Likewise.
7774 * math/s_atanl.c: Likewise.
7775 * math/s_cbrtl.c: Likewise.
7776 * math/s_erfl.c: Likewise.
7777 * math/s_expm1l.c: Likewise.
7778 * math/s_log1pl.c: Likewise.
7779 * math/s_tanhl.c: Likewise.
7780 * misc/acct.c: Likewise.
7781 * misc/brk.c: Likewise.
7782 * misc/chflags.c: Likewise.
7783 * misc/chroot.c: Likewise.
7784 * misc/fchflags.c: Likewise.
7785 * misc/fgetxattr.c: Likewise.
7786 * misc/flistxattr.c: Likewise.
7787 * misc/fremovexattr.c: Likewise.
7788 * misc/fsetxattr.c: Likewise.
7789 * misc/fsync.c: Likewise.
7790 * misc/ftruncate.c: Likewise.
7791 * misc/futimes.c: Likewise.
7792 * misc/futimesat.c: Likewise.
7793 * misc/getdomain.c: Likewise.
7794 * misc/getdtsz.c: Likewise.
7795 * misc/gethostid.c: Likewise.
7796 * misc/gethostname.c: Likewise.
7797 * misc/getloadavg.c: Likewise.
7798 * misc/getpagesize.c: Likewise.
7799 * misc/getsysstats.c: Likewise.
7800 * misc/getxattr.c: Likewise.
7801 * misc/gtty.c: Likewise.
7802 * misc/ioctl.c: Likewise.
7803 * misc/lgetxattr.c: Likewise.
7804 * misc/listxattr.c: Likewise.
7805 * misc/llistxattr.c: Likewise.
7806 * misc/lremovexattr.c: Likewise.
7807 * misc/lsetxattr.c: Likewise.
7808 * misc/lutimes.c: Likewise.
7809 * misc/madvise.c: Likewise.
7810 * misc/mincore.c: Likewise.
7811 * misc/mlock.c: Likewise.
7812 * misc/mlockall.c: Likewise.
7813 * misc/mmap.c: Likewise.
7814 * misc/mprotect.c: Likewise.
7815 * misc/msync.c: Likewise.
7816 * misc/munlock.c: Likewise.
7817 * misc/munlockall.c: Likewise.
7818 * misc/munmap.c: Likewise.
7819 * misc/preadv.c: Likewise.
7820 * misc/preadv64.c: Likewise.
7821 * misc/ptrace.c: Likewise.
7822 * misc/pwritev.c: Likewise.
7823 * misc/pwritev64.c: Likewise.
7824 * misc/readv.c: Likewise.
7825 * misc/reboot.c: Likewise.
7826 * misc/remap_file_pages.c: Likewise.
7827 * misc/removexattr.c: Likewise.
7828 * misc/revoke.c: Likewise.
7829 * misc/select.c: Likewise.
7830 * misc/setdomain.c: Likewise.
7831 * misc/setegid.c: Likewise.
7832 * misc/seteuid.c: Likewise.
7833 * misc/sethostid.c: Likewise.
7834 * misc/sethostname.c: Likewise.
7835 * misc/setregid.c: Likewise.
7836 * misc/setreuid.c: Likewise.
7837 * misc/setxattr.c: Likewise.
7838 * misc/sstk.c: Likewise.
7839 * misc/stty.c: Likewise.
7840 * misc/swapoff.c: Likewise.
7841 * misc/swapon.c: Likewise.
7842 * misc/sync.c: Likewise.
7843 * misc/syncfs.c: Likewise.
7844 * misc/syscall.c: Likewise.
7845 * misc/truncate.c: Likewise.
7846 * misc/ualarm.c: Likewise.
7847 * misc/usleep.c: Likewise.
7848 * misc/ustat.c: Likewise.
7849 * misc/utimes.c: Likewise.
7850 * misc/vhangup.c: Likewise.
7851 * misc/writev.c: Likewise.
7852 * posix/_exit.c: Likewise.
7853 * posix/alarm.c: Likewise.
7854 * posix/execve.c: Likewise.
7855 * posix/fexecve.c: Likewise.
7856 * posix/fork.c: Likewise.
7857 * posix/fpathconf.c: Likewise.
7858 * posix/getaddrinfo.c: Likewise.
7859 * posix/getegid.c: Likewise.
7860 * posix/geteuid.c: Likewise.
7861 * posix/getgid.c: Likewise.
7862 * posix/getgroups.c: Likewise.
7863 * posix/getlogin.c: Likewise.
7864 * posix/getlogin_r.c: Likewise.
7865 * posix/getpgid.c: Likewise.
7866 * posix/getpid.c: Likewise.
7867 * posix/getppid.c: Likewise.
7868 * posix/getresgid.c: Likewise.
7869 * posix/getresuid.c: Likewise.
7870 * posix/getsid.c: Likewise.
7871 * posix/getuid.c: Likewise.
7872 * posix/glob64.c: Likewise.
7873 * posix/nanosleep.c: Likewise.
7874 * posix/pathconf.c: Likewise.
7875 * posix/pause.c: Likewise.
7876 * posix/posix_madvise.c: Likewise.
7877 * posix/pread.c: Likewise.
7878 * posix/pread64.c: Likewise.
7879 * posix/pwrite.c: Likewise.
7880 * posix/pwrite64.c: Likewise.
7881 * posix/sched_getaffinity.c: Likewise.
7882 * posix/sched_getp.c: Likewise.
7883 * posix/sched_gets.c: Likewise.
7884 * posix/sched_primax.c: Likewise.
7885 * posix/sched_primin.c: Likewise.
7886 * posix/sched_rr_gi.c: Likewise.
7887 * posix/sched_setaffinity.c: Likewise.
7888 * posix/sched_setp.c: Likewise.
7889 * posix/sched_sets.c: Likewise.
7890 * posix/sched_yield.c: Likewise.
7891 * posix/setgid.c: Likewise.
7892 * posix/setlogin.c: Likewise.
7893 * posix/setpgid.c: Likewise.
7894 * posix/setresgid.c: Likewise.
7895 * posix/setresuid.c: Likewise.
7896 * posix/setsid.c: Likewise.
7897 * posix/setuid.c: Likewise.
7898 * posix/sleep.c: Likewise.
7899 * posix/spawni.c: Likewise.
7900 * posix/sysconf.c: Likewise.
7901 * posix/times.c: Likewise.
7902 * posix/wait.c: Likewise.
7903 * posix/wait3.c: Likewise.
7904 * posix/wait4.c: Likewise.
7905 * posix/waitpid.c: Likewise.
7906 * resolv/gai_sigqueue.c: Likewise.
7907 * resource/getpriority.c: Likewise.
7908 * resource/getrlimit.c: Likewise.
7909 * resource/getrusage.c: Likewise.
7910 * resource/nice.c: Likewise.
7911 * resource/setpriority.c: Likewise.
7912 * resource/setrlimit.c: Likewise.
7913 * resource/ulimit.c: Likewise.
7914 * rt/aio_cancel.c: Likewise.
7915 * rt/aio_fsync.c: Likewise.
7916 * rt/aio_read.c: Likewise.
7917 * rt/aio_sigqueue.c: Likewise.
7918 * rt/aio_suspend.c: Likewise.
7919 * rt/aio_write.c: Likewise.
7920 * rt/clock_getres.c: Likewise.
7921 * rt/clock_gettime.c: Likewise.
7922 * rt/clock_nanosleep.c: Likewise.
7923 * rt/clock_settime.c: Likewise.
7924 * rt/lio_listio.c: Likewise.
7925 * rt/mq_close.c: Likewise.
7926 * rt/mq_getattr.c: Likewise.
7927 * rt/mq_notify.c: Likewise.
7928 * rt/mq_open.c: Likewise.
7929 * rt/mq_receive.c: Likewise.
7930 * rt/mq_send.c: Likewise.
7931 * rt/mq_setattr.c: Likewise.
7932 * rt/mq_timedreceive.c: Likewise.
7933 * rt/mq_timedsend.c: Likewise.
7934 * rt/mq_unlink.c: Likewise.
7935 * rt/shm_open.c: Likewise.
7936 * rt/shm_unlink.c: Likewise.
7937 * rt/timer_create.c: Likewise.
7938 * rt/timer_delete.c: Likewise.
7939 * rt/timer_getoverr.c: Likewise.
7940 * rt/timer_gettime.c: Likewise.
7941 * rt/timer_settime.c: Likewise.
7942 * setjmp/__longjmp.c: Likewise.
7943 * setjmp/setjmp.c: Likewise.
7944 * signal/kill.c: Likewise.
7945 * signal/killpg.c: Likewise.
7946 * signal/raise.c: Likewise.
7947 * signal/sigaction.c: Likewise.
7948 * signal/sigaltstack.c: Likewise.
7949 * signal/sigblock.c: Likewise.
7950 * signal/sigignore.c: Likewise.
7951 * signal/sigintr.c: Likewise.
7952 * signal/signal.c: Likewise.
7953 * signal/sigpause.c: Likewise.
7954 * signal/sigpending.c: Likewise.
7955 * signal/sigqueue.c: Likewise.
7956 * signal/sigreturn.c: Likewise.
7957 * signal/sigset.c: Likewise.
7958 * signal/sigsetmask.c: Likewise.
7959 * signal/sigstack.c: Likewise.
7960 * signal/sigsuspend.c: Likewise.
7961 * signal/sigtimedwait.c: Likewise.
7962 * signal/sigvec.c: Likewise.
7963 * signal/sigwait.c: Likewise.
7964 * signal/sigwaitinfo.c: Likewise.
7965 * signal/sysv_signal.c: Likewise.
7966 * socket/accept.c: Likewise.
7967 * socket/accept4.c: Likewise.
7968 * socket/bind.c: Likewise.
7969 * socket/connect.c: Likewise.
7970 * socket/getpeername.c: Likewise.
7971 * socket/getsockname.c: Likewise.
7972 * socket/getsockopt.c: Likewise.
7973 * socket/isfdtype.c: Likewise.
7974 * socket/listen.c: Likewise.
7975 * socket/recv.c: Likewise.
7976 * socket/recvfrom.c: Likewise.
7977 * socket/recvmsg.c: Likewise.
7978 * socket/send.c: Likewise.
7979 * socket/sendmsg.c: Likewise.
7980 * socket/sendto.c: Likewise.
7981 * socket/setsockopt.c: Likewise.
7982 * socket/shutdown.c: Likewise.
7983 * socket/sockatmark.c: Likewise.
7984 * socket/socket.c: Likewise.
7985 * socket/socketpair.c: Likewise.
7986 * stdio-common/ctermid.c: Likewise.
7987 * stdio-common/cuserid.c: Likewise.
7988 * stdio-common/remove.c: Likewise.
7989 * stdio-common/rename.c: Likewise.
7990 * stdio-common/renameat.c: Likewise.
7991 * stdio-common/tempname.c: Likewise.
7992 * stdlib/getcontext.c: Likewise.
7993 * stdlib/makecontext.c: Likewise.
7994 * stdlib/setcontext.c: Likewise.
7995 * stdlib/swapcontext.c: Likewise.
7996 * stdlib/system.c: Likewise.
7997 * streams/fattach.c: Likewise.
7998 * streams/fdetach.c: Likewise.
7999 * streams/getmsg.c: Likewise.
8000 * streams/getpmsg.c: Likewise.
8001 * streams/putmsg.c: Likewise.
8002 * streams/putpmsg.c: Likewise.
8003 * sysdeps/unix/bsd/getpt.c: Likewise.
8004 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
8005 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
8006 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
8009 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
8010 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
8011 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8012 * sysvipc/msgctl.c: Likewise.
8013 * sysvipc/msgget.c: Likewise.
8014 * sysvipc/msgrcv.c: Likewise.
8015 * sysvipc/msgsnd.c: Likewise.
8016 * sysvipc/semctl.c: Likewise.
8017 * sysvipc/semget.c: Likewise.
8018 * sysvipc/semop.c: Likewise.
8019 * sysvipc/semtimedop.c: Likewise.
8020 * sysvipc/shmat.c: Likewise.
8021 * sysvipc/shmctl.c: Likewise.
8022 * sysvipc/shmdt.c: Likewise.
8023 * sysvipc/shmget.c: Likewise.
8024 * termios/tcdrain.c: Likewise.
8025 * termios/tcflow.c: Likewise.
8026 * termios/tcflush.c: Likewise.
8027 * termios/tcgetattr.c: Likewise.
8028 * termios/tcgetpgrp.c: Likewise.
8029 * termios/tcsendbrk.c: Likewise.
8030 * termios/tcsetattr.c: Likewise.
8031 * termios/tcsetpgrp.c: Likewise.
8032 * time/adjtime.c: Likewise.
8033 * time/clock.c: Likewise.
8034 * time/getitimer.c: Likewise.
8035 * time/gettimeofday.c: Likewise.
8036 * time/setitimer.c: Likewise.
8037 * time/settimeofday.c: Likewise.
8038 * time/stime.c: Likewise.
8039 * time/time.c: Likewise.
8041 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
8043 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
8046 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
8048 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
8050 2012-11-03 Joseph Myers <joseph@codesourcery.com>
8053 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
8054 FE_TONEAREST before applying Dekker multiplication and Knuth
8055 addition. Clear inexact exceptions and check for exact zero
8057 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8058 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8059 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8060 * math/libm-test.inc (fma_test): Add more tests.
8061 (fma_test_towardzero): Likewise.
8062 (fma_test_downward): Likewise.
8063 (fma_test_upward): Likewise.
8064 * sysdeps/generic/math_private.h (default_libc_fesetround): New
8066 (libc_fesetround): New macro.
8067 (libc_fesetroundf): Likewise.
8068 (libc_fesetroundl): Likewise.
8069 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
8071 (libc_fesetround_387): Likewise.
8072 (libc_fesetroundf): New macro.
8073 (libc_fesetround): Likewise.
8074 (libc_fesetroundl): Likewise.
8075 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
8077 (libc_fesetroundf): New macro.
8078 (libc_fesetround): Likewise.
8079 (libc_fesetroundl): Likewise.
8080 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
8081 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
8082 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
8084 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
8085 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
8087 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
8088 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
8090 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
8094 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
8095 integer constant usable in #if and use that to give value to enum
8097 (FE_DIVBYZERO): Likewise.
8098 (FE_UNDERFLOW): Likewise.
8099 (FE_OVERFLOW): Likewise.
8100 (FE_INVALID): Likewise.
8101 (FE_INVALID_SNAN): Likewise.
8102 (FE_INVALID_ISI): Likewise.
8103 (FE_INVALID_IDI): Likewise.
8104 (FE_INVALID_ZDZ): Likewise.
8105 (FE_INVALID_IMZ): Likewise.
8106 (FE_INVALID_COMPARE): Likewise.
8107 (FE_INVALID_SOFTWARE): Likewise.
8108 (FE_INVALID_SQRT): Likewise.
8109 (FE_INVALID_INTEGER_CONVERSION): Likewise.
8110 (FE_TONEAREST): Likewise.
8111 (FE_TOWARDZERO): Likewise.
8112 (FE_UPWARD): Likewise.
8113 (FE_DOWNWARD): Likewise.
8114 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
8115 (FE_DIVBYZERO): Likewise.
8116 (FE_OVERFLOW): Likewise.
8117 (FE_UNDERFLOW): Likewise.
8118 (FE_INEXACT): Likewise.
8119 (FE_TONEAREST): Likewise.
8120 (FE_DOWNWARD): Likewise.
8121 (FE_UPWARD): Likewise.
8122 (FE_TOWARDZERO): Likewise.
8123 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
8124 (FE_UNDERFLOW): Likewise.
8125 (FE_OVERFLOW): Likewise.
8126 (FE_DIVBYZERO): Likewise.
8127 (FE_INVALID): Likewise.
8128 (FE_TONEAREST): Likewise.
8129 (FE_TOWARDZERO): Likewise.
8130 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
8131 (FE_OVERFLOW): Likewise.
8132 (FE_UNDERFLOW): Likewise.
8133 (FE_DIVBYZERO): Likewise.
8134 (FE_INEXACT): Likewise.
8135 (FE_TONEAREST): Likewise.
8136 (FE_TOWARDZERO): Likewise.
8137 (FE_UPWARD): Likewise.
8138 (FE_DOWNWARD): Likewise.
8139 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
8140 (FE_DIVBYZERO): Likewise.
8141 (FE_OVERFLOW): Likewise.
8142 (FE_UNDERFLOW): Likewise.
8143 (FE_INEXACT): Likewise.
8144 (FE_TONEAREST): Likewise.
8145 (FE_DOWNWARD): Likewise.
8146 (FE_UPWARD): Likewise.
8147 (FE_TOWARDZERO): Likewise.
8149 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
8151 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
8153 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
8155 * scripts/cross-test-ssh.sh (command): Use newlines to separate
8156 commands. Quote $PWD.
8157 (blacklist_exports): Don't use remove_newlines. Replace "declare
8159 (remove_newlines): Remove.
8161 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
8163 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
8164 * stdlib/stdlib.h (atof): Moved to ...
8165 * include/bits/stdlib-float.h: Here. New file.
8166 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
8167 * stdlib/bits/stdlib-float.h: New file.
8168 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
8170 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
8173 2012-11-02 Joseph Myers <joseph@codesourcery.com>
8175 * conform/conformtest.pl (@headers): Add fenv.h.
8176 * conform/data/fenv.h-data: New file.
8177 * include/fenv.h [_ISOMAC]: Disable all contents of file except
8178 include of <math/fenv.h>.
8180 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
8181 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
8182 && !UNIX98]. Enables tests for XOPEN2K8.
8183 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
8184 POSIX2008]: Likewise.
8186 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
8187 (struct rusage): Do not expect type or its members.
8190 * math/math.h (FP_NAN): Define macro to integer constant usable in
8191 #if and use that to give value to enum constant.
8192 (FP_INFINITE): Likewise.
8193 (FP_ZERO): Likewise.
8194 (FP_SUBNORMAL): Likewise.
8195 (FP_NORMAL): Likewise.
8197 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
8199 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
8200 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
8203 2012-11-02 Roland McGrath <roland@hack.frob.com>
8205 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
8206 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
8207 autoconf-time if not.
8208 * configure.in: Remove AC_PREREQ.
8210 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8212 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
8213 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
8214 of the internal implementation.
8216 2012-11-02 Joseph Myers <joseph@codesourcery.com>
8218 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
8219 except include of <misc/sys/syslog.h>.
8221 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
8224 function returns with a NULL context exit with zero.
8226 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8228 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
8230 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
8232 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
8233 (run_program_cmd): This.
8234 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
8235 (tst_langinfo): New variable. Use it.
8237 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
8239 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
8240 floating point opcodes.
8242 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8244 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
8247 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
8249 * sysdeps/mach/hurd/powerpc: Remove directory.
8250 * sysdeps/mach/powerpc: Likewise.
8252 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8254 * scripts/check-local-headers.sh: Ignore c++ headers.
8256 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8258 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
8259 __libc_cleanup_region_start argument.
8261 2012-11-01 Joseph Myers <joseph@codesourcery.com>
8265 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
8266 x * y using scaling, not as x * y + z.
8267 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8268 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8269 * math/libm-test.inc (fma_test): Add more tests.
8270 (fma_test_towardzero): Likewise.
8271 (fma_test_downward): Likewise.
8272 (fma_test_upward): Likewise.
8274 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8276 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
8278 2012-10-31 Joseph Myers <joseph@codesourcery.com>
8280 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
8283 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
8285 * rt/tst-shm.c (worker): Correct checking for mmap failure.
8287 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8294 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8297 Fix the order of the list for glibc 2.17.
8298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8301 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8305 2012-10-31 Joseph Myers <joseph@codesourcery.com>
8308 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
8309 for low part of x being zero before using __atanl (y).
8310 * math/libm-test.inc (atan2_test): Add another test.
8312 * manual/install.texi (Configuring and compiling): Document
8313 general use of test-wrapper and test-wrapper-env.
8314 * INSTALL: Regenerated.
8316 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
8317 (__fma): Do not extract and scale down low bits on after-rounding
8318 systems when result rounded to normal precision would have normal
8320 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
8321 (__fmal): Do not extract and scale down low bits on after-rounding
8322 systems when result rounded to normal precision would have normal
8324 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
8325 (__fmal): Do not extract and scale down low bits on after-rounding
8326 systems when result rounded to normal precision would have normal
8328 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
8330 (fma_test): Add more tests.
8331 (fma_test_towardzero): Likewise.
8332 (fma_test_downward): Likewise.
8333 (fma_test_upward): Likewise.
8335 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
8337 * sysdeps/i386/tininess.h: Renamed to ...
8338 * sysdeps/x86/tininess.h: This.
8339 * sysdeps/x86_64/tininess.h: Removed.
8341 2012-10-30 Joseph Myers <joseph@codesourcery.com>
8343 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
8344 input. Use $(build-program-cmd).
8345 ($(objpfx)tst-array1-static.out): Likewise.
8346 ($(objpfx)tst-array2.out): Likewise.
8347 ($(objpfx)tst-array3.out): Likewise.
8348 ($(objpfx)tst-array4.out): Likewise.
8349 ($(objpfx)tst-array5.out): Likewise.
8350 ($(objpfx)tst-array5-static.out): Likewise.
8352 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
8354 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
8357 * nss/nsswitch.h (nss_interface_function): Provide new
8358 macro for use with NSS functions.
8359 * grp/initgroups.c: Use new macro.
8360 * nss/getXXbyYY.c: Likewise.
8361 * nss/getXXbyYY_r.c: Likewise.
8362 * nss/getXXent.c: Likewise.
8363 * nss/getXXent_r.c: Likewise.
8364 * sysdeps/posix/getaddrinfo.c: Likewise.
8366 2012-10-30 Andreas Jaeger <aj@suse.de>
8368 * po/ru.po: Update Russion translation from translation project.
8370 2012-10-30 Joseph Myers <joseph@codesourcery.com>
8374 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
8375 result and shift together with sticky bit instead of replicating
8376 round-to-nearest rounding.
8377 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8378 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8379 * math/libm-test.inc (fma_test): Add more tests. Do not permit
8380 missing underflow exceptions.
8381 (fma_test_towardzero): Add more tests.
8382 (fma_test_downward): Likewise.
8383 (fma_test_upward): Likewise.
8386 * sysdeps/generic/tininess.h: New file.
8387 * sysdeps/i386/tininess.h: Likewise.
8388 * sysdeps/sh/tininess.h: Likewise.
8389 * sysdeps/x86_64/tininess.h: Likewise.
8390 * stdlib/tst-strtod-underflow.c: Likewise.
8391 * stdlib/tst-tininess.c: Likewise.
8392 * stdlib/strtod_l.c: Include <tininess.h>.
8393 (round_and_return): Do not set errno for exact underflow cases.
8394 Force an underflow exception when setting errno for underflow.
8395 Determine underflow based on rounding to normal precision if
8396 TININESS_AFTER_ROUNDING.
8397 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
8398 ERANGE for exact underflow cases.
8399 * stdlib/Makefile (tests): Add tst-tininess and
8400 tst-strtod-underflow.
8401 ($(objpfx)tst-tininess): Use $(link-libm).
8402 ($(objpfx)tst-strtod-underflow): Likewise.
8404 2012-10-30 Andreas Jaeger <aj@suse.de>
8407 * elf/Makefile (tests): Remove conditional for have-initfini-array
8408 since this is now always required and the variable does not exist
8410 (tests-static): Likewise.
8411 (modules-names): Likewise.
8413 * po/eo.po: Add Esperanto translation from translation project.
8415 * elf/tst-array1.c (fini_array): Make writeable so that it can be
8416 merged with constructor/destructor.
8417 (init_array): Likewise.
8418 * elf/tst-array2dep.c (fini_array): Likewise.
8419 (init_array): Likewise.
8421 2012-10-29 Mike Frysinger <vapier@gentoo.org>
8423 * manual/message.texi: Delete @cartouche tags.
8425 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
8427 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
8429 * sysdeps/mach/hurd/fsync.c: Likewise.
8431 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
8432 [_POSIX_REALTIME_SIGNALS]: Change condition to
8433 [_POSIX_REALTIME_SIGNALS > 0].
8435 2012-10-27 Andreas Jaeger <aj@suse.de>
8437 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
8438 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
8439 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
8440 [__WORDSIZE != 64]: Likewise.
8442 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
8444 * iconvdata/tst-table.sh: Remove ${SHELL}.
8445 * iconvdata/tst-tables.sh: Likewise.
8447 2012-10-25 David S. Miller <davem@davemloft.net>
8449 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8450 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
8453 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
8455 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8456 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
8457 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
8460 2012-10-25 Roland McGrath <roland@hack.frob.com>
8462 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8463 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
8466 2012-10-25 Joseph Myers <joseph@codesourcery.com>
8467 Jim Blandy <jimb@codesourcery.com>
8469 * scripts/cross-test-ssh.sh: New file.
8470 * manual/install.texi (Configuring and compiling): Document use of
8472 * INSTALL: Regenerated.
8474 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
8476 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
8479 2012-10-25 Joseph Myers <joseph@codesourcery.com>
8481 * Makeconfig (run-program-prefix): Fix comment.
8483 2012-10-24 Joseph Myers <joseph@codesourcery.com>
8484 Jim Blandy <jimb@codesourcery.com>
8486 * Makeconfig (test-wrapper): New variable,
8487 (test-wrapper-env): Likewise.
8488 [$(cross-compiling) = yes && $(test-wrapper) != ""]
8489 (run-built-tests): Define to yes.
8490 (run-program-prefix): Use $(test-wrapper).
8491 (built-program-cmd): Likewise.
8492 * Rules (make-test-out): Use $(test-wrapper-env) and
8493 $(host-built-program-cmd).
8494 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
8495 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
8497 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
8498 $(test-wrapper-env) to tst-rtld-load-self.sh.
8499 ($(objpfx)order2.out): Use $(test-wrapper).
8500 ($(objpfx)tst-initorder.out): Likewise.
8501 ($(objpfx)tst-initorder2.out): Likewise.
8502 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
8503 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
8504 (test_wrapper_env): New variable. Use it to run ld.so.
8505 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
8506 Use it to run ld.so.
8507 (test_wrapper_env): Likewise.
8508 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
8509 $(test-wrapper) to run-iconv-test.sh.
8510 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
8511 (ICONV): Use $test_wrapper.
8512 * posix/Makefile ($(objpfx)globtest.out): Pass
8513 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
8514 globtest.sh, not $(run-program-prefix).
8515 * posix/globtest.sh (run_via_rtld_prefix): New variable.
8516 (test_wrapper): Likewise.
8517 (test_wrapper_env): Likewise. Use it to run globtest with HOME
8518 set together with run_via_rtld_prefix.
8519 (run_program_prefix): Define in terms of test_wrapper and
8520 run_via_rtld_prefix.
8522 2012-10-24 Roland McGrath <roland@hack.frob.com>
8524 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
8525 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
8529 * include/time.h: Remove librt_hidden_proto (clock_gettime).
8530 Declare __clock_getres, __clock_gettime, __clock_settime,
8531 __clock_nanosleep, and __clock_getcpuclockid.
8532 * rt/clock_gettime.c: Define __clock_gettime as an alias.
8533 Remove librt_hidden_def (clock_gettime).
8534 * sysdeps/unix/clock_gettime.c: Likewise.
8535 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
8536 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8537 * rt/clock_getres.c: Define __clock_getres as an alias.
8538 * sysdeps/posix/clock_getres.c: Likewise.
8539 * rt/clock_settime.c: Define __clock_settime as an alias.
8540 * sysdeps/unix/clock_settime.c: Likewise.
8541 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
8542 * sysdeps/unix/clock_nanosleep.c: Likewise.
8543 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8544 * rt/clock-compat.c: New file.
8545 * rt/Makefile (librt-routines): Add clock-compat and move
8546 $(clock-routines) to ...
8547 (routines): ... here, new variable.
8548 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
8549 Don't add get_clockfreq here.
8550 * rt/Versions (libc: GLIBC_2.17): New version set.
8551 Add clock_* symbols here.
8552 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
8553 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
8554 (GLIBC_2.17): Add clock_* symbols.
8555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8556 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8557 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8562 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8563 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8566 * NEWS: Mention the move.
8568 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8569 Use __open, __read, __close rather than their public counterparts.
8570 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8571 (__get_clockfreq_via_cpuinfo): Likewise.
8572 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
8573 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
8575 * config.h.in (HAVE_IFUNC): New #undef.
8576 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
8578 * configure: Regenerated.
8580 2012-10-24 Mike Frysinger <vapier@gentoo.org>
8582 * configure.in: Move READELF check to start of file.
8583 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
8584 libc_cv_asm_gnu_indirect_function in the process.
8585 * configure: Regenerated.
8587 2012-10-24 Mike Frysinger <vapier@gentoo.org>
8589 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
8590 send the output to /dev/null.
8591 (libc_cv_cc_with_libunwind): Likewise.
8592 (libc_cv_as_noexecstack): Likewise.
8593 * configure: Regenerate.
8595 2012-10-24 Joseph Myers <joseph@codesourcery.com>
8597 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
8599 * posix/globtest.sh (TMPDIR): Do not set.
8600 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
8601 (testout): Likewise.
8603 2012-10-24 Andreas Jaeger <aj@suse.de>
8605 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
8606 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
8607 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
8608 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
8609 posix_fadvise64, posix_fallocate64.
8611 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
8612 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
8613 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
8615 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
8617 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
8619 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
8620 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
8621 <bits/fcntl-linux.h>.
8622 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
8624 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
8625 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
8626 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
8627 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
8628 [__WORDSIZE != 64]: Likewise.
8630 2012-10-23 Joseph Myers <joseph@codesourcery.com>
8632 * Makeconfig (run-built-tests): New variable.
8633 * Rules [$(cross-compiling) = yes]: Change condition to
8634 [$(run-built-tests) = no].
8635 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
8636 to [$(run-built-tests) = yes].
8637 * elf/Makefile [$(cross-compiling) = no]: Likewise
8638 * grp/Makefile [$(cross-compiling) = no]: Likewise.
8639 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
8640 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
8641 * intl/Makefile [$(cross-compiling) = no]: Likewise.
8642 * io/Makefile [$(cross-compiling) = no]: Likewise.
8643 * libio/Makefile [$(cross-compiling) = no]: Likewise.
8644 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
8645 * misc/Makefile [$(cross-compiling) = no]: Likewise.
8646 * posix/Makefile [$(cross-compiling) = no]: Likewise.
8647 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
8648 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
8649 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
8650 * string/Makefile [$(cross-compiling) = no]: Likewise.
8652 * posix/Makefile ($(objpfx)globtest.out): Pass
8653 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
8654 $(rtld-installed-name).
8655 * posix/globtest.sh (elf_objpfx): Remove variable.
8656 (rtld_installed_name): Likewise.
8657 (library_path): Likewise.
8658 (run_program_prefix): New variable. Use for running globtest
8661 2012-10-23 Jim Blandy <jimb@codesourcery.com>
8662 Joseph Myers <joseph@codesourcery.com>
8664 * Makeconfig (host-built-program-cmd): New variable.
8665 * elf/Makefile (tst-stackguard1-ARGS): Use
8666 $(host-built-program-cmd).
8667 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
8668 (tst-spawn-ARGS): Likewise.
8669 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
8671 2012-10-23 Joseph Myers <joseph@codesourcery.com>
8672 Jim Blandy <jimb@codesourcery.com>
8674 * Makeconfig (run-via-rtld-prefix): New variable.
8675 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
8676 (built-program-cmd): Likewise.
8678 2012-10-22 Andreas Jaeger <aj@suse.de>
8680 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
8681 __O_RSYNC if it exists, otherwise to O_SYNC.
8683 2012-10-22 Jim Blandy <jimb@codesourcery.com>
8684 Joseph Myers <joseph@codesourcery.com>
8686 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
8688 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
8690 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
8693 2012-10-22 Andreas Jaeger <aj@suse.de>
8695 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
8697 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
8699 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8702 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
8703 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
8705 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
8707 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
8710 2012-10-21 Jim Blandy <jimb@codesourcery.com>
8711 Joseph Myers <joseph@codesourcery.com>
8713 * config.make.in (NM): New variable.
8715 2012-10-21 Andreas Jaeger <aj@suse.de>
8717 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
8718 definitions and declarations that are provided by
8719 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8721 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8724 * elf/Makefile (tests-static): Add tst-leaks1-static.
8725 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
8726 ($(objpfx)tst-leaks1-static): New rule.
8727 ($(objpfx)tst-leaks1-static-mem): Likewise.
8728 (tst-leaks1-static-ENV): New macro.
8729 * elf/dl-open.c (dl_open_worker): Check the main application
8730 only if SHARED is defined.
8731 * elf/tst-leaks1-static.c: New file.
8733 2012-10-20 Andreas Jaeger <aj@suse.de>
8735 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
8736 generic values for Linux.
8737 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
8738 and declarations that are provided by <bits/fcntl-linux.h> and
8739 include <bits/fcntl-linux.h>.
8740 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8741 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8743 2012-10-20 Roland McGrath <roland@hack.frob.com>
8745 * io/fcntl.h: Move include of <bits/types.h> to the top and
8746 include it unconditionally.
8748 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8750 * wcsmbs/Makefile (tests-ifunc): New variable.
8751 (tests): Add $(tests-ifunc).
8752 * wcsmbs/test-wcschr-ifunc.c: New file.
8753 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8754 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8755 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8756 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8757 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8759 * string/Makefile (tests-ifunc): New variable.
8760 (tests): Add $(tests-ifunc).
8761 * string/test-memccpy.c (TEST_NAME): New macro.
8762 * string/test-memchr.c (TEST_NAME): Likewise.
8763 * string/test-memcmp.c (TEST_NAME): Likewise.
8764 * string/test-memcpy.c (TEST_NAME): Likewise.
8765 * string/test-memmem.c (TEST_NAME): Likewise.
8766 * string/test-memmove.c (TEST_NAME): Likewise.
8767 * string/test-memset.c (TEST_NAME): Likewise.
8768 * string/test-rawmemchr.c (TEST_NAME): Likewise.
8769 * string/test-stpcpy.c (TEST_NAME): Likewise.
8770 * string/test-stpncpy.c (TEST_NAME): Likewise.
8771 * string/test-strcasecmp.c (TEST_NAME): Likewise.
8772 * string/test-strcasestr.c (TEST_NAME): Likewise.
8773 * string/test-strcat.c (TEST_NAME): Likewise.
8774 * string/test-strchr.c (TEST_NAME): Likewise.
8775 * string/test-strcmp.c(TEST_NAME): Likewise.
8776 * string/test-strcpy.c (TEST_NAME): Likewise.
8777 * string/test-strcspn.c (TEST_NAME): Likewise.
8778 * string/test-strlen.c (TEST_NAME): Likewise.
8779 * string/test-strncasecmp.c (TEST_NAME): Likewise.
8780 * string/test-strncmp.c (TEST_NAME): Likewise.
8781 * string/test-strncpy.c (TEST_NAME): Likewise.
8782 * string/test-strnlen.c (TEST_NAME): Likewise.
8783 * string/test-strpbrk.c (TEST_NAME): Likewise.
8784 * string/test-strrchr.c (TEST_NAME): Likewise.
8785 * string/test-strspn.c (TEST_NAME): Likewise.
8786 * string/test-strstr.c (TEST_NAME): Likewise.
8787 * string/test-bcopy-ifunc.c: New file.
8788 * string/test-bzero-ifunc.c: Likewise.
8789 * string/test-memccpy-ifunc.c: Likewise.
8790 * string/test-memchr-ifunc.c: Likewise.
8791 * string/test-memcmp-ifunc.c: Likewise.
8792 * string/test-memcpy-ifunc.c: Likewise.
8793 * string/test-memmem-ifunc.c: Likewise.
8794 * string/test-memmove-ifunc.c: Likewise.
8795 * string/test-mempcpy-ifunc.c: Likewise.
8796 * string/test-memset-ifunc.c: Likewise.
8797 * string/test-rawmemchr-ifunc.c: Likewise.
8798 * string/test-stpcpy-ifunc.c: Likewise.
8799 * string/test-stpncpy-ifunc.c: Likewise.
8800 * string/test-strcasecmp-ifunc.c: Likewise.
8801 * string/test-strcasestr-ifunc.c: Likewise.
8802 * string/test-strcat-ifunc.c: Likewise.
8803 * string/test-strchr-ifunc.c: Likewise.
8804 * string/test-strchrnul-ifunc.c: Likewise.
8805 * string/test-strcmp-ifunc.c: Likewise.
8806 * string/test-strcpy-ifunc.c: Likewise.
8807 * string/test-strcspn-ifunc.c: Likewise.
8808 * string/test-strlen-ifunc.c: Likewise.
8809 * string/test-strncasecmp-ifunc.c: Likewise.
8810 * string/test-strncat-ifunc.c: Likewise.
8811 * string/test-strncmp-ifunc.c: Likewise.
8812 * string/test-strncpy-ifunc.c: Likewise.
8813 * string/test-strnlen-ifunc.c: Likewise.
8814 * string/test-strpbrk-ifunc.c: Likewise.
8815 * string/test-strrchr-ifunc.c: Likewise.
8816 * string/test-strspn-ifunc.c: Likewise.
8817 * string/test-strstr-ifunc.c: Likewise.
8819 * debug/Makefile (tests-ifunc): New variable.
8820 (tests): Add $(tests-ifunc).
8821 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8822 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8823 * debug/test-stpcpy_chk-ifunc.c: New file.
8824 * debug/test-strcpy_chk-ifunc.c: Likewise.
8826 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8829 * elf/dl-load.c (open_verify): Retry read if the entire ELF
8830 header is not read in.
8832 2012-10-19 Joseph Myers <joseph@codesourcery.com>
8834 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
8835 script to $(SHELL) as $<. Pass $(common-objpfx) to script
8836 directly. Pass built executable to script as
8837 $(built-program-cmd).
8838 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
8839 $testprogram without using LD_LIBRARY_PATH and $ldso.
8841 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8842 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8843 $(rtld-installed-name).
8844 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8845 (rtld_installed_name): Likewise.
8846 (library_path): Likewise.
8847 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
8848 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8849 $(run-program-prefix) to tst-tables.sh.
8850 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
8851 it to run tst-table-from and tst-table-to.
8852 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8853 Pass it to tst-table.sh.
8854 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8855 $(run-program-prefix) to tst-gettext.sh.
8856 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8858 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8860 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
8862 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
8863 to run tst-gettext2.
8864 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
8865 to run tst-translit.
8866 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8867 $(run-program-prefix) to tst-mtrace.sh.
8868 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
8870 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8871 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8872 $(rtld-installed-name).
8873 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8874 (rtld_installed_name): Likewise.
8875 (run_program_prefix): New variable. Use it to run wordexp-test.
8877 * Makeconfig (ARCH): Remove all definitions.
8878 (machine): Likewise.
8879 [ARCH]: Remove conditional code.
8880 [!objdir]: Give error.
8881 [!objdir] (objpfx): Remove.
8882 [!objdir] (common-objpfx): Likewise.
8883 [!objdir] (common-objdir): Likewise.
8884 * configure.in (config_makefile): Remove. Hardcode Makefile in
8885 AC_CONFIG_FILES call.
8886 * configure: Regenerated.
8889 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8891 (testout): Likewise.
8893 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8894 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8895 $(rtld-installed-name).
8896 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8897 (rtld_installed_name): Likwise.
8898 (runit): Remove function.
8899 (run_getconf): New variable, Use it for running getconf binary.
8901 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
8904 * string/test-memmem.c (check_result): New function.
8905 (do_one_test): Use it.
8906 (check1): New function.
8907 (test_main): Use it.
8909 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
8911 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8913 2012-10-18 Joseph Myers <joseph@codesourcery.com>
8915 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8916 (_G_LSEEK64): Likewise.
8917 (_G_MMAP64): Likewise.
8918 (_G_FSTAT64): Likewise.
8919 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8920 (_G_LSEEK64): Likewise.
8921 (_G_MMAP64): Likewise.
8922 (_G_FSTAT64): Likewise.
8923 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8924 unconditional. Call __mmap64 directly.
8925 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8926 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8928 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8929 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8931 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8932 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8934 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8935 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8937 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8938 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8940 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8941 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8942 __fxstat64 directly.
8943 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8944 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8946 (freopen64) [!_G_OPEN64]: Remove conditional code.
8947 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8949 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8950 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8952 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8953 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8955 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8956 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8958 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8959 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8961 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8962 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8964 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8965 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8967 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8969 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8972 * manual/memory.texi (Malloc Tunable Parameters): Add note
8973 about free list pointers overwriting some perturb bytes.
8974 Wording suggested by Roland McGrath.
8976 2012-10-17 Joseph Myers <joseph@codesourcery.com>
8978 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8979 (lgamma_test): Likewise.
8980 (tgamma_test): Likewise.
8982 2012-10-16 Florian Weimer <fweimer@redhat.com>
8985 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8986 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8988 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8990 * NEWS: Mention BZ #14716.
8991 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8992 when removing AVAILABLE1_USES_J macro.
8994 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8996 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8997 (__bswap_64): __uint64_t for unsigned 64-bit int.
8999 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
9001 * include/string.h (memmem): Declare libc hidden alias.
9002 * string/memmem.c (memmem): Define libc hidden alias.
9003 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
9004 __read, __close instead of open, read, close.
9006 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
9008 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
9009 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
9011 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
9012 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
9013 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
9015 (__rawmemchr_sse2): Likewise.
9016 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
9017 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
9018 (__strchr_sse2): Likewise.
9019 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
9020 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
9021 (__strcasecmp_sse2): Likewise.
9022 (__strncasecmp_sse2): Likewise.
9023 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
9024 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
9025 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
9026 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
9027 (__strrchr_sse2): Likewise.
9028 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
9030 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9031 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9032 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9033 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9034 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9035 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9036 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9037 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9038 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
9039 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
9040 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
9041 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
9042 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
9043 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9044 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9045 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9046 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9047 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9048 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
9049 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
9050 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
9051 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
9052 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
9053 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9054 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
9055 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9056 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9057 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9058 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9059 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9061 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
9063 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
9064 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
9065 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
9066 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
9068 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
9070 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
9071 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
9072 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
9073 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
9075 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9076 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9077 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9078 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9079 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9080 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9081 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9082 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9083 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9084 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9085 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9086 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9087 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9088 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
9089 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
9090 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9091 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
9092 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
9093 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9094 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9095 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9096 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9097 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9098 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9099 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9100 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
9101 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
9102 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
9103 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
9104 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9105 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
9106 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9107 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9108 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
9109 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9110 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9111 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9112 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9113 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9114 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9115 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
9117 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
9118 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
9119 * include/ifunc-impl-list.h: New file.
9120 * misc/ifunc-impl-list.c: Likewise.
9121 * misc/Makefile (routines): Add ifunc-impl-list.
9122 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
9123 * string/test-string.h: Include <ifunc-impl-list.h>.
9124 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
9125 impl_array): New variables.
9126 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
9128 (test_init): Call __libc_ifunc_impl_list to initialize
9129 func_list if TEST_IFUNC and TEST_NAME are defined.
9131 * string/Makefile (strop-tests): Add bcopy and bzero.
9132 * string/test-bcopy.c: New file.
9133 * string/test-bzero.c: Likewise.
9134 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
9136 * string/test-memset.c: Support bzero test if TEST_BZERO is
9138 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
9140 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
9142 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
9145 2012-10-10 Joseph Myers <joseph@codesourcery.com>
9147 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
9148 * configure: Regenerated.
9150 * Makeconfig (+link-static-before-libc): Don't include
9151 $(link-static-libc).
9153 * libio/libio.h (_IO_pos_t): Remove.
9155 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
9157 * NEWS: Add note about FIPS mode. Wording suggested by Roland
9160 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
9162 * crypt/crypt-entry.c: Include fips-private.h.
9163 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
9164 * crypt/md5c-test.c (main): Tolerate disabled MD5.
9165 * sysdeps/unix/sysv/linux/fips-private.h: New file.
9166 * sysdeps/generic/fips-private.h: New file, dummy fallback.
9168 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
9170 * crypt/crypt-private.h: Include stdbool.h.
9171 (_ufc_setup_salt_r): Return bool.
9172 * crypt/crypt-entry.c: Include errno.h.
9173 (__crypt_r): Return NULL with EINVAL for bad salt.
9174 * crypt/crypt_util.c (bad_for_salt): New.
9175 (_ufc_setup_salt_r): Check that salt is long enough and within
9176 the specified alphabet.
9177 * crypt/badsalttest.c: New file.
9178 * crypt/Makefile (tests): Add it.
9179 ($(objpfx)badsalttest): New.
9181 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
9183 * NEWS: Add entry for BZ #14602.
9185 2012-10-09 Joseph Myers <joseph@codesourcery.com>
9187 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
9189 * math/libm-test.inc: Update comment listing what functions and
9191 (isgreater_test): New function.
9192 (isgreaterequal_test): Likewise.
9193 (isless_test): Likewise.
9194 (islessequal_test): Likewise.
9195 (islessgreater_test): Likewise.
9196 (isunordered_test): Likewise.
9197 (main): Call the new functions.
9199 2012-10-09 Roland McGrath <roland@hack.frob.com>
9201 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
9202 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
9203 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
9204 * sysdeps/i386/configure: Regenerated.
9205 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
9206 * sysdeps/mach/configure: Regenerated.
9207 * sysdeps/mach/hurd/configure: Regenerated.
9208 * sysdeps/powerpc/configure: Regenerated.
9209 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9210 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9211 * sysdeps/s390/s390-32/configure: Regenerated.
9212 * sysdeps/s390/s390-64/configure: Regenerated.
9213 * sysdeps/sh/configure: Regenerated.
9214 * sysdeps/sparc/configure: Regenerated.
9215 * sysdeps/unix/sysv/linux/configure: Regenerated.
9216 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9217 * sysdeps/x86_64/configure: Regenerated.
9219 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
9220 defined. Don't check if MAP is NULL.
9222 2012-10-09 Joseph Myers <joseph@codesourcery.com>
9224 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
9225 (_G_stat64): Likewise.
9226 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
9227 (_G_stat64): Likewise.
9228 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
9229 instead of struct _G_stat64.
9230 * libio/fileops.c (mmap_remap_check): Likewise.
9231 (decide_maybe_mmap): Likewise.
9232 (_IO_new_file_seekoff): Likewise.
9233 (_IO_file_stat): Likewise.
9234 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
9236 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
9237 instead of struct _G_stat64.
9238 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9240 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
9243 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9245 (CHECK_EOL): New macro.
9246 (two_way_short_needle): Check beginning of haystack for EOL. Use
9248 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9249 Replace with CHECK_EOL.
9250 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9251 Replace with CHECK_EOL.
9253 2012-10-08 Joseph Myers <joseph@codesourcery.com>
9255 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
9257 * math/libm-test.inc: Update comment listing what functions and
9259 (finite_test): New function.
9260 (isinf_test): Likewise.
9261 (isnan_test): Likewise.
9262 (fpclassify_test): Test subnormal input.
9263 (isfinite_test): Likewise.
9264 (isnormal_test): Likewise.
9265 (main): Call the new functions.
9267 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
9270 * Makerules (%.dynsym): Force C locale when running
9271 $(OBJDUMP) --dynamic-syms.
9273 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
9275 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
9278 2012-10-06 David S. Miller <davem@davemloft.net>
9280 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
9281 upper 32-bits of the length value in %o2 since we use branch-on-register
9282 tests which consider the entire 64-bit register.
9284 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
9286 * string/test-strstr.c (check2): Add a test for page boundary.
9288 2012-10-05 David S. Miller <davem@davemloft.net>
9290 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
9291 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
9293 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9295 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9296 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
9297 and bzero when HWCAP_SPARC_CRYPTO is present.
9299 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
9302 * string/test-strstr.c (check2): New function.
9303 (test_main): Call check2.
9305 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
9307 * string/bug-strcasestr1.c (do_test): Moved to ...
9308 * string/test-strcasestr.c (check1): Here. New function.
9309 (do_one_test): Break out result checking code into ...
9310 (check_result): This. New function.
9311 (do_one_test): Call check_result.
9312 (test_main): Call check1.
9313 * string/bug-strchr1.c (do_test): Moved to ...
9314 * string/test-strchr.c (check1): Here. New function.
9315 (do_one_test): Break out result checking code into ...
9316 (check_result): This. New function.
9317 (do_one_test): Call check_result.
9318 (test_main): Call check1.
9319 * string/bug-strstr1.c (main): Moved to ...
9320 * string/test-strstr.c (check1): Here. New function.
9321 (do_one_test): Break out result checking code into ...
9322 (check_result): This. New function.
9323 (do_one_test): Call check_result.
9324 (test_main): Call check1.
9325 * string/bug-strcasestr1.c: Removed.
9326 * string/bug-strchr1.c: Likewise.
9327 * string/bug-strstr1.c: Likewise.
9329 * elf/Makefile (dl-routines): Add hwcaps.
9330 * elf/dl-support.c (_dl_important_hwcaps): Removed.
9331 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
9332 (_dl_important_hwcaps): Moved to ...
9333 * elf/dl-hwcaps.c: Here. New file.
9334 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
9337 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
9338 if IS_IN_rtld isn't defined.
9340 * elf/dl-support.c (_dl_sysinfo_map): New.
9341 Include "get-dynamic-info.h" and "setup-vdso.h".
9342 (_dl_non_dynamic_init): Call setup_vdso.
9343 * elf/dynamic-link.h: Don't include <assert.h>.
9344 (elf_get_dynamic_info): Moved to ...
9345 * elf/get-dynamic-info.h: Here. New file.
9346 * elf/dynamic-link.h: Include "get-dynamic-info.h".
9347 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
9348 * elf/setup-vdso.h: Here. New file.
9349 * elf/rtld.c: Include "setup-vdso.h".
9350 (dl_main): Call setup_vdso.
9352 2012-10-05 Joseph Myers <joseph@codesourcery.com>
9354 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
9355 creal in comment listing functions tested. List finite, isinf,
9356 isnan, isless, islessequal, isgreater, isgreaterequal,
9357 islessgreater, isunordered, lgamma_r and pow10 as functions and
9358 macros not tested. Mention which functions not tested are aliases
9359 for other functions. Fix typo. Note that signs of NaNs are not
9362 * scripts/config.guess: Update from config.git.
9363 * scripts/config.sub: Likewise.
9365 2012-10-04 Roland McGrath <roland@hack.frob.com>
9367 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
9368 * misc/madvise.c (madvise): Renamed to __madvise.
9369 Make madvise a weak alias.
9370 * include/sys/mman.h: Declare __madvise.
9371 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
9372 * sysdeps/unix/syscalls.list
9373 (madvise): Make __madvise the strong name, and madvise a weak alias.
9374 * sysdeps/unix/sysv/linux/syscalls.list
9375 (madvise, mmap): Remove redundant entries.
9376 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
9377 * malloc/malloc.c (mtrim): Likewise.
9378 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
9380 2012-10-03 Roland McGrath <roland@hack.frob.com>
9382 * sysdeps/mach/hurd/dl-cache.c: File removed.
9383 * config.h.in (USE_LDCONFIG): New #undef.
9384 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
9385 * configure: Regenerated.
9386 * elf/Makefile (dl-routines): Add dl-cache only under
9387 [$(use-ldconfig) = yes].
9388 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
9389 cache on [USE_LDCONFIG].
9390 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
9392 * elf/rtld.c (dl_main): Likewise.
9394 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
9396 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
9397 _SC_LEVEL4_CACHE_LINESIZE.
9399 2012-10-03 Roland McGrath <roland@hack.frob.com>
9401 * sysdeps/unix/bsd/confstr.h: File removed.
9403 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
9405 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
9408 2012-10-02 Roland McGrath <roland@hack.frob.com>
9410 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
9411 Make 'mapoff' field ElfW(Off) rather than off_t.
9413 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
9415 * nscd/Makefile: Remove nscd-cflags and all its users.
9416 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
9417 (CFLAGS-nonlib): Add compiler flags for nscd modules.
9420 * malloc.c (malloc_printerr): Clarify error message.
9422 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
9425 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9426 Set bit_FMA_Usable if FMA is supported.
9427 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
9429 (bit_FMA4_Usable): Updated.
9430 (index_FMA_Usable): New macro.
9431 (CPUID_FMA): Likewise
9432 (HAS_FMA): Defined with bit_FMA_Usable.
9434 2012-10-01 Roland McGrath <roland@hack.frob.com>
9436 * bits/types.h (__swblk_t): Type removed.
9437 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
9438 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
9439 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9440 (__SWBLK_T_TYPE): Likewise.
9441 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9442 (__SWBLK_T_TYPE): Likewise.
9443 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9444 (__SWBLK_T_TYPE): Likewise.
9445 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9446 (__SWBLK_T_TYPE): Likewise.
9448 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
9449 Honza Horak <hhorak@redhat.com>
9451 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
9452 (xdr_mapname): Use YPMAXMAP as maxsize.
9453 (xdr_peername): Use YPMAXPEER as maxsize.
9454 (xdr_keydat): Use YPAXRECORD as maxsize.
9455 (xdr_valdat): Use YPMAXRECORD as maxsize.
9457 2012-10-01 Roland McGrath <roland@hack.frob.com>
9459 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
9461 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
9462 * csu/init-first.c: ... here.
9463 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
9464 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
9465 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
9466 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9467 * sysdeps/i386/init-first.c: File removed.
9468 * sysdeps/sh/init-first.c: File removed.
9470 2012-10-01 Joseph Myers <joseph@codesourcery.com>
9473 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
9474 if x * y might underflow to zero and z is zero.
9475 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9476 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9477 * math/libm-test.inc (min_subnorm_value): New variable.
9478 (fma_test): Add more tests.
9479 (fma_test_towardzero): Likewise.
9480 (fma_test_downward): Likewise
9481 (fma_test_upward): Likewise.
9482 (initialize): Set min_subnorm_value.
9484 2012-09-29 Joseph Myers <joseph@codesourcery.com>
9487 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
9489 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
9490 mode for addition resulting in exact zero.
9491 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
9492 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
9494 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9495 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9496 * math/libm-test.inc (fma_test): Add more tests.
9497 (fma_test_towardzero): New function.
9498 (fma_test_downward): Likewise.
9499 (fma_test_upward): Likewise.
9500 (main): Call the new functions.
9502 2012-09-28 David S. Miller <davem@davemloft.net>
9504 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
9506 2012-09-28 Roland McGrath <roland@hack.frob.com>
9508 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
9511 * sysdeps/gnu/_G_config.h: Moved to ...
9512 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
9513 * sysdeps/mach/hurd/_G_config.h: Moved to ...
9514 * sysdeps/generic/_G_config.h: ... here.
9516 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
9518 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
9520 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
9521 Conditionalize target on [libnss_test1.so-version].
9523 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
9525 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
9526 (elfobjdir): Move out of conditionals.
9528 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
9529 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
9530 (__nss_lookup_function): Conditionalize label remove_from_tree on
9531 [!DO_STATIC_NSS || SHARED], matching its only use.
9533 2012-09-28 David S. Miller <davem@davemloft.net>
9535 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
9536 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
9538 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9540 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9541 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
9542 when HWCAP_SPARC_CRYPTO is present.
9544 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9546 * io/tst-mknodat.c: Create a FIFO instead of a socket.
9548 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
9551 * stdio-common/vfprintf.c (process_string_arg): Revert
9554 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
9556 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
9558 * stdio-common/tst-sprintf.c: Include <locale.h>
9559 (main): Test sprintf's handling of incomplete multibyte
9562 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
9564 * elf/dl-runtime.c (VERSYMIDX): Removed.
9565 * elf/dl-version.c (VERSYMIDX): Likewise.
9566 * elf/do-rel.h (VERSYMIDX): Likewise.
9568 * elf/dynamic-link.h (VERSYMIDX): Likewise.
9569 * elf/rtld.c (VALIDX): Likewise.
9570 (ADDRIDX): Likewise.
9571 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
9572 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
9573 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9574 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
9576 (ADDRIDX): Likewise.
9578 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9580 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
9582 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
9585 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
9587 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
9588 addresses are in the same scope as 192.0.2/24.
9589 * posix/gai.conf: Document new scope table defaults.
9591 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9594 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
9595 for ftell. Compute offsets from write pointers instead.
9596 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9598 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9601 * libio/Makefile (tests): New test case tst-fseek.
9602 * libio/tst-fseek.c: New test case to verify that fseek/ftell
9603 combination works in wide mode.
9604 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
9605 state when the external buffer state changes.
9607 2012-09-27 David S. Miller <davem@davemloft.net>
9610 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
9611 pass reloc->r_addend in as the 'high' argument to
9612 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
9614 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9616 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9618 * rt/tst-aio2.c: Include <pthread.h>.
9619 * rt/tst-aio3.c: Likewise.
9621 2012-09-27 Steve Ellcey <sellcey@mips.com>
9623 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
9625 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
9627 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
9628 contents on [SHARED].
9630 2012-09-26 Marek Polacek <polacek@redhat.com>
9634 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
9635 for C++ and GCC <4.3 as well as for non GCC compilers.
9637 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9639 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9641 2012-09-25 Roland McGrath <roland@hack.frob.com>
9643 * Makefile.in (all, install): Declare with .PHONY.
9644 Reported by Michael Hope <michael.hope@linaro.org>.
9646 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9648 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
9649 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
9651 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
9653 (sydep_routines): Add the new and the internal functions.
9654 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
9655 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
9656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
9657 (GLIBC_2.17): Add the new function.
9658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9659 (GLIBC_2.17): Likewise.
9660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9661 (GLIBC_2.17): Likewise.
9662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
9663 (GLIBC_2.17): Likewise.
9664 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
9666 2012-09-25 Alan Modra <amodra@gmail.com>
9668 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
9669 Add release barrier before setting once_control to say
9670 initialisation is done. Add hints on lwarx. Use macro in
9672 (clear_once_control): Add release barrier.
9674 2012-09-25 Joseph Myers <joseph@codesourcery.com>
9677 * math/s_clog.c (__clog): Handle more values close to |z| = 1
9679 * math/s_clog10.c (__clog10): Likewise.
9680 * math/s_clog10f.c (__clog10f): Likewise.
9681 * math/s_clog10l.c (__clog10l): Likewise.
9682 * math/s_clogf.c (__clogf): Likewise.
9683 * math/s_clogl.c (__clogl): Likewise.
9684 * math/Makefile (libm-calls): Add x2y2m1.
9685 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
9686 (__x2y2m1): Likewise.
9687 (__x2y2m1l): Likewise.
9688 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
9689 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
9690 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9691 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9692 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
9693 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9694 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
9695 * sysdeps/i386/fpu/libm-test-ulps: Update.
9696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9699 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
9700 int as type of variable DEPTH.
9701 (glob): Use size_t instead of int as type of variables NEWCOUNT
9704 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9706 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9708 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
9709 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
9710 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
9711 macros for using routine as __sincosf_ia32.
9712 Use macro for function declaration and weak_alias.
9713 * sysdeps/i386/fpu/libm-test-ulps: Update.
9715 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
9716 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9718 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
9720 * math/s_cexpf.c (__cexpf): Likewise.
9721 * math/s_csinf.c (__csinf): Likewise.
9722 * math/s_csinhf.c (__csinhf): Likewise.
9723 * math/s_ctanf.c (__ctanf): Likewise.
9724 * math/s_ctanhf.c (__ctanhf): Likewise.
9725 * math/s_ccosh.c (__ccoshf): Likewise.
9726 * math/s_cexp.c (__cexpl): Likewise.
9727 * math/s_csin.c (__csin): Likewise.
9728 * math/s_csinh.c (__csinh): Likewise.
9729 * math/s_ctan.c (__ctan): Likewise.
9730 * math/s_ctanh.c (ctanh): Likewise.
9731 * math/s_ccoshl.c (__ccoshl): Likewise.
9732 * math/s_cexpl.c (__cexpl): Likewise.
9733 * math/s_csinl.c (__csinl): Likewise.
9734 * math/s_csinhl.c (__csinhl): Likewise.
9735 * math/s_ctanl.c (__ctanl): Likewise.
9736 * math/s_ctanhl.c (__ctanhl): Likewise.
9738 2012-09-25 Joseph Myers <joseph@codesourcery.com>
9740 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
9741 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
9742 (_IO_off_t): Define to __off_t, not _G_off_t.
9743 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
9744 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
9745 (_IO_wint_t): Define to wint_t, not _G_wint_t.
9746 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
9747 type of __dummy and __dummy2 fields.
9748 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
9749 (_G_ssize_t): Likewise.
9750 (_G_off_t): Likewise.
9751 (_G_pid_t): Likewise.
9752 (_G_uid_t): Likewise.
9753 (_G_wchar_t): Likewise.
9754 (_G_wint_t): Likewise.
9755 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
9756 (_G_ssize_t): Likewise.
9757 (_G_off_t): Likewise.
9758 (_G_pid_t): Likewise.
9759 (_G_uid_t): Likewise.
9760 (_G_wchar_t): Likewise.
9761 (_G_wint_t): Likewise.
9762 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
9763 (_G_ssize_t): Likewise.
9764 (_G_off_t): Likewise.
9765 (_G_pid_t): Likewise.
9766 (_G_uid_t): Likewise.
9767 (_G_wchar_t): Likewise.
9768 (_G_wint_t): Likewise.
9770 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9772 * malloc/arena.c: Include malloc-sysdep.h.
9773 (shrink_heap): Use check_may_shrink_heap to decide if madvise
9774 is sufficient to shrink the heap or an unmap is needed.
9775 * sysdeps/generic/malloc-sysdep.h: New file. Define
9776 new function check_may_shrink_heap.
9777 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
9778 new function check_may_shrink_heap.
9780 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9782 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
9785 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
9787 * catgets/test-gencat.sh: Add "set -e".
9788 * elf/tst-pathopt.sh: Likewise.
9789 * grp/tst_fgetgrent.sh: Likewise.
9790 * iconvdata/run-iconv-test.sh: Likewise.
9791 * intl/tst-gettext.sh: Likewise.
9792 * intl/tst-gettext2.sh: Likewise.
9793 * intl/tst-gettext4.sh: Likewise.
9794 * intl/tst-gettext6.sh: Likewise.
9795 * intl/tst-translit.sh: Likewise.
9796 * io/ftwtest-sh: Likewise.
9797 * libio/test-freopen.sh: Likewise.
9798 * malloc/tst-mtrace.sh: Likewise.
9799 * posix/globtest.sh: Likewise.
9800 * posix/tst-getconf.sh: Likewise.
9801 * posix/wordexp-tst.sh: Likewise.
9802 * stdio-common/tst-printf.sh: Likewise.
9803 * stdio-common/tst-unbputc.sh: Likewise.
9804 * stdlib/tst-fmtmsg.sh: Likewise.
9805 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9806 * catgets/Makefile: Do not specify -e option when running
9807 testsuite shell scripts.
9808 * elf/Makefile: Likewise.
9809 * grp/Makefile: Likewise.
9810 * iconvdata/Makefile: Likewise.
9811 * intl/Makefile: Likewise.
9812 * io/Makefile: Likewise.
9813 * libio/Makefile: Likewise.
9814 * malloc/Makefile: Likewise.
9815 * posix/Makefile: Likewise.
9816 * stdio-common/Makefile: Likewise.
9817 * stdlib/Makefile: Likewise.
9818 * sysdeps/x86_64/Makefile: Likewise.
9820 * io/ftwtest-sh: Add copyright header.
9821 * posix/globtest.sh: Likewise.
9822 * posix/tst-getconf.sh: Likewise.
9823 * posix/wordexp-tst.sh: Likewise.
9824 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9826 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
9829 * Makeconfig (+link): Defined as $(+link-static) if
9830 $(build-shared) isn't yes.
9831 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9833 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9835 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9838 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9839 new chunk size with MALLOC_ALIGN_MASK.
9841 2012-09-24 Joseph Myers <joseph@codesourcery.com>
9844 * stdio-common/printf_fphex.c: Include <stdbool.h> and
9846 (__printf_fphex): Determine rounding using get_rounding_mode and
9848 * stdio-common/tst-printf-round.c (struct hex_test): New
9850 (hex_tests): New variable.
9851 (test_hex_in_one_mode): New function.
9852 (do_test): Also run tests for hex float output.
9854 2012-09-21 Joseph Myers <joseph@codesourcery.com>
9856 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9857 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9858 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9859 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9860 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9861 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9862 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9863 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9865 2012-09-20 Joseph Myers <joseph@codesourcery.com>
9867 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9868 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9869 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9870 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9872 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
9875 * elf/rtld.c (dl_main): Limit the check for self loading to normal
9877 * elf/tst-rtld-load-self.sh: New test.
9878 * elf/Makefile: Run it.
9880 2012-09-18 Joseph Myers <joseph@codesourcery.com>
9882 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9883 (tst-writev-ENV): Remove.
9884 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9886 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
9888 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9890 2012-09-17 Joseph Myers <joseph@codesourcery.com>
9892 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9894 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9896 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9897 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9898 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9901 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
9904 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9905 * config.make.in (have-cpp-asm-debuginfo): Removed.
9906 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9907 * configure: Regenerated.
9909 2012-09-14 Joseph Myers <joseph@codesourcery.com>
9912 * stdio-common/printf_fp.c: Include <stdbool.h> and
9914 (___printf_fp): Determine rounding using get_rounding_mode and
9916 * stdio-common/tst-printf-round.c: New file.
9917 * stdio-common/Makefile (tests): Add tst-printf-round.
9918 (link-libm): New variable.
9919 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9921 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9924 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9925 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9927 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9930 2012-09-13 Joseph Myers <joseph@codesourcery.com>
9932 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9933 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9934 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9935 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9937 2012-09-12 Joseph Myers <joseph@codesourcery.com>
9940 * include/rounding-mode.h: New file.
9941 * sysdeps/generic/get-rounding-mode.h: Likewise.
9942 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9943 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9944 (MAX_VALUE): New macro.
9945 (MIN_VALUE): Likewise.
9946 (overflow_value): New function.
9947 (underflow_value): Likewise.
9948 (round_and_return): Use overflow_value and underflow_value to
9949 determine return values in overflow and underflow cases. Use
9950 round_away to determine rounding depending on rounding mode.
9951 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9952 determine return values in overflow and underflow cases.
9953 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9954 (struct test_results): New structure.
9955 (struct test): Use struct test_results to store expected results
9956 for all rounding modes.
9957 (TEST): Include expected results for all rounding modes.
9958 (test_in_one_mode): New function.
9959 (do_test): Use test_in_one_mode to compute and check results.
9960 Check results for all rounding modes.
9961 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9964 2012-12-09 Allan McRae <allan@archlinux.org>
9966 * sysdeps/i386/fpu/libm-test-ulps: Update
9968 2012-09-11 Joseph Myers <joseph@codesourcery.com>
9970 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9971 (_G_int32_t): Likewise.
9972 (_G_uint16_t): Likewise.
9973 (_G_uint32_t): Likewise.
9974 (_G_HAVE_BOOL): Likewise.
9975 (_G_HAVE_ATEXIT): Likewise.
9976 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9977 (_G_HAVE_IO_FILE_OPEN): Likewise.
9978 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9979 (_G_int32_t): Likewise.
9980 (_G_uint16_t): Likewise.
9981 (_G_uint32_t): Likewise.
9982 (_G_HAVE_BOOL): Likewise.
9983 (_G_HAVE_ATEXIT): Likewise.
9984 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9985 (_G_HAVE_IO_FILE_OPEN): Likewise.
9986 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9987 (_G_int32_t): Likewise.
9988 (_G_uint16_t): Likewise.
9989 (_G_uint32_t): Likewise.
9990 (_G_HAVE_BOOL): Likewise.
9991 (_G_HAVE_ATEXIT): Likewise.
9992 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9993 (_G_HAVE_IO_FILE_OPEN): Likewise.
9995 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9997 * csu/libc-tls.c: Update copyright years.
9999 2012-09-10 Joseph Myers <joseph@codesourcery.com>
10001 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
10002 [!_G_USING_THUNKS]: Remove conditional code.
10003 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
10004 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
10006 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
10007 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
10008 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10009 (_G_VTABLE_LABEL_PREFIX): Likewise.
10010 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10011 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10012 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10013 (_G_VTABLE_LABEL_PREFIX): Likewise.
10014 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
10015 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10016 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10017 (_G_VTABLE_LABEL_PREFIX): Likewise.
10018 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
10020 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
10022 * libio/Makefile: Include ../Makeconfig before tests.
10023 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
10024 only if $(build-shared) is yes.
10026 * iconv/gconv_db.c: Update copyright years.
10028 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10030 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
10031 unwind info if defined PIC. Fix special cases description.
10032 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
10034 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
10036 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
10038 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
10040 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
10042 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
10045 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
10046 (LDLIBS-tst-chk4): This.
10047 (LDFLAGS-tst-chk5): Renamed to ...
10048 (LDLIBS-tst-chk5): This.
10049 (LDFLAGS-tst-chk6): Renamed to ...
10050 (LDLIBS-tst-chk6): This.
10051 (LDFLAGS-tst-lfschk4): Renamed to ...
10052 (LDLIBS-tst-lfschk4): This.
10053 (LDFLAGS-tst-lfschk5): Renamed to ...
10054 (LDLIBS-tst-lfschk5): This.
10055 (LDFLAGS-tst-lfschk6): Renamed to ...
10056 (LDLIBS-tst-lfschk6): This.
10058 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
10059 on $(common-objpfx)soversions.mk.
10061 2012-09-07 Joseph Myers <joseph@codesourcery.com>
10064 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
10067 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10069 * malloc/arena.c (arena_get_retry): New function that gets
10070 another arena for the caller to try its request on.
10071 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
10072 current arena cannot fulfill the request.
10073 (__libc_memalign): Likewise.
10074 (__libc_memalign): Likewise.
10075 (__libc_pvalloc): Likewise.
10076 (__libc_calloc): Likewise.
10078 2012-09-05 John Tobey <john.tobey@gmail.com>
10081 * manual/arith.texi (Operations on Complex): Fix description
10082 of carg branch cut.
10084 2012-09-06 Joseph Myers <joseph@codesourcery.com>
10087 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
10091 * manual/memory.texi (Memory): Make order of menu items match
10094 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10096 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
10097 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
10098 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
10100 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10102 * csu/libc-tls.c (static_dtv): Renamed to ...
10103 (_dl_static_dtv): This. Make it global.
10104 (_dl_initial_dtv): Removed.
10105 (__libc_setup_tls): Updated.
10106 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
10107 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
10110 2012-09-06 Petr Machata <pmachata@redhat.com>
10112 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
10113 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
10114 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
10115 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
10117 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10120 * csu/libc-tls.c (_dl_initial_dtv): New variable.
10121 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
10124 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10127 * Makeconfig (link-static-before-libc): Replace $(+prector)
10129 (link-static-after-libc): Replace $(+postctor) with
10131 (link-bounded): Replace $(+prector)/$(+postctor) with
10132 $(+prectorT)/$(+postctorT).
10133 (+prectorT): New macro.
10134 (+postctorT): Likewise.
10136 2012-09-06 Joseph Myers <joseph@codesourcery.com>
10138 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
10139 (round_str): Handle values above the maximum for IBM long double
10141 * stdlib/tst-strtod-round.c (tests): Regenerated.
10143 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10145 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
10147 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
10148 zarch_nohighgprs around the zarch optimized routines.
10149 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10150 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10151 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
10154 2012-09-05 David S. Miller <davem@davemloft.net>
10156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10158 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
10159 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
10160 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
10161 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10164 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
10166 * malloc/arena.c: Fold copyright years.
10167 * malloc/mcheck.c, malloc/memusage.c: Likewise.
10169 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
10171 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
10173 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
10175 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
10177 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
10179 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
10180 change internal state upon failure.
10182 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
10184 * malloc/mcheck.c (mcheck_check_all): Fix typo.
10185 * malloc/memusage.c (mmap): Likewise.
10186 (mmap64, mremap): Likewise. Adjust name in comment.
10188 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10190 * libio/fileops.c: Fix typos in comments.
10191 * libio/oldfileops.c: Likewise.
10192 * libio/wfileops.c: Likewise.
10194 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10197 * malloc/Makefile (tests): Add tst-malloc-usable test case.
10198 (tst-malloc-usable-ENV): Set environment for test case.
10199 * malloc/hooks.c (malloc_check_get_size): New function to get
10201 * malloc/malloc.c (musable): Use malloc_check_get_size.
10202 * malloc/tst-malloc-usable.c: New test case.
10204 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
10206 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
10208 2012-09-05 Allan McRae <allan@archlinux.org>
10211 * configure.in (CXX_SYSINCLUDES): Use compiler output to
10212 determine header location.
10213 * configure: Regenerated.
10215 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
10217 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
10219 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
10220 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
10222 (test): Regenerate.
10224 2012-09-04 David S. Miller <davem@davemloft.net>
10226 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
10227 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
10228 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
10230 2012-09-04 Florian Weimer <fweimer@redhat.com>
10232 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
10235 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
10237 2012-09-04 Joseph Myers <joseph@codesourcery.com>
10240 * libio/iogetdelim.c: Include <limits.h>.
10241 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
10242 + len + 1 would overflow.
10244 2012-09-03 Andreas Jaeger <aj@suse.de>
10246 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10247 * sysdeps/i386/fpu/libm-test-ulps: Update.
10249 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10251 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10252 Add s_sinf-sse2, s_conf-sse2.
10254 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
10255 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
10256 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
10257 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
10259 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
10260 for using routine as __sinf_ia32.
10261 Use macro for function declaration and weak_alias.
10262 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
10263 for using routine as __cosf_ia32.
10264 Use macro for function declaration and weak_alias.
10266 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
10267 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
10269 * sysdeps/x86_64/fpu/s_sinf.S: New file.
10270 * sysdeps/x86_64/fpu/s_cosf.S: New file.
10271 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10273 * math/libm-test.inc (cos_test): Add more test cases.
10274 (sin_test): Likewise.
10275 (sincos_test): Likewise.
10277 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10279 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10280 (IFUNC_RESOLVE): Make pointers to the specialized implementations
10282 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10284 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
10287 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
10288 first element of the GOT.
10289 (elf_machine_load_address): Return the difference between
10290 the runtime address of _DYNAMIC and elf_machine_dynamic ().
10292 2012-09-01 Allan McRae <allan@archlinux.org>
10295 * configure.in (AWK): Require gawk version 3.0 or later.
10296 * configure: Regenerated.
10298 2012-09-01 Joseph Myers <joseph@codesourcery.com>
10300 * sysdeps/unix/sysv/linux/kernel-features.h
10301 (__ASSUME_POSIX_CPU_TIMERS): Remove.
10302 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10303 [__NR_clock_getres]: Make code unconditional.
10304 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
10305 (clock_getcpuclockid): Remove code left unreachable by removal of
10307 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
10308 code unconditional.
10309 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10310 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10311 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
10312 Make code unconditional.
10313 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10314 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10315 * sysdeps/unix/sysv/linux/clock_settime.c
10316 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
10318 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
10319 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10321 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
10324 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
10325 scripts/test-installation.pl.
10327 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
10328 and $ld_so_version if it is set.
10330 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10333 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
10334 failure if reading from procfs failed.
10335 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
10337 2012-08-27 Joseph Myers <joseph@codesourcery.com>
10339 * sysdeps/unix/sysv/linux/kernel-features.h
10340 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
10341 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10342 Remove conditional code.
10343 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10344 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
10345 Remove conditional code.
10346 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10347 * sysdeps/unix/sysv/linux/i386/fxstat.c
10348 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10349 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10350 * sysdeps/unix/sysv/linux/i386/fxstatat.c
10351 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10352 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10353 * sysdeps/unix/sysv/linux/i386/lxstat.c
10354 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10355 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10356 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
10357 Remove conditional code.
10358 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10359 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10360 Remove conditional code.
10361 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10362 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
10363 <kernel-features.h>.
10364 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
10366 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
10367 Remove conditional code.
10368 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10369 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
10370 Remove conditional.
10372 2012-08-27 Mike Frysinger <vapier@gentoo.org>
10375 * NEWS: Add fixed bug number.
10377 2012-08-27 Joseph Myers <joseph@codesourcery.com>
10380 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
10381 underflowing exponent in case of negative sign.
10382 * stdlib/tst-strtod-round-data: Add more tests.
10383 * stdlib/tst-strtod-round.c (tests): Regenerated.
10386 * stdlib/strtod_l.c (NDIG): Remove.
10387 (HEXNDIG): Likewise.
10388 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
10389 smallest representable value.
10390 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
10391 lie within an exact representation of 1/2 ulp of the result.
10392 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
10394 (TENS_P9_IDX): Define unconditionally.
10395 (TENS_P9_SIZE): Likewise.
10396 (TENS_P10_IDX): Likewise.
10397 (TENS_P10_SIZE): Likewise.
10398 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
10399 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
10400 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
10401 entries for 10^2^13 and 10^2^14.
10402 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
10403 (TENS_P13_IDX): Define.
10404 (TENS_P13_SIZE): Likewise.
10405 (TENS_P14_IDX): Likewise.
10406 (TENS_P14_SIZE): Likewise.
10407 (_fpioconst_pow10): Change array size to
10408 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
10410 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
10411 1024]: Add entries for 10^2^13 and 10^2^14.
10412 [LAST_POW10 > _LAST_POW10]: Remove #error.
10413 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
10414 (_fpioconst_pow10): Change array size to
10415 FPIOCONST_POW10_ARRAY_SIZE.
10416 * stdlib/gen-fpioconst.c: New file.
10417 * stdlib/gen-tst-strtod-round.c: Likewise.
10418 * stdlib/tst-strtod-round-data: Likewise.
10419 * stdlib/tst-strtod-round.c: Likewise.
10420 * stdlib/Makefile (tests): Add tst-strtod-round.
10423 * stdlib/strtod_l.c: Include <stdint.h>.
10424 (NDEBUG): Do not define.
10425 (round_and_return): Change EXPONENT parameter to type intmax_t.
10426 Rearrange calculations to avoid internal overflow possibilities.
10427 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
10428 Rearrange calculations to avoid internal overflow possibilities.
10429 Assert that number fits inside MPNSIZE limbs.
10430 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
10431 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
10432 calculations and add assertions to avoid internal overflow
10433 possibilities. Add casts to avoid signed/unsigned operations.
10434 * stdlib/tst-strtod-overflow.c: New file.
10435 * stdlib/Makefile (tests): Add tst-strtod-overflow.
10437 2012-08-25 Marek Polacek <polacek@redhat.com>
10439 * time/time.h: Fix some typos in comments.
10441 2012-08-23 Roland McGrath <roland@hack.frob.com>
10443 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
10444 * posix/tst-rfc3484-2.c: Likewise.
10445 * posix/tst-rfc3484-3.c: Likewise.
10447 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
10449 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
10450 (EF_ARM_ABI_FLOAT_HARD): Likewise.
10452 2012-08-23 Joseph Myers <joseph@codesourcery.com>
10454 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
10455 #include of fxstatat64.c.
10457 2012-08-22 Roland McGrath <roland@hack.frob.com>
10459 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
10460 * shadow/getspent_r.c: Likewise.
10461 * shadow/getspnam.c: Likewise.
10462 * shadow/getspnam_r.c: Likewise.
10463 * gshadow/getsgent.c: Likewise.
10464 * gshadow/getsgent_r.c: Likewise.
10465 * gshadow/getsgnam.c: Likewise.
10466 * gshadow/getsgnam_r.c: Likewise.
10467 * inet/getnetbyad.c: Likewise.
10468 * inet/getnetbyad_r.c: Likewise.
10469 * inet/getnetbynm.c: Likewise.
10470 * inet/getnetbynm_r.c: Likewise.
10471 * inet/getnetent.c: Likewise.
10472 * inet/getnetent_r.c: Likewise.
10473 * inet/getproto.c: Likewise.
10474 * inet/getproto_r.c: Likewise.
10475 * inet/getprtent.c: Likewise.
10476 * inet/getprtent_r.c: Likewise.
10477 * inet/getprtname.c: Likewise.
10478 * inet/getprtname_r.c: Likewise.
10479 * inet/getrpcbyname.c: Likewise.
10480 * inet/getrpcbyname_r.c: Likewise.
10481 * inet/getrpcbynumber.c: Likewise.
10482 * inet/getrpcbynumber_r.c: Likewise.
10483 * inet/getrpcent.c: Likewise.
10484 * inet/getrpcent_r.c: Likewise.
10485 * inet/getaliasent.c: Likewise.
10486 * inet/getaliasent_r.c: Likewise.
10487 * inet/getaliasname.c: Likewise.
10488 * inet/getaliasname_r.c: Likewise.
10489 * nscd/getgrgid_r.c: Likewise.
10490 * nscd/getgrnam_r.c: Likewise.
10491 * nscd/gethstbyad_r.c: Likewise.
10492 * nscd/gethstbynm3_r.c: Likewise.
10493 * nscd/getpwnam_r.c: Likewise.
10494 * nscd/getpwuid_r.c: Likewise.
10495 * nscd/getsrvbynm_r.c: Likewise.
10496 * nscd/getsrvbypt_r.c: Likewise.
10497 * nscd/gai.c: Likewise.
10499 * configure.in (build_nscd): New substituted variable, set
10500 by --disable-build-nscd and defaults to $use_nscd.
10501 * configure: Regenerated.
10502 * config.make.in (build-nscd): New substituted variable.
10503 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
10504 Change conditional to require [$(build-nscd) = yes] as well.
10505 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
10508 * configure.in (use_nscd): New substituted variable, set by
10509 --disable-nscd. If enabled, define USE_NSCD.
10510 * configure: Regenerated.
10511 * config.h.in: Add USE_NSCD.
10512 * config.make.in (use-nscd): New substituted variable.
10513 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
10514 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
10515 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
10516 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
10517 (CFLAGS-getgrnam_r.c): Likewise.
10518 (CFLAGS-initgroups.c): Likewise.
10519 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
10520 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
10522 * inet/getnetgrent_r.c
10523 (nscd_setnetgrent): New function, broken out of ...
10524 (setnetgrent): ... here. Call it.
10525 (innetgr): Conditionalize nscd bits on [USE_NSCD].
10526 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
10527 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
10528 * nscd/Makefile (routines, aux): Move definitions after include of
10529 Makeconfig. Conditionalize on [$(use-nscd) != no].
10530 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
10531 Conditionalize on [USE_NSCD].
10532 (is_nscd, nscd_init_cb): Likewise.
10533 (nss_load_library): Conditionalize init callback on [USE_NSCD].
10534 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
10535 * nss/nss_db/db-init.c: Likewise.
10536 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
10538 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
10539 (make_request): Use it.
10540 (cache_valid_p): New function.
10541 (__check_pf): Use it.
10542 * NEWS: Add item for --disable-nscd.
10544 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
10546 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
10547 to support sed >= 4.2.1-20-ga9bf076.
10548 * configure: Regenerated.
10550 2012-08-22 Roland McGrath <roland@hack.frob.com>
10552 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
10553 Conditionalize whole body on [IREL].
10555 2012-08-22 Jeff Law <law@redhat.com>
10558 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
10559 if the family is PF_UNSPEC.
10561 2012-08-22 Mike Frysinger <vapier@gentoo.org>
10563 * Makerules (lib-version): Rename from V.
10564 (install-lib-nosubdir): Change V to lib-version.
10566 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
10569 * powerpc32/power6/wcschr.c: New file.
10570 * powerpc32/power6/wcscpy.c: New file.
10571 * powerpc32/power6/wcsrchr.c: New file.
10572 * powerpc64/power6/wcschr.c: New file.
10573 * powerpc64/power6/wcscpy.c: New file.
10574 * powerpc64/power6/wcsrchr.c: New file.
10576 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10578 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
10579 (two_way_short_needle): Use it.
10580 * string/strstr.c (AVAILABLE1_USES_J): Define.
10581 * string/strcasestr.c: Likewise.
10583 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
10585 * string/strcasestr.c (TOLOWER): Make side-effect safe.
10588 * NEWS: Add an entry.
10589 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
10590 define their defaults.
10591 (two_way_short_needle): Detect end-of-string on-the-fly.
10592 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
10593 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
10594 * string/bug-strcasestr1.c: New test.
10595 * string/Makefile: Run it.
10597 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10600 * string/str-two-way.h (two_way_short_needle): Optimize matching of
10601 the first character.
10603 2012-08-21 Roland McGrath <roland@hack.frob.com>
10605 * csu/elf-init.c (__libc_csu_irel): Function removed.
10606 * csu/libc-start.c (apply_irel): New function.
10607 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
10609 2012-08-21 Joseph Myers <joseph@codesourcery.com>
10611 * sysdeps/unix/sysv/linux/kernel-features.h
10612 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
10613 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10614 <kernel-features.h>.
10615 [__NR_fadvise64_64]: Make code unconditional.
10616 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
10617 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10618 !__NR_fadvise64_64)]: Likewise.
10619 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10620 !__NR_fadvise64_64))]: Likewise.
10621 [__NR_fadvise64]: Make code unconditional.
10622 [!__NR_fadvise64]: Remove conditional code.
10623 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
10624 <kernel-features.h>.
10625 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10627 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
10630 not include <kernel-features.h>.
10631 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10633 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10635 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
10636 include <kernel-features.h>.
10637 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10639 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10642 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10644 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
10645 slight instruction rearrangements per scrollpipe analysis.
10646 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10648 2012-08-20 Roland McGrath <roland@hack.frob.com>
10650 * manual/syslog.texi (syslog; vsyslog, closelog):
10651 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
10652 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
10654 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
10655 DSOCAPS to match condition on defining it.
10657 2012-08-20 Joseph Myers <joseph@codesourcery.com>
10659 * sysdeps/unix/sysv/linux/kernel-features.h
10660 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
10661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
10662 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10663 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
10665 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10666 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
10668 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10669 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10671 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
10672 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
10674 * sysdeps/unix/sysv/linux/kernel-features.h
10675 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
10676 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
10678 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10679 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
10680 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10681 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10682 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
10683 Make code unconditional.
10684 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10685 (__mmap64) [!__NR_mmap2]: Likewise.
10686 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
10687 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10688 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10689 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
10690 [__NR_mmap2]: Make code unconditional.
10691 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10692 (__mmap64) [!__NR_mmap2]: Likewise.
10694 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10696 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
10698 2012-08-18 Andreas Jaeger <aj@suse.de>
10700 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
10702 2012-08-18 Mike Frysinger <vapier@gentoo.org>
10704 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
10705 * include/unistd.h (__have_sock_cloexec): Likewise.
10706 (__have_pipe2): Likewise.
10707 (__have_dup3): Likewise.
10709 2012-08-18 Mike Frysinger <vapier@gentoo.org>
10712 * include/unistd.h (__have_pipe2): Change define into an extern int.
10713 (__have_dup3): Likewise.
10714 * socket/have_sock_cloexec.c: Include fcntl.h.
10715 (__have_pipe2): New variable.
10716 (__have_dup3): Likewise.
10718 2012-08-17 Mike Frysinger <vapier@gentoo.org>
10720 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
10722 2012-08-17 Marek Polacek <polacek@redhat.com>
10724 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
10725 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
10727 2012-08-17 Roland McGrath <roland@hack.frob.com>
10729 * configure.in: Add AC_SUBST for sysheaders.
10730 * configure: Regenerated.
10731 * config.make.in (sysheaders): New substituted variable.
10733 * sysdeps/unix/mkfifo.c: Moved ...
10734 * sysdeps/posix/mkfifo.c: ... here.
10735 * sysdeps/unix/mkfifoat.c: Moved ...
10736 * sysdeps/posix/mkfifoat.c: ... here.
10738 * sysdeps/unix/utime.c: Moved ...
10739 * sysdeps/posix/utime.c: ... here.
10741 * sysdeps/unix/time.c: Moved ...
10742 * sysdeps/posix/time.c: ... here.
10743 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
10744 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
10746 * sysdeps/unix/nice.c: Moved ...
10747 * sysdeps/posix/nice.c: ... here.
10749 * sysdeps/unix/alarm.c: Moved ...
10750 * sysdeps/posix/alarm.c: ... here.
10752 * intl/Makefile ($(codeset_mo)): Depend on the input file.
10754 2012-08-17 Jeff Law <law@redhat.com>
10756 * intl/Makefile (codeset_mo): New variable.
10757 ($(codeset_mo)): New target.
10758 (tst-codeset.out): Depend on that. Remove explicit rule.
10759 (tst-gettext3.out, tst-gettext5.out): Likewise.
10760 (LOCPATH-ENV, tst-codeset-ENV): New variables.
10761 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
10762 * intl/tst-codeset.sh: Remove.
10763 * intl/tst-gettext3.sh: Likewise.
10764 * intl/tst-gettext5.sh: Likewise.
10766 2012-08-17 Roland McGrath <roland@hack.frob.com>
10768 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
10769 * sysdeps/unix/syscalls.list: ... here.
10771 * sysdeps/posix/getaddrinfo.c
10772 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
10773 (gaiconf_init, gaiconf_reload): Use them.
10774 [!_STATBUF_ST_NSEC]
10775 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
10776 Define using time_t rather than struct timespec.
10778 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
10779 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
10781 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
10783 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
10784 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
10787 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
10788 __libc_cleanup_push argument.
10790 * bits/param.h: New file.
10791 * misc/sys/param.h: New file.
10792 * include/sys/param.h: New file.
10793 * misc/Makefile (headers): Add bits/param.h.
10794 * sysdeps/generic/sys/param.h: File removed.
10795 * sysdeps/unix/sysv/linux/bits/param.h: New file.
10796 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
10797 * sysdeps/mach/hurd/bits/param.h: New file.
10798 * sysdeps/mach/hurd/sys/param.h: File removed.
10800 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
10803 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
10805 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
10806 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
10809 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
10810 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
10811 rather than -D_IO_MTSAFE_IO conditionally.
10812 * stdio-common/Makefile (CPPFLAGS): Likewise.
10813 * wcsmbs/Makefile (CPPFLAGS): Likewise.
10814 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
10815 Use $(libio-mtsafe).
10816 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
10817 of -D_IO_MTSAFE_IO.
10818 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
10819 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
10820 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10821 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10822 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10823 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10824 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10825 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10826 (CFLAGS-fread_u_chk.c): Likewise.
10827 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10828 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10829 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10830 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10831 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10832 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10833 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10834 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10835 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10837 * libio/Makefile: Test [$(libc-reentrant) = yes]
10838 instead of [$(filter %REENTRANT, $(defines)) nonempty].
10841 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10842 * sysdeps/pthread/configure: File removed.
10843 * sysdeps/pthread/Makeconfig: New file.
10844 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10845 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10847 2012-08-16 Gary Benson <gbenson@redhat.com>
10849 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10850 unmapping the first object in a namespace.
10852 2012-08-16 Roland McGrath <roland@hack.frob.com>
10854 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10855 (__internal_setnetgrent): ... this. Add internal_function to
10856 definition. Add libc_hidden_def.
10857 (setnetgrent): Update caller.
10858 (internal_endnetgrent): Renamed to ...
10859 (__internal_endnetgrent): ... this. Add internal_function to
10860 definition. Add libc_hidden_def.
10861 (endnetgrent): Update caller.
10862 (internal_getnetgrent_r): Renamed to ...
10863 (__internal_getnetgrent_r): ... this. Add internal_function to
10864 definition. Add libc_hidden_def.
10865 (__getnetgrent_r): Update caller.
10866 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
10868 2012-08-16 Joseph Myers <joseph@codesourcery.com>
10870 * stdlib/longlong.h: Update from GCC.
10872 2012-08-16 Roland McGrath <roland@hack.frob.com>
10874 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10875 on _QL, which is set by umul_ppmm but never used.
10876 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10877 variables, which are set by GMP macros but never used.
10878 * stdio-common/_itowa.c (_itowa): Likewise.
10879 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10880 * stdlib/mod_1.c (mpn_mod_1): Likewise.
10882 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
10884 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10885 struct La_sh_regs is not constant.
10886 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10887 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10888 and struct La_sparc64_regs are not constant.
10890 2012-08-16 Joseph Myers <joseph@codesourcery.com>
10892 * sysdeps/unix/sysv/linux/kernel-features.h
10893 (__ASSUME_POSIX_TIMERS): Remove.
10894 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10895 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10896 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10897 Make code unconditional.
10898 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10899 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10900 Make code unconditional.
10901 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10902 * sysdeps/unix/sysv/linux/clock_nanosleep.c
10903 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10904 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10905 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10906 Make code unconditional.
10907 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10908 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10909 (__libc_missing_posix_timers): Remove.
10911 2012-08-15 Roland McGrath <roland@hack.frob.com>
10913 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10914 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10916 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10918 * elf/dl-sym.c: Include <stdlib.h>.
10920 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10921 constants, which avoids warnings in 32-bit builds.
10923 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10924 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10926 * misc/lseek.c: File moved to ...
10927 * io/lseek.c: ... here.
10929 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10931 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10932 shifting LEN more than 31 bits at once.
10934 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10937 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10938 segmentation fault for a case of two empty input strings.
10939 * string/test-strncasecmp.c (check1): Renamed to...
10940 (bz12205): ...this.
10941 (bz14195): Add new testcase for two empty input strings and N > 0.
10942 (test_main): Call new testcase, adapt for renamed function.
10944 2012-08-15 Andreas Jaeger <aj@suse.de>
10947 * crypt/md5test2.c: New test, based on test supplied by Serge
10948 Belyshev <belyshev@depni.sinp.msu.ru>.
10949 * crypt/Makefile (xtests): Add md5test-giant..
10950 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10952 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10955 * crypt/md5.c (md5_process_block): Don't assume the buffer
10956 length is less than 2**32.
10957 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10958 length is less than 2**64.
10960 2012-08-15 Roland McGrath <roland@hack.frob.com>
10962 * string/str-two-way.h: Include <sys/param.h>.
10963 (MAX): Macro removed.
10965 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10966 Move #define and #undef of memmove to just before and after
10967 including <string.h>.
10969 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10970 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10971 and after including <string.h>. Move declarations of
10972 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10973 to before #include "string/memmove.c".
10975 * include/dirent.h: Declare __getdirentries.
10977 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10978 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10980 2012-08-14 Mike Frysinger <vapier@gentoo.org>
10982 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10983 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10984 * sysdeps/i386/configure: Regenerated.
10985 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10986 STABS_CURRENT_FILE, and STABS_FUN.
10987 (END): Remove call to STABS_FUN_END.
10988 (STABS_CURRENT_FILE1): Delete.
10989 (STABS_CURRENT_FILE): Likewise.
10990 (STABS_FUN): Likewise.
10991 (STABS_FUN_END): Likewise.
10992 (STABS_FUN2): Likewise.
10993 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10994 * sysdeps/x86_64/configure: Regenerated.
10996 2012-08-14 Roland McGrath <roland@hack.frob.com>
10998 * elf/dl-open.c: Include <atomic.h>.
10999 * elf/dl-lookup.c: Likewise.
11001 2012-08-14 Joseph Myers <joseph@codesourcery.com>
11003 * sysdeps/unix/sysv/linux/kernel-features.h
11004 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
11005 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
11007 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
11009 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
11010 condition on __ASSUME_CLONE_THREAD_FLAGS.
11012 2012-08-14 Andreas Jaeger <aj@suse.de>
11014 * sysdeps/i386/fpu/libm-test-ulps: Update.
11016 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
11018 * include/atomic.h (atomic_exchange_and_add): Split into ...
11019 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
11022 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
11024 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11026 2012-08-13 Jeff Law <law@redhat.com>
11028 * manual/stdio.texi (snprintf): Clarify handling of the trailing
11029 null byte in the output string.
11031 2012-08-10 Joseph Myers <joseph@codesourcery.com>
11033 * sysdeps/unix/sysv/linux/kernel-features.h
11034 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
11035 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
11036 (__ASSUME_ARG_MAX_STACK_BASED): Define.
11037 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11038 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
11039 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
11040 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
11042 2012-08-09 Jeff Law <law@redhat.com>
11045 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
11046 When avoid_arena is set, don't retry in the that arena. Pick the
11047 next one, whatever it might be.
11048 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
11049 (arena_lock): Pass in new parameter to arena_get2.
11050 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
11052 (__libc_malloc): Unify retrying after main arena failure with
11053 __libc_memalign version.
11054 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
11056 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
11059 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
11060 to __redirect_strstr.
11061 (__strstr_sse42): Use typeof __redirect_strstr.
11062 (__strstr_ia32): Likewise.
11063 (__libc_strstr): New prototype.
11064 (strstr): Renamed to ...
11065 (__libc_strstr): This.
11066 (strstr): New strong alias of __libc_strstr.
11067 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11068 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
11071 (__libc_time): New prototype.
11072 (time_ifunc): Replace time with __libc_time.
11073 (time): New strong alias and hidden definition of __libc_time.
11074 (__GI_time): Remove strong alias.
11075 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
11076 Include <stddef.h>.
11077 (memmove): Redefined to __redirect_memmove.
11078 (__memmove_sse2): Use typeof __redirect_memmove.
11079 (__memmove_ssse3): Likewise.
11080 (__memmove_ssse3_back): Likewise.
11081 (__libc_memmove): New prototype.
11082 (memmove): Renamed to ...
11083 (__libc_memmove): This.
11084 (memmove): New strong alias of __libc_memmove.
11086 2012-08-08 Mark Salter <msalter@redhat.com>
11089 (R_MN10300_TLS_GD): Define.
11090 (R_MN10300_TLS_LD): Likewise.
11091 (R_MN10300_TLS_LDO): Likewise.
11092 (R_MN10300_TLS_GOTIE): Likewise.
11093 (R_MN10300_TLS_IE): Likewise.
11094 (R_MN10300_TLS_LE): Likewise.
11095 (R_MN10300_TLS_DTPMOD): Likewise.
11096 (R_MN10300_TLS_DTPOFF): Likewise.
11097 (R_MN10300_TLS_TPOFF): Likewise.
11098 (R_MN10300_SYM_DIFF): Likewise.
11099 (R_MN10300_ALIGN): Likewise.
11100 (R_MN10300_NUM): Update.
11102 2012-08-08 Joseph Myers <joseph@codesourcery.com>
11104 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
11107 2012-08-08 Roland McGrath <roland@hack.frob.com>
11109 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
11111 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
11112 sysdeps/unix -> sysdeps/posix move.
11113 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11115 2012-08-07 Allan McRae <allan@archlinux.org>
11118 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
11119 (SUNOS_CPP): Likewise.
11120 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
11122 (open_input): Call CPP using execvp.
11124 2012-08-07 Joseph Myers <joseph@codesourcery.com>
11126 * sysdeps/unix/sysv/linux/kernel-features.h
11127 (__ASSUME_PROT_GROWSUPDOWN): Remove.
11128 (__ASSUME_NO_CLONE_DETACHED): Likewise.
11129 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
11130 (__ASSUME_WAITID_SYSCALL): Likewise.
11131 * sysdeps/unix/sysv/linux/dl-execstack.c
11132 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
11133 code unconditional.
11134 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
11136 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
11137 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
11138 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
11140 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
11142 [__ASSUME_WAITID_SYSCALL]: Likewise.
11143 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
11145 2012-08-07 Roland McGrath <roland@hack.frob.com>
11147 * sysdeps/unix/closedir.c: Renamed to ...
11148 * sysdeps/posix/closedir.c: ... here.
11149 * sysdeps/unix/dirfd.c: Renamed to ...
11150 * sysdeps/posix/dirfd.c: ... here.
11151 * sysdeps/unix/dirstream.h: Renamed to ...
11152 * sysdeps/posix/dirstream.h: ... here.
11153 * sysdeps/unix/fdopendir.c: Renamed to ...
11154 * sysdeps/posix/fdopendir.c: ... here.
11155 * sysdeps/unix/opendir.c: Renamed to ...
11156 * sysdeps/posix/opendir.c: ... here.
11157 * sysdeps/unix/readdir.c: Renamed to ...
11158 * sysdeps/posix/readdir.c: ... here.
11159 * sysdeps/unix/readdir_r.c: Renamed to ...
11160 * sysdeps/posix/readdir_r.c: ... here.
11161 * sysdeps/unix/rewinddir.c: Renamed to ...
11162 * sysdeps/posix/rewinddir.c: ... here.
11163 * sysdeps/unix/seekdir.c: Renamed to ...
11164 * sysdeps/posix/seekdir.c: ... here.
11165 * sysdeps/unix/telldir.c: Renamed to ...
11166 * sysdeps/posix/telldir.c: ... here.
11167 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
11168 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
11169 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
11170 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
11172 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
11173 * bits/fcntl.h: ... here.
11175 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
11177 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
11178 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
11179 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
11180 (struct flock): Move l_start, l_len to the beginning.
11181 Use __pid_t for l_pid.
11182 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
11183 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
11184 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
11185 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
11186 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
11187 [__USE_LARGEFILE64] (struct flock64): New type.
11188 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
11190 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
11191 * bits/dirent.h: ... here.
11193 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
11194 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
11196 2012-08-07 Joseph Myers <joseph@codesourcery.com>
11198 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11199 Change from 2.6.0 to 2.6.16.
11200 * sysdeps/unix/sysv/linux/configure: Regenerated.
11201 * sysdeps/unix/sysv/linux/kernel-features.h
11202 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
11203 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
11205 (__ASSUME_UTIMES): Likewise.
11206 (__ASSUME_CLONE_STOPPED): Remove.
11207 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
11208 architectures, not kernel version.
11209 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
11210 (__ASSUME_NO_CLONE_DETACHED): Likewise.
11211 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
11212 (__ASSUME_WAITID_SYSCALL): Likewise.
11213 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
11214 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
11215 * README: State 2.6.16 as minimum Linux kernel version. Do not
11216 refer to older versions.
11218 2012-08-06 Roland McGrath <roland@hack.frob.com>
11220 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
11221 Define alphasort64 as an alias.
11222 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
11223 Define versionsort64 as an alias.
11224 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
11225 Define scandir64 as an alias.
11226 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
11227 Define scandirat64 as an alias.
11228 * dirent/alphasort64.c (alphasort64):
11229 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
11230 * dirent/versionsort64.c: Likewise.
11231 * dirent/scandir64.c: Likewise.
11232 * dirent/scandirat64.c: Likewise.
11233 * sysdeps/wordsize-64/alphasort.c: File removed.
11234 * sysdeps/wordsize-64/alphasort64.c: File removed.
11235 * sysdeps/wordsize-64/scandir.c: File removed.
11236 * sysdeps/wordsize-64/scandir64.c: File removed.
11237 * sysdeps/wordsize-64/scandirat.c: File removed.
11238 * sysdeps/wordsize-64/scandirat64.c: File removed.
11239 * sysdeps/wordsize-64/versionsort.c: File removed.
11240 * sysdeps/wordsize-64/versionsort64.c: File removed.
11241 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
11242 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
11243 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
11244 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
11245 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
11246 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
11247 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
11248 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
11250 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
11251 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11252 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
11253 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11254 [defined __arch64__ || defined __sparcv9]
11255 (__INO_T_MATCHES_INO64_T): New macro.
11256 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11257 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
11258 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
11259 * sysdeps/unix/sysv/linux/bits/dirent.h
11260 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
11261 (_DIRENT_MATCHES_DIRENT64): New macro.
11263 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
11264 Define lockf64 as an alias.
11265 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
11266 Define fseeko64 as an alias.
11267 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
11268 Define ftello64 as an alias.
11269 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
11270 Define _IO_fgetpos64 and fgetpos64 as aliases.
11271 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
11272 Define _IO_fsetpos64 and fsetpos64 as aliases.
11273 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
11274 Conditionalize body on this.
11275 * libio/fseeko64.c: Likewise.
11276 * libio/ftello64.c: Likewise.
11277 * libio/iofgetpos64.c: Likewise.
11278 * libio/iofsetpos64.c: Likewise.
11279 * sysdeps/wordsize-64/lockf.c: File removed.
11280 * sysdeps/wordsize-64/lockf64.c: File removed.
11281 * sysdeps/wordsize-64/fseeko.c: File removed.
11282 * sysdeps/wordsize-64/fseeko64.c: File removed.
11283 * sysdeps/wordsize-64/ftello.c: File removed.
11284 * sysdeps/wordsize-64/ftello64.c: File removed.
11285 * sysdeps/wordsize-64/iofgetpos.c: File removed.
11286 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
11287 * sysdeps/wordsize-64/iofsetpos.c: File removed.
11288 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
11289 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
11290 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
11291 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
11292 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
11293 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
11294 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
11295 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
11296 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
11297 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
11298 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
11300 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11301 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11302 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
11303 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11304 [defined __arch64__ || defined __sparcv9]
11305 (__OFF_T_MATCHES_OFF64_T): New macro.
11306 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11307 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11308 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11309 (__OFF_T_MATCHES_OFF64_T): New macro.
11311 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11313 * stdlib/secure-getenv.c (__secure_getenv): Replace
11314 GLIBC_2_16 with GLIBC_2_17.
11316 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11318 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
11319 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11321 2012-08-03 David S. Miller <davem@davemloft.net>
11323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11325 2012-08-03 Joseph Myers <joseph@codesourcery.com>
11327 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
11329 (__ASSUME_CORRECT_SI_PID): Likewise.
11330 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
11331 (__ASSUME_TMPFS_NAME): Likewise.
11332 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
11333 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
11334 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
11335 (HAVE_AUX_SECURE): Make definition unconditional.
11336 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
11337 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
11339 2012-08-03 Roland McGrath <roland@hack.frob.com>
11341 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
11342 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
11343 * sysdeps/mach/hurd/eloop-threshold.h: New file.
11344 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11345 __eloop_threshold instead of SYMLOOP_MAX.
11347 * sysdeps/generic/eloop-threshold.h: New file.
11348 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
11350 * elf/chroot_canon.c (chroot_canon): Likewise.
11352 2012-08-03 Joseph Myers <joseph@codesourcery.com>
11355 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11356 Change to 2.6.0 everywhere.
11357 * sysdeps/unix/sysv/linux/configure: Regenerated.
11358 * sysdeps/unix/sysv/linux/kernel-features.h
11359 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
11360 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
11362 (__ASSUME_POSIX_TIMERS): Define unconditionally.
11363 (__ASSUME_FUTEX_REQUEUE): Remove.
11364 (__ASSUME_STATFS64): Define unconditionally.
11365 (__ASSUME_AT_SECURE): Likewise.
11366 (__ASSUME_CORRECT_SI_PID): Likewise.
11367 (__ASSUME_TGKILL): Define without depending on kernel version for
11369 (__ASSUME_UTIMES): Likewise.
11370 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
11372 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
11373 (__ASSUME_TMPFS_NAME): Likewise.
11374 * README: Update reference to Linux kernel versions.
11376 2012-08-02 Marek Polacek <polacek@redhat.com>
11379 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
11380 libc_cv_asm_type_prefix with %.
11381 * configure: Regenerated.
11382 * include/libc-symbols.h: Remove comment about
11383 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
11384 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
11385 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
11386 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
11387 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
11388 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
11389 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
11390 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
11391 * elf/tst-unique2mod1.c: Likewise.
11392 * elf/tst-unique1mod2.c: Likewise.
11393 * elf/tst-unique1mod1.c: Likewise.
11394 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
11395 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
11396 Replace ASM_TYPE_DIRECTIVE with .type.
11397 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11398 * sysdeps/i386/sysdep.h: Likewise.
11399 * sysdeps/x86_64/sysdep.h: Likewise.
11400 * sysdeps/sh/sysdep.h: Likewise.
11401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11402 Do not define ASM_TYPE_DIRECTIVE.
11403 * sysdeps/powerpc/sysdep.h: Likewise.
11404 * sysdeps/powerpc/powerpc32/sysdep.h:
11405 Replace ASM_TYPE_DIRECTIVE with .type.
11406 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11407 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11408 * sysdeps/i386/fpu/e_powf.S: Likewise.
11409 * sysdeps/i386/fpu/e_expl.S: Likewise.
11410 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11411 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11412 * sysdeps/i386/fpu/e_pow.S: Likewise.
11413 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11414 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11415 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11416 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11417 * sysdeps/i386/fpu/e_log2.S: Likewise.
11418 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11419 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11420 * sysdeps/i386/fpu/e_powl.S: Likewise.
11421 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11422 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11423 * sysdeps/i386/fpu/e_logl.S: Likewise.
11424 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11425 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11426 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11427 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11428 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11429 * sysdeps/i386/fpu/e_log.S: Likewise.
11430 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11431 * sysdeps/i386/fpu/e_logf.S: Likewise.
11432 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11433 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11434 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11435 * sysdeps/i386/fpu/e_log10.S: Likewise.
11436 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11437 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11438 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11439 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11440 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11441 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
11442 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11443 * sysdeps/i386/i686/strtok.S: Likewise.
11444 * sysdeps/i386/i386-mcount.S: Likewise.
11445 * sysdeps/i386/strtok.S: Likewise.
11446 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
11447 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11448 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11449 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11450 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11451 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11452 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11453 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11454 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11455 * sysdeps/x86_64/_mcount.S: Likewise.
11456 * sysdeps/x86_64/strtok.S: Likewise.
11457 * sysdeps/sh/_mcount.S: Likewise.
11459 2012-08-01 Roland McGrath <roland@hack.frob.com>
11461 * libio/iofopen.c: Include <fcntl.h>.
11462 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
11463 (_IO_fopen64, fopen64): Define as aliases.
11464 * libio/iofopen64.c: Include <fcntl.h>.
11465 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
11466 Conditionalize body on this.
11467 * sysdeps/wordsize-64/iofopen.c: File removed.
11468 * sysdeps/wordsize-64/iofopen64.c: File removed.
11470 2012-08-01 Marek Polacek <polacek@redhat.com>
11472 * libc/Makeconfig: Use elf in place of binfmt-subdir.
11473 Use dlfcn directly instead of a variable.
11474 (binfmt-subdir): Do not define.
11477 2012-08-01 Joseph Myers <joseph@codesourcery.com>
11479 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
11480 Remove all definitions.
11481 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
11482 <kernel-features.h>.
11483 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11484 (miss_F_GETOWN_EX): Remove all definitions.
11485 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
11487 [!__ASSUME_FCNTL64]: Remove conditional code.
11488 [__ASSUME_FCNTL64]: Make code unconditional.
11489 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
11490 <kernel-features.h>.
11491 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11492 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
11493 (lockf64) [__NR_fcntl64]: Make code unconditional.
11494 (lockf64) [__ASSUME_FCNTL64]: Likewise.
11496 * sysdeps/unix/sysv/linux/kernel-features.h
11497 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
11498 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
11499 Make code unconditional.
11500 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11501 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
11503 [__NR_vfork]: Make code unconditional.
11504 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11505 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
11507 [__NR_vfork]: Make code unconditional.
11508 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11509 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11511 2012-08-01 Roland McGrath <roland@hack.frob.com>
11513 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
11514 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
11516 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11517 Define mkstemp64 as an alias.
11518 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11519 Define mkstemps64 as an alias.
11520 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11521 Define mkostemp64 as an alias.
11522 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11523 Define mkostemps64 as an alias.
11524 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
11525 Conditionalize body on this.
11526 * misc/mkostemp64.c: Likewise.
11527 * misc/mkostemps64.c: Likewise.
11528 * misc/mkstemps64.c: Likewise.
11529 * sysdeps/wordsize-64/mkstemp64.c: File removed.
11530 * sysdeps/wordsize-64/mkostemp64.c: File removed.
11531 * sysdeps/wordsize-64/mkostemp.c: File removed.
11532 * sysdeps/wordsize-64/mkstemp.c: File removed.
11533 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
11534 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
11535 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
11536 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
11539 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
11540 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
11541 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
11542 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
11544 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
11545 compat_symbol macros from <shlib-compat.h> rather than the underlying
11546 default_symbol_version and symbol_version macros, so that DEFAULT
11547 lines in shlib-versions are respected.
11548 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
11550 2012-08-01 Florian Weimer <fweimer@redhat.com>
11552 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
11553 Declare with warn_unused_result.
11554 (setgid, setregid, setegid, setresgid): Likewise.
11555 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
11557 * WUR-REPORT: Remove set*id functions.
11559 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
11561 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
11563 2012-07-31 Roland McGrath <roland@hack.frob.com>
11566 * include/sys/socket.h (__libc_accept, __libc_accept4):
11567 Add attribute_hidden.
11568 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
11570 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
11572 * inet/getnetgrent_r.c (setup): Likewise.
11574 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
11576 2012-07-31 David S. Miller <davem@davemloft.net>
11578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11580 2012-07-31 Joseph Myers <joseph@codesourcery.com>
11583 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
11584 value between 1.0 and 2.0 and smaller part has absolute value less
11586 * math/s_clog10.c (__clog10): Likewise.
11587 * math/s_clog10f.c (__clog10f): Likewise.
11588 * math/s_clog10l.c (__clog10l): Likewise.
11589 * math/s_clogf.c (__clogf): Likewise.
11590 * math/s_clogl.c (__clogl): Likewise.
11591 * math/libm-test.inc (clog_test): Add more tests.
11592 (clog10_test): Likewise.
11593 * sysdeps/i386/fpu/libm-test-ulps: Update.
11594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11596 2012-07-31 Florian Weimer <fweimer@redhat.com>
11598 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
11599 Exit with zero in case no suitable GID is found, and write a
11600 message to standard error.
11602 2012-07-30 Roland McGrath <roland@hack.frob.com>
11604 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
11606 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
11607 (MAXPATHLEN): Removed.
11608 (NOGROUP, NODEV): New macros.
11609 (setbit, clrbit, isset, isclr): New macros.
11610 (howmany, roundup, powerof2): New macros.
11611 (DEV_BSIZE): New macro.
11613 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
11614 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
11616 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
11617 definition on [!__NO_LONG_DOUBLE_MATH].
11619 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
11620 PTR_MANGLE and PTR_DEMANGLE.
11622 * socket/accept4.c (accept4): Rename to __libc_accept4.
11623 Define accept4 as a weak alias.
11625 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
11626 on [_DIRENT_HAVE_D_TYPE].
11627 * io/ftw.c (ftw_dir): Likewise.
11629 * io/xmknod.c (__xmknod): Don't check PATH for being null.
11631 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
11633 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
11634 Use the BSD numbers rather than the arbitrary ones we had.
11635 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
11636 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
11637 (SIGXCPU, SIGXFSZ): New macros.
11640 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
11641 initializer on [_LIBC_REENTRANT].
11643 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
11644 definitions inside [_POSIX_MAPPED_FILES].
11646 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
11648 * dirent/opendir.c: Include <fcntl.h>.
11650 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
11651 (__libc_getspecific): Likewise.
11652 (__libc_key_create): Likewise.
11654 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
11655 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
11656 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
11657 (tmpfile64): Define as alias.
11658 * sysdeps/wordsize-64/tmpfile.c: File removed.
11659 * sysdeps/wordsize-64/tmpfile64.c: File removed.
11660 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
11661 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
11663 * stdio-common/vfscanf.c: Include <stdbool.h>.
11664 * nss/makedb.c: Likewise.
11665 * stdio-common/_i18n_number.h: Likewise.
11666 * argp/argp-help.c: Likewise.
11667 * posix/wordexp.c: Likewise.
11668 * sysdeps/posix/spawni.c: Likewise.
11669 * nss/nss_files/files-initgroups.c: Likewise.
11670 * stdio-common/reg-modifier.c: Include <stdlib.h>.
11671 * nss/nss_files/files-initgroups.c: Likewise.
11672 * nss/nss_db/db-netgrp.c: Likewise.
11673 * nss/nss_db/db-initgroups.c: Likewise.
11674 * io/fchmodat.c: Include <sys/stat.h>.
11676 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
11677 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
11679 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
11682 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
11683 Add multiple inclusion protection.
11685 2012-07-27 David S. Miller <davem@davemloft.net>
11687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11689 2012-07-27 Gary Benson <gbenson@redhat.com>
11692 * elf/rtld.c: Include <stap-probe.h>.
11693 (dl_main): Added static probes "init_start" and "init_complete".
11694 * elf/dl-load.c: Include <stap-probe.h>.
11695 (lose): Take new parameter "nsid".
11696 Added static probe "map_failed".
11697 (_dl_map_object_from_fd): Pass namespace id to lose.
11698 Added static probe "map_start".
11699 (open_verify): Pass namespace id to lose.
11700 * elf/dl-open.c: Include <stap-probe.h>.
11701 (dl_open_worker) Added static probes "map_complete", "reloc_start"
11702 and "reloc_complete".
11703 * elf/dl-close.c: Include <stap-probe.h>.
11704 (_dl_close_worker): Added static probes "unmap_start" and
11706 * elf/rtld-debugger-interface.txt: New file documenting the above.
11708 2012-07-26 Roland McGrath <roland@hack.frob.com>
11710 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
11711 rather than a string variable.
11712 * sunrpc/rpc_main.c (h_output): Likewise.
11713 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
11715 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
11717 * inet/check_native.c: New file.
11719 2012-07-26 Joseph Myers <joseph@codesourcery.com>
11722 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
11723 if larger part has absolute value 1.0.
11724 * math/s_clog10.c (__clog10): Likewise.
11725 * math/s_clog10f.c (__clog10f): Likewise.
11726 * math/s_clog10l.c (__clog10l): Likewise.
11727 * math/s_clogf.c (__clogf): Likewise.
11728 * math/s_clogl.c (__clogl): Likewise.
11729 * math/libm-test.inc (clog_test): Add more tests.
11730 (clog10_test): Likewise.
11731 * sysdeps/i386/fpu/libm-test-ulps: Update.
11732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11734 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
11735 (pltexit): Likewise.
11736 (La_regs): Likewise.
11737 (La_retval): Likewise.
11738 (int_retval): Likewise.
11739 Update #error for removed macros to refer only to definitions in
11741 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
11743 (pltexit): Likewise.
11744 (La_regs): Likewise.
11745 (La_retval): Likewise.
11746 (int_retval): Likewise.
11747 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
11749 (pltexit): Likewise.
11750 (La_regs): Likewise.
11751 (La_retval): Likewise.
11752 (int_retval): Likewise.
11753 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
11755 (pltexit): Likewise.
11756 (La_regs): Likewise.
11757 (La_retval): Likewise.
11758 (int_retval): Likewise.
11759 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
11761 (pltexit): Likewise.
11762 (La_regs): Likewise.
11763 (La_retval): Likewise.
11764 (int_retval): Likewise.
11765 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
11767 (pltexit): Likewise.
11768 (La_regs): Likewise.
11769 (La_retval): Likewise.
11770 (int_retval): Likewise.
11771 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
11773 (pltexit): Likewise.
11774 (La_regs): Likewise.
11775 (La_retval): Likewise.
11776 (int_retval): Likewise.
11777 * sysdeps/generic/tst-audit.h: Update comment to refer only to
11778 macro definitions in tst-audit.h.
11779 * sysdeps/i386/tst-audit.h: New file.
11780 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
11781 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
11782 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
11783 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
11784 * sysdeps/sh/tst-audit.h: Likewise.
11785 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
11786 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
11787 * sysdeps/x86_64/tst-audit.h: Likewise.
11789 2012-07-26 Andreas Jaeger <aj@suse.de>
11791 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
11794 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
11795 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
11796 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
11798 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
11799 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
11800 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
11802 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
11805 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
11807 (si_call_addr, si_syscall, si_arch): Define new macro.
11808 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
11810 (si_call_addr, si_syscall, si_arch): Define new marcro.
11811 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
11813 (si_call_addr, si_syscall, si_arch): Define new macro.
11814 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
11816 (si_call_addr, si_syscall, si_arch): Define new macro.
11818 2012-07-25 Joseph Myers <joseph@codesourcery.com>
11821 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11822 Change to 2.4.21 where previously 2.4.1.
11823 * sysdeps/unix/sysv/linux/configure: Regenerated.
11824 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11825 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11826 Linux kernel version.
11827 (__ASSUME_STD_AUXV): Remove.
11828 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11830 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11831 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11832 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11833 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11834 (__ASSUME_NETLINK_SUPPORT): Likewise.
11835 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11836 (__no_netlink_support): Remove conditional definition.
11837 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11839 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11840 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11841 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11842 (if_nameindex_ioctl): Remove.
11843 (if_nameindex_netlink): Do not handle __no_netlink_support.
11844 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11846 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11847 Remove conditional code.
11848 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11850 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11852 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11853 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11854 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11856 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11857 [!__ASSUME_STD_AUXV]: Remove conditional code.
11858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11859 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11860 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11862 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11863 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11865 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11867 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11868 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11870 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11872 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11875 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11878 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11879 code unconditional.
11880 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11882 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11884 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11887 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11889 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11892 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11893 code unconditional.
11894 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11896 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11898 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11901 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11902 code unconditional.
11903 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11905 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11907 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11910 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11912 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11913 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11914 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11915 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11916 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11917 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11918 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11919 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11920 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11921 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11922 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11923 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11924 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11925 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11926 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11927 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11928 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11929 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11930 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11931 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11932 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11933 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11934 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11936 2012-07-25 Florian Weimer <fweimer@redhat.com>
11938 * Versions.def: Add GLIBC_2.17.
11939 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11940 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11941 Introduce __libc_secure_getenv.
11942 * stdlib/Versions (2.17): Add secure_getenv
11943 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11944 * stdlib/secure-getenv.c: Rename __secure_getenv to
11945 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11946 symbol __secure_getenv for GLIBC_2.0.
11947 * stdlib/tst-secure-getenv.c: New.
11948 * stdlib/Makefile (tests): Add testcase.
11949 * manual/startup.texi (Environment Access): Document
11951 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11952 __libc_secure_getenv.
11953 * inet/ruserpass.c (ruserpass): Likewise.
11954 * malloc/mtrace.c (mtrace): Likewise.
11955 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
11956 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11957 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11958 * sysdeps/posix/tempname.c: Likewise. Evaluate
11959 HAVE_SECURE_GETENV.
11960 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
11961 __secure_getenv to __libc_secure_getenv.
11962 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
11963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11967 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11969 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11970 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11972 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11973 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11975 2012-07-25 Joseph Myers <joseph@codesourcery.com>
11977 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11978 (struct La_i86_retval): Likewise.
11979 (struct La_x86_64_regs): Likewise.
11980 (struct La_x86_64_retval): Likewise.
11981 (struct La_x32_regs): Likewise.
11982 (struct La_x32_retval): Likewise.
11983 (struct La_ppc32_regs): Likewise.
11984 (struct La_ppc32_retval): Likewise.
11985 (struct La_ppc64_regs): Likewise.
11986 (struct La_ppc64_retval): Likewise.
11987 (struct La_sh_regs): Likewise.
11988 (struct La_sh_retval): Likewise.
11989 (struct La_s390_32_regs): Likewise.
11990 (struct La_s390_32_retval): Likewise.
11991 (struct La_s390_64_regs): Likewise.
11992 (struct La_s390_64_retval): Likewise.
11993 (struct La_sparc32_regs): Likewise.
11994 (struct La_sparc32_retval): Likewise.
11995 (struct La_sparc64_regs): Likewise.
11996 (struct La_sparc64_retval): Likewise.
11997 (struct audit_ifaces): Remove architecture-specific pltenter and
11999 * sysdeps/i386/ldsodefs.h: New file.
12000 * sysdeps/powerpc/ldsodefs.h: Likewise.
12001 * sysdeps/s390/ldsodefs.h: Likewise.
12002 * sysdeps/sh/ldsodefs.h: Likewise.
12003 * sysdeps/sparc/ldsodefs.h: Likewise.
12004 * sysdeps/x86_64/ldsodefs.h: Likewise.
12006 2012-07-25 Marek Polacek <polacek@redhat.com>
12009 * math/libm-test.inc (yn_test): Add another test.
12010 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
12011 to ERANGE when the result is +-Inf.
12012 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12013 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
12014 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
12015 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
12017 2012-07-24 Joseph Myers <joseph@codesourcery.com>
12019 * conform/data/time.h-data (NULL): Use macro-constant. Require
12021 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
12023 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
12025 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
12027 * configure.in <sysdeps resolving>: Correct printing
12029 * configure: Regenerate.
12031 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
12033 * math/w_ilogb.c: Include <limits.h>.
12034 * math/w_ilogbl.c: Likewise.
12036 2012-07-20 Joseph Myers <joseph@codesourcery.com>
12038 * manual/lang.texi (__va_copy): Document primarily as ISO C99
12039 va_copy. Document allowing for unavailable va_copy only as
12040 pre-C99 compatibility.
12041 * manual/string.texi (Copying and Concatenation): Use va_copy
12042 instead of __va_copy in concat example.
12044 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
12046 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
12047 (__sendto): Use create_address_port. Initialize APORT and deallocate
12050 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
12051 with O_NOLINK passed to __file_name_lookup.
12053 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
12054 with O_NOLINK passed to __file_name_lookup.
12056 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
12057 negative N or less than NGIDS.
12059 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
12060 type to string_t. Set ERANGE as errno and return it if NAME is not big
12061 enough. Use memcpy instead of strncpy.
12063 2012-07-20 Joseph Myers <joseph@codesourcery.com>
12065 * elf/Makefile (check-data): Remove.
12066 (localplt.data): New vpath directive.
12067 ($(objpfx)check-localplt.out): Use localplt.data from vpath
12068 instead of $(check-data).
12069 * scripts/data/localplt-generic.data: Move to ...
12070 * sysdeps/generic/localplt.data: ... here.
12071 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
12072 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
12073 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
12074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
12076 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
12077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
12079 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
12080 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
12082 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
12083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
12085 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
12086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
12088 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
12089 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
12092 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12094 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
12095 PPC32 and PPC64 files.
12096 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
12097 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
12099 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12101 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
12102 __makecontext_ret to ...
12103 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
12104 ... here and call exit if uc_link is NULL. New file.
12105 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
12106 __makecontext_ret.S.
12107 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
12108 __makecontext_ret to ...
12109 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
12110 ... here and call exit if uc_link is NULL. New file.
12111 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
12112 __makecontext_ret.S.
12114 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12116 * elf/elf.h (R_390_IRELATIVE): New definition.
12117 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
12118 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
12119 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
12120 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12121 (elf_machine_lazy_rel): Likewise.
12122 * sysdeps/s390/dl-irel.h: New file.
12123 * sysdeps/s390/s390-64/memcpy.S: New asm code.
12124 * sysdeps/s390/s390-64/memset.S: New asm code.
12125 * sysdeps/s390/s390-64/memcmp.S: New asm code.
12126 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
12127 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
12128 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
12129 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
12130 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
12131 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
12132 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
12133 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
12134 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
12135 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
12136 * sysdeps/s390/s390-32/memcpy.S: New asm code.
12137 * sysdeps/s390/s390-32/memset.S: New asm code.
12138 * sysdeps/s390/s390-32/memcmp.S: New asm code.
12140 2012-07-17 Marek Polacek <polacek@redhat.com>
12143 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
12144 * sysdeps/s390/s390-64/configure.in: Likewise.
12145 * sysdeps/sparc/configure.in: Likewise.
12146 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
12147 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
12148 * sysdeps/i386/configure.in: Likewise.
12149 * sysdeps/x86_64/configure.in: Likewise.
12150 * sysdeps/sh/configure.in: Likewise.
12151 * sysdeps/s390/s390-32/configure: Regenerated.
12152 * sysdeps/s390/s390-64/configure: Likewise.
12153 * sysdeps/x86_64/configure: Likewise.
12154 * sysdeps/sh/configure: Likewise.
12155 * sysdeps/powerpc/powerpc64/configure: Likewise.
12156 * sysdeps/powerpc/powerpc32/configure: Likewise.
12157 * sysdeps/sparc/configure: Likwise.
12158 * sysdeps/i386/configure: Likewise.
12160 * elf/dl-open.c: Comment fixes.
12162 2012-07-17 Joseph Myers <joseph@codesourcery.com>
12164 * Makefile [CXX] (check-data): Remove.
12165 [CXX] (c++-types.data): New vpath directive.
12166 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
12167 vpath. Do not allow for C++ type data being missing.
12168 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
12169 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
12170 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
12171 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
12172 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
12173 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
12174 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
12175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
12177 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
12178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
12180 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
12181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
12183 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
12184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
12186 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
12187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
12189 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
12190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
12192 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
12193 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
12195 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
12196 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
12198 * elf/tls-macros.h (TLS_LE): Move architecture-specific
12199 definitions to architecture-specific files.
12200 (TLS_IE): Likewise.
12201 (TLS_LD): Likewise.
12202 (TLS_GD): Likewise.
12203 * sysdeps/i386/tls-macros.h: New file.
12204 * sysdeps/powerpc/tls-macros.h: Likewise.
12205 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
12206 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
12207 * sysdeps/sh/tls-macros.h: Likewise.
12208 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
12209 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
12210 * sysdeps/x86_64/tls-macros.h: Likewise.
12212 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12214 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
12215 zero value for regular exit case.
12217 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12218 (__start_context): Preserve zero value for regular exit case.
12220 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12221 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12223 * manual/setjmp.texi (setcontext): Clarify normal process
12224 termination when uc_link is the null pointer.
12225 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
12228 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
12230 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
12231 preprocessor. Test for each exception mask separately.
12233 2012-07-16 Andreas Jaeger <aj@suse.de>
12235 * po/ru.po: Update from translation team.
12237 2012-07-15 Joseph Myers <joseph@codesourcery.com>
12239 * conform/data/string.h-data (NULL): Use macro-constant. Require
12241 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12242 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12243 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
12244 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
12245 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12247 2012-07-13 Andreas Jaeger <aj@suse.de>
12249 * po/fr.po: Update from translation team.
12251 2012-07-12 Marek Polacek <polacek@redhat.com>
12254 * math/libm-test.inc (yn_test): Add test for BZ #14173.
12255 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
12258 2012-07-12 Joseph Myers <joseph@codesourcery.com>
12261 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12262 Change to 2.4.1 where previously 2.4.0.
12263 * sysdeps/unix/sysv/linux/configure: Regenerated.
12264 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
12265 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
12267 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
12268 (__ASSUME_AT_CLKTCK): Remove.
12269 (__ASSUME_AT_PAGESIZE): Likewise.
12270 (__ASSUME_AT_XID): Likewise.
12271 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
12272 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
12273 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
12275 (HAVE_AUX_PAGESIZE): Likewise.
12276 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
12277 [__ASSUME_AT_CLKTCK]: Make code unconditional.
12278 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
12280 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
12283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
12284 the temporary buffer used to invoke __gethostbyname2_r,
12285 __gethostbyaddr_r and gethostbyname4_r to make room for struct
12286 host_data / struct gaih_addrtuple.
12287 * resolv/nss_dns/dns-host.c (global scope): Move definition of
12288 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
12289 header file nss/nsswitch.h.
12290 * nss/nsswitch.h (global scope): Add definition of implementation
12291 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
12292 resolv/nss_dns/dns-host.c).
12294 2012-07-11 Andreas Jaeger <aj@suse.de>
12296 * po/fr.po: Update from translation team.
12298 * po/sv.po: Update from translation team
12299 * po/fr.po: Another update from translation team.
12301 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12303 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
12304 for subnormals or multiply small sinh result by itself.
12305 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12306 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12308 2012-07-11 David S. Miller <davem@davemloft.net>
12310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12312 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
12315 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
12316 (INTERNAL_MARK): Shift it here.
12318 2012-07-10 Marek Polacek <polacek@redhat.com>
12321 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
12322 libc_cv_asm_global_directive with .globl.
12323 * configure: Regenerated.
12324 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
12326 * sysdeps/i386/configure: Regenerated.
12327 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
12329 * sysdeps/x86_64/configure: Regenerated.
12330 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
12331 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
12332 * elf/tst-unique2mod2.c: Likewise.
12333 * elf/tst-unique2mod1.c: Likewise.
12334 * elf/tst-unique1mod2.c: Likewise.
12335 * elf/tst-unique1mod1.c: Likewise.
12336 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12337 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12338 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12339 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12340 * sysdeps/mach/sysdep.h: Likewise.
12341 * sysdeps/i386/sysdep.h: Likewise.
12342 * sysdeps/i386/i386-mcount.S: Likewise.
12343 * sysdeps/x86_64/_mcount.S: Likewise.
12344 * sysdeps/x86_64/sysdep.h: Likewise.
12345 * sysdeps/sh/_mcount.S: Likewise.
12346 * sysdeps/sh/sysdep.h: Likewise.
12347 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
12348 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
12349 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
12350 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12351 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
12352 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
12353 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
12354 * locale/localeinfo.h: Likewise.
12355 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
12356 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
12358 2012-07-09 Roland McGrath <roland@hack.frob.com>
12361 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
12363 * manual/message.texi (The Uniforum approach): Likewise.
12364 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
12365 (glibc iconv Implementation): Likewise.
12367 2012-07-09 Joseph Myers <joseph@codesourcery.com>
12370 * math/s_clog.c (__clog): Avoid scaling a value down where that
12371 could result in underflow.
12372 * math/s_clog10.c (__clog10): Likewise.
12373 * math/s_clog10f.c (__clog10f): Likewise.
12374 * math/s_clog10l.c (__clog10l): Likewise.
12375 * math/s_clogf.c (__clogf): Likewise.
12376 * math/s_clogl.c (__clogl): Likewise.
12377 * math/libm-test.inc (clog_test): Add more tests.
12378 (clog10_test): Likewise.
12379 * sysdeps/i386/fpu/libm-test-ulps: Update.
12380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12382 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
12385 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
12386 by 7 not 8 to examine high bit of fractional part.
12389 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
12390 for call to __mcount_internal.
12391 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
12392 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
12393 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
12395 2012-07-06 Joseph Myers <joseph@codesourcery.com>
12398 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
12399 approximation for values within 0x1p-13f of an odd multiple of
12401 * math/libm-test.inc (tan_test): Do not allow spurious underflow
12402 exception. Add more tests.
12403 * sysdeps/i386/fpu/libm-test-ulps: Update.
12406 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
12407 inputs and return -1 for them. Do not check for +Inf in case not
12408 reachable for +Inf.
12409 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12410 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
12411 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12412 and return -1 for them. Do not check for +Inf in case not
12413 reachable for +Inf.
12414 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
12416 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12417 and return -1 for them. Do not check for +Inf in case not
12418 reachable for +Inf.
12419 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
12420 spurious underflow.
12421 * sysdeps/i386/fpu/libm-test-ulps: Update.
12422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12424 2012-07-06 Mike Frysinger <vapier@gentoo.org>
12426 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
12428 2012-07-05 Joseph Myers <joseph@codesourcery.com>
12432 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
12433 could result in spurious underflow. Scale down values above
12434 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
12435 * math/s_csqrtf.c (__csqrtf): Likewise.
12436 * math/s_csqrtl.c (__csqrtl): Likewise.
12437 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
12438 spurious underflow.
12439 * sysdeps/i386/fpu/libm-test-ulps: Update.
12440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12442 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
12444 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
12446 * catgets/xopen-msg.awk: New file.
12447 * catgets/xopen-msg.sed: Removed.
12449 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
12451 * intl/po2test.awk: New file.
12452 * intl/po2test.sed: Removed.
12454 2012-07-04 Joseph Myers <joseph@codesourcery.com>
12457 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
12458 or multiply small sinh result by itself.
12459 * math/s_ctanf.c (__ctanf): Likewise.
12460 * math/s_ctanh.c (__ctanh): Likewise.
12461 * math/s_ctanhf.c (__ctanhf): Likewise.
12462 * math/s_ctanhl.c (__ctanhl): Likewise.
12463 * math/s_ctanl.c (__ctanl): Likewise.
12464 * math/libm-test.inc (ctan_test_tonearest): New function.
12465 (ctan_test_towardzero): Likewise.
12466 (ctan_test_downward): Likewise.
12467 (ctan_test_upward): Likewise.
12468 (ctanh_test_tonearest): Likewise.
12469 (ctanh_test_towardzero): Likewise.
12470 (ctanh_test_downward): Likewise.
12471 (ctanh_test_upward): Likewise.
12472 (main): Call these new functions.
12473 * sysdeps/i386/fpu/libm-test-ulps: Update.
12474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12476 2012-07-03 Mike Frysinger <vapier@gentoo.org>
12478 * .gitignore: Delete /ports entry.
12480 2012-07-03 Andreas Jaeger <aj@suse.de>
12482 * po/bg.po: Update from translation team.
12483 * po/cs.po: Likewise.
12484 * po/de.po: Likewise.
12485 * po/hr.po: Likewise.
12486 * po/nl.pl: Likewise.
12487 * po/pl.po: Likewise.
12488 * po/vi.po: Likewise.
12490 2012-07-03 Joseph Myers <joseph@codesourcery.com>
12492 * Makeconfig [!+link] (+link-before-libc): New variable.
12493 [!+link] (+link-after-libc): Likewise.
12494 [!+link] (+link-tests): Likewise.
12495 [!+link] (+link): Define in terms of $(+link-before-libc) and
12496 $(+link-after-libc).
12497 [!+link-static] (+link-static-before-libc): New variable.
12498 [!+link-static] (+link-static-after-libc): Likewise.
12499 [!+link-static] (+link-static-tests): Likewise.
12500 [!+link-static] (+link-static): Define in terms of
12501 $(+link-static-before-libc) and $(+link-static-after-libc).
12502 [build-shared] (link-libc-before-gnulib): New variable.
12503 [build-shared] (link-libc-tests): Likewise.
12504 [build-shared] (link-libc): Define in terms of
12505 $(link-libc-before-gnulib).
12506 [!build-shared] (link-libc-tests): New variable.
12507 (link-libc-static-tests): New variable.
12508 [!gnulib] (gnulib-arch): New variable.
12509 [!gnulib] (gnulib-tests): Likewise.
12510 [!gnulib] (static-gnulib-arch): Likewise.
12511 [!gnulib] (static-gnulib-tests): Likewise.
12512 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
12513 Define with "=" instead of ":=".
12514 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
12515 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
12516 * Rules (binaries-all-notests): New variable.
12517 (binaries-all-tests): Likewise.
12518 (binaries-static-notests): Likewise.
12519 (binaries-static-tests): Likewise.
12520 (binaries-all): Define using $(binaries-all-notests) and
12521 $(binaries-all-tests).
12522 (binaries-static): Define using $(binaries-static-notests) and
12523 $(binaries-static-tests).
12524 (binaries-shared-tests): New variable.
12525 (binaries-shared-notests): Likewise.
12526 (binaries-shared): Remove variable.
12527 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
12528 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
12529 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
12530 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
12531 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
12532 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
12533 * elf/Makefile (sln-modules): New variable.
12534 (extra-objs): Add $(sln-modules:=.o).
12535 (ldconfig-modules): Add static-stubs.
12536 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
12537 * elf/static-stubs.c: New file.
12540 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
12541 by 7 not 8 to examine high bit of fractional part. Use volatile
12542 variables when splitting into final array of floats if
12543 __FLT_EVAL_METHOD__ != 0.
12544 * math/libm-test.inc (cos_test): Add another test.
12545 (sin_test): Likewise.
12546 * sysdeps/i386/fpu/libm-test-ulps: Update.
12549 * math/libm-test.inc (cosh_test): Add more tests.
12551 * version.h (RELEASE): Set to "development".
12552 (VERSION): Set to "2.16.90".
12554 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
12556 * NEWS: Update copyright. Remove last-updated date.
12557 Mention math library bug fixes and timezone data changes.
12558 * README: Mention GNU/Hurd, x32, and HPPA support status.
12560 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
12562 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
12564 2012-06-27 Andreas Jaeger <aj@suse.de>
12566 * manual/contrib.texi (Contributors): Add Samuel Thibault.
12568 2012-06-25 Andreas Jaeger <aj@suse.de>
12570 * sysdeps/s390/fpu/libm-test-ulps: Update.
12572 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
12573 Thomas Schwinge <thomas@codesourcery.com>
12575 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
12576 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
12577 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
12580 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
12582 * sysdeps/mach/start.c: Remove file.
12583 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
12584 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
12585 * sysdeps/sh/init-first.c: Likewise.
12587 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
12588 registers for frame unwinding purposes, add CFI directives.
12589 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12590 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
12591 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
12594 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
12595 __fortify_fail returning.
12596 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12598 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
12599 sysdeps/sh/____longjmp_chk.S.
12600 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
12601 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
12602 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
12603 (gen-as-const-headers): Append sigaltstack-offsets.sym.
12605 * sysdeps/sh/abort-instr.h: New file.
12606 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
12607 process in case exit returns.
12609 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
12610 initialize the GOT register before use.
12612 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
12613 calculation of ARGC > 4.
12615 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
12616 meaningful names to some local labels.
12618 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12619 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12621 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
12622 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
12623 (__arch_compare_and_exchange_val_16_acq): Likewise.
12624 (__arch_compare_and_exchange_val_32_acq): Likewise.
12625 (atomic_exchange_and_add): Fix gUSA sequence.
12626 (atomic_add): Likewise.
12627 (atomic_add_negative): Likewise.
12628 (atomic_add_zero): Likewise.
12629 (atomic_bit_test_set): Likewise.
12631 2012-06-22 Andreas Schwab <schwab@redhat.com>
12634 * include/link.h (struct link_map): Add l_free_initfini.
12635 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
12637 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
12638 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
12639 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
12642 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
12644 * configure.in: Use AC_LANG_SOURCE.
12645 * configure: Regenerate.
12647 2012-06-22 Roland McGrath <roland@hack.frob.com>
12649 * configure.in (libc_cv_localstatedir): New substituted variable.
12650 * configure: Regenerated.
12651 * config.make.in (localstatedir): New variable, substituted from
12652 libc_cv_localstatedir.
12653 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
12654 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
12655 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
12656 * sysdeps/gnu/configure: Regenerated.
12658 2012-06-21 Jeff Law <law@redhat.com>
12661 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
12662 free. Simplify list management for _LIBC case.
12664 2012-06-21 Joseph Myers <joseph@codesourcery.com>
12667 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12668 Clear sign bit of 64-bit integer value before comparing against
12671 * sysdeps/mach/configure: Regenerated.
12673 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
12676 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
12678 2012-06-21 Jeff Law <law@redhat.com>
12681 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
12682 uint16_t for elements in the "seen" array to avoid char overflows.
12683 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12684 * elf/dl-open.c (dl_open_worker): Likewise.
12686 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
12688 * scripts/list-sources.sh: Scan PORTS for translations.
12689 * po/libc.pot: Regenerated.
12691 2012-06-21 Andreas Jaeger <aj@suse.de>
12694 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
12696 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
12697 * bits/byteswap-16.h (__bswap_16): Likewise.
12698 * bits/byteswap.h (__bswap_constant_16): Likewise.
12700 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
12703 * sysdeps/i386/fpu_control.h: Removed.
12704 * sysdeps/x86_64/fpu_control.h: Moved to ...
12705 * sysdeps/x86/fpu_control.h: Here.
12707 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
12708 (_FPU_SETCW): Likewise.
12710 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
12713 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
12714 * sysdeps/x86/fpu/bits/mathinline.h: This.
12715 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
12719 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
12720 functions if __x86_64__ is defined.
12722 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
12724 * string/endian.h: Add !__ASSEMBLER__ condition for including
12725 conversion interfaces.
12727 2012-06-15 Joseph Myers <joseph@codesourcery.com>
12730 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
12731 of ABS(x) in calculating zero to negative powers other than odd
12733 * math/libm-test.inc (pow_test): Add more tests.
12735 2012-06-15 Andreas Jaeger <aj@suse.de>
12737 * manual/contrib.texi (Contributors): Update entry of Liubov
12738 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
12741 2012-06-15 Cyril Hrubis <metan@ucw.cz>
12743 * string/string.h: Add __wur to GNU version of strerror_r.
12745 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
12748 * string/Makefile (tests): Add tst-strtok_r.
12749 * string/tst-strtok_r.c: New file.
12750 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
12751 RAX_LP/RDX_LP on SAVE_PTR.
12753 2012-06-14 Roland McGrath <roland@hack.frob.com>
12755 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
12757 2012-06-14 Joseph Myers <joseph@codesourcery.com>
12759 * libm_test.inc (csqrt_test): Allow more spurious underflow
12761 (j0_test): Likewise.
12762 (j1_test): Likewise.
12763 (y0_test): Likewise.
12764 (y1_test): Likewise.
12766 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
12768 * po/Makefile (libc.pot): Use UTF-8 charset.
12770 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
12773 Suppress sign-conversion warning from FD_SET.
12774 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
12775 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
12776 not unsigned long int.
12777 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
12779 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
12783 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
12784 __extern_always_inline instead of __extern_inline.
12785 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
12786 (__signbit): Likewise.
12787 (__signbitl): Support C++ namespace.
12788 (lrintf): New inline function.
12790 (llrintf): Likewise.
12791 (llrint): Likewise.
12801 (floorf): Likewise.
12802 (nearbyint): Likewise.
12803 (nearbyintf): Likewise.
12805 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
12807 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
12808 non-default versions.
12810 2012-06-11 Roland McGrath <roland@hack.frob.com>
12813 * manual/argp.texi (Argp): Reword argp_parse description slightly.
12815 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
12817 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
12818 (FE_UPWARD, FE_DOWNWARD): Don't define.
12819 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
12820 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12822 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12824 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12825 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12827 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12829 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12830 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12831 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12832 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12834 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
12837 * sysdeps/i386/fpu/bits/fenv.h: Removed.
12838 * sysdeps/i386/fpu/Implies: New file.
12839 * sysdeps/x86_64/fpu/Implies: Likewise.
12840 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12841 * sysdeps/x86/fpu/bits/fenv.h: This.
12843 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12846 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12849 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12850 character 0xffff that matches the last element of the
12853 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12855 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12858 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12860 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12861 values higher than 25.6283.
12863 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12865 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12866 subnormal exponent extraction and add some __builtin_expect.
12867 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12868 Fix for subnormal mantissa calculation.
12870 2012-06-04 Mike Frysinger <vapier@gentoo.org>
12872 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12873 cpu2 is -1 and errno is not ENOSYS.
12875 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
12878 * sysdeps/i386/i486/bits/string.h: Renamed to ...
12879 * sysdeps/x86/bits/string.h: This.
12880 * sysdeps/x86_64/bits/string.h: Removed.
12882 * sysdeps/i386/i486/bits/string.h: Define inline functions only
12883 if not compiling for x86-64, but compiling for >= i486.
12885 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12886 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12888 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12889 New macro from Linux kernel 3.4.0.
12890 (FP_XSTATE_MAGIC2): Likewise.
12891 (FP_XSTATE_MAGIC2_SIZE): Likewise.
12892 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12893 (struct _fpx_sw_bytes): New struct.
12894 (struct _xsave_hdr): Likewise.
12895 (struct _ymmh_state): Likewise.
12896 (struct _xstate): Likewise.
12898 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12899 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12900 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12901 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12902 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12903 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12905 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12906 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12907 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12908 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12909 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12910 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12912 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12915 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12916 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12917 (sysdep_headers): Include sys/platform/ppc.h.
12918 * sysdeps/powerpc/test-gettimebase.c: Test for
12919 __ppc_get_timebase() to catch future ISA opcode/insn changes.
12920 * manual/Makefile (appendices): Include platform.texi.
12921 * manual/contrib.texi (Contributors): Update @node pointers.
12922 * manual/maint.texi (Maintenance): Likewise.
12923 (Platform): New node.
12924 * manual/platform.texi: New file. Document the new features.
12926 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12927 Jakub Jelinek <jakub@redhat.com>
12930 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12931 where __builtin_expect is unavailable.
12933 2012-06-03 David S. Miller <davem@davemloft.net>
12935 * stdlib/longlong.h: Updated from GCC.
12937 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12940 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12941 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12944 (GLIBC_2.16): Likewise.
12946 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12948 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12950 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12953 (default-abi): New variable.
12954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12955 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12957 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12959 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12961 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12964 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12965 definition. Document in comment.
12967 2012-06-01 David S. Miller <davem@davemloft.net>
12969 * stdlib/longlong.h: Updated from GCC.
12971 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12974 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12975 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12976 sys/debugreg.h sys/io.h here.
12977 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12978 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12980 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12981 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12982 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12983 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12984 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12985 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12987 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12988 Define only if __x86_64__ is defined.
12990 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12993 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12994 Use int64_t for variable i.
12995 * math/libm-test.inc (fmod_test): Add more tests.
12997 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12998 z computation is not scheduled after fetestexcept.
12999 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
13000 Use math_force_eval instead of asm to ensure calculation scheduled
13001 before exception test.
13002 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
13003 Ensure a1 + u.d computation is not scheduled after fetestexcept.
13005 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
13007 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
13008 computation is not scheduled after fetestexcept.
13010 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
13013 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
13014 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
13016 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13018 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
13019 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13021 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
13024 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
13026 (__WCHAR_MIN): Support __WORDSIZE == 64.
13027 (__WCHAR_MAX): Likewise.
13029 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
13030 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
13033 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
13034 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
13037 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
13038 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
13040 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
13041 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
13043 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
13044 Defined to 1 if __x86_64__ isn't defined.
13045 (_STAT_VER_LINUX_OLD): New.
13046 (st_atime): Remove duplicate.
13047 (st_mtime): Likewise.
13048 (st_ctime): Likewise.
13050 2012-05-31 David S. Miller <davem@davemloft.net>
13052 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
13055 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
13057 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
13061 * elf/dl-reloc.c: Include <_itoa.h>.
13062 (_dl_reloc_bad_type): Remove use of INTUSE.
13063 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
13064 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
13065 * stdio-common/psiginfo.c (psiginfo): Likewise.
13066 * stdio-common/psignal.c (psignal): Likewise.
13067 * string/strsignal.c (strsignal): Likewise.
13068 * include/signal.h (_sys_siglist): Declare hidden proto.
13069 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
13070 INTVARDEF with libc_hidden_data_def.
13071 * stdio-common/itoa-udigits.c: Likewise.
13072 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
13073 (_itoa_lower_digits_internal): Remove declaration.
13074 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
13075 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
13076 (_sys_sigabbrev_internal): Remove aliases.
13077 (_sys_siglist): Define hidden alias.
13079 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
13081 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13084 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
13087 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
13088 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
13090 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
13091 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
13092 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
13093 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
13094 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
13095 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
13097 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
13098 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
13099 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
13101 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
13109 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
13110 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
13111 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
13113 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
13114 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
13115 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
13116 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
13117 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
13118 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
13120 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
13121 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
13123 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
13124 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
13126 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
13127 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
13128 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
13130 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
13131 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
13133 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
13135 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
13136 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
13137 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
13139 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
13141 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
13143 2012-05-31 Joseph Myers <joseph@codesourcery.com>
13145 * math/math.h (M_El): Use two more decimal places.
13146 (M_LOG2El): Likewise.
13147 (M_LOG10El): Likewise.
13148 (M_LN2l): Likewise.
13149 (M_LN10l): Likewise.
13151 (M_PI_2l): Likewise.
13152 (M_PI_4l): Likewise.
13153 (M_1_PIl): Likewise.
13154 (M_2_PIl): Likewise.
13155 (M_2_SQRTPIl): Likewise.
13156 (M_SQRT2l): Likewise.
13157 (M_SQRT1_2l): Likewise.
13159 2012-05-31 David S. Miller <davem@davemloft.net>
13161 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
13162 values between float registers.
13163 * sysdeps/sparc/sparc64/memset.S: Likewise.
13164 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13166 2012-05-31 Mike Frysinger <vapier@gentoo.org>
13168 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
13169 -D_FORTIFY_SOURCE=1.
13170 (CPPFLAGS-tst-longjmp_chk.c): Define.
13171 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
13172 (CPPFLAGS-tst-longjmp_chk2.c): Define.
13173 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
13174 CFLAGS-tst-wchar-h.c.
13176 2012-05-31 Marek Polacek <polacek@redhat.com>
13179 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
13180 __endmntent_internal): Remove declaration.
13181 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
13182 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
13183 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
13185 2012-05-30 David S. Miller <davem@davemloft.net>
13187 * sysdeps/sparc/sparc32/soft-fp/q_util.c
13188 (___Q_simulate_exceptions): Use real FP ops rather than writing
13190 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
13193 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13196 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
13197 * sysdeps/x86/bits/xtitypes.h: This.
13199 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
13200 * sysdeps/x86/bits/wordsize.h: This.
13202 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
13203 * sysdeps/x86/bits/huge_vall.h: This.
13205 * sysdeps/i386/bits/select.h: Removed.
13206 * sysdeps/x86_64/bits/select.h: Renamed to ...
13207 * sysdeps/x86/bits/select.h: This.
13209 * sysdeps/i386/bits/setjmp.h: Removed.
13210 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
13211 * sysdeps/x86/bits/setjmp.h: This.
13213 * sysdeps/i386/bits/mathdef.h: Removed.
13214 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
13215 * sysdeps/x86/bits/mathdef.h: This.
13217 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
13220 * include/sys/socket.h (__connect_internal)
13221 (__libc_sa_len_internal): Remove declaration.
13222 (__connect, __libc_sa_len): Declare hidden_proto.
13223 (SA_LEN): Remove use of INTUSE.
13224 * socket/connect.c: Add libc_hidden_def.
13225 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
13226 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
13227 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
13229 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13230 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
13231 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
13232 of adding _internal alias.
13234 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13237 * sysdeps/i386/bits/link.h: Removed.
13238 * sysdeps/i386/bits/linkmap.h: Likewise.
13239 * sysdeps/x86_64/bits/link.h: Renamed to ...
13240 * sysdeps/x86/bits/link.h: This.
13241 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
13242 * sysdeps/x86/bits/linkmap.h: This.
13244 * sysdeps/i386/bits/endian.h: Removed.
13245 * sysdeps/x86_64/bits/endian.h: Renamed to ...
13246 * sysdeps/x86/bits/endian.h: This.
13248 * sysdeps/i386/bits/byteswap.h: Removed.
13249 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13250 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
13251 * sysdeps/x86/bits/byteswap.h: This.
13252 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
13253 * sysdeps/x86/bits/byteswap-16.h: This.
13254 * sysdeps/i386/Implies: Add x86.
13255 * sysdeps/x86_64/Implies: Likewise.
13257 2012-05-30 David S. Miller <davem@davemloft.net>
13259 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
13260 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
13261 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13262 (FP_TRAPPING_EXCEPTIONS): Define.
13263 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13264 (FP_TRAPPING_EXCEPTIONS): Define.
13265 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
13266 subnormals only when inexact has been signalled or underflow
13267 exceptions are enabled.
13268 (_FP_PACK_CANONICAL): Likewise.
13270 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13273 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
13274 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
13276 2012-05-30 Richard Henderson <rth@twiddle.net>
13278 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
13279 with #ifndef NOT_IN_libc.
13281 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
13282 marked to avoid plt entry.
13284 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13287 * Makeconfig (default-abi): New macro.
13288 (abi-includes): Likewise.
13289 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
13290 $(abi-$(default-abi)-lib-soname) for soname if defined.
13291 ($(common-objpfx)gnu/lib-names.stmp): Generate from
13293 * Makefile (installed-stubs): Likewise.
13294 * include/stubs-biarch.h: Removed.
13295 * scripts/lib-names.awk: Only handle one library at a time.
13296 * scripts/soversions.awk: Remove WORDSIZE support.
13297 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
13299 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
13301 (syscall-list-default-condition): Likewise.
13302 (syscall-list-default-condition): Likewise.
13303 (syscall-list-includes): Likewise.
13304 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
13305 syscall-list-* with abi-*. Handle undefined abi-variants.
13306 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
13307 * sysdeps/unix/sysv/linux/i386/Implies: New file.
13308 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
13309 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
13310 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
13311 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
13313 (syscall-list-32-options): Likewise.
13314 (syscall-list-32-condition): Likewise.
13315 (syscall-list-64-options): Likewise.
13316 (syscall-list-64-condition): Likewise.
13317 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
13319 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
13322 (abi-64-ld-soname): New macro.
13323 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
13324 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
13327 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
13328 * sysdeps/x86_64/x32/shlib-versions: Likewise.
13330 2012-05-30 Joseph Myers <joseph@codesourcery.com>
13332 * sysdeps/unix/sysv/linux/kernel-features.h
13333 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
13334 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
13335 include <kernel-features.h>.
13336 [!__NR_ftruncate64]: Remove conditional code.
13337 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13338 [__NR_ftruncate64]: Make code unconditional.
13339 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13340 * sysdeps/unix/sysv/linux/truncate64.c: Do not
13341 include <kernel-features.h>.
13342 [!__NR_ftruncate64]: Remove conditional code.
13343 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13344 [__NR_ftruncate64]: Make code unconditional.
13345 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
13347 include <kernel-features.h>.
13348 [!__NR_ftruncate64]: Remove conditional code.
13349 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13350 [__NR_ftruncate64]: Make code unconditional.
13351 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13353 include <kernel-features.h>.
13354 [!__NR_ftruncate64]: Remove conditional code.
13355 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13356 [__NR_ftruncate64]: Make code unconditional.
13357 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13359 * configure.in (libc_cv_fpie): Weaken to a compile test using
13360 LIBC_TRY_CC_OPTION.
13361 * configure: Regenerated.
13363 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
13366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
13367 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
13368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
13371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
13372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
13373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
13374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
13375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13378 2012-05-27 David S. Miller <davem@davemloft.net>
13380 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
13382 (__Q_simulate_exceptions): Return void. Change to simulate
13383 exceptions by writing into the %fsr.
13384 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
13385 (__Qp_handle_exceptions): Likewise.
13387 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
13388 __Qp_handle_exceptions.
13389 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
13390 __Qp_handle_exceptions.
13391 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13392 as unused and give dummy FP_RND_NEAREST initializer.
13393 (FP_INHIBIT_RESULTS): Define.
13394 (___Q_simulate_exceptions): Update declaration.
13395 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
13397 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13398 as unused and give dummy FP_RND_NEAREST initializer.
13399 (__Qp_handle_exceptions): Update declaration.
13400 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
13403 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
13405 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
13406 the temporary FPU control word.
13407 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13408 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
13409 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
13410 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
13411 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13412 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
13413 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
13414 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13415 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13416 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13417 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13419 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13421 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
13424 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
13426 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
13427 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
13428 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
13429 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
13431 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
13432 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
13435 2012-05-27 Ulrich Drepper <drepper@gmail.com>
13437 * po/h.po: Update from translation team.
13439 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
13441 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
13443 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
13444 handling of denormals.
13445 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13446 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13447 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13448 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13449 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13450 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
13451 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
13454 2012-05-26 Marek Polacek <polacek@redhat.com>
13457 * math/libm-test.inc (fma_test): Don't always expect underflow
13460 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13463 * elf/tst-execstack.c: Include stackinfo.h.
13464 (do_test): Adjust test case to ensure that pthread_getattr_np
13465 behaviour remains the same after marking stack executable.
13467 2012-05-25 Joseph Myers <joseph@codesourcery.com>
13469 * sysdeps/unix/sysv/linux/kernel-features.h
13470 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
13471 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
13473 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13474 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13475 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
13477 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13478 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13480 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
13482 * configure.in: Define the default includes to being none.
13483 * configure: Regenerated.
13485 2012-05-25 Roland McGrath <roland@hack.frob.com>
13487 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
13488 * sysdeps/x86_64/setjmp.S: Likewise.
13489 * sysdeps/i386/bsd-setjmp.S: Likewise.
13490 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13491 * sysdeps/i386/setjmp.S: Likewise.
13492 * sysdeps/i386/__longjmp.S: Likewise.
13493 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13494 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
13496 * include/stap-probe.h: New file.
13497 * configure.in: Handle --enable-systemtap.
13498 * configure: Regenerated.
13499 * config.h.in (USE_STAP_PROBE): New #undef.
13500 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
13501 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
13502 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13504 2012-05-25 Joseph Myers <joseph@codesourcery.com>
13507 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13508 to 2.4.0 where earlier.
13509 * sysdeps/unix/sysv/linux/configure: Regenerated.
13510 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13511 <kernel-features.h>.
13512 [__ASSUME_32BITUIDS]: Make code unconditional.
13513 [!__ASSUME_32BITUIDS]: Remove conditional code.
13514 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
13515 <kernel-features.h>.
13516 [__ASSUME_32BITUIDS]: Make code unconditional.
13517 [!__ASSUME_32BITUIDS]: Remove conditional code.
13518 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
13519 [__ASSUME_32BITUIDS]: Make code unconditional.
13520 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
13521 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
13522 <kernel-features.h>.
13523 [__ASSUME_32BITUIDS]: Make code unconditional.
13524 [!__ASSUME_32BITUIDS]: Remove conditional code.
13525 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
13526 <kernel-features.h>.
13527 [__ASSUME_32BITUIDS]: Make code unconditional.
13528 [!__ASSUME_32BITUIDS]: Remove conditional code.
13529 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
13530 <kernel-features.h>.
13531 [__ASSUME_32BITUIDS]: Make code unconditional.
13532 [!__ASSUME_32BITUIDS]: Remove conditional code.
13533 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
13534 <kernel-features.h>.
13535 [__ASSUME_32BITUIDS]: Make code unconditional.
13536 [!__ASSUME_32BITUIDS]: Remove conditional code.
13537 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13538 <kernel-features.h>.
13539 [__ASSUME_32BITUIDS]: Make code unconditional.
13540 [!__ASSUME_32BITUIDS]: Remove conditional code.
13541 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13542 <kernel-features.h>.
13543 [__ASSUME_32BITUIDS]: Make code unconditional.
13544 [!__ASSUME_32BITUIDS]: Remove conditional code.
13545 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
13546 <kernel-features.h>.
13547 [__ASSUME_32BITUIDS]: Make code unconditional.
13548 [!__ASSUME_32BITUIDS]: Remove conditional code.
13549 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13550 <kernel-features.h>.
13551 [__ASSUME_32BITUIDS]: Make code unconditional.
13552 [!__ASSUME_32BITUIDS]: Remove conditional code.
13553 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13554 <kernel-features.h>.
13555 [__ASSUME_32BITUIDS]: Make code unconditional.
13556 [!__ASSUME_32BITUIDS]: Remove conditional code.
13557 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
13558 <kernel-features.h>.
13559 [__ASSUME_32BITUIDS]: Make code unconditional.
13560 [!__ASSUME_32BITUIDS]: Remove conditional code.
13561 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
13562 <kernel-features.h>.
13563 [__NR_setresgid] (__setresgid): Do not declare.
13564 [__ASSUME_32BITUIDS]: Make code unconditional.
13565 [!__ASSUME_32BITUIDS]: Remove conditional code.
13566 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
13567 <kernel-features.h>.
13568 [__NR_setresuid] (__setresuid): Do not declare.
13569 [__ASSUME_32BITUIDS]: Make code unconditional.
13570 [!__ASSUME_32BITUIDS]: Remove conditional code.
13571 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
13572 <kernel-features.h>.
13573 [__ASSUME_32BITUIDS]: Make code unconditional.
13574 [!__ASSUME_32BITUIDS]: Remove conditional code.
13575 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
13576 <kernel-features.h>.
13577 [__ASSUME_32BITUIDS]: Make code unconditional.
13578 [!__ASSUME_32BITUIDS]: Remove conditional code.
13579 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
13580 <kernel-features.h>.
13581 [__ASSUME_32BITUIDS]: Make code unconditional.
13582 [!__ASSUME_32BITUIDS]: Remove conditional code.
13583 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
13584 <kernel-features.h>.
13585 [__ASSUME_32BITUIDS]: Make code unconditional.
13586 [!__ASSUME_32BITUIDS]: Remove conditional code.
13587 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
13588 <kernel-features.h>.
13589 [__ASSUME_32BITUIDS]: Make code unconditional.
13590 [!__ASSUME_32BITUIDS]: Remove conditional code.
13591 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
13592 <kernel-features.h>.
13593 [__ASSUME_32BITUIDS]: Make code unconditional.
13594 [!__ASSUME_32BITUIDS]: Remove conditional code.
13595 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
13596 <kernel-features.h>.
13597 [__ASSUME_32BITUIDS]: Make code unconditional.
13598 [!__ASSUME_32BITUIDS]: Remove conditional code.
13599 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
13600 <kernel-features.h>.
13601 [__ASSUME_32BITUIDS]: Make code unconditional.
13602 [!__ASSUME_32BITUIDS]: Remove conditional code.
13603 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
13604 <kernel-features.h>.
13605 [__ASSUME_32BITUIDS]: Make code unconditional.
13606 [!__ASSUME_32BITUIDS]: Remove conditional code.
13607 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13608 <kernel-features.h>.
13609 [__ASSUME_32BITUIDS]: Make code unconditional.
13610 [!__ASSUME_32BITUIDS]: Remove conditional code.
13611 * sysdeps/unix/sysv/linux/kernel-features.h
13612 (__ASSUME_SETRESUID_SYSCALL): Remove.
13613 (__ASSUME_SETRESGID_SYSCALL): Likewise.
13614 (__ASSUME_32BITUIDS): Likewise.
13615 (__ASSUME_LDT_WORKS): Likewise.
13616 (__ASSUME_O_DIRECTORY): Likewise.
13617 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
13618 architecture but not kernel version.
13619 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13620 (__ASSUME_MMAP2_SYSCALL): Likewise.
13621 (__ASSUME_STAT64_SYSCALL): Likewise.
13622 (__ASSUME_IPC64): Likewise.
13623 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
13624 <kernel-features.h>.
13625 [__ASSUME_32BITUIDS]: Make code unconditional.
13626 [!__ASSUME_32BITUIDS]: Remove conditional code.
13627 * sysdeps/unix/sysv/linux/opendir.c: Do not include
13628 <kernel-features.h>.
13629 [__ASSUME_O_DIRECTORY]: Make code unconditional.
13630 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
13631 132096]: Remove conditional code.
13632 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
13633 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13634 <kernel-features.h>.
13635 [__ASSUME_32BITUIDS]: Make code unconditional.
13636 [!__ASSUME_32BITUIDS]: Remove conditional code.
13637 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13638 <kernel-features.h>.
13639 [__ASSUME_32BITUIDS]: Make code unconditional.
13640 [!__ASSUME_32BITUIDS]: Remove conditional code.
13641 * sysdeps/unix/sysv/linux/setegid.c: Do not include
13642 <kernel-features.h>.
13643 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
13645 (__setresgid): Do not declare.
13646 [__ASSUME_32BITUIDS]: Make code unconditional.
13647 [!__ASSUME_32BITUIDS]: Remove conditional code.
13648 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
13649 <kernel-features.h>.
13650 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
13652 (__setresuid): Do not declare.
13653 [__ASSUME_32BITUIDS]: Make code unconditional.
13654 [!__ASSUME_32BITUIDS]: Remove conditional code.
13655 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13656 <kernel-features.h>.
13657 [__ASSUME_32BITUIDS]: Make code unconditional.
13658 [!__ASSUME_32BITUIDS]: Remove conditional code.
13659 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
13660 <kernel-features.h>.
13661 [__ASSUME_32BITUIDS]: Make code unconditional.
13662 [!__ASSUME_32BITUIDS]: Remove conditional code.
13664 2012-05-25 Richard Henderson <rth@twiddle.net>
13666 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
13667 dl_hwcap to ifunc resolver.
13668 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
13670 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
13671 dl_hwcap to ifunc resolver.
13672 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
13674 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13677 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
13678 for |x| <= 2**-26, not 2**-57.
13679 * math/libm-test.inc (acos_test): Do not allow spurious underflow
13682 2012-05-24 Jeff Law <law@redhat.com>
13684 * stdio-common/Makefile (tests): Add bug25.
13685 * stdio-common/bug25.c: New test.
13687 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13690 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
13691 multiple of MALLOC_ALIGNMENT in size.
13692 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
13694 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13696 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
13698 (FILENAME_MAX): Use macro-int-constant.
13699 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
13700 (_IOFBF): Use macro-int-constant.
13701 (_IOLBF): Likewise.
13702 (_IONBF): Likewise.
13703 (SEEK_CUR): Likewise.
13704 (SEEK_END): Likewise.
13705 (SEEK_SET): Likewise.
13706 (TMP_MAX): Likewise.
13707 (EOF): Use macro-int-constant. Require < 0.
13708 (NULL): Use macro-constant. Require == 0.
13709 (stdin): Require type to be FILE *.
13710 (stdout): Likewise.
13711 (stderr): Likewise.
13712 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
13713 macro-int-constant.
13714 (EXIT_SUCCESS): Likewise.
13715 (NULL): Use macro-constant. Require == 0.
13716 (RAND_MAX): Use macro-int-constant.
13717 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
13718 [C99-based standards] (strtof): Require function.
13719 [C99-based standards] (strtold): Likewise.
13720 [C99-based standards] (strtoll): Likewise.
13721 [C99-based standards] (strtoull): Likewise.
13722 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13723 [ISO || ISO99 || ISO11] (limits.h): Likewise.
13724 [ISO || ISO99 || ISO11] (math.h): Likewise.
13725 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
13726 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13727 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13729 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
13732 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
13733 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
13734 * intl/dgettext.c (DCGETTEXT): Likewise.
13735 * intl/gettext.c (DCGETTEXT): Likewise.
13736 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
13737 * posix/regex_internal.h (gettext): Likewise.
13738 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
13739 Remove declaration.
13740 * include/argz.h (__argz_count_internal)
13741 (__argz_stringify_internal): Remove declaration.
13742 (__argz_count, __argz_stringify): Declare hidden proto.
13743 * intl/dcgettext.c: Remove use of INTDEF.
13744 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
13745 * string/argz-stringify.c: Likewise.
13746 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13747 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13748 Declare hidden proto.
13749 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13750 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13751 Declare hidden proto.
13752 * include/stdio.h (__asprintf_internal): Don't declare.
13753 (__asprintf): Don't define as macro. Declare hidden proto.
13754 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
13755 (__fsetlocking): Declare hidden proto.
13756 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
13757 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
13759 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
13760 (_IO_setlinebuf): Remove use of INTUSE.
13761 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
13762 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
13763 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
13764 Remove declaration.
13765 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
13766 (_IO_do_flush): Remove use of INTUSE.
13767 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
13768 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
13769 (_IO_adjust_column, _IO_least_wmarker)
13770 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
13771 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
13772 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
13773 (_IO_default_doallocate, _IO_wdefault_doallocate)
13774 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
13775 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
13776 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
13777 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
13778 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
13779 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
13780 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
13781 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
13782 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
13783 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
13784 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
13785 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
13786 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
13788 (_IO_flush_all_internal, _IO_adjust_column_internal)
13789 (_IO_default_uflow_internal, _IO_default_finish_internal)
13790 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
13791 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
13792 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
13793 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
13794 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
13795 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
13796 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
13797 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
13798 (_IO_file_close_internal, _IO_file_close_it_internal)
13799 (_IO_file_underflow_internal, _IO_file_overflow_internal)
13800 (_IO_file_init_internal, _IO_file_attach_internal)
13801 (_IO_file_fopen_internal, _IO_file_read_internal)
13802 (_IO_file_sync_internal, _IO_file_seek_internal)
13803 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
13804 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
13805 (_IO_str_underflow_internal, _IO_str_overflow_internal)
13806 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
13807 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
13808 (_IO_list_all_internal, _IO_link_in_internal)
13809 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
13810 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
13811 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
13812 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
13813 (_IO_do_write_internal, _IO_padn_internal)
13814 (_IO_getline_info_internal, _IO_getline_internal)
13815 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
13816 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
13817 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
13818 (_IO_vfscanf_internal, _IO_vfprintf_internal)
13819 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
13820 (_IO_init_internal, _IO_un_link_internal): Don't declare.
13821 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13822 with libc_hidden_ver, remove use of INTUSE.
13823 * libio/genops.c: Likewise.
13824 * libio/freopen.c: Likewise.
13825 * libio/freopen64.c: Likewise.
13826 * libio/iofclose.c: Likewise.
13827 * libio/iofdopen.c: Likewise.
13828 * libio/iofflush.c: Likewise.
13829 * libio/iofflush_u.c: Likewise.
13830 * libio/iofgets.c: Likewise.
13831 * libio/iofgets_u.c: Likewise.
13832 * libio/iofopen.c: Likewise.
13833 * libio/iofopncook.c: Likewise.
13834 * libio/iofread.c: Likewise.
13835 * libio/iofread_u.c: Likewise.
13836 * libio/ioftell.c: Likewise.
13837 * libio/iofwrite.c: Likewise.
13838 * libio/iogetline.c: Likewise.
13839 * libio/iogets.c: Likewise.
13840 * libio/iogetwline.c: Likewise.
13841 * libio/iopadn.c: Likewise.
13842 * libio/iopopen.c: Likewise.
13843 * libio/ioseekoff.c: Likewise.
13844 * libio/ioseekpos.c: Likewise.
13845 * libio/iosetbuffer.c: Likewise.
13846 * libio/iosetvbuf.c: Likewise.
13847 * libio/ioungetc.c: Likewise.
13848 * libio/ioungetwc.c: Likewise.
13849 * libio/iovdprintf.c: Likewise.
13850 * libio/iovsprintf.c: Likewise.
13851 * libio/iovsscanf.c: Likewise.
13852 * libio/memstream.c: Likewise.
13853 * libio/obprintf.c: Likewise.
13854 * libio/oldfileops.c: Likewise.
13855 * libio/oldiofclose.c: Likewise.
13856 * libio/oldiofdopen.c: Likewise.
13857 * libio/oldiofopen.c: Likewise.
13858 * libio/oldiopopen.c: Likewise.
13859 * libio/oldstdfiles.c: Likewise.
13860 * libio/putc.c: Likewise.
13861 * libio/setbuf.c: Likewise.
13862 * libio/setlinebuf.c: Likewise.
13863 * libio/stdfiles.c: Likewise.
13864 * libio/strops.c: Likewise.
13865 * libio/vasprintf.c: Likewise.
13866 * libio/vscanf.c: Likewise.
13867 * libio/vsnprintf.c: Likewise.
13868 * libio/vswprintf.c: Likewise.
13869 * libio/wfiledoalloc.c: Likewise.
13870 * libio/wfileops.c: Likewise.
13871 * libio/wgenops.c: Likewise.
13872 * libio/wmemstream.c: Likewise.
13873 * libio/wstrops.c: Likewise.
13874 * libio/__fpurge.c: Likewise.
13875 * libio/__fsetlocking.c: Likewise.
13876 * assert/assert.c: Likewise.
13877 * debug/fgets_chk.c: Likewise.
13878 * debug/fgets_u_chk.c: Likewise.
13879 * debug/fread_chk.c: Likewise.
13880 * debug/fread_u_chk.c: Likewise.
13881 * debug/gets_chk.c: Likewise.
13882 * debug/obprintf_chk.c: Likewise.
13883 * debug/vasprintf_chk.c: Likewise.
13884 * debug/vdprintf_chk.c: Likewise.
13885 * debug/vsnprintf_chk.c: Likewise.
13886 * debug/vsprintf_chk.c: Likewise.
13887 * malloc/mtrace.c: Likewise.
13888 * misc/error.c: Likewise.
13889 * misc/syslog.c: Likewise.
13890 * stdio-common/asprintf.c: Likewise.
13891 * stdio-common/fxprintf.c: Likewise.
13892 * stdio-common/getw.c: Likewise.
13893 * stdio-common/isoc99_fscanf.c: Likewise.
13894 * stdio-common/isoc99_scanf.c: Likewise.
13895 * stdio-common/isoc99_vfscanf.c: Likewise.
13896 * stdio-common/isoc99_vscanf.c: Likewise.
13897 * stdio-common/isoc99_vsscanf.c: Likewise.
13898 * stdio-common/printf-prs.c: Likewise.
13899 * stdio-common/printf_fp.c: Likewise.
13900 * stdio-common/printf_fphex.c: Likewise.
13901 * stdio-common/printf_size.c: Likewise.
13902 * stdio-common/putw.c: Likewise.
13903 * stdio-common/scanf.c: Likewise.
13904 * stdio-common/sprintf.c: Likewise.
13905 * stdio-common/tmpfile.c: Likewise.
13906 * stdio-common/vfprintf.c: Likewise.
13907 * stdio-common/vfscanf.c: Likewise.
13908 * stdlib/strfmon_l.c: Likewise.
13909 * sunrpc/openchild.c: Likewise.
13910 * sunrpc/xdr_stdio.c: Likewise.
13911 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13912 * sysdeps/mach/hurd/tmpfile.c: Likewise.
13914 2012-05-24 Roland McGrath <roland@hack.frob.com>
13916 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13918 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13919 in the third column, to generate for the shared library an IFUNC
13920 that uses _dl_vdso_vsym.
13921 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13922 * Makeconfig (object-suffixes-noshared): New variable.
13924 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13925 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13926 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13927 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13930 * include/sys/time.h (__gettimeofday): Remove macro.
13931 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13932 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13934 (__gettimeofday): Add libc_hidden_def.
13935 (gettimeofday): Add libc_hidden_weak.
13936 * sysdeps/mach/gettimeofday.c: Likewise.
13937 * sysdeps/posix/gettimeofday.c: Likewise.
13938 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13939 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13940 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13941 (__gettimeofday_internal): Remove strong_alias.
13942 (__gettimeofday): Add libc_hidden_def.
13943 (gettimeofday): Add libc_hidden_weak.
13944 * sysdeps/unix/syscalls.list (gettimeofday):
13945 Remove __gettimeofday_internal alias.
13947 2012-05-24 Daniel Jacobowitz <drow@false.org>
13948 H.J. Lu <hongjiu.lu@intel.com>
13951 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13952 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13953 (largebin_index_32_big): New.
13954 (largebin_index): Use it for 16-byte alignment.
13955 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13956 correction with front_misalign.
13958 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13971 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13973 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13986 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13987 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13989 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13993 * math/libm-test.inc (exp_test): Add test from bug 14036.
13994 (pow_test): Add test from bug 10846.
13996 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13998 (special_function): Do not include flags in test name.
13999 (parse_args): Likewise.
14000 * sysdeps/i386/fpu/libm-test-ulps: Update.
14001 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14002 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14003 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14006 * math/gen-libm-test.pl (%beautify): Add entries for underflow
14008 * math/libm-test.inc ("Philosophy"): Update comment about
14010 (UNDERFLOW_EXCEPTION): New macro.
14011 (UNDERFLOW_EXCEPTION_OK): Likewise.
14012 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
14013 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
14014 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
14015 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
14016 (INVALID_EXCEPTION_OK): Update value.
14017 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14018 (OVERFLOW_EXCEPTION_OK): Likewise.
14019 (IGNORE_ZERO_INF_SIGN): Likewise.
14020 (test_exceptions): Handle underflow exceptions.
14021 (acos_test): Update for underflow exception expectations.
14022 (cexp_test): Likewise.
14023 (clog_test): Likewise.
14024 (clog10_test): Likewise.
14025 (csqrt_test): Likewise.
14026 (ctan_test): Likewise.
14027 (ctanh_test): Likewise.
14028 (exp_test): Likewise.
14029 (exp10_test): Likewise.
14030 (exp2_test): Likewise.
14031 (expm1_test): Likewise.
14032 (fma_test): Likewise.
14033 (j0_test): Likewise.
14034 (jn_test): Likewise.
14035 (nexttoward_test): Likewise.
14036 (pow_test): Likewise.
14037 (scalbn_test): Likewise.
14038 (scalbln_test): Likewise.
14039 (tan_test): Likewise.
14040 (y1_test): Likewise.
14041 * sysdeps/i386/fpu/libm-test-ulps: Update.
14042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14044 2012-05-23 David S. Miller <davem@davemloft.net>
14046 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14047 (__libc_sigaction): Remove unused local variables.
14049 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
14051 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
14053 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
14055 mktime: avoid signed integer overflow
14056 * time/mktime.c (__mktime_internal): Do not mishandle the case
14057 where diff == INT_MIN.
14059 mktime: simplify computation of average
14060 * time/mktime.c (ranged_convert): Use new time_t_avg function
14061 instead of rolling our own (probably-slower) code.
14063 mktime: do not assume signed right shift propagates sign bit
14064 * time/mktime.c (isdst_differ): New static function.
14065 (__mktime_internal): No need to normalize tm_isdst now.
14066 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
14069 mktime: merge another wrapv change from gnulib
14070 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
14071 from some compilers.
14073 mktime: remove incorrect attempt at unusual arithmetics
14074 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
14075 The code didn't really work on such machines anyway.
14076 (TYPE_MINIMUM): Assume two's complement.
14077 (twos_complement_arithmetic): Verify that long_int and time_t
14078 are two's complement (or unsigned, in the latter case).
14080 mktime: check signed shifts on long_int and time_t, too
14081 * time/mktime.c (SHR): Check that shifts work as desired
14082 on the types long_int and time_t too, as SHR is used on
14085 mktime: do not assume 'long' is wide enough
14086 * time/mktime.c (verify): Move decl up.
14087 (long_int): New type.
14088 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
14089 to remove assumption in the code that 'long' is wide enough to
14090 store year values. This assumption is not true on x32 and on
14091 some non-glibc platforms.
14093 mktime: merge wrapv change from gnulib
14094 * time/mktime.c (WRAPV): New macro.
14095 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
14096 (guess_time_tm, __mktime_internal): Do not assume that signed
14097 integer overflow wraps around; modern compilers generate code
14098 where this assumption is no longer valid.
14100 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
14102 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
14103 Replace "jmp L(pseudo_end)" with "ret".
14104 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
14107 2012-05-23 Andreas Jaeger <aj@suse.de>
14109 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
14110 * sysdeps/unix/sysv/linux/poll.c: Remove file.
14112 2012-05-23 Andreas Jaeger <aj@suse.de>
14113 Maximilian Attems <max@stro.at>
14115 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
14118 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
14120 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
14121 code so that pseudo_end is just ret and the stack pointer is
14122 correct also for static library in error case.
14124 2012-05-23 Joseph Myers <joseph@codesourcery.com>
14126 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
14127 move to syscalls.list.
14128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14133 * manual/install.texi (Running make install): Do not mention Linux
14134 kernel version for which pt_chown is not needed.
14135 (Linux): Do not mention problems with nscd with 2.0 kernels.
14136 * INSTALL: Regenerated.
14138 2012-05-23 Andreas Jaeger <aj@suse.de>
14140 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
14141 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
14143 * sysdeps/unix/sysv/linux/s390/bits/mman.h
14144 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14145 * sysdeps/unix/sysv/linux/sh/bits/mman.h
14146 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14147 * sysdeps/unix/sysv/linux/i386/bits/mman.h
14148 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14149 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
14150 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14151 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
14152 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14153 * sysdeps/unix/sysv/linux/bits/in.h
14154 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
14156 2012-05-22 Roland McGrath <roland@hack.frob.com>
14158 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
14159 (PREPARE_VERSION): Just use assert instead, it will be elided
14160 under [NDEBUG] anyway.
14162 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14164 * sysdeps/unix/sysv/linux/Makefile: Include
14165 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
14166 (sysdep_routines): Remove sysctl.
14167 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
14168 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
14169 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
14170 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
14171 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
14173 2012-05-22 Andreas Jaeger <aj@suse.de>
14175 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
14176 that pseudo_end is just ret and the stack pointer is correct also
14177 for static library in error case.
14179 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
14182 * nss/nsswitch.c (defconfig_entries): New variable.
14183 (__nss_database_lookup): Don't leak defconfig entries.
14184 (nss_parse_service_list): Don't leak on error paths.
14185 (free_database_entries): New function.
14186 (free_defconfig): New function.
14187 (free_mem): Move common code to free_database_entries.
14189 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14191 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
14193 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
14195 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14196 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
14197 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
14199 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
14200 (INTERNAL_SYSCALL_TYPES): Likewise.
14201 (LOAD_ARGS_TYPES_[1-6]): Likewise.
14202 (LOAD_REGS_TYPES_[1-6]): Likewise.
14203 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
14204 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
14206 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14208 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
14209 copysignl for GLIBC_2_0.
14210 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
14211 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
14212 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
14213 logbl for GLIBC_2_0.
14214 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
14215 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
14217 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14219 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
14220 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14222 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
14225 * time/mktime.c: Update copyright years.
14227 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
14229 mktime: merge comment-quoting-style change from gnulib
14230 * time/mktime.c: Quote 'like this' in comments.
14231 The GNU coding standards suggest that we no longer quote `like this',
14232 as "`" and "'" are typically rendered asymmetrically nowadays.
14233 The typical gnulib style is to quote 'like this' when quoting
14234 code, and "like this" when quoting English.
14236 * time/mktime.c (compile-command): Add "-I.".
14238 mktime: merge mktime-internal.h change from gnulib
14239 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
14241 mktime: merge time_r change from gnulib
14242 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
14244 mktime: merge DEBUG change from gnulib
14245 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
14246 case system <time.h> has a #define.
14248 mktime: merge <sys/types.h> change from gnulib
14249 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
14250 since <time.t> is now guaranteed to define time_t.
14252 mktime: merge HAVE_CONFIG_H change from gnulib
14253 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
14255 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14257 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14260 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
14262 (struct rusage): Use anonymous union to pad each field to
14265 2012-05-21 David S. Miller <davem@davemloft.net>
14267 * Makefules (o-iterator): Remove .s cases.
14268 (compile-command.s): Delete.
14269 (COMPILE.s): Delete.
14270 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
14272 2012-05-21 Joseph Myers <joseph@codesourcery.com>
14274 * configure.in (libc_cv_predef_stack_protector): Only consider
14275 "foobar" and "__stack_chk_fail" lines in libc_undefs.
14276 * configure: Regenerated.
14278 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14280 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14281 New macro. Use R*LP on int and pointer.
14282 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
14283 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
14284 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
14285 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
14287 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
14288 [__WORDSIZE_TIME64_COMPAT32] instead of
14289 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
14290 (struct utmp): Likewise.
14291 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
14292 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
14294 (__WORDSIZE_TIME64_COMPAT32): This.
14295 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14296 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14297 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14298 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14299 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
14300 (__WORDSIZE_TIME64_COMPAT32): New macro.
14302 2012-05-21 Andreas Jaeger <aj@suse.de>
14304 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
14305 only if [SHARED]. Add prototype for __wcschr_ia32.
14307 2012-05-21 Roland McGrath <roland@hack.frob.com>
14309 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
14310 of %rbp unmolested in the jmp_buf while mangling the low bits.
14311 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
14312 unmolested high bits of %rbp while demangling the low bits.
14313 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14315 2012-05-21 Andreas Jaeger <aj@suse.de>
14317 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
14318 * sunrpc/svc_simple.c: Use it for registerrpc.
14319 * sunrpc/xcrypt.c: Use it for passwd2des.
14321 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
14323 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14325 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
14326 Don't define if [__SYSCALL_WORDSIZE != 32].
14327 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
14330 2012-05-21 Bruno Haible <bruno@clisp.org>
14331 Andreas Jaeger <aj@suse.de>
14333 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
14334 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
14335 inptr and inend for must_buffer_ch.
14336 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
14337 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
14338 * stdio-common/Makefile (tests): Remove bug15.
14339 (bug15-ENV): Remove macro.
14340 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
14343 2012-05-19 Andreas Jaeger <aj@suse.de>
14344 Roland McGrath <roland@hack.frob.com>
14346 * manual/contrib.texi: Completely rewritten. It contains now an
14347 alphabetical list of contributors and their contributions.
14349 2012-05-21 Richard Henderson <rth@twiddle.net>
14351 * misc/getauxval.c (__getauxval): Use unsigned long int.
14352 * misc/sys/auxv.h: Include <sys/cdefs.h>.
14353 (getauxval): Use unsigned long int.
14355 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14357 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
14359 2012-05-21 Roland McGrath <roland@hack.frob.com>
14361 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
14362 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
14363 __alignof__ (long double).
14365 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14369 2012-05-20 Richard Henderson <rth@twiddle.net>
14371 * misc/getauxval.c: New file.
14372 * misc/sys/auxv.h: New file.
14373 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
14374 (routines): Add getauxval.
14375 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
14376 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
14377 * elf/dl-sysdep.c (_dl_auxv): Remove.
14378 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
14379 * elf/dl-support.c (_dl_auxv): New variable.
14380 (_dl_aux_init): Initialize it.
14381 * manual/startup.texi (Auxiliary Vector): New node.
14382 * sysdeps/generic/bits/hwcap.h: New file.
14383 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
14384 * sysdeps/powerpc/sysdep.h: ... here. Include it.
14385 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
14386 * sysdeps/sparc/sysdep.h: ... here. Include it.
14387 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
14388 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
14389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
14392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
14393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
14394 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
14395 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14396 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14397 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
14398 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
14400 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14404 2012-05-19 David S. Miller <davem@davemloft.net>
14406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14408 2012-05-19 Joseph Myers <joseph@codesourcery.com>
14411 * math/s_ccosh.c: Include <float.h>
14412 (__ccosh): Avoid internal overflow calculating sinh and cosh
14413 values before multiplying by sin and cos values.
14414 * math/s_ccoshf.c: Likewise.
14415 * math/s_ccoshl.c: Likewise.
14416 * math/s_csin.c: Likewise.
14417 * math/s_csinf.c: Likewise.
14418 * math/s_csinl.c: Likewise.
14419 * math/s_csinh.c: Likewise.
14420 * math/s_csinhf.c: Likewise.
14421 * math/s_csinhl.c: Likewise.
14422 * math/libm-test.inc (ccos_test): Add more tests.
14423 (ccosh_test): Likewise.
14424 (csin_test): Likewise.
14425 (csinh_test): Likewise.
14426 * sysdeps/i386/fpu/libm-test-ulps: Update.
14427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14429 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
14431 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
14432 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
14434 * sysdeps/x86_64/x32/_itoa.h: Add comment.
14436 2012-05-19 Joseph Myers <joseph@codesourcery.com>
14438 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
14439 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
14440 * sysdeps/powerpc/soft-fp/Versions: Likewise.
14441 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
14442 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
14443 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
14444 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
14445 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
14446 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
14447 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
14448 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
14449 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
14450 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
14451 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
14452 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
14453 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
14454 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
14455 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
14456 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
14457 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
14458 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
14459 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
14460 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
14461 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
14462 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
14463 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
14464 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
14465 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
14466 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
14467 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
14468 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
14470 2012-05-18 Andreas Jaeger <aj@suse.de>
14472 * csu/.gitignore: Delete.
14474 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14476 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
14477 (timex): Use __syscall_slong_t.
14479 2012-05-18 Andreas Jaeger <aj@suse.de>
14480 Carlos O'Donell <carlos_odonell@mentor.com>
14482 * manual/install.texi (Configuring and compiling): Update
14483 description about files modified in the source directory.
14484 * INSTALL: Regenerated.
14486 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14488 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
14489 value. Use "or" to set return value to -1.
14490 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
14491 negate return value.
14493 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14495 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
14496 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
14497 failure if the compiler has Graphite support disabled.
14498 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
14500 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
14501 CFLAGS-memmove.c): Likewise.
14502 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
14505 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14507 * sysdeps/x86_64/x32/_itoa.h: New file.
14509 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
14510 getdents system call only if kernel and user dirents have the
14511 same d_ino and d_off.
14513 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14514 LLONG_MAX != LONG_MAX.
14515 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14516 (_fitoa_word): Likewise.
14518 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
14520 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
14521 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
14522 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
14524 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
14525 include <bits/wordsize.h>. Check __x86_64__ instead of
14527 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
14528 if __x86_64__ is defined. Use anonymous union on fpstate.
14530 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
14533 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
14535 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
14536 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
14537 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
14538 Refer to _rtld_local_ro instead of _rtld_global_ro.
14539 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
14541 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
14543 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
14545 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
14546 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
14547 of _rtld_global, and rtld_progname instead of _dl_argv[0].
14549 * sysdeps/powerpc/powerpc32/dl-machine.c
14550 (__elf_machine_runtime_setup) [PROF]: Don't reference
14553 2012-05-18 Andreas Jaeger <aj@suse.de>
14555 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
14556 function only available for GCCs before 3.4 since GCC 3.4
14557 introduced a builtin.
14559 (llrintf): Likewise.
14560 (llrint): Likewise.
14567 (nearbyint): Likewise.
14568 (nearbyintf): Likewise.
14572 (floorf): Likewise.
14574 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14576 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
14577 on both fields and cast pointer to __syscall_ulong_t.
14579 * bits/types.h (__fsword_t): New type.
14580 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
14581 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
14582 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14583 (__FSWORD_T_TYPE): Likewise.
14584 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14585 (__FSWORD_T_TYPE): Likewise.
14586 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14587 (__FSWORD_T_TYPE): Likewise.
14588 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
14589 (__FSWORD_T_TYPE): Likewise.
14590 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
14591 __SWORD_TYPE with __fsword_t.
14592 (statfs64): Likewise.
14594 2012-05-17 David S. Miller <davem@davemloft.net>
14596 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
14598 2012-05-17 Andreas Jaeger <aj@suse.de>
14600 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
14603 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14605 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
14607 2012-05-17 Andreas Jaeger <aj@suse.de>
14609 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
14612 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14614 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
14616 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14618 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
14619 * sysdeps/x86_64/tst-mallocalign1.c: New file.
14621 2012-05-17 Andreas Jaeger <aj@suse.de>
14622 Carlos O'Donell <carlos_odonell@mentor.com>
14625 * sysdeps/x86_64/multiarch/init-arch.h
14626 (bit_YMM_Usable): Rename to...
14627 (bit_AVX_Usable): ... this.
14628 (bit_FMA4_Usable): New macro.
14629 (bit_XMM_state): New macro.
14630 (bit_YMM_state): New macro.
14631 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
14632 [__ASSEMBLER__] (index_AVX_Usable): ... this.
14633 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
14634 (CPUID_OSXSAVE): New macro.
14635 (CPUID_AVX): New macro.
14636 (CPUID_FMA4): New macro.
14637 (index_YMM_Usable): Rename to...
14638 (index_AVX_Usable): ... this.
14639 (HAS_AVX): Use HAS_ARCH_FEATURE.
14640 (HAS_FMA4): Likewise.
14641 (HAS_YMM_USABLE): Remove.
14642 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14643 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
14645 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
14646 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
14647 * sysdeps/x86_64/multiarch/Makefile: Likewise.
14648 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
14649 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
14651 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14653 * math/libm-test.c: Support platforms without multiple rounding modes.
14654 * math/bug-nextafter.c: Support platforms without FP exceptions.
14655 * math/bug-nexttoward.c: Likewise.
14656 * math/test-fenv.c: Likewise.
14657 * math/test-misc.c: Likewise.
14658 * stdlib/bug-getcontext.c: Likewise.
14660 2012-05-17 Andreas Jaeger <aj@suse.de>
14662 * manual/examples/search.c (critter_cmp): Change signature to
14664 * manual/string.texi (Collation Functions): Likewise.
14666 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14668 * bits/types.h: Fold copyright years.
14669 * bits/typesizes.h: Likewise.
14670 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
14671 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14672 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
14673 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
14674 * time/time.h: Likewise.
14676 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
14679 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
14680 in instead of returning them. Return void.
14681 (__libc_mallinfo): Accumulate over all arenas.
14682 (__malloc_stats): Adjust for change in int_mallinfo interface.
14684 2012-05-16 Roland McGrath <roland@hack.frob.com>
14687 * configure.in (NM): Add AC_CHECK_TOOL for it.
14688 (libc_extra_cflags): New substituted variable.
14689 Check for -fstack-protector being used implicitly.
14690 * configure: Regenerated.
14691 * config.make.in (config-extra-cflags): New variable,
14692 gets @libc_extra_cflags@.
14693 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
14696 * configure.in: Check for _FORTIFY_SOURCE being predefined.
14697 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
14698 * configure: Regenerated.
14699 * config.make.in (CPPUNDEFS): New substituted variable.
14700 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
14701 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
14702 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
14704 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14706 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
14707 (mq_attr): Use __syscall_slong_t.
14709 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14711 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
14712 Check __x86_64__ instead of __WORDSIZE.
14713 (_STAT_VER_LINUX): Likewise.
14714 (stat): Check __x86_64__ instead of __WORDSIZE. Use
14715 __syscall_ulong_t and __syscall_slong_t.
14716 (stat64): Likewise.
14718 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14720 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
14722 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14724 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
14726 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14728 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
14731 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
14732 include <bits/wordsize.h>. Check __x86_64__ instead of
14734 (greg_t): Use "__extension__ long long int" if __x86_64__ is
14736 (mcontext_t): Replace "unsigned long" with "unsigned long long".
14738 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
14739 include <bits/wordsize.h>. Check __x86_64__ instead of
14741 (user_regs_struct): Use "__extension__ unsigned long long"
14742 instead of "unsigned long" if __x86_64__ is defined.
14743 (user): Likewise. Pad after pointer field if __ILP32__ is
14746 2012-05-16 Joseph Myers <joseph@codesourcery.com>
14748 * configure.in (makeinfo): Require version 4.5 or later. Allow
14750 * configure: Regenerated.
14751 * manual/install.texi (texinfo): Increase version requirement to
14753 * INSTALL: Regenerated.
14755 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
14757 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14759 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
14761 * sysdeps/x86_64/x32/ffs.c: New file.
14763 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
14765 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
14766 defined. Use __syscall_ulong_t.
14767 (shminfo): Use __syscall_ulong_t.
14768 (shm_info): Likewise.
14770 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
14773 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
14775 (msgqnum_t): Use __syscall_ulong_t.
14776 (msglen_t): Likewise.
14777 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
14780 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
14781 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14783 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
14785 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
14786 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
14788 * sysvipc/sys/msg.h (msgbuf): Replace long int with
14791 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
14792 include <bits/wordsize.h>. Check __x86_64__ instead of
14795 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
14796 "unsigned long long int" if __x86_64__ is defined.
14797 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
14799 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
14800 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14801 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
14803 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
14805 (GET_PC): Cast to uintptr_t first.
14806 (GET_FRAME): Likewise.
14807 (GET_STACK): Likewise.
14809 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
14810 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
14811 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
14812 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
14813 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
14814 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
14815 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
14816 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
14817 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14818 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
14819 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
14820 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
14821 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14822 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14823 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14824 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14825 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14826 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14827 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14828 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14829 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14830 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14831 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14832 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14833 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14834 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14835 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14836 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14837 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14839 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
14841 * Makerules (+depfiles): Also collect depfiles from .oS in
14843 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14844 .oS, $(libnldbl-routines)).
14846 * Makerules (native-compile-mkdep-flags): Define.
14847 * sunrpc/Makefile (extra-objs): Add $(addprefix
14848 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14849 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14850 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
14851 calling $(make-target-directory).
14853 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14855 * bits/types.h (__snseconds_t): Removed.
14856 * time/time.h (struct timespec): Replace __snseconds_t with
14858 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14859 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14861 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14862 (__SNSECONDS_T_TYPE): Likewise.
14863 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14864 (__SNSECONDS_T_TYPE): Likewise.
14865 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14866 (__SNSECONDS_T_TYPE): Likewise.
14868 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14870 * sysdeps/mach/hurd/bits/typesizes.h
14871 (__SYSCALL_SLONG_TYPE): New macro.
14872 (__SYSCALL_ULONG_TYPE): Likewise.
14874 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14876 * bits/types.h (__syscall_slong_t): New type.
14877 (__syscall_ulong_t): Likewise.
14879 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14880 (__SYSCALL_ULONG_TYPE): Likewise.
14881 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14882 (__SYSCALL_SLONG_TYPE): Likewise.
14883 (__SYSCALL_ULONG_TYPE): Likewise.
14884 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14885 (__SYSCALL_SLONG_TYPE): Likewise.
14886 (__SYSCALL_ULONG_TYPE): Likewise.
14887 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14888 (__SYSCALL_SLONG_TYPE): Likewise.
14889 (__SYSCALL_ULONG_TYPE): Likewise.
14891 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14893 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14894 Add sigaltstack-offsets.sym.
14895 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14896 <sigaltstack-offsets.h>.
14897 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
14898 longjmp_msg pointer.
14899 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
14900 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14902 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14904 2012-05-15 Joseph Myers <joseph@codesourcery.com>
14906 * elf/stackguard-macros.h: Remove file.
14907 * sysdeps/generic/stackguard-macros.h: New file.
14908 * sysdeps/i386/stackguard-macros.h: Likewise.
14909 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14910 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14911 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14912 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14913 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14914 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14915 * sysdeps/x86_64/stackguard-macros.h: Likewise.
14916 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14917 <elf/stackguard-macros.h>.
14920 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14921 __aligned__ in attribute.
14922 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14923 (gregset_t): Likewise.
14925 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14927 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14928 * sysdeps/x86_64/64/Implies-after: Here. New file.
14929 * sysdeps/x86_64/x32/Implies-after: New file.
14931 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14933 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14934 and access return value for _dl_profile_fixup. Use R10_LP to
14937 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14939 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14941 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14943 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14944 * sysdeps/x86_64/x32/sysdep.h: New file.
14946 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14948 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14949 * sysdeps/x86_64/setjmp.S: Likewise.
14951 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14953 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14954 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14955 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14956 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14957 remove unused global constant.
14959 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14961 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14962 include of <not-cancel.h>.
14964 2012-05-15 Roland McGrath <roland@hack.frob.com>
14966 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14968 2012-05-15 Jeff Law <law@redhat.com>
14969 Andreas Jaeger <aj@suse.de>
14972 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14974 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14975 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14976 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14977 code changing __hst_map_handle.map.
14979 2012-05-15 Roland McGrath <roland@hack.frob.com>
14981 * configure.in (sysnames): Look for Implies-before and Implies-after
14983 * configure: Regenerated.
14985 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14987 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14988 8-byte data alignment with LP_SIZE alignment.
14990 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14992 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14995 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14997 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14999 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15001 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
15002 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
15003 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
15005 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15007 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15009 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
15010 (stackinfo_sub_sp): Likewise.
15012 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15014 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
15017 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15019 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
15022 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15024 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
15027 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15029 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
15031 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15033 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
15034 into R11_LP and load __x86_64_shared_cache_size_half into
15037 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15039 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
15042 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15044 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
15046 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
15048 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
15050 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
15051 powerpc32/power7/fpu/s_logb.c via #include.
15052 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
15053 powerpc32/power7/fpu/s_logbf.c via #include.
15054 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
15055 powerpc32/power7/fpu/s_logbl.c via #include.
15057 2012-05-15 Joseph Myers <joseph@codesourcery.com>
15059 * README.libm: Remove file.
15061 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15063 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
15064 count for x32. Use R*_LP and omit operand-size suffix.
15066 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15068 * shlib-versions: Move x86_64-.*-linux.* entries to ...
15069 * sysdeps/x86_64/64/shlib-versions: Here. New file.
15070 * sysdeps/x86_64/x32/shlib-versions: New file.
15072 2012-05-14 Roland McGrath <roland@hack.frob.com>
15074 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
15075 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
15076 Use _dl_fatal_printf instead.
15078 2012-05-14 Joseph Myers <joseph@codesourcery.com>
15080 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
15081 set if not set by the user. Do not allow for being unset.
15082 * sysdeps/unix/sysv/linux/configure: Regenerated.
15084 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15086 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
15087 the `q' suffix from lea and replace .quad with ASM_ADDR.
15089 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15091 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
15092 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
15094 (PTR_DEMANGLE): Likewise.
15096 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15098 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
15100 (ASM_ADDR): Likewise.
15101 (RAX_LP): Likewise.
15102 (RBP_LP): Likewise.
15103 (RBX_LP): Likewise.
15104 (RCX_LP): Likewise.
15105 (RDI_LP): Likewise.
15106 (RSI_LP): Likewise.
15107 (RSP_LP): Likewise.
15110 (R10_LP): Likewise.
15111 (R10_LP): Likewise.
15112 (R11_LP): Likewise.
15113 (R12_LP): Likewise.
15114 (R13_LP): Likewise.
15115 (R14_LP): Likewise.
15116 (R15_LP): Likewise.
15118 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15120 * sysdeps/x86_64/x32/dl-machine.h: New file.
15122 2012-05-14 Andreas Jaeger <aj@suse.de>
15124 * manual/Makefile (subdir): Remove export of subdir.
15125 (all): Remove target.
15126 (.PHONY): Remove all from list.
15127 (mkinstalldirs): Remove.
15128 (.PHONY): Remove installdirs from list.
15129 ($(inst_infodir)/libc.info): Use make-target-directory.
15130 (installdirs): Remove.
15131 (subdir_%): Remove.
15132 (glibc-targets): Remove.
15135 ($(objpfx)stubs ../po/manual.pot): Remove.
15136 ($(objpfx)stamp%): Remove.
15137 (make-target-directory): Remove.
15138 (subdir_install): Remove.
15139 (routines): Remove.
15146 * manual/.gitignore: Remove, it's not needed anymore.
15147 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
15149 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
15151 (texis): Renamed to $(objpfx)texis.
15152 (texis-path): New, contains path to generated files.
15153 (chapters.%): Use texis-path for complete path, add extra argument
15155 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
15156 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
15157 (summary,texi, stamp-summary): Use complete path of
15158 files. Generate files in build dir.
15159 (dir-add.texi): Build in build dir.
15160 (libm-err.texi,stamp-libm-err): Likewise.
15161 (version.texi, stamp-version): Likewise.
15162 (.%c.texi): Likewise.
15163 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
15164 (mostlyclean): Remove target.
15165 (realclean): Remove target.
15166 (generated): Add new variable with contents from mostlyclean and
15167 realclean, remove entries duplicated in common-mostlyclean, add
15168 stamp-libm-err and stamp-version.
15169 (generated-dirs): Add libc directory.
15170 ($(inst_infodir)/libc.info): Install files from build dir.
15172 * manual/install.texi (Configuring and compiling): Adjust since
15173 the info files are not part of the tar ball anymore.
15175 2012-05-14 Andreas Jaeger <aj@suse.de>
15177 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
15180 2012-05-14 Joseph Myers <joseph@codesourcery.com>
15183 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15184 to 2.2.0 where earlier.
15185 * sysdeps/unix/sysv/linux/configure: Regenerated.
15186 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
15187 Remove conditional code.
15188 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
15189 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
15190 Remove conditional code.
15191 [!__NR_lchown]: Likewise.
15192 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15193 [__NR_lchown]: Likewise.
15194 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
15195 comment referencing __ASSUME_LCHOWN_SYSCALL.
15196 * sysdeps/unix/sysv/linux/i386/sigaction.c
15197 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15198 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15199 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
15200 Remove conditional code.
15201 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
15202 (__protocol_available): Remove #if 0 code.
15203 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
15205 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
15206 * sysdeps/unix/sysv/linux/kernel-features.h
15207 (__ASSUME_GETCWD_SYSCALL): Don't define.
15208 (__ASSUME_REALTIME_SIGNALS): Likewise.
15209 (__ASSUME_PREAD_SYSCALL): Likewise.
15210 (__ASSUME_PWRITE_SYSCALL): Likewise.
15211 (__ASSUME_POLL_SYSCALL): Likewise.
15212 (__ASSUME_LCHOWN_SYSCALL): Likewise.
15213 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
15215 (__ASSUME_SIOCGIFNAME): Don't define.
15216 (__ASSUME_MSG_NOSIGNAL): Likewise.
15217 (__ASSUME_SENDFILE): Define unconditionally.
15218 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
15219 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
15221 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
15222 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
15223 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15224 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15225 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
15226 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15227 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
15229 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15230 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15232 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15233 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
15235 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15236 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
15238 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15239 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
15241 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15242 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
15244 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15245 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
15247 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15248 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
15250 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15251 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15252 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
15253 Remove conditional code.
15254 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15255 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15256 Remove conditional code.
15257 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15258 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
15259 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
15260 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15261 Remove conditional code.
15262 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15263 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
15264 Remove conditional code.
15265 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15266 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
15267 Remove conditional code.
15268 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15269 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15270 Remove conditional code.
15271 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15272 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15273 Remove conditional code.
15274 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15275 * sysdeps/unix/sysv/linux/sh/pwrite64.c
15276 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15277 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15278 * sysdeps/unix/sysv/linux/sigaction.c
15279 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15280 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15281 * sysdeps/unix/sysv/linux/sigpending.c
15282 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15283 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15284 * sysdeps/unix/sysv/linux/sigprocmask.c
15285 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15286 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15287 * sysdeps/unix/sysv/linux/sigsuspend.c
15288 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15289 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15290 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15291 (__libc_missing_rt_sigs): Remove.
15292 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
15293 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
15294 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
15295 Remove conditional code.
15296 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
15297 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
15299 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
15300 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
15301 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
15302 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
15304 2012-05-14 Andreas Jaeger <aj@suse.de>
15306 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
15307 it's not used in glibc.
15308 (__coshm1): Likewise.
15309 (__acosh1p): Likewise.
15312 * manual/string.texi (Copying and Concatenation): Add missing
15313 variable in concat example.
15314 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15316 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15319 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
15320 __builtin_clzl with __builtin_clzll.
15322 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15325 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
15328 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15330 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
15331 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
15332 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
15333 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
15335 2012-05-14 Mike Frysinger <vapier@gentoo.org>
15337 * NEWS: Update ia64 info.
15339 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
15341 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
15344 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
15346 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
15347 * sysdeps/unix/syscalls.list (dup3): Likewise.
15348 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
15349 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
15351 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15353 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
15354 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
15356 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15358 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
15360 (TLS_IE): Use mov/add instead of movq/addq to load thread
15362 (TLS_GD_PREFIX): New.
15365 2012-05-11 David S. Miller <davem@davemloft.net>
15367 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
15368 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
15369 (_FPU_SETCW): Likewise.
15371 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15373 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
15374 is 32-byte aligned.
15376 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
15379 * iconvdata/gb18030.c: Update tables.
15380 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
15381 characters specially.
15382 (BODY for TO_LOOP): Add encoding of missing ranges.
15384 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
15387 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
15388 * sysdeps/mach/hurd/dup3.c: Likewise.
15389 * sysdeps/mach/hurd/readlinkat.c: Likewise.
15390 * sysdeps/powerpc/memmove.c:: Likewise.
15392 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15394 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
15395 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
15397 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15399 * elf/elf.h (R_X86_64_RELATIVE64): New.
15400 (R_X86_64_NUM): Updated.
15401 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15402 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
15403 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
15404 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
15405 tst-quad1pie tst-quad2pie
15406 (modules-names): Add tst-quadmod1 tst-quadmod2.
15407 ($(objpfx)tst-quad1): New dependency.
15408 ($(objpfx)tst-quad2): Likewise.
15409 ($(objpfx)tst-quad1pie): Likewise.
15410 ($(objpfx)tst-quad2pie): Likewise.
15411 * sysdeps/x86_64/tst-quad1.c: New file.
15412 * sysdeps/x86_64/tst-quad1pie.c: New file.
15413 * sysdeps/x86_64/tst-quad2.c: Likewise.
15414 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
15415 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
15416 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
15417 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
15418 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
15420 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15422 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
15423 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
15424 * streams/stropts.h (t_scalar_t): Define type.
15426 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
15427 (_PATH_PRESERVE): Set to "/var/lib".
15428 (_PATH_RWHODIR): Set to "/var/spool/rwho".
15430 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
15433 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
15434 if __dir_mkfile succeeded.
15436 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
15437 checking for _hurd_dtablesize. Unlock it right after having
15438 finished _hurd_dtable allocation.
15440 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15442 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
15443 * sysdeps/mach/hurd/configure: Regenerated.
15444 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
15445 special-casing to...
15446 * sysdeps/gnu/configure.in: ... this new file.
15447 * sysdeps/unix/sysv/linux/configure: Regenerated.
15448 * sysdeps/gnu/configure: New generated file.
15450 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
15451 for Linux: use nsec instead of usec, as well as:
15452 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
15453 members of type struct timespec.
15454 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
15456 (struct stat64): Likewise.
15457 (_STATBUF_ST_NSEC): New macro.
15458 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
15460 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15461 __strtoul_internal rather than strtoul.
15463 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15465 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
15468 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15470 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
15471 which preserves existing values.
15472 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
15474 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15476 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
15477 TIMEOUT values. Return EINVAL for NFDS values either negative or
15478 greater than FD_SETSIZE.
15480 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15482 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
15483 allocated, call __vm_protect to finish enabling the existing space, and
15484 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
15485 allocate the remainder.
15487 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15489 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
15490 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
15492 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15494 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
15495 sysdeps/mach/hurd/readlink.c.
15497 * posix/tst-sysconf.c (posix_options): Only use
15498 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
15499 _POSIX_SYNCHRONIZED_IO when they are defined
15500 * sysdeps/mach/hurd/bits/posix_opt.h:
15501 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
15502 (_XOPEN_REALTIME): Undefine macro.
15503 (_XOPEN_REALTIME_THREADS): Undefine macro.
15504 (_XOPEN_SHM): Undefine macro.
15505 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
15507 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
15509 (_POSIX_ASYNC_IO): Undefine macro.
15510 (_POSIX_PRIORITIZED_IO): Undefine macro.
15511 (_POSIX_SPIN_LOCKS): Define macro to -1.
15513 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
15514 SA_NODEFER, SA_RESETHAND.
15515 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
15516 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
15519 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15521 * elf/Makefile (pldd-modules): Define unconditionally.
15523 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15525 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
15527 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15529 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
15530 Return ENOENT when name is empty.
15531 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
15533 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15535 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
15537 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
15539 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15541 Fix mlock in all cases except non-readable pages.
15542 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
15543 instead of VM_PROT_ALL as parameter to __vm_wire function.
15545 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
15546 (__mkdir): When path is `/', just fail with EEXIST.
15547 * sysdeps/mach/hurd/mkdirat.c: Likewise.
15549 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15551 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
15552 <sys/uio.h> (for writev).
15553 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
15554 and <sys/param.h> (for MIN).
15556 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15558 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
15559 REQUESTED_TIME. Properly set the remaining time and return EINTR
15562 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15564 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
15565 Depend on against $(link-rpcuserlibs).
15567 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15569 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
15570 (__libc_stack_end): Do not use attribute_relro.
15571 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
15572 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
15573 to libthread-provided value.
15574 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
15577 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15580 * bits/libc-lock.h (__libc_once_get): New macro.
15581 * sysdeps/mach/bits/libc-lock.h: Likewise.
15582 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
15583 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
15584 instead of using implementation details.
15586 * libio/fileops.c: Unconditionally include <kernel-features.h>.
15587 * libio/freopen.c: Likewise.
15588 * libio/freopen64.c: Likewise.
15589 * misc/syslog.c: Likewise.
15590 * nscd/connections.c: Likewise.
15591 * nscd/netgroupcache.c: Likewise.
15592 * sysdeps/posix/getcwd.c: Likewise.
15594 2012-05-10 Roland McGrath <roland@hack.frob.com>
15596 * math/w_ilogbf.c: Add #include <limits.h>.
15598 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15600 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
15601 path instead of returning without unlocking.
15603 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
15604 immediate-write ioctls.
15605 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
15607 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15609 * sysdeps/mach/hurd/i386/init-first.c (init): Use
15610 __builtin_frame_address instead of making assumptions about the
15611 location of the return address relative to DATA. Force early load of
15612 the return address.
15613 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
15614 __builtin_frame_address.
15617 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
15618 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
15619 implement dup3 and do some further code clean-ups.
15620 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
15621 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
15623 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15625 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
15627 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
15628 HURD_CRITICAL_END around holding _hurd_dtable_lock.
15629 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
15630 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
15631 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
15634 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
15635 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
15636 when handler == SIG_ERR, not when handler != SIG_ERR.
15638 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15640 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
15641 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
15644 accept4 for GNU Hurd.
15645 * include/sys/socket.h (__libc_accept4): New prototype.
15646 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
15647 to implement __libc_accept4.
15648 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
15650 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
15652 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
15653 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
15654 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
15655 signal-defines.sym.
15657 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15659 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
15661 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15663 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
15664 assertion on O_CLOEXEC flag.
15665 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
15666 * hurd/intern-fd.c: Likewise.
15667 * hurd/port2fd.c: Likewise.
15669 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15672 * bits/in.h (IPV6_PKTINFO): Define new macro.
15673 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
15675 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15680 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
15681 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15682 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
15683 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15684 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15685 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15686 * math/libm-test.inc (logb_test) : Additional logb tests.
15688 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
15689 Andreas Jaeger <aj@suse.de>
15691 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
15692 * configure: Regenerated.
15693 * config.h.in (LINK_OBSOLETE_RPC): New macro.
15694 * config.make.in (link-obsolete-rpc): New substituted variable.
15695 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
15696 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
15697 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15698 (shared-only-routines): Don't set it under [link-obsolete-rpc],
15699 so that libc.a contains the symbols.
15700 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15701 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
15702 * sunrpc/auth_none.c: Likewise.
15703 * sunrpc/auth_unix.c: Likewise.
15704 * sunrpc/authdes_prot.c: Likewise.
15705 * sunrpc/authuxprot.c: Likewise.
15706 * sunrpc/clnt_gen.c: Likewise.
15707 * sunrpc/clnt_perr.c: Likewise.
15708 * sunrpc/clnt_raw.c: Likewise.
15709 * sunrpc/clnt_simp.c: Likewise.
15710 * sunrpc/clnt_tcp.c: Likewise.
15711 * sunrpc/clnt_udp.c: Likewise.
15712 * sunrpc/clnt_unix.c: Likewise.
15713 * sunrpc/des_crypt.c: Likewise.
15714 * sunrpc/des_soft.c: Likewise.
15715 * sunrpc/get_myaddr.c: Likewise.
15716 * sunrpc/key_call.c: Likewise.
15717 * sunrpc/key_prot.c: Likewise.
15718 * sunrpc/netname.c: Likewise.
15719 * sunrpc/pm_getmaps.c: Likewise.
15720 * sunrpc/pm_getport.c: Likewise.
15721 * sunrpc/pmap_clnt.c: Likewise.
15722 * sunrpc/pmap_prot.c: Likewise.
15723 * sunrpc/pmap_prot2.c: Likewise.
15724 * sunrpc/pmap_rmt.c: Likewise.
15725 * sunrpc/publickey.c: Likewise.
15726 * sunrpc/rpc_cmsg.c: Likewise.
15727 * sunrpc/rpc_common.c: Likewise.
15728 * sunrpc/rpc_dtable.c: Likewise.
15729 * sunrpc/rpc_prot.c: Likewise.
15730 * sunrpc/rpc_thread.c: Likewise.
15731 * sunrpc/rtime.c: Likewise.
15732 * sunrpc/svc.c: Likewise.
15733 * sunrpc/svc_auth.c: Likewise.
15734 * sunrpc/svc_raw.c: Likewise.
15735 * sunrpc/svc_run.c: Likewise.
15736 * sunrpc/svc_tcp.c: Likewise.
15737 * sunrpc/svc_udp.c: Likewise.
15738 * sunrpc/svc_unix.c: Likewise.
15739 * sunrpc/svcauth_des.c: Likewise.
15740 * sunrpc/xcrypt.c: Likewise.
15741 * sunrpc/xdr.c: Likewise.
15742 * sunrpc/xdr_array.c: Likewise.
15743 * sunrpc/xdr_float.c: Likewise.
15744 * sunrpc/xdr_intXX_t.c: Likewise.
15745 * sunrpc/xdr_mem.c: Likewise.
15746 * sunrpc/xdr_rec.c: Likewise.
15747 * sunrpc/xdr_ref.c: Likewise.
15748 * sunrpc/xdr_sizeof.c: Likewise.
15749 * sunrpc/xdr_stdio.c: Likewise.
15751 2012-05-10 Roland McGrath <roland@hack.frob.com>
15753 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
15754 change. Update copyright years.
15756 2012-05-10 Joseph Myers <joseph@codesourcery.com>
15758 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
15760 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
15761 Joseph Myers <joseph@codesourcery.com>
15762 Paul Pluzhnikov <ppluzhnikov@google.com>
15765 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
15767 [cross-compiling] (extra-libs): Likewise.
15768 [cross-compiling] (extra-libs-others): Likewise.
15769 [cross-compiling] (librpcsvc-routines): Likewise.
15770 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
15771 [cross-compiling] (omit-deps): Likewise.
15772 (sunrpc-CPPFLAGS): New variable.
15773 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
15774 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
15775 (cross-rpcgen-objs): New variable.
15776 (extra-objs): Append $(cross-rpcgen-objs).
15777 ($(cross-rpcgen-objs)): New rule.
15778 ($(objpfx)cross-rpcgen): Likewise.
15779 (rpcgen-cmd): Define to use $(built-program-file). Expand
15781 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
15782 ($(objpfx)x%.stmp): Likewise.
15783 * sunrpc/proto.h [IS_IN_build] (_): Define.
15784 [IS_IN_build] (_libc_intl_domainname): Likewise.
15786 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15788 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
15789 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
15790 and R_X86_64_TPOFF64.
15792 2012-05-10 Joseph Myers <joseph@codesourcery.com>
15794 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
15795 sysdeps/unix/sysv/syscalls.list.
15798 * sysdeps/unix/sysv/syscalls.list: Remove file.
15800 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
15803 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
15804 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
15805 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
15806 (__LC_IDENTIFICATION): Make these macros useful in #if
15807 expressions, as required by C99.
15809 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
15811 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
15812 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
15815 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
15817 * stdlib/longlong.h: Updated from GCC.
15819 2012-05-09 Andreas Jaeger <aj@suse.de>
15821 * nscd/nscd.c (run_modes): Make named enum, reorder so that
15822 default is first entry.
15823 (run_mode): Set type.
15824 (main): Remove informal message about syslog.
15825 (options): Fix typo.
15828 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
15831 (llrintf): Likewise.
15832 (llrint): Likewise.
15835 (nearbyint): Likewise.
15836 (nearbyintf): Likewise.
15838 2012-05-09 Andreas Jaeger <aj@suse.de>
15839 Pedro Alves <palves@redhat.com>
15841 * nscd/nscd.c (run_mode): Use enum.
15842 (main): Cleanup coding style issue.
15844 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
15845 Andreas Jaeger <aj@suse.de>
15847 * nscd/nscd.c (go_background): Replaced with...
15848 (run_mode): ... this.
15849 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
15850 (options): Add -F --foreground.
15851 (main): Implement it.
15852 (parse_opt): Parse it.
15854 2012-05-09 Andreas Jaeger <aj@suse.de>
15857 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15858 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15859 -Wconversion warning.
15860 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15863 2012-05-09 Joseph Myers <joseph@codesourcery.com>
15865 * conform/data/locale.h-data (NULL): Use macro-constant. Require
15867 (LC_ALL): Use macro-int-constant.
15868 (LC_COLLATE): Likewise.
15869 (LC_CTYPE): Likewise.
15870 (LC_MESSAGES): Likewise.
15871 (LC_MONETARY): Likewise.
15872 (LC_NUMERIC): Likewise.
15873 (LC_TIME): Likewise.
15874 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15875 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15876 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15877 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15879 [C99-based standards] (float_t): Expect type.
15880 [C99-based standards] (double_t): Expect type.
15881 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
15883 [C99-based standards] (HUGE_VALL): Likewise.
15884 [C99-based standards] (INFINITY): Likewise.
15885 [C99-based standards] (NAN): Likewise.
15886 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15887 [C99-based standards] (FP_NAN): Likewise.
15888 [C99-based standards] (FP_NORMAL): Likewise.
15889 [C99-based standards] (FP_SUBNORMAL): Likewise.
15890 [C99-based standards] (FP_ZERO): Likewise.
15891 [C99-based standards] (FP_FAST_FMA): Use
15892 optional-macro-int-constant. Specify type. Require == 1.
15893 [C99-based standards] (FP_FAST_FMAF): Likewise.
15894 [C99-based standards] (FP_FAST_FMAL): Likewise.
15895 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15896 [C99-based standards] (FP_ILOGBNAN): Likewise.
15897 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15899 [C99-based standards] (MATH_ERREXCEPT): Likewise.
15900 [C99-based standards] (math_errhandling): Specify type.
15901 [ISO99 || ISO11] (signgam): Do not allow.
15902 [non-C99-based standards] (copysignf): Do not allow.
15903 [non-C99-based standards] (exp2f): Likewise.
15904 [non-C99-based standards] (log2f): Likewise.
15905 [non-C99-based standards] (modff): Allow.
15906 [non-C99-based standards] (erff): Do not allow.
15907 [non-C99-based standards] (erfcf): Likewise.
15908 [non-C99-based standards] (gammaf): Likewise.
15909 [non-C99-based standards] (hypotf): Likewise.
15910 [non-C99-based standards] (j0f): Likewise.
15911 [non-C99-based standards] (j1f): Likewise.
15912 [non-C99-based standards] (jnf): Likewise.
15913 [non-C99-based standards] (lgammaf): Likewise.
15914 [non-C99-based standards] (tgammaf): Likewise.
15915 [non-C99-based standards] (y0f): Likewise.
15916 [non-C99-based standards] (y1f): Likewise.
15917 [non-C99-based standards] (ynf): Likewise.
15918 [non-C99-based standards] (isnanf): Likewise.
15919 [non-C99-based standards] (acoshf): Likewise.
15920 [non-C99-based standards] (asinhf): Likewise.
15921 [non-C99-based standards] (atanhf): Likewise.
15922 [non-C99-based standards] (cbrtf): Likewise.
15923 [non-C99-based standards] (expm1f): Likewise.
15924 [non-C99-based standards] (ilogbf): Likewise.
15925 [non-C99-based standards] (log1pf): Likewise.
15926 [non-C99-based standards] (logbf): Likewise.
15927 [non-C99-based standards] (nextafterf): Likewise.
15928 [non-C99-based standards] (remainderf): Likewise.
15929 [non-C99-based standards] (rintf): Likewise.
15930 [non-C99-based standards] (scalbf): Likewise.
15931 [non-C99-based standards] (copysignl): Likewise.
15932 [non-C99-based standards] (exp2l): Likewise.
15933 [non-C99-based standards] (log2l): Likewise.
15934 [non-C99-based standards] (modfl): Allow.
15935 [non-C99-based standards] (erfl): Do not allow.
15936 [non-C99-based standards] (erfcl): Likewise.
15937 [non-C99-based standards] (gammal): Likewise.
15938 [non-C99-based standards] (hypotl): Likewise.
15939 [non-C99-based standards] (j0l): Likewise.
15940 [non-C99-based standards] (j1l): Likewise.
15941 [non-C99-based standards] (jnl): Likewise.
15942 [non-C99-based standards] (lgammal): Likewise.
15943 [non-C99-based standards] (tgammal): Likewise.
15944 [non-C99-based standards] (y0l): Likewise.
15945 [non-C99-based standards] (y1l): Likewise.
15946 [non-C99-based standards] (ynl): Likewise.
15947 [non-C99-based standards] (isnanl): Likewise.
15948 [non-C99-based standards] (acoshl): Likewise.
15949 [non-C99-based standards] (asinhl): Likewise.
15950 [non-C99-based standards] (atanhl): Likewise.
15951 [non-C99-based standards] (cbrtl): Likewise.
15952 [non-C99-based standards] (expm1l): Likewise.
15953 [non-C99-based standards] (ilogbl): Likewise.
15954 [non-C99-based standards] (log1pl): Likewise.
15955 [non-C99-based standards] (logbl): Likewise.
15956 [non-C99-based standards] (nextafterl): Likewise.
15957 [non-C99-based standards] (remainderl): Likewise.
15958 [non-C99-based standards] (rintl): Likewise.
15959 [non-C99-based standards] (scalbl): Likewise.
15960 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15961 [non-C99-based standards] (FP_*): Do not allow.
15962 [C99-based standards] (FP_*): Change to
15963 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15964 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15966 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15967 (SIG_ERR): Likewise.
15968 [X/Open-based standards] (SIG_HOLD): Likewise.
15969 (SIG_IGN): Likewise.
15970 (SIGABRT): Use macro-int-constant. Specify type. Require
15972 (SIGFPE): Likewise.
15973 (SIGILL): Likewise.
15974 (SIGINT): Likewise.
15975 (SIGSEGV): Likewise.
15976 (SIGTER): Likewise.
15977 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15978 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15979 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15980 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15981 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15982 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15983 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15984 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15985 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15986 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15987 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15988 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15989 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15990 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15991 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15992 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15993 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15994 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15995 [X/Open-based standards] (SIGTRAP): Likewise.
15996 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15997 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15998 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15999 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
16000 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16003 2012-05-08 Ian Wienand <ianw@vmware.com>
16006 * time/tzset.c (__tzset_parse_tz): Update default rules for
16007 daylight time changes in the Energy Policy Act of 2005.
16009 2012-05-09 Andreas Jaeger <aj@suse.de>
16012 * elf/ldconfig.c (parse_conf): Change string to make clear that
16013 ldconfig only issued a warning if ld.so.conf does not exist.
16015 2012-05-08 David S. Miller <davem@davemloft.net>
16017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
16018 movxtod instead of popping the value on the stack.
16020 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16022 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
16024 * config.h.in: Add HAVE_ARM_PCS_VFP.
16026 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
16029 * include/features.h: Warn if user requests __FORTIFY_SOURCE
16030 checking but the checks are disabled for any reason.
16032 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
16034 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
16035 and ELF64_R_TYPE with ELFW(R_TYPE).
16037 2012-05-08 Joseph Myers <joseph@codesourcery.com>
16039 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
16040 (ulimit): Likewise.
16042 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
16043 (settimeofday): Likewise.
16045 2012-05-08 Mike Frysinger <vapier@gentoo.org>
16047 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
16048 a struct th_u2 inside the union, and move tu_block/tu_code into
16049 a new th_u3 union of tu_block/tu_code inside of that. Move
16050 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
16051 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
16052 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
16053 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
16054 (th_stuff): Change to th_u1.tu_stuff.
16056 (th_msg): Change to th_u1.th_u2.tu_data.
16058 2012-05-07 David S. Miller <davem@davemloft.net>
16060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16063 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
16064 (SETUP_PIC_REG): Use it.
16065 (SETUP_PIC_REG_LEAF): Use it.
16067 2012-05-07 Joseph Myers <joseph@codesourcery.com>
16071 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16073 (EXPL_FINITE): Likewise.
16074 (FLDLOG): Likewise.
16075 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
16076 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
16078 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16080 (EXPL_FINITE): Likewise.
16081 (FLDLOG): Likewise.
16082 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
16083 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
16085 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
16086 test of -max_value argument for long double.
16087 * sysdeps/i386/fpu/libm-test-ulps: Update.
16088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16090 2012-05-06 David S. Miller <davem@davemloft.net>
16092 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
16093 quad soft-float symbols whose references which are compiler
16095 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16097 2012-05-06 Joseph Myers <joseph@codesourcery.com>
16101 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16103 (EXPL_FINITE): Likewise.
16104 (FLDLOG): Likewise.
16107 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
16108 Adjust comments for base varying.
16109 (__expl_finite): Change alias to EXPL_FINITE.
16110 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
16112 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
16113 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16114 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16115 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
16116 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16118 (EXPL_FINITE): Likewise.
16119 (FLDLOG): Likewise.
16122 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
16123 Adjust comments for base varying.
16124 (__expl_finite): Change alias to EXPL_FINITE.
16125 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
16127 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16130 * math/libm-test.inc (check_float_internal): Correct ulp
16131 calculation for subnormal expected results.
16133 2012-05-06 Andreas Jaeger <aj@suse.de>
16135 * Makeconfig (+math-flags): New, set to -frounding-math.
16136 (+cflags): Add +math-flags so that all of glibc gets compiled with
16139 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
16141 2012-05-05 Joseph Myers <joseph@codesourcery.com>
16143 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
16149 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
16150 (__ieee754_expl): Allow for and saturate large arguments.
16151 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
16152 (u_threshold): Likewise.
16153 (__exp): Call __ieee754_exp before checking for overflow and
16155 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
16156 (u_threshold): Likewise.
16157 (__expf): Call __ieee754_expf before checking for overflow and
16159 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
16160 (u_threshold): Likewise.
16161 (__expl): Call __ieee754_expl before checking for overflow and
16163 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
16164 (__ieee754_expl): Allow for and saturate large arguments.
16165 * math/libm-test.inc (exp_test): Add another test. Do not allow
16166 missing overflow exception on overflow.
16167 (expm1_test): Do not allow missing overflow exception on overflow.
16169 * sysdeps/i386/fpu/e_expl.c: Move to ...
16170 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
16171 rather than using inline asm.
16172 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
16173 * sysdeps/x86_64/fpu/e_expl.S: Copy from
16174 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
16176 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
16179 (signal): Likewise.
16183 2012-05-04 Joseph Myers <joseph@codesourcery.com>
16185 * sysdeps/unix/syscalls.list (adjtime): Add entry from
16186 sysdeps/unix/common/syscalls.list.
16187 (fchmod): Likewise.
16188 (fchown): Likewise.
16189 (ftruncate): Likewise.
16190 (getrusage): Likewise.
16191 (gettimeofday): Likewise.
16192 (setpgid): Likewise.
16193 (setregid): Likewise.
16194 (setreuid): Likewise.
16195 (sigaction): Likewise.
16196 (truncate): Likewise.
16197 (vhangup): Likewise.
16198 * sysdeps/unix/common/syscalls.list: Remove file.
16199 * sysdeps/unix/bsd/Implies: Don't include unix/common.
16200 * sysdeps/unix/sysv/linux/Implies: Likewise.
16202 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
16204 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
16205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
16206 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
16208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
16210 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
16212 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
16213 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
16215 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
16216 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
16218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
16219 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
16221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
16222 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
16224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
16225 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
16227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
16228 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
16230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16232 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
16234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
16236 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
16238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
16239 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
16241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
16243 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
16245 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
16247 2012-05-04 Joseph Myers <joseph@codesourcery.com>
16249 * sysdeps/unix/common/bits/dirent.h: Remove file.
16250 * sysdeps/unix/common/bits/fcntl.h: Likewise.
16252 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
16253 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
16254 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
16255 * sysdeps/unix/bsd/isatty.c: Likewise.
16256 * sysdeps/unix/bsd/tcdrain.c: Likewise.
16257 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
16258 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
16260 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16263 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
16264 long double comparison inaccuracies.
16265 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16268 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
16270 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
16271 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
16273 2012-05-04 Joseph Myers <joseph@codesourcery.com>
16276 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
16277 nonzero digits before rounding a hex value.
16278 * stdlib/tst-strtod.c (tests): Add another test.
16280 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16282 * sysdeps/s390/fpu/libm-test-ulps: Update.
16284 2012-05-03 Andreas Jaeger <aj@suse.de>
16286 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
16287 does not get optimized out.
16288 (malloc_opt_barrier): New.
16290 2012-05-03 Andreas Jaeger <aj@suse.de>
16291 Roland McGrath <roland@hack.frob.com>
16293 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
16294 intermediate file deletion.
16295 (generated): Add .symlist files.
16297 2012-05-03 Joseph Myers <joseph@codesourcery.com>
16300 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
16301 Redirect under this condition.
16302 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16303 [__USE_GNU] (__dprintf_chk): Not under this condition.
16304 [__USE_GNU] (__vdprintf_chk): Likewise.
16305 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
16306 under this condition.
16307 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16308 [__USE_XOPEN2K8] (dprintf): Define under this condition.
16309 [__USE_XOPEN2K8] (vdprintf): Likewise.
16310 [__USE_GNU] (__dprintf_chk): Not under this condition.
16311 [__USE_GNU] (__vdprintf_chk): Likewise.
16312 [__USE_GNU] (dprintf): Likewise.
16313 [__USE_GNU] (vdprintf): Likewise.
16315 2012-05-03 Roland McGrath <roland@hack.frob.com>
16317 * elf/Makefile (common-generated): Set this instead of generated for
16318 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
16319 $(all-built-dso)-derived lists.
16321 2012-05-03 Andreas Jaeger <aj@suse.de>
16323 * sysdeps/i386/fpu/libm-test-ulps: Update.
16326 * FAQ.in: Likewise.
16327 * scripts/gen-FAQ.pl: Likewise.
16328 * manual/install.texi (Installation): Point to online location of
16330 * Makefile (files-for-dist): Remove FAQ.
16333 2012-05-02 Allan McRae <allan@archlinux.org>
16335 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
16336 (LDFLAGS-reldepmod5.so): Likewise.
16337 (LDFLAGS-reldep6mod1.so): Likewise.
16338 (LDFLAGS-reldep6mod4.so): Likewise.
16339 (LDFLAGS-reldep8mod3.so): Likewise.
16340 (LDFLAGS-unload4mod1.so): Likewise.
16341 (LDFLAGS-unload4mod2.so): Likewise.
16342 (LDFLAGS-tst-initorder): Likewise.
16343 (LDFLAGS-tst-initordera2.so): Likewise.
16344 (LDFLAGS-tst-initordera3.so): Likewise.
16345 (LDFLAGS-tst-initordera4.so): Likewise.
16346 (LDFLAGS-tst-initorderb2.so): Likewise.
16347 (LDFLAGS-noload): Likewise.
16348 (LDFLAGS-next): Likewise.
16349 (LDFLAGS-order2mod1.so): Likewise.
16350 (LDFLAGS-order2mod2.so): Likewise.
16351 (LDFLAGS-tst-initorder2): Likewise.
16352 (LDFLAGS-tst-initorder2a.so): Likewise.
16353 (LDFLAGS-tst-initorder2b.so): Likewise.
16354 (LDFLAGS-tst-initorder2c.so): Likewise.
16355 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
16357 2012-05-02 David S. Miller <davem@davemloft.net>
16359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16361 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
16364 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
16366 2012-05-02 Andreas Jaeger <aj@suse.de>
16368 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
16369 since we manipulate rounding mode.
16370 (CPPFLAGS-test-idouble.c): Likewise.
16371 (CPPFLAGS-test-ifloat.c): Likewise.
16372 (CFLAGS-test-ldouble.c): Likewise.
16373 (CFLAGS-test-double.c): Likewise.
16374 (CFLAGS-test-float.c): Likewise.
16375 (CFLAGS-test-misc.c): Likewise.
16376 (CFLAGS-test-test-fenv.c): Likewise.
16378 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16382 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
16383 comparisons to determine direction to adjust input.
16385 2012-05-01 Roland McGrath <roland@hack.frob.com>
16387 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
16388 output to the target.
16390 * scripts/localplt.awk: New file.
16391 * elf/Makefile ($(objpfx)check-localplt): Target removed.
16392 (check-localplt-CFLAGS): Variable removed.
16393 ($(all-built-dso:=.jmprel)): New static pattern rule.
16394 (generated): Add those targets.
16395 (localplt-built-dso): New variable.
16396 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
16398 * elf/check-localplt.c: File removed.
16400 * scripts/check-execstack.awk: New file.
16401 * elf/Makefile ($(objpfx)check-execstack): Target removed.
16402 (check-execstack-CFLAGS): Variable removed.
16403 ($(objpfx)check-execstack.h): Target removed.
16404 ($(objpfx)execstack-default): New target.
16405 (generated): Add that instead of check-execstack.h.
16406 ($(all-built-dso:=.phdr)): New static pattern rule.
16407 (generated): Add those targets.
16408 * elf/check-execstack.c: File removed.
16410 * scripts/check-textrel.awk: New file.
16411 * elf/Makefile ($(objpfx)check-textrel): Target removed.
16412 (check-textrel-CFLAGS): Variable removed.
16413 (all-built-dso): Use := to define.o
16414 ($(all-built-dso:=.dyn)): New static pattern rule.
16415 (generated): Add those targets.
16416 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
16417 * config.make.in (READELF): New substituted variable.
16418 * elf/check-textrel.c: File removed.
16420 2012-05-01 Joseph Myers <joseph@codesourcery.com>
16422 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16424 * conform/data/ctype.h-data [C99-based standards] (isblank):
16426 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
16427 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
16428 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16429 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
16430 Specify type. Require positive value.
16431 (EILSEQ): Likewise.
16432 (ERANGE): Likewise.
16433 [ISO || POSIX] (EILSEQ): Do not expect.
16434 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
16435 Specify type. Require positive value.
16436 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
16437 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
16438 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
16439 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
16440 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
16441 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
16442 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
16443 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
16444 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
16445 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
16446 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
16447 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
16448 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
16449 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
16450 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
16451 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
16452 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
16453 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
16454 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
16455 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
16456 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
16457 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
16458 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
16459 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
16460 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
16461 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
16462 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
16463 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
16464 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
16465 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
16466 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
16467 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
16468 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
16469 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
16470 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
16471 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
16472 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
16473 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
16474 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
16475 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
16476 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
16477 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
16478 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
16479 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
16480 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
16481 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
16482 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
16483 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
16484 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
16485 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
16486 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
16487 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
16488 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
16489 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
16490 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
16491 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
16492 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
16493 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
16494 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
16495 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
16496 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
16497 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
16498 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
16499 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
16500 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
16501 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
16502 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
16503 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
16504 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
16505 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
16506 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
16507 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
16508 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
16509 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
16510 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
16511 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
16512 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
16514 (FLT_ROUNDS): Expect as macro, not constant.
16515 (FLT_MANT_DIG): Use macro-int-constant.
16516 (DBL_MANT_DIG): Likewise.
16517 (LDBL_MANT_DIG): Likewise.
16518 (FLT_DIG): Likewise.
16519 (DBL_DIG): Likewise.
16520 (LDBL_DIG): Likewise.
16521 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
16522 (DBL_MIN_EXP): Likewise.
16523 (LDBL_MIN_EXP): Likewise.
16524 (FLT_MAX_EXP): Use macro-int-constant.
16525 (DBL_MAX_EXP): Likewise.
16526 (LDBL_MAX_EXP): Likewise.
16527 (FLT_MAX_10_EXP): Likewise.
16528 (DBL_MAX_10_EXP): Likewise.
16529 (LDBL_MAX_10_EXP): Likewise.
16530 (FLT_MAX): Use macro-constant.
16531 (DBL_MAX): Likewise.
16532 (LDBL_MAX): Likewise.
16533 (FLT_EPSILON): Use macro-constant. Give upper bound.
16534 (DBL_EPSILON): Likewise.
16535 (LDBL_EPSILON): Likewise.
16536 (FLT_MIN): Likewise.
16537 (DBL_MIN): Likewise.
16538 (LDBL_MIN): Likewise.
16539 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
16540 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
16541 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
16542 [ISO11] (FLT_HAS_SUBNORM): Likewise.
16543 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
16544 [ISO11] (DBL_DECIMAL_DIG): Likewise.
16545 [ISO11] (FLT_DECIMAL_DIG): Likewise.
16546 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
16547 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
16548 [ISO11] (FLT_TRUE_MIN): Likewise.
16549 [ISO11] (LDBL_TRUE_MIN): Likewise.
16550 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16551 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
16552 (SCHAR_MIN): Use macro-int-constant. Specify type.
16553 (SCHAR_MAX): Likewise.
16554 (UCHAR_MAX): Likewise.
16555 (CHAR_MIN): Likewise.
16556 (CHAR_MAX): Likewise.
16557 (MB_LEN_MAX): Use macro-int-constant.
16558 (SHRT_MIN): Use macro-int-constant. Specify type.
16559 (SHRT_MAX): Likewise.
16560 (USHRT_MAX): Likewise.
16561 (INT_MAX): Likewise.
16562 (INT_MIN): Use macro-int-constant. Specify type. Make upper
16564 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
16566 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16568 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
16569 bound negative. Suffix upper bound with "L".
16570 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16572 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
16574 [C99-based standards] (LLONG_MAX): Likewise.
16575 [C99-based standards] (ULLONG_MAX): Likewise.
16576 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
16578 [ISO11] (max_align_t): Require type.
16579 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16581 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
16582 from $CFLAGS, without defining away __attribute__ calls.
16583 (checknamespace): Use $CFLAGS_namespace.
16585 * conform/conformtest.pl (@keywords): Only include C99 keywords
16586 for standards based on C99 or C11.
16588 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
16590 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
16593 * conform/conformtest.pl: Handle "macro-int-constant" and test for
16594 usability of symbols in #if.
16596 * conform/conformtest.pl: If macro or constant types start
16597 "promoted:", expect the symbol to be of the following type
16598 promoted by the integer promotions.
16600 * conform/conformtest.pl: Parse all "constant" and "macro" lines
16601 in one place. Also handle "macro-constant".
16603 * conform/conformtest.pl: Only accept expected macro values with
16604 "==". Parse all "macro" lines in one place.
16605 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
16607 * conform/conformtest.pl: Handle braced types on "constant" lines
16608 instead of handling "typed-constant".
16609 * conform/data/signal.h-data: Use "constant" instead of
16612 * conform/conformtest.pl: Handle "optional-" at start of lines in
16613 one place rather than duplicating several cases. Handle each
16614 format of "macro" line with initial "optional-".
16616 * conform/conformtest.pl: Only accept expected constant or
16617 optional-constant values with "==". Parse all "constant" lines in
16618 one place. Parse all "optional-constant" lines in one place.
16619 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
16620 * conform/data/fmtmsg.h-data: Likewise.
16621 * conform/data/netinet/in.h-data: Likewise.
16622 * conform/data/tar.h-data: Likewise.
16623 * conform/data/limits.h-data: Use "==" form on "constant" and
16624 "optional-constant" lines.
16626 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
16627 Use -std=c99 for XOPEN2K.
16628 (@knownproblems): Remove.
16629 (newtoken): Don't check %isknown.
16631 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
16632 Do not expect macro.
16633 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
16634 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
16635 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
16636 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
16637 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
16638 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
16639 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
16640 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
16641 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
16642 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
16643 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
16644 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
16645 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
16646 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
16647 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
16648 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
16649 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
16650 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
16651 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
16652 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
16653 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
16654 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
16655 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
16656 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
16657 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
16658 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
16659 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
16660 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
16661 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
16662 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
16663 [XPG3] (acosh): Likewise.
16664 [XPG3] (asinh): Likewise.
16665 [XPG3] (atanh): Likewise.
16666 [XPG3] (cbrt): Likewise.
16667 [XPG3] (expm1): Likewise.
16668 [XPG3] (ilogb): Likewise.
16669 [XPG3] (log1p): Likewise.
16670 [XPG3] (logb): Likewise.
16671 [XPG3] (nextafter): Likewise.
16672 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
16673 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
16674 [XPG3] (remainder): Likewise.
16675 [XPG3] (rint): Likewise.
16676 [XPG3 || XPG4 || UNIX98] (round): Likewise.
16677 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
16678 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
16679 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
16680 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
16681 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
16682 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
16683 [UNIX98 || XOPEN2K] (scalb): Expect.
16684 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
16685 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
16686 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
16687 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
16688 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
16689 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
16690 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
16691 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
16692 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
16693 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
16694 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
16695 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
16696 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
16697 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
16698 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
16699 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
16700 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
16701 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
16702 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
16703 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
16704 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
16705 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
16706 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
16707 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
16708 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
16709 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
16710 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
16711 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
16712 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
16713 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
16714 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
16715 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
16716 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
16717 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
16718 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
16719 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
16720 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
16721 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
16722 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
16723 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
16724 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
16725 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
16726 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
16727 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
16728 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
16729 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
16730 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
16731 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
16732 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
16733 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
16734 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
16735 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
16736 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
16737 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
16738 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
16739 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
16740 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
16741 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
16742 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
16743 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
16744 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
16745 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
16746 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
16747 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
16748 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
16749 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
16750 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
16751 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
16752 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
16753 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
16754 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
16755 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
16756 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
16757 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
16758 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
16759 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
16760 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
16761 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
16762 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
16763 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
16764 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
16765 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
16766 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
16767 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
16768 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
16769 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
16770 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
16771 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
16772 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
16773 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
16774 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
16775 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
16776 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
16777 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
16778 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
16779 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
16780 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
16781 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
16782 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
16783 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
16784 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
16785 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
16786 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
16787 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
16788 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
16789 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
16790 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
16791 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
16792 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
16793 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
16794 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
16795 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
16796 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
16797 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
16798 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
16799 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
16800 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
16801 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
16802 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
16803 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
16804 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
16805 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
16806 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
16807 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
16808 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
16809 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
16810 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
16811 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
16812 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
16813 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
16814 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
16815 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
16816 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
16817 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
16818 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
16819 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
16820 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
16822 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16823 _XOPEN_SOURCE_EXTENDED for XPG4.
16825 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16827 * Makeconfig (localtime): Remove variable.
16828 (inst_localtime-file): Likewise.
16830 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16851 2012-05-01 Joseph Myers <joseph@codesourcery.com>
16855 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16856 comparisons to determine direction to adjust input.
16857 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16858 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16859 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16861 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16863 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16865 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16866 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16868 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16870 * math/libm-test.inc (nexttoward_test): Add more tests.
16872 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16875 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16876 in version GLIBC_2.1, not GLIBC_2.0.
16877 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16880 2012-04-30 Joseph Myers <joseph@codesourcery.com>
16883 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16885 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16886 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16887 * math/libm-test.inc (acos_test): Add more tests.
16888 (asin_test): Likewise.
16889 * sysdeps/i386/fpu/libm-test-ulps: Update.
16890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16893 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16895 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16896 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16897 * math/libm-test.inc (acos_test_tonearest): New function.
16898 (acos_test_towardzero): Likewise.
16899 (acos_test_downward): Likewise.
16900 (acos_test_upward): Likewise.
16901 (asin_test_tonearest): Likewise.
16902 (asin_test_towardzero): Likewise.
16903 (asin_test_downward): Likewise.
16904 (asin_test_upward): Likewise.
16905 (main): Call the new functions.
16906 * sysdeps/i386/fpu/libm-test-ulps: Update.
16907 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16911 * math/e_exp10.c: Include <float.h>.
16912 (__ieee754_exp10): Handle underflow here rather than multiplying
16913 large negative argument by M_LN10.
16914 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16916 * math/e_exp10l.c: Include <float.h>.
16917 (__ieee754_exp10l): Handle underflow here rather than multiplying
16918 large negative argument by M_LN10l.
16919 * math/libm-test.inc (exp10_test): Add another test. Do not allow
16920 spurious overflow exception on underflow.
16922 2012-04-29 Marek Polacek <polacek@redhat.com>
16924 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16925 (__fortify_function): New macro.
16926 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16927 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16928 __extern_always_inline.
16929 * libio/bits/stdio2.h: Likewise.
16930 * libio/bits/stdio.h: Likewise.
16931 * string/string.h: Likewise.
16932 * string/bits/string3.h: Likewise.
16933 * include/stdio.h: Likewise.
16934 * stdlib/bits/stdlib.h: Likewise.
16935 * stdlib/stdlib.h: Likewise.
16936 * rt/bits/mqueue2.h: Likewise.
16937 * rt/mqueue.h: Likewise.
16938 * posix/bits/unistd.h: Likewise.
16939 * posix/unistd.h: Likewise.
16940 * io/bits/poll2.h: Likewise.
16941 * io/bits/fcntl2.h: Likewise.
16942 * io/fcntl.h: Likewise.
16943 * io/sys/poll.h: Likewise.
16944 * misc/bits/syslog.h: Likewise.
16945 * misc/bits/syslog-ldbl.h: Likewise.
16946 * misc/sys/syslog.h: Likewise.
16947 * socket/bits/socket2.h: Likewise.
16948 * socket/sys/socket.h: Likewise.
16949 * debug/tst-chk1.c: Likewise.
16950 * wcsmbs/bits/wchar2.h: Likewise.
16951 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16952 * wcsmbs/wchar.h: Likewise.
16954 2012-04-29 Andreas Jaeger <aj@suse.de>
16956 * Makerules (tests): Remove enable-check-abi protection.
16957 (check-abi-warn): Remove.
16958 (check-abi-%): Remove check-abi-warn usage.
16960 * configure.in: Remove check-abi configure option.
16961 * configure: Regenerated.
16962 * config.make.in (enable-check-abi): Remove.
16964 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16967 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16968 double functions to double *_finite functions.
16971 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16972 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16974 * stdio-common/Makefile (tests): Add tst-sprintf3.
16975 * stdio-common/tst-sprintf3.c: New file.
16977 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16978 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16980 2012-04-28 Joseph Myers <joseph@codesourcery.com>
16982 * conform/conformtest.pl: Remove duplicate typed-constant
16985 2012-04-28 David S. Miller <davem@davemloft.net>
16987 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16988 (check-abi-%): Remove AWK script prerequisite and explicit
16990 (check-abi): Rewrite to just diff the symlist with the abilist.
16991 (config-tls, config-abi-config): Delete, no longer used.
16992 (update-abi-%): Remove AWK script and explicit abilist directory.
16993 (update-abi): Rewrite to simply compare and conditionally copy the
16994 symlist and the sysdep abilist file. Remove update-abi-config
16996 * abilist/ld.abilist: Remove.
16997 * abilist/libBrokenLocale.abilist: Remove.
16998 * abilist/libanl.abilist: Remove.
16999 * abilist/libcrypt.abilist: Remove.
17000 * abilist/libdl.abilist: Remove.
17001 * abilist/librt.abilist: Remove.
17002 * abilist/libthread_db.abilist: Remove.
17003 * abilist/libutil.abilist: Remove.
17004 * scripts/extract-abilist.awk: Remove.
17005 * scripts/merge-abilist.awk: Remove.
17006 * sysdeps/generic/libcidn.abilist: New file.
17007 * sysdeps/generic/libnss_compat.abilist: New file.
17008 * sysdeps/generic/libnss_db.abilist: New file.
17009 * sysdeps/generic/libnss_dns.abilist: New file.
17010 * sysdeps/generic/libnss_files.abilist: New file.
17011 * sysdeps/generic/libnss_hesiod.abilist: New file.
17012 * sysdeps/generic/libnss_nis.abilist: New file.
17013 * sysdeps/generic/libnss_nisplus.abilist: New file.
17014 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
17015 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
17016 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
17018 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
17019 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
17020 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
17021 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
17022 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
17023 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
17024 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
17025 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
17026 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
17028 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
17029 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
17030 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
17031 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
17033 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
17034 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
17035 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
17036 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
17037 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
17038 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
17040 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
17041 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
17042 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
17044 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
17045 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
17047 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
17049 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
17051 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
17053 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
17055 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
17057 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
17059 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
17061 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
17063 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
17065 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
17067 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
17069 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
17071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
17073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
17075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
17077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
17079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
17081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
17083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
17085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
17087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
17091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
17093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
17095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
17097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
17098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
17100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
17102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
17104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
17106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
17108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
17110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
17112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
17116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
17118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
17120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
17122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
17123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
17125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
17127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
17129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
17131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
17133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
17135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
17137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
17141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
17143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
17145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
17147 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17148 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
17149 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
17151 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
17152 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
17153 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
17154 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
17155 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
17156 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
17157 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
17158 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
17159 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
17160 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
17161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
17162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
17164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
17166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
17168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
17170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
17172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
17174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
17176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
17180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
17182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
17184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
17186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
17187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
17189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
17191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
17193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
17195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
17197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
17199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
17201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17203 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
17205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
17207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
17212 2012-04-28 Joseph Myers <joseph@codesourcery.com>
17214 * conform/conformtest.pl: Fix typo in handling typed-constant from
17217 2012-04-27 Joseph Myers <joseph@codesourcery.com>
17219 * README: Cut down references to pre-2.6 Linux kernels and
17220 Linuxthreads. Update lists of configurations in libc and ports
17221 and sort alphabetically. Say "or newer" with Linux kernel version
17224 * config.h.in [IS_IN_build]: Allow compiling without optimization.
17226 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17229 * math/libm-test.inc (logb_test_downward): New test to expose
17230 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
17233 2012-04-27 Joseph Myers <joseph@codesourcery.com>
17236 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
17238 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
17239 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
17241 2012-04-26 Joseph Myers <joseph@codesourcery.com>
17243 * sysdeps/unix/i386/brk.S: Remove file.
17244 * sysdeps/unix/i386/dl-brk.S: Likewise.
17245 * sysdeps/unix/i386/pipe.S: Likewise.
17246 * sysdeps/unix/i386/sigreturn.S: Likewise.
17247 * sysdeps/unix/i386/syscall.S: Likewise.
17248 * sysdeps/unix/i386/vfork.S: Likewise.
17249 * sysdeps/unix/i386/wait.S: Likewise.
17251 * sysdeps/unix/common/tcsendbrk.c: Move to ...
17252 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
17254 * configure.in (arm*-none*): Do not allow without
17255 --enable-hacker-mode.
17256 (netbsd*): Remove case setting base_os.
17257 (386bsd*): Likewise.
17258 (freebsd*): Likewise.
17261 (sunos*): Likewise.
17262 (ultrix*): Likewise.
17263 (newsos*): Likewise.
17264 (dynix*): Likewise.
17270 (minix*): Likewise.
17271 (irix4*): Likewise.
17272 (irix6*): Likewise.
17273 (solaris[2-9]*): Likewise.
17275 * configure: Regenerated.
17277 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17280 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
17281 overflow or cancellation in calculating denominator.
17282 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
17283 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
17284 down expression to avoid unexpected rounding in newer GCCs.
17285 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
17287 2012-04-26 David S. Miller <davem@davemloft.net>
17289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
17290 long-double compat symbols.
17291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
17295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
17297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
17298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
17299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
17300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
17301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
17302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
17303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17305 2012-04-25 David S. Miller <davem@davemloft.net>
17307 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
17308 HWCAP_* values only after the memory barriers have been defined.
17309 (atomic_full_barrier): Define.
17310 (atomic_read_barrier): Define.
17311 (atomic_write_barrier): Define.
17313 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17315 * shlib-versions: Add libgcc_s version information.
17316 * sysdeps/generic/libgcc_s.h: Remove.
17317 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
17319 * sysdeps/gnu/unwind-resume.c: Likewise.
17320 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
17322 2012-04-25 David S. Miller <davem@davemloft.net>
17324 * sysdeps/unix/sparc/brk.S: Delete.
17325 * sysdeps/unix/sparc/dl-brk.S: Delete.
17326 * sysdeps/unix/sparc/pipe.S: Delete.
17327 * sysdeps/unix/sparc/sysdep.S: Delete.
17328 * sysdeps/unix/sparc/sysdep.h: Delete.
17329 * sysdeps/unix/sparc/vfork.S: Delete.
17330 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
17331 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
17332 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
17333 ret_ERRVAL, r0, r1, MOVE): Define.
17334 (JUMPTARGET): Remove.
17335 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
17336 sysdeps/unix/sparc/sysdep.h
17337 (ENTRY, END): Remove.
17338 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17340 2012-04-25 Joseph Myers <joseph@codesourcery.com>
17342 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
17343 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
17346 * timezone/README: Update upstream location and email address for
17348 * timezone/zdump.c: Update from tzcode 2012b.
17349 * timezone/zic.c: Likewise.
17351 * configure.in (libc_cv_as_needed): Remove test.
17352 * configure: Regenerated.
17353 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
17354 conditional definition.
17355 [$(have-as-needed) != yes] (no-as-needed): Likewise.
17356 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
17357 * config.make.in (have-as-needed): Remove variable.
17359 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17360 Paul Pluzhnikov <ppluzhnikov@google.com>
17362 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
17365 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
17367 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
17368 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
17369 * sysdeps/sh/strlen.S: Likewise.
17371 2012-04-24 Joseph Myers <joseph@codesourcery.com>
17373 * sysdeps/unix/fork.S: Remove file.
17374 * sysdeps/unix/i386/fork.S: Likewise.
17375 * sysdeps/unix/sparc/fork.S: Likewise.
17377 * sysdeps/unix/system.c: Remove file.
17378 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
17380 * sysdeps/unix/getegid.S: Remove file.
17381 * sysdeps/unix/geteuid.S: Likewise.
17383 2012-04-24 Roland McGrath <roland@hack.frob.com>
17385 * scripts/check-localplt.awk: New file.
17386 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
17388 * scripts/data/localplt-generic.data: Add a comment.
17390 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
17391 NODE when __dir_mkfile failed.
17392 * sysdeps/mach/hurd/symlinkat.c: Likewise.
17393 Reported by Ludovic Courtès <ludo@gnu.org>.
17395 2012-04-24 Andreas Jaeger <aj@suse.de>
17397 * Makerules (common-clean): Also remove gen-as-const-headers
17400 2012-04-24 Joseph Myers <joseph@codesourcery.com>
17402 * Makerules (native-compile): Do not change working directory for
17403 build. Use $(OUTPUT_OPTION) in command.
17404 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
17406 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17409 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
17410 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
17411 * math/libm-test.inc (floor_test): Add more tests.
17412 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
17414 2012-04-24 Joseph Myers <joseph@codesourcery.com>
17416 * sysdeps/unix/getdents.c: Remove file.
17417 * sysdeps/unix/sysv/getdents.c: Likewise.
17418 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
17420 * sysdeps/unix/syscalls.list (madvise): Add syscall from
17421 sysdeps/unix/mman/syscalls.list.
17423 (mprotect): Likewise.
17425 (munmap): Likewise.
17426 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
17427 * sysdeps/unix/mman/syscalls.list: Remove.
17428 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
17430 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
17431 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
17432 * configure: Regenerated.
17433 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
17434 $(libgcc_s_suffix).
17435 * config.make.in (libgcc_s_suffix): Remove variable.
17437 2012-04-23 Joseph Myers <joseph@codesourcery.com>
17439 * sysdeps/unix/sysv/gethostname.c: Move to ...
17440 * sysdeps/posix/gethostname.c: ... here.
17442 * sysdeps/unix/execve.S: Remove file.
17444 * sysdeps/unix/_exit.S: Remove file.
17446 2012-04-23 Andreas Jaeger <aj@suse.de>
17449 * manual/Makefile: Remove make dist support, there's no
17450 need for a stand-alone documentation tar ball.
17451 (TEXI2DVI): Define always, it's not in Makeconfig.
17454 (edition): Removed.
17455 (glibc-doc-$(edition).tar): Removed
17459 (ETAGS): Remove, it's in Makeconfig.
17460 (move-if-change): Remove, it's in Makeconfig.
17462 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
17465 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
17466 (strtod, strtof, strtold, strtol, strtoul, strtoq)
17467 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
17468 (strtod_l, strtof_l, strtold_l): Remove __wur.
17469 It is not necessarily an error to ignore strtol's return value.
17470 One can reliably look at the stored endptr to decide whether
17471 the number had valid syntax.
17473 2012-04-21 Andreas Jaeger <aj@suse.de>
17476 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
17478 2012-04-21 Joseph Myers <joseph@codesourcery.com>
17480 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
17481 * sysdeps/unix/sysv/Versions: Remove file.
17483 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
17486 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17488 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
17491 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
17492 version from __vm86.
17494 2012-04-20 Joseph Myers <joseph@codesourcery.com>
17496 * sysdeps/unix/common/lxstat.c: Remove file.
17497 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
17499 * sysdeps/unix/sysv/Makefile: Remove file.
17501 * sysdeps/unix/sysv/direct.h: Remove file.
17503 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
17504 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
17505 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
17506 * sysdeps/unix/sysv/bits/signum.h: Likewise.
17507 * sysdeps/unix/sysv/bits/stat.h: Likewise.
17508 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
17509 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
17511 * sysdeps/unix/sysv/setrlimit.c: Remove file.
17513 * sysdeps/unix/xmknod.c: Remove file.
17514 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
17516 * sysdeps/unix/sysv/settimeofday.c: Remove file.
17518 * sysdeps/unix/sysv/i386/time.S: Remove file.
17520 * sysdeps/unix/fxstat.c: Remove file.
17521 * sysdeps/unix/xstat.c: Likewise.
17522 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
17524 * sysdeps/unix/sysv/sigaction.c: Remove file.
17526 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
17527 (sysdep_headers): Remove variable.
17528 [termio.h not in sysdep_headers] (generated): Likewise.
17529 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
17530 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
17531 * sysdeps/unix/sysv/tcdrain.c: Likewise.
17532 * sysdeps/unix/sysv/tcflow.c: Likewise.
17533 * sysdeps/unix/sysv/tcflush.c: Likewise.
17534 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
17535 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
17536 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
17537 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
17538 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
17540 * sysdeps/unix/siglist.c: Remove file.
17542 * sysdeps/unix/getppid.S: Remove file.
17544 * sysdeps/unix/mkdir.c: Remove file.
17545 * sysdeps/unix/rmdir.c: Likewise.
17547 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
17549 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
17551 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
17552 errlist-compat value.
17554 2012-04-18 David S. Miller <davem@davemloft.net>
17556 * sysdeps/generic/memcopy.h (reg_char): Delete.
17557 * debug/strcat_chk.c: Use char, not reg_char.
17558 * debug/strcpy_chk.c: Likewise.
17559 * debug/strncat_chk.c: Likewise.
17560 * debug/strncpy_chk.c: Likewise.
17561 * string/memchr.c: Likewise.
17562 * string/memrchr.c: Likewise.
17563 * string/rawmemchr.c: Likewise.
17564 * string/strcat.c: Likewise.
17565 * string/strchr.c: Likewise.
17566 * string/strchrnul.c: Likewise.
17567 * string/strcmp.c: Likewise.
17568 * string/strcpy.c: Likewise.
17569 * string/strncat.c: Likewise.
17570 * string/strncmp.c: Likewise.
17571 * string/strncpy.c: Likewise.
17573 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17575 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
17576 __builtin_memcopy is called when src and dest ranges are known to not
17579 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17581 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
17582 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
17583 fwd_align_merge macro call.
17584 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
17585 bwd_align_merge macro call.
17586 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17588 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17590 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
17591 bwd_align_merge macros.
17592 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
17593 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
17594 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17596 2012-04-18 David S. Miller <davem@davemloft.net>
17598 * sysdeps/sparc/sparc64/memcopy.h: Delete.
17600 2012-04-18 Andreas Jaeger <aj@suse.de>
17603 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
17604 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
17605 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17607 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
17608 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
17609 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17611 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
17612 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
17613 Adjust for changed ldbl-128 files.
17615 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
17616 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
17617 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17619 2012-04-17 David S. Miller <davem@davemloft.net>
17621 * sysdeps/sparc/sparc32/memcopy.h: Delete.
17623 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
17625 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
17626 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
17627 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
17628 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
17629 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17630 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
17632 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17635 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
17636 * math/libm-test.inc: Add ilogb errno and exception tests.
17637 * math/w_ilogb.c: New file: ilogb wrapper.
17638 * math/w_ilogbf.c: New file: ilogbf wrapper.
17639 * math/w_ilogbl.c: New file: ilogbl wrapper.
17640 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
17641 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
17642 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
17643 exception being thrown with 0.0 as argument.
17644 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
17645 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
17646 exception being thrown with 0.0 as argument.
17647 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
17648 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17649 exception being thrown with 0.0 as argument.
17650 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
17651 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17652 exception being thrown with 0.0 as argument.
17653 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
17654 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
17655 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
17656 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
17657 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
17658 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
17659 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
17660 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
17661 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
17663 2012-04-17 Petr Baudis <pasky@ucw.cz>
17665 * include/sys/uio.h: Change __vector to __iovec to avoid clash
17668 2012-04-16 Marek Polacek <polacek@redhat.com>
17670 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
17672 2012-04-16 Marek Polacek <polacek@redhat.com>
17674 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
17675 operands of fdivp instruction.
17677 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17679 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
17680 * elf/tst-auditmod3b.c: Likewise.
17681 * elf/tst-auditmod4b.c: Likewise.
17682 * elf/tst-auditmod5b.c: Likewise.
17683 * elf/tst-auditmod6b.c: Likewise.
17684 * elf/tst-auditmod6c.c: Likewise.
17685 * elf/tst-auditmod7b.c: Likewise.
17686 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
17687 * sysdeps/x86_64/preconfigure.in: Likewise.
17688 * sysdeps/x86_64/preconfigure: Regenerated.
17690 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17692 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
17695 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
17697 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17698 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
17700 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
17703 * locale/iso-639.def: Fix gl language name. Spotted by
17706 2012-04-12 Roland McGrath <roland@hack.frob.com>
17709 * libio/libio.h (__io_write_fn): Update comment.
17711 2012-04-12 Petr Baudis <pasky@ucw.cz>
17714 * stdio.texi (Hook Functions): The user provided writer function
17715 is not allowed to return -1.
17717 2012-04-11 David S. Miller <davem@davemloft.net>
17719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17721 2012-04-11 Mike Frysinger <vapier@gentoo.org>
17723 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
17724 Add a leading slash to rtkaio.
17726 2012-04-11 Jim Meyering <meyering@redhat.com>
17729 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
17730 It is not necessarily an error to ignore fwrite's return
17731 value. One can reliably use ferror to test for errors after
17734 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17736 * bits/types.h (__snseconds_t): New type.
17737 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
17739 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
17740 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17741 (__SNSECONDS_T_TYPE): Likewise.
17742 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17743 (__SNSECONDS_T_TYPE): Likewise.
17744 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17745 (__SNSECONDS_T_TYPE): Likewise.
17747 2012-04-10 Andreas Jaeger <aj@suse.de>
17750 * manual/time.texi (Processor Time): Return type of times is
17751 elapsed real time since an arbitrary point in the past.
17752 (CPU Time): Move CLK_TCK from here...
17753 (Processor Time): ...to here. Correct description.
17754 * manual/conf.texi (Constants for Sysconf): Correct description of
17757 2012-04-10 David S. Miller <davem@davemloft.net>
17760 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
17761 where the is a gap between DT_REL(A) and DT_JMPREL.
17763 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17765 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
17766 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17767 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17769 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17771 * elf/dl-support.c (_dl_inhibit_cache): New variable.
17772 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
17773 (dl_main): Handle --inhibit-cache.
17774 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
17776 * elf/dl-load.c (_dl_map_object): Use it.
17777 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
17779 2012-04-09 Joseph Myers <joseph@codesourcery.com>
17782 * sysdeps/i386/fpu/e_powl.S (p78): New object.
17783 (__ieee754_powl): Saturate large exponents rather than testing for
17784 overflow of y*log2(x).
17785 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17786 * math/libm-test.inc (pow_test): Do not permit spurious overflow
17790 * math/s_ctan.c: Include <float.h>.
17791 (__ctan): Avoid internal overflow or cancellation in calculating
17793 * math/s_ctanf.c: Likewise.
17794 * math/s_ctanl.c: Likewise.
17795 * math/s_ctanh.c: Likewise.
17796 * math/s_ctanhf.c: Likewise.
17797 * math/s_ctanhl.c: Likewise.
17798 * math/libm-test.inc (ctan_test): Add more tests.
17799 (ctanh_test): Likewise.
17800 * sysdeps/i386/fpu/libm-test-ulps: Update.
17801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17803 2012-04-09 Andreas Jaeger <aj@suse.de>
17806 * manual/filesys.texi (Directory Entries): Mention that d_namlen
17807 is an optional BSD extension.
17810 * manual/stdio.texi (Opening Streams): Document additional fopen
17813 2012-04-09 Roland McGrath <roland@hack.frob.com>
17815 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
17816 %eax without telling the compiler.
17818 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
17821 * manual/install.texi: Use sourceware.org.
17823 2012-04-09 Joseph Myers <joseph@codesourcery.com>
17826 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17827 (__ieee754_pow): Generate overflow and underflow using huge*huge
17828 and tiny*tiny rather than just returning constant infinity or zero
17829 for large exponents.
17830 * math/libm-test.inc (pow_test): Require overflow exceptions for
17831 applicable cases of large exponents.
17834 * sysdeps/i386/fpu/e_pow.S (p10): New object.
17835 (__ieee754_pow): Use iterative multiplication algorithm only for
17836 integer exponents with absolute value below 1024. Check for odd
17837 integer exponents when using algorithm for real exponents.
17838 * math/libm-test.inc (pow_test): Add more tests.
17839 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17841 2012-04-08 Joseph Myers <joseph@codesourcery.com>
17844 * math/libm-test.inc (exp_test): Do not allow overflow exception
17847 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
17850 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17851 instead of __kernel_standard_f.
17853 2012-04-08 Mike Frysinger <vapier@gentoo.org>
17855 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17856 * sysdeps/x86_64/memset_chk.S: Likewise.
17858 2012-04-08 Andreas Jaeger <aj@suse.de>
17861 * manual/startup.texi (Environment Access): Describe return value
17862 for putenv and setenv.
17865 * manual/filesys.texi (Directory Entries): Add description for
17869 * manual/filesys.texi (Directory Entries): Clarify that it's file
17870 system not operating system in the description of DT_UNKNOWN.
17873 * manual/syslog.texi (closelog): Fix reference, it's openlog.
17875 2012-04-08 Stephen Compall <s11@member.fsf.org>
17878 * manual/llio.texi (Opening and Closing Files): Add cross
17879 reference to explain mode argument.
17881 2012-04-07 Mike Frysinger <vapier@gentoo.org>
17883 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17884 * sysdeps/x86_64/memset_chk.S: Likewise.
17886 2012-04-07 David S. Miller <davem@davemloft.net>
17888 * elf/elf.h (R_SPARC_WDISP10): Define.
17889 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17891 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17892 R_SPARC_SIZE64 and R_SPARC_H34.
17894 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
17896 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17897 conditions and remove no longer applicable assertion.
17899 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17901 * bits/byteswap.h: Include <features.h>.
17902 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17903 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17905 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17907 * bits/byteswap.h (__bswap_16): Removed.
17908 Include <bits/byteswap-16.h> to get __bswap_16.
17909 * sysdeps/i386/bits/byteswap.h: Likewise.
17910 * sysdeps/s390/bits/byteswap.h: Likewise.
17911 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17912 * bits/byteswap-16.h: New file.
17913 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17914 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17915 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17916 * string/Makefile (headers): Add bits/byteswap-16.h.
17918 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17921 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17923 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17924 * nss/tst-nss-static.c: New.
17926 2012-04-06 Robert Millan <rmh@gnu.org>
17929 * manual/llio.texi (File Position Primitive): lseek
17930 refers to WHENCE when it really means OFFSET.
17932 2012-04-06 Andreas Jaeger <aj@suse.de>
17934 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17935 strncmp declarations.
17937 * abilist/libc.abilist: Add __poll and __ppoll.
17939 2012-04-05 David S. Miller <davem@davemloft.net>
17941 * scripts/check-local-headers.sh: Accept a host triplet in the
17942 path matched by the exclude regexp.
17944 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17946 * sysdeps/powerpc/powerpc32/dl-machine.h
17947 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17948 * sysdeps/s390/s390-32/dl-machine.h
17949 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17950 * sysdeps/sparc/sparc32/dl-machine.h
17951 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17952 * sysdeps/sparc/sparc64/dl-machine.h
17953 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17955 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17957 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
17958 undefined symbol errors.
17960 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
17963 2012-04-05 Michael Matz <matz@suse.de>
17966 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17968 2012-04-05 Andreas Jaeger <aj@suse.de>
17971 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17974 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17976 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17977 which ROUND is no valid rounding mode.
17979 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17981 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17983 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17985 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17987 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17988 an exception using FPU order intentionally.
17990 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17992 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17993 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17994 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17995 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17997 2012-04-05 Simon Josefsson <simon@josefsson.org>
18000 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
18001 EINVAL when BUFLEN is too smal.
18003 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
18006 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
18007 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
18009 2012-04-03 Andreas Jaeger <aj@suse.de>
18012 * manual/setjmp.texi (System V contexts): Fix sentence.
18015 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
18016 New macro for this case.
18017 [!__GNUC__] (__bswap_64): New inline function for this case.
18018 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18019 * bits/byteswap.h: Likewise.
18020 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
18021 ull, guard with __GLIBC_HAVE_LONG_LONG.
18023 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
18024 __GLIBC_HAVE_LONG_LONG.
18026 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
18027 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
18029 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18032 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
18033 inptr and inend, rather than using last_ch.
18035 2012-04-02 David S. Miller <davem@davemloft.net>
18037 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
18038 * stdio-common/printf-parse.h (read_int): Change return type to
18039 'int', return -1 on INT_MAX overflow.
18040 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
18041 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
18042 overflows INT_MAX. Check for overflow of in-format-string precision
18043 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
18044 SIZE_MAX not INT_MAX for integer overflow test.
18045 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
18046 skip the construct in the format string but do not record anything.
18047 * stdio-common/bug22.c: Adjust to test both width/prevision
18048 INT_MAX overflow as well as total length INT_MAX overflow. Check
18049 explicitly for proper errno values.
18051 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
18053 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
18055 * string/test-strcmp.c [! WIDE]: Likewise.
18056 * time/tst-mktime2.c: Likewise for INT_MAX.
18057 * string/test-string.h: #include <sys/param.h> for MIN.
18059 * csu/init-first.c (__libc_init_first): Call __ctype_init.
18060 * sysdeps/i386/init-first.c (init): Likewise.
18061 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
18062 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
18063 * sysdeps/sh/init-first.c (init): Likewise.
18065 2012-04-01 Ulrich Drepper <drepper@gmail.com>
18067 * po/ru.po: Update from translation team.
18068 * po/vi.po: Likewise.
18070 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18072 * resolv/nss_dns/dns-host.c: Merge copyright years.
18074 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18076 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18077 Optimize memcpy with prefetch if
18078 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
18079 src, dst pointers have unequal 16 byte alignments.
18081 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18084 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
18085 from a CNAME entry and return the minimum ttl for the query.
18086 (gaih_getanswer_slice): Likewise.
18088 2012-03-30 Jeff Law <law@redhat.com>
18090 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
18092 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
18093 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
18095 * resolv/nss_dns/dns-host.c: Update copyright year.
18097 2012-03-30 Ulrich Drepper <drepper@gmail.com>
18099 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
18100 requests to save a system call. Fix check that all bytes are sent.
18102 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
18103 comments for sendmmsg.
18105 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18108 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
18109 with only 1 character between 0x0041 and 0x01b0.
18110 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
18111 * wcsmbs/tst-mbsnrtowcs.c: New file.
18113 2012-03-29 David S. Miller <davem@davemloft.net>
18115 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
18116 small copies by hand.
18118 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18121 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
18122 _nss_compat_initgroups_dyn): Fall back to malloc/free
18123 for large group memberships.
18125 2012-03-28 David S. Miller <davem@davemloft.net>
18127 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
18128 that branches into memcpy.
18129 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18130 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
18131 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18132 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
18133 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
18135 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
18136 implementation too.
18137 * sysdeps/sparc/mempcpy.S: New file.
18139 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
18140 the IFUNC routine in the libc case.
18141 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18143 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
18144 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
18145 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
18146 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
18147 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
18148 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
18149 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
18150 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
18152 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
18153 loop to 256 bytes instead of 64 bytes and fix test signedness.
18155 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
18156 * sysdeps/sparc/sparc32/Makefile: rather than here...
18157 * sysdeps/sparc/sparc64/Makefile: and here.
18159 2012-03-28 Ulrich Drepper <drepper@gmail.com>
18161 * malloc/mallocbug.c: Avoid warnings about unused variables.
18163 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18166 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
18167 in the right place. Discard and retry query if response is
18168 larger than input buffer size.
18170 2012-03-28 Joseph Myers <joseph@codesourcery.com>
18175 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
18176 x for large integer exponent.
18177 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18178 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
18179 sign of result as needed afterwards.
18180 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18181 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
18182 result for underflowing pow the same as for overflow.
18183 (__kernel_standard_l): Handle powl overflow and underflow here
18184 rather than calling __kernel_standard.
18185 * math/libm-test.inc (pow_test): Add more tests.
18200 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
18201 * sysdeps/ieee754/k_standard.c: Include <float.h>.
18202 (__kernel_standard_l): New function.
18203 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
18205 * math/w_acosl.c (__acosl): Likewise.
18206 * math/w_asinl.c (__asinl): Likewise.
18207 * math/w_atan2l.c (__atan2l): Likewise.
18208 * math/w_atanhl.c (__atanhl): Likewise.
18209 * math/w_coshl.c (__coshl): Likewise.
18210 * math/w_exp10l.c (__exp10l): Likewise.
18211 * math/w_exp2l.c (__exp2l): Likewise.
18212 * math/w_fmodl.c (__fmodl): Likewise.
18213 * math/w_hypotl.c (__hypotl): Likewise.
18214 * math/w_j0l.c (__j0l, __y0l): Likewise.
18215 * math/w_j1l.c (__j1l, __y1l): Likewise.
18216 * math/w_jnl.c (__jnl, __ynl): Likewise.
18217 * math/w_lgammal.c (__lgammal): Likewise.
18218 * math/w_log10l.c (__log10l): Likewise.
18219 * math/w_log2l.c (__log2l): Likewise.
18220 * math/w_logl.c (__logl): Likewise.
18221 * math/w_powl.c (__powl): Likewise.
18222 * math/w_remainderl.c (__remainderl): Likewise.
18223 * math/w_scalbl.c (sysv_scalbl): Likewise.
18224 * math/w_sinhl.c (__sinhl): Likewise.
18225 * math/w_sqrtl.c (__sqrtl): Likewise.
18226 * math/w_tgammal.c (__tgammal): Likewise.
18227 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
18228 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
18229 * math/libm-test.inc (acos_test): Add more tests.
18230 (acosh_test): Likewise.
18231 (asin_test): Likewise.
18232 (atanh_test): Likewise.
18233 (exp_test): Likewise.
18234 (exp10_test): Likewise.
18235 (exp2_test): Likewise.
18236 (expm1_test): Likewise.
18237 (lgamma_test): Likewise.
18238 (log_test): Likewise.
18239 (log10_test): Likewise.
18240 (log1p_test): Likewise.
18241 (log2_test): Likewise.
18242 (pow_test): Do not allow some spurious overflow exceptions.
18243 (sqrt_test): Add more tests.
18244 (tgamma_test): Likewise.
18245 (y0_test): Likewise.
18246 (y1_test): Likewise.
18247 (yn_test): Likewise.
18249 2012-03-27 Anton Blanchard <anton@samba.org>
18251 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
18253 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18254 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18255 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18257 2012-03-27 David S. Miller <davem@davemloft.net>
18259 * conform/Makefile: Run run-conformtest.sh using $(BASH).
18261 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
18262 have-as-vis3 check.
18264 2012-03-27 Andreas Jaeger <aj@suse.de>
18266 * sysdeps/x86_64/elf/configure.in: Moved to ...
18267 * sysdeps/x86_64/configure.in: ... here.
18268 * sysdeps/x86_64/elf/start.S: Moved to ...
18269 * sysdeps/x86_64/start.S: ... here.
18270 * sysdeps/x86_64/elf/configure: Delete.
18272 * sysdeps/x86_64/configure.in: Merge contents from
18273 sysdeps/i386/configure.in (without i686 check).
18275 * sysdeps/i386/elf/Versions: Merge into ...
18276 * sysdeps/i386/Versions: ... this.
18277 * sysdeps/i386/elf/Versions: Delete file.
18278 * sysdeps/i386/elf/start.S: Moved to ...
18279 * sysdeps/i386/start.S: ...here.
18280 * sysdeps/i386/elf/configure.in: Merge into...
18281 * sysdeps/i386/configure.in: ...here.
18282 * sysdeps/i386/elf/configure.in: Delete file.
18283 * sysdeps/i386/elf/configure: Delete file.
18285 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
18286 * debug/backtracesyms.c: ... here.
18287 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
18288 * debug/backtracesymsfd.c: ... here.
18289 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
18290 * sysdeps/generic/ifunc-sel.h: ... here.
18292 * sysdeps/unix/i386/start.c: Delete file.
18293 * sysdeps/unix/sparc/start.c: Delete file.
18294 * sysdeps/unix/start.c: Delete file.
18296 * sysdeps/sh/elf/configure.in: Moved to ...
18297 * sysdeps/sh/configure.in: ... here.
18298 * sysdeps/sh/elf/start.S: Moved to ...
18299 * sysdeps/sh/start.S: ... here.
18300 * sysdeps/sh/elf/configure: Delete file.
18302 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
18303 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
18304 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
18305 * sysdeps/powerpc/powerpc64/entry.h: ... here.
18306 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
18307 * sysdeps/powerpc/powerpc64/start.S: here.
18308 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
18309 * sysdeps/powerpc/powerpc64/Makefile: ... this.
18310 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
18311 * sysdeps/powerpc/powerpc64/configure.in: ... this.
18312 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
18314 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
18315 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
18316 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
18317 * sysdeps/powerpc/powerpc32/start.S: ... here.
18318 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
18319 * sysdeps/powerpc/powerpc32/configure.in: ... this.
18320 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
18322 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
18323 * sysdeps/powerpc/ifunc-sel.h: ... here.
18324 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
18325 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
18327 * sysdeps/sparc/elf/configure.in: Moved to ...
18328 * sysdeps/sparc/configure.in: ... here.
18329 * sysdeps/sparc/elf/configure: Delete file.
18330 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
18331 * sysdeps/sparc/sparc32/start.S: ... here.
18332 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
18333 * sysdeps/sparc/sparc64/start.S: ... here.
18334 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
18335 * sysdeps/sparc/sparc32/Makefile: ... this.
18336 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
18337 * sysdeps/sparc/sparc64/Makefile: ... this.
18339 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
18340 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
18341 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
18342 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
18343 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
18344 * sysdeps/s390/s390-32/setjmp.S: ... here.
18345 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
18346 * sysdeps/s390/s390-32/configure.in: ... here.
18347 * sysdeps/s390/s390-32/elf/configure: Delete file.
18348 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
18349 * sysdeps/s390/s390-32/start.S: ... here.
18351 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
18352 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
18353 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
18354 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
18355 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
18356 * sysdeps/s390/s390-64/setjmp.S: ... here.
18357 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
18358 * sysdeps/s390/s390-64/configure.in: ... here
18359 * sysdeps/s390/s390-64/elf/configure: Delete file.
18360 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
18361 * sysdeps/s390/s390-64/start.S: ... here.
18362 * sysdeps/s390/s390-64/elf/configure: Delete.
18364 * configure.in: Remove support for elf directories in sysdeps.
18366 * configure: Regenerated.
18367 * sysdeps/i386/configure: Regenerated.
18368 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18369 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18370 * sysdeps/s390/s390-32/configure: Regenerated.
18371 * sysdeps/s390/s390-64/configure: Regenerated.
18372 * sysdeps/sh/configure: Regenerated.
18373 * sysdeps/sparc/configure: Regenerated.
18374 * sysdeps/x86_64/configure: Regenerated.
18376 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
18378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18380 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
18381 denormal result into account.
18383 2012-03-25 Roland McGrath <roland@hack.frob.com>
18385 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
18386 Reported by Allan McRae <allan@archlinux.org>.
18388 2012-03-23 Jeff Law <law@redhat.com>
18390 * nss/getnssent.c (__nss_getent): Fix typo.
18392 2012-03-23 David S. Miller <davem@davemloft.net>
18394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18396 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
18398 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
18399 to pad to uint64_t for each field.
18400 (dl_tls_index): Replace unsigned long with uint64_t.
18402 2012-03-23 Daniel Jacobowitz <dmj@google.com>
18403 Paul Pluzhnikov <ppluzhnikov@google.com>
18406 * grp/Makefile (otherlibs): Don't set it.
18407 * inet/Makefile (otherlibs): Likewise.
18408 * login/Makefile (otherlibs): Likewise.
18409 * nscd/Makefile (otherlibs): Likewise.
18410 * posix/Makefile (otherlibs): Likewise.
18411 * pwd/Makefile (otherlibs): Likewise.
18412 * rt/Makefile (otherlibs): Likewise.
18413 * sunrpc/Makefile (otherlibs): Likewise.
18414 * nss/Makefile (otherlibs): Likewise.
18415 Add libnss_files to routines and static-only-routines.
18416 ($(objpfx)getent): Remove rule.
18417 * resolv/Makefile: Add libnss_dns and libresolv to routines and
18418 static-only-routines.
18420 2012-03-22 Joseph Myers <joseph@codesourcery.com>
18423 * math/s_cexp.c: Include <float.h>.
18424 (__cexp): Handle exp result overflowing not necessarily
18425 overflowing both real and imaginary parts of result.
18426 * math/s_cexpf.c: Likewise.
18427 * math/s_cexpl.c: Likewise.
18428 * math/libm-test.inc (cexp_test): Add more tests.
18429 * sysdeps/i386/fpu/libm-test-ulps: Update.
18430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18432 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18434 * include/link.h (ELFW): New macro.
18435 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
18436 Replace ELF64_R_TYPE with ELFW(R_TYPE).
18438 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18440 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
18443 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18445 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
18447 (struct La_x32_retval): Likewise.
18449 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18451 * sysdeps/x86_64/preconfigure.in: New file.
18452 * sysdeps/x86_64/preconfigure: New generated file.
18454 2012-03-22 Joseph Myers <joseph@codesourcery.com>
18457 * math/e_exp2l.c: Include <float.h>.
18458 (__ieee754_exp2l): Handle overflow and underflow cases
18459 separately. Only pass fractional part of argument to
18461 * math/libm-test.inc (exp2_test): Add more tests.
18463 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
18464 negating x to take absolute value.
18465 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
18467 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18468 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
18470 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
18471 computing low part if x was negated.
18472 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18474 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18476 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
18477 la_x32_gnu_pltexit.
18478 (pltexit): Cast int_retval to ptrdiff_t.
18479 * elf/tst-auditmod3b.c: Likewise.
18480 * elf/tst-auditmod4b.c: Likewise.
18481 * elf/tst-auditmod5b.c: Likewise.
18482 * elf/tst-auditmod6b.c: Likewise.
18483 * elf/tst-auditmod6c.c: Likewise.
18484 * elf/tst-auditmod7b.c: Likewise.
18486 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
18487 and x32_gnu_pltexit.
18489 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
18490 __ELF_NATIVE_CLASS.
18491 (La_x32_regs): New macro.
18492 (La_x32_retval): Likewise.
18493 (la_x32_gnu_pltenter): New function prototype.
18494 (la_x32_gnu_pltexit): Likewise.
18496 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
18498 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
18501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18503 * configure.in (libc_cv_cc_nofma): Check for option to disable
18504 generation of FMA instructions.
18505 * configure: Regenerate.
18506 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
18507 * sysdeps/ieee754/dbl-64/Makefile: New file.
18508 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18509 Remove brandred-fma4.
18510 (CFLAGS-brandred-fma4.c): Remove.
18511 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
18512 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
18514 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
18517 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18519 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18520 LLONG_MAX != LONG_MAX.
18521 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18522 (_fitoa_word): Likewise.
18523 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
18524 LLONG_MAX != LONG_MAX.
18525 * stdio-common/_itowa.h: Include <_itoa.h>.
18526 (_itowa_word): Use _ITOA_WORD_TYPE on value.
18527 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
18528 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
18529 only if not defined.
18530 (_ITOA_WORD_TYPE): Likewise.
18531 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18532 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
18534 2012-03-21 David S. Miller <davem@davemloft.net>
18536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18538 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18540 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
18541 of x86_64 when setting libc_cv_slibdir, libdir and
18543 * sysdeps/unix/sysv/linux/configure: Regenerated.
18545 2012-03-21 Joseph Myers <joseph@codesourcery.com>
18547 * manual/lang.texi (Old Varargs): Remove section.
18548 (How Variadic): Update menu.
18549 (va_start): Do not mention varargs.h.
18551 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18552 Joseph Myers <joseph@codesourcery.com>
18554 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
18556 * configure: Regenerated.
18558 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18560 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
18561 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
18564 2012-03-21 Joseph Myers <joseph@codesourcery.com>
18567 * Makefile (files-for-dist): Remove NOTES.
18568 (NOTES): Remove rule.
18569 * README: Don't refer to NOTES.
18570 * manual/creature.texi: Don't include macros.texi.
18571 * manual/intro.texi (creature.texi): Remove comment referring to
18574 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
18575 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
18576 * configure: Regenerated.
18577 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
18578 LIBC_TRY_CC_OPTION.
18579 (libc_cv_as_i686): Likewise.
18580 (libc_cv_cc_avx): Likewise.
18581 (libc_cv_cc_sse2avx): Likewise.
18582 (libc_cv_cc_fma4): Likewise.
18583 (libc_cv_cc_novzeroupper): Likewise.
18584 * sysdeps/i386/configure: Regenerated.
18587 * sysdeps/i386/fpu/s_cexp.S: Remove.
18588 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18589 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18590 * math/libm-test.inc (cexp_test): Add more tests.
18591 * sysdeps/i386/fpu/libm-test-ulps: Update.
18592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18594 2012-03-21 Allan McRae <allan@archlinux.org>
18596 * timezone/Makefile: Do not install iso3166.tab and zone.tab
18598 2012-03-21 Joseph Myers <joseph@codesourcery.com>
18601 * math/w_exp2.c: Do not include <float.h>.
18602 (o_threshold, u_threshold): Remove.
18603 (__exp2): Calculate result before checking finiteness and calling
18605 * math/w_exp2f.c: Likewise.
18606 * math/w_exp2l.c: Likewise.
18607 * math/libm-test.inc (exp2_test): Require overflow exception for
18611 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
18612 range of signed 64-bit integers before using fistpll. Remove
18613 checks for whether integers fit in mantissa bits.
18614 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
18615 the range of signed 32-bit integers before using fistpl. Remove
18616 checks for whether integers fit in mantissa bits.
18617 * sysdeps/i386/fpu/e_powl.S (p64): New object.
18618 (__ieee754_powl): Test for y outside the range of signed 64-bit
18619 integers before using fistpll. Reduce 64-bit values to 63-bit
18621 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
18622 divide-by-zero is raised for zero to large negative powers.
18623 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
18624 (__ieee754_powl): Test for y outside the range of signed 64-bit
18625 integers before using fistpll. Reduce 64-bit values to 63-bit
18627 * math/libm-test.inc (pow_test): Add more tests.
18629 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18631 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
18632 <stdio-common/_itoa.h>.
18633 * debug/segfault.c: Likewise.
18634 * elf/dl-cache.c: Likewise.
18635 * elf/dl-minimal.c: Likewise.
18636 * elf/dl-misc.c: Likewise.
18637 * elf/dl-sysdep.c: Likewise.
18638 * elf/dl-version.c: Likewise.
18639 * elf/rtld.c: Likewise.
18640 * hurd/hurdsock.c: Likewise.
18641 * hurd/lookup-retry.c: Likewise.
18642 * malloc/malloc.c: Likewise.
18643 * malloc/mtrace.c: Likewise.
18644 * nscd/nscd_getgr_r.c: Likewise.
18645 * nscd/nscd_getpw_r.c: Likewise.
18646 * nscd/nscd_getserv_r.c: Likewise.
18647 * posix/getopt_init.c: Likewise.
18648 * posix/wordexp.c: Likewise.
18649 * stdio-common/_itoa.c: Likewise.
18650 * stdio-common/printf_fphex.c: Likewise.
18651 * stdio-common/vfprintf.c: Likewise.
18652 * string/_strerror.c: Likewise.
18653 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
18654 * sysdeps/i386/i686/hp-timing.h: Likewise.
18655 * sysdeps/mach/_strerror.c: Likewise.
18656 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
18657 * sysdeps/mach/hurd/sethostid.c: Likewise.
18658 * sysdeps/mach/hurd/xmknodat.c: Likewise.
18659 * sysdeps/mach/xpg-strerror.c: Likewise.
18660 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18661 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18662 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
18663 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
18664 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18665 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
18666 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
18667 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
18668 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
18669 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
18670 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
18671 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18672 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
18673 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18674 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18675 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
18676 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
18677 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
18678 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18679 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18680 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
18682 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
18684 * stdio-common/_itoa.h: Moved to ...
18685 * sysdeps/generic/_itoa.h: Here.
18687 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
18689 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
18690 instead of "_itoa.h" and "_itowa.h".
18691 * stdio-common/vfprintf.: Likewise.
18693 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18695 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
18697 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
18698 (__signbit): Likwise.
18699 (llrintf): Likwise.
18702 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18704 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
18707 2012-03-20 Joseph Myers <joseph@codesourcery.com>
18709 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
18710 OVERFLOW_EXCEPTION_OK.
18711 * math/libm-test.inc ("Philosophy"): Update comment about
18713 (OVERFLOW_EXCEPTION): Define.
18714 (OVERFLOW_EXCEPTION_OK): Likewise.
18715 (INVALID_EXCEPTION_OK): Renumber.
18716 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18717 (IGNORE_ZERO_INF_SIGN): Likewise.
18718 (test_exceptions): Handle FE_OVERFLOW.
18719 (exp10_test): Expect overflow exceptions.
18720 (exp2_test): Likewise.
18721 (expm1_test): Likewise.
18722 (nextafter_test): Likewise.
18723 (pow_test): Likewise.
18724 (scalbn_test): Likewise.
18725 (scalbln_test): Likewise.
18727 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18729 * sysdeps/x86_64/bits/atomic.h
18730 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
18732 (atomic_exchange_acq): Likewise.
18733 (__arch_exchange_and_add_body): Likewise.
18734 (__arch_add_body): Likewise.
18735 (atomic_add_negative): Likewise.
18736 (atomic_add_zero): Likewise.
18738 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18740 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
18741 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
18743 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18745 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
18746 Check __x86_64__ instead of __WORDSIZE.
18748 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18750 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
18752 2012-03-19 David S. Miller <davem@davemloft.net>
18754 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18756 * sysdeps/sparc/fpu/fenv_private.h: New file.
18757 * sysdeps/sparc/fpu/math_private.h: Use it.
18758 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
18760 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
18761 (libc_feholdexcept_setroundl): Remove.
18762 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
18764 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
18765 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
18767 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18769 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
18770 int64_t instead of long int.
18771 (INSERT_WORDS64): Likwise.
18773 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18775 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
18776 _Unwind_GetCFA return to _Unwind_Ptr first.
18778 2012-03-19 Joseph Myers <joseph@codesourcery.com>
18781 * math/s_clog.c: Include <float.h>.
18782 (__clog): Scale large or subnormal inputs.
18783 * math/s_clogf.c: Likewise.
18784 * math/s_clogl.c: Likewise.
18785 * math/s_clog10.c: Include <float.h>.
18786 (M_LOG10_2): Define.
18787 (__clog10): Scale large or subnormal inputs.
18788 * math/s_clog10f.c: Likewise.
18789 * math/s_clog10l.c: Likewise.
18790 * math/libm-test.inc (clog_test): Add more tests.
18791 (clog10_test): Likewise.
18792 * sysdeps/i386/fpu/libm-test-ulps: Update.
18793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18796 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
18798 * math/libm-test.inc (atan2_test): Add another test.
18800 * Makerules (common-objdir-compile): Remove.
18801 * sysdeps/unix/Makefile (config-generated): Do not add
18802 $(unix-generated) to variable.
18803 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
18804 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
18806 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
18808 [generic bits/local_lim.h] (before-compile): Do not append to
18810 [generic bits/local_lim.h] (common-generated): Likewise.
18811 [generic sys/param.h] (before-compile): Do not append to variable.
18812 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
18813 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
18814 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
18815 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
18817 [generic sys/param.h] (sys/param.h-includes): Remove variable.
18818 [generic sys/param.h] (sys/param.h-includes): Remove rule.
18819 [generic sys/param.h] ($(addprefix
18820 $(common-objpfx),$(sys/param.h-includes))): Likewise.
18821 [generic sys/param.h] (common-generated): Do not append to
18823 [generic sys/param.h] (sysdep_headers): Likewise.
18824 [generic bits/errno.h] (before-compile): Do not append to
18826 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18828 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18829 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18830 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18831 [generic bits/errno.h] (common-generated): Do not append to
18833 [generic bits/ioctls.h] (before-compile): Do not append to
18835 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18837 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18838 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18839 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18841 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18842 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18843 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18844 [generic bits/ioctls.h] (common-generated): Do not append to
18846 [generic sys/syscall.h] (syscall.h): Remove variable.
18847 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18849 [generic sys/syscall.h] (before-compile): Do not append to
18851 [generic sys/syscall.h] (common-generated): Likewise.
18852 * sysdeps/unix/errnos-tmpl.c: Remove file.
18853 * sysdeps/unix/errnos.awk: Likewise.
18854 * sysdeps/unix/ioctls-tmpl.c: Likewise.
18855 * sysdeps/unix/ioctls.awk: Likewise.
18856 * sysdeps/unix/mk-local_lim.c: Likewise.
18857 * sysdeps/unix/snarf-ioctls: Likewise.
18859 2012-03-19 Richard Henderson <rth@twiddle.net>
18861 * sysdeps/i386/fpu/fenv_private.h: New file.
18862 * sysdeps/i386/fpu/math_private.h: Use it.
18863 (math_opt_barrier, math_force_eval): Remove.
18864 (libc_feholdexcept_setround_53bit): Remove.
18865 (libc_feupdateenv_53bit): Remove.
18866 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18867 (math_opt_barrier, math_force_eval): Remove.
18868 (libc_feholdexcept): Remove.
18869 (libc_feholdexcept_setround): Remove.
18870 (libc_fetestexcept, libc_fesetenv): Remove.
18871 (libc_feupdateenv_test): Remove.
18872 (libc_feupdateenv, libc_feholdsetround): Remove.
18873 (libc_feresetround): Remove.
18875 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18876 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18878 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18879 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18880 (libc_feupdateenv_testl): New.
18881 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18882 (libc_feupdateenv_testf): New.
18883 (libc_feupdateenv): Use libc_feupdateenv_test.
18884 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18885 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18887 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18888 (libc_feholdsetroundf, libc_feholdsetroundl): New.
18889 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18890 (libc_feresetround_noex): New.
18891 (libc_feresetround_noexf): New.
18892 (libc_feresetround_noexl): New.
18893 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18894 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18895 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18896 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18898 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18899 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18901 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18902 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18903 SET_RESTORE_ROUND_NOEX.
18904 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18905 SET_RESTORE_ROUND_NOEXF.
18906 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18907 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18908 (libc_feholdsetroundf): New.
18909 (libc_feresetround, libc_feresetroundf): New.
18911 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18912 (libc_feholdexcept_setround_53bit): Convert from macro to function.
18913 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
18915 * sysdeps/generic/math_private.h: Include <fenv.h>.
18916 (default_libc_feholdexcept): New.
18917 (default_libc_feholdexcept_setround): New.
18918 (default_libc_fesetenv, default_libc_feupdateenv): New.
18919 (libc_feholdexcept): Only define if undefined.
18920 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18921 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18922 (libc_feholdexcept_setroundl): Likewise.
18923 (libc_feholdexcept_setround_53bit): Likewise.
18924 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18925 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18926 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18927 (libc_feupdateenv_53bit): Likewise.
18928 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18929 (libc_feholdexcept): Convert from macro to inline function.
18930 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18931 (libc_fesetenv, libc_feupdateenv): Likewise.
18933 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18934 not previously defined.
18935 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18936 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18937 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18938 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18939 * sysdeps/ieee754/flt-32/math_private.h: New file.
18940 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18941 math_private.h below SET_FLOAT_WORD.
18942 (__isnan, __isinf_ns, __finite): Remove.
18943 (__isnanf, __isinf_nsf, __finitef): Remove.
18945 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18949 2012-03-17 David S. Miller <davem@davemloft.net>
18952 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18955 2012-03-16 David S. Miller <davem@davemloft.net>
18957 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18961 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18963 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18964 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18965 sysdep_routines when subdir is sysvipc.
18966 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18967 __getshmlba helper.
18969 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18971 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18973 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18976 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18978 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18979 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18980 (__lround): Renamed to ...
18981 (__llround): This. Replace long int with long long int.
18982 Define lround functions as aliases of llround functions.
18983 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18985 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18987 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18988 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18989 adresses to uintptr_t. Replace "long int" and "unsigned long
18990 int" with "greg_t" on va_arg.
18992 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18994 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18995 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18997 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18998 Move e_machine check before EI_CLASS check. Handle x32
18999 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
19000 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
19001 SKIP_EM_IA_64 and include
19002 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
19004 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
19005 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
19006 (add_system_dir): New macro.
19008 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
19009 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
19011 2012-03-16 Joseph Myers <joseph@codesourcery.com>
19022 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
19024 * math/w_j0f.c (j0f): Likewise.
19026 * math/w_j0l.c (__j0l): Likewise.
19028 * math/w_j1.c (j1): Likewise.
19030 * math/w_j1f.c (j1f): Likewise.
19032 * math/w_j1l.c (__j1l): Likewise.
19034 * math/w_jn.c (jn): Likewise.
19036 * math/w_jnf.c (jnf): Likewise.
19038 * math/w_jnl.c (__jnl): Likewise.
19040 * math/libm-test.inc (j0_test): Add more tests.
19041 (j1_test): Likewise.
19042 (jn_test): Likewise. Add trailing semicolon to existing test.
19043 (y0_test): Likewise.
19044 (y1_test): Likewise.
19045 * sysdeps/i386/fpu/libm-test-ulps: Update.
19046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19050 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
19051 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
19052 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
19053 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
19054 (__tanl): Set errno for infinite argument.
19055 * sysdeps/i386/fpu/mptan.c: Remove.
19056 * sysdeps/i386/fpu/s_tan.S: Likewise.
19057 * sysdeps/i386/fpu/s_tanl.S: Likewise.
19058 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
19059 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
19060 * math/libm-test.inc (tan_test): Add more tests and enable more
19061 tests for double and long double.
19062 * sysdeps/i386/fpu/libm-test-ulps: Update.
19063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19065 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19067 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
19068 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
19070 2012-03-16 Roland McGrath <roland@hack.frob.com>
19072 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
19073 * configure.in: Use it for both main tree and add-ons.
19074 * configure: Regenerated.
19076 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19078 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
19080 2012-03-16 Joseph Myers <joseph@codesourcery.com>
19082 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
19086 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
19087 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
19088 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
19089 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
19090 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
19092 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
19093 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
19094 != 0 for prec == 2.
19095 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
19096 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
19097 * sysdeps/i386/fpu/s_cosl.S: Likewise.
19098 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
19099 * sysdeps/i386/fpu/s_sinl.S: Likewise.
19100 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
19101 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
19102 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
19103 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
19104 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
19105 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
19106 * math/libm-test.inc (cos_test): Add more tests and enable more
19107 tests for long double.
19108 (sin_test): Likewise.
19109 (sincos_test): Likewise.
19110 * sysdeps/i386/fpu/libm-test-ulps: Update.
19111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19113 2012-03-16 David S. Miller <davem@davemloft.net>
19115 * sysdeps/sparc/fpu/math_private.h: New file.
19117 2012-03-15 David S. Miller <davem@davemloft.net>
19119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
19121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
19122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
19124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
19125 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
19126 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
19127 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
19128 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
19129 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
19131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19133 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
19134 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
19136 * sysdeps/sparc/sparc-ifunc.h: New file.
19137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
19139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
19142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
19144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
19145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
19146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
19151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
19153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
19155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
19157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
19159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
19160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
19161 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19162 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19163 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
19164 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
19165 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19166 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19167 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
19168 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
19169 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
19170 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
19171 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
19172 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
19173 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
19174 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
19175 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
19176 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
19177 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
19178 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
19179 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
19180 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
19182 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
19184 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
19186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19188 2012-03-15 Andreas Jaeger <aj@suse.de>
19191 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
19192 ieee754/flt-32 implementation for sin, cos and sincos.
19193 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
19194 * sysdeps/i386/fpu/s_cosf.S: Likewise.
19195 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
19196 * sysdeps/i386/fpu/s_sinf.S: Likewise.
19197 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
19198 ieee754/flt-32 implementation for tan.
19200 * math/libm-test.inc (cos_test): Enable some large input tests for
19202 (sin_test): Likewise.
19203 (sincos_test): Likewise.
19204 (tan_test): Add tests for large input.
19206 * sysdeps/i386/fpu/libm-test-ulps: Update.
19208 2012-03-15 Andreas Jaeger <aj@suse.de>
19211 * math/libm-test.inc (cos_test): Add more test cases.
19212 (sin_test): Likewise.
19213 (sincos_test): Likewise.
19215 2012-03-15 Andreas Jaeger <aj@suse.de>
19218 * math/libm-test.inc (cos_test): Add a test case for large input
19220 (sin_test): Likewise.
19221 (sincos_test): Likewise.
19223 2012-03-15 Andreas Jaeger <aj@suse.de>,
19224 Joseph Myers <joseph@codesourcery.com>
19227 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
19228 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
19229 * sysdeps/i386/fpu/branred.c: Likewise.
19230 * sysdeps/i386/fpu/dosincos.c: Likewise.
19231 * sysdeps/i386/fpu/mpa.c: Likewise.
19232 * sysdeps/i386/fpu/s_cos.S: Likewise.
19233 * sysdeps/i386/fpu/s_sin.S: Likewise.
19234 * sysdeps/i386/fpu/s_sincos.S: Likewise.
19235 * sysdeps/i386/fpu/sincos32.c: Likewise.
19237 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
19239 (libc_feupdateenv_53bit): Define.
19240 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
19242 (libc_feupdateenv_53bit): Define.
19244 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
19245 53 bit (without extend i386 double precision).
19247 * math/libm-test.inc (sincos_test): Add tests for large input.
19251 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19253 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
19255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19257 2012-03-15 David S. Miller <davem@davemloft.net>
19259 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
19260 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
19261 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
19262 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
19263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
19264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
19265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
19266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
19267 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
19268 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
19269 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
19270 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
19271 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
19272 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
19273 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
19274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
19276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
19277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
19279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
19280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
19282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
19283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
19285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
19286 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
19287 fmin/fmax sysdep routines.
19288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19290 2012-03-14 David S. Miller <davem@davemloft.net>
19292 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
19293 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
19294 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
19295 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
19296 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
19297 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
19298 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
19299 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
19300 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
19301 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
19302 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
19303 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
19304 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
19305 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
19306 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
19307 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
19308 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
19309 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
19310 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
19311 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
19312 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
19313 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
19314 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
19315 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
19316 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
19317 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
19318 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
19319 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
19320 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
19322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
19324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
19325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
19327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
19328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
19330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
19331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
19333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
19334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
19336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
19337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
19339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
19341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
19343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
19345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
19347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
19349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
19351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
19352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
19354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
19355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
19357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
19358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
19360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
19361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
19364 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19369 * sysdeps/sparc/configure.in: New file.
19370 * sysdeps/sparc/configure: Generate.
19371 * configure.in (libc_cv_sparc_as_vis3): Substitute.
19372 * configure: Regenerate.
19373 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
19374 * config.make.in (have-as-vis3): New.
19375 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
19376 available use -Av9d instead of -Av9a.
19377 * sysdeps/sparc/sparc64/Makefile: Likewise.
19378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
19379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
19381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
19383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
19385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
19387 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
19388 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
19389 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
19390 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
19391 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
19393 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
19394 fzeros/fnegs to load 0x80000000 into a float register instead of
19396 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
19398 2012-03-14 Joseph Myers <joseph@codesourcery.com>
19400 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19402 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
19403 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
19404 ($(inst_includedir)/bits/syscall.h): Remove rule.
19405 ($(objpfx)bits/syscall.d): Include instead of
19406 $(objpfx)syscall-list.d.
19407 (generated): Change syscall-list.h and syscall-list.d to
19408 bits/syscall.h and bits/syscall.d.
19410 2012-03-14 Roland McGrath <roland@hack.frob.com>
19413 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
19415 2012-03-14 Joseph Myers <joseph@codesourcery.com>
19418 * math/s_csqrt.c: Include <float.h>.
19419 (__csqrt): Scale large or subnormal inputs.
19420 * math/s_csqrtf.c: Likewise.
19421 * math/s_csqrtl.c: Likewise.
19422 * math/libm-test.inc (csqrt_test): Add more tests.
19423 * sysdeps/i386/fpu/libm-test-ulps: Update.
19424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19427 * math/libm-test.inc (hypot_test): Add more tests.
19429 2012-03-13 David S. Miller <davem@davemloft.net>
19432 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
19433 double-precision for the calculation instead of scaling.
19435 2012-03-13 Joseph Myers <joseph@codesourcery.com>
19437 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
19438 manipulate bits before adding and subtracting TWO52[sx].
19439 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
19440 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
19442 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
19444 2012-03-13 David S. Miller <davem@davemloft.net>
19446 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
19447 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
19448 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
19449 rtld-global-offsets.h
19450 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19452 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
19455 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
19457 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
19458 'err' in the ifdef scope in which it is actually used.
19460 * nss/nss_db/db-init.c: Include string.h
19462 2012-03-12 David S. Miller <davem@davemloft.net>
19464 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19465 masking out of the most significant byte of random value used.
19466 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19467 Fix coding style in previous change.
19469 * sysdeps/unix/sysv/linux/kernel-features.h
19470 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
19471 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
19473 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
19476 2012-03-11 David S. Miller <davem@davemloft.net>
19478 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
19479 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
19480 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
19481 for 'resultvar' otherwise things get truncated on 64-bit.
19483 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19484 Fix masking out of the most significant byte of random value used.
19486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19488 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
19490 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19492 2012-03-09 David S. Miller <davem@davemloft.net>
19494 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
19495 variables with appropriate CPP guards.
19496 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
19497 frame pointer, not the stack pointer. Correct layout comments. Fix test
19498 on resulting framesize and the management of the outregs buffer for pltexit.
19499 Preserve floating point return values across _dl_call_pltexit call.
19500 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
19501 framesize and the management of the outregs buffer for pltexit.
19502 Preserve floating point return values across _dl_call_pltexit
19504 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
19505 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
19506 (print_exit): Fix format string for return register value.
19508 2012-03-10 Joseph Myers <joseph@codesourcery.com>
19510 * sunrpc/Makefile (others): Add rpcgen.
19511 ($(objpfx)rpcgen): Remove special build rule and dependency on
19513 * sunrpc/rpcgen.c: New file.
19515 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
19518 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
19519 * stdio-common/bug-vfprintf-nargs.c: Likewise.
19520 * sysdeps/i386/crti.S: Likewise.
19521 * sysdeps/i386/crtn.S: Likewise.
19522 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
19523 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
19524 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
19525 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
19526 * sysdeps/sh/crti.S: Likewise.
19527 * sysdeps/sh/crtn.S: Likewise.
19528 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19531 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
19533 * locale/programs/locfile-kw.gperf: Likewise.
19534 * locale/programs/charmap-kw.h: Regenerated.
19535 * locale/programs/locfile-kw.h: Likewise.
19538 * intl/plural.y: Replace FSF snail mail address with URL.
19539 * intl/plural.c: Regenerated.
19541 2012-03-09 Richard Henderson <rth@twiddle.net>
19543 * include/math_private.h: Remove file.
19544 * math/math_private.h: Move file ...
19545 * sysdeps/generic/math_private.h: ... here.
19547 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
19548 * sysdeps/powerpc/fpu/math_private.h: Likewise.
19549 * sysdeps/x86_64/fpu/math_private.h: Likewise.
19551 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
19552 and <math_private.h>.
19553 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19554 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19555 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19556 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19557 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19558 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
19559 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19560 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19561 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19562 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19563 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19564 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19565 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19566 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19567 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19568 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19569 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19570 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19571 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19572 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19573 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19574 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19575 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19576 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19577 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19578 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19579 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19580 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19581 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19582 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19583 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19584 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19585 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19586 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19587 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19588 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19589 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19590 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19591 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19592 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19593 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
19594 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19595 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19596 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19597 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19598 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19599 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
19600 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19601 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19602 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19603 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19604 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
19605 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19606 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19607 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19608 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19609 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19610 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19611 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19612 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
19613 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19614 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19615 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19616 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19617 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
19618 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19619 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19620 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19621 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
19622 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
19623 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19624 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19625 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19626 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19627 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
19628 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
19629 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
19630 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19631 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
19632 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
19633 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19634 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
19635 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19636 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19637 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19638 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19639 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
19640 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
19641 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19642 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19643 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19644 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19645 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19646 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19647 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19648 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19649 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19650 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19651 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19652 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19653 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19654 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19655 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19656 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19657 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19658 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19659 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19660 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19661 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19662 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19663 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19664 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19665 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19666 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19667 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
19668 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19669 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19670 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19671 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19672 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19673 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19674 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19675 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19676 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
19677 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19678 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19679 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19680 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
19681 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19682 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
19683 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
19684 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19685 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19686 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
19687 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
19688 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19689 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19690 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19691 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
19692 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19693 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19694 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19695 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19696 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
19697 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
19698 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19699 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19700 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19701 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
19702 * sysdeps/ieee754/k_standard.c: Likewise.
19703 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19704 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19705 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19706 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19707 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19708 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19709 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19710 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19711 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19712 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19713 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19714 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19715 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19716 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19717 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19718 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19719 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19720 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19721 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19722 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
19723 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
19724 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
19725 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19726 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19727 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19728 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19729 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19730 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19731 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19732 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19733 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19734 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19735 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19736 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19737 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19738 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19739 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19740 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
19741 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
19742 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19743 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19744 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19745 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19746 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19747 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19748 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19749 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19750 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19751 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19752 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19753 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19754 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19755 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19756 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
19757 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19758 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19759 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
19760 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
19761 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19762 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19763 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19764 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19765 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19766 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19767 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19768 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19769 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19770 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19771 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19772 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19773 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19774 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19775 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19776 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19777 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19778 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19779 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
19780 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19781 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19782 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19783 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19784 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19785 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19786 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19787 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
19788 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19789 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19790 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19791 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19792 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19793 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
19794 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19795 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19796 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19797 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19798 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19799 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
19800 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19801 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19802 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
19803 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19804 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19805 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19806 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19807 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
19808 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19809 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19810 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19811 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
19812 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19813 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19814 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19815 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19816 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19817 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19818 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19819 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19820 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19821 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19822 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19823 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19824 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19825 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19826 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19827 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19828 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19829 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19830 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19831 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19832 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19833 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19834 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19835 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19836 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19837 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19838 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19839 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19840 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19841 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19842 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19843 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19844 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19845 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19846 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19847 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19848 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19849 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19850 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19851 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19852 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19853 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19854 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19855 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19856 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19857 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19858 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19859 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19860 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19861 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19862 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19863 * sysdeps/ieee754/s_lib_version.c: Likewise.
19864 * sysdeps/ieee754/s_matherr.c: Likewise.
19865 * sysdeps/ieee754/s_signgam.c: Likewise.
19866 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19867 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19868 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19869 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19870 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19871 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19872 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19873 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19874 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19875 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19876 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19877 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19878 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19879 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19880 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19881 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19882 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19883 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19884 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19885 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19886 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19888 2012-03-09 Joseph Myers <joseph@codesourcery.com>
19890 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19891 * sunrpc/rpc_main.c: Likewise.
19892 * sunrpc/rpc_svcout.c: Likewise.
19894 2012-03-09 David S. Miller <davem@davemloft.net>
19896 * include/math_private.h: New file.
19898 2012-03-09 Joseph Myers <joseph@codesourcery.com>
19900 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19901 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19902 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19903 from <bits/socket_type.h>.
19904 (enum __socket_type): Don't define here.
19905 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19906 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19907 bits/socket_type.h.
19910 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19911 checking __USE_GNU.
19913 * Makerules ($(inst_includedir)/%.h): New rule.
19914 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19915 (install-others): Remove variable setting.
19916 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19918 2012-03-08 Richard Henderson <rth@twiddle.net>
19920 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19921 from macro to inline function; merge with the
19922 !__LIBC_INTERNAL_MATH_INLINES version.
19923 (__ieee754_sqrtf): Likewise.
19925 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19926 to inline function.
19927 (__rintf, __floor, __floorf): Likewise.
19929 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19930 macro to inline function.
19931 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19933 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19934 not <math/math_private.h>.
19936 2012-03-08 David S. Miller <davem@davemloft.net>
19938 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19940 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19942 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19944 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19946 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19947 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19949 2012-03-08 Ulrich Drepper <drepper@gmail.com>
19951 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19952 be defined individually, they must be defined as a block. Define
19953 S for printing a string instead of hidint the different by using a
19954 macro for adding the 'l'.
19955 * stdio-common/tst-fphex-wide.c: Adjust.
19957 2012-03-07 Marek Polacek <polacek@redhat.com>
19959 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19961 2012-03-08 Marek Polacek <polacek@redhat.com>
19964 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19965 * stdio-common/tst-fphex.c: Define a few macros to make the
19966 test reusable. Use them.
19967 * stdio-common/tst-fphex-wide.c: New file.
19969 2012-03-08 Joseph Myers <joseph@codesourcery.com>
19972 * manual/macros.texi (gnusystems): New macro.
19973 (nongnusystems): Likewise.
19974 (gnulinuxhurdsystems): Likewise.
19975 (gnuhurdsystems): Likewise..
19976 (gnulinuxsystems): Likewise.
19977 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19978 variants of the GNU system, not "GNU system".
19979 * manual/conf.texi: Likewise.
19980 * manual/errno.texi: Likewise. Update example of errno macro
19982 * manual/filesys.texi: Likewise.
19983 (getumask): Document as specific to GNU/Hurd.
19984 * manual/install.texi: Likewise. Reword some references to
19986 * manual/intro.texi: Likewise.
19987 * manual/io.texi: Likewise.
19988 (File Name Portability): Detail which constraints are inapplicable
19989 to all GNU systems and which are only inapplicable to GNU/Hurd.
19990 * manual/job.texi: Likewise.
19991 * manual/llio.texi: Likewise.
19992 (O_NOCTTY): Document as present on GNU/Linux.
19993 * manual/maint.texi: Likewise.
19994 * manual/memory.texi: Likewise.
19995 * manual/pattern.texi: Likewise.
19996 * manual/pipe.texi: Likewise.
19997 * manual/process.texi: Likewise.
19998 * manual/resource.texi: Likewise.
19999 (RUSAGE_CHILDREN): Remove statement about specifying a particular
20001 * manual/setjmp.texi: Likewise.
20002 * manual/signal.texi: Likewise.
20003 * manual/startup.texi: Likewise.
20004 * manual/stdio.texi: Likewise.
20005 * manual/terminal.texi: Likewise.
20006 (ONLCR): Document as POSIX.
20007 (OXTABS): Document availability on GNU/Linux as XTABS.
20008 (ONOEOT): Document availability separately from other bits.
20009 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
20010 * manual/time.texi: Likewise.
20011 * manual/users.texi: Likewise.
20012 * INSTALL: Regenerated.
20013 * sysdeps/gnu/errlist.c: Regenerated.
20015 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
20016 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
20017 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
20019 * configure: Regenerated.
20021 2012-03-07 Joseph Myers <joseph@codesourcery.com>
20023 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
20024 default includes instead of AC_HEADER_CHECK.
20025 * sysdeps/i386/configure: Regenerated.
20028 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
20029 * math/s_cacoshf.c (__cacoshf): Likewise.
20030 * math/s_cacoshl.c (__cacoshl): Likewise.
20031 * math/s_casinh.c (__casinh): Set signs of result from argument.
20032 * math/s_casinhf.c (__casinhf): Likewise.
20033 * math/s_casinhl.c (__casinhl): Likewise.
20034 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
20035 (casinh_test): Add more tests.
20036 * sysdeps/i386/fpu/libm-test-ulps: Update.
20037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20039 2012-03-07 Ulrich Drepper <drepper@gmail.com>
20041 * po/zh_TW.po: Update from translation team.
20043 * login/Makefile (distribute): Remove variable.
20044 * catgets/Makefile: Likewise.
20045 * mach/Makefile: Likewise.
20046 * malloc/Makefile: Likewise.
20047 * misc/Makefile: Likewise.
20048 * iconv/Makefile: Likewise.
20049 * nscd/Makefile: Likewise.
20050 * hurd/Makefile: Likewise.
20051 * manual/Makefile: Likewise.
20052 * locale/Makefile: Likewise.
20053 * intl/Makefile: Likewise.
20054 * conform/Makefile: Likewise.
20055 * nss/Makefile: Likewise.
20056 * time/Makefile: Likewise.
20057 * soft-fp/Makefile: Likewise.
20058 * dirent/Makefile: Likewise.
20059 * gmon/Makefile: Likewise.
20060 * po/Makefile: Likewise.
20061 * rt/Makefile: Likewise.
20062 * socket/Makefile: Likewise.
20063 * math/Makefile: Likewise.
20064 * signal/Makefile: Likewise.
20065 * debug/Makefile: Likewise.
20066 * elf/Makefile: Likewise.
20067 * timezone/Makefile: Likewise.
20068 * stdlib/Makefile: Likewise.
20069 * iconvdata/Makefile: Likewise.
20070 * sunrpc/Makefile: Likewise.
20071 * io/Makefile: Likewise.
20072 * argp/Makefile: Likewise.
20073 * inet/Makefile: Likewise.
20074 * hesiod/Makefile: Likewise.
20075 * grp/Makefile: Likewise.
20076 * csu/Makefile: Likewise.
20077 * wctype/Makefile: Likewise.
20078 * crypt/Makefile: Likewise.
20079 * libio/Makefile: Likewise.
20080 * string/Makefile: Likewise.
20081 * nis/Makefile: Likewise.
20082 * resolv/Makefile: Likewise.
20083 * stdio-common/Makefile: Likewise.
20084 * wcsmbs/Makefile: Likewise.
20085 * dlfcn/Makefile: Likewise.
20086 * posix/Makefile: Likewise.
20089 * timezone/Makefile: Don't install timezone files, just the programs
20092 2012-03-06 Ulrich Drepper <drepper@gmail.com>
20094 * nss/databases.def: Add missing gshadow entry.
20096 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
20098 2012-03-06 Marek Polacek <polacek@redhat.com>
20101 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
20102 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20103 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
20104 * stdio-common/tst-long-dbl-fphex.c: New file.
20106 2012-03-06 David S. Miller <davem@davemloft.net>
20108 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20109 (set_obp_int): New function.
20110 (get_obp_int): New function.
20111 (__get_clockfreq_via_dev_openprom): Likewise.
20112 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
20113 Avoid unused variable warnings on 'val' and use builtin_expect.
20114 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
20116 (INLINE_CLONE_SYSCALL): Likewise.
20118 2012-03-05 David S. Miller <davem@davemloft.net>
20120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20122 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
20124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20126 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
20127 only for |x| >= 40.
20128 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20130 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
20132 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
20133 Replace gettimeofday with __vdso_gettimeofday.
20135 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20136 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
20137 __vdso_clock_gettime and __vdso_getcpu.
20139 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
20140 time with __vdso_time.
20142 2012-03-05 Joseph Myers <joseph@codesourcery.com>
20144 * manual/lang.texi (size_t): Note types to which size_t may be
20145 equivalent with the GNU C Library, but do not describe when
20146 differences between them are significant.
20148 2012-03-05 Andreas Jaeger <aj@suse.de>
20150 * sysdeps/i386/fpu/libm-test-ulps: Update.
20152 2012-03-05 Joseph Myers <joseph@codesourcery.com>
20155 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
20156 (__ieee754_pow): Save and restore rounding mode and use
20157 round-to-nearest for main computations.
20158 * math/libm-test.inc (pow_test_tonearest): New function.
20159 (pow_test_towardzero): Likewise.
20160 (pow_test_downward): Likewise.
20161 (pow_test_upward): Likewise.
20162 (main): Call the new functions.
20163 * sysdeps/i386/fpu/libm-test-ulps: Update.
20164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20167 * math/libm-test.inc (cosh_test_tonearest): New function.
20168 (cosh_test_towardzero): Likewise.
20169 (cosh_test_downward): Likewise.
20170 (cosh_test_upward): Likewise.
20171 (sinh_test_tonearest): Likewise.
20172 (sinh_test_towardzero): Likewise.
20173 (sinh_test_downward): Likewise.
20174 (sinh_test_upward): Likewise.
20175 (main): Call the new functions.
20176 * sysdeps/i386/fpu/libm-test-ulps: Update.
20177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20179 2012-03-05 Tom de Vries <tom@codesourcery.com>
20181 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
20182 default stack guard is set in last bytes.
20183 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
20185 2012-03-05 Kees Cook <keescook@chromium.org>
20187 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
20190 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
20191 possibly allocate from heap instead of stack.
20192 * stdio-common/bug-vfprintf-nargs.c: New file.
20193 * stdio-common/Makefile (tests): Add nargs overflow test.
20195 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
20197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20199 2012-03-03 Marek Polacek <polacek@redhat.com>
20201 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
20202 * math/math_private.h: Likewise.
20203 * stdlib/tst-strtod.c: Likewise.
20204 * sysdeps/i386/i486/bits/atomic.h: Likewise.
20205 * sysdeps/x86_64/bits/atomic.h: Likewise.
20207 2012-03-02 David S. Miller <davem@davemloft.net>
20209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
20210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
20211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
20212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
20213 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
20214 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
20215 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
20216 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
20218 2012-03-02 Roland McGrath <roland@hack.frob.com>
20221 * manual/examples/README: New file, says the example source files
20222 can be used under GPL>=2.
20223 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
20224 line containing just "*/".
20225 * manual/examples/add.c: Add copyright header (GPL>=2).
20226 * manual/examples/argp-ex1.c: Likewise.
20227 * manual/examples/argp-ex2.c: Likewise.
20228 * manual/examples/argp-ex3.c: Likewise.
20229 * manual/examples/argp-ex4.c: Likewise.
20230 * manual/examples/atexit.c: Likewise.
20231 * manual/examples/db.c: Likewise.
20232 * manual/examples/dir.c: Likewise.
20233 * manual/examples/dir2.c: Likewise.
20234 * manual/examples/execinfo.c: Likewise.
20235 * manual/examples/filecli.c: Likewise.
20236 * manual/examples/filesrv.c: Likewise.
20237 * manual/examples/fmtmsgexpl.c: Likewise.
20238 * manual/examples/genpass.c: Likewise.
20239 * manual/examples/inetcli.c: Likewise.
20240 * manual/examples/inetsrv.c: Likewise.
20241 * manual/examples/isockad.c: Likewise.
20242 * manual/examples/longopt.c: Likewise.
20243 * manual/examples/memopen.c: Likewise.
20244 * manual/examples/memstrm.c: Likewise.
20245 * manual/examples/mkfsock.c: Likewise.
20246 * manual/examples/mkisock.c: Likewise.
20247 * manual/examples/mygetpass.c: Likewise.
20248 * manual/examples/pipe.c: Likewise.
20249 * manual/examples/popen.c: Likewise.
20250 * manual/examples/rprintf.c: Likewise.
20251 * manual/examples/search.c: Likewise.
20252 * manual/examples/select.c: Likewise.
20253 * manual/examples/setjmp.c: Likewise.
20254 * manual/examples/sigh1.c: Likewise.
20255 * manual/examples/sigusr.c: Likewise.
20256 * manual/examples/stpcpy.c: Likewise.
20257 * manual/examples/strdupa.c: Likewise.
20258 * manual/examples/strftim.c: Likewise.
20259 * manual/examples/strncat.c: Likewise.
20260 * manual/examples/subopt.c: Likewise.
20261 * manual/examples/swapcontext.c: Likewise.
20262 * manual/examples/termios.c: Likewise.
20263 * manual/examples/testopt.c: Likewise.
20264 * manual/examples/testpass.c: Likewise.
20265 * manual/examples/timeval_subtract.c: Likewise.
20268 * manual/time.texi (Elapsed Time): Move timeval_subtract example
20270 * manual/timeval_subtract.c.texi: ... here, new file.
20272 2012-03-02 David S. Miller <davem@davemloft.net>
20274 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
20276 2012-03-02 Joseph Myers <joseph@codesourcery.com>
20279 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
20280 (__sin): Save and restore rounding mode and use round-to-nearest
20281 for all computations.
20282 (__cos): Save and restore rounding mode and use round-to-nearest
20283 for all computations.
20284 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
20286 (tan): Save and restore rounding mode and use round-to-nearest for
20288 * math/libm-test.inc (cos_test_tonearest): New function.
20289 (cos_test_towardzero): Likewise.
20290 (cos_test_downward): Likewise.
20291 (cos_test_upward): Likewise.
20292 (sin_test_tonearest): Likewise.
20293 (sin_test_towardzero): Likewise.
20294 (sin_test_downward): Likewise.
20295 (sin_test_upward): Likewise.
20296 (tan_test_tonearest): Likewise.
20297 (tan_test_towardzero): Likewise.
20298 (tan_test_downward): Likewise.
20299 (tan_test_upward): Likewise.
20300 (main): Call the new functions.
20301 * sysdeps/i386/fpu/libm-test-ulps: Update.
20302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20305 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
20306 small n, then large n, before computing and testing k+n.
20307 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
20308 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
20310 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
20312 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
20313 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
20314 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
20315 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
20316 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20317 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20318 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
20319 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
20320 * math/libm-test.inc (scalbn_test): Add more tests.
20321 (scalbln_test): Likewise.
20323 * manual/filesys.texi (mode_t): Describe constraints on size and
20324 signedness, not exact equivalence to a particular type.
20326 (ino64_t): Likewise.
20328 (nlink_t): Likewise.
20329 (blkcnt_t): Likewise.
20330 (blkcnt64_t): Likewise.
20331 * manual/llio.texi (off_t): Likewise.
20334 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
20335 (__ieee754_exp): Save and restore rounding mode and use
20336 round-to-nearest for all computations.
20337 * math/libm-test.inc (exp_test_tonearest): New function.
20338 (exp_test_towardzero): Likewise.
20339 (exp_test_downward): Likewise.
20340 (exp_test_upward): Likewise.
20341 (main): Call the new functions.
20342 * sysdeps/i386/fpu/libm-test-ulps: Update.
20343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20345 2012-03-01 Chris Demetriou <cgd@google.com>
20347 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
20348 have predictable order.
20350 2012-03-01 David S. Miller <davem@davemloft.net>
20352 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
20354 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
20355 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
20356 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
20357 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
20359 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
20360 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
20361 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
20362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
20363 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
20364 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
20365 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
20366 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
20367 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
20369 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20371 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
20372 * sysdeps/sparc/fpu/libm-test-ulps: to here.
20373 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
20375 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
20376 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20377 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20378 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
20379 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
20380 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
20381 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
20382 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20383 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20384 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
20385 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
20386 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20387 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20388 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20389 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20390 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20391 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
20392 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
20393 * sysdeps/sparc/elf/configure: Regenerated.
20395 2012-03-01 Joseph Myers <joseph@codesourcery.com>
20397 * configure.in (AS, LD): Require binutils 2.20 or later.
20398 * configure: Regenerated.
20399 * manual/install.texi (Tools for Compilation): Give binutils 2.20
20400 as required minimum version.
20401 * INSTALL: Regenerated.
20405 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
20406 before squaring exponent.
20407 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
20408 bottom long double and 27 bits of top long double before squaring
20410 * math/libm-test.inc (erfc_test): Add more tests.
20411 * sysdeps/i386/fpu/libm-test-ulps: Update.
20412 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20415 2012-03-01 Kai Tietz <ktietz@redhat.com>
20417 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
20418 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
20419 containing bit-fields.
20420 * soft-fp/extended.h (_FP_UNION_E): Likewise.
20421 * soft-fp/single.h (_FP_UNION_S): Likewise.
20422 * soft-fp/double.h (_FP_UNION_D): Likewise.
20424 2012-02-29 Joseph Myers <joseph@codesourcery.com>
20427 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
20428 not include ../strcmp.S.
20429 [USE_AS_STRNCASECMP_L]: Likewise.
20430 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
20431 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
20432 * sysdeps/i386/i686/multiarch/strncase_l-c.c
20433 (__strncasecmp_l_ia32): Define as alias to
20434 __strncasecmp_l_nonascii.
20437 * math/libm-test.inc (expm1_test): Add test for bug 5794.
20438 * sysdeps/i386/fpu/libm-test-ulps: Update.
20439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20441 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
20442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20444 2012-02-29 Jeff Law <law@redhat.com>
20446 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
20447 out of bounds read.
20449 2012-02-29 Marek Polacek <polacek@redhat.com>
20452 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
20453 * elf/Makefile: Add rules to run tst-unused-dep.out.
20455 2012-02-28 David S. Miller <davem@davemloft.net>
20457 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
20458 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
20459 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
20460 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
20461 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
20462 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
20464 2012-02-29 Joseph Myers <joseph@codesourcery.com>
20466 * math/libm-test.inc (llround_test): Move one test from
20467 lround_test. Use TEST_f_L in moved test.
20468 (lround_test): Move misplaced test to llround_test. Add testcase
20471 2012-02-28 Ulrich Drepper <drepper@gmail.com>
20473 * sysdeps/x86_64/fpu/e_expf.S: New file.
20474 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
20476 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
20479 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
20480 of remain_len that may cause incomplete multi-byte character and
20482 * posix/bug-regex33.c: New file.
20483 * posix/Makefile (tests): Add bug-regex33.
20485 2012-02-28 Joseph Myers <joseph@codesourcery.com>
20487 * manual/macros.texi: New file.
20488 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
20489 * manual/libc.texinfo: Include macros.texi.
20490 * manual/creatute.texi: Likewise.
20491 * manual/install.texi: Likewise.
20492 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
20493 @glibcadj{} in references to the GNU C Library.
20494 * manual/charset.texi: Likewise.
20495 * manual/conf.texi: Likewise.
20496 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
20497 when not using those macros.
20498 * manual/creature.texi: Likewise.
20499 * manual/crypt.texi: Likewise.
20500 * manual/errno.texi: Likewise.
20501 * manual/filesys.texi: Likewise.
20502 * manual/header.texi: Likewise.
20503 * manual/install.texi: Likewise.
20504 * manual/intro.texi: Likewise.
20505 * manual/io.texi: Likewise.
20506 * manual/job.texi: Likewise.
20507 * manual/lang.texi: Likewise.
20508 * manual/libc.texiinfo: Likewise.
20509 * manual/llio.texi: Likewise.
20510 * manual/locale.texi: Likewise.
20511 * manual/maint.texi: Likewise.
20512 * manual/math.texi: Likewise.
20513 * manual/memory.texi: Likewise.
20514 * manual/message.texi: Likewise.
20515 * manual/nss.texi: Likewise.
20516 * manual/pattern.texi: Likewise.
20517 * manual/process.texi: Likewise.
20518 * manual/resource.texi: Likewise.
20519 * manual/search.texi: Likewise.
20520 * manual/setjmp.texi: Likewise.
20521 * manual/signal.texi: Likewise.
20522 * manual/socket.texi: Likewise.
20523 * manual/startup.texi: Likewise.
20524 * manual/stdio.texi: Likewise.
20525 * manual/string.texi: Likewise.
20526 * manual/sysinfo.texi: Likewise.
20527 * manual/syslog.texi: Likewise.
20528 * manual/terminal.texi: Likewise.
20529 * manual/time.texi: Likewise.
20530 * manual/users.texi: Likewise.
20531 * INSTALL: Regenerated.
20532 * NOTES: Regenerated.
20533 * sysdeps/gnu/errlist.c: Regenerated.
20535 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
20537 * include/dirent.h: Include <dirstream.h> before
20540 2012-02-28 David S. Miller <davem@davemloft.net>
20542 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
20543 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
20544 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
20545 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
20547 2012-02-27 David S. Miller <davem@davemloft.net>
20549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
20550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
20551 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
20552 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
20554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
20555 frame pointer instead of stack pointer relative arg slot.
20556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20557 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20558 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20560 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
20563 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
20565 2012-02-27 David S. Miller <davem@davemloft.net>
20567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
20568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
20571 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20572 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20573 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
20574 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
20576 2012-02-27 Joseph Myers <joseph@codesourcery.com>
20578 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
20579 later. Allow versions 5-9.
20580 * configure: Regenerated.
20581 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
20582 required minimum version and 4.6 as recommended version. Do not
20583 mention bugs in GCC 2.7 and 2.8.
20584 * INSTALL: Regenerated.
20586 2012-02-27 David S. Miller <davem@davemloft.net>
20588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
20589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
20590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
20591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
20592 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
20593 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
20594 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
20595 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
20597 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
20598 manipulate bits before adding and subtracting TWO112[sx].
20599 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20601 2012-02-27 Roland McGrath <roland@hack.frob.com>
20604 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
20605 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
20606 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
20607 being in POSIX, because they are in 1003.1-2008.
20609 * rt/tst-aio.c: Include <fcntl.h>.
20610 * rt/tst-aio7.c: Likewise.
20611 * rt/tst-aio64.c: Likewise.
20613 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
20615 2012-02-27 Joseph Myers <joseph@codesourcery.com>
20617 * manual/install.texi (--with-headers): Describe headers as
20618 interface headers, not private headers.
20619 (Specific advice for GNU/Linux systems): Describe use of headers
20620 from "make headers_install", not private headers from older
20622 * INSTALL: Regenerated.
20623 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
20625 * sysdeps/unix/sysv/linux/configure: Regenerated.
20627 * manual/llio.texi (fclean): Remove documentation.
20629 * manual/Makefile (libc-texi-generated): New variable. Include
20631 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
20632 $(libc-texi-generated), not duplicated list of files.
20633 (version.texi, stamp-version): New rules.
20634 (realclean): Remove $(libc-texi-generated), not individual files
20635 from that list. Do not remove dir-add.texinfo.
20636 * manual/libc.texinfo: Comment out uses of edition numbers and
20637 references to printed manual. Remove last-updated dates.
20638 (EDITION): Comment out.
20640 (VERSION, UPDATED): Remove.
20641 (version.texi): Include.
20643 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
20645 * sysdeps/posix/spawni.c: Include <signal.h>.
20646 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
20647 * sysdeps/pthread/aio_fsync.c: Likewise.
20649 2012-02-26 Ulrich Drepper <drepper@gmail.com>
20651 * conform/Makefile (tests): Run only when not cross-compiling and
20652 when fast-check is not defined.
20654 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
20655 * conform/data/limits.h-data: Fixes for POSIX2008.
20656 * conform/run-conformtest.sh: Run all tests.
20657 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
20659 * include/bits/dlfcn.h: Likewise.
20660 * include/langinfo.h: Likewise.
20661 * include/monetary.h: Likewise.
20662 * include/sys/poll.h: Likewise.
20664 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
20666 * posix/spawn.h: Define __need_sigset_t.
20667 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
20668 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
20669 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
20670 to get sigevent_t only.
20671 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
20672 only for __USE_GNU.
20673 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20674 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20675 process_vm_writev only for __USE_GNU.
20676 * termios/termios.h: Declare tcgetsid also for POSIX2008.
20678 * conform/Makefile: For now ignore errors from run-conformtest.
20679 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
20680 POSIX to avoid namespace pollution. Don't prepend headers.
20681 * conform/data/aio.h-data: Fixes for POSIX testing.
20682 * conform/data/fcntl.h-data: Likewise.
20683 * conform/data/glob.h-data: Likewise.
20684 * conform/data/grp.h-data: Likewise.
20685 * conform/data/pthread.h-data: Likewise.
20686 * conform/data/pwd.h-data: Likewise.
20687 * conform/data/signal.h-data: Likewise.
20688 * conform/data/spawn.h-data: Likewise.
20689 * conform/data/stdio.h-data: Likewise.
20690 * conform/data/stdlib.h-data: Likewise.
20691 * conform/data/stropts.h-data: Likewise.
20692 * conform/data/sys/mman.h-data: Likewise.
20693 * conform/data/sys/stat.h-data: Likewise.
20694 * conform/data/sys/types.h-data: Likewise.
20695 * conform/data/sys/wait.h-data: Likewise.
20696 * conform/data/time.h-data: Likewise.
20697 * conform/data/unistd.h-data: Likewise.
20698 * conform/data/utime.h-data: Likewise.
20700 * io/sys/stat.h: fchmod was always in POSIX.
20701 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
20702 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
20703 * rt/aio.h: Define __need_timespec before including <time.h>.
20704 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
20705 struct. Add forward declaration of pthread_attr_t and use it in
20707 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20708 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20709 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
20710 always remove CLK_TCK definition.
20712 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
20714 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
20716 2012-02-25 Ulrich Drepper <drepper@gmail.com>
20718 * conform/run-conformtest.sh: New file.
20719 * conform/Makefile: Run run-conformtest for tests.
20720 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
20723 * conform/data/uchar.h-data: New file.
20724 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
20725 * conform/data/arpa/inet.h-data: Likewise.
20726 * conform/data/assert.h-data: Likewise.
20727 * conform/data/complex.h-data: Likewise.
20728 * conform/data/cpio.h-data: Likewise.
20729 * conform/data/ctype.h-data: Likewise.
20730 * conform/data/dirent.h-data: Likewise.
20731 * conform/data/dlfcn.h-data: Likewise.
20732 * conform/data/errno.h-data: Likewise.
20733 * conform/data/fcntl.h-data: Likewise.
20734 * conform/data/float.h-data: Likewise.
20735 * conform/data/fmtmsg.h-data: Likewise.
20736 * conform/data/fnmatch.h-data: Likewise.
20737 * conform/data/ftw.h-data: Likewise.
20738 * conform/data/glob.h-data: Likewise.
20739 * conform/data/grp.h-data: Likewise.
20740 * conform/data/iconv.h-data: Likewise.
20741 * conform/data/inttypes.h-data: Likewise.
20742 * conform/data/langinfo.h-data: Likewise.
20743 * conform/data/libgen.h-data: Likewise.
20744 * conform/data/limits.h-data: Likewise.
20745 * conform/data/locale.h-data: Likewise.
20746 * conform/data/math.h-data: Likewise.
20747 * conform/data/monetary.h-data: Likewise.
20748 * conform/data/mqueue.h-data: Likewise.
20749 * conform/data/ndbm.h-data: Likewise.
20750 * conform/data/net/if.h-data: Likewise.
20751 * conform/data/netdb.h-data: Likewise.
20752 * conform/data/netinet/in.h-data: Likewise.
20753 * conform/data/nl_types.h-data: Likewise.
20754 * conform/data/poll.h-data: Likewise.
20755 * conform/data/pthread.h-data: Likewise.
20756 * conform/data/pwd.h-data: Likewise.
20757 * conform/data/regex.h-data: Likewise.
20758 * conform/data/sched.h-data: Likewise.
20759 * conform/data/search.h-data: Likewise.
20760 * conform/data/semaphore.h-data: Likewise.
20761 * conform/data/setjmp.h-data: Likewise.
20762 * conform/data/signal.h-data: Likewise.
20763 * conform/data/spawn.h-data: Likewise.
20764 * conform/data/stdarg.h-data: Likewise.
20765 * conform/data/stdio.h-data: Likewise.
20766 * conform/data/stdlib.h-data: Likewise.
20767 * conform/data/string.h-data: Likewise.
20768 * conform/data/strings.h-data: Likewise.
20769 * conform/data/stropts.h-data: Likewise.
20770 * conform/data/sys/ipc.h-data: Likewise.
20771 * conform/data/sys/mman.h-data: Likewise.
20772 * conform/data/sys/msg.h-data: Likewise.
20773 * conform/data/sys/resource.h-data: Likewise.
20774 * conform/data/sys/select.h-data: Likewise.
20775 * conform/data/sys/sem.h-data: Likewise.
20776 * conform/data/sys/shm.h-data: Likewise.
20777 * conform/data/sys/socket.h-data: Likewise.
20778 * conform/data/sys/stat.h-data: Likewise.
20779 * conform/data/sys/statvfs.h-data: Likewise.
20780 * conform/data/sys/time.h-data: Likewise.
20781 * conform/data/sys/timeb.h-data: Likewise.
20782 * conform/data/sys/times.h-data: Likewise.
20783 * conform/data/sys/types.h-data: Likewise.
20784 * conform/data/sys/uio.h-data: Likewise.
20785 * conform/data/sys/un.h-data: Likewise.
20786 * conform/data/sys/utsname.h-data: Likewise.
20787 * conform/data/sys/wait.h-data: Likewise.
20788 * conform/data/syslog.h-data: Likewise.
20789 * conform/data/tar.h-data: Likewise.
20790 * conform/data/termios.h-data: Likewise.
20791 * conform/data/utime.h-data: Likewise.
20792 * conform/data/utmpx.h-data: Likewise.
20793 * conform/data/varargs.h-data: Likewise.
20794 * conform/data/wchar.h-data: Likewise.
20795 * conform/data/wctype.h-data: Likewise.
20796 * conform/data/wordexp.h-data: Likewise.
20798 * include/stropts.h: New file.
20799 * include/uchar.h: New file.
20800 * include/aio.h: Changes to allow conformtest.pl to use the headers.
20801 * include/assert.h: Likewise.
20802 * include/ctype.h: Likewise.
20803 * include/dirent.h: Likewise.
20804 * include/dlfcn.h: Likewise.
20805 * include/fcntl.h: Likewise.
20806 * include/fnmatch.h: Likewise.
20807 * include/glob.h: Likewise.
20808 * include/grp.h: Likewise.
20809 * include/libio.h: Likewise.
20810 * include/locale.h: Likewise.
20811 * include/math.h: Likewise.
20812 * include/net/if.h: Likewise.
20813 * include/netdb.h: Likewise.
20814 * include/netinet/in.h: Likewise.
20815 * include/pthread.h: Likewise.
20816 * include/pwd.h: Likewise.
20817 * include/regex.h: Likewise.
20818 * include/sched.h: Likewise.
20819 * include/search.h: Likewise.
20820 * include/setjmp.h: Likewise.
20821 * include/signal.h: Likewise.
20822 * include/stdio.h: Likewise.
20823 * include/stdlib.h: Likewise.
20824 * include/string.h: Likewise.
20825 * include/sys/cdefs.h: Likewise.
20826 * include/sys/mman.h: Likewise.
20827 * include/sys/msg.h: Likewise.
20828 * include/sys/resource.h: Likewise.
20829 * include/sys/select.h: Likewise.
20830 * include/sys/socket.h: Likewise.
20831 * include/sys/stat.h: Likewise.
20832 * include/sys/statvfs.h: Likewise.
20833 * include/sys/time.h: Likewise.
20834 * include/sys/times.h: Likewise.
20835 * include/sys/uio.h: Likewise.
20836 * include/sys/utsname.h: Likewise.
20837 * include/sys/wait.h: Likewise.
20838 * include/termios.h: Likewise.
20839 * include/time.h: Likewise.
20840 * include/ulimit.h: Likewise.
20841 * include/unistd.h: Likewise.
20842 * include/utime.h: Likewise.
20843 * include/wchar.h: Likewise.
20844 * include/wctype.h: Likewise.
20845 * include/wordexp.h: Likewise.
20847 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20849 * time/time.h: TIME_UTC must be a macro.
20850 Make timespec_get available for ISO C11 only as well.
20852 2012-02-24 Ulrich Drepper <drepper@gmail.com>
20854 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20855 Reported by Peng Haitao <penght@cn.fujitsu.com>.
20857 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20859 * configure.in: Use -o not -a in test for unsupported multi-arch.
20861 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20863 * manual/texinfo.tex: Update to version 2012-01-19.16.
20865 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20867 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20869 2012-02-24 Roland McGrath <roland@hack.frob.com>
20872 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20873 * manual/fdl-1.3.texi: New file.
20874 * manual/fdl-1.1.texi: File removed.
20877 * manual/libc.texinfo (FDL_VERSION): New @set.
20878 Use it for mention of FDL in cover text.
20879 (Documentation License): Use it in @include file name.
20881 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20882 Roland McGrath <roland@hack.frob.com>
20885 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20886 not LONG_LONG_MAX and LONG_LONG_MIN.
20887 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20888 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
20890 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20892 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20896 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20897 manipulate bits before adding and subtracting TWO23[sx].
20898 * math/libm-test.inc (nearbyint_test): Add more tests.
20900 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20903 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20904 bits before adding and subtracting TWO23[sx].
20905 * math/libm-test.inc (rint_test): Add more tests.
20906 (rint_test_tonearest): Likewise.
20907 (rint_test_towardzero): Likewise.
20908 (rint_test_downward): Likewise.
20909 (rint_test_upward: Likewise.
20911 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20914 * include/stdc-predef.h: New file. Extracted from features.h.
20915 * include/features.h: Include stdc-predef.h.
20916 * Makefile (headers): Add stdc-predef.h.
20917 * CONFORMANCE (Compiler limitations): Update.
20919 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20921 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20923 2012-02-21 David S. Miller <davem@davemloft.net>
20925 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20926 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20928 2012-02-20 David S. Miller <davem@davemloft.net>
20930 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20931 using a normal save/restore sequence, rather than allocating a
20932 dummy stack frame just to store a frame pointer and restore.
20933 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20935 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20937 * manual/install.texi: Fix stray word in line-wrapped comment.
20939 2012-02-20 David S. Miller <davem@davemloft.net>
20941 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20942 both binutils and gcc support GOTDATA.
20944 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20945 "rd %pc" in the PIC register setup sequences.
20947 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20948 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20949 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20950 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20951 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20952 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20953 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20954 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20955 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20956 (SYSCALL_ERROR_HANDLER): Likewise.
20957 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20958 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20959 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20960 (SYSCALL_ERROR_HANDLER): Likewise.
20962 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20963 (HAVE_GCC_GOTDATA): New.
20964 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20965 relocation support in both binutils and gcc.
20966 * sysdeps/sparc/elf/configure: Regenerate.
20968 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20969 * sysdeps/sparc/sparc32/elf/configure: Delete.
20970 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20971 * sysdeps/sparc/sparc64/elf/configure: Delete.
20972 * sysdeps/sparc/elf/configure.in: New file.
20973 * sysdeps/sparc/elf/configure: Generate.
20975 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20976 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20977 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20978 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20979 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20981 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20983 * manual/install.texi: Do not mention specific glibc version
20985 * manual/libc.texinfo (VERSION, UPDATED): Update.
20986 (@copying): Use @copyright{} and range of years.
20988 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20991 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20992 [crti.S not in sysdirs] (generated): Do not append.
20993 [crti.S not in sysdirs] (omit-deps): Likewise.
20994 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20995 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20996 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20997 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20998 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
21000 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
21001 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
21002 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
21003 * csu/defs.awk: Remove file.
21004 * sysdeps/generic/initfini.c: Likewise.
21005 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
21007 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
21010 2012-02-20 Joseph Myers <joseph@codesourcery.com>
21012 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
21013 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
21014 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
21015 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
21016 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21017 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
21019 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
21020 (__EPOLL_PACKED): Define to empty if not defined by
21022 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
21023 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21026 2012-02-20 Joseph Myers <joseph@codesourcery.com>
21028 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
21029 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
21030 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
21031 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
21033 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
21034 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21037 2012-02-20 Joseph Myers <joseph@codesourcery.com>
21039 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
21041 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21042 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21043 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
21044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21046 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
21048 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21049 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
21051 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
21053 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
21054 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
21056 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
21058 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
21061 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
21063 * math/w_acos.c: Use non-signaling floating-point comparisons.
21064 * math/w_acosf.c: Likewise.
21065 * math/w_acosh.c: Likewise.
21066 * math/w_acoshf.c: Likewise.
21067 * math/w_acoshl.c: Likewise.
21068 * math/w_acosl.c: Likewise.
21069 * math/w_asin.c: Likewise.
21070 * math/w_asinf.c: Likewise.
21071 * math/w_asinl.c: Likewise.
21072 * math/w_atanh.c: Likewise.
21073 * math/w_atanhf.c: Likewise.
21074 * math/w_atanhl.c: Likewise.
21075 * math/w_exp2.c: Likewise.
21076 * math/w_exp2f.c: Likewise.
21077 * math/w_exp2l.c: Likewise.
21078 * math/w_j0.c: Likewise.
21079 * math/w_j0f.c: Likewise.
21080 * math/w_j0l.c: Likewise.
21081 * math/w_j1.c: Likewise.
21082 * math/w_j1f.c: Likewise.
21083 * math/w_j1l.c: Likewise.
21084 * math/w_jn.c: Likewise.
21085 * math/w_jnf.c: Likewise.
21086 * math/w_log.c: Likewise.
21087 * math/w_log10.c: Likewise.
21088 * math/w_log10f.c: Likewise.
21089 * math/w_log10l.c: Likewise.
21090 * math/w_log2.c: Likewise.
21091 * math/w_log2f.c: Likewise.
21092 * math/w_log2l.c: Likewise.
21093 * math/w_logf.c: Likewise.
21094 * math/w_logl.c: Likewise.
21095 * math/w_sqrt.c: Likewise.
21096 * math/w_sqrtf.c: Likewise.
21097 * math/w_sqrtl.c: Likewise.
21098 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21099 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
21100 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21101 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21102 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21104 2012-02-19 Joseph Myers <joseph@codesourcery.com>
21107 * manual/string.texi (strnlen): Use correct parameter name in
21108 equivalent expression.
21110 2012-02-19 Joseph Myers <joseph@codesourcery.com>
21113 * manual/users.texi (seteuid): Consistently use neweuid for
21116 2012-02-19 Joseph Myers <joseph@codesourcery.com>
21119 * manual/nss.texi (Services in the NSS configuration): Correct
21120 list of services in example configuration file.
21122 2012-02-19 Nick Bowler <nbowler@draconx.ca>
21125 * manual/arith.texi: Remove statements about negative zero
21126 behaving identically to zero.
21128 2012-02-18 Joseph Myers <joseph@codesourcery.com>
21131 * manual/install.texi: Do not document upgrading from libc5.
21133 2012-02-18 Joseph Myers <joseph@codesourcery.com>
21136 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
21138 2012-02-18 David S. Miller <davem@davemloft.net>
21140 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
21141 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
21142 %o7 across the call.
21143 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
21145 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
21146 SETUP_PIC_REG_LEAF.
21147 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21148 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
21149 * sysdeps/sparc/crtn.S: Likewise.
21151 2012-02-17 Ulrich Drepper <drepper@gmail.com>
21153 * aout/Makefile: Remove.
21155 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
21158 * manual/examples/argp-ex1.c (main): Format definition in GNU
21160 * manual/examples/argp-ex2.c (main): Likewise.
21161 * manual/examples/argp-ex3.c (main): Likewise.
21162 * manual/examples/argp-ex4.c (main): Likewise.
21163 * manual/examples/longopt.c (main): Use new-style prototype
21165 * manual/examples/strncat.c (main): Specify return type and use
21166 (void) for arguments.
21167 * manual/examples/subopt.c (main): Use char **argv argument.
21169 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21172 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
21175 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
21178 * manual/string.texi (strchr): Change when strchrnul is
21181 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
21184 * manual/locale.texi (setlocale): Document LOCPATH.
21186 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21189 * manual/process.texi (execle): Move @dots{} before last argument.
21191 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
21194 * manual/charset.texi (Generic Charset Conversion): Fix typo
21195 (LC_TYPE -> LC_CTYPE).
21197 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
21200 * manual/arith.texi (scalbn): Use @var{} on parameter names.
21201 (scalbnf): Likewise.
21202 (scalbnl): Likewise.
21203 (scalbln): Likewise.
21204 (scalblnf): Likewise.
21205 (scalblnl): Likewise.
21206 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
21207 (vwarnx): Likewise.
21210 * manual/filesys.texi (telldir): Use braces around return type.
21211 * manual/llio.texi (mmap): Add space after comma.
21212 (mmap64): Likewise.
21213 * manual/math.texi (jn): Use @var{} on parameter names.
21219 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
21221 * manual/resource.texi (ulimit): Use @dots{} instead of literal
21223 (sched_get_priority_min): Remove semicolon on @deftypefun line.
21224 (sched_get_priority_max): Likewise.
21225 * manual/signal.texi (sigvec): Add space after comma.
21226 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
21228 (if_indextoname): Likewise.
21229 (if_freenameindex): Likewise.
21230 (sendto): Use ',' instead of '.' in prototype.
21231 * manual/startup.texi (syscall): Use @dots{} instead of literal
21233 * manual/stdio.texi (__fpending): Separate initial words of
21234 paragraph from @deftypefun line.
21235 * manual/syslog.texi (syslog): Use @dots{} instead of literal
21237 (vsyslog): Use @var{} on parameter names.
21238 * manual/terminal.texi (stty): Use @var{} on parameter names.
21239 * manual/users.texi (getutmp): Use @var{} on parameter names.
21240 (getutmpx): Likewise.
21242 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21245 * manual/stdio.texi (fopen): Fix typos in description of
21248 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
21251 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
21252 get clock_id definition.
21254 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
21257 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
21258 (madvise): Cast every argument to void on its own.
21260 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21263 * manual/startup.texi (Exit Status): Fix typo.
21265 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21268 * manual/examples/argp-ex1.c: Include <stdlib.h>.
21269 * manual/examples/argp-ex2.c: Likewise.
21270 * manual/examples/argp-ex3.c: Likewise.
21272 2012-02-16 Richard Henderson <rth@redhat.com>
21274 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
21275 * sysdeps/s390/s390-32/initfini.c: Remove.
21276 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
21277 * sysdeps/s390/s390-64/initfini.c: Remove.
21279 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21281 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
21282 compiler output for sysdeps/generic/initfini.c.
21283 * sysdeps/sh/elf/initfini.c: Remove file.
21285 2012-02-16 David S. Miller <davem@davemloft.net>
21288 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
21290 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
21291 * sysdeps/sparc/crti.S: New file.
21292 * sysdeps/sparc/crtn.S: New file.
21293 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
21294 * sysdeps/sparc/sparc64/Makefile: Likewise.
21296 2012-02-15 Mike Frysinger <vapier@gentoo.org>
21299 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
21301 2012-02-15 Roland McGrath <roland@hack.frob.com>
21304 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
21306 * mach/devstream.c (cookie_io_functions_t): Macro removed.
21307 (write, read, close): Likewise.
21308 Patch by Aurelien Jarno <aurelien@aurel32.net>.
21310 2012-02-15 Joseph Myers <joseph@codesourcery.com>
21312 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
21313 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
21314 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
21315 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
21317 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
21318 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21321 2012-02-14 Marek Polacek <polacek@redhat.com>
21323 * sysdeps/x86_64/crti.S: New file.
21324 * sysdeps/x86_64/crtn.S: New file.
21325 * sysdeps/x86_64/elf/initfini.c: Remove file.
21327 2012-02-13 Joseph Myers <joseph@codesourcery.com>
21329 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
21330 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
21331 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
21332 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
21334 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
21335 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21338 2012-02-13 Joseph Myers <joseph@codesourcery.com>
21340 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
21341 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
21342 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
21343 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
21345 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
21346 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21349 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
21351 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
21352 __feraiseexcept instead of feraiseexcept.
21354 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
21355 nanosleep invocations.
21356 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
21357 strings, and add error checking for a nanosleep invocations.
21359 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
21361 Replace FSF snail mail address with URLs, as per GNU coding standards.
21362 Most of the snail mail addresses were wrong anyway, and omitting
21363 them makes the source code easier to maintain. Almost all of the
21364 changes are to license notices and to locale LC_IDENTIFICATION
21365 addresses, except for this one:
21366 * manual/libc.texinfo: In "Published by", give the FSF's URL,
21367 not its snail mail address.
21369 2012-02-09 Richard Henderson <rth@twiddle.net>
21371 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
21372 of kernel-features.h.
21374 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
21376 2012-02-08 Marek Polacek <polacek@redhat.com>
21378 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
21379 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
21380 * sysdeps/gnu/_G_config.h: Likewise.
21381 * sysdeps/generic/_G_config.h: Likewise.
21383 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
21385 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
21387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21389 * sysdeps/powerpc/powerpc32/crti.S: New file.
21390 * sysdeps/powerpc/powerpc32/crtn.S: New file.
21391 * sysdeps/powerpc/powerpc64/crti.S: New file.
21392 * sysdeps/powerpc/powerpc64/crtn.S: New file.
21394 * Makeconfig (have-initfini): Don't set.
21395 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
21396 * configure.in (nopic_initfini): Don't substitute.
21397 * config.h.in (HAVE_INITFINI): Don't #undef.
21398 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
21399 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
21401 2012-02-08 Joseph Myers <joseph@codesourcery.com>
21403 Support crti.S and crtn.S provided directly by architectures.
21404 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
21405 [crti.S in sysdirs] (omit-deps): Likewise.
21406 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
21407 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
21408 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
21409 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
21410 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
21411 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
21412 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
21413 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
21414 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
21415 compiler output for sysdeps/generic/initfini.c.
21416 * sysdeps/i386/elf/Makefile: Remove file.
21417 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
21419 2012-02-07 Marek Polacek <polacek@redhat.com>
21421 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
21422 * sysdeps/gnu/_G_config.h: Likewise.
21423 * sysdeps/mach/hurd/_G_config.h: Likewise.
21425 2012-02-07 Marek Polacek <polacek@redhat.com>
21427 * math/Makefile (tests): Add tst-CMPLX2.
21428 * math/tst-CMPLX2.c: New file.
21430 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
21432 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21434 * math/libm-test.inc (jn_test): Add missing L suffix.
21436 2012-02-06 Marek Polacek <polacek@redhat.com>
21438 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
21439 * sysdeps/i386/fpu/e_powf.S: Likewise.
21440 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21441 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21442 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21443 * sysdeps/i386/fpu/e_pow.S: Likewise.
21444 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21445 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21446 * sysdeps/i386/fpu/s_expm1.S: Likewise.
21447 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21448 * sysdeps/i386/fpu/e_log2.S: Likewise.
21449 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21450 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21451 * sysdeps/i386/fpu/e_powl.S: Likewise.
21452 * sysdeps/i386/fpu/s_log1p.S: Likewise.
21453 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21454 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21455 * sysdeps/i386/fpu/e_logl.S: Likewise.
21456 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21457 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
21458 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21459 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21460 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21461 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21462 * sysdeps/i386/fpu/e_log.S: Likewise.
21463 * sysdeps/i386/fpu/s_cexp.S: Likewise.
21464 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21465 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
21466 * sysdeps/i386/fpu/e_logf.S: Likewise.
21467 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21468 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21469 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
21470 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21471 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21472 * sysdeps/i386/fpu/e_log10.S: Likewise.
21473 * sysdeps/i386/fpu/s_frexp.S: Likewise.
21474 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21475 * sysdeps/i386/fpu/s_asinh.S: Likewise.
21476 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21477 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21478 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21479 * sysdeps/i386/asm-syntax.h: Likewise.
21480 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21481 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21482 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21483 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
21484 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
21485 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21486 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21487 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21488 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21489 * sysdeps/powerpc/sysdep.h: Likewise.
21490 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21491 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21493 2012-02-06 Joseph Myers <joseph@codesourcery.com>
21496 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
21498 2012-02-06 Joseph Myers <joseph@codesourcery.com>
21500 * sysdeps/i386/sysdep.h: Include <features.h>.
21501 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
21504 2012-02-05 Joseph Myers <joseph@codesourcery.com>
21506 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
21508 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
21511 2012-02-03 Joseph Myers <joseph@codesourcery.com>
21513 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
21514 (SETUP_PIC_REG): Use GET_PC_THUNK.
21515 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
21518 2012-02-03 Joseph Myers <joseph@codesourcery.com>
21520 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
21521 for non-PIC compilation.
21522 (SETUP_PIC_REG): Add .p2align directive.
21523 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
21524 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
21525 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21526 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21527 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21528 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21529 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
21530 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21531 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21532 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21533 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21534 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21535 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21536 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21537 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21538 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21539 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21540 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21541 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21542 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21543 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21544 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21545 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21546 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21547 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21548 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21549 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21550 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21551 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21552 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21553 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21554 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21555 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21556 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21557 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21558 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21559 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21560 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21561 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21562 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21563 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21565 2012-02-03 Joseph Myers <joseph@codesourcery.com>
21567 * math/tst-CMPLX.c: Include <stdio.h>.
21569 2012-01-31 Joseph Myers <joseph@codesourcery.com>
21571 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
21573 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21574 * sysdeps/sparc/bits/mathdef.h: Likewise.
21576 2012-01-31 Marek Polacek <polacek@redhat.com>
21578 * libio/libio.h: Don't define _PARAMS.
21579 * locale/programs/config.h: Don't define PARAMS.
21580 * stdlib/strtol_l.c: Likewise.
21581 (__strtol_l): Remove PARAMS from the prototype.
21583 2012-01-31 Ulrich Drepper <drepper@gmail.com>
21585 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
21586 names. Just use the correct names. Remove unnecessary wrapper
21588 * malloc/arena.c: Likewise.
21589 * malloc/hooks.c: Likewise.
21591 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
21592 ARENA_TEST says not to. Simplify test for creation of a new arena.
21593 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
21595 2012-01-30 Ulrich Drepper <drepper@gmail.com>
21597 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
21599 (update_get_addr): New function.
21600 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
21601 GET_ADDR_MODULE parameter.
21603 2012-01-30 Joseph Myers <joseph@codesourcery.com>
21605 * crypt/cert.c: Remove __STDC__ conditionals.
21606 * crypt/crypt-entry.c: Likewise.
21607 * crypt/crypt_util.c: Likewise.
21608 * libio/filedoalloc.c: Likewise.
21609 * libio/fileops.c: Likewise.
21610 * libio/genops.c: Likewise.
21611 * libio/iofclose.c: Likewise.
21612 * libio/iofdopen.c: Likewise.
21613 * libio/iofopen.c: Likewise.
21614 * libio/iofopen64.c: Likewise.
21615 * libio/iogetdelim.c: Likewise.
21616 * libio/iopopen.c: Likewise.
21617 * libio/obprintf.c: Likewise.
21618 * libio/oldfileops.c: Likewise.
21619 * libio/oldiofclose.c: Likewise.
21620 * libio/oldiofdopen.c: Likewise.
21621 * libio/oldiofopen.c: Likewise.
21622 * libio/oldiopopen.c: Likewise.
21623 * libio/wfiledoalloc.c: Likewise.
21624 * libio/wgenops.c: Likewise.
21625 * locale/programs/xmalloc.c: Likewise.
21626 * misc/syslog.c: Likewise.
21627 * stdio-common/xbug.c: Likewise.
21628 * string/memchr.c: Likewise.
21629 * string/memcmp.c: Likewise.
21630 * string/memrchr.c: Likewise.
21631 * string/rawmemchr.c: Likewise.
21632 * sysdeps/posix/getcwd.c: Likewise.
21633 * time/strftime_l.c: Likewise.
21635 2012-01-30 Joseph Myers <joseph@codesourcery.com>
21637 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
21638 * config.make.in (config-cflags-sse2avx): Define.
21639 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
21642 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
21644 * scripts/config.guess: Update from upstream config git repository.
21645 * scripts/config.sub: Likewise.
21647 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
21649 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
21651 (R_TILEPRO_*, R_TILEGX_*): New macros.
21653 * scripts/firstversions.awk: Fix bug in version range handling.
21655 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
21657 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
21659 * include/sys/epoll.h: New file.
21660 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
21663 2012-01-28 Ulrich Drepper <drepper@gmail.com>
21665 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
21666 Avoid unnecessary __WORDSIZE == 64 test.
21667 (fmaxf): Use VEX format if possible.
21672 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
21673 * math/math_private.h: Remove libc_fegetround* and
21675 * sysdeps/i386/configure.in: Check for -msse2avx.
21676 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
21677 also if SSE2AVX is defined.
21678 Remove libc_fegetround* and libc_fesetround*.
21679 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
21680 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
21681 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
21683 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21684 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21685 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21686 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21687 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21689 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
21691 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21693 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
21695 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21697 2012-01-27 Ulrich Drepper <drepper@gmail.com>
21700 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
21702 * Makeconfig (libm): Define.
21703 * elf/Makefile: Add rules to build and run tst-relsort1.
21704 * elf/tst-relsort1.c: New file.
21705 * elf/tst-relsort1mod1.c: New file.
21706 * elf/tst-relsort1mod2.c: New file.
21708 2012-01-27 Joseph Myers <joseph@codesourcery.com>
21710 * math/s_ldexp.c: Remove __STDC__ conditionals.
21711 * math/s_ldexpf.c: Likewise.
21712 * math/s_ldexpl.c: Likewise.
21713 * math/s_nextafter.c: Likewise.
21714 * math/s_nexttowardf.c: Likewise.
21715 * math/s_significand.c: Likewise.
21716 * math/s_significandf.c: Likewise.
21717 * math/s_significandl.c: Likewise.
21718 * math/w_jnl.c: Likewise.
21719 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21720 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21721 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21722 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21723 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21724 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21725 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
21726 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21727 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21728 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21729 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21730 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21731 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21732 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21733 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21734 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21735 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21736 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21737 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21738 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21739 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21740 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21741 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21742 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21743 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21744 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21745 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21746 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21747 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21748 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21749 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21750 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21751 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21752 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21753 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21754 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21755 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21756 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21757 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21758 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21759 * sysdeps/ieee754/k_standard.c: Likewise.
21760 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21761 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21762 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21763 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21764 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21765 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21766 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21767 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21768 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21769 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21770 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21771 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21772 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21773 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21774 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21775 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21776 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21777 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21778 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21779 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21780 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21781 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21782 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21783 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21784 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21785 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21786 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21787 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21788 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21789 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21790 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21791 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
21792 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21793 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21794 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21795 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21796 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
21797 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21798 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21799 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
21800 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
21801 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21802 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21803 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
21804 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21805 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21806 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21807 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21808 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21809 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21810 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
21811 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21812 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21813 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21814 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21815 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21816 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
21817 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21818 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21819 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21820 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21821 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21822 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21823 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21824 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21825 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21826 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21827 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21828 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21829 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21830 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21831 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21832 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21833 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21834 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21835 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21836 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21837 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21838 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21839 * sysdeps/ieee754/s_matherr.c: Likewise.
21840 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21841 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21842 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21843 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21845 2012-01-26 Joseph Myers <joseph@codesourcery.com>
21847 * crypt/md5.h: Remove __STDC__ conditionals.
21848 * libio/libioP.h: Likewise.
21849 * locale/programs/config.h: Likewise.
21850 * sysdeps/generic/sysdep.h: Likewise.
21851 * sysdeps/i386/asm-syntax.h: Likewise.
21852 * sysdeps/s390/asm-syntax.h: Likewise.
21853 * sysdeps/unix/sysdep.h: Likewise.
21854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21857 2012-01-26 Joseph Myers <joseph@codesourcery.com>
21859 * libio/libio.h: Remove __STDC__ conditionals.
21860 * malloc/obstack.h: Likewise.
21861 * math/complex.h: Likewise.
21862 * math/math.h: Likewise.
21863 * sysdeps/generic/_G_config.h: Likewise.
21864 * sysdeps/gnu/_G_config.h: Likewise.
21865 * sysdeps/mach/hurd/_G_config.h: Likewise.
21866 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21867 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21868 * sysdeps/sparc/bits/mathdef.h: Likewise.
21870 2012-01-26 Ulrich Drepper <drepper@gmail.com>
21873 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
21874 Clean up HAS_* macros.
21875 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
21876 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21878 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21880 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21881 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21882 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21883 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21884 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21886 2012-01-25 Joseph Myers <joseph@codesourcery.com>
21888 * elf/tst-unique3.cc (gets): Remove declaration.
21889 * elf/tst-unique3lib.cc (gets): Likewise.
21890 * elf/tst-unique3lib2.cc (gets): Likewise.
21891 * elf/tst-unique4.cc (gets): Likewise.
21893 2012-01-24 Ulrich Drepper <drepper@gmail.com>
21895 * include/stdio.h: Add C++ protection. Add gets declarations and
21897 * debug/tst-chk1.c: Don't declare gets here.
21898 * stdio-common/tst-gets.c: Likewise.
21900 2012-01-24 Joseph Myers <joseph@codesourcery.com>
21902 * posix/glob: Remove directory.
21904 2012-01-24 Joseph Myers <joseph@codesourcery.com>
21906 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21908 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
21910 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21911 of the non-standard EPFNOSUPPORT.
21913 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
21915 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21916 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21917 ANYWHERE set to 1 only on KERN_NO_SPACE error.
21919 2012-01-21 Ulrich Drepper <drepper@gmail.com>
21921 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21923 2012-01-20 Ulrich Drepper <drepper@gmail.com>
21925 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21927 * nscd/grpcache.c (cache_addgr): Likewise.
21928 * nscd/hstcache.c (cache_addhst): Likewise.
21929 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21930 * nscd/pwdcache.c (cache_addpw): Likewise.
21931 * nscd/servicescache.c (cache_addserv): Likewise.
21933 2012-01-16 Ulrich Drepper <drepper@gmail.com>
21935 * malloc/malloc.c: Various cleanups.
21936 * malloc/hooks.c: Likewise.
21938 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21939 * stdlib/bug-fmtmsg1.c: New file.
21941 * stdlib/fmtmsg.c (init): Add missing unlock.
21942 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21944 2012-01-12 Marek Polacek <polacek@redhat.com>
21946 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21949 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21951 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21952 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21953 macro to ensure uniqueness of label name.
21954 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21955 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21957 2012-01-11 Ulrich Drepper <drepper@gmail.com>
21959 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21961 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21962 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21963 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21964 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21966 2012-01-10 Ulrich Drepper <drepper@gmail.com>
21968 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21970 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21971 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21972 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21974 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21976 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
21977 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21978 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21979 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
21981 * math/bits/math-finite.h: Add ldexp support.
21983 2012-01-10 Marek Polacek <polacek@redhat.com>
21985 * locale/programs/localedef.h (show_archive_content): Add noreturn
21988 2012-01-09 Ulrich Drepper <drepper@gmail.com>
21990 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21992 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21994 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21996 * io/Makefile (headers): Add bits/poll2.h.
21998 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
22000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
22001 typo #include statement.
22003 2012-01-08 Ulrich Drepper <drepper@gmail.com>
22005 * include/sys/cdefs.h: Define __attribute_alloc_size.
22006 * catgets/gencat.c: Add alloc_size attribute and apply consistently
22007 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
22008 * elf/pldd.c: Likewise.
22009 * iconv/iconv_charmap.c: Likewise.
22010 * iconv/iconvconfig.c: Likewise.
22011 * iconv/strtab.c: Likewise.
22012 * locale/programs/locale.c: Likewise.
22013 * locale/programs/localedef.h: Likewise.
22014 * locale/programs/simple-hash.c: Likewise.
22015 * nscd/nscd.h: Likewise.
22016 * nss/makedb.c: Likewise.
22017 * sysdeps/generic/ldconfig.h: Likewise.
22018 * locale/programs/localedef.c: Remove xmalloc prototype.
22019 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
22021 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22023 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
22026 2012-01-08 Ulrich Drepper <drepper@gmail.com>
22028 * math/Makefile (tests): Add tst-CMPLX.
22029 * math/tst-CMPLX.c: New file.
22031 * math/complex.h (CMPLXL): Fix typo.
22033 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
22034 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
22036 * debug/tst-chk1.c: Add poll and ppoll tests.
22037 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
22038 * include/sys/poll.h: Add hidden proto for ppoll.
22039 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
22040 * sysdeps/mach/hurd/ppoll.c: Likewise.
22041 * io/ppoll.c: Likewise.
22042 * debug/poll_chk.c: New file.
22043 * debug/ppoll_chk.c: New file.
22044 * include/bits/poll2.h: New file.
22045 * io/bits/poll2.h: New file.
22048 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
22050 * configure.in: static is always set to yes. Remove.
22051 * config.make.in: Don't set build-static.
22052 * Makeconfig: Remove use of build-static.
22053 * dlfcn/Makefile: Likewise.
22054 * elf/Makefile: Likewise.
22055 * math/Makefile: Likewise.
22056 * misc/Makefile: Likewise.
22057 * nptl/Makefile: Likewise.
22058 * sysdeps/mach/hurd/Makefile: Likewise.
22060 * configure.in: PWD_P is not used anymore.
22061 * config.make.in: Remove PWD_P entry.
22063 * configure.in: Remove last remnants of RANLIB.
22064 No need to check for signed size_t anymore.
22065 Don't set libc_commonpagesize and libc_relro_required here for Alpha
22067 Remove __builtin_expect test because we require at least gcc 3.4.
22068 * aclocal.m4: Likewise.
22070 * wcsmbs/mbrtoc16.c: Implement using towc function.
22071 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
22072 * wcsmbs/wcsmbsload.c: Likewise.
22073 * iconv/gconv_simple.c: Likewise.
22074 * iconv/gconv_int.h: Likewise.
22075 * iconv/gconv_builtin.h: Likewise.
22076 * iconv/iconv_prog.c: Remove CHAR16 handling.
22078 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
22080 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
22082 * configure.in: Remove --with-elf and --enable-bounded options.
22083 Dont set base_machine for ia64. More non-ELF conditions removed.
22084 Remove testing and setting of leading underscore information.
22085 * config.make.in (build-bounded): Set to no.
22086 * config.h.in: Remove NO_UNDERSCORES entry.
22087 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
22089 * csu/start.c: Remove !NO_UNDERSCORE code.
22090 * locale/localeinfo.h: Likewise.
22091 * sysdeps/generic/machine-gmon.h: Likewise.
22092 * sysdeps/generic/sysdep.h: Likewise.
22093 * sysdeps/i386/sysdep.h: Likewise.
22094 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
22095 * sysdeps/mach/sysdep.h: Likewise.
22096 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22097 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22098 * sysdeps/sh/sysdep.h: Likewise.
22099 * sysdeps/sparc/sparc32/alloca.S: Likewise.
22100 * sysdeps/unix/i386/sysdep.S: Likewise.
22101 * sysdeps/unix/sparc/start.c: Likewise.
22102 * sysdeps/unix/sparc/sysdep.S: Likewise.
22103 * sysdeps/unix/sparc/sysdep.h: Likewise.
22104 * sysdeps/unix/start.c: Likewise.
22105 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22106 * sysdeps/x86_64/sysdep.h: Likewise.
22108 2012-01-07 Ulrich Drepper <drepper@gmail.com>
22111 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
22113 * argp/argp-fmtstream.h: Use const instead __const.
22114 * argp/argp.h: Likewise.
22115 * assert/assert.h: Likewise.
22116 * bits/fenv.h: Likewise.
22117 * bits/sched.h: Likewise.
22118 * bits/sigset.h: Likewise.
22119 * bits/sigthread.h: Likewise.
22120 * catgets/nl_types.h: Likewise.
22121 * conform/data/pthread.h-data: Likewise.
22122 * crypt/crypt-private.h: Likewise.
22123 * crypt/crypt.h: Likewise.
22124 * crypt/crypt_util.c: Likewise.
22125 * ctype/ctype.h: Likewise.
22126 * debug/execinfo.h: Likewise.
22127 * debug/mbsnrtowcs_chk.c: Likewise.
22128 * debug/mbsrtowcs_chk.c: Likewise.
22129 * debug/wcsnrtombs_chk.c: Likewise.
22130 * debug/wcsrtombs_chk.c: Likewise.
22131 * debug/wcstombs_chk.c: Likewise.
22132 * dirent/dirent.h: Likewise.
22133 * dlfcn/dlfcn.h: Likewise.
22134 * elf/neededtest4.c: Likewise.
22135 * grp/grp.h: Likewise.
22136 * gshadow/gshadow.h: Likewise.
22137 * iconv/gconv.h: Likewise.
22138 * iconv/gconv_int.h: Likewise.
22139 * iconv/gconv_simple.c: Likewise.
22140 * iconv/iconv.h: Likewise.
22141 * iconv/loop.c: Likewise.
22142 * iconv/skeleton.c: Likewise.
22143 * include/aio.h: Likewise.
22144 * include/aliases.h: Likewise.
22145 * include/argz.h: Likewise.
22146 * include/arpa/inet.h: Likewise.
22147 * include/assert.h: Likewise.
22148 * include/dirent.h: Likewise.
22149 * include/dlfcn.h: Likewise.
22150 * include/execinfo.h: Likewise.
22151 * include/fcntl.h: Likewise.
22152 * include/fenv.h: Likewise.
22153 * include/glob.h: Likewise.
22154 * include/grp.h: Likewise.
22155 * include/libintl.h: Likewise.
22156 * include/mntent.h: Likewise.
22157 * include/netdb.h: Likewise.
22158 * include/pwd.h: Likewise.
22159 * include/rpc/netdb.h: Likewise.
22160 * include/sched.h: Likewise.
22161 * include/search.h: Likewise.
22162 * include/shadow.h: Likewise.
22163 * include/signal.h: Likewise.
22164 * include/stdio.h: Likewise.
22165 * include/stdlib.h: Likewise.
22166 * include/string.h: Likewise.
22167 * include/sys/socket.h: Likewise.
22168 * include/sys/stat.h: Likewise.
22169 * include/sys/statfs.h: Likewise.
22170 * include/sys/statvfs.h: Likewise.
22171 * include/sys/syslog.h: Likewise.
22172 * include/sys/time.h: Likewise.
22173 * include/sys/uio.h: Likewise.
22174 * include/time.h: Likewise.
22175 * include/unistd.h: Likewise.
22176 * include/utmp.h: Likewise.
22177 * include/wchar.h: Likewise.
22178 * include/wctype.h: Likewise.
22179 * inet/aliases.h: Likewise.
22180 * inet/arpa/inet.h: Likewise.
22181 * inet/netinet/ether.h: Likewise.
22182 * inet/netinet/in.h: Likewise.
22183 * intl/libintl.h: Likewise.
22184 * io/bits/fcntl2.h: Likewise.
22185 * io/fcntl.h: Likewise.
22186 * io/ftw.h: Likewise.
22187 * io/sys/poll.h: Likewise.
22188 * io/sys/stat.h: Likewise.
22189 * io/sys/statfs.h: Likewise.
22190 * io/sys/statvfs.h: Likewise.
22191 * io/utime.h: Likewise.
22192 * libio/bits/stdio.h: Likewise.
22193 * libio/bits/stdio2.h: Likewise.
22194 * libio/libio.h: Likewise.
22195 * libio/libioP.h: Likewise.
22196 * libio/stdio.h: Likewise.
22197 * locale/lc-ctype.c: Likewise.
22198 * locale/locale.h: Likewise.
22199 * login/utmp.h: Likewise.
22200 * malloc/arena.c: Likewise.
22201 * malloc/malloc.c: Likewise.
22202 * malloc/malloc.h: Likewise.
22203 * malloc/mcheck.c: Likewise.
22204 * malloc/mtrace.c: Likewise.
22205 * math/bits/mathcalls.h: Likewise.
22206 * math/fenv.h: Likewise.
22207 * math/math_private.h: Likewise.
22208 * misc/bits/error.h: Likewise.
22209 * misc/bits/syslog.h: Likewise.
22210 * misc/err.h: Likewise.
22211 * misc/error.h: Likewise.
22212 * misc/fstab.h: Likewise.
22213 * misc/mntent.h: Likewise.
22214 * misc/regexp.h: Likewise.
22215 * misc/search.h: Likewise.
22216 * misc/sgtty.h: Likewise.
22217 * misc/sys/mman.h: Likewise.
22218 * misc/sys/syslog.h: Likewise.
22219 * misc/sys/uio.h: Likewise.
22220 * misc/sys/xattr.h: Likewise.
22221 * misc/ttyent.h: Likewise.
22222 * nis/rpcsvc/ypclnt.h: Likewise.
22223 * nss/nss.h: Likewise.
22224 * posix/bits/unistd.h: Likewise.
22225 * posix/fnmatch.h: Likewise.
22226 * posix/glob.h: Likewise.
22227 * posix/sched.h: Likewise.
22228 * posix/spawn.h: Likewise.
22229 * posix/sys/wait.h: Likewise.
22230 * posix/unistd.h: Likewise.
22231 * posix/wordexp.h: Likewise.
22232 * pwd/pwd.h: Likewise.
22233 * resolv/netdb.h: Likewise.
22234 * resource/sys/resource.h: Likewise.
22235 * rt/aio.h: Likewise.
22236 * rt/bits/mqueue2.h: Likewise.
22237 * rt/mqueue.h: Likewise.
22238 * shadow/shadow.h: Likewise.
22239 * signal/signal.h: Likewise.
22240 * socket/send.c: Likewise.
22241 * socket/sendto.c: Likewise.
22242 * socket/sys/socket.h: Likewise.
22243 * stdio-common/printf.h: Likewise.
22244 * stdlib/bits/stdlib.h: Likewise.
22245 * stdlib/fmtmsg.h: Likewise.
22246 * stdlib/monetary.h: Likewise.
22247 * stdlib/stdlib.h: Likewise.
22248 * stdlib/ucontext.h: Likewise.
22249 * streams/stropts.h: Likewise.
22250 * string/argz.h: Likewise.
22251 * string/bits/string2.h: Likewise.
22252 * string/string.h: Likewise.
22253 * string/strings.h: Likewise.
22254 * sunrpc/rpc/auth.h: Likewise.
22255 * sunrpc/rpc/auth_des.h: Likewise.
22256 * sunrpc/rpc/clnt.h: Likewise.
22257 * sunrpc/rpc/netdb.h: Likewise.
22258 * sunrpc/rpc/pmap_clnt.h: Likewise.
22259 * sunrpc/rpc/xdr.h: Likewise.
22260 * sysdeps/generic/inttypes.h: Likewise.
22261 * sysdeps/generic/net/if.h: Likewise.
22262 * sysdeps/generic/sys/swap.h: Likewise.
22263 * sysdeps/gnu/net/if.h: Likewise.
22264 * sysdeps/gnu/utmpx.h: Likewise.
22265 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
22266 * sysdeps/i386/i486/bits/string.h: Likewise.
22267 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
22268 * sysdeps/s390/bits/string.h: Likewise.
22269 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
22270 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
22271 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
22272 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
22273 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
22274 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
22275 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
22276 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
22277 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
22278 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
22279 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
22280 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22281 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
22282 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22283 * sysdeps/unix/sysv/linux/readv.c: Likewise.
22284 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
22285 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22286 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22287 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
22288 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
22289 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22290 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
22291 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
22292 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
22293 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
22294 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
22295 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
22296 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22297 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
22298 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
22299 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
22300 * sysvipc/sys/ipc.h: Likewise.
22301 * sysvipc/sys/msg.h: Likewise.
22302 * sysvipc/sys/sem.h: Likewise.
22303 * sysvipc/sys/shm.h: Likewise.
22304 * termios/termios.h: Likewise.
22305 * time/sys/time.h: Likewise.
22306 * time/time.h: Likewise.
22307 * wcsmbs/bits/wchar2.h: Likewise.
22308 * wcsmbs/uchar.h: Likewise.
22309 * wcsmbs/wchar.h: Likewise.
22310 * wctype/wctype.h: Likewise.
22313 * Makeconfig: Remove all but ELF support including AIX support.
22314 * Makerules: Likewise.
22315 * config.h.in: Likewise.
22316 * config.make.in: Likewise.
22317 * configure: Likewise.
22318 * configure.in: Likewise.
22319 * csu/Makefile: Likewise.
22320 * csu/version.c: Likewise.
22321 * debug/Makefile: Likewise.
22322 * dlfcn/Makefile: Likewise.
22323 * elf/Makefile: Likewise.
22324 * extra-lib.mk: Likewise.
22325 * iconv/Makefile: Likewise.
22326 * include/libc-symbols.h: Likewise.
22327 * include/shlib-compat.h: Likewise.
22328 * resolv/Makefile: Likewise.
22329 * resolv/res_libc.c: Likewise.
22330 * rt/Makefile: Likewise.
22331 * sysdeps/i386/asm-syntax.h: Likewise.
22332 * sysdeps/i386/sysdep.h: Likewise.
22333 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
22334 * sysdeps/mach/sysdep.h: Likewise.
22335 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
22336 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
22337 * sysdeps/s390/asm-syntax.h: Likewise.
22338 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22339 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22340 * sysdeps/sh/sysdep.h: Likewise.
22341 * sysdeps/unix/sparc/sysdep.h: Likewise.
22342 * sysdeps/wordsize-32/divdi3.c: Likewise.
22343 * sysdeps/x86_64/sysdep.h: Likewise.
22345 * argp/Versions: Remove _argp_unlock_xxx.
22348 * abilist/ld.abilist: Update. Adjust for removal of tls option.
22349 * abilist/libBrokenLocale.abilist: Likewise.
22350 * abilist/libanl.abilist: Likewise.
22351 * abilist/libc.abilist: Likewise.
22352 * abilist/libcrypt.abilist: Likewise.
22353 * abilist/libdl.abilist: Likewise.
22354 * abilist/libm.abilist: Likewise.
22355 * abilist/libnsl.abilist: Likewise.
22356 * abilist/libpthread.abilist: Likewise.
22357 * abilist/libresolv.abilist: Likewise.
22358 * abilist/librt.abilist: Likewise.
22359 * abilist/libthread_db.abilist: Likewise.
22360 * abilist/libutil.abilist: Likewise.
22361 * abilist/libnss_db.abilist: New file.
22363 * scripts/abilist.awk: Add support for indirect functions.
22365 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
22367 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
22369 * shlib-versions: Remove entries for ports architectures.
22371 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
22373 * elf/stackguard-macros.h: Remove support for IA-64.
22374 * elf/tst-auditmod1.c: Likewise.
22375 * sysdeps/generic/ldsodefs.h: Likewise.
22377 * sysdeps/unix/sysv/linux/configure.in: Ports should define
22378 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
22382 * configure.in: Remove --enable-omitfp support.
22384 * config.make.in: Likewise.
22385 * Makeconfig: Likewise.
22386 * manual/install.texi: Likewise.
22388 In case anyone cares, the IA-64 architecture could move to ports.
22389 * sysdeps/ia64/*: Removed.
22390 * sysdeps/unix/sysv/linux/ia64/*: Removed.
22391 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
22394 * configure.in: Remove entries for unsupported architectures.
22397 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
22398 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
22400 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
22401 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
22402 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
22403 fall back to using wcrtomb.
22404 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
22405 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
22407 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
22408 * wcsmbs/tst-c16c32-1.c: New file.
22410 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
22413 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
22415 * elf/tst-unique3.cc: Add explicit declaration of gets.
22416 * elf/tst-unique3lib.cc: Likewise.
22417 * elf/tst-unique3lib2.cc: Likewise.
22418 * elf/tst-unique4.cc: Likewise.
22420 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
22422 2012-01-06 Joseph Myers <joseph@codesourcery.com>
22425 * assert/assert.h (static_assert): Don't define for C++.
22426 * libio/stdio.h (gets): Do declare for C++ <= C++11.
22427 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
22429 2012-01-03 Ulrich Drepper <drepper@gmail.com>
22431 * iconv/loop.c (single loop): Fix assertion in storing of
22434 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
22436 2012-01-01 Ulrich Drepper <drepper@gmail.com>
22438 * posix/getconf.c: Update copyright year.
22439 * nss/getent.c: Likewise.
22440 * nss/makedb.c: Likewise.
22441 * iconv/iconvconfig.c: Likewise.
22442 * iconv/iconv_prog.c: Likewise.
22443 * elf/ldconfig.c: Likewise.
22444 * elf/pldd.c: Likewise.
22445 * elf/sotruss.ksh: Likewise.
22446 * catgets/gencat.c: Likewise.
22447 * csu/version.c: Likewise.
22448 * elf/ldd.bash.in: Likewise.
22449 * elf/sprof.c (print_version): Likewise.
22450 * locale/programs/locale.c: Likewise.
22451 * locale/programs/localedef.c: Likewise.
22452 * login/programs/pt_chown.c: Likewise.
22453 * nscd/nscd.c (print_version): Likewise.
22454 * debug/xtrace.sh: Likewise.
22455 * malloc/memusage.sh: Likewise.
22456 * malloc/mtrace.pl: Likewise.
22457 * debug/catchsegv.sh: Likewise.
22459 2011-12-30 Jakub Jelinek <jakub@redhat.com>
22461 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
22464 2011-12-24 Ulrich Drepper <drepper@gmail.com>
22467 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
22468 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
22470 * iconv/gconv_int.h: Likewise.
22471 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
22472 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
22473 from libc for GLIBC_2.16.
22474 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
22475 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
22476 * wcsmbs/uchar.h: Really define mbstate_t.
22477 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
22478 * wcsmbs/c16rtomb.c: New file.
22479 * wcsmbs/mbrtoc16.c: New file.
22480 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
22481 for C/POSIX locale.
22482 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
22483 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
22485 * wcsmbs/wchar.h: Add missing __restrict.
22487 2011-12-23 Ulrich Drepper <drepper@gmail.com>
22490 * time/Makefile (routines): Add timespec_get.
22491 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
22492 * time/time.h: Define TIME_UTC and declare timespec_get. Define
22493 timespec for ISO C11.
22494 * time/timespec_get.c: New file.
22495 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
22496 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
22499 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
22500 * stdlib/stdlib.h: Declare aligned_alloc.
22501 * Versions.def: Add GLIBC_2.16 for libc.
22502 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
22505 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
22508 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
22512 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
22515 * assert/assert.h (static_assert): Define.
22517 * version.h: Update for 2.16 development version.
22520 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
22523 * version.h (RELEASE): Bump for 2.15 release.
22524 * include/features.h (__GLIBC_MINOR__): Bump to 15.
22526 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
22527 Patch by Marek Polacek <mpolacek@redhat.com>.
22529 * bits/byteswap.h: Protect long long constants with __extension__.
22530 * sysdeps/i386/bits/byteswap.h: Likewise.
22531 * sysdeps/ia64/bits/byteswap.h: Likewise.
22532 * sysdeps/s390/bits/byteswap.h: Likewise.
22533 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22535 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22538 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
22539 destination buffer.
22540 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
22542 2011-12-23 Marek Polacek <polacek@redhat.com>
22544 * elf/dl-addr.c (determine_info): Add inline keyword.
22545 * elf/tst-auditmod4b.c (check_avx): Likewise.
22546 * elf/tst-auditmod6b.c (check_avx): Likewise.
22547 * elf/tst-auditmod6c.c (check_avx): Likewise.
22548 * elf/tst-auditmod7b.c (check_avx): Likewise.
22550 2011-12-23 Ulrich Drepper <drepper@gmail.com>
22552 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
22555 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22558 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
22559 processing for last bytes.
22561 2011-08-06 Bruno Haible <bruno@clisp.org>
22564 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
22565 U+0385, not to U+1FEE.
22568 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
22569 entry for U+00A5 U+0301.
22571 2011-12-22 Ulrich Drepper <drepper@gmail.com>
22574 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
22575 buffer for the output is too small.
22577 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
22581 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
22582 SSE flags if possible.
22584 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22587 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
22588 processing for last bytes.
22590 2011-12-22 Joseph Myers <joseph@codesourcery.com>
22592 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
22593 (syscall-list-default-options, syscall-list-default-condition)
22594 (syscall-list-includes): Define.
22595 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
22596 list of ABIs and options and #if conditions for each ABI. Do not
22597 handle common syscalls between ABIs specially.
22598 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
22600 (syscall-list-variants, syscall-list-32bit-options)
22601 (syscall-list-32bit-condition, syscall-list-64bit-options)
22602 (syscall-list-64bit-condition): Define.
22603 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
22604 (syscall-list-variants, syscall-list-32bit-options)
22605 (syscall-list-32bit-condition, syscall-list-64bit-options)
22606 (syscall-list-64bit-condition): Define.
22607 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
22609 (syscall-list-variants, syscall-list-32bit-options)
22610 (syscall-list-32bit-condition, syscall-list-64bit-options)
22611 (syscall-list-64bit-condition): Define.
22612 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
22614 (syscall-list-variants, syscall-list-32bit-options)
22615 (syscall-list-32bit-condition, syscall-list-64bit-options)
22616 (syscall-list-64bit-condition): Define.
22618 2011-12-22 Ulrich Drepper <drepper@gmail.com>
22620 * locale/iso-639.def: Add brx entry.
22623 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
22624 Proposed by Mariusz_Cukr <marcukr@op.pl>.
22626 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
22627 __feraiseexcept_renamed.
22629 2011-12-21 Ulrich Drepper <drepper@gmail.com>
22632 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
22633 EPOLLET with unsigned values.
22634 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22635 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22637 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
22638 to large cancellation.
22639 * math/s_cacoshf.c: Likewise.
22640 * math/s_cacoshl.c: Likewise.
22642 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
22646 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
22647 * math/s_cacoshf.c: Likewise.
22648 * math/s_cacoshl.c: Likewise.
22650 2011-12-21 Ulrich Drepper <drepper@gmail.com>
22653 * iconv/gconv.h: Define __GCONV_SWAP.
22654 * iconvdata/unicode.c: The swap bit must be stored in __flags.
22655 * iconvdata/utf-16.c: Likewise.
22656 * iconvdata/utf-32.c: Likewise.
22658 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
22661 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
22662 numerator after shifting it by one limb.
22664 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
22666 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
22667 under [__USE_EXTERN_INLINES].
22669 2011-12-17 Ulrich Drepper <drepper@gmail.com>
22672 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
22674 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22676 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
22677 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
22679 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
22680 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
22681 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
22682 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
22683 for strncasecmp/strncasecmp_l compilation.
22684 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
22685 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
22687 2011-12-08 Marek Polacek <mpolacek@redhat.com>
22690 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
22693 2011-12-17 Ulrich Drepper <drepper@gmail.com>
22696 * time/tzfile.c (__tzfile_read): Check values from file header.
22698 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
22700 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
22701 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
22702 * powerpc/powerpc32/dl-start.S: Likewise.
22703 * powerpc/powerpc32/elf/start.S: Likewise.
22704 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22705 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
22706 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
22707 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
22708 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22709 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
22710 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
22711 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22712 * powerpc/powerpc32/fpu/s_round.S: Likewise.
22713 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22714 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22715 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22716 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22717 * powerpc/powerpc32/memset.S: Likewise.
22718 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22719 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22720 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22721 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22722 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22723 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22724 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22725 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22726 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
22727 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
22728 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
22729 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22730 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22732 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22734 * math/libm-test.inc: Added more nearbyint tests.
22735 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
22736 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
22737 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
22738 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
22740 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
22742 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
22745 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22747 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
22748 Add wcscpy-ssse3 wcscpy-c.
22749 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
22750 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
22751 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
22752 * sysdeps/x86_64/wcschr.S: New file.
22753 * sysdeps/x86_64/wcsrchr.S: New file.
22754 * string/test-strcmp.c: Remove checking of wcscmp function for
22756 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
22757 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
22758 wcsrchr-sse2 wcsrchr-c.
22759 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
22760 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
22761 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
22762 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
22763 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
22764 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
22765 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
22766 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
22767 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
22768 * wcsmbc/wcschr.c (WCSCHR): New macro.
22770 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22772 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
22773 * wcsmbs/test-wcsrchr.c: New file.
22774 * string/test-strrchr.c: Add wcsrchr support.
22776 * wcsmbs/test-wcscpy.c: New file.
22777 * string/test-strcpy.c: Add wcscpy support.
22780 2011-12-10 Ulrich Drepper <drepper@gmail.com>
22782 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
22785 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
22788 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
22790 2011-12-04 Ulrich Drepper <drepper@gmail.com>
22792 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
22793 Minor optimizations.
22795 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
22796 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
22797 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22799 2011-12-03 Ulrich Drepper <drepper@gmail.com>
22801 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
22802 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
22803 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
22804 for gcc to avoid warnings.
22805 * inet/Makefile (tests): Add tst-checks.
22806 * inet/tst-checks.c: New file.
22808 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
22811 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
22814 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
22815 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
22817 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
22819 2011-12-02 Ulrich Drepper <drepper@gmail.com>
22821 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22824 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22826 2011-11-29 Joseph Myers <joseph@codesourcery.com>
22828 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22829 conditional on GCC version.
22830 (__arch_compare_and_exchange_val_8_acq)
22831 (__arch_compare_and_exchange_val_16_acq)
22832 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22833 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22834 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22836 2011-12-02 Joseph Myers <joseph@codesourcery.com>
22838 * sysdeps/sh/backtrace.c: New file.
22840 2011-12-02 Andreas Schwab <schwab@redhat.com>
22842 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
22845 2011-12-01 Andreas Schwab <schwab@redhat.com>
22847 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22848 falling back to utime.
22850 2011-11-30 Andreas Schwab <schwab@redhat.com>
22852 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22853 expectations for float.
22855 2011-11-29 Andreas Schwab <schwab@redhat.com>
22857 * locale/weight.h (findidx): Add parameter len.
22858 * locale/weightwc.h (findidx): Likewise.
22859 * posix/fnmatch_loop.c (FCT): Adjust caller.
22860 * posix/regcomp.c (build_equiv_class): Likewise.
22861 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22862 * posix/regexec.c (check_node_accept_bytes): Likewise.
22863 * string/strcoll_l.c (STRCOLL): Likewise.
22864 * string/strxfrm_l.c (STRXFRM): Likewise.
22866 2011-11-17 Ulrich Drepper <drepper@gmail.com>
22868 * Makefile.in: Remove CVSOPT handling.
22869 * configure.in: Remove use of AC_REVISION.
22870 * iconvdata/Makefile (distribute): No need to filter out CVS.
22871 * scripts/list-sources.sh: Remove CVS, subversion and monotone
22874 2011-11-16 Andreas Schwab <schwab@redhat.com>
22876 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22877 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22878 [USE_AS_STRNCASECMP_L]: Likewise.
22879 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22880 NO_TLS_DIRECT_SEG_REFS.
22881 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22882 Fix argument offsets for non-PIC.
22883 [USE_AS_STRNCASECMP_L]: Likewise.
22884 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22885 NO_TLS_DIRECT_SEG_REFS.
22887 2011-11-15 Ulrich Drepper <drepper@gmail.com>
22889 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
22891 * locale/loadlocale.c (_nl_load_locale): Likewise.
22893 2011-11-15 Andreas Schwab <schwab@redhat.com>
22895 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22896 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22897 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22898 (SYSCALL_GETTIME): Set errno on error.
22900 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22901 count references to noai6ai_cached.
22903 2011-11-15 Ulrich Drepper <drepper@gmail.com>
22905 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22907 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22908 FD_CLOEXEC for /proc/self/maps.
22910 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22911 FD_CLOEXEC for /proc/meminfo.
22913 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22916 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
22917 FD_CLOEXEC for given file.
22919 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22921 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22922 FD_CLOEXEC for /etc/hosts.
22923 (_gethtent): Likewise.
22925 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22927 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22928 cancellation and set FD_CLOEXEC for /etc/netgroup.
22930 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22931 reading /etc/publickey.
22933 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22934 allow cancellation when reading /etc/group.
22936 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22938 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22940 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22941 when using data file.
22943 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22945 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22946 (write_nis_obj): Use "c" and "e" in fopen.
22948 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22950 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22952 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22954 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22956 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22959 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22961 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22963 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22965 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22966 file parsing and set FD_CLOEXEC.
22968 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22970 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22972 2011-11-14 Andreas Schwab <schwab@redhat.com>
22974 * malloc/arena.c (arena_get2): Don't call reused_arena when
22975 _int_new_arena failed.
22977 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22979 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22980 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22981 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22982 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22983 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22984 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22985 to compile strcasecmp and strncasecmp.
22986 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22987 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22989 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22991 2011-11-13 Ulrich Drepper <drepper@gmail.com>
22993 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22994 locale-defines.sym to gen-as-const-headers.
22995 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22996 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22997 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22998 to compile strcasecmp and strncasecmp.
22999 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
23000 strcasecmp_l and strncasecmp_l.
23001 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
23002 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
23003 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
23004 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
23005 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
23006 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
23007 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
23008 * sysdeps/i386/i686/multiarch/strncase.S: New file.
23009 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
23010 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
23011 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
23013 2011-11-12 Ulrich Drepper <drepper@gmail.com>
23015 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
23016 result of SYSDEP_GETTIME_CPU to retval.
23017 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
23018 parameter list to macro. Remove trailing semicolon. Adjust users.
23020 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
23023 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
23025 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
23027 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
23028 from unused variable.
23030 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
23032 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
23035 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
23038 * sunrpc/rpc_prot.c (rejected): Fix case value.
23040 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
23041 unsigned long long int to avoid warnings in shift.
23043 * posix/regex_internal.c (re_string_reconstruct): Actually use result
23045 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
23048 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
23049 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
23050 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
23052 * nis/nis_table.c (nis_list): Use variable of correct type for
23053 result of __follow_path call.
23055 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23057 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
23058 of math functions ceil, trunc, floor, round, and sqrt, when
23059 avaliable on the platform.
23060 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
23062 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23063 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23064 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23066 2011-10-30 Marek Polacek <mpolacek@redhat.com>
23068 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
23069 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23071 2011-11-11 Roland McGrath <roland@hack.frob.com>
23073 * include/unistd.h: Fix __readlink return type.
23074 Reported by Chris Metcalf <cmetcalf@tilera.com>.
23076 2011-11-11 Ulrich Drepper <drepper@gmail.com>
23078 * stdlib/ucontext.h: Undo last change for makecontext.
23080 2011-11-11 Andreas Schwab <schwab@redhat.com>
23082 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
23084 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
23085 * setjmp/setjmp.h: Mark functions as non-leaf.
23086 * setjmp/bits/setjmp2.h: Likewise.
23087 * stdlib/ucontext.h: Likewise.
23089 2011-11-10 Andreas Schwab <schwab@redhat.com>
23091 * malloc/arena.c (_int_new_arena): Don't increment narenas.
23092 (reused_arena): Don't check arena limit.
23093 (arena_get2): Atomically check arena limit.
23095 2011-11-08 Ulrich Drepper <drepper@gmail.com>
23097 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
23098 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
23100 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
23103 2011-11-07 Andreas Schwab <schwab@redhat.com>
23105 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
23106 handler when locking.
23108 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23109 Fix size of allocated buffer.
23111 2011-11-04 Andreas Schwab <schwab@redhat.com>
23114 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
23115 declarations for long double functions.
23116 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
23118 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
23120 2011-11-03 Andreas Schwab <schwab@redhat.com>
23122 * nscd/nscd.c (main): Don't start AVC thread until credentials are
23125 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
23128 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
23130 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
23132 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
23134 * include/alloca.h (stackinfo_alloca_round): Define.
23135 (extend_alloca): Use it.
23136 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
23137 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
23140 * scripts/check-local-headers.sh: Ignore libaudit.h.
23142 * nscd/Makefile (extra-objs): Make recursively expanded.
23144 2011-11-01 Ulrich Drepper <drepper@gmail.com>
23146 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
23147 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23149 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
23150 * posix/tst-rfc3484-2.c: Likewise.
23151 * posix/tst-rfc3484-3.c: Likewise.
23153 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23155 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
23157 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
23158 process_vm_writev from libc using GLIBC_2.15 version.
23160 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
23162 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
23164 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
23167 2011-10-31 Ulrich Drepper <drepper@gmail.com>
23170 * nss/getent.c (initgroups_keys): Show error message in case no group
23173 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
23174 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
23175 __bump_nl_timestamp.
23176 * nscd/connections (nscd_init): When host database is served open
23177 netlink socket and request notification about configuration changes.
23178 (main_loop_poll): Track netlink file descriptor and bump timestamp
23179 in case data becomes available.
23180 (main_loop_epoll): Likewise.
23181 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
23182 (database_pers_head): Add extra_data fileds.
23183 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
23184 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
23185 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
23187 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
23188 in6ai data, call __free_in6ai.
23189 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
23190 Add -DHAVE_NETLINK.
23191 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
23192 interface information. Reuse previous data if netlink timestamp
23194 (__bump_nl_timestamp): New function.
23195 (__free_in6ai): New function.
23197 2011-10-30 Ulrich Drepper <drepper@gmail.com>
23199 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
23200 close_not_cancel_no_status here.
23201 (__check_pf): Reorganize code a bit to not call close twice if OOM.
23203 2011-10-29 Ulrich Drepper <drepper@gmail.com>
23206 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
23209 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
23210 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
23211 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
23213 2011-07-03 Andreas Jaeger <aj@suse.de>
23216 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
23217 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
23218 * math/libm-test.inc (sin_test): Add test case.
23220 2011-10-29 Ulrich Drepper <drepper@gmail.com>
23223 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
23224 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23226 * elf/chroot_canon.c (chroot_canon): Cleanups.
23228 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
23231 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
23232 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23234 * string/test-strchr.c: Make usable for strchrnul testing.
23235 * string/test-strchrnul.c: New file.
23236 * string/Makefile (strop-tests): Add strchrnul.
23238 * po/it.po: Update from translation team.
23239 * po/es.po: Likewise.
23241 2011-10-28 Ulrich Drepper <drepper@gmail.com>
23243 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
23244 the three constants needed as parameters. Drop the others.
23245 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
23246 __m128i_strloadu_tolower.
23247 Create and initialize variable zero and use it in all the places
23248 where _mm_setzero_si128 was used.
23250 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
23251 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
23252 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
23253 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
23255 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
23256 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
23257 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
23258 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
23259 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
23260 __mpranred, __mptan.
23261 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
23262 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
23263 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
23264 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
23265 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
23266 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
23267 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
23268 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
23269 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
23271 2011-10-28 Andreas Schwab <schwab@redhat.com>
23273 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
23274 redefine if SHARED.
23275 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
23277 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
23278 wide char related routines to wcsmbs subdir.
23280 2011-10-27 Andreas Schwab <schwab@redhat.com>
23283 * misc/sys/cdefs.h (__THROWNL): Define.
23284 * posix/unistd.h: Use __THREADNL instead of __THREAD
23285 for memory synchronization functions.
23287 2011-10-26 Roland McGrath <roland@hack.frob.com>
23290 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
23292 * manual/stdio.texi (Obstack Streams): Node removed.
23294 2011-10-26 Andreas Schwab <schwab@redhat.com>
23296 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
23297 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23298 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23300 * math/math_private.h (math_force_eval): Allow non-addressable
23302 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
23304 2011-10-25 Ulrich Drepper <drepper@gmail.com>
23306 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
23307 file is not needed.
23309 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
23310 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
23311 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23312 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23313 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23314 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23315 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23316 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
23318 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
23319 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
23320 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
23321 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
23322 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
23323 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
23324 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
23325 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
23326 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
23327 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
23328 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
23329 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
23330 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
23331 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
23332 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
23333 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
23334 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
23335 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
23336 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
23338 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
23339 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
23341 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
23342 place. Use VEX encoding when compiling for AVX.
23344 2011-10-25 Andreas Schwab <schwab@redhat.com>
23346 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
23347 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23349 * string/test-strchr.c (do_test): Don't generate NUL bytes.
23351 2011-10-25 Ulrich Drepper <drepper@gmail.com>
23353 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
23354 useless if() expression.
23355 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23356 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23357 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23358 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23359 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23360 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23361 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23362 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23363 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23364 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23365 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23366 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23367 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23368 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23369 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23370 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23371 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23372 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23373 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23375 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
23377 2011-10-25 Andreas Schwab <schwab@redhat.com>
23379 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
23381 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23383 2011-10-25 Ulrich Drepper <drepper@gmail.com>
23385 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
23386 .text section. Avoid duplicate constants.
23387 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23388 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23389 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23390 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23391 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23392 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23393 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23394 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23395 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23396 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
23397 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23398 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23399 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23400 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23401 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23402 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23403 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23404 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23405 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23406 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23407 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23408 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23409 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23410 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
23411 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
23412 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
23413 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
23414 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
23415 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
23416 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
23417 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
23418 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
23419 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23420 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
23421 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
23422 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
23423 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
23424 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
23425 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
23426 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
23427 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
23428 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
23429 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
23430 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23431 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
23433 2011-10-24 Ulrich Drepper <drepper@gmail.com>
23435 * sysdeps/x86_64/dla.h: Move to ...
23436 * sysdeps/x86_64/fpu/dla.h: ...here.
23437 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
23438 situations. Use __builtin_fma only for gcc 4.6 and up.
23440 * config.make.in: Add have-mfma4 entry.
23441 * configure.in: Substitute libc_cv_cc_fma4.
23442 * math/Makefile (dbl-only-routines): Add sincostab.
23443 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
23444 Use __sincostab not sincos.
23445 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
23447 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23448 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23449 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23450 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
23452 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
23453 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
23454 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
23455 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
23457 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
23458 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
23460 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
23461 define aliases when function name is a macro.
23462 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
23463 sysdeps/ieee754/dbl-64/sincos.tbl.
23464 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
23465 fma4-enabled routines.
23466 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
23467 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
23468 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
23469 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
23470 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
23471 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
23472 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
23473 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
23474 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
23475 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
23476 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
23477 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
23478 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
23479 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
23480 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
23481 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
23482 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
23483 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
23484 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
23485 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
23486 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
23487 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
23488 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
23489 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
23490 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
23491 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
23492 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
23493 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
23494 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
23495 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
23497 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
23499 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23500 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23501 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23502 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23503 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23504 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23505 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23506 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23508 2011-10-24 Andreas Schwab <schwab@redhat.com>
23510 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
23512 2011-10-23 Ulrich Drepper <drepper@gmail.com>
23514 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
23516 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
23518 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
23520 * string/strnlen.c: Don't define STRNLEN, reverse logic.
23521 Remove unused variable magic_bits.
23522 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
23524 * string/strnlen.c: Define and use STRNLEN macro.
23525 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
23526 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
23527 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
23528 * wcsmbs/wcslen.c: Define and use WCSLEN.
23529 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
23530 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
23531 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
23532 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
23533 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
23534 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
23535 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23537 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23539 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23540 strnlen-sse2-no-bsf.
23541 Rename strlen-no-bsf to strlen-sse2-no-bsf.
23542 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
23543 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
23544 Add strnlen support.
23545 (USE_AS_STRNLEN): New macro.
23546 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
23547 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
23548 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
23549 * sysdeps/x86_64/wcslen.S: New file.
23551 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
23553 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23554 XMM-moves are used for copying on small sizes.
23556 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23558 * wcsmbs/Makefile (strop-tests): Add wcschr.
23559 * wcsmbs/test-wcschr.c: New file.
23560 * string/test-strchr.c: Update.
23561 Add wcschr support.
23564 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23566 * wcsmbs/Makefile (strop-tests): Add wcslen.
23567 * wcsmbs/test-wcslen.c: New file.
23568 * string/test-strlen.c: Update.
23569 Add wcslen support.
23572 2011-10-23 Ulrich Drepper <drepper@gmail.com>
23574 * po/it.po: Update from translation team.
23576 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23578 * sysdeps/x86_64/wcscmp.S: Update.
23579 Fix wrong comparison semantics.
23580 wcscmp shall use signed comparison not unsigned.
23581 Don't use substraction to avoid overflow bug.
23582 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23583 * wcsmbc/wcscmp.c: Likewise.
23584 * string/test-strcmp.c: Likewise.
23585 Add new tests to check cases with negative values.
23587 2011-10-23 Ulrich Drepper <drepper@gmail.com>
23589 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
23590 * sysdeps/x86_64/dla.h: ...here. New file.
23591 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
23592 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23593 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23594 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23595 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23596 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23597 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23598 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23599 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23601 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
23603 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
23604 __ynl_finite aliases.
23606 2011-10-22 Ulrich Drepper <drepper@gmail.com>
23608 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23610 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
23612 [DLA_FMA] (EMULV): Use DLA_FMA.
23613 [DLA_FMA] (MUL12): Use EMULV.
23614 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
23615 that are not needed.
23616 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23617 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23618 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23619 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23620 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23621 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23622 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23624 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
23626 * math/s_nan.c: Undef __nan.
23627 * math/s_nanf.c: Undef __nanf.
23628 * math/s_nanl.c: Undef __nanl.
23629 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
23632 2011-10-22 Ulrich Drepper <drepper@gmail.com>
23634 * math/s_catan.c: Add branch predictions.
23635 * math/s_catanf.c: Likewise.
23636 * math/s_catanh.c: Likewise.
23637 * math/s_catanhf.c: Likewise.
23638 * math/s_catanhl.c: Likewise.
23639 * math/s_catanl.c: Likewise.
23640 * math/s_cexp.c: Likewise.
23641 * math/s_cexpf.c: Likewise.
23642 * math/s_cexpl.c: Likewise.
23643 * math/s_clog.c: Likewise.
23644 * math/s_clog10.c: Likewise.
23645 * math/s_clog10f.c: Likewise.
23646 * math/s_clog10l.c: Likewise.
23647 * math/s_clogf.c: Likewise.
23648 * math/s_clogl.c: Likewise.
23649 * math/s_csqrt.c: Likewise.
23650 * math/s_csqrtf.c: Likewise.
23651 * math/s_csqrtl.c: Likewise.
23652 * math/s_ctanf.c: Likewise.
23653 * math/s_ctanh.c: Likewise.
23654 * math/s_ctanhf.c: Likewise.
23655 * math/s_ctanhl.c: Likewise.
23656 * math/s_ctanl.c: Likewise.
23658 * math/math_private.h: Define __nan, __nanf, __nanl.
23659 * math/s_cacosh.c: Include <math_private.h>.
23660 * math/s_cacoshl.c: Likewise.
23661 * math/s_casinh.c: Likewise.
23662 * math/s_casinhf.c: Likewise.
23663 * math/s_casinhl.c: Likewise.
23664 * math/s_ccos.c: Rely entire on ccosh.
23665 * math/s_ccosf.c: Rely entire on ccoshf.
23666 * math/s_ccosl.c: Rely entirely on ccoshl.
23667 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
23668 Remove tests for FE_INVALID.
23669 * math/s_ccoshf.c: Likewise.
23670 * math/s_ccoshl.c: Likewise.
23671 * math/s_csin.c: Likewise.
23672 * math/s_csinf.c: Likewise.
23673 * math/s_csinh.c Likewise.
23674 * math/s_csinhf.c: Likewise.
23675 * math/s_csinhl.c: Likewise.
23676 * math/s_csinl.c: Likewise.
23677 * math/s_ctan.c: Likewise.
23678 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
23679 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
23680 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
23682 2011-10-21 Ulrich Drepper <drepper@gmail.com>
23684 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
23685 compilation problems.
23687 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
23690 2011-10-20 Ulrich Drepper <drepper@gmail.com>
23692 * sysdeps/i386/configure.in: Test for -mfma4 option.
23693 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
23694 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
23695 COMMON_CPUID_INDEX_80000001.
23696 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
23697 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
23698 use it if FMA3 is not supported.
23699 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
23701 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
23702 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23704 2011-10-20 Andreas Schwab <schwab@redhat.com>
23707 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
23708 it would create a cycle with a link time dependency.
23710 2011-10-19 Ulrich Drepper <drepper@gmail.com>
23712 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
23714 * string/Makefile (strop-tests): Add rawmemchr.
23715 * string/test-rawmemchr.c: New file.
23717 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
23718 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
23719 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
23720 when compiling str{,n}casecmp and when AVX is available. Hook up
23721 new optimized code in initializers.
23723 2011-10-19 Andreas Schwab <schwab@redhat.com>
23725 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
23726 __feraiseexcept instead of feraiseexcept.
23728 2011-10-18 Ulrich Drepper <drepper@gmail.com>
23730 * math/math_private.h: Define defaults for libc_fetestexcept and
23732 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
23733 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
23734 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23735 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23736 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23737 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23738 libc_fetestexcept and libc_feupdateenv.
23740 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
23741 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
23742 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
23743 * sysdeps/x86_64/fpu/math_private.h: Define special version of
23744 libc_feholdexcept_setround.
23746 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
23747 Add s_nearbyint-c and s_nearbyintf-c.
23748 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
23749 nearbyintf inlines.
23750 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
23751 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
23752 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
23753 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
23755 * math/math_private.h: Define defaults for libc_fegetround,
23756 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
23757 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
23758 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
23759 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
23760 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
23761 standard functions.
23762 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23763 Remove comments and hacks for old compiler versions.
23764 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23765 libc_fegetround, libc_fesetround, libc_feholdexcept, and
23766 libc_feholdexceptl.
23768 2011-10-18 Andreas Schwab <schwab@redhat.com>
23770 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
23771 (__feraiseexcept_renamed): Add __NTH.
23772 (feraiseexcept): Add __NTH. Rename local variables to fix
23773 namespace violations.
23775 2011-10-17 Ulrich Drepper <drepper@gmail.com>
23777 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
23779 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
23781 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
23782 recently added interfaces.
23783 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
23785 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
23786 about macro parameter expansion.
23788 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
23789 __NO_MATH_INLINES is defined. Cleanups.
23791 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
23792 and __floorf is target has SSE4.1.
23793 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
23794 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
23795 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
23796 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
23798 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
23800 (floorf): Likewise.
23802 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
23804 2011-10-17 Andreas Schwab <schwab@redhat.com>
23806 * misc/sys/cdefs.h: Fix last change.
23808 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
23811 2011-10-16 Ulrich Drepper <drepper@gmail.com>
23813 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
23815 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
23816 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23817 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23818 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23819 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23820 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23821 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23822 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23823 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23824 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23825 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23826 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23827 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23828 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23829 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23830 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23831 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23832 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23833 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23834 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23835 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23836 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23838 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23839 ceil, ceilf, floor, floorf.
23841 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23842 Perform IRELATIVE relocations last.
23844 * elf/do-rel.h: Add another parameter nrelative, replacing the
23845 local variable with the same name. Change name of the function
23846 to end in Rel or Rela (uppercase).
23847 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23848 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
23849 elf_dynamic_do_##reloc function.
23851 2011-10-15 Ulrich Drepper <drepper@gmail.com>
23853 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23854 is sufficient, at least on modern CPUs.
23856 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23858 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23859 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23861 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23863 * math/bits/math-finite.h: Add entries for exp.
23864 * math/e_expl.c: Add __*_finite alias.
23865 * sysdeps/i386/fpu/e_exp.S: Likewise.
23866 * sysdeps/i386/fpu/e_expf.S: Likewise.
23867 * sysdeps/i386/fpu/e_expl.c: Likewise.
23868 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23869 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23870 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23871 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23872 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23873 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23874 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23876 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23877 is sufficient, at least on modern CPUs.
23879 * ctype/ctype-info.c (__ctype_init): Define.
23880 * include/ctype.h (__ctype_init): Declare.
23881 (__ctype_b_loc): The variable is always initialized.
23882 (__ctype_toupper_loc): Likewise.
23883 (__ctype_tolower_loc): Likewise.
23884 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23885 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23887 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
23889 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23891 * configure.in: Also look in $cxxmachine/include for C++ system
23894 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23896 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23897 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23898 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23899 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
23900 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23901 (USE_AS_WMEMCMP): New macro.
23903 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23904 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23905 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23906 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23907 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23908 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23909 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23910 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23911 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23912 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23913 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23914 (USE_AS_WMEMCMP): New macro.
23915 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23916 * sysdeps/string/test-memcmp.c: Update.
23917 Fix simple_wmemcmp.
23919 * wcsmbs/wmemcmp.c: Update.
23920 (WMEMCMP): New macro.
23923 2011-10-12 Andreas Jaeger <aj@suse.de>
23926 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23928 2011-10-15 Ulrich Drepper <drepper@gmail.com>
23930 * libio/iofwide.c (do_length): Avoid warning.
23932 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23934 2011-10-14 Ulrich Drepper <drepper@gmail.com>
23936 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23938 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23939 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23940 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23941 * sysdeps/i386/i686/fpu/e_log.S: New file.
23942 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23943 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23945 * ctype/ctype.h: Add support for inlined isXXX functions when
23946 compiling C++ code.
23948 2011-10-14 Andreas Schwab <schwab@redhat.com>
23950 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23952 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23954 2011-10-13 Roland McGrath <roland@hack.frob.com>
23957 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23959 2011-10-13 Andreas Schwab <schwab@redhat.com>
23961 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23962 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23965 * sysdeps/x86_64/memrchr.S: Check for zero size.
23967 * string/stratcliff.c: Add memrchr tests.
23969 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23971 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23972 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23973 rawmemchr-sse2 rawmemchr-sse2-bsf.
23974 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23975 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23976 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23977 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23978 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23979 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23980 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23981 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23982 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23983 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23984 * string/memrchr.c (MEMRCHR): New macro.
23986 2011-10-12 Ulrich Drepper <drepper@gmail.com>
23988 Add integration with gcc's -ffinite-math-only and optimize wrapper
23990 * Versions.def: Define GLIBC_2.15 version for libm.
23991 * math/Makefile (headers): Add bits/math-finite.h.
23992 * math/bits/math-finite.h: New file.
23993 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23994 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23995 * math/e_acoshl.c: Add __*_finite alias.
23996 * math/e_acosl.c: Likewise.
23997 * math/e_asinl.c: Likewise.
23998 * math/e_atan2l.c: Likewise.
23999 * math/e_atanhl.c: Likewise.
24000 * math/e_coshl.c: Likewise.
24001 * math/e_exp10.c: Likewise.
24002 * math/e_exp10f.c: Likewise.
24003 * math/e_exp10l.c: Likewise.
24004 * math/e_exp2l.c: Likewise.
24005 * math/e_fmodl.c: Likewise.
24006 * math/e_gammal_r.c: Likewise.
24007 * math/e_hypotl.c: Likewise.
24008 * math/e_j0l.c: Likewise.
24009 * math/e_j1l.c: Likewise.
24010 * math/e_jnl.c: Likewise.
24011 * math/e_lgammal_r.c: Likewise.
24012 * math/e_log10l.c: Likewise.
24013 * math/e_log2l.c: Likewise.
24014 * math/e_logl.c: Likewise.
24015 * math/e_powl.c: Likewise.
24016 * math/e_sinhl.c: Likewise.
24017 * math/e_sqrtl.c: Likewise.
24018 * math/e_scalb.c: Completely rewritten and optimized.
24019 * math/e_scalbf.c: Likewise.
24020 * math/e_scalbl.c: Likewise.
24021 * math/w_acos.c: Likewise.
24022 * math/w_acosf.c: Likewise.
24023 * math/w_acosl.c: Likewise.
24024 * math/w_acosh.c: Likewise.
24025 * math/w_acoshf.c: Likewise.
24026 * math/w_acoshl.c: Likewise.
24027 * math/w_asin.c: Likewise.
24028 * math/w_asinf.c: Likewise.
24029 * math/w_asinl.c: Likewise.
24030 * math/w_atan2.c: Likewise.
24031 * math/w_atan2f.c: Likewise.
24032 * math/w_atan2l.c: Likewise.
24033 * math/w_atanh.c: Likewise.
24034 * math/w_atanhf.c: Likewise.
24035 * math/w_atanhl.c: Likewise.
24036 * math/w_exp10.c: Likewise.
24037 * math/w_exp10f.c: Likewise.
24038 * math/w_exp10l.c: Likewise.
24039 * math/w_fmod.c: Likewise.
24040 * math/w_fmodf.c: Likewise.
24041 * math/w_fmodl.c: Likewise.
24042 * math/w_j0.c: Likewise.
24043 * math/w_j0f.c: Likewise.
24044 * math/w_j0l.c: Likewise.
24045 * math/w_j1.c: Likewise.
24046 * math/w_j1f.c: Likewise.
24047 * math/w_j1l.c: Likewise.
24048 * math/w_jn.c: Likewise.
24049 * math/w_jnf.c: Likewise.
24050 * math/w_log.c: Likewise.
24051 * math/w_logf.c: Likewise.
24052 * math/w_logl.c: Likewise.
24053 * math/w_log10.c: Likewise.
24054 * math/w_log10f.c: Likewise.
24055 * math/w_log10l.c: Likewise.
24056 * math/w_log2.c: Likewise.
24057 * math/w_log2f.c: Likewise.
24058 * math/w_log2l.c: Likewise.
24059 * math/w_pow.c: Likewise.
24060 * math/w_powf.c: Likewise.
24061 * math/w_powl.c: Likewise.
24062 * math/w_remainder.c: Likewise.
24063 * math/w_remainderf.c: Likewise.
24064 * math/w_remainderl.c: Likewise.
24065 * math/w_scalb.c: Likewise.
24066 * math/w_scalbf.c: Likewise.
24067 * math/w_scalbl.c: Likewise.
24068 * math/w_sqrt.c: Likewise.
24069 * math/w_sqrtf.c: Likewise.
24070 * math/w_sqrtl.c: Likewise.
24071 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
24072 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
24074 * math/math_private.h: Declare __kernel_standard_f.
24075 * math/w_cosh.c: Remove cruft and optimize a bit.
24076 * math/w_coshf.c: Likewise.
24077 * math/w_coshl.c: Likewise.
24078 * math/w_exp2.c: Likewise.
24079 * math/w_exp2f.c: Likewise.
24080 * math/w_exp2l.c: Likewise.
24081 * math/w_hypot.c: Likewise.
24082 * math/w_hypotf.c: Likewise.
24083 * math/w_hypotl.c: Likewise.
24084 * math/w_lgamma.c: Likewise.
24085 * math/w_lgamma_r.c: Likewise.
24086 * math/w_lgammaf.c: Likewise.
24087 * math/w_lgammaf_r.c: Likewise.
24088 * math/w_lgammal.c: Likewise.
24089 * math/w_lgammal_r.c: Likewise.
24090 * math/w_sinh.c: Likewise.
24091 * math/w_sinhf.c: Likewise.
24092 * math/w_sinhl.c: Likewise.
24093 * math/w_tgamma.c: Likewise.
24094 * math/w_tgammaf.c: Likewise.
24095 * math/w_tgammal.c: Likewise.
24096 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24097 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24098 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
24099 Minor optimizations. Pretty printing. Remove cruft.
24100 * sysdeps/i386/fpu/e_acosf.S: Likewise.
24101 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24102 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24103 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24104 * sysdeps/i386/fpu/e_acosl.c: Likewise.
24105 * sysdeps/i386/fpu/e_asin.S: Likewise.
24106 * sysdeps/i386/fpu/e_asinf.S: Likewise.
24107 * sysdeps/i386/fpu/e_atan2.S: Likewise.
24108 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
24109 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
24110 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24111 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24112 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24113 * sysdeps/i386/fpu/e_exp10.S: Likewise.
24114 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
24115 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
24116 * sysdeps/i386/fpu/e_exp2.S: Likewise.
24117 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
24118 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
24119 * sysdeps/i386/fpu/e_fmod.S: Likewise.
24120 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
24121 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
24122 * sysdeps/i386/fpu/e_hypot.S: Likewise.
24123 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
24124 * sysdeps/i386/fpu/e_log.S: Likewise.
24125 * sysdeps/i386/fpu/e_log10.S: Likewise.
24126 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24127 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24128 * sysdeps/i386/fpu/e_log2.S: Likewise.
24129 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24130 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24131 * sysdeps/i386/fpu/e_logf.S: Likewise.
24132 * sysdeps/i386/fpu/e_logl.S: Likewise.
24133 * sysdeps/i386/fpu/e_pow.S: Likewise.
24134 * sysdeps/i386/fpu/e_powf.S: Likewise.
24135 * sysdeps/i386/fpu/e_powl.S: Likewise.
24136 * sysdeps/i386/fpu/e_remainder.S: Likewise.
24137 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
24138 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
24139 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24140 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24141 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24142 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
24143 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
24144 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
24145 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24146 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24147 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24148 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24149 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24150 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24151 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
24152 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24153 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24154 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24155 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24156 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24157 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24158 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24159 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24160 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24161 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24162 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24163 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24164 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24165 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24166 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24167 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24168 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24169 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24170 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24171 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
24172 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24173 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
24174 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24175 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24176 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24177 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24178 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24179 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24180 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24181 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24182 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24183 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24184 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24185 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24186 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24187 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24188 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24189 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24190 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24191 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24192 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24193 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24194 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
24195 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24196 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24197 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24198 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24199 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24200 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24201 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24202 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24203 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24204 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24205 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24206 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24207 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24208 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24209 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24210 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24211 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24212 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24213 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
24214 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24215 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24216 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24217 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24218 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24219 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24220 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24221 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24222 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24223 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24224 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24225 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24226 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24227 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
24228 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24229 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24230 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24231 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24232 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24233 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24234 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24235 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24236 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24237 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24238 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24239 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24240 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24241 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24242 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
24243 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
24244 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
24245 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
24246 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
24247 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
24248 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
24249 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24250 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24251 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24252 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24253 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
24254 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24255 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
24256 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
24257 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
24258 (__isnanf): Likewise.
24259 (__isinf_ns): Likewise.
24260 (__isinf_nsf): Likewise.
24261 (__finite): Likewise.
24262 (__finitef): Likewise.
24263 (__ieee754_sqrt): Define as macro.
24264 (__ieee754_sqrtf): Define as macro.
24265 (__ieee754_sqrtl): Define as macro.
24266 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
24268 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
24269 __FINITE_MATH_ONLY__ consistent.
24270 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
24272 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
24274 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
24277 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
24279 2011-10-09 Ulrich Drepper <drepper@gmail.com>
24281 * po/ja.po: Update from translation team.
24283 2011-10-08 Roland McGrath <roland@hack.frob.com>
24285 * locale/programs/locarchive.c (prepare_address_space): New function.
24286 (create_archive, enlarge_archive, open_archive): Use it.
24288 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
24289 inside [SHARED], where it is used.
24291 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
24293 * nss/getent.c (netgroup_keys): Remove unused variable.
24294 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24296 2011-10-08 Ulrich Drepper <drepper@gmail.com>
24298 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
24299 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
24300 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
24301 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
24302 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
24303 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
24304 * math/Makefile (libm-calls): Add s_isinf_ns.
24305 * math/divtc3.c: Use __isinf_nsl instead of isinf.
24306 * math/multc3.c: Likewise.
24307 * math/s_casin.c: Likewise.
24308 * math/s_casinf.c: Likewise.
24309 * math/s_casinl.c: Likewise.
24310 * math/s_ccos.c: Likewise.
24311 * math/s_ccosf.c: Likewise.
24312 * math/s_ccosl.c: Likewise.
24313 * math/s_ctan.c: Likewise.
24314 * math/s_ctanf.c: Likewise.
24315 * math/s_ctanh.c: Likewise.
24316 * math/s_ctanhf.c: Likewise.
24317 * math/s_ctanhl.c: Likewise.
24318 * math/s_ctanl.c: Likewise.
24319 * math/w_fmod.c: Likewise.
24320 * math/w_fmodf.c: Likewise.
24321 * math/w_fmodl.c: Likewise.
24322 * math/w_remainder.c: Likewise.
24323 * math/w_remainderf.c: Likewise.
24324 * math/w_remainderl.c: Likewise.
24325 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
24326 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
24327 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
24328 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
24329 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
24330 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
24331 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
24332 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
24334 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
24336 * stdio-common/printf_fphex.c: Likewise.
24337 * stdio-common/printf_size.c: Likewise.
24339 * math/e_exp10.c: Include math_private.h using <...> not "...".
24340 * math/e_exp10f.c: Likewise.
24341 * math/e_exp10l.c: Likewise.
24342 * math/e_exp2l.c: Likewise.
24343 * math/e_j0l.c: Likewise.
24344 * math/e_j1l.c: Likewise.
24345 * math/e_jnl.c: Likewise.
24346 * math/e_lgammal_r.c: Likewise.
24347 * math/e_rem_pio2l.c: Likewise.
24348 * math/e_scalb.c: Likewise.
24349 * math/e_scalbf.c: Likewise.
24350 * math/e_scalbl.c: Likewise.
24351 * math/k_cosl.c: Likewise.
24352 * math/k_sinl.c: Likewise.
24353 * math/k_tanl.c: Likewise.
24354 * math/s_cacoshf.c: Likewise.
24355 * math/s_catan.c: Likewise.
24356 * math/s_catanf.c: Likewise.
24357 * math/s_catanh.c: Likewise.
24358 * math/s_catanhf.c: Likewise.
24359 * math/s_catanhl.c: Likewise.
24360 * math/s_catanl.c: Likewise.
24361 * math/s_ccosh.c: Likewise.
24362 * math/s_ccoshf.c: Likewise.
24363 * math/s_ccoshl.c: Likewise.
24364 * math/s_cexp.c: Likewise.
24365 * math/s_cexpf.c: Likewise.
24366 * math/s_cexpl.c: Likewise.
24367 * math/s_clog.c: Likewise.
24368 * math/s_clog10.c: Likewise.
24369 * math/s_clog10f.c: Likewise.
24370 * math/s_clog10l.c: Likewise.
24371 * math/s_clogf.c: Likewise.
24372 * math/s_clogl.c: Likewise.
24373 * math/s_csin.c: Likewise.
24374 * math/s_csinf.c: Likewise.
24375 * math/s_csinh.c: Likewise.
24376 * math/s_csinhf.c: Likewise.
24377 * math/s_csinhl.c: Likewise.
24378 * math/s_csinl.c: Likewise.
24379 * math/s_csqrt.c: Likewise.
24380 * math/s_csqrtf.c: Likewise.
24381 * math/s_csqrtl.c: Likewise.
24382 * math/s_ctan.c: Likewise.
24383 * math/s_ctanf.c: Likewise.
24384 * math/s_ctanh.c: Likewise.
24385 * math/s_ctanhf.c: Likewise.
24386 * math/s_ctanhl.c: Likewise.
24387 * math/s_ctanl.c: Likewise.
24388 * math/s_ldexp.c: Likewise.
24389 * math/s_ldexpf.c: Likewise.
24390 * math/s_ldexpl.c: Likewise.
24391 * math/s_significand.c: Likewise.
24392 * math/s_significandf.c: Likewise.
24393 * math/s_significandl.c: Likewise.
24394 * math/w_acos.c: Likewise.
24395 * math/w_acosf.c: Likewise.
24396 * math/w_acosh.c: Likewise.
24397 * math/w_acoshf.c: Likewise.
24398 * math/w_acoshl.c: Likewise.
24399 * math/w_acosl.c: Likewise.
24400 * math/w_asin.c: Likewise.
24401 * math/w_asinf.c: Likewise.
24402 * math/w_asinl.c: Likewise.
24403 * math/w_atan2.c: Likewise.
24404 * math/w_atan2f.c: Likewise.
24405 * math/w_atan2l.c: Likewise.
24406 * math/w_atanh.c: Likewise.
24407 * math/w_atanhf.c: Likewise.
24408 * math/w_atanhl.c: Likewise.
24409 * math/w_cosh.c: Likewise.
24410 * math/w_coshf.c: Likewise.
24411 * math/w_coshl.c: Likewise.
24412 * math/w_dremf.c: Likewise.
24413 * math/w_exp10.c: Likewise.
24414 * math/w_exp10f.c: Likewise.
24415 * math/w_exp10l.c: Likewise.
24416 * math/w_exp2.c: Likewise.
24417 * math/w_exp2f.c: Likewise.
24418 * math/w_fmod.c: Likewise.
24419 * math/w_fmodf.c: Likewise.
24420 * math/w_fmodl.c: Likewise.
24421 * math/w_hypot.c: Likewise.
24422 * math/w_hypotf.c: Likewise.
24423 * math/w_hypotl.c: Likewise.
24424 * math/w_j0.c: Likewise.
24425 * math/w_j0f.c: Likewise.
24426 * math/w_j0l.c: Likewise.
24427 * math/w_j1.c: Likewise.
24428 * math/w_j1f.c: Likewise.
24429 * math/w_j1l.c: Likewise.
24430 * math/w_jn.c: Likewise.
24431 * math/w_jnf.c: Likewise.
24432 * math/w_jnl.c: Likewise.
24433 * math/w_lgamma.c: Likewise.
24434 * math/w_lgamma_r.c: Likewise.
24435 * math/w_lgammaf.c: Likewise.
24436 * math/w_lgammaf_r.c: Likewise.
24437 * math/w_lgammal.c: Likewise.
24438 * math/w_lgammal_r.c: Likewise.
24439 * math/w_log.c: Likewise.
24440 * math/w_log10.c: Likewise.
24441 * math/w_log10f.c: Likewise.
24442 * math/w_log10l.c: Likewise.
24443 * math/w_log2.c: Likewise.
24444 * math/w_log2f.c: Likewise.
24445 * math/w_log2l.c: Likewise.
24446 * math/w_logf.c: Likewise.
24447 * math/w_logl.c: Likewise.
24448 * math/w_pow.c: Likewise.
24449 * math/w_powf.c: Likewise.
24450 * math/w_powl.c: Likewise.
24451 * math/w_remainder.c: Likewise.
24452 * math/w_remainderf.c: Likewise.
24453 * math/w_remainderl.c: Likewise.
24454 * math/w_scalb.c: Likewise.
24455 * math/w_scalbf.c: Likewise.
24456 * math/w_scalbl.c: Likewise.
24457 * math/w_sinh.c: Likewise.
24458 * math/w_sinhf.c: Likewise.
24459 * math/w_sinhl.c: Likewise.
24460 * math/w_sqrt.c: Likewise.
24461 * math/w_sqrtf.c: Likewise.
24462 * math/w_sqrtl.c: Likewise.
24463 * math/w_tgamma.c: Likewise.
24464 * math/w_tgammaf.c: Likewise.
24465 * math/w_tgammal.c: Likewise.
24467 * po/ja.po: Update from translation team.
24469 2011-09-29 Andreas Jaeger <aj@suse.de>
24472 * sunrpc/netname.c (netname2host): Fix logic.
24476 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
24478 * math/w_remainder.c (__remainder): Likewise.
24479 * math/w_remainderf.c (__remainderf): Likewise.
24480 * math/libm-test.inc (remainder_test): Add test cases.
24482 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24484 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
24487 2011-10-07 Ulrich Drepper <drepper@gmail.com>
24489 * string/test-memcmp.c: Avoid unncessary #defines.
24490 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24492 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24494 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
24495 Use new sse2 version for core i3 - i7 as it's faster
24496 than sse42 version.
24497 (bit_Prefer_PMINUB_for_stringop): New.
24498 * sysdeps/x86_64/rawmemchr.S: Update.
24499 Replace with faster SSE2 version.
24500 * sysdeps/x86_64/memrchr.S: New file.
24501 * sysdeps/x86_64/memchr.S: Update.
24502 Replace with faster SSE2 version.
24504 2011-09-12 Marek Polacek <mpolacek@redhat.com>
24506 * elf/dl-load.c (lose): Add cast to avoid warning.
24508 2011-10-07 Ulrich Drepper <drepper@gmail.com>
24510 * po/ca.po: Update from translation team.
24512 * inet/getnetgrent_r.c: Hook up nscd.
24513 * nscd/Makefile (routines): Add nscd_netgroup.
24514 (nscd-modules): Add netgroupcache.
24515 (CFLAGS-netgroupcache.c): Define.
24516 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
24517 (cache_search): Add const to second parameter.
24518 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
24520 (dbs): Add netgrdb entry.
24521 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
24522 (verify_persistent_db): Handle netgrdb.
24523 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
24524 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
24526 (netgroup_response_header): Define.
24527 (innetgroup_response_header): Define.
24528 (datahead): Add netgroup_response_header and innetgroup_response_header
24530 * nscd/nscd.conf: Add entries for netgroup cache.
24531 * nscd/nscd.h (dbtype): Add netgrdb.
24532 (_PATH_NSCD_NETGROUP_DB): Define.
24533 (netgroup_iov_disabled): Declare.
24534 (xmalloc, xcalloc, xrealloc): Move declarations here.
24535 (cache_search): Adjust prototype.
24536 Add netgroup-related prototypes.
24537 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
24538 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
24539 (__nscd_innetgr): Declare.
24540 * nscd/selinux.c (perms): Use access_vector_t as element type and
24541 add netgroup-related initializers.
24542 * nscd/netgroupcache.c: New file.
24543 * nscd/nscd_netgroup.c: New file.
24544 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
24545 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
24546 For four parameters use innetgr.
24547 * nss/nss_files/files-init.c: Add definition and callback for netgr.
24548 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
24549 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
24550 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
24552 * nscd/connections.c (register_traced_file): Don't register file
24553 for disabled databases.
24555 2011-10-06 Ulrich Drepper <drepper@gmail.com>
24557 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
24559 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
24560 from tree and freeing node.
24562 2011-09-25 Jiri Olsa <jolsa@redhat.com>
24564 * nss/nsswitch.c (__nss_database_lookup): Handle
24565 nss_parse_service_list out of memory case.
24567 2011-09-15 Jiri Olsa <jolsa@redhat.com>
24569 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
24570 out of memory case.
24572 2011-10-04 Andreas Schwab <schwab@redhat.com>
24574 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
24575 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
24577 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
24578 elf_machine_rela, elf_machine_lazy_rel.
24579 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
24580 (ELF_DYNAMIC_DO_REL): Likewise.
24581 (ELF_DYNAMIC_DO_RELA): Likewise.
24582 (ELF_DYNAMIC_RELOCATE): Likewise.
24583 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
24584 to ELF_DYNAMIC_DO_REL.
24585 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
24586 (dl_main): In trace mode always set __RTLD_NOIFUNC.
24587 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
24589 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
24590 skip_ifunc, don't call ifunc function if non-zero.
24591 (elf_machine_rela): Likewise.
24592 (elf_machine_lazy_rel): Likewise.
24593 (elf_machine_lazy_rela): Likewise.
24594 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
24595 (elf_machine_lazy_rel): Likewise.
24596 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24598 (elf_machine_lazy_rel): Likewise.
24599 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24601 (elf_machine_lazy_rel): Likewise.
24602 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
24603 (elf_machine_lazy_rel): Likewise.
24604 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
24605 (elf_machine_lazy_rel): Likewise.
24606 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24607 (elf_machine_lazy_rel): Likewise.
24608 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24609 (elf_machine_lazy_rel): Likewise.
24610 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24611 (elf_machine_lazy_rel): Likewise.
24612 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24613 (elf_machine_lazy_rel): Likewise.
24615 2011-09-28 Ulrich Drepper <drepper@gmail.com>
24617 * nss/nss_files/files-init.c (_nss_files_init): Use static
24618 initialization for all the *_traced_file variables.
24620 2011-09-28 Andreas Schwab <schwab@redhat.com>
24622 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24624 2011-09-27 Roland McGrath <roland@hack.frob.com>
24627 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
24629 2011-09-27 Andreas Schwab <schwab@redhat.com>
24631 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24632 Reread the line before reparsing it.
24634 2011-09-26 Andreas Schwab <schwab@redhat.com>
24636 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
24638 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
24639 Maxim Kuvyrkov <maxim@codesourcery.com>
24640 Joseph Myers <joseph@codesourcery.com>
24642 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
24643 if needed for __stack_chk_guard.
24645 2011-09-19 Roland McGrath <roland@hack.frob.com>
24647 * sysdeps/posix/spawni.c (script_execute): Always define it.
24648 It will be optimized away if unused.
24649 (maybe_script_execute): New function.
24650 (__spawni): Call it.
24652 * Makerules: Don't include tls.make.
24653 (config-tls): Always set to thread.
24654 * tls.make.c: File removed.
24656 2011-09-19 Mike Frysinger <vapier@gentoo.org>
24658 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
24659 * config.make.in (CPPFLAGS-config): New substituted variable.
24661 2011-09-15 Ulrich Drepper <drepper@gmail.com>
24663 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
24666 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
24667 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
24669 2011-09-15 Roland McGrath <roland@hack.frob.com>
24671 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
24672 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
24673 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24674 (CALL_FAIL): Likewise.
24675 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
24676 (CALL_FAIL): Macro removed.
24677 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
24679 2011-09-15 Ulrich Drepper <drepper@gmail.com>
24681 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
24682 for __FINITE_MATH_ONLY__ == 1.
24684 2011-09-15 Andreas Schwab <schwab@redhat.com>
24686 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
24687 __ieee754_sqrt instead of sqrt.
24688 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
24689 __ieee754_sqrtf instead of sqrtf.
24690 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
24691 __floorf instead of floorf.
24692 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
24693 __floorf, __truncf instead of floorf, truncf.
24695 2011-09-14 Ulrich Drepper <drepper@gmail.com>
24697 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
24699 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
24700 __extern_always_inline.
24701 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
24704 2011-09-14 Andreas Schwab <schwab@redhat.com>
24706 * elf/rtld.c (dl_main): Also relocate in dependency order when
24707 doing symbol dependency testing.
24709 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
24711 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24712 Always define `refsym'.
24714 2011-09-13 Andreas Schwab <schwab@redhat.com>
24716 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
24717 (__FD_ELT): Renamed from __FDELT.
24718 * misc/bits/select2.h (__FD_ELT): Likewise.
24719 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
24720 __FD_MASK instead of __FDELT, __FDMASK.
24721 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24723 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24726 * elf/Makefile (gen-ldd): Fix pattern.
24728 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
24729 (init_tls): Likewise.
24731 2011-09-12 Ulrich Drepper <drepper@gmail.com>
24733 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
24735 2011-09-12 Andreas Schwab <schwab@redhat.com>
24737 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
24738 `struct cmsghdr *' instead of `void *'.
24739 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
24742 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
24744 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
24746 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
24747 ldd_rewrite_script.
24749 2011-09-11 Ulrich Drepper <drepper@gmail.com>
24751 * configure.in: Remove --with-tls option.
24752 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
24753 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
24754 out in case it is missing.
24755 * sysdeps/ia64/elf/configure.in: Likewise.
24756 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
24757 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
24758 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
24759 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
24760 * sysdeps/sh/elf/configure.in: Likewise.
24761 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
24762 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24763 * sysdeps/x86_64/elf/configure.in: Likewise.
24764 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
24765 * sysdeps/mach/hurd/tls.h: Likewise.
24768 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
24771 * configure.in: Fix use of AC_INIT.
24773 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
24775 2011-09-10 Ulrich Drepper <drepper@gmail.com>
24777 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
24779 * malloc/hooks.c: Likewise.
24782 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
24783 variables statically.
24784 (narenas): Initialize.
24785 (list_lock): Initialize.
24786 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
24787 initializtion of main_arena and list_lock. Small cleanups.
24788 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
24789 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
24790 Add initializers to main_arena and mp_.
24791 (malloc_state): Remove pagesize member. Change all users to use
24794 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
24795 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
24796 is always initialized.
24798 * malloc/malloc.c: Removed unused configurations and dead code.
24799 * malloc/arena.c: Likewise.
24800 * malloc/hooks.c: Likewise.
24801 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
24803 * include/tls.h: Removed. USE___THREAD must always be defined.
24804 * bits/libc-tsd.h: Don't handle !USE___THREAD.
24805 * elf/dl-libc.c: Likewise.
24806 * elf/dl-tsd.c: Likewise.
24807 * include/errno.h: Likewise.
24808 * include/netdb.h: Likewise.
24809 * include/resolv.h: Likewise.
24810 * inet/herrno-loc.c: Likewise.
24811 * inet/herrno.c: Likewise.
24812 * malloc/arena.c: Likewise.
24813 * malloc/hooks.c: Likewise.
24814 * malloc/malloc.c: Likewise.
24815 * resolv/res-state.c: Likewise.
24816 * resolv/res_libc.c: Likewise.
24817 * sysdeps/i386/dl-machine.h: Likewise.
24818 * sysdeps/ia64/dl-machine.h: Likewise.
24819 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24820 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24821 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24822 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24823 * sysdeps/sh/dl-machine.h: Likewise.
24824 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24825 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24826 * sysdeps/unix/i386/sysdep.S: Likewise.
24827 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24828 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24829 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24830 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24831 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24832 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24833 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24834 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24835 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24836 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24837 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24838 * sysdeps/x86_64/dl-machine.h: Likewise.
24839 * tls.make.c: Likewise.
24841 * configure.in: Remove --with-__thread option. Make tests for
24842 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24843 tls_model attribute fail if no support is available. Remove
24845 * Makeconfig: Adjust for dropped configure option. All features are
24847 * Makerules: Likewise.
24848 * Versions.def: Likewise.
24849 * argp/argp-fmtstream.c: Likewise.
24850 * argp/argp-fmtstream.h: Likewise.
24851 * argp/argp-help.c: Likewise.
24852 * assert/assert.c: Likewise.
24853 * config.h.in: Likewise.
24854 * config.make.in: Likewise.
24855 * configure: Likewise.
24856 * configure.in: Likewise.
24857 * csu/Versions: Likewise.
24858 * csu/init.c: Likewise.
24859 * elf/tst-audit2.c: Likewise.
24860 * elf/tst-tls10.c: Likewise.
24861 * elf/tst-tls10.h: Likewise.
24862 * elf/tst-tls11.c: Likewise.
24863 * elf/tst-tls12.c: Likewise.
24864 * elf/tst-tls14.c: Likewise.
24865 * elf/tst-tlsmod11.c: Likewise.
24866 * elf/tst-tlsmod12.c: Likewise.
24867 * elf/tst-tlsmod13.c: Likewise.
24868 * elf/tst-tlsmod13a.c: Likewise.
24869 * elf/tst-tlsmod14a.c: Likewise.
24870 * elf/tst-tlsmod15b.c: Likewise.
24871 * elf/tst-tlsmod16a.c: Likewise.
24872 * elf/tst-tlsmod16b.c: Likewise.
24873 * elf/tst-tlsmod7.c: Likewise.
24874 * elf/tst-tlsmod8.c: Likewise.
24875 * elf/tst-tlsmod9.c: Likewise.
24876 * gmon/gmon.c: Likewise.
24877 * grp/fgetgrent_r.c: Likewise.
24878 * grp/putgrent.c: Likewise.
24879 * hurd/fopenport.c: Likewise.
24880 * include/libc-symbols.h: Likewise.
24881 * include/tls.h: Likewise.
24882 * intl/gettextP.h: Likewise.
24883 * intl/loadinfo.h: Likewise.
24884 * locale/global-locale.c: Likewise.
24885 * locale/localeinfo.h: Likewise.
24886 * mach/devstream.c: Likewise.
24887 * malloc/arena.c: Likewise.
24888 * malloc/set-freeres.c: Likewise.
24889 * misc/err.c: Likewise.
24890 * misc/getttyent.c: Likewise.
24891 * misc/mntent_r.c: Likewise.
24892 * posix/getopt.c: Likewise.
24893 * posix/wordexp.c: Likewise.
24894 * pwd/fgetpwent_r.c: Likewise.
24895 * resolv/Versions: Likewise.
24896 * resolv/res_hconf.c: Likewise.
24897 * shadow/fgetspent_r.c: Likewise.
24898 * shadow/putspent.c: Likewise.
24899 * stdio-common/printf_fphex.c: Likewise.
24900 * stdio-common/tmpfile.c: Likewise.
24901 * stdlib/abort.c: Likewise.
24902 * stdlib/fmtmsg.c: Likewise.
24903 * sunrpc/auth_unix.c: Likewise.
24904 * sunrpc/clnt_perr.c: Likewise.
24905 * sunrpc/clnt_tcp.c: Likewise.
24906 * sunrpc/clnt_udp.c: Likewise.
24907 * sunrpc/clnt_unix.c: Likewise.
24908 * sunrpc/openchild.c: Likewise.
24909 * sunrpc/svc_simple.c: Likewise.
24910 * sunrpc/svc_tcp.c: Likewise.
24911 * sunrpc/svc_udp.c: Likewise.
24912 * sunrpc/svc_unix.c: Likewise.
24913 * sunrpc/xdr.c: Likewise.
24914 * sunrpc/xdr_array.c: Likewise.
24915 * sunrpc/xdr_rec.c: Likewise.
24916 * sunrpc/xdr_ref.c: Likewise.
24917 * sunrpc/xdr_stdio.c: Likewise.
24919 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24921 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24923 2011-07-03 Andreas Jaeger <aj@suse.de>
24925 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24926 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24927 regenerate with gen-libm-tests.pl.
24929 2010-05-12 Petr Baudis <pasky@suse.cz>
24932 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24933 around j0() zero points by switching to j1().
24934 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24935 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24936 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24937 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24939 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24941 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24943 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
24945 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24946 Patch in part by Pavel Roskin <proski@gnu.org>.
24949 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24951 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24952 Free memory block if necessary.
24955 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24956 be NULL. Don't lock in this case.
24958 2011-09-09 Roland McGrath <roland@hack.frob.com>
24960 * elf/elf.h (ELFOSABI_GNU): New macro.
24961 (ELFOSABI_LINUX): Define to that.
24963 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24965 * string/strncat.c (strncat): Undef the symbol in case it has been
24966 defined in bits/string.h.
24968 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24970 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24972 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
24975 2011-08-17 Andreas Jaeger <aj@suse.de>
24977 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24979 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24980 Ian Lance Taylor <iant@google.com>
24982 * math/libm-test.inc (lround_test): New testcase.
24983 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24985 2011-09-08 Ulrich Drepper <drepper@gmail.com>
24987 * Makefile: Remove support for automatic cvs check-ins.
24988 * Makerules: Likewise.
24989 * config.make.in: Likewise.
24990 * configure.in: Likewise.
24991 * intl/Makefile: Likewise.
24992 * locale/Makefile: Likewise.
24993 * po/Makefile: Likewise.
24994 * posix/Makefile: Likewise.
24995 * sysdeps/gnu/Makefile: Likewise.
24996 * sysdeps/mach/hurd/Makefile: Likewise.
24997 * sysdeps/sparc/sparc32/Makefile: Likewise.
25000 * posix/Makefile (bug-regex32-ENV): Define.
25001 Patch by John Stanley <jpsinthemix@verizon.net>.
25003 * misc/Makefile (headers): Add bits/select2.h.
25004 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
25005 * misc/bits/select2.h: New file.
25006 * include/bits/select2.h: New file.
25007 * debug/Makefile (routines): Add fdelt_chk.
25008 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
25009 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
25011 * debug/fdelt_chk.c: New file.
25013 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
25014 * wcsmbs/test-wmemcmp.c: Likewise.
25015 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
25016 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
25018 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25020 * string/Makefile (strop-tests): Add memcmp.
25021 * string/test-wmemcmp.c: New file.
25022 * string/test-memcmp.c: Add wmemcmp support.
25024 2011-09-08 Roland McGrath <roland@hack.frob.com>
25027 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
25030 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
25031 garbage value in a __mach_port_mod_refs call in the cases of the
25032 task-self and thread-self ports.
25034 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25036 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
25038 2011-09-08 Andreas Schwab <schwab@redhat.com>
25040 * elf/dl-load.c (lose): Check for non-null L.
25042 2011-09-07 Ulrich Drepper <drepper@gmail.com>
25044 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
25046 * elf/dl-libc.c (dlerror_run): Pass back error code from
25050 * elf/dl-load.c (lose): Free l_origin if it is valid.
25052 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
25054 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
25055 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25056 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25057 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25058 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
25059 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
25061 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25063 * sysdeps/powerpc/fpu/e_hypot.c: New file.
25064 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
25065 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
25066 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
25067 * sysdeps/powerpc/fpu/k_cosf.c: New file.
25068 * sysdeps/powerpc/fpu/k_sinf.c: New file.
25069 * sysdeps/powerpc/fpu/s_cosf.c: New file.
25070 * sysdeps/powerpc/fpu/s_sinf.c: New file.
25071 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
25072 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
25074 2011-08-15 Alan Modra <amodra@gmail.com>
25077 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
25078 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
25079 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
25080 ppc_mcount to static-only-routines.
25081 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
25083 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
25084 __mcount_internal with usual JUMPTARGET. Remove useless nop.
25086 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
25088 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
25089 for finite and infinity parameters.
25091 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25093 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
25094 and add nop instructions for throughput optimization.
25095 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25097 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
25099 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
25100 aligned copy for power7 with vector-scalar instructions.
25101 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
25103 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
25105 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
25108 2011-09-07 Andreas Schwab <schwab@redhat.com>
25111 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
25114 2011-09-07 Ulrich Drepper <drepper@gmail.com>
25116 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25117 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
25118 syscall wrapper around clock_gettime in __vdso_clock_gettime.
25119 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
25122 2011-09-06 Ulrich Drepper <drepper@gmail.com>
25124 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
25125 Forgot to demangle the pointer.
25127 * sysdeps/i386/sysdep.h: Define atom_text_section.
25128 * sysdeps/x86_64/sysdep.h: Likewise.
25129 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
25130 section with atom_text_section.
25131 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25132 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25133 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
25134 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25135 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
25137 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
25138 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
25139 already be defined. Change to take two parameters and don't assign
25140 result to variable. Adjust all users.
25141 Define INTERNAL_GETTIME if not already defined.
25142 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
25144 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
25145 HAVE_CLOCK_GETTIME_VSYSCALL.
25146 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
25148 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
25149 gettimeofday vsyscall, just use time.
25151 2011-09-06 Andreas Schwab <schwab@redhat.com>
25153 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
25156 2011-09-06 Ulrich Drepper <drepper@gmail.com>
25158 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
25160 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
25162 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
25163 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
25164 syscall if possible.
25166 2011-09-05 Ulrich Drepper <drepper@gmail.com>
25168 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
25169 e_ident. Don't pass to find_mapsXX.
25170 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
25172 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25174 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25175 strchr-sse2-no-bsf strrchr-sse2-no-bsf
25176 * sysdeps/x86_64/multiarch/strchr.S: Update.
25177 Check bit_slow_BSF bit.
25178 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25179 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
25180 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
25182 2011-09-05 Ulrich Drepper <drepper@gmail.com>
25185 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
25187 (tryshell): Define.
25188 (__spawni): Change last parameter to be flag. Test
25189 SPAWN_XFLAGS_USE_PATH flag to use path or not.
25190 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
25191 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
25192 * posix/spawni.c: Likewise.
25193 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
25194 * posix/spawnp.c: Likewise. Change normal version to use
25195 SPAWN_XFLAGS_USE_PATH.
25196 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
25197 SPAWN_XFLAGS_TRY_SHELL.
25200 * posix/glob.h: Remove gcc 1.x support.
25203 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
25205 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25207 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25208 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
25210 * sysdeps/i386/i686/multiarch/strchr.S: New file.
25211 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
25212 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
25213 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
25214 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
25215 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
25217 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25219 * sysdeps/x86_64/wcscmp.S: New file.
25221 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
25222 wcscmp-c wcscmp-sse2
25223 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
25224 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
25225 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
25226 * wcsmbs/wcscmp.c: Allow renaming.
25228 2011-09-05 David S. Miller <davem@davemloft.net>
25230 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
25231 stack slot, rather than the struct return pointer slot.
25232 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
25233 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
25234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
25235 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
25237 2011-09-05 Ulrich Drepper <drepper@gmail.com>
25239 * po/ja.po: Update from translation team.
25242 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
25243 kernel in 64-bit binaries.
25245 2011-09-01 David S. Miller <davem@davemloft.net>
25247 * elf/elf.h (HWCAP_SPARC_*): Move to..
25248 * sysdeps/sparc/sysdep.h: this new file and add new values.
25249 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
25250 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
25251 _DL_HWCAP_COUNT to 24.
25252 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25254 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
25255 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
25256 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
25257 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
25258 instead of magic constants.
25259 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25261 2011-08-31 David S. Miller <davem@davemloft.net>
25263 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
25264 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
25265 Reimplement to do errno handling inline.
25266 (SYSCALL_ERROR_HANDLER): New macro.
25267 (__SYSCALL_STRING): Do not do errno handling in asm.
25268 (__CLONE_SYSCALL_STRING): Delete.
25269 (__INTERNAL_SYSCALL_STRING): Delete.
25270 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
25271 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
25272 (PSEUDO): Reimplement to do errno handling inline.
25273 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
25274 (SYSCALL_ERROR_HANDLER): New macro.
25275 (__SYSCALL_STRING): Do not do errno handling in asm.
25276 (__CLONE_SYSCALL_STRING): Delete.
25277 (__INTERNAL_SYSCALL_STRING): Delete.
25278 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
25279 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
25281 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
25282 (inline_syscall*): Add 'err' argument.
25283 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
25284 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
25285 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
25286 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
25288 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
25289 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25291 2011-08-30 Andreas Schwab <schwab@redhat.com>
25293 * elf/rtld.c (dl_main): Relocate objects in dependency order.
25295 2011-08-29 Jiri Olsa <jolsa@redhat.com>
25297 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
25300 2011-08-24 David S. Miller <davem@davemloft.net>
25302 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
25304 2011-08-24 Andreas Schwab <schwab@redhat.com>
25306 * elf/Makefile: Add rules to build and run unload8 test.
25307 * elf/unload8.c: New file.
25308 * elf/unload8mod1.c: New file.
25309 * elf/unload8mod1x.c: New file.
25310 * elf/unload8mod2.c: New file.
25311 * elf/unload8mod3.c: New file.
25313 * elf/dl-close.c (_dl_close_worker): Reset private search list if
25316 2011-08-23 David S. Miller <davem@davemloft.net>
25318 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
25319 subtract stack bias.
25320 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
25321 %sp not %fp in calculations.
25322 (_JMPBUF_UNWINDS_ADJ): Likewise.
25324 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
25325 (aio_suspend): Call it to force an exception region around the
25326 AIO_MISC_WAIT() invocation.
25328 2011-08-23 Andreas Schwab <schwab@redhat.com>
25330 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
25333 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
25335 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
25337 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
25338 and <dl-machine.h>.
25339 (Elf64_FuncDesc): Remove.
25341 2011-08-22 David S. Miller <davem@davemloft.net>
25343 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
25344 sigaltstack check, add missing cfi directives.
25345 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
25346 missing cfi directives, and sigaltstack handling.
25348 2011-08-16 Andreas Schwab <schwab@redhat.com>
25351 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
25352 object is seen twice.
25353 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25355 * elf/Makefile (distribute): Add tst-initorder2.c.
25356 (tests): Add tst-initorder2.
25357 (modules-names): Add tst-initorder2a tst-initorder2b
25358 tst-initorder2c tst-initorder2d. Add rules to build them.
25359 ($(objpfx)tst-initorder2.out): New rule.
25360 * elf/tst-initorder2.c: New file.
25361 * elf/tst-initorder2.exp: New file.
25363 2011-08-22 Andreas Schwab <schwab@redhat.com>
25365 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
25367 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
25368 dependencies back to end of function.
25370 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25371 $(elfobjdir)/ld.so.
25373 2011-08-21 Ulrich Drepper <drepper@gmail.com>
25375 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
25376 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
25377 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
25378 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
25379 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
25380 of __vdso_gettimeofday.
25381 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
25382 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
25384 (_libc_vdso_platform_setup): Remove initialization of
25385 __vdso_gettimeofday and __vdso_time.
25387 2011-08-20 Ulrich Drepper <drepper@gmail.com>
25389 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
25390 and fgetc_unlocked.
25391 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
25394 * elf/dl-open.c (add_to_global): Report additions to the global scope
25395 for LD_DEBUG=scopes.
25396 (dl_open_worker): Also print scope of newly loaded dependencies.
25397 (_dl_show_scope): Indicate if there is no scope.
25400 * stdio-common/Makefile (tests): Add bug24.
25401 * stdio-common/bug24.c: New file.
25403 2011-08-19 Andreas Jaeger <aj@suse.de>
25406 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
25407 non-existant file when using close-on-exec mode.
25409 2011-08-20 Ulrich Drepper <drepper@gmail.com>
25411 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
25412 the very first instruction.
25414 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
25415 the CFI state in the end.
25416 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
25417 inclusion of dl-trampoline.h.
25418 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
25420 2011-08-19 Andreas Schwab <schwab@redhat.com>
25422 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
25423 expectations for long double.
25425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
25426 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
25428 2011-08-14 David S. Miller <davem@davemloft.net>
25430 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
25431 artificual limit depends upon the system page size.
25433 2011-08-17 Ulrich Drepper <drepper@gmail.com>
25435 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
25436 * resolv/Makefile: Define CFLAGS-libresolv.
25438 2011-08-17 Andreas Schwab <schwab@redhat.com>
25440 * nss/makedb.c (compute_tables): Make variables used in nested
25443 2011-08-17 Ulrich Drepper <drepper@gmail.com>
25445 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
25446 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
25447 if buffer was too small.
25449 * elf/pldd.c (main): Attach to all threads in the process.
25450 Rewrite /proc handling to use *at functions.
25452 2011-08-16 Ulrich Drepper <drepper@gmail.com>
25454 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
25455 specifies first scope to show.
25456 (dl_open_worker): Update callers. Move printing scope of new
25457 object to before the relocation.
25458 * elf/rtld.c (dl_main): Update _dl_show_scope call.
25459 * sysdeps/generic/ldsodefs.h: Update declaration.
25461 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
25462 string for the scope number.
25464 2011-08-14 Ulrich Drepper <drepper@gmail.com>
25466 * nscd/servicescache.c (cache_addserv): Make sure written is always
25469 2011-08-14 Roland McGrath <roland@hack.frob.com>
25471 * sysdeps/i386/i486/bits/atomic.h
25472 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
25473 statement expression, so as to suppress "set but not used" warning.
25474 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
25476 * string/strncat.c (STRNCAT): Use prototype definition.
25478 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
25479 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
25481 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
25482 (localedef-modules): Add localedef.
25483 (locale-modules): Add locale.
25485 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
25486 * elf/rtld.c (dl_main): Invert order of assignment in last change,
25487 to avoid a warning.
25489 2011-08-14 David S. Miller <davem@davemloft.net>
25491 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
25492 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
25494 2011-08-13 Ulrich Drepper <drepper@gmail.com>
25496 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
25497 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
25498 * elf/rtld.c (dl_main): Set l_name of vDSO.
25499 Call _dl_show_scope when DL_DEBUG_SCOPES.
25500 (process_dl_debug): Recognize scopes flag and also set it for all.
25501 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
25502 Declare _dl_show_scope.
25504 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
25505 (do_dlopen): Pass caller_dlopen to dl_open.
25506 (__libc_dlopen_mode): Initialize caller_dlopen.
25508 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
25509 of libc. Make tolower call locale-independent. Optimize a bit by
25510 using isdigit instead of isalnum.
25511 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
25513 2011-08-12 Ulrich Drepper <drepper@gmail.com>
25515 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
25516 was a dependency or dynamically loaded.
25518 2011-08-11 Ulrich Drepper <drepper@gmail.com>
25520 * intl/l10nflist.c: Allow architecture-specific pop function.
25521 * sysdeps/x86_64/l10nflist.c: New file.
25523 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
25526 2011-08-10 Andreas Schwab <schwab@redhat.com>
25528 * include/dirent.h: Add libc_hidden_proto for scandirat and
25529 scandirat64. Don't declare __scandirat64.
25530 * dirent/scandirat.c: Add libc_hidden_def.
25531 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
25532 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
25534 2011-08-10 David S. Miller <davem@davemloft.net>
25536 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
25538 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25539 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25540 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25542 2011-08-09 Ulrich Drepper <drepper@gmail.com>
25544 * Versions.def [libc]: Add GLIBC_2.15.
25545 * dirent/Makefile (routines): Add scandirat and scandirat64.
25546 * dirent/Versions [libc]: Export scandirat and scandirat64 for
25548 * dirent/dirent.h: Declare scandirat and scandirat64.
25549 * dirent/scandirat.c: New file.
25550 * dirent/scandirat64.c: New file.
25551 * sysdeps/wordsize-64/scandirat.c: New file.
25552 * sysdeps/wordsize-64/scandirat64.c: New file.
25553 * dirent/opendir.c: Define opendirat.
25554 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
25556 * dirent/scandir64.c: Adjust for scandir.c change.
25557 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
25558 __scandirat64, and __scandir_cancel_handler.
25559 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
25560 additional parameter and use openat instead of open (outside of ld.so).
25561 Add new __opendir as wrapper around __opendirat.
25562 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
25563 here without requiring old scandirat implementation.
25565 2011-08-08 Ulrich Drepper <drepper@gmail.com>
25567 * dirent/scandir.c (cancel_handler): Renamed to
25568 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
25569 defined. Adjust users.
25570 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
25571 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
25573 2011-08-04 Ulrich Drepper <drepper@gmail.com>
25575 * string/test-string.h (IMPL): Use __STRING to expand name and then
25578 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
25581 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25583 * string/Makefile: Update.
25584 (strop-tests): Append strncat.
25585 * string/test-wcscmp.c: New file.
25586 New comprehensive test for wcscmp.
25587 * string/test-strcmp.c: Update.
25588 (WIDE): New define.
25590 2011-07-22 Andreas Schwab <schwab@redhat.com>
25592 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
25595 2011-07-26 Andreas Schwab <schwab@redhat.com>
25597 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25598 encoding to ACE if AI_IDN.
25600 2011-08-01 Jakub Jelinek <jakub@redhat.com>
25602 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
25603 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
25605 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25607 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
25608 Fix overflow bug in strncat.
25609 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25611 * string/test-strncat.c: Update.
25612 Add new tests for checking overflow bugs.
25614 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25616 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25617 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
25618 * sysdeps/i386/i686/multiarch/strcat.S: New file.
25619 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
25620 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
25621 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
25622 * sysdeps/i386/i686/multiarch/strncat.S: New file.
25623 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
25624 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
25626 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
25627 (USE_AS_STRCAT): Define.
25628 Add strcat and strncat support.
25629 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25631 2011-07-25 Andreas Schwab <schwab@redhat.com>
25633 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
25634 __n bigger than INT_MAX+1.
25635 (__strncmp_g): Likewise.
25637 2011-07-23 Ulrich Drepper <drepper@gmail.com>
25639 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
25640 * libio/stido.h: Likewise.
25642 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
25644 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
25647 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
25648 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25649 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25650 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
25651 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25654 * scripts/test-installation.pl: Don't expect libnss_test1 to be
25657 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
25659 (_dl_x86_64_save_sse): Likewise.
25661 2011-07-22 Ulrich Drepper <drepper@gmail.com>
25663 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
25665 (_dl_x86_64_save_sse): Likewise.
25667 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
25669 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
25671 2011-07-21 Andreas Schwab <schwab@redhat.com>
25673 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
25675 (_dl_x86_64_save_sse): Use correct AVX check.
25677 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25679 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
25680 bug in strncpy/strncat.
25681 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25683 2011-07-21 Ulrich Drepper <drepper@gmail.com>
25685 * string/tester.c (test_strcat): Add tests for different alignments
25686 of source and destination.
25687 (test_strncat): Likewise.
25689 2011-07-20 Ulrich Drepper <drepper@gmail.com>
25692 * posix/glob.c (glob): Check passed in values before using them in
25693 expressions to avoid some overflows.
25694 (glob_in_dir): Likewise.
25697 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
25698 check for AVX enablement so that we don't crash with old kernels and
25700 * elf/tst-audit4.c: Add same checks here.
25701 * elf/tst-audit6.c: Likewise.
25703 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
25705 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
25707 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
25709 2011-07-20 Ulrich Drepper <drepper@gmail.com>
25711 * po/cs.po: Update from translation team.
25712 * po/bg.po: Likewise.
25714 2011-07-12 Marek Polacek <mpolacek@redhat.com>
25716 * misc/sys/cdefs.h: Add support for const attribute.
25717 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
25718 to gnu_dev_{major,minor,makedev} functions.
25720 2011-07-20 Marek Polacek <mpolacek@redhat.com>
25722 * intl/dcigettext.c (get_output_charset): Add missing bracket.
25724 2011-07-20 Andreas Schwab <schwab@redhat.com>
25726 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
25729 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25731 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25732 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
25733 register in order to avoid conflicts with the soft frame pointer
25734 being held in r11 when necessary.
25735 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25736 (INTERNAL_VSYSCALL_NCS): Likewise.
25738 2011-07-14 Marek Polacek <mpolacek@redhat.com>
25740 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
25741 * elf/dl-fini.c (_dl_fini): Adjust caller.
25742 * elf/dl-close.c (_dl_close_worker): Likewise.
25743 * sysdeps/generic/ldsodefs.h: Adjust declaration.
25745 2011-07-15 Marek Polacek <mpolacek@redhat.com>
25747 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
25748 "aux_cache->nlibs < 0".
25750 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
25751 in the reload-count case.
25753 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25755 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25756 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
25757 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
25758 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
25759 * sysdeps/x86_64/multiarch/strcat.S: New file.
25760 * sysdeps/x86_64/multiarch/strncat.S: New file.
25761 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
25762 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
25763 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
25764 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
25765 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
25766 (USE_AS_STRCAT): Define.
25767 Add strcat and strncat support.
25768 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25769 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25770 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
25771 * string/strncat.c: Update.
25772 (USE_AS_STRNCAT): Define.
25773 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25774 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
25776 * sysdeps/x86_64/multiarch/init-arch.h
25777 (bit_Prefer_PMINUB_for_stringop): New.
25778 (index_Prefer_PMINUB_for_stringop): Likewise.
25779 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
25780 bit_Prefer_PMINUB_for_stringop.
25782 2011-07-19 Ulrich Drepper <drepper@gmail.com>
25784 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
25786 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
25787 of casting of buffer.
25788 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
25789 buffer32 and buffer64.
25790 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
25791 writes instead of casting of buffer.
25792 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
25794 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
25797 2011-07-19 Andreas Schwab <schwab@redhat.com>
25799 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
25801 2011-07-19 Ulrich Drepper <drepper@gmail.com>
25803 * nscd/nscd.c (termination_handler): Don't do anything for a database
25804 if it has not yet been initialized.
25806 2011-07-18 Ulrich Drepper <drepper@gmail.com>
25808 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25810 2011-07-15 Marek Polacek <mpolacek@redhat.com>
25812 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25814 2011-07-18 Ulrich Drepper <drepper@gmail.com>
25816 * po/nl.po: Update from translation team.
25817 * po/sv.po: Likewise.
25819 2011-07-16 Roland McGrath <roland@hack.frob.com>
25821 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25822 now disallowed by GCC.
25824 * configure.in (use-default-link): Default to yes if a test -shared
25825 link meets our qualifications.
25826 * configure: Regenerated.
25828 * config.make.in (output-format): New variable.
25829 * configure.in: Check for ld --print-output-format support.
25830 * configure: Regenerated.
25831 * Makerules ($(common-objpfx)format.lds)
25832 [$(output-format) != unknown]: Just use $(output-format),
25833 instead of the linker-script munging.
25835 2011-07-14 Roland McGrath <roland@hack.frob.com>
25837 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25838 of $(common-objpfx)shlib.lds.
25839 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25841 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25842 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25844 * configure.in (-z relro check): Adjust test code to add a large
25845 writable data section after it.
25846 * configure: Regenerated.
25848 2011-07-11 Roland McGrath <roland@hack.frob.com>
25850 * configure.in (-z relro check): Fix test code to make the variable
25852 * configure: Regenerated.
25854 2011-07-11 Ulrich Drepper <drepper@gmail.com>
25856 * nscd/nscd.h (struct traced_file): Define.
25857 (struct database_dyn): Remove inotify_descr, reset_res, and filename
25858 elements. Add traced_files.
25859 (inotify_fd): Declare.
25860 (register_traced_file): Declare.
25861 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25862 (inotify_fd): Export.
25863 (resolv_conf_descr): Remove.
25864 (nscd_init): Move inotify descriptor creation to main.
25865 Don't register files for notification here.
25866 (register_traced_file): New function.
25867 (invalidate_cache): Don't use reset_res to determine whether to call
25868 res_init, go through the list of registered files.
25869 (main_loop_poll): The inotify descriptors are now stored in the
25870 structures for the traced files.
25871 (main_loop_epoll): Likewise
25872 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
25873 to __nss_disable_nscd.
25874 * nscd/cache.c (prune_cache): There is no single inotify descriptor
25875 for a database anymore. Check the records for all the registered
25877 * nss/Makefile (libnss_files-routines): Add files-init.
25878 (libnss_db-routines): Add db-init.
25879 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25880 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25881 * nss/nss_db/db-init.c: New file.
25882 * nss/nss_files/files-init.c: New file.
25883 * nss/nsswitch.c (nss_load_library): New function. Broken out of
25884 __nss_lookup_function.
25885 (__nss_lookup_function): Call nss_load_library.
25886 (nss_load_all_libraries): New function.
25887 (__nss_disable_nscd): Take parameter with callback function for files
25888 to register. Set is_nscd. Load all the DSOs for the NSS modules
25889 used for the cached services.
25890 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25891 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25892 options for features to all the files in nscd.
25894 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25896 2011-07-10 Roland McGrath <roland@hack.frob.com>
25898 * csu/elf-init.c (__libc_csu_init): Comment typo.
25900 2011-07-09 Ulrich Drepper <drepper@gmail.com>
25902 * po/pl.po: Update from translation team.
25903 * po/ja.po: Likewise.
25904 * po/ru.po: Likewise.
25905 * po/ko.po: Likewise.
25906 * po/fr.po: Likewise.
25908 2011-07-09 Roland McGrath <roland@hack.frob.com>
25910 * configure.in (.ctors/.dtors header and trailer check):
25911 Use an empirical test on a built program.
25912 * configure: Regenerated.
25914 * configure.in (-z relro check): Use an empirical test on a built DSO.
25915 Detect, but do not require, on ia64.
25916 * configure: Regenerated.
25918 * configure.in (READELF): Find it with AC_CHECK_TOOL.
25919 Update tests that use readelf to use $READELF instead.
25920 * configure: Regenerated.
25922 2011-07-08 Ulrich Drepper <drepper@gmail.com>
25924 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25925 if the result is not used.
25927 2011-07-05 Andreas Jaeger <aj@suse.de>
25930 * stdlib/tst-strtod.c: Add testcase.
25932 2011-07-07 Ulrich Drepper <drepper@gmail.com>
25934 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
25935 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
25936 The latter has a higher limit. Take additional parameter to pass to
25938 (__pathconf): Pass file to __statfs_link_max.
25939 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25941 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25945 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25946 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25948 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25949 (__statfs_filesize_max): Likewise.
25950 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25952 2011-07-05 Andreas Jaeger <aj@suse.de>
25954 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25956 2011-07-06 Marek Polacek <mpolacek@redhat.com>
25958 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25960 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25963 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25965 * Makefile (strop-tests): Add strncat.
25966 * string/test-strncat.c: New file.
25968 2011-06-30 Marek Polacek <mpolacek@redhat.com>
25970 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25972 2011-06-21 Andreas Jaeger <aj@suse.de>
25974 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25975 Copy rule from iconvdata/Makefile.
25977 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25980 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25981 but no long options are defined, just return 'W'.
25983 2011-06-22 Marek Polacek <mpolacek@redhat.com>
25986 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25988 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25990 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25992 (innetgr): Likewise.
25994 2011-07-05 Roland McGrath <roland@hack.frob.com>
25996 * config.make.in (install_root): Default to $(DESTDIR).
25998 2011-07-05 Ulrich Drepper <drepper@gmail.com>
26000 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
26002 2011-07-02 Roland McGrath <roland@hack.frob.com>
26004 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
26006 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
26007 containing directory rather than embedding absolute directory names.
26009 * scripts/check-local-headers.sh: Rewritten using awk.
26010 Match by word, not by line. Print error messages for matches.
26011 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
26013 * Makerules [shlib-lds-flags empty]:
26014 ($(common-objpfx)libc_pic.opts): New target.
26015 ($(common-objpfx)libc_pic.os.clean): New target.
26016 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
26018 * config.make.in (OBJCOPY): New variable.
26019 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
26020 * configure: Regenerated.
26022 * config.make.in (use-default-link): New variable.
26023 * configure.in (use_default_link): Grok --with-default-link to set it.
26024 * configure: Regenerated.
26025 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
26026 (shlib-lds, shlib-lds-flags): Define to empty.
26028 * Makerules (shlib-lds): New variable.
26029 (shlib-lds-flags): New variable.
26030 (build-shlib, build-moduile, build-module-asneeded): Use it.
26031 ($(common-objpfx)libc.so): Use $(shlib-lds).
26032 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
26033 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
26035 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
26036 DT_FLAGS/DT_FLAGS_1 with zero flags.
26038 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
26039 linker script munging.
26041 2011-07-02 Ulrich Drepper <drepper@gmail.com>
26043 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
26045 * crypt/sha512.c (sha512_process_block): Perform total addition using
26046 128-bit if possible.
26047 (__sha512_finish_ctx): Likewise.
26048 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
26050 * crypt/sha256.c (SWAP64): Define.
26051 (sha256_process_block): Perform total addition using 64-bit if
26053 (__sha256_finish_ctx): Likewise.
26055 2011-07-01 Ulrich Drepper <drepper@gmail.com>
26057 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
26058 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26059 * nscd/hstcache.c (cache_addhst): Likewise.
26060 * nscd/grpcache.c (cache_addgr): Likewise.
26061 * nscd/aicache.c (addhstaiX): Likewise
26062 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
26064 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
26066 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
26067 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26068 * nscd/hstcache.c (cache_addhst): Likewise.
26069 * nscd/grpcache.c (cache_addgr): Likewise.
26070 * nscd/aicache.c (addhstaiX): Likewise
26072 2011-07-01 Andreas Schwab <schwab@redhat.com>
26074 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
26075 domain only when needed.
26077 2011-06-30 Andreas Schwab <schwab@redhat.com>
26079 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
26080 is always restored.
26082 2011-06-29 Ulrich Drepper <drepper@gmail.com>
26084 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
26085 are re-adding the entry.
26086 * nscd/servicescache.c (cache_addserv): Likewise.
26088 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
26090 * sysdeps/generic/dl-irel.h: fix protection against multiple
26092 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
26094 2011-06-28 Ulrich Drepper <drepper@gmail.com>
26097 * malloc/memusage.sh: Fix quoting in message.
26098 * debug/xtrace.sh: Likewise.
26100 * configure.in: Remove support for --experimental-malloc option, make
26102 * config.make.in: Likewise.
26103 * malloc/Makefile: Likewise.
26105 2011-06-27 Andreas Schwab <schwab@redhat.com>
26107 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
26108 two-byte characters.
26110 2011-06-27 Roland McGrath <roland@hack.frob.com>
26112 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
26113 AC_CACHE_CHECK invocation.
26114 * configure: Regenerated.
26116 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
26118 2011-06-27 Ulrich Drepper <drepper@gmail.com>
26121 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
26122 bit from old_res_options.
26124 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
26126 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
26127 value type for setfct.
26129 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
26131 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
26132 __gettimeofday instead of gettimeofday.
26134 2011-06-26 Ulrich Drepper <drepper@gmail.com>
26136 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
26138 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
26140 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
26142 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
26145 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
26147 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26148 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
26149 strcpy-sse2-unaligned strncpy-sse2-unaligned
26150 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
26151 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
26152 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
26153 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
26154 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
26155 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
26156 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
26157 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
26158 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
26159 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
26160 (STRCPY): Support SSE2 and SSSE3 versions.
26162 2011-06-24 Ulrich Drepper <drepper@gmail.com>
26165 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
26166 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
26167 kernels which artificially limit size of requests.
26169 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
26171 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26172 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
26173 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
26174 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
26175 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
26176 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
26177 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
26178 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
26179 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
26180 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
26181 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
26182 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
26183 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
26184 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
26185 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
26186 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26187 Enable unaligned load optimization for Intel Core i3, i5 and i7
26189 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
26191 (index_Fast_Unaligned_Load): Define.
26192 (HAS_FAST_UNALIGNED_LOAD): Define.
26194 2011-06-23 Marek Polacek <mpolacek@redhat.com>
26196 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
26198 2011-06-22 Ulrich Drepper <drepper@gmail.com>
26201 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
26202 until it is clear that the information is realy needed.
26203 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
26205 2011-06-22 Andreas Schwab <schwab@redhat.com>
26207 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
26209 2011-06-22 Ulrich Drepper <drepper@gmail.com>
26211 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
26212 /sys/devices/system/cpu/online if it is usable.
26214 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
26215 reading the information from the /proc filesystem to once a second.
26217 2011-06-21 Andreas Jaeger <aj@suse.de>
26219 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
26220 NULL after inclusion of kernel headers.
26222 2011-06-21 Ulrich Drepper <drepper@gmail.com>
26224 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
26225 calls to internal_setent.
26228 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
26229 addresses using gethostbyname4_r ignore IPv4 addresses.
26231 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
26232 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
26234 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
26236 2011-06-20 David S. Miller <davem@davemloft.net>
26238 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
26240 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
26242 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
26243 (elf_irel): Use it.
26244 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
26245 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
26246 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
26247 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
26248 * sysdeps/x86_64/dl-irel.h: Likewise.
26250 * elf/dl-runtime.c: Use elf_ifunc_invoke.
26251 * elf/dl-sym.c: Likewise.
26253 2011-06-15 Ulrich Drepper <drepper@gmail.com>
26255 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
26256 need to dereference resplen2.
26258 2011-06-14 Andreas Schwab <schwab@redhat.com>
26260 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
26262 2011-06-15 Ulrich Drepper <drepper@gmail.com>
26264 * Makeconfig: Define vardbdir and inst_vardbdir.
26265 * nss/Makefile: Add rules to install db-Makefile.
26267 * nss/nss_db/db-XXX.c: Cleanup.
26269 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
26270 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
26272 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
26273 * nss/makedb.c: Implement -g option to specify that value strings
26274 are generated and should not be added to table iterated over for
26276 * nss/nss_db/db-initgroups.c: New file.
26278 * nss/getent.c: Add support for initgroups lookups through getgrouplist
26281 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
26282 (internal_getgrouplist): Adjust to name change.
26283 Update use_initgroups_entry if this is not the first call.
26284 * nss/databases.def: Add initgroups entry.
26286 * nss/makedb.c (compute_tables): Check result of multiple hash table
26287 sizes to minimize maximum chain length.
26289 2011-06-14 Ulrich Drepper <drepper@gmail.com>
26291 * Versions.def: Add entry for libnss_db.
26292 * shlib-versions: Likewise.
26293 * nss/Makefile: Add rules to build libnss_db.
26294 * nss/Versions: Add libnss_db information. Organize libnss_files
26296 * nss/db-Makefile: Add gshadow support. Change rules for the new
26297 makedb progra. Some minor improvements to generate smaller files.
26298 * nss/nss_db/nss_db.h: Move NSS database header data structures to
26300 * nss/makedb.c: ...here.
26301 Improve database format to be smaller and require less memory at
26303 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
26305 * nss/nss_db/db-netgrp.c: Likewise.
26306 * nss/nss_db/db-open.c: Likewise.
26307 * nss/nss_files/flies-XXX.x: Adjust comments.
26308 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
26309 * nss/nss_files/files-grp.c: Likewise.
26310 * nss/nss_files/files-hosts.c: Likewise.
26311 * nss/nss_files/files-network.c: Likewise.
26312 * nss/nss_files/files-proto.c: Likewise.
26313 * nss/nss_files/files-pwd.c: Likewise.
26314 * nss/nss_files/files-rpc.c: Likewise.
26315 * nss/nss_files/files-service.c: Likewise.
26316 * nss/nss_files/files-sgrp.c: Likewise.
26317 * nss/nss_files/files-spwd.c: Likewise.
26318 * nss/nss_db/db-alias.c: Removed.
26319 * nss/nss_db/dummy-db.h: Removed.
26321 2011-06-02 Ulrich Drepper <drepper@gmail.com>
26323 * nss/makedb.c: Rewritten to not use database library.
26324 * nss/Makefile: Update to build new makedb program.
26326 2011-06-14 Andreas Jaeger <aj@suse.de>
26328 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
26329 memset declaration.
26331 2011-06-10 Andreas Schwab <schwab@redhat.com>
26333 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
26336 2011-06-10 Roland McGrath <roland@hack.frob.com>
26338 * Makerules (shlib.lds): Fail if the linker script comes out empty.
26339 * elf/Makefile ($(objpfx)ld.so): Likewise.
26341 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
26342 Don't list ld.so twice in dependencies.
26344 * posix/bug-regex31.c: Include <stdlib.h>.
26346 * nscd/hstcache.c (cache_addhst): Remove unused variable.
26348 * nis/nss_compat/compat-spwd.c
26349 (getspent_next_nss_netgr): Remove unused variable.
26350 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
26352 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
26353 nonmembers" output to use the right array.
26355 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
26357 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
26359 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
26360 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
26361 * catgets/gencat.c (read_input_file): Likewise.
26362 * locale/programs/locarchive.c (enlarge_archive): Likewise.
26364 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
26365 variable definition inside #if's controlling its use.
26367 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
26369 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
26371 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
26373 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
26376 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
26378 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
26379 * configure: Regenerated.
26381 * Makerules: Revert last change.
26382 * elf/Makefile: Likewise.
26384 2011-06-09 Roland McGrath <roland@hack.frob.com>
26386 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
26387 * elf/Makefile ($(objpfx)librtld.os): Likewise.
26388 (reloc-link): Likewise.
26390 2011-06-09 Ulrich Drepper <drepper@gmail.com>
26392 * elf/Makefile: Add rules to build pldd.
26393 * elf/pldd.c: New file.
26394 * elf/pldd-xx.c: New file.
26396 2011-06-07 Ulrich Drepper <drepper@gmail.com>
26398 * version.h: Update for 2.15 development version.
26400 2011-06-07 David S. Miller <davem@davemloft.net>
26402 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
26404 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
26405 elf_machine_lazy_rel): Likewise.
26406 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26407 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
26408 elf_machine_lazy_rel): Likewise.
26409 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
26410 dl_hwcap via passed in argument.
26411 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
26414 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26416 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
26418 2011-06-06 Roland McGrath <roland@hack.frob.com>
26421 * manual/fdl-1.1.texi: New file, verbatim from:
26422 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
26423 * manual/lgpl-2.1.texi: New file, verbatim from:
26424 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
26425 * manual/Makefile (licenses): New variable, list those new file names.
26427 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
26429 * manual/fdl.texi: File removed.
26430 * manual/lesser.texi: File removed.
26431 * manual/libc.texinfo (Copying, Documentation License):
26432 Use new @include file names, put @appendix directive before @include.
26434 2011-06-04 Jakub Jelinek <jakub@redhat.com>
26437 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
26438 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
26439 (mq_open): Add __NTH.
26441 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
26443 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26444 Assume Intel Core i3/i5/i7 processor if AVX is available.
26446 2011-05-31 Ulrich Drepper <drepper@gmail.com>
26448 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26451 2011-05-31 Andreas Schwab <schwab@redhat.com>
26453 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
26454 memory. Use alloca_account. Fix memory leak when retrying.
26456 2011-05-31 Ulrich Drepper <drepper@gmail.com>
26458 * version.h (RELEASE): Bump for 2.14 release.
26459 * include/features.h (__GLIBC_MINOR__): Bump to 14.
26461 * config.make.in (RANLIB): Remove entry.
26463 2011-05-30 Ulrich Drepper <drepper@gmail.com>
26465 * po/Makefile (po-sed-cmd): Add ksh to extensions.
26466 (libc.pot): Work around missing support for .ksh extension in xgettext.
26469 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
26470 if both request failed.
26471 (send_dg): In case of server errors clear resplen or *resplen2.
26474 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
26475 when there are multiple maps.
26476 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
26477 (_dl_fini): Remove test here.
26479 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
26481 2011-05-29 Ulrich Drepper <drepper@gmail.com>
26484 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
26485 bit from old_res_options.
26486 (gaih_inet): Likewise.
26489 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
26492 * resolv/res_init.c (res_setoptions): Make the code more compact.
26495 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
26499 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
26501 * malloc/malloc.h: Mark malloc hook variables as deprecated.
26504 * malloc/malloc.h: Declare malloc hook variables as volatile.
26506 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
26510 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
26511 raise in the comment.
26512 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26513 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26514 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
26516 2011-05-28 Ulrich Drepper <drepper@gmail.com>
26519 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
26520 grow the buffers more if it already has to be sufficient.
26521 (build_wcs_upper_buffer): Likewise.
26522 * posix/regexec.c (check_matching): Likewise.
26523 (clean_state_log_if_needed): Likewise.
26524 (extend_buffers): Don't enlarge buffers beyond size of the input
26526 Patches mostly by Emil Wojak <emil@wojak.eu>.
26527 * posix/bug-regex32.c: New file.
26528 * posix/Makefile (tests): Add bug-regex32.
26530 * locale/findlocale.c (_nl_find_locale): Return right away if
26531 _nl_explode_name failed.
26532 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
26534 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
26536 * debug/xtrace.sh: Unify messages.
26537 * malloc/memusage.sh: Likewise.
26540 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
26541 time symbol from vDSO. Substitute with vsyscall if not available.
26542 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
26545 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
26546 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
26547 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
26548 Add sendmmsg and internal_sendmmsg.
26549 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
26550 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
26551 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
26553 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
26554 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
26555 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
26557 2011-05-27 Ulrich Drepper <drepper@gmail.com>
26560 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
26561 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
26563 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
26567 * iconvdata/Makefile (tests): Add bug-iconv9.
26568 * iconvdata/bug-iconv9.c: New file.
26570 2011-05-27 Andreas Schwab <schwab@redhat.com>
26573 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
26575 2011-05-25 Jakub Jelinek <jakub@redhat.com>
26577 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26578 (struct user_regs_struct): Change intcs field back to cs.
26580 2011-05-25 Ulrich Drepper <drepper@gmail.com>
26582 * po/ja.po: Update from translation team.
26584 2011-05-23 Ulrich Drepper <drepper@gmail.com>
26587 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
26588 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
26590 2011-05-20 Andreas Schwab <schwab@redhat.com>
26592 * stdlib/longlong.h: Update from GCC.
26594 2011-05-23 Andreas Schwab <schwab@redhat.com>
26596 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
26598 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
26599 Add parameter name.
26600 (__sysconf): Pass it down.
26602 2011-05-22 Ulrich Drepper <drepper@gmail.com>
26605 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
26607 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26608 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
26609 add in in __libc_use_alloca calls. Adjust callers.
26610 (glob): Use malloc in some situations.
26612 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
26613 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
26616 2011-05-21 Ulrich Drepper <drepper@gmail.com>
26618 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
26619 and CLOCK_BOOTTIME_ALARM.
26622 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
26625 * string/_strerror.c (__strerror_r): Print negative errors as signed
26629 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
26630 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
26631 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
26633 * configure.in: Fix typo in redirection and correct removal of test
26634 files in two cases.
26637 * locale/setlocale.c (new_composite_name): Fix test to check for
26638 identical name of all categories.
26641 * libio/filedoalloc.c (local_isatty): New function.
26642 (_IO_file_doallocate): Use local_isatty.
26643 * stdio-common/perror.c (perror): In case a new stream is used
26644 forward the stream error.
26645 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
26648 2011-05-20 Ulrich Drepper <drepper@gmail.com>
26651 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
26653 * include/alloca.h (extend_alloca_account): Define.
26656 * posix/regex.h: Fix comments with documentation of user-accessible
26657 fields after compilation and describe correct free'ing of pattern
26658 after re_compile_pattern.
26659 Patch by Reuben Thomas <rrt@sc3d.org>.
26661 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
26663 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
26664 and -mno-altivec to prevent the compiler from using Altivec and/or
26665 VSX instructions when the corresponding registers are not available.
26667 2011-05-19 Andreas Schwab <schwab@redhat.com>
26669 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
26671 2011-05-19 Ulrich Drepper <drepper@gmail.com>
26673 * libio/freopen.c (freopen): Use __dup2, not dup2.
26674 * libio/freopen64.c (freopen64): Likewise.
26676 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
26679 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
26680 * math/Makefile (tests): Add test-powl.
26681 (CFLAGS-test-powl.c): Define.
26682 * math/test-powl.c: New file.
26684 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
26686 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
26688 2011-05-17 Ulrich Drepper <drepper@gmail.com>
26691 * iconvdata/gb18030.c: Update to GB18020-2005.
26693 2011-05-16 Ulrich Drepper <drepper@gmail.com>
26695 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
26696 RE_SYNTAX_POSIX_AWK): Update to match recent development.
26697 Patch by Aharon Robbins <arnold@skeeve.com>.
26700 * stdlib/putenv.c (putenv): Don't always create copy of the variable
26704 * misc/pselect.c (__pselect): Handle timeout value errors hidden
26705 through underflows.
26708 * misc/error.c (error_at_line): Ensure file_name and old_file_name
26709 point to strings before performing equality test for error_one_per_line
26713 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
26716 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26717 (struct user_fpregs_struct): Avoid __uint*_t types.
26720 * malloc/mtrace.c (tr_where): Add additional parameter to point to
26721 symbol info. Use it instead of calling _dl_addr locally.
26722 (lock_and_info): New function.
26723 (tr_freehook): Call lock_and_info and pass symbol info as additional
26724 parameter to tr_where.
26725 (tr_mallochook): Likewise.
26726 (tr_reallochook): Likewise.
26727 (tr_memalignhook): Likewise.
26729 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
26730 used and couldn't be at all thread-safe.
26732 2011-05-15 Ulrich Drepper <drepper@gmail.com>
26734 * libio/freopen.c (freopen): Don't close old file descriptor
26735 before the new one is opened. Instead dup the new file descriptor
26736 to the old one after the new stream is created.
26737 * libio/freopen64.c (freopen64): Likewise.
26738 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
26739 * libio/fileops.c (_IO_new_file_close_it): Handle new
26740 _IO_FLAGS2_NOCLOSE flag.
26741 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
26742 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
26743 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
26744 _IO_FLAGS2_NOCLOSE flag.
26745 * include/unistd.h: Add hidden_proto for dup3.
26746 Define __have_dup3.
26747 * io/dup3.c: Define hidden symbol.
26748 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
26751 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
26752 when an incomplete long option is used.
26753 * posix/tst-getopt_long1.c: New file.
26754 * posix/Makefile (tests): Add tst-getopt_long1.
26757 * scripts/config.guess: Update from autoconf-2.68.
26758 * scripts/config.sub: Likewise.
26761 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
26763 (has_cpuclock): ...this. New function.
26764 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
26765 macro here based on has_cpuclock code.
26768 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26769 First byte (not low byte) is now always NUL.
26770 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
26772 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26773 Use non-cancelable interfaces.
26776 * locale/iso-639.def: Add entry for Sorani.
26779 * include/stdlib.h: Move include protection to the right place.
26780 Define abort_msg_s. Declare __abort_msg with it.
26781 * stdlib/abort.c (__abort_msg): Adjust type.
26782 * assert/assert.c (__assert_fail_base): New function. Majority
26783 of code from __assert_fail. Allocate memory for __abort_msg with
26785 (__assert_fail): Now call __assert_fail_base.
26786 * assert/assert-perr.c: Remove bulk of implementation. Use
26787 __assert_fail_base.
26788 * include/assert.hL Declare __assert_fail_base.
26789 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
26791 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
26793 2011-05-14 Ulrich Drepper <drepper@gmail.com>
26797 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
26798 until all modules are registered in the DTV.
26799 * elf/Makefile: Add rules to build and run tst-tls19.
26800 * elf/tst-tls19.c: New file.
26801 * elf/tst-tls19mod1.c: New file.
26802 * elf/tst-tls19mod2.c: New file.
26803 * elf/tst-tls19mod3.c: New file.
26804 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
26807 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
26811 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
26812 two-byte sequence errors.
26813 * iconvdata/Makefile (tests): Add bug-iconv8.
26814 * iconvdata/bug-iconv8.c: New file.
26817 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
26820 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
26823 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26824 (dummy_getcfa): New function.
26825 (init): Get _Unwind_GetCFA address, use dummy if not found.
26826 (backtrace_helper): In recursion check, also check whether CFA changes.
26827 (__backtrace): Completely initialize arg.
26829 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
26830 storing incomplete byte sequence in state object. Avoid testing for
26831 guaranteed too small input if we know there is enough data available.
26833 2011-05-11 Andreas Schwab <schwab@redhat.com>
26835 * Makeconfig (+link-pie): Indent.
26836 * Rules (binaries-pie): Define if $(have-fpie) and
26838 (binaries-shared): Also filter out $(binaries-pie).
26839 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26840 * nscd/Makefile (others-pie): Add nscd.
26841 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26842 ($(objpfx)nscd): Remove command override.
26843 * login/Makefile (others-pie): Add pt_chown.
26844 ($(objpfx)pt_chown): Remove command override.
26845 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26846 remove command overrides.
26848 2011-05-13 Ulrich Drepper <drepper@gmail.com>
26850 * libio/tst_putwc.c: Fix error messages.
26853 * libio/fileops.c (_IO_new_file_close_it): Always flush when
26854 currently writing and seek to current position when not.
26855 * libio/Makefile (tests): Add bug-fclose1.
26856 * libio/bug-fclose1.c: New file.
26858 2011-05-12 Ulrich Drepper <drepper@gmail.com>
26861 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26862 don't set DF_1_NODELETE here.
26863 (do_lookup_x): When entering new entry test for copy relocation
26864 and if necessary set DF_1_NODELETE flag.
26865 * elf/tst-unique4.cc: New file.
26866 * elf/tst-unique4.h: New file.
26867 * elf/tst-unique4lib.cc: New file.
26868 * elf/Makefile: Add rules to build and run tst-unique4.
26869 Patch by Piotr Bury <pbury@goahead.com>.
26871 2011-05-11 Ulrich Drepper <drepper@gmail.com>
26874 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26877 * misc/mntent_r.c (addmntent): Flush the stream after the output
26880 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26881 (is_trusted_path_normalize): Skip initial colon. Append slash
26882 to empty buffer. Duplicate is_trusted_path code but allow
26883 constructed patch to be prefix.
26884 (is_dst): Allow $ORIGIN followed by /.
26885 (_dl_dst_substitute): Correct clearing of check_for_trusted.
26886 Correct testing of result of is_trusted_path_normalize
26887 (decompose_rpath): Fix warning.
26889 2011-05-10 Ulrich Drepper <drepper@gmail.com>
26892 * grp/initgroups.c (internal_getgrouplist): When we found the service
26893 list through the initgroups entry in nsswitch.conf do not always
26894 continue on a successful lookup. Don't always use the
26895 __nss_group_database value if it is set.
26896 * nss/nsswitch.conf (initgroups): Change action for successful db
26897 lookup to continue for compatibility.
26899 2011-05-09 Ulrich Drepper <drepper@gmail.com>
26902 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26904 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26906 * iconvdata/tst-tables.sh: Likewise.
26907 * iconvdata/cp770.c: New file.
26908 * iconvdata/cp771.c: New file.
26909 * iconvdata/cp772.c: New file.
26910 * iconvdata/cp773.c: New file.
26911 * iconvdata/cp774.c: New file.
26912 * iconvdata/testdata/CP770: New file.
26913 * iconvdata/testdata/CP770..UTF8: New file.
26914 * iconvdata/testdata/CP771: New file.
26915 * iconvdata/testdata/CP771..UTF8: New file.
26916 * iconvdata/testdata/CP772: New file.
26917 * iconvdata/testdata/CP772..UTF8: New file.
26918 * iconvdata/testdata/CP773: New file.
26919 * iconvdata/testdata/CP773..UTF8: New file.
26920 * iconvdata/testdata/CP774: New file.
26921 * iconvdata/testdata/CP774..UTF8: New file.
26923 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26925 * iconvdata/gen-8bit-gap.sh: Likewise.
26926 * iconvdata/gen-8bit.sh: Likewise.
26928 * locale/iso-639.def: Add ary entry.
26931 * locale/C-translit.h.in: Add U20A1 transliteration.
26934 * locale/iso-639.def: Add wae entry.
26935 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26938 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26942 * locale/C-translit.h.in: Add entry for U20B9.
26943 Patch by pravin.d.s@gmail.com.
26945 2011-05-08 Ulrich Drepper <drepper@gmail.com>
26948 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26949 ENAMETOOLONG use generic getcwd.
26950 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26951 in rtld. Use *stat64.
26952 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
26953 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
26954 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
26955 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26956 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26957 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26958 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26959 __fstatat64 macros.
26960 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26961 * dirent/rewinddir.c: Add libc_hidden_def.
26962 * sysdeps/mach/hurd/rewinddir.c: Likewise.
26963 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
26965 * include/dirent.h (__alloc_dir): Add flags parameter.
26966 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26967 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26969 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26970 from fdopendir if O_CLOEXEC is already set.
26972 2011-03-15 Alan Modra <amodra@gmail.com>
26974 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26975 l_tls_firstbyte_offset non-zero. Save padding offset in
26976 l_tls_firstbyte_offset for later use.
26977 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26978 freeing static tls block.
26980 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26982 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26983 where #ifdef was intended. The intent is to prevent ARG_MAX from
26984 being defined by the kernel headers.
26986 2011-05-07 Ulrich Drepper <drepper@gmail.com>
26989 * resolv/resolv.h: Define RES_NOTLDQUERY.
26990 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26991 no-tld-query and set RES_NOTLDQUERY.
26992 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26993 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26994 modern BIND to search name as TLD unless forbidden.
26996 2011-05-07 Petr Baudis <pasky@suse.cz>
26997 Ulrich Drepper <drepper@gmail.com>
27000 * elf/dl-load.c (fillin_rpath): Move trusted path check...
27001 (is_trusted_path): ...to here.
27002 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
27003 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
27004 using is_trusted_path_normalize() in setuid scripts.
27006 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27008 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
27009 __BEGIN/__END_DECLS.
27011 2011-05-06 Ulrich Drepper <drepper@gmail.com>
27013 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
27014 NSS_STATUS_NOTFOUND if no record was found.
27016 2011-05-05 Andreas Schwab <schwab@redhat.com>
27018 * sunrpc/Makefile (headers): Add rpc/netdb.h.
27019 (headers-not-in-tirpc): Remove rpc/netdb.h
27020 * resolv/netdb.h: Revert last change.
27022 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27024 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
27025 circular dependency between libgcc.a and libc.a.
27027 2011-05-05 Andreas Schwab <schwab@redhat.com>
27029 * resolv/netdb.h: Don't include <rpc/netdb.h>.
27030 * nis/Makefile: Don't install rpcsvc/*.
27031 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
27032 instead of <rpc/types.h>.
27033 (MAXHOSTNAMELEN): Define.
27035 2011-05-03 Andreas Schwab <schwab@redhat.com>
27037 * elf/ldconfig.c (add_dir): Don't crash on empty path.
27039 2011-04-28 Maciej Babinski <mbabinski@google.com>
27042 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
27043 gethostbyname4_r when IPv6 results are possible.
27045 2011-05-02 Ulrich Drepper <drepper@gmail.com>
27048 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
27049 _PC_PIPE_BUF handling.
27051 2011-04-30 Bruno Haible <bruno@clisp.org>
27054 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
27055 * resolv/netdb.h (getnameinfo): Change type of flags parameter
27057 * inet/getnameinfo.c (getnameinfo): Likewise.
27059 2011-04-29 Ulrich Drepper <drepper@gmail.com>
27061 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
27062 to groups setting in database lookup.
27063 * nss/nsswitch.conf: Add initgroups entry.
27065 2011-04-22 Ulrich Drepper <drepper@gmail.com>
27068 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
27070 Patch by Eric Blake <eblake@redhat.com>.
27072 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
27074 * sunrpc/Makefile (need-export-routines): Add svc_run.
27075 (routines): Remove svc_run.
27076 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
27077 * sunrpc/clnt_perr.c (clnt_perrno): Export.
27078 * sunrpc/svc_run.c (svc_run): Likewise.
27079 * sunrpc/svc_udp.c (svcudp_create): Likewise.
27081 2011-04-21 Ulrich Drepper <drepper@gmail.com>
27083 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
27084 problem in reallocation in last patch.
27086 2011-04-20 Ulrich Drepper <drepper@gmail.com>
27088 * sunrpc/Makefile: Move inclusion of Rules.
27090 2011-04-19 Ulrich Drepper <drepper@gmail.com>
27092 * nss/nss_files/files-initgroups.c: New file.
27093 * nss/Makefile (libnss_files-routines): Add files-initgroups.
27094 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
27095 _nss_files_initgroups_dyn.
27097 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
27099 * elf/elf.h (R_ARM_IRELATIVE): Define.
27101 2011-04-19 Ulrich Drepper <drepper@gmail.com>
27103 * po/ru.po: Update from translation team.
27105 2011-04-17 Ulrich Drepper <drepper@gmail.com>
27107 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
27110 2011-02-06 Mike Frysinger <vapier@gentoo.org>
27113 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
27114 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
27115 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27116 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27117 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27119 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
27121 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
27123 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27124 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27125 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27127 2011-04-17 Ulrich Drepper <drepper@gmail.com>
27130 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
27132 * stdlib/bug-getcontext.c: New file.
27133 * stdlib/Makefile: Add rules to build and run bug-getcontext.
27135 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27137 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
27138 instructions into .machine "z9-109".
27139 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
27140 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
27142 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27144 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
27145 between environment variables and auxiliary vector.
27147 2011-04-16 Ulrich Drepper <drepper@gmail.com>
27149 * Makefile: Add rules to build linkobj/libc.so.
27150 * include/libc-symbols.h: Define libc_hidden_nolink.
27151 * include/rpc/auth.h: Mark functions which are to be hidden.
27152 * include/rpc/auth_des.h: Likewise.
27153 * include/rpc/auth_unix.h: Likewise.
27154 * include/rpc/clnt.h: Likewise.
27155 * include/rpc/des_crypt.h: Likewise.
27156 * include/rpc/key_prot.h: Likewise.
27157 * include/rpc/pmap_clnt.h: Likewise.
27158 * include/rpc/pmap_prot.h: Likewise.
27159 * include/rpc/pmap_rmt.h: Likewise.
27160 * include/rpc/rpc_msg.h: Likewise.
27161 * include/rpc/svc.h: Likewise.
27162 * include/rpc/svc_auth.h: Likewise.
27163 * include/rpc/xdr.h: Likewise.
27164 * nis/Makefile: Link all DSOs against linkobj/libc.so.
27165 * nss/Makefile: Likewise.
27166 * sunrpc/Makefile: Don't install headers. Build library with normal
27167 entry points. Don't build rpcinfo. Link RPC tests appropriately.
27168 * sunrpc/auth_des.c: Hide exported symbols by default, export some
27169 for the compat linking library. Remove use of INTDEF/INTUSE.
27170 * sunrpc/auth_none.c: Likewise.
27171 * sunrpc/auth_unix.c: Likewise.
27172 * sunrpc/authdes_prot.c: Likewise.
27173 * sunrpc/authuxprot.c: Likewise.
27174 * sunrpc/clnt_gen.c: Likewise.
27175 * sunrpc/clnt_perr.c: Likewise.
27176 * sunrpc/clnt_raw.c: Likewise.
27177 * sunrpc/clnt_simp.c: Likewise.
27178 * sunrpc/clnt_tcp.c: Likewise.
27179 * sunrpc/clnt_udp.c: Likewise.
27180 * sunrpc/clnt_unix.c: Likewise.
27181 * sunrpc/des_crypt.c: Likewise.
27182 * sunrpc/des_soft.c: Likewise.
27183 * sunrpc/get_myaddr.c: Likewise.
27184 * sunrpc/key_call.c: Likewise.
27185 * sunrpc/key_prot.c: Likewise.
27186 * sunrpc/netname.c: Likewise.
27187 * sunrpc/pm_getmaps.c: Likewise.
27188 * sunrpc/pm_getport.c: Likewise.
27189 * sunrpc/pmap_clnt.c: Likewise.
27190 * sunrpc/pmap_prot.c: Likewise.
27191 * sunrpc/pmap_prot2.c: Likewise.
27192 * sunrpc/pmap_rmt.c: Likewise.
27193 * sunrpc/publickey.c: Likewise.
27194 * sunrpc/rpc_cmsg.c: Likewise.
27195 * sunrpc/rpc_common.c: Likewise.
27196 * sunrpc/rpc_dtable.c: Likewise.
27197 * sunrpc/rpc_prot.c: Likewise.
27198 * sunrpc/rpc_thread.c: Likewise.
27199 * sunrpc/rtime.c: Likewise.
27200 * sunrpc/svc.c: Likewise.
27201 * sunrpc/svc_auth.c: Likewise.
27202 * sunrpc/svc_authux.c: Likewise.
27203 * sunrpc/svc_raw.c: Likewise.
27204 * sunrpc/svc_run.c: Likewise.
27205 * sunrpc/svc_simple.c: Likewise.
27206 * sunrpc/svc_tcp.c: Likewise.
27207 * sunrpc/svc_udp.c: Likewise.
27208 * sunrpc/svc_unix.c: Likewise.
27209 * sunrpc/svcauth_des.c: Likewise.
27210 * sunrpc/xcrypt.c: Likewise.
27211 * sunrpc/xdr.c: Likewise.
27212 * sunrpc/xdr_array.c: Likewise.
27213 * sunrpc/xdr_float.c: Likewise.
27214 * sunrpc/xdr_intXX_t.c: Likewise.
27215 * sunrpc/xdr_mem.c: Likewise.
27216 * sunrpc/xdr_rec.c: Likewise.
27217 * sunrpc/xdr_ref.c: Likewise.
27218 * sunrpc/xdr_sizeof.c: Likewise.
27219 * sunrpc/xdr_stdio.c: Likewise.
27221 2011-04-10 Ulrich Drepper <drepper@gmail.com>
27224 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
27225 * sysdeps/ia64/dl-tls.h: Likewise.
27226 * sysdeps/powerpc/dl-tls.h: Likewise.
27227 * sysdeps/s390/dl-tls.h: Likewise.
27228 * sysdeps/sh/dl-tls.h: Likewise.
27229 * sysdeps/sparc/dl-tls.h: Likewise.
27230 * sysdeps/x86_64/dl-tls.h: Likewise.
27231 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
27233 2011-03-14 Andreas Schwab <schwab@redhat.com>
27235 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
27236 rpath element also skip the following colon.
27237 (expand_dynamic_string_token): Add is_path parameter and pass
27238 down to DL_DST_REQUIRED and _dl_dst_substitute.
27239 (decompose_rpath): Call expand_dynamic_string_token with
27240 non-zero is_path. Ignore empty rpaths.
27241 (_dl_map_object_from_fd): Call expand_dynamic_string_token
27244 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
27246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27249 2011-04-09 Ulrich Drepper <drepper@gmail.com>
27252 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
27253 Patch by Filipe David Manana <fdmanana@apache.org>.
27255 2011-04-07 Andreas Schwab <schwab@redhat.com>
27257 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
27258 Maintain aligned stack.
27259 (CHECK_RSP): Remove unused macro.
27261 2011-04-03 Ulrich Drepper <drepper@gmail.com>
27263 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
27264 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
27266 2011-04-02 Ulrich Drepper <drepper@gmail.com>
27268 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
27270 * include/features.h: Mention __USE_XOPEN2K8 in comment.
27272 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
27275 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
27276 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
27277 * sysdeps/x86_64/memmove.c: New file.
27278 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
27279 (memcpy): Renamed to ...
27280 (__new_memcpy): This.
27281 (memcpy): Provide GLIBC_2_14 memcpy.
27282 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
27283 (memcpy): Provide GLIBC_2_2_5 memcpy.
27285 2011-04-01 Ulrich Drepper <drepper@gmail.com>
27288 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
27290 2011-03-30 Andreas Schwab <schwab@redhat.com>
27292 * misc/syncfs.c: New file.
27293 * misc/Makefile (routines): Add syncfs.
27294 * posix/unistd.h: Declare syncfs.
27295 * sysdeps/unix/syscalls.list: Add syncfs.
27297 2011-04-01 Andreas Schwab <schwab@redhat.com>
27299 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
27301 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27302 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27303 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27304 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27305 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27306 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
27307 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27309 2011-04-01 Ulrich Drepper <drepper@gmail.com>
27311 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
27312 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27313 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
27314 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27315 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27316 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27317 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27319 * io/Makefile: Compile fallocate.c, fallocate64.c, and
27320 sync_file_range.c with -fexceptions.
27321 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
27322 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
27323 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27324 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27325 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
27326 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27327 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
27328 sync_file_range as cancellation point
27329 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
27330 now a wrapper around __call_sync_file_range with cancellation handling.
27331 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
27332 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
27333 function name to __call_sync_file_range.
27334 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
27335 Add call_sync_file_range.
27337 2011-04-01 Andreas Schwab <schwab@redhat.com>
27339 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27342 2011-04-01 Ulrich Drepper <drepper@gmail.com>
27344 * iconv/iconv.h: Fix typo in comment.
27345 * io/fcntl.h: Likewise.
27346 * libio/stdio.h: Likewise.
27347 * posix/spawn.h: Likewise.
27348 * posix/unistd.h: Likewise.
27349 * stdlib/stdlib.h: Likewise.
27350 * time/time.h: Likewise.
27351 * wcsmbs/wchar.h: Likewise.
27353 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
27354 open_by_handle): Add.
27355 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
27356 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
27357 Augment a few comments.
27358 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27359 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27360 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27361 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27362 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27363 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
27366 * io/fcntl.h (AT_EMPTY_PATH): Define.
27368 2011-03-30 Ulrich Drepper <drepper@gmail.com>
27370 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
27371 * sysdeps/unix/sysv/linux/bits/time.h: New file.
27372 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
27374 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
27375 * Versions.def: Add GLIBC_2.14.
27376 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
27379 2011-03-22 Ulrich Drepper <drepper@gmail.com>
27381 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
27383 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27385 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
27388 * string/test-strncmp.c (do_page_test): New function.
27389 (check2): Likewise.
27390 (test_main): Call check2.
27391 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
27393 2011-03-20 Ulrich Drepper <drepper@gmail.com>
27396 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
27397 Handle cache information in CPU leaf 4.
27398 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27400 2011-03-18 Ulrich Drepper <drepper@gmail.com>
27403 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
27404 character representation.
27405 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
27407 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
27409 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
27410 END(__isnan) to END(__isnanf) to match function entry point/label
27411 EALIGN(__isnanf,...).
27413 2011-03-10 Jakub Jelinek <jakub@redhat.com>
27415 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
27417 2011-03-10 Ulrich Drepper <drepper@gmail.com>
27420 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
27421 copy from the symbol referenced in the relocation to initialize the
27423 Patch by Piotr Bury <pbury@goahead.com>.
27424 * elf/Makefile: Add rules to build and tst-unique3.
27425 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
27426 * elf/tst-unique3.cc: New file.
27427 * elf/tst-unique3.h: New file.
27428 * elf/tst-unique3lib.cc: New file.
27429 * elf/tst-unique3lib2.cc: New file.
27431 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
27433 2011-03-10 Mike Frysinger <vapier@gentoo.org>
27435 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
27436 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
27439 2011-03-06 Ulrich Drepper <drepper@gmail.com>
27441 * elf/dl-load.c (_dl_map_object): If we are looking for the first
27442 to-be-loaded object along a path to loader is ld.so.
27444 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27445 Ulrich Drepper <drepper@gmail.com>
27447 * sysdeps/x86_64/memset.S: After aligning destination, code
27448 branches to different locations depending on the value of
27449 misalignment, when multiarch is enabled. Fix this.
27451 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27453 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
27454 Set _x86_64_preferred_memory_instruction for AMD processsors.
27455 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27456 Set bit_Prefer_SSE_for_memop for AMD processors.
27458 2011-03-04 Ulrich Drepper <drepper@gmail.com>
27460 * libio/fmemopen.c (fmemopen): Optimize a bit.
27462 2011-03-03 Andreas Schwab <schwab@redhat.com>
27464 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
27466 2011-03-03 Roland McGrath <roland@redhat.com>
27468 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
27470 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
27472 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
27473 __bzero_ultra1 instead of __memset_ultra1.
27475 2011-02-23 Andreas Schwab <schwab@redhat.com>
27476 Ulrich Drepper <drepper@gmail.com>
27479 * include/link.h (struct link_map): Add l_orig_initfini.
27480 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
27481 returning unsuccessfully.
27482 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
27483 close of a file loaded at startup, restore the original l_initfini
27485 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
27486 list, store the pointer.
27487 * elf/Makefile ($(objpfx)noload-mem): New rule.
27488 (noload-ENV): Define.
27489 (tests): Add $(objpfx)noload-mem.
27490 * elf/noload.c: Include <memcheck.h>.
27491 (main): Call mtrace. Close all opened handles.
27493 2011-02-17 Andreas Schwab <schwab@redhat.com>
27496 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
27497 dependencies are missing.
27499 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
27501 Fix __if_freereq crash: Unlike the generic version which uses free,
27503 * sysdeps/mach/hurd/ifreq.h: New file.
27505 2011-01-27 Petr Baudis <pasky@suse.cz>
27506 Ulrich Drepper <drepper@gmail.com>
27509 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
27510 to extend_alloca().
27511 * stdio-common/bug23.c: New file.
27512 * stdio-common/Makefile (tests): Add bug23.
27514 2010-09-28 Andreas Schwab <schwab@redhat.com>
27515 Ulrich Drepper <drepper@gmail.com>
27518 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
27519 before performing relro protection. At old place add assertion
27520 to make sure nothing changed.
27522 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
27523 Glauber de Oliveira Costa <glommer@gmail.com>
27525 * elf/elf.h: Add new ARM TLS relocs.
27527 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
27529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27530 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
27532 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
27534 * sysdeps/wordsize-64/tst-writev.c: New file.
27536 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
27538 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
27539 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
27540 insns in _dl_start to prevent a TOC reference before relocs are
27543 2011-02-15 Ulrich Drepper <drepper@gmail.com>
27546 * Makeconfig: Remove RANLIB definition.
27547 * Makerules: Don't use RANLIB.
27548 * aclocal.m4: Remove ranlib test.
27549 * configure.in: No need to check for ranlib.
27550 * elf/rtld-Rules: Don't use RANLIB.
27552 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
27554 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
27556 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
27557 inclusion protection macro.
27559 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
27560 SIGRTMIN and SIGRTMAX and print information in that case only when
27561 SIGRTMIN is defined.
27563 2011-02-11 Jakub Jelinek <jakub@redhat.com>
27565 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
27566 arginfo fn returning -1.
27568 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
27569 and thousands string is zero terminated.
27571 2011-02-03 Andreas Schwab <schwab@redhat.com>
27573 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
27574 sysdeps/unix/sysv/linux/bits/socket.h.
27576 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
27578 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
27579 (__CPU_COUNT): Remove old macros.
27580 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
27581 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
27582 (__CPU_ALLOC, __CPU_FREE): Add macros.
27583 (__sched_cpualloc, __sched_cpufree): Add declarations.
27585 2011-02-05 Ulrich Drepper <drepper@gmail.com>
27587 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
27588 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
27589 * nscd/aicache.c (addhstaiX): Return timeout of added value.
27590 (readdhstai): Return value of addhstaiX call.
27591 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
27592 (addgrbyX): Return value returned by cache_addgr.
27593 (readdgrbyname): Return value returned by addgrbyX.
27594 (readdgrbygid): Likewise.
27595 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
27596 (addpwbyX): Return value returned by cache_addpw.
27597 (readdpwbyname): Return value returned by addhstbyX.
27598 (readdpwbyuid): Likewise.
27599 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
27600 (addservbyX): Return value returned by cache_addserv.
27601 (readdservbyname): Return value returned by addservbyX:
27602 (readdservbyport): Likewise.
27603 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
27604 (addhstbyX): Return value returned by cache_addhst.
27605 (readdhstbyname): Return value returned by addhstbyX.
27606 (readdhstbyaddr): Likewise.
27607 (readdhstbynamev6): Likewise.
27608 (readdhstbyaddrv6): Likewise.
27609 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
27610 (readdinitgroups): Return value returned by addinitgroupsX.
27611 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
27612 (prune_cache): Keep track of timeout value of re-added entries.
27613 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
27614 * nscd/nscd.h: Adjust prototypes of readd* functions.
27616 2011-02-04 Roland McGrath <roland@redhat.com>
27618 * nis/nis_server.c (nis_servstate): Use the right name for 0.
27619 (nis_stats): Likewise.
27620 * nis/nis_modify.c (nis_modify): Likewise.
27621 * nis/nis_remove.c (nis_remove): Likewise.
27622 * nis/nis_add.c (nis_add): Likewise.
27624 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
27626 * posix/fnmatch_loop.c: Add some consts.
27628 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
27630 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
27633 * config.make.in (config-cflags-novzeroupper): Define.
27634 * configure.in: Substitute libc_cv_cc_novzeroupper.
27635 * elf/Makefile (AVX-CFLAGS): Define.
27636 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
27637 (CFLAGS-tst-auditmod4a.c): Likewise.
27638 (CFLAGS-tst-auditmod4b.c): Likewise.
27639 (CFLAGS-tst-auditmod6b.c): Likewise.
27640 (CFLAGS-tst-auditmod6c.c): Likewise.
27641 (CFLAGS-tst-auditmod7b.c): Likewise.
27642 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
27644 2011-02-02 Ulrich Drepper <drepper@gmail.com>
27646 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
27647 function to the callback.
27648 Patch partly by Jiri Olsa <jolsa@redhat.com>.
27650 2011-02-02 Andreas Schwab <schwab@redhat.com>
27652 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
27655 2011-01-19 Ulrich Drepper <drepper@gmail.com>
27658 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
27660 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
27662 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
27665 * elf/Makefile: Add rules to build and run new test.
27666 * elf/tst-initorder.c: New file.
27667 * elf/tst-initorder.exp: New file.
27668 * elf/tst-initordera1.c: New file.
27669 * elf/tst-initordera2.c: New file.
27670 * elf/tst-initordera3.c: New file.
27671 * elf/tst-initordera4.c: New file.
27672 * elf/tst-initorderb1.c: New file.
27673 * elf/tst-initorderb2.c: New file.
27674 * elf/tst-order-a1.c: New file.
27675 * elf/tst-order-a2.c: New file.
27676 * elf/tst-order-a3.c: New file.
27677 * elf/tst-order-a4.c: New file.
27678 * elf/tst-order-b1.c: New file.
27679 * elf/tst-order-b2.c: New file.
27680 * elf/tst-order-main.c: New file.
27681 New test case by George Gensure <werkt0@gmail.com>.
27683 2010-10-01 Andreas Schwab <schwab@redhat.com>
27685 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27686 decoding ACE if AI_CANONIDN.
27688 2011-01-18 Ulrich Drepper <drepper@gmail.com>
27690 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
27692 2011-01-17 Ulrich Drepper <drepper@gmail.com>
27694 * version.h (RELEASE): Bump for 2.13 release.
27695 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
27697 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
27699 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
27701 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
27702 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27703 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27704 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27705 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27706 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27708 * posix/getconf.c: Update copyright year.
27709 * catgets/gencat.c: Likewise.
27710 * csu/version.c: Likewise.
27711 * debug/catchsegv.sh: Likewise.
27712 * debug/xtrace.sh: Likewise.
27713 * elf/ldconfig.c: Likewise.
27714 * elf/ldd.bash.in: Likewise.
27715 * elf/sprof.c (print_version): Likewise.
27716 * iconv/iconv_prog.c: Likewise.
27717 * iconv/iconvconfig.c: Likewise.
27718 * locale/programs/locale.c: Likewise.
27719 * locale/programs/localedef.c: Likewise.
27720 * malloc/memusage.sh: Likewise.
27721 * malloc/mtrace.pl: Likewise.
27722 * nscd/nscd.c (print_version): Likewise.
27723 * nss/getent.c: Likewise.
27725 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
27726 PF_CAIF, and PF_ALG.
27727 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27729 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
27731 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
27732 (modules-names): Use them.
27733 (ifunc-test-modules, ifunc-pie-tests): Define.
27734 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
27735 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
27736 (test-extras): Likewise.
27737 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
27738 $(compile-command.c).
27739 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
27740 (all-built-dso): Define.
27741 (check-textrel.out, check-execstack.out): Depend on it.
27743 * configure.in: Don't override --enable-multi-arch.
27745 2011-01-15 Ulrich Drepper <drepper@gmail.com>
27748 * nscd/hstcache.c (tryagain): Define.
27749 (cache_addhst): Return tryagain not notfound for temporary errors.
27750 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
27753 2011-01-14 Ulrich Drepper <drepper@gmail.com>
27756 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
27757 to make the syscall.
27758 * sysdeps/unix/sysv/linux/setgroups.c: New file.
27761 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
27762 and fall back to matching as normal character if the string ends before
27763 the matching ']' is found. This is what POSIX requires.
27764 * posix/testfnm.c: Adjust test result.
27765 * posix/globtest.sh: Adjust test result. Add new test.
27766 * posix/tst-fnmatch.input: Likewise.
27767 * posix/tst-fnmatch2.c: Add new test.
27769 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
27771 * elf/Makefile (check-execstack): Revert last change. Depend on
27773 (check-execstack.h): New target.
27774 (generated): Add check-execstack.h.
27775 * elf/check-execstack.c: Include "check-execstack.h".
27776 (main): Revert last change.
27777 (handle_file): Return zero if GNU_STACK is absent and
27778 DEFAULT_STACK_PERMS doesn't include PF_X.
27780 2011-01-13 Ulrich Drepper <drepper@gmail.com>
27782 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
27783 in child fails because the descriptor is already closed.
27784 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
27785 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
27786 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
27789 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
27793 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
27794 temporary buffer used to handle multi lookups locally.
27795 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
27797 2011-01-12 Ulrich Drepper <drepper@gmail.com>
27799 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
27802 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
27804 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
27805 alignment for SSE2.
27807 2011-01-12 Ulrich Drepper <drepper@gmail.com>
27810 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
27811 characters. When rounding increased number of integer digits recompute
27813 * stdio-common/tst-grouping.c: New file.
27814 * stdio-common/Makefile: Add rules to build and run tst-grouping.
27816 2011-01-09 Ulrich Drepper <drepper@gmail.com>
27818 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
27819 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
27821 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27823 * bits/select.h: Likewise.
27825 2011-01-08 Ulrich Drepper <drepper@gmail.com>
27827 * po/ja.po: Update from translation team.
27829 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
27832 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27833 implementation just like for lxstat, fxstatat, et al.
27835 2010-12-27 Jim Meyering <meyering@redhat.com>
27838 * posix/regexec.c (build_trtable): Return failure indication upon
27839 calloc failure. Otherwise, re_search_internal could infloop on OOM.
27841 2010-12-25 Ulrich Drepper <drepper@gmail.com>
27844 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27845 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27846 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27847 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27850 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27853 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27854 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27856 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
27858 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27859 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27860 script has SORT_BY_INIT_PRIORITY.
27861 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27862 NO_CTORS_DTORS_SECTIONS is defined.
27863 * elf/soinit.c: Likewise.
27864 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27865 NO_CTORS_DTORS_SECTIONS is defined.
27866 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27867 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27868 * sysdeps/sh/init-first.c: Likewise.
27869 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27871 2010-12-24 Ulrich Drepper <drepper@gmail.com>
27873 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27874 always use the slow path.
27876 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
27878 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27879 similar rule which adds the sysdep directories to the header search in
27880 order to pick up the correct platform stackinfo.h.
27881 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27882 perform test if it is, otherwise return successfully without testing.
27883 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27884 DEFAULT_STACK_PERMS define in stackinfo.h.
27885 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27886 defined in stackinfo.h.
27887 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27888 DEFAULT_STACK_PERMS defined in stackinfo.h.
27889 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27890 * sysdeps/ia64/stackinfo.h: Likewise.
27891 * sysdeps/s390/stackinfo.h: Likewise.
27892 * sysdeps/sh/stackinfo.h: Likewise.
27893 * sysdeps/sparc/stackinfo.h: Likewise.
27894 * sysdeps/x86_64/stackinfo.h: Likewise.
27895 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27896 PF_X for powerpc64. Retain PF_X for powerpc32.
27898 2010-12-19 Ulrich Drepper <drepper@gmail.com>
27900 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27902 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27903 GETDENTS_64BIT_ALIGNED.
27905 2010-12-14 Ulrich Drepper <dreper@gmail.com>
27907 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
27909 2010-12-10 Andreas Schwab <schwab@redhat.com>
27911 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27914 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27915 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27917 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27918 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27920 2010-12-09 Ulrich Drepper <drepper@gmail.com>
27923 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27926 2010-12-09 Jakub Jelinek <jakub@redhat.com>
27928 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27930 2010-12-03 Ulrich Drepper <drepper@gmail.com>
27932 * po/it.po: Update from translation team.
27934 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27936 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27939 2010-11-30 Ulrich Drepper <drepper@gmail.com>
27941 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27943 2010-11-24 Andreas Schwab <schwab@redhat.com>
27945 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27947 (gaih_getanswer_slice): Likewise.
27949 2010-10-20 Jakub Jelinek <jakub@redhat.com>
27951 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27953 2010-05-31 Petr Baudis <pasky@suse.cz>
27956 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27957 silently even in the chroot mode.
27959 2010-11-22 Ulrich Drepper <drepper@gmail.com>
27961 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27962 last patch a bit. Pretty printing
27964 2010-05-31 Petr Baudis <pasky@suse.cz>
27967 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27968 initialization of skip_initgroups_dyn.
27970 2010-11-19 Ulrich Drepper <drepper@gmail.com>
27972 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27973 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27975 2010-11-16 Ulrich Drepper <drepper@gmail.com>
27977 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27979 2010-11-11 Andreas Schwab <schwab@redhat.com>
27981 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27982 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27983 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27984 ($(objpfx)tst-fnmatch-mem): New rule.
27985 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27986 * posix/tst-fnmatch.c (main): Call mtrace.
27988 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27990 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27991 Support Intel processor model 6 and model 0x2c.
27993 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
27995 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27998 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
28001 * string/test-strncasecmp.c (check_result): New function.
28002 (do_one_test): Use it.
28003 (check1): New function.
28004 (test_main): Use it.
28005 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
28006 Support strcasecmp and strncasecmp.
28008 2010-11-08 Ulrich Drepper <drepper@gmail.com>
28011 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
28012 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28014 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
28016 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
28018 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28020 * sysdeps/x86_64/multiarch/bzero.S: New file.
28021 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
28022 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
28023 * sysdeps/x86_64/multiarch/memset.S: New file.
28024 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
28025 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28026 Set bit_Prefer_SSE_for_memop for Intel processors.
28027 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
28029 (index_Prefer_SSE_for_memop): Define.
28030 (HAS_PREFER_SSE_FOR_MEMOP): Define.
28032 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
28034 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
28035 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
28037 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
28040 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
28041 (__x86_64_raw_data_cache_size_half): Likewise.
28042 (__x86_64_raw_shared_cache_size): Likewise.
28043 (__x86_64_raw_shared_cache_size_half): Likewise.
28045 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
28046 (__x86_64_raw_data_cache_size_half): Likewise.
28047 (__x86_64_raw_shared_cache_size): Likewise.
28048 (__x86_64_raw_shared_cache_size_half): Likewise.
28049 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
28050 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
28051 and __x86_64_raw_shared_cache_size_half. Round
28052 __x86_64_data_cache_size_half, __x86_64_data_cache_size
28053 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
28054 to multiple of 256 bytes.
28056 2010-11-03 Ulrich Drepper <drepper@gmail.com>
28059 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
28060 of inacessible symlinks. Verify result of symlink before returning it.
28061 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
28062 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
28064 2010-10-28 Erich Ritz <erichritz@gmail.com>
28066 * math/math.h (isinf): Fix typo in comment.
28068 2010-11-01 Ulrich Drepper <drepper@gmail.com>
28070 * po/da.po: Update from translation team.
28072 2010-10-26 Ulrich Drepper <drepper@gmail.com>
28074 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
28075 is added to the list.
28077 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28078 Ulrich Drepper <drepper@gmail.com>
28080 * elf/dl-object.c (_dl_new_object): Don't append the new object to
28081 the global list here. Move code to...
28082 (_dl_add_to_namespace_list): ...here. New function.
28083 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
28084 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
28085 * elf/dl-load.c (lose): Don't remove the element from the list.
28086 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
28087 (_dl_map_object): Likewise.
28089 2010-10-25 Ulrich Drepper <drepper@gmail.com>
28092 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
28093 into all bytes of SSE register.
28094 Patch by Richard Li <richardpku@gmail.com>.
28096 2010-10-24 Ulrich Drepper <drepper@gmail.com>
28099 * malloc/malloc.c (_int_free): Fill correct number of bytes when
28102 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
28104 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
28105 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
28106 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
28107 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
28110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
28112 2010-10-22 Andreas Schwab <schwab@redhat.com>
28114 * include/dlfcn.h (__RTLD_SECURE): Define.
28115 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
28116 mode & __RTLD_SECURE instead.
28117 (open_path): Rename preloaded parameter to secure.
28118 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
28119 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
28120 * elf/dl-deps.c (openaux): Likewise.
28121 * elf/rtld.c (struct map_args): Remove is_preloaded.
28122 (map_doit): Don't use it.
28123 (dl_main): Likewise.
28124 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
28125 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
28127 2010-09-09 Andreas Schwab <schwab@redhat.com>
28129 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
28130 (sysd-rules-targets): Remove duplicates.
28131 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
28132 rtld-%.$o dependency.
28134 2010-10-18 Andreas Schwab <schwab@redhat.com>
28136 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
28137 _dl_map_object do it.
28139 2010-10-19 Ulrich Drepper <drepper@gmail.com>
28141 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
28142 fast fma builtins, define the macros in the C99 standard.
28143 (FP_FAST_FMAF): Likewise.
28144 (FP_FAST_FMAL): Likewise.
28145 * sysdeps/x86_64/bits/mathdef.h: Likewise.
28147 * bits/mathdef.h: Update copyright year.
28148 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28150 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
28152 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
28153 builtins, define the macros in the C99 standard.
28154 (FP_FAST_FMAF): Likewise.
28155 (FP_FAST_FMAL): Likewise.
28156 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
28158 (FP_FAST_FMAF): Likewise.
28160 2010-10-15 Jakub Jelinek <jakub@redhat.com>
28163 * math/libm-test.inc (fma_test): Some new testcases.
28164 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
28165 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
28166 y and infinite z. Do multiplication by C already in long double.
28167 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
28168 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
28169 y and infinite z. Do bitwise or of inexact bit into u.d.
28170 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
28171 * sysdeps/i386/fpu/s_fmaf.S: Removed.
28172 * sysdeps/i386/fpu/s_fma.S: Removed.
28173 * sysdeps/i386/fpu/s_fmal.S: Removed.
28175 2010-10-16 Jakub Jelinek <jakub@redhat.com>
28178 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
28179 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
28180 computation is not scheduled after fetestexcept. Fix value
28181 of minimum denormal long double.
28183 2010-10-14 Jakub Jelinek <jakub@redhat.com>
28186 * math/libm-test.inc (fma_test): Add some more tests.
28187 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
28190 2010-10-15 Andreas Schwab <schwab@redhat.com>
28192 * scripts/data/localplt-s390-linux-gnu.data: New file.
28193 * scripts/data/localplt-s390x-linux-gnu.data: New file.
28195 2010-10-13 Jakub Jelinek <jakub@redhat.com>
28198 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
28199 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
28201 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
28203 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
28204 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
28205 if one of x and y is very large and the other is subnormal.
28206 * sysdeps/s390/fpu/s_fmaf.c: New file.
28207 * sysdeps/s390/fpu/s_fma.c: New file.
28208 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
28209 * sysdeps/powerpc/fpu/s_fma.S: New file.
28210 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
28211 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
28212 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
28214 2010-10-12 Jakub Jelinek <jakub@redhat.com>
28217 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
28219 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
28220 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
28221 * sysdeps/i386/i686/multiarch/s_fma.c: Include
28222 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
28223 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
28224 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
28225 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
28227 2010-10-12 Ulrich Drepper <drepper@redhat.com>
28230 * posix/regcomp.c (parse_branch): One more memory leak plugged.
28231 * posix/bug-regex31.input: Add test case.
28233 2010-10-11 Ulrich Drepper <drepper@gmail.com>
28235 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
28236 * posix/bug-regex31.input: New file.
28239 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
28240 (parse_sub_exp): Fix last change, use postorder.
28242 * posix/bug-regex31.c: New file.
28243 * posix/Makefile: Add rules to build and run bug-regex31.
28245 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
28248 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
28251 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
28252 to have entries in sys_siglist.
28255 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
28258 2010-10-07 Jakub Jelinek <jakub@redhat.com>
28261 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
28262 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
28263 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
28264 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
28265 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28266 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
28267 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
28268 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
28269 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
28270 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
28271 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
28272 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
28273 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28274 * math/ftestexcept.c (fetestexcept): Likewise.
28275 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
28276 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
28277 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
28278 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
28279 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
28280 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
28281 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28283 2010-10-11 Ulrich Drepper <drepper@gmail.com>
28286 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
28289 2010-10-06 Ulrich Drepper <drepper@gmail.com>
28291 * string/bug-strstr1.c: New file.
28292 * string/Makefile: Add rules to build and run bug-strstr1.
28294 2010-10-05 Eric Blake <eblake@redhat.com>
28297 * string/str-two-way.h (two_way_long_needle): Always clear memory
28298 when skipping input due to the shift table.
28300 2010-10-03 Ulrich Drepper <drepper@gmail.com>
28303 * malloc/mcheck.c: Handle large requests.
28306 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
28307 for strncmp and strncasecmp.
28308 * string/stratcliff.c: Add tests for strcmp and strncmp.
28309 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
28311 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28313 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
28316 2010-09-30 Andreas Jaeger <aj@suse.de>
28318 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
28319 (CGROUP_SUPER_MAGIC): Define.
28320 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28321 Handle btrfs and cgroup file systems.
28322 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28325 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
28327 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
28328 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
28330 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28333 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
28334 trying to locate the ELF header.
28336 2010-09-27 Andreas Schwab <schwab@redhat.com>
28339 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
28340 Mask out sign-bit copies when constructing f_fsid.
28342 2010-09-24 Petr Baudis <pasky@suse.cz>
28344 * debug/stack_chk_fail_local.c: Add missing licence exception.
28345 * debug/warning-nop.c: Likewise.
28347 2010-09-15 Joseph Myers <joseph@codesourcery.com>
28349 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
28350 implementing getdents64 using getdents syscall, set d_type if
28351 __ASSUME_GETDENTS32_D_TYPE.
28353 2010-09-16 Andreas Schwab <schwab@redhat.com>
28355 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
28356 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
28358 2010-09-21 Ulrich Drepper <drepper@redhat.com>
28361 * posix/unistd.h: Undo change of feature selection for ftruncate from
28364 2010-09-20 Ulrich Drepper <drepper@redhat.com>
28366 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
28369 2010-09-20 Andreas Schwab <schwab@redhat.com>
28371 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
28373 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28375 2010-09-14 Andreas Schwab <schwab@redhat.com>
28377 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
28378 variables after CHECK_SP call.
28379 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
28381 2010-09-13 Andreas Schwab <schwab@redhat.com>
28382 Ulrich Drepper <drepper@redhat.com>
28384 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
28385 re-relocationg ld.so.
28386 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
28387 _dl_init_paths call.
28388 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
28391 2010-09-14 Ulrich Drepper <drepper@redhat.com>
28393 * resolv/res_init.c (__res_vinit): Count the default server we added.
28395 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
28396 Ulrich Drepper <drepper@redhat.com>
28399 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28400 (____longjmp_chk): Use %ebx for saving value across system call.
28403 2010-09-06 Andreas Schwab <schwab@redhat.com>
28405 * manual/Makefile: Don't mix pattern rules with normal rules.
28407 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
28409 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
28411 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28412 * libio/iofopncook.c (_IO_cookie_init): Likewise.
28413 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28414 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28415 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28418 2010-09-04 Ulrich Drepper <drepper@redhat.com>
28421 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
28422 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
28424 2010-09-02 Ulrich Drepper <drepper@redhat.com>
28426 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
28427 * sysdeps/x86_64/addmul_1.S: Likewise.
28428 * sysdeps/x86_64/lshift.S: Likewise.
28429 * sysdeps/x86_64/mul_1.S: Likewise.
28430 * sysdeps/x86_64/rshift.S: Likewise.
28431 * sysdeps/x86_64/sub_n.S: Likewise.
28432 * sysdeps/x86_64/submul_1.S: Likewise.
28434 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
28436 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
28437 Define __sched_param instead of SCHED_* and sched_param when
28438 <bits/sched.h> is included with __need_schedparam defined.
28439 * bits/sched.h [__need_schedparam]
28440 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
28441 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
28442 (__defined_schedparam): Define to 1.
28443 (__sched_param): New structure, identical to sched_param.
28444 (__need_schedparam): Undefine.
28446 2010-08-31 Mike Frysinger <vapier@gentoo.org>
28448 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
28449 (epoll_create1): Declare.
28451 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
28453 2010-08-31 Andreas Schwab <schwab@redhat.com>
28456 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
28457 shifting retval into place.
28459 2010-09-01 Ulrich Drepper <drepper@redhat.com>
28461 * nis/rpcsvc/nis.h: Update copyright notice.
28462 * nis/rpcsvc/nis.x: Likewise.
28463 * nis/rpcsvc/nis_callback.h: Likewise.
28464 * nis/rpcsvc/nis_callback.x: Likewise.
28465 * nis/rpcsvc/nis_object.x: Likewise.
28466 * nis/rpcsvc/nis_tags.h: Likewise.
28467 * nis/rpcsvc/yp.h: Likewise.
28468 * nis/rpcsvc/yp.x: Likewise.
28469 * nis/rpcsvc/ypupd.h: Likewise.
28470 * nis/yp_xdr.c: Likewise.
28471 * nis/ypupdate_xdr.c: Likewise.
28473 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
28474 mainly the body of pmap_getport. Add parameters to specify timeouts.
28475 (pmap_getport): Use __libc_rpc_getport.
28476 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
28477 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
28478 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
28480 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
28482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
28485 2010-08-27 Roland McGrath <roland@redhat.com>
28487 * sysdeps/i386/i686/multiarch/Makefile
28488 (CFLAGS-varshift.c): New variable.
28490 2010-08-27 Ulrich Drepper <drepper@redhat.com>
28492 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
28493 * sysdeps/i386/i686/multiarch/varshift.c: New file.
28495 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
28497 * sysdeps/x86_64/strlen.S: Minimal code improvement.
28499 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
28501 * sysdeps/x86_64/strlen.S: Unroll the loop.
28502 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28503 strlen-sse2 strlen-sse2-bsf.
28504 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
28505 __strlen_no_bsf if bit_Slow_BSF is set.
28506 (__strlen_sse42): Removed.
28507 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
28508 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
28510 2010-08-25 Roland McGrath <roland@redhat.com>
28512 * sysdeps/x86_64/multiarch/varshift.S: File removed.
28513 * sysdeps/x86_64/multiarch/varshift.c: New file.
28514 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
28515 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
28516 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
28517 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28519 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
28521 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28522 strlen-sse2 strlen-sse2-bsf.
28523 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
28524 __strlen_sse2_bsf if bit_Slow_BSF is unset.
28525 (__strlen_sse2): Removed.
28526 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
28527 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
28528 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28529 bit_Slow_BSF for Atom.
28530 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
28531 (index_Slow_BSF): Define.
28532 (HAS_SLOW_BSF): Define.
28534 2010-08-25 Ulrich Drepper <drepper@redhat.com>
28537 * resolv/res_init.c (__res_vinit): When no server address at all
28538 is given default to loopback.
28540 2010-08-24 Roland McGrath <roland@redhat.com>
28542 * configure.in: Remove config-name.h generation.
28543 * configure: Regenerated.
28544 * config-name.in: File removed.
28545 * scripts/config-uname.sh: New file.
28546 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
28547 ($(objdir)config-name.h): New target.
28549 * sunrpc/rpc_parse.h: Avoid nested comment.
28551 2010-08-24 Richard Henderson <rth@redhat.com>
28552 Ulrich Drepper <drepper@redhat.com>
28553 H.J. Lu <hongjiu.lu@intel.com>
28555 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
28556 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
28557 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
28558 Replace _mm_srli_si128 with __m128i_shift_right. Replace
28559 _mm_alignr_epi8 with _mm_loadu_si128.
28560 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
28561 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
28562 (__m128i_shift_right): Removed.
28563 * sysdeps/i386/i686/multiarch/varshift.h: New file.
28564 * sysdeps/i386/i686/multiarch/varshift.S: New file.
28565 * sysdeps/x86_64/multiarch/varshift.h: New file.
28566 * sysdeps/x86_64/multiarch/varshift.S: New file.
28568 2010-08-21 Mike Frysinger <vapier@gentoo.org>
28570 * configure.in: Move assembler checks to before sysdep dir checking.
28572 2010-08-20 Petr Baudis <pasky@suse.cz>
28574 * LICENSES: Sync the sunrpc license.
28576 2010-08-19 Ulrich Drepper <drepper@redhat.com>
28578 * sunrpc/auth_des.c: Update copyright notice once again.
28579 * sunrpc/auth_none.c: Likewise.
28580 * sunrpc/auth_unix.c: Likewise.
28581 * sunrpc/authdes_prot.c: Likewise.
28582 * sunrpc/authuxprot.c: Likewise.
28583 * sunrpc/bindrsvprt.c: Likewise.
28584 * sunrpc/clnt_gen.c: Likewise.
28585 * sunrpc/clnt_perr.c: Likewise.
28586 * sunrpc/clnt_raw.c: Likewise.
28587 * sunrpc/clnt_simp.c: Likewise.
28588 * sunrpc/clnt_tcp.c: Likewise.
28589 * sunrpc/clnt_udp.c: Likewise.
28590 * sunrpc/clnt_unix.c: Likewise.
28591 * sunrpc/des_crypt.c: Likewise.
28592 * sunrpc/des_soft.c: Likewise.
28593 * sunrpc/get_myaddr.c: Likewise.
28594 * sunrpc/getrpcport.c: Likewise.
28595 * sunrpc/key_call.c: Likewise.
28596 * sunrpc/key_prot.c: Likewise.
28597 * sunrpc/openchild.c: Likewise.
28598 * sunrpc/pm_getmaps.c: Likewise.
28599 * sunrpc/pm_getport.c: Likewise.
28600 * sunrpc/pmap_clnt.c: Likewise.
28601 * sunrpc/pmap_prot.c: Likewise.
28602 * sunrpc/pmap_prot2.c: Likewise.
28603 * sunrpc/pmap_rmt.c: Likewise.
28604 * sunrpc/rpc/auth.h: Likewise.
28605 * sunrpc/rpc/auth_unix.h: Likewise.
28606 * sunrpc/rpc/clnt.h: Likewise.
28607 * sunrpc/rpc/des_crypt.h: Likewise.
28608 * sunrpc/rpc/key_prot.h: Likewise.
28609 * sunrpc/rpc/netdb.h: Likewise.
28610 * sunrpc/rpc/pmap_clnt.h: Likewise.
28611 * sunrpc/rpc/pmap_prot.h: Likewise.
28612 * sunrpc/rpc/pmap_rmt.h: Likewise.
28613 * sunrpc/rpc/rpc.h: Likewise.
28614 * sunrpc/rpc/rpc_des.h: Likewise.
28615 * sunrpc/rpc/rpc_msg.h: Likewise.
28616 * sunrpc/rpc/svc.h: Likewise.
28617 * sunrpc/rpc/svc_auth.h: Likewise.
28618 * sunrpc/rpc/types.h: Likewise.
28619 * sunrpc/rpc/xdr.h: Likewise.
28620 * sunrpc/rpc_clntout.c: Likewise.
28621 * sunrpc/rpc_cmsg.c: Likewise.
28622 * sunrpc/rpc_common.c: Likewise.
28623 * sunrpc/rpc_cout.c: Likewise.
28624 * sunrpc/rpc_dtable.c: Likewise.
28625 * sunrpc/rpc_hout.c: Likewise.
28626 * sunrpc/rpc_main.c: Likewise.
28627 * sunrpc/rpc_parse.c: Likewise.
28628 * sunrpc/rpc_parse.h: Likewise.
28629 * sunrpc/rpc_prot.c: Likewise.
28630 * sunrpc/rpc_sample.c: Likewise.
28631 * sunrpc/rpc_scan.c: Likewise.
28632 * sunrpc/rpc_scan.h: Likewise.
28633 * sunrpc/rpc_svcout.c: Likewise.
28634 * sunrpc/rpc_tblout.c: Likewise.
28635 * sunrpc/rpc_util.c: Likewise.
28636 * sunrpc/rpc_util.h: Likewise.
28637 * sunrpc/rpcinfo.c: Likewise.
28638 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
28639 * sunrpc/rpcsvc/key_prot.x: Likewise.
28640 * sunrpc/rpcsvc/klm_prot.x: Likewise.
28641 * sunrpc/rpcsvc/mount.x: Likewise.
28642 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
28643 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
28644 * sunrpc/rpcsvc/rex.x: Likewise.
28645 * sunrpc/rpcsvc/rstat.x: Likewise.
28646 * sunrpc/rpcsvc/rusers.x: Likewise.
28647 * sunrpc/rpcsvc/sm_inter.x: Likewise.
28648 * sunrpc/rpcsvc/spray.x: Likewise.
28649 * sunrpc/rpcsvc/yppasswd.x: Likewise.
28650 * sunrpc/rtime.c: Likewise.
28651 * sunrpc/svc.c: Likewise.
28652 * sunrpc/svc_auth.c: Likewise.
28653 * sunrpc/svc_authux.c: Likewise.
28654 * sunrpc/svc_raw.c: Likewise.
28655 * sunrpc/svc_run.c: Likewise.
28656 * sunrpc/svc_simple.c: Likewise.
28657 * sunrpc/svc_tcp.c: Likewise.
28658 * sunrpc/svc_udp.c: Likewise.
28659 * sunrpc/svc_unix.c: Likewise.
28660 * sunrpc/svcauth_des.c: Likewise.
28661 * sunrpc/xcrypt.c: Likewise.
28662 * sunrpc/xdr.c: Likewise.
28663 * sunrpc/xdr_array.c: Likewise.
28664 * sunrpc/xdr_float.c: Likewise.
28665 * sunrpc/xdr_mem.c: Likewise.
28666 * sunrpc/xdr_rec.c: Likewise.
28667 * sunrpc/xdr_ref.c: Likewise.
28668 * sunrpc/xdr_sizeof.c: Likewise.
28669 * sunrpc/xdr_stdio.c: Likewise.
28671 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
28674 2010-08-19 Andreas Schwab <schwab@redhat.com>
28676 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
28678 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
28680 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
28681 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
28682 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
28683 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
28684 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
28685 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
28686 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
28687 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
28688 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
28689 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
28690 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
28691 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
28692 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
28693 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
28695 2010-07-26 Anton Blanchard <anton@samba.org>
28697 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
28698 * malloc/arena.c (heap_trim): Likewise.
28700 2010-08-16 Ulrich Drepper <drepper@redhat.com>
28702 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
28704 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
28705 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
28707 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
28709 * sysdeps/i386/elf/Makefile: New file.
28711 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28713 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
28714 from fanotify_init.
28715 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
28716 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28718 2010-08-15 Ulrich Drepper <drepper@redhat.com>
28720 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
28722 * sysdeps/multiarch/strcmp.S: Likewise.
28724 2010-08-14 Ulrich Drepper <drepper@redhat.com>
28726 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28727 strncase_l-nonascii.
28728 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28729 Add strncase_l-ssse3.
28730 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
28731 * sysdeps/x86_64/strcmp.S: Likewise.
28732 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
28733 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
28734 * sysdeps/x86_64/strncase.S: New file.
28735 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
28736 * sysdeps/x86_64/strncase_l.S: New file.
28737 * string/Makefile (strop-tests): Add strncasecmp.
28738 * string/test-strncasecmp.c: New file.
28740 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
28743 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
28744 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
28746 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28748 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
28750 2010-08-12 Ulrich Drepper <drepper@redhat.com>
28752 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
28753 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
28754 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
28756 2010-05-01 Alan Modra <amodra@gmail.com>
28758 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
28759 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
28760 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
28761 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
28762 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
28763 tidying. Don't tail-call __sigjmp_save for static lib.
28764 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
28766 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
28767 (CALL_MCOUNT): Add eh info, and nop after bl.
28768 (TAIL_CALL_SYSCALL_ERROR): New macro.
28769 (PSEUDO_RET): Use it.
28770 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28771 Correct save location of integer regs and cr.
28772 (_dl_profile_resolve): Correct cr save location. Delete nops
28773 after bl when SHARED. Reduce cfi size a little by better
28774 placement of cfi directives.
28775 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
28776 make a stack frame. Instead use parm save area as a temp.
28777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
28778 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
28779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28780 Don't make a stack frame for parent, use parm save area.
28781 Increase child stack frame to 112 bytes. Don't save unused reg,
28782 and adjust reg usage. Set up cfi on error recovery and
28783 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
28784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28785 (__makecontext): Add dummy nop after jump to exit.
28786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
28787 Use correct parm save area and cr save, reduce stack frame.
28788 Correct cfi for possible PSEUDO_RET frame setup.
28789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
28790 Branch to local label emitted by PSEUDO_RET rather than
28793 2010-08-12 Andreas Schwab <schwab@redhat.com>
28796 * locale/programs/locale.c (print_assignment): New function.
28797 (show_locale_vars): Use it.
28799 2010-08-11 Ulrich Drepper <drepper@redhat.com>
28801 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
28803 (struct statfs64): Likewise.
28804 (_STATFS_F_FLAGS): Define.
28805 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
28806 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28807 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
28808 (ST_VALID): Define locally.
28809 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
28810 __statvfs_getflags, use the provided value.
28811 * sysdeps/unix/sysv/linux/kernel-features.h: Define
28812 __ASSUME_STATFS_F_FLAGS.
28814 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
28816 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
28817 Add sys/fanotify.h.
28818 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
28819 fanotify_mask for GLIBC_2.13.
28820 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
28821 fanotify_init and fanotify_mark.
28822 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28823 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28825 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28827 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28828 prlimit64 for GLIBC_2.13.
28829 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28831 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28834 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28835 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28836 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28837 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
28839 * sysdeps/unix/sysv/linux/prlimit.c: New file.
28842 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28843 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28845 * nss/Makefile: Add rules to build and run tst-nss-test1.
28846 * shlib-versions: Add entry for libnss_test1.
28847 * nss/nss_test1.c: New file.
28848 * nss/tst-nss-test1.c: New file.
28850 * nss/nsswitch.c (__nss_database_custom): Define new variable.
28851 (__nss_configure_lookup): Set appropriate entry in
28852 __nss_configure_lookup to true.
28853 * nss/nsswitch.h: Define enum with indeces of databases in
28854 databases and __nss_database_custom arrays. Declare
28855 __nss_database_custom.
28856 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28857 to avoid using nscd when custom rules are installed.
28858 * nss/getXXbyYY_r.c: Likewise.
28859 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28861 * nss/nss_files/files-parse.c: Whitespace fixes.
28863 2010-08-09 Ulrich Drepper <drepper@redhat.com>
28866 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28867 * posix/fnmatch_loop.c: Likewise.
28869 2010-07-17 Andi Kleen <ak@linux.intel.com>
28871 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28872 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28873 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28874 * Versions.def [GLIBC_2.13]: Add.
28876 2010-08-06 Ulrich Drepper <drepper@redhat.com>
28878 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28879 Also fail if tpwd after pwuid call is NULL.
28881 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
28883 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28884 when converting to ms.
28886 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28888 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28889 EOPNOTSUPP errors with ENOTTY.
28890 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28891 EOPNOTSUPP errors with ENOTTY.
28893 2010-07-31 Ulrich Drepper <drepper@redhat.com>
28895 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28896 Add strcasecmp_l-ssse3.
28897 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28899 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28900 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28901 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28903 2010-07-30 Ulrich Drepper <drepper@redhat.com>
28905 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28907 * string/Makefile (strop-tests): Add strcasecmp.
28908 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28909 strcasecmp_l-nonascii.
28910 (gen-as-const-headers): Add locale-defines.sym.
28911 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28912 * sysdeps/x86_64/strcasecmp.S: New file.
28913 * sysdeps/x86_64/strcasecmp_l.S: New file.
28914 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28915 * sysdeps/x86_64/locale-defines.sym: New file.
28916 * string/test-strcasecmp.c: New file.
28918 * string/test-strcasestr.c: Test both ends of the range of characters.
28919 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28921 2010-07-29 Roland McGrath <roland@redhat.com>
28924 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28926 2010-07-27 Ulrich Drepper <drepper@redhat.com>
28928 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28931 2010-07-27 Andreas Schwab <schwab@redhat.com>
28933 * manual/memory.texi (Malloc Tunable Parameters): Document
28936 2010-07-26 Roland McGrath <roland@redhat.com>
28939 * configure.in (-fgnu89-inline check): Set and substitute
28940 gnu89_inline, not libc_cv_gnu89_inline.
28941 * configure: Regenerated.
28942 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28944 2010-07-26 Ulrich Drepper <drepper@redhat.com>
28946 * string/test-strnlen.c: New file.
28947 * string/Makefile (strop-tests): Add strnlen.
28948 * string/tester.c (test_strnlen): Add a few more test cases.
28949 * string/tst-strlen.c: Better error reporting.
28951 * sysdeps/x86_64/strnlen.S: New file.
28953 2010-07-24 Ulrich Drepper <drepper@redhat.com>
28955 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28956 lower-latency instructions.
28958 2010-07-23 Ulrich Drepper <drepper@redhat.com>
28960 * string/test-strcasestr.c: New file.
28961 * string/test-strstr.c: New file.
28962 * string/Makefile (strop-tests): Add strstr and strcasestr.
28963 * string/str-two-way.h: Don't undefine MAX.
28964 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28966 2010-07-21 Andreas Schwab <schwab@redhat.com>
28968 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28969 strcasestr-nonascii.
28970 (CFLAGS-strcasestr-nonascii.c): Define.
28971 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28972 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28973 Remove unused attribute.
28975 2010-07-20 Roland McGrath <roland@redhat.com>
28977 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28978 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28979 ld.so.cache was broken. With it, there is no way to disable dsocaps
28980 like LD_HWCAP_MASK can disable hwcaps.
28982 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28984 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28986 2010-07-16 Ulrich Drepper <drepper@redhat.com>
28988 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28989 call in strcasestr.
28990 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28991 __strcasestr_sse42_nonascii.
28992 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28993 strcasestr-nonascii.c.
28994 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28996 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
28998 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28999 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
29000 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
29001 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
29003 2010-07-09 Ulrich Drepper <drepper@redhat.com>
29005 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
29008 2010-07-06 Andreas Schwab <schwab@redhat.com>
29011 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
29014 2010-07-06 Ulrich Drepper <drepper@redhat.com>
29016 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
29017 _PC_PIPE_BUF using F_GETPIPE_SZ.
29019 2010-07-05 Roland McGrath <roland@redhat.com>
29021 * manual/arith.texi (Rounding Functions): Fix rint description
29022 implicit in round description.
29024 2010-07-02 Ulrich Drepper <drepper@redhat.com>
29026 * elf/Makefile: Fix linking for a few tests to make recent linker
29029 2010-06-30 Andreas Schwab <schwab@redhat.com>
29031 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29032 $(common-objpfx)libc_nonshared.a.
29034 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
29036 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
29037 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
29038 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
29039 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
29040 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
29041 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
29042 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
29043 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
29044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
29045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
29046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
29047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
29048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
29049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
29050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
29051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
29052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
29053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
29054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
29055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
29056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
29057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
29058 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
29059 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
29060 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
29061 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
29062 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
29063 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
29064 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
29065 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
29066 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
29067 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
29068 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
29069 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
29070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
29071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
29072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
29073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
29074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
29075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
29076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
29077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
29078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
29079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
29080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
29081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
29082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
29083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
29085 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
29087 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
29088 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
29089 * string/memmove.c (memmove): Renamed to ...
29090 (MEMMOVE): ...this. Default to memmove.
29091 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
29092 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
29094 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29095 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
29096 mempcpy-ssse3-back memmove-ssse3-back.
29097 * sysdeps/x86_64/multiarch/bcopy.S: New file .
29098 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
29099 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
29100 * sysdeps/x86_64/multiarch/memcpy.S: New file.
29101 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
29102 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
29103 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
29104 * sysdeps/x86_64/multiarch/memmove.c: New file.
29105 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
29106 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
29107 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
29108 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
29109 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
29110 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
29112 (index_Fast_Copy_Backward): Define.
29113 (HAS_ARCH_FEATURE): Define.
29114 (HAS_FAST_REP_STRING): Define.
29115 (HAS_FAST_COPY_BACKWARD): Define.
29117 2010-06-21 Andreas Schwab <schwab@redhat.com>
29119 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29120 Restore proper fallback handling.
29122 2010-06-19 Ulrich Drepper <drepper@redhat.com>
29125 * posix/group_member.c (__group_member): Correct checking loop.
29127 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
29128 OOM in getpwuid_r correctly. Return error number when the caller
29129 should return, otherwise -1.
29130 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
29131 call returning > 0 value.
29132 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
29134 2010-06-07 Andreas Schwab <schwab@redhat.com>
29136 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
29137 libc_nonshared.a from targets in modules-names.
29139 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
29141 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
29144 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
29146 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
29147 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
29148 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
29149 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
29151 2010-06-02 Andreas Schwab <schwab@redhat.com>
29153 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
29155 2010-06-14 Ulrich Drepper <drepper@redhat.com>
29157 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
29159 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29160 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29161 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29162 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29163 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29164 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
29166 2010-06-14 Roland McGrath <roland@redhat.com>
29168 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
29170 2010-06-07 Jakub Jelinek <jakub@redhat.com>
29172 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
29173 __REDIRECT followed by __THROW.
29174 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
29175 * posix/getopt.h (getopt): Likewise.
29177 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
29179 * hurd/lookup-at.c (__file_name_lookup_at): Accept
29180 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
29181 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
29183 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
29184 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
29186 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
29188 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
29190 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
29193 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29194 Properly check family and model.
29196 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
29198 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
29200 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
29202 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
29204 2010-05-21 Ulrich Drepper <drepper@redhat.com>
29206 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
29209 2010-05-19 Andreas Schwab <schwab@redhat.com>
29211 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
29214 2010-05-21 Andreas Schwab <schwab@redhat.com>
29216 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
29217 and internal_recvmmsg.
29218 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
29219 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
29220 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
29221 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
29223 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
29224 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29225 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29227 2010-05-20 Andreas Schwab <schwab@redhat.com>
29229 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
29231 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
29233 POWER7 optimizations.
29234 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
29235 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
29237 2010-05-19 Ulrich Drepper <drepper@redhat.com>
29239 * version.h: Update for 2.13 development version.
29241 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
29243 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
29244 exceptions. Return 0.
29246 2010-05-07 Roland McGrath <roland@redhat.com>
29248 * elf/ldconfig.c (main): Add a const.
29250 2010-05-06 Ulrich Drepper <drepper@redhat.com>
29252 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
29253 (args_options): Add no-idn option.
29254 (ahosts_keys_int): Add idn_flags to ai_flags.
29255 (parse_option): Handle 'i' option to clear idn_flags.
29257 * malloc/malloc.c (_int_free): Possible race in the most recently
29258 added check. Only act on the data if no current modification
29261 See ChangeLog.17 for earlier changes.