1 2013-05-16 Richard Henderson <rth@redhat.com>
3 * math/atest-exp2.c (LIMB64): New macro.
5 (mp_exp1, mp_exp_m1, mp_log2): New variables.
7 (print_mpn_fp): ... to function scope.
8 (read_mpn_hex): Remove.
10 (exp2_mpn): Use mp_log2.
13 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15 * math/libm-test.inc: Remove comment about not testing "inexact"
17 (INEXACT_EXCEPTION): New macro.
18 (NO_INEXACT_EXCEPTION): Likewise.
19 (INVALID_EXCEPTION_OK): Update value.
20 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21 (OVERFLOW_EXCEPTION_OK): Likewise.
22 (UNDERFLOW_EXCEPTION_OK): Likewise.
23 (IGNORE_ZERO_INF_SIGN): Likewise.
24 (ERRNO_UNCHANGED): Likewise.
25 (ERRNO_EDOM): Likewise.
26 (ERRNO_ERANGE): Likewise.
27 (test_exceptions): Handle testing "inexact" exceptions.
28 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
29 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
30 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
31 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
33 (rint_towardzero_test_data): Likewise.
34 (rint_downward_test_data): Likewise.
35 (rint_upward_test_data): Likewise.
37 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
38 with OVERFLOW_EXCEPTION.
39 (exp10_test_data): Likewise.
40 (exp2_test_data): Likewise.
41 (expm1_test_data): Likewise.
42 (lgamma_test_data): Likewise.
43 (pow_test_data): Likewise.
44 (tgamma_test_data): Likewise.
45 (yn_test_data): Remove duplicate test of overflow.
47 * math/libm-test.inc (struct test_cc_c_data): New type.
48 (RUN_TEST_LOOP_cc_c): New macro.
49 (cpow_test_data): New variable.
50 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
52 * math/libm-test.inc (struct test_f_L_data): New type.
53 (RUN_TEST_LOOP_f_L): New macro.
54 (llrint_test_data): New variable.
55 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
56 (llrint_tonearest_test_data): New variable.
57 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
58 (llrint_towardzero_test_data): New variable.
59 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
60 (llrint_downward_test_data): New variable.
61 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
62 (llrint_upward_test_data): New variable.
63 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
64 (llround_test_data): New variable.
65 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
67 2013-05-13 Peter Collingbourne <pcc@google.com>
69 * math/atest-exp2.c (get_log2): Remove const attribute.
71 2013-05-15 Joseph Myers <joseph@codesourcery.com>
73 * math/libm-test.inc (struct test_f_l_data): New type.
74 (RUN_TEST_LOOP_f_l): New macro.
75 (lrint_test_data): New variable.
76 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
77 (lrint_tonearest_test_data): New variable.
78 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
79 (lrint_towardzero_test_data): New variable.
80 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
81 (lrint_downward_test_data): New variable.
82 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
83 (lrint_upward_test_data): New variable.
84 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
85 (lround_test_data): New variable.
86 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
88 2013-05-15 Peter Collingbourne <pcc@google.com>
90 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
91 (EXTRACT_WORDS64) Use where appropriate.
92 (INSERT_WORDS64) Likewise.
94 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
95 constraints with x constraints.
96 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
98 * malloc/obstack.c (_obstack_compat): Add initializer.
100 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
102 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
103 si_trapno and add si_addr_lsb to _sifields.sigfault.
104 (si_trapno): Remove macro.
105 (si_addr_lsb): Define new macro.
106 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
108 2013-05-15 Joseph Myers <joseph@codesourcery.com>
110 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
112 (llrint_test_tonearest): Likewise.
113 (llrint_test_towardzero): Likewise.
114 (llrint_test_downward): Likewise.
115 (llrint_test_upward): Likewise.
116 (llround_test): Likewise.
118 * math/libm-test.inc (struct test_f_i_data): Add comment.
119 (RUN_TEST_LOOP_f_b): New macro.
120 (RUN_TEST_LOOP_f_b_tg): Likewise.
121 (finite_test_data): New variable.
122 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
123 (isfinite_test_data): New variable.
124 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
125 (isinf_test_data): New variable.
126 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
127 (isnan_test_data): New variable.
128 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
129 (isnormal_test_data): New variable.
130 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
131 (issignaling_test_data): New variable.
132 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
133 (signbit_test_data): New variable.
134 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
136 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
137 with INVALID_EXCEPTION.
138 (acosh_test_data): Likewise.
139 (asin_test_data): Likewise.
140 (atanh_test_data): Likewise.
141 (fmod_test_data): Likewise.
142 (log_test_data): Likewise.
143 (log10_test_data): Likewise.
144 (log2_test_data): Likewise.
145 (pow_test_data): Likewise.
146 (sqrt_test_data): Likewise.
147 (y0_test_data): Likewise.
148 (y1_test_data): Likewise.
149 (yn_test_data): Likewise.
151 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
154 * math/libm-test.inc (struct test_ff_i_data): New type.
155 (RUN_TEST_LOOP_ff_i_tg): New macro.
156 (isgreater_test_data): New variable.
157 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
158 (isgreaterequal_test_data): New variable.
159 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
160 (isless_test_data): New variable.
161 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
162 (islessequal_test_data): New variable.
163 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
164 (islessgreater_test_data): New variable.
165 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
166 (isunordered_test_data): New variable.
167 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
169 2013-05-14 David S. Miller <davem@davemloft.net>
171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
173 2013-05-14 Joseph Myers <joseph@codesourcery.com>
175 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
177 * math/libm-test.inc (struct test_fF_f1_data): Change type of
179 (struct test_f_i_data): Change type of max_ulp to int.
181 * math/libm-test.inc (test_ffI_f1_data): New type.
182 (RUN_TEST_LOOP_ffI_f1): New macro.
183 (remquo_test_data): New variable.
184 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
186 * setjmp/tst-setjmp-fp.c: New file.
187 * setjmp/Makefile (tests): Add tst-setjmp-fp.
188 (link-libm): New variable.
189 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
191 * math/libm-test.inc (struct test_f_i_data): New type.
192 (RUN_TEST_LOOP_f_i): New macro.
193 (RUN_TEST_LOOP_f_i_tg): Likewise.
194 (fpclassify_test_data): New variable.
195 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
196 (ilogb_test_data): New variable.
197 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
199 * math/libm-test.inc (scalbln_test): Correct function name in END
202 * math/libm-test.inc (struct test_f_f1_data): Add comment.
203 (RUN_TEST_LOOP_fI_f1): New macro.
204 (frexp_test_data): New variable.
205 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
207 * math/libm-test.inc (struct test_fF_f1_data): New type.
208 (RUN_TEST_LOOP_fF_f1): New macro.
209 (modf_test_data): New variable.
210 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
212 * math/libm-test.inc (struct test_f_f1_data): New type.
213 (RUN_TEST_LOOP_f_f1): New macro.
214 (gamma_test_data): New variable.
215 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
216 (lgamma_test_data): New variable.
217 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
219 2013-05-13 Carlos O'Donell <carlos@redhat.com>
221 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
222 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
223 (main): Comment "tls" pseudo-hwcap.
225 2013-05-13 Joseph Myers <joseph@codesourcery.com>
227 * math/libm-test.inc (struct test_fl_f_data): New type.
228 (RUN_TEST_LOOP_fl_f): New variable.
229 (scalbln_test_data): New variable.
230 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
232 * math/libm-test.inc (struct test_fi_f_data): New type.
233 (RUN_TEST_LOOP_fi_f): New macro.
234 (ldexp_test_data): New variable.
235 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
236 (scalbn_test_data): New variable.
237 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
239 * math/libm-test.inc (struct test_c_f_data): New type.
240 (RUN_TEST_LOOP_c_f): New macro.
241 (cabs_test_data): New variable.
242 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
243 (carg_test_data): New variable.
244 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
245 (cimag_test_data): New variable.
246 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
247 (creal_test_data): New variable.
248 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
250 * math/libm-test.inc (struct test_if_f_data): New type.
251 (RUN_TEST_LOOP_if_f): New macro.
252 (jn_test_data): New variable.
253 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
254 (yn_test_data): New variable.
255 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
257 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
259 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
261 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
262 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
264 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
266 * benchtests/Makefile (CPPFLAGS-nonlib): Add
267 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
268 (bench-deps): Add bench-timing.h.
269 * benchtests-bench-skeleton.c: Include bench-timing.h.
270 (main): Use TIMING_* macros instead of clock_gettime.
271 * benchtests/bench-timing.h: New file.
274 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
275 Renamed from _LIB_VERSION.
276 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
278 2013-05-12 Joseph Myers <joseph@codesourcery.com>
280 * math/libm-test.inc (struct test_fff_f_data): New type.
281 (RUN_TEST_LOOP_fff_f): New macro.
282 (fma_test_data): New variable.
283 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
284 (fma_towardzero_test_data): New variable.
285 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
286 (fma_downward_test_data): New variable.
287 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
288 (fma_upward_test_data): New variable.
289 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
291 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
292 (struct test_c_c_data): New type.
293 (RUN_TEST_LOOP_c_c): New macro.
294 (cacos_test_data): New variable.
295 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
296 (cacosh_test_data): New variable.
297 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
298 (casin_test_data): New variable.
299 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
300 (casinh_test_data): New variable.
301 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
302 (catan_test_data): New variable.
303 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
304 (catanh_test_data): New variable.
305 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
306 (ccos_test_data): New variable.
307 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
308 (ccosh_test_data): New variable.
309 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
310 (cexp_test_data): New variable.
311 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
312 (clog_test_data): New variable.
313 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
314 (clog10_test_data): New variable.
315 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
316 (conj_test_data): New variable.
317 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
318 (cproj_test_data): New variable.
319 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
320 (csin_test_data): New variable.
321 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
322 (csinh_test_data): New variable.
323 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
324 (csqrt_test_data): New variable.
325 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
326 (ctan_test_data): New variable.
327 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
328 (ctan_tonearest_test_data): New variable.
329 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
330 (ctan_towardzero_test_data): New variable.
331 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
332 (ctan_downward_test_data): New variable.
333 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
334 (ctan_upward_test_data): New variable.
335 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
336 (ctanh_test_data): New variable.
337 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
338 (ctanh_tonearest_test_data): New variable.
339 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
340 (ctanh_towardzero_test_data): New variable.
341 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
342 (ctanh_downward_test_data): New variable.
343 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
344 (ctanh_upward_test_data): New variable.
345 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
346 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
349 * math/libm-test.inc (struct test_ff_f_data): New type.
350 (struct test_ff_f_data_nexttoward): Likewise.
351 (RUN_TEST_LOOP_2_f): New macro.
352 (RUN_TEST_LOOP_ff_f): Likewise.
353 (atan2_test_data): New variable.
354 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
355 (copysign_test_data): New variable.
356 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
357 (fdim_test_data): New variable.
358 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
359 (fmax_test_data): New variable.
360 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
361 (fmin_test_data): New variable.
362 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
363 (fmod_test_data): New variable.
364 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
365 (hypot_test_data): New variable.
366 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
367 (nextafter_test_data): New variable.
368 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
369 (nexttoward_test_data): New variable.
370 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
371 (pow_test_data): New variable.
372 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
373 (pow_tonearest_test_data): New variable.
374 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
375 (pow_towardzero_test_data): New variable.
376 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
377 (pow_downward_test_data): New variable.
378 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
379 (pow_upward_test_data): New variable.
380 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
381 (remainder_test_data): New variable.
382 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
383 (scalb_test_data): New variable.
384 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
385 * sysdeps/i386/fpu/libm-test-ulps: Update.
387 2013-05-11 Joseph Myers <joseph@codesourcery.com>
389 * math/libm-test.inc (fma_test): Use max_value instead of local
391 (nextafter_test): Likewise.
393 * math/libm-test.inc (acos_towardzero_test_data): New variable.
394 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
395 (acos_downward_test_data): New variable.
396 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
397 (acos_upward_test_data): New variable.
398 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
399 (acosh_test_data): New variable.
400 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
401 (asin_test_data): New variable.
402 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
403 (asin_tonearest_test_data): New variable.
404 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
405 (asin_towardzero_test_data): New variable.
406 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
407 (asin_downward_test_data): New variable.
408 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
409 (asin_upward_test_data): New variable.
410 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
411 (asinh_test_data): New variable.
412 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
413 (atan_test_data): New variable.
414 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
415 (atanh_test_data): New variable.
416 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
417 (cbrt_test_data): New variable.
418 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
419 (ceil_test_data): New variable.
420 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
421 (cos_test_data): New variable.
422 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
423 (cos_tonearest_test_data): New variable.
424 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
425 (cos_towardzero_test_data): New variable.
426 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
427 (cos_downward_test_data): New variable.
428 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
429 (cos_upward_test_data): New variable.
430 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
431 (cosh_test_data): New variable.
432 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
433 (cosh_tonearest_test_data): New variable.
434 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
435 (cosh_towardzero_test_data): New variable.
436 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
437 (cosh_downward_test_data): New variable.
438 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
439 (cosh_upward_test_data): New variable.
440 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
441 (erf_test_data): New variable.
442 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
443 (erfc_test_data): New variable.
444 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
445 (exp_test_data): New variable.
446 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
447 (exp_tonearest_test_data): New variable.
448 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
449 (exp_towardzero_test_data): New variable.
450 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
451 (exp_downward_test_data): New variable.
452 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
453 (exp_upward_test_data): New variable.
454 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
455 (exp10_test_data): New variable.
456 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
457 (exp2_test_data): New variable.
458 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
459 (expm1_test_data): New variable.
460 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
461 (fabs_test_data): New variable.
462 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
463 (floor_test_data): New variable.
464 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
465 (j0_test_data): New variable.
466 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
467 (j1_test_data): New variable.
468 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
469 (log_test_data): New variable.
470 (log_test): Run tests with RUN_TEST_LOOP_f_f.
471 (log10_test_data): New variable.
472 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
473 (log1p_test_data): New variable.
474 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
475 (log2_test_data): New variable.
476 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
477 (logb_test_data): New variable.
478 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
479 (logb_downward_test_data): New variable.
480 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
481 (nearbyint_test_data): New variable.
482 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
483 (rint_test_data): New variable.
484 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
485 (rint_tonearest_test_data): New variable.
486 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
487 (rint_towardzero_test_data): New variable.
488 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
489 (rint_downward_test_data): New variable.
490 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
491 (rint_upward_test_data): New variable.
492 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
493 (round_test_data): New variable.
494 (round_test): Run tests with RUN_TEST_LOOP_f_f.
495 (sin_test_data): New variable.
496 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
497 (sin_tonearest_test_data): New variable.
498 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
499 (sin_towardzero_test_data): New variable.
500 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
501 (sin_downward_test_data): New variable.
502 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
503 (sin_upward_test_data): New variable.
504 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
505 (sinh_test_data): New variable.
506 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
507 (sinh_tonearest_test_data): New variable.
508 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
509 (sinh_towardzero_test_data): New variable.
510 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
511 (sinh_downward_test_data): New variable.
512 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
513 (sinh_upward_test_data): New variable.
514 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
515 (sqrt_test_data): New variable.
516 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
517 (tan_test_data): New variable.
518 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
519 (tan_tonearest_test_data): New variable.
520 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
521 (tan_towardzero_test_data): New variable.
522 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
523 (tan_downward_test_data): New variable.
524 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
525 (tan_upward_test_data): New variable.
526 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
527 (tanh_test_data): New variable.
528 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
529 (tgamma_test_data): New variable.
530 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
531 (trunc_test_data): New variable.
532 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
533 (y0_test_data): New variable.
534 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
535 (y1_test_data): New variable.
536 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
537 (significand_test_data): New variable.
538 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
540 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
543 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
545 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
547 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
549 2013-05-10 Andreas Jaeger <aj@suse.de>
552 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
553 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
555 2013-05-10 Joseph Myers <joseph@codesourcery.com>
557 * math/gen-libm-test.pl (adjust_arg): New function.
558 (special_functions): Handle generating output in both functions
560 (parse_args): Likewise.
561 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
562 $in_func argument to parse_args.
563 * math/libm-test.inc (struct test_f_f_data): New type.
564 (IF_ROUND_INIT_): New macro.
565 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
566 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
567 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
568 (IF_ROUND_INIT_FE_UPWARD): Likewise.
569 (ROUND_RESTORE_): Likewise.
570 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
571 (ROUND_RESTORE_FE_TONEAREST): Likewise.
572 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
573 (ROUND_RESTORE_FE_UPWARD): Likewise.
574 (RUN_TEST_LOOP_f_f): New macro.
575 (acos_test_data): New variable.
576 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
577 (acos_tonearest_test_data): New variable.
578 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
580 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
582 * benchtests/bench-skeleton.c (startup): Fix coding style.
584 2013-05-10 Joseph Myers <joseph@codesourcery.com>
587 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
588 negative infinity argument.
589 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
590 negative infinity argument.
591 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
592 negative infinity argument.
593 * math/libm-test.inc (tgamma_test): Expect errno to be set for
596 2013-05-10 Florian Weimer <fweimer@redhat.com>
598 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
599 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
600 * iconv/iconv_prog.c (main): Likewise.
601 * locale/programs/charmap-dir.c (charmap_readdir)
602 (fopen_uncompressed): Likewise.
603 * locale/programs/locfile.c (siblings_uncached)
604 (write_locale_data): Use lstat64 instead of lstat.
605 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
608 2013-05-10 Andreas Jaeger <aj@suse.de>
611 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
615 2013-05-09 Carlos O'Donell <carlos@redhat.com>
617 * elf/dl-close.c (_dl_close_worker): Add comments.
619 2013-05-09 Joseph Myers <joseph@codesourcery.com>
622 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
624 (__ieee754_rem_pio2l): Update comments.
627 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
629 (__ieee754_rem_pio2l): Update comments.
631 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
632 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
634 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
637 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
638 (M_PI_34_LOG10El): Likewise.
639 (M_PI2_LOG10El): Likewise.
640 (M_PI4_LOG10El): Likewise.
641 (M_PI_LOG10El): Likewise.
643 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
647 2013-05-08 Joseph Myers <joseph@codesourcery.com>
649 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
650 (MINUS_ZERO_INIT): Likewise.
651 (PLUS_INFTY_INIT): Likewise.
652 (MINUS_INFTY_INIT): Likewise.
653 (QNAN_VALUE_INIT): Likewise.
654 (MAX_VALUE_INIT): Likewise.
655 (MIN_VALUE_INIT): Likewise.
656 (MIN_SUBNORM_VALUE_INIT): Likewise.
657 (plus_zero): Initialize with PLUS_ZERO_INIT.
658 (minus_zero): Initialize with MINUS_ZERO_INIT.
659 (plus_infty): Initialize with PLUS_INFTY_INIT.
660 (minus_infty): Initialize with MINUS_INFTY_INIT.
661 (qnan_value): Initialize with QNAN_VALUE_INIT.
662 (max_value): Initialize with MAX_VALUE_INIT.
663 (min_value): Initialize with MIN_VALUE_INIT.
664 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
666 * math/libm-test.inc (RUN_TEST_if_f): New macro.
667 (jn_test): Use TEST_if_f instead of TEST_ff_f.
668 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
669 (yn_test): Use TEST_if_f instead of TEST_ff_f.
671 * math/libm-test.inc (RUN_TEST_f_f): New macro.
672 (RUN_TEST_2_f): Likewise.
673 (RUN_TEST_ff_f): Likewise.
674 (RUN_TEST_fi_f): Likewise.
675 (RUN_TEST_fl_f): Likewise.
676 (RUN_TEST_fff_f): Likewise.
677 (RUN_TEST_c_f): Likewise.
678 (RUN_TEST_f_f1): Likewise.
679 (RUN_TEST_fF_f1): Likewise.
680 (RUN_TEST_fI_f1): Likewise.
681 (RUN_TEST_ffI_f1): Likewise.
682 (RUN_TEST_c_c): Likewise.
683 (RUN_TEST_cc_c): Likewise.
684 (RUN_TEST_f_i): Likewise.
685 (RUN_TEST_f_i_tg): Likewise.
686 (RUN_TEST_ff_i_tg): Likewise.
687 (RUN_TEST_f_b): Likewise.
688 (RUN_TEST_f_b_tg): Likewise.
689 (RUN_TEST_f_l): Likewise.
690 (RUN_TEST_f_L): Likewise.
691 (RUN_TEST_sincos): Likewise.
692 * math/gen-libm-test.pl (new_test): Take new argument to indicate
693 whether to show exceptions. Do not include ");\n" in return
695 (special_functions): Output call to RUN_TEST_sincos instead of
696 check_float calls. Update calls to new_test.
697 (parse_args): Output call to single RUN_TEST_* macro instead of
698 check_* calls and other assignments. Update calls to new_test.
704 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
705 input to result for tgamma overflow.
706 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
707 (gamma_coeff): New variable.
709 (gamma_positive): New function.
710 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
711 underflow here. Use gamma_positive instead of exp (lgamma) for
713 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
714 (gamma_coeff): New variable.
716 (gammaf_positive): New function.
717 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
718 underflow here. Use gamma_positive instead of exp (lgamma) for
720 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
721 (gamma_coeff): New variable.
723 (gammal_positive): New function.
724 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
725 underflow here. Use gamma_positive instead of exp (lgamma) for
727 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
728 (gamma_coeff): New variable.
730 (gammal_positive): New function.
731 (__ieee754_gammal_r): Handle positive infinity, overflow and
732 underflow here. Handle NaN the same as positive infinity. Remove
733 check x < 0xffffffff for negative integers. Use gamma_positive
734 instead of exp (lgamma) for other arguments.
735 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
736 (gamma_coeff): New variable.
738 (gammal_positive): New function.
739 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
740 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
741 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
742 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
743 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
744 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
745 * sysdeps/generic/math_private.h (__gamma_productf): New
747 (__gamma_product): Likewise.
748 (__gamma_productl): Likewise.
749 * math/Makefile (libm-calls): Add gamma_product.
750 * math/libm-test.inc (tgamma_test): Add more tests.
751 * sysdeps/i386/fpu/libm-test-ulps: Update.
752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
754 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
756 * benchtests/bench-skeleton.c (main): Preheat CPU.
758 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
760 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
762 2013-05-07 Roland McGrath <roland@hack.frob.com>
764 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
765 and _dl_skip_args_internal.
767 2013-05-07 Carlos O'Donell <carlos@redhat.com>
769 * manual/message.texi (Message Translation): Talk about users.
770 Message to key mapping impacts design.
772 2013-05-06 Roland McGrath <roland@hack.frob.com>
774 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
776 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
778 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
779 * sysdeps/wordsize-64/glob64.c: ... here.
781 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
782 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
785 * debug/getlogin_r_chk.c: Moved to ...
786 * login/getlogin_r_chk.c: ... here.
787 * debug/Makefile (routines): Move getlogin_r_chk to ...
788 * login/Makefile (routines): ... here.
789 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
790 * login/Versions (libc: GLIBC_2.4): ... here.
792 * io/poll.c (__poll): Renamed from poll.
794 (poll): Define as weak alias.
796 * debug/ptsname_r_chk.c: Moved to ...
797 * login/ptsname_r_chk.c: ... here.
798 * debug/Makefile (routines): Move ptsname_r_chk to ...
799 * login/Makefile (routines): ... here.
800 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
801 * login/Versions (libc: GLIBC_2.4): ... here.
803 * posix/getlogin.c: Moved to ...
804 * login/getlogin.c: ... here.
805 * posix/getlogin_r.c: Moved to ...
806 * login/getlogin_r.c: ... here.
807 * posix/getlogin_r.c: Moved to ...
808 * login/getlogin_r.c: ... here.
809 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
810 * login/Makefile (routines): ... here.
811 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
812 * login/Versions (libc: GLIBC_2.0): ... here.
814 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
815 (setrlimit): Define as weak alias.
817 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
818 Call __ names for open, ftruncate, and close.
819 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
820 (truncate): Define as weak alias.
822 2013-05-06 Joseph Myers <joseph@codesourcery.com>
824 * math/gen-libm-test.pl (parse_args): Initialize x before each
825 test of frexp, modf and remquo.
827 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
830 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
834 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
836 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
838 2013-05-06 Roland McGrath <roland@hack.frob.com>
840 * elf/dl-writev.h: New file.
841 * elf/dl-misc.c: Include it.
842 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
843 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
845 2013-05-04 Joseph Myers <joseph@codesourcery.com>
847 * math/libm-test.inc (noXFails): Remove variable.
848 (noXPasses): Likewise.
849 (BUILD_COMPLEX_INT): Remove macro.
850 (print_screen): Remove xfail argument.
851 (print_screen_max_error): Likewise.
852 (update_stats): Likewise.
853 (print_max_error): Likewise. Update calls to other affected
855 (print_complex_max_error): Likewise.
856 (test_single_exception): Update calls to print_screen.
857 (test_single_errno): Likewise.
858 (check_float_internal): Remove xfail argument. Update calls to
859 other affected functions.
860 (check_float): Likewise.
861 (check_complex): Likewise.
862 (check_int): Likewise.
863 (check_long): Likewise.
864 (check_bool): Likewise.
865 (check_longlong): Likewise.
866 (main): Don't print noXFails and noXPasses.
867 * math/gen-libm-test.pl (top level): Don't mention expected
868 failure handling in comment.
869 (new_test): Don't handle expected failures.
870 (parse_args): Don't mention expected failure handling in comment.
871 (generate_testfile): Don't handle expected failures.
872 (parse_ulps): Likewise.
873 (print_ulps_file): Likewise.
874 (get_failure): Remove function.
875 (output_test): Don't handle expected failures.
876 * make/README.libm-test: Don't mention expected failure handling.
878 * math/libm-test.inc (plus_zero): Make const. Add initializer.
879 (minus_zero): Likewise.
880 (plus_infty): Likewise.
881 (minus_infty): Likewise.
882 (qnan_value): Likewise.
883 (max_value): Likewise.
884 (min_value): Likewise.
885 (min_subnorm_value): Likewise.
886 (initialize): Do not initialize those variables dynamically.
888 2013-05-03 Roland McGrath <roland@hack.frob.com>
890 * io/open.c (__open_2): Moved to ...
891 * io/open_2.c: ... this new file.
892 * io/open64.c (__open64_2): Moved to ...
893 * io/open64_2.c: ... this new file.
894 * io/openat.c (__openat_2): Moved to ...
895 * io/openat_2.c: ... this new file.
896 * io/openat64.c (__openat64_2): Moved to ...
897 * io/openat64_2.c: ... this new file.
898 * io/Makefile (routines): Add them.
899 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
900 * sysdeps/unix/sysv/linux/open_2.c: File removed.
901 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
902 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
903 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
904 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
905 (__openat64): Add hidden_ver.
906 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
907 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
909 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
910 Separately conditionalize setting of GLRO(dl_sysinfo) so
911 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
912 as well, but the actual setting is only under [NEED_DL_SYSINFO].
914 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
916 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
917 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
919 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
920 * sysdeps/unix/sysv/linux/powerpc/init-first.c
921 (_libc_vdso_platform_setup): Add __vdso_time initialization.
922 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
923 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
925 2013-05-03 Joseph Myers <joseph@codesourcery.com>
927 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
930 * math/libm-test.inc (hypot_test): Do not use
931 IGNORE_ZERO_INF_SIGN.
933 2013-05-03 Andreas Jaeger <aj@suse.de>
935 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
937 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
938 (PF_MAX): Adjust for VSOCK change.
940 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
942 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
944 2013-05-02 Carlos O'Donell <carlos@redhat.com>
947 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
948 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
949 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
951 2013-05-02 David S. Miller <davem@davemloft.net>
953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
955 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
957 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
959 2013-05-01 Roland McGrath <roland@hack.frob.com>
961 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
963 2013-05-01 Richard Smith <richard@metafoo.co.uk>
966 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
967 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
968 Use __attribute__ ((__gnu_inline__)).
969 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
970 Don't use __attribute__ ((__gnu_inline__)).
972 2013-05-01 Joseph Myers <joseph@codesourcery.com>
975 * math/s_catan.c (__catan): Handle small real or imaginary part of
976 input specially to avoid spurious underflow.
977 * math/s_catanf.c (__catanf): Likewise.
978 * math/s_catanh.c (__catanh): Likewise.
979 * math/s_catanhf.c (__catanhf): Likewise.
980 * math/s_catanhl.c (__catanhl): Likewise.
981 * math/s_catanl.c (__catanl): Likewise.
982 * math/libm-test.inc (catan_test): Add more tests.
983 (catanh_test): Likewise.
984 * sysdeps/i386/fpu/libm-test-ulps: Update.
985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
987 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
991 2013-04-30 Joseph Myers <joseph@codesourcery.com>
994 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
995 accurately for denominator in atan2.
996 * math/s_catanf.c (__catanf): Likewise.
997 * math/s_catanh.c (__catanh): Likewise.
998 * math/s_catanhf.c (__catanhf): Likewise.
999 * math/s_catanhl.c (__catanhl): Likewise.
1000 * math/s_catanl.c (__catanl): Likewise.
1001 * math/libm-test.inc (catan_test): Add more tests.
1002 (catanh_test): Likewise.
1003 * sysdeps/i386/fpu/libm-test-ulps: Update.
1004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1006 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1008 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
1010 * benchtests/Makefile (bench): Remove slow benchmarks.
1011 * benchtests/atan-inputs: Add slow benchmark inputs.
1012 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
1013 (BENCH_FUNC): Accept variant offset.
1015 * benchtests/bench-skeleton.c (main): Run benchmark for each
1017 * benchtests/cos-inputs: Add slow benchmark inputs.
1018 * benchtests/exp-inputs: Likewise.
1019 * benchtests/pow-inputs: Likewise.
1020 * benchtests/sin-inputs: Likewise.
1021 * benchtests/slowatan-inputs: Remove.
1022 * benchtests/slowatan.c: Remove.
1023 * benchtests/slowcos-inputs: Remove.
1024 * benchtests/slowcos.c: Remove.
1025 * benchtests/slowexp-inputs: Remove.
1026 * benchtests/slowexp.c: Remove.
1027 * benchtests/slowpow-inputs: Remove.
1028 * benchtests/slowpow.c: Remove.
1029 * benchtests/slowsin-inputs: Remove.
1030 * benchtests/slowsin.c: Remove.
1031 * benchtests/slowtan-inputs: Remove.
1032 * benchtests/slowtan.c: Remove.
1033 * benchtests/tan-inputs: Add slow benchmark inputs.
1034 * scripts/bench.pl: Parse comments and directives.
1036 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
1038 ($(objpfx)bench-%.c): Remove *-ITER.
1039 * benchtests/bench-modf.c: Remove definition of ITER.
1040 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
1041 (main): Loop for DURATION seconds instead of fixed number of
1043 * scripts/bench.pl: Don't expect iterations in parameters.
1045 2013-04-29 Roland McGrath <roland@hack.frob.com>
1047 * io/fchdir.c (__fchdir): Renamed from fchdir.
1048 (fchdir): Define as weak alias.
1050 2013-04-29 Joseph Myers <joseph@codesourcery.com>
1052 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
1053 (ERRNO_EDOM): Likewise.
1054 (ERRNO_ERANGE): Likewise.
1055 (noErrnoTests): New variable.
1056 (init_max_error): Set errno to 0.
1057 (test_single_errno): New function.
1058 (test_errno): Likewise.
1059 (check_float_internal): Call test_errno. Set errno to 0.
1060 (check_complex): Refer to errno tests in comment.
1061 (check_int): Call test_errno. Set errno to 0.
1062 (check_long): Likewise.
1063 (check_bool): Likewise.
1064 (check_longlong): Likewise.
1065 (cos_test): Use ERRNO_* flags for errno tests instead of
1067 (expm1_test): Likewise.
1068 (fmod_test): Likewise.
1069 (ilogb_test): Likewise.
1070 (lgamma_test): Likewise.
1071 (pow_test): Likewise.
1072 (remainder_test): Likewise.
1073 (sin_test): Likewise.
1074 (tan_test): Likewise.
1075 (yn_test): Likewise.
1076 (initialize): Set errno to 0.
1077 (main): Print number of errno tests.
1078 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
1080 2013-04-29 Andreas Jaeger <aj@suse.de>
1083 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
1087 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
1088 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
1092 * stdlib/random.c (__initstate): Return NULL if
1096 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
1097 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
1100 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1104 2013-04-29 Joseph Myers <joseph@codesourcery.com>
1106 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
1107 of individual tests.
1108 (casin_test): Likewise.
1109 (casinh_test): Likewise.
1111 2013-04-27 Joseph Myers <joseph@codesourcery.com>
1114 * math/s_catan.c (__catan): Handle arguments with large real or
1115 imaginary part separately without squaring.
1116 * math/s_catanf.c (__catanf): Likewise.
1117 * math/s_catanh.c (__catanh): Likewise.
1118 * math/s_catanhf.c (__catanhf): Likewise.
1119 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1121 (__catanhl): Handle arguments with large real or imaginary part
1122 separately without squaring.
1123 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1125 (__catanl): Handle arguments with large real or imaginary part
1126 separately without squaring.
1127 * math/libm-test.inc (catan_test): Add more tests.
1128 (catanh_test): Likewise.
1129 * sysdeps/i386/fpu/libm-test-ulps: Update.
1130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1132 2013-04-27 Andreas Jaeger <aj@suse.de>
1135 * stdlib/stdlib.h: Update guards for qecvt.
1136 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
1139 2013-04-27 Allan McRae <allan@archlinux.org>
1141 * sysdeps/i386/fpu/libm-test-ulps: Update.
1143 2013-04-26 Joseph Myers <joseph@codesourcery.com>
1146 * math/s_catan.c: Include <float.h>.
1147 (__catan): Ensure underflow exception occurs for underflowed
1149 * math/s_catanf.c: Include <float.h>.
1150 (__catanf): Ensure underflow exception occurs for underflowed
1152 * math/s_catanh.c: Include <float.h>.
1153 (__catanh): Ensure underflow exception occurs for underflowed
1155 * math/s_catanhf.c: Include <float.h>.
1156 (__catanhf): Ensure underflow exception occurs for underflowed
1158 * math/s_catanhl.c: Include <float.h>.
1159 (__catanhl): Ensure underflow exception occurs for underflowed
1161 * math/s_catanl.c: Include <float.h>.
1162 (__catanl): Ensure underflow exception occurs for underflowed
1164 * math/libm-test.inc (catan_test): Add more tests.
1165 (catanh_test): Likewise.
1168 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
1170 * math/s_ccoshf.c (__ccoshf): Likewise.
1171 * math/s_ccoshl.c (__ccoshl): Likewise.
1172 * math/s_csin.c (__csin): Likewise.
1173 * math/s_csinf.c (__csinf): Likewise.
1174 * math/s_csinh.c (__csinh): Likewise.
1175 * math/s_csinhf.c (__csinhf): Likewise.
1176 * math/s_csinhl.c (__csinhl): Likewise.
1177 * math/s_csinl.c (__csinl): Likewise.
1178 * math/libm-test.inc (ccos_test): Add more tests.
1179 (ccosh_test): Likewise.
1180 (csin_test): Likewise.
1181 (csinh_test): Likewise.
1183 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1185 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
1186 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
1187 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
1188 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
1189 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
1190 powerpc/power5+/fpu folders.
1191 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
1194 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1196 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1198 2013-04-25 Joseph Myers <joseph@codesourcery.com>
1200 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
1201 additions to variable.
1202 [$(config-machine) = x86_64] (modules-names): Likewise.
1203 ($(objpfx)tst-audit3): Remove dependency.
1204 ($(objpfx)tst-audit3.out): Likewise.
1205 ($(objpfx)tst-audit4): Likewise.
1206 ($(objpfx)tst-audit4.out): Likewise.
1207 ($(objpfx)tst-audit5): Likewise.
1208 ($(objpfx)tst-audit5.out): Likewise.
1209 ($(objpfx)tst-audit6): Likewise.
1210 ($(objpfx)tst-audit6.out): Likewise.
1211 ($(objpfx)tst-audit7): Likewise.
1212 ($(objpfx)tst-audit7.out): Likewise.
1213 (tst-audit3-ENV): Remove variable.
1214 (tst-audit4-ENV): Likewise.
1215 (tst-audit5-ENV): Likewise.
1216 (tst-audit6-ENV): Likewise.
1217 (tst-audit7-ENV): Likewise.
1218 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
1219 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
1220 addition to variable.
1221 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
1222 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
1223 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
1224 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
1225 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
1226 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
1227 tst-audit3, tst-audit4 and tst-audit5.
1228 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
1229 tst-audit6 and tst-audit7.
1230 [$(subdir) = elf] (modules-names): Add audit modules for those
1232 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
1233 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
1234 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
1235 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
1236 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
1237 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
1238 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
1239 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
1240 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
1241 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
1242 [$(subdir) = elf] (tst-audit3-ENV): New variable.
1243 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
1244 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
1245 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
1246 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
1247 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
1249 [$(subdir) = elf && $(config-cflags-avx) = yes]
1250 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
1251 [$(subdir) = elf && $(config-cflags-avx) = yes]
1252 (CFLAGS-tst-auditmod4a.c): Likewise.
1253 [$(subdir) = elf && $(config-cflags-avx) = yes]
1254 (CFLAGS-tst-auditmod4b.c): Likewise.
1255 [$(subdir) = elf && $(config-cflags-avx) = yes]
1256 (CFLAGS-tst-auditmod6b.c): Likewise.
1257 [$(subdir) = elf && $(config-cflags-avx) = yes]
1258 (CFLAGS-tst-auditmod6c.c): Likewise.
1259 [$(subdir) = elf && $(config-cflags-avx) = yes]
1260 (CFLAGS-tst-auditmod7b.c): Likewise.
1261 * elf/tst-audit3.c: Move to ...
1262 * sysdeps/x86_64/tst-audit3.c: ... here.
1263 * elf/tst-audit4.c: Move to ...
1264 * sysdeps/x86_64/tst-audit4.c: ... here.
1265 * elf/tst-audit5.c: Move to ...
1266 * sysdeps/x86_64/tst-audit5.c: ... here.
1267 * elf/tst-audit6.c: Move to ...
1268 * sysdeps/x86_64/tst-audit6.c: ... here.
1269 * elf/tst-audit7.c: Move to ...
1270 * sysdeps/x86_64/tst-audit7.c: ... here.
1271 * elf/tst-auditmod3a.c: Move to ...
1272 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
1273 * elf/tst-auditmod3b.c: Move to ...
1274 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
1275 * elf/tst-auditmod4a.c: Move to ...
1276 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
1277 * elf/tst-auditmod4b.c: Move to ...
1278 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
1279 * elf/tst-auditmod5a.c: Move to ...
1280 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
1281 * elf/tst-auditmod5b.c: Move to ...
1282 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
1283 * elf/tst-auditmod6a.c: Move to ...
1284 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
1285 * elf/tst-auditmod6b.c: Move to ...
1286 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
1287 * elf/tst-auditmod6c.c: Move to ...
1288 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
1289 * elf/tst-auditmod7a.c: Move to ...
1290 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
1291 * elf/tst-auditmod7b.c: Move to ...
1292 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
1294 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
1297 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
1298 define unconditionally.
1299 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
1300 define unconditionally.
1301 (INT8_C, INT16_C, etc.): Likewise.
1303 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
1305 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
1306 __ehdr_start with hidden visibility.
1308 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
1310 2013-04-24 Carlos O'Donell <carlos@redhat.com>
1312 * math/libm-test.inc (cos_test): Use accurate hex constants.
1313 (sincost_test): Likewise.
1315 2013-04-24 Joseph Myers <joseph@codesourcery.com>
1317 * math/libm-test.inc (catan_test): Add more tests.
1318 (catanh_test): Likewise.
1320 * math/s_catanf.c (__catanf): Use suffixed floating-point
1322 * math/s_catanhf.c (__catanhf): Likewise.
1323 * math/s_catanhl.c (__catanhl): Likewise.
1324 * math/s_catanl.c (__catanl): Likewise.
1327 * math/s_catan.c (__catan): Calculate imaginary part of result
1328 with log1p not log unless computing log of number close to 0.
1329 * math/s_catanf.c (__catanf): Likewise.
1330 * math/s_catanl.c (__catanl): Likewise.
1331 * math/s_catanh.c (__catanh): Calculate real part of result with
1332 log1p not log unless computing log of number close to 0.
1333 * math/s_catanhf.c (__catanhf): Likewise.
1334 * math/s_catanhl.c (__catanhl): Likewise.
1335 * math/libm-test.inc (catan_test): Add more tests.
1336 (catanh_test): Likewise.
1337 * sysdeps/i386/fpu/libm-test-ulps: Update.
1338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1340 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1342 * benchtests/Makefile: Mention files in which fast and slow
1343 paths of math functions are implemented.
1345 2013-04-23 Roland McGrath <roland@hack.frob.com>
1347 * sysdeps/posix/timespec_get.c: New file.
1349 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1351 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
1353 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
1355 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
1356 powerpc/power5/fpu folders.
1357 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
1358 * benchtests/Makefile: Add modf testcase.
1359 * benchtests/bench-modf.c: New file: Benchmark test for mo
1361 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1364 * time/Makefile (tests): Add tst-strptime-whitespace.
1365 * time/strptime_l.c (get_number): Use ISSPACE.
1366 (__strptime_internal): Likewise.
1367 * time/tst-strptime-whitespace.c: New test case.
1369 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
1371 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
1373 (_nss_files_init): Set it here.
1375 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
1377 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
1378 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
1381 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
1383 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
1385 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1387 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
1390 2013-04-21 David S. Miller <davem@davemloft.net>
1392 * po/ru.po: Update Russion translation from translation project.
1394 2013-04-17 Adam Conrad <adconrad@0c3.net>
1396 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
1399 2013-04-17 Carlos O'Donell <carlos@redhat.com>
1401 * configure.in: Remove i386 configure warning. Remove i386 case.
1402 * configure: Regenerate.
1403 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
1404 Add example to error message.
1405 * sysdeps/i386/configure: Regenerate.
1407 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1409 * benchtests/Makefile (bench): Add cos, tan, slowcos and
1411 * benchtests/cos-inputs: New file.
1412 * benchtests/slowcos-inputs: New file.
1413 * benchtests/slowcos.c: New file.
1414 * benchtests/slowtan-inputs: New file.
1415 * benchtests/slowtan.c: New file.
1416 * benchtests/tan-inputs: New file.
1418 2013-04-16 Roland McGrath <roland@hack.frob.com>
1420 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
1423 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1425 * benchtests/Makefile: Include cppflags-iterator.mk to add
1426 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
1428 * Makefile.in (bench-clean): New target.
1429 * benchtests/Makefile (bench-clean): Likewise.
1431 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
1433 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
1435 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
1437 * stdio-common/tstdiomisc.c: Fix coding-style violation.
1439 2013-04-15 Andreas Schwab <schwab@suse.de>
1441 * nscd/grpcache.c (cache_addgr): Properly check for short write.
1442 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1443 * nscd/pwdcache.c (cache_addpw): Likewise.
1444 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
1447 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1449 * benchtests/Makefile (bench): Write all output to
1450 bench-out.tmp together.
1452 2013-04-15 Andreas Schwab <schwab@suse.de>
1454 * nscd/nscd.c (main): Don't fork again after closing files.
1456 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1458 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
1460 * benchtests/Rules (bench-deps): Collect dependencies into a
1461 single variable. Add Makefile to dependencies.
1462 ($(objpfx)bench-%.c): Depend on bench-deps.
1464 2013-04-12 Roland McGrath <roland@hack.frob.com>
1465 Xavier Roche <roche+kml2@exalead.com>
1468 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
1469 just that it's a file descriptor.
1470 * manual/llio.texi (Synchronizing AIO Operations): Update description
1471 for EBADF error from aio_fsync.
1473 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1475 * Rules (bench): Move target definition...
1476 * benchtests/Makefile: ... here.
1478 2013-04-11 Carlos O'Donell <carlos@redhat.com>
1480 * math/libm-test.inc (cos_test): Fix PI/2 test.
1481 (sincos_test): Likewise.
1482 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1483 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
1485 2013-04-11 Andreas Schwab <schwab@suse.de>
1488 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
1489 accept exponent character only when digits were seen.
1490 * stdio-common/Makefile (tests): Add bug26.
1491 * stdio-common/bug26.c: New file.
1494 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
1497 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1499 * Makeconfig (rtld-prefix): Define built linker prefix.
1500 * Rules (run-bench): Use it.
1501 * math/Makefile (run-regen-ulps): Likewise.
1503 * Rules (bench): Remove eval.
1505 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1506 Roland McGrath <roland@hack.frob.com>
1507 Ondrej Bilka <neleai@seznam.cz>
1510 * time/getdate.c: Include ctype.h and alloca.h.
1511 (__getdate_r): Trim leading and trailing spaces of input.
1512 * time/tst-getdate.c (tests): Add tests with leading and
1515 2013-04-08 Roland McGrath <roland@hack.frob.com>
1518 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
1519 when computing value.
1521 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1523 * math/README.libm-test (How can I generate "libm-test-ulps"?):
1524 Use testrun.sh to run libm tests.
1527 * elf/dl-open.c (dl_open_worker): memset all of seen array.
1529 2013-04-06 Marko Myllynen <myllynen@redhat.com>
1532 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
1534 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1536 * Makefile.in (regen-ulps): New target.
1537 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
1538 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
1539 [ifneq (no,$(PERL)] (regen-ulps): New target.
1540 [ifeq (no,$(PERL)] (regen-ulps): New target.
1541 * math/libm-test.inc (ulps_file_name): Define.
1542 (output_dir): New variable.
1543 (options): Add "output-dir" option.
1544 (parse_opt): Handle 'o' case.
1545 (main): If output_dir is non-NULL use it as a prefix
1547 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
1549 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1552 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
1553 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
1554 fail configure if __sync_val_compare_and_swap is not inlined.
1555 * sysdeps/i386/configure: Regenerate.
1556 * configure.in: Build for i686 when configured for i386.
1557 * configure: Regenerate.
1558 * README: Remove i386 reference.
1560 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1562 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
1563 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1565 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
1567 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
1568 (lmsnanval): New variables.
1569 (F): Add conversion tests.
1570 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
1571 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
1573 * stdio-common/tstdiomisc.c (F): Properly collect individual
1577 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
1578 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
1579 Instead, use input NaN values or generate a qNaN by arithmetic
1580 operation. Also fix bugs to comply with the standard.
1581 * math/libm-test.inc (remainder_test): Add more tests.
1584 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
1585 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
1586 input NaN values or generate a qNaN by arithmetic operation.
1588 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
1591 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
1594 2013-04-03 Joseph Myers <joseph@codesourcery.com>
1597 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
1599 * math/s_cexpf.c (__cexpf): Likewise.
1600 * math/s_cexpl.c (__cexpl): Likewise.
1601 * math/libm-test.inc (cexp_test): Add more tests.
1603 2013-04-03 Andreas Schwab <schwab@suse.de>
1606 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
1607 order arrays from heap if bigger than alloca cutoff.
1609 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
1611 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
1612 (SNAN_TESTS_double): Refer to GCC PR56831.
1613 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
1616 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1618 * Rules (bench): Move bench.out after the run is complete.
1620 * Rules (bench): Echo currently running benchmark.
1622 * benchtests/Makefile (bench): Add atan and slowatan.
1623 * benchtests/atan-inputs: New file.
1624 * benchtests/slowatan-inputs: New file.
1625 * benchtests/slowatan.c: New file.
1627 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
1628 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
1632 * sysdeps/unix/sysv/linux/kernel-features.h
1633 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
1634 __ASSUME_XFS_RESTRICTED_CHOWN.
1635 * sysdeps/unix/sysv/linux/pathconf.c
1636 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1637 Save and restore errno.
1639 2013-04-02 Joseph Myers <joseph@codesourcery.com>
1642 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
1643 arguments using __kernel_casinh.
1644 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
1645 arguments using __kernel_casinhf.
1646 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
1647 arguments using __kernel_casinhl.
1648 * math/libm-test.inc (cacosh_test): Add more tests.
1649 * sysdeps/i386/fpu/libm-test-ulps: Update.
1650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1652 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1654 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
1655 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
1657 * bench/Makefile (bench): Add sin and slowsin.
1658 * benchtests/sin-inputs: New file.
1659 * benchtests/slowsin-inputs: New file.
1660 * benchtests/slowsin.c: New file.
1662 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
1663 (bench): Add slowexp and slowpow.
1664 (exp-ITER): Increase iterations.
1665 (pow-ITER): Likewise.
1666 * benchtests/exp-inputs: Change input.
1667 * benchtests/pow-inputs: Likewise.
1668 * benchtests/slowexp-inputs: New file.
1669 * benchtests/slowexp.c: New file.
1670 * benchtests/slowpow-inputs: New file.
1671 * benchtests/slowpow.c: New file.
1673 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1675 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
1677 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1678 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1679 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1680 * benchtests/Makefile: Add rint benchtest.
1681 * benchtests/rint-inputs: Input for rint benchtest.
1683 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
1685 * Versions.def (libm): Add GLIBC_2.18.
1686 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
1687 hidden libm prototypes.
1688 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
1689 * math/Makefile (libm-calls): Add s_issignaling.
1690 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
1691 __issignalingf, __issignalingl. Adjust all libm.abilist files.
1692 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
1694 * math/math.h [__USE_GNU] (issignaling): New macro.
1695 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
1696 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
1697 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
1698 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
1699 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1700 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
1701 * manual/arith.texi (issignaling): New section.
1702 * manual/libm-err-tab.pl (@all_functions): Update comment.
1703 * math/gen-libm-test.pl (parse_args): Apply special handling for
1705 * math/libm-test.inc (print_float, issignaling_test): New
1707 (check_float_internal): Add issignaling checks.
1708 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
1710 * sysdeps/powerpc/math-tests.h: New file.
1711 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
1713 * math/test-snan.c (TEST_FUNC): Likewise.
1715 2013-03-30 David S. Miller <davem@davemloft.net>
1717 * po/de.po: Update from translation team.
1719 2013-03-30 Joseph Myers <joseph@codesourcery.com>
1722 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1723 imaginary part less than 1.0 and real part less than 0.5
1725 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1726 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1727 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
1728 (cacos_test): Add more tests.
1729 (casin_test): Likewise.
1730 (casinh_test): Likewise.
1731 * sysdeps/i386/fpu/libm-test-ulps: Update.
1732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1734 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1736 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
1739 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
1740 (__pow_mp): Replace ONE and MONE with their values.
1741 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1742 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
1743 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1744 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
1745 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1746 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1748 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
1750 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
1751 (__pow_mp): Replace ZERO and MZERO with their values.
1752 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1753 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1754 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1755 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1756 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1757 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
1760 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
1762 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
1764 2013-03-28 Roland McGrath <roland@hack.frob.com>
1766 * include/stdlib.h [!SHARED] (__call_tls_dtors):
1767 Declare with __attribute__ ((weak)).
1768 * stdlib/exit.c (__libc_atexit) [!SHARED]:
1769 Call __call_tls_dtors only if it's not NULL.
1771 2013-03-28 Roland McGrath <roland@hack.frob.com>
1773 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
1774 didn't do it already, then set _dl_phdr and _dl_phnum based on the
1775 magic __ehdr_start linker symbol if it's defined.
1776 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
1777 them up here if it was already done.
1779 * elf/dl-support.c (_dl_phdr): Make pointer to const.
1780 (_dl_aux_init): Use const in cast when setting it.
1781 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
1782 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
1783 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
1785 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
1787 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
1788 * csu/libc-tls.c: Nor here.
1789 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
1791 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
1792 (__libc_message): Never call vsyslog.
1794 2013-03-28 Alan Modra <amodra@gmail.com>
1796 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
1798 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
1801 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1804 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
1806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1808 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1811 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1812 Don't add gid passed as argument.
1814 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1816 2013-03-27 Joseph Myers <joseph@codesourcery.com>
1819 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1820 imaginary part between 1.0 and 1.5 and real part less than 0.5
1822 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1823 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1824 * math/libm-test.inc (cacos_test): Add more tests.
1825 (casin_test): Likewise.
1826 (casinh_test): Likewise.
1827 * sysdeps/i386/fpu/libm-test-ulps: Update.
1828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1830 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1832 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1836 (__dbl_mp): Likewise.
1837 (add_magnitudes): Likewise.
1838 (sub_magnitudes): Likewise.
1846 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1848 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1849 (__dubcos): Likewise.
1850 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1851 (__ieee754_acos): Likewise.
1852 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1853 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1855 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1856 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1858 (my_log2): Likewise.
1859 (checkint): Likewise.
1860 * sysdeps/ieee754/dbl-64/e_remainder.c
1861 (__ieee754_remainder): Likewise.
1862 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1863 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1865 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1867 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1868 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1869 MANTISSA_STORE_T to store computations on mantissa. Use
1870 macros for rounding and division.
1872 (__dbl_mp): Likewise.
1873 (add_magnitudes): Likewise.
1874 (sub_magnitudes): Likewise.
1877 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1878 powers of two in terms of TWOPOW macro.
1879 (mp_no): Make type of mantissa as MANTISSA_T.
1880 [!RADIXI]: Define RADIXI.
1881 [!TWO52]: Define TWO52.
1882 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1884 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1886 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1887 llroundl symbol when building for PPC32.
1889 2013-03-24 Mark H Weaver <mhw@netris.org>
1891 * manual/arith.texi (Normalization Functions): Fix prototypes for
1892 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1894 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1897 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1898 high value to check if expl overflow.
1899 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1900 to check for underflow and overflow.
1901 * math/libm-test.inc: Add exp test.
1903 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
1906 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1909 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1911 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1914 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1916 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1917 wrap blocks consisting of several statements.
1919 * sysdeps/generic/math-tests.h: New file.
1920 * sysdeps/i386/fpu/math-tests.h: Likewise.
1921 * math/test-snan.c: Include it.
1922 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1924 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1927 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1928 (__ieee754_j0l): Do not improve calculations using cos of twice
1929 input for inputs above LDBL_MAX / 2.0L.
1930 (__ieee754_y0l): Likewise.
1931 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1932 (__ieee754_j1l): Do not improve calculations using cos of twice
1933 input for inputs above LDBL_MAX / 2.0L.
1934 (__ieee754_y1l): Likewise.
1935 * math/libm-test.inc (j0_test): Add another test.
1936 (j1_test): Likewise.
1937 (y0_test): Likewise.
1938 (y1_test): Likewise.
1939 * sysdeps/i386/fpu/libm-test-ulps: Update.
1941 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1943 * Rules ($(objpfx)bench-%.c): Include code from a C source
1946 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1949 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1950 imaginary part 1.0 and real part less than 0.5 specially.
1951 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1952 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1953 * math/libm-test.inc (cacos_test): Add more tests.
1954 (casin_test): Likewise.
1955 (casinh_test): Likewise.
1956 * sysdeps/i386/fpu/libm-test-ulps: Update.
1957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1959 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1961 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1962 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1964 2013-03-20 Joseph Myers <joseph@codesourcery.com>
1966 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1967 * config.make.in (config-cflags-sse4): Remove variable.
1968 (config-cflags-avx): Likewise.
1969 (config-cflags-sse2avx): Likewise.
1970 (config-cflags-novzeroupper): Likewise.
1971 (config-asflags-i686): Likewise.
1972 (have-mfma4): Likewise.
1973 (have-as-vis3): Likewise.
1975 * configure.in (MIG): Do not AC_SUBST.
1976 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1977 (libc_cv_cc_sse4): Do not AC_SUBST.
1978 (libc_cv_cc_avx): Likewise.
1979 (libc_cv_cc_sse2avx): Likewise.
1980 (libc_cv_cc_novzeroupper): Likewise.
1981 (libc_cv_cc_fma4): Likewise.
1982 (libc_cv_as_i686): Likewise.
1983 (libc_cv_sparc_as_vis3): Likewise.
1984 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1986 (config-asflags-i686): Likewise.
1987 (config-cflags-avx): Likewise.
1988 (config-cflags-sse2avx): Likewise.
1989 (have-mfma4): Likewise.
1990 (config-cflags-novzeroupper): Likewise.
1991 * sysdeps/mach/configure.in (MIG): Likewise.
1992 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1993 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1995 (config-cflags-avx): Likewise.
1996 (config-cflags-sse2avx): Likewise.
1997 (have-mfma4): Likewise.
1998 (config-cflags-novzeroupper): Likewise.
1999 * configure: Regenerated.
2000 * sysdeps/i386/configure: Likewise.
2001 * sysdeps/mach/configure: Likewise.
2002 * sysdeps/sparc/configure: Likewise.
2003 * sysdeps/x86_64/configure: Likewise.
2005 2013-03-20 Roland McGrath <roland@hack.frob.com>
2008 * locale/programs/localedef.c (options): Put N_ translation marker
2009 on argument names, not just descriptions.
2011 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2013 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
2015 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
2018 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
2020 2013-03-19 Roland McGrath <roland@hack.frob.com>
2022 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
2023 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
2024 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
2025 [!BEFORE_ABORT] (before_abort): New function.
2026 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
2027 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
2028 (writev_for_fatal): New function.
2029 (WRITEV_FOR_FATAL): New macro; call that.
2030 (backtrace_and_maps): New function.
2031 (BEFORE_ABORT): New macro; call that.
2032 (struct str_list): Type removed.
2033 (__libc_message, __libc_fatal): Functions removed.
2034 Include <sysdeps/posix/libc_fatal.c> instead.
2036 2013-03-19 Joseph Myers <joseph@codesourcery.com>
2038 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
2040 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
2043 2013-03-19 Andreas Schwab <schwab@suse.de>
2045 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
2046 * sysdeps/gnu/configure: Regenerate.
2048 * configure.in: Substitute libc_cv_rtlddir.
2049 * configure: Regenerate.
2050 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
2051 * Makeconfig (rtlddir, inst_rtlddir): New variables.
2052 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
2053 * elf/Makefile (install-others, CFLAGS-interp.c)
2054 (ldso_install, common-ldd-rewrite): Likewise.
2055 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
2056 $(inst_slibdir)/$(rtld-installed-name).
2057 * scripts/rellns-sh: Add -p option.
2058 * Makerules (make-shlib-link): Use rellns-sh to get relative name
2061 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2063 * manual/nptl.texi: Renamed to ...
2064 * manual/threads.texi: ... this.
2065 * manual/Makefile (chapters): Update.
2067 2013-03-18 Roland McGrath <roland@hack.frob.com>
2070 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
2071 on argument names, not just descriptions.
2072 * malloc/memusagestat.c (options): Likewise.
2073 * nss/getent.c (options): Likewise.
2075 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
2078 * iconv/iconv_prog.c (options): Put N_ translation marker
2079 on argument names, not just descriptions.
2080 * iconv/iconvconfig.c (options): Likewise.
2082 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
2084 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
2085 implementation which is faster on all x86_64 architectures.
2086 Tested on AMD, Intel Nehalem, SNB, IVB.
2087 * sysdeps/x86_64/strnlen.S: Likewise.
2089 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2090 Remove all multiarch strlen and strnlen versions.
2091 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2092 Remove strlen and strnlen related parts.
2094 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
2096 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2098 * sysdeps/x86_64/multiarch/strlen.S: Remove.
2099 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
2100 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
2101 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
2102 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2103 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
2105 2013-03-17 Carlos O'Donell <carlos@redhat.com>
2107 * manual/memory.texi (Malloc Tunable Parameters):
2108 Sort parameters alphabetically. Add comments for missing entries.
2110 2013-03-17 David S. Miller <davem@davemloft.net>
2112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2114 2013-03-16 Joseph Myers <joseph@codesourcery.com>
2117 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
2118 for arguments at most half maximum finite value.
2119 * math/libm-test.inc (j0_test): Add more tests.
2120 (j1_test): Likewise.
2121 (y0_test): Likewise.
2122 (y1_test): Likewise.
2123 * sysdeps/i386/fpu/libm-test-ulps: Update.
2124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2127 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
2128 1 / x and functions P and Q for arguments above 0x1p256L.
2129 (__ieee754_y0l): Likewise.
2130 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
2131 (__ieee754_y1l): Likewise.
2132 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
2133 (j1_test): Likewise.
2134 (y0_test): Likewise.
2135 (y1_test): Likewise.
2137 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
2139 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
2142 2013-03-15 Roland McGrath <roland@hack.frob.com>
2144 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
2145 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
2146 zero since it's initialized to EXEC_PAGESIZE.
2148 * sysdeps/unix/sysv/linux/ldsodefs.h
2149 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
2150 * sysdeps/generic/ldsodefs.h: ... here.
2152 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
2154 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
2156 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
2158 * math/test-snan.c: Renamed from
2159 sysdeps/powerpc/fpu/test-powerpc-snan.c.
2160 * math/Makefile (tests): Add test-snan.
2161 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
2164 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
2165 SUFFIX. Initialize qNaN_var with __builtin_nan family of
2167 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
2168 __builtin_nan family of functions.
2169 * math/libm-test.inc (initialize): Initialize qnan_value with
2170 __builtin_nan family of functions.
2171 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
2173 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
2175 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
2176 storage class. Initialize qNaN_var and sNaN_var with
2177 __builtin_nan and __builtin_nans families of functions,
2180 * math/libm-test.inc (acosh_test): Also test with qNaN input.
2181 (sqrt_test): Remove duplicate test with qNaN input.
2182 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
2183 (round_test, signbit_test, significand_test): Note missing +/-Inf
2184 as well as qNaN tests.
2186 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
2187 qNaN_var. Fix a few strings, too.
2188 * math/libm-test.inc (nan_value): Rename to qnan_value.
2189 * math/gen-libm-test.pl (%beautify): Adjust to that.
2190 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
2191 * math/test-misc.c (main): Likewise.
2192 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
2193 to __qnan_bytes, and __qnan_union, respectively.
2194 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
2196 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
2197 and lqnanval, respectively.
2198 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
2199 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
2200 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
2201 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
2203 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
2204 * math/test-misc.c (main) [__x86_64__]: Enable test for long
2207 * math/test-misc.c (main): Fix copy'n'pastos.
2208 * misc/tst-efgcvt.c (special): Likewise.
2210 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
2211 Remove declarations.
2213 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2215 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
2216 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
2217 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
2218 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
2220 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2222 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
2223 macro to return vdso values correctly in IFUNC implementations.
2224 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2225 Optimization by using IFUNC.
2227 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2228 Richard Henderson <rth@redhat.com>
2229 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2231 * Makefile.in (bench): New target.
2232 * NEWS: Mention the benchmark framework.
2233 * Rules (bench): Likewise.
2234 (binaries-bench): Generate binaries for functions to
2236 * benchtests/Makefile: New makefile for benchmark tests.
2237 * benchtests/bench-skeleton.c: New skeleton file for benchmark
2239 * benchtests/exp-inputs: New input file for EXP function.
2240 * benchtests/pow-inputs: New input file for POW function.
2241 * scripts/bench.pl: New script to generate source files for
2244 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2246 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
2247 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
2248 computations on mantissa. Use macros for rounding and
2251 (__dbl_mp): Likewise.
2252 (add_magnitudes): Likewise.
2253 (sub_magnitudes): Likewise.
2256 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
2257 powers of two in terms of TWOPOW macro.
2258 (mp_no): Make type of mantissa as MANTISSA_T.
2259 [!RADIXI]: Define RADIXI.
2260 [!TWO52]: Define TWO52.
2261 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
2263 * manual/nptl.texi (cindex): Modify threads to pthreads.
2265 2013-03-15 Joseph Myers <joseph@codesourcery.com>
2267 * sysdeps/x86_64/preconfigure: Regenerated.
2269 2013-03-14 Joseph Myers <joseph@codesourcery.com>
2272 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
2274 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
2275 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
2277 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
2278 * math/libm-test.inc (j0_test): Do not allow one spurious
2279 underflow exception.
2280 (y1_test): Likewise.
2282 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2284 * manual/Makefile (chapters): Add nptl.
2285 * manual/debug.texi (Debugging Support): Add link to Threads
2287 * manual/nptl.texi: New file.
2289 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
2291 2013-03-14 Petr Baudis <pasky@ucw.cz>
2293 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
2294 for non-NULL pointer before the memory validity test. Pointed
2295 out by Holger Brunck <holger.brunck@keymile.com>.
2297 2013-03-13 Andreas Schwab <schwab@suse.de>
2299 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
2302 2013-03-13 Joseph Myers <joseph@codesourcery.com>
2304 * timezone/zic.c: Update from tzcode 2013b.
2306 2013-03-12 Carlos O'Donell <carlos@redhat.com>
2308 * manual/install.texi (Configuring and compiling):
2309 Mention i686 and i586.
2310 * INSTALL: Regenerate.
2312 2013-03-12 Roland McGrath <roland@hack.frob.com>
2314 * sysdeps/init_array/elf-init.c: New file.
2316 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
2317 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
2319 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
2320 __gmon_start__ as global, but as static with a .preinit_array pointer.
2321 * sysdeps/init_array/gmon-start.c: New file. Use that.
2322 * sysdeps/init_array/crti.S: New file, empty except for comments.
2323 * sysdeps/init_array/crtn.S: Likewise.
2325 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
2327 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
2329 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2330 Remove Prefer_SSE_for_memop.
2331 * sysdeps/x86_64/multiarch/init-arch.h: Remove
2332 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
2333 HAS_PREFER_SSE_FOR_MEMOP.
2334 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2336 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2337 Remove bzero, memset ifunc support.
2338 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
2339 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
2340 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2341 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2343 2013-03-11 Andreas Schwab <schwab@suse.de>
2346 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
2348 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
2349 (GLIBC_2.16): Remove pthread_atfork.
2351 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2353 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
2354 (ptestcases.h): Likewise.
2356 2013-03-08 Roland McGrath <roland@hack.frob.com>
2358 * Makeconfig ($(common-objpfx)config.status): Depend on
2359 sysdeps/*/preconfigure{,.in} too.
2361 2013-03-08 Joseph Myers <joseph@codesourcery.com>
2363 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
2364 (__free_hook): Use void * instead of __malloc_ptr_t.
2365 (__malloc_hook): Likewise.
2366 (__realloc_hook): Likewise.
2367 (__memalign_hook): Likewise.
2368 (__after_morecore_hook): Likewise.
2369 * malloc/arena.c (save_malloc_hook): Likewise.
2370 (save_free_hook): Likewise.
2371 * malloc/hooks.c (malloc_hook_ini): Likewise.
2372 (realloc_hook_ini): Likewise.
2373 (memalign_hook_ini): Likewise.
2374 * malloc/malloc.c (malloc_hook_ini): Likewise.
2375 (realloc_hook_ini): Likewise.
2376 (memalign_hook_ini): Likewise.
2377 (__free_hook): Likewise.
2378 (__malloc_hook): Likewise.
2379 (__realloc_hook): Likewise.
2380 (__memalign_hook): Likewise.
2381 (__libc_malloc): Likewise.
2382 (__libc_free): Likewise.
2383 (__libc_realloc): Likewise.
2384 (__libc_memalign): Likewise.
2385 (__libc_valloc): Likewise.
2386 (__libc_pvalloc): Likewise.
2387 (__libc_calloc): Likewise.
2388 (__posix_memalign): Likewise.
2389 * malloc/morecore.c (__sbrk): Likewise.
2390 (__default_morecore): Likewise.
2392 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
2394 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
2395 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
2398 * malloc/malloc.h (__malloc_size_t): Remove macro.
2399 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
2401 (old_memalign_hook): Likewise.
2402 (old_realloc_hook): Likewise.
2403 (struct hdr): Likewise.
2405 (mallochook): Likewise.
2406 (memalignhook): Likewise.
2407 (reallochook): Likewise.
2408 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
2409 (tr_old_realloc_hook): Likewise.
2410 (tr_old_memalign_hook): Likewise.
2411 (tr_mallochook): Likewise.
2412 (tr_reallochook): Likewise.
2413 (tr_memalignhook): Likewise.
2415 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2417 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
2418 default_ldbl_pack and using as default implementation.
2419 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
2421 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
2422 redundant definition.
2423 (ldbl_insert_mantissa): Likewise.
2424 (ldbl_canonicalize): Likewise.
2425 (ldbl_nearbyint): Likewise.
2426 (ldbl_pack): Rename to ldbl_pack_ppc.
2427 (ldbl_unpack): Rename to ldbl_unpack_ppc.
2428 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
2429 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
2431 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2433 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
2434 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
2435 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
2436 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
2437 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
2438 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
2439 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
2440 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
2442 2013-03-07 Andreas Jaeger <aj@suse.de>
2444 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2447 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2449 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
2450 Include mpa.h and declare __MPEXP.
2451 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
2452 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2453 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2454 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
2455 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2456 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2457 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
2459 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
2460 (__slowpow): Use long double EXPL and LOGL functions to
2462 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2463 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2464 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
2465 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2466 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2467 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
2469 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
2470 intermediate variable to calculate exponent.
2472 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2476 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
2477 [!NO__SQR]: Define __sqr.
2478 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
2479 and NO__SQR. Remove all code except __mul and __sqr. Include
2480 sysdeps/ieee754/dbl-64/mpa.c.
2481 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2484 * posix/Makefile (tests): Add tst-pathconf.
2485 * posix/tst-pathconf.c: New test case.
2486 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
2488 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
2490 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
2492 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
2494 2013-03-06 Andreas Jaeger <aj@suse.de>
2496 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
2497 definition via __MAP_ANONYMOUS.
2499 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
2500 it's not part of Linux headers.
2502 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
2503 (MAP_HUGE_MASK): Define.
2505 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2507 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2508 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2510 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2511 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2513 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2514 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
2516 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2518 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
2519 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
2520 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
2521 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
2522 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
2523 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
2525 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
2528 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2529 Handle f2fs and efivarfs.
2531 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
2534 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
2535 (EFIVARFS_MAGIC): Add.
2536 (F2FS_LINK_MAX): Add.
2538 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2540 * stdio-common/vfprintf.c: Replace __builtin_expect with
2543 2013-03-06 Joseph Myers <joseph@codesourcery.com>
2546 * sysdeps/generic/bp-sym.h: Remove file.
2547 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
2548 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
2549 <bp-sym.h> and <bp-asm.h>.
2550 (__longjmp): Don't use BP_SYM.
2551 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
2553 (memcpy): Don't use BP_SYM.
2554 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
2555 <bp-sym.h> and <bp-asm.h>.
2556 (memcpy): Don't use BP_SYM.
2557 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
2559 (memcpy): Don't use BP_SYM.
2560 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
2562 (memset): Don't use BP_SYM.
2563 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2564 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2565 (__bzero): Don't use BP_SYM.
2566 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2567 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2568 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
2569 <bp-sym.h> and <bp-asm.h>.
2570 (memcmp): Don't use BP_SYM. Remove comment about bounded
2572 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
2573 <bp-sym.h> and <bp-asm.h>.
2574 (memcpy): Don't use BP_SYM.
2575 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
2576 <bp-sym.h> and <bp-asm.h>.
2577 (memset): Don't use BP_SYM.
2578 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2579 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2580 (__bzero): Don't use BP_SYM.
2581 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2582 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2583 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
2584 <bp-sym.h> and <bp-asm.h>.
2585 (strncmp): Don't use BP_SYM. Remove comment about bounded
2587 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
2588 <bp-sym.h> and <bp-asm.h>.
2589 (memcpy): Don't use BP_SYM.
2590 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
2591 <bp-sym.h> and <bp-asm.h>.
2592 (memset): Don't use BP_SYM.
2593 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2594 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2595 (__bzero): Don't use BP_SYM.
2596 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2597 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2598 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
2599 <bp-sym.h> and <bp-asm.h>.
2600 (__memchr): Don't use BP_SYM.
2601 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
2602 <bp-sym.h> and <bp-asm.h>.
2603 (memcmp): Don't use BP_SYM. Remove comment about bounded
2605 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
2606 <bp-sym.h> and <bp-asm.h>.
2607 (memcpy): Don't use BP_SYM.
2608 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
2609 <bp-sym.h> and <bp-asm.h>.
2610 (__mempcpy): Don't use BP_SYM.
2611 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
2612 <bp-sym.h> and <bp-asm.h>.
2613 (__memrchr): Don't use BP_SYM.
2614 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
2615 <bp-sym.h> and <bp-asm.h>.
2616 (memset): Don't use BP_SYM.
2617 (__bzero): Likewise.
2618 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
2619 <bp-sym.h> and <bp-asm.h>.
2620 (__rawmemchr): Don't use BP_SYM.
2621 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
2622 <bp-sym.h> and <bp-asm.h>.
2623 (__STRCMP): Don't use BP_SYM.
2624 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
2625 <bp-sym.h> and <bp-asm.h>.
2626 (strchr): Don't use BP_SYM.
2627 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
2628 <bp-sym.h> and <bp-asm.h>.
2629 (__strchrnul): Don't use BP_SYM.
2630 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
2631 <bp-sym.h> and <bp-asm.h>.
2632 (strlen): Don't use BP_SYM.
2633 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
2634 <bp-sym.h> and <bp-asm.h>.
2635 (strncmp): Don't use BP_SYM. Remove comment about bounded
2637 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
2638 <bp-sym.h> and <bp-asm.h>.
2639 (__strnlen): Don't use BP_SYM.
2640 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
2641 <bp-sym.h> and <bp-asm.h>.
2642 (__GI__setjmp): Don't use BP_SYM.
2643 (_setjmp): Likewise.
2644 (__sigsetjmp): Likewise.
2645 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
2646 (L(start_addresses)): Don't use BP_SYM.
2648 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
2650 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
2651 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
2652 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2653 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2654 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
2656 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
2657 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
2658 about bounded pointers.
2659 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2660 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2661 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
2663 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2664 about bounded pointers. Remove GKM FIXME comments.
2665 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2666 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
2668 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
2669 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
2670 Remove GKM FIXME comments.
2671 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2672 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2673 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
2675 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2676 about bounded pointers. Remove GKM FIXME comment.
2677 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
2679 (strncmp): Don't use BP_SYM. Remove comment about bounded
2681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
2682 <bp-sym.h> and <bp-asm.h>.
2683 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
2685 <bp-sym.h> and <bp-asm.h>.
2686 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2689 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2691 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
2694 2013-03-05 David S. Miller <davem@davemloft.net>
2696 * po/es.po: Update from translation team.
2698 2013-03-05 Andreas Jaeger <aj@suse.de>
2700 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
2701 <bits/mman-linux.h>.
2702 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2704 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
2705 <bits/mman-linux.h> to end of file.
2706 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2708 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
2709 <bits/mman-linux.h> to end of file.
2710 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2712 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
2713 <bits/mman-linux.h> to end of file.
2715 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
2716 (MCL_CURRENT, MCL_FUTURE): Define here.
2718 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2721 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
2723 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2725 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2727 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
2728 fourth parameter needed for rt_sigprocmask syscall.
2729 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2730 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2731 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2732 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2733 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2734 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
2736 2013-03-04 Joseph Myers <joseph@codesourcery.com>
2739 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
2740 comment about bounded pointers.
2741 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
2742 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
2744 2013-03-04 Andreas Jaeger <aj@suse.de>
2746 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
2749 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
2750 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
2751 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
2752 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2753 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
2754 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2756 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2759 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2760 __ieee754_sqrl instead of __sqrl.
2762 2013-03-01 Joseph Myers <joseph@codesourcery.com>
2764 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
2765 * sysdeps/powerpc/fpu_control.h: ... here.
2766 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
2767 * sysdeps/powerpc/bits/fenvinline.h: ... here.
2768 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
2769 * sysdeps/powerpc/bits/mathinline.h: ... here.
2771 2013-03-01 Roland McGrath <roland@hack.frob.com>
2773 * elf/dl-hwcaps.c (_dl_important_hwcaps):
2774 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
2775 to just [NEED_DL_SYSINFO_DSO].
2776 * elf/dl-support.c: Likewise.
2777 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2778 * elf/rtld.c (dl_main): Likewise.
2779 * elf/setup-vdso.h (setup_vdso): Likewise.
2780 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
2781 * sysdeps/unix/sysv/linux/dl-sysdep.c
2782 (_dl_discover_osversion): Likewise.
2784 2013-03-01 Carlos O'Donell <carlos@redhat.com>
2786 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
2787 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2789 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2791 * NEWS: Mention libm performance improvements and non-x86 PI
2794 * csu/libc-start.c (__pthread_initialize_minimal): Change
2796 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2798 2013-02-28 Joseph Myers <joseph@codesourcery.com>
2801 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
2802 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
2803 <bp-sym.h> and <bp-asm.h>.
2804 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2805 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
2807 (memcpy): Don't use BP_SYM.
2808 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
2810 (__mpn_add_n): Don't use BP_SYM.
2811 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
2812 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
2814 (__mpn_addmul_1): Don't use BP_SYM.
2815 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2816 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2818 (_setjmp): Don't use BP_SYM.
2819 (__novmx_setjmp): Likewise.
2820 (__GI__setjmp): Likewise.
2821 (__vmx_setjmp): Likewise.
2822 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2824 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2825 (__bzero): Don't use BP_SYM.
2826 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2827 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2828 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2829 <bp-sym.h> and <bp-asm.h>.
2830 (memcpy): Don't use BP_SYM.
2831 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
2832 <bp-sym.h> and <bp-asm.h>.
2833 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2834 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
2835 <bp-sym.h> and <bp-asm.h>.
2836 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2837 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2839 (__mpn_lshift): Don't use BP_SYM.
2840 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2841 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2843 (memset): Don't use BP_SYM.
2844 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2845 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2846 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2848 (__mpn_mul_1): Don't use BP_SYM.
2849 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2850 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2851 <bp-sym.h> and <bp-asm.h>.
2852 (memcmp): Don't use BP_SYM.
2853 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2854 <bp-sym.h> and <bp-asm.h>.
2855 (memcpy): Don't use BP_SYM.
2856 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2857 <bp-sym.h> and <bp-asm.h>.
2858 (memset): Don't use BP_SYM.
2859 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2860 <bp-sym.h> and <bp-asm.h>.
2861 (strncmp): Don't use BP_SYM.
2862 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2863 <bp-sym.h> and <bp-asm.h>.
2864 (memcpy): Don't use BP_SYM.
2865 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2866 <bp-sym.h> and <bp-asm.h>.
2867 (memset): Don't use BP_SYM.
2868 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2869 <bp-sym.h> and <bp-asm.h>.
2870 (__memchr): Don't use BP_SYM.
2871 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2872 <bp-sym.h> and <bp-asm.h>.
2873 (memcmp): Don't use BP_SYM.
2874 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2875 <bp-sym.h> and <bp-asm.h>.
2876 (memcpy): Don't use BP_SYM.
2877 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2878 <bp-sym.h> and <bp-asm.h>.
2879 (__mempcpy): Don't use BP_SYM.
2880 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2881 <bp-sym.h> and <bp-asm.h>.
2882 (__memrchr): Don't use BP_SYM.
2883 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2884 <bp-sym.h> and <bp-asm.h>.
2885 (memset): Don't use BP_SYM.
2886 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2887 <bp-sym.h> and <bp-asm.h>.
2888 (__rawmemchr): Don't use BP_SYM.
2889 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2890 <bp-sym.h> and <bp-asm.h>.
2891 (__STRCMP): Don't use BP_SYM.
2892 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2893 <bp-sym.h> and <bp-asm.h>.
2894 (strchr): Don't use BP_SYM.
2895 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2896 <bp-sym.h> and <bp-asm.h>.
2897 (__strchrnul): Don't use BP_SYM.
2898 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2899 <bp-sym.h> and <bp-asm.h>.
2900 (strlen): Don't use BP_SYM.
2901 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2902 <bp-sym.h> and <bp-asm.h>.
2903 (strncmp): Don't use BP_SYM.
2904 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2905 <bp-sym.h> and <bp-asm.h>.
2906 (__strnlen): Don't use BP_SYM.
2907 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2909 (__mpn_rshift): Don't use BP_SYM.
2910 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2911 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2912 <bp-sym.h> and <bp-asm.h>.
2913 (__sigsetjmp): Don't use BP_SYM.
2914 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2915 (L(start_addresses)): Don't use BP_SYM.
2917 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2919 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2920 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2921 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2922 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2924 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2925 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2926 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2927 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2929 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2931 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2932 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2934 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2936 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2937 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2938 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2940 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2942 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2944 (strncmp): Don't use BP_SYM,
2945 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2947 (__mpn_sub_n): Don't use BP_SYM.
2948 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2949 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2951 (__mpn_submul_1): Don't use BP_SYM.
2952 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2954 <bp-sym.h> and <bp-asm.h>.
2955 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2957 <bp-sym.h> and <bp-asm.h>.
2958 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2961 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2963 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2964 Use ZK to minimize writes to Z.
2965 (sub_magnitudes): Simplify code a bit.
2966 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2967 Use ZK to minimize writes to Z.
2968 (sub_magnitudes): Simplify code a bit.
2970 2013-02-27 Roland McGrath <roland@hack.frob.com>
2972 * csu/gmon-start.c: Add special exception to license text.
2974 2013-02-27 Richard Henderson <rth@redhat.com>
2976 * scripts/config.guess: Update from config.git.
2977 * scripts/config.sub: Likewise.
2979 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2981 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2983 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2985 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2987 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2989 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2991 2013-02-26 Roland McGrath <roland@hack.frob.com>
2993 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2994 [$(build-shared = yes].
2996 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2998 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2999 (__mul): Reduce iterations for calculating mantissa.
3001 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
3003 (__mpranred): Likewise.
3006 * malloc/memusagestat.c (main): Draw graphs for heap and stack
3007 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
3009 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
3011 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
3012 Define __attribute__.
3014 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3016 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
3018 * posix/regex_internal.h (__attribute): Remove.
3019 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
3020 (re_string_context_at): Likewise.
3021 (bitset_not): Use __attribute__ and mark function as possibly
3023 (bitset_merge): Likewise.
3024 (bitset_mask): Likewise.
3025 (re_string_char_size_at): Likewise.
3026 (re_string_wchar_at): Likewise.
3027 (re_string_elem_size_at): Likewise.
3029 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3031 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
3035 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
3040 (__dbl_mp): Likewise.
3041 (add_magnitudes): Likewise.
3042 (sub_magnitudes): Likewise.
3046 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
3049 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
3052 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
3055 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
3056 up changes with default code.
3057 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
3060 2013-02-24 Allan McRae <allan@archlinux.org>
3062 * manual/socket.texi (The Internet Namespace): Order menu items
3063 to match that in the file.
3065 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
3066 node listing of the info page menu.
3068 2013-02-21 Joseph Myers <joseph@codesourcery.com>
3071 * sysdeps/i386/bp-asm.h: Remove file.
3072 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
3073 (PARMS): Do not use macros from bp-asm.h.
3077 (__mpn_add_n): Do not use BP_SYM
3078 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
3080 (PARMS): Do not use macros from bp-asm.h.
3083 (__mpn_addmul_1): Do not use BP_SYM
3084 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
3086 (PARMS): Do not use macros from bp-asm.h.
3088 (_setjmp): Likewise. Do not use BP_SYM.
3089 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
3091 (PARMS): Do not use macros from bp-asm.h.
3093 (setjmp): Likewise. Do not use BP_SYM.
3094 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
3096 (PARMS): Do not use macros from bp-asm.h.
3097 (__frexp): Do not use BP_SYM.
3099 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
3101 (PARMS): Do not use macros from bp-asm.h.
3102 (__frexpf): Do not use BP_SYM.
3104 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
3106 (PARMS): Do not use macros from bp-asm.h.
3107 (__frexpl): Do not use BP_SYM.
3109 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
3111 (PARMS): Do not use macros from bp-asm.h.
3112 (__remquo): Do not use BP_SYM.
3114 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
3116 (PARMS): Do not use macros from bp-asm.h.
3117 (__remquof): Do not use BP_SYM.
3118 (remquof): Likewise.
3119 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
3121 (PARMS): Do not use macros from bp-asm.h.
3122 (__remquol): Do not use BP_SYM.
3123 (remquol): Likewise.
3124 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
3126 (PARMS): Do not use macros from bp-asm.h.
3129 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
3130 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
3132 (PARMS): Do not use macros from bp-asm.h.
3133 (strlen): Do not use BP_SYM.
3134 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
3136 (PARMS): Do not use macros from bp-asm.h.
3140 (__mpn_add_n): Do not use BP_SYM.
3141 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
3143 (PARMS): Do not use macros from bp-asm.h.
3146 (__mpn_addmul_1): Do not use BP_SYM.
3147 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
3150 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
3152 (PARMS): Do not use macros from bp-asm.h.
3155 (__mpn_lshift): Do not use BP_SYM.
3156 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
3158 (PARMS): Do not use macros from bp-asm.h.
3162 (memcpy): Likewise. Do not use BP_SYM.
3163 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
3164 libc_hidden_def and weak_alias.
3165 (mempcpy): Do not use BP_SYM in weak_alias.
3166 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
3168 (PARMS): Do not use macros from bp-asm.h.
3171 [!BZERO_P] (CHR): Likewise.
3172 (memset): Likewise. Do not use BP_SYM.
3173 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
3175 (PARMS): Do not use macros from bp-asm.h.
3178 (__mpn_mul_1): Do not use BP_SYM.
3179 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
3181 (PARMS): Do not use macros from bp-asm.h.
3184 (__mpn_rshift): Do not use BP_SYM.
3185 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
3187 (PARMS): Do not use macros from bp-asm.h.
3190 (strchr): Likewise. Do not use BP_SYM.
3191 (index): Do not use BP_SYM in weak_alias.
3192 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
3194 (PARMS): Do not use macros from bp-asm.h.
3197 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
3198 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
3200 (PARMS): Do not use macros from bp-asm.h.
3201 (strlen): Do not use BP_SYM.
3202 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
3204 (PARMS): Do not use macros from bp-asm.h.
3208 (__mpn_sub_n): Do not use BP_SYM.
3209 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
3211 (PARMS): Do not use macros from bp-asm.h.
3214 (__mpn_submul_1): Do not use BP_SYM.
3215 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
3217 (PARMS): Do not use macros from bp-asm.h.
3221 (__mpn_add_n): Do not use BP_SYM.
3222 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
3225 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
3227 (PARMS): Do not use macros from bp-asm.h.
3230 (memcmp): Do not use BP_SYM.
3231 (bcmp): Do not use BP_SYM in weak_alias.
3232 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
3234 (PARMS): Do not use macros from bp-asm.h.
3238 (memcpy): Likewise. Do not use BP_SYM.
3239 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
3241 (PARMS): Do not use macros from bp-asm.h.
3245 (memmove): Likewise. Do not use BP_SYM.
3246 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
3248 (PARMS): Do not use macros from bp-asm.h.
3252 (__mempcpy): Likewise. Do not use BP_SYM.
3253 (mempcpy): Do not use BP_SYM in weak_alias.
3254 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
3256 (PARMS): Do not use macros from bp-asm.h.
3259 [!BZERO_P] (CHR): Likewise.
3260 (memset): Likewise. Do not use BP_SYM.
3261 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
3263 (PARMS): Do not use macros from bp-asm.h.
3265 (strcmp): Do not use BP_SYM.
3266 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
3268 (PARMS): Do not use macros from bp-asm.h.
3271 [USE_AS_STRTOK_R] (SAVE): Likewise.
3272 (FUNCTION): Likewise. Do not use BP_SYM.
3273 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
3275 (strtok_r): Likewise.
3276 (__GI___strtok_r): Likewise.
3277 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3278 (PARMS): Do not use macros from bp-asm.h.
3281 (__mpn_lshift): Do not use BP_SYM.
3282 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3283 (PARMS): Do not use macros from bp-asm.h.
3286 (__memchr): Do not use BP_SYM.
3287 (memchr): Do not use BP_SYM in weak_alias.
3288 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3289 (PARMS): Do not use macros from bp-asm.h.
3292 (memcmp): Do not use BP_SYM.
3293 (bcmp): Do not use BP_SYM in weak_alias.
3294 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
3295 (PARMS): Do not use macros from bp-asm.h.
3298 (__mpn_mul_1): Do not use BP_SYM.
3299 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
3301 (PARMS): Do not use macros from bp-asm.h.
3304 (__rawmemchr): Do not use BP_SYM.
3305 (rawmemchr): Do not use BP_SYM in weak_alias.
3306 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3307 (PARMS): Do not use macros from bp-asm.h.
3310 (__mpn_rshift): Do not use BP_SYM.
3311 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3312 (PARMS): Do not use macros from bp-asm.h.
3314 (__sigsetjmp): Likewise. Do not use BP_SYM.
3315 * sysdeps/i386/start.S: Do not include "bp-sym.h".
3316 (_start): Do not use BP_SYM.
3317 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
3318 (PARMS): Do not use macros from bp-asm.h.
3321 (__stpcpy): Likewise. Do not use BP_SYM.
3322 (stpcpy): Do not use BP_SYM in weak_alias.
3323 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
3325 (PARMS): Do not use macros from bp-asm.h.
3329 (__stpncpy): Likewise. Do not use BP_SYM.
3330 (stpncpy): Do not use BP_SYM in weak_alias.
3331 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3332 (PARMS): Do not use macros from bp-asm.h.
3335 (strchr): Likewise. Do not use BP_SYM.
3336 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
3338 (PARMS): Do not use macros from bp-asm.h.
3341 (__strchrnul): Likewise. Do not use BP_SYM.
3342 (strchrnul): Do not use BP_SYM in weak_alias.
3343 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
3345 (PARMS): Do not use macros from bp-asm.h.
3347 (strcspn): Do not use BP_SYM.
3348 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
3350 (PARMS): Do not use macros from bp-asm.h.
3353 (strpbrk): Likewise. Do not use BP_SYM.
3354 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
3356 (PARMS): Do not use macros from bp-asm.h.
3359 (strrchr): Likewise. Do not use BP_SYM.
3360 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
3361 (PARMS): Do not use macros from bp-asm.h.
3363 (strspn): Do not use BP_SYM.
3364 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
3365 (PARMS): Do not use macros from bp-asm.h.
3369 (FUNCTION): Likewise. Do not use BP_SYM.
3370 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
3372 (strtok_r): Likewise.
3373 (__GI___strtok_r): Likewise.
3374 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
3375 (PARMS): Do not use macros from bp-asm.h.
3379 (__mpn_sub_n): Do not use BP_SYM.
3380 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
3382 (PARMS): Do not use macros from bp-asm.h.
3385 (__mpn_submul_1): Do not use BP_SYM.
3386 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
3388 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
3390 (PARMS): Do not use macros from bp-asm.h.
3395 (__clone): Do not use BP_SYM.
3396 (clone): Do not use BP_SYM in weak_alias.
3397 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
3399 (PARMS): Do not use macros from bp-asm.h.
3401 (__mmap64): Do not use BP_SYM.
3402 (mmap64): Do not use BP_SYM in weak_alias.
3403 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3404 <bp-sym.h> and <bp-asm.h>.
3405 (PARMS): Do not use macros from bp-asm.h.
3406 (__posix_fadvise64_l64): Do not use BP_SYM.
3407 * sysdeps/unix/sysv/linux/i386/semtimedop.S
3408 (PARMS): Do not use macros from bp-asm.h.
3410 (semtimedop): Do not use BP_SYM.
3411 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
3414 2013-02-21 Allan McRae <allan@archlinux.org>
3416 * manual/message.texi (Charset conversion in gettext):
3417 Move @end statement to beginning of line.
3419 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3421 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
3423 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3426 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
3428 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
3429 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
3431 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3433 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
3434 tail-call to the resolved function if pltexit isn't needed.
3436 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3438 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
3439 or Y being zero as being unlikely.
3440 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3443 2013-02-20 Carlos O'Donell <carlos@redhat.com>
3445 * manual/nss.texi (System Databases and Name Service Switch):
3446 Remove frobnicate @pxref.
3448 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3450 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3451 __attribute__ ((unused)) to __attribute__ ((__unused__)).
3453 2013-02-20 Petr Machata <pmachata@redhat.com>
3455 * elf/elf.h (R_ARM_TARGET1): New macro.
3456 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
3457 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
3458 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
3459 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
3460 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
3461 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
3462 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
3463 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
3464 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
3465 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
3466 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
3467 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
3468 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
3469 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
3470 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
3471 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
3472 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
3473 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
3474 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
3475 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
3476 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
3477 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
3478 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
3479 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
3480 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
3481 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
3482 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
3483 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
3484 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
3485 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
3486 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
3487 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
3488 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
3489 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
3490 (R_ARM_THM_GOT_BREL12): Likewise.
3491 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
3492 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
3493 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
3494 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
3495 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
3496 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
3497 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
3498 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
3499 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
3501 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3503 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3504 __attribute_used__ to __attribute__ ((unused)).
3506 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3508 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
3510 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
3512 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
3514 2013-02-19 Joseph Myers <joseph@codesourcery.com>
3517 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
3519 (ENTER): Remove both macro definitions.
3521 (CHECK_BOUNDS_LOW): Likewise.
3522 (CHECK_BOUNDS_HIGH): Likewise.
3523 (CHECK_BOUNDS_BOTH): Likewise.
3524 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
3525 (RETURN_BOUNDED_POINTER): Likewise.
3526 (RETURN_NULL_BOUNDED_POINTER): Likewise.
3527 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
3528 (POP_ERRNO_LOCATION_RETURN): Likewise.
3529 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
3530 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3531 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
3533 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3534 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
3535 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
3536 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
3537 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
3538 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
3539 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
3540 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
3541 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
3542 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
3543 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
3544 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
3545 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3546 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
3548 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3549 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
3551 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3552 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
3553 * sysdeps/i386/i586/memset.S (memset): Likewise.
3554 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
3555 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3556 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
3558 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3559 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
3560 Change uses of L(2) to L(out).
3561 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
3562 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
3563 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
3564 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3565 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
3567 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3568 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
3570 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3571 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
3572 (RETURN): Do not use macro LEAVE.
3573 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
3574 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
3575 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
3576 * sysdeps/i386/i686/memset.S (memset): Likewise.
3577 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
3578 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
3579 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3580 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
3582 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3583 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
3584 L(1_2) and L(1_3) into L(1).
3585 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3586 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
3587 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3588 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
3589 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3590 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
3591 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
3592 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3593 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
3595 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
3596 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3597 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
3598 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
3599 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
3600 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3601 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
3602 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
3603 * sysdeps/i386/strcspn.S (strcspn): Likewise.
3604 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
3605 * sysdeps/i386/strrchr.S (strrchr): Likewise.
3606 * sysdeps/i386/strspn.S (strspn): Likewise.
3607 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
3609 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3610 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
3611 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3612 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
3614 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
3615 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3616 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
3618 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3620 2013-02-19 Jakub Jelinek <jakub@redhat.com>
3622 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
3625 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3627 * math/atest-exp.c (exp_mpn): Remove ROUND.
3628 * math/atest-exp2.c (exp_mpn): Likewise.
3629 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
3631 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
3632 * stdlib/tst-tls-atexit-lib.c: Likewise.
3633 * stdlib/tst-tls-atexit.c: Likewise.
3635 2013-02-18 Mike Frysinger <vapier@gentoo.org>
3637 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
3638 and __attribute_alloc_size__.
3640 2013-02-18 Mike Frysinger <vapier@gentoo.org>
3642 * include/programs/xmalloc.h: Change __attribute_alloc_size to
3643 __attribute_alloc_size__.
3644 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
3645 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
3647 2013-02-18 Mike Frysinger <vapier@gentoo.org>
3649 * include/programs/xmalloc.h: New file.
3650 * catgets/gencat.c: Include it.
3651 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
3652 * elf/pldd.c: Likewise.
3653 * iconv/iconv_charmap.c: Likewise.
3654 * iconv/iconvconfig.c: Likewise.
3655 * iconv/strtab.c: Likewise.
3656 * locale/programs/locale.c: Likewise.
3657 * locale/programs/localedef.h: Likewise.
3658 * locale/programs/simple-hash.c: Likewise.
3659 * nscd/nscd.h: Likewise.
3660 * nss/makedb.c: Likewise.
3661 * sysdeps/generic/ldconfig.h: Likewise.
3663 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3665 * Versions.def: Add GLIBC_2.18.
3666 * include/link.h (struct link_map): New member l_tls_dtor_count.
3667 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
3668 (__call_tls_dtors): Likewise.
3669 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
3670 __cxa_thread_atexit_impl.
3671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3679 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
3682 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
3684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3685 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3687 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
3688 (tests): Add test case tst-tls-atexit.
3689 (modules-names): Add shared library for tst-tls-atexit.
3690 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
3691 (GLIBC_PRIVATE): Add __call_tls_dtors.
3692 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
3694 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
3695 * stdlib/tst-tls-atexit.c: New test case.
3696 * stdlib/tst-tls-atexit-lib.c: New test case.
3698 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
3700 * elf/Versions (ld): Add _dl_find_dso_for_object.
3701 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
3702 * elf/dl-open.c (_dl_find_dso_for_object): New function.
3703 (dl_open_worker): Use _dl_find_dso_for_object.
3704 * elf/dl-sym.c (do_sym): Likewise.
3705 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
3707 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3709 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
3710 Syntactic changes only.
3711 (_dl_runtime_profile): Do a tail-call to the resolved function.
3713 2013-02-17 Joseph Myers <joseph@codesourcery.com>
3716 * sysdeps/x86_64/bp-asm.h: Remove file.
3717 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
3718 <bp-sym.h> and <bp-asm.h>.
3719 (__clone): Do not use BP_SYM.
3720 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
3721 <bp-sym.h> and <bp-asm.h>.
3722 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3723 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
3725 (_setjmp): Do not use BP_SYM.
3726 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
3728 (setjmp): Do not use BP_SYM.
3729 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
3731 (mempcpy): Do not use BP_SYM in weak_alias.
3732 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
3734 (strchr): Do not use BP_SYM.
3735 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
3737 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
3738 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
3739 (_start): Do not use BP_SYM.
3740 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
3742 (strcat): Do not use BP_SYM.
3743 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
3745 (STRCMP): Do not use BP_SYM.
3746 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
3748 (STRCPY): Do not use BP_SYM.
3749 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
3751 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
3753 (FUNCTION): Do not use BP_SYM.
3754 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
3756 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
3758 2013-02-17 Andreas Jaeger <aj@suse.de>
3760 * time/Versions: Sort entries.
3761 * string/Versions: Likewise.
3762 * resolv/Versions: Likewise.
3763 * posix/Versions: Likewise.
3764 * iconv/Versions: Likewise.
3765 * elf/Versions: Likewise.
3766 * wcsmbs/Versions: Likewise.
3768 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3770 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
3771 loop termination condition.
3773 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
3774 variable to calculate EZ.
3777 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
3778 the lower precision input.
3780 2013-02-15 Joseph Myers <joseph@codesourcery.com>
3783 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
3784 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
3785 (run-via-rtld-prefix): Do not handle %-bp tests.
3786 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
3787 (all-object-suffixes): Remove .ob.
3788 (bppfx): Remove variable.
3789 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
3790 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
3791 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
3792 [$(build-bounded) = yes] (libtype.ob): Likewise.
3793 * Makerules (elide-routines.ob): Remove variable.
3794 (do-tests-clean): Do not handle *-bp.out.
3795 (common-mostlyclean): Do not handle *-bp and *-bp.out.
3796 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
3797 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
3798 (tests): Do not include $(tests-bp.out).
3799 (xtests): Do not include $(xtests-bp.out).
3800 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
3801 [$(build-bounded) = yes] ($(addprefix
3802 $(objpfx),$(binaries-bounded))): Remove rule.
3803 ($(objpfx)%-bp.out): Remove rule.
3804 * config.make.in (build-bounded): Remove variable.
3805 * crypt/Makefile [$(build-bounded) = yes]
3806 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
3807 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
3809 [$(build-bounded) = yes] (install-lib): Likewise.
3810 [$(build-bounded) = yes] (generated): Likewise.
3811 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
3813 * intl/Makefile [$(build-bounded) = yes]
3814 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3815 * math/Makefile [$(build-bounded) = yes]
3816 ($(tests:%=$(objpfx)%-bp): Likewise.
3817 * misc/Makefile [$(build-bounded) = yes]
3818 ($(objpfx)tst-tsearch-bp): Likewise.
3819 * nptl/Makeconfig (bounded-thread-library): Remove variable.
3820 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3822 * string/Makefile (o-objects.ob): Remove variable.
3823 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3824 (CFLAGS-.ob): Remove variable.
3825 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3826 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3827 both definitions of variable.
3828 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3829 (ASFLAGS-.ob): Remove variable.
3831 2013-02-14 Joseph Myers <joseph@codesourcery.com>
3834 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3835 Remove __BOUNDED_POINTERS__ from condition.
3836 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3837 * string/bits/string2.h [!__NO_STRING_INLINES &&
3838 !__BOUNDED_POINTERS__]: Likewise.
3839 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3841 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3842 Remove conditional code.
3843 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3844 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3845 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3849 * csu/libc-start.c: Do not include <bp-sym.h>.
3850 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3851 * elf/dl-open.c: Do not include <bp-sym.h>.
3852 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3853 * math/fegetenv.c: Do not include <bp-sym.h>.
3854 (fegetenv): Do not use BP_SYM in versioned symbols.
3855 * nptl/sysdeps/pthread/bits/libc-lockP.h
3856 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3858 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3859 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3860 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3861 (__pthread_mutex_destroy): Likewise.
3862 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3863 (__pthread_mutex_lock): Likewise.
3864 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3865 (__pthread_mutex_trylock): Likewise.
3866 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3867 (__pthread_mutex_unlock): Likewise.
3868 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3869 (__pthread_mutexattr_init): Likewise.
3870 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3871 (__pthread_mutexattr_destroy): Likewise.
3872 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3873 (__pthread_mutexattr_settype): Likewise.
3874 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3875 (__pthread_rwlock_init): Likewise.
3876 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3877 (__pthread_rwlock_destroy): Likewise.
3878 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3879 (__pthread_rwlock_rdlock): Likewise.
3880 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3881 (__pthread_rwlock_tryrdlock): Likewise.
3882 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3883 (__pthread_rwlock_wrlock): Likewise.
3884 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3885 (__pthread_rwlock_trywrlock): Likewise.
3886 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3887 (__pthread_rwlock_unlock): Likewise.
3888 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3889 (__pthread_key_create): Likewise.
3890 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3891 (__pthread_setspecific): Likewise.
3892 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3893 (__pthread_getspecific): Likewise.
3894 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3896 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3897 (_pthread_cleanup_push_defer): Likewise.
3898 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3899 (_pthread_cleanup_pop_restore): Likewise.
3900 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3901 (pthread_setcancelstate): Likewise.
3902 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3904 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3905 (memchr): Do not use BP_SYM in weak_alias.
3906 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3907 (fegetenv): Do not use BP_SYM in versioned symbols.
3908 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3909 (fesetenv): Do not use BP_SYM in versioned symbols.
3910 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3911 (feupdateenv): Do not use BP_SYM in versioned symbols.
3912 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3913 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3914 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3915 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3916 (open64): Do not use BP_SYM in weak_alias.
3917 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3918 (fegetenv): Do not use BP_SYM in versioned symbols.
3919 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3920 (fesetenv): Do not use BP_SYM in versioned symbols.
3921 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3922 (feupdateenv): Do not use BP_SYM in versioned symbols.
3923 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3924 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3925 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3926 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3927 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3928 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3929 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3931 (__libc_start_main): Do not use BP_SYM.
3933 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3935 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3936 redundant return line.
3940 (sub_magnitudes): Likewise.
3946 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3950 (sub_magnitudes): Likewise.
3957 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3959 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3960 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3963 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3964 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3965 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3966 of __mul for squares.
3967 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3969 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3971 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3972 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3974 2013-02-13 Joseph Myers <joseph@codesourcery.com>
3977 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3979 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3980 prototype or function definition. Rename ubp_* variables and
3981 parameters. Remove argv definitions conditional on
3982 [__BOUNDED_POINTERS__].
3983 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3984 * elf/dl-runtime.c (_dl_fixup): Likewise.
3985 * include/set-hooks.h (RUN_HOOK): Likewise.
3986 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3988 * string/strcpy.c (strcpy): Do not use __unbounded.
3989 * sysdeps/generic/frame.h (struct layout): Likewise.
3990 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3991 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3992 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3993 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3994 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3995 (__backtrace): Likewise.
3996 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3998 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3999 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4000 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
4002 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
4003 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
4004 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4005 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4006 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
4007 Do not use __unbounded.
4008 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
4009 Rename __unboundedrlimits parameter to rlimits in prototype.
4010 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
4011 Do not use __unbounded.
4012 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
4014 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4015 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
4016 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4017 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
4018 __ptrvalue or __unbounded.
4019 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
4020 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
4022 (__new_msgctl): Do not use __ptrvalue.
4023 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
4025 (__libc_msgrcv): Do not use __ptrvalue.
4026 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
4027 startup_info): Do not use __unbounded.
4028 (__libc_start_main): Likewise. Rename ubp_* variables and
4029 parameters. Remove argv definitions conditional on
4030 [__BOUNDED_POINTERS__].
4031 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
4033 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
4035 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
4037 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
4039 (__new_shmctl): Do not use __ptrvalue.
4040 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
4041 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
4043 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
4044 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
4045 (__libc_sigaction): Likewise.
4046 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
4047 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
4049 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4051 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
4053 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
4055 * string/mempcpy.c: Implement by calling memcpy.
4057 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4059 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
4061 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
4064 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
4065 values in the mantissa.
4067 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
4068 minimize writes to Z.
4069 (sub_magnitudes): Simplify code a bit.
4071 2013-02-12 Roland McGrath <roland@hack.frob.com>
4073 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
4074 from the message. The linker prefixes all warnings with that already.
4076 2013-02-12 Andreas Schwab <schwab@suse.de>
4079 * posix/regexec.c (extend_buffers): Add parameter min_len.
4080 (check_matching): Pass minimum needed length.
4081 (clean_state_log_if_needed): Likewise.
4082 (get_subexp): Likewise.
4083 * posix/Makefile (tests): Add bug-regex34.
4084 (bug-regex34-ENV): Define.
4085 * posix/bug-regex34.c: New file.
4088 * posix/regcomp.c (parse_bracket_exp): When looking up collating
4089 elements compare against the byte sequence of it, not its name.
4090 * posix/Makefile (tests): Add bug-regex35.
4091 (bug-regex35-ENV): Define.
4092 * posix/bug-regex35.c: New file.
4094 2013-02-11 Tom de Vries <tom@codesourcery.com>
4096 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
4098 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
4099 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
4100 (CHECK_EOL): Add undef.
4102 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
4104 * bits/stdlib-bsearch.h: New file.
4105 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
4106 * stdlib/stdlib.h: Likewise.
4108 2013-02-11 Roland McGrath <roland@hack.frob.com>
4110 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
4111 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
4113 * manual/search.texi (Array Search Function): Add missing const in
4115 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
4116 declaration to use rlim_t.
4117 (Basic Scheduling Functions): Remove erroneous const from
4118 sched_getparam prototype. Remove erroneous * from
4119 sched_get_priority_max and sched_get_priority_min prototypes.
4120 (Resource Usage): Fix summary @comment on vtimes to refer to
4121 sys/vtimes.h rather than vtimes.h.
4122 Add missing *s in vtimes prototype.
4123 (Limits on Resources): Fix ulimit prototype to return long int.
4124 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
4125 prototypes to use long int rather than double.
4126 (BSD Random): Fix initstate and setstate to use char *, not void *.
4127 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
4128 prototype to make second argument 'struct aiocb64 *const[]'.
4129 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
4130 (Status of AIO Operations): Remove erroneous const in aio_return and
4131 aio_return64 prototypes.
4132 (Synchronizing I/O): Fix sync prototype to return void.
4133 * manual/startup.texi (Suboptions): Remove an erroneous const in
4134 getsubopt prototype.
4135 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
4136 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
4137 use size_t rather than int.
4138 (Scanning All Users): Likewise for getpwent_r.
4139 (Setting Groups): Add missing const to setgroups prototype.
4140 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
4141 * manual/socket.texi (Host Names): Fix gethostbyaddr and
4142 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
4143 'const void *' rather than 'const char *'.
4144 (Host Address Functions): Likewise for inet_ntop.
4145 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
4146 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
4147 ssize_t for return value.
4148 (Sending Data): Likewise for send, sendto, sendmsg.
4149 (Socket Option Functions): Add a missing const in setsockopt prototype.
4150 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
4151 use wchar_t for the argument.
4152 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
4153 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
4155 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
4156 double/float/long double for second argument.
4157 Fix return types of significand, significandf, significandl.
4158 * manual/filesys.texi (Setting Permissions): Use mode_t for second
4159 argument in fchmod prototype.
4160 (File Owner): Use uid_t and gid_t in fchown prototype.
4161 (File Times): Add const to utimes, futimes, and lutimes prototypes.
4162 (Making Special Files): Use mode_t and dev_t in mknod prototype.
4163 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
4164 use 'const struct dirent **' as argument types to CMP function pointer
4166 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
4167 (File Times): Fix summary magic @comment for struct utimbuf and utime
4168 to refer to utime.h, not time.h.
4169 * manual/string.texi (Argz Functions): Add missing const in
4170 argz_extract and argz_next prototypes.
4171 (Finding Tokens in a String): Likewise for basename.
4172 (String/Array Comparison): Fix typo in wcscasecmp prototype.
4173 (Copying and Concatenation): Fix typo in wmemmove prototype.
4174 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
4175 (Signal Stack): Remove erroneous const in sigstack prototype.
4176 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
4178 (Simple Calendar Time): Likewise for stime.
4179 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
4181 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
4182 say sys/sysctl.h instead.
4183 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
4184 and vsyslog prototypes.
4186 2013-02-11 Tom de Vries <tom@codesourcery.com>
4188 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
4191 2013-02-11 Roland McGrath <roland@hack.frob.com>
4193 * misc/sys/mman.h: Fix typo in mremap comment.
4195 2013-02-08 Roland McGrath <roland@hack.frob.com>
4197 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
4198 the '\0' terminator.
4200 2013-02-08 Joseph Myers <joseph@codesourcery.com>
4203 * debug/segfault.c: Don't include <bp-checks.h>.
4204 * sysdeps/generic/bp-checks.h: Remove file.
4205 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
4206 (__GETDENTS): Don't use CHECK_N.
4207 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
4208 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4209 (__getgroups): Don't use CHECK_N.
4210 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4211 (setgroups): Don't use CHECK_N.
4212 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
4213 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
4214 (__libc_msgrcv): Don't use CHECK_N.
4215 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
4216 (__libc_msgsnd): Don't use CHECK_N.
4217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
4219 (__libc_pread): Don't use CHECK_N.
4220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
4221 include <bp-checks.h>.
4222 (__libc_pread64): Don't use CHECK_N.
4223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
4224 include <bp-checks.h>.
4225 (__libc_pwrite): Don't use CHECK_N.
4226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
4227 include <bp-checks.h>.
4228 (__libc_pwrite64): Don't use CHECK_N.
4229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
4231 (__libc_pread): Don't use CHECK_N.
4232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
4233 include <bp-checks.h>.
4234 (__libc_pread64): Don't use CHECK_N.
4235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
4236 include <bp-checks.h>.
4237 (__libc_pwrite): Don't use CHECK_N.
4238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
4239 include <bp-checks.h>.
4240 (__libc_pwrite64): Don't use CHECK_N.
4241 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
4242 (do_pread): Don't use CHECK_N.
4243 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
4244 (do_pread64): Don't use CHECK_N.
4245 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
4246 (do_pwrite): Don't use CHECK_N.
4247 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
4248 (do_pwrite64): Don't use CHECK_N.
4249 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
4250 (__libc_readv): Don't use CHECK_N.
4251 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
4252 (semop): Don't use CHECK_N.
4253 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
4255 (semtimedop): Don't use CHECK_N.
4256 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
4257 (__libc_pread): Don't use CHECK_N.
4258 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
4260 (__libc_pread64): Don't use CHECK_N.
4261 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
4263 (__libc_pwrite): Don't use CHECK_N.
4264 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
4266 (__libc_pwrite64): Don't use CHECK_N.
4267 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
4269 (__libc_msgrcv): Don't use CHECK_N.
4270 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
4271 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
4272 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
4273 (__libc_writev): Don't use CHECK_N.
4275 2013-02-08 Roland McGrath <roland@hack.frob.com>
4277 * string/strcpy.c: Removed unused variable.
4279 * Makeconfig (+sysdep-includes): Define with := rather than =.
4280 Use an existing include/ subdir of each sysdeps dir before it.
4282 2013-02-08 Carlos O'Donell <carlos@redhat.com>
4284 * nscd/connection.c (register_traced_file): Comment function.
4285 [HAVE_INOTIFY] (union __inev): Define.
4286 [HAVE_INOTIFY] (inotify_check_files): New function.
4287 [HAVE_INOTIFY] (clear_db_cache): Likewise.
4288 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
4290 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
4292 2013-02-08 Carlos O'Donell <carlos@redhat.com>
4294 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
4295 loaded if not already and that a failure is permanent.
4297 2013-02-08 Carlos O'Donell <carlos@redhat.com>
4300 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
4301 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
4303 2013-02-08 Joseph Myers <joseph@codesourcery.com>
4306 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
4307 (CHECK_1_NULL_OK): Likewise.
4308 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
4309 (__fxstat): Do not use CHECK_1.
4310 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4312 (___fxstat64): Do not use CHECK_1.
4313 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4315 (__fxstatat): Do not use CHECK_1.
4316 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4318 (__fxstatat64): Do not use CHECK_1.
4319 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
4321 (__fxstat): Do not use CHECK_1.
4322 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4324 (__fxstatat): Do not use CHECK_1.
4325 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4327 (__getresgid): Do not use CHECK_1.
4328 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4330 (__getresuid): Do not use CHECK_1.
4331 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
4333 (__lxstat): Do not use CHECK_1.
4334 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4336 (__old_msgctl): Do not use CHECK_1.
4337 (__new_msgctl): Likewise.
4338 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
4340 (__new_setrlimit): Do not use CHECK_1.
4341 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4343 (__old_shmctl): Do not use CHECK_1.
4344 (__new_shmctl): Likewise.
4345 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
4347 (__xstat): Do not use CHECK_1.
4348 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
4349 (__lxstat): Do not use CHECK_1.
4350 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4352 (___lxstat64): Do not use CHECK_1.
4353 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
4354 (__old_msgctl): Do not use CHECK_1.
4355 (__new_msgctl): Likewise.
4356 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
4358 (__gettimeofday): Do not use CHECK_1.
4359 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
4360 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
4361 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
4363 (__gettimeofday): Do not use CHECK_1.
4364 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
4365 (__old_shmctl): Do not use CHECK_1_NULL_OK.
4366 (__new_shmctl): Do not use CHECK_1.
4367 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
4369 (do_sigtimedwait): Do not use CHECK_1.
4370 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
4372 (do_sigwaitinfo): Do not use CHECK_1.
4373 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
4375 (msgctl): Do not use CHECK_1.
4376 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
4378 (shmctl): Do not use CHECK_1.
4379 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
4380 (ustat): Do not use CHECK_1.
4381 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
4383 (__fxstat): Do not use CHECK_1.
4384 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4386 (__fxstatat): Do not use CHECK_1.
4387 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
4389 (__lxstat): Do not use CHECK_1.
4390 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
4392 (__xstat): Do not use CHECK_1.
4393 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
4394 (__xstat): Do not use CHECK_1.
4395 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
4396 (___xstat64): Do not use CHECK_1.
4399 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
4401 (CHECK_BOUNDS_HIGH): Likewise.
4402 * string/strcpy.c: Do not include <bp-checks.h>.
4403 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
4405 2013-02-07 Roland McGrath <roland@hack.frob.com>
4407 * nscd/nscd-client.h (__nscd_drop_map_ref):
4408 Add __attribute__ ((unused)).
4409 * nis/nss-nisplus.h (niserr2nss): Likewise.
4411 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
4412 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
4414 * csu/libc-tls.c (init_static_tls, init_slotinfo):
4415 Remove inline keyword.
4416 * include/rounding-mode.h (round_away): Likewise.
4417 * libio/wfileops.c (adjust_wide_data): Likewise.
4418 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
4419 (__m128i_strloadu_tolower): Likewise.
4420 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
4421 (__m128i_strloadu_tolower): Likewise.
4422 * time/mktime.c (ydhms_diff): Likewise.
4423 * locale/elem-hash.h (elem_hash): Likewise.
4424 * locale/setlocale.c (setdata): Likewise.
4425 * posix/regex_internal.h (re_string_char_size_at): Likewise.
4426 (re_string_wchar_at): Likewise.
4427 (bitset_not, bitset_merge, bitset_mask): Likewise.
4428 [!(__GNUC__ > 3)] (inline): Remove macro.
4429 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
4430 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
4431 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4432 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
4433 * string/memcmp.c (memcmp_bytes): Likewise.
4434 * locale/programs/locarchive.c (compute_hashval): Likewise.
4435 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
4436 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
4437 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
4438 * nss/getent.c (print_rpc, print_protocols): Likewise.
4439 (print_passwd, print_group, print_aliases): Likewise.
4440 * nis/nss-nisplus.h (niserr2nss): Likewise.
4441 * nscd/connections.c (restart_p): Likewise.
4442 Change return type to bool.
4444 2013-02-05 Roland McGrath <roland@hack.frob.com>
4446 * Makeconfig (all-Depend-files): Add existing
4447 $(sorted-subdirs:=/Depend) files.
4448 (all-subdirs): Remove nss.
4449 * sysdeps/unix/inet/Subdirs: Add it here instead.
4450 * hesiod/Depend: New file.
4452 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
4453 instead of calling alloca.
4455 * io/lseek.c (__lseek): Rename to __libc_lseek.
4456 Define __lseek as an alias.
4458 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
4460 2013-02-04 Carlos O'Donell <carlos@redhat.com>
4462 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
4463 else clause and remove check for non-standard endianness.
4465 2013-02-04 David S. Miller <davem@davemloft.net>
4467 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4469 2013-02-04 Joseph Myers <joseph@codesourcery.com>
4472 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
4473 (__ubp_memchr): Remove prototype.
4474 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
4475 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4476 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
4477 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4478 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
4480 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
4481 (__ubp_memchr): Likewise.
4482 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
4483 (__ubp_memchr): Likewise.
4484 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
4485 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
4486 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
4487 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
4489 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4490 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
4491 (__getcwd): Do not use CHECK_STRING.
4492 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4494 (__real_chown): Do not use CHECK_STRING.
4495 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
4497 (fchownat): Do not use CHECK_STRING.
4498 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
4500 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4502 (__lchown): Do not use CHECK_STRING.
4503 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4504 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4505 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4506 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4508 include <bp-checks.h>.
4509 (truncate64): Do not use CHECK_STRING.
4510 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4512 (__real_chown): Do not use CHECK_STRING.
4513 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4515 (__lchown): Do not use CHECK_STRING.
4516 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4518 (__chown): Do not use CHECK_STRING.
4519 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
4521 (truncate64): Do not use CHECK_STRING.
4522 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
4524 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
4525 (__xmknod): Do not use CHECK_STRING.
4526 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4528 (__xmknodat): Do not use CHECK_STRING.
4529 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4530 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
4532 2013-02-04 Andreas Schwab <schwab@suse.de>
4535 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
4536 * include/netdb.h: Likewise for h_errno.
4537 * elf/tst-stackguard1.c: Include <tls.h>.
4539 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4541 * elf/link.h (struct link_map): Extend the l_addr comment.
4542 * include/link.h (struct link_map): Likewise.
4544 2013-02-01 Joseph Myers <joseph@codesourcery.com>
4547 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
4548 (BOUNDED_1): Remove macro.
4549 * debug/backtrace.c: Don't include <bp-checks.h>.
4550 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
4551 (__backtrace): Likewise.
4552 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
4554 (__backtrace): Don't use BOUNDED_1.
4555 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
4557 (__backtrace): Don't use BOUNDED_1.
4558 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
4559 (__backtrace): Don't use BOUNDED_1.
4560 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
4561 (shmat): Don't use BOUNDED_N.
4563 2013-01-31 Joseph Myers <joseph@codesourcery.com>
4566 * sysdeps/generic/bp-start.h: Remove file.
4567 * csu/libc-start.c: Don't include <bp-start.h>.
4568 (LIBC_START_MAIN): Set up __environ directly instead of using
4569 INIT_ARGV_and_ENVIRON.
4570 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
4574 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
4576 (CHECK_FCNTL): Likewise.
4577 (CHECK_N_PAGES): Likewise.
4580 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
4582 (CHECK_SIGSET_NULL_OK): Likewise.
4583 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
4585 (sigpending): Don't use CHECK_SIGSET.
4586 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
4588 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4589 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
4591 (do_sigsuspend): Don't use CHECK_SIGSET.
4592 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
4594 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
4595 (do_sigwait): Don't use CHECK_SIGSET.
4596 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
4598 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
4599 include <bp-checks.h>.
4600 (sigpending): Don't use CHECK_SIGSET.
4601 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
4602 include <bp-checks.h>.
4603 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4604 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
4606 (sigpending): Don't use CHECK_SIGSET.
4607 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
4609 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4612 * sysdeps/generic/bp-semctl.h: Remove file.
4613 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
4614 <bp-checks.h> and <bp-semctl.h>.
4615 (__old_semctl): Don't use CHECK_SEMCTL.
4616 (__new_semctl): Likewise.
4617 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
4619 (__old_semctl): Don't use CHECK_SEMCTL.
4620 (__new_semctl): Likewise.
4621 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
4622 <bp-checks.h> and <bp-semctl.h>.
4623 (__old_semctl): Don't use CHECK_SEMCTL.
4624 (__new_semctl): Likewise.
4625 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
4626 <bp-checks.h> and <bp-semctl.h>.
4627 (semctl): Don't use CHECK_SEMCTL.
4630 * Makerules (elide-bp-thunks): Remove variable.
4631 (elide-routines.oS): Don't use $(elide-bp-thunks).
4632 (elide-routines.os): Likewise.
4633 (elide-routines.o): Likewise.
4634 (elide-routines.op): Likewise.
4635 (elide-routines.og): Likewise.
4636 (objects): Don't use $(bp-thunks).
4637 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
4639 (common-generated): Do not add s-proto-bp.d.
4640 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
4643 Do not generate makefile rules for bounded-pointer thunks.
4644 * sysdeps/generic/bp-thunks.h: Remove file.
4645 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
4646 * sysdeps/unix/s-proto-bp.S: Likewise.
4649 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
4650 parts of result separately when argument is not close to line from
4651 -i to i and one part of argument is small.
4652 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4653 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4654 * math/libm-test.inc (cacos_test): Add more tests.
4655 (casin_test): Likewise.
4656 (casinh_test): Likewise.
4657 * sysdeps/i386/fpu/libm-test-ulps: Update.
4658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4660 2013-01-31 David S. Miller <davem@davemloft.net>
4662 * po/de.po: Update from translation team.
4664 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
4666 * time/tzfile.c: Include stdint.h for SIZE_MAX.
4668 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
4670 * configure.in (_AC_PROG_CC_C89): New definition.
4671 * configure: Regenerate.
4673 * configure.in (AC_PROG_CPP): New definition.
4674 * configure: Regenerate.
4676 2013-01-23 Joseph Myers <joseph@codesourcery.com>
4678 * debug/tst-backtrace.h: New file.
4679 * debug/tst-backtrace2.c: Include tst-backtrace.h.
4680 (ret): Remove variable.
4682 (FAIL): Remove macro.
4683 (NO_INLINE): Likewise.
4684 (fn1): Use match function instead of strstr.
4685 * debug/tst-backtrace3.c: Include tst-backtrace.h.
4686 (ret): Remove variable.
4688 (FAIL): Remove macro.
4689 (NO_INLINE): Likewise.
4690 (fn): Use match function instead of strstr.
4691 * debug/tst-backtrace4.c: Include tst-backtrace.h.
4692 (ret): Remove variable.
4694 (FAIL): Remove macro.
4695 (NO_INLINE): Likewise.
4696 (handle_signal): Use match function instead of strstr.
4697 * debug/tst-backtrace5.c: Include tst-backtrace.h.
4698 (ret): Remove variable.
4700 (FAIL): Remove macro.
4701 (NO_INLINE): Likewise.
4702 (handle_signal): Use match function instead of strstr.
4704 2013-01-23 Roland McGrath <roland@hack.frob.com>
4706 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
4708 2013-01-23 David S. Miller <davem@davemloft.net>
4710 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
4711 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
4712 argument of CAS if possible.
4713 * sysdeps/sparc/sparc64/bits/atomic.h
4714 (__arch_compare_and_exchange_val_32_acq): Likewise.
4715 (__arch_compare_and_exchange_val_64_acq): Likewise.
4717 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
4719 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
4720 * sysdeps/posix/ulimit.c: ... this.
4722 * sysdeps/unix/bsd/ulimit.c: Remove file.
4724 2013-01-23 Adam Conrad <adconrad@0c3.net>
4726 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
4727 (LDFLAGS-tst-array5): Likewise.
4729 2013-01-23 Joseph Myers <joseph@codesourcery.com>
4732 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
4733 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
4734 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
4735 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
4737 2013-01-21 David S. Miller <davem@davemloft.net>
4739 * sysdeps/sparc/backtrace.c: New file.
4740 * sysdeps/sparc/sparc32/backtrace.h: New file.
4741 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
4742 * sysdeps/sparc/sparc64/backtrace.h: New file.
4743 * sysdeps/sparc/sparc64/backtrace.c: Delete.
4744 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
4747 2013-01-21 Andreas Schwab <schwab@suse.de>
4750 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
4753 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
4755 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
4757 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4759 2013-01-18 Joseph Myers <joseph@codesourcery.com>
4760 Mark Mitchell <mark@codesourcery.com>
4761 Tom de Vries <tom@codesourcery.com>
4762 Paul Pluzhnikov <ppluzhnikov@google.com>
4764 * debug/tst-backtrace2.c: New file.
4765 * debug/tst-backtrace3.c: Likewise.
4766 * debug/tst-backtrace4.c: Likewise.
4767 * debug/tst-backtrace5.c: Likewise.
4768 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
4769 (CFLAGS-tst-backtrace3.c): Likewise.
4770 (CFLAGS-tst-backtrace4.c): Likewise.
4771 (CFLAGS-tst-backtrace5.c): Likewise.
4772 (LDFLAGS-tst-backtrace2): Likewise.
4773 (LDFLAGS-tst-backtrace3): Likewise.
4774 (LDFLAGS-tst-backtrace4): Likewise.
4775 (LDFLAGS-tst-backtrace5): Likewise.
4776 (tests): Add new tests tst-backtrace2, tst-backtrace3,
4777 tst-backtrace4 and tst-backtrace5.
4779 2013-01-18 Anton Blanchard <anton@samba.org>
4780 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4782 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
4783 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
4784 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
4785 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
4786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4787 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
4788 "+r" and remove output regs list as redundant. Add explicit inline
4789 asm to specify register of return val to work around compiler codegen
4790 bug. Remove (int) cast on return value. Add return type parameter to
4791 use in macro so that this macro does not truncate return value for
4793 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
4794 pass to INTERNAL_VSYSCALL_NCS.
4795 (INLINE_VSYSCALL): Add 'long int' as return type to
4796 INTERNAL_VSYSCALL_NCS macro invocation.
4797 (INTERNAL_VSYSCALL): Add 'long int' as return type to
4798 INTERNAL_VSYSCALL_NCS macro invocation.
4799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4801 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4804 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
4805 Fix application of SIMD FP exception mask.
4807 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
4808 mp_no from a power of two.
4809 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
4810 __mpexp_twomm1. Use __pow_mp.
4812 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4815 2013-01-17 David S. Miller <davem@davemloft.net>
4817 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4819 2013-01-17 Joseph Myers <joseph@codesourcery.com>
4822 * include/complex.h: Condition contents on [!_COMPLEX_H].
4823 (__kernel_casinhf): New prototype.
4824 (__kernel_casinh): Likewise.
4825 (__kernel_casinhl): Likewise.
4826 * math/Makefile (libm_calls): Add k_casinh.
4827 * math/k_casinh.c: New file.
4828 * math/k_casinhf.c: Likewise.
4829 * math/k_casinhl.c: Likewise.
4830 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4831 finite nonzero arguments.
4832 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4833 finite nonzero arguments.
4834 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4835 finite nonzero arguments.
4836 * math/s_casinh.c: Do not include <float.h>.
4837 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4838 * math/s_casinhf.c: Do not include <float.h>.
4839 (__casinhf): Move code for finite nonzero arguments to
4841 * math/s_casinhl.c: Do not include <float.h>.
4842 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4844 (__casinhl): Move code for finite nonzero arguments to
4846 * math/libm-test.inc (cacos_test): Add more tests.
4847 * sysdeps/i386/fpu/libm-test-ulps: Update.
4848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4850 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
4852 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4853 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4854 [!HAVE_MREMAP]: Remove [defined linux] case.
4855 * malloc/arena.c: Do not include <malloc-sysdep.h>.
4857 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4859 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4861 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
4863 * elf/elf.h (R_386_SIZE32): New relocation.
4864 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4866 (elf_machine_rela): Likewise.
4867 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4868 R_X86_64_SIZE64 and R_X86_64_SIZE32.
4870 2013-01-17 Joseph Myers <joseph@codesourcery.com>
4872 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4873 (FP_FAST_FMA): Do not define.
4874 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4875 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4876 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4877 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4878 !_SOFT_FLOAT]: Likewise.
4879 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4880 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4882 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4883 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4884 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4885 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4886 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4887 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4890 2013-01-16 Andreas Schwab <schwab@suse.de>
4893 * include/stdlib.h (__mktemp): Add declaration.
4894 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4895 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4897 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4899 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4901 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4902 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4903 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4905 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4906 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4908 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4910 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4911 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4912 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4914 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4915 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4917 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4919 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4921 2013-01-15 David S. Miller <davem@davemloft.net>
4923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4924 trunc{,f} to libm-sysdep_routes.
4925 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4935 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4936 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4937 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4938 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4939 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4940 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4943 nearbyint{,f} to libm-sysdep_routes.
4944 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4955 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4957 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4958 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4960 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4961 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4962 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4964 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4965 libc_feholdexcept and libc_fesetenv.
4967 2013-01-15 Mike Frysinger <vapier@gentoo.org>
4969 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4971 2013-01-14 David S. Miller <davem@davemloft.net>
4973 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4974 (SPARC_ASM_VIS2_IFUNC): Likewise.
4975 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4977 use of 'siam' instruction.
4978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4984 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4985 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4986 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4987 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4996 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4997 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4998 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4999 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
5000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
5002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5006 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5007 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5008 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5009 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
5011 routines to libm-sysdep_routines.
5012 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
5015 fdim/fdimf to libm-sysdep_routines.
5016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
5018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
5019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
5021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
5022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
5023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
5024 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
5025 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
5026 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
5027 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
5029 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5031 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
5034 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
5035 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5036 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5038 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
5039 local variable MPTWO.
5040 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5043 2013-01-13 Mike Frysinger <vapier@gentoo.org>
5045 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
5048 2013-01-13 Mike Frysinger <vapier@gentoo.org>
5050 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
5052 2013-01-13 Mike Frysinger <vapier@gentoo.org>
5054 * manual/pattern.texi (glob_t): Document gl_flags.
5055 (glob64_t): Likewise.
5057 2013-01-11 David S. Miller <davem@davemloft.net>
5059 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
5060 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
5061 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
5062 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
5063 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
5064 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
5065 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
5066 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
5067 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
5068 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
5069 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
5070 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
5071 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
5073 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
5074 sparc V9 rather than using V8 code.
5075 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5076 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5078 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5080 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
5083 2013-01-11 Roland McGrath <roland@hack.frob.com>
5085 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
5086 not in the main loop.
5087 * configure: Regenerated.
5089 2013-01-11 Joseph Myers <joseph@codesourcery.com>
5091 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
5092 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
5094 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
5095 [!__GLIBC_HAVE_LONG_LONG] case.
5096 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
5097 condition to just #else.
5098 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
5099 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
5100 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
5101 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
5103 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
5104 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
5105 #elif condition to just #else.
5106 * sysdeps/unix/sysv/linux/sys/sysmacros.h
5107 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
5108 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
5109 #elif condition to just #else.
5111 2013-01-11 Steve Ellcey <sellcey@mips.com>
5113 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
5114 (EF_MIPS_ARCH_64): Fix value.
5115 (EF_MIPS_ARCH_32R2): New.
5116 (EF_MIPS_ARCH_64R2): New.
5118 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
5120 * Makeconfig (+link-pie-before-libc): New.
5121 (+link-pie-after-libc): Likewise.
5122 (+link-pie-tests): Likewise.
5123 (+link-pie): Rewritten.
5124 (link-before-libc): Remove $(config-LDFLAGS).
5125 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
5126 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
5127 (config-LDFLAGS): Renamed to ...
5128 (rtld-LDFLAGS): This.
5129 (rtld-tests-LDFLAGS): New macro.
5130 (link-libc-rpath-link): Likewise.
5131 (link-libc-tests-rpath-link): Likewise.
5132 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
5133 (link-libc): Prepand $(link-libc-rpath-link).
5134 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
5135 (test-program-prefix): New macro.
5136 (test-via-rtld-prefix): Likewise.
5137 (test-program-cmd): Likewise.
5138 (host-test-program-cmd): Likewise.
5139 * Makefile ($(common-objpfx)testrun.sh): Replace
5140 $(run-program-prefix) with $(test-program-prefix).
5141 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
5143 ($(common-objpfx)shlib.lds): Likewise.
5144 (build-module-helper): Likewise.
5145 ($(common-objpfx)format.lds): Likewise.
5146 * Rules (binaries-pie-tests): New.
5147 (binaries-pie-notests): Likewise.
5148 (binaries-pie): Rewritten.
5149 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
5150 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
5151 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
5152 (make-test-out): Replace $(host-built-program-cmd) with
5153 $(host-test-program-cmd).
5154 * config.make.in (build-hardcoded-path-in-tests): New variable.
5155 * configure.in (--enable-hardcoded-path-in-tests): New configure
5157 (hardcoded_path_in_tests): New AC_SUBST.
5158 * configure: Regenerated.
5159 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
5160 $(built-program-cmd) with $(test-program-cmd).
5161 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
5162 (test_program_cmd): This.
5163 * elf/Makefile ($(objpfx)order.out): Run test with
5164 $(test-program-prefix).
5165 ($(objpfx)order2.out): Likewise.
5166 ($(objpfx)tst-initorder.out): Likewise.
5167 ($(objpfx)tst-initorder2.out): Likewise.
5168 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
5169 $(test-program-cmd).
5170 ($(objpfx)tst-array1-static.out): Likewise.
5171 ($(objpfx)tst-array2.out): Likewise.
5172 ($(objpfx)tst-array3.out): Likewise.
5173 ($(objpfx)tst-array4.out): Likewise.
5174 ($(objpfx)tst-array5.out): Likewise.
5175 ($(objpfx)tst-array5-static.out): Likewise.
5176 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
5177 $(test-program-cmd).
5178 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
5179 $(run-program-prefix) with $(test-program-prefix).
5180 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
5181 (test_program_prefix): This.
5182 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
5183 $(run-program-prefix) with $(test-program-prefix).
5184 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
5185 (test_program_prefix): This.
5186 * iconvdata/tst-tables.sh: Likewise.
5187 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
5188 $(run-program-prefix) with $(test-program-prefix).
5189 ($(objpfx)tst-translit.out): Likewise.
5190 ($(objpfx)tst-gettext2.out): Likewise.
5191 ($(objpfx)tst-gettext4.out): Likewise.
5192 ($(objpfx)tst-gettext6.out): Likewise.
5193 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
5194 (test_program_prefix): This.
5195 * intl/tst-gettext2.sh: Likewise.
5196 * intl/tst-gettext4.sh Likewise.
5197 * intl/tst-gettext6.sh: Likewise.
5198 * intl/tst-translit.sh: Likewise.
5199 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
5200 with $(test-program-cmd).
5201 * libio/Makefile ($(objpfx)test-freopen.out): Replace
5202 $(run-program-prefix) with $(test-program-prefix).
5203 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
5204 (test_program_prefix): This.
5205 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
5206 $(run-program-prefix) with $(test-program-prefix).
5207 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
5208 (test_program_prefix): This.
5209 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
5210 * posix/Makefile ($(objpfx)globtest.out): Replace
5211 $(run-via-rtld-prefix) and $(test-wrapper) with
5212 $(test-program-prefix) and $(test-via-rtld-prefix).
5213 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
5214 $(test-program-prefix).
5215 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
5216 $(host-test-program-cmd).
5217 (tst-spawn-ARGS): Likewise.
5218 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
5219 $(test-program-prefix).
5220 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
5221 (test_via_rtld_prefix): This.
5222 (test_wrapper): Renamed to ...
5223 (test_program_prefix): This.
5224 (run_program_prefix): Replaced by test_program_prefix.
5225 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
5226 (test_program_prefix): This.
5227 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
5228 with $(host-test-program-cmd).
5229 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
5230 $(run-program-prefix) with $(test-program-prefix).
5231 ($(objpfx)tst-printf.out): Likewise.
5232 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
5233 $(test-program-cmd).
5234 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
5235 (test_program_prefix): This.
5236 * stdio-common/tst-unbputc.sh: Likewise.
5237 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
5238 $(run-program-prefix) with $(test-program-prefix).
5239 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
5240 (test_program_prefix): This.
5241 * string/Makefile ($(objpfx)tst-svc.out): Replace
5242 $(built-program-cmd) with $(test-program-cmd).
5244 2013-01-11 Andreas Jaeger <aj@suse.de>
5247 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
5248 value. Sync with Linux 3.7.
5250 2013-01-10 David S. Miller <davem@davemloft.net>
5252 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
5253 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5254 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5256 2013-01-10 Roland McGrath <roland@hack.frob.com>
5258 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
5260 * configure: Regenerated.
5262 2013-01-10 David S. Miller <davem@davemloft.net>
5264 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
5265 sparc V9 rather than using V8 code.
5266 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5267 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5269 2013-01-10 Roland McGrath <roland@hack.frob.com>
5271 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
5272 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
5273 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
5274 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
5275 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
5276 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
5277 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
5278 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
5279 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
5280 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
5281 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
5282 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
5283 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
5284 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
5285 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
5286 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
5287 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
5288 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
5289 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
5290 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
5291 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
5292 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
5293 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
5294 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
5295 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
5296 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
5297 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
5299 2013-01-10 David S. Miller <davem@davemloft.net>
5301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5303 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5305 * posix/Makefile (tests-static): New variable.
5306 (tests): Add $(tests-static).
5307 (tst-exec-static-ARGS): New variable.
5308 (tst-spawn-static-ARGS): Likewise.
5309 * posix/tst-exec-static.c: New file.
5310 * posix/tst-spawn-static.c: Likewise.
5311 * posix/tst-exec.c: Support run directly.
5312 * posix/tst-spawn.c: Likewise.
5314 2013-01-10 Joseph Myers <joseph@codesourcery.com>
5316 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
5318 * math/bits/mathcalls.h (llrint): Likewise.
5319 (llround): Likewise.
5320 * stdlib/stdlib.h (struct drand48_data): Likewise.
5321 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
5322 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
5323 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
5325 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
5327 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
5328 (elf_greg_t): Likewise.
5329 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
5330 (__jmp_buf): Likewise.
5331 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
5333 (llrint): Likewise, for all definitions.
5334 (llrintl): Likewise.
5336 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
5337 Remove [__GNUC__] condition.
5338 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
5339 condition to just [__USE_ISOC99].
5340 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
5342 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5345 * sysdeps/unix/sysv/linux/x86/bits/environments.h
5346 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
5348 (_POSIX_V6_ILP32_OFF32): Likewise.
5349 (_XBS5_ILP32_OFF32): Likewise.
5350 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
5351 (__ILP32_OFFBIG_LDFLAGS): Likewise.
5353 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5355 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
5357 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
5358 doubles __mpexp_twomm1. Adjust usage.
5359 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
5362 2013-01-10 Andreas Schwab <schwab@suse.de>
5365 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
5366 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
5368 2013-01-09 David S. Miller <davem@davemloft.net>
5371 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
5372 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
5373 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
5374 TCP_FASTOPEN): Define.
5375 (tcp_repair_opt): New structure.
5376 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
5378 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
5379 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
5380 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
5381 (tcp_cookie_transactions): New structure.
5383 2013-01-09 Anton Blanchard <anton@samba.org>
5385 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
5386 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
5387 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
5388 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5390 2013-01-09 Joseph Myers <joseph@codesourcery.com>
5392 * include/features.h (__USE_ANSI): Remove.
5394 2013-01-09 Roland McGrath <roland@hack.frob.com>
5396 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
5398 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
5400 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
5402 * sysdeps/s390/fpu/libm-test-ulps: Update.
5404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5406 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
5411 (__mp_dbl): Likewise.
5412 (__dbl_mp): Likewise.
5413 (add_magnitudes): Likewise.
5414 (sub_magnitudes): Likewise.
5420 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
5425 (__mp_dbl): Likewise.
5426 (__dbl_mp): Likewise.
5427 (add_magnitudes): Likewise.
5428 (sub_magnitudes): Likewise.
5434 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
5439 (__mp_dbl): Likewise.
5440 (__dbl_mp): Likewise.
5441 (add_magnitudes): Likewise.
5442 (sub_magnitudes): Likewise.
5449 2013-01-08 Joseph Myers <joseph@codesourcery.com>
5451 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
5452 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
5453 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
5454 2 && __USE_EXTERN_INLINES]: Likewise.
5456 2013-01-08 Andreas Jaeger <aj@suse.de>
5459 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
5461 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5462 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5464 2013-01-07 Anton Blanchard <anton@samba.org>
5466 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
5467 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5468 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
5469 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5470 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5471 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5472 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
5473 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5474 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5475 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5476 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5477 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5478 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5479 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5480 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5481 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5482 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5483 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5484 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5485 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5486 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5487 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
5488 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5489 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5490 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
5491 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5492 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5493 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5494 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
5495 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5496 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5497 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5498 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5499 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5500 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5501 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5502 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5503 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5504 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
5505 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5506 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
5507 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5508 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5510 2013-01-07 Joseph Myers <joseph@codesourcery.com>
5512 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
5513 (__MALLOC_PMT): Likewise.
5514 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
5515 [__GNUC__], only on [_LIBC].
5516 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5517 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
5518 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5519 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
5520 forward declaration.
5521 (realloc_hook_ini): Likewise.
5522 (memalign_hook_ini): Likewise.
5523 (__libc_memalign): Do not use __MALLOC_PMT in variable
5525 (__libc_valloc): Likewise.
5526 (__libc_pvalloc): Likewise.
5527 (__libc_calloc): Likewise.
5528 (__posix_memalign): Likewise.
5531 * math/s_casinh.c: Include <float.h>.
5532 (__casinh): Do not do computation with squaring and square root
5533 for large arguments.
5534 * math/s_casinhf.c: Include <float.h>.
5535 (__casinhf): Do not do computation with squaring and square root
5536 for large arguments.
5537 * math/s_casinhl.c: Include <float.h>.
5538 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
5539 (__casinhl): Do not do computation with squaring and square root
5540 for large arguments.
5541 * math/libm-test.inc (casin_test): Add more tests.
5542 (casinh_test): Likewise.
5543 * sysdeps/i386/fpu/libm-test-ulps: Update.
5544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5546 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
5548 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
5549 (__x86_64_raw_data_cache_size): Likewise.
5550 (__x86_64_data_cache_size_half): Likewise.
5551 (__x86_64_raw_data_cache_size_half): Likewise.
5552 (__x86_64_shared_cache_size): Likewise.
5553 (__x86_64_raw_shared_cache_size): Likewise.
5554 (__x86_64_shared_cache_size_half): Likewise.
5555 (__x86_64_raw_shared_cache_size_half): Likewise.
5556 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
5558 (__x86_data_cache_size): This.
5559 (__x86_64_raw_data_cache_size): Renamed to ...
5560 (__x86_raw_data_cache_size): This.
5561 (__x86_64_data_cache_size_half): Renamed to ...
5562 (__x86_data_cache_size_half): This.
5563 (__x86_64_raw_data_cache_size_half): Renamed to ...
5564 (__x86_raw_data_cache_size_half): This.
5565 (__x86_64_shared_cache_size): Renamed to ...
5566 (__x86_shared_cache_size): This.
5567 (__x86_64_raw_shared_cache_size): Renamed to ...
5568 (__x86_raw_shared_cache_size): This.
5569 (__x86_64_shared_cache_size_half): Renamed to ...
5570 (__x86_shared_cache_size_half): This.
5571 (__x86_64_raw_shared_cache_size_half): Renamed to ...
5572 (__x86_raw_shared_cache_size_half): This.
5573 * sysdeps/x86_64/memcpy.S: Updated.
5574 * sysdeps/x86_64/memset.S: Likewise.
5575 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5576 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5577 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5579 2013-01-04 David S. Miller <davem@davemloft.net>
5581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5583 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
5585 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
5586 1 to avoid redefinition warning.
5587 (__USE_GNU): Don't define.
5588 (init_signaling_nan): Protoize.
5590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5592 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5594 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
5595 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
5596 (__cpymn): Likewise.
5597 (norm): Remove commented code.
5599 (__mp_dbl): Likewise.
5601 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
5602 (__cpymn): Likewise.
5603 (norm): Remove commented code.
5605 (__mp_dbl): Likewise.
5608 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
5609 mp_no value for 1.0 and 2.0.
5610 (norm): Use RADIXI instead of radixi.d.
5612 (__mul): Use 0.0 instead of zero.d.
5613 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
5614 mp_no value for 1.0 and 2.0.
5615 (norm): Use RADIXI instead of radixi.d.
5617 (__mul): Use 0.0 instead of zero.d.
5619 2013-01-04 Joseph Myers <joseph@codesourcery.com>
5622 * math/s_casinh.c (__casinh): Reduce finite argument to first
5623 quadrant then set signs of results at the end.
5624 * math/s_casinhf.c (__casinhf): Likewise.
5625 * math/s_casinhl.c (__casinhl): Likewise.
5626 * math/libm-test.inc (casin_test): Add more tests.
5627 (casinh_test): Likewise.
5628 * sysdeps/i386/fpu/libm-test-ulps: Update.
5629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5631 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5633 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
5635 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
5637 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
5640 (__mp_dbl): Likewise.
5643 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
5644 and adjust the header comment.
5646 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
5647 variable name from declaration.
5649 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
5651 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5652 Initialize COMMON_CPUID_INDEX_7 element.
5653 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
5654 (CPUID_RTM): Likewise.
5655 (HAS_RTM): Likewise.
5656 (COMMON_CPUID_INDEX_7): New enum.
5658 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
5661 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
5662 size is zero, record memory as freed.
5664 2013-01-03 Andreas Jaeger <aj@suse.de>
5666 * po/ia.po: Add new Interlingua translation.
5668 2012-01-03 Allan McRae <allan@archlinux.org>
5670 * locale/programs/localedef.c: Fix description of '--posix' flag.
5672 2013-01-02 Joseph Myers <joseph@codesourcery.com>
5674 * NEWS: Update dates in second copyright notice.
5675 * README: Update copyright dates in example.
5676 * manual/libc.texinfo: Update copyright dates.
5677 * scripts/test-installation.pl: Update copyright date in --version
5680 * hurd/ctty-input.c: Fix copyright notice formatting.
5681 * hurd/ctty-output.c: Likewise.
5682 * hurd/dtable.c: Likewise.
5683 * hurd/hurd-raise.c: Likewise.
5684 * hurd/hurdprio.c: Likewise.
5685 * hurd/msgportdemux.c: Likewise.
5686 * misc/sys/file.h: Likewise.
5687 * misc/sys/ioctl.h: Likewise.
5688 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5689 * sysdeps/mach/hurd/chdir.c: Likewise.
5690 * sysdeps/mach/hurd/fchdir.c: Likewise.
5691 * sysdeps/mach/hurd/rename.c: Likewise.
5692 * sysdeps/mach/hurd/rmdir.c: Likewise.
5693 * sysdeps/mach/hurd/seekdir.c: Likewise.
5694 * sysdeps/mach/hurd/setsid.c: Likewise.
5695 * sysdeps/posix/wait3.c: Likewise.
5697 * All files with FSF copyright notices: Update copyright dates
5698 using scripts/update-copyrights.
5699 * intl/plural.c: Regenerated.
5700 * locale/programs/charmap-kw.h: Likewise.
5701 * locale/programs/locfile-kw.h: Likewise.
5703 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5705 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
5708 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
5709 calculation loop and add branch prediction.
5711 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
5712 check access beyond bounds of m1np.
5714 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5716 (__inv): Remove local variable MPTWO to use the global
5718 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
5719 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5721 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
5722 MP3HALFS static const.
5724 2013-01-01 David S. Miller <davem@davemloft.net>
5726 * po/ca.po: Update from translation team.
5728 2013-01-01 Joseph Myers <joseph@codesourcery.com>
5730 * scripts/update-copyrights: New file.
5731 * Makeconfig: Reformat copyright notice.
5732 * ctype/ctype.h: Likewise.
5733 * debug/swprintf_chk.c: Likewise.
5734 * elf/dl-cache.c: Likewise.
5735 * elf/dl-debug.c: Likewise.
5736 * elf/dl-object.c: Likewise.
5737 * grp/initgroups.c: Likewise.
5738 * hurd/Makefile: Likewise.
5739 * hurd/hurd/signal.h: Likewise.
5740 * hurd/hurdfault.c: Likewise.
5741 * hurd/hurdioctl.c: Likewise.
5742 * hurd/hurdlookup.c: Likewise.
5743 * hurd/intr-msg.c: Likewise.
5744 * iconv/gconv_open.c: Likewise.
5745 * libio/swprintf.c: Likewise.
5746 * locale/lc-ctype.c: Likewise.
5747 * locale/nl_langinfo.c: Likewise.
5748 * mach/Machrules: Likewise.
5749 * mach/Makefile: Likewise.
5750 * malloc/obstack.h: Likewise.
5751 * manual/Makefile: Likewise.
5752 * manual/tsort.awk: Likewise.
5753 * misc/bits/stab.def: Likewise.
5754 * nis/nis_print_group_entry.c: Likewise.
5755 * nis/nis_table.c: Likewise.
5756 * nis/nss_compat/compat-pwd.c: Likewise.
5757 * nis/nss_compat/compat-spwd.c: Likewise.
5758 * po/Makefile: Likewise.
5759 * posix/fnmatch.c: Likewise.
5760 * posix/regex.h: Likewise.
5761 * resolv/Makefile: Likewise.
5762 * resolv/nss_dns/dns-network.c: Likewise.
5763 * resolv/res_hconf.c: Likewise.
5764 * scripts/gen-sorted.awk: Likewise.
5765 * soft-fp/soft-fp.h: Likewise.
5766 * stdio-common/printf.h: Likewise.
5767 * stdlib/monetary.h: Likewise.
5768 * stdlib/random.c: Likewise.
5769 * stdlib/random_r.c: Likewise.
5770 * sysdeps/generic/Makefile: Likewise.
5771 * sysdeps/gnu/Makefile: Likewise.
5772 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5773 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5774 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5775 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5776 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5777 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5778 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5779 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5780 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5781 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5782 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5783 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5784 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5785 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5786 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
5787 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5788 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5789 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5790 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5791 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5792 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5793 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5794 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5795 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5796 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
5797 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5798 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5799 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
5800 * sysdeps/mach/hurd/errnos.awk: Likewise.
5801 * sysdeps/mach/hurd/fork.c: Likewise.
5802 * sysdeps/mach/hurd/getcwd.c: Likewise.
5803 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5804 * sysdeps/mach/hurd/mmap.c: Likewise.
5805 * sysdeps/mach/hurd/utimes.c: Likewise.
5806 * sysdeps/mach/hurd/xmknod.c: Likewise.
5807 * sysdeps/posix/profil.c: Likewise.
5808 * sysdeps/posix/readdir_r.c: Likewise.
5809 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5810 * sysdeps/powerpc/bits/setjmp.h: Likewise.
5811 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
5812 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5813 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5814 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5815 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5816 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5817 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5818 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5819 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5820 * sysdeps/pthread/lio_listio.c: Likewise.
5821 * sysdeps/sparc/dl-procinfo.h: Likewise.
5822 * sysdeps/unix/i386/sysdep.S: Likewise.
5823 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5824 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5825 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5826 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5828 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5829 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5830 * sysdeps/unix/sysv/linux/speed.c: Likewise.
5831 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5832 * sysdeps/wordsize-32/divdi3.c: Likewise.
5833 * time/sys/time.h: Likewise.
5834 * wcsmbs/Makefile: Likewise.
5836 2013-01-01 David S. Miller <davem@davemloft.net>
5838 * po/fr.po: Update from translation team.
5840 * catgets/gencat.c: Update copyright year.
5841 * csu/version.c: Likewise.
5842 * debug/catchsegv.sh: Likewise.
5843 * debug/pcprofiledump.c: Likewise.
5844 * debug/xtrace.sh: Likewise.
5845 * elf/ldconfig.c: Likewise.
5846 * elf/ldd.bash.in: Likewise.
5847 * elf/pldd.c: Likewise.
5848 * elf/sotruss.ksh: Likewise.
5849 * elf/sprof.c: Likewise.
5850 * iconv/iconv_prog.c: Likewise.
5851 * iconv/iconvconfig.c: Likewise.
5852 * locale/programs/locale.c: Likewise.
5853 * locale/programs/localedef.c: Likewise.
5854 * login/programs/pt_chown.c: Likewise.
5855 * malloc/memusage.sh: Likewise.
5856 * malloc/memusagestat.c: Likewise.
5857 * malloc/mtrace.pl: Likewise.
5858 * nscd/nscd.c: Likewise.
5859 * nss/getent.c: Likewise.
5860 * nss/makedb.c: Likewise.
5861 * posix/getconf.c: Likewise.
5863 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5865 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5868 2012-12-30 Mike Frysinger <vapier@gentoo.org>
5870 * math/bits/mathcalls.h (modf): Use __nonnull.
5872 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5874 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5875 (split): Use macro CN instead of the bare value.
5876 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5878 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5879 instead of the bare value.
5882 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5884 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5886 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5888 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5890 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5891 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5892 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5893 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5895 2012-12-28 Andreas Jaeger <aj@suse.de>
5897 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
5898 values are from Linux 3.7.
5900 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5901 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
5903 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5905 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
5908 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5910 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5911 variables with preprocessor constants.
5912 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5913 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5914 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5916 2012-12-27 Bruno Haible <bruno@clisp.org>
5919 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5922 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5924 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5925 and use variable directly.
5926 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5928 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5930 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5931 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5933 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5934 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5935 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5936 include directive. Remove local variable MPONE.
5937 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5938 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5939 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5941 2012-12-25 David S. Miller <davem@davemloft.net>
5943 * version.h (RELEASE): Set to "development".
5944 (VERSION): Set to "2.17.90".
5945 * NEWS: Add 2.18 section.
5947 2012-12-21 David S. Miller <davem@davemloft.net>
5949 * po/hr.po: Update from translation team.
5951 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5953 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5955 2012-12-19 Steve Ellcey <sellcey@mips.com>
5957 * NEWS: Mention new memcpy for MIPS.
5959 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5961 * manual/contrib.texi (Contributors): Spelling correction.
5963 2012-12-15 David S. Miller <davem@davemloft.net>
5965 * po/ru.po: Update from translation team.
5967 2012-12-13 David S. Miller <davem@davemloft.net>
5969 * NEWS: Mention IFUNC testsuite enhancements.
5971 * po/pl.po: Update from translation team.
5972 * po/bg.po: Likewise.
5974 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5975 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5977 2012-12-11 David S. Miller <davem@davemloft.net>
5979 * po/sv.po: Update from translation team.
5981 * po/vi.po: Update from translation team.
5983 * po/cs.po: Update from translation team.
5985 * po/de.po: Update from translation team.
5986 * po/eo.po: Likewise.
5987 * po/nl.po: Likewise.
5989 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5992 * manual/argp.texi (Argp Helper Functions): Move node to follow
5996 * manual/conf.texi (Limits on File System Capacity): Mention if
5997 terminating null is included in the max size.
5999 2012-12-10 Andreas Jaeger <aj@suse.de>
6001 * po/cs.po: Update from translation team.
6003 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6005 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
6006 void pointer and cast to uintptr_t.
6007 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
6009 * sysdeps/s390/s390-64/memcpy.S: Likewise.
6010 * sysdeps/s390/s390-64/memset.S: Likewise.
6012 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
6015 * menual/message.texi (Message Translation): Fix typos.
6016 (Helper programs for gettext): Likewise.
6018 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
6021 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
6024 2012-12-07 David S. Miller <davem@davemloft.net>
6026 * po/libc.pot: Update.
6028 2012-12-07 Richard Henderson <rth@redhat.com>
6031 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
6032 normal/normal case to before the switch.
6033 (_FP_DIV): Likewise.
6035 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
6036 Mike Frysinger <vapier@gentoo.org>
6038 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
6039 check for __NR_fadvise64_64.
6041 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
6043 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
6044 0, not just to plain "0" as a statement.
6045 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
6048 2012-12-06 Joseph Myers <joseph@codesourcery.com>
6050 * NEWS: Use sourceware.org in Bugzilla URL.
6052 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6055 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
6057 * stdio-common/tst-put-error.c (do_test): Add newline to the
6058 padded test to ensure flush.
6060 2012-12-05 Jeff Law <law@redhat.com>
6062 * sunrpc/etc.rpc (fedfs_admin): Add entry.
6064 2012-12-05 Joseph Myers <joseph@codesourcery.com>
6066 * README: Don't refer to ports add-on as distributed separately.
6067 Mention AArch64 in list of systems supported in the ports add-on.
6069 * LICENSES: Add more non-FSF copyright and license notices.
6071 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
6074 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
6076 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
6077 10000 as width of padded output.
6079 2012-12-04 Joseph Myers <joseph@codesourcery.com>
6081 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
6083 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
6084 variable LX with __attribute__ ((unused)).
6085 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6087 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6088 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6089 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
6090 with __attribute__ ((unused)).
6092 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
6094 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
6096 2012-12-04 Joseph Myers <joseph@codesourcery.com>
6098 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
6099 (CFLAGS-nldbl-acos.c): New variable.
6100 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
6101 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
6102 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
6103 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
6104 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
6105 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
6106 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
6107 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
6108 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
6109 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
6110 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
6111 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
6112 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
6113 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
6114 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
6115 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
6116 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
6117 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
6118 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
6119 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
6120 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
6121 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
6122 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
6123 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
6124 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
6125 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
6126 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
6127 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
6128 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
6129 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
6130 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
6131 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
6132 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
6133 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
6134 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
6135 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
6136 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
6137 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
6138 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
6139 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
6140 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
6141 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
6142 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
6143 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
6144 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
6145 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
6146 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
6147 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
6148 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
6149 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
6150 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
6151 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
6152 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
6153 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
6154 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
6155 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
6156 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
6157 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
6158 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
6159 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
6160 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
6161 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
6162 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
6163 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
6164 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
6165 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
6166 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
6167 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
6168 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
6169 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
6170 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
6171 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
6172 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
6173 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
6174 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
6175 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
6176 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
6177 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
6178 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
6179 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
6180 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
6181 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
6182 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
6183 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
6184 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
6185 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
6186 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
6187 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
6188 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
6189 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
6190 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
6191 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
6192 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
6193 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
6194 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
6195 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
6196 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
6198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6199 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
6202 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
6203 whole low double instead of just low 47 bits when splitting values
6206 2012-12-03 Allan McRae <allan@archlinux.org>
6208 * manual/stdio.texi (Predefined Printf Handlers): Remove
6209 @hsep and @vsep usage.
6211 2012-12-03 Mike Frysinger <vapier@gentoo.org>
6213 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
6214 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
6216 2012-12-03 Jeff Law <law@redhat.com>
6218 * time/sys/time.h (settimeofday): Do not mark TV argument
6221 2012-12-01 Mike Frysinger <vapier@gentoo.org>
6223 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
6224 when currently writing and seek to current position when not.
6225 * libio/Makefile (tests): Remove bug-fclose1.
6226 * libio/bug-fclose1.c: Delete.
6228 2012-12-01 Joseph Myers <joseph@codesourcery.com>
6230 * manual/arith.texi (feenableexcept): Fix typo.
6231 (fedisableexcept): Likewise.
6233 2012-11-30 Roland McGrath <roland@hack.frob.com>
6235 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
6236 second, differently-typed declaration, rather than a cast.
6238 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6240 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
6241 * include/rpc/svc.h: ... here.
6243 2012-11-30 Aurelien Jarno <aurel32@debian.org>
6246 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
6247 depending n and resplen2 to catch cases where answer
6250 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
6252 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
6253 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
6255 2012-11-29 Mike Frysinger <vapier@gentoo.org>
6257 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
6259 2012-11-29 Roland McGrath <roland@hack.frob.com>
6261 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
6263 2012-11-28 Jeff Law <law@redhat.com>
6266 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
6267 dataset_temporary. Track alloca usage into alloca_used.
6268 If dataset is large allocate and release it via malloc/free.
6270 2012-06-04 Florian Weimer <fweimer@redhat.com>
6273 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
6275 2012-11-28 David S. Miller <davem@davemloft.net>
6277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6279 2012-11-28 Joseph Myers <joseph@codesourcery.com>
6282 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
6283 of pi/2 rounded to nearest to 64 bits.
6284 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
6286 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
6289 2012-11-28 Jeff Law <law@redhat.com>
6290 Martin Osvald <mosvald@redhat.com>
6293 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
6294 * sunrpc/svc.c: Include time.h.
6295 (__svc_accept_failed): New function.
6296 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
6297 any reason other than EINTR, call __svc_accept_failed.
6298 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
6299 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
6301 2012-11-28 Andreas Schwab <schwab@suse.de>
6303 * scripts/abilist.awk: Also handle indirect functions in .opd
6306 2012-11-28 Joseph Myers <joseph@codesourcery.com>
6309 * sysdeps/x86/fpu/powl_helper.c: New file.
6310 * sysdeps/x86/fpu/Makefile: Likewise.
6311 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
6313 (__ieee754_powl): Use __powl_helper for finite arguments except
6314 integer exponents below 8.
6315 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
6317 (__ieee754_powl): Use __powl_helper for finite arguments except
6318 integer exponents below 8.
6319 * math/libm-test.inc (pow_test): Add more tests and enable some
6320 previously disabled tests.
6321 * sysdeps/i386/fpu/libm-test-ulps: Update.
6322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6324 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6325 Carlos O'Donell <carlos_odonell@mentor.com>
6327 * nss/makedb.c (is_prime): Assert that input is odd and greater
6328 than 4. Note that fact in a comment too.
6329 (next_prime): Add 4 to input.
6331 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6334 * libio/Makefile (tests): Add test case tst-fwrite-error.
6335 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
6336 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
6337 * libio/tst-fwrite-error.c: New test case.
6339 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
6341 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
6342 before casting to void *.
6343 * include/libc-internal.h (__pointer_type): New macro.
6344 (__integer_if_pointer_type_sub): Likewise.
6345 (__integer_if_pointer_type): Likewise.
6346 (cast_to_integer): Likewise.
6347 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
6348 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
6349 before casting to atomic64_t.
6350 (atomic_exchange_acq): Likewise.
6351 (__arch_exchange_and_add_body): Likewise.
6352 (__arch_add_body): Likewise.
6353 (atomic_add_negative): Likewise.
6354 (atomic_add_zero): Likewise.
6356 2012-11-26 Joseph Myers <joseph@codesourcery.com>
6358 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
6359 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
6360 (add_fdes): Likewise.
6361 (linear_search_fdes): Likewise.
6362 (binary_search_unencoded_fdes): Likewise.
6364 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
6366 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
6368 2012-11-24 Adam Conrad <adconrad@0c3.net>
6370 * configure.in: Autodetect C++ header directories.
6371 * configure: Regenerated.
6373 2012-11-23 Mike Frysinger <vapier@gentoo.org>
6375 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
6377 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
6379 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6381 2012-11-22 Joseph Myers <joseph@codesourcery.com>
6383 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
6384 LDBL_MANT_DIG == 106]: Disable some tests.
6385 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6387 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6391 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
6392 input for small inputs. Return +/- pi/2 for large inputs.
6393 * math/libm-test.inc (atan_test): Add more tests.
6395 * sysdeps/generic/unwind-dw2-fde-glibc.c
6396 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
6397 __attribute__ ((unused)).
6400 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
6401 x * y if x and y are nonzero and z is zero.
6404 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
6405 nonzero exponents with absolute value below 0x1p-117 to +/-
6409 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
6410 up arguments below 2**-450, not just those below 2**-500.
6411 * math/libm-test.inc (hypot_test): Add another test.
6414 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6415 Return a+b for ratio over 2**120, not 2**60.
6416 * math/libm-test.inc (hypot_test): Add another test.
6418 * math/libm-test.inc (clog_test): Use
6419 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
6420 (clog10_test): Likewise.
6423 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
6425 2012-11-22 Andreas Schwab <schwab@suse.de>
6427 * sysdeps/i386/fpu/libm-test-ulps: Update.
6429 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
6431 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
6432 printf output with newline.
6434 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
6437 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
6438 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
6439 -z nodlopen, -z initfirst and -z execstack support.
6440 * configure: Regenerated.
6442 * elf/elf.h (DF_1_NODIRECT): New macro.
6443 (DF_1_IGNMULDEF): Likewise.
6444 (DF_1_NOKSYMS): Likewise.
6445 (DF_1_NOHDR): Likewise.
6446 (DF_1_EDITED): Likewise.
6447 (DF_1_NORELOC): Likewise.
6448 (DF_1_SYMINTPOSE): Likewise.
6449 (DF_1_GLOBAUDIT): Likewise.
6450 (DF_1_SINGLETON): Likewise.
6451 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
6452 DT_1_SUPPORTED_MASK bits.
6453 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
6455 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
6457 * sysdeps/unix/make-syscalls.sh: Document prefixes.
6459 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
6461 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
6464 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
6465 (sendmmsg): Move declarations...
6466 * socket/sys/socket.h: ... here.
6467 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
6468 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
6470 * socket/recvmmsg.c: ... this new file.
6471 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
6472 (sendmmsg): Rename to __sendmmsg, create weak alias and make
6473 definition of __sendmmsg hidden.
6474 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
6475 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
6476 Move ENOSYS stub into and include it from...
6477 * socket/sendmmsg.c: ... this new file.
6478 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
6479 (sysdep_routines): Move recvmmsg and sendmmsg...
6480 * socket/Makefile (routines): ... here.
6481 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
6482 (GLIBC_PRIVATE): Add __sendmmsg.
6483 * include/sys/socket.h (__sendmmsg): Add declarations.
6484 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
6487 2012-11-20 Joseph Myers <joseph@codesourcery.com>
6489 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
6490 variable I1 with __attribute__ ((unused)).
6491 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6493 2012-11-19 Joseph Myers <joseph@codesourcery.com>
6495 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
6496 DUMMY variables with __attribute__ ((unused)).
6498 * bits/byteswap.h: Include <bits/types.h>.
6499 (__bswap_64): Use __uint64_t instead of unsigned long long int.
6501 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6503 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
6504 string_t. Do not manually set errno.
6505 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
6506 length with __strnlen. Make sure to both set errno and return it on
6509 2012-11-19 David S. Miller <davem@davemloft.net>
6511 With help from Joseph Myers.
6512 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
6513 very large arguments properly.
6514 * math/libm-test.inc (atan_test): New tests.
6515 (atan2_test): New tests.
6516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6517 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6519 2012-11-19 Joseph Myers <joseph@codesourcery.com>
6522 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
6525 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
6526 [POSIX] (EADDRNOTAVAIL): Likewise.
6527 [POSIX] (EAFNOSUPPORT): Likewise.
6528 [POSIX] (EALREADY): Likewise.
6529 [POSIX] (ECONNABORTED): Likewise.
6530 [POSIX] (ECONNREFUSED): Likewise.
6531 [POSIX] (ECONNRESET): Likewise.
6532 [POSIX] (EDESTADDRREQ): Likewise.
6533 [POSIX] (EDQUOT): Likewise.
6534 [POSIX] (EHOSTUNREACH): Likewise.
6535 [POSIX] (EIDRM): Likewise.
6536 [POSIX] (EISCONN): Likewise.
6537 [POSIX] (ELOOP): Likewise.
6538 [POSIX] (EMULTIHOP): Likewise.
6539 [POSIX] (ENETDOWN): Likewise.
6540 [POSIX] (ENETUNREACH): Likewise.
6541 [POSIX] (ENOBUFS): Likewise.
6542 [POSIX] (ENODATA): Likewise.
6543 [POSIX] (ENOLINK): Likewise.
6544 [POSIX] (ENOMSG): Likewise.
6545 [POSIX] (ENOPROTOOPT): Likewise.
6546 [POSIX] (ENOSR): Likewise.
6547 [POSIX] (ENOSTR): Likewise.
6548 [POSIX] (ENOTCONN): Likewise.
6549 [POSIX] (ENOTSOCK): Likewise.
6550 [POSIX] (EOPNOTSUPP): Likewise.
6551 [POSIX] (EOVERFLOW): Likewise.
6552 [POSIX] (EPROTO): Likewise.
6553 [POSIX] (EPROTONOSUPPORT): Likewise.
6554 [POSIX] (EPROTOTYPE): Likewise.
6555 [POSIX] (ESTALE): Likewise.
6556 [POSIX] (ETIME): Likewise.
6557 [POSIX] (ETXTBSY): Likewise.
6558 [POSIX] (EWOULDBLOCK): Likewise.
6559 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
6560 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
6561 [POSIX] (SEEK_CUR): Likewise.
6562 [POSIX] (SEEK_END): Likewise.
6563 [POSIX || UNIX98] (mode_t): Do not require.
6564 [POSIX] (off_t): Likewise.
6565 [POSIX] (pid_t): Likewise.
6566 [POSIX] (sys/stat.h): Do not allow header.
6567 [POSIX] (unistd.h): Likewise.
6568 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
6569 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
6570 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
6571 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
6573 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
6574 sigevent): Specify elements.
6575 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
6577 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
6578 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
6580 * conform/data/cpio.h-data [POSIX]: Disable whole file.
6581 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
6582 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
6583 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
6584 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
6585 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
6586 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
6587 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
6588 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
6589 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
6590 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
6591 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
6592 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
6593 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
6595 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
6597 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
6599 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
6601 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
6602 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
6603 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
6604 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
6605 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
6606 Specify lower bound on value.
6607 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
6608 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
6609 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
6610 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
6611 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
6612 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
6613 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
6614 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
6616 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
6618 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
6619 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
6620 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
6621 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
6622 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
6623 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
6624 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
6625 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
6626 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
6627 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
6628 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
6629 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
6630 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
6631 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
6632 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
6633 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
6635 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
6637 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
6638 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
6639 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
6640 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
6641 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
6642 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
6644 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
6645 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
6646 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
6647 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
6648 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
6649 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
6650 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
6652 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
6653 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
6654 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
6655 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
6656 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
6657 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
6658 specify as optional.
6659 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
6660 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
6661 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
6662 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
6663 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
6664 [XPG3] (NL_LANGMAX): Likewise.
6665 [POSIX || XPG3] (NL_MSGMAX): Likewise.
6666 [POSIX || XPG3] (NL_NMAX): Likewise.
6667 [POSIX || XPG3] (NL_SETMAX): Likewise.
6668 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
6669 [XPG3] (NZERO): Likewise.
6670 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
6671 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
6672 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
6673 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
6674 (REG_ERANGE): Expect.
6675 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
6677 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
6678 Use (void) in prototype.
6679 [POSIX] (*_t): Allow.
6680 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
6681 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
6682 (WRDE_BADVAL): Expect.
6684 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
6686 [XPG3 || XPG4] (O_RSYNC): Likewise.
6687 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
6689 [XPG3 || XPG4] (pthread_sigmask): Likewise.
6690 [XPG3 || XPG4] (sigqueue): Likewise.
6691 [XPG3 || XPG4] (sigtimedwait): Likewise.
6692 [XPG3 || XPG4] (sigwaitinfo): Likewise.
6693 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
6694 [XPG3 || XPG4] (vsnprintf): Likewise.
6695 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
6697 [XPG3 || XPG4] (blksize_t): Likewise.
6698 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
6700 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
6701 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6702 [XPG3 || XPG4] (struct itimerspec): Likewise.
6703 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
6704 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
6705 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
6706 [XPG3 || XPG4] (clockid_t): Likewise.
6707 [XPG3 || XPG4] (timer_t): Likewise.
6708 [XPG3 || XPG4] (clock_getres): Likewise.
6709 [XPG3 || XPG4] (clock_gettime): Likewise.
6710 [XPG3 || XPG4] (clock_settime): Likewise.
6711 [XPG3 || XPG4] (nanosleep): Likewise.
6712 [XPG3 || XPG4] (timer_create): Likewise.
6713 [XPG3 || XPG4] (timer_delete): Likewise.
6714 [XPG3 || XPG4] (timer_gettime): Likewise.
6715 [XPG3 || XPG4] (timer_getoverrun): Likewise.
6716 [XPG3 || XPG4] (timer_settime): Likewise.
6717 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
6718 [XPG3 || XPG4] (getlogin_r): Likewise.
6719 [XPG3 || XPG4] (pread): Likewise.
6720 [XPG3 || XPG4] (pthread_atfork): Likewise.
6721 [XPG3 || XPG4] (pwrite): Likewise.
6724 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
6727 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6729 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
6730 finalizing MALLSTREAM.
6732 * sysdeps/mach/hurd/syncfs.c: New file.
6734 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6737 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
6738 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
6739 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
6740 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
6741 (_nss_dns_gethostbyname4_r): Likewise.
6742 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
6743 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
6745 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
6748 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
6750 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
6752 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
6753 * elf/cache.c (print_entry): Print ",AArch64" for
6756 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
6757 * elf/cache.c (print_entry): Print ",hard-float" for
6760 2012-11-18 David S. Miller <davem@davemloft.net>
6762 With help from Joseph Myers.
6763 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
6765 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
6767 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
6768 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
6770 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6771 * math/libm-test.inc (y0_test): New tests.
6772 (y1_test): New tests.
6773 * sysdeps/i386/fpu/libm-test-ulps: Update.
6774 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6775 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6777 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
6779 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
6781 * configure: Regenerated.
6783 2012-11-17 David S. Miller <davem@davemloft.net>
6786 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
6787 nonzero exponents with absolute value below 0x1p-128 to +/-
6790 2012-11-17 Joseph Myers <joseph@codesourcery.com>
6792 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
6794 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
6796 * posix/getconf-speclist.c: New file.
6797 * posix/posix-envs.def: Likewise.
6798 * posix/confstr.c (START_ENV_GROUP): New macro.
6799 (END_ENV_GROUP): Likewise.
6800 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6801 (KNOWN_PRESENT_ENV_STRING): Likewise.
6802 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6803 (UNKNOWN_ENVIRONMENT): Likewise.
6804 (confstr): Include posix-envs.def instead of handling
6805 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
6806 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
6807 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
6808 (END_ENV_GROUP): Likewise.
6809 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6810 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6811 (UNKNOWN_ENVIRONMENT): Likewise.
6812 (__sysconf): Include posix-envs.def instead of handling associated
6813 cases directly here.
6814 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6815 preprocessing getconf-speclist.c rather than running getconf or
6816 generating empty file.
6818 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
6820 * scripts/check-local-headers.sh: Ignore 'mach' headers.
6822 2012-11-16 Andrej Lajovic <natrij@gmail.com>
6825 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6827 2012-11-16 David S. Miller <davem@davemloft.net>
6829 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6830 smaller than LDBL_EPSILON/2.0L, just return xm1.
6832 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
6834 * elf/tst-array1.c (init): Set constructor priority to 1000.
6835 (fini): Set destructor priority to 1000.
6836 * elf/tst-array2dep.c: Likewise.
6838 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6841 * libio/fileops.c (_IO_new_file_write): Correctly return error.
6842 (_IO_new_file_xsputn): Also return EOF if none of the input
6843 data was written when overflow failed.
6844 * libio/iopadn.c (_IO_padn): Likewise.
6845 * libio/iowpadn.c (_IO_wpadn): Likewise.
6846 * stdio-common/tst-put-error.c: Add copyright notice.
6847 (do_test): Add case for printing padded string.
6848 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6849 _IO_padn returned error.
6850 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6851 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6854 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6856 * libio/libioP.h: Add comment note that the references to C++
6857 bits are now obsolete.
6859 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6861 * math/libm-test.inc (check_complex): Use asprintf.
6863 2012-11-14 Joseph Myers <joseph@codesourcery.com>
6865 * debug/pcprofiledump.c (print_version): Update copyright year.
6866 * malloc/memusagestat.c (print_version): Likewise.
6868 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
6871 * elf/Makefile (tests): Add tst-audit8.
6872 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6873 ($(objpfx)tst-audit8.out): New target.
6874 (tst-audit8-ENV): New variable.
6875 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6876 audit if l_reloc_result is NULL.
6877 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6878 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6879 * elf/tst-audit8.c: New file.
6881 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6883 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6884 * misc/Makefile (CFLAGS-select.c): Define.
6885 * posix/Makefile (CFLAGS-pause.c): Define.
6887 2012-11-13 David S. Miller <davem@davemloft.net>
6889 * crypt/Makefile: Move test targets after toplevel Rules
6890 inclusion. Grab any necessary sysdep routines when linking.
6891 * crypt/md5.c (md5_process_block): Remove define, we will always
6892 name it __md5_process_block.
6893 (md5_finish_ctx): Update md5_process_block call.
6894 (md5_stream): Likewise.
6895 (md5_process_bytes): Likewise.
6896 (md5_process_block): Rename to __md5_process_block and move to ...
6897 * crypt/md5-block.c: ... here.
6898 * crypt/sha256.c (sha256_process_block): Move to ...
6899 * crypt/sha256-block.c: ... here.
6900 * crypt/sha512.c (sha512_process_block): Move to ...
6901 * crypt/sha512-block.c: ... here.
6902 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6904 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6905 * sysdeps/sparc/sparc64/multiarch/Makefile
6906 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6908 (localedef-aux): Add md5 crypto assembler when in locale subdir.
6909 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6911 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6912 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6913 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6914 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6915 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6916 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6917 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6918 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6919 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6921 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6922 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6924 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6926 2012-11-13 Joseph Myers <joseph@codesourcery.com>
6928 * timezone/tzselect.ksh: Update from tzcode git revision
6929 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6930 * timezone/zdump.c: Likewise.
6931 * timezone/zic.c: Likewise.
6932 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6933 in TZVERSION setting, not $(PKGVERSION).
6934 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6935 REPORT_BUGS_TO settings.
6938 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6941 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6943 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6944 detection to immediately after _FP_ROUND().
6945 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6948 2012-11-11 David S. Miller <davem@davemloft.net>
6950 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6952 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6953 __close rather than their public counterparts.
6955 2012-11-10 Joseph Myers <joseph@codesourcery.com>
6957 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6959 [UNIX98] (sem_timedwait): Do not expect.
6960 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6961 [XPG4 || UNIX98] (sockatmark): Do not expect.
6962 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6963 (clock_getcpuclockid): Do not expect.
6964 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6965 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6967 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6968 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6969 [UNIX98] (vwscanf): Likewise.
6970 [UNIX98] (vswscanf): Likewise.
6972 2012-11-09 Joseph Myers <joseph@codesourcery.com>
6974 * timezone/version.h: Remove file.
6975 * timezone/README: Do not refer to version.h.
6976 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6978 ($(objpfx)zdump.o): Likewise.
6979 ($(objpfx)version.h): New target.
6981 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6983 * timezone/README: Don't mention modification to tzselect.ksh.
6984 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6985 work on unmodified tzselect.ksh. Substitute version numbers in
6988 * Makefile (format-me): Remove.
6989 (INSTALL): Adjust indentation. Use commands directly instead of
6992 * aclocal.m4 (ACX_PKGVERSION): New macro.
6993 (ACX_BUGURL): Likewise.
6994 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6995 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6996 (REPORT_BUGS_TO): Likewise.
6997 * configure: Regenerated.
6998 * config.h.in (PKGVERSION): New macro.
6999 (REPORT_BUGS_TO): Likewise.
7000 * config.make.in (PKGVERSION): New variable.
7001 (PKGVERSION_TEXI): Likewise.
7002 (REPORT_BUGS_TO): Likewise.
7003 (REPORT_BUGS_TEXI): Likewise.
7004 * Makefile (format-me): Use -I$(common-objpfx)manual.
7005 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
7006 ($(common-objpfx)manual/%): New target.
7007 (manual/%): Remove target.
7008 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
7009 (print_version): Use PKGVERSION.
7010 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
7011 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
7013 ($(objpfx)xtrace): Likewise.
7014 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
7015 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
7016 (print_version): Use PKGVERSION.
7017 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
7018 (do_version): Use PKGVERSION.
7019 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
7021 (common-ldd-rewrite): Likewise.
7022 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
7023 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
7024 (print_version): Use PKGVERSION.
7025 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
7026 * elf/pldd.c (argp_program_bug_address): Remove variable.
7027 (more_help): New function.
7028 (argp): Use more_help.
7029 (print_version): Use PKGVERSION.
7030 * elf/sln.c (main): Use PKGVERSION.
7031 (usage): Use REPORT_BUGS_TO.
7032 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
7033 (top level): Use PKGVERSION.
7034 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
7035 (print_version): Use PKGVERSION.
7036 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
7037 (print_version): Use PKGVERSION.
7038 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
7039 (print_version): Use PKGVERSION.
7040 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
7041 (print_version): Use PKGVERSION.
7042 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
7043 (print_version): Use PKGVERSION.
7044 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
7045 (print_version): Use PKGVERSION.
7046 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
7048 ($(objpfx)memusage): Likewise.
7049 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
7050 (do_version): Use PKGVERSION.
7051 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
7052 (print_version): Use PKGVERSION.
7053 * malloc/mtrace.pl ($PACKAGE): Remove variable.
7054 ($PKGVERSION): New variable.
7055 ($REPORT_BUGS_TO): Likewise.
7056 (usage): Use $REPORT_BUGS_TO.
7057 (top level): Use $PKGVERSION.
7058 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
7059 ($(objpfx)pkgvers.texi): New rule.
7060 ($(objpfx)stamp-pkgvers): Likewise.
7061 * manual/install.texi: Include pkgvers.texi.
7062 (--with-pkgversion): Document new configure option.
7063 (--with-bugurl): Likewise.
7064 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
7065 than necessarily for this particular distribution. Use
7066 REPORT_BUGS_TO for where to report bugs.
7067 * INSTALL: Regenerated.
7068 * manual/libc.texinfo: Include pkgvers.texi.
7069 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
7070 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
7071 (print_version): Use PKGVERSION.
7072 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
7073 (print_version): Use PKGVERSION.
7074 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
7075 (print_version): Use PKGVERSION.
7076 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
7077 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
7079 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
7080 (print_version): Use PKGVERSION.
7081 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
7082 (print_version): Use PKGVERSION.
7083 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
7086 * timezone/checktab.awk: Update from tzcode 2012i.
7087 * timezone/ialloc.c: Likewise.
7088 * timezone/private.h: Likewise.
7089 * timezone/scheck.c: Likewise.
7090 * timezone/tzfile.h: Likewise.
7091 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
7092 (TZVERSION): Hardcode tzcode version number.
7093 * timezone/zdump.c: Update from tzcode 2012i.
7094 * timezone/zic.c: Likewise.
7095 * timezone/version.h: New file.
7096 * timezone/README: Describe version.h. Update upstream location.
7099 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
7100 (mktemp): Enable declaration.
7101 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
7102 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
7103 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
7104 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
7106 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
7108 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
7110 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
7112 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
7114 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
7118 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
7119 offset in buffer as u_int32_t not u_long. Consistently use memcpy
7120 for copies of such integer values.
7121 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
7122 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
7124 2012-11-09 Andreas Jaeger <aj@suse.de>
7126 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
7127 definitions and declarations that are provided by
7128 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7130 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7132 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
7133 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
7134 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
7137 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7139 * elf/elf.h: Update comment before AArch64 relocations.
7141 2012-11-07 David S. Miller <davem@davemloft.net>
7143 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
7144 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7145 (__start_context): Declare.
7146 (__makecontext_ret): Delete.
7147 (__makecontext): Hook up __start_context instead of
7149 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
7150 (sysdep_routines): Add __start_context when in stdlib.
7152 2012-11-07 Joseph Myers <joseph@codesourcery.com>
7154 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
7155 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
7156 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
7158 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
7159 (READELF): New variable. Use it instead of hardcoded "readelf".
7161 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
7163 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
7164 * sysdeps/x86/Makefile: Here.
7165 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
7166 * sysdeps/x86/tst-xmmymm.sh: This.
7168 2012-11-07 Joseph Myers <joseph@codesourcery.com>
7170 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
7172 [UNIX98] (pthread_barrier_t): Do not expect.
7173 [UNIX98] (pthread_barrierattr_t): Likewise.
7174 [UNIX98] (pthread_spinlock_t): Likewise.
7175 [UNIX98] (pthread_barrier_destroy): Likewise.
7176 [UNIX98] (pthread_barrier_init): Likewise.
7177 [UNIX98] (pthread_barrier_wait): Likewise.
7178 [UNIX98] (pthread_barrierattr_destroy): Likewise.
7179 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
7180 [UNIX98] (pthread_barrierattr_init): Likewise.
7181 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
7182 [UNIX98] (pthread_getcpuclockid): Likewise.
7183 [UNIX98] (pthread_mutex_timedlock): Likewise.
7184 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
7185 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
7186 [UNIX98] (pthread_sigmask): Likewise.
7187 [UNIX98] (pthread_spin_destroy): Likewise.
7188 [UNIX98] (pthread_spin_init): Likewise.
7189 [UNIX98] (pthread_spin_lock): Likewise.
7190 [UNIX98] (pthread_spin_trylock): Likewise.
7191 [UNIX98] (pthread_spin_unlock): Likewise.
7192 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
7194 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
7195 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
7196 [XPG3 || XPG4] (pthread_cond_t): Likewise.
7197 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
7198 [XPG3 || XPG4] (pthread_key_t): Likewise.
7199 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
7200 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
7201 [XPG3 || XPG4] (pthread_once_t): Likewise.
7202 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
7203 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
7204 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
7205 [XPG3 || XPG4] (pthread_t): Likewise.
7207 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
7209 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
7211 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
7212 Change function return type to int.
7214 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
7215 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
7216 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
7217 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
7218 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
7219 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
7220 [!POSIX] (posix_madvise): Likewise.
7221 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
7223 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
7224 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
7226 (posix_mem_offset): Likewise.
7227 (posix_typed_mem_get_info): Likewise.
7228 (posix_typed_mem_open): Likewise.
7230 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
7231 Change condition to [XOPEN2K8].
7233 * conform/conformtest.pl: Preprocess allow-header data with -x c
7234 instead of from stdin.
7235 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
7236 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
7237 [C99-based standards] (cerfc): Likewise.
7238 [C99-based standards] (cexp2): Likewise.
7239 [C99-based standards] (cexpm1): Likewise.
7240 [C99-based standards] (clog10): Likewise.
7241 [C99-based standards] (clog1p): Likewise.
7242 [C99-based standards] (clog2): Likewise.
7243 [C99-based standards] (clgamma): Likewise.
7244 [C99-based standards] (ctgamma): Likewise.
7245 [C99-based standards] (cerff): Likewise.
7246 [C99-based standards] (cerfcf): Likewise.
7247 [C99-based standards] (cexp2f): Likewise.
7248 [C99-based standards] (cexpm1f): Likewise.
7249 [C99-based standards] (clog10f): Likewise.
7250 [C99-based standards] (clog1pf): Likewise.
7251 [C99-based standards] (clog2f): Likewise.
7252 [C99-based standards] (clgammaf): Likewise.
7253 [C99-based standards] (ctgammaf): Likewise.
7254 [C99-based standards] (cerfl): Likewise.
7255 [C99-based standards] (cerfcl): Likewise.
7256 [C99-based standards] (cexp2l): Likewise.
7257 [C99-based standards] (cexpm1l): Likewise.
7258 [C99-based standards] (clog10l): Likewise.
7259 [C99-based standards] (clog1pl): Likewise.
7260 [C99-based standards] (clog2l): Likewise.
7261 [C99-based standards] (clgammal): Likewise.
7262 [C99-based standards] (ctgammal): Likewise.
7263 * conform/data/inttypes.h-data [C99-based standards]: Include
7264 stdint.h-data. Remove all expectations for stdint.h contents.
7265 [C99-based standards] (PRI*): Do not allow.
7266 [C99-based standards] (SCN*): Likewise.
7267 [C99-based standards] (*_t): Likewise.
7268 [C99-based-standards] (PRId8): Expect macro.
7269 [C99-based-standards] (PRIi8): Likewise.
7270 [C99-based-standards] (PRIo8): Likewise.
7271 [C99-based-standards] (PRIu8): Likewise.
7272 [C99-based-standards] (PRIx8): Likewise.
7273 [C99-based-standards] (PRIX8): Likewise.
7274 [C99-based-standards] (SCNd8): Likewise.
7275 [C99-based-standards] (SCNi8): Likewise.
7276 [C99-based-standards] (SCNo8): Likewise.
7277 [C99-based-standards] (SCNu8): Likewise.
7278 [C99-based-standards] (SCNx8): Likewise.
7279 [C99-based-standards] (PRIdLEAST8): Likewise.
7280 [C99-based-standards] (PRIiLEAST8): Likewise.
7281 [C99-based-standards] (PRIoLEAST8): Likewise.
7282 [C99-based-standards] (PRIuLEAST8): Likewise.
7283 [C99-based-standards] (PRIxLEAST8): Likewise.
7284 [C99-based-standards] (PRIXLEAST8): Likewise.
7285 [C99-based-standards] (SCNdLEAST8): Likewise.
7286 [C99-based-standards] (SCNiLEAST8): Likewise.
7287 [C99-based-standards] (SCNoLEAST8): Likewise.
7288 [C99-based-standards] (SCNuLEAST8): Likewise.
7289 [C99-based-standards] (SCNxLEAST8): Likewise.
7290 [C99-based-standards] (PRIdFAST8): Likewise.
7291 [C99-based-standards] (PRIiFAST8): Likewise.
7292 [C99-based-standards] (PRIoFAST8): Likewise.
7293 [C99-based-standards] (PRIuFAST8): Likewise.
7294 [C99-based-standards] (PRIxFAST8): Likewise.
7295 [C99-based-standards] (PRIXFAST8): Likewise.
7296 [C99-based-standards] (SCNdFAST8): Likewise.
7297 [C99-based-standards] (SCNiFAST8): Likewise.
7298 [C99-based-standards] (SCNoFAST8): Likewise.
7299 [C99-based-standards] (SCNuFAST8): Likewise.
7300 [C99-based-standards] (SCNxFAST8): Likewise.
7301 [C99-based-standards] (PRId16): Likewise.
7302 [C99-based-standards] (PRIi16): Likewise.
7303 [C99-based-standards] (PRIo16): Likewise.
7304 [C99-based-standards] (PRIu16): Likewise.
7305 [C99-based-standards] (PRIx16): Likewise.
7306 [C99-based-standards] (PRIX16): Likewise.
7307 [C99-based-standards] (SCNd16): Likewise.
7308 [C99-based-standards] (SCNi16): Likewise.
7309 [C99-based-standards] (SCNo16): Likewise.
7310 [C99-based-standards] (SCNu16): Likewise.
7311 [C99-based-standards] (SCNx16): Likewise.
7312 [C99-based-standards] (PRIdLEAST16): Likewise.
7313 [C99-based-standards] (PRIiLEAST16): Likewise.
7314 [C99-based-standards] (PRIoLEAST16): Likewise.
7315 [C99-based-standards] (PRIuLEAST16): Likewise.
7316 [C99-based-standards] (PRIxLEAST16): Likewise.
7317 [C99-based-standards] (PRIXLEAST16): Likewise.
7318 [C99-based-standards] (SCNdLEAST16): Likewise.
7319 [C99-based-standards] (SCNiLEAST16): Likewise.
7320 [C99-based-standards] (SCNoLEAST16): Likewise.
7321 [C99-based-standards] (SCNuLEAST16): Likewise.
7322 [C99-based-standards] (SCNxLEAST16): Likewise.
7323 [C99-based-standards] (PRIdFAST16): Likewise.
7324 [C99-based-standards] (PRIiFAST16): Likewise.
7325 [C99-based-standards] (PRIoFAST16): Likewise.
7326 [C99-based-standards] (PRIuFAST16): Likewise.
7327 [C99-based-standards] (PRIxFAST16): Likewise.
7328 [C99-based-standards] (PRIXFAST16): Likewise.
7329 [C99-based-standards] (SCNdFAST16): Likewise.
7330 [C99-based-standards] (SCNiFAST16): Likewise.
7331 [C99-based-standards] (SCNoFAST16): Likewise.
7332 [C99-based-standards] (SCNuFAST16): Likewise.
7333 [C99-based-standards] (SCNxFAST16): Likewise.
7334 [C99-based-standards] (PRId32): Likewise.
7335 [C99-based-standards] (PRIi32): Likewise.
7336 [C99-based-standards] (PRIo32): Likewise.
7337 [C99-based-standards] (PRIu32): Likewise.
7338 [C99-based-standards] (PRIx32): Likewise.
7339 [C99-based-standards] (PRIX32): Likewise.
7340 [C99-based-standards] (SCNd32): Likewise.
7341 [C99-based-standards] (SCNi32): Likewise.
7342 [C99-based-standards] (SCNo32): Likewise.
7343 [C99-based-standards] (SCNu32): Likewise.
7344 [C99-based-standards] (SCNx32): Likewise.
7345 [C99-based-standards] (PRIdLEAST32): Likewise.
7346 [C99-based-standards] (PRIiLEAST32): Likewise.
7347 [C99-based-standards] (PRIoLEAST32): Likewise.
7348 [C99-based-standards] (PRIuLEAST32): Likewise.
7349 [C99-based-standards] (PRIxLEAST32): Likewise.
7350 [C99-based-standards] (PRIXLEAST32): Likewise.
7351 [C99-based-standards] (SCNdLEAST32): Likewise.
7352 [C99-based-standards] (SCNiLEAST32): Likewise.
7353 [C99-based-standards] (SCNoLEAST32): Likewise.
7354 [C99-based-standards] (SCNuLEAST32): Likewise.
7355 [C99-based-standards] (SCNxLEAST32): Likewise.
7356 [C99-based-standards] (PRIdFAST32): Likewise.
7357 [C99-based-standards] (PRIiFAST32): Likewise.
7358 [C99-based-standards] (PRIoFAST32): Likewise.
7359 [C99-based-standards] (PRIuFAST32): Likewise.
7360 [C99-based-standards] (PRIxFAST32): Likewise.
7361 [C99-based-standards] (PRIXFAST32): Likewise.
7362 [C99-based-standards] (SCNdFAST32): Likewise.
7363 [C99-based-standards] (SCNiFAST32): Likewise.
7364 [C99-based-standards] (SCNoFAST32): Likewise.
7365 [C99-based-standards] (SCNuFAST32): Likewise.
7366 [C99-based-standards] (SCNxFAST32): Likewise.
7367 [C99-based-standards] (PRId64): Likewise.
7368 [C99-based-standards] (PRIi64): Likewise.
7369 [C99-based-standards] (PRIo64): Likewise.
7370 [C99-based-standards] (PRIu64): Likewise.
7371 [C99-based-standards] (PRIx64): Likewise.
7372 [C99-based-standards] (PRIX64): Likewise.
7373 [C99-based-standards] (SCNd64): Likewise.
7374 [C99-based-standards] (SCNi64): Likewise.
7375 [C99-based-standards] (SCNo64): Likewise.
7376 [C99-based-standards] (SCNu64): Likewise.
7377 [C99-based-standards] (SCNx64): Likewise.
7378 [C99-based-standards] (PRIdLEAST64): Likewise.
7379 [C99-based-standards] (PRIiLEAST64): Likewise.
7380 [C99-based-standards] (PRIoLEAST64): Likewise.
7381 [C99-based-standards] (PRIuLEAST64): Likewise.
7382 [C99-based-standards] (PRIxLEAST64): Likewise.
7383 [C99-based-standards] (PRIXLEAST64): Likewise.
7384 [C99-based-standards] (SCNdLEAST64): Likewise.
7385 [C99-based-standards] (SCNiLEAST64): Likewise.
7386 [C99-based-standards] (SCNoLEAST64): Likewise.
7387 [C99-based-standards] (SCNuLEAST64): Likewise.
7388 [C99-based-standards] (SCNxLEAST64): Likewise.
7389 [C99-based-standards] (PRIdFAST64): Likewise.
7390 [C99-based-standards] (PRIiFAST64): Likewise.
7391 [C99-based-standards] (PRIoFAST64): Likewise.
7392 [C99-based-standards] (PRIuFAST64): Likewise.
7393 [C99-based-standards] (PRIxFAST64): Likewise.
7394 [C99-based-standards] (PRIXFAST64): Likewise.
7395 [C99-based-standards] (SCNdFAST64): Likewise.
7396 [C99-based-standards] (SCNiFAST64): Likewise.
7397 [C99-based-standards] (SCNoFAST64): Likewise.
7398 [C99-based-standards] (SCNuFAST64): Likewise.
7399 [C99-based-standards] (SCNxFAST64): Likewise.
7400 [C99-based-standards] (PRIdMAX): Likewise.
7401 [C99-based-standards] (PRIiMAX): Likewise.
7402 [C99-based-standards] (PRIoMAX): Likewise.
7403 [C99-based-standards] (PRIuMAX): Likewise.
7404 [C99-based-standards] (PRIxMAX): Likewise.
7405 [C99-based-standards] (PRIXMAX): Likewise.
7406 [C99-based-standards] (SCNdMAX): Likewise.
7407 [C99-based-standards] (SCNiMAX): Likewise.
7408 [C99-based-standards] (SCNoMAX): Likewise.
7409 [C99-based-standards] (SCNuMAX): Likewise.
7410 [C99-based-standards] (SCNxMAX): Likewise.
7411 [C99-based-standards] (PRIdPTR): Likewise.
7412 [C99-based-standards] (PRIiPTR): Likewise.
7413 [C99-based-standards] (PRIoPTR): Likewise.
7414 [C99-based-standards] (PRIuPTR): Likewise.
7415 [C99-based-standards] (PRIxPTR): Likewise.
7416 [C99-based-standards] (PRIXPTR): Likewise.
7417 [C99-based-standards] (SCNdPTR): Likewise.
7418 [C99-based-standards] (SCNiPTR): Likewise.
7419 [C99-based-standards] (SCNoPTR): Likewise.
7420 [C99-based-standards] (SCNuPTR): Likewise.
7421 [C99-based-standards] (SCNxPTR): Likewise.
7422 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
7424 * conform/data/stdint.h-data: Update comments to clarify
7426 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
7428 [C99-based standards] (INT8_MAX): Likewise.
7429 [C99-based standards] (INT16_MIN): Likewise.
7430 [C99-based standards] (INT16_MAX): Likewise.
7431 [C99-based standards] (INT32_MIN): Likewise.
7432 [C99-based standards] (INT32_MAX): Likewise.
7433 [C99-based standards] (INT64_MIN): Likewise.
7434 [C99-based standards] (INT64_MAX): Likewise.
7435 [C99-based standards] (UINT8_MAX): Likewise.
7436 [C99-based standards] (UINT16_MAX): Likewise.
7437 [C99-based standards] (UINT32_MAX): Likewise.
7438 [C99-based standards] (UINT64_MAX): Likewise.
7439 [C99-based standards] (INT_LEAST8_MIN): Likewise.
7440 [C99-based standards] (INT_LEAST8_MAX): Likewise.
7441 [C99-based standards] (INT_LEAST16_MIN): Likewise.
7442 [C99-based standards] (INT_LEAST16_MAX): Likewise.
7443 [C99-based standards] (INT_LEAST32_MIN): Likewise.
7444 [C99-based standards] (INT_LEAST32_MAX): Likewise.
7445 [C99-based standards] (INT_LEAST64_MIN): Likewise.
7446 [C99-based standards] (INT_LEAST64_MAX): Likewise.
7447 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
7448 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
7449 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
7450 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
7451 [C99-based standards] (INT_FAST8_MIN): Likewise.
7452 [C99-based standards] (INT_FAST8_MAX): Likewise.
7453 [C99-based standards] (INT_FAST16_MIN): Likewise.
7454 [C99-based standards] (INT_FAST16_MAX): Likewise.
7455 [C99-based standards] (INT_FAST32_MIN): Likewise.
7456 [C99-based standards] (INT_FAST32_MAX): Likewise.
7457 [C99-based standards] (INT_FAST64_MIN): Likewise.
7458 [C99-based standards] (INT_FAST64_MAX): Likewise.
7459 [C99-based standards] (UINT_FAST8_MAX): Likewise.
7460 [C99-based standards] (UINT_FAST16_MAX): Likewise.
7461 [C99-based standards] (UINT_FAST32_MAX): Likewise.
7462 [C99-based standards] (UINT_FAST64_MAX): Likewise.
7463 [C99-based standards] (INTPTR_MIN): Likewise.
7464 [C99-based standards] (INTPTR_MAX): Likewise.
7465 [C99-based standards] (UINTPTR_MAX): Likewise.
7466 [C99-based standards] (INTMAX_MIN): Likewise.
7467 [C99-based standards] (INTMAX_MAX): Likewise.
7468 [C99-based standards] (UINTMAX_MAX): Likewise.
7469 [C99-based standards] (PTRDIFF_MIN): Likewise.
7470 [C99-based standards] (PTRDIFF_MAX): Likewise.
7471 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
7472 [C99-based standards] (SIZE_MAX): Likewise.
7473 [C99-based standards] (WCHAR_MAX): Likewise.
7474 [C99-based standards] (WINT_MAX): Likewise.
7475 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
7476 constraint on value.
7477 [C99-based standards] (WCHAR_MIN): Likewise.
7478 [C99-based standards] (WINT_MIN): Likewise.
7479 [C99-based standards] (*_t): Allow.
7480 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
7481 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
7482 Include math.h-data and complex.h-data. Remove all expectations
7483 of math.h and complex.h contents.
7484 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
7486 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
7487 (struct tm): Expect tag.
7488 [C99-based-standards] (wcstof): Expect function.
7489 [C99-based-standards] (wcstold): Likewise.
7490 [C99-based-standards] (wcstoll): Likewise.
7491 [C99-based-standards] (wcstoull): Likewise.
7492 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
7493 macro-int-constant. Specify type.
7494 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
7495 constraint on value.
7496 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7498 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
7500 [ISO C standards]: Do not allow headers.
7501 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
7502 wcs[abcdefghijklmnopqrstuvwxyz]*.
7503 [ISO C standards] (*_t): Do not allow.
7504 * conform/data/wctype.h-data [C99-based standards] (iswblank):
7506 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
7507 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7509 [ISO C standards]: Do not allow headers.
7510 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
7511 is[abcdefghijklmnopqrstuvwxyz]*.
7512 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
7513 to[abcdefghijklmnopqrstuvwxyz]*.
7514 [ISO C standards] (*_t): Do not allow.
7515 * conform/data/stdalign.h-data: New file.
7516 * conform/data/stdbool.h-data: Likewise.
7517 * conform/data/stdnoreturn.h-data: Likewise.
7519 2012-11-07 Roland McGrath <roland@hack.frob.com>
7522 * manual/filesys.texi (Directory Entries): Typo fix.
7523 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
7525 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7527 * elf/elf.h (EM_AARCH64): New macro.
7528 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
7529 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
7530 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
7531 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
7532 (R_AARCH64_TLSDESC): Likewise.
7533 (NT_ARM_TLS): Likewise.
7534 (NT_ARM_HW_BREAK): Likewise.
7535 (NT_ARM_HW_WATCH): Likewise.
7537 2012-11-07 Joseph Myers <joseph@codesourcery.com>
7540 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
7541 (__ieee754_powl): Saturate nonzero exponents with absolute value
7542 below 0x1p-79 to +/- 0x1p-79.
7543 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
7544 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
7545 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
7546 nonzero exponents with absolute value below 0x1p-32 to +/-
7548 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
7549 (__ieee754_powl): Saturate nonzero exponents with absolute value
7550 below 0x1p-79 to +/- 0x1p-79.
7551 * math/libm-test.inc (pow_test): Add more tests.
7553 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7555 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
7556 _dl_s390_cap_flags with kernel. Increase string length.
7557 (_dl_s390_platforms): Add z196 and zEC12.
7559 2012-11-07 Joseph Myers <joseph@codesourcery.com>
7561 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
7562 Change XOPEN21K to XOPEN2K.
7564 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
7566 * string/memmove.c: Use memcpy when possible.
7568 2012-11-06 Andreas Jaeger <aj@suse.de>
7570 * po/eo.po: Update from translation team.
7572 2012-11-06 Joseph Myers <joseph@codesourcery.com>
7575 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
7576 exponent and small x and y exponents, scale x or y up. Increase
7577 by 2 the exponent used in scaling up.
7578 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7579 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7580 * math/libm-test.inc (fma_test): Add more tests.
7581 (fma_test_towardzero): Likewise.
7582 (fma_test_downward): Likewise.
7583 (fma_test_upward): Likewise.
7585 2012-11-05 Joseph Myers <joseph@codesourcery.com>
7588 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
7592 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
7593 namespace for names of struct fields.
7594 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
7596 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7597 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
7599 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
7602 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
7604 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7606 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
7610 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
7613 2012-11-04 Joseph Myers <joseph@codesourcery.com>
7616 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
7617 definitely overflow as x * y not x * y + z.
7618 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7619 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7620 * math/libm-test.inc (fma_test): Add more tests.
7621 (fma_test_towardzero): Likewise.
7622 (fma_test_downward): Likewise.
7623 (fma_test_upward): Likewise.
7625 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7629 * include/stub-tag.h: Remove file.
7630 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
7632 * manual/maint.texi (Porting): Don't reference it.
7633 * Makerules ($(objpfx)stubs): Likewise.
7634 * dirent/closedir.c: Don't include <stub-tag.h>.
7635 * dirent/dirfd.c: Likewise.
7636 * dirent/fdopendir.c: Likewise.
7637 * dirent/getdents.c: Likewise.
7638 * dirent/getdents64.c: Likewise.
7639 * dirent/opendir.c: Likewise.
7640 * dirent/readdir.c: Likewise.
7641 * dirent/readdir64.c: Likewise.
7642 * dirent/readdir64_r.c: Likewise.
7643 * dirent/readdir_r.c: Likewise.
7644 * dirent/rewinddir.c: Likewise.
7645 * dirent/seekdir.c: Likewise.
7646 * dirent/telldir.c: Likewise.
7647 * gmon/profil.c: Likewise.
7648 * grp/setgroups.c: Likewise.
7649 * inet/if_index.c: Likewise.
7650 * io/access.c: Likewise.
7651 * io/chdir.c: Likewise.
7652 * io/chmod.c: Likewise.
7653 * io/chown.c: Likewise.
7654 * io/close.c: Likewise.
7655 * io/dup.c: Likewise.
7656 * io/dup2.c: Likewise.
7657 * io/dup3.c: Likewise.
7658 * io/euidaccess.c: Likewise.
7659 * io/faccessat.c: Likewise.
7660 * io/fchdir.c: Likewise.
7661 * io/fchmod.c: Likewise.
7662 * io/fchmodat.c: Likewise.
7663 * io/fchown.c: Likewise.
7664 * io/fchownat.c: Likewise.
7665 * io/fcntl.c: Likewise.
7666 * io/flock.c: Likewise.
7667 * io/fstatfs.c: Likewise.
7668 * io/fstatfs64.c: Likewise.
7669 * io/fstatvfs.c: Likewise.
7670 * io/fstatvfs64.c: Likewise.
7671 * io/futimens.c: Likewise.
7672 * io/fxstat.c: Likewise.
7673 * io/fxstat64.c: Likewise.
7674 * io/fxstatat.c: Likewise.
7675 * io/fxstatat64.c: Likewise.
7676 * io/getcwd.c: Likewise.
7677 * io/isatty.c: Likewise.
7678 * io/lchmod.c: Likewise.
7679 * io/lchown.c: Likewise.
7680 * io/link.c: Likewise.
7681 * io/linkat.c: Likewise.
7682 * io/lseek.c: Likewise.
7683 * io/lseek64.c: Likewise.
7684 * io/lxstat64.c: Likewise.
7685 * io/mkdir.c: Likewise.
7686 * io/mkdirat.c: Likewise.
7687 * io/mkfifo.c: Likewise.
7688 * io/mkfifoat.c: Likewise.
7689 * io/open.c: Likewise.
7690 * io/open64.c: Likewise.
7691 * io/openat.c: Likewise.
7692 * io/openat64.c: Likewise.
7693 * io/pipe.c: Likewise.
7694 * io/pipe2.c: Likewise.
7695 * io/poll.c: Likewise.
7696 * io/posix_fadvise.c: Likewise.
7697 * io/posix_fadvise64.c: Likewise.
7698 * io/posix_fallocate.c: Likewise.
7699 * io/posix_fallocate64.c: Likewise.
7700 * io/read.c: Likewise.
7701 * io/readlink.c: Likewise.
7702 * io/readlinkat.c: Likewise.
7703 * io/rmdir.c: Likewise.
7704 * io/sendfile.c: Likewise.
7705 * io/sendfile64.c: Likewise.
7706 * io/statfs.c: Likewise.
7707 * io/statfs64.c: Likewise.
7708 * io/statvfs.c: Likewise.
7709 * io/statvfs64.c: Likewise.
7710 * io/symlink.c: Likewise.
7711 * io/symlinkat.c: Likewise.
7712 * io/ttyname.c: Likewise.
7713 * io/ttyname_r.c: Likewise.
7714 * io/umask.c: Likewise.
7715 * io/unlink.c: Likewise.
7716 * io/unlinkat.c: Likewise.
7717 * io/utime.c: Likewise.
7718 * io/utimensat.c: Likewise.
7719 * io/write.c: Likewise.
7720 * io/xmknod.c: Likewise.
7721 * io/xmknodat.c: Likewise.
7722 * io/xstat.c: Likewise.
7723 * io/xstat64.c: Likewise.
7724 * login/getpt.c: Likewise.
7725 * login/grantpt.c: Likewise.
7726 * login/unlockpt.c: Likewise.
7727 * math/e_acoshl.c: Likewise.
7728 * math/e_acosl.c: Likewise.
7729 * math/e_asinl.c: Likewise.
7730 * math/e_atan2l.c: Likewise.
7731 * math/e_atanhl.c: Likewise.
7732 * math/e_coshl.c: Likewise.
7733 * math/e_expl.c: Likewise.
7734 * math/e_fmodl.c: Likewise.
7735 * math/e_gammal_r.c: Likewise.
7736 * math/e_hypotl.c: Likewise.
7737 * math/e_j0l.c: Likewise.
7738 * math/e_j1l.c: Likewise.
7739 * math/e_jnl.c: Likewise.
7740 * math/e_lgammal_r.c: Likewise.
7741 * math/e_log10l.c: Likewise.
7742 * math/e_log2l.c: Likewise.
7743 * math/e_logl.c: Likewise.
7744 * math/e_powl.c: Likewise.
7745 * math/e_rem_pio2l.c: Likewise.
7746 * math/e_sinhl.c: Likewise.
7747 * math/e_sqrtl.c: Likewise.
7748 * math/fclrexcpt.c: Likewise.
7749 * math/fedisblxcpt.c: Likewise.
7750 * math/feenablxcpt.c: Likewise.
7751 * math/fegetenv.c: Likewise.
7752 * math/fegetexcept.c: Likewise.
7753 * math/fegetround.c: Likewise.
7754 * math/feholdexcpt.c: Likewise.
7755 * math/fesetenv.c: Likewise.
7756 * math/fesetround.c: Likewise.
7757 * math/feupdateenv.c: Likewise.
7758 * math/fgetexcptflg.c: Likewise.
7759 * math/fraiseexcpt.c: Likewise.
7760 * math/fsetexcptflg.c: Likewise.
7761 * math/ftestexcept.c: Likewise.
7762 * math/k_cosl.c: Likewise.
7763 * math/k_rem_pio2l.c: Likewise.
7764 * math/k_sinl.c: Likewise.
7765 * math/k_tanl.c: Likewise.
7766 * math/s_asinhl.c: Likewise.
7767 * math/s_atanl.c: Likewise.
7768 * math/s_cbrtl.c: Likewise.
7769 * math/s_erfl.c: Likewise.
7770 * math/s_expm1l.c: Likewise.
7771 * math/s_log1pl.c: Likewise.
7772 * math/s_tanhl.c: Likewise.
7773 * misc/acct.c: Likewise.
7774 * misc/brk.c: Likewise.
7775 * misc/chflags.c: Likewise.
7776 * misc/chroot.c: Likewise.
7777 * misc/fchflags.c: Likewise.
7778 * misc/fgetxattr.c: Likewise.
7779 * misc/flistxattr.c: Likewise.
7780 * misc/fremovexattr.c: Likewise.
7781 * misc/fsetxattr.c: Likewise.
7782 * misc/fsync.c: Likewise.
7783 * misc/ftruncate.c: Likewise.
7784 * misc/futimes.c: Likewise.
7785 * misc/futimesat.c: Likewise.
7786 * misc/getdomain.c: Likewise.
7787 * misc/getdtsz.c: Likewise.
7788 * misc/gethostid.c: Likewise.
7789 * misc/gethostname.c: Likewise.
7790 * misc/getloadavg.c: Likewise.
7791 * misc/getpagesize.c: Likewise.
7792 * misc/getsysstats.c: Likewise.
7793 * misc/getxattr.c: Likewise.
7794 * misc/gtty.c: Likewise.
7795 * misc/ioctl.c: Likewise.
7796 * misc/lgetxattr.c: Likewise.
7797 * misc/listxattr.c: Likewise.
7798 * misc/llistxattr.c: Likewise.
7799 * misc/lremovexattr.c: Likewise.
7800 * misc/lsetxattr.c: Likewise.
7801 * misc/lutimes.c: Likewise.
7802 * misc/madvise.c: Likewise.
7803 * misc/mincore.c: Likewise.
7804 * misc/mlock.c: Likewise.
7805 * misc/mlockall.c: Likewise.
7806 * misc/mmap.c: Likewise.
7807 * misc/mprotect.c: Likewise.
7808 * misc/msync.c: Likewise.
7809 * misc/munlock.c: Likewise.
7810 * misc/munlockall.c: Likewise.
7811 * misc/munmap.c: Likewise.
7812 * misc/preadv.c: Likewise.
7813 * misc/preadv64.c: Likewise.
7814 * misc/ptrace.c: Likewise.
7815 * misc/pwritev.c: Likewise.
7816 * misc/pwritev64.c: Likewise.
7817 * misc/readv.c: Likewise.
7818 * misc/reboot.c: Likewise.
7819 * misc/remap_file_pages.c: Likewise.
7820 * misc/removexattr.c: Likewise.
7821 * misc/revoke.c: Likewise.
7822 * misc/select.c: Likewise.
7823 * misc/setdomain.c: Likewise.
7824 * misc/setegid.c: Likewise.
7825 * misc/seteuid.c: Likewise.
7826 * misc/sethostid.c: Likewise.
7827 * misc/sethostname.c: Likewise.
7828 * misc/setregid.c: Likewise.
7829 * misc/setreuid.c: Likewise.
7830 * misc/setxattr.c: Likewise.
7831 * misc/sstk.c: Likewise.
7832 * misc/stty.c: Likewise.
7833 * misc/swapoff.c: Likewise.
7834 * misc/swapon.c: Likewise.
7835 * misc/sync.c: Likewise.
7836 * misc/syncfs.c: Likewise.
7837 * misc/syscall.c: Likewise.
7838 * misc/truncate.c: Likewise.
7839 * misc/ualarm.c: Likewise.
7840 * misc/usleep.c: Likewise.
7841 * misc/ustat.c: Likewise.
7842 * misc/utimes.c: Likewise.
7843 * misc/vhangup.c: Likewise.
7844 * misc/writev.c: Likewise.
7845 * posix/_exit.c: Likewise.
7846 * posix/alarm.c: Likewise.
7847 * posix/execve.c: Likewise.
7848 * posix/fexecve.c: Likewise.
7849 * posix/fork.c: Likewise.
7850 * posix/fpathconf.c: Likewise.
7851 * posix/getaddrinfo.c: Likewise.
7852 * posix/getegid.c: Likewise.
7853 * posix/geteuid.c: Likewise.
7854 * posix/getgid.c: Likewise.
7855 * posix/getgroups.c: Likewise.
7856 * posix/getlogin.c: Likewise.
7857 * posix/getlogin_r.c: Likewise.
7858 * posix/getpgid.c: Likewise.
7859 * posix/getpid.c: Likewise.
7860 * posix/getppid.c: Likewise.
7861 * posix/getresgid.c: Likewise.
7862 * posix/getresuid.c: Likewise.
7863 * posix/getsid.c: Likewise.
7864 * posix/getuid.c: Likewise.
7865 * posix/glob64.c: Likewise.
7866 * posix/nanosleep.c: Likewise.
7867 * posix/pathconf.c: Likewise.
7868 * posix/pause.c: Likewise.
7869 * posix/posix_madvise.c: Likewise.
7870 * posix/pread.c: Likewise.
7871 * posix/pread64.c: Likewise.
7872 * posix/pwrite.c: Likewise.
7873 * posix/pwrite64.c: Likewise.
7874 * posix/sched_getaffinity.c: Likewise.
7875 * posix/sched_getp.c: Likewise.
7876 * posix/sched_gets.c: Likewise.
7877 * posix/sched_primax.c: Likewise.
7878 * posix/sched_primin.c: Likewise.
7879 * posix/sched_rr_gi.c: Likewise.
7880 * posix/sched_setaffinity.c: Likewise.
7881 * posix/sched_setp.c: Likewise.
7882 * posix/sched_sets.c: Likewise.
7883 * posix/sched_yield.c: Likewise.
7884 * posix/setgid.c: Likewise.
7885 * posix/setlogin.c: Likewise.
7886 * posix/setpgid.c: Likewise.
7887 * posix/setresgid.c: Likewise.
7888 * posix/setresuid.c: Likewise.
7889 * posix/setsid.c: Likewise.
7890 * posix/setuid.c: Likewise.
7891 * posix/sleep.c: Likewise.
7892 * posix/spawni.c: Likewise.
7893 * posix/sysconf.c: Likewise.
7894 * posix/times.c: Likewise.
7895 * posix/wait.c: Likewise.
7896 * posix/wait3.c: Likewise.
7897 * posix/wait4.c: Likewise.
7898 * posix/waitpid.c: Likewise.
7899 * resolv/gai_sigqueue.c: Likewise.
7900 * resource/getpriority.c: Likewise.
7901 * resource/getrlimit.c: Likewise.
7902 * resource/getrusage.c: Likewise.
7903 * resource/nice.c: Likewise.
7904 * resource/setpriority.c: Likewise.
7905 * resource/setrlimit.c: Likewise.
7906 * resource/ulimit.c: Likewise.
7907 * rt/aio_cancel.c: Likewise.
7908 * rt/aio_fsync.c: Likewise.
7909 * rt/aio_read.c: Likewise.
7910 * rt/aio_sigqueue.c: Likewise.
7911 * rt/aio_suspend.c: Likewise.
7912 * rt/aio_write.c: Likewise.
7913 * rt/clock_getres.c: Likewise.
7914 * rt/clock_gettime.c: Likewise.
7915 * rt/clock_nanosleep.c: Likewise.
7916 * rt/clock_settime.c: Likewise.
7917 * rt/lio_listio.c: Likewise.
7918 * rt/mq_close.c: Likewise.
7919 * rt/mq_getattr.c: Likewise.
7920 * rt/mq_notify.c: Likewise.
7921 * rt/mq_open.c: Likewise.
7922 * rt/mq_receive.c: Likewise.
7923 * rt/mq_send.c: Likewise.
7924 * rt/mq_setattr.c: Likewise.
7925 * rt/mq_timedreceive.c: Likewise.
7926 * rt/mq_timedsend.c: Likewise.
7927 * rt/mq_unlink.c: Likewise.
7928 * rt/shm_open.c: Likewise.
7929 * rt/shm_unlink.c: Likewise.
7930 * rt/timer_create.c: Likewise.
7931 * rt/timer_delete.c: Likewise.
7932 * rt/timer_getoverr.c: Likewise.
7933 * rt/timer_gettime.c: Likewise.
7934 * rt/timer_settime.c: Likewise.
7935 * setjmp/__longjmp.c: Likewise.
7936 * setjmp/setjmp.c: Likewise.
7937 * signal/kill.c: Likewise.
7938 * signal/killpg.c: Likewise.
7939 * signal/raise.c: Likewise.
7940 * signal/sigaction.c: Likewise.
7941 * signal/sigaltstack.c: Likewise.
7942 * signal/sigblock.c: Likewise.
7943 * signal/sigignore.c: Likewise.
7944 * signal/sigintr.c: Likewise.
7945 * signal/signal.c: Likewise.
7946 * signal/sigpause.c: Likewise.
7947 * signal/sigpending.c: Likewise.
7948 * signal/sigqueue.c: Likewise.
7949 * signal/sigreturn.c: Likewise.
7950 * signal/sigset.c: Likewise.
7951 * signal/sigsetmask.c: Likewise.
7952 * signal/sigstack.c: Likewise.
7953 * signal/sigsuspend.c: Likewise.
7954 * signal/sigtimedwait.c: Likewise.
7955 * signal/sigvec.c: Likewise.
7956 * signal/sigwait.c: Likewise.
7957 * signal/sigwaitinfo.c: Likewise.
7958 * signal/sysv_signal.c: Likewise.
7959 * socket/accept.c: Likewise.
7960 * socket/accept4.c: Likewise.
7961 * socket/bind.c: Likewise.
7962 * socket/connect.c: Likewise.
7963 * socket/getpeername.c: Likewise.
7964 * socket/getsockname.c: Likewise.
7965 * socket/getsockopt.c: Likewise.
7966 * socket/isfdtype.c: Likewise.
7967 * socket/listen.c: Likewise.
7968 * socket/recv.c: Likewise.
7969 * socket/recvfrom.c: Likewise.
7970 * socket/recvmsg.c: Likewise.
7971 * socket/send.c: Likewise.
7972 * socket/sendmsg.c: Likewise.
7973 * socket/sendto.c: Likewise.
7974 * socket/setsockopt.c: Likewise.
7975 * socket/shutdown.c: Likewise.
7976 * socket/sockatmark.c: Likewise.
7977 * socket/socket.c: Likewise.
7978 * socket/socketpair.c: Likewise.
7979 * stdio-common/ctermid.c: Likewise.
7980 * stdio-common/cuserid.c: Likewise.
7981 * stdio-common/remove.c: Likewise.
7982 * stdio-common/rename.c: Likewise.
7983 * stdio-common/renameat.c: Likewise.
7984 * stdio-common/tempname.c: Likewise.
7985 * stdlib/getcontext.c: Likewise.
7986 * stdlib/makecontext.c: Likewise.
7987 * stdlib/setcontext.c: Likewise.
7988 * stdlib/swapcontext.c: Likewise.
7989 * stdlib/system.c: Likewise.
7990 * streams/fattach.c: Likewise.
7991 * streams/fdetach.c: Likewise.
7992 * streams/getmsg.c: Likewise.
7993 * streams/getpmsg.c: Likewise.
7994 * streams/putmsg.c: Likewise.
7995 * streams/putpmsg.c: Likewise.
7996 * sysdeps/unix/bsd/getpt.c: Likewise.
7997 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7998 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7999 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
8002 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
8003 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
8004 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8005 * sysvipc/msgctl.c: Likewise.
8006 * sysvipc/msgget.c: Likewise.
8007 * sysvipc/msgrcv.c: Likewise.
8008 * sysvipc/msgsnd.c: Likewise.
8009 * sysvipc/semctl.c: Likewise.
8010 * sysvipc/semget.c: Likewise.
8011 * sysvipc/semop.c: Likewise.
8012 * sysvipc/semtimedop.c: Likewise.
8013 * sysvipc/shmat.c: Likewise.
8014 * sysvipc/shmctl.c: Likewise.
8015 * sysvipc/shmdt.c: Likewise.
8016 * sysvipc/shmget.c: Likewise.
8017 * termios/tcdrain.c: Likewise.
8018 * termios/tcflow.c: Likewise.
8019 * termios/tcflush.c: Likewise.
8020 * termios/tcgetattr.c: Likewise.
8021 * termios/tcgetpgrp.c: Likewise.
8022 * termios/tcsendbrk.c: Likewise.
8023 * termios/tcsetattr.c: Likewise.
8024 * termios/tcsetpgrp.c: Likewise.
8025 * time/adjtime.c: Likewise.
8026 * time/clock.c: Likewise.
8027 * time/getitimer.c: Likewise.
8028 * time/gettimeofday.c: Likewise.
8029 * time/setitimer.c: Likewise.
8030 * time/settimeofday.c: Likewise.
8031 * time/stime.c: Likewise.
8032 * time/time.c: Likewise.
8034 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
8036 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
8039 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
8041 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
8043 2012-11-03 Joseph Myers <joseph@codesourcery.com>
8046 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
8047 FE_TONEAREST before applying Dekker multiplication and Knuth
8048 addition. Clear inexact exceptions and check for exact zero
8050 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8051 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8052 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8053 * math/libm-test.inc (fma_test): Add more tests.
8054 (fma_test_towardzero): Likewise.
8055 (fma_test_downward): Likewise.
8056 (fma_test_upward): Likewise.
8057 * sysdeps/generic/math_private.h (default_libc_fesetround): New
8059 (libc_fesetround): New macro.
8060 (libc_fesetroundf): Likewise.
8061 (libc_fesetroundl): Likewise.
8062 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
8064 (libc_fesetround_387): Likewise.
8065 (libc_fesetroundf): New macro.
8066 (libc_fesetround): Likewise.
8067 (libc_fesetroundl): Likewise.
8068 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
8070 (libc_fesetroundf): New macro.
8071 (libc_fesetround): Likewise.
8072 (libc_fesetroundl): Likewise.
8073 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
8074 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
8075 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
8077 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
8078 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
8080 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
8081 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
8083 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
8087 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
8088 integer constant usable in #if and use that to give value to enum
8090 (FE_DIVBYZERO): Likewise.
8091 (FE_UNDERFLOW): Likewise.
8092 (FE_OVERFLOW): Likewise.
8093 (FE_INVALID): Likewise.
8094 (FE_INVALID_SNAN): Likewise.
8095 (FE_INVALID_ISI): Likewise.
8096 (FE_INVALID_IDI): Likewise.
8097 (FE_INVALID_ZDZ): Likewise.
8098 (FE_INVALID_IMZ): Likewise.
8099 (FE_INVALID_COMPARE): Likewise.
8100 (FE_INVALID_SOFTWARE): Likewise.
8101 (FE_INVALID_SQRT): Likewise.
8102 (FE_INVALID_INTEGER_CONVERSION): Likewise.
8103 (FE_TONEAREST): Likewise.
8104 (FE_TOWARDZERO): Likewise.
8105 (FE_UPWARD): Likewise.
8106 (FE_DOWNWARD): Likewise.
8107 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
8108 (FE_DIVBYZERO): Likewise.
8109 (FE_OVERFLOW): Likewise.
8110 (FE_UNDERFLOW): Likewise.
8111 (FE_INEXACT): Likewise.
8112 (FE_TONEAREST): Likewise.
8113 (FE_DOWNWARD): Likewise.
8114 (FE_UPWARD): Likewise.
8115 (FE_TOWARDZERO): Likewise.
8116 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
8117 (FE_UNDERFLOW): Likewise.
8118 (FE_OVERFLOW): Likewise.
8119 (FE_DIVBYZERO): Likewise.
8120 (FE_INVALID): Likewise.
8121 (FE_TONEAREST): Likewise.
8122 (FE_TOWARDZERO): Likewise.
8123 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
8124 (FE_OVERFLOW): Likewise.
8125 (FE_UNDERFLOW): Likewise.
8126 (FE_DIVBYZERO): Likewise.
8127 (FE_INEXACT): Likewise.
8128 (FE_TONEAREST): Likewise.
8129 (FE_TOWARDZERO): Likewise.
8130 (FE_UPWARD): Likewise.
8131 (FE_DOWNWARD): Likewise.
8132 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
8133 (FE_DIVBYZERO): Likewise.
8134 (FE_OVERFLOW): Likewise.
8135 (FE_UNDERFLOW): Likewise.
8136 (FE_INEXACT): Likewise.
8137 (FE_TONEAREST): Likewise.
8138 (FE_DOWNWARD): Likewise.
8139 (FE_UPWARD): Likewise.
8140 (FE_TOWARDZERO): Likewise.
8142 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
8144 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
8146 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
8148 * scripts/cross-test-ssh.sh (command): Use newlines to separate
8149 commands. Quote $PWD.
8150 (blacklist_exports): Don't use remove_newlines. Replace "declare
8152 (remove_newlines): Remove.
8154 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
8156 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
8157 * stdlib/stdlib.h (atof): Moved to ...
8158 * include/bits/stdlib-float.h: Here. New file.
8159 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
8160 * stdlib/bits/stdlib-float.h: New file.
8161 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
8163 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
8166 2012-11-02 Joseph Myers <joseph@codesourcery.com>
8168 * conform/conformtest.pl (@headers): Add fenv.h.
8169 * conform/data/fenv.h-data: New file.
8170 * include/fenv.h [_ISOMAC]: Disable all contents of file except
8171 include of <math/fenv.h>.
8173 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
8174 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
8175 && !UNIX98]. Enables tests for XOPEN2K8.
8176 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
8177 POSIX2008]: Likewise.
8179 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
8180 (struct rusage): Do not expect type or its members.
8183 * math/math.h (FP_NAN): Define macro to integer constant usable in
8184 #if and use that to give value to enum constant.
8185 (FP_INFINITE): Likewise.
8186 (FP_ZERO): Likewise.
8187 (FP_SUBNORMAL): Likewise.
8188 (FP_NORMAL): Likewise.
8190 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
8192 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
8193 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
8196 2012-11-02 Roland McGrath <roland@hack.frob.com>
8198 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
8199 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
8200 autoconf-time if not.
8201 * configure.in: Remove AC_PREREQ.
8203 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8205 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
8206 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
8207 of the internal implementation.
8209 2012-11-02 Joseph Myers <joseph@codesourcery.com>
8211 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
8212 except include of <misc/sys/syslog.h>.
8214 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
8217 function returns with a NULL context exit with zero.
8219 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8221 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
8223 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
8225 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
8226 (run_program_cmd): This.
8227 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
8228 (tst_langinfo): New variable. Use it.
8230 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
8232 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
8233 floating point opcodes.
8235 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8237 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
8240 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
8242 * sysdeps/mach/hurd/powerpc: Remove directory.
8243 * sysdeps/mach/powerpc: Likewise.
8245 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8247 * scripts/check-local-headers.sh: Ignore c++ headers.
8249 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8251 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
8252 __libc_cleanup_region_start argument.
8254 2012-11-01 Joseph Myers <joseph@codesourcery.com>
8258 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
8259 x * y using scaling, not as x * y + z.
8260 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8261 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8262 * math/libm-test.inc (fma_test): Add more tests.
8263 (fma_test_towardzero): Likewise.
8264 (fma_test_downward): Likewise.
8265 (fma_test_upward): Likewise.
8267 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8269 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
8271 2012-10-31 Joseph Myers <joseph@codesourcery.com>
8273 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
8276 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
8278 * rt/tst-shm.c (worker): Correct checking for mmap failure.
8280 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8287 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8290 Fix the order of the list for glibc 2.17.
8291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8294 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8298 2012-10-31 Joseph Myers <joseph@codesourcery.com>
8301 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
8302 for low part of x being zero before using __atanl (y).
8303 * math/libm-test.inc (atan2_test): Add another test.
8305 * manual/install.texi (Configuring and compiling): Document
8306 general use of test-wrapper and test-wrapper-env.
8307 * INSTALL: Regenerated.
8309 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
8310 (__fma): Do not extract and scale down low bits on after-rounding
8311 systems when result rounded to normal precision would have normal
8313 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
8314 (__fmal): Do not extract and scale down low bits on after-rounding
8315 systems when result rounded to normal precision would have normal
8317 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
8318 (__fmal): Do not extract and scale down low bits on after-rounding
8319 systems when result rounded to normal precision would have normal
8321 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
8323 (fma_test): Add more tests.
8324 (fma_test_towardzero): Likewise.
8325 (fma_test_downward): Likewise.
8326 (fma_test_upward): Likewise.
8328 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
8330 * sysdeps/i386/tininess.h: Renamed to ...
8331 * sysdeps/x86/tininess.h: This.
8332 * sysdeps/x86_64/tininess.h: Removed.
8334 2012-10-30 Joseph Myers <joseph@codesourcery.com>
8336 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
8337 input. Use $(build-program-cmd).
8338 ($(objpfx)tst-array1-static.out): Likewise.
8339 ($(objpfx)tst-array2.out): Likewise.
8340 ($(objpfx)tst-array3.out): Likewise.
8341 ($(objpfx)tst-array4.out): Likewise.
8342 ($(objpfx)tst-array5.out): Likewise.
8343 ($(objpfx)tst-array5-static.out): Likewise.
8345 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
8347 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
8350 * nss/nsswitch.h (nss_interface_function): Provide new
8351 macro for use with NSS functions.
8352 * grp/initgroups.c: Use new macro.
8353 * nss/getXXbyYY.c: Likewise.
8354 * nss/getXXbyYY_r.c: Likewise.
8355 * nss/getXXent.c: Likewise.
8356 * nss/getXXent_r.c: Likewise.
8357 * sysdeps/posix/getaddrinfo.c: Likewise.
8359 2012-10-30 Andreas Jaeger <aj@suse.de>
8361 * po/ru.po: Update Russion translation from translation project.
8363 2012-10-30 Joseph Myers <joseph@codesourcery.com>
8367 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
8368 result and shift together with sticky bit instead of replicating
8369 round-to-nearest rounding.
8370 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8371 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8372 * math/libm-test.inc (fma_test): Add more tests. Do not permit
8373 missing underflow exceptions.
8374 (fma_test_towardzero): Add more tests.
8375 (fma_test_downward): Likewise.
8376 (fma_test_upward): Likewise.
8379 * sysdeps/generic/tininess.h: New file.
8380 * sysdeps/i386/tininess.h: Likewise.
8381 * sysdeps/sh/tininess.h: Likewise.
8382 * sysdeps/x86_64/tininess.h: Likewise.
8383 * stdlib/tst-strtod-underflow.c: Likewise.
8384 * stdlib/tst-tininess.c: Likewise.
8385 * stdlib/strtod_l.c: Include <tininess.h>.
8386 (round_and_return): Do not set errno for exact underflow cases.
8387 Force an underflow exception when setting errno for underflow.
8388 Determine underflow based on rounding to normal precision if
8389 TININESS_AFTER_ROUNDING.
8390 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
8391 ERANGE for exact underflow cases.
8392 * stdlib/Makefile (tests): Add tst-tininess and
8393 tst-strtod-underflow.
8394 ($(objpfx)tst-tininess): Use $(link-libm).
8395 ($(objpfx)tst-strtod-underflow): Likewise.
8397 2012-10-30 Andreas Jaeger <aj@suse.de>
8400 * elf/Makefile (tests): Remove conditional for have-initfini-array
8401 since this is now always required and the variable does not exist
8403 (tests-static): Likewise.
8404 (modules-names): Likewise.
8406 * po/eo.po: Add Esperanto translation from translation project.
8408 * elf/tst-array1.c (fini_array): Make writeable so that it can be
8409 merged with constructor/destructor.
8410 (init_array): Likewise.
8411 * elf/tst-array2dep.c (fini_array): Likewise.
8412 (init_array): Likewise.
8414 2012-10-29 Mike Frysinger <vapier@gentoo.org>
8416 * manual/message.texi: Delete @cartouche tags.
8418 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
8420 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
8422 * sysdeps/mach/hurd/fsync.c: Likewise.
8424 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
8425 [_POSIX_REALTIME_SIGNALS]: Change condition to
8426 [_POSIX_REALTIME_SIGNALS > 0].
8428 2012-10-27 Andreas Jaeger <aj@suse.de>
8430 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
8431 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
8432 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
8433 [__WORDSIZE != 64]: Likewise.
8435 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
8437 * iconvdata/tst-table.sh: Remove ${SHELL}.
8438 * iconvdata/tst-tables.sh: Likewise.
8440 2012-10-25 David S. Miller <davem@davemloft.net>
8442 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8443 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
8446 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
8448 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8449 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
8450 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
8453 2012-10-25 Roland McGrath <roland@hack.frob.com>
8455 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8456 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
8459 2012-10-25 Joseph Myers <joseph@codesourcery.com>
8460 Jim Blandy <jimb@codesourcery.com>
8462 * scripts/cross-test-ssh.sh: New file.
8463 * manual/install.texi (Configuring and compiling): Document use of
8465 * INSTALL: Regenerated.
8467 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
8469 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
8472 2012-10-25 Joseph Myers <joseph@codesourcery.com>
8474 * Makeconfig (run-program-prefix): Fix comment.
8476 2012-10-24 Joseph Myers <joseph@codesourcery.com>
8477 Jim Blandy <jimb@codesourcery.com>
8479 * Makeconfig (test-wrapper): New variable,
8480 (test-wrapper-env): Likewise.
8481 [$(cross-compiling) = yes && $(test-wrapper) != ""]
8482 (run-built-tests): Define to yes.
8483 (run-program-prefix): Use $(test-wrapper).
8484 (built-program-cmd): Likewise.
8485 * Rules (make-test-out): Use $(test-wrapper-env) and
8486 $(host-built-program-cmd).
8487 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
8488 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
8490 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
8491 $(test-wrapper-env) to tst-rtld-load-self.sh.
8492 ($(objpfx)order2.out): Use $(test-wrapper).
8493 ($(objpfx)tst-initorder.out): Likewise.
8494 ($(objpfx)tst-initorder2.out): Likewise.
8495 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
8496 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
8497 (test_wrapper_env): New variable. Use it to run ld.so.
8498 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
8499 Use it to run ld.so.
8500 (test_wrapper_env): Likewise.
8501 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
8502 $(test-wrapper) to run-iconv-test.sh.
8503 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
8504 (ICONV): Use $test_wrapper.
8505 * posix/Makefile ($(objpfx)globtest.out): Pass
8506 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
8507 globtest.sh, not $(run-program-prefix).
8508 * posix/globtest.sh (run_via_rtld_prefix): New variable.
8509 (test_wrapper): Likewise.
8510 (test_wrapper_env): Likewise. Use it to run globtest with HOME
8511 set together with run_via_rtld_prefix.
8512 (run_program_prefix): Define in terms of test_wrapper and
8513 run_via_rtld_prefix.
8515 2012-10-24 Roland McGrath <roland@hack.frob.com>
8517 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
8518 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
8522 * include/time.h: Remove librt_hidden_proto (clock_gettime).
8523 Declare __clock_getres, __clock_gettime, __clock_settime,
8524 __clock_nanosleep, and __clock_getcpuclockid.
8525 * rt/clock_gettime.c: Define __clock_gettime as an alias.
8526 Remove librt_hidden_def (clock_gettime).
8527 * sysdeps/unix/clock_gettime.c: Likewise.
8528 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
8529 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8530 * rt/clock_getres.c: Define __clock_getres as an alias.
8531 * sysdeps/posix/clock_getres.c: Likewise.
8532 * rt/clock_settime.c: Define __clock_settime as an alias.
8533 * sysdeps/unix/clock_settime.c: Likewise.
8534 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
8535 * sysdeps/unix/clock_nanosleep.c: Likewise.
8536 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8537 * rt/clock-compat.c: New file.
8538 * rt/Makefile (librt-routines): Add clock-compat and move
8539 $(clock-routines) to ...
8540 (routines): ... here, new variable.
8541 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
8542 Don't add get_clockfreq here.
8543 * rt/Versions (libc: GLIBC_2.17): New version set.
8544 Add clock_* symbols here.
8545 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
8546 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
8547 (GLIBC_2.17): Add clock_* symbols.
8548 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8549 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8550 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8555 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8556 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8559 * NEWS: Mention the move.
8561 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8562 Use __open, __read, __close rather than their public counterparts.
8563 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8564 (__get_clockfreq_via_cpuinfo): Likewise.
8565 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
8566 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
8568 * config.h.in (HAVE_IFUNC): New #undef.
8569 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
8571 * configure: Regenerated.
8573 2012-10-24 Mike Frysinger <vapier@gentoo.org>
8575 * configure.in: Move READELF check to start of file.
8576 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
8577 libc_cv_asm_gnu_indirect_function in the process.
8578 * configure: Regenerated.
8580 2012-10-24 Mike Frysinger <vapier@gentoo.org>
8582 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
8583 send the output to /dev/null.
8584 (libc_cv_cc_with_libunwind): Likewise.
8585 (libc_cv_as_noexecstack): Likewise.
8586 * configure: Regenerate.
8588 2012-10-24 Joseph Myers <joseph@codesourcery.com>
8590 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
8592 * posix/globtest.sh (TMPDIR): Do not set.
8593 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
8594 (testout): Likewise.
8596 2012-10-24 Andreas Jaeger <aj@suse.de>
8598 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
8599 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
8600 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
8601 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
8602 posix_fadvise64, posix_fallocate64.
8604 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
8605 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
8606 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
8608 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
8610 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
8612 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
8613 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
8614 <bits/fcntl-linux.h>.
8615 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
8617 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
8618 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
8619 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
8620 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
8621 [__WORDSIZE != 64]: Likewise.
8623 2012-10-23 Joseph Myers <joseph@codesourcery.com>
8625 * Makeconfig (run-built-tests): New variable.
8626 * Rules [$(cross-compiling) = yes]: Change condition to
8627 [$(run-built-tests) = no].
8628 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
8629 to [$(run-built-tests) = yes].
8630 * elf/Makefile [$(cross-compiling) = no]: Likewise
8631 * grp/Makefile [$(cross-compiling) = no]: Likewise.
8632 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
8633 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
8634 * intl/Makefile [$(cross-compiling) = no]: Likewise.
8635 * io/Makefile [$(cross-compiling) = no]: Likewise.
8636 * libio/Makefile [$(cross-compiling) = no]: Likewise.
8637 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
8638 * misc/Makefile [$(cross-compiling) = no]: Likewise.
8639 * posix/Makefile [$(cross-compiling) = no]: Likewise.
8640 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
8641 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
8642 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
8643 * string/Makefile [$(cross-compiling) = no]: Likewise.
8645 * posix/Makefile ($(objpfx)globtest.out): Pass
8646 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
8647 $(rtld-installed-name).
8648 * posix/globtest.sh (elf_objpfx): Remove variable.
8649 (rtld_installed_name): Likewise.
8650 (library_path): Likewise.
8651 (run_program_prefix): New variable. Use for running globtest
8654 2012-10-23 Jim Blandy <jimb@codesourcery.com>
8655 Joseph Myers <joseph@codesourcery.com>
8657 * Makeconfig (host-built-program-cmd): New variable.
8658 * elf/Makefile (tst-stackguard1-ARGS): Use
8659 $(host-built-program-cmd).
8660 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
8661 (tst-spawn-ARGS): Likewise.
8662 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
8664 2012-10-23 Joseph Myers <joseph@codesourcery.com>
8665 Jim Blandy <jimb@codesourcery.com>
8667 * Makeconfig (run-via-rtld-prefix): New variable.
8668 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
8669 (built-program-cmd): Likewise.
8671 2012-10-22 Andreas Jaeger <aj@suse.de>
8673 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
8674 __O_RSYNC if it exists, otherwise to O_SYNC.
8676 2012-10-22 Jim Blandy <jimb@codesourcery.com>
8677 Joseph Myers <joseph@codesourcery.com>
8679 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
8681 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
8683 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
8686 2012-10-22 Andreas Jaeger <aj@suse.de>
8688 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
8690 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
8692 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8695 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
8696 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
8698 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
8700 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
8703 2012-10-21 Jim Blandy <jimb@codesourcery.com>
8704 Joseph Myers <joseph@codesourcery.com>
8706 * config.make.in (NM): New variable.
8708 2012-10-21 Andreas Jaeger <aj@suse.de>
8710 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
8711 definitions and declarations that are provided by
8712 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8714 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8717 * elf/Makefile (tests-static): Add tst-leaks1-static.
8718 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
8719 ($(objpfx)tst-leaks1-static): New rule.
8720 ($(objpfx)tst-leaks1-static-mem): Likewise.
8721 (tst-leaks1-static-ENV): New macro.
8722 * elf/dl-open.c (dl_open_worker): Check the main application
8723 only if SHARED is defined.
8724 * elf/tst-leaks1-static.c: New file.
8726 2012-10-20 Andreas Jaeger <aj@suse.de>
8728 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
8729 generic values for Linux.
8730 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
8731 and declarations that are provided by <bits/fcntl-linux.h> and
8732 include <bits/fcntl-linux.h>.
8733 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8734 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8736 2012-10-20 Roland McGrath <roland@hack.frob.com>
8738 * io/fcntl.h: Move include of <bits/types.h> to the top and
8739 include it unconditionally.
8741 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8743 * wcsmbs/Makefile (tests-ifunc): New variable.
8744 (tests): Add $(tests-ifunc).
8745 * wcsmbs/test-wcschr-ifunc.c: New file.
8746 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8747 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8748 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8749 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8750 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8752 * string/Makefile (tests-ifunc): New variable.
8753 (tests): Add $(tests-ifunc).
8754 * string/test-memccpy.c (TEST_NAME): New macro.
8755 * string/test-memchr.c (TEST_NAME): Likewise.
8756 * string/test-memcmp.c (TEST_NAME): Likewise.
8757 * string/test-memcpy.c (TEST_NAME): Likewise.
8758 * string/test-memmem.c (TEST_NAME): Likewise.
8759 * string/test-memmove.c (TEST_NAME): Likewise.
8760 * string/test-memset.c (TEST_NAME): Likewise.
8761 * string/test-rawmemchr.c (TEST_NAME): Likewise.
8762 * string/test-stpcpy.c (TEST_NAME): Likewise.
8763 * string/test-stpncpy.c (TEST_NAME): Likewise.
8764 * string/test-strcasecmp.c (TEST_NAME): Likewise.
8765 * string/test-strcasestr.c (TEST_NAME): Likewise.
8766 * string/test-strcat.c (TEST_NAME): Likewise.
8767 * string/test-strchr.c (TEST_NAME): Likewise.
8768 * string/test-strcmp.c(TEST_NAME): Likewise.
8769 * string/test-strcpy.c (TEST_NAME): Likewise.
8770 * string/test-strcspn.c (TEST_NAME): Likewise.
8771 * string/test-strlen.c (TEST_NAME): Likewise.
8772 * string/test-strncasecmp.c (TEST_NAME): Likewise.
8773 * string/test-strncmp.c (TEST_NAME): Likewise.
8774 * string/test-strncpy.c (TEST_NAME): Likewise.
8775 * string/test-strnlen.c (TEST_NAME): Likewise.
8776 * string/test-strpbrk.c (TEST_NAME): Likewise.
8777 * string/test-strrchr.c (TEST_NAME): Likewise.
8778 * string/test-strspn.c (TEST_NAME): Likewise.
8779 * string/test-strstr.c (TEST_NAME): Likewise.
8780 * string/test-bcopy-ifunc.c: New file.
8781 * string/test-bzero-ifunc.c: Likewise.
8782 * string/test-memccpy-ifunc.c: Likewise.
8783 * string/test-memchr-ifunc.c: Likewise.
8784 * string/test-memcmp-ifunc.c: Likewise.
8785 * string/test-memcpy-ifunc.c: Likewise.
8786 * string/test-memmem-ifunc.c: Likewise.
8787 * string/test-memmove-ifunc.c: Likewise.
8788 * string/test-mempcpy-ifunc.c: Likewise.
8789 * string/test-memset-ifunc.c: Likewise.
8790 * string/test-rawmemchr-ifunc.c: Likewise.
8791 * string/test-stpcpy-ifunc.c: Likewise.
8792 * string/test-stpncpy-ifunc.c: Likewise.
8793 * string/test-strcasecmp-ifunc.c: Likewise.
8794 * string/test-strcasestr-ifunc.c: Likewise.
8795 * string/test-strcat-ifunc.c: Likewise.
8796 * string/test-strchr-ifunc.c: Likewise.
8797 * string/test-strchrnul-ifunc.c: Likewise.
8798 * string/test-strcmp-ifunc.c: Likewise.
8799 * string/test-strcpy-ifunc.c: Likewise.
8800 * string/test-strcspn-ifunc.c: Likewise.
8801 * string/test-strlen-ifunc.c: Likewise.
8802 * string/test-strncasecmp-ifunc.c: Likewise.
8803 * string/test-strncat-ifunc.c: Likewise.
8804 * string/test-strncmp-ifunc.c: Likewise.
8805 * string/test-strncpy-ifunc.c: Likewise.
8806 * string/test-strnlen-ifunc.c: Likewise.
8807 * string/test-strpbrk-ifunc.c: Likewise.
8808 * string/test-strrchr-ifunc.c: Likewise.
8809 * string/test-strspn-ifunc.c: Likewise.
8810 * string/test-strstr-ifunc.c: Likewise.
8812 * debug/Makefile (tests-ifunc): New variable.
8813 (tests): Add $(tests-ifunc).
8814 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8815 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8816 * debug/test-stpcpy_chk-ifunc.c: New file.
8817 * debug/test-strcpy_chk-ifunc.c: Likewise.
8819 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8822 * elf/dl-load.c (open_verify): Retry read if the entire ELF
8823 header is not read in.
8825 2012-10-19 Joseph Myers <joseph@codesourcery.com>
8827 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
8828 script to $(SHELL) as $<. Pass $(common-objpfx) to script
8829 directly. Pass built executable to script as
8830 $(built-program-cmd).
8831 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
8832 $testprogram without using LD_LIBRARY_PATH and $ldso.
8834 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8835 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8836 $(rtld-installed-name).
8837 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8838 (rtld_installed_name): Likewise.
8839 (library_path): Likewise.
8840 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
8841 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8842 $(run-program-prefix) to tst-tables.sh.
8843 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
8844 it to run tst-table-from and tst-table-to.
8845 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8846 Pass it to tst-table.sh.
8847 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8848 $(run-program-prefix) to tst-gettext.sh.
8849 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8851 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8853 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
8855 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
8856 to run tst-gettext2.
8857 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
8858 to run tst-translit.
8859 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8860 $(run-program-prefix) to tst-mtrace.sh.
8861 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
8863 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8864 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8865 $(rtld-installed-name).
8866 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8867 (rtld_installed_name): Likewise.
8868 (run_program_prefix): New variable. Use it to run wordexp-test.
8870 * Makeconfig (ARCH): Remove all definitions.
8871 (machine): Likewise.
8872 [ARCH]: Remove conditional code.
8873 [!objdir]: Give error.
8874 [!objdir] (objpfx): Remove.
8875 [!objdir] (common-objpfx): Likewise.
8876 [!objdir] (common-objdir): Likewise.
8877 * configure.in (config_makefile): Remove. Hardcode Makefile in
8878 AC_CONFIG_FILES call.
8879 * configure: Regenerated.
8882 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8884 (testout): Likewise.
8886 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8887 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8888 $(rtld-installed-name).
8889 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8890 (rtld_installed_name): Likwise.
8891 (runit): Remove function.
8892 (run_getconf): New variable, Use it for running getconf binary.
8894 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
8897 * string/test-memmem.c (check_result): New function.
8898 (do_one_test): Use it.
8899 (check1): New function.
8900 (test_main): Use it.
8902 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
8904 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8906 2012-10-18 Joseph Myers <joseph@codesourcery.com>
8908 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8909 (_G_LSEEK64): Likewise.
8910 (_G_MMAP64): Likewise.
8911 (_G_FSTAT64): Likewise.
8912 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8913 (_G_LSEEK64): Likewise.
8914 (_G_MMAP64): Likewise.
8915 (_G_FSTAT64): Likewise.
8916 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8917 unconditional. Call __mmap64 directly.
8918 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8919 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8921 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8922 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8924 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8925 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8927 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8928 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8930 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8931 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8933 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8934 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8935 __fxstat64 directly.
8936 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8937 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8939 (freopen64) [!_G_OPEN64]: Remove conditional code.
8940 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8942 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8943 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8945 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8946 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8948 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8949 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8951 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8952 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8954 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8955 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8957 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8958 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8960 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8962 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8965 * manual/memory.texi (Malloc Tunable Parameters): Add note
8966 about free list pointers overwriting some perturb bytes.
8967 Wording suggested by Roland McGrath.
8969 2012-10-17 Joseph Myers <joseph@codesourcery.com>
8971 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8972 (lgamma_test): Likewise.
8973 (tgamma_test): Likewise.
8975 2012-10-16 Florian Weimer <fweimer@redhat.com>
8978 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8979 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8981 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8983 * NEWS: Mention BZ #14716.
8984 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8985 when removing AVAILABLE1_USES_J macro.
8987 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8989 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8990 (__bswap_64): __uint64_t for unsigned 64-bit int.
8992 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8994 * include/string.h (memmem): Declare libc hidden alias.
8995 * string/memmem.c (memmem): Define libc hidden alias.
8996 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8997 __read, __close instead of open, read, close.
8999 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
9001 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
9002 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
9004 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
9005 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
9006 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
9008 (__rawmemchr_sse2): Likewise.
9009 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
9010 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
9011 (__strchr_sse2): Likewise.
9012 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
9013 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
9014 (__strcasecmp_sse2): Likewise.
9015 (__strncasecmp_sse2): Likewise.
9016 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
9017 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
9018 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
9019 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
9020 (__strrchr_sse2): Likewise.
9021 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
9023 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9024 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9025 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9026 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9027 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9028 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9029 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9030 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9031 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
9032 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
9033 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
9034 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
9035 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
9036 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9037 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9038 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9039 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9040 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9041 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
9042 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
9043 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
9044 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
9045 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
9046 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9047 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
9048 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9049 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9050 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9051 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9052 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9054 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
9056 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
9057 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
9058 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
9059 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
9061 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
9063 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
9064 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
9065 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
9066 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
9068 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9069 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9070 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9071 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9072 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9073 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9074 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9075 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9076 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9077 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9078 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9079 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9080 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9081 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
9082 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
9083 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9084 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
9085 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
9086 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9087 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9088 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9089 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9090 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9091 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9092 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9093 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
9094 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
9095 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
9096 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
9097 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9098 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
9099 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9100 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9101 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
9102 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9103 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9104 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9105 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9106 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9107 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9108 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
9110 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
9111 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
9112 * include/ifunc-impl-list.h: New file.
9113 * misc/ifunc-impl-list.c: Likewise.
9114 * misc/Makefile (routines): Add ifunc-impl-list.
9115 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
9116 * string/test-string.h: Include <ifunc-impl-list.h>.
9117 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
9118 impl_array): New variables.
9119 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
9121 (test_init): Call __libc_ifunc_impl_list to initialize
9122 func_list if TEST_IFUNC and TEST_NAME are defined.
9124 * string/Makefile (strop-tests): Add bcopy and bzero.
9125 * string/test-bcopy.c: New file.
9126 * string/test-bzero.c: Likewise.
9127 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
9129 * string/test-memset.c: Support bzero test if TEST_BZERO is
9131 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
9133 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
9135 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
9138 2012-10-10 Joseph Myers <joseph@codesourcery.com>
9140 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
9141 * configure: Regenerated.
9143 * Makeconfig (+link-static-before-libc): Don't include
9144 $(link-static-libc).
9146 * libio/libio.h (_IO_pos_t): Remove.
9148 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
9150 * NEWS: Add note about FIPS mode. Wording suggested by Roland
9153 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
9155 * crypt/crypt-entry.c: Include fips-private.h.
9156 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
9157 * crypt/md5c-test.c (main): Tolerate disabled MD5.
9158 * sysdeps/unix/sysv/linux/fips-private.h: New file.
9159 * sysdeps/generic/fips-private.h: New file, dummy fallback.
9161 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
9163 * crypt/crypt-private.h: Include stdbool.h.
9164 (_ufc_setup_salt_r): Return bool.
9165 * crypt/crypt-entry.c: Include errno.h.
9166 (__crypt_r): Return NULL with EINVAL for bad salt.
9167 * crypt/crypt_util.c (bad_for_salt): New.
9168 (_ufc_setup_salt_r): Check that salt is long enough and within
9169 the specified alphabet.
9170 * crypt/badsalttest.c: New file.
9171 * crypt/Makefile (tests): Add it.
9172 ($(objpfx)badsalttest): New.
9174 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
9176 * NEWS: Add entry for BZ #14602.
9178 2012-10-09 Joseph Myers <joseph@codesourcery.com>
9180 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
9182 * math/libm-test.inc: Update comment listing what functions and
9184 (isgreater_test): New function.
9185 (isgreaterequal_test): Likewise.
9186 (isless_test): Likewise.
9187 (islessequal_test): Likewise.
9188 (islessgreater_test): Likewise.
9189 (isunordered_test): Likewise.
9190 (main): Call the new functions.
9192 2012-10-09 Roland McGrath <roland@hack.frob.com>
9194 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
9195 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
9196 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
9197 * sysdeps/i386/configure: Regenerated.
9198 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
9199 * sysdeps/mach/configure: Regenerated.
9200 * sysdeps/mach/hurd/configure: Regenerated.
9201 * sysdeps/powerpc/configure: Regenerated.
9202 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9203 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9204 * sysdeps/s390/s390-32/configure: Regenerated.
9205 * sysdeps/s390/s390-64/configure: Regenerated.
9206 * sysdeps/sh/configure: Regenerated.
9207 * sysdeps/sparc/configure: Regenerated.
9208 * sysdeps/unix/sysv/linux/configure: Regenerated.
9209 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9210 * sysdeps/x86_64/configure: Regenerated.
9212 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
9213 defined. Don't check if MAP is NULL.
9215 2012-10-09 Joseph Myers <joseph@codesourcery.com>
9217 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
9218 (_G_stat64): Likewise.
9219 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
9220 (_G_stat64): Likewise.
9221 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
9222 instead of struct _G_stat64.
9223 * libio/fileops.c (mmap_remap_check): Likewise.
9224 (decide_maybe_mmap): Likewise.
9225 (_IO_new_file_seekoff): Likewise.
9226 (_IO_file_stat): Likewise.
9227 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
9229 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
9230 instead of struct _G_stat64.
9231 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9233 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
9236 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9238 (CHECK_EOL): New macro.
9239 (two_way_short_needle): Check beginning of haystack for EOL. Use
9241 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9242 Replace with CHECK_EOL.
9243 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9244 Replace with CHECK_EOL.
9246 2012-10-08 Joseph Myers <joseph@codesourcery.com>
9248 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
9250 * math/libm-test.inc: Update comment listing what functions and
9252 (finite_test): New function.
9253 (isinf_test): Likewise.
9254 (isnan_test): Likewise.
9255 (fpclassify_test): Test subnormal input.
9256 (isfinite_test): Likewise.
9257 (isnormal_test): Likewise.
9258 (main): Call the new functions.
9260 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
9263 * Makerules (%.dynsym): Force C locale when running
9264 $(OBJDUMP) --dynamic-syms.
9266 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
9268 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
9271 2012-10-06 David S. Miller <davem@davemloft.net>
9273 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
9274 upper 32-bits of the length value in %o2 since we use branch-on-register
9275 tests which consider the entire 64-bit register.
9277 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
9279 * string/test-strstr.c (check2): Add a test for page boundary.
9281 2012-10-05 David S. Miller <davem@davemloft.net>
9283 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
9284 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
9286 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9288 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9289 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
9290 and bzero when HWCAP_SPARC_CRYPTO is present.
9292 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
9295 * string/test-strstr.c (check2): New function.
9296 (test_main): Call check2.
9298 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
9300 * string/bug-strcasestr1.c (do_test): Moved to ...
9301 * string/test-strcasestr.c (check1): Here. New function.
9302 (do_one_test): Break out result checking code into ...
9303 (check_result): This. New function.
9304 (do_one_test): Call check_result.
9305 (test_main): Call check1.
9306 * string/bug-strchr1.c (do_test): Moved to ...
9307 * string/test-strchr.c (check1): Here. New function.
9308 (do_one_test): Break out result checking code into ...
9309 (check_result): This. New function.
9310 (do_one_test): Call check_result.
9311 (test_main): Call check1.
9312 * string/bug-strstr1.c (main): Moved to ...
9313 * string/test-strstr.c (check1): Here. New function.
9314 (do_one_test): Break out result checking code into ...
9315 (check_result): This. New function.
9316 (do_one_test): Call check_result.
9317 (test_main): Call check1.
9318 * string/bug-strcasestr1.c: Removed.
9319 * string/bug-strchr1.c: Likewise.
9320 * string/bug-strstr1.c: Likewise.
9322 * elf/Makefile (dl-routines): Add hwcaps.
9323 * elf/dl-support.c (_dl_important_hwcaps): Removed.
9324 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
9325 (_dl_important_hwcaps): Moved to ...
9326 * elf/dl-hwcaps.c: Here. New file.
9327 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
9330 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
9331 if IS_IN_rtld isn't defined.
9333 * elf/dl-support.c (_dl_sysinfo_map): New.
9334 Include "get-dynamic-info.h" and "setup-vdso.h".
9335 (_dl_non_dynamic_init): Call setup_vdso.
9336 * elf/dynamic-link.h: Don't include <assert.h>.
9337 (elf_get_dynamic_info): Moved to ...
9338 * elf/get-dynamic-info.h: Here. New file.
9339 * elf/dynamic-link.h: Include "get-dynamic-info.h".
9340 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
9341 * elf/setup-vdso.h: Here. New file.
9342 * elf/rtld.c: Include "setup-vdso.h".
9343 (dl_main): Call setup_vdso.
9345 2012-10-05 Joseph Myers <joseph@codesourcery.com>
9347 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
9348 creal in comment listing functions tested. List finite, isinf,
9349 isnan, isless, islessequal, isgreater, isgreaterequal,
9350 islessgreater, isunordered, lgamma_r and pow10 as functions and
9351 macros not tested. Mention which functions not tested are aliases
9352 for other functions. Fix typo. Note that signs of NaNs are not
9355 * scripts/config.guess: Update from config.git.
9356 * scripts/config.sub: Likewise.
9358 2012-10-04 Roland McGrath <roland@hack.frob.com>
9360 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
9361 * misc/madvise.c (madvise): Renamed to __madvise.
9362 Make madvise a weak alias.
9363 * include/sys/mman.h: Declare __madvise.
9364 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
9365 * sysdeps/unix/syscalls.list
9366 (madvise): Make __madvise the strong name, and madvise a weak alias.
9367 * sysdeps/unix/sysv/linux/syscalls.list
9368 (madvise, mmap): Remove redundant entries.
9369 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
9370 * malloc/malloc.c (mtrim): Likewise.
9371 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
9373 2012-10-03 Roland McGrath <roland@hack.frob.com>
9375 * sysdeps/mach/hurd/dl-cache.c: File removed.
9376 * config.h.in (USE_LDCONFIG): New #undef.
9377 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
9378 * configure: Regenerated.
9379 * elf/Makefile (dl-routines): Add dl-cache only under
9380 [$(use-ldconfig) = yes].
9381 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
9382 cache on [USE_LDCONFIG].
9383 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
9385 * elf/rtld.c (dl_main): Likewise.
9387 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
9389 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
9390 _SC_LEVEL4_CACHE_LINESIZE.
9392 2012-10-03 Roland McGrath <roland@hack.frob.com>
9394 * sysdeps/unix/bsd/confstr.h: File removed.
9396 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
9398 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
9401 2012-10-02 Roland McGrath <roland@hack.frob.com>
9403 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
9404 Make 'mapoff' field ElfW(Off) rather than off_t.
9406 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
9408 * nscd/Makefile: Remove nscd-cflags and all its users.
9409 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
9410 (CFLAGS-nonlib): Add compiler flags for nscd modules.
9413 * malloc.c (malloc_printerr): Clarify error message.
9415 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
9418 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9419 Set bit_FMA_Usable if FMA is supported.
9420 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
9422 (bit_FMA4_Usable): Updated.
9423 (index_FMA_Usable): New macro.
9424 (CPUID_FMA): Likewise
9425 (HAS_FMA): Defined with bit_FMA_Usable.
9427 2012-10-01 Roland McGrath <roland@hack.frob.com>
9429 * bits/types.h (__swblk_t): Type removed.
9430 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
9431 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
9432 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9433 (__SWBLK_T_TYPE): Likewise.
9434 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9435 (__SWBLK_T_TYPE): Likewise.
9436 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9437 (__SWBLK_T_TYPE): Likewise.
9438 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9439 (__SWBLK_T_TYPE): Likewise.
9441 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
9442 Honza Horak <hhorak@redhat.com>
9444 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
9445 (xdr_mapname): Use YPMAXMAP as maxsize.
9446 (xdr_peername): Use YPMAXPEER as maxsize.
9447 (xdr_keydat): Use YPAXRECORD as maxsize.
9448 (xdr_valdat): Use YPMAXRECORD as maxsize.
9450 2012-10-01 Roland McGrath <roland@hack.frob.com>
9452 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
9454 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
9455 * csu/init-first.c: ... here.
9456 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
9457 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
9458 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
9459 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9460 * sysdeps/i386/init-first.c: File removed.
9461 * sysdeps/sh/init-first.c: File removed.
9463 2012-10-01 Joseph Myers <joseph@codesourcery.com>
9466 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
9467 if x * y might underflow to zero and z is zero.
9468 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9469 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9470 * math/libm-test.inc (min_subnorm_value): New variable.
9471 (fma_test): Add more tests.
9472 (fma_test_towardzero): Likewise.
9473 (fma_test_downward): Likewise
9474 (fma_test_upward): Likewise.
9475 (initialize): Set min_subnorm_value.
9477 2012-09-29 Joseph Myers <joseph@codesourcery.com>
9480 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
9482 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
9483 mode for addition resulting in exact zero.
9484 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
9485 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
9487 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9488 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9489 * math/libm-test.inc (fma_test): Add more tests.
9490 (fma_test_towardzero): New function.
9491 (fma_test_downward): Likewise.
9492 (fma_test_upward): Likewise.
9493 (main): Call the new functions.
9495 2012-09-28 David S. Miller <davem@davemloft.net>
9497 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
9499 2012-09-28 Roland McGrath <roland@hack.frob.com>
9501 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
9504 * sysdeps/gnu/_G_config.h: Moved to ...
9505 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
9506 * sysdeps/mach/hurd/_G_config.h: Moved to ...
9507 * sysdeps/generic/_G_config.h: ... here.
9509 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
9511 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
9513 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
9514 Conditionalize target on [libnss_test1.so-version].
9516 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
9518 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
9519 (elfobjdir): Move out of conditionals.
9521 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
9522 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
9523 (__nss_lookup_function): Conditionalize label remove_from_tree on
9524 [!DO_STATIC_NSS || SHARED], matching its only use.
9526 2012-09-28 David S. Miller <davem@davemloft.net>
9528 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
9529 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
9531 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9533 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9534 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
9535 when HWCAP_SPARC_CRYPTO is present.
9537 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9539 * io/tst-mknodat.c: Create a FIFO instead of a socket.
9541 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
9544 * stdio-common/vfprintf.c (process_string_arg): Revert
9547 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
9549 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
9551 * stdio-common/tst-sprintf.c: Include <locale.h>
9552 (main): Test sprintf's handling of incomplete multibyte
9555 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
9557 * elf/dl-runtime.c (VERSYMIDX): Removed.
9558 * elf/dl-version.c (VERSYMIDX): Likewise.
9559 * elf/do-rel.h (VERSYMIDX): Likewise.
9561 * elf/dynamic-link.h (VERSYMIDX): Likewise.
9562 * elf/rtld.c (VALIDX): Likewise.
9563 (ADDRIDX): Likewise.
9564 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
9565 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
9566 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9567 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
9569 (ADDRIDX): Likewise.
9571 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9573 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
9575 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
9578 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
9580 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
9581 addresses are in the same scope as 192.0.2/24.
9582 * posix/gai.conf: Document new scope table defaults.
9584 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9587 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
9588 for ftell. Compute offsets from write pointers instead.
9589 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9591 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9594 * libio/Makefile (tests): New test case tst-fseek.
9595 * libio/tst-fseek.c: New test case to verify that fseek/ftell
9596 combination works in wide mode.
9597 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
9598 state when the external buffer state changes.
9600 2012-09-27 David S. Miller <davem@davemloft.net>
9603 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
9604 pass reloc->r_addend in as the 'high' argument to
9605 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
9607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9609 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9611 * rt/tst-aio2.c: Include <pthread.h>.
9612 * rt/tst-aio3.c: Likewise.
9614 2012-09-27 Steve Ellcey <sellcey@mips.com>
9616 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
9618 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
9620 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
9621 contents on [SHARED].
9623 2012-09-26 Marek Polacek <polacek@redhat.com>
9627 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
9628 for C++ and GCC <4.3 as well as for non GCC compilers.
9630 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9632 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9634 2012-09-25 Roland McGrath <roland@hack.frob.com>
9636 * Makefile.in (all, install): Declare with .PHONY.
9637 Reported by Michael Hope <michael.hope@linaro.org>.
9639 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9641 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
9642 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
9644 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
9646 (sydep_routines): Add the new and the internal functions.
9647 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
9648 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
9649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
9650 (GLIBC_2.17): Add the new function.
9651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9652 (GLIBC_2.17): Likewise.
9653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9654 (GLIBC_2.17): Likewise.
9655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
9656 (GLIBC_2.17): Likewise.
9657 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
9659 2012-09-25 Alan Modra <amodra@gmail.com>
9661 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
9662 Add release barrier before setting once_control to say
9663 initialisation is done. Add hints on lwarx. Use macro in
9665 (clear_once_control): Add release barrier.
9667 2012-09-25 Joseph Myers <joseph@codesourcery.com>
9670 * math/s_clog.c (__clog): Handle more values close to |z| = 1
9672 * math/s_clog10.c (__clog10): Likewise.
9673 * math/s_clog10f.c (__clog10f): Likewise.
9674 * math/s_clog10l.c (__clog10l): Likewise.
9675 * math/s_clogf.c (__clogf): Likewise.
9676 * math/s_clogl.c (__clogl): Likewise.
9677 * math/Makefile (libm-calls): Add x2y2m1.
9678 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
9679 (__x2y2m1): Likewise.
9680 (__x2y2m1l): Likewise.
9681 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
9682 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
9683 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9684 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9685 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
9686 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9687 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
9688 * sysdeps/i386/fpu/libm-test-ulps: Update.
9689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9692 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
9693 int as type of variable DEPTH.
9694 (glob): Use size_t instead of int as type of variables NEWCOUNT
9697 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9699 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9701 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
9702 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
9703 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
9704 macros for using routine as __sincosf_ia32.
9705 Use macro for function declaration and weak_alias.
9706 * sysdeps/i386/fpu/libm-test-ulps: Update.
9708 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
9709 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9711 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
9713 * math/s_cexpf.c (__cexpf): Likewise.
9714 * math/s_csinf.c (__csinf): Likewise.
9715 * math/s_csinhf.c (__csinhf): Likewise.
9716 * math/s_ctanf.c (__ctanf): Likewise.
9717 * math/s_ctanhf.c (__ctanhf): Likewise.
9718 * math/s_ccosh.c (__ccoshf): Likewise.
9719 * math/s_cexp.c (__cexpl): Likewise.
9720 * math/s_csin.c (__csin): Likewise.
9721 * math/s_csinh.c (__csinh): Likewise.
9722 * math/s_ctan.c (__ctan): Likewise.
9723 * math/s_ctanh.c (ctanh): Likewise.
9724 * math/s_ccoshl.c (__ccoshl): Likewise.
9725 * math/s_cexpl.c (__cexpl): Likewise.
9726 * math/s_csinl.c (__csinl): Likewise.
9727 * math/s_csinhl.c (__csinhl): Likewise.
9728 * math/s_ctanl.c (__ctanl): Likewise.
9729 * math/s_ctanhl.c (__ctanhl): Likewise.
9731 2012-09-25 Joseph Myers <joseph@codesourcery.com>
9733 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
9734 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
9735 (_IO_off_t): Define to __off_t, not _G_off_t.
9736 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
9737 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
9738 (_IO_wint_t): Define to wint_t, not _G_wint_t.
9739 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
9740 type of __dummy and __dummy2 fields.
9741 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
9742 (_G_ssize_t): Likewise.
9743 (_G_off_t): Likewise.
9744 (_G_pid_t): Likewise.
9745 (_G_uid_t): Likewise.
9746 (_G_wchar_t): Likewise.
9747 (_G_wint_t): Likewise.
9748 * sysdeps/gnu/_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/mach/hurd/_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.
9763 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9765 * malloc/arena.c: Include malloc-sysdep.h.
9766 (shrink_heap): Use check_may_shrink_heap to decide if madvise
9767 is sufficient to shrink the heap or an unmap is needed.
9768 * sysdeps/generic/malloc-sysdep.h: New file. Define
9769 new function check_may_shrink_heap.
9770 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
9771 new function check_may_shrink_heap.
9773 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9775 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
9778 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
9780 * catgets/test-gencat.sh: Add "set -e".
9781 * elf/tst-pathopt.sh: Likewise.
9782 * grp/tst_fgetgrent.sh: Likewise.
9783 * iconvdata/run-iconv-test.sh: Likewise.
9784 * intl/tst-gettext.sh: Likewise.
9785 * intl/tst-gettext2.sh: Likewise.
9786 * intl/tst-gettext4.sh: Likewise.
9787 * intl/tst-gettext6.sh: Likewise.
9788 * intl/tst-translit.sh: Likewise.
9789 * io/ftwtest-sh: Likewise.
9790 * libio/test-freopen.sh: Likewise.
9791 * malloc/tst-mtrace.sh: Likewise.
9792 * posix/globtest.sh: Likewise.
9793 * posix/tst-getconf.sh: Likewise.
9794 * posix/wordexp-tst.sh: Likewise.
9795 * stdio-common/tst-printf.sh: Likewise.
9796 * stdio-common/tst-unbputc.sh: Likewise.
9797 * stdlib/tst-fmtmsg.sh: Likewise.
9798 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9799 * catgets/Makefile: Do not specify -e option when running
9800 testsuite shell scripts.
9801 * elf/Makefile: Likewise.
9802 * grp/Makefile: Likewise.
9803 * iconvdata/Makefile: Likewise.
9804 * intl/Makefile: Likewise.
9805 * io/Makefile: Likewise.
9806 * libio/Makefile: Likewise.
9807 * malloc/Makefile: Likewise.
9808 * posix/Makefile: Likewise.
9809 * stdio-common/Makefile: Likewise.
9810 * stdlib/Makefile: Likewise.
9811 * sysdeps/x86_64/Makefile: Likewise.
9813 * io/ftwtest-sh: Add copyright header.
9814 * posix/globtest.sh: Likewise.
9815 * posix/tst-getconf.sh: Likewise.
9816 * posix/wordexp-tst.sh: Likewise.
9817 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9819 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
9822 * Makeconfig (+link): Defined as $(+link-static) if
9823 $(build-shared) isn't yes.
9824 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9826 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9828 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9831 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9832 new chunk size with MALLOC_ALIGN_MASK.
9834 2012-09-24 Joseph Myers <joseph@codesourcery.com>
9837 * stdio-common/printf_fphex.c: Include <stdbool.h> and
9839 (__printf_fphex): Determine rounding using get_rounding_mode and
9841 * stdio-common/tst-printf-round.c (struct hex_test): New
9843 (hex_tests): New variable.
9844 (test_hex_in_one_mode): New function.
9845 (do_test): Also run tests for hex float output.
9847 2012-09-21 Joseph Myers <joseph@codesourcery.com>
9849 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9850 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9851 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9852 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9853 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9854 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9855 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9856 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9858 2012-09-20 Joseph Myers <joseph@codesourcery.com>
9860 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9861 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9862 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9863 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9865 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
9868 * elf/rtld.c (dl_main): Limit the check for self loading to normal
9870 * elf/tst-rtld-load-self.sh: New test.
9871 * elf/Makefile: Run it.
9873 2012-09-18 Joseph Myers <joseph@codesourcery.com>
9875 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9876 (tst-writev-ENV): Remove.
9877 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9879 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
9881 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9883 2012-09-17 Joseph Myers <joseph@codesourcery.com>
9885 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9887 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9889 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9890 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9891 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9894 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
9897 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9898 * config.make.in (have-cpp-asm-debuginfo): Removed.
9899 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9900 * configure: Regenerated.
9902 2012-09-14 Joseph Myers <joseph@codesourcery.com>
9905 * stdio-common/printf_fp.c: Include <stdbool.h> and
9907 (___printf_fp): Determine rounding using get_rounding_mode and
9909 * stdio-common/tst-printf-round.c: New file.
9910 * stdio-common/Makefile (tests): Add tst-printf-round.
9911 (link-libm): New variable.
9912 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9914 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9917 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9918 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9920 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9923 2012-09-13 Joseph Myers <joseph@codesourcery.com>
9925 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9926 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9927 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9928 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9930 2012-09-12 Joseph Myers <joseph@codesourcery.com>
9933 * include/rounding-mode.h: New file.
9934 * sysdeps/generic/get-rounding-mode.h: Likewise.
9935 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9936 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9937 (MAX_VALUE): New macro.
9938 (MIN_VALUE): Likewise.
9939 (overflow_value): New function.
9940 (underflow_value): Likewise.
9941 (round_and_return): Use overflow_value and underflow_value to
9942 determine return values in overflow and underflow cases. Use
9943 round_away to determine rounding depending on rounding mode.
9944 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9945 determine return values in overflow and underflow cases.
9946 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9947 (struct test_results): New structure.
9948 (struct test): Use struct test_results to store expected results
9949 for all rounding modes.
9950 (TEST): Include expected results for all rounding modes.
9951 (test_in_one_mode): New function.
9952 (do_test): Use test_in_one_mode to compute and check results.
9953 Check results for all rounding modes.
9954 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9957 2012-12-09 Allan McRae <allan@archlinux.org>
9959 * sysdeps/i386/fpu/libm-test-ulps: Update
9961 2012-09-11 Joseph Myers <joseph@codesourcery.com>
9963 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9964 (_G_int32_t): Likewise.
9965 (_G_uint16_t): Likewise.
9966 (_G_uint32_t): Likewise.
9967 (_G_HAVE_BOOL): Likewise.
9968 (_G_HAVE_ATEXIT): Likewise.
9969 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9970 (_G_HAVE_IO_FILE_OPEN): Likewise.
9971 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9972 (_G_int32_t): Likewise.
9973 (_G_uint16_t): Likewise.
9974 (_G_uint32_t): Likewise.
9975 (_G_HAVE_BOOL): Likewise.
9976 (_G_HAVE_ATEXIT): Likewise.
9977 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9978 (_G_HAVE_IO_FILE_OPEN): Likewise.
9979 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9980 (_G_int32_t): Likewise.
9981 (_G_uint16_t): Likewise.
9982 (_G_uint32_t): Likewise.
9983 (_G_HAVE_BOOL): Likewise.
9984 (_G_HAVE_ATEXIT): Likewise.
9985 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9986 (_G_HAVE_IO_FILE_OPEN): Likewise.
9988 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9990 * csu/libc-tls.c: Update copyright years.
9992 2012-09-10 Joseph Myers <joseph@codesourcery.com>
9994 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9995 [!_G_USING_THUNKS]: Remove conditional code.
9996 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9997 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9999 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
10000 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
10001 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10002 (_G_VTABLE_LABEL_PREFIX): Likewise.
10003 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10004 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10005 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10006 (_G_VTABLE_LABEL_PREFIX): Likewise.
10007 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
10008 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10009 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10010 (_G_VTABLE_LABEL_PREFIX): Likewise.
10011 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
10013 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
10015 * libio/Makefile: Include ../Makeconfig before tests.
10016 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
10017 only if $(build-shared) is yes.
10019 * iconv/gconv_db.c: Update copyright years.
10021 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10023 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
10024 unwind info if defined PIC. Fix special cases description.
10025 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
10027 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
10029 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
10031 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
10033 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
10035 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
10038 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
10039 (LDLIBS-tst-chk4): This.
10040 (LDFLAGS-tst-chk5): Renamed to ...
10041 (LDLIBS-tst-chk5): This.
10042 (LDFLAGS-tst-chk6): Renamed to ...
10043 (LDLIBS-tst-chk6): This.
10044 (LDFLAGS-tst-lfschk4): Renamed to ...
10045 (LDLIBS-tst-lfschk4): This.
10046 (LDFLAGS-tst-lfschk5): Renamed to ...
10047 (LDLIBS-tst-lfschk5): This.
10048 (LDFLAGS-tst-lfschk6): Renamed to ...
10049 (LDLIBS-tst-lfschk6): This.
10051 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
10052 on $(common-objpfx)soversions.mk.
10054 2012-09-07 Joseph Myers <joseph@codesourcery.com>
10057 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
10060 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10062 * malloc/arena.c (arena_get_retry): New function that gets
10063 another arena for the caller to try its request on.
10064 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
10065 current arena cannot fulfill the request.
10066 (__libc_memalign): Likewise.
10067 (__libc_memalign): Likewise.
10068 (__libc_pvalloc): Likewise.
10069 (__libc_calloc): Likewise.
10071 2012-09-05 John Tobey <john.tobey@gmail.com>
10074 * manual/arith.texi (Operations on Complex): Fix description
10075 of carg branch cut.
10077 2012-09-06 Joseph Myers <joseph@codesourcery.com>
10080 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
10084 * manual/memory.texi (Memory): Make order of menu items match
10087 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10089 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
10090 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
10091 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
10093 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10095 * csu/libc-tls.c (static_dtv): Renamed to ...
10096 (_dl_static_dtv): This. Make it global.
10097 (_dl_initial_dtv): Removed.
10098 (__libc_setup_tls): Updated.
10099 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
10100 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
10103 2012-09-06 Petr Machata <pmachata@redhat.com>
10105 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
10106 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
10107 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
10108 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
10110 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10113 * csu/libc-tls.c (_dl_initial_dtv): New variable.
10114 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
10117 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10120 * Makeconfig (link-static-before-libc): Replace $(+prector)
10122 (link-static-after-libc): Replace $(+postctor) with
10124 (link-bounded): Replace $(+prector)/$(+postctor) with
10125 $(+prectorT)/$(+postctorT).
10126 (+prectorT): New macro.
10127 (+postctorT): Likewise.
10129 2012-09-06 Joseph Myers <joseph@codesourcery.com>
10131 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
10132 (round_str): Handle values above the maximum for IBM long double
10134 * stdlib/tst-strtod-round.c (tests): Regenerated.
10136 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10138 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
10140 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
10141 zarch_nohighgprs around the zarch optimized routines.
10142 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10143 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10144 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
10147 2012-09-05 David S. Miller <davem@davemloft.net>
10149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10151 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
10152 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
10153 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
10154 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10157 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
10159 * malloc/arena.c: Fold copyright years.
10160 * malloc/mcheck.c, malloc/memusage.c: Likewise.
10162 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
10164 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
10166 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
10168 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
10170 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
10172 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
10173 change internal state upon failure.
10175 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
10177 * malloc/mcheck.c (mcheck_check_all): Fix typo.
10178 * malloc/memusage.c (mmap): Likewise.
10179 (mmap64, mremap): Likewise. Adjust name in comment.
10181 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10183 * libio/fileops.c: Fix typos in comments.
10184 * libio/oldfileops.c: Likewise.
10185 * libio/wfileops.c: Likewise.
10187 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10190 * malloc/Makefile (tests): Add tst-malloc-usable test case.
10191 (tst-malloc-usable-ENV): Set environment for test case.
10192 * malloc/hooks.c (malloc_check_get_size): New function to get
10194 * malloc/malloc.c (musable): Use malloc_check_get_size.
10195 * malloc/tst-malloc-usable.c: New test case.
10197 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
10199 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
10201 2012-09-05 Allan McRae <allan@archlinux.org>
10204 * configure.in (CXX_SYSINCLUDES): Use compiler output to
10205 determine header location.
10206 * configure: Regenerated.
10208 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
10210 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
10212 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
10213 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
10215 (test): Regenerate.
10217 2012-09-04 David S. Miller <davem@davemloft.net>
10219 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
10220 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
10221 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
10223 2012-09-04 Florian Weimer <fweimer@redhat.com>
10225 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
10228 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
10230 2012-09-04 Joseph Myers <joseph@codesourcery.com>
10233 * libio/iogetdelim.c: Include <limits.h>.
10234 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
10235 + len + 1 would overflow.
10237 2012-09-03 Andreas Jaeger <aj@suse.de>
10239 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10240 * sysdeps/i386/fpu/libm-test-ulps: Update.
10242 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10244 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10245 Add s_sinf-sse2, s_conf-sse2.
10247 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
10248 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
10249 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
10250 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
10252 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
10253 for using routine as __sinf_ia32.
10254 Use macro for function declaration and weak_alias.
10255 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
10256 for using routine as __cosf_ia32.
10257 Use macro for function declaration and weak_alias.
10259 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
10260 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
10262 * sysdeps/x86_64/fpu/s_sinf.S: New file.
10263 * sysdeps/x86_64/fpu/s_cosf.S: New file.
10264 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10266 * math/libm-test.inc (cos_test): Add more test cases.
10267 (sin_test): Likewise.
10268 (sincos_test): Likewise.
10270 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10272 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10273 (IFUNC_RESOLVE): Make pointers to the specialized implementations
10275 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10277 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
10280 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
10281 first element of the GOT.
10282 (elf_machine_load_address): Return the difference between
10283 the runtime address of _DYNAMIC and elf_machine_dynamic ().
10285 2012-09-01 Allan McRae <allan@archlinux.org>
10288 * configure.in (AWK): Require gawk version 3.0 or later.
10289 * configure: Regenerated.
10291 2012-09-01 Joseph Myers <joseph@codesourcery.com>
10293 * sysdeps/unix/sysv/linux/kernel-features.h
10294 (__ASSUME_POSIX_CPU_TIMERS): Remove.
10295 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10296 [__NR_clock_getres]: Make code unconditional.
10297 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
10298 (clock_getcpuclockid): Remove code left unreachable by removal of
10300 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
10301 code unconditional.
10302 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10303 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10304 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
10305 Make code unconditional.
10306 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10307 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10308 * sysdeps/unix/sysv/linux/clock_settime.c
10309 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
10311 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
10312 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10314 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
10317 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
10318 scripts/test-installation.pl.
10320 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
10321 and $ld_so_version if it is set.
10323 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10326 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
10327 failure if reading from procfs failed.
10328 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
10330 2012-08-27 Joseph Myers <joseph@codesourcery.com>
10332 * sysdeps/unix/sysv/linux/kernel-features.h
10333 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
10334 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10335 Remove conditional code.
10336 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10337 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
10338 Remove conditional code.
10339 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10340 * sysdeps/unix/sysv/linux/i386/fxstat.c
10341 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10342 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10343 * sysdeps/unix/sysv/linux/i386/fxstatat.c
10344 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10345 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10346 * sysdeps/unix/sysv/linux/i386/lxstat.c
10347 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10348 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10349 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
10350 Remove conditional code.
10351 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10352 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10353 Remove conditional code.
10354 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10355 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
10356 <kernel-features.h>.
10357 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
10359 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
10360 Remove conditional code.
10361 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10362 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
10363 Remove conditional.
10365 2012-08-27 Mike Frysinger <vapier@gentoo.org>
10368 * NEWS: Add fixed bug number.
10370 2012-08-27 Joseph Myers <joseph@codesourcery.com>
10373 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
10374 underflowing exponent in case of negative sign.
10375 * stdlib/tst-strtod-round-data: Add more tests.
10376 * stdlib/tst-strtod-round.c (tests): Regenerated.
10379 * stdlib/strtod_l.c (NDIG): Remove.
10380 (HEXNDIG): Likewise.
10381 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
10382 smallest representable value.
10383 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
10384 lie within an exact representation of 1/2 ulp of the result.
10385 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
10387 (TENS_P9_IDX): Define unconditionally.
10388 (TENS_P9_SIZE): Likewise.
10389 (TENS_P10_IDX): Likewise.
10390 (TENS_P10_SIZE): Likewise.
10391 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
10392 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
10393 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
10394 entries for 10^2^13 and 10^2^14.
10395 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
10396 (TENS_P13_IDX): Define.
10397 (TENS_P13_SIZE): Likewise.
10398 (TENS_P14_IDX): Likewise.
10399 (TENS_P14_SIZE): Likewise.
10400 (_fpioconst_pow10): Change array size to
10401 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
10403 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
10404 1024]: Add entries for 10^2^13 and 10^2^14.
10405 [LAST_POW10 > _LAST_POW10]: Remove #error.
10406 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
10407 (_fpioconst_pow10): Change array size to
10408 FPIOCONST_POW10_ARRAY_SIZE.
10409 * stdlib/gen-fpioconst.c: New file.
10410 * stdlib/gen-tst-strtod-round.c: Likewise.
10411 * stdlib/tst-strtod-round-data: Likewise.
10412 * stdlib/tst-strtod-round.c: Likewise.
10413 * stdlib/Makefile (tests): Add tst-strtod-round.
10416 * stdlib/strtod_l.c: Include <stdint.h>.
10417 (NDEBUG): Do not define.
10418 (round_and_return): Change EXPONENT parameter to type intmax_t.
10419 Rearrange calculations to avoid internal overflow possibilities.
10420 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
10421 Rearrange calculations to avoid internal overflow possibilities.
10422 Assert that number fits inside MPNSIZE limbs.
10423 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
10424 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
10425 calculations and add assertions to avoid internal overflow
10426 possibilities. Add casts to avoid signed/unsigned operations.
10427 * stdlib/tst-strtod-overflow.c: New file.
10428 * stdlib/Makefile (tests): Add tst-strtod-overflow.
10430 2012-08-25 Marek Polacek <polacek@redhat.com>
10432 * time/time.h: Fix some typos in comments.
10434 2012-08-23 Roland McGrath <roland@hack.frob.com>
10436 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
10437 * posix/tst-rfc3484-2.c: Likewise.
10438 * posix/tst-rfc3484-3.c: Likewise.
10440 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
10442 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
10443 (EF_ARM_ABI_FLOAT_HARD): Likewise.
10445 2012-08-23 Joseph Myers <joseph@codesourcery.com>
10447 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
10448 #include of fxstatat64.c.
10450 2012-08-22 Roland McGrath <roland@hack.frob.com>
10452 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
10453 * shadow/getspent_r.c: Likewise.
10454 * shadow/getspnam.c: Likewise.
10455 * shadow/getspnam_r.c: Likewise.
10456 * gshadow/getsgent.c: Likewise.
10457 * gshadow/getsgent_r.c: Likewise.
10458 * gshadow/getsgnam.c: Likewise.
10459 * gshadow/getsgnam_r.c: Likewise.
10460 * inet/getnetbyad.c: Likewise.
10461 * inet/getnetbyad_r.c: Likewise.
10462 * inet/getnetbynm.c: Likewise.
10463 * inet/getnetbynm_r.c: Likewise.
10464 * inet/getnetent.c: Likewise.
10465 * inet/getnetent_r.c: Likewise.
10466 * inet/getproto.c: Likewise.
10467 * inet/getproto_r.c: Likewise.
10468 * inet/getprtent.c: Likewise.
10469 * inet/getprtent_r.c: Likewise.
10470 * inet/getprtname.c: Likewise.
10471 * inet/getprtname_r.c: Likewise.
10472 * inet/getrpcbyname.c: Likewise.
10473 * inet/getrpcbyname_r.c: Likewise.
10474 * inet/getrpcbynumber.c: Likewise.
10475 * inet/getrpcbynumber_r.c: Likewise.
10476 * inet/getrpcent.c: Likewise.
10477 * inet/getrpcent_r.c: Likewise.
10478 * inet/getaliasent.c: Likewise.
10479 * inet/getaliasent_r.c: Likewise.
10480 * inet/getaliasname.c: Likewise.
10481 * inet/getaliasname_r.c: Likewise.
10482 * nscd/getgrgid_r.c: Likewise.
10483 * nscd/getgrnam_r.c: Likewise.
10484 * nscd/gethstbyad_r.c: Likewise.
10485 * nscd/gethstbynm3_r.c: Likewise.
10486 * nscd/getpwnam_r.c: Likewise.
10487 * nscd/getpwuid_r.c: Likewise.
10488 * nscd/getsrvbynm_r.c: Likewise.
10489 * nscd/getsrvbypt_r.c: Likewise.
10490 * nscd/gai.c: Likewise.
10492 * configure.in (build_nscd): New substituted variable, set
10493 by --disable-build-nscd and defaults to $use_nscd.
10494 * configure: Regenerated.
10495 * config.make.in (build-nscd): New substituted variable.
10496 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
10497 Change conditional to require [$(build-nscd) = yes] as well.
10498 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
10501 * configure.in (use_nscd): New substituted variable, set by
10502 --disable-nscd. If enabled, define USE_NSCD.
10503 * configure: Regenerated.
10504 * config.h.in: Add USE_NSCD.
10505 * config.make.in (use-nscd): New substituted variable.
10506 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
10507 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
10508 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
10509 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
10510 (CFLAGS-getgrnam_r.c): Likewise.
10511 (CFLAGS-initgroups.c): Likewise.
10512 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
10513 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
10515 * inet/getnetgrent_r.c
10516 (nscd_setnetgrent): New function, broken out of ...
10517 (setnetgrent): ... here. Call it.
10518 (innetgr): Conditionalize nscd bits on [USE_NSCD].
10519 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
10520 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
10521 * nscd/Makefile (routines, aux): Move definitions after include of
10522 Makeconfig. Conditionalize on [$(use-nscd) != no].
10523 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
10524 Conditionalize on [USE_NSCD].
10525 (is_nscd, nscd_init_cb): Likewise.
10526 (nss_load_library): Conditionalize init callback on [USE_NSCD].
10527 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
10528 * nss/nss_db/db-init.c: Likewise.
10529 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
10531 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
10532 (make_request): Use it.
10533 (cache_valid_p): New function.
10534 (__check_pf): Use it.
10535 * NEWS: Add item for --disable-nscd.
10537 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
10539 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
10540 to support sed >= 4.2.1-20-ga9bf076.
10541 * configure: Regenerated.
10543 2012-08-22 Roland McGrath <roland@hack.frob.com>
10545 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
10546 Conditionalize whole body on [IREL].
10548 2012-08-22 Jeff Law <law@redhat.com>
10551 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
10552 if the family is PF_UNSPEC.
10554 2012-08-22 Mike Frysinger <vapier@gentoo.org>
10556 * Makerules (lib-version): Rename from V.
10557 (install-lib-nosubdir): Change V to lib-version.
10559 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
10562 * powerpc32/power6/wcschr.c: New file.
10563 * powerpc32/power6/wcscpy.c: New file.
10564 * powerpc32/power6/wcsrchr.c: New file.
10565 * powerpc64/power6/wcschr.c: New file.
10566 * powerpc64/power6/wcscpy.c: New file.
10567 * powerpc64/power6/wcsrchr.c: New file.
10569 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10571 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
10572 (two_way_short_needle): Use it.
10573 * string/strstr.c (AVAILABLE1_USES_J): Define.
10574 * string/strcasestr.c: Likewise.
10576 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
10578 * string/strcasestr.c (TOLOWER): Make side-effect safe.
10581 * NEWS: Add an entry.
10582 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
10583 define their defaults.
10584 (two_way_short_needle): Detect end-of-string on-the-fly.
10585 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
10586 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
10587 * string/bug-strcasestr1.c: New test.
10588 * string/Makefile: Run it.
10590 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10593 * string/str-two-way.h (two_way_short_needle): Optimize matching of
10594 the first character.
10596 2012-08-21 Roland McGrath <roland@hack.frob.com>
10598 * csu/elf-init.c (__libc_csu_irel): Function removed.
10599 * csu/libc-start.c (apply_irel): New function.
10600 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
10602 2012-08-21 Joseph Myers <joseph@codesourcery.com>
10604 * sysdeps/unix/sysv/linux/kernel-features.h
10605 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
10606 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10607 <kernel-features.h>.
10608 [__NR_fadvise64_64]: Make code unconditional.
10609 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
10610 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10611 !__NR_fadvise64_64)]: Likewise.
10612 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10613 !__NR_fadvise64_64))]: Likewise.
10614 [__NR_fadvise64]: Make code unconditional.
10615 [!__NR_fadvise64]: Remove conditional code.
10616 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
10617 <kernel-features.h>.
10618 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10620 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
10623 not include <kernel-features.h>.
10624 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10626 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10628 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
10629 include <kernel-features.h>.
10630 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10632 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10635 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10637 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
10638 slight instruction rearrangements per scrollpipe analysis.
10639 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10641 2012-08-20 Roland McGrath <roland@hack.frob.com>
10643 * manual/syslog.texi (syslog; vsyslog, closelog):
10644 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
10645 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
10647 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
10648 DSOCAPS to match condition on defining it.
10650 2012-08-20 Joseph Myers <joseph@codesourcery.com>
10652 * sysdeps/unix/sysv/linux/kernel-features.h
10653 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
10654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
10655 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10656 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
10658 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10659 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
10661 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10662 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10664 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
10665 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
10667 * sysdeps/unix/sysv/linux/kernel-features.h
10668 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
10669 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
10671 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10672 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
10673 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10674 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10675 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
10676 Make code unconditional.
10677 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10678 (__mmap64) [!__NR_mmap2]: Likewise.
10679 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
10680 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10681 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10682 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
10683 [__NR_mmap2]: Make code unconditional.
10684 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10685 (__mmap64) [!__NR_mmap2]: Likewise.
10687 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10689 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
10691 2012-08-18 Andreas Jaeger <aj@suse.de>
10693 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
10695 2012-08-18 Mike Frysinger <vapier@gentoo.org>
10697 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
10698 * include/unistd.h (__have_sock_cloexec): Likewise.
10699 (__have_pipe2): Likewise.
10700 (__have_dup3): Likewise.
10702 2012-08-18 Mike Frysinger <vapier@gentoo.org>
10705 * include/unistd.h (__have_pipe2): Change define into an extern int.
10706 (__have_dup3): Likewise.
10707 * socket/have_sock_cloexec.c: Include fcntl.h.
10708 (__have_pipe2): New variable.
10709 (__have_dup3): Likewise.
10711 2012-08-17 Mike Frysinger <vapier@gentoo.org>
10713 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
10715 2012-08-17 Marek Polacek <polacek@redhat.com>
10717 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
10718 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
10720 2012-08-17 Roland McGrath <roland@hack.frob.com>
10722 * configure.in: Add AC_SUBST for sysheaders.
10723 * configure: Regenerated.
10724 * config.make.in (sysheaders): New substituted variable.
10726 * sysdeps/unix/mkfifo.c: Moved ...
10727 * sysdeps/posix/mkfifo.c: ... here.
10728 * sysdeps/unix/mkfifoat.c: Moved ...
10729 * sysdeps/posix/mkfifoat.c: ... here.
10731 * sysdeps/unix/utime.c: Moved ...
10732 * sysdeps/posix/utime.c: ... here.
10734 * sysdeps/unix/time.c: Moved ...
10735 * sysdeps/posix/time.c: ... here.
10736 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
10737 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
10739 * sysdeps/unix/nice.c: Moved ...
10740 * sysdeps/posix/nice.c: ... here.
10742 * sysdeps/unix/alarm.c: Moved ...
10743 * sysdeps/posix/alarm.c: ... here.
10745 * intl/Makefile ($(codeset_mo)): Depend on the input file.
10747 2012-08-17 Jeff Law <law@redhat.com>
10749 * intl/Makefile (codeset_mo): New variable.
10750 ($(codeset_mo)): New target.
10751 (tst-codeset.out): Depend on that. Remove explicit rule.
10752 (tst-gettext3.out, tst-gettext5.out): Likewise.
10753 (LOCPATH-ENV, tst-codeset-ENV): New variables.
10754 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
10755 * intl/tst-codeset.sh: Remove.
10756 * intl/tst-gettext3.sh: Likewise.
10757 * intl/tst-gettext5.sh: Likewise.
10759 2012-08-17 Roland McGrath <roland@hack.frob.com>
10761 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
10762 * sysdeps/unix/syscalls.list: ... here.
10764 * sysdeps/posix/getaddrinfo.c
10765 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
10766 (gaiconf_init, gaiconf_reload): Use them.
10767 [!_STATBUF_ST_NSEC]
10768 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
10769 Define using time_t rather than struct timespec.
10771 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
10772 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
10774 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
10776 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
10777 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
10780 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
10781 __libc_cleanup_push argument.
10783 * bits/param.h: New file.
10784 * misc/sys/param.h: New file.
10785 * include/sys/param.h: New file.
10786 * misc/Makefile (headers): Add bits/param.h.
10787 * sysdeps/generic/sys/param.h: File removed.
10788 * sysdeps/unix/sysv/linux/bits/param.h: New file.
10789 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
10790 * sysdeps/mach/hurd/bits/param.h: New file.
10791 * sysdeps/mach/hurd/sys/param.h: File removed.
10793 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
10796 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
10798 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
10799 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
10802 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
10803 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
10804 rather than -D_IO_MTSAFE_IO conditionally.
10805 * stdio-common/Makefile (CPPFLAGS): Likewise.
10806 * wcsmbs/Makefile (CPPFLAGS): Likewise.
10807 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
10808 Use $(libio-mtsafe).
10809 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
10810 of -D_IO_MTSAFE_IO.
10811 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
10812 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
10813 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10814 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10815 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10816 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10817 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10818 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10819 (CFLAGS-fread_u_chk.c): Likewise.
10820 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10821 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10822 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10823 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10824 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10825 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10826 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10827 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10828 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10830 * libio/Makefile: Test [$(libc-reentrant) = yes]
10831 instead of [$(filter %REENTRANT, $(defines)) nonempty].
10834 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10835 * sysdeps/pthread/configure: File removed.
10836 * sysdeps/pthread/Makeconfig: New file.
10837 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10838 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10840 2012-08-16 Gary Benson <gbenson@redhat.com>
10842 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10843 unmapping the first object in a namespace.
10845 2012-08-16 Roland McGrath <roland@hack.frob.com>
10847 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10848 (__internal_setnetgrent): ... this. Add internal_function to
10849 definition. Add libc_hidden_def.
10850 (setnetgrent): Update caller.
10851 (internal_endnetgrent): Renamed to ...
10852 (__internal_endnetgrent): ... this. Add internal_function to
10853 definition. Add libc_hidden_def.
10854 (endnetgrent): Update caller.
10855 (internal_getnetgrent_r): Renamed to ...
10856 (__internal_getnetgrent_r): ... this. Add internal_function to
10857 definition. Add libc_hidden_def.
10858 (__getnetgrent_r): Update caller.
10859 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
10861 2012-08-16 Joseph Myers <joseph@codesourcery.com>
10863 * stdlib/longlong.h: Update from GCC.
10865 2012-08-16 Roland McGrath <roland@hack.frob.com>
10867 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10868 on _QL, which is set by umul_ppmm but never used.
10869 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10870 variables, which are set by GMP macros but never used.
10871 * stdio-common/_itowa.c (_itowa): Likewise.
10872 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10873 * stdlib/mod_1.c (mpn_mod_1): Likewise.
10875 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
10877 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10878 struct La_sh_regs is not constant.
10879 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10880 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10881 and struct La_sparc64_regs are not constant.
10883 2012-08-16 Joseph Myers <joseph@codesourcery.com>
10885 * sysdeps/unix/sysv/linux/kernel-features.h
10886 (__ASSUME_POSIX_TIMERS): Remove.
10887 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10888 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10889 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10890 Make code unconditional.
10891 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10892 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10893 Make code unconditional.
10894 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10895 * sysdeps/unix/sysv/linux/clock_nanosleep.c
10896 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10897 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10898 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10899 Make code unconditional.
10900 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10901 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10902 (__libc_missing_posix_timers): Remove.
10904 2012-08-15 Roland McGrath <roland@hack.frob.com>
10906 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10907 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10909 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10911 * elf/dl-sym.c: Include <stdlib.h>.
10913 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10914 constants, which avoids warnings in 32-bit builds.
10916 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10917 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10919 * misc/lseek.c: File moved to ...
10920 * io/lseek.c: ... here.
10922 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10924 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10925 shifting LEN more than 31 bits at once.
10927 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10930 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10931 segmentation fault for a case of two empty input strings.
10932 * string/test-strncasecmp.c (check1): Renamed to...
10933 (bz12205): ...this.
10934 (bz14195): Add new testcase for two empty input strings and N > 0.
10935 (test_main): Call new testcase, adapt for renamed function.
10937 2012-08-15 Andreas Jaeger <aj@suse.de>
10940 * crypt/md5test2.c: New test, based on test supplied by Serge
10941 Belyshev <belyshev@depni.sinp.msu.ru>.
10942 * crypt/Makefile (xtests): Add md5test-giant..
10943 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10945 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10948 * crypt/md5.c (md5_process_block): Don't assume the buffer
10949 length is less than 2**32.
10950 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10951 length is less than 2**64.
10953 2012-08-15 Roland McGrath <roland@hack.frob.com>
10955 * string/str-two-way.h: Include <sys/param.h>.
10956 (MAX): Macro removed.
10958 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10959 Move #define and #undef of memmove to just before and after
10960 including <string.h>.
10962 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10963 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10964 and after including <string.h>. Move declarations of
10965 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10966 to before #include "string/memmove.c".
10968 * include/dirent.h: Declare __getdirentries.
10970 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10971 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10973 2012-08-14 Mike Frysinger <vapier@gentoo.org>
10975 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10976 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10977 * sysdeps/i386/configure: Regenerated.
10978 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10979 STABS_CURRENT_FILE, and STABS_FUN.
10980 (END): Remove call to STABS_FUN_END.
10981 (STABS_CURRENT_FILE1): Delete.
10982 (STABS_CURRENT_FILE): Likewise.
10983 (STABS_FUN): Likewise.
10984 (STABS_FUN_END): Likewise.
10985 (STABS_FUN2): Likewise.
10986 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10987 * sysdeps/x86_64/configure: Regenerated.
10989 2012-08-14 Roland McGrath <roland@hack.frob.com>
10991 * elf/dl-open.c: Include <atomic.h>.
10992 * elf/dl-lookup.c: Likewise.
10994 2012-08-14 Joseph Myers <joseph@codesourcery.com>
10996 * sysdeps/unix/sysv/linux/kernel-features.h
10997 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10998 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
11000 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
11002 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
11003 condition on __ASSUME_CLONE_THREAD_FLAGS.
11005 2012-08-14 Andreas Jaeger <aj@suse.de>
11007 * sysdeps/i386/fpu/libm-test-ulps: Update.
11009 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
11011 * include/atomic.h (atomic_exchange_and_add): Split into ...
11012 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
11015 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
11017 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11019 2012-08-13 Jeff Law <law@redhat.com>
11021 * manual/stdio.texi (snprintf): Clarify handling of the trailing
11022 null byte in the output string.
11024 2012-08-10 Joseph Myers <joseph@codesourcery.com>
11026 * sysdeps/unix/sysv/linux/kernel-features.h
11027 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
11028 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
11029 (__ASSUME_ARG_MAX_STACK_BASED): Define.
11030 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11031 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
11032 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
11033 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
11035 2012-08-09 Jeff Law <law@redhat.com>
11038 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
11039 When avoid_arena is set, don't retry in the that arena. Pick the
11040 next one, whatever it might be.
11041 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
11042 (arena_lock): Pass in new parameter to arena_get2.
11043 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
11045 (__libc_malloc): Unify retrying after main arena failure with
11046 __libc_memalign version.
11047 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
11049 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
11052 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
11053 to __redirect_strstr.
11054 (__strstr_sse42): Use typeof __redirect_strstr.
11055 (__strstr_ia32): Likewise.
11056 (__libc_strstr): New prototype.
11057 (strstr): Renamed to ...
11058 (__libc_strstr): This.
11059 (strstr): New strong alias of __libc_strstr.
11060 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11061 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
11064 (__libc_time): New prototype.
11065 (time_ifunc): Replace time with __libc_time.
11066 (time): New strong alias and hidden definition of __libc_time.
11067 (__GI_time): Remove strong alias.
11068 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
11069 Include <stddef.h>.
11070 (memmove): Redefined to __redirect_memmove.
11071 (__memmove_sse2): Use typeof __redirect_memmove.
11072 (__memmove_ssse3): Likewise.
11073 (__memmove_ssse3_back): Likewise.
11074 (__libc_memmove): New prototype.
11075 (memmove): Renamed to ...
11076 (__libc_memmove): This.
11077 (memmove): New strong alias of __libc_memmove.
11079 2012-08-08 Mark Salter <msalter@redhat.com>
11082 (R_MN10300_TLS_GD): Define.
11083 (R_MN10300_TLS_LD): Likewise.
11084 (R_MN10300_TLS_LDO): Likewise.
11085 (R_MN10300_TLS_GOTIE): Likewise.
11086 (R_MN10300_TLS_IE): Likewise.
11087 (R_MN10300_TLS_LE): Likewise.
11088 (R_MN10300_TLS_DTPMOD): Likewise.
11089 (R_MN10300_TLS_DTPOFF): Likewise.
11090 (R_MN10300_TLS_TPOFF): Likewise.
11091 (R_MN10300_SYM_DIFF): Likewise.
11092 (R_MN10300_ALIGN): Likewise.
11093 (R_MN10300_NUM): Update.
11095 2012-08-08 Joseph Myers <joseph@codesourcery.com>
11097 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
11100 2012-08-08 Roland McGrath <roland@hack.frob.com>
11102 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
11104 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
11105 sysdeps/unix -> sysdeps/posix move.
11106 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11108 2012-08-07 Allan McRae <allan@archlinux.org>
11111 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
11112 (SUNOS_CPP): Likewise.
11113 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
11115 (open_input): Call CPP using execvp.
11117 2012-08-07 Joseph Myers <joseph@codesourcery.com>
11119 * sysdeps/unix/sysv/linux/kernel-features.h
11120 (__ASSUME_PROT_GROWSUPDOWN): Remove.
11121 (__ASSUME_NO_CLONE_DETACHED): Likewise.
11122 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
11123 (__ASSUME_WAITID_SYSCALL): Likewise.
11124 * sysdeps/unix/sysv/linux/dl-execstack.c
11125 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
11126 code unconditional.
11127 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
11129 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
11130 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
11131 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
11133 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
11135 [__ASSUME_WAITID_SYSCALL]: Likewise.
11136 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
11138 2012-08-07 Roland McGrath <roland@hack.frob.com>
11140 * sysdeps/unix/closedir.c: Renamed to ...
11141 * sysdeps/posix/closedir.c: ... here.
11142 * sysdeps/unix/dirfd.c: Renamed to ...
11143 * sysdeps/posix/dirfd.c: ... here.
11144 * sysdeps/unix/dirstream.h: Renamed to ...
11145 * sysdeps/posix/dirstream.h: ... here.
11146 * sysdeps/unix/fdopendir.c: Renamed to ...
11147 * sysdeps/posix/fdopendir.c: ... here.
11148 * sysdeps/unix/opendir.c: Renamed to ...
11149 * sysdeps/posix/opendir.c: ... here.
11150 * sysdeps/unix/readdir.c: Renamed to ...
11151 * sysdeps/posix/readdir.c: ... here.
11152 * sysdeps/unix/readdir_r.c: Renamed to ...
11153 * sysdeps/posix/readdir_r.c: ... here.
11154 * sysdeps/unix/rewinddir.c: Renamed to ...
11155 * sysdeps/posix/rewinddir.c: ... here.
11156 * sysdeps/unix/seekdir.c: Renamed to ...
11157 * sysdeps/posix/seekdir.c: ... here.
11158 * sysdeps/unix/telldir.c: Renamed to ...
11159 * sysdeps/posix/telldir.c: ... here.
11160 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
11161 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
11162 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
11163 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
11165 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
11166 * bits/fcntl.h: ... here.
11168 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
11170 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
11171 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
11172 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
11173 (struct flock): Move l_start, l_len to the beginning.
11174 Use __pid_t for l_pid.
11175 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
11176 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
11177 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
11178 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
11179 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
11180 [__USE_LARGEFILE64] (struct flock64): New type.
11181 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
11183 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
11184 * bits/dirent.h: ... here.
11186 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
11187 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
11189 2012-08-07 Joseph Myers <joseph@codesourcery.com>
11191 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11192 Change from 2.6.0 to 2.6.16.
11193 * sysdeps/unix/sysv/linux/configure: Regenerated.
11194 * sysdeps/unix/sysv/linux/kernel-features.h
11195 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
11196 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
11198 (__ASSUME_UTIMES): Likewise.
11199 (__ASSUME_CLONE_STOPPED): Remove.
11200 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
11201 architectures, not kernel version.
11202 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
11203 (__ASSUME_NO_CLONE_DETACHED): Likewise.
11204 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
11205 (__ASSUME_WAITID_SYSCALL): Likewise.
11206 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
11207 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
11208 * README: State 2.6.16 as minimum Linux kernel version. Do not
11209 refer to older versions.
11211 2012-08-06 Roland McGrath <roland@hack.frob.com>
11213 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
11214 Define alphasort64 as an alias.
11215 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
11216 Define versionsort64 as an alias.
11217 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
11218 Define scandir64 as an alias.
11219 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
11220 Define scandirat64 as an alias.
11221 * dirent/alphasort64.c (alphasort64):
11222 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
11223 * dirent/versionsort64.c: Likewise.
11224 * dirent/scandir64.c: Likewise.
11225 * dirent/scandirat64.c: Likewise.
11226 * sysdeps/wordsize-64/alphasort.c: File removed.
11227 * sysdeps/wordsize-64/alphasort64.c: File removed.
11228 * sysdeps/wordsize-64/scandir.c: File removed.
11229 * sysdeps/wordsize-64/scandir64.c: File removed.
11230 * sysdeps/wordsize-64/scandirat.c: File removed.
11231 * sysdeps/wordsize-64/scandirat64.c: File removed.
11232 * sysdeps/wordsize-64/versionsort.c: File removed.
11233 * sysdeps/wordsize-64/versionsort64.c: File removed.
11234 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
11235 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
11236 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
11237 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
11238 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
11239 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
11240 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
11241 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
11243 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
11244 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11245 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
11246 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11247 [defined __arch64__ || defined __sparcv9]
11248 (__INO_T_MATCHES_INO64_T): New macro.
11249 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11250 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
11251 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
11252 * sysdeps/unix/sysv/linux/bits/dirent.h
11253 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
11254 (_DIRENT_MATCHES_DIRENT64): New macro.
11256 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
11257 Define lockf64 as an alias.
11258 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
11259 Define fseeko64 as an alias.
11260 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
11261 Define ftello64 as an alias.
11262 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
11263 Define _IO_fgetpos64 and fgetpos64 as aliases.
11264 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
11265 Define _IO_fsetpos64 and fsetpos64 as aliases.
11266 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
11267 Conditionalize body on this.
11268 * libio/fseeko64.c: Likewise.
11269 * libio/ftello64.c: Likewise.
11270 * libio/iofgetpos64.c: Likewise.
11271 * libio/iofsetpos64.c: Likewise.
11272 * sysdeps/wordsize-64/lockf.c: File removed.
11273 * sysdeps/wordsize-64/lockf64.c: File removed.
11274 * sysdeps/wordsize-64/fseeko.c: File removed.
11275 * sysdeps/wordsize-64/fseeko64.c: File removed.
11276 * sysdeps/wordsize-64/ftello.c: File removed.
11277 * sysdeps/wordsize-64/ftello64.c: File removed.
11278 * sysdeps/wordsize-64/iofgetpos.c: File removed.
11279 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
11280 * sysdeps/wordsize-64/iofsetpos.c: File removed.
11281 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
11282 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
11283 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
11284 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
11285 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
11286 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
11287 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
11288 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
11289 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
11290 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
11291 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
11293 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11294 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11295 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
11296 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11297 [defined __arch64__ || defined __sparcv9]
11298 (__OFF_T_MATCHES_OFF64_T): New macro.
11299 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11300 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11301 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11302 (__OFF_T_MATCHES_OFF64_T): New macro.
11304 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11306 * stdlib/secure-getenv.c (__secure_getenv): Replace
11307 GLIBC_2_16 with GLIBC_2_17.
11309 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11311 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
11312 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11314 2012-08-03 David S. Miller <davem@davemloft.net>
11316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11318 2012-08-03 Joseph Myers <joseph@codesourcery.com>
11320 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
11322 (__ASSUME_CORRECT_SI_PID): Likewise.
11323 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
11324 (__ASSUME_TMPFS_NAME): Likewise.
11325 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
11326 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
11327 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
11328 (HAVE_AUX_SECURE): Make definition unconditional.
11329 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
11330 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
11332 2012-08-03 Roland McGrath <roland@hack.frob.com>
11334 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
11335 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
11336 * sysdeps/mach/hurd/eloop-threshold.h: New file.
11337 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11338 __eloop_threshold instead of SYMLOOP_MAX.
11340 * sysdeps/generic/eloop-threshold.h: New file.
11341 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
11343 * elf/chroot_canon.c (chroot_canon): Likewise.
11345 2012-08-03 Joseph Myers <joseph@codesourcery.com>
11348 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11349 Change to 2.6.0 everywhere.
11350 * sysdeps/unix/sysv/linux/configure: Regenerated.
11351 * sysdeps/unix/sysv/linux/kernel-features.h
11352 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
11353 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
11355 (__ASSUME_POSIX_TIMERS): Define unconditionally.
11356 (__ASSUME_FUTEX_REQUEUE): Remove.
11357 (__ASSUME_STATFS64): Define unconditionally.
11358 (__ASSUME_AT_SECURE): Likewise.
11359 (__ASSUME_CORRECT_SI_PID): Likewise.
11360 (__ASSUME_TGKILL): Define without depending on kernel version for
11362 (__ASSUME_UTIMES): Likewise.
11363 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
11365 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
11366 (__ASSUME_TMPFS_NAME): Likewise.
11367 * README: Update reference to Linux kernel versions.
11369 2012-08-02 Marek Polacek <polacek@redhat.com>
11372 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
11373 libc_cv_asm_type_prefix with %.
11374 * configure: Regenerated.
11375 * include/libc-symbols.h: Remove comment about
11376 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
11377 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
11378 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
11379 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
11380 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
11381 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
11382 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
11383 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
11384 * elf/tst-unique2mod1.c: Likewise.
11385 * elf/tst-unique1mod2.c: Likewise.
11386 * elf/tst-unique1mod1.c: Likewise.
11387 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
11388 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
11389 Replace ASM_TYPE_DIRECTIVE with .type.
11390 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11391 * sysdeps/i386/sysdep.h: Likewise.
11392 * sysdeps/x86_64/sysdep.h: Likewise.
11393 * sysdeps/sh/sysdep.h: Likewise.
11394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11395 Do not define ASM_TYPE_DIRECTIVE.
11396 * sysdeps/powerpc/sysdep.h: Likewise.
11397 * sysdeps/powerpc/powerpc32/sysdep.h:
11398 Replace ASM_TYPE_DIRECTIVE with .type.
11399 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11400 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11401 * sysdeps/i386/fpu/e_powf.S: Likewise.
11402 * sysdeps/i386/fpu/e_expl.S: Likewise.
11403 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11404 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11405 * sysdeps/i386/fpu/e_pow.S: Likewise.
11406 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11407 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11408 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11409 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11410 * sysdeps/i386/fpu/e_log2.S: Likewise.
11411 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11412 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11413 * sysdeps/i386/fpu/e_powl.S: Likewise.
11414 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11415 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11416 * sysdeps/i386/fpu/e_logl.S: Likewise.
11417 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11418 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11419 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11420 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11421 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11422 * sysdeps/i386/fpu/e_log.S: Likewise.
11423 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11424 * sysdeps/i386/fpu/e_logf.S: Likewise.
11425 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11426 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11427 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11428 * sysdeps/i386/fpu/e_log10.S: Likewise.
11429 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11430 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11431 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11432 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11433 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11434 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
11435 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11436 * sysdeps/i386/i686/strtok.S: Likewise.
11437 * sysdeps/i386/i386-mcount.S: Likewise.
11438 * sysdeps/i386/strtok.S: Likewise.
11439 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
11440 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11441 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11442 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11443 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11444 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11445 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11446 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11447 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11448 * sysdeps/x86_64/_mcount.S: Likewise.
11449 * sysdeps/x86_64/strtok.S: Likewise.
11450 * sysdeps/sh/_mcount.S: Likewise.
11452 2012-08-01 Roland McGrath <roland@hack.frob.com>
11454 * libio/iofopen.c: Include <fcntl.h>.
11455 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
11456 (_IO_fopen64, fopen64): Define as aliases.
11457 * libio/iofopen64.c: Include <fcntl.h>.
11458 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
11459 Conditionalize body on this.
11460 * sysdeps/wordsize-64/iofopen.c: File removed.
11461 * sysdeps/wordsize-64/iofopen64.c: File removed.
11463 2012-08-01 Marek Polacek <polacek@redhat.com>
11465 * libc/Makeconfig: Use elf in place of binfmt-subdir.
11466 Use dlfcn directly instead of a variable.
11467 (binfmt-subdir): Do not define.
11470 2012-08-01 Joseph Myers <joseph@codesourcery.com>
11472 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
11473 Remove all definitions.
11474 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
11475 <kernel-features.h>.
11476 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11477 (miss_F_GETOWN_EX): Remove all definitions.
11478 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
11480 [!__ASSUME_FCNTL64]: Remove conditional code.
11481 [__ASSUME_FCNTL64]: Make code unconditional.
11482 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
11483 <kernel-features.h>.
11484 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11485 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
11486 (lockf64) [__NR_fcntl64]: Make code unconditional.
11487 (lockf64) [__ASSUME_FCNTL64]: Likewise.
11489 * sysdeps/unix/sysv/linux/kernel-features.h
11490 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
11491 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
11492 Make code unconditional.
11493 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11494 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
11496 [__NR_vfork]: Make code unconditional.
11497 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11498 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
11500 [__NR_vfork]: Make code unconditional.
11501 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11502 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11504 2012-08-01 Roland McGrath <roland@hack.frob.com>
11506 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
11507 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
11509 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11510 Define mkstemp64 as an alias.
11511 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11512 Define mkstemps64 as an alias.
11513 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11514 Define mkostemp64 as an alias.
11515 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11516 Define mkostemps64 as an alias.
11517 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
11518 Conditionalize body on this.
11519 * misc/mkostemp64.c: Likewise.
11520 * misc/mkostemps64.c: Likewise.
11521 * misc/mkstemps64.c: Likewise.
11522 * sysdeps/wordsize-64/mkstemp64.c: File removed.
11523 * sysdeps/wordsize-64/mkostemp64.c: File removed.
11524 * sysdeps/wordsize-64/mkostemp.c: File removed.
11525 * sysdeps/wordsize-64/mkstemp.c: File removed.
11526 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
11527 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
11528 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
11529 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
11532 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
11533 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
11534 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
11535 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
11537 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
11538 compat_symbol macros from <shlib-compat.h> rather than the underlying
11539 default_symbol_version and symbol_version macros, so that DEFAULT
11540 lines in shlib-versions are respected.
11541 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
11543 2012-08-01 Florian Weimer <fweimer@redhat.com>
11545 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
11546 Declare with warn_unused_result.
11547 (setgid, setregid, setegid, setresgid): Likewise.
11548 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
11550 * WUR-REPORT: Remove set*id functions.
11552 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
11554 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
11556 2012-07-31 Roland McGrath <roland@hack.frob.com>
11559 * include/sys/socket.h (__libc_accept, __libc_accept4):
11560 Add attribute_hidden.
11561 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
11563 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
11565 * inet/getnetgrent_r.c (setup): Likewise.
11567 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
11569 2012-07-31 David S. Miller <davem@davemloft.net>
11571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11573 2012-07-31 Joseph Myers <joseph@codesourcery.com>
11576 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
11577 value between 1.0 and 2.0 and smaller part has absolute value less
11579 * math/s_clog10.c (__clog10): Likewise.
11580 * math/s_clog10f.c (__clog10f): Likewise.
11581 * math/s_clog10l.c (__clog10l): Likewise.
11582 * math/s_clogf.c (__clogf): Likewise.
11583 * math/s_clogl.c (__clogl): Likewise.
11584 * math/libm-test.inc (clog_test): Add more tests.
11585 (clog10_test): Likewise.
11586 * sysdeps/i386/fpu/libm-test-ulps: Update.
11587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11589 2012-07-31 Florian Weimer <fweimer@redhat.com>
11591 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
11592 Exit with zero in case no suitable GID is found, and write a
11593 message to standard error.
11595 2012-07-30 Roland McGrath <roland@hack.frob.com>
11597 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
11599 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
11600 (MAXPATHLEN): Removed.
11601 (NOGROUP, NODEV): New macros.
11602 (setbit, clrbit, isset, isclr): New macros.
11603 (howmany, roundup, powerof2): New macros.
11604 (DEV_BSIZE): New macro.
11606 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
11607 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
11609 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
11610 definition on [!__NO_LONG_DOUBLE_MATH].
11612 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
11613 PTR_MANGLE and PTR_DEMANGLE.
11615 * socket/accept4.c (accept4): Rename to __libc_accept4.
11616 Define accept4 as a weak alias.
11618 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
11619 on [_DIRENT_HAVE_D_TYPE].
11620 * io/ftw.c (ftw_dir): Likewise.
11622 * io/xmknod.c (__xmknod): Don't check PATH for being null.
11624 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
11626 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
11627 Use the BSD numbers rather than the arbitrary ones we had.
11628 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
11629 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
11630 (SIGXCPU, SIGXFSZ): New macros.
11633 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
11634 initializer on [_LIBC_REENTRANT].
11636 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
11637 definitions inside [_POSIX_MAPPED_FILES].
11639 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
11641 * dirent/opendir.c: Include <fcntl.h>.
11643 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
11644 (__libc_getspecific): Likewise.
11645 (__libc_key_create): Likewise.
11647 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
11648 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
11649 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
11650 (tmpfile64): Define as alias.
11651 * sysdeps/wordsize-64/tmpfile.c: File removed.
11652 * sysdeps/wordsize-64/tmpfile64.c: File removed.
11653 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
11654 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
11656 * stdio-common/vfscanf.c: Include <stdbool.h>.
11657 * nss/makedb.c: Likewise.
11658 * stdio-common/_i18n_number.h: Likewise.
11659 * argp/argp-help.c: Likewise.
11660 * posix/wordexp.c: Likewise.
11661 * sysdeps/posix/spawni.c: Likewise.
11662 * nss/nss_files/files-initgroups.c: Likewise.
11663 * stdio-common/reg-modifier.c: Include <stdlib.h>.
11664 * nss/nss_files/files-initgroups.c: Likewise.
11665 * nss/nss_db/db-netgrp.c: Likewise.
11666 * nss/nss_db/db-initgroups.c: Likewise.
11667 * io/fchmodat.c: Include <sys/stat.h>.
11669 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
11670 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
11672 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
11675 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
11676 Add multiple inclusion protection.
11678 2012-07-27 David S. Miller <davem@davemloft.net>
11680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11682 2012-07-27 Gary Benson <gbenson@redhat.com>
11685 * elf/rtld.c: Include <stap-probe.h>.
11686 (dl_main): Added static probes "init_start" and "init_complete".
11687 * elf/dl-load.c: Include <stap-probe.h>.
11688 (lose): Take new parameter "nsid".
11689 Added static probe "map_failed".
11690 (_dl_map_object_from_fd): Pass namespace id to lose.
11691 Added static probe "map_start".
11692 (open_verify): Pass namespace id to lose.
11693 * elf/dl-open.c: Include <stap-probe.h>.
11694 (dl_open_worker) Added static probes "map_complete", "reloc_start"
11695 and "reloc_complete".
11696 * elf/dl-close.c: Include <stap-probe.h>.
11697 (_dl_close_worker): Added static probes "unmap_start" and
11699 * elf/rtld-debugger-interface.txt: New file documenting the above.
11701 2012-07-26 Roland McGrath <roland@hack.frob.com>
11703 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
11704 rather than a string variable.
11705 * sunrpc/rpc_main.c (h_output): Likewise.
11706 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
11708 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
11710 * inet/check_native.c: New file.
11712 2012-07-26 Joseph Myers <joseph@codesourcery.com>
11715 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
11716 if larger part has absolute value 1.0.
11717 * math/s_clog10.c (__clog10): Likewise.
11718 * math/s_clog10f.c (__clog10f): Likewise.
11719 * math/s_clog10l.c (__clog10l): Likewise.
11720 * math/s_clogf.c (__clogf): Likewise.
11721 * math/s_clogl.c (__clogl): Likewise.
11722 * math/libm-test.inc (clog_test): Add more tests.
11723 (clog10_test): Likewise.
11724 * sysdeps/i386/fpu/libm-test-ulps: Update.
11725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11727 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
11728 (pltexit): Likewise.
11729 (La_regs): Likewise.
11730 (La_retval): Likewise.
11731 (int_retval): Likewise.
11732 Update #error for removed macros to refer only to definitions in
11734 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
11736 (pltexit): Likewise.
11737 (La_regs): Likewise.
11738 (La_retval): Likewise.
11739 (int_retval): Likewise.
11740 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
11742 (pltexit): Likewise.
11743 (La_regs): Likewise.
11744 (La_retval): Likewise.
11745 (int_retval): Likewise.
11746 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
11748 (pltexit): Likewise.
11749 (La_regs): Likewise.
11750 (La_retval): Likewise.
11751 (int_retval): Likewise.
11752 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
11754 (pltexit): Likewise.
11755 (La_regs): Likewise.
11756 (La_retval): Likewise.
11757 (int_retval): Likewise.
11758 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
11760 (pltexit): Likewise.
11761 (La_regs): Likewise.
11762 (La_retval): Likewise.
11763 (int_retval): Likewise.
11764 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
11766 (pltexit): Likewise.
11767 (La_regs): Likewise.
11768 (La_retval): Likewise.
11769 (int_retval): Likewise.
11770 * sysdeps/generic/tst-audit.h: Update comment to refer only to
11771 macro definitions in tst-audit.h.
11772 * sysdeps/i386/tst-audit.h: New file.
11773 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
11774 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
11775 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
11776 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
11777 * sysdeps/sh/tst-audit.h: Likewise.
11778 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
11779 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
11780 * sysdeps/x86_64/tst-audit.h: Likewise.
11782 2012-07-26 Andreas Jaeger <aj@suse.de>
11784 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
11787 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
11788 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
11789 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
11791 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
11792 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
11793 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
11795 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
11798 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
11800 (si_call_addr, si_syscall, si_arch): Define new macro.
11801 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
11803 (si_call_addr, si_syscall, si_arch): Define new marcro.
11804 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
11806 (si_call_addr, si_syscall, si_arch): Define new macro.
11807 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
11809 (si_call_addr, si_syscall, si_arch): Define new macro.
11811 2012-07-25 Joseph Myers <joseph@codesourcery.com>
11814 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11815 Change to 2.4.21 where previously 2.4.1.
11816 * sysdeps/unix/sysv/linux/configure: Regenerated.
11817 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11818 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11819 Linux kernel version.
11820 (__ASSUME_STD_AUXV): Remove.
11821 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11823 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11824 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11825 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11826 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11827 (__ASSUME_NETLINK_SUPPORT): Likewise.
11828 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11829 (__no_netlink_support): Remove conditional definition.
11830 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11832 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11833 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11834 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11835 (if_nameindex_ioctl): Remove.
11836 (if_nameindex_netlink): Do not handle __no_netlink_support.
11837 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11839 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11840 Remove conditional code.
11841 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11843 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11845 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11846 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11847 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11849 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11850 [!__ASSUME_STD_AUXV]: Remove conditional code.
11851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11852 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11853 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11855 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11856 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11858 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11860 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11861 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11863 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11865 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11868 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11871 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11872 code unconditional.
11873 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11875 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11877 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11880 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11882 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11885 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11886 code unconditional.
11887 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11889 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11891 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11894 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11895 code unconditional.
11896 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11898 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11900 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11903 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11905 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11906 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11907 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11908 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11909 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11910 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11911 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11912 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11913 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11914 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11915 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11916 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11917 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11918 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11919 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11920 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11921 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11922 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11923 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11924 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11925 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11926 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11927 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11929 2012-07-25 Florian Weimer <fweimer@redhat.com>
11931 * Versions.def: Add GLIBC_2.17.
11932 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11933 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11934 Introduce __libc_secure_getenv.
11935 * stdlib/Versions (2.17): Add secure_getenv
11936 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11937 * stdlib/secure-getenv.c: Rename __secure_getenv to
11938 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11939 symbol __secure_getenv for GLIBC_2.0.
11940 * stdlib/tst-secure-getenv.c: New.
11941 * stdlib/Makefile (tests): Add testcase.
11942 * manual/startup.texi (Environment Access): Document
11944 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11945 __libc_secure_getenv.
11946 * inet/ruserpass.c (ruserpass): Likewise.
11947 * malloc/mtrace.c (mtrace): Likewise.
11948 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
11949 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11950 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11951 * sysdeps/posix/tempname.c: Likewise. Evaluate
11952 HAVE_SECURE_GETENV.
11953 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
11954 __secure_getenv to __libc_secure_getenv.
11955 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
11956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11961 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11962 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11964 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11965 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11966 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11968 2012-07-25 Joseph Myers <joseph@codesourcery.com>
11970 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11971 (struct La_i86_retval): Likewise.
11972 (struct La_x86_64_regs): Likewise.
11973 (struct La_x86_64_retval): Likewise.
11974 (struct La_x32_regs): Likewise.
11975 (struct La_x32_retval): Likewise.
11976 (struct La_ppc32_regs): Likewise.
11977 (struct La_ppc32_retval): Likewise.
11978 (struct La_ppc64_regs): Likewise.
11979 (struct La_ppc64_retval): Likewise.
11980 (struct La_sh_regs): Likewise.
11981 (struct La_sh_retval): Likewise.
11982 (struct La_s390_32_regs): Likewise.
11983 (struct La_s390_32_retval): Likewise.
11984 (struct La_s390_64_regs): Likewise.
11985 (struct La_s390_64_retval): Likewise.
11986 (struct La_sparc32_regs): Likewise.
11987 (struct La_sparc32_retval): Likewise.
11988 (struct La_sparc64_regs): Likewise.
11989 (struct La_sparc64_retval): Likewise.
11990 (struct audit_ifaces): Remove architecture-specific pltenter and
11992 * sysdeps/i386/ldsodefs.h: New file.
11993 * sysdeps/powerpc/ldsodefs.h: Likewise.
11994 * sysdeps/s390/ldsodefs.h: Likewise.
11995 * sysdeps/sh/ldsodefs.h: Likewise.
11996 * sysdeps/sparc/ldsodefs.h: Likewise.
11997 * sysdeps/x86_64/ldsodefs.h: Likewise.
11999 2012-07-25 Marek Polacek <polacek@redhat.com>
12002 * math/libm-test.inc (yn_test): Add another test.
12003 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
12004 to ERANGE when the result is +-Inf.
12005 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12006 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
12007 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
12008 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
12010 2012-07-24 Joseph Myers <joseph@codesourcery.com>
12012 * conform/data/time.h-data (NULL): Use macro-constant. Require
12014 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
12016 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
12018 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
12020 * configure.in <sysdeps resolving>: Correct printing
12022 * configure: Regenerate.
12024 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
12026 * math/w_ilogb.c: Include <limits.h>.
12027 * math/w_ilogbl.c: Likewise.
12029 2012-07-20 Joseph Myers <joseph@codesourcery.com>
12031 * manual/lang.texi (__va_copy): Document primarily as ISO C99
12032 va_copy. Document allowing for unavailable va_copy only as
12033 pre-C99 compatibility.
12034 * manual/string.texi (Copying and Concatenation): Use va_copy
12035 instead of __va_copy in concat example.
12037 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
12039 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
12040 (__sendto): Use create_address_port. Initialize APORT and deallocate
12043 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
12044 with O_NOLINK passed to __file_name_lookup.
12046 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
12047 with O_NOLINK passed to __file_name_lookup.
12049 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
12050 negative N or less than NGIDS.
12052 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
12053 type to string_t. Set ERANGE as errno and return it if NAME is not big
12054 enough. Use memcpy instead of strncpy.
12056 2012-07-20 Joseph Myers <joseph@codesourcery.com>
12058 * elf/Makefile (check-data): Remove.
12059 (localplt.data): New vpath directive.
12060 ($(objpfx)check-localplt.out): Use localplt.data from vpath
12061 instead of $(check-data).
12062 * scripts/data/localplt-generic.data: Move to ...
12063 * sysdeps/generic/localplt.data: ... here.
12064 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
12065 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
12066 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
12067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
12069 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
12070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
12072 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
12073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
12075 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
12076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
12078 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
12079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
12081 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
12082 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
12085 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12087 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
12088 PPC32 and PPC64 files.
12089 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
12090 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
12092 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12094 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
12095 __makecontext_ret to ...
12096 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
12097 ... here and call exit if uc_link is NULL. New file.
12098 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
12099 __makecontext_ret.S.
12100 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
12101 __makecontext_ret to ...
12102 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
12103 ... here and call exit if uc_link is NULL. New file.
12104 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
12105 __makecontext_ret.S.
12107 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12109 * elf/elf.h (R_390_IRELATIVE): New definition.
12110 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
12111 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
12112 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
12113 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12114 (elf_machine_lazy_rel): Likewise.
12115 * sysdeps/s390/dl-irel.h: New file.
12116 * sysdeps/s390/s390-64/memcpy.S: New asm code.
12117 * sysdeps/s390/s390-64/memset.S: New asm code.
12118 * sysdeps/s390/s390-64/memcmp.S: New asm code.
12119 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
12120 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
12121 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
12122 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
12123 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
12124 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
12125 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
12126 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
12127 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
12128 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
12129 * sysdeps/s390/s390-32/memcpy.S: New asm code.
12130 * sysdeps/s390/s390-32/memset.S: New asm code.
12131 * sysdeps/s390/s390-32/memcmp.S: New asm code.
12133 2012-07-17 Marek Polacek <polacek@redhat.com>
12136 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
12137 * sysdeps/s390/s390-64/configure.in: Likewise.
12138 * sysdeps/sparc/configure.in: Likewise.
12139 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
12140 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
12141 * sysdeps/i386/configure.in: Likewise.
12142 * sysdeps/x86_64/configure.in: Likewise.
12143 * sysdeps/sh/configure.in: Likewise.
12144 * sysdeps/s390/s390-32/configure: Regenerated.
12145 * sysdeps/s390/s390-64/configure: Likewise.
12146 * sysdeps/x86_64/configure: Likewise.
12147 * sysdeps/sh/configure: Likewise.
12148 * sysdeps/powerpc/powerpc64/configure: Likewise.
12149 * sysdeps/powerpc/powerpc32/configure: Likewise.
12150 * sysdeps/sparc/configure: Likwise.
12151 * sysdeps/i386/configure: Likewise.
12153 * elf/dl-open.c: Comment fixes.
12155 2012-07-17 Joseph Myers <joseph@codesourcery.com>
12157 * Makefile [CXX] (check-data): Remove.
12158 [CXX] (c++-types.data): New vpath directive.
12159 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
12160 vpath. Do not allow for C++ type data being missing.
12161 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
12162 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
12163 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
12164 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
12165 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
12166 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
12167 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
12168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
12170 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
12171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
12173 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
12174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
12176 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
12177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
12179 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
12180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
12182 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
12183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
12185 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
12186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
12188 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
12189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
12191 * elf/tls-macros.h (TLS_LE): Move architecture-specific
12192 definitions to architecture-specific files.
12193 (TLS_IE): Likewise.
12194 (TLS_LD): Likewise.
12195 (TLS_GD): Likewise.
12196 * sysdeps/i386/tls-macros.h: New file.
12197 * sysdeps/powerpc/tls-macros.h: Likewise.
12198 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
12199 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
12200 * sysdeps/sh/tls-macros.h: Likewise.
12201 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
12202 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
12203 * sysdeps/x86_64/tls-macros.h: Likewise.
12205 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12207 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
12208 zero value for regular exit case.
12210 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12211 (__start_context): Preserve zero value for regular exit case.
12213 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12214 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12216 * manual/setjmp.texi (setcontext): Clarify normal process
12217 termination when uc_link is the null pointer.
12218 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
12221 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
12223 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
12224 preprocessor. Test for each exception mask separately.
12226 2012-07-16 Andreas Jaeger <aj@suse.de>
12228 * po/ru.po: Update from translation team.
12230 2012-07-15 Joseph Myers <joseph@codesourcery.com>
12232 * conform/data/string.h-data (NULL): Use macro-constant. Require
12234 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12235 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12236 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
12237 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
12238 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12240 2012-07-13 Andreas Jaeger <aj@suse.de>
12242 * po/fr.po: Update from translation team.
12244 2012-07-12 Marek Polacek <polacek@redhat.com>
12247 * math/libm-test.inc (yn_test): Add test for BZ #14173.
12248 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
12251 2012-07-12 Joseph Myers <joseph@codesourcery.com>
12254 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12255 Change to 2.4.1 where previously 2.4.0.
12256 * sysdeps/unix/sysv/linux/configure: Regenerated.
12257 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
12258 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
12260 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
12261 (__ASSUME_AT_CLKTCK): Remove.
12262 (__ASSUME_AT_PAGESIZE): Likewise.
12263 (__ASSUME_AT_XID): Likewise.
12264 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
12265 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
12266 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
12268 (HAVE_AUX_PAGESIZE): Likewise.
12269 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
12270 [__ASSUME_AT_CLKTCK]: Make code unconditional.
12271 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
12273 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
12276 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
12277 the temporary buffer used to invoke __gethostbyname2_r,
12278 __gethostbyaddr_r and gethostbyname4_r to make room for struct
12279 host_data / struct gaih_addrtuple.
12280 * resolv/nss_dns/dns-host.c (global scope): Move definition of
12281 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
12282 header file nss/nsswitch.h.
12283 * nss/nsswitch.h (global scope): Add definition of implementation
12284 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
12285 resolv/nss_dns/dns-host.c).
12287 2012-07-11 Andreas Jaeger <aj@suse.de>
12289 * po/fr.po: Update from translation team.
12291 * po/sv.po: Update from translation team
12292 * po/fr.po: Another update from translation team.
12294 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12296 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
12297 for subnormals or multiply small sinh result by itself.
12298 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12301 2012-07-11 David S. Miller <davem@davemloft.net>
12303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12305 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
12308 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
12309 (INTERNAL_MARK): Shift it here.
12311 2012-07-10 Marek Polacek <polacek@redhat.com>
12314 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
12315 libc_cv_asm_global_directive with .globl.
12316 * configure: Regenerated.
12317 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
12319 * sysdeps/i386/configure: Regenerated.
12320 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
12322 * sysdeps/x86_64/configure: Regenerated.
12323 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
12324 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
12325 * elf/tst-unique2mod2.c: Likewise.
12326 * elf/tst-unique2mod1.c: Likewise.
12327 * elf/tst-unique1mod2.c: Likewise.
12328 * elf/tst-unique1mod1.c: Likewise.
12329 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12330 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12331 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12332 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12333 * sysdeps/mach/sysdep.h: Likewise.
12334 * sysdeps/i386/sysdep.h: Likewise.
12335 * sysdeps/i386/i386-mcount.S: Likewise.
12336 * sysdeps/x86_64/_mcount.S: Likewise.
12337 * sysdeps/x86_64/sysdep.h: Likewise.
12338 * sysdeps/sh/_mcount.S: Likewise.
12339 * sysdeps/sh/sysdep.h: Likewise.
12340 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
12341 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
12342 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
12343 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12344 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
12345 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
12346 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
12347 * locale/localeinfo.h: Likewise.
12348 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
12349 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
12351 2012-07-09 Roland McGrath <roland@hack.frob.com>
12354 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
12356 * manual/message.texi (The Uniforum approach): Likewise.
12357 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
12358 (glibc iconv Implementation): Likewise.
12360 2012-07-09 Joseph Myers <joseph@codesourcery.com>
12363 * math/s_clog.c (__clog): Avoid scaling a value down where that
12364 could result in underflow.
12365 * math/s_clog10.c (__clog10): Likewise.
12366 * math/s_clog10f.c (__clog10f): Likewise.
12367 * math/s_clog10l.c (__clog10l): Likewise.
12368 * math/s_clogf.c (__clogf): Likewise.
12369 * math/s_clogl.c (__clogl): Likewise.
12370 * math/libm-test.inc (clog_test): Add more tests.
12371 (clog10_test): Likewise.
12372 * sysdeps/i386/fpu/libm-test-ulps: Update.
12373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12375 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
12378 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
12379 by 7 not 8 to examine high bit of fractional part.
12382 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
12383 for call to __mcount_internal.
12384 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
12385 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
12386 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
12388 2012-07-06 Joseph Myers <joseph@codesourcery.com>
12391 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
12392 approximation for values within 0x1p-13f of an odd multiple of
12394 * math/libm-test.inc (tan_test): Do not allow spurious underflow
12395 exception. Add more tests.
12396 * sysdeps/i386/fpu/libm-test-ulps: Update.
12399 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
12400 inputs and return -1 for them. Do not check for +Inf in case not
12401 reachable for +Inf.
12402 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12403 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
12404 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12405 and return -1 for them. Do not check for +Inf in case not
12406 reachable for +Inf.
12407 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
12409 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12410 and return -1 for them. Do not check for +Inf in case not
12411 reachable for +Inf.
12412 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
12413 spurious underflow.
12414 * sysdeps/i386/fpu/libm-test-ulps: Update.
12415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12417 2012-07-06 Mike Frysinger <vapier@gentoo.org>
12419 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
12421 2012-07-05 Joseph Myers <joseph@codesourcery.com>
12425 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
12426 could result in spurious underflow. Scale down values above
12427 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
12428 * math/s_csqrtf.c (__csqrtf): Likewise.
12429 * math/s_csqrtl.c (__csqrtl): Likewise.
12430 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
12431 spurious underflow.
12432 * sysdeps/i386/fpu/libm-test-ulps: Update.
12433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12435 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
12437 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
12439 * catgets/xopen-msg.awk: New file.
12440 * catgets/xopen-msg.sed: Removed.
12442 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
12444 * intl/po2test.awk: New file.
12445 * intl/po2test.sed: Removed.
12447 2012-07-04 Joseph Myers <joseph@codesourcery.com>
12450 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
12451 or multiply small sinh result by itself.
12452 * math/s_ctanf.c (__ctanf): Likewise.
12453 * math/s_ctanh.c (__ctanh): Likewise.
12454 * math/s_ctanhf.c (__ctanhf): Likewise.
12455 * math/s_ctanhl.c (__ctanhl): Likewise.
12456 * math/s_ctanl.c (__ctanl): Likewise.
12457 * math/libm-test.inc (ctan_test_tonearest): New function.
12458 (ctan_test_towardzero): Likewise.
12459 (ctan_test_downward): Likewise.
12460 (ctan_test_upward): Likewise.
12461 (ctanh_test_tonearest): Likewise.
12462 (ctanh_test_towardzero): Likewise.
12463 (ctanh_test_downward): Likewise.
12464 (ctanh_test_upward): Likewise.
12465 (main): Call these new functions.
12466 * sysdeps/i386/fpu/libm-test-ulps: Update.
12467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12469 2012-07-03 Mike Frysinger <vapier@gentoo.org>
12471 * .gitignore: Delete /ports entry.
12473 2012-07-03 Andreas Jaeger <aj@suse.de>
12475 * po/bg.po: Update from translation team.
12476 * po/cs.po: Likewise.
12477 * po/de.po: Likewise.
12478 * po/hr.po: Likewise.
12479 * po/nl.pl: Likewise.
12480 * po/pl.po: Likewise.
12481 * po/vi.po: Likewise.
12483 2012-07-03 Joseph Myers <joseph@codesourcery.com>
12485 * Makeconfig [!+link] (+link-before-libc): New variable.
12486 [!+link] (+link-after-libc): Likewise.
12487 [!+link] (+link-tests): Likewise.
12488 [!+link] (+link): Define in terms of $(+link-before-libc) and
12489 $(+link-after-libc).
12490 [!+link-static] (+link-static-before-libc): New variable.
12491 [!+link-static] (+link-static-after-libc): Likewise.
12492 [!+link-static] (+link-static-tests): Likewise.
12493 [!+link-static] (+link-static): Define in terms of
12494 $(+link-static-before-libc) and $(+link-static-after-libc).
12495 [build-shared] (link-libc-before-gnulib): New variable.
12496 [build-shared] (link-libc-tests): Likewise.
12497 [build-shared] (link-libc): Define in terms of
12498 $(link-libc-before-gnulib).
12499 [!build-shared] (link-libc-tests): New variable.
12500 (link-libc-static-tests): New variable.
12501 [!gnulib] (gnulib-arch): New variable.
12502 [!gnulib] (gnulib-tests): Likewise.
12503 [!gnulib] (static-gnulib-arch): Likewise.
12504 [!gnulib] (static-gnulib-tests): Likewise.
12505 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
12506 Define with "=" instead of ":=".
12507 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
12508 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
12509 * Rules (binaries-all-notests): New variable.
12510 (binaries-all-tests): Likewise.
12511 (binaries-static-notests): Likewise.
12512 (binaries-static-tests): Likewise.
12513 (binaries-all): Define using $(binaries-all-notests) and
12514 $(binaries-all-tests).
12515 (binaries-static): Define using $(binaries-static-notests) and
12516 $(binaries-static-tests).
12517 (binaries-shared-tests): New variable.
12518 (binaries-shared-notests): Likewise.
12519 (binaries-shared): Remove variable.
12520 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
12521 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
12522 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
12523 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
12524 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
12525 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
12526 * elf/Makefile (sln-modules): New variable.
12527 (extra-objs): Add $(sln-modules:=.o).
12528 (ldconfig-modules): Add static-stubs.
12529 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
12530 * elf/static-stubs.c: New file.
12533 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
12534 by 7 not 8 to examine high bit of fractional part. Use volatile
12535 variables when splitting into final array of floats if
12536 __FLT_EVAL_METHOD__ != 0.
12537 * math/libm-test.inc (cos_test): Add another test.
12538 (sin_test): Likewise.
12539 * sysdeps/i386/fpu/libm-test-ulps: Update.
12542 * math/libm-test.inc (cosh_test): Add more tests.
12544 * version.h (RELEASE): Set to "development".
12545 (VERSION): Set to "2.16.90".
12547 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
12549 * NEWS: Update copyright. Remove last-updated date.
12550 Mention math library bug fixes and timezone data changes.
12551 * README: Mention GNU/Hurd, x32, and HPPA support status.
12553 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
12555 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
12557 2012-06-27 Andreas Jaeger <aj@suse.de>
12559 * manual/contrib.texi (Contributors): Add Samuel Thibault.
12561 2012-06-25 Andreas Jaeger <aj@suse.de>
12563 * sysdeps/s390/fpu/libm-test-ulps: Update.
12565 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
12566 Thomas Schwinge <thomas@codesourcery.com>
12568 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
12569 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
12570 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
12573 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
12575 * sysdeps/mach/start.c: Remove file.
12576 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
12577 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
12578 * sysdeps/sh/init-first.c: Likewise.
12580 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
12581 registers for frame unwinding purposes, add CFI directives.
12582 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12583 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
12584 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
12587 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
12588 __fortify_fail returning.
12589 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12591 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
12592 sysdeps/sh/____longjmp_chk.S.
12593 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
12594 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
12595 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
12596 (gen-as-const-headers): Append sigaltstack-offsets.sym.
12598 * sysdeps/sh/abort-instr.h: New file.
12599 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
12600 process in case exit returns.
12602 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
12603 initialize the GOT register before use.
12605 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
12606 calculation of ARGC > 4.
12608 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
12609 meaningful names to some local labels.
12611 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12612 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12614 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
12615 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
12616 (__arch_compare_and_exchange_val_16_acq): Likewise.
12617 (__arch_compare_and_exchange_val_32_acq): Likewise.
12618 (atomic_exchange_and_add): Fix gUSA sequence.
12619 (atomic_add): Likewise.
12620 (atomic_add_negative): Likewise.
12621 (atomic_add_zero): Likewise.
12622 (atomic_bit_test_set): Likewise.
12624 2012-06-22 Andreas Schwab <schwab@redhat.com>
12627 * include/link.h (struct link_map): Add l_free_initfini.
12628 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
12630 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
12631 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
12632 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
12635 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
12637 * configure.in: Use AC_LANG_SOURCE.
12638 * configure: Regenerate.
12640 2012-06-22 Roland McGrath <roland@hack.frob.com>
12642 * configure.in (libc_cv_localstatedir): New substituted variable.
12643 * configure: Regenerated.
12644 * config.make.in (localstatedir): New variable, substituted from
12645 libc_cv_localstatedir.
12646 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
12647 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
12648 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
12649 * sysdeps/gnu/configure: Regenerated.
12651 2012-06-21 Jeff Law <law@redhat.com>
12654 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
12655 free. Simplify list management for _LIBC case.
12657 2012-06-21 Joseph Myers <joseph@codesourcery.com>
12660 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12661 Clear sign bit of 64-bit integer value before comparing against
12664 * sysdeps/mach/configure: Regenerated.
12666 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
12669 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
12671 2012-06-21 Jeff Law <law@redhat.com>
12674 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
12675 uint16_t for elements in the "seen" array to avoid char overflows.
12676 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12677 * elf/dl-open.c (dl_open_worker): Likewise.
12679 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
12681 * scripts/list-sources.sh: Scan PORTS for translations.
12682 * po/libc.pot: Regenerated.
12684 2012-06-21 Andreas Jaeger <aj@suse.de>
12687 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
12689 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
12690 * bits/byteswap-16.h (__bswap_16): Likewise.
12691 * bits/byteswap.h (__bswap_constant_16): Likewise.
12693 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
12696 * sysdeps/i386/fpu_control.h: Removed.
12697 * sysdeps/x86_64/fpu_control.h: Moved to ...
12698 * sysdeps/x86/fpu_control.h: Here.
12700 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
12701 (_FPU_SETCW): Likewise.
12703 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
12706 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
12707 * sysdeps/x86/fpu/bits/mathinline.h: This.
12708 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
12712 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
12713 functions if __x86_64__ is defined.
12715 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
12717 * string/endian.h: Add !__ASSEMBLER__ condition for including
12718 conversion interfaces.
12720 2012-06-15 Joseph Myers <joseph@codesourcery.com>
12723 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
12724 of ABS(x) in calculating zero to negative powers other than odd
12726 * math/libm-test.inc (pow_test): Add more tests.
12728 2012-06-15 Andreas Jaeger <aj@suse.de>
12730 * manual/contrib.texi (Contributors): Update entry of Liubov
12731 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
12734 2012-06-15 Cyril Hrubis <metan@ucw.cz>
12736 * string/string.h: Add __wur to GNU version of strerror_r.
12738 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
12741 * string/Makefile (tests): Add tst-strtok_r.
12742 * string/tst-strtok_r.c: New file.
12743 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
12744 RAX_LP/RDX_LP on SAVE_PTR.
12746 2012-06-14 Roland McGrath <roland@hack.frob.com>
12748 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
12750 2012-06-14 Joseph Myers <joseph@codesourcery.com>
12752 * libm_test.inc (csqrt_test): Allow more spurious underflow
12754 (j0_test): Likewise.
12755 (j1_test): Likewise.
12756 (y0_test): Likewise.
12757 (y1_test): Likewise.
12759 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
12761 * po/Makefile (libc.pot): Use UTF-8 charset.
12763 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
12766 Suppress sign-conversion warning from FD_SET.
12767 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
12768 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
12769 not unsigned long int.
12770 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
12772 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
12776 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
12777 __extern_always_inline instead of __extern_inline.
12778 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
12779 (__signbit): Likewise.
12780 (__signbitl): Support C++ namespace.
12781 (lrintf): New inline function.
12783 (llrintf): Likewise.
12784 (llrint): Likewise.
12794 (floorf): Likewise.
12795 (nearbyint): Likewise.
12796 (nearbyintf): Likewise.
12798 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
12800 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
12801 non-default versions.
12803 2012-06-11 Roland McGrath <roland@hack.frob.com>
12806 * manual/argp.texi (Argp): Reword argp_parse description slightly.
12808 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
12810 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
12811 (FE_UPWARD, FE_DOWNWARD): Don't define.
12812 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
12813 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12815 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12817 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12818 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12820 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12822 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12823 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12824 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12825 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12827 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
12830 * sysdeps/i386/fpu/bits/fenv.h: Removed.
12831 * sysdeps/i386/fpu/Implies: New file.
12832 * sysdeps/x86_64/fpu/Implies: Likewise.
12833 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12834 * sysdeps/x86/fpu/bits/fenv.h: This.
12836 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12839 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12842 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12843 character 0xffff that matches the last element of the
12846 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12848 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12851 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12853 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12854 values higher than 25.6283.
12856 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12858 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12859 subnormal exponent extraction and add some __builtin_expect.
12860 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12861 Fix for subnormal mantissa calculation.
12863 2012-06-04 Mike Frysinger <vapier@gentoo.org>
12865 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12866 cpu2 is -1 and errno is not ENOSYS.
12868 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
12871 * sysdeps/i386/i486/bits/string.h: Renamed to ...
12872 * sysdeps/x86/bits/string.h: This.
12873 * sysdeps/x86_64/bits/string.h: Removed.
12875 * sysdeps/i386/i486/bits/string.h: Define inline functions only
12876 if not compiling for x86-64, but compiling for >= i486.
12878 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12879 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12881 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12882 New macro from Linux kernel 3.4.0.
12883 (FP_XSTATE_MAGIC2): Likewise.
12884 (FP_XSTATE_MAGIC2_SIZE): Likewise.
12885 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12886 (struct _fpx_sw_bytes): New struct.
12887 (struct _xsave_hdr): Likewise.
12888 (struct _ymmh_state): Likewise.
12889 (struct _xstate): Likewise.
12891 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12892 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12893 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12894 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12895 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12896 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12898 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12899 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12900 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12901 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12902 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12903 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12905 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12908 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12909 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12910 (sysdep_headers): Include sys/platform/ppc.h.
12911 * sysdeps/powerpc/test-gettimebase.c: Test for
12912 __ppc_get_timebase() to catch future ISA opcode/insn changes.
12913 * manual/Makefile (appendices): Include platform.texi.
12914 * manual/contrib.texi (Contributors): Update @node pointers.
12915 * manual/maint.texi (Maintenance): Likewise.
12916 (Platform): New node.
12917 * manual/platform.texi: New file. Document the new features.
12919 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12920 Jakub Jelinek <jakub@redhat.com>
12923 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12924 where __builtin_expect is unavailable.
12926 2012-06-03 David S. Miller <davem@davemloft.net>
12928 * stdlib/longlong.h: Updated from GCC.
12930 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12933 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12934 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12937 (GLIBC_2.16): Likewise.
12939 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12941 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12943 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12946 (default-abi): New variable.
12947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12948 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12950 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12952 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12954 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12957 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12958 definition. Document in comment.
12960 2012-06-01 David S. Miller <davem@davemloft.net>
12962 * stdlib/longlong.h: Updated from GCC.
12964 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12967 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12968 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12969 sys/debugreg.h sys/io.h here.
12970 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12971 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12973 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12974 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12975 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12976 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12977 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12978 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12980 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12981 Define only if __x86_64__ is defined.
12983 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12986 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12987 Use int64_t for variable i.
12988 * math/libm-test.inc (fmod_test): Add more tests.
12990 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12991 z computation is not scheduled after fetestexcept.
12992 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12993 Use math_force_eval instead of asm to ensure calculation scheduled
12994 before exception test.
12995 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12996 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12998 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
13000 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
13001 computation is not scheduled after fetestexcept.
13003 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
13006 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
13007 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
13009 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13011 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
13012 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13014 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
13017 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
13019 (__WCHAR_MIN): Support __WORDSIZE == 64.
13020 (__WCHAR_MAX): Likewise.
13022 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
13023 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
13026 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
13027 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
13030 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
13031 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
13033 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
13034 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
13036 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
13037 Defined to 1 if __x86_64__ isn't defined.
13038 (_STAT_VER_LINUX_OLD): New.
13039 (st_atime): Remove duplicate.
13040 (st_mtime): Likewise.
13041 (st_ctime): Likewise.
13043 2012-05-31 David S. Miller <davem@davemloft.net>
13045 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
13048 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
13050 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
13054 * elf/dl-reloc.c: Include <_itoa.h>.
13055 (_dl_reloc_bad_type): Remove use of INTUSE.
13056 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
13057 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
13058 * stdio-common/psiginfo.c (psiginfo): Likewise.
13059 * stdio-common/psignal.c (psignal): Likewise.
13060 * string/strsignal.c (strsignal): Likewise.
13061 * include/signal.h (_sys_siglist): Declare hidden proto.
13062 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
13063 INTVARDEF with libc_hidden_data_def.
13064 * stdio-common/itoa-udigits.c: Likewise.
13065 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
13066 (_itoa_lower_digits_internal): Remove declaration.
13067 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
13068 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
13069 (_sys_sigabbrev_internal): Remove aliases.
13070 (_sys_siglist): Define hidden alias.
13072 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
13074 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13077 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
13080 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
13081 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
13083 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
13084 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
13085 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
13086 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
13087 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
13088 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
13090 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
13091 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
13092 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
13094 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
13102 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
13103 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
13104 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
13106 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
13107 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
13108 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
13109 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
13110 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
13111 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
13113 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
13114 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
13116 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
13117 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
13119 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
13120 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
13121 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
13123 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
13124 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
13126 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
13128 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
13129 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
13130 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
13132 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
13134 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
13136 2012-05-31 Joseph Myers <joseph@codesourcery.com>
13138 * math/math.h (M_El): Use two more decimal places.
13139 (M_LOG2El): Likewise.
13140 (M_LOG10El): Likewise.
13141 (M_LN2l): Likewise.
13142 (M_LN10l): Likewise.
13144 (M_PI_2l): Likewise.
13145 (M_PI_4l): Likewise.
13146 (M_1_PIl): Likewise.
13147 (M_2_PIl): Likewise.
13148 (M_2_SQRTPIl): Likewise.
13149 (M_SQRT2l): Likewise.
13150 (M_SQRT1_2l): Likewise.
13152 2012-05-31 David S. Miller <davem@davemloft.net>
13154 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
13155 values between float registers.
13156 * sysdeps/sparc/sparc64/memset.S: Likewise.
13157 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13159 2012-05-31 Mike Frysinger <vapier@gentoo.org>
13161 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
13162 -D_FORTIFY_SOURCE=1.
13163 (CPPFLAGS-tst-longjmp_chk.c): Define.
13164 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
13165 (CPPFLAGS-tst-longjmp_chk2.c): Define.
13166 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
13167 CFLAGS-tst-wchar-h.c.
13169 2012-05-31 Marek Polacek <polacek@redhat.com>
13172 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
13173 __endmntent_internal): Remove declaration.
13174 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
13175 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
13176 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
13178 2012-05-30 David S. Miller <davem@davemloft.net>
13180 * sysdeps/sparc/sparc32/soft-fp/q_util.c
13181 (___Q_simulate_exceptions): Use real FP ops rather than writing
13183 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
13186 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13189 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
13190 * sysdeps/x86/bits/xtitypes.h: This.
13192 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
13193 * sysdeps/x86/bits/wordsize.h: This.
13195 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
13196 * sysdeps/x86/bits/huge_vall.h: This.
13198 * sysdeps/i386/bits/select.h: Removed.
13199 * sysdeps/x86_64/bits/select.h: Renamed to ...
13200 * sysdeps/x86/bits/select.h: This.
13202 * sysdeps/i386/bits/setjmp.h: Removed.
13203 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
13204 * sysdeps/x86/bits/setjmp.h: This.
13206 * sysdeps/i386/bits/mathdef.h: Removed.
13207 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
13208 * sysdeps/x86/bits/mathdef.h: This.
13210 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
13213 * include/sys/socket.h (__connect_internal)
13214 (__libc_sa_len_internal): Remove declaration.
13215 (__connect, __libc_sa_len): Declare hidden_proto.
13216 (SA_LEN): Remove use of INTUSE.
13217 * socket/connect.c: Add libc_hidden_def.
13218 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
13219 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
13220 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
13222 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13223 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
13224 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
13225 of adding _internal alias.
13227 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13230 * sysdeps/i386/bits/link.h: Removed.
13231 * sysdeps/i386/bits/linkmap.h: Likewise.
13232 * sysdeps/x86_64/bits/link.h: Renamed to ...
13233 * sysdeps/x86/bits/link.h: This.
13234 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
13235 * sysdeps/x86/bits/linkmap.h: This.
13237 * sysdeps/i386/bits/endian.h: Removed.
13238 * sysdeps/x86_64/bits/endian.h: Renamed to ...
13239 * sysdeps/x86/bits/endian.h: This.
13241 * sysdeps/i386/bits/byteswap.h: Removed.
13242 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13243 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
13244 * sysdeps/x86/bits/byteswap.h: This.
13245 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
13246 * sysdeps/x86/bits/byteswap-16.h: This.
13247 * sysdeps/i386/Implies: Add x86.
13248 * sysdeps/x86_64/Implies: Likewise.
13250 2012-05-30 David S. Miller <davem@davemloft.net>
13252 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
13253 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
13254 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13255 (FP_TRAPPING_EXCEPTIONS): Define.
13256 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13257 (FP_TRAPPING_EXCEPTIONS): Define.
13258 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
13259 subnormals only when inexact has been signalled or underflow
13260 exceptions are enabled.
13261 (_FP_PACK_CANONICAL): Likewise.
13263 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13266 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
13267 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
13269 2012-05-30 Richard Henderson <rth@twiddle.net>
13271 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
13272 with #ifndef NOT_IN_libc.
13274 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
13275 marked to avoid plt entry.
13277 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13280 * Makeconfig (default-abi): New macro.
13281 (abi-includes): Likewise.
13282 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
13283 $(abi-$(default-abi)-lib-soname) for soname if defined.
13284 ($(common-objpfx)gnu/lib-names.stmp): Generate from
13286 * Makefile (installed-stubs): Likewise.
13287 * include/stubs-biarch.h: Removed.
13288 * scripts/lib-names.awk: Only handle one library at a time.
13289 * scripts/soversions.awk: Remove WORDSIZE support.
13290 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
13292 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
13294 (syscall-list-default-condition): Likewise.
13295 (syscall-list-default-condition): Likewise.
13296 (syscall-list-includes): Likewise.
13297 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
13298 syscall-list-* with abi-*. Handle undefined abi-variants.
13299 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
13300 * sysdeps/unix/sysv/linux/i386/Implies: New file.
13301 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
13302 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
13303 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
13304 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
13306 (syscall-list-32-options): Likewise.
13307 (syscall-list-32-condition): Likewise.
13308 (syscall-list-64-options): Likewise.
13309 (syscall-list-64-condition): Likewise.
13310 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
13312 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
13315 (abi-64-ld-soname): New macro.
13316 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
13317 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
13320 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
13321 * sysdeps/x86_64/x32/shlib-versions: Likewise.
13323 2012-05-30 Joseph Myers <joseph@codesourcery.com>
13325 * sysdeps/unix/sysv/linux/kernel-features.h
13326 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
13327 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
13328 include <kernel-features.h>.
13329 [!__NR_ftruncate64]: Remove conditional code.
13330 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13331 [__NR_ftruncate64]: Make code unconditional.
13332 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13333 * sysdeps/unix/sysv/linux/truncate64.c: Do not
13334 include <kernel-features.h>.
13335 [!__NR_ftruncate64]: Remove conditional code.
13336 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13337 [__NR_ftruncate64]: Make code unconditional.
13338 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
13340 include <kernel-features.h>.
13341 [!__NR_ftruncate64]: Remove conditional code.
13342 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13343 [__NR_ftruncate64]: Make code unconditional.
13344 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13346 include <kernel-features.h>.
13347 [!__NR_ftruncate64]: Remove conditional code.
13348 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13349 [__NR_ftruncate64]: Make code unconditional.
13350 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13352 * configure.in (libc_cv_fpie): Weaken to a compile test using
13353 LIBC_TRY_CC_OPTION.
13354 * configure: Regenerated.
13356 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
13359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
13360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
13361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
13364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
13365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
13366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
13367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
13368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13371 2012-05-27 David S. Miller <davem@davemloft.net>
13373 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
13375 (__Q_simulate_exceptions): Return void. Change to simulate
13376 exceptions by writing into the %fsr.
13377 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
13378 (__Qp_handle_exceptions): Likewise.
13380 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
13381 __Qp_handle_exceptions.
13382 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
13383 __Qp_handle_exceptions.
13384 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13385 as unused and give dummy FP_RND_NEAREST initializer.
13386 (FP_INHIBIT_RESULTS): Define.
13387 (___Q_simulate_exceptions): Update declaration.
13388 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
13390 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13391 as unused and give dummy FP_RND_NEAREST initializer.
13392 (__Qp_handle_exceptions): Update declaration.
13393 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
13396 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
13398 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
13399 the temporary FPU control word.
13400 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13401 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
13402 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
13403 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
13404 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13405 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
13406 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
13407 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13408 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13409 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13410 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13412 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13414 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
13417 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
13419 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
13420 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
13421 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
13422 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
13424 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
13425 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
13428 2012-05-27 Ulrich Drepper <drepper@gmail.com>
13430 * po/h.po: Update from translation team.
13432 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
13434 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
13436 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
13437 handling of denormals.
13438 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13439 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13440 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13441 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13442 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13443 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
13444 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
13447 2012-05-26 Marek Polacek <polacek@redhat.com>
13450 * math/libm-test.inc (fma_test): Don't always expect underflow
13453 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13456 * elf/tst-execstack.c: Include stackinfo.h.
13457 (do_test): Adjust test case to ensure that pthread_getattr_np
13458 behaviour remains the same after marking stack executable.
13460 2012-05-25 Joseph Myers <joseph@codesourcery.com>
13462 * sysdeps/unix/sysv/linux/kernel-features.h
13463 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
13464 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
13466 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13467 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13468 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
13470 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13471 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13473 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
13475 * configure.in: Define the default includes to being none.
13476 * configure: Regenerated.
13478 2012-05-25 Roland McGrath <roland@hack.frob.com>
13480 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
13481 * sysdeps/x86_64/setjmp.S: Likewise.
13482 * sysdeps/i386/bsd-setjmp.S: Likewise.
13483 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13484 * sysdeps/i386/setjmp.S: Likewise.
13485 * sysdeps/i386/__longjmp.S: Likewise.
13486 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13487 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
13489 * include/stap-probe.h: New file.
13490 * configure.in: Handle --enable-systemtap.
13491 * configure: Regenerated.
13492 * config.h.in (USE_STAP_PROBE): New #undef.
13493 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
13494 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
13495 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13497 2012-05-25 Joseph Myers <joseph@codesourcery.com>
13500 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13501 to 2.4.0 where earlier.
13502 * sysdeps/unix/sysv/linux/configure: Regenerated.
13503 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13504 <kernel-features.h>.
13505 [__ASSUME_32BITUIDS]: Make code unconditional.
13506 [!__ASSUME_32BITUIDS]: Remove conditional code.
13507 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
13508 <kernel-features.h>.
13509 [__ASSUME_32BITUIDS]: Make code unconditional.
13510 [!__ASSUME_32BITUIDS]: Remove conditional code.
13511 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
13512 [__ASSUME_32BITUIDS]: Make code unconditional.
13513 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
13514 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.c: Do not include
13519 <kernel-features.h>.
13520 [__ASSUME_32BITUIDS]: Make code unconditional.
13521 [!__ASSUME_32BITUIDS]: Remove conditional code.
13522 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
13523 <kernel-features.h>.
13524 [__ASSUME_32BITUIDS]: Make code unconditional.
13525 [!__ASSUME_32BITUIDS]: Remove conditional code.
13526 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
13527 <kernel-features.h>.
13528 [__ASSUME_32BITUIDS]: Make code unconditional.
13529 [!__ASSUME_32BITUIDS]: Remove conditional code.
13530 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13531 <kernel-features.h>.
13532 [__ASSUME_32BITUIDS]: Make code unconditional.
13533 [!__ASSUME_32BITUIDS]: Remove conditional code.
13534 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13535 <kernel-features.h>.
13536 [__ASSUME_32BITUIDS]: Make code unconditional.
13537 [!__ASSUME_32BITUIDS]: Remove conditional code.
13538 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
13539 <kernel-features.h>.
13540 [__ASSUME_32BITUIDS]: Make code unconditional.
13541 [!__ASSUME_32BITUIDS]: Remove conditional code.
13542 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13543 <kernel-features.h>.
13544 [__ASSUME_32BITUIDS]: Make code unconditional.
13545 [!__ASSUME_32BITUIDS]: Remove conditional code.
13546 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13547 <kernel-features.h>.
13548 [__ASSUME_32BITUIDS]: Make code unconditional.
13549 [!__ASSUME_32BITUIDS]: Remove conditional code.
13550 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
13551 <kernel-features.h>.
13552 [__ASSUME_32BITUIDS]: Make code unconditional.
13553 [!__ASSUME_32BITUIDS]: Remove conditional code.
13554 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
13555 <kernel-features.h>.
13556 [__NR_setresgid] (__setresgid): Do not declare.
13557 [__ASSUME_32BITUIDS]: Make code unconditional.
13558 [!__ASSUME_32BITUIDS]: Remove conditional code.
13559 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
13560 <kernel-features.h>.
13561 [__NR_setresuid] (__setresuid): Do not declare.
13562 [__ASSUME_32BITUIDS]: Make code unconditional.
13563 [!__ASSUME_32BITUIDS]: Remove conditional code.
13564 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
13565 <kernel-features.h>.
13566 [__ASSUME_32BITUIDS]: Make code unconditional.
13567 [!__ASSUME_32BITUIDS]: Remove conditional code.
13568 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
13569 <kernel-features.h>.
13570 [__ASSUME_32BITUIDS]: Make code unconditional.
13571 [!__ASSUME_32BITUIDS]: Remove conditional code.
13572 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
13573 <kernel-features.h>.
13574 [__ASSUME_32BITUIDS]: Make code unconditional.
13575 [!__ASSUME_32BITUIDS]: Remove conditional code.
13576 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
13577 <kernel-features.h>.
13578 [__ASSUME_32BITUIDS]: Make code unconditional.
13579 [!__ASSUME_32BITUIDS]: Remove conditional code.
13580 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
13581 <kernel-features.h>.
13582 [__ASSUME_32BITUIDS]: Make code unconditional.
13583 [!__ASSUME_32BITUIDS]: Remove conditional code.
13584 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
13585 <kernel-features.h>.
13586 [__ASSUME_32BITUIDS]: Make code unconditional.
13587 [!__ASSUME_32BITUIDS]: Remove conditional code.
13588 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
13589 <kernel-features.h>.
13590 [__ASSUME_32BITUIDS]: Make code unconditional.
13591 [!__ASSUME_32BITUIDS]: Remove conditional code.
13592 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
13593 <kernel-features.h>.
13594 [__ASSUME_32BITUIDS]: Make code unconditional.
13595 [!__ASSUME_32BITUIDS]: Remove conditional code.
13596 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
13597 <kernel-features.h>.
13598 [__ASSUME_32BITUIDS]: Make code unconditional.
13599 [!__ASSUME_32BITUIDS]: Remove conditional code.
13600 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13601 <kernel-features.h>.
13602 [__ASSUME_32BITUIDS]: Make code unconditional.
13603 [!__ASSUME_32BITUIDS]: Remove conditional code.
13604 * sysdeps/unix/sysv/linux/kernel-features.h
13605 (__ASSUME_SETRESUID_SYSCALL): Remove.
13606 (__ASSUME_SETRESGID_SYSCALL): Likewise.
13607 (__ASSUME_32BITUIDS): Likewise.
13608 (__ASSUME_LDT_WORKS): Likewise.
13609 (__ASSUME_O_DIRECTORY): Likewise.
13610 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
13611 architecture but not kernel version.
13612 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13613 (__ASSUME_MMAP2_SYSCALL): Likewise.
13614 (__ASSUME_STAT64_SYSCALL): Likewise.
13615 (__ASSUME_IPC64): Likewise.
13616 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
13617 <kernel-features.h>.
13618 [__ASSUME_32BITUIDS]: Make code unconditional.
13619 [!__ASSUME_32BITUIDS]: Remove conditional code.
13620 * sysdeps/unix/sysv/linux/opendir.c: Do not include
13621 <kernel-features.h>.
13622 [__ASSUME_O_DIRECTORY]: Make code unconditional.
13623 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
13624 132096]: Remove conditional code.
13625 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
13626 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13627 <kernel-features.h>.
13628 [__ASSUME_32BITUIDS]: Make code unconditional.
13629 [!__ASSUME_32BITUIDS]: Remove conditional code.
13630 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13631 <kernel-features.h>.
13632 [__ASSUME_32BITUIDS]: Make code unconditional.
13633 [!__ASSUME_32BITUIDS]: Remove conditional code.
13634 * sysdeps/unix/sysv/linux/setegid.c: Do not include
13635 <kernel-features.h>.
13636 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
13638 (__setresgid): Do not declare.
13639 [__ASSUME_32BITUIDS]: Make code unconditional.
13640 [!__ASSUME_32BITUIDS]: Remove conditional code.
13641 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
13642 <kernel-features.h>.
13643 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
13645 (__setresuid): Do not declare.
13646 [__ASSUME_32BITUIDS]: Make code unconditional.
13647 [!__ASSUME_32BITUIDS]: Remove conditional code.
13648 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13649 <kernel-features.h>.
13650 [__ASSUME_32BITUIDS]: Make code unconditional.
13651 [!__ASSUME_32BITUIDS]: Remove conditional code.
13652 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
13653 <kernel-features.h>.
13654 [__ASSUME_32BITUIDS]: Make code unconditional.
13655 [!__ASSUME_32BITUIDS]: Remove conditional code.
13657 2012-05-25 Richard Henderson <rth@twiddle.net>
13659 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
13660 dl_hwcap to ifunc resolver.
13661 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
13663 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
13664 dl_hwcap to ifunc resolver.
13665 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
13667 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13670 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
13671 for |x| <= 2**-26, not 2**-57.
13672 * math/libm-test.inc (acos_test): Do not allow spurious underflow
13675 2012-05-24 Jeff Law <law@redhat.com>
13677 * stdio-common/Makefile (tests): Add bug25.
13678 * stdio-common/bug25.c: New test.
13680 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13683 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
13684 multiple of MALLOC_ALIGNMENT in size.
13685 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
13687 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13689 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
13691 (FILENAME_MAX): Use macro-int-constant.
13692 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
13693 (_IOFBF): Use macro-int-constant.
13694 (_IOLBF): Likewise.
13695 (_IONBF): Likewise.
13696 (SEEK_CUR): Likewise.
13697 (SEEK_END): Likewise.
13698 (SEEK_SET): Likewise.
13699 (TMP_MAX): Likewise.
13700 (EOF): Use macro-int-constant. Require < 0.
13701 (NULL): Use macro-constant. Require == 0.
13702 (stdin): Require type to be FILE *.
13703 (stdout): Likewise.
13704 (stderr): Likewise.
13705 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
13706 macro-int-constant.
13707 (EXIT_SUCCESS): Likewise.
13708 (NULL): Use macro-constant. Require == 0.
13709 (RAND_MAX): Use macro-int-constant.
13710 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
13711 [C99-based standards] (strtof): Require function.
13712 [C99-based standards] (strtold): Likewise.
13713 [C99-based standards] (strtoll): Likewise.
13714 [C99-based standards] (strtoull): Likewise.
13715 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13716 [ISO || ISO99 || ISO11] (limits.h): Likewise.
13717 [ISO || ISO99 || ISO11] (math.h): Likewise.
13718 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
13719 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13720 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13722 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
13725 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
13726 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
13727 * intl/dgettext.c (DCGETTEXT): Likewise.
13728 * intl/gettext.c (DCGETTEXT): Likewise.
13729 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
13730 * posix/regex_internal.h (gettext): Likewise.
13731 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
13732 Remove declaration.
13733 * include/argz.h (__argz_count_internal)
13734 (__argz_stringify_internal): Remove declaration.
13735 (__argz_count, __argz_stringify): Declare hidden proto.
13736 * intl/dcgettext.c: Remove use of INTDEF.
13737 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
13738 * string/argz-stringify.c: Likewise.
13739 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13740 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13741 Declare hidden proto.
13742 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13743 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13744 Declare hidden proto.
13745 * include/stdio.h (__asprintf_internal): Don't declare.
13746 (__asprintf): Don't define as macro. Declare hidden proto.
13747 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
13748 (__fsetlocking): Declare hidden proto.
13749 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
13750 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
13752 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
13753 (_IO_setlinebuf): Remove use of INTUSE.
13754 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
13755 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
13756 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
13757 Remove declaration.
13758 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
13759 (_IO_do_flush): Remove use of INTUSE.
13760 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
13761 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
13762 (_IO_adjust_column, _IO_least_wmarker)
13763 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
13764 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
13765 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
13766 (_IO_default_doallocate, _IO_wdefault_doallocate)
13767 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
13768 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
13769 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
13770 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
13771 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
13772 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
13773 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
13774 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
13775 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
13776 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
13777 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
13778 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
13779 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
13781 (_IO_flush_all_internal, _IO_adjust_column_internal)
13782 (_IO_default_uflow_internal, _IO_default_finish_internal)
13783 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
13784 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
13785 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
13786 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
13787 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
13788 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
13789 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
13790 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
13791 (_IO_file_close_internal, _IO_file_close_it_internal)
13792 (_IO_file_underflow_internal, _IO_file_overflow_internal)
13793 (_IO_file_init_internal, _IO_file_attach_internal)
13794 (_IO_file_fopen_internal, _IO_file_read_internal)
13795 (_IO_file_sync_internal, _IO_file_seek_internal)
13796 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
13797 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
13798 (_IO_str_underflow_internal, _IO_str_overflow_internal)
13799 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
13800 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
13801 (_IO_list_all_internal, _IO_link_in_internal)
13802 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
13803 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
13804 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
13805 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
13806 (_IO_do_write_internal, _IO_padn_internal)
13807 (_IO_getline_info_internal, _IO_getline_internal)
13808 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
13809 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
13810 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
13811 (_IO_vfscanf_internal, _IO_vfprintf_internal)
13812 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
13813 (_IO_init_internal, _IO_un_link_internal): Don't declare.
13814 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13815 with libc_hidden_ver, remove use of INTUSE.
13816 * libio/genops.c: Likewise.
13817 * libio/freopen.c: Likewise.
13818 * libio/freopen64.c: Likewise.
13819 * libio/iofclose.c: Likewise.
13820 * libio/iofdopen.c: Likewise.
13821 * libio/iofflush.c: Likewise.
13822 * libio/iofflush_u.c: Likewise.
13823 * libio/iofgets.c: Likewise.
13824 * libio/iofgets_u.c: Likewise.
13825 * libio/iofopen.c: Likewise.
13826 * libio/iofopncook.c: Likewise.
13827 * libio/iofread.c: Likewise.
13828 * libio/iofread_u.c: Likewise.
13829 * libio/ioftell.c: Likewise.
13830 * libio/iofwrite.c: Likewise.
13831 * libio/iogetline.c: Likewise.
13832 * libio/iogets.c: Likewise.
13833 * libio/iogetwline.c: Likewise.
13834 * libio/iopadn.c: Likewise.
13835 * libio/iopopen.c: Likewise.
13836 * libio/ioseekoff.c: Likewise.
13837 * libio/ioseekpos.c: Likewise.
13838 * libio/iosetbuffer.c: Likewise.
13839 * libio/iosetvbuf.c: Likewise.
13840 * libio/ioungetc.c: Likewise.
13841 * libio/ioungetwc.c: Likewise.
13842 * libio/iovdprintf.c: Likewise.
13843 * libio/iovsprintf.c: Likewise.
13844 * libio/iovsscanf.c: Likewise.
13845 * libio/memstream.c: Likewise.
13846 * libio/obprintf.c: Likewise.
13847 * libio/oldfileops.c: Likewise.
13848 * libio/oldiofclose.c: Likewise.
13849 * libio/oldiofdopen.c: Likewise.
13850 * libio/oldiofopen.c: Likewise.
13851 * libio/oldiopopen.c: Likewise.
13852 * libio/oldstdfiles.c: Likewise.
13853 * libio/putc.c: Likewise.
13854 * libio/setbuf.c: Likewise.
13855 * libio/setlinebuf.c: Likewise.
13856 * libio/stdfiles.c: Likewise.
13857 * libio/strops.c: Likewise.
13858 * libio/vasprintf.c: Likewise.
13859 * libio/vscanf.c: Likewise.
13860 * libio/vsnprintf.c: Likewise.
13861 * libio/vswprintf.c: Likewise.
13862 * libio/wfiledoalloc.c: Likewise.
13863 * libio/wfileops.c: Likewise.
13864 * libio/wgenops.c: Likewise.
13865 * libio/wmemstream.c: Likewise.
13866 * libio/wstrops.c: Likewise.
13867 * libio/__fpurge.c: Likewise.
13868 * libio/__fsetlocking.c: Likewise.
13869 * assert/assert.c: Likewise.
13870 * debug/fgets_chk.c: Likewise.
13871 * debug/fgets_u_chk.c: Likewise.
13872 * debug/fread_chk.c: Likewise.
13873 * debug/fread_u_chk.c: Likewise.
13874 * debug/gets_chk.c: Likewise.
13875 * debug/obprintf_chk.c: Likewise.
13876 * debug/vasprintf_chk.c: Likewise.
13877 * debug/vdprintf_chk.c: Likewise.
13878 * debug/vsnprintf_chk.c: Likewise.
13879 * debug/vsprintf_chk.c: Likewise.
13880 * malloc/mtrace.c: Likewise.
13881 * misc/error.c: Likewise.
13882 * misc/syslog.c: Likewise.
13883 * stdio-common/asprintf.c: Likewise.
13884 * stdio-common/fxprintf.c: Likewise.
13885 * stdio-common/getw.c: Likewise.
13886 * stdio-common/isoc99_fscanf.c: Likewise.
13887 * stdio-common/isoc99_scanf.c: Likewise.
13888 * stdio-common/isoc99_vfscanf.c: Likewise.
13889 * stdio-common/isoc99_vscanf.c: Likewise.
13890 * stdio-common/isoc99_vsscanf.c: Likewise.
13891 * stdio-common/printf-prs.c: Likewise.
13892 * stdio-common/printf_fp.c: Likewise.
13893 * stdio-common/printf_fphex.c: Likewise.
13894 * stdio-common/printf_size.c: Likewise.
13895 * stdio-common/putw.c: Likewise.
13896 * stdio-common/scanf.c: Likewise.
13897 * stdio-common/sprintf.c: Likewise.
13898 * stdio-common/tmpfile.c: Likewise.
13899 * stdio-common/vfprintf.c: Likewise.
13900 * stdio-common/vfscanf.c: Likewise.
13901 * stdlib/strfmon_l.c: Likewise.
13902 * sunrpc/openchild.c: Likewise.
13903 * sunrpc/xdr_stdio.c: Likewise.
13904 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13905 * sysdeps/mach/hurd/tmpfile.c: Likewise.
13907 2012-05-24 Roland McGrath <roland@hack.frob.com>
13909 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13911 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13912 in the third column, to generate for the shared library an IFUNC
13913 that uses _dl_vdso_vsym.
13914 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13915 * Makeconfig (object-suffixes-noshared): New variable.
13917 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13918 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13919 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13920 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13923 * include/sys/time.h (__gettimeofday): Remove macro.
13924 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13925 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13927 (__gettimeofday): Add libc_hidden_def.
13928 (gettimeofday): Add libc_hidden_weak.
13929 * sysdeps/mach/gettimeofday.c: Likewise.
13930 * sysdeps/posix/gettimeofday.c: Likewise.
13931 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13932 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13933 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13934 (__gettimeofday_internal): Remove strong_alias.
13935 (__gettimeofday): Add libc_hidden_def.
13936 (gettimeofday): Add libc_hidden_weak.
13937 * sysdeps/unix/syscalls.list (gettimeofday):
13938 Remove __gettimeofday_internal alias.
13940 2012-05-24 Daniel Jacobowitz <drow@false.org>
13941 H.J. Lu <hongjiu.lu@intel.com>
13944 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13945 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13946 (largebin_index_32_big): New.
13947 (largebin_index): Use it for 16-byte alignment.
13948 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13949 correction with front_misalign.
13951 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13954 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13956 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13958 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13966 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13968 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13979 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13980 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13982 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13986 * math/libm-test.inc (exp_test): Add test from bug 14036.
13987 (pow_test): Add test from bug 10846.
13989 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13991 (special_function): Do not include flags in test name.
13992 (parse_args): Likewise.
13993 * sysdeps/i386/fpu/libm-test-ulps: Update.
13994 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13995 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13996 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13999 * math/gen-libm-test.pl (%beautify): Add entries for underflow
14001 * math/libm-test.inc ("Philosophy"): Update comment about
14003 (UNDERFLOW_EXCEPTION): New macro.
14004 (UNDERFLOW_EXCEPTION_OK): Likewise.
14005 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
14006 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
14007 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
14008 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
14009 (INVALID_EXCEPTION_OK): Update value.
14010 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14011 (OVERFLOW_EXCEPTION_OK): Likewise.
14012 (IGNORE_ZERO_INF_SIGN): Likewise.
14013 (test_exceptions): Handle underflow exceptions.
14014 (acos_test): Update for underflow exception expectations.
14015 (cexp_test): Likewise.
14016 (clog_test): Likewise.
14017 (clog10_test): Likewise.
14018 (csqrt_test): Likewise.
14019 (ctan_test): Likewise.
14020 (ctanh_test): Likewise.
14021 (exp_test): Likewise.
14022 (exp10_test): Likewise.
14023 (exp2_test): Likewise.
14024 (expm1_test): Likewise.
14025 (fma_test): Likewise.
14026 (j0_test): Likewise.
14027 (jn_test): Likewise.
14028 (nexttoward_test): Likewise.
14029 (pow_test): Likewise.
14030 (scalbn_test): Likewise.
14031 (scalbln_test): Likewise.
14032 (tan_test): Likewise.
14033 (y1_test): Likewise.
14034 * sysdeps/i386/fpu/libm-test-ulps: Update.
14035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14037 2012-05-23 David S. Miller <davem@davemloft.net>
14039 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14040 (__libc_sigaction): Remove unused local variables.
14042 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
14044 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
14046 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
14048 mktime: avoid signed integer overflow
14049 * time/mktime.c (__mktime_internal): Do not mishandle the case
14050 where diff == INT_MIN.
14052 mktime: simplify computation of average
14053 * time/mktime.c (ranged_convert): Use new time_t_avg function
14054 instead of rolling our own (probably-slower) code.
14056 mktime: do not assume signed right shift propagates sign bit
14057 * time/mktime.c (isdst_differ): New static function.
14058 (__mktime_internal): No need to normalize tm_isdst now.
14059 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
14062 mktime: merge another wrapv change from gnulib
14063 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
14064 from some compilers.
14066 mktime: remove incorrect attempt at unusual arithmetics
14067 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
14068 The code didn't really work on such machines anyway.
14069 (TYPE_MINIMUM): Assume two's complement.
14070 (twos_complement_arithmetic): Verify that long_int and time_t
14071 are two's complement (or unsigned, in the latter case).
14073 mktime: check signed shifts on long_int and time_t, too
14074 * time/mktime.c (SHR): Check that shifts work as desired
14075 on the types long_int and time_t too, as SHR is used on
14078 mktime: do not assume 'long' is wide enough
14079 * time/mktime.c (verify): Move decl up.
14080 (long_int): New type.
14081 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
14082 to remove assumption in the code that 'long' is wide enough to
14083 store year values. This assumption is not true on x32 and on
14084 some non-glibc platforms.
14086 mktime: merge wrapv change from gnulib
14087 * time/mktime.c (WRAPV): New macro.
14088 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
14089 (guess_time_tm, __mktime_internal): Do not assume that signed
14090 integer overflow wraps around; modern compilers generate code
14091 where this assumption is no longer valid.
14093 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
14095 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
14096 Replace "jmp L(pseudo_end)" with "ret".
14097 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
14100 2012-05-23 Andreas Jaeger <aj@suse.de>
14102 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
14103 * sysdeps/unix/sysv/linux/poll.c: Remove file.
14105 2012-05-23 Andreas Jaeger <aj@suse.de>
14106 Maximilian Attems <max@stro.at>
14108 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
14111 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
14113 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
14114 code so that pseudo_end is just ret and the stack pointer is
14115 correct also for static library in error case.
14117 2012-05-23 Joseph Myers <joseph@codesourcery.com>
14119 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
14120 move to syscalls.list.
14121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14126 * manual/install.texi (Running make install): Do not mention Linux
14127 kernel version for which pt_chown is not needed.
14128 (Linux): Do not mention problems with nscd with 2.0 kernels.
14129 * INSTALL: Regenerated.
14131 2012-05-23 Andreas Jaeger <aj@suse.de>
14133 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
14134 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
14136 * sysdeps/unix/sysv/linux/s390/bits/mman.h
14137 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14138 * sysdeps/unix/sysv/linux/sh/bits/mman.h
14139 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14140 * sysdeps/unix/sysv/linux/i386/bits/mman.h
14141 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14142 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
14143 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14144 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
14145 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14146 * sysdeps/unix/sysv/linux/bits/in.h
14147 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
14149 2012-05-22 Roland McGrath <roland@hack.frob.com>
14151 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
14152 (PREPARE_VERSION): Just use assert instead, it will be elided
14153 under [NDEBUG] anyway.
14155 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14157 * sysdeps/unix/sysv/linux/Makefile: Include
14158 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
14159 (sysdep_routines): Remove sysctl.
14160 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
14161 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
14162 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
14163 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
14164 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
14166 2012-05-22 Andreas Jaeger <aj@suse.de>
14168 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
14169 that pseudo_end is just ret and the stack pointer is correct also
14170 for static library in error case.
14172 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
14175 * nss/nsswitch.c (defconfig_entries): New variable.
14176 (__nss_database_lookup): Don't leak defconfig entries.
14177 (nss_parse_service_list): Don't leak on error paths.
14178 (free_database_entries): New function.
14179 (free_defconfig): New function.
14180 (free_mem): Move common code to free_database_entries.
14182 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14184 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
14186 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
14188 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14189 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
14190 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
14192 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
14193 (INTERNAL_SYSCALL_TYPES): Likewise.
14194 (LOAD_ARGS_TYPES_[1-6]): Likewise.
14195 (LOAD_REGS_TYPES_[1-6]): Likewise.
14196 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
14197 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
14199 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14201 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
14202 copysignl for GLIBC_2_0.
14203 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
14204 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
14205 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
14206 logbl for GLIBC_2_0.
14207 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
14208 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
14210 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14212 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
14213 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14215 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
14218 * time/mktime.c: Update copyright years.
14220 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
14222 mktime: merge comment-quoting-style change from gnulib
14223 * time/mktime.c: Quote 'like this' in comments.
14224 The GNU coding standards suggest that we no longer quote `like this',
14225 as "`" and "'" are typically rendered asymmetrically nowadays.
14226 The typical gnulib style is to quote 'like this' when quoting
14227 code, and "like this" when quoting English.
14229 * time/mktime.c (compile-command): Add "-I.".
14231 mktime: merge mktime-internal.h change from gnulib
14232 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
14234 mktime: merge time_r change from gnulib
14235 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
14237 mktime: merge DEBUG change from gnulib
14238 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
14239 case system <time.h> has a #define.
14241 mktime: merge <sys/types.h> change from gnulib
14242 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
14243 since <time.t> is now guaranteed to define time_t.
14245 mktime: merge HAVE_CONFIG_H change from gnulib
14246 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
14248 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14250 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14253 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
14255 (struct rusage): Use anonymous union to pad each field to
14258 2012-05-21 David S. Miller <davem@davemloft.net>
14260 * Makefules (o-iterator): Remove .s cases.
14261 (compile-command.s): Delete.
14262 (COMPILE.s): Delete.
14263 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
14265 2012-05-21 Joseph Myers <joseph@codesourcery.com>
14267 * configure.in (libc_cv_predef_stack_protector): Only consider
14268 "foobar" and "__stack_chk_fail" lines in libc_undefs.
14269 * configure: Regenerated.
14271 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14273 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14274 New macro. Use R*LP on int and pointer.
14275 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
14276 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
14277 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
14278 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
14280 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
14281 [__WORDSIZE_TIME64_COMPAT32] instead of
14282 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
14283 (struct utmp): Likewise.
14284 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
14285 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
14287 (__WORDSIZE_TIME64_COMPAT32): This.
14288 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14289 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14290 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14291 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14292 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
14293 (__WORDSIZE_TIME64_COMPAT32): New macro.
14295 2012-05-21 Andreas Jaeger <aj@suse.de>
14297 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
14298 only if [SHARED]. Add prototype for __wcschr_ia32.
14300 2012-05-21 Roland McGrath <roland@hack.frob.com>
14302 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
14303 of %rbp unmolested in the jmp_buf while mangling the low bits.
14304 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
14305 unmolested high bits of %rbp while demangling the low bits.
14306 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14308 2012-05-21 Andreas Jaeger <aj@suse.de>
14310 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
14311 * sunrpc/svc_simple.c: Use it for registerrpc.
14312 * sunrpc/xcrypt.c: Use it for passwd2des.
14314 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
14316 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14318 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
14319 Don't define if [__SYSCALL_WORDSIZE != 32].
14320 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
14323 2012-05-21 Bruno Haible <bruno@clisp.org>
14324 Andreas Jaeger <aj@suse.de>
14326 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
14327 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
14328 inptr and inend for must_buffer_ch.
14329 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
14330 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
14331 * stdio-common/Makefile (tests): Remove bug15.
14332 (bug15-ENV): Remove macro.
14333 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
14336 2012-05-19 Andreas Jaeger <aj@suse.de>
14337 Roland McGrath <roland@hack.frob.com>
14339 * manual/contrib.texi: Completely rewritten. It contains now an
14340 alphabetical list of contributors and their contributions.
14342 2012-05-21 Richard Henderson <rth@twiddle.net>
14344 * misc/getauxval.c (__getauxval): Use unsigned long int.
14345 * misc/sys/auxv.h: Include <sys/cdefs.h>.
14346 (getauxval): Use unsigned long int.
14348 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14350 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
14352 2012-05-21 Roland McGrath <roland@hack.frob.com>
14354 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
14355 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
14356 __alignof__ (long double).
14358 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14362 2012-05-20 Richard Henderson <rth@twiddle.net>
14364 * misc/getauxval.c: New file.
14365 * misc/sys/auxv.h: New file.
14366 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
14367 (routines): Add getauxval.
14368 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
14369 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
14370 * elf/dl-sysdep.c (_dl_auxv): Remove.
14371 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
14372 * elf/dl-support.c (_dl_auxv): New variable.
14373 (_dl_aux_init): Initialize it.
14374 * manual/startup.texi (Auxiliary Vector): New node.
14375 * sysdeps/generic/bits/hwcap.h: New file.
14376 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
14377 * sysdeps/powerpc/sysdep.h: ... here. Include it.
14378 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
14379 * sysdeps/sparc/sysdep.h: ... here. Include it.
14380 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
14381 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
14382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
14385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
14386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
14387 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
14388 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14390 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
14391 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
14393 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14397 2012-05-19 David S. Miller <davem@davemloft.net>
14399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14401 2012-05-19 Joseph Myers <joseph@codesourcery.com>
14404 * math/s_ccosh.c: Include <float.h>
14405 (__ccosh): Avoid internal overflow calculating sinh and cosh
14406 values before multiplying by sin and cos values.
14407 * math/s_ccoshf.c: Likewise.
14408 * math/s_ccoshl.c: Likewise.
14409 * math/s_csin.c: Likewise.
14410 * math/s_csinf.c: Likewise.
14411 * math/s_csinl.c: Likewise.
14412 * math/s_csinh.c: Likewise.
14413 * math/s_csinhf.c: Likewise.
14414 * math/s_csinhl.c: Likewise.
14415 * math/libm-test.inc (ccos_test): Add more tests.
14416 (ccosh_test): Likewise.
14417 (csin_test): Likewise.
14418 (csinh_test): Likewise.
14419 * sysdeps/i386/fpu/libm-test-ulps: Update.
14420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14422 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
14424 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
14425 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
14427 * sysdeps/x86_64/x32/_itoa.h: Add comment.
14429 2012-05-19 Joseph Myers <joseph@codesourcery.com>
14431 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
14432 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
14433 * sysdeps/powerpc/soft-fp/Versions: Likewise.
14434 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
14435 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
14436 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
14437 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
14438 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
14439 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
14440 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
14441 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
14442 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
14443 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
14444 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
14445 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
14446 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
14447 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
14448 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
14449 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
14450 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
14451 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
14452 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
14453 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
14454 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
14455 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
14456 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
14457 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
14458 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
14459 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
14460 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
14461 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
14463 2012-05-18 Andreas Jaeger <aj@suse.de>
14465 * csu/.gitignore: Delete.
14467 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14469 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
14470 (timex): Use __syscall_slong_t.
14472 2012-05-18 Andreas Jaeger <aj@suse.de>
14473 Carlos O'Donell <carlos_odonell@mentor.com>
14475 * manual/install.texi (Configuring and compiling): Update
14476 description about files modified in the source directory.
14477 * INSTALL: Regenerated.
14479 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14481 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
14482 value. Use "or" to set return value to -1.
14483 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
14484 negate return value.
14486 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14488 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
14489 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
14490 failure if the compiler has Graphite support disabled.
14491 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
14493 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
14494 CFLAGS-memmove.c): Likewise.
14495 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
14498 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14500 * sysdeps/x86_64/x32/_itoa.h: New file.
14502 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
14503 getdents system call only if kernel and user dirents have the
14504 same d_ino and d_off.
14506 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14507 LLONG_MAX != LONG_MAX.
14508 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14509 (_fitoa_word): Likewise.
14511 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
14513 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
14514 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
14515 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
14517 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
14518 include <bits/wordsize.h>. Check __x86_64__ instead of
14520 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
14521 if __x86_64__ is defined. Use anonymous union on fpstate.
14523 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
14526 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
14528 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
14529 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
14530 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
14531 Refer to _rtld_local_ro instead of _rtld_global_ro.
14532 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
14534 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
14536 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
14538 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
14539 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
14540 of _rtld_global, and rtld_progname instead of _dl_argv[0].
14542 * sysdeps/powerpc/powerpc32/dl-machine.c
14543 (__elf_machine_runtime_setup) [PROF]: Don't reference
14546 2012-05-18 Andreas Jaeger <aj@suse.de>
14548 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
14549 function only available for GCCs before 3.4 since GCC 3.4
14550 introduced a builtin.
14552 (llrintf): Likewise.
14553 (llrint): Likewise.
14560 (nearbyint): Likewise.
14561 (nearbyintf): Likewise.
14565 (floorf): Likewise.
14567 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14569 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
14570 on both fields and cast pointer to __syscall_ulong_t.
14572 * bits/types.h (__fsword_t): New type.
14573 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
14574 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
14575 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14576 (__FSWORD_T_TYPE): Likewise.
14577 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14578 (__FSWORD_T_TYPE): Likewise.
14579 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14580 (__FSWORD_T_TYPE): Likewise.
14581 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
14582 (__FSWORD_T_TYPE): Likewise.
14583 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
14584 __SWORD_TYPE with __fsword_t.
14585 (statfs64): Likewise.
14587 2012-05-17 David S. Miller <davem@davemloft.net>
14589 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
14591 2012-05-17 Andreas Jaeger <aj@suse.de>
14593 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
14596 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14598 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
14600 2012-05-17 Andreas Jaeger <aj@suse.de>
14602 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
14605 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14607 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
14609 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14611 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
14612 * sysdeps/x86_64/tst-mallocalign1.c: New file.
14614 2012-05-17 Andreas Jaeger <aj@suse.de>
14615 Carlos O'Donell <carlos_odonell@mentor.com>
14618 * sysdeps/x86_64/multiarch/init-arch.h
14619 (bit_YMM_Usable): Rename to...
14620 (bit_AVX_Usable): ... this.
14621 (bit_FMA4_Usable): New macro.
14622 (bit_XMM_state): New macro.
14623 (bit_YMM_state): New macro.
14624 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
14625 [__ASSEMBLER__] (index_AVX_Usable): ... this.
14626 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
14627 (CPUID_OSXSAVE): New macro.
14628 (CPUID_AVX): New macro.
14629 (CPUID_FMA4): New macro.
14630 (index_YMM_Usable): Rename to...
14631 (index_AVX_Usable): ... this.
14632 (HAS_AVX): Use HAS_ARCH_FEATURE.
14633 (HAS_FMA4): Likewise.
14634 (HAS_YMM_USABLE): Remove.
14635 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14636 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
14638 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
14639 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
14640 * sysdeps/x86_64/multiarch/Makefile: Likewise.
14641 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
14642 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
14644 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14646 * math/libm-test.c: Support platforms without multiple rounding modes.
14647 * math/bug-nextafter.c: Support platforms without FP exceptions.
14648 * math/bug-nexttoward.c: Likewise.
14649 * math/test-fenv.c: Likewise.
14650 * math/test-misc.c: Likewise.
14651 * stdlib/bug-getcontext.c: Likewise.
14653 2012-05-17 Andreas Jaeger <aj@suse.de>
14655 * manual/examples/search.c (critter_cmp): Change signature to
14657 * manual/string.texi (Collation Functions): Likewise.
14659 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14661 * bits/types.h: Fold copyright years.
14662 * bits/typesizes.h: Likewise.
14663 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
14664 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14665 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
14666 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
14667 * time/time.h: Likewise.
14669 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
14672 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
14673 in instead of returning them. Return void.
14674 (__libc_mallinfo): Accumulate over all arenas.
14675 (__malloc_stats): Adjust for change in int_mallinfo interface.
14677 2012-05-16 Roland McGrath <roland@hack.frob.com>
14680 * configure.in (NM): Add AC_CHECK_TOOL for it.
14681 (libc_extra_cflags): New substituted variable.
14682 Check for -fstack-protector being used implicitly.
14683 * configure: Regenerated.
14684 * config.make.in (config-extra-cflags): New variable,
14685 gets @libc_extra_cflags@.
14686 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
14689 * configure.in: Check for _FORTIFY_SOURCE being predefined.
14690 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
14691 * configure: Regenerated.
14692 * config.make.in (CPPUNDEFS): New substituted variable.
14693 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
14694 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
14695 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
14697 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14699 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
14700 (mq_attr): Use __syscall_slong_t.
14702 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14704 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
14705 Check __x86_64__ instead of __WORDSIZE.
14706 (_STAT_VER_LINUX): Likewise.
14707 (stat): Check __x86_64__ instead of __WORDSIZE. Use
14708 __syscall_ulong_t and __syscall_slong_t.
14709 (stat64): Likewise.
14711 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14713 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
14715 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14717 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
14719 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14721 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
14724 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
14725 include <bits/wordsize.h>. Check __x86_64__ instead of
14727 (greg_t): Use "__extension__ long long int" if __x86_64__ is
14729 (mcontext_t): Replace "unsigned long" with "unsigned long long".
14731 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
14732 include <bits/wordsize.h>. Check __x86_64__ instead of
14734 (user_regs_struct): Use "__extension__ unsigned long long"
14735 instead of "unsigned long" if __x86_64__ is defined.
14736 (user): Likewise. Pad after pointer field if __ILP32__ is
14739 2012-05-16 Joseph Myers <joseph@codesourcery.com>
14741 * configure.in (makeinfo): Require version 4.5 or later. Allow
14743 * configure: Regenerated.
14744 * manual/install.texi (texinfo): Increase version requirement to
14746 * INSTALL: Regenerated.
14748 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
14750 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14752 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
14754 * sysdeps/x86_64/x32/ffs.c: New file.
14756 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
14758 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
14759 defined. Use __syscall_ulong_t.
14760 (shminfo): Use __syscall_ulong_t.
14761 (shm_info): Likewise.
14763 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
14766 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
14768 (msgqnum_t): Use __syscall_ulong_t.
14769 (msglen_t): Likewise.
14770 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
14773 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
14774 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14776 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
14778 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
14779 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
14781 * sysvipc/sys/msg.h (msgbuf): Replace long int with
14784 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
14785 include <bits/wordsize.h>. Check __x86_64__ instead of
14788 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
14789 "unsigned long long int" if __x86_64__ is defined.
14790 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
14792 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
14793 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14794 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
14796 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
14798 (GET_PC): Cast to uintptr_t first.
14799 (GET_FRAME): Likewise.
14800 (GET_STACK): Likewise.
14802 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
14803 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
14804 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
14805 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
14806 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
14807 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
14808 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
14809 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
14810 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14811 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
14812 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
14813 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
14814 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14815 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14816 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14817 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14818 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14819 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14820 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14821 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14822 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14823 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14824 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14825 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14826 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14827 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14828 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14829 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14830 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14832 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
14834 * Makerules (+depfiles): Also collect depfiles from .oS in
14836 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14837 .oS, $(libnldbl-routines)).
14839 * Makerules (native-compile-mkdep-flags): Define.
14840 * sunrpc/Makefile (extra-objs): Add $(addprefix
14841 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14842 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14843 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
14844 calling $(make-target-directory).
14846 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14848 * bits/types.h (__snseconds_t): Removed.
14849 * time/time.h (struct timespec): Replace __snseconds_t with
14851 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14852 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14854 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14855 (__SNSECONDS_T_TYPE): Likewise.
14856 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14857 (__SNSECONDS_T_TYPE): Likewise.
14858 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14859 (__SNSECONDS_T_TYPE): Likewise.
14861 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14863 * sysdeps/mach/hurd/bits/typesizes.h
14864 (__SYSCALL_SLONG_TYPE): New macro.
14865 (__SYSCALL_ULONG_TYPE): Likewise.
14867 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14869 * bits/types.h (__syscall_slong_t): New type.
14870 (__syscall_ulong_t): Likewise.
14872 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14873 (__SYSCALL_ULONG_TYPE): Likewise.
14874 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14875 (__SYSCALL_SLONG_TYPE): Likewise.
14876 (__SYSCALL_ULONG_TYPE): Likewise.
14877 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14878 (__SYSCALL_SLONG_TYPE): Likewise.
14879 (__SYSCALL_ULONG_TYPE): Likewise.
14880 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14881 (__SYSCALL_SLONG_TYPE): Likewise.
14882 (__SYSCALL_ULONG_TYPE): Likewise.
14884 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14886 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14887 Add sigaltstack-offsets.sym.
14888 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14889 <sigaltstack-offsets.h>.
14890 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
14891 longjmp_msg pointer.
14892 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
14893 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14895 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14897 2012-05-15 Joseph Myers <joseph@codesourcery.com>
14899 * elf/stackguard-macros.h: Remove file.
14900 * sysdeps/generic/stackguard-macros.h: New file.
14901 * sysdeps/i386/stackguard-macros.h: Likewise.
14902 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14903 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14904 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14905 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14906 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14907 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14908 * sysdeps/x86_64/stackguard-macros.h: Likewise.
14909 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14910 <elf/stackguard-macros.h>.
14913 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14914 __aligned__ in attribute.
14915 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14916 (gregset_t): Likewise.
14918 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14920 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14921 * sysdeps/x86_64/64/Implies-after: Here. New file.
14922 * sysdeps/x86_64/x32/Implies-after: New file.
14924 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14926 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14927 and access return value for _dl_profile_fixup. Use R10_LP to
14930 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14932 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14934 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14936 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14937 * sysdeps/x86_64/x32/sysdep.h: New file.
14939 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14941 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14942 * sysdeps/x86_64/setjmp.S: Likewise.
14944 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14946 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14947 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14948 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14949 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14950 remove unused global constant.
14952 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14954 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14955 include of <not-cancel.h>.
14957 2012-05-15 Roland McGrath <roland@hack.frob.com>
14959 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14961 2012-05-15 Jeff Law <law@redhat.com>
14962 Andreas Jaeger <aj@suse.de>
14965 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14967 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14968 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14969 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14970 code changing __hst_map_handle.map.
14972 2012-05-15 Roland McGrath <roland@hack.frob.com>
14974 * configure.in (sysnames): Look for Implies-before and Implies-after
14976 * configure: Regenerated.
14978 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14980 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14981 8-byte data alignment with LP_SIZE alignment.
14983 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14985 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14988 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14990 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14992 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14994 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14995 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14996 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14998 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15000 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15002 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
15003 (stackinfo_sub_sp): Likewise.
15005 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15007 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
15010 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15012 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
15015 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15017 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
15020 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15022 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
15024 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15026 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
15027 into R11_LP and load __x86_64_shared_cache_size_half into
15030 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15032 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
15035 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15037 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
15039 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
15041 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
15043 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
15044 powerpc32/power7/fpu/s_logb.c via #include.
15045 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
15046 powerpc32/power7/fpu/s_logbf.c via #include.
15047 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
15048 powerpc32/power7/fpu/s_logbl.c via #include.
15050 2012-05-15 Joseph Myers <joseph@codesourcery.com>
15052 * README.libm: Remove file.
15054 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15056 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
15057 count for x32. Use R*_LP and omit operand-size suffix.
15059 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15061 * shlib-versions: Move x86_64-.*-linux.* entries to ...
15062 * sysdeps/x86_64/64/shlib-versions: Here. New file.
15063 * sysdeps/x86_64/x32/shlib-versions: New file.
15065 2012-05-14 Roland McGrath <roland@hack.frob.com>
15067 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
15068 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
15069 Use _dl_fatal_printf instead.
15071 2012-05-14 Joseph Myers <joseph@codesourcery.com>
15073 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
15074 set if not set by the user. Do not allow for being unset.
15075 * sysdeps/unix/sysv/linux/configure: Regenerated.
15077 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15079 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
15080 the `q' suffix from lea and replace .quad with ASM_ADDR.
15082 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15084 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
15085 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
15087 (PTR_DEMANGLE): Likewise.
15089 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15091 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
15093 (ASM_ADDR): Likewise.
15094 (RAX_LP): Likewise.
15095 (RBP_LP): Likewise.
15096 (RBX_LP): Likewise.
15097 (RCX_LP): Likewise.
15098 (RDI_LP): Likewise.
15099 (RSI_LP): Likewise.
15100 (RSP_LP): Likewise.
15103 (R10_LP): Likewise.
15104 (R10_LP): Likewise.
15105 (R11_LP): Likewise.
15106 (R12_LP): Likewise.
15107 (R13_LP): Likewise.
15108 (R14_LP): Likewise.
15109 (R15_LP): Likewise.
15111 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15113 * sysdeps/x86_64/x32/dl-machine.h: New file.
15115 2012-05-14 Andreas Jaeger <aj@suse.de>
15117 * manual/Makefile (subdir): Remove export of subdir.
15118 (all): Remove target.
15119 (.PHONY): Remove all from list.
15120 (mkinstalldirs): Remove.
15121 (.PHONY): Remove installdirs from list.
15122 ($(inst_infodir)/libc.info): Use make-target-directory.
15123 (installdirs): Remove.
15124 (subdir_%): Remove.
15125 (glibc-targets): Remove.
15128 ($(objpfx)stubs ../po/manual.pot): Remove.
15129 ($(objpfx)stamp%): Remove.
15130 (make-target-directory): Remove.
15131 (subdir_install): Remove.
15132 (routines): Remove.
15139 * manual/.gitignore: Remove, it's not needed anymore.
15140 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
15142 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
15144 (texis): Renamed to $(objpfx)texis.
15145 (texis-path): New, contains path to generated files.
15146 (chapters.%): Use texis-path for complete path, add extra argument
15148 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
15149 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
15150 (summary,texi, stamp-summary): Use complete path of
15151 files. Generate files in build dir.
15152 (dir-add.texi): Build in build dir.
15153 (libm-err.texi,stamp-libm-err): Likewise.
15154 (version.texi, stamp-version): Likewise.
15155 (.%c.texi): Likewise.
15156 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
15157 (mostlyclean): Remove target.
15158 (realclean): Remove target.
15159 (generated): Add new variable with contents from mostlyclean and
15160 realclean, remove entries duplicated in common-mostlyclean, add
15161 stamp-libm-err and stamp-version.
15162 (generated-dirs): Add libc directory.
15163 ($(inst_infodir)/libc.info): Install files from build dir.
15165 * manual/install.texi (Configuring and compiling): Adjust since
15166 the info files are not part of the tar ball anymore.
15168 2012-05-14 Andreas Jaeger <aj@suse.de>
15170 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
15173 2012-05-14 Joseph Myers <joseph@codesourcery.com>
15176 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15177 to 2.2.0 where earlier.
15178 * sysdeps/unix/sysv/linux/configure: Regenerated.
15179 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
15180 Remove conditional code.
15181 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
15182 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
15183 Remove conditional code.
15184 [!__NR_lchown]: Likewise.
15185 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15186 [__NR_lchown]: Likewise.
15187 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
15188 comment referencing __ASSUME_LCHOWN_SYSCALL.
15189 * sysdeps/unix/sysv/linux/i386/sigaction.c
15190 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15191 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15192 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
15193 Remove conditional code.
15194 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
15195 (__protocol_available): Remove #if 0 code.
15196 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
15198 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
15199 * sysdeps/unix/sysv/linux/kernel-features.h
15200 (__ASSUME_GETCWD_SYSCALL): Don't define.
15201 (__ASSUME_REALTIME_SIGNALS): Likewise.
15202 (__ASSUME_PREAD_SYSCALL): Likewise.
15203 (__ASSUME_PWRITE_SYSCALL): Likewise.
15204 (__ASSUME_POLL_SYSCALL): Likewise.
15205 (__ASSUME_LCHOWN_SYSCALL): Likewise.
15206 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
15208 (__ASSUME_SIOCGIFNAME): Don't define.
15209 (__ASSUME_MSG_NOSIGNAL): Likewise.
15210 (__ASSUME_SENDFILE): Define unconditionally.
15211 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
15212 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
15214 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
15215 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
15216 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15217 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15218 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
15219 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15220 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
15222 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15223 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15225 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15226 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
15228 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15229 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
15231 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15232 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
15234 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15235 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
15237 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15238 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
15240 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15241 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
15243 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15244 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15245 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
15246 Remove conditional code.
15247 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15248 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15249 Remove conditional code.
15250 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15251 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
15252 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
15253 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15254 Remove conditional code.
15255 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15256 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
15257 Remove conditional code.
15258 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15259 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
15260 Remove conditional code.
15261 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15262 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15263 Remove conditional code.
15264 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15265 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15266 Remove conditional code.
15267 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15268 * sysdeps/unix/sysv/linux/sh/pwrite64.c
15269 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15270 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15271 * sysdeps/unix/sysv/linux/sigaction.c
15272 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15273 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15274 * sysdeps/unix/sysv/linux/sigpending.c
15275 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15276 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15277 * sysdeps/unix/sysv/linux/sigprocmask.c
15278 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15279 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15280 * sysdeps/unix/sysv/linux/sigsuspend.c
15281 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15282 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15283 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15284 (__libc_missing_rt_sigs): Remove.
15285 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
15286 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
15287 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
15288 Remove conditional code.
15289 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
15290 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
15292 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
15293 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
15294 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
15295 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
15297 2012-05-14 Andreas Jaeger <aj@suse.de>
15299 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
15300 it's not used in glibc.
15301 (__coshm1): Likewise.
15302 (__acosh1p): Likewise.
15305 * manual/string.texi (Copying and Concatenation): Add missing
15306 variable in concat example.
15307 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15309 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15312 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
15313 __builtin_clzl with __builtin_clzll.
15315 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15318 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
15321 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15323 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
15324 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
15325 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
15326 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
15328 2012-05-14 Mike Frysinger <vapier@gentoo.org>
15330 * NEWS: Update ia64 info.
15332 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
15334 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
15337 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
15339 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
15340 * sysdeps/unix/syscalls.list (dup3): Likewise.
15341 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
15342 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
15344 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15346 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
15347 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
15349 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15351 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
15353 (TLS_IE): Use mov/add instead of movq/addq to load thread
15355 (TLS_GD_PREFIX): New.
15358 2012-05-11 David S. Miller <davem@davemloft.net>
15360 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
15361 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
15362 (_FPU_SETCW): Likewise.
15364 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15366 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
15367 is 32-byte aligned.
15369 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
15372 * iconvdata/gb18030.c: Update tables.
15373 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
15374 characters specially.
15375 (BODY for TO_LOOP): Add encoding of missing ranges.
15377 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
15380 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
15381 * sysdeps/mach/hurd/dup3.c: Likewise.
15382 * sysdeps/mach/hurd/readlinkat.c: Likewise.
15383 * sysdeps/powerpc/memmove.c:: Likewise.
15385 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15387 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
15388 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
15390 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15392 * elf/elf.h (R_X86_64_RELATIVE64): New.
15393 (R_X86_64_NUM): Updated.
15394 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15395 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
15396 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
15397 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
15398 tst-quad1pie tst-quad2pie
15399 (modules-names): Add tst-quadmod1 tst-quadmod2.
15400 ($(objpfx)tst-quad1): New dependency.
15401 ($(objpfx)tst-quad2): Likewise.
15402 ($(objpfx)tst-quad1pie): Likewise.
15403 ($(objpfx)tst-quad2pie): Likewise.
15404 * sysdeps/x86_64/tst-quad1.c: New file.
15405 * sysdeps/x86_64/tst-quad1pie.c: New file.
15406 * sysdeps/x86_64/tst-quad2.c: Likewise.
15407 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
15408 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
15409 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
15410 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
15411 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
15413 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15415 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
15416 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
15417 * streams/stropts.h (t_scalar_t): Define type.
15419 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
15420 (_PATH_PRESERVE): Set to "/var/lib".
15421 (_PATH_RWHODIR): Set to "/var/spool/rwho".
15423 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
15426 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
15427 if __dir_mkfile succeeded.
15429 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
15430 checking for _hurd_dtablesize. Unlock it right after having
15431 finished _hurd_dtable allocation.
15433 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15435 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
15436 * sysdeps/mach/hurd/configure: Regenerated.
15437 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
15438 special-casing to...
15439 * sysdeps/gnu/configure.in: ... this new file.
15440 * sysdeps/unix/sysv/linux/configure: Regenerated.
15441 * sysdeps/gnu/configure: New generated file.
15443 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
15444 for Linux: use nsec instead of usec, as well as:
15445 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
15446 members of type struct timespec.
15447 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
15449 (struct stat64): Likewise.
15450 (_STATBUF_ST_NSEC): New macro.
15451 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
15453 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15454 __strtoul_internal rather than strtoul.
15456 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15458 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
15461 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15463 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
15464 which preserves existing values.
15465 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
15467 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15469 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
15470 TIMEOUT values. Return EINVAL for NFDS values either negative or
15471 greater than FD_SETSIZE.
15473 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15475 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
15476 allocated, call __vm_protect to finish enabling the existing space, and
15477 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
15478 allocate the remainder.
15480 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15482 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
15483 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
15485 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15487 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
15488 sysdeps/mach/hurd/readlink.c.
15490 * posix/tst-sysconf.c (posix_options): Only use
15491 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
15492 _POSIX_SYNCHRONIZED_IO when they are defined
15493 * sysdeps/mach/hurd/bits/posix_opt.h:
15494 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
15495 (_XOPEN_REALTIME): Undefine macro.
15496 (_XOPEN_REALTIME_THREADS): Undefine macro.
15497 (_XOPEN_SHM): Undefine macro.
15498 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
15500 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
15502 (_POSIX_ASYNC_IO): Undefine macro.
15503 (_POSIX_PRIORITIZED_IO): Undefine macro.
15504 (_POSIX_SPIN_LOCKS): Define macro to -1.
15506 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
15507 SA_NODEFER, SA_RESETHAND.
15508 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
15509 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
15512 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15514 * elf/Makefile (pldd-modules): Define unconditionally.
15516 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15518 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
15520 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15522 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
15523 Return ENOENT when name is empty.
15524 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
15526 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15528 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
15530 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
15532 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15534 Fix mlock in all cases except non-readable pages.
15535 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
15536 instead of VM_PROT_ALL as parameter to __vm_wire function.
15538 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
15539 (__mkdir): When path is `/', just fail with EEXIST.
15540 * sysdeps/mach/hurd/mkdirat.c: Likewise.
15542 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15544 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
15545 <sys/uio.h> (for writev).
15546 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
15547 and <sys/param.h> (for MIN).
15549 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15551 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
15552 REQUESTED_TIME. Properly set the remaining time and return EINTR
15555 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15557 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
15558 Depend on against $(link-rpcuserlibs).
15560 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15562 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
15563 (__libc_stack_end): Do not use attribute_relro.
15564 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
15565 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
15566 to libthread-provided value.
15567 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
15570 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15573 * bits/libc-lock.h (__libc_once_get): New macro.
15574 * sysdeps/mach/bits/libc-lock.h: Likewise.
15575 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
15576 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
15577 instead of using implementation details.
15579 * libio/fileops.c: Unconditionally include <kernel-features.h>.
15580 * libio/freopen.c: Likewise.
15581 * libio/freopen64.c: Likewise.
15582 * misc/syslog.c: Likewise.
15583 * nscd/connections.c: Likewise.
15584 * nscd/netgroupcache.c: Likewise.
15585 * sysdeps/posix/getcwd.c: Likewise.
15587 2012-05-10 Roland McGrath <roland@hack.frob.com>
15589 * math/w_ilogbf.c: Add #include <limits.h>.
15591 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15593 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
15594 path instead of returning without unlocking.
15596 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
15597 immediate-write ioctls.
15598 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
15600 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15602 * sysdeps/mach/hurd/i386/init-first.c (init): Use
15603 __builtin_frame_address instead of making assumptions about the
15604 location of the return address relative to DATA. Force early load of
15605 the return address.
15606 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
15607 __builtin_frame_address.
15610 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
15611 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
15612 implement dup3 and do some further code clean-ups.
15613 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
15614 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
15616 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15618 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
15620 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
15621 HURD_CRITICAL_END around holding _hurd_dtable_lock.
15622 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
15623 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
15624 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
15627 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
15628 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
15629 when handler == SIG_ERR, not when handler != SIG_ERR.
15631 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15633 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
15634 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
15637 accept4 for GNU Hurd.
15638 * include/sys/socket.h (__libc_accept4): New prototype.
15639 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
15640 to implement __libc_accept4.
15641 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
15643 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
15645 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
15646 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
15647 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
15648 signal-defines.sym.
15650 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15652 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
15654 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15656 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
15657 assertion on O_CLOEXEC flag.
15658 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
15659 * hurd/intern-fd.c: Likewise.
15660 * hurd/port2fd.c: Likewise.
15662 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15665 * bits/in.h (IPV6_PKTINFO): Define new macro.
15666 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
15668 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15673 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
15674 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15675 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
15676 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15677 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15678 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15679 * math/libm-test.inc (logb_test) : Additional logb tests.
15681 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
15682 Andreas Jaeger <aj@suse.de>
15684 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
15685 * configure: Regenerated.
15686 * config.h.in (LINK_OBSOLETE_RPC): New macro.
15687 * config.make.in (link-obsolete-rpc): New substituted variable.
15688 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
15689 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
15690 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15691 (shared-only-routines): Don't set it under [link-obsolete-rpc],
15692 so that libc.a contains the symbols.
15693 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15694 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
15695 * sunrpc/auth_none.c: Likewise.
15696 * sunrpc/auth_unix.c: Likewise.
15697 * sunrpc/authdes_prot.c: Likewise.
15698 * sunrpc/authuxprot.c: Likewise.
15699 * sunrpc/clnt_gen.c: Likewise.
15700 * sunrpc/clnt_perr.c: Likewise.
15701 * sunrpc/clnt_raw.c: Likewise.
15702 * sunrpc/clnt_simp.c: Likewise.
15703 * sunrpc/clnt_tcp.c: Likewise.
15704 * sunrpc/clnt_udp.c: Likewise.
15705 * sunrpc/clnt_unix.c: Likewise.
15706 * sunrpc/des_crypt.c: Likewise.
15707 * sunrpc/des_soft.c: Likewise.
15708 * sunrpc/get_myaddr.c: Likewise.
15709 * sunrpc/key_call.c: Likewise.
15710 * sunrpc/key_prot.c: Likewise.
15711 * sunrpc/netname.c: Likewise.
15712 * sunrpc/pm_getmaps.c: Likewise.
15713 * sunrpc/pm_getport.c: Likewise.
15714 * sunrpc/pmap_clnt.c: Likewise.
15715 * sunrpc/pmap_prot.c: Likewise.
15716 * sunrpc/pmap_prot2.c: Likewise.
15717 * sunrpc/pmap_rmt.c: Likewise.
15718 * sunrpc/publickey.c: Likewise.
15719 * sunrpc/rpc_cmsg.c: Likewise.
15720 * sunrpc/rpc_common.c: Likewise.
15721 * sunrpc/rpc_dtable.c: Likewise.
15722 * sunrpc/rpc_prot.c: Likewise.
15723 * sunrpc/rpc_thread.c: Likewise.
15724 * sunrpc/rtime.c: Likewise.
15725 * sunrpc/svc.c: Likewise.
15726 * sunrpc/svc_auth.c: Likewise.
15727 * sunrpc/svc_raw.c: Likewise.
15728 * sunrpc/svc_run.c: Likewise.
15729 * sunrpc/svc_tcp.c: Likewise.
15730 * sunrpc/svc_udp.c: Likewise.
15731 * sunrpc/svc_unix.c: Likewise.
15732 * sunrpc/svcauth_des.c: Likewise.
15733 * sunrpc/xcrypt.c: Likewise.
15734 * sunrpc/xdr.c: Likewise.
15735 * sunrpc/xdr_array.c: Likewise.
15736 * sunrpc/xdr_float.c: Likewise.
15737 * sunrpc/xdr_intXX_t.c: Likewise.
15738 * sunrpc/xdr_mem.c: Likewise.
15739 * sunrpc/xdr_rec.c: Likewise.
15740 * sunrpc/xdr_ref.c: Likewise.
15741 * sunrpc/xdr_sizeof.c: Likewise.
15742 * sunrpc/xdr_stdio.c: Likewise.
15744 2012-05-10 Roland McGrath <roland@hack.frob.com>
15746 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
15747 change. Update copyright years.
15749 2012-05-10 Joseph Myers <joseph@codesourcery.com>
15751 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
15753 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
15754 Joseph Myers <joseph@codesourcery.com>
15755 Paul Pluzhnikov <ppluzhnikov@google.com>
15758 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
15760 [cross-compiling] (extra-libs): Likewise.
15761 [cross-compiling] (extra-libs-others): Likewise.
15762 [cross-compiling] (librpcsvc-routines): Likewise.
15763 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
15764 [cross-compiling] (omit-deps): Likewise.
15765 (sunrpc-CPPFLAGS): New variable.
15766 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
15767 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
15768 (cross-rpcgen-objs): New variable.
15769 (extra-objs): Append $(cross-rpcgen-objs).
15770 ($(cross-rpcgen-objs)): New rule.
15771 ($(objpfx)cross-rpcgen): Likewise.
15772 (rpcgen-cmd): Define to use $(built-program-file). Expand
15774 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
15775 ($(objpfx)x%.stmp): Likewise.
15776 * sunrpc/proto.h [IS_IN_build] (_): Define.
15777 [IS_IN_build] (_libc_intl_domainname): Likewise.
15779 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15781 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
15782 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
15783 and R_X86_64_TPOFF64.
15785 2012-05-10 Joseph Myers <joseph@codesourcery.com>
15787 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
15788 sysdeps/unix/sysv/syscalls.list.
15791 * sysdeps/unix/sysv/syscalls.list: Remove file.
15793 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
15796 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
15797 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
15798 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
15799 (__LC_IDENTIFICATION): Make these macros useful in #if
15800 expressions, as required by C99.
15802 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
15804 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
15805 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
15808 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
15810 * stdlib/longlong.h: Updated from GCC.
15812 2012-05-09 Andreas Jaeger <aj@suse.de>
15814 * nscd/nscd.c (run_modes): Make named enum, reorder so that
15815 default is first entry.
15816 (run_mode): Set type.
15817 (main): Remove informal message about syslog.
15818 (options): Fix typo.
15821 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
15824 (llrintf): Likewise.
15825 (llrint): Likewise.
15828 (nearbyint): Likewise.
15829 (nearbyintf): Likewise.
15831 2012-05-09 Andreas Jaeger <aj@suse.de>
15832 Pedro Alves <palves@redhat.com>
15834 * nscd/nscd.c (run_mode): Use enum.
15835 (main): Cleanup coding style issue.
15837 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
15838 Andreas Jaeger <aj@suse.de>
15840 * nscd/nscd.c (go_background): Replaced with...
15841 (run_mode): ... this.
15842 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
15843 (options): Add -F --foreground.
15844 (main): Implement it.
15845 (parse_opt): Parse it.
15847 2012-05-09 Andreas Jaeger <aj@suse.de>
15850 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15851 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15852 -Wconversion warning.
15853 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15856 2012-05-09 Joseph Myers <joseph@codesourcery.com>
15858 * conform/data/locale.h-data (NULL): Use macro-constant. Require
15860 (LC_ALL): Use macro-int-constant.
15861 (LC_COLLATE): Likewise.
15862 (LC_CTYPE): Likewise.
15863 (LC_MESSAGES): Likewise.
15864 (LC_MONETARY): Likewise.
15865 (LC_NUMERIC): Likewise.
15866 (LC_TIME): Likewise.
15867 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15868 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15869 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15870 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15872 [C99-based standards] (float_t): Expect type.
15873 [C99-based standards] (double_t): Expect type.
15874 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
15876 [C99-based standards] (HUGE_VALL): Likewise.
15877 [C99-based standards] (INFINITY): Likewise.
15878 [C99-based standards] (NAN): Likewise.
15879 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15880 [C99-based standards] (FP_NAN): Likewise.
15881 [C99-based standards] (FP_NORMAL): Likewise.
15882 [C99-based standards] (FP_SUBNORMAL): Likewise.
15883 [C99-based standards] (FP_ZERO): Likewise.
15884 [C99-based standards] (FP_FAST_FMA): Use
15885 optional-macro-int-constant. Specify type. Require == 1.
15886 [C99-based standards] (FP_FAST_FMAF): Likewise.
15887 [C99-based standards] (FP_FAST_FMAL): Likewise.
15888 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15889 [C99-based standards] (FP_ILOGBNAN): Likewise.
15890 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15892 [C99-based standards] (MATH_ERREXCEPT): Likewise.
15893 [C99-based standards] (math_errhandling): Specify type.
15894 [ISO99 || ISO11] (signgam): Do not allow.
15895 [non-C99-based standards] (copysignf): Do not allow.
15896 [non-C99-based standards] (exp2f): Likewise.
15897 [non-C99-based standards] (log2f): Likewise.
15898 [non-C99-based standards] (modff): Allow.
15899 [non-C99-based standards] (erff): Do not allow.
15900 [non-C99-based standards] (erfcf): Likewise.
15901 [non-C99-based standards] (gammaf): Likewise.
15902 [non-C99-based standards] (hypotf): Likewise.
15903 [non-C99-based standards] (j0f): Likewise.
15904 [non-C99-based standards] (j1f): Likewise.
15905 [non-C99-based standards] (jnf): Likewise.
15906 [non-C99-based standards] (lgammaf): Likewise.
15907 [non-C99-based standards] (tgammaf): Likewise.
15908 [non-C99-based standards] (y0f): Likewise.
15909 [non-C99-based standards] (y1f): Likewise.
15910 [non-C99-based standards] (ynf): Likewise.
15911 [non-C99-based standards] (isnanf): Likewise.
15912 [non-C99-based standards] (acoshf): Likewise.
15913 [non-C99-based standards] (asinhf): Likewise.
15914 [non-C99-based standards] (atanhf): Likewise.
15915 [non-C99-based standards] (cbrtf): Likewise.
15916 [non-C99-based standards] (expm1f): Likewise.
15917 [non-C99-based standards] (ilogbf): Likewise.
15918 [non-C99-based standards] (log1pf): Likewise.
15919 [non-C99-based standards] (logbf): Likewise.
15920 [non-C99-based standards] (nextafterf): Likewise.
15921 [non-C99-based standards] (remainderf): Likewise.
15922 [non-C99-based standards] (rintf): Likewise.
15923 [non-C99-based standards] (scalbf): Likewise.
15924 [non-C99-based standards] (copysignl): Likewise.
15925 [non-C99-based standards] (exp2l): Likewise.
15926 [non-C99-based standards] (log2l): Likewise.
15927 [non-C99-based standards] (modfl): Allow.
15928 [non-C99-based standards] (erfl): Do not allow.
15929 [non-C99-based standards] (erfcl): Likewise.
15930 [non-C99-based standards] (gammal): Likewise.
15931 [non-C99-based standards] (hypotl): Likewise.
15932 [non-C99-based standards] (j0l): Likewise.
15933 [non-C99-based standards] (j1l): Likewise.
15934 [non-C99-based standards] (jnl): Likewise.
15935 [non-C99-based standards] (lgammal): Likewise.
15936 [non-C99-based standards] (tgammal): Likewise.
15937 [non-C99-based standards] (y0l): Likewise.
15938 [non-C99-based standards] (y1l): Likewise.
15939 [non-C99-based standards] (ynl): Likewise.
15940 [non-C99-based standards] (isnanl): Likewise.
15941 [non-C99-based standards] (acoshl): Likewise.
15942 [non-C99-based standards] (asinhl): Likewise.
15943 [non-C99-based standards] (atanhl): Likewise.
15944 [non-C99-based standards] (cbrtl): Likewise.
15945 [non-C99-based standards] (expm1l): Likewise.
15946 [non-C99-based standards] (ilogbl): Likewise.
15947 [non-C99-based standards] (log1pl): Likewise.
15948 [non-C99-based standards] (logbl): Likewise.
15949 [non-C99-based standards] (nextafterl): Likewise.
15950 [non-C99-based standards] (remainderl): Likewise.
15951 [non-C99-based standards] (rintl): Likewise.
15952 [non-C99-based standards] (scalbl): Likewise.
15953 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15954 [non-C99-based standards] (FP_*): Do not allow.
15955 [C99-based standards] (FP_*): Change to
15956 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15957 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15959 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15960 (SIG_ERR): Likewise.
15961 [X/Open-based standards] (SIG_HOLD): Likewise.
15962 (SIG_IGN): Likewise.
15963 (SIGABRT): Use macro-int-constant. Specify type. Require
15965 (SIGFPE): Likewise.
15966 (SIGILL): Likewise.
15967 (SIGINT): Likewise.
15968 (SIGSEGV): Likewise.
15969 (SIGTER): Likewise.
15970 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15971 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15972 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15973 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15974 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15975 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15976 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15977 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15978 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15979 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15980 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15981 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15982 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15983 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15984 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15985 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15986 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15987 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15988 [X/Open-based standards] (SIGTRAP): Likewise.
15989 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15990 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15991 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15992 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15993 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15996 2012-05-08 Ian Wienand <ianw@vmware.com>
15999 * time/tzset.c (__tzset_parse_tz): Update default rules for
16000 daylight time changes in the Energy Policy Act of 2005.
16002 2012-05-09 Andreas Jaeger <aj@suse.de>
16005 * elf/ldconfig.c (parse_conf): Change string to make clear that
16006 ldconfig only issued a warning if ld.so.conf does not exist.
16008 2012-05-08 David S. Miller <davem@davemloft.net>
16010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
16011 movxtod instead of popping the value on the stack.
16013 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16015 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
16017 * config.h.in: Add HAVE_ARM_PCS_VFP.
16019 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
16022 * include/features.h: Warn if user requests __FORTIFY_SOURCE
16023 checking but the checks are disabled for any reason.
16025 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
16027 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
16028 and ELF64_R_TYPE with ELFW(R_TYPE).
16030 2012-05-08 Joseph Myers <joseph@codesourcery.com>
16032 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
16033 (ulimit): Likewise.
16035 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
16036 (settimeofday): Likewise.
16038 2012-05-08 Mike Frysinger <vapier@gentoo.org>
16040 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
16041 a struct th_u2 inside the union, and move tu_block/tu_code into
16042 a new th_u3 union of tu_block/tu_code inside of that. Move
16043 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
16044 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
16045 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
16046 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
16047 (th_stuff): Change to th_u1.tu_stuff.
16049 (th_msg): Change to th_u1.th_u2.tu_data.
16051 2012-05-07 David S. Miller <davem@davemloft.net>
16053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16056 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
16057 (SETUP_PIC_REG): Use it.
16058 (SETUP_PIC_REG_LEAF): Use it.
16060 2012-05-07 Joseph Myers <joseph@codesourcery.com>
16064 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16066 (EXPL_FINITE): Likewise.
16067 (FLDLOG): Likewise.
16068 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
16069 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
16071 * sysdeps/x86_64/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/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
16078 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
16079 test of -max_value argument for long double.
16080 * sysdeps/i386/fpu/libm-test-ulps: Update.
16081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16083 2012-05-06 David S. Miller <davem@davemloft.net>
16085 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
16086 quad soft-float symbols whose references which are compiler
16088 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16090 2012-05-06 Joseph Myers <joseph@codesourcery.com>
16094 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16096 (EXPL_FINITE): Likewise.
16097 (FLDLOG): Likewise.
16100 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
16101 Adjust comments for base varying.
16102 (__expl_finite): Change alias to EXPL_FINITE.
16103 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
16105 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
16106 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16107 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16108 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
16109 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16111 (EXPL_FINITE): Likewise.
16112 (FLDLOG): Likewise.
16115 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
16116 Adjust comments for base varying.
16117 (__expl_finite): Change alias to EXPL_FINITE.
16118 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
16120 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16123 * math/libm-test.inc (check_float_internal): Correct ulp
16124 calculation for subnormal expected results.
16126 2012-05-06 Andreas Jaeger <aj@suse.de>
16128 * Makeconfig (+math-flags): New, set to -frounding-math.
16129 (+cflags): Add +math-flags so that all of glibc gets compiled with
16132 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
16134 2012-05-05 Joseph Myers <joseph@codesourcery.com>
16136 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
16142 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
16143 (__ieee754_expl): Allow for and saturate large arguments.
16144 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
16145 (u_threshold): Likewise.
16146 (__exp): Call __ieee754_exp before checking for overflow and
16148 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
16149 (u_threshold): Likewise.
16150 (__expf): Call __ieee754_expf before checking for overflow and
16152 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
16153 (u_threshold): Likewise.
16154 (__expl): Call __ieee754_expl before checking for overflow and
16156 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
16157 (__ieee754_expl): Allow for and saturate large arguments.
16158 * math/libm-test.inc (exp_test): Add another test. Do not allow
16159 missing overflow exception on overflow.
16160 (expm1_test): Do not allow missing overflow exception on overflow.
16162 * sysdeps/i386/fpu/e_expl.c: Move to ...
16163 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
16164 rather than using inline asm.
16165 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
16166 * sysdeps/x86_64/fpu/e_expl.S: Copy from
16167 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
16169 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
16172 (signal): Likewise.
16176 2012-05-04 Joseph Myers <joseph@codesourcery.com>
16178 * sysdeps/unix/syscalls.list (adjtime): Add entry from
16179 sysdeps/unix/common/syscalls.list.
16180 (fchmod): Likewise.
16181 (fchown): Likewise.
16182 (ftruncate): Likewise.
16183 (getrusage): Likewise.
16184 (gettimeofday): Likewise.
16185 (setpgid): Likewise.
16186 (setregid): Likewise.
16187 (setreuid): Likewise.
16188 (sigaction): Likewise.
16189 (truncate): Likewise.
16190 (vhangup): Likewise.
16191 * sysdeps/unix/common/syscalls.list: Remove file.
16192 * sysdeps/unix/bsd/Implies: Don't include unix/common.
16193 * sysdeps/unix/sysv/linux/Implies: Likewise.
16195 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
16197 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
16198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
16199 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
16201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
16203 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
16205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
16206 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
16208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
16209 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
16211 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
16212 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
16214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
16215 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
16217 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
16218 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
16220 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
16221 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
16223 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16225 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
16227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
16229 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
16231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
16232 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
16234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
16236 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
16238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
16240 2012-05-04 Joseph Myers <joseph@codesourcery.com>
16242 * sysdeps/unix/common/bits/dirent.h: Remove file.
16243 * sysdeps/unix/common/bits/fcntl.h: Likewise.
16245 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
16246 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
16247 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
16248 * sysdeps/unix/bsd/isatty.c: Likewise.
16249 * sysdeps/unix/bsd/tcdrain.c: Likewise.
16250 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
16251 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
16253 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16256 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
16257 long double comparison inaccuracies.
16258 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16261 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
16263 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
16264 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
16266 2012-05-04 Joseph Myers <joseph@codesourcery.com>
16269 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
16270 nonzero digits before rounding a hex value.
16271 * stdlib/tst-strtod.c (tests): Add another test.
16273 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16275 * sysdeps/s390/fpu/libm-test-ulps: Update.
16277 2012-05-03 Andreas Jaeger <aj@suse.de>
16279 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
16280 does not get optimized out.
16281 (malloc_opt_barrier): New.
16283 2012-05-03 Andreas Jaeger <aj@suse.de>
16284 Roland McGrath <roland@hack.frob.com>
16286 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
16287 intermediate file deletion.
16288 (generated): Add .symlist files.
16290 2012-05-03 Joseph Myers <joseph@codesourcery.com>
16293 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
16294 Redirect under this condition.
16295 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16296 [__USE_GNU] (__dprintf_chk): Not under this condition.
16297 [__USE_GNU] (__vdprintf_chk): Likewise.
16298 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
16299 under this condition.
16300 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16301 [__USE_XOPEN2K8] (dprintf): Define under this condition.
16302 [__USE_XOPEN2K8] (vdprintf): Likewise.
16303 [__USE_GNU] (__dprintf_chk): Not under this condition.
16304 [__USE_GNU] (__vdprintf_chk): Likewise.
16305 [__USE_GNU] (dprintf): Likewise.
16306 [__USE_GNU] (vdprintf): Likewise.
16308 2012-05-03 Roland McGrath <roland@hack.frob.com>
16310 * elf/Makefile (common-generated): Set this instead of generated for
16311 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
16312 $(all-built-dso)-derived lists.
16314 2012-05-03 Andreas Jaeger <aj@suse.de>
16316 * sysdeps/i386/fpu/libm-test-ulps: Update.
16319 * FAQ.in: Likewise.
16320 * scripts/gen-FAQ.pl: Likewise.
16321 * manual/install.texi (Installation): Point to online location of
16323 * Makefile (files-for-dist): Remove FAQ.
16326 2012-05-02 Allan McRae <allan@archlinux.org>
16328 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
16329 (LDFLAGS-reldepmod5.so): Likewise.
16330 (LDFLAGS-reldep6mod1.so): Likewise.
16331 (LDFLAGS-reldep6mod4.so): Likewise.
16332 (LDFLAGS-reldep8mod3.so): Likewise.
16333 (LDFLAGS-unload4mod1.so): Likewise.
16334 (LDFLAGS-unload4mod2.so): Likewise.
16335 (LDFLAGS-tst-initorder): Likewise.
16336 (LDFLAGS-tst-initordera2.so): Likewise.
16337 (LDFLAGS-tst-initordera3.so): Likewise.
16338 (LDFLAGS-tst-initordera4.so): Likewise.
16339 (LDFLAGS-tst-initorderb2.so): Likewise.
16340 (LDFLAGS-noload): Likewise.
16341 (LDFLAGS-next): Likewise.
16342 (LDFLAGS-order2mod1.so): Likewise.
16343 (LDFLAGS-order2mod2.so): Likewise.
16344 (LDFLAGS-tst-initorder2): Likewise.
16345 (LDFLAGS-tst-initorder2a.so): Likewise.
16346 (LDFLAGS-tst-initorder2b.so): Likewise.
16347 (LDFLAGS-tst-initorder2c.so): Likewise.
16348 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
16350 2012-05-02 David S. Miller <davem@davemloft.net>
16352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16354 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
16357 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
16359 2012-05-02 Andreas Jaeger <aj@suse.de>
16361 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
16362 since we manipulate rounding mode.
16363 (CPPFLAGS-test-idouble.c): Likewise.
16364 (CPPFLAGS-test-ifloat.c): Likewise.
16365 (CFLAGS-test-ldouble.c): Likewise.
16366 (CFLAGS-test-double.c): Likewise.
16367 (CFLAGS-test-float.c): Likewise.
16368 (CFLAGS-test-misc.c): Likewise.
16369 (CFLAGS-test-test-fenv.c): Likewise.
16371 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16375 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
16376 comparisons to determine direction to adjust input.
16378 2012-05-01 Roland McGrath <roland@hack.frob.com>
16380 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
16381 output to the target.
16383 * scripts/localplt.awk: New file.
16384 * elf/Makefile ($(objpfx)check-localplt): Target removed.
16385 (check-localplt-CFLAGS): Variable removed.
16386 ($(all-built-dso:=.jmprel)): New static pattern rule.
16387 (generated): Add those targets.
16388 (localplt-built-dso): New variable.
16389 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
16391 * elf/check-localplt.c: File removed.
16393 * scripts/check-execstack.awk: New file.
16394 * elf/Makefile ($(objpfx)check-execstack): Target removed.
16395 (check-execstack-CFLAGS): Variable removed.
16396 ($(objpfx)check-execstack.h): Target removed.
16397 ($(objpfx)execstack-default): New target.
16398 (generated): Add that instead of check-execstack.h.
16399 ($(all-built-dso:=.phdr)): New static pattern rule.
16400 (generated): Add those targets.
16401 * elf/check-execstack.c: File removed.
16403 * scripts/check-textrel.awk: New file.
16404 * elf/Makefile ($(objpfx)check-textrel): Target removed.
16405 (check-textrel-CFLAGS): Variable removed.
16406 (all-built-dso): Use := to define.o
16407 ($(all-built-dso:=.dyn)): New static pattern rule.
16408 (generated): Add those targets.
16409 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
16410 * config.make.in (READELF): New substituted variable.
16411 * elf/check-textrel.c: File removed.
16413 2012-05-01 Joseph Myers <joseph@codesourcery.com>
16415 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16417 * conform/data/ctype.h-data [C99-based standards] (isblank):
16419 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
16420 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
16421 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16422 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
16423 Specify type. Require positive value.
16424 (EILSEQ): Likewise.
16425 (ERANGE): Likewise.
16426 [ISO || POSIX] (EILSEQ): Do not expect.
16427 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
16428 Specify type. Require positive value.
16429 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
16430 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
16431 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
16432 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
16433 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
16434 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
16435 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
16436 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
16437 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
16438 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
16439 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
16440 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
16441 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
16442 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
16443 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
16444 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
16445 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
16446 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
16447 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
16448 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
16449 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
16450 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
16451 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
16452 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
16453 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
16454 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
16455 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
16456 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
16457 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
16458 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
16459 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
16460 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
16461 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
16462 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
16463 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
16464 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
16465 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
16466 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
16467 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
16468 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
16469 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
16470 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
16471 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
16472 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
16473 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
16474 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
16475 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
16476 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
16477 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
16478 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
16479 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
16480 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
16481 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
16482 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
16483 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
16484 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
16485 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
16486 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
16487 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
16488 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
16489 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
16490 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
16491 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
16492 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
16493 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
16494 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
16495 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
16496 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
16497 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
16498 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
16499 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
16500 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
16501 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
16502 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
16503 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
16504 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
16505 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
16507 (FLT_ROUNDS): Expect as macro, not constant.
16508 (FLT_MANT_DIG): Use macro-int-constant.
16509 (DBL_MANT_DIG): Likewise.
16510 (LDBL_MANT_DIG): Likewise.
16511 (FLT_DIG): Likewise.
16512 (DBL_DIG): Likewise.
16513 (LDBL_DIG): Likewise.
16514 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
16515 (DBL_MIN_EXP): Likewise.
16516 (LDBL_MIN_EXP): Likewise.
16517 (FLT_MAX_EXP): Use macro-int-constant.
16518 (DBL_MAX_EXP): Likewise.
16519 (LDBL_MAX_EXP): Likewise.
16520 (FLT_MAX_10_EXP): Likewise.
16521 (DBL_MAX_10_EXP): Likewise.
16522 (LDBL_MAX_10_EXP): Likewise.
16523 (FLT_MAX): Use macro-constant.
16524 (DBL_MAX): Likewise.
16525 (LDBL_MAX): Likewise.
16526 (FLT_EPSILON): Use macro-constant. Give upper bound.
16527 (DBL_EPSILON): Likewise.
16528 (LDBL_EPSILON): Likewise.
16529 (FLT_MIN): Likewise.
16530 (DBL_MIN): Likewise.
16531 (LDBL_MIN): Likewise.
16532 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
16533 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
16534 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
16535 [ISO11] (FLT_HAS_SUBNORM): Likewise.
16536 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
16537 [ISO11] (DBL_DECIMAL_DIG): Likewise.
16538 [ISO11] (FLT_DECIMAL_DIG): Likewise.
16539 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
16540 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
16541 [ISO11] (FLT_TRUE_MIN): Likewise.
16542 [ISO11] (LDBL_TRUE_MIN): Likewise.
16543 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16544 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
16545 (SCHAR_MIN): Use macro-int-constant. Specify type.
16546 (SCHAR_MAX): Likewise.
16547 (UCHAR_MAX): Likewise.
16548 (CHAR_MIN): Likewise.
16549 (CHAR_MAX): Likewise.
16550 (MB_LEN_MAX): Use macro-int-constant.
16551 (SHRT_MIN): Use macro-int-constant. Specify type.
16552 (SHRT_MAX): Likewise.
16553 (USHRT_MAX): Likewise.
16554 (INT_MAX): Likewise.
16555 (INT_MIN): Use macro-int-constant. Specify type. Make upper
16557 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
16559 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16561 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
16562 bound negative. Suffix upper bound with "L".
16563 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16565 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
16567 [C99-based standards] (LLONG_MAX): Likewise.
16568 [C99-based standards] (ULLONG_MAX): Likewise.
16569 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
16571 [ISO11] (max_align_t): Require type.
16572 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16574 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
16575 from $CFLAGS, without defining away __attribute__ calls.
16576 (checknamespace): Use $CFLAGS_namespace.
16578 * conform/conformtest.pl (@keywords): Only include C99 keywords
16579 for standards based on C99 or C11.
16581 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
16583 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
16586 * conform/conformtest.pl: Handle "macro-int-constant" and test for
16587 usability of symbols in #if.
16589 * conform/conformtest.pl: If macro or constant types start
16590 "promoted:", expect the symbol to be of the following type
16591 promoted by the integer promotions.
16593 * conform/conformtest.pl: Parse all "constant" and "macro" lines
16594 in one place. Also handle "macro-constant".
16596 * conform/conformtest.pl: Only accept expected macro values with
16597 "==". Parse all "macro" lines in one place.
16598 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
16600 * conform/conformtest.pl: Handle braced types on "constant" lines
16601 instead of handling "typed-constant".
16602 * conform/data/signal.h-data: Use "constant" instead of
16605 * conform/conformtest.pl: Handle "optional-" at start of lines in
16606 one place rather than duplicating several cases. Handle each
16607 format of "macro" line with initial "optional-".
16609 * conform/conformtest.pl: Only accept expected constant or
16610 optional-constant values with "==". Parse all "constant" lines in
16611 one place. Parse all "optional-constant" lines in one place.
16612 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
16613 * conform/data/fmtmsg.h-data: Likewise.
16614 * conform/data/netinet/in.h-data: Likewise.
16615 * conform/data/tar.h-data: Likewise.
16616 * conform/data/limits.h-data: Use "==" form on "constant" and
16617 "optional-constant" lines.
16619 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
16620 Use -std=c99 for XOPEN2K.
16621 (@knownproblems): Remove.
16622 (newtoken): Don't check %isknown.
16624 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
16625 Do not expect macro.
16626 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
16627 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
16628 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
16629 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
16630 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
16631 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
16632 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
16633 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
16634 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
16635 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
16636 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
16637 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
16638 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
16639 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
16640 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
16641 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
16642 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
16643 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
16644 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
16645 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
16646 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
16647 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
16648 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
16649 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
16650 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
16651 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
16652 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
16653 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
16654 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
16655 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
16656 [XPG3] (acosh): Likewise.
16657 [XPG3] (asinh): Likewise.
16658 [XPG3] (atanh): Likewise.
16659 [XPG3] (cbrt): Likewise.
16660 [XPG3] (expm1): Likewise.
16661 [XPG3] (ilogb): Likewise.
16662 [XPG3] (log1p): Likewise.
16663 [XPG3] (logb): Likewise.
16664 [XPG3] (nextafter): Likewise.
16665 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
16666 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
16667 [XPG3] (remainder): Likewise.
16668 [XPG3] (rint): Likewise.
16669 [XPG3 || XPG4 || UNIX98] (round): Likewise.
16670 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
16671 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
16672 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
16673 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
16674 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
16675 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
16676 [UNIX98 || XOPEN2K] (scalb): Expect.
16677 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
16678 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
16679 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
16680 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
16681 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
16682 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
16683 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
16684 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
16685 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
16686 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
16687 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
16688 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
16689 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
16690 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
16691 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
16692 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
16693 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
16694 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
16695 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
16696 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
16697 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
16698 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
16699 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
16700 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
16701 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
16702 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
16703 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
16704 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
16705 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
16706 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
16707 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
16708 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
16709 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
16710 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
16711 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
16712 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
16713 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
16714 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
16715 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
16716 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
16717 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
16718 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
16719 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
16720 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
16721 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
16722 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
16723 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
16724 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
16725 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
16726 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
16727 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
16728 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
16729 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
16730 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
16731 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
16732 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
16733 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
16734 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
16735 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
16736 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
16737 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
16738 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
16739 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
16740 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
16741 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
16742 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
16743 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
16744 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
16745 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
16746 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
16747 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
16748 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
16749 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
16750 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
16751 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
16752 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
16753 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
16754 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
16755 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
16756 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
16757 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
16758 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
16759 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
16760 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
16761 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
16762 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
16763 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
16764 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
16765 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
16766 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
16767 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
16768 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
16769 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
16770 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
16771 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
16772 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
16773 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
16774 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
16775 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
16776 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
16777 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
16778 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
16779 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
16780 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
16781 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
16782 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
16783 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
16784 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
16785 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
16786 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
16787 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
16788 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
16789 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
16790 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
16791 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
16792 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
16793 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
16794 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
16795 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
16796 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
16797 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
16798 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
16799 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
16800 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
16801 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
16802 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
16803 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
16804 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
16805 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
16806 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
16807 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
16808 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
16809 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
16810 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
16811 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
16812 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
16813 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
16815 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16816 _XOPEN_SOURCE_EXTENDED for XPG4.
16818 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16820 * Makeconfig (localtime): Remove variable.
16821 (inst_localtime-file): Likewise.
16823 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16844 2012-05-01 Joseph Myers <joseph@codesourcery.com>
16848 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16849 comparisons to determine direction to adjust input.
16850 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16851 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16852 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16854 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16856 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16858 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16859 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16861 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16863 * math/libm-test.inc (nexttoward_test): Add more tests.
16865 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16868 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16869 in version GLIBC_2.1, not GLIBC_2.0.
16870 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16873 2012-04-30 Joseph Myers <joseph@codesourcery.com>
16876 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16878 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16879 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16880 * math/libm-test.inc (acos_test): Add more tests.
16881 (asin_test): Likewise.
16882 * sysdeps/i386/fpu/libm-test-ulps: Update.
16883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16886 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16888 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16889 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16890 * math/libm-test.inc (acos_test_tonearest): New function.
16891 (acos_test_towardzero): Likewise.
16892 (acos_test_downward): Likewise.
16893 (acos_test_upward): Likewise.
16894 (asin_test_tonearest): Likewise.
16895 (asin_test_towardzero): Likewise.
16896 (asin_test_downward): Likewise.
16897 (asin_test_upward): Likewise.
16898 (main): Call the new functions.
16899 * sysdeps/i386/fpu/libm-test-ulps: Update.
16900 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16904 * math/e_exp10.c: Include <float.h>.
16905 (__ieee754_exp10): Handle underflow here rather than multiplying
16906 large negative argument by M_LN10.
16907 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16909 * math/e_exp10l.c: Include <float.h>.
16910 (__ieee754_exp10l): Handle underflow here rather than multiplying
16911 large negative argument by M_LN10l.
16912 * math/libm-test.inc (exp10_test): Add another test. Do not allow
16913 spurious overflow exception on underflow.
16915 2012-04-29 Marek Polacek <polacek@redhat.com>
16917 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16918 (__fortify_function): New macro.
16919 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16920 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16921 __extern_always_inline.
16922 * libio/bits/stdio2.h: Likewise.
16923 * libio/bits/stdio.h: Likewise.
16924 * string/string.h: Likewise.
16925 * string/bits/string3.h: Likewise.
16926 * include/stdio.h: Likewise.
16927 * stdlib/bits/stdlib.h: Likewise.
16928 * stdlib/stdlib.h: Likewise.
16929 * rt/bits/mqueue2.h: Likewise.
16930 * rt/mqueue.h: Likewise.
16931 * posix/bits/unistd.h: Likewise.
16932 * posix/unistd.h: Likewise.
16933 * io/bits/poll2.h: Likewise.
16934 * io/bits/fcntl2.h: Likewise.
16935 * io/fcntl.h: Likewise.
16936 * io/sys/poll.h: Likewise.
16937 * misc/bits/syslog.h: Likewise.
16938 * misc/bits/syslog-ldbl.h: Likewise.
16939 * misc/sys/syslog.h: Likewise.
16940 * socket/bits/socket2.h: Likewise.
16941 * socket/sys/socket.h: Likewise.
16942 * debug/tst-chk1.c: Likewise.
16943 * wcsmbs/bits/wchar2.h: Likewise.
16944 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16945 * wcsmbs/wchar.h: Likewise.
16947 2012-04-29 Andreas Jaeger <aj@suse.de>
16949 * Makerules (tests): Remove enable-check-abi protection.
16950 (check-abi-warn): Remove.
16951 (check-abi-%): Remove check-abi-warn usage.
16953 * configure.in: Remove check-abi configure option.
16954 * configure: Regenerated.
16955 * config.make.in (enable-check-abi): Remove.
16957 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16960 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16961 double functions to double *_finite functions.
16964 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16965 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16967 * stdio-common/Makefile (tests): Add tst-sprintf3.
16968 * stdio-common/tst-sprintf3.c: New file.
16970 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16971 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16973 2012-04-28 Joseph Myers <joseph@codesourcery.com>
16975 * conform/conformtest.pl: Remove duplicate typed-constant
16978 2012-04-28 David S. Miller <davem@davemloft.net>
16980 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16981 (check-abi-%): Remove AWK script prerequisite and explicit
16983 (check-abi): Rewrite to just diff the symlist with the abilist.
16984 (config-tls, config-abi-config): Delete, no longer used.
16985 (update-abi-%): Remove AWK script and explicit abilist directory.
16986 (update-abi): Rewrite to simply compare and conditionally copy the
16987 symlist and the sysdep abilist file. Remove update-abi-config
16989 * abilist/ld.abilist: Remove.
16990 * abilist/libBrokenLocale.abilist: Remove.
16991 * abilist/libanl.abilist: Remove.
16992 * abilist/libcrypt.abilist: Remove.
16993 * abilist/libdl.abilist: Remove.
16994 * abilist/librt.abilist: Remove.
16995 * abilist/libthread_db.abilist: Remove.
16996 * abilist/libutil.abilist: Remove.
16997 * scripts/extract-abilist.awk: Remove.
16998 * scripts/merge-abilist.awk: Remove.
16999 * sysdeps/generic/libcidn.abilist: New file.
17000 * sysdeps/generic/libnss_compat.abilist: New file.
17001 * sysdeps/generic/libnss_db.abilist: New file.
17002 * sysdeps/generic/libnss_dns.abilist: New file.
17003 * sysdeps/generic/libnss_files.abilist: New file.
17004 * sysdeps/generic/libnss_hesiod.abilist: New file.
17005 * sysdeps/generic/libnss_nis.abilist: New file.
17006 * sysdeps/generic/libnss_nisplus.abilist: New file.
17007 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
17008 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
17009 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
17011 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
17012 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
17013 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
17014 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
17015 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
17016 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
17017 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
17018 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
17019 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
17021 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
17022 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
17023 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
17024 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
17026 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
17027 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
17028 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
17029 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
17030 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
17031 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
17033 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
17034 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
17035 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
17037 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
17038 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
17040 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
17042 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
17044 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
17046 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
17048 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
17050 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
17052 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
17054 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
17056 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
17058 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
17060 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
17062 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
17064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
17066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
17068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
17070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
17072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
17074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
17076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
17078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
17080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
17084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
17086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
17088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
17090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
17091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
17093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
17095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
17097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
17099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
17101 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
17103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
17105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
17109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
17111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
17113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
17115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
17116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
17118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
17120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
17122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
17124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
17126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
17128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
17130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
17134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
17136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
17138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
17140 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17141 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
17142 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
17144 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
17145 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
17146 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
17147 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
17148 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
17149 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
17150 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
17151 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
17152 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
17153 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
17154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
17155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
17157 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
17159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
17161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
17163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
17165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
17167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
17169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
17173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
17175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
17177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
17179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
17180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
17182 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
17184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
17186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
17188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
17190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
17192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
17194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
17198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
17200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
17205 2012-04-28 Joseph Myers <joseph@codesourcery.com>
17207 * conform/conformtest.pl: Fix typo in handling typed-constant from
17210 2012-04-27 Joseph Myers <joseph@codesourcery.com>
17212 * README: Cut down references to pre-2.6 Linux kernels and
17213 Linuxthreads. Update lists of configurations in libc and ports
17214 and sort alphabetically. Say "or newer" with Linux kernel version
17217 * config.h.in [IS_IN_build]: Allow compiling without optimization.
17219 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17222 * math/libm-test.inc (logb_test_downward): New test to expose
17223 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
17226 2012-04-27 Joseph Myers <joseph@codesourcery.com>
17229 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
17231 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
17232 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
17234 2012-04-26 Joseph Myers <joseph@codesourcery.com>
17236 * sysdeps/unix/i386/brk.S: Remove file.
17237 * sysdeps/unix/i386/dl-brk.S: Likewise.
17238 * sysdeps/unix/i386/pipe.S: Likewise.
17239 * sysdeps/unix/i386/sigreturn.S: Likewise.
17240 * sysdeps/unix/i386/syscall.S: Likewise.
17241 * sysdeps/unix/i386/vfork.S: Likewise.
17242 * sysdeps/unix/i386/wait.S: Likewise.
17244 * sysdeps/unix/common/tcsendbrk.c: Move to ...
17245 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
17247 * configure.in (arm*-none*): Do not allow without
17248 --enable-hacker-mode.
17249 (netbsd*): Remove case setting base_os.
17250 (386bsd*): Likewise.
17251 (freebsd*): Likewise.
17254 (sunos*): Likewise.
17255 (ultrix*): Likewise.
17256 (newsos*): Likewise.
17257 (dynix*): Likewise.
17263 (minix*): Likewise.
17264 (irix4*): Likewise.
17265 (irix6*): Likewise.
17266 (solaris[2-9]*): Likewise.
17268 * configure: Regenerated.
17270 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17273 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
17274 overflow or cancellation in calculating denominator.
17275 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
17276 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
17277 down expression to avoid unexpected rounding in newer GCCs.
17278 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
17280 2012-04-26 David S. Miller <davem@davemloft.net>
17282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
17283 long-double compat symbols.
17284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
17288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
17290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
17291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
17292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
17293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
17294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
17295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
17296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17298 2012-04-25 David S. Miller <davem@davemloft.net>
17300 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
17301 HWCAP_* values only after the memory barriers have been defined.
17302 (atomic_full_barrier): Define.
17303 (atomic_read_barrier): Define.
17304 (atomic_write_barrier): Define.
17306 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17308 * shlib-versions: Add libgcc_s version information.
17309 * sysdeps/generic/libgcc_s.h: Remove.
17310 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
17312 * sysdeps/gnu/unwind-resume.c: Likewise.
17313 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
17315 2012-04-25 David S. Miller <davem@davemloft.net>
17317 * sysdeps/unix/sparc/brk.S: Delete.
17318 * sysdeps/unix/sparc/dl-brk.S: Delete.
17319 * sysdeps/unix/sparc/pipe.S: Delete.
17320 * sysdeps/unix/sparc/sysdep.S: Delete.
17321 * sysdeps/unix/sparc/sysdep.h: Delete.
17322 * sysdeps/unix/sparc/vfork.S: Delete.
17323 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
17324 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
17325 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
17326 ret_ERRVAL, r0, r1, MOVE): Define.
17327 (JUMPTARGET): Remove.
17328 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
17329 sysdeps/unix/sparc/sysdep.h
17330 (ENTRY, END): Remove.
17331 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17333 2012-04-25 Joseph Myers <joseph@codesourcery.com>
17335 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
17336 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
17339 * timezone/README: Update upstream location and email address for
17341 * timezone/zdump.c: Update from tzcode 2012b.
17342 * timezone/zic.c: Likewise.
17344 * configure.in (libc_cv_as_needed): Remove test.
17345 * configure: Regenerated.
17346 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
17347 conditional definition.
17348 [$(have-as-needed) != yes] (no-as-needed): Likewise.
17349 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
17350 * config.make.in (have-as-needed): Remove variable.
17352 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17353 Paul Pluzhnikov <ppluzhnikov@google.com>
17355 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
17358 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
17360 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
17361 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
17362 * sysdeps/sh/strlen.S: Likewise.
17364 2012-04-24 Joseph Myers <joseph@codesourcery.com>
17366 * sysdeps/unix/fork.S: Remove file.
17367 * sysdeps/unix/i386/fork.S: Likewise.
17368 * sysdeps/unix/sparc/fork.S: Likewise.
17370 * sysdeps/unix/system.c: Remove file.
17371 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
17373 * sysdeps/unix/getegid.S: Remove file.
17374 * sysdeps/unix/geteuid.S: Likewise.
17376 2012-04-24 Roland McGrath <roland@hack.frob.com>
17378 * scripts/check-localplt.awk: New file.
17379 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
17381 * scripts/data/localplt-generic.data: Add a comment.
17383 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
17384 NODE when __dir_mkfile failed.
17385 * sysdeps/mach/hurd/symlinkat.c: Likewise.
17386 Reported by Ludovic Courtès <ludo@gnu.org>.
17388 2012-04-24 Andreas Jaeger <aj@suse.de>
17390 * Makerules (common-clean): Also remove gen-as-const-headers
17393 2012-04-24 Joseph Myers <joseph@codesourcery.com>
17395 * Makerules (native-compile): Do not change working directory for
17396 build. Use $(OUTPUT_OPTION) in command.
17397 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
17399 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17402 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
17403 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
17404 * math/libm-test.inc (floor_test): Add more tests.
17405 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
17407 2012-04-24 Joseph Myers <joseph@codesourcery.com>
17409 * sysdeps/unix/getdents.c: Remove file.
17410 * sysdeps/unix/sysv/getdents.c: Likewise.
17411 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
17413 * sysdeps/unix/syscalls.list (madvise): Add syscall from
17414 sysdeps/unix/mman/syscalls.list.
17416 (mprotect): Likewise.
17418 (munmap): Likewise.
17419 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
17420 * sysdeps/unix/mman/syscalls.list: Remove.
17421 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
17423 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
17424 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
17425 * configure: Regenerated.
17426 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
17427 $(libgcc_s_suffix).
17428 * config.make.in (libgcc_s_suffix): Remove variable.
17430 2012-04-23 Joseph Myers <joseph@codesourcery.com>
17432 * sysdeps/unix/sysv/gethostname.c: Move to ...
17433 * sysdeps/posix/gethostname.c: ... here.
17435 * sysdeps/unix/execve.S: Remove file.
17437 * sysdeps/unix/_exit.S: Remove file.
17439 2012-04-23 Andreas Jaeger <aj@suse.de>
17442 * manual/Makefile: Remove make dist support, there's no
17443 need for a stand-alone documentation tar ball.
17444 (TEXI2DVI): Define always, it's not in Makeconfig.
17447 (edition): Removed.
17448 (glibc-doc-$(edition).tar): Removed
17452 (ETAGS): Remove, it's in Makeconfig.
17453 (move-if-change): Remove, it's in Makeconfig.
17455 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
17458 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
17459 (strtod, strtof, strtold, strtol, strtoul, strtoq)
17460 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
17461 (strtod_l, strtof_l, strtold_l): Remove __wur.
17462 It is not necessarily an error to ignore strtol's return value.
17463 One can reliably look at the stored endptr to decide whether
17464 the number had valid syntax.
17466 2012-04-21 Andreas Jaeger <aj@suse.de>
17469 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
17471 2012-04-21 Joseph Myers <joseph@codesourcery.com>
17473 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
17474 * sysdeps/unix/sysv/Versions: Remove file.
17476 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
17479 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17481 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
17484 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
17485 version from __vm86.
17487 2012-04-20 Joseph Myers <joseph@codesourcery.com>
17489 * sysdeps/unix/common/lxstat.c: Remove file.
17490 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
17492 * sysdeps/unix/sysv/Makefile: Remove file.
17494 * sysdeps/unix/sysv/direct.h: Remove file.
17496 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
17497 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
17498 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
17499 * sysdeps/unix/sysv/bits/signum.h: Likewise.
17500 * sysdeps/unix/sysv/bits/stat.h: Likewise.
17501 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
17502 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
17504 * sysdeps/unix/sysv/setrlimit.c: Remove file.
17506 * sysdeps/unix/xmknod.c: Remove file.
17507 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
17509 * sysdeps/unix/sysv/settimeofday.c: Remove file.
17511 * sysdeps/unix/sysv/i386/time.S: Remove file.
17513 * sysdeps/unix/fxstat.c: Remove file.
17514 * sysdeps/unix/xstat.c: Likewise.
17515 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
17517 * sysdeps/unix/sysv/sigaction.c: Remove file.
17519 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
17520 (sysdep_headers): Remove variable.
17521 [termio.h not in sysdep_headers] (generated): Likewise.
17522 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
17523 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
17524 * sysdeps/unix/sysv/tcdrain.c: Likewise.
17525 * sysdeps/unix/sysv/tcflow.c: Likewise.
17526 * sysdeps/unix/sysv/tcflush.c: Likewise.
17527 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
17528 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
17529 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
17530 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
17531 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
17533 * sysdeps/unix/siglist.c: Remove file.
17535 * sysdeps/unix/getppid.S: Remove file.
17537 * sysdeps/unix/mkdir.c: Remove file.
17538 * sysdeps/unix/rmdir.c: Likewise.
17540 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
17542 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
17544 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
17545 errlist-compat value.
17547 2012-04-18 David S. Miller <davem@davemloft.net>
17549 * sysdeps/generic/memcopy.h (reg_char): Delete.
17550 * debug/strcat_chk.c: Use char, not reg_char.
17551 * debug/strcpy_chk.c: Likewise.
17552 * debug/strncat_chk.c: Likewise.
17553 * debug/strncpy_chk.c: Likewise.
17554 * string/memchr.c: Likewise.
17555 * string/memrchr.c: Likewise.
17556 * string/rawmemchr.c: Likewise.
17557 * string/strcat.c: Likewise.
17558 * string/strchr.c: Likewise.
17559 * string/strchrnul.c: Likewise.
17560 * string/strcmp.c: Likewise.
17561 * string/strcpy.c: Likewise.
17562 * string/strncat.c: Likewise.
17563 * string/strncmp.c: Likewise.
17564 * string/strncpy.c: Likewise.
17566 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17568 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
17569 __builtin_memcopy is called when src and dest ranges are known to not
17572 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17574 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
17575 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
17576 fwd_align_merge macro call.
17577 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
17578 bwd_align_merge macro call.
17579 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17581 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17583 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
17584 bwd_align_merge macros.
17585 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
17586 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
17587 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17589 2012-04-18 David S. Miller <davem@davemloft.net>
17591 * sysdeps/sparc/sparc64/memcopy.h: Delete.
17593 2012-04-18 Andreas Jaeger <aj@suse.de>
17596 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
17597 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
17598 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17600 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
17601 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
17602 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17604 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
17605 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
17606 Adjust for changed ldbl-128 files.
17608 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
17609 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
17610 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17612 2012-04-17 David S. Miller <davem@davemloft.net>
17614 * sysdeps/sparc/sparc32/memcopy.h: Delete.
17616 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
17618 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
17619 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
17620 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
17621 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
17622 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17623 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
17625 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17628 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
17629 * math/libm-test.inc: Add ilogb errno and exception tests.
17630 * math/w_ilogb.c: New file: ilogb wrapper.
17631 * math/w_ilogbf.c: New file: ilogbf wrapper.
17632 * math/w_ilogbl.c: New file: ilogbl wrapper.
17633 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
17634 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
17635 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
17636 exception being thrown with 0.0 as argument.
17637 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
17638 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
17639 exception being thrown with 0.0 as argument.
17640 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
17641 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17642 exception being thrown with 0.0 as argument.
17643 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
17644 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17645 exception being thrown with 0.0 as argument.
17646 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
17647 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
17648 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
17649 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
17650 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
17651 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
17652 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
17653 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
17654 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
17656 2012-04-17 Petr Baudis <pasky@ucw.cz>
17658 * include/sys/uio.h: Change __vector to __iovec to avoid clash
17661 2012-04-16 Marek Polacek <polacek@redhat.com>
17663 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
17665 2012-04-16 Marek Polacek <polacek@redhat.com>
17667 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
17668 operands of fdivp instruction.
17670 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17672 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
17673 * elf/tst-auditmod3b.c: Likewise.
17674 * elf/tst-auditmod4b.c: Likewise.
17675 * elf/tst-auditmod5b.c: Likewise.
17676 * elf/tst-auditmod6b.c: Likewise.
17677 * elf/tst-auditmod6c.c: Likewise.
17678 * elf/tst-auditmod7b.c: Likewise.
17679 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
17680 * sysdeps/x86_64/preconfigure.in: Likewise.
17681 * sysdeps/x86_64/preconfigure: Regenerated.
17683 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17685 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
17688 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
17690 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17691 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
17693 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
17696 * locale/iso-639.def: Fix gl language name. Spotted by
17699 2012-04-12 Roland McGrath <roland@hack.frob.com>
17702 * libio/libio.h (__io_write_fn): Update comment.
17704 2012-04-12 Petr Baudis <pasky@ucw.cz>
17707 * stdio.texi (Hook Functions): The user provided writer function
17708 is not allowed to return -1.
17710 2012-04-11 David S. Miller <davem@davemloft.net>
17712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17714 2012-04-11 Mike Frysinger <vapier@gentoo.org>
17716 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
17717 Add a leading slash to rtkaio.
17719 2012-04-11 Jim Meyering <meyering@redhat.com>
17722 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
17723 It is not necessarily an error to ignore fwrite's return
17724 value. One can reliably use ferror to test for errors after
17727 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17729 * bits/types.h (__snseconds_t): New type.
17730 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
17732 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
17733 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17734 (__SNSECONDS_T_TYPE): Likewise.
17735 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17736 (__SNSECONDS_T_TYPE): Likewise.
17737 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17738 (__SNSECONDS_T_TYPE): Likewise.
17740 2012-04-10 Andreas Jaeger <aj@suse.de>
17743 * manual/time.texi (Processor Time): Return type of times is
17744 elapsed real time since an arbitrary point in the past.
17745 (CPU Time): Move CLK_TCK from here...
17746 (Processor Time): ...to here. Correct description.
17747 * manual/conf.texi (Constants for Sysconf): Correct description of
17750 2012-04-10 David S. Miller <davem@davemloft.net>
17753 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
17754 where the is a gap between DT_REL(A) and DT_JMPREL.
17756 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17758 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
17759 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17760 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17762 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17764 * elf/dl-support.c (_dl_inhibit_cache): New variable.
17765 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
17766 (dl_main): Handle --inhibit-cache.
17767 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
17769 * elf/dl-load.c (_dl_map_object): Use it.
17770 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
17772 2012-04-09 Joseph Myers <joseph@codesourcery.com>
17775 * sysdeps/i386/fpu/e_powl.S (p78): New object.
17776 (__ieee754_powl): Saturate large exponents rather than testing for
17777 overflow of y*log2(x).
17778 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17779 * math/libm-test.inc (pow_test): Do not permit spurious overflow
17783 * math/s_ctan.c: Include <float.h>.
17784 (__ctan): Avoid internal overflow or cancellation in calculating
17786 * math/s_ctanf.c: Likewise.
17787 * math/s_ctanl.c: Likewise.
17788 * math/s_ctanh.c: Likewise.
17789 * math/s_ctanhf.c: Likewise.
17790 * math/s_ctanhl.c: Likewise.
17791 * math/libm-test.inc (ctan_test): Add more tests.
17792 (ctanh_test): Likewise.
17793 * sysdeps/i386/fpu/libm-test-ulps: Update.
17794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17796 2012-04-09 Andreas Jaeger <aj@suse.de>
17799 * manual/filesys.texi (Directory Entries): Mention that d_namlen
17800 is an optional BSD extension.
17803 * manual/stdio.texi (Opening Streams): Document additional fopen
17806 2012-04-09 Roland McGrath <roland@hack.frob.com>
17808 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
17809 %eax without telling the compiler.
17811 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
17814 * manual/install.texi: Use sourceware.org.
17816 2012-04-09 Joseph Myers <joseph@codesourcery.com>
17819 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17820 (__ieee754_pow): Generate overflow and underflow using huge*huge
17821 and tiny*tiny rather than just returning constant infinity or zero
17822 for large exponents.
17823 * math/libm-test.inc (pow_test): Require overflow exceptions for
17824 applicable cases of large exponents.
17827 * sysdeps/i386/fpu/e_pow.S (p10): New object.
17828 (__ieee754_pow): Use iterative multiplication algorithm only for
17829 integer exponents with absolute value below 1024. Check for odd
17830 integer exponents when using algorithm for real exponents.
17831 * math/libm-test.inc (pow_test): Add more tests.
17832 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17834 2012-04-08 Joseph Myers <joseph@codesourcery.com>
17837 * math/libm-test.inc (exp_test): Do not allow overflow exception
17840 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
17843 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17844 instead of __kernel_standard_f.
17846 2012-04-08 Mike Frysinger <vapier@gentoo.org>
17848 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17849 * sysdeps/x86_64/memset_chk.S: Likewise.
17851 2012-04-08 Andreas Jaeger <aj@suse.de>
17854 * manual/startup.texi (Environment Access): Describe return value
17855 for putenv and setenv.
17858 * manual/filesys.texi (Directory Entries): Add description for
17862 * manual/filesys.texi (Directory Entries): Clarify that it's file
17863 system not operating system in the description of DT_UNKNOWN.
17866 * manual/syslog.texi (closelog): Fix reference, it's openlog.
17868 2012-04-08 Stephen Compall <s11@member.fsf.org>
17871 * manual/llio.texi (Opening and Closing Files): Add cross
17872 reference to explain mode argument.
17874 2012-04-07 Mike Frysinger <vapier@gentoo.org>
17876 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17877 * sysdeps/x86_64/memset_chk.S: Likewise.
17879 2012-04-07 David S. Miller <davem@davemloft.net>
17881 * elf/elf.h (R_SPARC_WDISP10): Define.
17882 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17884 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17885 R_SPARC_SIZE64 and R_SPARC_H34.
17887 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
17889 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17890 conditions and remove no longer applicable assertion.
17892 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17894 * bits/byteswap.h: Include <features.h>.
17895 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17896 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17898 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17900 * bits/byteswap.h (__bswap_16): Removed.
17901 Include <bits/byteswap-16.h> to get __bswap_16.
17902 * sysdeps/i386/bits/byteswap.h: Likewise.
17903 * sysdeps/s390/bits/byteswap.h: Likewise.
17904 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17905 * bits/byteswap-16.h: New file.
17906 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17907 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17908 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17909 * string/Makefile (headers): Add bits/byteswap-16.h.
17911 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17914 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17916 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17917 * nss/tst-nss-static.c: New.
17919 2012-04-06 Robert Millan <rmh@gnu.org>
17922 * manual/llio.texi (File Position Primitive): lseek
17923 refers to WHENCE when it really means OFFSET.
17925 2012-04-06 Andreas Jaeger <aj@suse.de>
17927 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17928 strncmp declarations.
17930 * abilist/libc.abilist: Add __poll and __ppoll.
17932 2012-04-05 David S. Miller <davem@davemloft.net>
17934 * scripts/check-local-headers.sh: Accept a host triplet in the
17935 path matched by the exclude regexp.
17937 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17939 * sysdeps/powerpc/powerpc32/dl-machine.h
17940 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17941 * sysdeps/s390/s390-32/dl-machine.h
17942 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17943 * sysdeps/sparc/sparc32/dl-machine.h
17944 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17945 * sysdeps/sparc/sparc64/dl-machine.h
17946 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17948 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17950 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
17951 undefined symbol errors.
17953 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
17956 2012-04-05 Michael Matz <matz@suse.de>
17959 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17961 2012-04-05 Andreas Jaeger <aj@suse.de>
17964 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17967 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17969 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17970 which ROUND is no valid rounding mode.
17972 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17974 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17976 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17978 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17980 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17981 an exception using FPU order intentionally.
17983 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17985 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17986 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17987 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17988 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17990 2012-04-05 Simon Josefsson <simon@josefsson.org>
17993 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17994 EINVAL when BUFLEN is too smal.
17996 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17999 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
18000 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
18002 2012-04-03 Andreas Jaeger <aj@suse.de>
18005 * manual/setjmp.texi (System V contexts): Fix sentence.
18008 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
18009 New macro for this case.
18010 [!__GNUC__] (__bswap_64): New inline function for this case.
18011 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18012 * bits/byteswap.h: Likewise.
18013 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
18014 ull, guard with __GLIBC_HAVE_LONG_LONG.
18016 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
18017 __GLIBC_HAVE_LONG_LONG.
18019 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
18020 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
18022 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18025 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
18026 inptr and inend, rather than using last_ch.
18028 2012-04-02 David S. Miller <davem@davemloft.net>
18030 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
18031 * stdio-common/printf-parse.h (read_int): Change return type to
18032 'int', return -1 on INT_MAX overflow.
18033 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
18034 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
18035 overflows INT_MAX. Check for overflow of in-format-string precision
18036 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
18037 SIZE_MAX not INT_MAX for integer overflow test.
18038 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
18039 skip the construct in the format string but do not record anything.
18040 * stdio-common/bug22.c: Adjust to test both width/prevision
18041 INT_MAX overflow as well as total length INT_MAX overflow. Check
18042 explicitly for proper errno values.
18044 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
18046 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
18048 * string/test-strcmp.c [! WIDE]: Likewise.
18049 * time/tst-mktime2.c: Likewise for INT_MAX.
18050 * string/test-string.h: #include <sys/param.h> for MIN.
18052 * csu/init-first.c (__libc_init_first): Call __ctype_init.
18053 * sysdeps/i386/init-first.c (init): Likewise.
18054 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
18055 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
18056 * sysdeps/sh/init-first.c (init): Likewise.
18058 2012-04-01 Ulrich Drepper <drepper@gmail.com>
18060 * po/ru.po: Update from translation team.
18061 * po/vi.po: Likewise.
18063 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18065 * resolv/nss_dns/dns-host.c: Merge copyright years.
18067 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18069 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18070 Optimize memcpy with prefetch if
18071 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
18072 src, dst pointers have unequal 16 byte alignments.
18074 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18077 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
18078 from a CNAME entry and return the minimum ttl for the query.
18079 (gaih_getanswer_slice): Likewise.
18081 2012-03-30 Jeff Law <law@redhat.com>
18083 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
18085 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
18086 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
18088 * resolv/nss_dns/dns-host.c: Update copyright year.
18090 2012-03-30 Ulrich Drepper <drepper@gmail.com>
18092 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
18093 requests to save a system call. Fix check that all bytes are sent.
18095 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
18096 comments for sendmmsg.
18098 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18101 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
18102 with only 1 character between 0x0041 and 0x01b0.
18103 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
18104 * wcsmbs/tst-mbsnrtowcs.c: New file.
18106 2012-03-29 David S. Miller <davem@davemloft.net>
18108 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
18109 small copies by hand.
18111 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18114 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
18115 _nss_compat_initgroups_dyn): Fall back to malloc/free
18116 for large group memberships.
18118 2012-03-28 David S. Miller <davem@davemloft.net>
18120 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
18121 that branches into memcpy.
18122 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18123 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
18124 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18125 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
18126 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
18128 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
18129 implementation too.
18130 * sysdeps/sparc/mempcpy.S: New file.
18132 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
18133 the IFUNC routine in the libc case.
18134 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18136 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
18137 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
18138 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
18139 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
18140 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
18141 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
18142 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
18143 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
18145 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
18146 loop to 256 bytes instead of 64 bytes and fix test signedness.
18148 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
18149 * sysdeps/sparc/sparc32/Makefile: rather than here...
18150 * sysdeps/sparc/sparc64/Makefile: and here.
18152 2012-03-28 Ulrich Drepper <drepper@gmail.com>
18154 * malloc/mallocbug.c: Avoid warnings about unused variables.
18156 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18159 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
18160 in the right place. Discard and retry query if response is
18161 larger than input buffer size.
18163 2012-03-28 Joseph Myers <joseph@codesourcery.com>
18168 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
18169 x for large integer exponent.
18170 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18171 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
18172 sign of result as needed afterwards.
18173 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18174 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
18175 result for underflowing pow the same as for overflow.
18176 (__kernel_standard_l): Handle powl overflow and underflow here
18177 rather than calling __kernel_standard.
18178 * math/libm-test.inc (pow_test): Add more tests.
18193 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
18194 * sysdeps/ieee754/k_standard.c: Include <float.h>.
18195 (__kernel_standard_l): New function.
18196 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
18198 * math/w_acosl.c (__acosl): Likewise.
18199 * math/w_asinl.c (__asinl): Likewise.
18200 * math/w_atan2l.c (__atan2l): Likewise.
18201 * math/w_atanhl.c (__atanhl): Likewise.
18202 * math/w_coshl.c (__coshl): Likewise.
18203 * math/w_exp10l.c (__exp10l): Likewise.
18204 * math/w_exp2l.c (__exp2l): Likewise.
18205 * math/w_fmodl.c (__fmodl): Likewise.
18206 * math/w_hypotl.c (__hypotl): Likewise.
18207 * math/w_j0l.c (__j0l, __y0l): Likewise.
18208 * math/w_j1l.c (__j1l, __y1l): Likewise.
18209 * math/w_jnl.c (__jnl, __ynl): Likewise.
18210 * math/w_lgammal.c (__lgammal): Likewise.
18211 * math/w_log10l.c (__log10l): Likewise.
18212 * math/w_log2l.c (__log2l): Likewise.
18213 * math/w_logl.c (__logl): Likewise.
18214 * math/w_powl.c (__powl): Likewise.
18215 * math/w_remainderl.c (__remainderl): Likewise.
18216 * math/w_scalbl.c (sysv_scalbl): Likewise.
18217 * math/w_sinhl.c (__sinhl): Likewise.
18218 * math/w_sqrtl.c (__sqrtl): Likewise.
18219 * math/w_tgammal.c (__tgammal): Likewise.
18220 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
18221 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
18222 * math/libm-test.inc (acos_test): Add more tests.
18223 (acosh_test): Likewise.
18224 (asin_test): Likewise.
18225 (atanh_test): Likewise.
18226 (exp_test): Likewise.
18227 (exp10_test): Likewise.
18228 (exp2_test): Likewise.
18229 (expm1_test): Likewise.
18230 (lgamma_test): Likewise.
18231 (log_test): Likewise.
18232 (log10_test): Likewise.
18233 (log1p_test): Likewise.
18234 (log2_test): Likewise.
18235 (pow_test): Do not allow some spurious overflow exceptions.
18236 (sqrt_test): Add more tests.
18237 (tgamma_test): Likewise.
18238 (y0_test): Likewise.
18239 (y1_test): Likewise.
18240 (yn_test): Likewise.
18242 2012-03-27 Anton Blanchard <anton@samba.org>
18244 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
18246 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18247 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18248 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18250 2012-03-27 David S. Miller <davem@davemloft.net>
18252 * conform/Makefile: Run run-conformtest.sh using $(BASH).
18254 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
18255 have-as-vis3 check.
18257 2012-03-27 Andreas Jaeger <aj@suse.de>
18259 * sysdeps/x86_64/elf/configure.in: Moved to ...
18260 * sysdeps/x86_64/configure.in: ... here.
18261 * sysdeps/x86_64/elf/start.S: Moved to ...
18262 * sysdeps/x86_64/start.S: ... here.
18263 * sysdeps/x86_64/elf/configure: Delete.
18265 * sysdeps/x86_64/configure.in: Merge contents from
18266 sysdeps/i386/configure.in (without i686 check).
18268 * sysdeps/i386/elf/Versions: Merge into ...
18269 * sysdeps/i386/Versions: ... this.
18270 * sysdeps/i386/elf/Versions: Delete file.
18271 * sysdeps/i386/elf/start.S: Moved to ...
18272 * sysdeps/i386/start.S: ...here.
18273 * sysdeps/i386/elf/configure.in: Merge into...
18274 * sysdeps/i386/configure.in: ...here.
18275 * sysdeps/i386/elf/configure.in: Delete file.
18276 * sysdeps/i386/elf/configure: Delete file.
18278 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
18279 * debug/backtracesyms.c: ... here.
18280 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
18281 * debug/backtracesymsfd.c: ... here.
18282 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
18283 * sysdeps/generic/ifunc-sel.h: ... here.
18285 * sysdeps/unix/i386/start.c: Delete file.
18286 * sysdeps/unix/sparc/start.c: Delete file.
18287 * sysdeps/unix/start.c: Delete file.
18289 * sysdeps/sh/elf/configure.in: Moved to ...
18290 * sysdeps/sh/configure.in: ... here.
18291 * sysdeps/sh/elf/start.S: Moved to ...
18292 * sysdeps/sh/start.S: ... here.
18293 * sysdeps/sh/elf/configure: Delete file.
18295 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
18296 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
18297 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
18298 * sysdeps/powerpc/powerpc64/entry.h: ... here.
18299 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
18300 * sysdeps/powerpc/powerpc64/start.S: here.
18301 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
18302 * sysdeps/powerpc/powerpc64/Makefile: ... this.
18303 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
18304 * sysdeps/powerpc/powerpc64/configure.in: ... this.
18305 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
18307 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
18308 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
18309 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
18310 * sysdeps/powerpc/powerpc32/start.S: ... here.
18311 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
18312 * sysdeps/powerpc/powerpc32/configure.in: ... this.
18313 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
18315 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
18316 * sysdeps/powerpc/ifunc-sel.h: ... here.
18317 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
18318 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
18320 * sysdeps/sparc/elf/configure.in: Moved to ...
18321 * sysdeps/sparc/configure.in: ... here.
18322 * sysdeps/sparc/elf/configure: Delete file.
18323 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
18324 * sysdeps/sparc/sparc32/start.S: ... here.
18325 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
18326 * sysdeps/sparc/sparc64/start.S: ... here.
18327 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
18328 * sysdeps/sparc/sparc32/Makefile: ... this.
18329 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
18330 * sysdeps/sparc/sparc64/Makefile: ... this.
18332 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
18333 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
18334 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
18335 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
18336 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
18337 * sysdeps/s390/s390-32/setjmp.S: ... here.
18338 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
18339 * sysdeps/s390/s390-32/configure.in: ... here.
18340 * sysdeps/s390/s390-32/elf/configure: Delete file.
18341 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
18342 * sysdeps/s390/s390-32/start.S: ... here.
18344 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
18345 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
18346 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
18347 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
18348 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
18349 * sysdeps/s390/s390-64/setjmp.S: ... here.
18350 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
18351 * sysdeps/s390/s390-64/configure.in: ... here
18352 * sysdeps/s390/s390-64/elf/configure: Delete file.
18353 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
18354 * sysdeps/s390/s390-64/start.S: ... here.
18355 * sysdeps/s390/s390-64/elf/configure: Delete.
18357 * configure.in: Remove support for elf directories in sysdeps.
18359 * configure: Regenerated.
18360 * sysdeps/i386/configure: Regenerated.
18361 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18362 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18363 * sysdeps/s390/s390-32/configure: Regenerated.
18364 * sysdeps/s390/s390-64/configure: Regenerated.
18365 * sysdeps/sh/configure: Regenerated.
18366 * sysdeps/sparc/configure: Regenerated.
18367 * sysdeps/x86_64/configure: Regenerated.
18369 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
18371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18373 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
18374 denormal result into account.
18376 2012-03-25 Roland McGrath <roland@hack.frob.com>
18378 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
18379 Reported by Allan McRae <allan@archlinux.org>.
18381 2012-03-23 Jeff Law <law@redhat.com>
18383 * nss/getnssent.c (__nss_getent): Fix typo.
18385 2012-03-23 David S. Miller <davem@davemloft.net>
18387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18389 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
18391 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
18392 to pad to uint64_t for each field.
18393 (dl_tls_index): Replace unsigned long with uint64_t.
18395 2012-03-23 Daniel Jacobowitz <dmj@google.com>
18396 Paul Pluzhnikov <ppluzhnikov@google.com>
18399 * grp/Makefile (otherlibs): Don't set it.
18400 * inet/Makefile (otherlibs): Likewise.
18401 * login/Makefile (otherlibs): Likewise.
18402 * nscd/Makefile (otherlibs): Likewise.
18403 * posix/Makefile (otherlibs): Likewise.
18404 * pwd/Makefile (otherlibs): Likewise.
18405 * rt/Makefile (otherlibs): Likewise.
18406 * sunrpc/Makefile (otherlibs): Likewise.
18407 * nss/Makefile (otherlibs): Likewise.
18408 Add libnss_files to routines and static-only-routines.
18409 ($(objpfx)getent): Remove rule.
18410 * resolv/Makefile: Add libnss_dns and libresolv to routines and
18411 static-only-routines.
18413 2012-03-22 Joseph Myers <joseph@codesourcery.com>
18416 * math/s_cexp.c: Include <float.h>.
18417 (__cexp): Handle exp result overflowing not necessarily
18418 overflowing both real and imaginary parts of result.
18419 * math/s_cexpf.c: Likewise.
18420 * math/s_cexpl.c: Likewise.
18421 * math/libm-test.inc (cexp_test): Add more tests.
18422 * sysdeps/i386/fpu/libm-test-ulps: Update.
18423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18425 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18427 * include/link.h (ELFW): New macro.
18428 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
18429 Replace ELF64_R_TYPE with ELFW(R_TYPE).
18431 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18433 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
18436 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18438 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
18440 (struct La_x32_retval): Likewise.
18442 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18444 * sysdeps/x86_64/preconfigure.in: New file.
18445 * sysdeps/x86_64/preconfigure: New generated file.
18447 2012-03-22 Joseph Myers <joseph@codesourcery.com>
18450 * math/e_exp2l.c: Include <float.h>.
18451 (__ieee754_exp2l): Handle overflow and underflow cases
18452 separately. Only pass fractional part of argument to
18454 * math/libm-test.inc (exp2_test): Add more tests.
18456 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
18457 negating x to take absolute value.
18458 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
18460 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18461 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
18463 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
18464 computing low part if x was negated.
18465 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18467 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18469 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
18470 la_x32_gnu_pltexit.
18471 (pltexit): Cast int_retval to ptrdiff_t.
18472 * elf/tst-auditmod3b.c: Likewise.
18473 * elf/tst-auditmod4b.c: Likewise.
18474 * elf/tst-auditmod5b.c: Likewise.
18475 * elf/tst-auditmod6b.c: Likewise.
18476 * elf/tst-auditmod6c.c: Likewise.
18477 * elf/tst-auditmod7b.c: Likewise.
18479 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
18480 and x32_gnu_pltexit.
18482 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
18483 __ELF_NATIVE_CLASS.
18484 (La_x32_regs): New macro.
18485 (La_x32_retval): Likewise.
18486 (la_x32_gnu_pltenter): New function prototype.
18487 (la_x32_gnu_pltexit): Likewise.
18489 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
18491 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
18494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18496 * configure.in (libc_cv_cc_nofma): Check for option to disable
18497 generation of FMA instructions.
18498 * configure: Regenerate.
18499 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
18500 * sysdeps/ieee754/dbl-64/Makefile: New file.
18501 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18502 Remove brandred-fma4.
18503 (CFLAGS-brandred-fma4.c): Remove.
18504 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
18505 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
18507 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
18510 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18512 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18513 LLONG_MAX != LONG_MAX.
18514 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18515 (_fitoa_word): Likewise.
18516 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
18517 LLONG_MAX != LONG_MAX.
18518 * stdio-common/_itowa.h: Include <_itoa.h>.
18519 (_itowa_word): Use _ITOA_WORD_TYPE on value.
18520 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
18521 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
18522 only if not defined.
18523 (_ITOA_WORD_TYPE): Likewise.
18524 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18525 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
18527 2012-03-21 David S. Miller <davem@davemloft.net>
18529 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18531 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18533 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
18534 of x86_64 when setting libc_cv_slibdir, libdir and
18536 * sysdeps/unix/sysv/linux/configure: Regenerated.
18538 2012-03-21 Joseph Myers <joseph@codesourcery.com>
18540 * manual/lang.texi (Old Varargs): Remove section.
18541 (How Variadic): Update menu.
18542 (va_start): Do not mention varargs.h.
18544 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18545 Joseph Myers <joseph@codesourcery.com>
18547 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
18549 * configure: Regenerated.
18551 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18553 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
18554 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
18557 2012-03-21 Joseph Myers <joseph@codesourcery.com>
18560 * Makefile (files-for-dist): Remove NOTES.
18561 (NOTES): Remove rule.
18562 * README: Don't refer to NOTES.
18563 * manual/creature.texi: Don't include macros.texi.
18564 * manual/intro.texi (creature.texi): Remove comment referring to
18567 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
18568 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
18569 * configure: Regenerated.
18570 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
18571 LIBC_TRY_CC_OPTION.
18572 (libc_cv_as_i686): Likewise.
18573 (libc_cv_cc_avx): Likewise.
18574 (libc_cv_cc_sse2avx): Likewise.
18575 (libc_cv_cc_fma4): Likewise.
18576 (libc_cv_cc_novzeroupper): Likewise.
18577 * sysdeps/i386/configure: Regenerated.
18580 * sysdeps/i386/fpu/s_cexp.S: Remove.
18581 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18582 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18583 * math/libm-test.inc (cexp_test): Add more tests.
18584 * sysdeps/i386/fpu/libm-test-ulps: Update.
18585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18587 2012-03-21 Allan McRae <allan@archlinux.org>
18589 * timezone/Makefile: Do not install iso3166.tab and zone.tab
18591 2012-03-21 Joseph Myers <joseph@codesourcery.com>
18594 * math/w_exp2.c: Do not include <float.h>.
18595 (o_threshold, u_threshold): Remove.
18596 (__exp2): Calculate result before checking finiteness and calling
18598 * math/w_exp2f.c: Likewise.
18599 * math/w_exp2l.c: Likewise.
18600 * math/libm-test.inc (exp2_test): Require overflow exception for
18604 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
18605 range of signed 64-bit integers before using fistpll. Remove
18606 checks for whether integers fit in mantissa bits.
18607 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
18608 the range of signed 32-bit integers before using fistpl. Remove
18609 checks for whether integers fit in mantissa bits.
18610 * sysdeps/i386/fpu/e_powl.S (p64): New object.
18611 (__ieee754_powl): Test for y outside the range of signed 64-bit
18612 integers before using fistpll. Reduce 64-bit values to 63-bit
18614 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
18615 divide-by-zero is raised for zero to large negative powers.
18616 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
18617 (__ieee754_powl): Test for y outside the range of signed 64-bit
18618 integers before using fistpll. Reduce 64-bit values to 63-bit
18620 * math/libm-test.inc (pow_test): Add more tests.
18622 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18624 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
18625 <stdio-common/_itoa.h>.
18626 * debug/segfault.c: Likewise.
18627 * elf/dl-cache.c: Likewise.
18628 * elf/dl-minimal.c: Likewise.
18629 * elf/dl-misc.c: Likewise.
18630 * elf/dl-sysdep.c: Likewise.
18631 * elf/dl-version.c: Likewise.
18632 * elf/rtld.c: Likewise.
18633 * hurd/hurdsock.c: Likewise.
18634 * hurd/lookup-retry.c: Likewise.
18635 * malloc/malloc.c: Likewise.
18636 * malloc/mtrace.c: Likewise.
18637 * nscd/nscd_getgr_r.c: Likewise.
18638 * nscd/nscd_getpw_r.c: Likewise.
18639 * nscd/nscd_getserv_r.c: Likewise.
18640 * posix/getopt_init.c: Likewise.
18641 * posix/wordexp.c: Likewise.
18642 * stdio-common/_itoa.c: Likewise.
18643 * stdio-common/printf_fphex.c: Likewise.
18644 * stdio-common/vfprintf.c: Likewise.
18645 * string/_strerror.c: Likewise.
18646 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
18647 * sysdeps/i386/i686/hp-timing.h: Likewise.
18648 * sysdeps/mach/_strerror.c: Likewise.
18649 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
18650 * sysdeps/mach/hurd/sethostid.c: Likewise.
18651 * sysdeps/mach/hurd/xmknodat.c: Likewise.
18652 * sysdeps/mach/xpg-strerror.c: Likewise.
18653 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18654 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18655 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
18656 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
18657 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18658 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
18659 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
18660 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
18661 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
18662 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
18663 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
18664 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18665 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
18666 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18667 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18668 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
18669 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
18670 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
18671 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18672 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18673 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
18675 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
18677 * stdio-common/_itoa.h: Moved to ...
18678 * sysdeps/generic/_itoa.h: Here.
18680 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
18682 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
18683 instead of "_itoa.h" and "_itowa.h".
18684 * stdio-common/vfprintf.: Likewise.
18686 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18688 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
18690 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
18691 (__signbit): Likwise.
18692 (llrintf): Likwise.
18695 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18697 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
18700 2012-03-20 Joseph Myers <joseph@codesourcery.com>
18702 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
18703 OVERFLOW_EXCEPTION_OK.
18704 * math/libm-test.inc ("Philosophy"): Update comment about
18706 (OVERFLOW_EXCEPTION): Define.
18707 (OVERFLOW_EXCEPTION_OK): Likewise.
18708 (INVALID_EXCEPTION_OK): Renumber.
18709 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18710 (IGNORE_ZERO_INF_SIGN): Likewise.
18711 (test_exceptions): Handle FE_OVERFLOW.
18712 (exp10_test): Expect overflow exceptions.
18713 (exp2_test): Likewise.
18714 (expm1_test): Likewise.
18715 (nextafter_test): Likewise.
18716 (pow_test): Likewise.
18717 (scalbn_test): Likewise.
18718 (scalbln_test): Likewise.
18720 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18722 * sysdeps/x86_64/bits/atomic.h
18723 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
18725 (atomic_exchange_acq): Likewise.
18726 (__arch_exchange_and_add_body): Likewise.
18727 (__arch_add_body): Likewise.
18728 (atomic_add_negative): Likewise.
18729 (atomic_add_zero): Likewise.
18731 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18733 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
18734 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
18736 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18738 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
18739 Check __x86_64__ instead of __WORDSIZE.
18741 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18743 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
18745 2012-03-19 David S. Miller <davem@davemloft.net>
18747 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18749 * sysdeps/sparc/fpu/fenv_private.h: New file.
18750 * sysdeps/sparc/fpu/math_private.h: Use it.
18751 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
18753 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
18754 (libc_feholdexcept_setroundl): Remove.
18755 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
18757 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
18758 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
18760 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18762 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
18763 int64_t instead of long int.
18764 (INSERT_WORDS64): Likwise.
18766 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18768 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
18769 _Unwind_GetCFA return to _Unwind_Ptr first.
18771 2012-03-19 Joseph Myers <joseph@codesourcery.com>
18774 * math/s_clog.c: Include <float.h>.
18775 (__clog): Scale large or subnormal inputs.
18776 * math/s_clogf.c: Likewise.
18777 * math/s_clogl.c: Likewise.
18778 * math/s_clog10.c: Include <float.h>.
18779 (M_LOG10_2): Define.
18780 (__clog10): Scale large or subnormal inputs.
18781 * math/s_clog10f.c: Likewise.
18782 * math/s_clog10l.c: Likewise.
18783 * math/libm-test.inc (clog_test): Add more tests.
18784 (clog10_test): Likewise.
18785 * sysdeps/i386/fpu/libm-test-ulps: Update.
18786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18789 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
18791 * math/libm-test.inc (atan2_test): Add another test.
18793 * Makerules (common-objdir-compile): Remove.
18794 * sysdeps/unix/Makefile (config-generated): Do not add
18795 $(unix-generated) to variable.
18796 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
18797 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
18799 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
18801 [generic bits/local_lim.h] (before-compile): Do not append to
18803 [generic bits/local_lim.h] (common-generated): Likewise.
18804 [generic sys/param.h] (before-compile): Do not append to variable.
18805 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
18806 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
18807 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
18808 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
18810 [generic sys/param.h] (sys/param.h-includes): Remove variable.
18811 [generic sys/param.h] (sys/param.h-includes): Remove rule.
18812 [generic sys/param.h] ($(addprefix
18813 $(common-objpfx),$(sys/param.h-includes))): Likewise.
18814 [generic sys/param.h] (common-generated): Do not append to
18816 [generic sys/param.h] (sysdep_headers): Likewise.
18817 [generic bits/errno.h] (before-compile): Do not append to
18819 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18821 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18822 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18823 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18824 [generic bits/errno.h] (common-generated): Do not append to
18826 [generic bits/ioctls.h] (before-compile): Do not append to
18828 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18830 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18831 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18832 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18834 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18835 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18836 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18837 [generic bits/ioctls.h] (common-generated): Do not append to
18839 [generic sys/syscall.h] (syscall.h): Remove variable.
18840 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18842 [generic sys/syscall.h] (before-compile): Do not append to
18844 [generic sys/syscall.h] (common-generated): Likewise.
18845 * sysdeps/unix/errnos-tmpl.c: Remove file.
18846 * sysdeps/unix/errnos.awk: Likewise.
18847 * sysdeps/unix/ioctls-tmpl.c: Likewise.
18848 * sysdeps/unix/ioctls.awk: Likewise.
18849 * sysdeps/unix/mk-local_lim.c: Likewise.
18850 * sysdeps/unix/snarf-ioctls: Likewise.
18852 2012-03-19 Richard Henderson <rth@twiddle.net>
18854 * sysdeps/i386/fpu/fenv_private.h: New file.
18855 * sysdeps/i386/fpu/math_private.h: Use it.
18856 (math_opt_barrier, math_force_eval): Remove.
18857 (libc_feholdexcept_setround_53bit): Remove.
18858 (libc_feupdateenv_53bit): Remove.
18859 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18860 (math_opt_barrier, math_force_eval): Remove.
18861 (libc_feholdexcept): Remove.
18862 (libc_feholdexcept_setround): Remove.
18863 (libc_fetestexcept, libc_fesetenv): Remove.
18864 (libc_feupdateenv_test): Remove.
18865 (libc_feupdateenv, libc_feholdsetround): Remove.
18866 (libc_feresetround): Remove.
18868 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18869 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18871 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18872 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18873 (libc_feupdateenv_testl): New.
18874 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18875 (libc_feupdateenv_testf): New.
18876 (libc_feupdateenv): Use libc_feupdateenv_test.
18877 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18878 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18880 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18881 (libc_feholdsetroundf, libc_feholdsetroundl): New.
18882 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18883 (libc_feresetround_noex): New.
18884 (libc_feresetround_noexf): New.
18885 (libc_feresetround_noexl): New.
18886 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18887 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18888 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18889 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18891 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18892 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18894 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18895 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18896 SET_RESTORE_ROUND_NOEX.
18897 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18898 SET_RESTORE_ROUND_NOEXF.
18899 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18900 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18901 (libc_feholdsetroundf): New.
18902 (libc_feresetround, libc_feresetroundf): New.
18904 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18905 (libc_feholdexcept_setround_53bit): Convert from macro to function.
18906 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
18908 * sysdeps/generic/math_private.h: Include <fenv.h>.
18909 (default_libc_feholdexcept): New.
18910 (default_libc_feholdexcept_setround): New.
18911 (default_libc_fesetenv, default_libc_feupdateenv): New.
18912 (libc_feholdexcept): Only define if undefined.
18913 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18914 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18915 (libc_feholdexcept_setroundl): Likewise.
18916 (libc_feholdexcept_setround_53bit): Likewise.
18917 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18918 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18919 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18920 (libc_feupdateenv_53bit): Likewise.
18921 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18922 (libc_feholdexcept): Convert from macro to inline function.
18923 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18924 (libc_fesetenv, libc_feupdateenv): Likewise.
18926 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18927 not previously defined.
18928 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18929 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18930 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18931 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18932 * sysdeps/ieee754/flt-32/math_private.h: New file.
18933 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18934 math_private.h below SET_FLOAT_WORD.
18935 (__isnan, __isinf_ns, __finite): Remove.
18936 (__isnanf, __isinf_nsf, __finitef): Remove.
18938 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18940 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18942 2012-03-17 David S. Miller <davem@davemloft.net>
18945 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18948 2012-03-16 David S. Miller <davem@davemloft.net>
18950 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18954 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18956 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18957 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18958 sysdep_routines when subdir is sysvipc.
18959 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18960 __getshmlba helper.
18962 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18964 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18966 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18969 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18971 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18972 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18973 (__lround): Renamed to ...
18974 (__llround): This. Replace long int with long long int.
18975 Define lround functions as aliases of llround functions.
18976 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18978 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18980 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18981 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18982 adresses to uintptr_t. Replace "long int" and "unsigned long
18983 int" with "greg_t" on va_arg.
18985 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18987 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18988 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18990 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18991 Move e_machine check before EI_CLASS check. Handle x32
18992 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18993 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18994 SKIP_EM_IA_64 and include
18995 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18997 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18998 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18999 (add_system_dir): New macro.
19001 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
19002 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
19004 2012-03-16 Joseph Myers <joseph@codesourcery.com>
19015 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
19017 * math/w_j0f.c (j0f): Likewise.
19019 * math/w_j0l.c (__j0l): Likewise.
19021 * math/w_j1.c (j1): Likewise.
19023 * math/w_j1f.c (j1f): Likewise.
19025 * math/w_j1l.c (__j1l): Likewise.
19027 * math/w_jn.c (jn): Likewise.
19029 * math/w_jnf.c (jnf): Likewise.
19031 * math/w_jnl.c (__jnl): Likewise.
19033 * math/libm-test.inc (j0_test): Add more tests.
19034 (j1_test): Likewise.
19035 (jn_test): Likewise. Add trailing semicolon to existing test.
19036 (y0_test): Likewise.
19037 (y1_test): Likewise.
19038 * sysdeps/i386/fpu/libm-test-ulps: Update.
19039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19043 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
19044 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
19045 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
19046 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
19047 (__tanl): Set errno for infinite argument.
19048 * sysdeps/i386/fpu/mptan.c: Remove.
19049 * sysdeps/i386/fpu/s_tan.S: Likewise.
19050 * sysdeps/i386/fpu/s_tanl.S: Likewise.
19051 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
19052 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
19053 * math/libm-test.inc (tan_test): Add more tests and enable more
19054 tests for double and long double.
19055 * sysdeps/i386/fpu/libm-test-ulps: Update.
19056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19058 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19060 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
19061 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
19063 2012-03-16 Roland McGrath <roland@hack.frob.com>
19065 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
19066 * configure.in: Use it for both main tree and add-ons.
19067 * configure: Regenerated.
19069 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19071 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
19073 2012-03-16 Joseph Myers <joseph@codesourcery.com>
19075 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
19079 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
19080 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
19081 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
19082 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
19083 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
19085 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
19086 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
19087 != 0 for prec == 2.
19088 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
19089 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
19090 * sysdeps/i386/fpu/s_cosl.S: Likewise.
19091 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
19092 * sysdeps/i386/fpu/s_sinl.S: Likewise.
19093 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
19094 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
19095 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
19096 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
19097 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
19098 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
19099 * math/libm-test.inc (cos_test): Add more tests and enable more
19100 tests for long double.
19101 (sin_test): Likewise.
19102 (sincos_test): Likewise.
19103 * sysdeps/i386/fpu/libm-test-ulps: Update.
19104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19106 2012-03-16 David S. Miller <davem@davemloft.net>
19108 * sysdeps/sparc/fpu/math_private.h: New file.
19110 2012-03-15 David S. Miller <davem@davemloft.net>
19112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
19114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
19115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
19117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
19118 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
19119 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
19120 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
19121 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
19122 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
19124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19126 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
19127 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
19129 * sysdeps/sparc/sparc-ifunc.h: New file.
19130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
19132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
19135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
19137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
19138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
19139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
19144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
19146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
19148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
19150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
19152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
19153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
19154 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19155 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19156 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
19157 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
19158 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19159 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19160 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
19161 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
19162 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
19163 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
19164 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
19165 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
19166 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
19167 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
19168 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
19169 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
19170 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
19171 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
19172 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
19173 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
19175 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
19177 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
19179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19181 2012-03-15 Andreas Jaeger <aj@suse.de>
19184 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
19185 ieee754/flt-32 implementation for sin, cos and sincos.
19186 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
19187 * sysdeps/i386/fpu/s_cosf.S: Likewise.
19188 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
19189 * sysdeps/i386/fpu/s_sinf.S: Likewise.
19190 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
19191 ieee754/flt-32 implementation for tan.
19193 * math/libm-test.inc (cos_test): Enable some large input tests for
19195 (sin_test): Likewise.
19196 (sincos_test): Likewise.
19197 (tan_test): Add tests for large input.
19199 * sysdeps/i386/fpu/libm-test-ulps: Update.
19201 2012-03-15 Andreas Jaeger <aj@suse.de>
19204 * math/libm-test.inc (cos_test): Add more test cases.
19205 (sin_test): Likewise.
19206 (sincos_test): Likewise.
19208 2012-03-15 Andreas Jaeger <aj@suse.de>
19211 * math/libm-test.inc (cos_test): Add a test case for large input
19213 (sin_test): Likewise.
19214 (sincos_test): Likewise.
19216 2012-03-15 Andreas Jaeger <aj@suse.de>,
19217 Joseph Myers <joseph@codesourcery.com>
19220 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
19221 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
19222 * sysdeps/i386/fpu/branred.c: Likewise.
19223 * sysdeps/i386/fpu/dosincos.c: Likewise.
19224 * sysdeps/i386/fpu/mpa.c: Likewise.
19225 * sysdeps/i386/fpu/s_cos.S: Likewise.
19226 * sysdeps/i386/fpu/s_sin.S: Likewise.
19227 * sysdeps/i386/fpu/s_sincos.S: Likewise.
19228 * sysdeps/i386/fpu/sincos32.c: Likewise.
19230 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
19232 (libc_feupdateenv_53bit): Define.
19233 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
19235 (libc_feupdateenv_53bit): Define.
19237 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
19238 53 bit (without extend i386 double precision).
19240 * math/libm-test.inc (sincos_test): Add tests for large input.
19244 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19246 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
19248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19250 2012-03-15 David S. Miller <davem@davemloft.net>
19252 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
19253 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
19254 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
19255 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
19256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
19257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
19258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
19259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
19260 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
19261 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
19262 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
19263 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
19264 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
19265 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
19266 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
19267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
19269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
19270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
19272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
19273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
19275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
19276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
19278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
19279 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
19280 fmin/fmax sysdep routines.
19281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19283 2012-03-14 David S. Miller <davem@davemloft.net>
19285 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
19286 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
19287 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
19288 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
19289 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
19290 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
19291 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
19292 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
19293 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
19294 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
19295 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
19296 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
19297 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
19298 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
19299 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
19300 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
19301 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
19302 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
19303 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
19304 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
19305 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
19306 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
19307 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
19308 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
19309 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
19310 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
19311 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
19312 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
19313 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
19315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
19317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
19318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
19320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
19321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
19323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
19324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
19326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
19327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
19329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
19330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
19332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
19334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
19336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
19338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
19340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
19342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
19344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
19345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
19347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
19348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
19350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
19351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
19353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
19354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
19357 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19360 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19362 * sysdeps/sparc/configure.in: New file.
19363 * sysdeps/sparc/configure: Generate.
19364 * configure.in (libc_cv_sparc_as_vis3): Substitute.
19365 * configure: Regenerate.
19366 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
19367 * config.make.in (have-as-vis3): New.
19368 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
19369 available use -Av9d instead of -Av9a.
19370 * sysdeps/sparc/sparc64/Makefile: Likewise.
19371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
19372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
19374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
19376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
19378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
19380 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
19381 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
19382 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
19383 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
19384 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
19386 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
19387 fzeros/fnegs to load 0x80000000 into a float register instead of
19389 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
19391 2012-03-14 Joseph Myers <joseph@codesourcery.com>
19393 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19395 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
19396 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
19397 ($(inst_includedir)/bits/syscall.h): Remove rule.
19398 ($(objpfx)bits/syscall.d): Include instead of
19399 $(objpfx)syscall-list.d.
19400 (generated): Change syscall-list.h and syscall-list.d to
19401 bits/syscall.h and bits/syscall.d.
19403 2012-03-14 Roland McGrath <roland@hack.frob.com>
19406 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
19408 2012-03-14 Joseph Myers <joseph@codesourcery.com>
19411 * math/s_csqrt.c: Include <float.h>.
19412 (__csqrt): Scale large or subnormal inputs.
19413 * math/s_csqrtf.c: Likewise.
19414 * math/s_csqrtl.c: Likewise.
19415 * math/libm-test.inc (csqrt_test): Add more tests.
19416 * sysdeps/i386/fpu/libm-test-ulps: Update.
19417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19420 * math/libm-test.inc (hypot_test): Add more tests.
19422 2012-03-13 David S. Miller <davem@davemloft.net>
19425 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
19426 double-precision for the calculation instead of scaling.
19428 2012-03-13 Joseph Myers <joseph@codesourcery.com>
19430 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
19431 manipulate bits before adding and subtracting TWO52[sx].
19432 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
19433 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
19435 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
19437 2012-03-13 David S. Miller <davem@davemloft.net>
19439 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
19440 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
19441 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
19442 rtld-global-offsets.h
19443 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19445 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
19448 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
19450 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
19451 'err' in the ifdef scope in which it is actually used.
19453 * nss/nss_db/db-init.c: Include string.h
19455 2012-03-12 David S. Miller <davem@davemloft.net>
19457 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19458 masking out of the most significant byte of random value used.
19459 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19460 Fix coding style in previous change.
19462 * sysdeps/unix/sysv/linux/kernel-features.h
19463 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
19464 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
19466 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
19469 2012-03-11 David S. Miller <davem@davemloft.net>
19471 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
19472 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
19473 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
19474 for 'resultvar' otherwise things get truncated on 64-bit.
19476 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19477 Fix masking out of the most significant byte of random value used.
19479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19481 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
19483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19485 2012-03-09 David S. Miller <davem@davemloft.net>
19487 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
19488 variables with appropriate CPP guards.
19489 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
19490 frame pointer, not the stack pointer. Correct layout comments. Fix test
19491 on resulting framesize and the management of the outregs buffer for pltexit.
19492 Preserve floating point return values across _dl_call_pltexit call.
19493 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
19494 framesize and the management of the outregs buffer for pltexit.
19495 Preserve floating point return values across _dl_call_pltexit
19497 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
19498 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
19499 (print_exit): Fix format string for return register value.
19501 2012-03-10 Joseph Myers <joseph@codesourcery.com>
19503 * sunrpc/Makefile (others): Add rpcgen.
19504 ($(objpfx)rpcgen): Remove special build rule and dependency on
19506 * sunrpc/rpcgen.c: New file.
19508 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
19511 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
19512 * stdio-common/bug-vfprintf-nargs.c: Likewise.
19513 * sysdeps/i386/crti.S: Likewise.
19514 * sysdeps/i386/crtn.S: Likewise.
19515 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
19516 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
19517 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
19518 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
19519 * sysdeps/sh/crti.S: Likewise.
19520 * sysdeps/sh/crtn.S: Likewise.
19521 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19524 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
19526 * locale/programs/locfile-kw.gperf: Likewise.
19527 * locale/programs/charmap-kw.h: Regenerated.
19528 * locale/programs/locfile-kw.h: Likewise.
19531 * intl/plural.y: Replace FSF snail mail address with URL.
19532 * intl/plural.c: Regenerated.
19534 2012-03-09 Richard Henderson <rth@twiddle.net>
19536 * include/math_private.h: Remove file.
19537 * math/math_private.h: Move file ...
19538 * sysdeps/generic/math_private.h: ... here.
19540 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
19541 * sysdeps/powerpc/fpu/math_private.h: Likewise.
19542 * sysdeps/x86_64/fpu/math_private.h: Likewise.
19544 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
19545 and <math_private.h>.
19546 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19547 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19548 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19549 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19550 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19551 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
19552 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19553 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19554 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19555 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19556 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19557 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19558 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19559 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19560 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19561 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19562 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19563 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19564 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19565 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19566 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19567 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19568 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19569 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19570 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19571 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19572 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19573 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19574 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19575 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19576 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19577 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19578 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19579 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19580 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19581 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19582 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19583 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19584 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19585 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19586 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
19587 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19588 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19589 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19590 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19591 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19592 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
19593 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19594 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19595 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19596 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19597 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
19598 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19599 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19600 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19601 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19602 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19603 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19604 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19605 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
19606 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19607 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19608 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19609 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19610 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
19611 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19612 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19613 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19614 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
19615 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
19616 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19617 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19618 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19619 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19620 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
19621 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
19622 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
19623 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19624 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
19625 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
19626 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19627 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
19628 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19629 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19630 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19631 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19632 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
19633 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
19634 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19635 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19636 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19637 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19638 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19639 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19640 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19641 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19642 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19643 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19644 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19645 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19646 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19647 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19648 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19649 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19650 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19651 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19652 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19653 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19654 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19655 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19656 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19657 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19658 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19659 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19660 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
19661 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19662 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19663 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19664 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19665 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19666 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19667 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19668 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19669 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
19670 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19671 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19672 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19673 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
19674 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19675 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
19676 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
19677 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19678 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19679 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
19680 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
19681 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19682 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19683 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19684 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
19685 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19686 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19687 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19688 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19689 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
19690 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
19691 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19692 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19693 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19694 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
19695 * sysdeps/ieee754/k_standard.c: Likewise.
19696 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19697 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19698 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19699 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19700 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19701 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19702 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19703 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19704 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19705 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19706 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19707 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19708 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19709 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19710 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19711 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19712 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19713 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19714 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19715 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
19716 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
19717 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
19718 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19719 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19720 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19721 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19722 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19723 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19724 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19725 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19726 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19727 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19728 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19729 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19730 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19731 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19732 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19733 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
19734 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
19735 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19736 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19737 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19738 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19739 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19740 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19741 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19742 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19743 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19744 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19745 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19746 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19747 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19748 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19749 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
19750 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19751 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19752 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
19753 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
19754 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19755 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19756 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19757 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19758 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19759 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19760 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19761 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19762 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19763 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19764 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19765 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19766 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19767 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19768 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19769 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19770 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19771 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19772 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
19773 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19774 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19775 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19776 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19777 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19778 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19779 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19780 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
19781 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19782 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19783 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19784 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19785 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19786 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
19787 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19788 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19789 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19790 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19791 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19792 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
19793 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19794 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19795 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
19796 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19797 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19798 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19799 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19800 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
19801 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19802 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19803 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19804 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
19805 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19806 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19807 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19808 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19809 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19810 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19811 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19812 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19813 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19814 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19815 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19816 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19817 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19818 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19819 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19820 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19821 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19822 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19823 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19824 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19825 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19826 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19827 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19828 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19829 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19830 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19831 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19832 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19833 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19834 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19835 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19836 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19837 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19838 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19839 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19840 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19841 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19842 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19843 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19844 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19845 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19846 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19847 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19848 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19849 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19850 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19851 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19852 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19853 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19854 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19855 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19856 * sysdeps/ieee754/s_lib_version.c: Likewise.
19857 * sysdeps/ieee754/s_matherr.c: Likewise.
19858 * sysdeps/ieee754/s_signgam.c: Likewise.
19859 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19860 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19861 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19862 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19863 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19864 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19865 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19866 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19867 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19868 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19869 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19870 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19871 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19872 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19873 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19874 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19875 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19876 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19877 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19878 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19879 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19881 2012-03-09 Joseph Myers <joseph@codesourcery.com>
19883 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19884 * sunrpc/rpc_main.c: Likewise.
19885 * sunrpc/rpc_svcout.c: Likewise.
19887 2012-03-09 David S. Miller <davem@davemloft.net>
19889 * include/math_private.h: New file.
19891 2012-03-09 Joseph Myers <joseph@codesourcery.com>
19893 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19894 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19895 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19896 from <bits/socket_type.h>.
19897 (enum __socket_type): Don't define here.
19898 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19899 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19900 bits/socket_type.h.
19903 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19904 checking __USE_GNU.
19906 * Makerules ($(inst_includedir)/%.h): New rule.
19907 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19908 (install-others): Remove variable setting.
19909 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19911 2012-03-08 Richard Henderson <rth@twiddle.net>
19913 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19914 from macro to inline function; merge with the
19915 !__LIBC_INTERNAL_MATH_INLINES version.
19916 (__ieee754_sqrtf): Likewise.
19918 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19919 to inline function.
19920 (__rintf, __floor, __floorf): Likewise.
19922 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19923 macro to inline function.
19924 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19926 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19927 not <math/math_private.h>.
19929 2012-03-08 David S. Miller <davem@davemloft.net>
19931 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19933 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19935 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19937 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19939 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19940 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19942 2012-03-08 Ulrich Drepper <drepper@gmail.com>
19944 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19945 be defined individually, they must be defined as a block. Define
19946 S for printing a string instead of hidint the different by using a
19947 macro for adding the 'l'.
19948 * stdio-common/tst-fphex-wide.c: Adjust.
19950 2012-03-07 Marek Polacek <polacek@redhat.com>
19952 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19954 2012-03-08 Marek Polacek <polacek@redhat.com>
19957 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19958 * stdio-common/tst-fphex.c: Define a few macros to make the
19959 test reusable. Use them.
19960 * stdio-common/tst-fphex-wide.c: New file.
19962 2012-03-08 Joseph Myers <joseph@codesourcery.com>
19965 * manual/macros.texi (gnusystems): New macro.
19966 (nongnusystems): Likewise.
19967 (gnulinuxhurdsystems): Likewise.
19968 (gnuhurdsystems): Likewise..
19969 (gnulinuxsystems): Likewise.
19970 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19971 variants of the GNU system, not "GNU system".
19972 * manual/conf.texi: Likewise.
19973 * manual/errno.texi: Likewise. Update example of errno macro
19975 * manual/filesys.texi: Likewise.
19976 (getumask): Document as specific to GNU/Hurd.
19977 * manual/install.texi: Likewise. Reword some references to
19979 * manual/intro.texi: Likewise.
19980 * manual/io.texi: Likewise.
19981 (File Name Portability): Detail which constraints are inapplicable
19982 to all GNU systems and which are only inapplicable to GNU/Hurd.
19983 * manual/job.texi: Likewise.
19984 * manual/llio.texi: Likewise.
19985 (O_NOCTTY): Document as present on GNU/Linux.
19986 * manual/maint.texi: Likewise.
19987 * manual/memory.texi: Likewise.
19988 * manual/pattern.texi: Likewise.
19989 * manual/pipe.texi: Likewise.
19990 * manual/process.texi: Likewise.
19991 * manual/resource.texi: Likewise.
19992 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19994 * manual/setjmp.texi: Likewise.
19995 * manual/signal.texi: Likewise.
19996 * manual/startup.texi: Likewise.
19997 * manual/stdio.texi: Likewise.
19998 * manual/terminal.texi: Likewise.
19999 (ONLCR): Document as POSIX.
20000 (OXTABS): Document availability on GNU/Linux as XTABS.
20001 (ONOEOT): Document availability separately from other bits.
20002 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
20003 * manual/time.texi: Likewise.
20004 * manual/users.texi: Likewise.
20005 * INSTALL: Regenerated.
20006 * sysdeps/gnu/errlist.c: Regenerated.
20008 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
20009 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
20010 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
20012 * configure: Regenerated.
20014 2012-03-07 Joseph Myers <joseph@codesourcery.com>
20016 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
20017 default includes instead of AC_HEADER_CHECK.
20018 * sysdeps/i386/configure: Regenerated.
20021 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
20022 * math/s_cacoshf.c (__cacoshf): Likewise.
20023 * math/s_cacoshl.c (__cacoshl): Likewise.
20024 * math/s_casinh.c (__casinh): Set signs of result from argument.
20025 * math/s_casinhf.c (__casinhf): Likewise.
20026 * math/s_casinhl.c (__casinhl): Likewise.
20027 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
20028 (casinh_test): Add more tests.
20029 * sysdeps/i386/fpu/libm-test-ulps: Update.
20030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20032 2012-03-07 Ulrich Drepper <drepper@gmail.com>
20034 * po/zh_TW.po: Update from translation team.
20036 * login/Makefile (distribute): Remove variable.
20037 * catgets/Makefile: Likewise.
20038 * mach/Makefile: Likewise.
20039 * malloc/Makefile: Likewise.
20040 * misc/Makefile: Likewise.
20041 * iconv/Makefile: Likewise.
20042 * nscd/Makefile: Likewise.
20043 * hurd/Makefile: Likewise.
20044 * manual/Makefile: Likewise.
20045 * locale/Makefile: Likewise.
20046 * intl/Makefile: Likewise.
20047 * conform/Makefile: Likewise.
20048 * nss/Makefile: Likewise.
20049 * time/Makefile: Likewise.
20050 * soft-fp/Makefile: Likewise.
20051 * dirent/Makefile: Likewise.
20052 * gmon/Makefile: Likewise.
20053 * po/Makefile: Likewise.
20054 * rt/Makefile: Likewise.
20055 * socket/Makefile: Likewise.
20056 * math/Makefile: Likewise.
20057 * signal/Makefile: Likewise.
20058 * debug/Makefile: Likewise.
20059 * elf/Makefile: Likewise.
20060 * timezone/Makefile: Likewise.
20061 * stdlib/Makefile: Likewise.
20062 * iconvdata/Makefile: Likewise.
20063 * sunrpc/Makefile: Likewise.
20064 * io/Makefile: Likewise.
20065 * argp/Makefile: Likewise.
20066 * inet/Makefile: Likewise.
20067 * hesiod/Makefile: Likewise.
20068 * grp/Makefile: Likewise.
20069 * csu/Makefile: Likewise.
20070 * wctype/Makefile: Likewise.
20071 * crypt/Makefile: Likewise.
20072 * libio/Makefile: Likewise.
20073 * string/Makefile: Likewise.
20074 * nis/Makefile: Likewise.
20075 * resolv/Makefile: Likewise.
20076 * stdio-common/Makefile: Likewise.
20077 * wcsmbs/Makefile: Likewise.
20078 * dlfcn/Makefile: Likewise.
20079 * posix/Makefile: Likewise.
20082 * timezone/Makefile: Don't install timezone files, just the programs
20085 2012-03-06 Ulrich Drepper <drepper@gmail.com>
20087 * nss/databases.def: Add missing gshadow entry.
20089 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
20091 2012-03-06 Marek Polacek <polacek@redhat.com>
20094 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
20095 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20096 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
20097 * stdio-common/tst-long-dbl-fphex.c: New file.
20099 2012-03-06 David S. Miller <davem@davemloft.net>
20101 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20102 (set_obp_int): New function.
20103 (get_obp_int): New function.
20104 (__get_clockfreq_via_dev_openprom): Likewise.
20105 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
20106 Avoid unused variable warnings on 'val' and use builtin_expect.
20107 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
20109 (INLINE_CLONE_SYSCALL): Likewise.
20111 2012-03-05 David S. Miller <davem@davemloft.net>
20113 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20115 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
20117 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20119 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
20120 only for |x| >= 40.
20121 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20123 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
20125 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
20126 Replace gettimeofday with __vdso_gettimeofday.
20128 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20129 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
20130 __vdso_clock_gettime and __vdso_getcpu.
20132 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
20133 time with __vdso_time.
20135 2012-03-05 Joseph Myers <joseph@codesourcery.com>
20137 * manual/lang.texi (size_t): Note types to which size_t may be
20138 equivalent with the GNU C Library, but do not describe when
20139 differences between them are significant.
20141 2012-03-05 Andreas Jaeger <aj@suse.de>
20143 * sysdeps/i386/fpu/libm-test-ulps: Update.
20145 2012-03-05 Joseph Myers <joseph@codesourcery.com>
20148 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
20149 (__ieee754_pow): Save and restore rounding mode and use
20150 round-to-nearest for main computations.
20151 * math/libm-test.inc (pow_test_tonearest): New function.
20152 (pow_test_towardzero): Likewise.
20153 (pow_test_downward): Likewise.
20154 (pow_test_upward): Likewise.
20155 (main): Call the new functions.
20156 * sysdeps/i386/fpu/libm-test-ulps: Update.
20157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20160 * math/libm-test.inc (cosh_test_tonearest): New function.
20161 (cosh_test_towardzero): Likewise.
20162 (cosh_test_downward): Likewise.
20163 (cosh_test_upward): Likewise.
20164 (sinh_test_tonearest): Likewise.
20165 (sinh_test_towardzero): Likewise.
20166 (sinh_test_downward): Likewise.
20167 (sinh_test_upward): Likewise.
20168 (main): Call the new functions.
20169 * sysdeps/i386/fpu/libm-test-ulps: Update.
20170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20172 2012-03-05 Tom de Vries <tom@codesourcery.com>
20174 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
20175 default stack guard is set in last bytes.
20176 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
20178 2012-03-05 Kees Cook <keescook@chromium.org>
20180 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
20183 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
20184 possibly allocate from heap instead of stack.
20185 * stdio-common/bug-vfprintf-nargs.c: New file.
20186 * stdio-common/Makefile (tests): Add nargs overflow test.
20188 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
20190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20192 2012-03-03 Marek Polacek <polacek@redhat.com>
20194 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
20195 * math/math_private.h: Likewise.
20196 * stdlib/tst-strtod.c: Likewise.
20197 * sysdeps/i386/i486/bits/atomic.h: Likewise.
20198 * sysdeps/x86_64/bits/atomic.h: Likewise.
20200 2012-03-02 David S. Miller <davem@davemloft.net>
20202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
20203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
20204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
20205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
20206 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
20207 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
20208 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
20209 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
20211 2012-03-02 Roland McGrath <roland@hack.frob.com>
20214 * manual/examples/README: New file, says the example source files
20215 can be used under GPL>=2.
20216 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
20217 line containing just "*/".
20218 * manual/examples/add.c: Add copyright header (GPL>=2).
20219 * manual/examples/argp-ex1.c: Likewise.
20220 * manual/examples/argp-ex2.c: Likewise.
20221 * manual/examples/argp-ex3.c: Likewise.
20222 * manual/examples/argp-ex4.c: Likewise.
20223 * manual/examples/atexit.c: Likewise.
20224 * manual/examples/db.c: Likewise.
20225 * manual/examples/dir.c: Likewise.
20226 * manual/examples/dir2.c: Likewise.
20227 * manual/examples/execinfo.c: Likewise.
20228 * manual/examples/filecli.c: Likewise.
20229 * manual/examples/filesrv.c: Likewise.
20230 * manual/examples/fmtmsgexpl.c: Likewise.
20231 * manual/examples/genpass.c: Likewise.
20232 * manual/examples/inetcli.c: Likewise.
20233 * manual/examples/inetsrv.c: Likewise.
20234 * manual/examples/isockad.c: Likewise.
20235 * manual/examples/longopt.c: Likewise.
20236 * manual/examples/memopen.c: Likewise.
20237 * manual/examples/memstrm.c: Likewise.
20238 * manual/examples/mkfsock.c: Likewise.
20239 * manual/examples/mkisock.c: Likewise.
20240 * manual/examples/mygetpass.c: Likewise.
20241 * manual/examples/pipe.c: Likewise.
20242 * manual/examples/popen.c: Likewise.
20243 * manual/examples/rprintf.c: Likewise.
20244 * manual/examples/search.c: Likewise.
20245 * manual/examples/select.c: Likewise.
20246 * manual/examples/setjmp.c: Likewise.
20247 * manual/examples/sigh1.c: Likewise.
20248 * manual/examples/sigusr.c: Likewise.
20249 * manual/examples/stpcpy.c: Likewise.
20250 * manual/examples/strdupa.c: Likewise.
20251 * manual/examples/strftim.c: Likewise.
20252 * manual/examples/strncat.c: Likewise.
20253 * manual/examples/subopt.c: Likewise.
20254 * manual/examples/swapcontext.c: Likewise.
20255 * manual/examples/termios.c: Likewise.
20256 * manual/examples/testopt.c: Likewise.
20257 * manual/examples/testpass.c: Likewise.
20258 * manual/examples/timeval_subtract.c: Likewise.
20261 * manual/time.texi (Elapsed Time): Move timeval_subtract example
20263 * manual/timeval_subtract.c.texi: ... here, new file.
20265 2012-03-02 David S. Miller <davem@davemloft.net>
20267 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
20269 2012-03-02 Joseph Myers <joseph@codesourcery.com>
20272 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
20273 (__sin): Save and restore rounding mode and use round-to-nearest
20274 for all computations.
20275 (__cos): Save and restore rounding mode and use round-to-nearest
20276 for all computations.
20277 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
20279 (tan): Save and restore rounding mode and use round-to-nearest for
20281 * math/libm-test.inc (cos_test_tonearest): New function.
20282 (cos_test_towardzero): Likewise.
20283 (cos_test_downward): Likewise.
20284 (cos_test_upward): Likewise.
20285 (sin_test_tonearest): Likewise.
20286 (sin_test_towardzero): Likewise.
20287 (sin_test_downward): Likewise.
20288 (sin_test_upward): Likewise.
20289 (tan_test_tonearest): Likewise.
20290 (tan_test_towardzero): Likewise.
20291 (tan_test_downward): Likewise.
20292 (tan_test_upward): Likewise.
20293 (main): Call the new functions.
20294 * sysdeps/i386/fpu/libm-test-ulps: Update.
20295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20298 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
20299 small n, then large n, before computing and testing k+n.
20300 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
20301 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
20303 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
20305 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
20306 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
20307 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
20308 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
20309 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20310 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20311 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
20312 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
20313 * math/libm-test.inc (scalbn_test): Add more tests.
20314 (scalbln_test): Likewise.
20316 * manual/filesys.texi (mode_t): Describe constraints on size and
20317 signedness, not exact equivalence to a particular type.
20319 (ino64_t): Likewise.
20321 (nlink_t): Likewise.
20322 (blkcnt_t): Likewise.
20323 (blkcnt64_t): Likewise.
20324 * manual/llio.texi (off_t): Likewise.
20327 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
20328 (__ieee754_exp): Save and restore rounding mode and use
20329 round-to-nearest for all computations.
20330 * math/libm-test.inc (exp_test_tonearest): New function.
20331 (exp_test_towardzero): Likewise.
20332 (exp_test_downward): Likewise.
20333 (exp_test_upward): Likewise.
20334 (main): Call the new functions.
20335 * sysdeps/i386/fpu/libm-test-ulps: Update.
20336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20338 2012-03-01 Chris Demetriou <cgd@google.com>
20340 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
20341 have predictable order.
20343 2012-03-01 David S. Miller <davem@davemloft.net>
20345 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
20347 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
20348 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
20349 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
20350 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
20352 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
20353 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
20354 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
20355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
20356 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
20357 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
20358 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
20359 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
20360 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
20362 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20364 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
20365 * sysdeps/sparc/fpu/libm-test-ulps: to here.
20366 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
20368 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
20369 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20370 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20371 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
20372 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
20373 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
20374 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
20375 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20376 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20377 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
20378 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
20379 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20380 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20381 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20382 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20383 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20384 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
20385 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
20386 * sysdeps/sparc/elf/configure: Regenerated.
20388 2012-03-01 Joseph Myers <joseph@codesourcery.com>
20390 * configure.in (AS, LD): Require binutils 2.20 or later.
20391 * configure: Regenerated.
20392 * manual/install.texi (Tools for Compilation): Give binutils 2.20
20393 as required minimum version.
20394 * INSTALL: Regenerated.
20398 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
20399 before squaring exponent.
20400 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
20401 bottom long double and 27 bits of top long double before squaring
20403 * math/libm-test.inc (erfc_test): Add more tests.
20404 * sysdeps/i386/fpu/libm-test-ulps: Update.
20405 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20408 2012-03-01 Kai Tietz <ktietz@redhat.com>
20410 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
20411 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
20412 containing bit-fields.
20413 * soft-fp/extended.h (_FP_UNION_E): Likewise.
20414 * soft-fp/single.h (_FP_UNION_S): Likewise.
20415 * soft-fp/double.h (_FP_UNION_D): Likewise.
20417 2012-02-29 Joseph Myers <joseph@codesourcery.com>
20420 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
20421 not include ../strcmp.S.
20422 [USE_AS_STRNCASECMP_L]: Likewise.
20423 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
20424 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
20425 * sysdeps/i386/i686/multiarch/strncase_l-c.c
20426 (__strncasecmp_l_ia32): Define as alias to
20427 __strncasecmp_l_nonascii.
20430 * math/libm-test.inc (expm1_test): Add test for bug 5794.
20431 * sysdeps/i386/fpu/libm-test-ulps: Update.
20432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20434 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
20435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20437 2012-02-29 Jeff Law <law@redhat.com>
20439 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
20440 out of bounds read.
20442 2012-02-29 Marek Polacek <polacek@redhat.com>
20445 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
20446 * elf/Makefile: Add rules to run tst-unused-dep.out.
20448 2012-02-28 David S. Miller <davem@davemloft.net>
20450 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
20451 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
20452 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
20453 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
20454 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
20455 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
20457 2012-02-29 Joseph Myers <joseph@codesourcery.com>
20459 * math/libm-test.inc (llround_test): Move one test from
20460 lround_test. Use TEST_f_L in moved test.
20461 (lround_test): Move misplaced test to llround_test. Add testcase
20464 2012-02-28 Ulrich Drepper <drepper@gmail.com>
20466 * sysdeps/x86_64/fpu/e_expf.S: New file.
20467 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
20469 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
20472 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
20473 of remain_len that may cause incomplete multi-byte character and
20475 * posix/bug-regex33.c: New file.
20476 * posix/Makefile (tests): Add bug-regex33.
20478 2012-02-28 Joseph Myers <joseph@codesourcery.com>
20480 * manual/macros.texi: New file.
20481 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
20482 * manual/libc.texinfo: Include macros.texi.
20483 * manual/creatute.texi: Likewise.
20484 * manual/install.texi: Likewise.
20485 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
20486 @glibcadj{} in references to the GNU C Library.
20487 * manual/charset.texi: Likewise.
20488 * manual/conf.texi: Likewise.
20489 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
20490 when not using those macros.
20491 * manual/creature.texi: Likewise.
20492 * manual/crypt.texi: Likewise.
20493 * manual/errno.texi: Likewise.
20494 * manual/filesys.texi: Likewise.
20495 * manual/header.texi: Likewise.
20496 * manual/install.texi: Likewise.
20497 * manual/intro.texi: Likewise.
20498 * manual/io.texi: Likewise.
20499 * manual/job.texi: Likewise.
20500 * manual/lang.texi: Likewise.
20501 * manual/libc.texiinfo: Likewise.
20502 * manual/llio.texi: Likewise.
20503 * manual/locale.texi: Likewise.
20504 * manual/maint.texi: Likewise.
20505 * manual/math.texi: Likewise.
20506 * manual/memory.texi: Likewise.
20507 * manual/message.texi: Likewise.
20508 * manual/nss.texi: Likewise.
20509 * manual/pattern.texi: Likewise.
20510 * manual/process.texi: Likewise.
20511 * manual/resource.texi: Likewise.
20512 * manual/search.texi: Likewise.
20513 * manual/setjmp.texi: Likewise.
20514 * manual/signal.texi: Likewise.
20515 * manual/socket.texi: Likewise.
20516 * manual/startup.texi: Likewise.
20517 * manual/stdio.texi: Likewise.
20518 * manual/string.texi: Likewise.
20519 * manual/sysinfo.texi: Likewise.
20520 * manual/syslog.texi: Likewise.
20521 * manual/terminal.texi: Likewise.
20522 * manual/time.texi: Likewise.
20523 * manual/users.texi: Likewise.
20524 * INSTALL: Regenerated.
20525 * NOTES: Regenerated.
20526 * sysdeps/gnu/errlist.c: Regenerated.
20528 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
20530 * include/dirent.h: Include <dirstream.h> before
20533 2012-02-28 David S. Miller <davem@davemloft.net>
20535 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
20536 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
20537 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
20538 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
20540 2012-02-27 David S. Miller <davem@davemloft.net>
20542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
20543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
20544 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
20545 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
20547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
20548 frame pointer instead of stack pointer relative arg slot.
20549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20550 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20551 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20553 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
20556 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
20558 2012-02-27 David S. Miller <davem@davemloft.net>
20560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
20561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
20564 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20565 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20566 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
20567 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
20569 2012-02-27 Joseph Myers <joseph@codesourcery.com>
20571 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
20572 later. Allow versions 5-9.
20573 * configure: Regenerated.
20574 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
20575 required minimum version and 4.6 as recommended version. Do not
20576 mention bugs in GCC 2.7 and 2.8.
20577 * INSTALL: Regenerated.
20579 2012-02-27 David S. Miller <davem@davemloft.net>
20581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
20582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
20583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
20584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
20585 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
20586 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
20587 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
20588 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
20590 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
20591 manipulate bits before adding and subtracting TWO112[sx].
20592 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20594 2012-02-27 Roland McGrath <roland@hack.frob.com>
20597 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
20598 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
20599 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
20600 being in POSIX, because they are in 1003.1-2008.
20602 * rt/tst-aio.c: Include <fcntl.h>.
20603 * rt/tst-aio7.c: Likewise.
20604 * rt/tst-aio64.c: Likewise.
20606 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
20608 2012-02-27 Joseph Myers <joseph@codesourcery.com>
20610 * manual/install.texi (--with-headers): Describe headers as
20611 interface headers, not private headers.
20612 (Specific advice for GNU/Linux systems): Describe use of headers
20613 from "make headers_install", not private headers from older
20615 * INSTALL: Regenerated.
20616 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
20618 * sysdeps/unix/sysv/linux/configure: Regenerated.
20620 * manual/llio.texi (fclean): Remove documentation.
20622 * manual/Makefile (libc-texi-generated): New variable. Include
20624 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
20625 $(libc-texi-generated), not duplicated list of files.
20626 (version.texi, stamp-version): New rules.
20627 (realclean): Remove $(libc-texi-generated), not individual files
20628 from that list. Do not remove dir-add.texinfo.
20629 * manual/libc.texinfo: Comment out uses of edition numbers and
20630 references to printed manual. Remove last-updated dates.
20631 (EDITION): Comment out.
20633 (VERSION, UPDATED): Remove.
20634 (version.texi): Include.
20636 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
20638 * sysdeps/posix/spawni.c: Include <signal.h>.
20639 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
20640 * sysdeps/pthread/aio_fsync.c: Likewise.
20642 2012-02-26 Ulrich Drepper <drepper@gmail.com>
20644 * conform/Makefile (tests): Run only when not cross-compiling and
20645 when fast-check is not defined.
20647 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
20648 * conform/data/limits.h-data: Fixes for POSIX2008.
20649 * conform/run-conformtest.sh: Run all tests.
20650 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
20652 * include/bits/dlfcn.h: Likewise.
20653 * include/langinfo.h: Likewise.
20654 * include/monetary.h: Likewise.
20655 * include/sys/poll.h: Likewise.
20657 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
20659 * posix/spawn.h: Define __need_sigset_t.
20660 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
20661 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
20662 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
20663 to get sigevent_t only.
20664 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
20665 only for __USE_GNU.
20666 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20667 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20668 process_vm_writev only for __USE_GNU.
20669 * termios/termios.h: Declare tcgetsid also for POSIX2008.
20671 * conform/Makefile: For now ignore errors from run-conformtest.
20672 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
20673 POSIX to avoid namespace pollution. Don't prepend headers.
20674 * conform/data/aio.h-data: Fixes for POSIX testing.
20675 * conform/data/fcntl.h-data: Likewise.
20676 * conform/data/glob.h-data: Likewise.
20677 * conform/data/grp.h-data: Likewise.
20678 * conform/data/pthread.h-data: Likewise.
20679 * conform/data/pwd.h-data: Likewise.
20680 * conform/data/signal.h-data: Likewise.
20681 * conform/data/spawn.h-data: Likewise.
20682 * conform/data/stdio.h-data: Likewise.
20683 * conform/data/stdlib.h-data: Likewise.
20684 * conform/data/stropts.h-data: Likewise.
20685 * conform/data/sys/mman.h-data: Likewise.
20686 * conform/data/sys/stat.h-data: Likewise.
20687 * conform/data/sys/types.h-data: Likewise.
20688 * conform/data/sys/wait.h-data: Likewise.
20689 * conform/data/time.h-data: Likewise.
20690 * conform/data/unistd.h-data: Likewise.
20691 * conform/data/utime.h-data: Likewise.
20693 * io/sys/stat.h: fchmod was always in POSIX.
20694 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
20695 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
20696 * rt/aio.h: Define __need_timespec before including <time.h>.
20697 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
20698 struct. Add forward declaration of pthread_attr_t and use it in
20700 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20701 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20702 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
20703 always remove CLK_TCK definition.
20705 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
20707 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
20709 2012-02-25 Ulrich Drepper <drepper@gmail.com>
20711 * conform/run-conformtest.sh: New file.
20712 * conform/Makefile: Run run-conformtest for tests.
20713 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
20716 * conform/data/uchar.h-data: New file.
20717 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
20718 * conform/data/arpa/inet.h-data: Likewise.
20719 * conform/data/assert.h-data: Likewise.
20720 * conform/data/complex.h-data: Likewise.
20721 * conform/data/cpio.h-data: Likewise.
20722 * conform/data/ctype.h-data: Likewise.
20723 * conform/data/dirent.h-data: Likewise.
20724 * conform/data/dlfcn.h-data: Likewise.
20725 * conform/data/errno.h-data: Likewise.
20726 * conform/data/fcntl.h-data: Likewise.
20727 * conform/data/float.h-data: Likewise.
20728 * conform/data/fmtmsg.h-data: Likewise.
20729 * conform/data/fnmatch.h-data: Likewise.
20730 * conform/data/ftw.h-data: Likewise.
20731 * conform/data/glob.h-data: Likewise.
20732 * conform/data/grp.h-data: Likewise.
20733 * conform/data/iconv.h-data: Likewise.
20734 * conform/data/inttypes.h-data: Likewise.
20735 * conform/data/langinfo.h-data: Likewise.
20736 * conform/data/libgen.h-data: Likewise.
20737 * conform/data/limits.h-data: Likewise.
20738 * conform/data/locale.h-data: Likewise.
20739 * conform/data/math.h-data: Likewise.
20740 * conform/data/monetary.h-data: Likewise.
20741 * conform/data/mqueue.h-data: Likewise.
20742 * conform/data/ndbm.h-data: Likewise.
20743 * conform/data/net/if.h-data: Likewise.
20744 * conform/data/netdb.h-data: Likewise.
20745 * conform/data/netinet/in.h-data: Likewise.
20746 * conform/data/nl_types.h-data: Likewise.
20747 * conform/data/poll.h-data: Likewise.
20748 * conform/data/pthread.h-data: Likewise.
20749 * conform/data/pwd.h-data: Likewise.
20750 * conform/data/regex.h-data: Likewise.
20751 * conform/data/sched.h-data: Likewise.
20752 * conform/data/search.h-data: Likewise.
20753 * conform/data/semaphore.h-data: Likewise.
20754 * conform/data/setjmp.h-data: Likewise.
20755 * conform/data/signal.h-data: Likewise.
20756 * conform/data/spawn.h-data: Likewise.
20757 * conform/data/stdarg.h-data: Likewise.
20758 * conform/data/stdio.h-data: Likewise.
20759 * conform/data/stdlib.h-data: Likewise.
20760 * conform/data/string.h-data: Likewise.
20761 * conform/data/strings.h-data: Likewise.
20762 * conform/data/stropts.h-data: Likewise.
20763 * conform/data/sys/ipc.h-data: Likewise.
20764 * conform/data/sys/mman.h-data: Likewise.
20765 * conform/data/sys/msg.h-data: Likewise.
20766 * conform/data/sys/resource.h-data: Likewise.
20767 * conform/data/sys/select.h-data: Likewise.
20768 * conform/data/sys/sem.h-data: Likewise.
20769 * conform/data/sys/shm.h-data: Likewise.
20770 * conform/data/sys/socket.h-data: Likewise.
20771 * conform/data/sys/stat.h-data: Likewise.
20772 * conform/data/sys/statvfs.h-data: Likewise.
20773 * conform/data/sys/time.h-data: Likewise.
20774 * conform/data/sys/timeb.h-data: Likewise.
20775 * conform/data/sys/times.h-data: Likewise.
20776 * conform/data/sys/types.h-data: Likewise.
20777 * conform/data/sys/uio.h-data: Likewise.
20778 * conform/data/sys/un.h-data: Likewise.
20779 * conform/data/sys/utsname.h-data: Likewise.
20780 * conform/data/sys/wait.h-data: Likewise.
20781 * conform/data/syslog.h-data: Likewise.
20782 * conform/data/tar.h-data: Likewise.
20783 * conform/data/termios.h-data: Likewise.
20784 * conform/data/utime.h-data: Likewise.
20785 * conform/data/utmpx.h-data: Likewise.
20786 * conform/data/varargs.h-data: Likewise.
20787 * conform/data/wchar.h-data: Likewise.
20788 * conform/data/wctype.h-data: Likewise.
20789 * conform/data/wordexp.h-data: Likewise.
20791 * include/stropts.h: New file.
20792 * include/uchar.h: New file.
20793 * include/aio.h: Changes to allow conformtest.pl to use the headers.
20794 * include/assert.h: Likewise.
20795 * include/ctype.h: Likewise.
20796 * include/dirent.h: Likewise.
20797 * include/dlfcn.h: Likewise.
20798 * include/fcntl.h: Likewise.
20799 * include/fnmatch.h: Likewise.
20800 * include/glob.h: Likewise.
20801 * include/grp.h: Likewise.
20802 * include/libio.h: Likewise.
20803 * include/locale.h: Likewise.
20804 * include/math.h: Likewise.
20805 * include/net/if.h: Likewise.
20806 * include/netdb.h: Likewise.
20807 * include/netinet/in.h: Likewise.
20808 * include/pthread.h: Likewise.
20809 * include/pwd.h: Likewise.
20810 * include/regex.h: Likewise.
20811 * include/sched.h: Likewise.
20812 * include/search.h: Likewise.
20813 * include/setjmp.h: Likewise.
20814 * include/signal.h: Likewise.
20815 * include/stdio.h: Likewise.
20816 * include/stdlib.h: Likewise.
20817 * include/string.h: Likewise.
20818 * include/sys/cdefs.h: Likewise.
20819 * include/sys/mman.h: Likewise.
20820 * include/sys/msg.h: Likewise.
20821 * include/sys/resource.h: Likewise.
20822 * include/sys/select.h: Likewise.
20823 * include/sys/socket.h: Likewise.
20824 * include/sys/stat.h: Likewise.
20825 * include/sys/statvfs.h: Likewise.
20826 * include/sys/time.h: Likewise.
20827 * include/sys/times.h: Likewise.
20828 * include/sys/uio.h: Likewise.
20829 * include/sys/utsname.h: Likewise.
20830 * include/sys/wait.h: Likewise.
20831 * include/termios.h: Likewise.
20832 * include/time.h: Likewise.
20833 * include/ulimit.h: Likewise.
20834 * include/unistd.h: Likewise.
20835 * include/utime.h: Likewise.
20836 * include/wchar.h: Likewise.
20837 * include/wctype.h: Likewise.
20838 * include/wordexp.h: Likewise.
20840 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20842 * time/time.h: TIME_UTC must be a macro.
20843 Make timespec_get available for ISO C11 only as well.
20845 2012-02-24 Ulrich Drepper <drepper@gmail.com>
20847 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20848 Reported by Peng Haitao <penght@cn.fujitsu.com>.
20850 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20852 * configure.in: Use -o not -a in test for unsupported multi-arch.
20854 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20856 * manual/texinfo.tex: Update to version 2012-01-19.16.
20858 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20860 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20862 2012-02-24 Roland McGrath <roland@hack.frob.com>
20865 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20866 * manual/fdl-1.3.texi: New file.
20867 * manual/fdl-1.1.texi: File removed.
20870 * manual/libc.texinfo (FDL_VERSION): New @set.
20871 Use it for mention of FDL in cover text.
20872 (Documentation License): Use it in @include file name.
20874 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20875 Roland McGrath <roland@hack.frob.com>
20878 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20879 not LONG_LONG_MAX and LONG_LONG_MIN.
20880 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20881 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
20883 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20885 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20889 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20890 manipulate bits before adding and subtracting TWO23[sx].
20891 * math/libm-test.inc (nearbyint_test): Add more tests.
20893 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20896 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20897 bits before adding and subtracting TWO23[sx].
20898 * math/libm-test.inc (rint_test): Add more tests.
20899 (rint_test_tonearest): Likewise.
20900 (rint_test_towardzero): Likewise.
20901 (rint_test_downward): Likewise.
20902 (rint_test_upward: Likewise.
20904 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20907 * include/stdc-predef.h: New file. Extracted from features.h.
20908 * include/features.h: Include stdc-predef.h.
20909 * Makefile (headers): Add stdc-predef.h.
20910 * CONFORMANCE (Compiler limitations): Update.
20912 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20914 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20916 2012-02-21 David S. Miller <davem@davemloft.net>
20918 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20919 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20921 2012-02-20 David S. Miller <davem@davemloft.net>
20923 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20924 using a normal save/restore sequence, rather than allocating a
20925 dummy stack frame just to store a frame pointer and restore.
20926 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20928 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20930 * manual/install.texi: Fix stray word in line-wrapped comment.
20932 2012-02-20 David S. Miller <davem@davemloft.net>
20934 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20935 both binutils and gcc support GOTDATA.
20937 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20938 "rd %pc" in the PIC register setup sequences.
20940 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20941 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20942 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20943 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20944 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20945 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20946 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20947 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20948 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20949 (SYSCALL_ERROR_HANDLER): Likewise.
20950 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20951 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20952 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20953 (SYSCALL_ERROR_HANDLER): Likewise.
20955 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20956 (HAVE_GCC_GOTDATA): New.
20957 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20958 relocation support in both binutils and gcc.
20959 * sysdeps/sparc/elf/configure: Regenerate.
20961 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20962 * sysdeps/sparc/sparc32/elf/configure: Delete.
20963 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20964 * sysdeps/sparc/sparc64/elf/configure: Delete.
20965 * sysdeps/sparc/elf/configure.in: New file.
20966 * sysdeps/sparc/elf/configure: Generate.
20968 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20969 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20970 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20971 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20972 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20974 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20976 * manual/install.texi: Do not mention specific glibc version
20978 * manual/libc.texinfo (VERSION, UPDATED): Update.
20979 (@copying): Use @copyright{} and range of years.
20981 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20984 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20985 [crti.S not in sysdirs] (generated): Do not append.
20986 [crti.S not in sysdirs] (omit-deps): Likewise.
20987 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20988 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20989 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20990 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20991 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20993 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20994 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20995 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20996 * csu/defs.awk: Remove file.
20997 * sysdeps/generic/initfini.c: Likewise.
20998 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
21000 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
21003 2012-02-20 Joseph Myers <joseph@codesourcery.com>
21005 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
21006 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
21007 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
21008 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
21009 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21010 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
21012 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
21013 (__EPOLL_PACKED): Define to empty if not defined by
21015 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
21016 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21019 2012-02-20 Joseph Myers <joseph@codesourcery.com>
21021 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
21022 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
21023 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
21024 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
21026 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
21027 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21030 2012-02-20 Joseph Myers <joseph@codesourcery.com>
21032 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
21034 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21035 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21036 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
21037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21039 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
21041 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21042 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
21044 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
21046 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
21047 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
21049 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
21051 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
21054 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
21056 * math/w_acos.c: Use non-signaling floating-point comparisons.
21057 * math/w_acosf.c: Likewise.
21058 * math/w_acosh.c: Likewise.
21059 * math/w_acoshf.c: Likewise.
21060 * math/w_acoshl.c: Likewise.
21061 * math/w_acosl.c: Likewise.
21062 * math/w_asin.c: Likewise.
21063 * math/w_asinf.c: Likewise.
21064 * math/w_asinl.c: Likewise.
21065 * math/w_atanh.c: Likewise.
21066 * math/w_atanhf.c: Likewise.
21067 * math/w_atanhl.c: Likewise.
21068 * math/w_exp2.c: Likewise.
21069 * math/w_exp2f.c: Likewise.
21070 * math/w_exp2l.c: Likewise.
21071 * math/w_j0.c: Likewise.
21072 * math/w_j0f.c: Likewise.
21073 * math/w_j0l.c: Likewise.
21074 * math/w_j1.c: Likewise.
21075 * math/w_j1f.c: Likewise.
21076 * math/w_j1l.c: Likewise.
21077 * math/w_jn.c: Likewise.
21078 * math/w_jnf.c: Likewise.
21079 * math/w_log.c: Likewise.
21080 * math/w_log10.c: Likewise.
21081 * math/w_log10f.c: Likewise.
21082 * math/w_log10l.c: Likewise.
21083 * math/w_log2.c: Likewise.
21084 * math/w_log2f.c: Likewise.
21085 * math/w_log2l.c: Likewise.
21086 * math/w_logf.c: Likewise.
21087 * math/w_logl.c: Likewise.
21088 * math/w_sqrt.c: Likewise.
21089 * math/w_sqrtf.c: Likewise.
21090 * math/w_sqrtl.c: Likewise.
21091 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21092 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
21093 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21094 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21095 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21097 2012-02-19 Joseph Myers <joseph@codesourcery.com>
21100 * manual/string.texi (strnlen): Use correct parameter name in
21101 equivalent expression.
21103 2012-02-19 Joseph Myers <joseph@codesourcery.com>
21106 * manual/users.texi (seteuid): Consistently use neweuid for
21109 2012-02-19 Joseph Myers <joseph@codesourcery.com>
21112 * manual/nss.texi (Services in the NSS configuration): Correct
21113 list of services in example configuration file.
21115 2012-02-19 Nick Bowler <nbowler@draconx.ca>
21118 * manual/arith.texi: Remove statements about negative zero
21119 behaving identically to zero.
21121 2012-02-18 Joseph Myers <joseph@codesourcery.com>
21124 * manual/install.texi: Do not document upgrading from libc5.
21126 2012-02-18 Joseph Myers <joseph@codesourcery.com>
21129 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
21131 2012-02-18 David S. Miller <davem@davemloft.net>
21133 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
21134 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
21135 %o7 across the call.
21136 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
21138 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
21139 SETUP_PIC_REG_LEAF.
21140 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21141 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
21142 * sysdeps/sparc/crtn.S: Likewise.
21144 2012-02-17 Ulrich Drepper <drepper@gmail.com>
21146 * aout/Makefile: Remove.
21148 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
21151 * manual/examples/argp-ex1.c (main): Format definition in GNU
21153 * manual/examples/argp-ex2.c (main): Likewise.
21154 * manual/examples/argp-ex3.c (main): Likewise.
21155 * manual/examples/argp-ex4.c (main): Likewise.
21156 * manual/examples/longopt.c (main): Use new-style prototype
21158 * manual/examples/strncat.c (main): Specify return type and use
21159 (void) for arguments.
21160 * manual/examples/subopt.c (main): Use char **argv argument.
21162 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21165 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
21168 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
21171 * manual/string.texi (strchr): Change when strchrnul is
21174 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
21177 * manual/locale.texi (setlocale): Document LOCPATH.
21179 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21182 * manual/process.texi (execle): Move @dots{} before last argument.
21184 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
21187 * manual/charset.texi (Generic Charset Conversion): Fix typo
21188 (LC_TYPE -> LC_CTYPE).
21190 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
21193 * manual/arith.texi (scalbn): Use @var{} on parameter names.
21194 (scalbnf): Likewise.
21195 (scalbnl): Likewise.
21196 (scalbln): Likewise.
21197 (scalblnf): Likewise.
21198 (scalblnl): Likewise.
21199 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
21200 (vwarnx): Likewise.
21203 * manual/filesys.texi (telldir): Use braces around return type.
21204 * manual/llio.texi (mmap): Add space after comma.
21205 (mmap64): Likewise.
21206 * manual/math.texi (jn): Use @var{} on parameter names.
21212 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
21214 * manual/resource.texi (ulimit): Use @dots{} instead of literal
21216 (sched_get_priority_min): Remove semicolon on @deftypefun line.
21217 (sched_get_priority_max): Likewise.
21218 * manual/signal.texi (sigvec): Add space after comma.
21219 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
21221 (if_indextoname): Likewise.
21222 (if_freenameindex): Likewise.
21223 (sendto): Use ',' instead of '.' in prototype.
21224 * manual/startup.texi (syscall): Use @dots{} instead of literal
21226 * manual/stdio.texi (__fpending): Separate initial words of
21227 paragraph from @deftypefun line.
21228 * manual/syslog.texi (syslog): Use @dots{} instead of literal
21230 (vsyslog): Use @var{} on parameter names.
21231 * manual/terminal.texi (stty): Use @var{} on parameter names.
21232 * manual/users.texi (getutmp): Use @var{} on parameter names.
21233 (getutmpx): Likewise.
21235 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21238 * manual/stdio.texi (fopen): Fix typos in description of
21241 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
21244 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
21245 get clock_id definition.
21247 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
21250 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
21251 (madvise): Cast every argument to void on its own.
21253 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21256 * manual/startup.texi (Exit Status): Fix typo.
21258 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21261 * manual/examples/argp-ex1.c: Include <stdlib.h>.
21262 * manual/examples/argp-ex2.c: Likewise.
21263 * manual/examples/argp-ex3.c: Likewise.
21265 2012-02-16 Richard Henderson <rth@redhat.com>
21267 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
21268 * sysdeps/s390/s390-32/initfini.c: Remove.
21269 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
21270 * sysdeps/s390/s390-64/initfini.c: Remove.
21272 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21274 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
21275 compiler output for sysdeps/generic/initfini.c.
21276 * sysdeps/sh/elf/initfini.c: Remove file.
21278 2012-02-16 David S. Miller <davem@davemloft.net>
21281 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
21283 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
21284 * sysdeps/sparc/crti.S: New file.
21285 * sysdeps/sparc/crtn.S: New file.
21286 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
21287 * sysdeps/sparc/sparc64/Makefile: Likewise.
21289 2012-02-15 Mike Frysinger <vapier@gentoo.org>
21292 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
21294 2012-02-15 Roland McGrath <roland@hack.frob.com>
21297 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
21299 * mach/devstream.c (cookie_io_functions_t): Macro removed.
21300 (write, read, close): Likewise.
21301 Patch by Aurelien Jarno <aurelien@aurel32.net>.
21303 2012-02-15 Joseph Myers <joseph@codesourcery.com>
21305 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
21306 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
21307 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
21308 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
21310 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
21311 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21314 2012-02-14 Marek Polacek <polacek@redhat.com>
21316 * sysdeps/x86_64/crti.S: New file.
21317 * sysdeps/x86_64/crtn.S: New file.
21318 * sysdeps/x86_64/elf/initfini.c: Remove file.
21320 2012-02-13 Joseph Myers <joseph@codesourcery.com>
21322 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
21323 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
21324 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
21325 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
21327 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
21328 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21331 2012-02-13 Joseph Myers <joseph@codesourcery.com>
21333 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
21334 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
21335 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
21336 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
21338 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
21339 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21342 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
21344 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
21345 __feraiseexcept instead of feraiseexcept.
21347 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
21348 nanosleep invocations.
21349 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
21350 strings, and add error checking for a nanosleep invocations.
21352 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
21354 Replace FSF snail mail address with URLs, as per GNU coding standards.
21355 Most of the snail mail addresses were wrong anyway, and omitting
21356 them makes the source code easier to maintain. Almost all of the
21357 changes are to license notices and to locale LC_IDENTIFICATION
21358 addresses, except for this one:
21359 * manual/libc.texinfo: In "Published by", give the FSF's URL,
21360 not its snail mail address.
21362 2012-02-09 Richard Henderson <rth@twiddle.net>
21364 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
21365 of kernel-features.h.
21367 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
21369 2012-02-08 Marek Polacek <polacek@redhat.com>
21371 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
21372 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
21373 * sysdeps/gnu/_G_config.h: Likewise.
21374 * sysdeps/generic/_G_config.h: Likewise.
21376 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
21378 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
21380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21382 * sysdeps/powerpc/powerpc32/crti.S: New file.
21383 * sysdeps/powerpc/powerpc32/crtn.S: New file.
21384 * sysdeps/powerpc/powerpc64/crti.S: New file.
21385 * sysdeps/powerpc/powerpc64/crtn.S: New file.
21387 * Makeconfig (have-initfini): Don't set.
21388 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
21389 * configure.in (nopic_initfini): Don't substitute.
21390 * config.h.in (HAVE_INITFINI): Don't #undef.
21391 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
21392 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
21394 2012-02-08 Joseph Myers <joseph@codesourcery.com>
21396 Support crti.S and crtn.S provided directly by architectures.
21397 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
21398 [crti.S in sysdirs] (omit-deps): Likewise.
21399 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
21400 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
21401 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
21402 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
21403 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
21404 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
21405 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
21406 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
21407 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
21408 compiler output for sysdeps/generic/initfini.c.
21409 * sysdeps/i386/elf/Makefile: Remove file.
21410 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
21412 2012-02-07 Marek Polacek <polacek@redhat.com>
21414 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
21415 * sysdeps/gnu/_G_config.h: Likewise.
21416 * sysdeps/mach/hurd/_G_config.h: Likewise.
21418 2012-02-07 Marek Polacek <polacek@redhat.com>
21420 * math/Makefile (tests): Add tst-CMPLX2.
21421 * math/tst-CMPLX2.c: New file.
21423 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
21425 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21427 * math/libm-test.inc (jn_test): Add missing L suffix.
21429 2012-02-06 Marek Polacek <polacek@redhat.com>
21431 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
21432 * sysdeps/i386/fpu/e_powf.S: Likewise.
21433 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21434 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21435 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21436 * sysdeps/i386/fpu/e_pow.S: Likewise.
21437 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21438 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21439 * sysdeps/i386/fpu/s_expm1.S: Likewise.
21440 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21441 * sysdeps/i386/fpu/e_log2.S: Likewise.
21442 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21443 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21444 * sysdeps/i386/fpu/e_powl.S: Likewise.
21445 * sysdeps/i386/fpu/s_log1p.S: Likewise.
21446 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21447 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21448 * sysdeps/i386/fpu/e_logl.S: Likewise.
21449 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21450 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
21451 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21452 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21453 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21454 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21455 * sysdeps/i386/fpu/e_log.S: Likewise.
21456 * sysdeps/i386/fpu/s_cexp.S: Likewise.
21457 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21458 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
21459 * sysdeps/i386/fpu/e_logf.S: Likewise.
21460 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21461 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21462 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
21463 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21464 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21465 * sysdeps/i386/fpu/e_log10.S: Likewise.
21466 * sysdeps/i386/fpu/s_frexp.S: Likewise.
21467 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21468 * sysdeps/i386/fpu/s_asinh.S: Likewise.
21469 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21470 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21471 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21472 * sysdeps/i386/asm-syntax.h: Likewise.
21473 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21474 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21475 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21476 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
21477 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
21478 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21479 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21480 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21481 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21482 * sysdeps/powerpc/sysdep.h: Likewise.
21483 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21484 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21486 2012-02-06 Joseph Myers <joseph@codesourcery.com>
21489 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
21491 2012-02-06 Joseph Myers <joseph@codesourcery.com>
21493 * sysdeps/i386/sysdep.h: Include <features.h>.
21494 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
21497 2012-02-05 Joseph Myers <joseph@codesourcery.com>
21499 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
21501 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
21504 2012-02-03 Joseph Myers <joseph@codesourcery.com>
21506 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
21507 (SETUP_PIC_REG): Use GET_PC_THUNK.
21508 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
21511 2012-02-03 Joseph Myers <joseph@codesourcery.com>
21513 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
21514 for non-PIC compilation.
21515 (SETUP_PIC_REG): Add .p2align directive.
21516 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
21517 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
21518 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21519 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21520 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21521 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21522 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
21523 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21524 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21525 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21526 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21527 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21528 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21529 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21530 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21531 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21532 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21533 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21534 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21535 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21536 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21537 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21538 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21539 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21540 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21541 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21542 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21543 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21544 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21545 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21546 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21547 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21548 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21549 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21550 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21551 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21552 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21553 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21554 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21555 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21556 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21558 2012-02-03 Joseph Myers <joseph@codesourcery.com>
21560 * math/tst-CMPLX.c: Include <stdio.h>.
21562 2012-01-31 Joseph Myers <joseph@codesourcery.com>
21564 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
21566 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21567 * sysdeps/sparc/bits/mathdef.h: Likewise.
21569 2012-01-31 Marek Polacek <polacek@redhat.com>
21571 * libio/libio.h: Don't define _PARAMS.
21572 * locale/programs/config.h: Don't define PARAMS.
21573 * stdlib/strtol_l.c: Likewise.
21574 (__strtol_l): Remove PARAMS from the prototype.
21576 2012-01-31 Ulrich Drepper <drepper@gmail.com>
21578 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
21579 names. Just use the correct names. Remove unnecessary wrapper
21581 * malloc/arena.c: Likewise.
21582 * malloc/hooks.c: Likewise.
21584 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
21585 ARENA_TEST says not to. Simplify test for creation of a new arena.
21586 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
21588 2012-01-30 Ulrich Drepper <drepper@gmail.com>
21590 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
21592 (update_get_addr): New function.
21593 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
21594 GET_ADDR_MODULE parameter.
21596 2012-01-30 Joseph Myers <joseph@codesourcery.com>
21598 * crypt/cert.c: Remove __STDC__ conditionals.
21599 * crypt/crypt-entry.c: Likewise.
21600 * crypt/crypt_util.c: Likewise.
21601 * libio/filedoalloc.c: Likewise.
21602 * libio/fileops.c: Likewise.
21603 * libio/genops.c: Likewise.
21604 * libio/iofclose.c: Likewise.
21605 * libio/iofdopen.c: Likewise.
21606 * libio/iofopen.c: Likewise.
21607 * libio/iofopen64.c: Likewise.
21608 * libio/iogetdelim.c: Likewise.
21609 * libio/iopopen.c: Likewise.
21610 * libio/obprintf.c: Likewise.
21611 * libio/oldfileops.c: Likewise.
21612 * libio/oldiofclose.c: Likewise.
21613 * libio/oldiofdopen.c: Likewise.
21614 * libio/oldiofopen.c: Likewise.
21615 * libio/oldiopopen.c: Likewise.
21616 * libio/wfiledoalloc.c: Likewise.
21617 * libio/wgenops.c: Likewise.
21618 * locale/programs/xmalloc.c: Likewise.
21619 * misc/syslog.c: Likewise.
21620 * stdio-common/xbug.c: Likewise.
21621 * string/memchr.c: Likewise.
21622 * string/memcmp.c: Likewise.
21623 * string/memrchr.c: Likewise.
21624 * string/rawmemchr.c: Likewise.
21625 * sysdeps/posix/getcwd.c: Likewise.
21626 * time/strftime_l.c: Likewise.
21628 2012-01-30 Joseph Myers <joseph@codesourcery.com>
21630 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
21631 * config.make.in (config-cflags-sse2avx): Define.
21632 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
21635 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
21637 * scripts/config.guess: Update from upstream config git repository.
21638 * scripts/config.sub: Likewise.
21640 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
21642 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
21644 (R_TILEPRO_*, R_TILEGX_*): New macros.
21646 * scripts/firstversions.awk: Fix bug in version range handling.
21648 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
21650 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
21652 * include/sys/epoll.h: New file.
21653 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
21656 2012-01-28 Ulrich Drepper <drepper@gmail.com>
21658 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
21659 Avoid unnecessary __WORDSIZE == 64 test.
21660 (fmaxf): Use VEX format if possible.
21665 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
21666 * math/math_private.h: Remove libc_fegetround* and
21668 * sysdeps/i386/configure.in: Check for -msse2avx.
21669 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
21670 also if SSE2AVX is defined.
21671 Remove libc_fegetround* and libc_fesetround*.
21672 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
21673 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
21674 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
21676 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21677 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21678 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21679 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21680 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21682 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
21684 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21686 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
21688 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21690 2012-01-27 Ulrich Drepper <drepper@gmail.com>
21693 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
21695 * Makeconfig (libm): Define.
21696 * elf/Makefile: Add rules to build and run tst-relsort1.
21697 * elf/tst-relsort1.c: New file.
21698 * elf/tst-relsort1mod1.c: New file.
21699 * elf/tst-relsort1mod2.c: New file.
21701 2012-01-27 Joseph Myers <joseph@codesourcery.com>
21703 * math/s_ldexp.c: Remove __STDC__ conditionals.
21704 * math/s_ldexpf.c: Likewise.
21705 * math/s_ldexpl.c: Likewise.
21706 * math/s_nextafter.c: Likewise.
21707 * math/s_nexttowardf.c: Likewise.
21708 * math/s_significand.c: Likewise.
21709 * math/s_significandf.c: Likewise.
21710 * math/s_significandl.c: Likewise.
21711 * math/w_jnl.c: Likewise.
21712 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21713 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21714 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21715 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21716 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21717 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21718 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
21719 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21720 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21721 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21722 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21723 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21724 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21725 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21726 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21727 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21728 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21729 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21730 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21731 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21732 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21733 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21734 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21735 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21736 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21737 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21738 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21739 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21740 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21741 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21742 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21743 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21744 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21745 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21746 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21747 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21748 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21749 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21750 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21751 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21752 * sysdeps/ieee754/k_standard.c: Likewise.
21753 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21754 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21755 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21756 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21757 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21758 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21759 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21760 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21761 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21762 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21763 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21764 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21765 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21766 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21767 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21768 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21769 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21770 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21771 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21772 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21773 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21774 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21775 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21776 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21777 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21778 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21779 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21780 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21781 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21782 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21783 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21784 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
21785 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21786 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21787 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21788 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21789 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
21790 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21791 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21792 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
21793 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
21794 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21795 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21796 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
21797 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21798 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21799 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21800 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21801 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21802 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21803 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
21804 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21805 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21806 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21807 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21808 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21809 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
21810 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21811 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21812 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21813 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21814 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21815 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21816 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21817 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21818 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21819 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21820 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21821 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21822 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21823 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21824 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21825 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21826 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21827 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21828 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21829 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21830 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21831 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21832 * sysdeps/ieee754/s_matherr.c: Likewise.
21833 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21834 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21835 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21836 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21838 2012-01-26 Joseph Myers <joseph@codesourcery.com>
21840 * crypt/md5.h: Remove __STDC__ conditionals.
21841 * libio/libioP.h: Likewise.
21842 * locale/programs/config.h: Likewise.
21843 * sysdeps/generic/sysdep.h: Likewise.
21844 * sysdeps/i386/asm-syntax.h: Likewise.
21845 * sysdeps/s390/asm-syntax.h: Likewise.
21846 * sysdeps/unix/sysdep.h: Likewise.
21847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21850 2012-01-26 Joseph Myers <joseph@codesourcery.com>
21852 * libio/libio.h: Remove __STDC__ conditionals.
21853 * malloc/obstack.h: Likewise.
21854 * math/complex.h: Likewise.
21855 * math/math.h: Likewise.
21856 * sysdeps/generic/_G_config.h: Likewise.
21857 * sysdeps/gnu/_G_config.h: Likewise.
21858 * sysdeps/mach/hurd/_G_config.h: Likewise.
21859 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21860 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21861 * sysdeps/sparc/bits/mathdef.h: Likewise.
21863 2012-01-26 Ulrich Drepper <drepper@gmail.com>
21866 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
21867 Clean up HAS_* macros.
21868 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
21869 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21871 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21873 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21874 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21875 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21876 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21877 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21879 2012-01-25 Joseph Myers <joseph@codesourcery.com>
21881 * elf/tst-unique3.cc (gets): Remove declaration.
21882 * elf/tst-unique3lib.cc (gets): Likewise.
21883 * elf/tst-unique3lib2.cc (gets): Likewise.
21884 * elf/tst-unique4.cc (gets): Likewise.
21886 2012-01-24 Ulrich Drepper <drepper@gmail.com>
21888 * include/stdio.h: Add C++ protection. Add gets declarations and
21890 * debug/tst-chk1.c: Don't declare gets here.
21891 * stdio-common/tst-gets.c: Likewise.
21893 2012-01-24 Joseph Myers <joseph@codesourcery.com>
21895 * posix/glob: Remove directory.
21897 2012-01-24 Joseph Myers <joseph@codesourcery.com>
21899 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21901 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
21903 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21904 of the non-standard EPFNOSUPPORT.
21906 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
21908 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21909 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21910 ANYWHERE set to 1 only on KERN_NO_SPACE error.
21912 2012-01-21 Ulrich Drepper <drepper@gmail.com>
21914 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21916 2012-01-20 Ulrich Drepper <drepper@gmail.com>
21918 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21920 * nscd/grpcache.c (cache_addgr): Likewise.
21921 * nscd/hstcache.c (cache_addhst): Likewise.
21922 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21923 * nscd/pwdcache.c (cache_addpw): Likewise.
21924 * nscd/servicescache.c (cache_addserv): Likewise.
21926 2012-01-16 Ulrich Drepper <drepper@gmail.com>
21928 * malloc/malloc.c: Various cleanups.
21929 * malloc/hooks.c: Likewise.
21931 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21932 * stdlib/bug-fmtmsg1.c: New file.
21934 * stdlib/fmtmsg.c (init): Add missing unlock.
21935 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21937 2012-01-12 Marek Polacek <polacek@redhat.com>
21939 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21942 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21944 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21945 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21946 macro to ensure uniqueness of label name.
21947 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21948 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21950 2012-01-11 Ulrich Drepper <drepper@gmail.com>
21952 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21954 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21955 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21956 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21957 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21959 2012-01-10 Ulrich Drepper <drepper@gmail.com>
21961 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21963 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21964 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21965 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21967 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21969 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
21970 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21971 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21972 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
21974 * math/bits/math-finite.h: Add ldexp support.
21976 2012-01-10 Marek Polacek <polacek@redhat.com>
21978 * locale/programs/localedef.h (show_archive_content): Add noreturn
21981 2012-01-09 Ulrich Drepper <drepper@gmail.com>
21983 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21985 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21987 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21989 * io/Makefile (headers): Add bits/poll2.h.
21991 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21994 typo #include statement.
21996 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21998 * include/sys/cdefs.h: Define __attribute_alloc_size.
21999 * catgets/gencat.c: Add alloc_size attribute and apply consistently
22000 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
22001 * elf/pldd.c: Likewise.
22002 * iconv/iconv_charmap.c: Likewise.
22003 * iconv/iconvconfig.c: Likewise.
22004 * iconv/strtab.c: Likewise.
22005 * locale/programs/locale.c: Likewise.
22006 * locale/programs/localedef.h: Likewise.
22007 * locale/programs/simple-hash.c: Likewise.
22008 * nscd/nscd.h: Likewise.
22009 * nss/makedb.c: Likewise.
22010 * sysdeps/generic/ldconfig.h: Likewise.
22011 * locale/programs/localedef.c: Remove xmalloc prototype.
22012 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
22014 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22016 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
22019 2012-01-08 Ulrich Drepper <drepper@gmail.com>
22021 * math/Makefile (tests): Add tst-CMPLX.
22022 * math/tst-CMPLX.c: New file.
22024 * math/complex.h (CMPLXL): Fix typo.
22026 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
22027 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
22029 * debug/tst-chk1.c: Add poll and ppoll tests.
22030 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
22031 * include/sys/poll.h: Add hidden proto for ppoll.
22032 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
22033 * sysdeps/mach/hurd/ppoll.c: Likewise.
22034 * io/ppoll.c: Likewise.
22035 * debug/poll_chk.c: New file.
22036 * debug/ppoll_chk.c: New file.
22037 * include/bits/poll2.h: New file.
22038 * io/bits/poll2.h: New file.
22041 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
22043 * configure.in: static is always set to yes. Remove.
22044 * config.make.in: Don't set build-static.
22045 * Makeconfig: Remove use of build-static.
22046 * dlfcn/Makefile: Likewise.
22047 * elf/Makefile: Likewise.
22048 * math/Makefile: Likewise.
22049 * misc/Makefile: Likewise.
22050 * nptl/Makefile: Likewise.
22051 * sysdeps/mach/hurd/Makefile: Likewise.
22053 * configure.in: PWD_P is not used anymore.
22054 * config.make.in: Remove PWD_P entry.
22056 * configure.in: Remove last remnants of RANLIB.
22057 No need to check for signed size_t anymore.
22058 Don't set libc_commonpagesize and libc_relro_required here for Alpha
22060 Remove __builtin_expect test because we require at least gcc 3.4.
22061 * aclocal.m4: Likewise.
22063 * wcsmbs/mbrtoc16.c: Implement using towc function.
22064 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
22065 * wcsmbs/wcsmbsload.c: Likewise.
22066 * iconv/gconv_simple.c: Likewise.
22067 * iconv/gconv_int.h: Likewise.
22068 * iconv/gconv_builtin.h: Likewise.
22069 * iconv/iconv_prog.c: Remove CHAR16 handling.
22071 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
22073 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
22075 * configure.in: Remove --with-elf and --enable-bounded options.
22076 Dont set base_machine for ia64. More non-ELF conditions removed.
22077 Remove testing and setting of leading underscore information.
22078 * config.make.in (build-bounded): Set to no.
22079 * config.h.in: Remove NO_UNDERSCORES entry.
22080 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
22082 * csu/start.c: Remove !NO_UNDERSCORE code.
22083 * locale/localeinfo.h: Likewise.
22084 * sysdeps/generic/machine-gmon.h: Likewise.
22085 * sysdeps/generic/sysdep.h: Likewise.
22086 * sysdeps/i386/sysdep.h: Likewise.
22087 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
22088 * sysdeps/mach/sysdep.h: Likewise.
22089 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22090 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22091 * sysdeps/sh/sysdep.h: Likewise.
22092 * sysdeps/sparc/sparc32/alloca.S: Likewise.
22093 * sysdeps/unix/i386/sysdep.S: Likewise.
22094 * sysdeps/unix/sparc/start.c: Likewise.
22095 * sysdeps/unix/sparc/sysdep.S: Likewise.
22096 * sysdeps/unix/sparc/sysdep.h: Likewise.
22097 * sysdeps/unix/start.c: Likewise.
22098 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22099 * sysdeps/x86_64/sysdep.h: Likewise.
22101 2012-01-07 Ulrich Drepper <drepper@gmail.com>
22104 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
22106 * argp/argp-fmtstream.h: Use const instead __const.
22107 * argp/argp.h: Likewise.
22108 * assert/assert.h: Likewise.
22109 * bits/fenv.h: Likewise.
22110 * bits/sched.h: Likewise.
22111 * bits/sigset.h: Likewise.
22112 * bits/sigthread.h: Likewise.
22113 * catgets/nl_types.h: Likewise.
22114 * conform/data/pthread.h-data: Likewise.
22115 * crypt/crypt-private.h: Likewise.
22116 * crypt/crypt.h: Likewise.
22117 * crypt/crypt_util.c: Likewise.
22118 * ctype/ctype.h: Likewise.
22119 * debug/execinfo.h: Likewise.
22120 * debug/mbsnrtowcs_chk.c: Likewise.
22121 * debug/mbsrtowcs_chk.c: Likewise.
22122 * debug/wcsnrtombs_chk.c: Likewise.
22123 * debug/wcsrtombs_chk.c: Likewise.
22124 * debug/wcstombs_chk.c: Likewise.
22125 * dirent/dirent.h: Likewise.
22126 * dlfcn/dlfcn.h: Likewise.
22127 * elf/neededtest4.c: Likewise.
22128 * grp/grp.h: Likewise.
22129 * gshadow/gshadow.h: Likewise.
22130 * iconv/gconv.h: Likewise.
22131 * iconv/gconv_int.h: Likewise.
22132 * iconv/gconv_simple.c: Likewise.
22133 * iconv/iconv.h: Likewise.
22134 * iconv/loop.c: Likewise.
22135 * iconv/skeleton.c: Likewise.
22136 * include/aio.h: Likewise.
22137 * include/aliases.h: Likewise.
22138 * include/argz.h: Likewise.
22139 * include/arpa/inet.h: Likewise.
22140 * include/assert.h: Likewise.
22141 * include/dirent.h: Likewise.
22142 * include/dlfcn.h: Likewise.
22143 * include/execinfo.h: Likewise.
22144 * include/fcntl.h: Likewise.
22145 * include/fenv.h: Likewise.
22146 * include/glob.h: Likewise.
22147 * include/grp.h: Likewise.
22148 * include/libintl.h: Likewise.
22149 * include/mntent.h: Likewise.
22150 * include/netdb.h: Likewise.
22151 * include/pwd.h: Likewise.
22152 * include/rpc/netdb.h: Likewise.
22153 * include/sched.h: Likewise.
22154 * include/search.h: Likewise.
22155 * include/shadow.h: Likewise.
22156 * include/signal.h: Likewise.
22157 * include/stdio.h: Likewise.
22158 * include/stdlib.h: Likewise.
22159 * include/string.h: Likewise.
22160 * include/sys/socket.h: Likewise.
22161 * include/sys/stat.h: Likewise.
22162 * include/sys/statfs.h: Likewise.
22163 * include/sys/statvfs.h: Likewise.
22164 * include/sys/syslog.h: Likewise.
22165 * include/sys/time.h: Likewise.
22166 * include/sys/uio.h: Likewise.
22167 * include/time.h: Likewise.
22168 * include/unistd.h: Likewise.
22169 * include/utmp.h: Likewise.
22170 * include/wchar.h: Likewise.
22171 * include/wctype.h: Likewise.
22172 * inet/aliases.h: Likewise.
22173 * inet/arpa/inet.h: Likewise.
22174 * inet/netinet/ether.h: Likewise.
22175 * inet/netinet/in.h: Likewise.
22176 * intl/libintl.h: Likewise.
22177 * io/bits/fcntl2.h: Likewise.
22178 * io/fcntl.h: Likewise.
22179 * io/ftw.h: Likewise.
22180 * io/sys/poll.h: Likewise.
22181 * io/sys/stat.h: Likewise.
22182 * io/sys/statfs.h: Likewise.
22183 * io/sys/statvfs.h: Likewise.
22184 * io/utime.h: Likewise.
22185 * libio/bits/stdio.h: Likewise.
22186 * libio/bits/stdio2.h: Likewise.
22187 * libio/libio.h: Likewise.
22188 * libio/libioP.h: Likewise.
22189 * libio/stdio.h: Likewise.
22190 * locale/lc-ctype.c: Likewise.
22191 * locale/locale.h: Likewise.
22192 * login/utmp.h: Likewise.
22193 * malloc/arena.c: Likewise.
22194 * malloc/malloc.c: Likewise.
22195 * malloc/malloc.h: Likewise.
22196 * malloc/mcheck.c: Likewise.
22197 * malloc/mtrace.c: Likewise.
22198 * math/bits/mathcalls.h: Likewise.
22199 * math/fenv.h: Likewise.
22200 * math/math_private.h: Likewise.
22201 * misc/bits/error.h: Likewise.
22202 * misc/bits/syslog.h: Likewise.
22203 * misc/err.h: Likewise.
22204 * misc/error.h: Likewise.
22205 * misc/fstab.h: Likewise.
22206 * misc/mntent.h: Likewise.
22207 * misc/regexp.h: Likewise.
22208 * misc/search.h: Likewise.
22209 * misc/sgtty.h: Likewise.
22210 * misc/sys/mman.h: Likewise.
22211 * misc/sys/syslog.h: Likewise.
22212 * misc/sys/uio.h: Likewise.
22213 * misc/sys/xattr.h: Likewise.
22214 * misc/ttyent.h: Likewise.
22215 * nis/rpcsvc/ypclnt.h: Likewise.
22216 * nss/nss.h: Likewise.
22217 * posix/bits/unistd.h: Likewise.
22218 * posix/fnmatch.h: Likewise.
22219 * posix/glob.h: Likewise.
22220 * posix/sched.h: Likewise.
22221 * posix/spawn.h: Likewise.
22222 * posix/sys/wait.h: Likewise.
22223 * posix/unistd.h: Likewise.
22224 * posix/wordexp.h: Likewise.
22225 * pwd/pwd.h: Likewise.
22226 * resolv/netdb.h: Likewise.
22227 * resource/sys/resource.h: Likewise.
22228 * rt/aio.h: Likewise.
22229 * rt/bits/mqueue2.h: Likewise.
22230 * rt/mqueue.h: Likewise.
22231 * shadow/shadow.h: Likewise.
22232 * signal/signal.h: Likewise.
22233 * socket/send.c: Likewise.
22234 * socket/sendto.c: Likewise.
22235 * socket/sys/socket.h: Likewise.
22236 * stdio-common/printf.h: Likewise.
22237 * stdlib/bits/stdlib.h: Likewise.
22238 * stdlib/fmtmsg.h: Likewise.
22239 * stdlib/monetary.h: Likewise.
22240 * stdlib/stdlib.h: Likewise.
22241 * stdlib/ucontext.h: Likewise.
22242 * streams/stropts.h: Likewise.
22243 * string/argz.h: Likewise.
22244 * string/bits/string2.h: Likewise.
22245 * string/string.h: Likewise.
22246 * string/strings.h: Likewise.
22247 * sunrpc/rpc/auth.h: Likewise.
22248 * sunrpc/rpc/auth_des.h: Likewise.
22249 * sunrpc/rpc/clnt.h: Likewise.
22250 * sunrpc/rpc/netdb.h: Likewise.
22251 * sunrpc/rpc/pmap_clnt.h: Likewise.
22252 * sunrpc/rpc/xdr.h: Likewise.
22253 * sysdeps/generic/inttypes.h: Likewise.
22254 * sysdeps/generic/net/if.h: Likewise.
22255 * sysdeps/generic/sys/swap.h: Likewise.
22256 * sysdeps/gnu/net/if.h: Likewise.
22257 * sysdeps/gnu/utmpx.h: Likewise.
22258 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
22259 * sysdeps/i386/i486/bits/string.h: Likewise.
22260 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
22261 * sysdeps/s390/bits/string.h: Likewise.
22262 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
22263 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
22264 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
22265 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
22266 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
22267 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
22268 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
22269 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
22270 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
22271 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
22272 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
22273 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22274 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
22275 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22276 * sysdeps/unix/sysv/linux/readv.c: Likewise.
22277 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
22278 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22279 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22280 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
22281 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
22282 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22283 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
22284 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
22285 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
22286 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
22287 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
22288 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
22289 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22290 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
22291 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
22292 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
22293 * sysvipc/sys/ipc.h: Likewise.
22294 * sysvipc/sys/msg.h: Likewise.
22295 * sysvipc/sys/sem.h: Likewise.
22296 * sysvipc/sys/shm.h: Likewise.
22297 * termios/termios.h: Likewise.
22298 * time/sys/time.h: Likewise.
22299 * time/time.h: Likewise.
22300 * wcsmbs/bits/wchar2.h: Likewise.
22301 * wcsmbs/uchar.h: Likewise.
22302 * wcsmbs/wchar.h: Likewise.
22303 * wctype/wctype.h: Likewise.
22306 * Makeconfig: Remove all but ELF support including AIX support.
22307 * Makerules: Likewise.
22308 * config.h.in: Likewise.
22309 * config.make.in: Likewise.
22310 * configure: Likewise.
22311 * configure.in: Likewise.
22312 * csu/Makefile: Likewise.
22313 * csu/version.c: Likewise.
22314 * debug/Makefile: Likewise.
22315 * dlfcn/Makefile: Likewise.
22316 * elf/Makefile: Likewise.
22317 * extra-lib.mk: Likewise.
22318 * iconv/Makefile: Likewise.
22319 * include/libc-symbols.h: Likewise.
22320 * include/shlib-compat.h: Likewise.
22321 * resolv/Makefile: Likewise.
22322 * resolv/res_libc.c: Likewise.
22323 * rt/Makefile: Likewise.
22324 * sysdeps/i386/asm-syntax.h: Likewise.
22325 * sysdeps/i386/sysdep.h: Likewise.
22326 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
22327 * sysdeps/mach/sysdep.h: Likewise.
22328 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
22329 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
22330 * sysdeps/s390/asm-syntax.h: Likewise.
22331 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22332 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22333 * sysdeps/sh/sysdep.h: Likewise.
22334 * sysdeps/unix/sparc/sysdep.h: Likewise.
22335 * sysdeps/wordsize-32/divdi3.c: Likewise.
22336 * sysdeps/x86_64/sysdep.h: Likewise.
22338 * argp/Versions: Remove _argp_unlock_xxx.
22341 * abilist/ld.abilist: Update. Adjust for removal of tls option.
22342 * abilist/libBrokenLocale.abilist: Likewise.
22343 * abilist/libanl.abilist: Likewise.
22344 * abilist/libc.abilist: Likewise.
22345 * abilist/libcrypt.abilist: Likewise.
22346 * abilist/libdl.abilist: Likewise.
22347 * abilist/libm.abilist: Likewise.
22348 * abilist/libnsl.abilist: Likewise.
22349 * abilist/libpthread.abilist: Likewise.
22350 * abilist/libresolv.abilist: Likewise.
22351 * abilist/librt.abilist: Likewise.
22352 * abilist/libthread_db.abilist: Likewise.
22353 * abilist/libutil.abilist: Likewise.
22354 * abilist/libnss_db.abilist: New file.
22356 * scripts/abilist.awk: Add support for indirect functions.
22358 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
22360 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
22362 * shlib-versions: Remove entries for ports architectures.
22364 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
22366 * elf/stackguard-macros.h: Remove support for IA-64.
22367 * elf/tst-auditmod1.c: Likewise.
22368 * sysdeps/generic/ldsodefs.h: Likewise.
22370 * sysdeps/unix/sysv/linux/configure.in: Ports should define
22371 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
22375 * configure.in: Remove --enable-omitfp support.
22377 * config.make.in: Likewise.
22378 * Makeconfig: Likewise.
22379 * manual/install.texi: Likewise.
22381 In case anyone cares, the IA-64 architecture could move to ports.
22382 * sysdeps/ia64/*: Removed.
22383 * sysdeps/unix/sysv/linux/ia64/*: Removed.
22384 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
22387 * configure.in: Remove entries for unsupported architectures.
22390 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
22391 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
22393 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
22394 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
22395 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
22396 fall back to using wcrtomb.
22397 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
22398 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
22400 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
22401 * wcsmbs/tst-c16c32-1.c: New file.
22403 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
22406 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
22408 * elf/tst-unique3.cc: Add explicit declaration of gets.
22409 * elf/tst-unique3lib.cc: Likewise.
22410 * elf/tst-unique3lib2.cc: Likewise.
22411 * elf/tst-unique4.cc: Likewise.
22413 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
22415 2012-01-06 Joseph Myers <joseph@codesourcery.com>
22418 * assert/assert.h (static_assert): Don't define for C++.
22419 * libio/stdio.h (gets): Do declare for C++ <= C++11.
22420 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
22422 2012-01-03 Ulrich Drepper <drepper@gmail.com>
22424 * iconv/loop.c (single loop): Fix assertion in storing of
22427 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
22429 2012-01-01 Ulrich Drepper <drepper@gmail.com>
22431 * posix/getconf.c: Update copyright year.
22432 * nss/getent.c: Likewise.
22433 * nss/makedb.c: Likewise.
22434 * iconv/iconvconfig.c: Likewise.
22435 * iconv/iconv_prog.c: Likewise.
22436 * elf/ldconfig.c: Likewise.
22437 * elf/pldd.c: Likewise.
22438 * elf/sotruss.ksh: Likewise.
22439 * catgets/gencat.c: Likewise.
22440 * csu/version.c: Likewise.
22441 * elf/ldd.bash.in: Likewise.
22442 * elf/sprof.c (print_version): Likewise.
22443 * locale/programs/locale.c: Likewise.
22444 * locale/programs/localedef.c: Likewise.
22445 * login/programs/pt_chown.c: Likewise.
22446 * nscd/nscd.c (print_version): Likewise.
22447 * debug/xtrace.sh: Likewise.
22448 * malloc/memusage.sh: Likewise.
22449 * malloc/mtrace.pl: Likewise.
22450 * debug/catchsegv.sh: Likewise.
22452 2011-12-30 Jakub Jelinek <jakub@redhat.com>
22454 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
22457 2011-12-24 Ulrich Drepper <drepper@gmail.com>
22460 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
22461 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
22463 * iconv/gconv_int.h: Likewise.
22464 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
22465 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
22466 from libc for GLIBC_2.16.
22467 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
22468 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
22469 * wcsmbs/uchar.h: Really define mbstate_t.
22470 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
22471 * wcsmbs/c16rtomb.c: New file.
22472 * wcsmbs/mbrtoc16.c: New file.
22473 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
22474 for C/POSIX locale.
22475 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
22476 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
22478 * wcsmbs/wchar.h: Add missing __restrict.
22480 2011-12-23 Ulrich Drepper <drepper@gmail.com>
22483 * time/Makefile (routines): Add timespec_get.
22484 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
22485 * time/time.h: Define TIME_UTC and declare timespec_get. Define
22486 timespec for ISO C11.
22487 * time/timespec_get.c: New file.
22488 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
22489 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
22492 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
22493 * stdlib/stdlib.h: Declare aligned_alloc.
22494 * Versions.def: Add GLIBC_2.16 for libc.
22495 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
22498 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
22501 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
22505 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
22508 * assert/assert.h (static_assert): Define.
22510 * version.h: Update for 2.16 development version.
22513 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
22516 * version.h (RELEASE): Bump for 2.15 release.
22517 * include/features.h (__GLIBC_MINOR__): Bump to 15.
22519 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
22520 Patch by Marek Polacek <mpolacek@redhat.com>.
22522 * bits/byteswap.h: Protect long long constants with __extension__.
22523 * sysdeps/i386/bits/byteswap.h: Likewise.
22524 * sysdeps/ia64/bits/byteswap.h: Likewise.
22525 * sysdeps/s390/bits/byteswap.h: Likewise.
22526 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22528 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22531 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
22532 destination buffer.
22533 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
22535 2011-12-23 Marek Polacek <polacek@redhat.com>
22537 * elf/dl-addr.c (determine_info): Add inline keyword.
22538 * elf/tst-auditmod4b.c (check_avx): Likewise.
22539 * elf/tst-auditmod6b.c (check_avx): Likewise.
22540 * elf/tst-auditmod6c.c (check_avx): Likewise.
22541 * elf/tst-auditmod7b.c (check_avx): Likewise.
22543 2011-12-23 Ulrich Drepper <drepper@gmail.com>
22545 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
22548 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22551 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
22552 processing for last bytes.
22554 2011-08-06 Bruno Haible <bruno@clisp.org>
22557 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
22558 U+0385, not to U+1FEE.
22561 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
22562 entry for U+00A5 U+0301.
22564 2011-12-22 Ulrich Drepper <drepper@gmail.com>
22567 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
22568 buffer for the output is too small.
22570 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
22574 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
22575 SSE flags if possible.
22577 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22580 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
22581 processing for last bytes.
22583 2011-12-22 Joseph Myers <joseph@codesourcery.com>
22585 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
22586 (syscall-list-default-options, syscall-list-default-condition)
22587 (syscall-list-includes): Define.
22588 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
22589 list of ABIs and options and #if conditions for each ABI. Do not
22590 handle common syscalls between ABIs specially.
22591 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
22593 (syscall-list-variants, syscall-list-32bit-options)
22594 (syscall-list-32bit-condition, syscall-list-64bit-options)
22595 (syscall-list-64bit-condition): Define.
22596 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
22597 (syscall-list-variants, syscall-list-32bit-options)
22598 (syscall-list-32bit-condition, syscall-list-64bit-options)
22599 (syscall-list-64bit-condition): Define.
22600 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
22602 (syscall-list-variants, syscall-list-32bit-options)
22603 (syscall-list-32bit-condition, syscall-list-64bit-options)
22604 (syscall-list-64bit-condition): Define.
22605 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
22607 (syscall-list-variants, syscall-list-32bit-options)
22608 (syscall-list-32bit-condition, syscall-list-64bit-options)
22609 (syscall-list-64bit-condition): Define.
22611 2011-12-22 Ulrich Drepper <drepper@gmail.com>
22613 * locale/iso-639.def: Add brx entry.
22616 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
22617 Proposed by Mariusz_Cukr <marcukr@op.pl>.
22619 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
22620 __feraiseexcept_renamed.
22622 2011-12-21 Ulrich Drepper <drepper@gmail.com>
22625 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
22626 EPOLLET with unsigned values.
22627 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22628 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22630 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
22631 to large cancellation.
22632 * math/s_cacoshf.c: Likewise.
22633 * math/s_cacoshl.c: Likewise.
22635 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
22639 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
22640 * math/s_cacoshf.c: Likewise.
22641 * math/s_cacoshl.c: Likewise.
22643 2011-12-21 Ulrich Drepper <drepper@gmail.com>
22646 * iconv/gconv.h: Define __GCONV_SWAP.
22647 * iconvdata/unicode.c: The swap bit must be stored in __flags.
22648 * iconvdata/utf-16.c: Likewise.
22649 * iconvdata/utf-32.c: Likewise.
22651 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
22654 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
22655 numerator after shifting it by one limb.
22657 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
22659 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
22660 under [__USE_EXTERN_INLINES].
22662 2011-12-17 Ulrich Drepper <drepper@gmail.com>
22665 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
22667 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22669 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
22670 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
22672 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
22673 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
22674 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
22675 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
22676 for strncasecmp/strncasecmp_l compilation.
22677 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
22678 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
22680 2011-12-08 Marek Polacek <mpolacek@redhat.com>
22683 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
22686 2011-12-17 Ulrich Drepper <drepper@gmail.com>
22689 * time/tzfile.c (__tzfile_read): Check values from file header.
22691 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
22693 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
22694 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
22695 * powerpc/powerpc32/dl-start.S: Likewise.
22696 * powerpc/powerpc32/elf/start.S: Likewise.
22697 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22698 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
22699 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
22700 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
22701 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22702 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
22703 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
22704 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22705 * powerpc/powerpc32/fpu/s_round.S: Likewise.
22706 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22707 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22708 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22709 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22710 * powerpc/powerpc32/memset.S: Likewise.
22711 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22712 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22713 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22714 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22715 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22716 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22717 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22718 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22719 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
22720 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
22721 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
22722 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22723 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22725 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22727 * math/libm-test.inc: Added more nearbyint tests.
22728 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
22729 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
22730 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
22731 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
22733 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
22735 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
22738 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22740 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
22741 Add wcscpy-ssse3 wcscpy-c.
22742 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
22743 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
22744 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
22745 * sysdeps/x86_64/wcschr.S: New file.
22746 * sysdeps/x86_64/wcsrchr.S: New file.
22747 * string/test-strcmp.c: Remove checking of wcscmp function for
22749 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
22750 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
22751 wcsrchr-sse2 wcsrchr-c.
22752 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
22753 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
22754 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
22755 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
22756 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
22757 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
22758 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
22759 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
22760 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
22761 * wcsmbc/wcschr.c (WCSCHR): New macro.
22763 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22765 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
22766 * wcsmbs/test-wcsrchr.c: New file.
22767 * string/test-strrchr.c: Add wcsrchr support.
22769 * wcsmbs/test-wcscpy.c: New file.
22770 * string/test-strcpy.c: Add wcscpy support.
22773 2011-12-10 Ulrich Drepper <drepper@gmail.com>
22775 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
22778 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
22781 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
22783 2011-12-04 Ulrich Drepper <drepper@gmail.com>
22785 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
22786 Minor optimizations.
22788 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
22789 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
22790 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22792 2011-12-03 Ulrich Drepper <drepper@gmail.com>
22794 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
22795 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
22796 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
22797 for gcc to avoid warnings.
22798 * inet/Makefile (tests): Add tst-checks.
22799 * inet/tst-checks.c: New file.
22801 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
22804 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
22807 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
22808 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
22810 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
22812 2011-12-02 Ulrich Drepper <drepper@gmail.com>
22814 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22817 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22819 2011-11-29 Joseph Myers <joseph@codesourcery.com>
22821 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22822 conditional on GCC version.
22823 (__arch_compare_and_exchange_val_8_acq)
22824 (__arch_compare_and_exchange_val_16_acq)
22825 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22826 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22827 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22829 2011-12-02 Joseph Myers <joseph@codesourcery.com>
22831 * sysdeps/sh/backtrace.c: New file.
22833 2011-12-02 Andreas Schwab <schwab@redhat.com>
22835 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
22838 2011-12-01 Andreas Schwab <schwab@redhat.com>
22840 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22841 falling back to utime.
22843 2011-11-30 Andreas Schwab <schwab@redhat.com>
22845 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22846 expectations for float.
22848 2011-11-29 Andreas Schwab <schwab@redhat.com>
22850 * locale/weight.h (findidx): Add parameter len.
22851 * locale/weightwc.h (findidx): Likewise.
22852 * posix/fnmatch_loop.c (FCT): Adjust caller.
22853 * posix/regcomp.c (build_equiv_class): Likewise.
22854 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22855 * posix/regexec.c (check_node_accept_bytes): Likewise.
22856 * string/strcoll_l.c (STRCOLL): Likewise.
22857 * string/strxfrm_l.c (STRXFRM): Likewise.
22859 2011-11-17 Ulrich Drepper <drepper@gmail.com>
22861 * Makefile.in: Remove CVSOPT handling.
22862 * configure.in: Remove use of AC_REVISION.
22863 * iconvdata/Makefile (distribute): No need to filter out CVS.
22864 * scripts/list-sources.sh: Remove CVS, subversion and monotone
22867 2011-11-16 Andreas Schwab <schwab@redhat.com>
22869 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22870 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22871 [USE_AS_STRNCASECMP_L]: Likewise.
22872 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22873 NO_TLS_DIRECT_SEG_REFS.
22874 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22875 Fix argument offsets for non-PIC.
22876 [USE_AS_STRNCASECMP_L]: Likewise.
22877 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22878 NO_TLS_DIRECT_SEG_REFS.
22880 2011-11-15 Ulrich Drepper <drepper@gmail.com>
22882 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
22884 * locale/loadlocale.c (_nl_load_locale): Likewise.
22886 2011-11-15 Andreas Schwab <schwab@redhat.com>
22888 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22889 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22890 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22891 (SYSCALL_GETTIME): Set errno on error.
22893 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22894 count references to noai6ai_cached.
22896 2011-11-15 Ulrich Drepper <drepper@gmail.com>
22898 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22900 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22901 FD_CLOEXEC for /proc/self/maps.
22903 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22904 FD_CLOEXEC for /proc/meminfo.
22906 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22909 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
22910 FD_CLOEXEC for given file.
22912 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22914 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22915 FD_CLOEXEC for /etc/hosts.
22916 (_gethtent): Likewise.
22918 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22920 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22921 cancellation and set FD_CLOEXEC for /etc/netgroup.
22923 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22924 reading /etc/publickey.
22926 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22927 allow cancellation when reading /etc/group.
22929 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22931 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22933 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22934 when using data file.
22936 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22938 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22939 (write_nis_obj): Use "c" and "e" in fopen.
22941 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22943 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22945 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22947 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22949 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22952 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22954 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22956 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22958 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22959 file parsing and set FD_CLOEXEC.
22961 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22963 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22965 2011-11-14 Andreas Schwab <schwab@redhat.com>
22967 * malloc/arena.c (arena_get2): Don't call reused_arena when
22968 _int_new_arena failed.
22970 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22972 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22973 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22974 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22975 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22976 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22977 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22978 to compile strcasecmp and strncasecmp.
22979 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22980 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22982 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22984 2011-11-13 Ulrich Drepper <drepper@gmail.com>
22986 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22987 locale-defines.sym to gen-as-const-headers.
22988 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22989 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22990 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22991 to compile strcasecmp and strncasecmp.
22992 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22993 strcasecmp_l and strncasecmp_l.
22994 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22995 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22996 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22997 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22998 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22999 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
23000 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
23001 * sysdeps/i386/i686/multiarch/strncase.S: New file.
23002 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
23003 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
23004 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
23006 2011-11-12 Ulrich Drepper <drepper@gmail.com>
23008 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
23009 result of SYSDEP_GETTIME_CPU to retval.
23010 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
23011 parameter list to macro. Remove trailing semicolon. Adjust users.
23013 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
23016 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
23018 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
23020 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
23021 from unused variable.
23023 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
23025 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
23028 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
23031 * sunrpc/rpc_prot.c (rejected): Fix case value.
23033 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
23034 unsigned long long int to avoid warnings in shift.
23036 * posix/regex_internal.c (re_string_reconstruct): Actually use result
23038 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
23041 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
23042 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
23043 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
23045 * nis/nis_table.c (nis_list): Use variable of correct type for
23046 result of __follow_path call.
23048 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23050 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
23051 of math functions ceil, trunc, floor, round, and sqrt, when
23052 avaliable on the platform.
23053 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
23055 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23056 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23057 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23059 2011-10-30 Marek Polacek <mpolacek@redhat.com>
23061 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
23062 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23064 2011-11-11 Roland McGrath <roland@hack.frob.com>
23066 * include/unistd.h: Fix __readlink return type.
23067 Reported by Chris Metcalf <cmetcalf@tilera.com>.
23069 2011-11-11 Ulrich Drepper <drepper@gmail.com>
23071 * stdlib/ucontext.h: Undo last change for makecontext.
23073 2011-11-11 Andreas Schwab <schwab@redhat.com>
23075 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
23077 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
23078 * setjmp/setjmp.h: Mark functions as non-leaf.
23079 * setjmp/bits/setjmp2.h: Likewise.
23080 * stdlib/ucontext.h: Likewise.
23082 2011-11-10 Andreas Schwab <schwab@redhat.com>
23084 * malloc/arena.c (_int_new_arena): Don't increment narenas.
23085 (reused_arena): Don't check arena limit.
23086 (arena_get2): Atomically check arena limit.
23088 2011-11-08 Ulrich Drepper <drepper@gmail.com>
23090 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
23091 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
23093 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
23096 2011-11-07 Andreas Schwab <schwab@redhat.com>
23098 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
23099 handler when locking.
23101 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23102 Fix size of allocated buffer.
23104 2011-11-04 Andreas Schwab <schwab@redhat.com>
23107 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
23108 declarations for long double functions.
23109 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
23111 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
23113 2011-11-03 Andreas Schwab <schwab@redhat.com>
23115 * nscd/nscd.c (main): Don't start AVC thread until credentials are
23118 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
23121 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
23123 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
23125 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
23127 * include/alloca.h (stackinfo_alloca_round): Define.
23128 (extend_alloca): Use it.
23129 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
23130 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
23133 * scripts/check-local-headers.sh: Ignore libaudit.h.
23135 * nscd/Makefile (extra-objs): Make recursively expanded.
23137 2011-11-01 Ulrich Drepper <drepper@gmail.com>
23139 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
23140 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23142 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
23143 * posix/tst-rfc3484-2.c: Likewise.
23144 * posix/tst-rfc3484-3.c: Likewise.
23146 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23148 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
23150 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
23151 process_vm_writev from libc using GLIBC_2.15 version.
23153 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
23155 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
23157 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
23160 2011-10-31 Ulrich Drepper <drepper@gmail.com>
23163 * nss/getent.c (initgroups_keys): Show error message in case no group
23166 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
23167 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
23168 __bump_nl_timestamp.
23169 * nscd/connections (nscd_init): When host database is served open
23170 netlink socket and request notification about configuration changes.
23171 (main_loop_poll): Track netlink file descriptor and bump timestamp
23172 in case data becomes available.
23173 (main_loop_epoll): Likewise.
23174 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
23175 (database_pers_head): Add extra_data fileds.
23176 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
23177 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
23178 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
23180 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
23181 in6ai data, call __free_in6ai.
23182 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
23183 Add -DHAVE_NETLINK.
23184 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
23185 interface information. Reuse previous data if netlink timestamp
23187 (__bump_nl_timestamp): New function.
23188 (__free_in6ai): New function.
23190 2011-10-30 Ulrich Drepper <drepper@gmail.com>
23192 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
23193 close_not_cancel_no_status here.
23194 (__check_pf): Reorganize code a bit to not call close twice if OOM.
23196 2011-10-29 Ulrich Drepper <drepper@gmail.com>
23199 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
23202 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
23203 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
23204 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
23206 2011-07-03 Andreas Jaeger <aj@suse.de>
23209 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
23210 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
23211 * math/libm-test.inc (sin_test): Add test case.
23213 2011-10-29 Ulrich Drepper <drepper@gmail.com>
23216 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
23217 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23219 * elf/chroot_canon.c (chroot_canon): Cleanups.
23221 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
23224 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
23225 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23227 * string/test-strchr.c: Make usable for strchrnul testing.
23228 * string/test-strchrnul.c: New file.
23229 * string/Makefile (strop-tests): Add strchrnul.
23231 * po/it.po: Update from translation team.
23232 * po/es.po: Likewise.
23234 2011-10-28 Ulrich Drepper <drepper@gmail.com>
23236 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
23237 the three constants needed as parameters. Drop the others.
23238 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
23239 __m128i_strloadu_tolower.
23240 Create and initialize variable zero and use it in all the places
23241 where _mm_setzero_si128 was used.
23243 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
23244 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
23245 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
23246 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
23248 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
23249 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
23250 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
23251 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
23252 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
23253 __mpranred, __mptan.
23254 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
23255 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
23256 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
23257 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
23258 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
23259 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
23260 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
23261 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
23262 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
23264 2011-10-28 Andreas Schwab <schwab@redhat.com>
23266 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
23267 redefine if SHARED.
23268 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
23270 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
23271 wide char related routines to wcsmbs subdir.
23273 2011-10-27 Andreas Schwab <schwab@redhat.com>
23276 * misc/sys/cdefs.h (__THROWNL): Define.
23277 * posix/unistd.h: Use __THREADNL instead of __THREAD
23278 for memory synchronization functions.
23280 2011-10-26 Roland McGrath <roland@hack.frob.com>
23283 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
23285 * manual/stdio.texi (Obstack Streams): Node removed.
23287 2011-10-26 Andreas Schwab <schwab@redhat.com>
23289 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
23290 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23291 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23293 * math/math_private.h (math_force_eval): Allow non-addressable
23295 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
23297 2011-10-25 Ulrich Drepper <drepper@gmail.com>
23299 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
23300 file is not needed.
23302 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
23303 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
23304 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23305 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23306 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23307 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23308 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23309 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
23311 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
23312 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
23313 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
23314 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
23315 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
23316 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
23317 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
23318 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
23319 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
23320 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
23321 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
23322 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
23323 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
23324 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
23325 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
23326 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
23327 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
23328 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
23329 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
23331 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
23332 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
23334 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
23335 place. Use VEX encoding when compiling for AVX.
23337 2011-10-25 Andreas Schwab <schwab@redhat.com>
23339 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
23340 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23342 * string/test-strchr.c (do_test): Don't generate NUL bytes.
23344 2011-10-25 Ulrich Drepper <drepper@gmail.com>
23346 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
23347 useless if() expression.
23348 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23349 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23350 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23351 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23352 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23353 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23354 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23355 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23356 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23357 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23358 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23359 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23360 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23361 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23362 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23363 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23364 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23365 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23366 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23368 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
23370 2011-10-25 Andreas Schwab <schwab@redhat.com>
23372 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
23374 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23376 2011-10-25 Ulrich Drepper <drepper@gmail.com>
23378 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
23379 .text section. Avoid duplicate constants.
23380 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23381 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23382 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23383 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23384 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23385 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23386 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23387 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23388 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23389 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
23390 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23391 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23392 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23393 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23394 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23395 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23396 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23397 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23398 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23399 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23400 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23401 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23402 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23403 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
23404 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
23405 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
23406 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
23407 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
23408 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
23409 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
23410 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
23411 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
23412 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23413 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
23414 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
23415 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
23416 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
23417 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
23418 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
23419 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
23420 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
23421 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
23422 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
23423 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23424 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
23426 2011-10-24 Ulrich Drepper <drepper@gmail.com>
23428 * sysdeps/x86_64/dla.h: Move to ...
23429 * sysdeps/x86_64/fpu/dla.h: ...here.
23430 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
23431 situations. Use __builtin_fma only for gcc 4.6 and up.
23433 * config.make.in: Add have-mfma4 entry.
23434 * configure.in: Substitute libc_cv_cc_fma4.
23435 * math/Makefile (dbl-only-routines): Add sincostab.
23436 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
23437 Use __sincostab not sincos.
23438 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
23440 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23441 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23442 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23443 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
23445 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
23446 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
23447 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
23448 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
23450 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
23451 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
23453 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
23454 define aliases when function name is a macro.
23455 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
23456 sysdeps/ieee754/dbl-64/sincos.tbl.
23457 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
23458 fma4-enabled routines.
23459 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
23460 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
23461 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
23462 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
23463 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
23464 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
23465 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
23466 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
23467 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
23468 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
23469 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
23470 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
23471 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
23472 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
23473 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
23474 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
23475 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
23476 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
23477 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
23478 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
23479 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
23480 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
23481 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
23482 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
23483 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
23484 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
23485 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
23486 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
23487 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
23488 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
23490 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
23492 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23493 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23494 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23495 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23496 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23497 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23498 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23499 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23501 2011-10-24 Andreas Schwab <schwab@redhat.com>
23503 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
23505 2011-10-23 Ulrich Drepper <drepper@gmail.com>
23507 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
23509 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
23511 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
23513 * string/strnlen.c: Don't define STRNLEN, reverse logic.
23514 Remove unused variable magic_bits.
23515 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
23517 * string/strnlen.c: Define and use STRNLEN macro.
23518 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
23519 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
23520 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
23521 * wcsmbs/wcslen.c: Define and use WCSLEN.
23522 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
23523 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
23524 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
23525 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
23526 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
23527 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
23528 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23530 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23532 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23533 strnlen-sse2-no-bsf.
23534 Rename strlen-no-bsf to strlen-sse2-no-bsf.
23535 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
23536 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
23537 Add strnlen support.
23538 (USE_AS_STRNLEN): New macro.
23539 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
23540 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
23541 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
23542 * sysdeps/x86_64/wcslen.S: New file.
23544 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
23546 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23547 XMM-moves are used for copying on small sizes.
23549 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23551 * wcsmbs/Makefile (strop-tests): Add wcschr.
23552 * wcsmbs/test-wcschr.c: New file.
23553 * string/test-strchr.c: Update.
23554 Add wcschr support.
23557 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23559 * wcsmbs/Makefile (strop-tests): Add wcslen.
23560 * wcsmbs/test-wcslen.c: New file.
23561 * string/test-strlen.c: Update.
23562 Add wcslen support.
23565 2011-10-23 Ulrich Drepper <drepper@gmail.com>
23567 * po/it.po: Update from translation team.
23569 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23571 * sysdeps/x86_64/wcscmp.S: Update.
23572 Fix wrong comparison semantics.
23573 wcscmp shall use signed comparison not unsigned.
23574 Don't use substraction to avoid overflow bug.
23575 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23576 * wcsmbc/wcscmp.c: Likewise.
23577 * string/test-strcmp.c: Likewise.
23578 Add new tests to check cases with negative values.
23580 2011-10-23 Ulrich Drepper <drepper@gmail.com>
23582 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
23583 * sysdeps/x86_64/dla.h: ...here. New file.
23584 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
23585 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23586 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23587 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23588 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23589 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23590 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23591 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23592 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23594 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
23596 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
23597 __ynl_finite aliases.
23599 2011-10-22 Ulrich Drepper <drepper@gmail.com>
23601 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23603 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
23605 [DLA_FMA] (EMULV): Use DLA_FMA.
23606 [DLA_FMA] (MUL12): Use EMULV.
23607 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
23608 that are not needed.
23609 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23610 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23611 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23612 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23613 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23614 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23615 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23617 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
23619 * math/s_nan.c: Undef __nan.
23620 * math/s_nanf.c: Undef __nanf.
23621 * math/s_nanl.c: Undef __nanl.
23622 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
23625 2011-10-22 Ulrich Drepper <drepper@gmail.com>
23627 * math/s_catan.c: Add branch predictions.
23628 * math/s_catanf.c: Likewise.
23629 * math/s_catanh.c: Likewise.
23630 * math/s_catanhf.c: Likewise.
23631 * math/s_catanhl.c: Likewise.
23632 * math/s_catanl.c: Likewise.
23633 * math/s_cexp.c: Likewise.
23634 * math/s_cexpf.c: Likewise.
23635 * math/s_cexpl.c: Likewise.
23636 * math/s_clog.c: Likewise.
23637 * math/s_clog10.c: Likewise.
23638 * math/s_clog10f.c: Likewise.
23639 * math/s_clog10l.c: Likewise.
23640 * math/s_clogf.c: Likewise.
23641 * math/s_clogl.c: Likewise.
23642 * math/s_csqrt.c: Likewise.
23643 * math/s_csqrtf.c: Likewise.
23644 * math/s_csqrtl.c: Likewise.
23645 * math/s_ctanf.c: Likewise.
23646 * math/s_ctanh.c: Likewise.
23647 * math/s_ctanhf.c: Likewise.
23648 * math/s_ctanhl.c: Likewise.
23649 * math/s_ctanl.c: Likewise.
23651 * math/math_private.h: Define __nan, __nanf, __nanl.
23652 * math/s_cacosh.c: Include <math_private.h>.
23653 * math/s_cacoshl.c: Likewise.
23654 * math/s_casinh.c: Likewise.
23655 * math/s_casinhf.c: Likewise.
23656 * math/s_casinhl.c: Likewise.
23657 * math/s_ccos.c: Rely entire on ccosh.
23658 * math/s_ccosf.c: Rely entire on ccoshf.
23659 * math/s_ccosl.c: Rely entirely on ccoshl.
23660 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
23661 Remove tests for FE_INVALID.
23662 * math/s_ccoshf.c: Likewise.
23663 * math/s_ccoshl.c: Likewise.
23664 * math/s_csin.c: Likewise.
23665 * math/s_csinf.c: Likewise.
23666 * math/s_csinh.c Likewise.
23667 * math/s_csinhf.c: Likewise.
23668 * math/s_csinhl.c: Likewise.
23669 * math/s_csinl.c: Likewise.
23670 * math/s_ctan.c: Likewise.
23671 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
23672 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
23673 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
23675 2011-10-21 Ulrich Drepper <drepper@gmail.com>
23677 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
23678 compilation problems.
23680 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
23683 2011-10-20 Ulrich Drepper <drepper@gmail.com>
23685 * sysdeps/i386/configure.in: Test for -mfma4 option.
23686 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
23687 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
23688 COMMON_CPUID_INDEX_80000001.
23689 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
23690 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
23691 use it if FMA3 is not supported.
23692 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
23694 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
23695 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23697 2011-10-20 Andreas Schwab <schwab@redhat.com>
23700 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
23701 it would create a cycle with a link time dependency.
23703 2011-10-19 Ulrich Drepper <drepper@gmail.com>
23705 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
23707 * string/Makefile (strop-tests): Add rawmemchr.
23708 * string/test-rawmemchr.c: New file.
23710 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
23711 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
23712 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
23713 when compiling str{,n}casecmp and when AVX is available. Hook up
23714 new optimized code in initializers.
23716 2011-10-19 Andreas Schwab <schwab@redhat.com>
23718 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
23719 __feraiseexcept instead of feraiseexcept.
23721 2011-10-18 Ulrich Drepper <drepper@gmail.com>
23723 * math/math_private.h: Define defaults for libc_fetestexcept and
23725 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
23726 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
23727 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23728 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23729 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23730 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23731 libc_fetestexcept and libc_feupdateenv.
23733 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
23734 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
23735 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
23736 * sysdeps/x86_64/fpu/math_private.h: Define special version of
23737 libc_feholdexcept_setround.
23739 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
23740 Add s_nearbyint-c and s_nearbyintf-c.
23741 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
23742 nearbyintf inlines.
23743 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
23744 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
23745 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
23746 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
23748 * math/math_private.h: Define defaults for libc_fegetround,
23749 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
23750 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
23751 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
23752 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
23753 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
23754 standard functions.
23755 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23756 Remove comments and hacks for old compiler versions.
23757 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23758 libc_fegetround, libc_fesetround, libc_feholdexcept, and
23759 libc_feholdexceptl.
23761 2011-10-18 Andreas Schwab <schwab@redhat.com>
23763 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
23764 (__feraiseexcept_renamed): Add __NTH.
23765 (feraiseexcept): Add __NTH. Rename local variables to fix
23766 namespace violations.
23768 2011-10-17 Ulrich Drepper <drepper@gmail.com>
23770 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
23772 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
23774 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
23775 recently added interfaces.
23776 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
23778 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
23779 about macro parameter expansion.
23781 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
23782 __NO_MATH_INLINES is defined. Cleanups.
23784 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
23785 and __floorf is target has SSE4.1.
23786 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
23787 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
23788 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
23789 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
23791 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
23793 (floorf): Likewise.
23795 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
23797 2011-10-17 Andreas Schwab <schwab@redhat.com>
23799 * misc/sys/cdefs.h: Fix last change.
23801 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
23804 2011-10-16 Ulrich Drepper <drepper@gmail.com>
23806 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
23808 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
23809 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23810 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23811 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23812 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23813 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23814 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23815 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23816 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23817 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23818 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23819 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23820 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23821 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23822 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23823 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23824 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23825 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23826 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23827 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23828 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23829 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23831 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23832 ceil, ceilf, floor, floorf.
23834 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23835 Perform IRELATIVE relocations last.
23837 * elf/do-rel.h: Add another parameter nrelative, replacing the
23838 local variable with the same name. Change name of the function
23839 to end in Rel or Rela (uppercase).
23840 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23841 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
23842 elf_dynamic_do_##reloc function.
23844 2011-10-15 Ulrich Drepper <drepper@gmail.com>
23846 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23847 is sufficient, at least on modern CPUs.
23849 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23851 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23852 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23854 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23856 * math/bits/math-finite.h: Add entries for exp.
23857 * math/e_expl.c: Add __*_finite alias.
23858 * sysdeps/i386/fpu/e_exp.S: Likewise.
23859 * sysdeps/i386/fpu/e_expf.S: Likewise.
23860 * sysdeps/i386/fpu/e_expl.c: Likewise.
23861 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23862 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23863 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23864 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23865 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23866 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23867 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23869 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23870 is sufficient, at least on modern CPUs.
23872 * ctype/ctype-info.c (__ctype_init): Define.
23873 * include/ctype.h (__ctype_init): Declare.
23874 (__ctype_b_loc): The variable is always initialized.
23875 (__ctype_toupper_loc): Likewise.
23876 (__ctype_tolower_loc): Likewise.
23877 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23878 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23880 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
23882 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23884 * configure.in: Also look in $cxxmachine/include for C++ system
23887 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23889 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23890 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23891 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23892 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
23893 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23894 (USE_AS_WMEMCMP): New macro.
23896 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23897 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23898 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23899 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23900 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23901 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23902 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23903 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23904 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23905 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23906 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23907 (USE_AS_WMEMCMP): New macro.
23908 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23909 * sysdeps/string/test-memcmp.c: Update.
23910 Fix simple_wmemcmp.
23912 * wcsmbs/wmemcmp.c: Update.
23913 (WMEMCMP): New macro.
23916 2011-10-12 Andreas Jaeger <aj@suse.de>
23919 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23921 2011-10-15 Ulrich Drepper <drepper@gmail.com>
23923 * libio/iofwide.c (do_length): Avoid warning.
23925 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23927 2011-10-14 Ulrich Drepper <drepper@gmail.com>
23929 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23931 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23932 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23933 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23934 * sysdeps/i386/i686/fpu/e_log.S: New file.
23935 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23936 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23938 * ctype/ctype.h: Add support for inlined isXXX functions when
23939 compiling C++ code.
23941 2011-10-14 Andreas Schwab <schwab@redhat.com>
23943 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23945 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23947 2011-10-13 Roland McGrath <roland@hack.frob.com>
23950 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23952 2011-10-13 Andreas Schwab <schwab@redhat.com>
23954 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23955 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23958 * sysdeps/x86_64/memrchr.S: Check for zero size.
23960 * string/stratcliff.c: Add memrchr tests.
23962 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23964 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23965 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23966 rawmemchr-sse2 rawmemchr-sse2-bsf.
23967 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23968 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23969 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23970 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23971 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23972 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23973 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23974 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23975 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23976 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23977 * string/memrchr.c (MEMRCHR): New macro.
23979 2011-10-12 Ulrich Drepper <drepper@gmail.com>
23981 Add integration with gcc's -ffinite-math-only and optimize wrapper
23983 * Versions.def: Define GLIBC_2.15 version for libm.
23984 * math/Makefile (headers): Add bits/math-finite.h.
23985 * math/bits/math-finite.h: New file.
23986 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23987 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23988 * math/e_acoshl.c: Add __*_finite alias.
23989 * math/e_acosl.c: Likewise.
23990 * math/e_asinl.c: Likewise.
23991 * math/e_atan2l.c: Likewise.
23992 * math/e_atanhl.c: Likewise.
23993 * math/e_coshl.c: Likewise.
23994 * math/e_exp10.c: Likewise.
23995 * math/e_exp10f.c: Likewise.
23996 * math/e_exp10l.c: Likewise.
23997 * math/e_exp2l.c: Likewise.
23998 * math/e_fmodl.c: Likewise.
23999 * math/e_gammal_r.c: Likewise.
24000 * math/e_hypotl.c: Likewise.
24001 * math/e_j0l.c: Likewise.
24002 * math/e_j1l.c: Likewise.
24003 * math/e_jnl.c: Likewise.
24004 * math/e_lgammal_r.c: Likewise.
24005 * math/e_log10l.c: Likewise.
24006 * math/e_log2l.c: Likewise.
24007 * math/e_logl.c: Likewise.
24008 * math/e_powl.c: Likewise.
24009 * math/e_sinhl.c: Likewise.
24010 * math/e_sqrtl.c: Likewise.
24011 * math/e_scalb.c: Completely rewritten and optimized.
24012 * math/e_scalbf.c: Likewise.
24013 * math/e_scalbl.c: Likewise.
24014 * math/w_acos.c: Likewise.
24015 * math/w_acosf.c: Likewise.
24016 * math/w_acosl.c: Likewise.
24017 * math/w_acosh.c: Likewise.
24018 * math/w_acoshf.c: Likewise.
24019 * math/w_acoshl.c: Likewise.
24020 * math/w_asin.c: Likewise.
24021 * math/w_asinf.c: Likewise.
24022 * math/w_asinl.c: Likewise.
24023 * math/w_atan2.c: Likewise.
24024 * math/w_atan2f.c: Likewise.
24025 * math/w_atan2l.c: Likewise.
24026 * math/w_atanh.c: Likewise.
24027 * math/w_atanhf.c: Likewise.
24028 * math/w_atanhl.c: Likewise.
24029 * math/w_exp10.c: Likewise.
24030 * math/w_exp10f.c: Likewise.
24031 * math/w_exp10l.c: Likewise.
24032 * math/w_fmod.c: Likewise.
24033 * math/w_fmodf.c: Likewise.
24034 * math/w_fmodl.c: Likewise.
24035 * math/w_j0.c: Likewise.
24036 * math/w_j0f.c: Likewise.
24037 * math/w_j0l.c: Likewise.
24038 * math/w_j1.c: Likewise.
24039 * math/w_j1f.c: Likewise.
24040 * math/w_j1l.c: Likewise.
24041 * math/w_jn.c: Likewise.
24042 * math/w_jnf.c: Likewise.
24043 * math/w_log.c: Likewise.
24044 * math/w_logf.c: Likewise.
24045 * math/w_logl.c: Likewise.
24046 * math/w_log10.c: Likewise.
24047 * math/w_log10f.c: Likewise.
24048 * math/w_log10l.c: Likewise.
24049 * math/w_log2.c: Likewise.
24050 * math/w_log2f.c: Likewise.
24051 * math/w_log2l.c: Likewise.
24052 * math/w_pow.c: Likewise.
24053 * math/w_powf.c: Likewise.
24054 * math/w_powl.c: Likewise.
24055 * math/w_remainder.c: Likewise.
24056 * math/w_remainderf.c: Likewise.
24057 * math/w_remainderl.c: Likewise.
24058 * math/w_scalb.c: Likewise.
24059 * math/w_scalbf.c: Likewise.
24060 * math/w_scalbl.c: Likewise.
24061 * math/w_sqrt.c: Likewise.
24062 * math/w_sqrtf.c: Likewise.
24063 * math/w_sqrtl.c: Likewise.
24064 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
24065 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
24067 * math/math_private.h: Declare __kernel_standard_f.
24068 * math/w_cosh.c: Remove cruft and optimize a bit.
24069 * math/w_coshf.c: Likewise.
24070 * math/w_coshl.c: Likewise.
24071 * math/w_exp2.c: Likewise.
24072 * math/w_exp2f.c: Likewise.
24073 * math/w_exp2l.c: Likewise.
24074 * math/w_hypot.c: Likewise.
24075 * math/w_hypotf.c: Likewise.
24076 * math/w_hypotl.c: Likewise.
24077 * math/w_lgamma.c: Likewise.
24078 * math/w_lgamma_r.c: Likewise.
24079 * math/w_lgammaf.c: Likewise.
24080 * math/w_lgammaf_r.c: Likewise.
24081 * math/w_lgammal.c: Likewise.
24082 * math/w_lgammal_r.c: Likewise.
24083 * math/w_sinh.c: Likewise.
24084 * math/w_sinhf.c: Likewise.
24085 * math/w_sinhl.c: Likewise.
24086 * math/w_tgamma.c: Likewise.
24087 * math/w_tgammaf.c: Likewise.
24088 * math/w_tgammal.c: Likewise.
24089 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24090 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24091 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
24092 Minor optimizations. Pretty printing. Remove cruft.
24093 * sysdeps/i386/fpu/e_acosf.S: Likewise.
24094 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24095 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24096 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24097 * sysdeps/i386/fpu/e_acosl.c: Likewise.
24098 * sysdeps/i386/fpu/e_asin.S: Likewise.
24099 * sysdeps/i386/fpu/e_asinf.S: Likewise.
24100 * sysdeps/i386/fpu/e_atan2.S: Likewise.
24101 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
24102 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
24103 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24104 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24105 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24106 * sysdeps/i386/fpu/e_exp10.S: Likewise.
24107 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
24108 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
24109 * sysdeps/i386/fpu/e_exp2.S: Likewise.
24110 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
24111 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
24112 * sysdeps/i386/fpu/e_fmod.S: Likewise.
24113 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
24114 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
24115 * sysdeps/i386/fpu/e_hypot.S: Likewise.
24116 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
24117 * sysdeps/i386/fpu/e_log.S: Likewise.
24118 * sysdeps/i386/fpu/e_log10.S: Likewise.
24119 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24120 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24121 * sysdeps/i386/fpu/e_log2.S: Likewise.
24122 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24123 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24124 * sysdeps/i386/fpu/e_logf.S: Likewise.
24125 * sysdeps/i386/fpu/e_logl.S: Likewise.
24126 * sysdeps/i386/fpu/e_pow.S: Likewise.
24127 * sysdeps/i386/fpu/e_powf.S: Likewise.
24128 * sysdeps/i386/fpu/e_powl.S: Likewise.
24129 * sysdeps/i386/fpu/e_remainder.S: Likewise.
24130 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
24131 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
24132 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24133 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24134 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24135 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
24136 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
24137 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
24138 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24139 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24140 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24141 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24142 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24143 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24144 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
24145 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24146 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24147 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24148 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24149 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24150 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24151 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24152 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24153 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24154 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24155 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24156 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24157 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24158 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24159 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24160 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24161 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24162 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24163 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24164 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
24165 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24166 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
24167 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24168 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24169 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24170 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24171 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24172 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24173 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24174 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24175 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24176 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24177 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24178 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24179 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24180 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24181 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24182 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24183 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24184 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24185 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24186 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24187 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
24188 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24189 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24190 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24191 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24192 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24193 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24194 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24195 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24196 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24197 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24198 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24199 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24200 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24201 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24202 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24203 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24204 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24205 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24206 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
24207 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24208 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24209 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24210 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24211 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24212 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24213 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24214 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24215 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24216 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24217 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24218 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24219 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24220 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
24221 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24222 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24223 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24224 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24225 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24226 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24227 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24228 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24229 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24230 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24231 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24232 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24233 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24234 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24235 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
24236 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
24237 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
24238 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
24239 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
24240 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
24241 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
24242 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24243 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24244 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24245 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24246 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
24247 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24248 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
24249 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
24250 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
24251 (__isnanf): Likewise.
24252 (__isinf_ns): Likewise.
24253 (__isinf_nsf): Likewise.
24254 (__finite): Likewise.
24255 (__finitef): Likewise.
24256 (__ieee754_sqrt): Define as macro.
24257 (__ieee754_sqrtf): Define as macro.
24258 (__ieee754_sqrtl): Define as macro.
24259 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
24261 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
24262 __FINITE_MATH_ONLY__ consistent.
24263 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
24265 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
24267 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
24270 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
24272 2011-10-09 Ulrich Drepper <drepper@gmail.com>
24274 * po/ja.po: Update from translation team.
24276 2011-10-08 Roland McGrath <roland@hack.frob.com>
24278 * locale/programs/locarchive.c (prepare_address_space): New function.
24279 (create_archive, enlarge_archive, open_archive): Use it.
24281 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
24282 inside [SHARED], where it is used.
24284 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
24286 * nss/getent.c (netgroup_keys): Remove unused variable.
24287 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24289 2011-10-08 Ulrich Drepper <drepper@gmail.com>
24291 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
24292 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
24293 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
24294 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
24295 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
24296 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
24297 * math/Makefile (libm-calls): Add s_isinf_ns.
24298 * math/divtc3.c: Use __isinf_nsl instead of isinf.
24299 * math/multc3.c: Likewise.
24300 * math/s_casin.c: Likewise.
24301 * math/s_casinf.c: Likewise.
24302 * math/s_casinl.c: Likewise.
24303 * math/s_ccos.c: Likewise.
24304 * math/s_ccosf.c: Likewise.
24305 * math/s_ccosl.c: Likewise.
24306 * math/s_ctan.c: Likewise.
24307 * math/s_ctanf.c: Likewise.
24308 * math/s_ctanh.c: Likewise.
24309 * math/s_ctanhf.c: Likewise.
24310 * math/s_ctanhl.c: Likewise.
24311 * math/s_ctanl.c: Likewise.
24312 * math/w_fmod.c: Likewise.
24313 * math/w_fmodf.c: Likewise.
24314 * math/w_fmodl.c: Likewise.
24315 * math/w_remainder.c: Likewise.
24316 * math/w_remainderf.c: Likewise.
24317 * math/w_remainderl.c: Likewise.
24318 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
24319 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
24320 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
24321 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
24322 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
24323 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
24324 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
24325 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
24327 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
24329 * stdio-common/printf_fphex.c: Likewise.
24330 * stdio-common/printf_size.c: Likewise.
24332 * math/e_exp10.c: Include math_private.h using <...> not "...".
24333 * math/e_exp10f.c: Likewise.
24334 * math/e_exp10l.c: Likewise.
24335 * math/e_exp2l.c: Likewise.
24336 * math/e_j0l.c: Likewise.
24337 * math/e_j1l.c: Likewise.
24338 * math/e_jnl.c: Likewise.
24339 * math/e_lgammal_r.c: Likewise.
24340 * math/e_rem_pio2l.c: Likewise.
24341 * math/e_scalb.c: Likewise.
24342 * math/e_scalbf.c: Likewise.
24343 * math/e_scalbl.c: Likewise.
24344 * math/k_cosl.c: Likewise.
24345 * math/k_sinl.c: Likewise.
24346 * math/k_tanl.c: Likewise.
24347 * math/s_cacoshf.c: Likewise.
24348 * math/s_catan.c: Likewise.
24349 * math/s_catanf.c: Likewise.
24350 * math/s_catanh.c: Likewise.
24351 * math/s_catanhf.c: Likewise.
24352 * math/s_catanhl.c: Likewise.
24353 * math/s_catanl.c: Likewise.
24354 * math/s_ccosh.c: Likewise.
24355 * math/s_ccoshf.c: Likewise.
24356 * math/s_ccoshl.c: Likewise.
24357 * math/s_cexp.c: Likewise.
24358 * math/s_cexpf.c: Likewise.
24359 * math/s_cexpl.c: Likewise.
24360 * math/s_clog.c: Likewise.
24361 * math/s_clog10.c: Likewise.
24362 * math/s_clog10f.c: Likewise.
24363 * math/s_clog10l.c: Likewise.
24364 * math/s_clogf.c: Likewise.
24365 * math/s_clogl.c: Likewise.
24366 * math/s_csin.c: Likewise.
24367 * math/s_csinf.c: Likewise.
24368 * math/s_csinh.c: Likewise.
24369 * math/s_csinhf.c: Likewise.
24370 * math/s_csinhl.c: Likewise.
24371 * math/s_csinl.c: Likewise.
24372 * math/s_csqrt.c: Likewise.
24373 * math/s_csqrtf.c: Likewise.
24374 * math/s_csqrtl.c: Likewise.
24375 * math/s_ctan.c: Likewise.
24376 * math/s_ctanf.c: Likewise.
24377 * math/s_ctanh.c: Likewise.
24378 * math/s_ctanhf.c: Likewise.
24379 * math/s_ctanhl.c: Likewise.
24380 * math/s_ctanl.c: Likewise.
24381 * math/s_ldexp.c: Likewise.
24382 * math/s_ldexpf.c: Likewise.
24383 * math/s_ldexpl.c: Likewise.
24384 * math/s_significand.c: Likewise.
24385 * math/s_significandf.c: Likewise.
24386 * math/s_significandl.c: Likewise.
24387 * math/w_acos.c: Likewise.
24388 * math/w_acosf.c: Likewise.
24389 * math/w_acosh.c: Likewise.
24390 * math/w_acoshf.c: Likewise.
24391 * math/w_acoshl.c: Likewise.
24392 * math/w_acosl.c: Likewise.
24393 * math/w_asin.c: Likewise.
24394 * math/w_asinf.c: Likewise.
24395 * math/w_asinl.c: Likewise.
24396 * math/w_atan2.c: Likewise.
24397 * math/w_atan2f.c: Likewise.
24398 * math/w_atan2l.c: Likewise.
24399 * math/w_atanh.c: Likewise.
24400 * math/w_atanhf.c: Likewise.
24401 * math/w_atanhl.c: Likewise.
24402 * math/w_cosh.c: Likewise.
24403 * math/w_coshf.c: Likewise.
24404 * math/w_coshl.c: Likewise.
24405 * math/w_dremf.c: Likewise.
24406 * math/w_exp10.c: Likewise.
24407 * math/w_exp10f.c: Likewise.
24408 * math/w_exp10l.c: Likewise.
24409 * math/w_exp2.c: Likewise.
24410 * math/w_exp2f.c: Likewise.
24411 * math/w_fmod.c: Likewise.
24412 * math/w_fmodf.c: Likewise.
24413 * math/w_fmodl.c: Likewise.
24414 * math/w_hypot.c: Likewise.
24415 * math/w_hypotf.c: Likewise.
24416 * math/w_hypotl.c: Likewise.
24417 * math/w_j0.c: Likewise.
24418 * math/w_j0f.c: Likewise.
24419 * math/w_j0l.c: Likewise.
24420 * math/w_j1.c: Likewise.
24421 * math/w_j1f.c: Likewise.
24422 * math/w_j1l.c: Likewise.
24423 * math/w_jn.c: Likewise.
24424 * math/w_jnf.c: Likewise.
24425 * math/w_jnl.c: Likewise.
24426 * math/w_lgamma.c: Likewise.
24427 * math/w_lgamma_r.c: Likewise.
24428 * math/w_lgammaf.c: Likewise.
24429 * math/w_lgammaf_r.c: Likewise.
24430 * math/w_lgammal.c: Likewise.
24431 * math/w_lgammal_r.c: Likewise.
24432 * math/w_log.c: Likewise.
24433 * math/w_log10.c: Likewise.
24434 * math/w_log10f.c: Likewise.
24435 * math/w_log10l.c: Likewise.
24436 * math/w_log2.c: Likewise.
24437 * math/w_log2f.c: Likewise.
24438 * math/w_log2l.c: Likewise.
24439 * math/w_logf.c: Likewise.
24440 * math/w_logl.c: Likewise.
24441 * math/w_pow.c: Likewise.
24442 * math/w_powf.c: Likewise.
24443 * math/w_powl.c: Likewise.
24444 * math/w_remainder.c: Likewise.
24445 * math/w_remainderf.c: Likewise.
24446 * math/w_remainderl.c: Likewise.
24447 * math/w_scalb.c: Likewise.
24448 * math/w_scalbf.c: Likewise.
24449 * math/w_scalbl.c: Likewise.
24450 * math/w_sinh.c: Likewise.
24451 * math/w_sinhf.c: Likewise.
24452 * math/w_sinhl.c: Likewise.
24453 * math/w_sqrt.c: Likewise.
24454 * math/w_sqrtf.c: Likewise.
24455 * math/w_sqrtl.c: Likewise.
24456 * math/w_tgamma.c: Likewise.
24457 * math/w_tgammaf.c: Likewise.
24458 * math/w_tgammal.c: Likewise.
24460 * po/ja.po: Update from translation team.
24462 2011-09-29 Andreas Jaeger <aj@suse.de>
24465 * sunrpc/netname.c (netname2host): Fix logic.
24469 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
24471 * math/w_remainder.c (__remainder): Likewise.
24472 * math/w_remainderf.c (__remainderf): Likewise.
24473 * math/libm-test.inc (remainder_test): Add test cases.
24475 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24477 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
24480 2011-10-07 Ulrich Drepper <drepper@gmail.com>
24482 * string/test-memcmp.c: Avoid unncessary #defines.
24483 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24485 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24487 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
24488 Use new sse2 version for core i3 - i7 as it's faster
24489 than sse42 version.
24490 (bit_Prefer_PMINUB_for_stringop): New.
24491 * sysdeps/x86_64/rawmemchr.S: Update.
24492 Replace with faster SSE2 version.
24493 * sysdeps/x86_64/memrchr.S: New file.
24494 * sysdeps/x86_64/memchr.S: Update.
24495 Replace with faster SSE2 version.
24497 2011-09-12 Marek Polacek <mpolacek@redhat.com>
24499 * elf/dl-load.c (lose): Add cast to avoid warning.
24501 2011-10-07 Ulrich Drepper <drepper@gmail.com>
24503 * po/ca.po: Update from translation team.
24505 * inet/getnetgrent_r.c: Hook up nscd.
24506 * nscd/Makefile (routines): Add nscd_netgroup.
24507 (nscd-modules): Add netgroupcache.
24508 (CFLAGS-netgroupcache.c): Define.
24509 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
24510 (cache_search): Add const to second parameter.
24511 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
24513 (dbs): Add netgrdb entry.
24514 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
24515 (verify_persistent_db): Handle netgrdb.
24516 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
24517 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
24519 (netgroup_response_header): Define.
24520 (innetgroup_response_header): Define.
24521 (datahead): Add netgroup_response_header and innetgroup_response_header
24523 * nscd/nscd.conf: Add entries for netgroup cache.
24524 * nscd/nscd.h (dbtype): Add netgrdb.
24525 (_PATH_NSCD_NETGROUP_DB): Define.
24526 (netgroup_iov_disabled): Declare.
24527 (xmalloc, xcalloc, xrealloc): Move declarations here.
24528 (cache_search): Adjust prototype.
24529 Add netgroup-related prototypes.
24530 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
24531 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
24532 (__nscd_innetgr): Declare.
24533 * nscd/selinux.c (perms): Use access_vector_t as element type and
24534 add netgroup-related initializers.
24535 * nscd/netgroupcache.c: New file.
24536 * nscd/nscd_netgroup.c: New file.
24537 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
24538 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
24539 For four parameters use innetgr.
24540 * nss/nss_files/files-init.c: Add definition and callback for netgr.
24541 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
24542 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
24543 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
24545 * nscd/connections.c (register_traced_file): Don't register file
24546 for disabled databases.
24548 2011-10-06 Ulrich Drepper <drepper@gmail.com>
24550 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
24552 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
24553 from tree and freeing node.
24555 2011-09-25 Jiri Olsa <jolsa@redhat.com>
24557 * nss/nsswitch.c (__nss_database_lookup): Handle
24558 nss_parse_service_list out of memory case.
24560 2011-09-15 Jiri Olsa <jolsa@redhat.com>
24562 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
24563 out of memory case.
24565 2011-10-04 Andreas Schwab <schwab@redhat.com>
24567 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
24568 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
24570 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
24571 elf_machine_rela, elf_machine_lazy_rel.
24572 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
24573 (ELF_DYNAMIC_DO_REL): Likewise.
24574 (ELF_DYNAMIC_DO_RELA): Likewise.
24575 (ELF_DYNAMIC_RELOCATE): Likewise.
24576 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
24577 to ELF_DYNAMIC_DO_REL.
24578 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
24579 (dl_main): In trace mode always set __RTLD_NOIFUNC.
24580 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
24582 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
24583 skip_ifunc, don't call ifunc function if non-zero.
24584 (elf_machine_rela): Likewise.
24585 (elf_machine_lazy_rel): Likewise.
24586 (elf_machine_lazy_rela): Likewise.
24587 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
24588 (elf_machine_lazy_rel): Likewise.
24589 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24591 (elf_machine_lazy_rel): Likewise.
24592 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24594 (elf_machine_lazy_rel): Likewise.
24595 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
24596 (elf_machine_lazy_rel): Likewise.
24597 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
24598 (elf_machine_lazy_rel): Likewise.
24599 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24600 (elf_machine_lazy_rel): Likewise.
24601 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24602 (elf_machine_lazy_rel): Likewise.
24603 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24604 (elf_machine_lazy_rel): Likewise.
24605 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24606 (elf_machine_lazy_rel): Likewise.
24608 2011-09-28 Ulrich Drepper <drepper@gmail.com>
24610 * nss/nss_files/files-init.c (_nss_files_init): Use static
24611 initialization for all the *_traced_file variables.
24613 2011-09-28 Andreas Schwab <schwab@redhat.com>
24615 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24617 2011-09-27 Roland McGrath <roland@hack.frob.com>
24620 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
24622 2011-09-27 Andreas Schwab <schwab@redhat.com>
24624 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24625 Reread the line before reparsing it.
24627 2011-09-26 Andreas Schwab <schwab@redhat.com>
24629 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
24631 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
24632 Maxim Kuvyrkov <maxim@codesourcery.com>
24633 Joseph Myers <joseph@codesourcery.com>
24635 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
24636 if needed for __stack_chk_guard.
24638 2011-09-19 Roland McGrath <roland@hack.frob.com>
24640 * sysdeps/posix/spawni.c (script_execute): Always define it.
24641 It will be optimized away if unused.
24642 (maybe_script_execute): New function.
24643 (__spawni): Call it.
24645 * Makerules: Don't include tls.make.
24646 (config-tls): Always set to thread.
24647 * tls.make.c: File removed.
24649 2011-09-19 Mike Frysinger <vapier@gentoo.org>
24651 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
24652 * config.make.in (CPPFLAGS-config): New substituted variable.
24654 2011-09-15 Ulrich Drepper <drepper@gmail.com>
24656 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
24659 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
24660 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
24662 2011-09-15 Roland McGrath <roland@hack.frob.com>
24664 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
24665 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
24666 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24667 (CALL_FAIL): Likewise.
24668 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
24669 (CALL_FAIL): Macro removed.
24670 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
24672 2011-09-15 Ulrich Drepper <drepper@gmail.com>
24674 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
24675 for __FINITE_MATH_ONLY__ == 1.
24677 2011-09-15 Andreas Schwab <schwab@redhat.com>
24679 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
24680 __ieee754_sqrt instead of sqrt.
24681 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
24682 __ieee754_sqrtf instead of sqrtf.
24683 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
24684 __floorf instead of floorf.
24685 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
24686 __floorf, __truncf instead of floorf, truncf.
24688 2011-09-14 Ulrich Drepper <drepper@gmail.com>
24690 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
24692 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
24693 __extern_always_inline.
24694 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
24697 2011-09-14 Andreas Schwab <schwab@redhat.com>
24699 * elf/rtld.c (dl_main): Also relocate in dependency order when
24700 doing symbol dependency testing.
24702 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
24704 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24705 Always define `refsym'.
24707 2011-09-13 Andreas Schwab <schwab@redhat.com>
24709 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
24710 (__FD_ELT): Renamed from __FDELT.
24711 * misc/bits/select2.h (__FD_ELT): Likewise.
24712 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
24713 __FD_MASK instead of __FDELT, __FDMASK.
24714 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24716 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24719 * elf/Makefile (gen-ldd): Fix pattern.
24721 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
24722 (init_tls): Likewise.
24724 2011-09-12 Ulrich Drepper <drepper@gmail.com>
24726 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
24728 2011-09-12 Andreas Schwab <schwab@redhat.com>
24730 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
24731 `struct cmsghdr *' instead of `void *'.
24732 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
24735 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
24737 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
24739 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
24740 ldd_rewrite_script.
24742 2011-09-11 Ulrich Drepper <drepper@gmail.com>
24744 * configure.in: Remove --with-tls option.
24745 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
24746 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
24747 out in case it is missing.
24748 * sysdeps/ia64/elf/configure.in: Likewise.
24749 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
24750 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
24751 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
24752 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
24753 * sysdeps/sh/elf/configure.in: Likewise.
24754 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
24755 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24756 * sysdeps/x86_64/elf/configure.in: Likewise.
24757 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
24758 * sysdeps/mach/hurd/tls.h: Likewise.
24761 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
24764 * configure.in: Fix use of AC_INIT.
24766 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
24768 2011-09-10 Ulrich Drepper <drepper@gmail.com>
24770 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
24772 * malloc/hooks.c: Likewise.
24775 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
24776 variables statically.
24777 (narenas): Initialize.
24778 (list_lock): Initialize.
24779 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
24780 initializtion of main_arena and list_lock. Small cleanups.
24781 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
24782 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
24783 Add initializers to main_arena and mp_.
24784 (malloc_state): Remove pagesize member. Change all users to use
24787 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
24788 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
24789 is always initialized.
24791 * malloc/malloc.c: Removed unused configurations and dead code.
24792 * malloc/arena.c: Likewise.
24793 * malloc/hooks.c: Likewise.
24794 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
24796 * include/tls.h: Removed. USE___THREAD must always be defined.
24797 * bits/libc-tsd.h: Don't handle !USE___THREAD.
24798 * elf/dl-libc.c: Likewise.
24799 * elf/dl-tsd.c: Likewise.
24800 * include/errno.h: Likewise.
24801 * include/netdb.h: Likewise.
24802 * include/resolv.h: Likewise.
24803 * inet/herrno-loc.c: Likewise.
24804 * inet/herrno.c: Likewise.
24805 * malloc/arena.c: Likewise.
24806 * malloc/hooks.c: Likewise.
24807 * malloc/malloc.c: Likewise.
24808 * resolv/res-state.c: Likewise.
24809 * resolv/res_libc.c: Likewise.
24810 * sysdeps/i386/dl-machine.h: Likewise.
24811 * sysdeps/ia64/dl-machine.h: Likewise.
24812 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24813 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24814 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24815 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24816 * sysdeps/sh/dl-machine.h: Likewise.
24817 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24818 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24819 * sysdeps/unix/i386/sysdep.S: Likewise.
24820 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24821 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24822 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24823 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24824 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24825 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24826 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24827 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24828 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24829 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24830 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24831 * sysdeps/x86_64/dl-machine.h: Likewise.
24832 * tls.make.c: Likewise.
24834 * configure.in: Remove --with-__thread option. Make tests for
24835 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24836 tls_model attribute fail if no support is available. Remove
24838 * Makeconfig: Adjust for dropped configure option. All features are
24840 * Makerules: Likewise.
24841 * Versions.def: Likewise.
24842 * argp/argp-fmtstream.c: Likewise.
24843 * argp/argp-fmtstream.h: Likewise.
24844 * argp/argp-help.c: Likewise.
24845 * assert/assert.c: Likewise.
24846 * config.h.in: Likewise.
24847 * config.make.in: Likewise.
24848 * configure: Likewise.
24849 * configure.in: Likewise.
24850 * csu/Versions: Likewise.
24851 * csu/init.c: Likewise.
24852 * elf/tst-audit2.c: Likewise.
24853 * elf/tst-tls10.c: Likewise.
24854 * elf/tst-tls10.h: Likewise.
24855 * elf/tst-tls11.c: Likewise.
24856 * elf/tst-tls12.c: Likewise.
24857 * elf/tst-tls14.c: Likewise.
24858 * elf/tst-tlsmod11.c: Likewise.
24859 * elf/tst-tlsmod12.c: Likewise.
24860 * elf/tst-tlsmod13.c: Likewise.
24861 * elf/tst-tlsmod13a.c: Likewise.
24862 * elf/tst-tlsmod14a.c: Likewise.
24863 * elf/tst-tlsmod15b.c: Likewise.
24864 * elf/tst-tlsmod16a.c: Likewise.
24865 * elf/tst-tlsmod16b.c: Likewise.
24866 * elf/tst-tlsmod7.c: Likewise.
24867 * elf/tst-tlsmod8.c: Likewise.
24868 * elf/tst-tlsmod9.c: Likewise.
24869 * gmon/gmon.c: Likewise.
24870 * grp/fgetgrent_r.c: Likewise.
24871 * grp/putgrent.c: Likewise.
24872 * hurd/fopenport.c: Likewise.
24873 * include/libc-symbols.h: Likewise.
24874 * include/tls.h: Likewise.
24875 * intl/gettextP.h: Likewise.
24876 * intl/loadinfo.h: Likewise.
24877 * locale/global-locale.c: Likewise.
24878 * locale/localeinfo.h: Likewise.
24879 * mach/devstream.c: Likewise.
24880 * malloc/arena.c: Likewise.
24881 * malloc/set-freeres.c: Likewise.
24882 * misc/err.c: Likewise.
24883 * misc/getttyent.c: Likewise.
24884 * misc/mntent_r.c: Likewise.
24885 * posix/getopt.c: Likewise.
24886 * posix/wordexp.c: Likewise.
24887 * pwd/fgetpwent_r.c: Likewise.
24888 * resolv/Versions: Likewise.
24889 * resolv/res_hconf.c: Likewise.
24890 * shadow/fgetspent_r.c: Likewise.
24891 * shadow/putspent.c: Likewise.
24892 * stdio-common/printf_fphex.c: Likewise.
24893 * stdio-common/tmpfile.c: Likewise.
24894 * stdlib/abort.c: Likewise.
24895 * stdlib/fmtmsg.c: Likewise.
24896 * sunrpc/auth_unix.c: Likewise.
24897 * sunrpc/clnt_perr.c: Likewise.
24898 * sunrpc/clnt_tcp.c: Likewise.
24899 * sunrpc/clnt_udp.c: Likewise.
24900 * sunrpc/clnt_unix.c: Likewise.
24901 * sunrpc/openchild.c: Likewise.
24902 * sunrpc/svc_simple.c: Likewise.
24903 * sunrpc/svc_tcp.c: Likewise.
24904 * sunrpc/svc_udp.c: Likewise.
24905 * sunrpc/svc_unix.c: Likewise.
24906 * sunrpc/xdr.c: Likewise.
24907 * sunrpc/xdr_array.c: Likewise.
24908 * sunrpc/xdr_rec.c: Likewise.
24909 * sunrpc/xdr_ref.c: Likewise.
24910 * sunrpc/xdr_stdio.c: Likewise.
24912 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24914 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24916 2011-07-03 Andreas Jaeger <aj@suse.de>
24918 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24919 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24920 regenerate with gen-libm-tests.pl.
24922 2010-05-12 Petr Baudis <pasky@suse.cz>
24925 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24926 around j0() zero points by switching to j1().
24927 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24928 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24929 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24930 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24932 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24934 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24936 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
24938 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24939 Patch in part by Pavel Roskin <proski@gnu.org>.
24942 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24944 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24945 Free memory block if necessary.
24948 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24949 be NULL. Don't lock in this case.
24951 2011-09-09 Roland McGrath <roland@hack.frob.com>
24953 * elf/elf.h (ELFOSABI_GNU): New macro.
24954 (ELFOSABI_LINUX): Define to that.
24956 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24958 * string/strncat.c (strncat): Undef the symbol in case it has been
24959 defined in bits/string.h.
24961 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24963 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24965 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
24968 2011-08-17 Andreas Jaeger <aj@suse.de>
24970 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24972 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24973 Ian Lance Taylor <iant@google.com>
24975 * math/libm-test.inc (lround_test): New testcase.
24976 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24978 2011-09-08 Ulrich Drepper <drepper@gmail.com>
24980 * Makefile: Remove support for automatic cvs check-ins.
24981 * Makerules: Likewise.
24982 * config.make.in: Likewise.
24983 * configure.in: Likewise.
24984 * intl/Makefile: Likewise.
24985 * locale/Makefile: Likewise.
24986 * po/Makefile: Likewise.
24987 * posix/Makefile: Likewise.
24988 * sysdeps/gnu/Makefile: Likewise.
24989 * sysdeps/mach/hurd/Makefile: Likewise.
24990 * sysdeps/sparc/sparc32/Makefile: Likewise.
24993 * posix/Makefile (bug-regex32-ENV): Define.
24994 Patch by John Stanley <jpsinthemix@verizon.net>.
24996 * misc/Makefile (headers): Add bits/select2.h.
24997 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24998 * misc/bits/select2.h: New file.
24999 * include/bits/select2.h: New file.
25000 * debug/Makefile (routines): Add fdelt_chk.
25001 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
25002 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
25004 * debug/fdelt_chk.c: New file.
25006 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
25007 * wcsmbs/test-wmemcmp.c: Likewise.
25008 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
25009 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
25011 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25013 * string/Makefile (strop-tests): Add memcmp.
25014 * string/test-wmemcmp.c: New file.
25015 * string/test-memcmp.c: Add wmemcmp support.
25017 2011-09-08 Roland McGrath <roland@hack.frob.com>
25020 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
25023 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
25024 garbage value in a __mach_port_mod_refs call in the cases of the
25025 task-self and thread-self ports.
25027 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25029 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
25031 2011-09-08 Andreas Schwab <schwab@redhat.com>
25033 * elf/dl-load.c (lose): Check for non-null L.
25035 2011-09-07 Ulrich Drepper <drepper@gmail.com>
25037 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
25039 * elf/dl-libc.c (dlerror_run): Pass back error code from
25043 * elf/dl-load.c (lose): Free l_origin if it is valid.
25045 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
25047 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
25048 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25049 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25050 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25051 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
25052 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
25054 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25056 * sysdeps/powerpc/fpu/e_hypot.c: New file.
25057 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
25058 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
25059 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
25060 * sysdeps/powerpc/fpu/k_cosf.c: New file.
25061 * sysdeps/powerpc/fpu/k_sinf.c: New file.
25062 * sysdeps/powerpc/fpu/s_cosf.c: New file.
25063 * sysdeps/powerpc/fpu/s_sinf.c: New file.
25064 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
25065 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
25067 2011-08-15 Alan Modra <amodra@gmail.com>
25070 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
25071 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
25072 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
25073 ppc_mcount to static-only-routines.
25074 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
25076 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
25077 __mcount_internal with usual JUMPTARGET. Remove useless nop.
25079 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
25081 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
25082 for finite and infinity parameters.
25084 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25086 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
25087 and add nop instructions for throughput optimization.
25088 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25090 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
25092 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
25093 aligned copy for power7 with vector-scalar instructions.
25094 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
25096 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
25098 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
25101 2011-09-07 Andreas Schwab <schwab@redhat.com>
25104 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
25107 2011-09-07 Ulrich Drepper <drepper@gmail.com>
25109 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25110 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
25111 syscall wrapper around clock_gettime in __vdso_clock_gettime.
25112 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
25115 2011-09-06 Ulrich Drepper <drepper@gmail.com>
25117 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
25118 Forgot to demangle the pointer.
25120 * sysdeps/i386/sysdep.h: Define atom_text_section.
25121 * sysdeps/x86_64/sysdep.h: Likewise.
25122 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
25123 section with atom_text_section.
25124 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25125 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25126 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
25127 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25128 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
25130 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
25131 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
25132 already be defined. Change to take two parameters and don't assign
25133 result to variable. Adjust all users.
25134 Define INTERNAL_GETTIME if not already defined.
25135 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
25137 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
25138 HAVE_CLOCK_GETTIME_VSYSCALL.
25139 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
25141 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
25142 gettimeofday vsyscall, just use time.
25144 2011-09-06 Andreas Schwab <schwab@redhat.com>
25146 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
25149 2011-09-06 Ulrich Drepper <drepper@gmail.com>
25151 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
25153 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
25155 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
25156 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
25157 syscall if possible.
25159 2011-09-05 Ulrich Drepper <drepper@gmail.com>
25161 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
25162 e_ident. Don't pass to find_mapsXX.
25163 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
25165 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25167 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25168 strchr-sse2-no-bsf strrchr-sse2-no-bsf
25169 * sysdeps/x86_64/multiarch/strchr.S: Update.
25170 Check bit_slow_BSF bit.
25171 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25172 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
25173 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
25175 2011-09-05 Ulrich Drepper <drepper@gmail.com>
25178 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
25180 (tryshell): Define.
25181 (__spawni): Change last parameter to be flag. Test
25182 SPAWN_XFLAGS_USE_PATH flag to use path or not.
25183 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
25184 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
25185 * posix/spawni.c: Likewise.
25186 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
25187 * posix/spawnp.c: Likewise. Change normal version to use
25188 SPAWN_XFLAGS_USE_PATH.
25189 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
25190 SPAWN_XFLAGS_TRY_SHELL.
25193 * posix/glob.h: Remove gcc 1.x support.
25196 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
25198 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25200 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25201 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
25203 * sysdeps/i386/i686/multiarch/strchr.S: New file.
25204 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
25205 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
25206 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
25207 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
25208 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
25210 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25212 * sysdeps/x86_64/wcscmp.S: New file.
25214 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
25215 wcscmp-c wcscmp-sse2
25216 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
25217 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
25218 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
25219 * wcsmbs/wcscmp.c: Allow renaming.
25221 2011-09-05 David S. Miller <davem@davemloft.net>
25223 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
25224 stack slot, rather than the struct return pointer slot.
25225 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
25226 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
25227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
25228 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
25230 2011-09-05 Ulrich Drepper <drepper@gmail.com>
25232 * po/ja.po: Update from translation team.
25235 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
25236 kernel in 64-bit binaries.
25238 2011-09-01 David S. Miller <davem@davemloft.net>
25240 * elf/elf.h (HWCAP_SPARC_*): Move to..
25241 * sysdeps/sparc/sysdep.h: this new file and add new values.
25242 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
25243 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
25244 _DL_HWCAP_COUNT to 24.
25245 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25247 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
25248 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
25249 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
25250 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
25251 instead of magic constants.
25252 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25254 2011-08-31 David S. Miller <davem@davemloft.net>
25256 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
25257 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
25258 Reimplement to do errno handling inline.
25259 (SYSCALL_ERROR_HANDLER): New macro.
25260 (__SYSCALL_STRING): Do not do errno handling in asm.
25261 (__CLONE_SYSCALL_STRING): Delete.
25262 (__INTERNAL_SYSCALL_STRING): Delete.
25263 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
25264 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
25265 (PSEUDO): Reimplement to do errno handling inline.
25266 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
25267 (SYSCALL_ERROR_HANDLER): New macro.
25268 (__SYSCALL_STRING): Do not do errno handling in asm.
25269 (__CLONE_SYSCALL_STRING): Delete.
25270 (__INTERNAL_SYSCALL_STRING): Delete.
25271 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
25272 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
25274 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
25275 (inline_syscall*): Add 'err' argument.
25276 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
25277 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
25278 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
25279 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
25281 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
25282 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25284 2011-08-30 Andreas Schwab <schwab@redhat.com>
25286 * elf/rtld.c (dl_main): Relocate objects in dependency order.
25288 2011-08-29 Jiri Olsa <jolsa@redhat.com>
25290 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
25293 2011-08-24 David S. Miller <davem@davemloft.net>
25295 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
25297 2011-08-24 Andreas Schwab <schwab@redhat.com>
25299 * elf/Makefile: Add rules to build and run unload8 test.
25300 * elf/unload8.c: New file.
25301 * elf/unload8mod1.c: New file.
25302 * elf/unload8mod1x.c: New file.
25303 * elf/unload8mod2.c: New file.
25304 * elf/unload8mod3.c: New file.
25306 * elf/dl-close.c (_dl_close_worker): Reset private search list if
25309 2011-08-23 David S. Miller <davem@davemloft.net>
25311 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
25312 subtract stack bias.
25313 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
25314 %sp not %fp in calculations.
25315 (_JMPBUF_UNWINDS_ADJ): Likewise.
25317 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
25318 (aio_suspend): Call it to force an exception region around the
25319 AIO_MISC_WAIT() invocation.
25321 2011-08-23 Andreas Schwab <schwab@redhat.com>
25323 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
25326 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
25328 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
25330 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
25331 and <dl-machine.h>.
25332 (Elf64_FuncDesc): Remove.
25334 2011-08-22 David S. Miller <davem@davemloft.net>
25336 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
25337 sigaltstack check, add missing cfi directives.
25338 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
25339 missing cfi directives, and sigaltstack handling.
25341 2011-08-16 Andreas Schwab <schwab@redhat.com>
25344 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
25345 object is seen twice.
25346 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25348 * elf/Makefile (distribute): Add tst-initorder2.c.
25349 (tests): Add tst-initorder2.
25350 (modules-names): Add tst-initorder2a tst-initorder2b
25351 tst-initorder2c tst-initorder2d. Add rules to build them.
25352 ($(objpfx)tst-initorder2.out): New rule.
25353 * elf/tst-initorder2.c: New file.
25354 * elf/tst-initorder2.exp: New file.
25356 2011-08-22 Andreas Schwab <schwab@redhat.com>
25358 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
25360 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
25361 dependencies back to end of function.
25363 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25364 $(elfobjdir)/ld.so.
25366 2011-08-21 Ulrich Drepper <drepper@gmail.com>
25368 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
25369 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
25370 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
25371 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
25372 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
25373 of __vdso_gettimeofday.
25374 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
25375 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
25377 (_libc_vdso_platform_setup): Remove initialization of
25378 __vdso_gettimeofday and __vdso_time.
25380 2011-08-20 Ulrich Drepper <drepper@gmail.com>
25382 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
25383 and fgetc_unlocked.
25384 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
25387 * elf/dl-open.c (add_to_global): Report additions to the global scope
25388 for LD_DEBUG=scopes.
25389 (dl_open_worker): Also print scope of newly loaded dependencies.
25390 (_dl_show_scope): Indicate if there is no scope.
25393 * stdio-common/Makefile (tests): Add bug24.
25394 * stdio-common/bug24.c: New file.
25396 2011-08-19 Andreas Jaeger <aj@suse.de>
25399 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
25400 non-existant file when using close-on-exec mode.
25402 2011-08-20 Ulrich Drepper <drepper@gmail.com>
25404 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
25405 the very first instruction.
25407 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
25408 the CFI state in the end.
25409 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
25410 inclusion of dl-trampoline.h.
25411 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
25413 2011-08-19 Andreas Schwab <schwab@redhat.com>
25415 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
25416 expectations for long double.
25418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
25419 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
25421 2011-08-14 David S. Miller <davem@davemloft.net>
25423 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
25424 artificual limit depends upon the system page size.
25426 2011-08-17 Ulrich Drepper <drepper@gmail.com>
25428 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
25429 * resolv/Makefile: Define CFLAGS-libresolv.
25431 2011-08-17 Andreas Schwab <schwab@redhat.com>
25433 * nss/makedb.c (compute_tables): Make variables used in nested
25436 2011-08-17 Ulrich Drepper <drepper@gmail.com>
25438 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
25439 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
25440 if buffer was too small.
25442 * elf/pldd.c (main): Attach to all threads in the process.
25443 Rewrite /proc handling to use *at functions.
25445 2011-08-16 Ulrich Drepper <drepper@gmail.com>
25447 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
25448 specifies first scope to show.
25449 (dl_open_worker): Update callers. Move printing scope of new
25450 object to before the relocation.
25451 * elf/rtld.c (dl_main): Update _dl_show_scope call.
25452 * sysdeps/generic/ldsodefs.h: Update declaration.
25454 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
25455 string for the scope number.
25457 2011-08-14 Ulrich Drepper <drepper@gmail.com>
25459 * nscd/servicescache.c (cache_addserv): Make sure written is always
25462 2011-08-14 Roland McGrath <roland@hack.frob.com>
25464 * sysdeps/i386/i486/bits/atomic.h
25465 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
25466 statement expression, so as to suppress "set but not used" warning.
25467 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
25469 * string/strncat.c (STRNCAT): Use prototype definition.
25471 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
25472 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
25474 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
25475 (localedef-modules): Add localedef.
25476 (locale-modules): Add locale.
25478 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
25479 * elf/rtld.c (dl_main): Invert order of assignment in last change,
25480 to avoid a warning.
25482 2011-08-14 David S. Miller <davem@davemloft.net>
25484 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
25485 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
25487 2011-08-13 Ulrich Drepper <drepper@gmail.com>
25489 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
25490 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
25491 * elf/rtld.c (dl_main): Set l_name of vDSO.
25492 Call _dl_show_scope when DL_DEBUG_SCOPES.
25493 (process_dl_debug): Recognize scopes flag and also set it for all.
25494 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
25495 Declare _dl_show_scope.
25497 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
25498 (do_dlopen): Pass caller_dlopen to dl_open.
25499 (__libc_dlopen_mode): Initialize caller_dlopen.
25501 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
25502 of libc. Make tolower call locale-independent. Optimize a bit by
25503 using isdigit instead of isalnum.
25504 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
25506 2011-08-12 Ulrich Drepper <drepper@gmail.com>
25508 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
25509 was a dependency or dynamically loaded.
25511 2011-08-11 Ulrich Drepper <drepper@gmail.com>
25513 * intl/l10nflist.c: Allow architecture-specific pop function.
25514 * sysdeps/x86_64/l10nflist.c: New file.
25516 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
25519 2011-08-10 Andreas Schwab <schwab@redhat.com>
25521 * include/dirent.h: Add libc_hidden_proto for scandirat and
25522 scandirat64. Don't declare __scandirat64.
25523 * dirent/scandirat.c: Add libc_hidden_def.
25524 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
25525 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
25527 2011-08-10 David S. Miller <davem@davemloft.net>
25529 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
25531 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25532 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25533 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25535 2011-08-09 Ulrich Drepper <drepper@gmail.com>
25537 * Versions.def [libc]: Add GLIBC_2.15.
25538 * dirent/Makefile (routines): Add scandirat and scandirat64.
25539 * dirent/Versions [libc]: Export scandirat and scandirat64 for
25541 * dirent/dirent.h: Declare scandirat and scandirat64.
25542 * dirent/scandirat.c: New file.
25543 * dirent/scandirat64.c: New file.
25544 * sysdeps/wordsize-64/scandirat.c: New file.
25545 * sysdeps/wordsize-64/scandirat64.c: New file.
25546 * dirent/opendir.c: Define opendirat.
25547 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
25549 * dirent/scandir64.c: Adjust for scandir.c change.
25550 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
25551 __scandirat64, and __scandir_cancel_handler.
25552 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
25553 additional parameter and use openat instead of open (outside of ld.so).
25554 Add new __opendir as wrapper around __opendirat.
25555 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
25556 here without requiring old scandirat implementation.
25558 2011-08-08 Ulrich Drepper <drepper@gmail.com>
25560 * dirent/scandir.c (cancel_handler): Renamed to
25561 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
25562 defined. Adjust users.
25563 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
25564 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
25566 2011-08-04 Ulrich Drepper <drepper@gmail.com>
25568 * string/test-string.h (IMPL): Use __STRING to expand name and then
25571 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
25574 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25576 * string/Makefile: Update.
25577 (strop-tests): Append strncat.
25578 * string/test-wcscmp.c: New file.
25579 New comprehensive test for wcscmp.
25580 * string/test-strcmp.c: Update.
25581 (WIDE): New define.
25583 2011-07-22 Andreas Schwab <schwab@redhat.com>
25585 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
25588 2011-07-26 Andreas Schwab <schwab@redhat.com>
25590 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25591 encoding to ACE if AI_IDN.
25593 2011-08-01 Jakub Jelinek <jakub@redhat.com>
25595 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
25596 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
25598 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25600 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
25601 Fix overflow bug in strncat.
25602 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25604 * string/test-strncat.c: Update.
25605 Add new tests for checking overflow bugs.
25607 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25609 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25610 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
25611 * sysdeps/i386/i686/multiarch/strcat.S: New file.
25612 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
25613 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
25614 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
25615 * sysdeps/i386/i686/multiarch/strncat.S: New file.
25616 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
25617 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
25619 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
25620 (USE_AS_STRCAT): Define.
25621 Add strcat and strncat support.
25622 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25624 2011-07-25 Andreas Schwab <schwab@redhat.com>
25626 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
25627 __n bigger than INT_MAX+1.
25628 (__strncmp_g): Likewise.
25630 2011-07-23 Ulrich Drepper <drepper@gmail.com>
25632 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
25633 * libio/stido.h: Likewise.
25635 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
25637 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
25640 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
25641 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25642 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25643 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
25644 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25647 * scripts/test-installation.pl: Don't expect libnss_test1 to be
25650 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
25652 (_dl_x86_64_save_sse): Likewise.
25654 2011-07-22 Ulrich Drepper <drepper@gmail.com>
25656 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
25658 (_dl_x86_64_save_sse): Likewise.
25660 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
25662 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
25664 2011-07-21 Andreas Schwab <schwab@redhat.com>
25666 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
25668 (_dl_x86_64_save_sse): Use correct AVX check.
25670 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25672 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
25673 bug in strncpy/strncat.
25674 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25676 2011-07-21 Ulrich Drepper <drepper@gmail.com>
25678 * string/tester.c (test_strcat): Add tests for different alignments
25679 of source and destination.
25680 (test_strncat): Likewise.
25682 2011-07-20 Ulrich Drepper <drepper@gmail.com>
25685 * posix/glob.c (glob): Check passed in values before using them in
25686 expressions to avoid some overflows.
25687 (glob_in_dir): Likewise.
25690 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
25691 check for AVX enablement so that we don't crash with old kernels and
25693 * elf/tst-audit4.c: Add same checks here.
25694 * elf/tst-audit6.c: Likewise.
25696 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
25698 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
25700 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
25702 2011-07-20 Ulrich Drepper <drepper@gmail.com>
25704 * po/cs.po: Update from translation team.
25705 * po/bg.po: Likewise.
25707 2011-07-12 Marek Polacek <mpolacek@redhat.com>
25709 * misc/sys/cdefs.h: Add support for const attribute.
25710 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
25711 to gnu_dev_{major,minor,makedev} functions.
25713 2011-07-20 Marek Polacek <mpolacek@redhat.com>
25715 * intl/dcigettext.c (get_output_charset): Add missing bracket.
25717 2011-07-20 Andreas Schwab <schwab@redhat.com>
25719 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
25722 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25724 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25725 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
25726 register in order to avoid conflicts with the soft frame pointer
25727 being held in r11 when necessary.
25728 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25729 (INTERNAL_VSYSCALL_NCS): Likewise.
25731 2011-07-14 Marek Polacek <mpolacek@redhat.com>
25733 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
25734 * elf/dl-fini.c (_dl_fini): Adjust caller.
25735 * elf/dl-close.c (_dl_close_worker): Likewise.
25736 * sysdeps/generic/ldsodefs.h: Adjust declaration.
25738 2011-07-15 Marek Polacek <mpolacek@redhat.com>
25740 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
25741 "aux_cache->nlibs < 0".
25743 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
25744 in the reload-count case.
25746 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25748 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25749 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
25750 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
25751 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
25752 * sysdeps/x86_64/multiarch/strcat.S: New file.
25753 * sysdeps/x86_64/multiarch/strncat.S: New file.
25754 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
25755 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
25756 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
25757 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
25758 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
25759 (USE_AS_STRCAT): Define.
25760 Add strcat and strncat support.
25761 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25762 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25763 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
25764 * string/strncat.c: Update.
25765 (USE_AS_STRNCAT): Define.
25766 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25767 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
25769 * sysdeps/x86_64/multiarch/init-arch.h
25770 (bit_Prefer_PMINUB_for_stringop): New.
25771 (index_Prefer_PMINUB_for_stringop): Likewise.
25772 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
25773 bit_Prefer_PMINUB_for_stringop.
25775 2011-07-19 Ulrich Drepper <drepper@gmail.com>
25777 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
25779 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
25780 of casting of buffer.
25781 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
25782 buffer32 and buffer64.
25783 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
25784 writes instead of casting of buffer.
25785 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
25787 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
25790 2011-07-19 Andreas Schwab <schwab@redhat.com>
25792 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
25794 2011-07-19 Ulrich Drepper <drepper@gmail.com>
25796 * nscd/nscd.c (termination_handler): Don't do anything for a database
25797 if it has not yet been initialized.
25799 2011-07-18 Ulrich Drepper <drepper@gmail.com>
25801 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25803 2011-07-15 Marek Polacek <mpolacek@redhat.com>
25805 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25807 2011-07-18 Ulrich Drepper <drepper@gmail.com>
25809 * po/nl.po: Update from translation team.
25810 * po/sv.po: Likewise.
25812 2011-07-16 Roland McGrath <roland@hack.frob.com>
25814 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25815 now disallowed by GCC.
25817 * configure.in (use-default-link): Default to yes if a test -shared
25818 link meets our qualifications.
25819 * configure: Regenerated.
25821 * config.make.in (output-format): New variable.
25822 * configure.in: Check for ld --print-output-format support.
25823 * configure: Regenerated.
25824 * Makerules ($(common-objpfx)format.lds)
25825 [$(output-format) != unknown]: Just use $(output-format),
25826 instead of the linker-script munging.
25828 2011-07-14 Roland McGrath <roland@hack.frob.com>
25830 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25831 of $(common-objpfx)shlib.lds.
25832 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25834 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25835 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25837 * configure.in (-z relro check): Adjust test code to add a large
25838 writable data section after it.
25839 * configure: Regenerated.
25841 2011-07-11 Roland McGrath <roland@hack.frob.com>
25843 * configure.in (-z relro check): Fix test code to make the variable
25845 * configure: Regenerated.
25847 2011-07-11 Ulrich Drepper <drepper@gmail.com>
25849 * nscd/nscd.h (struct traced_file): Define.
25850 (struct database_dyn): Remove inotify_descr, reset_res, and filename
25851 elements. Add traced_files.
25852 (inotify_fd): Declare.
25853 (register_traced_file): Declare.
25854 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25855 (inotify_fd): Export.
25856 (resolv_conf_descr): Remove.
25857 (nscd_init): Move inotify descriptor creation to main.
25858 Don't register files for notification here.
25859 (register_traced_file): New function.
25860 (invalidate_cache): Don't use reset_res to determine whether to call
25861 res_init, go through the list of registered files.
25862 (main_loop_poll): The inotify descriptors are now stored in the
25863 structures for the traced files.
25864 (main_loop_epoll): Likewise
25865 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
25866 to __nss_disable_nscd.
25867 * nscd/cache.c (prune_cache): There is no single inotify descriptor
25868 for a database anymore. Check the records for all the registered
25870 * nss/Makefile (libnss_files-routines): Add files-init.
25871 (libnss_db-routines): Add db-init.
25872 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25873 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25874 * nss/nss_db/db-init.c: New file.
25875 * nss/nss_files/files-init.c: New file.
25876 * nss/nsswitch.c (nss_load_library): New function. Broken out of
25877 __nss_lookup_function.
25878 (__nss_lookup_function): Call nss_load_library.
25879 (nss_load_all_libraries): New function.
25880 (__nss_disable_nscd): Take parameter with callback function for files
25881 to register. Set is_nscd. Load all the DSOs for the NSS modules
25882 used for the cached services.
25883 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25884 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25885 options for features to all the files in nscd.
25887 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25889 2011-07-10 Roland McGrath <roland@hack.frob.com>
25891 * csu/elf-init.c (__libc_csu_init): Comment typo.
25893 2011-07-09 Ulrich Drepper <drepper@gmail.com>
25895 * po/pl.po: Update from translation team.
25896 * po/ja.po: Likewise.
25897 * po/ru.po: Likewise.
25898 * po/ko.po: Likewise.
25899 * po/fr.po: Likewise.
25901 2011-07-09 Roland McGrath <roland@hack.frob.com>
25903 * configure.in (.ctors/.dtors header and trailer check):
25904 Use an empirical test on a built program.
25905 * configure: Regenerated.
25907 * configure.in (-z relro check): Use an empirical test on a built DSO.
25908 Detect, but do not require, on ia64.
25909 * configure: Regenerated.
25911 * configure.in (READELF): Find it with AC_CHECK_TOOL.
25912 Update tests that use readelf to use $READELF instead.
25913 * configure: Regenerated.
25915 2011-07-08 Ulrich Drepper <drepper@gmail.com>
25917 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25918 if the result is not used.
25920 2011-07-05 Andreas Jaeger <aj@suse.de>
25923 * stdlib/tst-strtod.c: Add testcase.
25925 2011-07-07 Ulrich Drepper <drepper@gmail.com>
25927 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
25928 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
25929 The latter has a higher limit. Take additional parameter to pass to
25931 (__pathconf): Pass file to __statfs_link_max.
25932 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25934 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25938 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25939 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25941 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25942 (__statfs_filesize_max): Likewise.
25943 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25945 2011-07-05 Andreas Jaeger <aj@suse.de>
25947 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25949 2011-07-06 Marek Polacek <mpolacek@redhat.com>
25951 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25953 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25956 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25958 * Makefile (strop-tests): Add strncat.
25959 * string/test-strncat.c: New file.
25961 2011-06-30 Marek Polacek <mpolacek@redhat.com>
25963 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25965 2011-06-21 Andreas Jaeger <aj@suse.de>
25967 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25968 Copy rule from iconvdata/Makefile.
25970 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25973 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25974 but no long options are defined, just return 'W'.
25976 2011-06-22 Marek Polacek <mpolacek@redhat.com>
25979 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25981 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25983 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25985 (innetgr): Likewise.
25987 2011-07-05 Roland McGrath <roland@hack.frob.com>
25989 * config.make.in (install_root): Default to $(DESTDIR).
25991 2011-07-05 Ulrich Drepper <drepper@gmail.com>
25993 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25995 2011-07-02 Roland McGrath <roland@hack.frob.com>
25997 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25999 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
26000 containing directory rather than embedding absolute directory names.
26002 * scripts/check-local-headers.sh: Rewritten using awk.
26003 Match by word, not by line. Print error messages for matches.
26004 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
26006 * Makerules [shlib-lds-flags empty]:
26007 ($(common-objpfx)libc_pic.opts): New target.
26008 ($(common-objpfx)libc_pic.os.clean): New target.
26009 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
26011 * config.make.in (OBJCOPY): New variable.
26012 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
26013 * configure: Regenerated.
26015 * config.make.in (use-default-link): New variable.
26016 * configure.in (use_default_link): Grok --with-default-link to set it.
26017 * configure: Regenerated.
26018 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
26019 (shlib-lds, shlib-lds-flags): Define to empty.
26021 * Makerules (shlib-lds): New variable.
26022 (shlib-lds-flags): New variable.
26023 (build-shlib, build-moduile, build-module-asneeded): Use it.
26024 ($(common-objpfx)libc.so): Use $(shlib-lds).
26025 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
26026 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
26028 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
26029 DT_FLAGS/DT_FLAGS_1 with zero flags.
26031 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
26032 linker script munging.
26034 2011-07-02 Ulrich Drepper <drepper@gmail.com>
26036 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
26038 * crypt/sha512.c (sha512_process_block): Perform total addition using
26039 128-bit if possible.
26040 (__sha512_finish_ctx): Likewise.
26041 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
26043 * crypt/sha256.c (SWAP64): Define.
26044 (sha256_process_block): Perform total addition using 64-bit if
26046 (__sha256_finish_ctx): Likewise.
26048 2011-07-01 Ulrich Drepper <drepper@gmail.com>
26050 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
26051 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26052 * nscd/hstcache.c (cache_addhst): Likewise.
26053 * nscd/grpcache.c (cache_addgr): Likewise.
26054 * nscd/aicache.c (addhstaiX): Likewise
26055 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
26057 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
26059 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
26060 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26061 * nscd/hstcache.c (cache_addhst): Likewise.
26062 * nscd/grpcache.c (cache_addgr): Likewise.
26063 * nscd/aicache.c (addhstaiX): Likewise
26065 2011-07-01 Andreas Schwab <schwab@redhat.com>
26067 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
26068 domain only when needed.
26070 2011-06-30 Andreas Schwab <schwab@redhat.com>
26072 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
26073 is always restored.
26075 2011-06-29 Ulrich Drepper <drepper@gmail.com>
26077 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
26078 are re-adding the entry.
26079 * nscd/servicescache.c (cache_addserv): Likewise.
26081 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
26083 * sysdeps/generic/dl-irel.h: fix protection against multiple
26085 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
26087 2011-06-28 Ulrich Drepper <drepper@gmail.com>
26090 * malloc/memusage.sh: Fix quoting in message.
26091 * debug/xtrace.sh: Likewise.
26093 * configure.in: Remove support for --experimental-malloc option, make
26095 * config.make.in: Likewise.
26096 * malloc/Makefile: Likewise.
26098 2011-06-27 Andreas Schwab <schwab@redhat.com>
26100 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
26101 two-byte characters.
26103 2011-06-27 Roland McGrath <roland@hack.frob.com>
26105 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
26106 AC_CACHE_CHECK invocation.
26107 * configure: Regenerated.
26109 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
26111 2011-06-27 Ulrich Drepper <drepper@gmail.com>
26114 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
26115 bit from old_res_options.
26117 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
26119 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
26120 value type for setfct.
26122 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
26124 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
26125 __gettimeofday instead of gettimeofday.
26127 2011-06-26 Ulrich Drepper <drepper@gmail.com>
26129 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
26131 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
26133 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
26135 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
26138 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
26140 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26141 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
26142 strcpy-sse2-unaligned strncpy-sse2-unaligned
26143 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
26144 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
26145 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
26146 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
26147 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
26148 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
26149 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
26150 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
26151 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
26152 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
26153 (STRCPY): Support SSE2 and SSSE3 versions.
26155 2011-06-24 Ulrich Drepper <drepper@gmail.com>
26158 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
26159 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
26160 kernels which artificially limit size of requests.
26162 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
26164 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26165 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
26166 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
26167 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
26168 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
26169 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
26170 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
26171 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
26172 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
26173 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
26174 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
26175 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
26176 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
26177 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
26178 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
26179 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26180 Enable unaligned load optimization for Intel Core i3, i5 and i7
26182 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
26184 (index_Fast_Unaligned_Load): Define.
26185 (HAS_FAST_UNALIGNED_LOAD): Define.
26187 2011-06-23 Marek Polacek <mpolacek@redhat.com>
26189 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
26191 2011-06-22 Ulrich Drepper <drepper@gmail.com>
26194 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
26195 until it is clear that the information is realy needed.
26196 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
26198 2011-06-22 Andreas Schwab <schwab@redhat.com>
26200 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
26202 2011-06-22 Ulrich Drepper <drepper@gmail.com>
26204 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
26205 /sys/devices/system/cpu/online if it is usable.
26207 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
26208 reading the information from the /proc filesystem to once a second.
26210 2011-06-21 Andreas Jaeger <aj@suse.de>
26212 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
26213 NULL after inclusion of kernel headers.
26215 2011-06-21 Ulrich Drepper <drepper@gmail.com>
26217 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
26218 calls to internal_setent.
26221 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
26222 addresses using gethostbyname4_r ignore IPv4 addresses.
26224 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
26225 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
26227 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
26229 2011-06-20 David S. Miller <davem@davemloft.net>
26231 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
26233 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
26235 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
26236 (elf_irel): Use it.
26237 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
26238 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
26239 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
26240 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
26241 * sysdeps/x86_64/dl-irel.h: Likewise.
26243 * elf/dl-runtime.c: Use elf_ifunc_invoke.
26244 * elf/dl-sym.c: Likewise.
26246 2011-06-15 Ulrich Drepper <drepper@gmail.com>
26248 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
26249 need to dereference resplen2.
26251 2011-06-14 Andreas Schwab <schwab@redhat.com>
26253 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
26255 2011-06-15 Ulrich Drepper <drepper@gmail.com>
26257 * Makeconfig: Define vardbdir and inst_vardbdir.
26258 * nss/Makefile: Add rules to install db-Makefile.
26260 * nss/nss_db/db-XXX.c: Cleanup.
26262 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
26263 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
26265 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
26266 * nss/makedb.c: Implement -g option to specify that value strings
26267 are generated and should not be added to table iterated over for
26269 * nss/nss_db/db-initgroups.c: New file.
26271 * nss/getent.c: Add support for initgroups lookups through getgrouplist
26274 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
26275 (internal_getgrouplist): Adjust to name change.
26276 Update use_initgroups_entry if this is not the first call.
26277 * nss/databases.def: Add initgroups entry.
26279 * nss/makedb.c (compute_tables): Check result of multiple hash table
26280 sizes to minimize maximum chain length.
26282 2011-06-14 Ulrich Drepper <drepper@gmail.com>
26284 * Versions.def: Add entry for libnss_db.
26285 * shlib-versions: Likewise.
26286 * nss/Makefile: Add rules to build libnss_db.
26287 * nss/Versions: Add libnss_db information. Organize libnss_files
26289 * nss/db-Makefile: Add gshadow support. Change rules for the new
26290 makedb progra. Some minor improvements to generate smaller files.
26291 * nss/nss_db/nss_db.h: Move NSS database header data structures to
26293 * nss/makedb.c: ...here.
26294 Improve database format to be smaller and require less memory at
26296 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
26298 * nss/nss_db/db-netgrp.c: Likewise.
26299 * nss/nss_db/db-open.c: Likewise.
26300 * nss/nss_files/flies-XXX.x: Adjust comments.
26301 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
26302 * nss/nss_files/files-grp.c: Likewise.
26303 * nss/nss_files/files-hosts.c: Likewise.
26304 * nss/nss_files/files-network.c: Likewise.
26305 * nss/nss_files/files-proto.c: Likewise.
26306 * nss/nss_files/files-pwd.c: Likewise.
26307 * nss/nss_files/files-rpc.c: Likewise.
26308 * nss/nss_files/files-service.c: Likewise.
26309 * nss/nss_files/files-sgrp.c: Likewise.
26310 * nss/nss_files/files-spwd.c: Likewise.
26311 * nss/nss_db/db-alias.c: Removed.
26312 * nss/nss_db/dummy-db.h: Removed.
26314 2011-06-02 Ulrich Drepper <drepper@gmail.com>
26316 * nss/makedb.c: Rewritten to not use database library.
26317 * nss/Makefile: Update to build new makedb program.
26319 2011-06-14 Andreas Jaeger <aj@suse.de>
26321 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
26322 memset declaration.
26324 2011-06-10 Andreas Schwab <schwab@redhat.com>
26326 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
26329 2011-06-10 Roland McGrath <roland@hack.frob.com>
26331 * Makerules (shlib.lds): Fail if the linker script comes out empty.
26332 * elf/Makefile ($(objpfx)ld.so): Likewise.
26334 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
26335 Don't list ld.so twice in dependencies.
26337 * posix/bug-regex31.c: Include <stdlib.h>.
26339 * nscd/hstcache.c (cache_addhst): Remove unused variable.
26341 * nis/nss_compat/compat-spwd.c
26342 (getspent_next_nss_netgr): Remove unused variable.
26343 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
26345 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
26346 nonmembers" output to use the right array.
26348 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
26350 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
26352 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
26353 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
26354 * catgets/gencat.c (read_input_file): Likewise.
26355 * locale/programs/locarchive.c (enlarge_archive): Likewise.
26357 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
26358 variable definition inside #if's controlling its use.
26360 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
26362 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
26364 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
26366 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
26369 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
26371 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
26372 * configure: Regenerated.
26374 * Makerules: Revert last change.
26375 * elf/Makefile: Likewise.
26377 2011-06-09 Roland McGrath <roland@hack.frob.com>
26379 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
26380 * elf/Makefile ($(objpfx)librtld.os): Likewise.
26381 (reloc-link): Likewise.
26383 2011-06-09 Ulrich Drepper <drepper@gmail.com>
26385 * elf/Makefile: Add rules to build pldd.
26386 * elf/pldd.c: New file.
26387 * elf/pldd-xx.c: New file.
26389 2011-06-07 Ulrich Drepper <drepper@gmail.com>
26391 * version.h: Update for 2.15 development version.
26393 2011-06-07 David S. Miller <davem@davemloft.net>
26395 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
26397 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
26398 elf_machine_lazy_rel): Likewise.
26399 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26400 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
26401 elf_machine_lazy_rel): Likewise.
26402 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
26403 dl_hwcap via passed in argument.
26404 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
26407 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26409 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
26411 2011-06-06 Roland McGrath <roland@hack.frob.com>
26414 * manual/fdl-1.1.texi: New file, verbatim from:
26415 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
26416 * manual/lgpl-2.1.texi: New file, verbatim from:
26417 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
26418 * manual/Makefile (licenses): New variable, list those new file names.
26420 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
26422 * manual/fdl.texi: File removed.
26423 * manual/lesser.texi: File removed.
26424 * manual/libc.texinfo (Copying, Documentation License):
26425 Use new @include file names, put @appendix directive before @include.
26427 2011-06-04 Jakub Jelinek <jakub@redhat.com>
26430 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
26431 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
26432 (mq_open): Add __NTH.
26434 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
26436 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26437 Assume Intel Core i3/i5/i7 processor if AVX is available.
26439 2011-05-31 Ulrich Drepper <drepper@gmail.com>
26441 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26444 2011-05-31 Andreas Schwab <schwab@redhat.com>
26446 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
26447 memory. Use alloca_account. Fix memory leak when retrying.
26449 2011-05-31 Ulrich Drepper <drepper@gmail.com>
26451 * version.h (RELEASE): Bump for 2.14 release.
26452 * include/features.h (__GLIBC_MINOR__): Bump to 14.
26454 * config.make.in (RANLIB): Remove entry.
26456 2011-05-30 Ulrich Drepper <drepper@gmail.com>
26458 * po/Makefile (po-sed-cmd): Add ksh to extensions.
26459 (libc.pot): Work around missing support for .ksh extension in xgettext.
26462 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
26463 if both request failed.
26464 (send_dg): In case of server errors clear resplen or *resplen2.
26467 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
26468 when there are multiple maps.
26469 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
26470 (_dl_fini): Remove test here.
26472 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
26474 2011-05-29 Ulrich Drepper <drepper@gmail.com>
26477 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
26478 bit from old_res_options.
26479 (gaih_inet): Likewise.
26482 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
26485 * resolv/res_init.c (res_setoptions): Make the code more compact.
26488 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
26492 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
26494 * malloc/malloc.h: Mark malloc hook variables as deprecated.
26497 * malloc/malloc.h: Declare malloc hook variables as volatile.
26499 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
26503 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
26504 raise in the comment.
26505 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26506 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26507 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
26509 2011-05-28 Ulrich Drepper <drepper@gmail.com>
26512 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
26513 grow the buffers more if it already has to be sufficient.
26514 (build_wcs_upper_buffer): Likewise.
26515 * posix/regexec.c (check_matching): Likewise.
26516 (clean_state_log_if_needed): Likewise.
26517 (extend_buffers): Don't enlarge buffers beyond size of the input
26519 Patches mostly by Emil Wojak <emil@wojak.eu>.
26520 * posix/bug-regex32.c: New file.
26521 * posix/Makefile (tests): Add bug-regex32.
26523 * locale/findlocale.c (_nl_find_locale): Return right away if
26524 _nl_explode_name failed.
26525 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
26527 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
26529 * debug/xtrace.sh: Unify messages.
26530 * malloc/memusage.sh: Likewise.
26533 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
26534 time symbol from vDSO. Substitute with vsyscall if not available.
26535 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
26538 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
26539 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
26540 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
26541 Add sendmmsg and internal_sendmmsg.
26542 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
26543 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
26544 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
26546 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
26547 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
26548 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
26550 2011-05-27 Ulrich Drepper <drepper@gmail.com>
26553 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
26554 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
26556 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
26560 * iconvdata/Makefile (tests): Add bug-iconv9.
26561 * iconvdata/bug-iconv9.c: New file.
26563 2011-05-27 Andreas Schwab <schwab@redhat.com>
26566 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
26568 2011-05-25 Jakub Jelinek <jakub@redhat.com>
26570 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26571 (struct user_regs_struct): Change intcs field back to cs.
26573 2011-05-25 Ulrich Drepper <drepper@gmail.com>
26575 * po/ja.po: Update from translation team.
26577 2011-05-23 Ulrich Drepper <drepper@gmail.com>
26580 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
26581 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
26583 2011-05-20 Andreas Schwab <schwab@redhat.com>
26585 * stdlib/longlong.h: Update from GCC.
26587 2011-05-23 Andreas Schwab <schwab@redhat.com>
26589 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
26591 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
26592 Add parameter name.
26593 (__sysconf): Pass it down.
26595 2011-05-22 Ulrich Drepper <drepper@gmail.com>
26598 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
26600 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26601 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
26602 add in in __libc_use_alloca calls. Adjust callers.
26603 (glob): Use malloc in some situations.
26605 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
26606 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
26609 2011-05-21 Ulrich Drepper <drepper@gmail.com>
26611 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
26612 and CLOCK_BOOTTIME_ALARM.
26615 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
26618 * string/_strerror.c (__strerror_r): Print negative errors as signed
26622 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
26623 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
26624 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
26626 * configure.in: Fix typo in redirection and correct removal of test
26627 files in two cases.
26630 * locale/setlocale.c (new_composite_name): Fix test to check for
26631 identical name of all categories.
26634 * libio/filedoalloc.c (local_isatty): New function.
26635 (_IO_file_doallocate): Use local_isatty.
26636 * stdio-common/perror.c (perror): In case a new stream is used
26637 forward the stream error.
26638 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
26641 2011-05-20 Ulrich Drepper <drepper@gmail.com>
26644 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
26646 * include/alloca.h (extend_alloca_account): Define.
26649 * posix/regex.h: Fix comments with documentation of user-accessible
26650 fields after compilation and describe correct free'ing of pattern
26651 after re_compile_pattern.
26652 Patch by Reuben Thomas <rrt@sc3d.org>.
26654 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
26656 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
26657 and -mno-altivec to prevent the compiler from using Altivec and/or
26658 VSX instructions when the corresponding registers are not available.
26660 2011-05-19 Andreas Schwab <schwab@redhat.com>
26662 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
26664 2011-05-19 Ulrich Drepper <drepper@gmail.com>
26666 * libio/freopen.c (freopen): Use __dup2, not dup2.
26667 * libio/freopen64.c (freopen64): Likewise.
26669 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
26672 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
26673 * math/Makefile (tests): Add test-powl.
26674 (CFLAGS-test-powl.c): Define.
26675 * math/test-powl.c: New file.
26677 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
26679 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
26681 2011-05-17 Ulrich Drepper <drepper@gmail.com>
26684 * iconvdata/gb18030.c: Update to GB18020-2005.
26686 2011-05-16 Ulrich Drepper <drepper@gmail.com>
26688 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
26689 RE_SYNTAX_POSIX_AWK): Update to match recent development.
26690 Patch by Aharon Robbins <arnold@skeeve.com>.
26693 * stdlib/putenv.c (putenv): Don't always create copy of the variable
26697 * misc/pselect.c (__pselect): Handle timeout value errors hidden
26698 through underflows.
26701 * misc/error.c (error_at_line): Ensure file_name and old_file_name
26702 point to strings before performing equality test for error_one_per_line
26706 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
26709 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26710 (struct user_fpregs_struct): Avoid __uint*_t types.
26713 * malloc/mtrace.c (tr_where): Add additional parameter to point to
26714 symbol info. Use it instead of calling _dl_addr locally.
26715 (lock_and_info): New function.
26716 (tr_freehook): Call lock_and_info and pass symbol info as additional
26717 parameter to tr_where.
26718 (tr_mallochook): Likewise.
26719 (tr_reallochook): Likewise.
26720 (tr_memalignhook): Likewise.
26722 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
26723 used and couldn't be at all thread-safe.
26725 2011-05-15 Ulrich Drepper <drepper@gmail.com>
26727 * libio/freopen.c (freopen): Don't close old file descriptor
26728 before the new one is opened. Instead dup the new file descriptor
26729 to the old one after the new stream is created.
26730 * libio/freopen64.c (freopen64): Likewise.
26731 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
26732 * libio/fileops.c (_IO_new_file_close_it): Handle new
26733 _IO_FLAGS2_NOCLOSE flag.
26734 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
26735 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
26736 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
26737 _IO_FLAGS2_NOCLOSE flag.
26738 * include/unistd.h: Add hidden_proto for dup3.
26739 Define __have_dup3.
26740 * io/dup3.c: Define hidden symbol.
26741 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
26744 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
26745 when an incomplete long option is used.
26746 * posix/tst-getopt_long1.c: New file.
26747 * posix/Makefile (tests): Add tst-getopt_long1.
26750 * scripts/config.guess: Update from autoconf-2.68.
26751 * scripts/config.sub: Likewise.
26754 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
26756 (has_cpuclock): ...this. New function.
26757 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
26758 macro here based on has_cpuclock code.
26761 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26762 First byte (not low byte) is now always NUL.
26763 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
26765 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26766 Use non-cancelable interfaces.
26769 * locale/iso-639.def: Add entry for Sorani.
26772 * include/stdlib.h: Move include protection to the right place.
26773 Define abort_msg_s. Declare __abort_msg with it.
26774 * stdlib/abort.c (__abort_msg): Adjust type.
26775 * assert/assert.c (__assert_fail_base): New function. Majority
26776 of code from __assert_fail. Allocate memory for __abort_msg with
26778 (__assert_fail): Now call __assert_fail_base.
26779 * assert/assert-perr.c: Remove bulk of implementation. Use
26780 __assert_fail_base.
26781 * include/assert.hL Declare __assert_fail_base.
26782 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
26784 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
26786 2011-05-14 Ulrich Drepper <drepper@gmail.com>
26790 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
26791 until all modules are registered in the DTV.
26792 * elf/Makefile: Add rules to build and run tst-tls19.
26793 * elf/tst-tls19.c: New file.
26794 * elf/tst-tls19mod1.c: New file.
26795 * elf/tst-tls19mod2.c: New file.
26796 * elf/tst-tls19mod3.c: New file.
26797 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
26800 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
26804 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
26805 two-byte sequence errors.
26806 * iconvdata/Makefile (tests): Add bug-iconv8.
26807 * iconvdata/bug-iconv8.c: New file.
26810 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
26813 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
26816 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26817 (dummy_getcfa): New function.
26818 (init): Get _Unwind_GetCFA address, use dummy if not found.
26819 (backtrace_helper): In recursion check, also check whether CFA changes.
26820 (__backtrace): Completely initialize arg.
26822 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
26823 storing incomplete byte sequence in state object. Avoid testing for
26824 guaranteed too small input if we know there is enough data available.
26826 2011-05-11 Andreas Schwab <schwab@redhat.com>
26828 * Makeconfig (+link-pie): Indent.
26829 * Rules (binaries-pie): Define if $(have-fpie) and
26831 (binaries-shared): Also filter out $(binaries-pie).
26832 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26833 * nscd/Makefile (others-pie): Add nscd.
26834 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26835 ($(objpfx)nscd): Remove command override.
26836 * login/Makefile (others-pie): Add pt_chown.
26837 ($(objpfx)pt_chown): Remove command override.
26838 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26839 remove command overrides.
26841 2011-05-13 Ulrich Drepper <drepper@gmail.com>
26843 * libio/tst_putwc.c: Fix error messages.
26846 * libio/fileops.c (_IO_new_file_close_it): Always flush when
26847 currently writing and seek to current position when not.
26848 * libio/Makefile (tests): Add bug-fclose1.
26849 * libio/bug-fclose1.c: New file.
26851 2011-05-12 Ulrich Drepper <drepper@gmail.com>
26854 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26855 don't set DF_1_NODELETE here.
26856 (do_lookup_x): When entering new entry test for copy relocation
26857 and if necessary set DF_1_NODELETE flag.
26858 * elf/tst-unique4.cc: New file.
26859 * elf/tst-unique4.h: New file.
26860 * elf/tst-unique4lib.cc: New file.
26861 * elf/Makefile: Add rules to build and run tst-unique4.
26862 Patch by Piotr Bury <pbury@goahead.com>.
26864 2011-05-11 Ulrich Drepper <drepper@gmail.com>
26867 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26870 * misc/mntent_r.c (addmntent): Flush the stream after the output
26873 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26874 (is_trusted_path_normalize): Skip initial colon. Append slash
26875 to empty buffer. Duplicate is_trusted_path code but allow
26876 constructed patch to be prefix.
26877 (is_dst): Allow $ORIGIN followed by /.
26878 (_dl_dst_substitute): Correct clearing of check_for_trusted.
26879 Correct testing of result of is_trusted_path_normalize
26880 (decompose_rpath): Fix warning.
26882 2011-05-10 Ulrich Drepper <drepper@gmail.com>
26885 * grp/initgroups.c (internal_getgrouplist): When we found the service
26886 list through the initgroups entry in nsswitch.conf do not always
26887 continue on a successful lookup. Don't always use the
26888 __nss_group_database value if it is set.
26889 * nss/nsswitch.conf (initgroups): Change action for successful db
26890 lookup to continue for compatibility.
26892 2011-05-09 Ulrich Drepper <drepper@gmail.com>
26895 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26897 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26899 * iconvdata/tst-tables.sh: Likewise.
26900 * iconvdata/cp770.c: New file.
26901 * iconvdata/cp771.c: New file.
26902 * iconvdata/cp772.c: New file.
26903 * iconvdata/cp773.c: New file.
26904 * iconvdata/cp774.c: New file.
26905 * iconvdata/testdata/CP770: New file.
26906 * iconvdata/testdata/CP770..UTF8: New file.
26907 * iconvdata/testdata/CP771: New file.
26908 * iconvdata/testdata/CP771..UTF8: New file.
26909 * iconvdata/testdata/CP772: New file.
26910 * iconvdata/testdata/CP772..UTF8: New file.
26911 * iconvdata/testdata/CP773: New file.
26912 * iconvdata/testdata/CP773..UTF8: New file.
26913 * iconvdata/testdata/CP774: New file.
26914 * iconvdata/testdata/CP774..UTF8: New file.
26916 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26918 * iconvdata/gen-8bit-gap.sh: Likewise.
26919 * iconvdata/gen-8bit.sh: Likewise.
26921 * locale/iso-639.def: Add ary entry.
26924 * locale/C-translit.h.in: Add U20A1 transliteration.
26927 * locale/iso-639.def: Add wae entry.
26928 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26931 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26935 * locale/C-translit.h.in: Add entry for U20B9.
26936 Patch by pravin.d.s@gmail.com.
26938 2011-05-08 Ulrich Drepper <drepper@gmail.com>
26941 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26942 ENAMETOOLONG use generic getcwd.
26943 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26944 in rtld. Use *stat64.
26945 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
26946 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
26947 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
26948 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26949 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26950 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26951 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26952 __fstatat64 macros.
26953 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26954 * dirent/rewinddir.c: Add libc_hidden_def.
26955 * sysdeps/mach/hurd/rewinddir.c: Likewise.
26956 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
26958 * include/dirent.h (__alloc_dir): Add flags parameter.
26959 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26960 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26962 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26963 from fdopendir if O_CLOEXEC is already set.
26965 2011-03-15 Alan Modra <amodra@gmail.com>
26967 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26968 l_tls_firstbyte_offset non-zero. Save padding offset in
26969 l_tls_firstbyte_offset for later use.
26970 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26971 freeing static tls block.
26973 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26975 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26976 where #ifdef was intended. The intent is to prevent ARG_MAX from
26977 being defined by the kernel headers.
26979 2011-05-07 Ulrich Drepper <drepper@gmail.com>
26982 * resolv/resolv.h: Define RES_NOTLDQUERY.
26983 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26984 no-tld-query and set RES_NOTLDQUERY.
26985 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26986 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26987 modern BIND to search name as TLD unless forbidden.
26989 2011-05-07 Petr Baudis <pasky@suse.cz>
26990 Ulrich Drepper <drepper@gmail.com>
26993 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26994 (is_trusted_path): ...to here.
26995 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
26996 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
26997 using is_trusted_path_normalize() in setuid scripts.
26999 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27001 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
27002 __BEGIN/__END_DECLS.
27004 2011-05-06 Ulrich Drepper <drepper@gmail.com>
27006 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
27007 NSS_STATUS_NOTFOUND if no record was found.
27009 2011-05-05 Andreas Schwab <schwab@redhat.com>
27011 * sunrpc/Makefile (headers): Add rpc/netdb.h.
27012 (headers-not-in-tirpc): Remove rpc/netdb.h
27013 * resolv/netdb.h: Revert last change.
27015 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27017 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
27018 circular dependency between libgcc.a and libc.a.
27020 2011-05-05 Andreas Schwab <schwab@redhat.com>
27022 * resolv/netdb.h: Don't include <rpc/netdb.h>.
27023 * nis/Makefile: Don't install rpcsvc/*.
27024 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
27025 instead of <rpc/types.h>.
27026 (MAXHOSTNAMELEN): Define.
27028 2011-05-03 Andreas Schwab <schwab@redhat.com>
27030 * elf/ldconfig.c (add_dir): Don't crash on empty path.
27032 2011-04-28 Maciej Babinski <mbabinski@google.com>
27035 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
27036 gethostbyname4_r when IPv6 results are possible.
27038 2011-05-02 Ulrich Drepper <drepper@gmail.com>
27041 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
27042 _PC_PIPE_BUF handling.
27044 2011-04-30 Bruno Haible <bruno@clisp.org>
27047 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
27048 * resolv/netdb.h (getnameinfo): Change type of flags parameter
27050 * inet/getnameinfo.c (getnameinfo): Likewise.
27052 2011-04-29 Ulrich Drepper <drepper@gmail.com>
27054 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
27055 to groups setting in database lookup.
27056 * nss/nsswitch.conf: Add initgroups entry.
27058 2011-04-22 Ulrich Drepper <drepper@gmail.com>
27061 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
27063 Patch by Eric Blake <eblake@redhat.com>.
27065 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
27067 * sunrpc/Makefile (need-export-routines): Add svc_run.
27068 (routines): Remove svc_run.
27069 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
27070 * sunrpc/clnt_perr.c (clnt_perrno): Export.
27071 * sunrpc/svc_run.c (svc_run): Likewise.
27072 * sunrpc/svc_udp.c (svcudp_create): Likewise.
27074 2011-04-21 Ulrich Drepper <drepper@gmail.com>
27076 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
27077 problem in reallocation in last patch.
27079 2011-04-20 Ulrich Drepper <drepper@gmail.com>
27081 * sunrpc/Makefile: Move inclusion of Rules.
27083 2011-04-19 Ulrich Drepper <drepper@gmail.com>
27085 * nss/nss_files/files-initgroups.c: New file.
27086 * nss/Makefile (libnss_files-routines): Add files-initgroups.
27087 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
27088 _nss_files_initgroups_dyn.
27090 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
27092 * elf/elf.h (R_ARM_IRELATIVE): Define.
27094 2011-04-19 Ulrich Drepper <drepper@gmail.com>
27096 * po/ru.po: Update from translation team.
27098 2011-04-17 Ulrich Drepper <drepper@gmail.com>
27100 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
27103 2011-02-06 Mike Frysinger <vapier@gentoo.org>
27106 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
27107 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
27108 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27109 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27110 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27112 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
27114 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
27116 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27117 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27118 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27120 2011-04-17 Ulrich Drepper <drepper@gmail.com>
27123 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
27125 * stdlib/bug-getcontext.c: New file.
27126 * stdlib/Makefile: Add rules to build and run bug-getcontext.
27128 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27130 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
27131 instructions into .machine "z9-109".
27132 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
27133 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
27135 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27137 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
27138 between environment variables and auxiliary vector.
27140 2011-04-16 Ulrich Drepper <drepper@gmail.com>
27142 * Makefile: Add rules to build linkobj/libc.so.
27143 * include/libc-symbols.h: Define libc_hidden_nolink.
27144 * include/rpc/auth.h: Mark functions which are to be hidden.
27145 * include/rpc/auth_des.h: Likewise.
27146 * include/rpc/auth_unix.h: Likewise.
27147 * include/rpc/clnt.h: Likewise.
27148 * include/rpc/des_crypt.h: Likewise.
27149 * include/rpc/key_prot.h: Likewise.
27150 * include/rpc/pmap_clnt.h: Likewise.
27151 * include/rpc/pmap_prot.h: Likewise.
27152 * include/rpc/pmap_rmt.h: Likewise.
27153 * include/rpc/rpc_msg.h: Likewise.
27154 * include/rpc/svc.h: Likewise.
27155 * include/rpc/svc_auth.h: Likewise.
27156 * include/rpc/xdr.h: Likewise.
27157 * nis/Makefile: Link all DSOs against linkobj/libc.so.
27158 * nss/Makefile: Likewise.
27159 * sunrpc/Makefile: Don't install headers. Build library with normal
27160 entry points. Don't build rpcinfo. Link RPC tests appropriately.
27161 * sunrpc/auth_des.c: Hide exported symbols by default, export some
27162 for the compat linking library. Remove use of INTDEF/INTUSE.
27163 * sunrpc/auth_none.c: Likewise.
27164 * sunrpc/auth_unix.c: Likewise.
27165 * sunrpc/authdes_prot.c: Likewise.
27166 * sunrpc/authuxprot.c: Likewise.
27167 * sunrpc/clnt_gen.c: Likewise.
27168 * sunrpc/clnt_perr.c: Likewise.
27169 * sunrpc/clnt_raw.c: Likewise.
27170 * sunrpc/clnt_simp.c: Likewise.
27171 * sunrpc/clnt_tcp.c: Likewise.
27172 * sunrpc/clnt_udp.c: Likewise.
27173 * sunrpc/clnt_unix.c: Likewise.
27174 * sunrpc/des_crypt.c: Likewise.
27175 * sunrpc/des_soft.c: Likewise.
27176 * sunrpc/get_myaddr.c: Likewise.
27177 * sunrpc/key_call.c: Likewise.
27178 * sunrpc/key_prot.c: Likewise.
27179 * sunrpc/netname.c: Likewise.
27180 * sunrpc/pm_getmaps.c: Likewise.
27181 * sunrpc/pm_getport.c: Likewise.
27182 * sunrpc/pmap_clnt.c: Likewise.
27183 * sunrpc/pmap_prot.c: Likewise.
27184 * sunrpc/pmap_prot2.c: Likewise.
27185 * sunrpc/pmap_rmt.c: Likewise.
27186 * sunrpc/publickey.c: Likewise.
27187 * sunrpc/rpc_cmsg.c: Likewise.
27188 * sunrpc/rpc_common.c: Likewise.
27189 * sunrpc/rpc_dtable.c: Likewise.
27190 * sunrpc/rpc_prot.c: Likewise.
27191 * sunrpc/rpc_thread.c: Likewise.
27192 * sunrpc/rtime.c: Likewise.
27193 * sunrpc/svc.c: Likewise.
27194 * sunrpc/svc_auth.c: Likewise.
27195 * sunrpc/svc_authux.c: Likewise.
27196 * sunrpc/svc_raw.c: Likewise.
27197 * sunrpc/svc_run.c: Likewise.
27198 * sunrpc/svc_simple.c: Likewise.
27199 * sunrpc/svc_tcp.c: Likewise.
27200 * sunrpc/svc_udp.c: Likewise.
27201 * sunrpc/svc_unix.c: Likewise.
27202 * sunrpc/svcauth_des.c: Likewise.
27203 * sunrpc/xcrypt.c: Likewise.
27204 * sunrpc/xdr.c: Likewise.
27205 * sunrpc/xdr_array.c: Likewise.
27206 * sunrpc/xdr_float.c: Likewise.
27207 * sunrpc/xdr_intXX_t.c: Likewise.
27208 * sunrpc/xdr_mem.c: Likewise.
27209 * sunrpc/xdr_rec.c: Likewise.
27210 * sunrpc/xdr_ref.c: Likewise.
27211 * sunrpc/xdr_sizeof.c: Likewise.
27212 * sunrpc/xdr_stdio.c: Likewise.
27214 2011-04-10 Ulrich Drepper <drepper@gmail.com>
27217 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
27218 * sysdeps/ia64/dl-tls.h: Likewise.
27219 * sysdeps/powerpc/dl-tls.h: Likewise.
27220 * sysdeps/s390/dl-tls.h: Likewise.
27221 * sysdeps/sh/dl-tls.h: Likewise.
27222 * sysdeps/sparc/dl-tls.h: Likewise.
27223 * sysdeps/x86_64/dl-tls.h: Likewise.
27224 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
27226 2011-03-14 Andreas Schwab <schwab@redhat.com>
27228 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
27229 rpath element also skip the following colon.
27230 (expand_dynamic_string_token): Add is_path parameter and pass
27231 down to DL_DST_REQUIRED and _dl_dst_substitute.
27232 (decompose_rpath): Call expand_dynamic_string_token with
27233 non-zero is_path. Ignore empty rpaths.
27234 (_dl_map_object_from_fd): Call expand_dynamic_string_token
27237 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
27239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27242 2011-04-09 Ulrich Drepper <drepper@gmail.com>
27245 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
27246 Patch by Filipe David Manana <fdmanana@apache.org>.
27248 2011-04-07 Andreas Schwab <schwab@redhat.com>
27250 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
27251 Maintain aligned stack.
27252 (CHECK_RSP): Remove unused macro.
27254 2011-04-03 Ulrich Drepper <drepper@gmail.com>
27256 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
27257 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
27259 2011-04-02 Ulrich Drepper <drepper@gmail.com>
27261 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
27263 * include/features.h: Mention __USE_XOPEN2K8 in comment.
27265 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
27268 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
27269 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
27270 * sysdeps/x86_64/memmove.c: New file.
27271 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
27272 (memcpy): Renamed to ...
27273 (__new_memcpy): This.
27274 (memcpy): Provide GLIBC_2_14 memcpy.
27275 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
27276 (memcpy): Provide GLIBC_2_2_5 memcpy.
27278 2011-04-01 Ulrich Drepper <drepper@gmail.com>
27281 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
27283 2011-03-30 Andreas Schwab <schwab@redhat.com>
27285 * misc/syncfs.c: New file.
27286 * misc/Makefile (routines): Add syncfs.
27287 * posix/unistd.h: Declare syncfs.
27288 * sysdeps/unix/syscalls.list: Add syncfs.
27290 2011-04-01 Andreas Schwab <schwab@redhat.com>
27292 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
27294 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27295 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27296 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27297 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27298 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27299 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
27300 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27302 2011-04-01 Ulrich Drepper <drepper@gmail.com>
27304 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
27305 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27306 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
27307 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27308 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27309 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27310 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27312 * io/Makefile: Compile fallocate.c, fallocate64.c, and
27313 sync_file_range.c with -fexceptions.
27314 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
27315 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
27316 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27317 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27318 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
27319 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27320 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
27321 sync_file_range as cancellation point
27322 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
27323 now a wrapper around __call_sync_file_range with cancellation handling.
27324 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
27325 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
27326 function name to __call_sync_file_range.
27327 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
27328 Add call_sync_file_range.
27330 2011-04-01 Andreas Schwab <schwab@redhat.com>
27332 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27335 2011-04-01 Ulrich Drepper <drepper@gmail.com>
27337 * iconv/iconv.h: Fix typo in comment.
27338 * io/fcntl.h: Likewise.
27339 * libio/stdio.h: Likewise.
27340 * posix/spawn.h: Likewise.
27341 * posix/unistd.h: Likewise.
27342 * stdlib/stdlib.h: Likewise.
27343 * time/time.h: Likewise.
27344 * wcsmbs/wchar.h: Likewise.
27346 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
27347 open_by_handle): Add.
27348 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
27349 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
27350 Augment a few comments.
27351 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27352 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27353 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27354 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27355 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27356 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
27359 * io/fcntl.h (AT_EMPTY_PATH): Define.
27361 2011-03-30 Ulrich Drepper <drepper@gmail.com>
27363 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
27364 * sysdeps/unix/sysv/linux/bits/time.h: New file.
27365 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
27367 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
27368 * Versions.def: Add GLIBC_2.14.
27369 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
27372 2011-03-22 Ulrich Drepper <drepper@gmail.com>
27374 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
27376 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27378 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
27381 * string/test-strncmp.c (do_page_test): New function.
27382 (check2): Likewise.
27383 (test_main): Call check2.
27384 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
27386 2011-03-20 Ulrich Drepper <drepper@gmail.com>
27389 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
27390 Handle cache information in CPU leaf 4.
27391 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27393 2011-03-18 Ulrich Drepper <drepper@gmail.com>
27396 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
27397 character representation.
27398 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
27400 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
27402 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
27403 END(__isnan) to END(__isnanf) to match function entry point/label
27404 EALIGN(__isnanf,...).
27406 2011-03-10 Jakub Jelinek <jakub@redhat.com>
27408 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
27410 2011-03-10 Ulrich Drepper <drepper@gmail.com>
27413 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
27414 copy from the symbol referenced in the relocation to initialize the
27416 Patch by Piotr Bury <pbury@goahead.com>.
27417 * elf/Makefile: Add rules to build and tst-unique3.
27418 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
27419 * elf/tst-unique3.cc: New file.
27420 * elf/tst-unique3.h: New file.
27421 * elf/tst-unique3lib.cc: New file.
27422 * elf/tst-unique3lib2.cc: New file.
27424 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
27426 2011-03-10 Mike Frysinger <vapier@gentoo.org>
27428 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
27429 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
27432 2011-03-06 Ulrich Drepper <drepper@gmail.com>
27434 * elf/dl-load.c (_dl_map_object): If we are looking for the first
27435 to-be-loaded object along a path to loader is ld.so.
27437 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27438 Ulrich Drepper <drepper@gmail.com>
27440 * sysdeps/x86_64/memset.S: After aligning destination, code
27441 branches to different locations depending on the value of
27442 misalignment, when multiarch is enabled. Fix this.
27444 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27446 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
27447 Set _x86_64_preferred_memory_instruction for AMD processsors.
27448 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27449 Set bit_Prefer_SSE_for_memop for AMD processors.
27451 2011-03-04 Ulrich Drepper <drepper@gmail.com>
27453 * libio/fmemopen.c (fmemopen): Optimize a bit.
27455 2011-03-03 Andreas Schwab <schwab@redhat.com>
27457 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
27459 2011-03-03 Roland McGrath <roland@redhat.com>
27461 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
27463 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
27465 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
27466 __bzero_ultra1 instead of __memset_ultra1.
27468 2011-02-23 Andreas Schwab <schwab@redhat.com>
27469 Ulrich Drepper <drepper@gmail.com>
27472 * include/link.h (struct link_map): Add l_orig_initfini.
27473 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
27474 returning unsuccessfully.
27475 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
27476 close of a file loaded at startup, restore the original l_initfini
27478 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
27479 list, store the pointer.
27480 * elf/Makefile ($(objpfx)noload-mem): New rule.
27481 (noload-ENV): Define.
27482 (tests): Add $(objpfx)noload-mem.
27483 * elf/noload.c: Include <memcheck.h>.
27484 (main): Call mtrace. Close all opened handles.
27486 2011-02-17 Andreas Schwab <schwab@redhat.com>
27489 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
27490 dependencies are missing.
27492 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
27494 Fix __if_freereq crash: Unlike the generic version which uses free,
27496 * sysdeps/mach/hurd/ifreq.h: New file.
27498 2011-01-27 Petr Baudis <pasky@suse.cz>
27499 Ulrich Drepper <drepper@gmail.com>
27502 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
27503 to extend_alloca().
27504 * stdio-common/bug23.c: New file.
27505 * stdio-common/Makefile (tests): Add bug23.
27507 2010-09-28 Andreas Schwab <schwab@redhat.com>
27508 Ulrich Drepper <drepper@gmail.com>
27511 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
27512 before performing relro protection. At old place add assertion
27513 to make sure nothing changed.
27515 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
27516 Glauber de Oliveira Costa <glommer@gmail.com>
27518 * elf/elf.h: Add new ARM TLS relocs.
27520 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
27522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27523 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
27525 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
27527 * sysdeps/wordsize-64/tst-writev.c: New file.
27529 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
27531 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
27532 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
27533 insns in _dl_start to prevent a TOC reference before relocs are
27536 2011-02-15 Ulrich Drepper <drepper@gmail.com>
27539 * Makeconfig: Remove RANLIB definition.
27540 * Makerules: Don't use RANLIB.
27541 * aclocal.m4: Remove ranlib test.
27542 * configure.in: No need to check for ranlib.
27543 * elf/rtld-Rules: Don't use RANLIB.
27545 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
27547 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
27549 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
27550 inclusion protection macro.
27552 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
27553 SIGRTMIN and SIGRTMAX and print information in that case only when
27554 SIGRTMIN is defined.
27556 2011-02-11 Jakub Jelinek <jakub@redhat.com>
27558 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
27559 arginfo fn returning -1.
27561 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
27562 and thousands string is zero terminated.
27564 2011-02-03 Andreas Schwab <schwab@redhat.com>
27566 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
27567 sysdeps/unix/sysv/linux/bits/socket.h.
27569 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
27571 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
27572 (__CPU_COUNT): Remove old macros.
27573 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
27574 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
27575 (__CPU_ALLOC, __CPU_FREE): Add macros.
27576 (__sched_cpualloc, __sched_cpufree): Add declarations.
27578 2011-02-05 Ulrich Drepper <drepper@gmail.com>
27580 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
27581 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
27582 * nscd/aicache.c (addhstaiX): Return timeout of added value.
27583 (readdhstai): Return value of addhstaiX call.
27584 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
27585 (addgrbyX): Return value returned by cache_addgr.
27586 (readdgrbyname): Return value returned by addgrbyX.
27587 (readdgrbygid): Likewise.
27588 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
27589 (addpwbyX): Return value returned by cache_addpw.
27590 (readdpwbyname): Return value returned by addhstbyX.
27591 (readdpwbyuid): Likewise.
27592 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
27593 (addservbyX): Return value returned by cache_addserv.
27594 (readdservbyname): Return value returned by addservbyX:
27595 (readdservbyport): Likewise.
27596 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
27597 (addhstbyX): Return value returned by cache_addhst.
27598 (readdhstbyname): Return value returned by addhstbyX.
27599 (readdhstbyaddr): Likewise.
27600 (readdhstbynamev6): Likewise.
27601 (readdhstbyaddrv6): Likewise.
27602 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
27603 (readdinitgroups): Return value returned by addinitgroupsX.
27604 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
27605 (prune_cache): Keep track of timeout value of re-added entries.
27606 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
27607 * nscd/nscd.h: Adjust prototypes of readd* functions.
27609 2011-02-04 Roland McGrath <roland@redhat.com>
27611 * nis/nis_server.c (nis_servstate): Use the right name for 0.
27612 (nis_stats): Likewise.
27613 * nis/nis_modify.c (nis_modify): Likewise.
27614 * nis/nis_remove.c (nis_remove): Likewise.
27615 * nis/nis_add.c (nis_add): Likewise.
27617 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
27619 * posix/fnmatch_loop.c: Add some consts.
27621 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
27623 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
27626 * config.make.in (config-cflags-novzeroupper): Define.
27627 * configure.in: Substitute libc_cv_cc_novzeroupper.
27628 * elf/Makefile (AVX-CFLAGS): Define.
27629 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
27630 (CFLAGS-tst-auditmod4a.c): Likewise.
27631 (CFLAGS-tst-auditmod4b.c): Likewise.
27632 (CFLAGS-tst-auditmod6b.c): Likewise.
27633 (CFLAGS-tst-auditmod6c.c): Likewise.
27634 (CFLAGS-tst-auditmod7b.c): Likewise.
27635 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
27637 2011-02-02 Ulrich Drepper <drepper@gmail.com>
27639 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
27640 function to the callback.
27641 Patch partly by Jiri Olsa <jolsa@redhat.com>.
27643 2011-02-02 Andreas Schwab <schwab@redhat.com>
27645 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
27648 2011-01-19 Ulrich Drepper <drepper@gmail.com>
27651 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
27653 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
27655 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
27658 * elf/Makefile: Add rules to build and run new test.
27659 * elf/tst-initorder.c: New file.
27660 * elf/tst-initorder.exp: New file.
27661 * elf/tst-initordera1.c: New file.
27662 * elf/tst-initordera2.c: New file.
27663 * elf/tst-initordera3.c: New file.
27664 * elf/tst-initordera4.c: New file.
27665 * elf/tst-initorderb1.c: New file.
27666 * elf/tst-initorderb2.c: New file.
27667 * elf/tst-order-a1.c: New file.
27668 * elf/tst-order-a2.c: New file.
27669 * elf/tst-order-a3.c: New file.
27670 * elf/tst-order-a4.c: New file.
27671 * elf/tst-order-b1.c: New file.
27672 * elf/tst-order-b2.c: New file.
27673 * elf/tst-order-main.c: New file.
27674 New test case by George Gensure <werkt0@gmail.com>.
27676 2010-10-01 Andreas Schwab <schwab@redhat.com>
27678 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27679 decoding ACE if AI_CANONIDN.
27681 2011-01-18 Ulrich Drepper <drepper@gmail.com>
27683 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
27685 2011-01-17 Ulrich Drepper <drepper@gmail.com>
27687 * version.h (RELEASE): Bump for 2.13 release.
27688 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
27690 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
27692 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
27694 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
27695 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27696 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27697 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27698 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27699 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27701 * posix/getconf.c: Update copyright year.
27702 * catgets/gencat.c: Likewise.
27703 * csu/version.c: Likewise.
27704 * debug/catchsegv.sh: Likewise.
27705 * debug/xtrace.sh: Likewise.
27706 * elf/ldconfig.c: Likewise.
27707 * elf/ldd.bash.in: Likewise.
27708 * elf/sprof.c (print_version): Likewise.
27709 * iconv/iconv_prog.c: Likewise.
27710 * iconv/iconvconfig.c: Likewise.
27711 * locale/programs/locale.c: Likewise.
27712 * locale/programs/localedef.c: Likewise.
27713 * malloc/memusage.sh: Likewise.
27714 * malloc/mtrace.pl: Likewise.
27715 * nscd/nscd.c (print_version): Likewise.
27716 * nss/getent.c: Likewise.
27718 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
27719 PF_CAIF, and PF_ALG.
27720 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27722 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
27724 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
27725 (modules-names): Use them.
27726 (ifunc-test-modules, ifunc-pie-tests): Define.
27727 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
27728 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
27729 (test-extras): Likewise.
27730 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
27731 $(compile-command.c).
27732 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
27733 (all-built-dso): Define.
27734 (check-textrel.out, check-execstack.out): Depend on it.
27736 * configure.in: Don't override --enable-multi-arch.
27738 2011-01-15 Ulrich Drepper <drepper@gmail.com>
27741 * nscd/hstcache.c (tryagain): Define.
27742 (cache_addhst): Return tryagain not notfound for temporary errors.
27743 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
27746 2011-01-14 Ulrich Drepper <drepper@gmail.com>
27749 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
27750 to make the syscall.
27751 * sysdeps/unix/sysv/linux/setgroups.c: New file.
27754 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
27755 and fall back to matching as normal character if the string ends before
27756 the matching ']' is found. This is what POSIX requires.
27757 * posix/testfnm.c: Adjust test result.
27758 * posix/globtest.sh: Adjust test result. Add new test.
27759 * posix/tst-fnmatch.input: Likewise.
27760 * posix/tst-fnmatch2.c: Add new test.
27762 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
27764 * elf/Makefile (check-execstack): Revert last change. Depend on
27766 (check-execstack.h): New target.
27767 (generated): Add check-execstack.h.
27768 * elf/check-execstack.c: Include "check-execstack.h".
27769 (main): Revert last change.
27770 (handle_file): Return zero if GNU_STACK is absent and
27771 DEFAULT_STACK_PERMS doesn't include PF_X.
27773 2011-01-13 Ulrich Drepper <drepper@gmail.com>
27775 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
27776 in child fails because the descriptor is already closed.
27777 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
27778 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
27779 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
27782 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
27786 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
27787 temporary buffer used to handle multi lookups locally.
27788 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
27790 2011-01-12 Ulrich Drepper <drepper@gmail.com>
27792 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
27795 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
27797 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
27798 alignment for SSE2.
27800 2011-01-12 Ulrich Drepper <drepper@gmail.com>
27803 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
27804 characters. When rounding increased number of integer digits recompute
27806 * stdio-common/tst-grouping.c: New file.
27807 * stdio-common/Makefile: Add rules to build and run tst-grouping.
27809 2011-01-09 Ulrich Drepper <drepper@gmail.com>
27811 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
27812 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
27814 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27816 * bits/select.h: Likewise.
27818 2011-01-08 Ulrich Drepper <drepper@gmail.com>
27820 * po/ja.po: Update from translation team.
27822 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
27825 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27826 implementation just like for lxstat, fxstatat, et al.
27828 2010-12-27 Jim Meyering <meyering@redhat.com>
27831 * posix/regexec.c (build_trtable): Return failure indication upon
27832 calloc failure. Otherwise, re_search_internal could infloop on OOM.
27834 2010-12-25 Ulrich Drepper <drepper@gmail.com>
27837 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27838 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27839 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27840 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27843 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27846 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27847 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27849 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
27851 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27852 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27853 script has SORT_BY_INIT_PRIORITY.
27854 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27855 NO_CTORS_DTORS_SECTIONS is defined.
27856 * elf/soinit.c: Likewise.
27857 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27858 NO_CTORS_DTORS_SECTIONS is defined.
27859 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27860 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27861 * sysdeps/sh/init-first.c: Likewise.
27862 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27864 2010-12-24 Ulrich Drepper <drepper@gmail.com>
27866 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27867 always use the slow path.
27869 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
27871 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27872 similar rule which adds the sysdep directories to the header search in
27873 order to pick up the correct platform stackinfo.h.
27874 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27875 perform test if it is, otherwise return successfully without testing.
27876 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27877 DEFAULT_STACK_PERMS define in stackinfo.h.
27878 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27879 defined in stackinfo.h.
27880 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27881 DEFAULT_STACK_PERMS defined in stackinfo.h.
27882 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27883 * sysdeps/ia64/stackinfo.h: Likewise.
27884 * sysdeps/s390/stackinfo.h: Likewise.
27885 * sysdeps/sh/stackinfo.h: Likewise.
27886 * sysdeps/sparc/stackinfo.h: Likewise.
27887 * sysdeps/x86_64/stackinfo.h: Likewise.
27888 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27889 PF_X for powerpc64. Retain PF_X for powerpc32.
27891 2010-12-19 Ulrich Drepper <drepper@gmail.com>
27893 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27895 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27896 GETDENTS_64BIT_ALIGNED.
27898 2010-12-14 Ulrich Drepper <dreper@gmail.com>
27900 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
27902 2010-12-10 Andreas Schwab <schwab@redhat.com>
27904 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27907 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27908 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27910 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27911 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27913 2010-12-09 Ulrich Drepper <drepper@gmail.com>
27916 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27919 2010-12-09 Jakub Jelinek <jakub@redhat.com>
27921 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27923 2010-12-03 Ulrich Drepper <drepper@gmail.com>
27925 * po/it.po: Update from translation team.
27927 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27929 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27932 2010-11-30 Ulrich Drepper <drepper@gmail.com>
27934 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27936 2010-11-24 Andreas Schwab <schwab@redhat.com>
27938 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27940 (gaih_getanswer_slice): Likewise.
27942 2010-10-20 Jakub Jelinek <jakub@redhat.com>
27944 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27946 2010-05-31 Petr Baudis <pasky@suse.cz>
27949 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27950 silently even in the chroot mode.
27952 2010-11-22 Ulrich Drepper <drepper@gmail.com>
27954 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27955 last patch a bit. Pretty printing
27957 2010-05-31 Petr Baudis <pasky@suse.cz>
27960 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27961 initialization of skip_initgroups_dyn.
27963 2010-11-19 Ulrich Drepper <drepper@gmail.com>
27965 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27966 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27968 2010-11-16 Ulrich Drepper <drepper@gmail.com>
27970 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27972 2010-11-11 Andreas Schwab <schwab@redhat.com>
27974 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27975 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27976 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27977 ($(objpfx)tst-fnmatch-mem): New rule.
27978 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27979 * posix/tst-fnmatch.c (main): Call mtrace.
27981 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27983 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27984 Support Intel processor model 6 and model 0x2c.
27986 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
27988 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27991 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27994 * string/test-strncasecmp.c (check_result): New function.
27995 (do_one_test): Use it.
27996 (check1): New function.
27997 (test_main): Use it.
27998 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27999 Support strcasecmp and strncasecmp.
28001 2010-11-08 Ulrich Drepper <drepper@gmail.com>
28004 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
28005 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28007 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
28009 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
28011 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28013 * sysdeps/x86_64/multiarch/bzero.S: New file.
28014 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
28015 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
28016 * sysdeps/x86_64/multiarch/memset.S: New file.
28017 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
28018 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28019 Set bit_Prefer_SSE_for_memop for Intel processors.
28020 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
28022 (index_Prefer_SSE_for_memop): Define.
28023 (HAS_PREFER_SSE_FOR_MEMOP): Define.
28025 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
28027 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
28028 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
28030 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
28033 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
28034 (__x86_64_raw_data_cache_size_half): Likewise.
28035 (__x86_64_raw_shared_cache_size): Likewise.
28036 (__x86_64_raw_shared_cache_size_half): Likewise.
28038 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
28039 (__x86_64_raw_data_cache_size_half): Likewise.
28040 (__x86_64_raw_shared_cache_size): Likewise.
28041 (__x86_64_raw_shared_cache_size_half): Likewise.
28042 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
28043 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
28044 and __x86_64_raw_shared_cache_size_half. Round
28045 __x86_64_data_cache_size_half, __x86_64_data_cache_size
28046 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
28047 to multiple of 256 bytes.
28049 2010-11-03 Ulrich Drepper <drepper@gmail.com>
28052 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
28053 of inacessible symlinks. Verify result of symlink before returning it.
28054 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
28055 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
28057 2010-10-28 Erich Ritz <erichritz@gmail.com>
28059 * math/math.h (isinf): Fix typo in comment.
28061 2010-11-01 Ulrich Drepper <drepper@gmail.com>
28063 * po/da.po: Update from translation team.
28065 2010-10-26 Ulrich Drepper <drepper@gmail.com>
28067 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
28068 is added to the list.
28070 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28071 Ulrich Drepper <drepper@gmail.com>
28073 * elf/dl-object.c (_dl_new_object): Don't append the new object to
28074 the global list here. Move code to...
28075 (_dl_add_to_namespace_list): ...here. New function.
28076 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
28077 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
28078 * elf/dl-load.c (lose): Don't remove the element from the list.
28079 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
28080 (_dl_map_object): Likewise.
28082 2010-10-25 Ulrich Drepper <drepper@gmail.com>
28085 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
28086 into all bytes of SSE register.
28087 Patch by Richard Li <richardpku@gmail.com>.
28089 2010-10-24 Ulrich Drepper <drepper@gmail.com>
28092 * malloc/malloc.c (_int_free): Fill correct number of bytes when
28095 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
28097 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
28098 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
28099 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
28100 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
28103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
28105 2010-10-22 Andreas Schwab <schwab@redhat.com>
28107 * include/dlfcn.h (__RTLD_SECURE): Define.
28108 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
28109 mode & __RTLD_SECURE instead.
28110 (open_path): Rename preloaded parameter to secure.
28111 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
28112 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
28113 * elf/dl-deps.c (openaux): Likewise.
28114 * elf/rtld.c (struct map_args): Remove is_preloaded.
28115 (map_doit): Don't use it.
28116 (dl_main): Likewise.
28117 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
28118 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
28120 2010-09-09 Andreas Schwab <schwab@redhat.com>
28122 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
28123 (sysd-rules-targets): Remove duplicates.
28124 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
28125 rtld-%.$o dependency.
28127 2010-10-18 Andreas Schwab <schwab@redhat.com>
28129 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
28130 _dl_map_object do it.
28132 2010-10-19 Ulrich Drepper <drepper@gmail.com>
28134 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
28135 fast fma builtins, define the macros in the C99 standard.
28136 (FP_FAST_FMAF): Likewise.
28137 (FP_FAST_FMAL): Likewise.
28138 * sysdeps/x86_64/bits/mathdef.h: Likewise.
28140 * bits/mathdef.h: Update copyright year.
28141 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28143 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
28145 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
28146 builtins, define the macros in the C99 standard.
28147 (FP_FAST_FMAF): Likewise.
28148 (FP_FAST_FMAL): Likewise.
28149 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
28151 (FP_FAST_FMAF): Likewise.
28153 2010-10-15 Jakub Jelinek <jakub@redhat.com>
28156 * math/libm-test.inc (fma_test): Some new testcases.
28157 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
28158 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
28159 y and infinite z. Do multiplication by C already in long double.
28160 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
28161 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
28162 y and infinite z. Do bitwise or of inexact bit into u.d.
28163 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
28164 * sysdeps/i386/fpu/s_fmaf.S: Removed.
28165 * sysdeps/i386/fpu/s_fma.S: Removed.
28166 * sysdeps/i386/fpu/s_fmal.S: Removed.
28168 2010-10-16 Jakub Jelinek <jakub@redhat.com>
28171 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
28172 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
28173 computation is not scheduled after fetestexcept. Fix value
28174 of minimum denormal long double.
28176 2010-10-14 Jakub Jelinek <jakub@redhat.com>
28179 * math/libm-test.inc (fma_test): Add some more tests.
28180 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
28183 2010-10-15 Andreas Schwab <schwab@redhat.com>
28185 * scripts/data/localplt-s390-linux-gnu.data: New file.
28186 * scripts/data/localplt-s390x-linux-gnu.data: New file.
28188 2010-10-13 Jakub Jelinek <jakub@redhat.com>
28191 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
28192 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
28194 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
28196 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
28197 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
28198 if one of x and y is very large and the other is subnormal.
28199 * sysdeps/s390/fpu/s_fmaf.c: New file.
28200 * sysdeps/s390/fpu/s_fma.c: New file.
28201 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
28202 * sysdeps/powerpc/fpu/s_fma.S: New file.
28203 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
28204 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
28205 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
28207 2010-10-12 Jakub Jelinek <jakub@redhat.com>
28210 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
28212 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
28213 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
28214 * sysdeps/i386/i686/multiarch/s_fma.c: Include
28215 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
28216 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
28217 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
28218 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
28220 2010-10-12 Ulrich Drepper <drepper@redhat.com>
28223 * posix/regcomp.c (parse_branch): One more memory leak plugged.
28224 * posix/bug-regex31.input: Add test case.
28226 2010-10-11 Ulrich Drepper <drepper@gmail.com>
28228 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
28229 * posix/bug-regex31.input: New file.
28232 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
28233 (parse_sub_exp): Fix last change, use postorder.
28235 * posix/bug-regex31.c: New file.
28236 * posix/Makefile: Add rules to build and run bug-regex31.
28238 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
28241 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
28244 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
28245 to have entries in sys_siglist.
28248 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
28251 2010-10-07 Jakub Jelinek <jakub@redhat.com>
28254 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
28255 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
28256 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
28257 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
28258 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28259 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
28260 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
28261 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
28262 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
28263 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
28264 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
28265 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
28266 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28267 * math/ftestexcept.c (fetestexcept): Likewise.
28268 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
28269 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
28270 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
28271 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
28272 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
28273 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
28274 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28276 2010-10-11 Ulrich Drepper <drepper@gmail.com>
28279 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
28282 2010-10-06 Ulrich Drepper <drepper@gmail.com>
28284 * string/bug-strstr1.c: New file.
28285 * string/Makefile: Add rules to build and run bug-strstr1.
28287 2010-10-05 Eric Blake <eblake@redhat.com>
28290 * string/str-two-way.h (two_way_long_needle): Always clear memory
28291 when skipping input due to the shift table.
28293 2010-10-03 Ulrich Drepper <drepper@gmail.com>
28296 * malloc/mcheck.c: Handle large requests.
28299 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
28300 for strncmp and strncasecmp.
28301 * string/stratcliff.c: Add tests for strcmp and strncmp.
28302 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
28304 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28306 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
28309 2010-09-30 Andreas Jaeger <aj@suse.de>
28311 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
28312 (CGROUP_SUPER_MAGIC): Define.
28313 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28314 Handle btrfs and cgroup file systems.
28315 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28318 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
28320 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
28321 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
28323 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28326 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
28327 trying to locate the ELF header.
28329 2010-09-27 Andreas Schwab <schwab@redhat.com>
28332 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
28333 Mask out sign-bit copies when constructing f_fsid.
28335 2010-09-24 Petr Baudis <pasky@suse.cz>
28337 * debug/stack_chk_fail_local.c: Add missing licence exception.
28338 * debug/warning-nop.c: Likewise.
28340 2010-09-15 Joseph Myers <joseph@codesourcery.com>
28342 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
28343 implementing getdents64 using getdents syscall, set d_type if
28344 __ASSUME_GETDENTS32_D_TYPE.
28346 2010-09-16 Andreas Schwab <schwab@redhat.com>
28348 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
28349 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
28351 2010-09-21 Ulrich Drepper <drepper@redhat.com>
28354 * posix/unistd.h: Undo change of feature selection for ftruncate from
28357 2010-09-20 Ulrich Drepper <drepper@redhat.com>
28359 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
28362 2010-09-20 Andreas Schwab <schwab@redhat.com>
28364 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
28366 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28368 2010-09-14 Andreas Schwab <schwab@redhat.com>
28370 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
28371 variables after CHECK_SP call.
28372 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
28374 2010-09-13 Andreas Schwab <schwab@redhat.com>
28375 Ulrich Drepper <drepper@redhat.com>
28377 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
28378 re-relocationg ld.so.
28379 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
28380 _dl_init_paths call.
28381 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
28384 2010-09-14 Ulrich Drepper <drepper@redhat.com>
28386 * resolv/res_init.c (__res_vinit): Count the default server we added.
28388 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
28389 Ulrich Drepper <drepper@redhat.com>
28392 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28393 (____longjmp_chk): Use %ebx for saving value across system call.
28396 2010-09-06 Andreas Schwab <schwab@redhat.com>
28398 * manual/Makefile: Don't mix pattern rules with normal rules.
28400 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
28402 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
28404 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28405 * libio/iofopncook.c (_IO_cookie_init): Likewise.
28406 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28407 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28408 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28411 2010-09-04 Ulrich Drepper <drepper@redhat.com>
28414 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
28415 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
28417 2010-09-02 Ulrich Drepper <drepper@redhat.com>
28419 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
28420 * sysdeps/x86_64/addmul_1.S: Likewise.
28421 * sysdeps/x86_64/lshift.S: Likewise.
28422 * sysdeps/x86_64/mul_1.S: Likewise.
28423 * sysdeps/x86_64/rshift.S: Likewise.
28424 * sysdeps/x86_64/sub_n.S: Likewise.
28425 * sysdeps/x86_64/submul_1.S: Likewise.
28427 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
28429 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
28430 Define __sched_param instead of SCHED_* and sched_param when
28431 <bits/sched.h> is included with __need_schedparam defined.
28432 * bits/sched.h [__need_schedparam]
28433 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
28434 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
28435 (__defined_schedparam): Define to 1.
28436 (__sched_param): New structure, identical to sched_param.
28437 (__need_schedparam): Undefine.
28439 2010-08-31 Mike Frysinger <vapier@gentoo.org>
28441 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
28442 (epoll_create1): Declare.
28444 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
28446 2010-08-31 Andreas Schwab <schwab@redhat.com>
28449 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
28450 shifting retval into place.
28452 2010-09-01 Ulrich Drepper <drepper@redhat.com>
28454 * nis/rpcsvc/nis.h: Update copyright notice.
28455 * nis/rpcsvc/nis.x: Likewise.
28456 * nis/rpcsvc/nis_callback.h: Likewise.
28457 * nis/rpcsvc/nis_callback.x: Likewise.
28458 * nis/rpcsvc/nis_object.x: Likewise.
28459 * nis/rpcsvc/nis_tags.h: Likewise.
28460 * nis/rpcsvc/yp.h: Likewise.
28461 * nis/rpcsvc/yp.x: Likewise.
28462 * nis/rpcsvc/ypupd.h: Likewise.
28463 * nis/yp_xdr.c: Likewise.
28464 * nis/ypupdate_xdr.c: Likewise.
28466 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
28467 mainly the body of pmap_getport. Add parameters to specify timeouts.
28468 (pmap_getport): Use __libc_rpc_getport.
28469 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
28470 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
28471 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
28473 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
28475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
28478 2010-08-27 Roland McGrath <roland@redhat.com>
28480 * sysdeps/i386/i686/multiarch/Makefile
28481 (CFLAGS-varshift.c): New variable.
28483 2010-08-27 Ulrich Drepper <drepper@redhat.com>
28485 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
28486 * sysdeps/i386/i686/multiarch/varshift.c: New file.
28488 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
28490 * sysdeps/x86_64/strlen.S: Minimal code improvement.
28492 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
28494 * sysdeps/x86_64/strlen.S: Unroll the loop.
28495 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28496 strlen-sse2 strlen-sse2-bsf.
28497 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
28498 __strlen_no_bsf if bit_Slow_BSF is set.
28499 (__strlen_sse42): Removed.
28500 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
28501 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
28503 2010-08-25 Roland McGrath <roland@redhat.com>
28505 * sysdeps/x86_64/multiarch/varshift.S: File removed.
28506 * sysdeps/x86_64/multiarch/varshift.c: New file.
28507 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
28508 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
28509 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
28510 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28512 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
28514 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28515 strlen-sse2 strlen-sse2-bsf.
28516 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
28517 __strlen_sse2_bsf if bit_Slow_BSF is unset.
28518 (__strlen_sse2): Removed.
28519 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
28520 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
28521 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28522 bit_Slow_BSF for Atom.
28523 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
28524 (index_Slow_BSF): Define.
28525 (HAS_SLOW_BSF): Define.
28527 2010-08-25 Ulrich Drepper <drepper@redhat.com>
28530 * resolv/res_init.c (__res_vinit): When no server address at all
28531 is given default to loopback.
28533 2010-08-24 Roland McGrath <roland@redhat.com>
28535 * configure.in: Remove config-name.h generation.
28536 * configure: Regenerated.
28537 * config-name.in: File removed.
28538 * scripts/config-uname.sh: New file.
28539 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
28540 ($(objdir)config-name.h): New target.
28542 * sunrpc/rpc_parse.h: Avoid nested comment.
28544 2010-08-24 Richard Henderson <rth@redhat.com>
28545 Ulrich Drepper <drepper@redhat.com>
28546 H.J. Lu <hongjiu.lu@intel.com>
28548 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
28549 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
28550 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
28551 Replace _mm_srli_si128 with __m128i_shift_right. Replace
28552 _mm_alignr_epi8 with _mm_loadu_si128.
28553 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
28554 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
28555 (__m128i_shift_right): Removed.
28556 * sysdeps/i386/i686/multiarch/varshift.h: New file.
28557 * sysdeps/i386/i686/multiarch/varshift.S: New file.
28558 * sysdeps/x86_64/multiarch/varshift.h: New file.
28559 * sysdeps/x86_64/multiarch/varshift.S: New file.
28561 2010-08-21 Mike Frysinger <vapier@gentoo.org>
28563 * configure.in: Move assembler checks to before sysdep dir checking.
28565 2010-08-20 Petr Baudis <pasky@suse.cz>
28567 * LICENSES: Sync the sunrpc license.
28569 2010-08-19 Ulrich Drepper <drepper@redhat.com>
28571 * sunrpc/auth_des.c: Update copyright notice once again.
28572 * sunrpc/auth_none.c: Likewise.
28573 * sunrpc/auth_unix.c: Likewise.
28574 * sunrpc/authdes_prot.c: Likewise.
28575 * sunrpc/authuxprot.c: Likewise.
28576 * sunrpc/bindrsvprt.c: Likewise.
28577 * sunrpc/clnt_gen.c: Likewise.
28578 * sunrpc/clnt_perr.c: Likewise.
28579 * sunrpc/clnt_raw.c: Likewise.
28580 * sunrpc/clnt_simp.c: Likewise.
28581 * sunrpc/clnt_tcp.c: Likewise.
28582 * sunrpc/clnt_udp.c: Likewise.
28583 * sunrpc/clnt_unix.c: Likewise.
28584 * sunrpc/des_crypt.c: Likewise.
28585 * sunrpc/des_soft.c: Likewise.
28586 * sunrpc/get_myaddr.c: Likewise.
28587 * sunrpc/getrpcport.c: Likewise.
28588 * sunrpc/key_call.c: Likewise.
28589 * sunrpc/key_prot.c: Likewise.
28590 * sunrpc/openchild.c: Likewise.
28591 * sunrpc/pm_getmaps.c: Likewise.
28592 * sunrpc/pm_getport.c: Likewise.
28593 * sunrpc/pmap_clnt.c: Likewise.
28594 * sunrpc/pmap_prot.c: Likewise.
28595 * sunrpc/pmap_prot2.c: Likewise.
28596 * sunrpc/pmap_rmt.c: Likewise.
28597 * sunrpc/rpc/auth.h: Likewise.
28598 * sunrpc/rpc/auth_unix.h: Likewise.
28599 * sunrpc/rpc/clnt.h: Likewise.
28600 * sunrpc/rpc/des_crypt.h: Likewise.
28601 * sunrpc/rpc/key_prot.h: Likewise.
28602 * sunrpc/rpc/netdb.h: Likewise.
28603 * sunrpc/rpc/pmap_clnt.h: Likewise.
28604 * sunrpc/rpc/pmap_prot.h: Likewise.
28605 * sunrpc/rpc/pmap_rmt.h: Likewise.
28606 * sunrpc/rpc/rpc.h: Likewise.
28607 * sunrpc/rpc/rpc_des.h: Likewise.
28608 * sunrpc/rpc/rpc_msg.h: Likewise.
28609 * sunrpc/rpc/svc.h: Likewise.
28610 * sunrpc/rpc/svc_auth.h: Likewise.
28611 * sunrpc/rpc/types.h: Likewise.
28612 * sunrpc/rpc/xdr.h: Likewise.
28613 * sunrpc/rpc_clntout.c: Likewise.
28614 * sunrpc/rpc_cmsg.c: Likewise.
28615 * sunrpc/rpc_common.c: Likewise.
28616 * sunrpc/rpc_cout.c: Likewise.
28617 * sunrpc/rpc_dtable.c: Likewise.
28618 * sunrpc/rpc_hout.c: Likewise.
28619 * sunrpc/rpc_main.c: Likewise.
28620 * sunrpc/rpc_parse.c: Likewise.
28621 * sunrpc/rpc_parse.h: Likewise.
28622 * sunrpc/rpc_prot.c: Likewise.
28623 * sunrpc/rpc_sample.c: Likewise.
28624 * sunrpc/rpc_scan.c: Likewise.
28625 * sunrpc/rpc_scan.h: Likewise.
28626 * sunrpc/rpc_svcout.c: Likewise.
28627 * sunrpc/rpc_tblout.c: Likewise.
28628 * sunrpc/rpc_util.c: Likewise.
28629 * sunrpc/rpc_util.h: Likewise.
28630 * sunrpc/rpcinfo.c: Likewise.
28631 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
28632 * sunrpc/rpcsvc/key_prot.x: Likewise.
28633 * sunrpc/rpcsvc/klm_prot.x: Likewise.
28634 * sunrpc/rpcsvc/mount.x: Likewise.
28635 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
28636 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
28637 * sunrpc/rpcsvc/rex.x: Likewise.
28638 * sunrpc/rpcsvc/rstat.x: Likewise.
28639 * sunrpc/rpcsvc/rusers.x: Likewise.
28640 * sunrpc/rpcsvc/sm_inter.x: Likewise.
28641 * sunrpc/rpcsvc/spray.x: Likewise.
28642 * sunrpc/rpcsvc/yppasswd.x: Likewise.
28643 * sunrpc/rtime.c: Likewise.
28644 * sunrpc/svc.c: Likewise.
28645 * sunrpc/svc_auth.c: Likewise.
28646 * sunrpc/svc_authux.c: Likewise.
28647 * sunrpc/svc_raw.c: Likewise.
28648 * sunrpc/svc_run.c: Likewise.
28649 * sunrpc/svc_simple.c: Likewise.
28650 * sunrpc/svc_tcp.c: Likewise.
28651 * sunrpc/svc_udp.c: Likewise.
28652 * sunrpc/svc_unix.c: Likewise.
28653 * sunrpc/svcauth_des.c: Likewise.
28654 * sunrpc/xcrypt.c: Likewise.
28655 * sunrpc/xdr.c: Likewise.
28656 * sunrpc/xdr_array.c: Likewise.
28657 * sunrpc/xdr_float.c: Likewise.
28658 * sunrpc/xdr_mem.c: Likewise.
28659 * sunrpc/xdr_rec.c: Likewise.
28660 * sunrpc/xdr_ref.c: Likewise.
28661 * sunrpc/xdr_sizeof.c: Likewise.
28662 * sunrpc/xdr_stdio.c: Likewise.
28664 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
28667 2010-08-19 Andreas Schwab <schwab@redhat.com>
28669 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
28671 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
28673 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
28674 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
28675 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
28676 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
28677 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
28678 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
28679 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
28680 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
28681 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
28682 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
28683 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
28684 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
28685 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
28686 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
28688 2010-07-26 Anton Blanchard <anton@samba.org>
28690 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
28691 * malloc/arena.c (heap_trim): Likewise.
28693 2010-08-16 Ulrich Drepper <drepper@redhat.com>
28695 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
28697 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
28698 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
28700 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
28702 * sysdeps/i386/elf/Makefile: New file.
28704 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28706 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
28707 from fanotify_init.
28708 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
28709 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28711 2010-08-15 Ulrich Drepper <drepper@redhat.com>
28713 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
28715 * sysdeps/multiarch/strcmp.S: Likewise.
28717 2010-08-14 Ulrich Drepper <drepper@redhat.com>
28719 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28720 strncase_l-nonascii.
28721 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28722 Add strncase_l-ssse3.
28723 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
28724 * sysdeps/x86_64/strcmp.S: Likewise.
28725 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
28726 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
28727 * sysdeps/x86_64/strncase.S: New file.
28728 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
28729 * sysdeps/x86_64/strncase_l.S: New file.
28730 * string/Makefile (strop-tests): Add strncasecmp.
28731 * string/test-strncasecmp.c: New file.
28733 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
28736 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
28737 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
28739 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28741 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
28743 2010-08-12 Ulrich Drepper <drepper@redhat.com>
28745 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
28746 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
28747 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
28749 2010-05-01 Alan Modra <amodra@gmail.com>
28751 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
28752 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
28753 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
28754 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
28755 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
28756 tidying. Don't tail-call __sigjmp_save for static lib.
28757 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
28759 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
28760 (CALL_MCOUNT): Add eh info, and nop after bl.
28761 (TAIL_CALL_SYSCALL_ERROR): New macro.
28762 (PSEUDO_RET): Use it.
28763 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28764 Correct save location of integer regs and cr.
28765 (_dl_profile_resolve): Correct cr save location. Delete nops
28766 after bl when SHARED. Reduce cfi size a little by better
28767 placement of cfi directives.
28768 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
28769 make a stack frame. Instead use parm save area as a temp.
28770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
28771 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
28772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28773 Don't make a stack frame for parent, use parm save area.
28774 Increase child stack frame to 112 bytes. Don't save unused reg,
28775 and adjust reg usage. Set up cfi on error recovery and
28776 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
28777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28778 (__makecontext): Add dummy nop after jump to exit.
28779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
28780 Use correct parm save area and cr save, reduce stack frame.
28781 Correct cfi for possible PSEUDO_RET frame setup.
28782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
28783 Branch to local label emitted by PSEUDO_RET rather than
28786 2010-08-12 Andreas Schwab <schwab@redhat.com>
28789 * locale/programs/locale.c (print_assignment): New function.
28790 (show_locale_vars): Use it.
28792 2010-08-11 Ulrich Drepper <drepper@redhat.com>
28794 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
28796 (struct statfs64): Likewise.
28797 (_STATFS_F_FLAGS): Define.
28798 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
28799 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28800 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
28801 (ST_VALID): Define locally.
28802 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
28803 __statvfs_getflags, use the provided value.
28804 * sysdeps/unix/sysv/linux/kernel-features.h: Define
28805 __ASSUME_STATFS_F_FLAGS.
28807 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
28809 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
28810 Add sys/fanotify.h.
28811 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
28812 fanotify_mask for GLIBC_2.13.
28813 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
28814 fanotify_init and fanotify_mark.
28815 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28816 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28818 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28820 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28821 prlimit64 for GLIBC_2.13.
28822 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28824 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28827 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28828 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28829 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28830 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
28832 * sysdeps/unix/sysv/linux/prlimit.c: New file.
28835 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28836 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28838 * nss/Makefile: Add rules to build and run tst-nss-test1.
28839 * shlib-versions: Add entry for libnss_test1.
28840 * nss/nss_test1.c: New file.
28841 * nss/tst-nss-test1.c: New file.
28843 * nss/nsswitch.c (__nss_database_custom): Define new variable.
28844 (__nss_configure_lookup): Set appropriate entry in
28845 __nss_configure_lookup to true.
28846 * nss/nsswitch.h: Define enum with indeces of databases in
28847 databases and __nss_database_custom arrays. Declare
28848 __nss_database_custom.
28849 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28850 to avoid using nscd when custom rules are installed.
28851 * nss/getXXbyYY_r.c: Likewise.
28852 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28854 * nss/nss_files/files-parse.c: Whitespace fixes.
28856 2010-08-09 Ulrich Drepper <drepper@redhat.com>
28859 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28860 * posix/fnmatch_loop.c: Likewise.
28862 2010-07-17 Andi Kleen <ak@linux.intel.com>
28864 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28865 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28866 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28867 * Versions.def [GLIBC_2.13]: Add.
28869 2010-08-06 Ulrich Drepper <drepper@redhat.com>
28871 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28872 Also fail if tpwd after pwuid call is NULL.
28874 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
28876 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28877 when converting to ms.
28879 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28881 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28882 EOPNOTSUPP errors with ENOTTY.
28883 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28884 EOPNOTSUPP errors with ENOTTY.
28886 2010-07-31 Ulrich Drepper <drepper@redhat.com>
28888 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28889 Add strcasecmp_l-ssse3.
28890 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28892 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28893 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28894 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28896 2010-07-30 Ulrich Drepper <drepper@redhat.com>
28898 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28900 * string/Makefile (strop-tests): Add strcasecmp.
28901 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28902 strcasecmp_l-nonascii.
28903 (gen-as-const-headers): Add locale-defines.sym.
28904 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28905 * sysdeps/x86_64/strcasecmp.S: New file.
28906 * sysdeps/x86_64/strcasecmp_l.S: New file.
28907 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28908 * sysdeps/x86_64/locale-defines.sym: New file.
28909 * string/test-strcasecmp.c: New file.
28911 * string/test-strcasestr.c: Test both ends of the range of characters.
28912 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28914 2010-07-29 Roland McGrath <roland@redhat.com>
28917 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28919 2010-07-27 Ulrich Drepper <drepper@redhat.com>
28921 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28924 2010-07-27 Andreas Schwab <schwab@redhat.com>
28926 * manual/memory.texi (Malloc Tunable Parameters): Document
28929 2010-07-26 Roland McGrath <roland@redhat.com>
28932 * configure.in (-fgnu89-inline check): Set and substitute
28933 gnu89_inline, not libc_cv_gnu89_inline.
28934 * configure: Regenerated.
28935 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28937 2010-07-26 Ulrich Drepper <drepper@redhat.com>
28939 * string/test-strnlen.c: New file.
28940 * string/Makefile (strop-tests): Add strnlen.
28941 * string/tester.c (test_strnlen): Add a few more test cases.
28942 * string/tst-strlen.c: Better error reporting.
28944 * sysdeps/x86_64/strnlen.S: New file.
28946 2010-07-24 Ulrich Drepper <drepper@redhat.com>
28948 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28949 lower-latency instructions.
28951 2010-07-23 Ulrich Drepper <drepper@redhat.com>
28953 * string/test-strcasestr.c: New file.
28954 * string/test-strstr.c: New file.
28955 * string/Makefile (strop-tests): Add strstr and strcasestr.
28956 * string/str-two-way.h: Don't undefine MAX.
28957 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28959 2010-07-21 Andreas Schwab <schwab@redhat.com>
28961 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28962 strcasestr-nonascii.
28963 (CFLAGS-strcasestr-nonascii.c): Define.
28964 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28965 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28966 Remove unused attribute.
28968 2010-07-20 Roland McGrath <roland@redhat.com>
28970 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28971 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28972 ld.so.cache was broken. With it, there is no way to disable dsocaps
28973 like LD_HWCAP_MASK can disable hwcaps.
28975 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28977 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28979 2010-07-16 Ulrich Drepper <drepper@redhat.com>
28981 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28982 call in strcasestr.
28983 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28984 __strcasestr_sse42_nonascii.
28985 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28986 strcasestr-nonascii.c.
28987 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28989 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
28991 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28992 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28993 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28994 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28996 2010-07-09 Ulrich Drepper <drepper@redhat.com>
28998 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
29001 2010-07-06 Andreas Schwab <schwab@redhat.com>
29004 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
29007 2010-07-06 Ulrich Drepper <drepper@redhat.com>
29009 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
29010 _PC_PIPE_BUF using F_GETPIPE_SZ.
29012 2010-07-05 Roland McGrath <roland@redhat.com>
29014 * manual/arith.texi (Rounding Functions): Fix rint description
29015 implicit in round description.
29017 2010-07-02 Ulrich Drepper <drepper@redhat.com>
29019 * elf/Makefile: Fix linking for a few tests to make recent linker
29022 2010-06-30 Andreas Schwab <schwab@redhat.com>
29024 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29025 $(common-objpfx)libc_nonshared.a.
29027 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
29029 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
29030 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
29031 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
29032 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
29033 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
29034 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
29035 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
29036 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
29037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
29038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
29039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
29040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
29041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
29042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
29043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
29044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
29045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
29046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
29047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
29048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
29049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
29050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
29051 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
29052 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
29053 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
29054 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
29055 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
29056 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
29057 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
29058 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
29059 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
29060 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
29061 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
29062 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
29063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
29064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
29065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
29066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
29067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
29068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
29069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
29070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
29071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
29072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
29073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
29074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
29075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
29076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
29078 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
29080 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
29081 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
29082 * string/memmove.c (memmove): Renamed to ...
29083 (MEMMOVE): ...this. Default to memmove.
29084 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
29085 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
29087 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29088 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
29089 mempcpy-ssse3-back memmove-ssse3-back.
29090 * sysdeps/x86_64/multiarch/bcopy.S: New file .
29091 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
29092 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
29093 * sysdeps/x86_64/multiarch/memcpy.S: New file.
29094 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
29095 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
29096 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
29097 * sysdeps/x86_64/multiarch/memmove.c: New file.
29098 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
29099 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
29100 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
29101 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
29102 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
29103 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
29105 (index_Fast_Copy_Backward): Define.
29106 (HAS_ARCH_FEATURE): Define.
29107 (HAS_FAST_REP_STRING): Define.
29108 (HAS_FAST_COPY_BACKWARD): Define.
29110 2010-06-21 Andreas Schwab <schwab@redhat.com>
29112 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29113 Restore proper fallback handling.
29115 2010-06-19 Ulrich Drepper <drepper@redhat.com>
29118 * posix/group_member.c (__group_member): Correct checking loop.
29120 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
29121 OOM in getpwuid_r correctly. Return error number when the caller
29122 should return, otherwise -1.
29123 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
29124 call returning > 0 value.
29125 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
29127 2010-06-07 Andreas Schwab <schwab@redhat.com>
29129 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
29130 libc_nonshared.a from targets in modules-names.
29132 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
29134 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
29137 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
29139 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
29140 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
29141 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
29142 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
29144 2010-06-02 Andreas Schwab <schwab@redhat.com>
29146 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
29148 2010-06-14 Ulrich Drepper <drepper@redhat.com>
29150 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
29152 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29153 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29154 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29155 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29156 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29157 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
29159 2010-06-14 Roland McGrath <roland@redhat.com>
29161 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
29163 2010-06-07 Jakub Jelinek <jakub@redhat.com>
29165 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
29166 __REDIRECT followed by __THROW.
29167 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
29168 * posix/getopt.h (getopt): Likewise.
29170 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
29172 * hurd/lookup-at.c (__file_name_lookup_at): Accept
29173 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
29174 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
29176 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
29177 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
29179 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
29181 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
29183 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
29186 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29187 Properly check family and model.
29189 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
29191 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
29193 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
29195 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
29197 2010-05-21 Ulrich Drepper <drepper@redhat.com>
29199 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
29202 2010-05-19 Andreas Schwab <schwab@redhat.com>
29204 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
29207 2010-05-21 Andreas Schwab <schwab@redhat.com>
29209 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
29210 and internal_recvmmsg.
29211 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
29212 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
29213 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
29214 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
29216 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
29217 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29218 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29220 2010-05-20 Andreas Schwab <schwab@redhat.com>
29222 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
29224 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
29226 POWER7 optimizations.
29227 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
29228 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
29230 2010-05-19 Ulrich Drepper <drepper@redhat.com>
29232 * version.h: Update for 2.13 development version.
29234 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
29236 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
29237 exceptions. Return 0.
29239 2010-05-07 Roland McGrath <roland@redhat.com>
29241 * elf/ldconfig.c (main): Add a const.
29243 2010-05-06 Ulrich Drepper <drepper@redhat.com>
29245 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
29246 (args_options): Add no-idn option.
29247 (ahosts_keys_int): Add idn_flags to ai_flags.
29248 (parse_option): Handle 'i' option to clear idn_flags.
29250 * malloc/malloc.c (_int_free): Possible race in the most recently
29251 added check. Only act on the data if no current modification
29254 See ChangeLog.17 for earlier changes.