1 2013-05-28 Mike Frysinger <vapier@gentoo.org>
3 * locale/programs/locarchive.c (create_archive): Inlucde fname in
5 (enlarge_archive): Likewise.
7 2013-05-28 Ben North <ben@redfrontdoor.org>
9 * manual/arith.texi (frexp): It is the magnitude of the return
10 value which lies in [0.5, 1), not the return value itself.
12 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
18 * stdio-common/bug26.c (main): Correct fscanf template.
20 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
21 declare _dl_skip_args.
23 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26 * manual/platform.texi: Add missing @end deftypefun.
28 2013-05-24 Joseph Myers <joseph@codesourcery.com>
31 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
32 bit of mantissa of 2^16382.
33 * math/libm-test.inc (hypot_test_data): Add more tests.
35 * math/libm-test.inc: Add drem and pow10 to list of tested
37 (pow10_test): New function.
38 (drem_test): Likewise.
39 (drem_test_tonearest): Likewise.
40 (drem_test_towardzero): Likewise.
41 (drem_test_downward): Likewise.
42 (drem_test_upward): Likewise.
43 (main): Call the new functions.
45 * math/libm-test.inc (finite_test_data): Remove.
46 (finite_test): Run tests from isfinite_test_data.
47 (gamma_test_data): Remove.
48 (gamma_test): Run tests from lgamma_test_data.
49 * sysdeps/i386/fpu/libm-test-ulps: Update.
50 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54 * manual/platform.texi: Add PowerPC PPR function set documentation.
55 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
58 2013-05-24 Carlos O'Donell <carlos@redhat.com>
60 * math/libm-test.inc (MAX_EXP): Define.
63 (check_float_internal): Use ULPDIFF.
64 (cpow_test): Disable failing test.
65 (check_ulp): Test ulp() implemetnation.
66 (main): Call check_ulp before starting tests.
68 2013-05-24 Joseph Myers <joseph@codesourcery.com>
70 * math/gen-libm-test.pl (generate_testfile): Do not handle
71 START_DATA and END_DATA.
72 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
74 (acos_tonearest_test_data): Likewise.
75 (acos_towardzero_test_data): Likewise.
76 (acos_downward_test_data): Likewise.
77 (acos_upward_test_data): Likewise.
78 (acosh_test_data): Likewise.
79 (asin_test_data): Likewise.
80 (asin_tonearest_test_data): Likewise.
81 (asin_towardzero_test_data): Likewise.
82 (asin_downward_test_data): Likewise.
83 (asin_upward_test_data): Likewise.
84 (asinh_test_data): Likewise.
85 (atan_test_data): Likewise.
86 (atanh_test_data): Likewise.
87 (atan2_test_data): Likewise.
88 (cabs_test_data): Likewise.
89 (cacos_test_data): Likewise.
90 (cacosh_test_data): Likewise.
91 (carg_test_data): Likewise.
92 (casin_test_data): Likewise.
93 (casinh_test_data): Likewise.
94 (catan_test_data): Likewise.
95 (catanh_test_data): Likewise.
96 (cbrt_test_data): Likewise.
97 (ccos_test_data): Likewise.
98 (ccosh_test_data): Likewise.
99 (ceil_test_data): Likewise.
100 (cexp_test_data): Likewise.
101 (cimag_test_data): Likewise.
102 (clog_test_data): Likewise.
103 (clog10_test_data): Likewise.
104 (conj_test_data): Likewise.
105 (copysign_test_data): Likewise.
106 (cos_test_data): Likewise.
107 (cos_tonearest_test_data): Likewise.
108 (cos_towardzero_test_data): Likewise.
109 (cos_downward_test_data): Likewise.
110 (cos_upward_test_data): Likewise.
111 (cosh_test_data): Likewise.
112 (cosh_tonearest_test_data): Likewise.
113 (cosh_towardzero_test_data): Likewise.
114 (cosh_downward_test_data): Likewise.
115 (cosh_upward_test_data): Likewise.
116 (cpow_test_data): Likewise.
117 (cproj_test_data): Likewise.
118 (creal_test_data): Likewise.
119 (csin_test_data): Likewise.
120 (csinh_test_data): Likewise.
121 (csqrt_test_data): Likewise.
122 (ctan_test_data): Likewise.
123 (ctan_tonearest_test_data): Likewise.
124 (ctan_towardzero_test_data): Likewise.
125 (ctan_downward_test_data): Likewise.
126 (ctan_upward_test_data): Likewise.
127 (ctanh_test_data): Likewise.
128 (ctanh_tonearest_test_data): Likewise.
129 (ctanh_towardzero_test_data): Likewise.
130 (ctanh_downward_test_data): Likewise.
131 (ctanh_upward_test_data): Likewise.
132 (erf_test_data): Likewise.
133 (erfc_test_data): Likewise.
134 (exp_test_data): Likewise.
135 (exp_tonearest_test_data): Likewise.
136 (exp_towardzero_test_data): Likewise.
137 (exp_downward_test_data): Likewise.
138 (exp_upward_test_data): Likewise.
139 (exp10_test_data): Likewise.
140 (exp2_test_data): Likewise.
141 (expm1_test_data): Likewise.
142 (fabs_test_data): Likewise.
143 (fdim_test_data): Likewise.
144 (finite_test_data): Likewise.
145 (floor_test_data): Likewise.
146 (fma_test_data): Likewise.
147 (fma_towardzero_test_data): Likewise.
148 (fma_downward_test_data): Likewise.
149 (fma_upward_test_data): Likewise.
150 (fmax_test_data): Likewise.
151 (fmin_test_data): Likewise.
152 (fmod_test_data): Likewise.
153 (fpclassify_test_data): Likewise.
154 (frexp_test_data): Likewise.
155 (gamma_test_data): Likewise.
156 (hypot_test_data): Likewise.
157 (ilogb_test_data): Likewise.
158 (isfinite_test_data): Likewise.
159 (isgreater_test_data): Likewise.
160 (isgreaterequal_test_data): Likewise.
161 (isinf_test_data): Likewise.
162 (isless_test_data): Likewise.
163 (islessequal_test_data): Likewise.
164 (islessgreater_test_data): Likewise.
165 (isnan_test_data): Likewise.
166 (isnormal_test_data): Likewise.
167 (issignaling_test_data): Likewise.
168 (isunordered_test_data): Likewise.
169 (j0_test_data): Likewise.
170 (j1_test_data): Likewise.
171 (jn_test_data): Likewise.
172 (ldexp_test_data): Likewise.
173 (lgamma_test_data): Likewise.
174 (lrint_test_data): Likewise.
175 (lrint_tonearest_test_data): Likewise.
176 (lrint_towardzero_test_data): Likewise.
177 (lrint_downward_test_data): Likewise.
178 (lrint_upward_test_data): Likewise.
179 (llrint_test_data): Likewise.
180 (llrint_tonearest_test_data): Likewise.
181 (llrint_towardzero_test_data): Likewise.
182 (llrint_downward_test_data): Likewise.
183 (llrint_upward_test_data): Likewise.
184 (log_test_data): Likewise.
185 (log10_test_data): Likewise.
186 (log1p_test_data): Likewise.
187 (log2_test_data): Likewise.
188 (logb_test_data): Likewise.
189 (logb_downward_test_data): Likewise.
190 (lround_test_data): Likewise.
191 (llround_test_data): Likewise.
192 (modf_test_data): Likewise.
193 (nearbyint_test_data): Likewise.
194 (nextafter_test_data): Likewise.
195 (nexttoward_test_data): Likewise.
196 (pow_test_data): Likewise.
197 (pow_tonearest_test_data): Likewise.
198 (pow_towardzero_test_data): Likewise.
199 (pow_downward_test_data): Likewise.
200 (pow_upward_test_data): Likewise.
201 (remainder_test_data): Likewise.
202 (remainder_tonearest_test_data): Likewise.
203 (remainder_towardzero_test_data): Likewise.
204 (remainder_downward_test_data): Likewise.
205 (remainder_upward_test_data): Likewise.
206 (remquo_test_data): Likewise.
207 (rint_test_data): Likewise.
208 (rint_tonearest_test_data): Likewise.
209 (rint_towardzero_test_data): Likewise.
210 (rint_downward_test_data): Likewise.
211 (rint_upward_test_data): Likewise.
212 (round_test_data): Likewise.
213 (scalb_test_data): Likewise.
214 (scalbn_test_data): Likewise.
215 (scalbln_test_data): Likewise.
216 (signbit_test_data): Likewise.
217 (sin_test_data): Likewise.
218 (sin_tonearest_test_data): Likewise.
219 (sin_towardzero_test_data): Likewise.
220 (sin_downward_test_data): Likewise.
221 (sin_upward_test_data): Likewise.
222 (sincos_test_data): Likewise.
223 (sinh_test_data): Likewise.
224 (sinh_tonearest_test_data): Likewise.
225 (sinh_towardzero_test_data): Likewise.
226 (sinh_downward_test_data): Likewise.
227 (sinh_upward_test_data): Likewise.
228 (sqrt_test_data): Likewise.
229 (tan_test_data): Likewise.
230 (tan_tonearest_test_data): Likewise.
231 (tan_towardzero_test_data): Likewise.
232 (tan_downward_test_data): Likewise.
233 (tan_upward_test_data): Likewise.
234 (tanh_test_data): Likewise.
235 (tgamma_test_data): Likewise.
236 (trunc_test_data): Likewise.
237 (y0_test_data): Likewise.
238 (y1_test_data): Likewise.
239 (yn_test_data): Likewise.
240 (significand_test_data): Likewise.
242 * math/gen-libm-test.pl (@functions): Remove variable.
243 (generate_testfile): Don't handle START and END lines.
244 * math/libm-test.inc (START): New macro.
246 (END_COMPLEX): Likewise.
247 (acos_test): Use END macro without arguments.
248 (acos_test_tonearest): Likewise.
249 (acos_test_towardzero): Likewise.
250 (acos_test_downward): Likewise.
251 (acos_test_upward): Likewise.
252 (acosh_test): Likewise.
253 (asin_test): Likewise.
254 (asin_test_tonearest): Likewise.
255 (asin_test_towardzero): Likewise.
256 (asin_test_downward): Likewise.
257 (asin_test_upward): Likewise.
258 (asinh_test): Likewise.
259 (atan_test): Likewise.
260 (atanh_test): Likewise.
261 (atan2_test): Likewise.
262 (cabs_test): Likewise.
263 (cacos_test): Use END_COMPLEX macro without arguments.
264 (cacosh_test): Likewise.
265 (carg_test): Use END macro without arguments.
266 (casin_test): Use END_COMPLEX macro without arguments.
267 (casinh_test): Likewise.
268 (catan_test): Likewise.
269 (catanh_test): Likewise.
270 (cbrt_test): Use END macro without arguments.
271 (ccos_test): Use END_COMPLEX macro without arguments.
272 (ccosh_test): Likewise.
273 (ceil_test): Use END macro without arguments.
274 (cexp_test): Use END_COMPLEX macro without arguments.
275 (cimag_test): Use END macro without arguments.
276 (clog_test): Use END_COMPLEX macro without arguments.
277 (clog10_test): Likewise.
278 (conj_test): Likewise.
279 (copysign_test): Use END macro without arguments.
280 (cos_test): Likewise.
281 (cos_test_tonearest): Likewise.
282 (cos_test_towardzero): Likewise.
283 (cos_test_downward): Likewise.
284 (cos_test_upward): Likewise.
285 (cosh_test): Likewise.
286 (cosh_test_tonearest): Likewise.
287 (cosh_test_towardzero): Likewise.
288 (cosh_test_downward): Likewise.
289 (cosh_test_upward): Likewise.
290 (cpow_test): Use END_COMPLEX macro without arguments.
291 (cproj_test): Likewise.
292 (creal_test): Use END macro without arguments.
293 (csin_test): Use END_COMPLEX macro without arguments.
294 (csinh_test): Likewise.
295 (csqrt_test): Likewise.
296 (ctan_test): Likewise.
297 (ctan_test_tonearest): Likewise.
298 (ctan_test_towardzero): Likewise.
299 (ctan_test_downward): Likewise.
300 (ctan_test_upward): Likewise.
301 (ctanh_test): Likewise.
302 (ctanh_test_tonearest): Likewise.
303 (ctanh_test_towardzero): Likewise.
304 (ctanh_test_downward): Likewise.
305 (ctanh_test_upward): Likewise.
306 (erf_test): Use END macro without arguments.
307 (erfc_test): Likewise.
308 (exp_test): Likewise.
309 (exp_test_tonearest): Likewise.
310 (exp_test_towardzero): Likewise.
311 (exp_test_downward): Likewise.
312 (exp_test_upward): Likewise.
313 (exp10_test): Likewise.
314 (exp2_test): Likewise.
315 (expm1_test): Likewise.
316 (fabs_test): Likewise.
317 (fdim_test): Likewise.
318 (finite_test): Likewise.
319 (floor_test): Likewise.
320 (fma_test): Likewise.
321 (fma_test_towardzero): Likewise.
322 (fma_test_downward): Likewise.
323 (fma_test_upward): Likewise.
324 (fmax_test): Likewise.
325 (fmin_test): Likewise.
326 (fmod_test): Likewise.
327 (fpclassify_test): Likewise.
328 (frexp_test): Likewise.
329 (gamma_test): Likewise.
330 (hypot_test): Likewise.
331 (ilogb_test): Likewise.
332 (isfinite_test): Likewise.
333 (isgreater_test): Likewise.
334 (isgreaterequal_test): Likewise.
335 (isinf_test): Likewise.
336 (isless_test): Likewise.
337 (islessequal_test): Likewise.
338 (islessgreater_test): Likewise.
339 (isnan_test): Likewise.
340 (isnormal_test): Likewise.
341 (issignaling_test): Likewise.
342 (isunordered_test): Likewise.
346 (ldexp_test): Likewise.
347 (lgamma_test): Likewise.
348 (lrint_test): Likewise.
349 (lrint_test_tonearest): Likewise.
350 (lrint_test_towardzero): Likewise.
351 (lrint_test_downward): Likewise.
352 (lrint_test_upward): Likewise.
353 (llrint_test): Likewise.
354 (llrint_test_tonearest): Likewise.
355 (llrint_test_towardzero): Likewise.
356 (llrint_test_downward): Likewise.
357 (llrint_test_upward): Likewise.
358 (log_test): Likewise.
359 (log10_test): Likewise.
360 (log1p_test): Likewise.
361 (log2_test): Likewise.
362 (logb_test): Likewise.
363 (logb_test_downward): Likewise.
364 (lround_test): Likewise.
365 (llround_test): Likewise.
366 (modf_test): Likewise.
367 (nearbyint_test): Likewise.
368 (nextafter_test): Likewise.
369 (nexttoward_test): Likewise.
370 (pow_test): Likewise.
371 (pow_test_tonearest): Likewise.
372 (pow_test_towardzero): Likewise.
373 (pow_test_downward): Likewise.
374 (pow_test_upward): Likewise.
375 (remainder_test): Likewise.
376 (remainder_test_tonearest): Likewise.
377 (remainder_test_towardzero): Likewise.
378 (remainder_test_downward): Likewise.
379 (remainder_test_upward): Likewise.
380 (remquo_test): Likewise.
381 (rint_test): Likewise.
382 (rint_test_tonearest): Likewise.
383 (rint_test_towardzero): Likewise.
384 (rint_test_downward): Likewise.
385 (rint_test_upward): Likewise.
386 (round_test): Likewise.
387 (scalb_test): Likewise.
388 (scalbn_test): Likewise.
389 (scalbln_test): Likewise.
390 (signbit_test): Likewise.
391 (sin_test): Likewise.
392 (sin_test_tonearest): Likewise.
393 (sin_test_towardzero): Likewise.
394 (sin_test_downward): Likewise.
395 (sin_test_upward): Likewise.
396 (sincos_test): Likewise.
397 (sinh_test): Likewise.
398 (sinh_test_tonearest): Likewise.
399 (sinh_test_towardzero): Likewise.
400 (sinh_test_downward): Likewise.
401 (sinh_test_upward): Likewise.
402 (sqrt_test): Likewise.
403 (tan_test): Likewise.
404 (tan_test_tonearest): Likewise.
405 (tan_test_towardzero): Likewise.
406 (tan_test_downward): Likewise.
407 (tan_test_upward): Likewise.
408 (tanh_test): Likewise.
409 (tgamma_test): Likewise.
410 (trunc_test): Likewise.
414 (significand_test): Likewise.
416 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
419 * libio/genops.c (_IO_no_init): Initialize wide struct info.
421 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
424 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
425 __ppc_mdoio and __ppc_mdoom.
426 * manual/platform.texi: Document new functions __ppc_yield,
427 __ppc_mdoio and __ppc_mdoom.
429 2013-05-22 Carlos O'Donell <carlos@redhat.com>
431 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
432 (main): Mention "tls" pseudo-hwcap is legacy.
433 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
435 2013-05-22 Joseph Myers <joseph@codesourcery.com>
437 * math/gen-libm-test.pl (parse_args): Output only string of
438 arguments as text for test name, not full call or descriptions of
439 tests for extra outputs.
440 (generate_testfile): Do not pass function name to parse_args.
441 Generate this_func variable from START.
442 * math/libm-test.inc (struct test_f_f_data): Rename test_name
444 (struct test_ff_f_data): Likewise.
445 (test_ff_f_data_nexttoward): Likewise.
446 (struct test_fi_f_data): Likewise.
447 (struct test_fl_f_data): Likewise.
448 (struct test_if_f_data): Likewise.
449 (struct test_fff_f_data): Likewise.
450 (struct test_c_f_data): Likewise.
451 (struct test_f_f1_data): Likewise. Remove field extra_name.
452 (struct test_fF_f1_data): Likewise.
453 (struct test_ffI_f1_data): Likewise.
454 (struct test_c_c_data): Rename test_name field to arg_str.
455 (struct test_cc_c_data): Likewise.
456 (struct test_f_i_data): Likewise.
457 (struct test_ff_i_data): Likewise.
458 (struct test_f_l_data): Likewise.
459 (struct test_f_L_data): Likewise.
460 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
462 (COMMON_TEST_SETUP): New macro.
463 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
464 (COMMON_TEST_CLEANUP): Likewise.
465 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
466 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
468 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
469 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
471 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
472 (RUN_TEST_fff_f): Take argument string. Call new setup and
474 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
475 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
477 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
478 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
480 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
481 (RUN_TEST_fF_f1): Take argument string. Call new setup and
483 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
484 (RUN_TEST_fI_f1): Take argument string. Call new setup and
486 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
487 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
489 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
490 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
492 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
493 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
495 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
496 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
498 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
499 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
501 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
502 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
504 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
505 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
507 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
508 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
510 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
511 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
513 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
514 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
516 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
517 (RUN_TEST_fFF_11): Take argument string. Call new setup and
519 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
521 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
523 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
524 to _sifields.sigfault.
525 (si_addr_lsb): Define new macro.
526 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
527 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
528 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
530 2013-05-03 Carlos O'Donell <carlos at redhat.com>
533 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
535 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
537 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
540 2013-05-22 Joseph Myers <joseph@codesourcery.com>
542 * math/gen-libm-test.pl (parse_args): Do not include expected
544 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
545 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
546 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
547 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
548 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
551 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
553 * benchtests/Makefile: Sort function entries.
555 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
556 tanh, asinh, acosh, atanh.
557 * benchtests/acos-inputs: New file.
558 * benchtests/acosh-inputs: New file.
559 * benchtests/asin-inputs: New file.
560 * benchtests/asinh-inputs: New file.
561 * benchtests/atanh-inputs: New file.
562 * benchtests/cosh-inputs: New file.
563 * benchtests/log-inputs: New file.
564 * benchtests/sinh-inputs: New file.
565 * benchtests/tanh-inputs: New file.
567 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
570 * posix/tst-getaddrinfo4.c: New test.
571 * posix/Makefile (tests): Add it.
573 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
576 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
577 when no services were used.
578 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
579 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
581 2013-05-21 Andreas Schwab <schwab@suse.de>
584 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
585 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
587 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
588 redundant variable declarations and reallocation of buffer when
589 parsing as IPv6 address. Always set NSS status when called from
590 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
591 buffer too small. Correct computation of needed size.
592 * nss/Makefile (tests): Add test-digits-dots.
593 * nss/test-digits-dots.c: New test.
595 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
597 * benchtests/Makefile: Remove instructions for adding
599 * benchtests/README: New file to explain how to execute and
600 enhance the benchmark tests.
602 2013-05-21 Andreas Schwab <schwab@suse.de>
605 * setjmp/Makefile (tests): Add tst-sigsetjmp.
606 * setjmp/tst-sigsetjmp.c: New test.
608 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
610 * sysdeps/x86_64/memset.S (memset): New implementation.
612 (__memset_tail): New function.
614 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
616 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
617 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
618 __memcpy_sse2_unaligned ifunc selection.
619 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
620 Add memcpy-sse2-unaligned.S.
621 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
622 Add: __memcpy_sse2_unaligned.
624 2013-05-19 Joseph Myers <joseph@codesourcery.com>
627 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
628 math_force_eval before restoring floating-point envrionment.
629 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
630 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
632 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
634 (__nearbyintl): Use math_force_eval before restoring
635 floating-point environment.
636 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
638 * math/gen-libm-test.pl (special_functions): Remove.
639 (parse_args): Don't handle TEST_extra. Handle functions with no
641 * math/libm-test.inc (struct test_sincos_data): Replace with
642 struct test_fFF_11_data.
643 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
644 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
645 (sincos_test_data): Change element type to struct
646 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
647 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
648 RUN_TEST_LOOP_sincos.
649 * math/README.libm-test: Don't mention special handling of
650 individual functions.
651 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
652 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
653 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
654 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
655 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
658 * math/gen-libm-test.pl (get_variable): Remove function.
659 (parse_args): Don't show pointer parameters to call in test
660 names. Use "extra output N" in test names for extra outputs
661 rather than naming variables.
663 2013-05-18 Joseph Myers <joseph@codesourcery.com>
666 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
667 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
668 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
670 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
672 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
675 * math/gen-libm-test.pl (@tests): Remove variable.
677 (new_test): Remove function.
678 (show_exceptions): New function.
679 (special_functions): Use show_exceptions instead of new_test.
680 (parse_args): Likewise.
681 (generate_testfile): Pass only function name in generated call to
682 print_max_error or print_complex_max_error.
683 (get_ulps): Do not handle complex tests specially.
684 (output_test): Rename to ...
685 (get_all_ulps_for_test): ... this. Return a string rather than
686 printing to a file. Require ulps to be present.
687 (output_ulps): Generate arrays rather than #defines.
688 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
689 (struct ulp_data): New type.
690 (BUILD_COMPLEX_ULP): Remove macro.
691 (compare_ulp_data): New function.
692 (find_ulps): Likewise.
693 (find_test_ulps): Likewise.
694 (find_function_ulps): Likewise.
695 (find_complex_function_ulps): Likewise.
696 (print_max_error): Determine allowed ulps using
698 (print_complex_max_error): Determine allowed ulps using
699 find_complex_function_ulps.
700 (check_float_internal): Determine max ulps using find_test_ulps.
701 (check_float): Do not take max_ulp parameter. Update call to
702 check_float_internal.
703 (check_complex): Likewise.
704 (check_int): Do not take max_ulp parameter.
705 (check_long): Likewise.
706 (check_bool): Likewise.
707 (check_longlong): Likewise.
708 (struct test_f_f_data): Remove max_ulp field.
709 (struct test_ff_f_data): Likewise.
710 (struct test_ff_f_data_nexttoward): Likewise.
711 (struct test_fi_f_data): Likewise.
712 (struct test_fl_f_data): Likewise.
713 (struct test_if_f_data): Likewise.
714 (struct test_fff_f_data): Likewise.
715 (struct test_c_f_data): Likewise.
716 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
717 (struct test_fF_f1_data): Likewise.
718 (struct test_ffI_f1_data): Likewise.
719 (struct test_c_c_data): Remove max_ulp field.
720 (struct test_cc_c_data): Likewise.
721 (struct test_f_i_data): Likewise.
722 (struct test_ff_i_data): Likewise.
723 (struct test_f_l_data): Likewise.
724 (struct test_f_L_data): Likewise.
725 (struct test_sincos_data): Likewise.
726 (RUN_TEST_f_f): Do not handle ulps.
727 (RUN_TEST_LOOP_f_f): Likewise.
728 (RUN_TEST_2_f): Likewise.
729 (RUN_TEST_LOOP_2_f): Likewise.
730 (RUN_TEST_fff_f): Likewise.
731 (RUN_TEST_LOOP_fff_f): Likewise.
732 (RUN_TEST_c_f): Likewise.
733 (RUN_TEST_LOOP_c_f): Likewise.
734 (RUN_TEST_f_f1): Likewise.
735 (RUN_TEST_LOOP_f_f1): Likewise.
736 (RUN_TEST_fF_f1): Likewise.
737 (RUN_TEST_LOOP_fF_f1): Likewise.
738 (RUN_TEST_fI_f1): Likewise.
739 (RUN_TEST_LOOP_fI_f1): Likewise.
740 (RUN_TEST_ffI_f1): Likewise.
741 (RUN_TEST_LOOP_ffI_f1): Likewise.
742 (RUN_TEST_c_c): Likewise.
743 (RUN_TEST_LOOP_c_c): Likewise.
744 (RUN_TEST_cc_c): Likewise.
745 (RUN_TEST_LOOP_cc_c): Likewise.
746 (RUN_TEST_f_i): Likewise.
747 (RUN_TEST_LOOP_f_i): Likewise.
748 (RUN_TEST_f_i_tg): Likewise.
749 (RUN_TEST_LOOP_f_i_tg): Likewise.
750 (RUN_TEST_ff_i_tg): Likewise.
751 (RUN_TEST_LOOP_ff_i_tg): Likewise.
752 (RUN_TEST_f_b): Likewise.
753 (RUN_TEST_LOOP_f_b): Likewise.
754 (RUN_TEST_f_b_tg): Likewise.
755 (RUN_TEST_LOOP_f_b_tg): Likewise.
756 (RUN_TEST_f_l): Likewise.
757 (RUN_TEST_LOOP_f_l): Likewise.
758 (RUN_TEST_f_L): Likewise.
759 (RUN_TEST_LOOP_f_L): Likewise.
760 (RUN_TEST_sincos): Likewise.
761 (RUN_TEST_LOOP_sincos): Likewise.
763 2013-05-17 Joseph Myers <joseph@codesourcery.com>
767 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
768 main case of finite arguments, set rounding mode to FE_TONEAREST
769 and discard exceptions.
770 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
772 (remainder_tonearest_test_data): New variable.
773 (remainder_test_tonearest): New function.
774 (remainder_towardzero_test_data): New variable.
775 (remainder_test_towardzero): New function.
776 (remainder_downward_test_data): New variable.
777 (remainder_test_downward): New function.
778 (remainder_upward_test_data): New variable.
779 (remainder_test_upward): New function.
780 (main): Call the new test functions.
782 * math/libm-test.inc (struct test_f_f1_data): Remove field
784 (struct test_fF_f1_data): Likewise.
785 (struct test_ffI_f1_data): Likewise.
786 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
787 based on value of EXTRA_EXPECTED.
788 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
789 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
790 EXTRA_VAR based on value of EXTRA_EXPECTED.
791 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
792 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
793 EXTRA_VAR based on value of EXTRA_EXPECTED.
794 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
795 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
796 EXTRA_VAR based on value of EXTRA_EXPECTED.
797 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
798 * math/gen-libm-test.pl (parse_args): Don't output initializers
799 for extra output values.
801 * math/libm-test.inc (check_int): Expect result to be exactly
802 equal to expected value and do not handle ulps.
803 (check_long): Likewise.
804 (check_longlong): Likewise.
806 * math/libm-test.inc (ceil_test_data): Test for "inexact"
808 (cimag_test_data): Likewise.
809 (conj_test_data): Likewise.
810 (copysign_test_data): Likewise.
811 (cproj_test_data): Likewise.
812 (creal_test_data): Likewise.
813 (fabs_test_data): Likewise.
814 (fdim_test_data): Likewise.
815 (finite_test_data): Likewise.
816 (floor_test_data): Likewise.
817 (fmax_test_data): Likewise.
818 (fmin_test_data): Likewise.
819 (fmod_test_data): Likewise.
820 (fpclassify_test_data): Likewise.
821 (frexp_test_data): Likewise.
822 (ilogb_test_data): Likewise.
823 (isfinite_test_data): Likewise.
824 (isgreater_test_data): Likewise.
825 (isgreaterequal_test_data): Likewise.
826 (isinf_test_data): Likewise.
827 (isless_test_data): Likewise.
828 (islessequal_test_data): Likewise.
829 (islessgreater_test_data): Likewise.
830 (isnan_test_data): Likewise.
831 (isnormal_test_data): Likewise.
832 (issignaling_test_data): Likewise.
833 (isunordered_test_data): Likewise.
834 (ldexp_test_data): Likewise.
835 (lrint_test_data): Likewise.
836 (lrint_test_data) [TEST_FLOAT]: Disable one test.
837 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
838 (lrint_tonearest_test_data): Test for "inexact" exceptions.
839 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
840 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
841 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
843 (lrint_towardzero_test_data): Test for "inexact" exceptions.
844 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
845 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
846 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
848 (lrint_downward_test_data): Test for "inexact" exceptions.
849 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
850 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
851 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
853 (lrint_upward_test_data): Test for "inexact" exceptions.
854 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
856 (llrint_test_data): Test for "inexact" exceptions.
857 (llrint_test_data) [TEST_FLOAT]: Disable one test.
858 (llrint_tonearest_test_data): Test for "inexact" exceptions.
859 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
860 (llrint_towardzero_test_data): Test for "inexact" exceptions.
861 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
862 (llrint_downward_test_data): Test for "inexact" exceptions.
863 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
864 (llrint_upward_test_data): Test for "inexact" exceptions.
865 (logb_test_data): Likewise.
866 (logb_downward_test_data): Likewise.
867 (nextafter_test_data): Likewise.
868 (nexttoward_test_data): Likewise.
869 (remainder_test_data): Likewise.
870 (remquo_test_data): Likewise.
871 (scalbn_test_data): Likewise.
872 (scalbln_test_data): Likewise.
873 (signbit_test_data): Likewise.
874 (sqrt_test_data): Likewise.
875 (significand_test_data): Likewise.
877 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
880 * benchtests/bench-modf.c (struct args): Mark arg0 as
882 * scripts/bench.pl: Mark members of struct args as volatile.
884 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
887 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
888 negative infinity on POWER6 or lower.
889 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
891 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
894 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
895 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
896 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
897 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
898 (_FP_SETQNAN): New macro.
899 (_FP_SETQNAN_SEMIRAW): Likewise.
900 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
901 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
902 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
903 (FP_EXTEND): Use _FP_FRAC_SNANP.
904 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
905 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
907 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
909 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
912 2013-05-16 Joseph Myers <joseph@codesourcery.com>
914 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
915 with DIVIDE_BY_ZERO_EXCEPTION.
916 (gamma_test_data): Likewise.
917 (lgamma_test_data): Likewise.
918 (log_test_data): Likewise.
919 (log10_test_data): Likewise.
920 (log2_test_data): Likewise.
921 (tgamma_test_data): Likewise.
923 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
924 (acos_test_tonearest): Likewise.
925 (acos_test_towardzero): Likewise.
926 (acos_test_downward): Likewise.
927 (acos_test_upward): Likewise.
928 (acosh_test): Likewise.
929 (asin_test): Likewise.
930 (asin_test_tonearest): Likewise.
931 (asin_test_towardzero): Likewise.
932 (asin_test_downward): Likewise.
933 (asin_test_upward): Likewise.
934 (asinh_test): Likewise.
935 (atan_test): Likewise.
936 (atanh_test): Likewise.
937 (atan2_test): Likewise.
938 (cabs_test): Likewise.
939 (cacos_test): Likewise.
940 (cacosh_test): Likewise.
941 (casin_test): Likewise.
942 (casinh_test): Likewise.
943 (catan_test): Likewise.
944 (catanh_test): Likewise.
945 (cbrt_test): Likewise.
946 (ccos_test): Likewise.
947 (ccosh_test): Likewise.
948 (cexp_test): Likewise.
949 (clog_test): Likewise.
950 (clog10_test): Likewise.
951 (cos_test): Likewise.
952 (cos_test_tonearest): Likewise.
953 (cos_test_towardzero): Likewise.
954 (cos_test_downward): Likewise.
955 (cos_test_upward): Likewise.
956 (cosh_test): Likewise.
957 (cosh_test_tonearest): Likewise.
958 (cosh_test_towardzero): Likewise.
959 (cosh_test_downward): Likewise.
960 (cosh_test_upward): Likewise.
961 (cpow_test): Likewise.
962 (csin_test): Likewise.
963 (csinh_test): Likewise.
964 (csqrt_test): Likewise.
965 (ctan_test): Likewise.
966 (ctan_test_tonearest): Likewise.
967 (ctan_test_towardzero): Likewise.
968 (ctan_test_downward): Likewise.
969 (ctan_test_upward): Likewise.
970 (ctanh_test): Likewise.
971 (ctanh_test_tonearest): Likewise.
972 (ctanh_test_towardzero): Likewise.
973 (ctanh_test_downward): Likewise.
974 (ctanh_test_upward): Likewise.
975 (erf_test): Likewise.
976 (erfc_test): Likewise.
977 (exp_test): Likewise.
978 (exp_test_tonearest): Likewise.
979 (exp_test_towardzero): Likewise.
980 (exp_test_downward): Likewise.
981 (exp_test_upward): Likewise.
982 (exp10_test): Likewise.
983 (exp2_test): Likewise.
984 (expm1_test): Likewise.
985 (fmod_test): Likewise.
986 (gamma_test): Likewise.
987 (hypot_test): Likewise.
991 (lgamma_test): Likewise.
992 (log_test): Likewise.
993 (log10_test): Likewise.
994 (log1p_test): Likewise.
995 (log2_test): Likewise.
996 (logb_test_downward): Likewise.
997 (pow_test): Likewise.
998 (pow_test_tonearest): Likewise.
999 (pow_test_towardzero): Likewise.
1000 (pow_test_downward): Likewise.
1001 (pow_test_upward): Likewise.
1002 (remainder_test): Likewise.
1003 (remquo_test): Likewise.
1004 (sin_test): Likewise.
1005 (sin_test_tonearest): Likewise.
1006 (sin_test_towardzero): Likewise.
1007 (sin_test_downward): Likewise.
1008 (sin_test_upward): Likewise.
1009 (sincos_test): Likewise.
1010 (sinh_test): Likewise.
1011 (sinh_test_tonearest): Likewise.
1012 (sinh_test_towardzero): Likewise.
1013 (sinh_test_downward): Likewise.
1014 (sinh_test_upward): Likewise.
1015 (sqrt_test): Likewise.
1016 (tan_test): Likewise.
1017 (tan_test_tonearest): Likewise.
1018 (tan_test_towardzero): Likewise.
1019 (tan_test_downward): Likewise.
1020 (tan_test_upward): Likewise.
1021 (tanh_test): Likewise.
1022 (tgamma_test): Likewise.
1023 (y0_test): Likewise.
1024 (y1_test): Likewise.
1025 (yn_test): Likewise.
1027 * math/gen-libm-test.pl (adjust_arg): Remove function.
1028 (special_function): Remove argument $in_func. Only handle
1029 generating output for tables of tests, not inside functions.
1030 (parse_args): Likewise.
1031 (generate_testfile): Remove variable $in_func. Update call to
1033 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
1034 (MINUS_ZERO_INIT): Rename macro to minus_zero.
1035 (PLUS_INFTY_INIT): Rename macro to plus_infty.
1036 (MINUS_INFTY_INIT): Rename macro to minus_infty.
1037 (QNAN_VALUE_INIT): Rename macro to qnan_value.
1038 (MAX_VALUE_INIT): Rename macro to max_value.
1039 (MIN_VALUE_INIT): Rename macro to min_value.
1040 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
1041 (plus_zero): Remove variable.
1042 (minus_zero): Likewise.
1043 (plus_infty): Likewise.
1044 (minus_infty): Likewise.
1045 (qnan_value): Likewise.
1046 (max_value): Likewise.
1047 (min_value): Likewise.
1048 (min_subnorm_value): Likewise.
1050 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1052 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
1053 uint64_t or uint32_t usage.
1054 * crypt/sha256-block.c: Likewise.
1055 * crypt/sha256-crypt.c: Likewise.
1056 * crypt/sha256.c: Likewise.
1057 * crypt/sha512-block.c: Likewise.
1058 * crypt/sha512-crypt.c: Likewise.
1059 * crypt/sha512.c: Likewise.
1060 * debug/backtrace-tst.c: Likewise.
1061 * debug/pcprofiledump.c: Likewise.
1062 * elf/cache.c: Likewise.
1063 * elf/dl-cache.c: Likewise.
1064 * elf/dl-misc.c: Likewise.
1065 * elf/dl-profile.c: Likewise.
1066 * elf/dl-support.c: Likewise.
1067 * elf/ldconfig.c: Likewise.
1068 * elf/sprof.c: Likewise.
1069 * iconv/dummy-repertoire.c: Likewise.
1070 * iconv/iconv_charmap.c: Likewise.
1071 * iconv/skeleton.c: Likewise.
1072 * iconvdata/8bit-generic.c: Likewise.
1073 * iconvdata/cp737.h: Likewise.
1074 * iconvdata/cp775.h: Likewise.
1075 * iconvdata/ibm1008.h: Likewise.
1076 * iconvdata/ibm1025.h: Likewise.
1077 * iconvdata/ibm1046.h: Likewise.
1078 * iconvdata/ibm1097.h: Likewise.
1079 * iconvdata/ibm1112.h: Likewise.
1080 * iconvdata/ibm1122.h: Likewise.
1081 * iconvdata/ibm1123.h: Likewise.
1082 * iconvdata/ibm1124.h: Likewise.
1083 * iconvdata/ibm1129.h: Likewise.
1084 * iconvdata/ibm1130.h: Likewise.
1085 * iconvdata/ibm1132.h: Likewise.
1086 * iconvdata/ibm1133.h: Likewise.
1087 * iconvdata/ibm1137.h: Likewise.
1088 * iconvdata/ibm1140.h: Likewise.
1089 * iconvdata/ibm1141.h: Likewise.
1090 * iconvdata/ibm1142.h: Likewise.
1091 * iconvdata/ibm1143.h: Likewise.
1092 * iconvdata/ibm1144.h: Likewise.
1093 * iconvdata/ibm1145.h: Likewise.
1094 * iconvdata/ibm1146.h: Likewise.
1095 * iconvdata/ibm1147.h: Likewise.
1096 * iconvdata/ibm1148.h: Likewise.
1097 * iconvdata/ibm1149.h: Likewise.
1098 * iconvdata/ibm1153.h: Likewise.
1099 * iconvdata/ibm1154.h: Likewise.
1100 * iconvdata/ibm1155.h: Likewise.
1101 * iconvdata/ibm1156.h: Likewise.
1102 * iconvdata/ibm1157.h: Likewise.
1103 * iconvdata/ibm1158.h: Likewise.
1104 * iconvdata/ibm1160.h: Likewise.
1105 * iconvdata/ibm1161.h: Likewise.
1106 * iconvdata/ibm1162.h: Likewise.
1107 * iconvdata/ibm1163.h: Likewise.
1108 * iconvdata/ibm1164.h: Likewise.
1109 * iconvdata/ibm1166.h: Likewise.
1110 * iconvdata/ibm1167.h: Likewise.
1111 * iconvdata/ibm12712.h: Likewise.
1112 * iconvdata/ibm1390.h: Likewise.
1113 * iconvdata/ibm1399.h: Likewise.
1114 * iconvdata/ibm16804.h: Likewise.
1115 * iconvdata/ibm4517.h: Likewise.
1116 * iconvdata/ibm4899.h: Likewise.
1117 * iconvdata/ibm4909.h: Likewise.
1118 * iconvdata/ibm4971.h: Likewise.
1119 * iconvdata/ibm5347.h: Likewise.
1120 * iconvdata/ibm803.h: Likewise.
1121 * iconvdata/ibm856.h: Likewise.
1122 * iconvdata/ibm901.h: Likewise.
1123 * iconvdata/ibm902.h: Likewise.
1124 * iconvdata/ibm9030.h: Likewise.
1125 * iconvdata/ibm9066.h: Likewise.
1126 * iconvdata/ibm921.h: Likewise.
1127 * iconvdata/ibm922.h: Likewise.
1128 * iconvdata/ibm9448.h: Likewise.
1129 * iconvdata/isiri-3342.h: Likewise.
1130 * iconvdata/jis0201.h: Likewise.
1131 * include/link.h: Likewise.
1132 * include/netdb.h: Likewise.
1133 * inet/check_native.c: Likewise.
1134 * inet/check_pf.c: Likewise.
1135 * inet/getipv4sourcefilter.c: Likewise.
1136 * inet/getnameinfo.c: Likewise.
1137 * inet/getsourcefilter.c: Likewise.
1138 * inet/htonl.c: Likewise.
1139 * inet/setipv4sourcefilter.c: Likewise.
1140 * inet/setsourcefilter.c: Likewise.
1141 * inet/test-inet6_opt.c: Likewise.
1142 * inet/tst-network.c: Likewise.
1143 * locale/C-collate.c: Likewise.
1144 * locale/C-ctype.c: Likewise.
1145 * locale/C-time.c: Likewise.
1146 * locale/C-translit.h: Likewise.
1147 * locale/loadarchive.c: Likewise.
1148 * locale/programs/3level.h: Likewise.
1149 * locale/programs/charmap.c: Likewise.
1150 * locale/programs/charmap.h: Likewise.
1151 * locale/programs/ld-address.c: Likewise.
1152 * locale/programs/ld-collate.c: Likewise.
1153 * locale/programs/ld-ctype.c: Likewise.
1154 * locale/programs/ld-identification.c: Likewise.
1155 * locale/programs/ld-measurement.c: Likewise.
1156 * locale/programs/ld-messages.c: Likewise.
1157 * locale/programs/ld-monetary.c: Likewise.
1158 * locale/programs/ld-name.c: Likewise.
1159 * locale/programs/ld-numeric.c: Likewise.
1160 * locale/programs/ld-paper.c: Likewise.
1161 * locale/programs/ld-telephone.c: Likewise.
1162 * locale/programs/ld-time.c: Likewise.
1163 * locale/programs/linereader.c: Likewise.
1164 * locale/programs/locale.c: Likewise.
1165 * locale/programs/locarchive.c: Likewise.
1166 * locale/programs/locfile.h: Likewise.
1167 * locale/programs/repertoire.c: Likewise.
1168 * locale/programs/simple-hash.c: Likewise.
1169 * locale/programs/simple-hash.h: Likewise.
1170 * malloc/memusage.c: Likewise.
1171 * malloc/memusagestat.c: Likewise.
1172 * nis/nis_defaults.c: Likewise.
1173 * nis/nis_hash.c: Likewise.
1174 * nis/nis_print.c: Likewise.
1175 * nis/nis_xdr.c: Likewise.
1176 * nscd/connections.c: Likewise.
1177 * nscd/hstcache.c: Likewise.
1178 * nscd/nscd_gethst_r.c: Likewise.
1179 * nscd/nscd_getserv_r.c: Likewise.
1180 * nscd/nscd_helper.c: Likewise.
1181 * nscd/servicescache.c: Likewise.
1182 * nss/makedb.c: Likewise.
1183 * nss/nss_db/db-XXX.c: Likewise.
1184 * nss/nss_db/db-initgroups.c: Likewise.
1185 * nss/nss_db/db-netgrp.c: Likewise.
1186 * nss/nss_files/files-network.c: Likewise.
1187 * nss/nss_files/files-parse.c: Likewise.
1188 * posix/bug-regex5.c: Likewise.
1189 * posix/fnmatch_loop.c: Likewise.
1190 * posix/regcomp.c: Likewise.
1191 * posix/regexec.c: Likewise.
1192 * posix/tst-rfc3484-2.c: Likewise.
1193 * posix/tst-rfc3484-3.c: Likewise.
1194 * posix/tst-rfc3484.c: Likewise.
1195 * resolv/nss_dns/dns-canon.c: Likewise.
1196 * resolv/nss_dns/dns-network.c: Likewise.
1197 * resolv/res_init.c: Likewise.
1198 * resolv/res_mkquery.c: Likewise.
1199 * resolv/tst-aton.c: Likewise.
1200 * stdlib/cxa_atexit.c: Likewise.
1201 * stdlib/cxa_finalize.c: Likewise.
1202 * stdlib/gen-fpioconst.c: Likewise.
1203 * stdlib/strtol_l.c: Likewise.
1204 * string/tst-endian.c: Likewise.
1205 * sunrpc/auth_des.c: Likewise.
1206 * sunrpc/clnt_udp.c: Likewise.
1207 * sunrpc/rtime.c: Likewise.
1208 * sunrpc/svcauth_des.c: Likewise.
1209 * sunrpc/xdr.c: Likewise.
1210 * sunrpc/xdr_intXX_t.c: Likewise.
1211 * sunrpc/xdr_rec.c: Likewise.
1212 * sysdeps/generic/ldconfig.h: Likewise.
1213 * sysdeps/generic/ldsodefs.h: Likewise.
1214 * sysdeps/generic/memusage.h: Likewise.
1215 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1216 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
1217 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
1218 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1219 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1220 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1221 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1222 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1223 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1224 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1225 * sysdeps/posix/getaddrinfo.c: Likewise.
1226 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1227 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1228 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
1229 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1230 * sysdeps/powerpc/test-gettimebase.c: Likewise.
1231 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1232 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
1233 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
1234 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1235 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
1236 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1237 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1238 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
1239 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
1240 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
1241 * sysdeps/x86_64/dl-tls.h: Likewise.
1242 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
1243 * time/alt_digit.c: Likewise.
1244 * time/era.c: Likewise.
1245 * wcsmbs/tst-c16c32-1.c: Likewise.
1247 2013-05-16 Joseph Myers <joseph@codesourcery.com>
1249 * math/libm-test.inc (struct test_sincos_data): New type.
1250 (RUN_TEST_LOOP_sincos): New macro.
1251 (sincos_test_data): New variable.
1252 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
1254 2013-05-16 Richard Henderson <rth@redhat.com>
1256 * math/atest-exp2.c (LIMB64): New macro.
1257 (CONSTSZ): New macro.
1258 (mp_exp1, mp_exp_m1, mp_log2): New variables.
1260 (print_mpn_fp): ... to function scope.
1261 (read_mpn_hex): Remove.
1263 (exp2_mpn): Use mp_log2.
1264 (main): Use mp_exp1.
1266 2013-05-16 Joseph Myers <joseph@codesourcery.com>
1268 * math/libm-test.inc: Remove comment about not testing "inexact"
1270 (INEXACT_EXCEPTION): New macro.
1271 (NO_INEXACT_EXCEPTION): Likewise.
1272 (INVALID_EXCEPTION_OK): Update value.
1273 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1274 (OVERFLOW_EXCEPTION_OK): Likewise.
1275 (UNDERFLOW_EXCEPTION_OK): Likewise.
1276 (IGNORE_ZERO_INF_SIGN): Likewise.
1277 (ERRNO_UNCHANGED): Likewise.
1278 (ERRNO_EDOM): Likewise.
1279 (ERRNO_ERANGE): Likewise.
1280 (test_exceptions): Handle testing "inexact" exceptions.
1281 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
1282 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
1283 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
1284 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
1286 (rint_towardzero_test_data): Likewise.
1287 (rint_downward_test_data): Likewise.
1288 (rint_upward_test_data): Likewise.
1290 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
1291 with OVERFLOW_EXCEPTION.
1292 (exp10_test_data): Likewise.
1293 (exp2_test_data): Likewise.
1294 (expm1_test_data): Likewise.
1295 (lgamma_test_data): Likewise.
1296 (pow_test_data): Likewise.
1297 (tgamma_test_data): Likewise.
1298 (yn_test_data): Remove duplicate test of overflow.
1300 * math/libm-test.inc (struct test_cc_c_data): New type.
1301 (RUN_TEST_LOOP_cc_c): New macro.
1302 (cpow_test_data): New variable.
1303 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
1305 * math/libm-test.inc (struct test_f_L_data): New type.
1306 (RUN_TEST_LOOP_f_L): New macro.
1307 (llrint_test_data): New variable.
1308 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
1309 (llrint_tonearest_test_data): New variable.
1310 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
1311 (llrint_towardzero_test_data): New variable.
1312 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
1313 (llrint_downward_test_data): New variable.
1314 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
1315 (llrint_upward_test_data): New variable.
1316 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
1317 (llround_test_data): New variable.
1318 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
1320 2013-05-13 Peter Collingbourne <pcc@google.com>
1322 * math/atest-exp2.c (get_log2): Remove const attribute.
1324 2013-05-15 Joseph Myers <joseph@codesourcery.com>
1326 * math/libm-test.inc (struct test_f_l_data): New type.
1327 (RUN_TEST_LOOP_f_l): New macro.
1328 (lrint_test_data): New variable.
1329 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
1330 (lrint_tonearest_test_data): New variable.
1331 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
1332 (lrint_towardzero_test_data): New variable.
1333 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
1334 (lrint_downward_test_data): New variable.
1335 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
1336 (lrint_upward_test_data): New variable.
1337 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
1338 (lround_test_data): New variable.
1339 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
1341 2013-05-15 Peter Collingbourne <pcc@google.com>
1343 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
1344 (EXTRACT_WORDS64) Use where appropriate.
1345 (INSERT_WORDS64) Likewise.
1347 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
1348 constraints with x constraints.
1349 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
1351 * malloc/obstack.c (_obstack_compat): Add initializer.
1353 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
1355 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
1356 si_trapno and add si_addr_lsb to _sifields.sigfault.
1357 (si_trapno): Remove macro.
1358 (si_addr_lsb): Define new macro.
1359 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1361 2013-05-15 Joseph Myers <joseph@codesourcery.com>
1363 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
1364 instead of TEST_f_l.
1365 (llrint_test_tonearest): Likewise.
1366 (llrint_test_towardzero): Likewise.
1367 (llrint_test_downward): Likewise.
1368 (llrint_test_upward): Likewise.
1369 (llround_test): Likewise.
1371 * math/libm-test.inc (struct test_f_i_data): Add comment.
1372 (RUN_TEST_LOOP_f_b): New macro.
1373 (RUN_TEST_LOOP_f_b_tg): Likewise.
1374 (finite_test_data): New variable.
1375 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
1376 (isfinite_test_data): New variable.
1377 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1378 (isinf_test_data): New variable.
1379 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1380 (isnan_test_data): New variable.
1381 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1382 (isnormal_test_data): New variable.
1383 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1384 (issignaling_test_data): New variable.
1385 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1386 (signbit_test_data): New variable.
1387 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1389 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
1390 with INVALID_EXCEPTION.
1391 (acosh_test_data): Likewise.
1392 (asin_test_data): Likewise.
1393 (atanh_test_data): Likewise.
1394 (fmod_test_data): Likewise.
1395 (log_test_data): Likewise.
1396 (log10_test_data): Likewise.
1397 (log2_test_data): Likewise.
1398 (pow_test_data): Likewise.
1399 (sqrt_test_data): Likewise.
1400 (y0_test_data): Likewise.
1401 (y1_test_data): Likewise.
1402 (yn_test_data): Likewise.
1404 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
1407 * math/libm-test.inc (struct test_ff_i_data): New type.
1408 (RUN_TEST_LOOP_ff_i_tg): New macro.
1409 (isgreater_test_data): New variable.
1410 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1411 (isgreaterequal_test_data): New variable.
1412 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1413 (isless_test_data): New variable.
1414 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1415 (islessequal_test_data): New variable.
1416 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1417 (islessgreater_test_data): New variable.
1418 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1419 (isunordered_test_data): New variable.
1420 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1422 2013-05-14 David S. Miller <davem@davemloft.net>
1424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1426 2013-05-14 Joseph Myers <joseph@codesourcery.com>
1428 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
1430 * math/libm-test.inc (struct test_fF_f1_data): Change type of
1432 (struct test_f_i_data): Change type of max_ulp to int.
1434 * math/libm-test.inc (test_ffI_f1_data): New type.
1435 (RUN_TEST_LOOP_ffI_f1): New macro.
1436 (remquo_test_data): New variable.
1437 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
1439 * setjmp/tst-setjmp-fp.c: New file.
1440 * setjmp/Makefile (tests): Add tst-setjmp-fp.
1441 (link-libm): New variable.
1442 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
1444 * math/libm-test.inc (struct test_f_i_data): New type.
1445 (RUN_TEST_LOOP_f_i): New macro.
1446 (RUN_TEST_LOOP_f_i_tg): Likewise.
1447 (fpclassify_test_data): New variable.
1448 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
1449 (ilogb_test_data): New variable.
1450 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
1452 * math/libm-test.inc (scalbln_test): Correct function name in END
1455 * math/libm-test.inc (struct test_f_f1_data): Add comment.
1456 (RUN_TEST_LOOP_fI_f1): New macro.
1457 (frexp_test_data): New variable.
1458 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
1460 * math/libm-test.inc (struct test_fF_f1_data): New type.
1461 (RUN_TEST_LOOP_fF_f1): New macro.
1462 (modf_test_data): New variable.
1463 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
1465 * math/libm-test.inc (struct test_f_f1_data): New type.
1466 (RUN_TEST_LOOP_f_f1): New macro.
1467 (gamma_test_data): New variable.
1468 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
1469 (lgamma_test_data): New variable.
1470 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
1472 2013-05-13 Carlos O'Donell <carlos@redhat.com>
1474 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
1475 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
1476 (main): Comment "tls" pseudo-hwcap.
1478 2013-05-13 Joseph Myers <joseph@codesourcery.com>
1480 * math/libm-test.inc (struct test_fl_f_data): New type.
1481 (RUN_TEST_LOOP_fl_f): New variable.
1482 (scalbln_test_data): New variable.
1483 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
1485 * math/libm-test.inc (struct test_fi_f_data): New type.
1486 (RUN_TEST_LOOP_fi_f): New macro.
1487 (ldexp_test_data): New variable.
1488 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
1489 (scalbn_test_data): New variable.
1490 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
1492 * math/libm-test.inc (struct test_c_f_data): New type.
1493 (RUN_TEST_LOOP_c_f): New macro.
1494 (cabs_test_data): New variable.
1495 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
1496 (carg_test_data): New variable.
1497 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
1498 (cimag_test_data): New variable.
1499 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
1500 (creal_test_data): New variable.
1501 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
1503 * math/libm-test.inc (struct test_if_f_data): New type.
1504 (RUN_TEST_LOOP_if_f): New macro.
1505 (jn_test_data): New variable.
1506 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
1507 (yn_test_data): New variable.
1508 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
1510 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
1512 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1514 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
1515 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
1517 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1519 * benchtests/Makefile (CPPFLAGS-nonlib): Add
1520 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
1521 (bench-deps): Add bench-timing.h.
1522 * benchtests-bench-skeleton.c: Include bench-timing.h.
1523 (main): Use TIMING_* macros instead of clock_gettime.
1524 * benchtests/bench-timing.h: New file.
1527 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
1528 Renamed from _LIB_VERSION.
1529 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
1531 2013-05-12 Joseph Myers <joseph@codesourcery.com>
1533 * math/libm-test.inc (struct test_fff_f_data): New type.
1534 (RUN_TEST_LOOP_fff_f): New macro.
1535 (fma_test_data): New variable.
1536 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
1537 (fma_towardzero_test_data): New variable.
1538 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
1539 (fma_downward_test_data): New variable.
1540 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
1541 (fma_upward_test_data): New variable.
1542 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
1544 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
1545 (struct test_c_c_data): New type.
1546 (RUN_TEST_LOOP_c_c): New macro.
1547 (cacos_test_data): New variable.
1548 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
1549 (cacosh_test_data): New variable.
1550 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
1551 (casin_test_data): New variable.
1552 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
1553 (casinh_test_data): New variable.
1554 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
1555 (catan_test_data): New variable.
1556 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
1557 (catanh_test_data): New variable.
1558 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
1559 (ccos_test_data): New variable.
1560 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
1561 (ccosh_test_data): New variable.
1562 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
1563 (cexp_test_data): New variable.
1564 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
1565 (clog_test_data): New variable.
1566 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
1567 (clog10_test_data): New variable.
1568 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
1569 (conj_test_data): New variable.
1570 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
1571 (cproj_test_data): New variable.
1572 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
1573 (csin_test_data): New variable.
1574 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
1575 (csinh_test_data): New variable.
1576 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
1577 (csqrt_test_data): New variable.
1578 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
1579 (ctan_test_data): New variable.
1580 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
1581 (ctan_tonearest_test_data): New variable.
1582 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
1583 (ctan_towardzero_test_data): New variable.
1584 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
1585 (ctan_downward_test_data): New variable.
1586 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
1587 (ctan_upward_test_data): New variable.
1588 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
1589 (ctanh_test_data): New variable.
1590 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
1591 (ctanh_tonearest_test_data): New variable.
1592 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
1593 (ctanh_towardzero_test_data): New variable.
1594 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
1595 (ctanh_downward_test_data): New variable.
1596 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
1597 (ctanh_upward_test_data): New variable.
1598 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
1599 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
1602 * math/libm-test.inc (struct test_ff_f_data): New type.
1603 (struct test_ff_f_data_nexttoward): Likewise.
1604 (RUN_TEST_LOOP_2_f): New macro.
1605 (RUN_TEST_LOOP_ff_f): Likewise.
1606 (atan2_test_data): New variable.
1607 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
1608 (copysign_test_data): New variable.
1609 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
1610 (fdim_test_data): New variable.
1611 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
1612 (fmax_test_data): New variable.
1613 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
1614 (fmin_test_data): New variable.
1615 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
1616 (fmod_test_data): New variable.
1617 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
1618 (hypot_test_data): New variable.
1619 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
1620 (nextafter_test_data): New variable.
1621 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
1622 (nexttoward_test_data): New variable.
1623 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
1624 (pow_test_data): New variable.
1625 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
1626 (pow_tonearest_test_data): New variable.
1627 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
1628 (pow_towardzero_test_data): New variable.
1629 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
1630 (pow_downward_test_data): New variable.
1631 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
1632 (pow_upward_test_data): New variable.
1633 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
1634 (remainder_test_data): New variable.
1635 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
1636 (scalb_test_data): New variable.
1637 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
1638 * sysdeps/i386/fpu/libm-test-ulps: Update.
1640 2013-05-11 Joseph Myers <joseph@codesourcery.com>
1642 * math/libm-test.inc (fma_test): Use max_value instead of local
1644 (nextafter_test): Likewise.
1646 * math/libm-test.inc (acos_towardzero_test_data): New variable.
1647 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1648 (acos_downward_test_data): New variable.
1649 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1650 (acos_upward_test_data): New variable.
1651 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1652 (acosh_test_data): New variable.
1653 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
1654 (asin_test_data): New variable.
1655 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
1656 (asin_tonearest_test_data): New variable.
1657 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1658 (asin_towardzero_test_data): New variable.
1659 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1660 (asin_downward_test_data): New variable.
1661 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1662 (asin_upward_test_data): New variable.
1663 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1664 (asinh_test_data): New variable.
1665 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
1666 (atan_test_data): New variable.
1667 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
1668 (atanh_test_data): New variable.
1669 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
1670 (cbrt_test_data): New variable.
1671 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
1672 (ceil_test_data): New variable.
1673 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
1674 (cos_test_data): New variable.
1675 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
1676 (cos_tonearest_test_data): New variable.
1677 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1678 (cos_towardzero_test_data): New variable.
1679 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1680 (cos_downward_test_data): New variable.
1681 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1682 (cos_upward_test_data): New variable.
1683 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1684 (cosh_test_data): New variable.
1685 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
1686 (cosh_tonearest_test_data): New variable.
1687 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1688 (cosh_towardzero_test_data): New variable.
1689 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1690 (cosh_downward_test_data): New variable.
1691 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1692 (cosh_upward_test_data): New variable.
1693 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1694 (erf_test_data): New variable.
1695 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
1696 (erfc_test_data): New variable.
1697 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
1698 (exp_test_data): New variable.
1699 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
1700 (exp_tonearest_test_data): New variable.
1701 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1702 (exp_towardzero_test_data): New variable.
1703 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1704 (exp_downward_test_data): New variable.
1705 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1706 (exp_upward_test_data): New variable.
1707 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1708 (exp10_test_data): New variable.
1709 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
1710 (exp2_test_data): New variable.
1711 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
1712 (expm1_test_data): New variable.
1713 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
1714 (fabs_test_data): New variable.
1715 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
1716 (floor_test_data): New variable.
1717 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
1718 (j0_test_data): New variable.
1719 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
1720 (j1_test_data): New variable.
1721 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
1722 (log_test_data): New variable.
1723 (log_test): Run tests with RUN_TEST_LOOP_f_f.
1724 (log10_test_data): New variable.
1725 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
1726 (log1p_test_data): New variable.
1727 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
1728 (log2_test_data): New variable.
1729 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
1730 (logb_test_data): New variable.
1731 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
1732 (logb_downward_test_data): New variable.
1733 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1734 (nearbyint_test_data): New variable.
1735 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
1736 (rint_test_data): New variable.
1737 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
1738 (rint_tonearest_test_data): New variable.
1739 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1740 (rint_towardzero_test_data): New variable.
1741 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1742 (rint_downward_test_data): New variable.
1743 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1744 (rint_upward_test_data): New variable.
1745 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1746 (round_test_data): New variable.
1747 (round_test): Run tests with RUN_TEST_LOOP_f_f.
1748 (sin_test_data): New variable.
1749 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
1750 (sin_tonearest_test_data): New variable.
1751 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1752 (sin_towardzero_test_data): New variable.
1753 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1754 (sin_downward_test_data): New variable.
1755 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1756 (sin_upward_test_data): New variable.
1757 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1758 (sinh_test_data): New variable.
1759 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
1760 (sinh_tonearest_test_data): New variable.
1761 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1762 (sinh_towardzero_test_data): New variable.
1763 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1764 (sinh_downward_test_data): New variable.
1765 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1766 (sinh_upward_test_data): New variable.
1767 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1768 (sqrt_test_data): New variable.
1769 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
1770 (tan_test_data): New variable.
1771 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
1772 (tan_tonearest_test_data): New variable.
1773 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1774 (tan_towardzero_test_data): New variable.
1775 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1776 (tan_downward_test_data): New variable.
1777 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1778 (tan_upward_test_data): New variable.
1779 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1780 (tanh_test_data): New variable.
1781 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
1782 (tgamma_test_data): New variable.
1783 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
1784 (trunc_test_data): New variable.
1785 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
1786 (y0_test_data): New variable.
1787 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
1788 (y1_test_data): New variable.
1789 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
1790 (significand_test_data): New variable.
1791 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
1793 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
1796 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
1798 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
1800 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
1802 2013-05-10 Andreas Jaeger <aj@suse.de>
1805 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
1806 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
1808 2013-05-10 Joseph Myers <joseph@codesourcery.com>
1810 * math/gen-libm-test.pl (adjust_arg): New function.
1811 (special_functions): Handle generating output in both functions
1813 (parse_args): Likewise.
1814 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
1815 $in_func argument to parse_args.
1816 * math/libm-test.inc (struct test_f_f_data): New type.
1817 (IF_ROUND_INIT_): New macro.
1818 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
1819 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1820 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1821 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1822 (ROUND_RESTORE_): Likewise.
1823 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
1824 (ROUND_RESTORE_FE_TONEAREST): Likewise.
1825 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
1826 (ROUND_RESTORE_FE_UPWARD): Likewise.
1827 (RUN_TEST_LOOP_f_f): New macro.
1828 (acos_test_data): New variable.
1829 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
1830 (acos_tonearest_test_data): New variable.
1831 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1833 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1835 * benchtests/bench-skeleton.c (startup): Fix coding style.
1837 2013-05-10 Joseph Myers <joseph@codesourcery.com>
1840 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
1841 negative infinity argument.
1842 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
1843 negative infinity argument.
1844 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
1845 negative infinity argument.
1846 * math/libm-test.inc (tgamma_test): Expect errno to be set for
1849 2013-05-10 Florian Weimer <fweimer@redhat.com>
1851 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
1852 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
1853 * iconv/iconv_prog.c (main): Likewise.
1854 * locale/programs/charmap-dir.c (charmap_readdir)
1855 (fopen_uncompressed): Likewise.
1856 * locale/programs/locfile.c (siblings_uncached)
1857 (write_locale_data): Use lstat64 instead of lstat.
1858 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
1861 2013-05-10 Andreas Jaeger <aj@suse.de>
1864 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
1868 2013-05-09 Carlos O'Donell <carlos@redhat.com>
1870 * elf/dl-close.c (_dl_close_worker): Add comments.
1872 2013-05-09 Joseph Myers <joseph@codesourcery.com>
1875 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
1877 (__ieee754_rem_pio2l): Update comments.
1880 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
1882 (__ieee754_rem_pio2l): Update comments.
1884 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
1885 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
1887 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
1890 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
1891 (M_PI_34_LOG10El): Likewise.
1892 (M_PI2_LOG10El): Likewise.
1893 (M_PI4_LOG10El): Likewise.
1894 (M_PI_LOG10El): Likewise.
1896 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1898 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1900 2013-05-08 Joseph Myers <joseph@codesourcery.com>
1902 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
1903 (MINUS_ZERO_INIT): Likewise.
1904 (PLUS_INFTY_INIT): Likewise.
1905 (MINUS_INFTY_INIT): Likewise.
1906 (QNAN_VALUE_INIT): Likewise.
1907 (MAX_VALUE_INIT): Likewise.
1908 (MIN_VALUE_INIT): Likewise.
1909 (MIN_SUBNORM_VALUE_INIT): Likewise.
1910 (plus_zero): Initialize with PLUS_ZERO_INIT.
1911 (minus_zero): Initialize with MINUS_ZERO_INIT.
1912 (plus_infty): Initialize with PLUS_INFTY_INIT.
1913 (minus_infty): Initialize with MINUS_INFTY_INIT.
1914 (qnan_value): Initialize with QNAN_VALUE_INIT.
1915 (max_value): Initialize with MAX_VALUE_INIT.
1916 (min_value): Initialize with MIN_VALUE_INIT.
1917 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
1919 * math/libm-test.inc (RUN_TEST_if_f): New macro.
1920 (jn_test): Use TEST_if_f instead of TEST_ff_f.
1921 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
1922 (yn_test): Use TEST_if_f instead of TEST_ff_f.
1924 * math/libm-test.inc (RUN_TEST_f_f): New macro.
1925 (RUN_TEST_2_f): Likewise.
1926 (RUN_TEST_ff_f): Likewise.
1927 (RUN_TEST_fi_f): Likewise.
1928 (RUN_TEST_fl_f): Likewise.
1929 (RUN_TEST_fff_f): Likewise.
1930 (RUN_TEST_c_f): Likewise.
1931 (RUN_TEST_f_f1): Likewise.
1932 (RUN_TEST_fF_f1): Likewise.
1933 (RUN_TEST_fI_f1): Likewise.
1934 (RUN_TEST_ffI_f1): Likewise.
1935 (RUN_TEST_c_c): Likewise.
1936 (RUN_TEST_cc_c): Likewise.
1937 (RUN_TEST_f_i): Likewise.
1938 (RUN_TEST_f_i_tg): Likewise.
1939 (RUN_TEST_ff_i_tg): Likewise.
1940 (RUN_TEST_f_b): Likewise.
1941 (RUN_TEST_f_b_tg): Likewise.
1942 (RUN_TEST_f_l): Likewise.
1943 (RUN_TEST_f_L): Likewise.
1944 (RUN_TEST_sincos): Likewise.
1945 * math/gen-libm-test.pl (new_test): Take new argument to indicate
1946 whether to show exceptions. Do not include ");\n" in return
1948 (special_functions): Output call to RUN_TEST_sincos instead of
1949 check_float calls. Update calls to new_test.
1950 (parse_args): Output call to single RUN_TEST_* macro instead of
1951 check_* calls and other assignments. Update calls to new_test.
1957 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
1958 input to result for tgamma overflow.
1959 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
1960 (gamma_coeff): New variable.
1961 (NCOEFF): New macro.
1962 (gamma_positive): New function.
1963 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
1964 underflow here. Use gamma_positive instead of exp (lgamma) for
1966 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
1967 (gamma_coeff): New variable.
1968 (NCOEFF): New macro.
1969 (gammaf_positive): New function.
1970 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
1971 underflow here. Use gamma_positive instead of exp (lgamma) for
1973 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
1974 (gamma_coeff): New variable.
1975 (NCOEFF): New macro.
1976 (gammal_positive): New function.
1977 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
1978 underflow here. Use gamma_positive instead of exp (lgamma) for
1980 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
1981 (gamma_coeff): New variable.
1982 (NCOEFF): New macro.
1983 (gammal_positive): New function.
1984 (__ieee754_gammal_r): Handle positive infinity, overflow and
1985 underflow here. Handle NaN the same as positive infinity. Remove
1986 check x < 0xffffffff for negative integers. Use gamma_positive
1987 instead of exp (lgamma) for other arguments.
1988 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
1989 (gamma_coeff): New variable.
1990 (NCOEFF): New macro.
1991 (gammal_positive): New function.
1992 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
1993 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
1994 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1995 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
1996 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
1997 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
1998 * sysdeps/generic/math_private.h (__gamma_productf): New
2000 (__gamma_product): Likewise.
2001 (__gamma_productl): Likewise.
2002 * math/Makefile (libm-calls): Add gamma_product.
2003 * math/libm-test.inc (tgamma_test): Add more tests.
2004 * sysdeps/i386/fpu/libm-test-ulps: Update.
2005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2007 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
2009 * benchtests/bench-skeleton.c (main): Preheat CPU.
2011 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
2013 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
2015 2013-05-07 Roland McGrath <roland@hack.frob.com>
2017 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
2018 and _dl_skip_args_internal.
2020 2013-05-07 Carlos O'Donell <carlos@redhat.com>
2022 * manual/message.texi (Message Translation): Talk about users.
2023 Message to key mapping impacts design.
2025 2013-05-06 Roland McGrath <roland@hack.frob.com>
2027 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
2029 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
2031 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
2032 * sysdeps/wordsize-64/glob64.c: ... here.
2034 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
2035 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
2038 * debug/getlogin_r_chk.c: Moved to ...
2039 * login/getlogin_r_chk.c: ... here.
2040 * debug/Makefile (routines): Move getlogin_r_chk to ...
2041 * login/Makefile (routines): ... here.
2042 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
2043 * login/Versions (libc: GLIBC_2.4): ... here.
2045 * io/poll.c (__poll): Renamed from poll.
2046 Add libc_hidden_def.
2047 (poll): Define as weak alias.
2049 * debug/ptsname_r_chk.c: Moved to ...
2050 * login/ptsname_r_chk.c: ... here.
2051 * debug/Makefile (routines): Move ptsname_r_chk to ...
2052 * login/Makefile (routines): ... here.
2053 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
2054 * login/Versions (libc: GLIBC_2.4): ... here.
2056 * posix/getlogin.c: Moved to ...
2057 * login/getlogin.c: ... here.
2058 * posix/getlogin_r.c: Moved to ...
2059 * login/getlogin_r.c: ... here.
2060 * posix/getlogin_r.c: Moved to ...
2061 * login/getlogin_r.c: ... here.
2062 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
2063 * login/Makefile (routines): ... here.
2064 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
2065 * login/Versions (libc: GLIBC_2.0): ... here.
2067 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
2068 (setrlimit): Define as weak alias.
2070 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
2071 Call __ names for open, ftruncate, and close.
2072 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
2073 (truncate): Define as weak alias.
2075 2013-05-06 Joseph Myers <joseph@codesourcery.com>
2077 * math/gen-libm-test.pl (parse_args): Initialize x before each
2078 test of frexp, modf and remquo.
2080 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
2083 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2087 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
2089 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2091 2013-05-06 Roland McGrath <roland@hack.frob.com>
2093 * elf/dl-writev.h: New file.
2094 * elf/dl-misc.c: Include it.
2095 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
2096 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
2098 2013-05-04 Joseph Myers <joseph@codesourcery.com>
2100 * math/libm-test.inc (noXFails): Remove variable.
2101 (noXPasses): Likewise.
2102 (BUILD_COMPLEX_INT): Remove macro.
2103 (print_screen): Remove xfail argument.
2104 (print_screen_max_error): Likewise.
2105 (update_stats): Likewise.
2106 (print_max_error): Likewise. Update calls to other affected
2108 (print_complex_max_error): Likewise.
2109 (test_single_exception): Update calls to print_screen.
2110 (test_single_errno): Likewise.
2111 (check_float_internal): Remove xfail argument. Update calls to
2112 other affected functions.
2113 (check_float): Likewise.
2114 (check_complex): Likewise.
2115 (check_int): Likewise.
2116 (check_long): Likewise.
2117 (check_bool): Likewise.
2118 (check_longlong): Likewise.
2119 (main): Don't print noXFails and noXPasses.
2120 * math/gen-libm-test.pl (top level): Don't mention expected
2121 failure handling in comment.
2122 (new_test): Don't handle expected failures.
2123 (parse_args): Don't mention expected failure handling in comment.
2124 (generate_testfile): Don't handle expected failures.
2125 (parse_ulps): Likewise.
2126 (print_ulps_file): Likewise.
2127 (get_failure): Remove function.
2128 (output_test): Don't handle expected failures.
2129 * make/README.libm-test: Don't mention expected failure handling.
2131 * math/libm-test.inc (plus_zero): Make const. Add initializer.
2132 (minus_zero): Likewise.
2133 (plus_infty): Likewise.
2134 (minus_infty): Likewise.
2135 (qnan_value): Likewise.
2136 (max_value): Likewise.
2137 (min_value): Likewise.
2138 (min_subnorm_value): Likewise.
2139 (initialize): Do not initialize those variables dynamically.
2141 2013-05-03 Roland McGrath <roland@hack.frob.com>
2143 * io/open.c (__open_2): Moved to ...
2144 * io/open_2.c: ... this new file.
2145 * io/open64.c (__open64_2): Moved to ...
2146 * io/open64_2.c: ... this new file.
2147 * io/openat.c (__openat_2): Moved to ...
2148 * io/openat_2.c: ... this new file.
2149 * io/openat64.c (__openat64_2): Moved to ...
2150 * io/openat64_2.c: ... this new file.
2151 * io/Makefile (routines): Add them.
2152 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
2153 * sysdeps/unix/sysv/linux/open_2.c: File removed.
2154 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
2155 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
2156 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
2157 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
2158 (__openat64): Add hidden_ver.
2159 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
2160 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
2162 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
2163 Separately conditionalize setting of GLRO(dl_sysinfo) so
2164 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
2165 as well, but the actual setting is only under [NEED_DL_SYSINFO].
2167 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2169 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
2170 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
2172 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
2173 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2174 (_libc_vdso_platform_setup): Add __vdso_time initialization.
2175 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
2176 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
2178 2013-05-03 Joseph Myers <joseph@codesourcery.com>
2180 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
2183 * math/libm-test.inc (hypot_test): Do not use
2184 IGNORE_ZERO_INF_SIGN.
2186 2013-05-03 Andreas Jaeger <aj@suse.de>
2188 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
2190 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
2191 (PF_MAX): Adjust for VSOCK change.
2193 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2195 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2197 2013-05-02 Carlos O'Donell <carlos@redhat.com>
2200 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
2201 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
2202 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
2204 2013-05-02 David S. Miller <davem@davemloft.net>
2206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2208 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
2210 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
2212 2013-05-01 Roland McGrath <roland@hack.frob.com>
2214 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
2216 2013-05-01 Richard Smith <richard@metafoo.co.uk>
2219 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
2220 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2221 Use __attribute__ ((__gnu_inline__)).
2222 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2223 Don't use __attribute__ ((__gnu_inline__)).
2225 2013-05-01 Joseph Myers <joseph@codesourcery.com>
2228 * math/s_catan.c (__catan): Handle small real or imaginary part of
2229 input specially to avoid spurious underflow.
2230 * math/s_catanf.c (__catanf): Likewise.
2231 * math/s_catanh.c (__catanh): Likewise.
2232 * math/s_catanhf.c (__catanhf): Likewise.
2233 * math/s_catanhl.c (__catanhl): Likewise.
2234 * math/s_catanl.c (__catanl): Likewise.
2235 * math/libm-test.inc (catan_test): Add more tests.
2236 (catanh_test): Likewise.
2237 * sysdeps/i386/fpu/libm-test-ulps: Update.
2238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2240 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2244 2013-04-30 Joseph Myers <joseph@codesourcery.com>
2247 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
2248 accurately for denominator in atan2.
2249 * math/s_catanf.c (__catanf): Likewise.
2250 * math/s_catanh.c (__catanh): Likewise.
2251 * math/s_catanhf.c (__catanhf): Likewise.
2252 * math/s_catanhl.c (__catanhl): Likewise.
2253 * math/s_catanl.c (__catanl): Likewise.
2254 * math/libm-test.inc (catan_test): Add more tests.
2255 (catanh_test): Likewise.
2256 * sysdeps/i386/fpu/libm-test-ulps: Update.
2257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2259 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2261 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
2263 * benchtests/Makefile (bench): Remove slow benchmarks.
2264 * benchtests/atan-inputs: Add slow benchmark inputs.
2265 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
2266 (BENCH_FUNC): Accept variant offset.
2268 * benchtests/bench-skeleton.c (main): Run benchmark for each
2270 * benchtests/cos-inputs: Add slow benchmark inputs.
2271 * benchtests/exp-inputs: Likewise.
2272 * benchtests/pow-inputs: Likewise.
2273 * benchtests/sin-inputs: Likewise.
2274 * benchtests/slowatan-inputs: Remove.
2275 * benchtests/slowatan.c: Remove.
2276 * benchtests/slowcos-inputs: Remove.
2277 * benchtests/slowcos.c: Remove.
2278 * benchtests/slowexp-inputs: Remove.
2279 * benchtests/slowexp.c: Remove.
2280 * benchtests/slowpow-inputs: Remove.
2281 * benchtests/slowpow.c: Remove.
2282 * benchtests/slowsin-inputs: Remove.
2283 * benchtests/slowsin.c: Remove.
2284 * benchtests/slowtan-inputs: Remove.
2285 * benchtests/slowtan.c: Remove.
2286 * benchtests/tan-inputs: Add slow benchmark inputs.
2287 * scripts/bench.pl: Parse comments and directives.
2289 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
2291 ($(objpfx)bench-%.c): Remove *-ITER.
2292 * benchtests/bench-modf.c: Remove definition of ITER.
2293 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
2294 (main): Loop for DURATION seconds instead of fixed number of
2296 * scripts/bench.pl: Don't expect iterations in parameters.
2298 2013-04-29 Roland McGrath <roland@hack.frob.com>
2300 * io/fchdir.c (__fchdir): Renamed from fchdir.
2301 (fchdir): Define as weak alias.
2303 2013-04-29 Joseph Myers <joseph@codesourcery.com>
2305 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
2306 (ERRNO_EDOM): Likewise.
2307 (ERRNO_ERANGE): Likewise.
2308 (noErrnoTests): New variable.
2309 (init_max_error): Set errno to 0.
2310 (test_single_errno): New function.
2311 (test_errno): Likewise.
2312 (check_float_internal): Call test_errno. Set errno to 0.
2313 (check_complex): Refer to errno tests in comment.
2314 (check_int): Call test_errno. Set errno to 0.
2315 (check_long): Likewise.
2316 (check_bool): Likewise.
2317 (check_longlong): Likewise.
2318 (cos_test): Use ERRNO_* flags for errno tests instead of
2320 (expm1_test): Likewise.
2321 (fmod_test): Likewise.
2322 (ilogb_test): Likewise.
2323 (lgamma_test): Likewise.
2324 (pow_test): Likewise.
2325 (remainder_test): Likewise.
2326 (sin_test): Likewise.
2327 (tan_test): Likewise.
2328 (yn_test): Likewise.
2329 (initialize): Set errno to 0.
2330 (main): Print number of errno tests.
2331 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
2333 2013-04-29 Andreas Jaeger <aj@suse.de>
2336 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
2340 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
2341 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
2345 * stdlib/random.c (__initstate): Return NULL if
2349 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
2350 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
2353 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2357 2013-04-29 Joseph Myers <joseph@codesourcery.com>
2359 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
2360 of individual tests.
2361 (casin_test): Likewise.
2362 (casinh_test): Likewise.
2364 2013-04-27 Joseph Myers <joseph@codesourcery.com>
2367 * math/s_catan.c (__catan): Handle arguments with large real or
2368 imaginary part separately without squaring.
2369 * math/s_catanf.c (__catanf): Likewise.
2370 * math/s_catanh.c (__catanh): Likewise.
2371 * math/s_catanhf.c (__catanhf): Likewise.
2372 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2374 (__catanhl): Handle arguments with large real or imaginary part
2375 separately without squaring.
2376 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2378 (__catanl): Handle arguments with large real or imaginary part
2379 separately without squaring.
2380 * math/libm-test.inc (catan_test): Add more tests.
2381 (catanh_test): Likewise.
2382 * sysdeps/i386/fpu/libm-test-ulps: Update.
2383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2385 2013-04-27 Andreas Jaeger <aj@suse.de>
2388 * stdlib/stdlib.h: Update guards for qecvt.
2389 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
2392 2013-04-27 Allan McRae <allan@archlinux.org>
2394 * sysdeps/i386/fpu/libm-test-ulps: Update.
2396 2013-04-26 Joseph Myers <joseph@codesourcery.com>
2399 * math/s_catan.c: Include <float.h>.
2400 (__catan): Ensure underflow exception occurs for underflowed
2402 * math/s_catanf.c: Include <float.h>.
2403 (__catanf): Ensure underflow exception occurs for underflowed
2405 * math/s_catanh.c: Include <float.h>.
2406 (__catanh): Ensure underflow exception occurs for underflowed
2408 * math/s_catanhf.c: Include <float.h>.
2409 (__catanhf): Ensure underflow exception occurs for underflowed
2411 * math/s_catanhl.c: Include <float.h>.
2412 (__catanhl): Ensure underflow exception occurs for underflowed
2414 * math/s_catanl.c: Include <float.h>.
2415 (__catanl): Ensure underflow exception occurs for underflowed
2417 * math/libm-test.inc (catan_test): Add more tests.
2418 (catanh_test): Likewise.
2421 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
2423 * math/s_ccoshf.c (__ccoshf): Likewise.
2424 * math/s_ccoshl.c (__ccoshl): Likewise.
2425 * math/s_csin.c (__csin): Likewise.
2426 * math/s_csinf.c (__csinf): Likewise.
2427 * math/s_csinh.c (__csinh): Likewise.
2428 * math/s_csinhf.c (__csinhf): Likewise.
2429 * math/s_csinhl.c (__csinhl): Likewise.
2430 * math/s_csinl.c (__csinl): Likewise.
2431 * math/libm-test.inc (ccos_test): Add more tests.
2432 (ccosh_test): Likewise.
2433 (csin_test): Likewise.
2434 (csinh_test): Likewise.
2436 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2438 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
2439 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
2440 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
2441 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
2442 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
2443 powerpc/power5+/fpu folders.
2444 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
2447 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
2449 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2451 2013-04-25 Joseph Myers <joseph@codesourcery.com>
2453 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
2454 additions to variable.
2455 [$(config-machine) = x86_64] (modules-names): Likewise.
2456 ($(objpfx)tst-audit3): Remove dependency.
2457 ($(objpfx)tst-audit3.out): Likewise.
2458 ($(objpfx)tst-audit4): Likewise.
2459 ($(objpfx)tst-audit4.out): Likewise.
2460 ($(objpfx)tst-audit5): Likewise.
2461 ($(objpfx)tst-audit5.out): Likewise.
2462 ($(objpfx)tst-audit6): Likewise.
2463 ($(objpfx)tst-audit6.out): Likewise.
2464 ($(objpfx)tst-audit7): Likewise.
2465 ($(objpfx)tst-audit7.out): Likewise.
2466 (tst-audit3-ENV): Remove variable.
2467 (tst-audit4-ENV): Likewise.
2468 (tst-audit5-ENV): Likewise.
2469 (tst-audit6-ENV): Likewise.
2470 (tst-audit7-ENV): Likewise.
2471 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
2472 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
2473 addition to variable.
2474 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
2475 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
2476 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
2477 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
2478 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
2479 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
2480 tst-audit3, tst-audit4 and tst-audit5.
2481 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
2482 tst-audit6 and tst-audit7.
2483 [$(subdir) = elf] (modules-names): Add audit modules for those
2485 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
2486 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
2487 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
2488 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
2489 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
2490 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
2491 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
2492 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
2493 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
2494 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
2495 [$(subdir) = elf] (tst-audit3-ENV): New variable.
2496 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
2497 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
2498 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
2499 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
2500 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
2502 [$(subdir) = elf && $(config-cflags-avx) = yes]
2503 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
2504 [$(subdir) = elf && $(config-cflags-avx) = yes]
2505 (CFLAGS-tst-auditmod4a.c): Likewise.
2506 [$(subdir) = elf && $(config-cflags-avx) = yes]
2507 (CFLAGS-tst-auditmod4b.c): Likewise.
2508 [$(subdir) = elf && $(config-cflags-avx) = yes]
2509 (CFLAGS-tst-auditmod6b.c): Likewise.
2510 [$(subdir) = elf && $(config-cflags-avx) = yes]
2511 (CFLAGS-tst-auditmod6c.c): Likewise.
2512 [$(subdir) = elf && $(config-cflags-avx) = yes]
2513 (CFLAGS-tst-auditmod7b.c): Likewise.
2514 * elf/tst-audit3.c: Move to ...
2515 * sysdeps/x86_64/tst-audit3.c: ... here.
2516 * elf/tst-audit4.c: Move to ...
2517 * sysdeps/x86_64/tst-audit4.c: ... here.
2518 * elf/tst-audit5.c: Move to ...
2519 * sysdeps/x86_64/tst-audit5.c: ... here.
2520 * elf/tst-audit6.c: Move to ...
2521 * sysdeps/x86_64/tst-audit6.c: ... here.
2522 * elf/tst-audit7.c: Move to ...
2523 * sysdeps/x86_64/tst-audit7.c: ... here.
2524 * elf/tst-auditmod3a.c: Move to ...
2525 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
2526 * elf/tst-auditmod3b.c: Move to ...
2527 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
2528 * elf/tst-auditmod4a.c: Move to ...
2529 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
2530 * elf/tst-auditmod4b.c: Move to ...
2531 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
2532 * elf/tst-auditmod5a.c: Move to ...
2533 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
2534 * elf/tst-auditmod5b.c: Move to ...
2535 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
2536 * elf/tst-auditmod6a.c: Move to ...
2537 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
2538 * elf/tst-auditmod6b.c: Move to ...
2539 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
2540 * elf/tst-auditmod6c.c: Move to ...
2541 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
2542 * elf/tst-auditmod7a.c: Move to ...
2543 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
2544 * elf/tst-auditmod7b.c: Move to ...
2545 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
2547 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
2550 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
2551 define unconditionally.
2552 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
2553 define unconditionally.
2554 (INT8_C, INT16_C, etc.): Likewise.
2556 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
2558 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
2559 __ehdr_start with hidden visibility.
2561 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
2563 2013-04-24 Carlos O'Donell <carlos@redhat.com>
2565 * math/libm-test.inc (cos_test): Use accurate hex constants.
2566 (sincost_test): Likewise.
2568 2013-04-24 Joseph Myers <joseph@codesourcery.com>
2570 * math/libm-test.inc (catan_test): Add more tests.
2571 (catanh_test): Likewise.
2573 * math/s_catanf.c (__catanf): Use suffixed floating-point
2575 * math/s_catanhf.c (__catanhf): Likewise.
2576 * math/s_catanhl.c (__catanhl): Likewise.
2577 * math/s_catanl.c (__catanl): Likewise.
2580 * math/s_catan.c (__catan): Calculate imaginary part of result
2581 with log1p not log unless computing log of number close to 0.
2582 * math/s_catanf.c (__catanf): Likewise.
2583 * math/s_catanl.c (__catanl): Likewise.
2584 * math/s_catanh.c (__catanh): Calculate real part of result with
2585 log1p not log unless computing log of number close to 0.
2586 * math/s_catanhf.c (__catanhf): Likewise.
2587 * math/s_catanhl.c (__catanhl): Likewise.
2588 * math/libm-test.inc (catan_test): Add more tests.
2589 (catanh_test): Likewise.
2590 * sysdeps/i386/fpu/libm-test-ulps: Update.
2591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2593 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2595 * benchtests/Makefile: Mention files in which fast and slow
2596 paths of math functions are implemented.
2598 2013-04-23 Roland McGrath <roland@hack.frob.com>
2600 * sysdeps/posix/timespec_get.c: New file.
2602 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2604 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
2606 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
2608 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
2609 powerpc/power5/fpu folders.
2610 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
2611 * benchtests/Makefile: Add modf testcase.
2612 * benchtests/bench-modf.c: New file: Benchmark test for mo
2614 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2617 * time/Makefile (tests): Add tst-strptime-whitespace.
2618 * time/strptime_l.c (get_number): Use ISSPACE.
2619 (__strptime_internal): Likewise.
2620 * time/tst-strptime-whitespace.c: New test case.
2622 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
2624 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
2626 (_nss_files_init): Set it here.
2628 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
2630 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
2631 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
2634 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
2636 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
2638 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2640 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
2643 2013-04-21 David S. Miller <davem@davemloft.net>
2645 * po/ru.po: Update Russion translation from translation project.
2647 2013-04-17 Adam Conrad <adconrad@0c3.net>
2649 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
2652 2013-04-17 Carlos O'Donell <carlos@redhat.com>
2654 * configure.in: Remove i386 configure warning. Remove i386 case.
2655 * configure: Regenerate.
2656 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
2657 Add example to error message.
2658 * sysdeps/i386/configure: Regenerate.
2660 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2662 * benchtests/Makefile (bench): Add cos, tan, slowcos and
2664 * benchtests/cos-inputs: New file.
2665 * benchtests/slowcos-inputs: New file.
2666 * benchtests/slowcos.c: New file.
2667 * benchtests/slowtan-inputs: New file.
2668 * benchtests/slowtan.c: New file.
2669 * benchtests/tan-inputs: New file.
2671 2013-04-16 Roland McGrath <roland@hack.frob.com>
2673 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
2676 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2678 * benchtests/Makefile: Include cppflags-iterator.mk to add
2679 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
2681 * Makefile.in (bench-clean): New target.
2682 * benchtests/Makefile (bench-clean): Likewise.
2684 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
2686 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
2688 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
2690 * stdio-common/tstdiomisc.c: Fix coding-style violation.
2692 2013-04-15 Andreas Schwab <schwab@suse.de>
2694 * nscd/grpcache.c (cache_addgr): Properly check for short write.
2695 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2696 * nscd/pwdcache.c (cache_addpw): Likewise.
2697 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
2700 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2702 * benchtests/Makefile (bench): Write all output to
2703 bench-out.tmp together.
2705 2013-04-15 Andreas Schwab <schwab@suse.de>
2707 * nscd/nscd.c (main): Don't fork again after closing files.
2709 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2711 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
2713 * benchtests/Rules (bench-deps): Collect dependencies into a
2714 single variable. Add Makefile to dependencies.
2715 ($(objpfx)bench-%.c): Depend on bench-deps.
2717 2013-04-12 Roland McGrath <roland@hack.frob.com>
2718 Xavier Roche <roche+kml2@exalead.com>
2721 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
2722 just that it's a file descriptor.
2723 * manual/llio.texi (Synchronizing AIO Operations): Update description
2724 for EBADF error from aio_fsync.
2726 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2728 * Rules (bench): Move target definition...
2729 * benchtests/Makefile: ... here.
2731 2013-04-11 Carlos O'Donell <carlos@redhat.com>
2733 * math/libm-test.inc (cos_test): Fix PI/2 test.
2734 (sincos_test): Likewise.
2735 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2736 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
2738 2013-04-11 Andreas Schwab <schwab@suse.de>
2741 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
2742 accept exponent character only when digits were seen.
2743 * stdio-common/Makefile (tests): Add bug26.
2744 * stdio-common/bug26.c: New file.
2747 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
2750 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2752 * Makeconfig (rtld-prefix): Define built linker prefix.
2753 * Rules (run-bench): Use it.
2754 * math/Makefile (run-regen-ulps): Likewise.
2756 * Rules (bench): Remove eval.
2758 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2759 Roland McGrath <roland@hack.frob.com>
2760 Ondrej Bilka <neleai@seznam.cz>
2763 * time/getdate.c: Include ctype.h and alloca.h.
2764 (__getdate_r): Trim leading and trailing spaces of input.
2765 * time/tst-getdate.c (tests): Add tests with leading and
2768 2013-04-08 Roland McGrath <roland@hack.frob.com>
2771 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
2772 when computing value.
2774 2013-04-06 Carlos O'Donell <carlos@redhat.com>
2776 * math/README.libm-test (How can I generate "libm-test-ulps"?):
2777 Use testrun.sh to run libm tests.
2780 * elf/dl-open.c (dl_open_worker): memset all of seen array.
2782 2013-04-06 Marko Myllynen <myllynen@redhat.com>
2785 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
2787 2013-04-06 Carlos O'Donell <carlos@redhat.com>
2789 * Makefile.in (regen-ulps): New target.
2790 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
2791 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
2792 [ifneq (no,$(PERL)] (regen-ulps): New target.
2793 [ifeq (no,$(PERL)] (regen-ulps): New target.
2794 * math/libm-test.inc (ulps_file_name): Define.
2795 (output_dir): New variable.
2796 (options): Add "output-dir" option.
2797 (parse_opt): Handle 'o' case.
2798 (main): If output_dir is non-NULL use it as a prefix
2800 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
2802 2013-04-06 Carlos O'Donell <carlos@redhat.com>
2805 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
2806 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
2807 fail configure if __sync_val_compare_and_swap is not inlined.
2808 * sysdeps/i386/configure: Regenerate.
2809 * configure.in: Build for i686 when configured for i386.
2810 * configure: Regenerate.
2811 * README: Remove i386 reference.
2813 2013-04-06 Carlos O'Donell <carlos@redhat.com>
2815 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
2816 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2818 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
2820 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
2821 (lmsnanval): New variables.
2822 (F): Add conversion tests.
2823 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
2824 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
2826 * stdio-common/tstdiomisc.c (F): Properly collect individual
2830 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
2831 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
2832 Instead, use input NaN values or generate a qNaN by arithmetic
2833 operation. Also fix bugs to comply with the standard.
2834 * math/libm-test.inc (remainder_test): Add more tests.
2837 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
2838 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
2839 input NaN values or generate a qNaN by arithmetic operation.
2841 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
2844 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
2847 2013-04-03 Joseph Myers <joseph@codesourcery.com>
2850 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
2852 * math/s_cexpf.c (__cexpf): Likewise.
2853 * math/s_cexpl.c (__cexpl): Likewise.
2854 * math/libm-test.inc (cexp_test): Add more tests.
2856 2013-04-03 Andreas Schwab <schwab@suse.de>
2859 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
2860 order arrays from heap if bigger than alloca cutoff.
2862 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
2864 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
2865 (SNAN_TESTS_double): Refer to GCC PR56831.
2866 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
2869 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2871 * Rules (bench): Move bench.out after the run is complete.
2873 * Rules (bench): Echo currently running benchmark.
2875 * benchtests/Makefile (bench): Add atan and slowatan.
2876 * benchtests/atan-inputs: New file.
2877 * benchtests/slowatan-inputs: New file.
2878 * benchtests/slowatan.c: New file.
2880 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
2881 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
2885 * sysdeps/unix/sysv/linux/kernel-features.h
2886 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
2887 __ASSUME_XFS_RESTRICTED_CHOWN.
2888 * sysdeps/unix/sysv/linux/pathconf.c
2889 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2890 Save and restore errno.
2892 2013-04-02 Joseph Myers <joseph@codesourcery.com>
2895 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
2896 arguments using __kernel_casinh.
2897 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
2898 arguments using __kernel_casinhf.
2899 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
2900 arguments using __kernel_casinhl.
2901 * math/libm-test.inc (cacosh_test): Add more tests.
2902 * sysdeps/i386/fpu/libm-test-ulps: Update.
2903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2905 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2907 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
2908 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
2910 * bench/Makefile (bench): Add sin and slowsin.
2911 * benchtests/sin-inputs: New file.
2912 * benchtests/slowsin-inputs: New file.
2913 * benchtests/slowsin.c: New file.
2915 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
2916 (bench): Add slowexp and slowpow.
2917 (exp-ITER): Increase iterations.
2918 (pow-ITER): Likewise.
2919 * benchtests/exp-inputs: Change input.
2920 * benchtests/pow-inputs: Likewise.
2921 * benchtests/slowexp-inputs: New file.
2922 * benchtests/slowexp.c: New file.
2923 * benchtests/slowpow-inputs: New file.
2924 * benchtests/slowpow.c: New file.
2926 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2928 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
2930 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2931 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2932 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2933 * benchtests/Makefile: Add rint benchtest.
2934 * benchtests/rint-inputs: Input for rint benchtest.
2936 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
2938 * Versions.def (libm): Add GLIBC_2.18.
2939 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
2940 hidden libm prototypes.
2941 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
2942 * math/Makefile (libm-calls): Add s_issignaling.
2943 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
2944 __issignalingf, __issignalingl. Adjust all libm.abilist files.
2945 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
2947 * math/math.h [__USE_GNU] (issignaling): New macro.
2948 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
2949 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
2950 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
2951 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
2952 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
2953 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
2954 * manual/arith.texi (issignaling): New section.
2955 * manual/libm-err-tab.pl (@all_functions): Update comment.
2956 * math/gen-libm-test.pl (parse_args): Apply special handling for
2958 * math/libm-test.inc (print_float, issignaling_test): New
2960 (check_float_internal): Add issignaling checks.
2961 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
2963 * sysdeps/powerpc/math-tests.h: New file.
2964 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
2966 * math/test-snan.c (TEST_FUNC): Likewise.
2968 2013-03-30 David S. Miller <davem@davemloft.net>
2970 * po/de.po: Update from translation team.
2972 2013-03-30 Joseph Myers <joseph@codesourcery.com>
2975 * math/k_casinh.c (__kernel_casinh): Handle arguments with
2976 imaginary part less than 1.0 and real part less than 0.5
2978 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2979 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2980 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
2981 (cacos_test): Add more tests.
2982 (casin_test): Likewise.
2983 (casinh_test): Likewise.
2984 * sysdeps/i386/fpu/libm-test-ulps: Update.
2985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2987 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2989 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
2992 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
2993 (__pow_mp): Replace ONE and MONE with their values.
2994 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2995 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
2996 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2997 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
2998 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2999 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3001 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
3003 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
3004 (__pow_mp): Replace ZERO and MZERO with their values.
3005 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3006 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3007 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3008 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3009 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3010 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
3013 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
3015 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
3017 2013-03-28 Roland McGrath <roland@hack.frob.com>
3019 * include/stdlib.h [!SHARED] (__call_tls_dtors):
3020 Declare with __attribute__ ((weak)).
3021 * stdlib/exit.c (__libc_atexit) [!SHARED]:
3022 Call __call_tls_dtors only if it's not NULL.
3024 2013-03-28 Roland McGrath <roland@hack.frob.com>
3026 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
3027 didn't do it already, then set _dl_phdr and _dl_phnum based on the
3028 magic __ehdr_start linker symbol if it's defined.
3029 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
3030 them up here if it was already done.
3032 * elf/dl-support.c (_dl_phdr): Make pointer to const.
3033 (_dl_aux_init): Use const in cast when setting it.
3034 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
3035 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
3036 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
3038 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
3040 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
3041 * csu/libc-tls.c: Nor here.
3042 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
3044 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
3045 (__libc_message): Never call vsyslog.
3047 2013-03-28 Alan Modra <amodra@gmail.com>
3049 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
3051 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
3054 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3057 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
3059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3061 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3064 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3065 Don't add gid passed as argument.
3067 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
3069 2013-03-27 Joseph Myers <joseph@codesourcery.com>
3072 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3073 imaginary part between 1.0 and 1.5 and real part less than 0.5
3075 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3076 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3077 * math/libm-test.inc (cacos_test): Add more tests.
3078 (casin_test): Likewise.
3079 (casinh_test): Likewise.
3080 * sysdeps/i386/fpu/libm-test-ulps: Update.
3081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3083 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3085 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
3089 (__dbl_mp): Likewise.
3090 (add_magnitudes): Likewise.
3091 (sub_magnitudes): Likewise.
3099 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
3101 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
3102 (__dubcos): Likewise.
3103 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
3104 (__ieee754_acos): Likewise.
3105 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3106 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
3108 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3109 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3111 (my_log2): Likewise.
3112 (checkint): Likewise.
3113 * sysdeps/ieee754/dbl-64/e_remainder.c
3114 (__ieee754_remainder): Likewise.
3115 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3116 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
3118 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3120 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3121 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
3122 MANTISSA_STORE_T to store computations on mantissa. Use
3123 macros for rounding and division.
3125 (__dbl_mp): Likewise.
3126 (add_magnitudes): Likewise.
3127 (sub_magnitudes): Likewise.
3130 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
3131 powers of two in terms of TWOPOW macro.
3132 (mp_no): Make type of mantissa as MANTISSA_T.
3133 [!RADIXI]: Define RADIXI.
3134 [!TWO52]: Define TWO52.
3135 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3137 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3139 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
3140 llroundl symbol when building for PPC32.
3142 2013-03-24 Mark H Weaver <mhw@netris.org>
3144 * manual/arith.texi (Normalization Functions): Fix prototypes for
3145 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
3147 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3150 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
3151 high value to check if expl overflow.
3152 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
3153 to check for underflow and overflow.
3154 * math/libm-test.inc: Add exp test.
3156 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
3159 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
3162 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3164 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
3167 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
3169 * math/gen-libm-test.pl (parse_args, special_functions): Properly
3170 wrap blocks consisting of several statements.
3172 * sysdeps/generic/math-tests.h: New file.
3173 * sysdeps/i386/fpu/math-tests.h: Likewise.
3174 * math/test-snan.c: Include it.
3175 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
3177 2013-03-21 Joseph Myers <joseph@codesourcery.com>
3180 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
3181 (__ieee754_j0l): Do not improve calculations using cos of twice
3182 input for inputs above LDBL_MAX / 2.0L.
3183 (__ieee754_y0l): Likewise.
3184 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
3185 (__ieee754_j1l): Do not improve calculations using cos of twice
3186 input for inputs above LDBL_MAX / 2.0L.
3187 (__ieee754_y1l): Likewise.
3188 * math/libm-test.inc (j0_test): Add another test.
3189 (j1_test): Likewise.
3190 (y0_test): Likewise.
3191 (y1_test): Likewise.
3192 * sysdeps/i386/fpu/libm-test-ulps: Update.
3194 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3196 * Rules ($(objpfx)bench-%.c): Include code from a C source
3199 2013-03-21 Joseph Myers <joseph@codesourcery.com>
3202 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3203 imaginary part 1.0 and real part less than 0.5 specially.
3204 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3205 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3206 * math/libm-test.inc (cacos_test): Add more tests.
3207 (casin_test): Likewise.
3208 (casinh_test): Likewise.
3209 * sysdeps/i386/fpu/libm-test-ulps: Update.
3210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3212 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3214 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
3215 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
3217 2013-03-20 Joseph Myers <joseph@codesourcery.com>
3219 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
3220 * config.make.in (config-cflags-sse4): Remove variable.
3221 (config-cflags-avx): Likewise.
3222 (config-cflags-sse2avx): Likewise.
3223 (config-cflags-novzeroupper): Likewise.
3224 (config-asflags-i686): Likewise.
3225 (have-mfma4): Likewise.
3226 (have-as-vis3): Likewise.
3228 * configure.in (MIG): Do not AC_SUBST.
3229 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
3230 (libc_cv_cc_sse4): Do not AC_SUBST.
3231 (libc_cv_cc_avx): Likewise.
3232 (libc_cv_cc_sse2avx): Likewise.
3233 (libc_cv_cc_novzeroupper): Likewise.
3234 (libc_cv_cc_fma4): Likewise.
3235 (libc_cv_as_i686): Likewise.
3236 (libc_cv_sparc_as_vis3): Likewise.
3237 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
3239 (config-asflags-i686): Likewise.
3240 (config-cflags-avx): Likewise.
3241 (config-cflags-sse2avx): Likewise.
3242 (have-mfma4): Likewise.
3243 (config-cflags-novzeroupper): Likewise.
3244 * sysdeps/mach/configure.in (MIG): Likewise.
3245 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
3246 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
3248 (config-cflags-avx): Likewise.
3249 (config-cflags-sse2avx): Likewise.
3250 (have-mfma4): Likewise.
3251 (config-cflags-novzeroupper): Likewise.
3252 * configure: Regenerated.
3253 * sysdeps/i386/configure: Likewise.
3254 * sysdeps/mach/configure: Likewise.
3255 * sysdeps/sparc/configure: Likewise.
3256 * sysdeps/x86_64/configure: Likewise.
3258 2013-03-20 Roland McGrath <roland@hack.frob.com>
3261 * locale/programs/localedef.c (options): Put N_ translation marker
3262 on argument names, not just descriptions.
3264 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3266 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
3268 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
3271 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
3273 2013-03-19 Roland McGrath <roland@hack.frob.com>
3275 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
3276 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
3277 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
3278 [!BEFORE_ABORT] (before_abort): New function.
3279 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
3280 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
3281 (writev_for_fatal): New function.
3282 (WRITEV_FOR_FATAL): New macro; call that.
3283 (backtrace_and_maps): New function.
3284 (BEFORE_ABORT): New macro; call that.
3285 (struct str_list): Type removed.
3286 (__libc_message, __libc_fatal): Functions removed.
3287 Include <sysdeps/posix/libc_fatal.c> instead.
3289 2013-03-19 Joseph Myers <joseph@codesourcery.com>
3291 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
3293 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
3296 2013-03-19 Andreas Schwab <schwab@suse.de>
3298 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
3299 * sysdeps/gnu/configure: Regenerate.
3301 * configure.in: Substitute libc_cv_rtlddir.
3302 * configure: Regenerate.
3303 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
3304 * Makeconfig (rtlddir, inst_rtlddir): New variables.
3305 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
3306 * elf/Makefile (install-others, CFLAGS-interp.c)
3307 (ldso_install, common-ldd-rewrite): Likewise.
3308 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
3309 $(inst_slibdir)/$(rtld-installed-name).
3310 * scripts/rellns-sh: Add -p option.
3311 * Makerules (make-shlib-link): Use rellns-sh to get relative name
3314 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3316 * manual/nptl.texi: Renamed to ...
3317 * manual/threads.texi: ... this.
3318 * manual/Makefile (chapters): Update.
3320 2013-03-18 Roland McGrath <roland@hack.frob.com>
3323 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
3324 on argument names, not just descriptions.
3325 * malloc/memusagestat.c (options): Likewise.
3326 * nss/getent.c (options): Likewise.
3328 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
3331 * iconv/iconv_prog.c (options): Put N_ translation marker
3332 on argument names, not just descriptions.
3333 * iconv/iconvconfig.c (options): Likewise.
3335 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
3337 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
3338 implementation which is faster on all x86_64 architectures.
3339 Tested on AMD, Intel Nehalem, SNB, IVB.
3340 * sysdeps/x86_64/strnlen.S: Likewise.
3342 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3343 Remove all multiarch strlen and strnlen versions.
3344 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
3345 Remove strlen and strnlen related parts.
3347 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
3349 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3351 * sysdeps/x86_64/multiarch/strlen.S: Remove.
3352 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
3353 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
3354 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
3355 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3356 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
3358 2013-03-17 Carlos O'Donell <carlos@redhat.com>
3360 * manual/memory.texi (Malloc Tunable Parameters):
3361 Sort parameters alphabetically. Add comments for missing entries.
3363 2013-03-17 David S. Miller <davem@davemloft.net>
3365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3367 2013-03-16 Joseph Myers <joseph@codesourcery.com>
3370 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
3371 for arguments at most half maximum finite value.
3372 * math/libm-test.inc (j0_test): Add more tests.
3373 (j1_test): Likewise.
3374 (y0_test): Likewise.
3375 (y1_test): Likewise.
3376 * sysdeps/i386/fpu/libm-test-ulps: Update.
3377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3380 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
3381 1 / x and functions P and Q for arguments above 0x1p256L.
3382 (__ieee754_y0l): Likewise.
3383 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
3384 (__ieee754_y1l): Likewise.
3385 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
3386 (j1_test): Likewise.
3387 (y0_test): Likewise.
3388 (y1_test): Likewise.
3390 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
3392 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
3395 2013-03-15 Roland McGrath <roland@hack.frob.com>
3397 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
3398 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
3399 zero since it's initialized to EXEC_PAGESIZE.
3401 * sysdeps/unix/sysv/linux/ldsodefs.h
3402 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
3403 * sysdeps/generic/ldsodefs.h: ... here.
3405 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
3407 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
3409 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
3411 * math/test-snan.c: Renamed from
3412 sysdeps/powerpc/fpu/test-powerpc-snan.c.
3413 * math/Makefile (tests): Add test-snan.
3414 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
3417 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
3418 SUFFIX. Initialize qNaN_var with __builtin_nan family of
3420 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
3421 __builtin_nan family of functions.
3422 * math/libm-test.inc (initialize): Initialize qnan_value with
3423 __builtin_nan family of functions.
3424 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
3426 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
3428 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
3429 storage class. Initialize qNaN_var and sNaN_var with
3430 __builtin_nan and __builtin_nans families of functions,
3433 * math/libm-test.inc (acosh_test): Also test with qNaN input.
3434 (sqrt_test): Remove duplicate test with qNaN input.
3435 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
3436 (round_test, signbit_test, significand_test): Note missing +/-Inf
3437 as well as qNaN tests.
3439 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
3440 qNaN_var. Fix a few strings, too.
3441 * math/libm-test.inc (nan_value): Rename to qnan_value.
3442 * math/gen-libm-test.pl (%beautify): Adjust to that.
3443 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
3444 * math/test-misc.c (main): Likewise.
3445 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
3446 to __qnan_bytes, and __qnan_union, respectively.
3447 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
3449 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
3450 and lqnanval, respectively.
3451 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
3452 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
3453 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
3454 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
3456 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
3457 * math/test-misc.c (main) [__x86_64__]: Enable test for long
3460 * math/test-misc.c (main): Fix copy'n'pastos.
3461 * misc/tst-efgcvt.c (special): Likewise.
3463 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
3464 Remove declarations.
3466 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3468 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
3469 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
3470 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
3471 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
3473 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3475 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
3476 macro to return vdso values correctly in IFUNC implementations.
3477 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3478 Optimization by using IFUNC.
3480 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3481 Richard Henderson <rth@redhat.com>
3482 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3484 * Makefile.in (bench): New target.
3485 * NEWS: Mention the benchmark framework.
3486 * Rules (bench): Likewise.
3487 (binaries-bench): Generate binaries for functions to
3489 * benchtests/Makefile: New makefile for benchmark tests.
3490 * benchtests/bench-skeleton.c: New skeleton file for benchmark
3492 * benchtests/exp-inputs: New input file for EXP function.
3493 * benchtests/pow-inputs: New input file for POW function.
3494 * scripts/bench.pl: New script to generate source files for
3497 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3499 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3500 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
3501 computations on mantissa. Use macros for rounding and
3504 (__dbl_mp): Likewise.
3505 (add_magnitudes): Likewise.
3506 (sub_magnitudes): Likewise.
3509 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
3510 powers of two in terms of TWOPOW macro.
3511 (mp_no): Make type of mantissa as MANTISSA_T.
3512 [!RADIXI]: Define RADIXI.
3513 [!TWO52]: Define TWO52.
3514 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3516 * manual/nptl.texi (cindex): Modify threads to pthreads.
3518 2013-03-15 Joseph Myers <joseph@codesourcery.com>
3520 * sysdeps/x86_64/preconfigure: Regenerated.
3522 2013-03-14 Joseph Myers <joseph@codesourcery.com>
3525 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
3527 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
3528 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
3530 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
3531 * math/libm-test.inc (j0_test): Do not allow one spurious
3532 underflow exception.
3533 (y1_test): Likewise.
3535 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3537 * manual/Makefile (chapters): Add nptl.
3538 * manual/debug.texi (Debugging Support): Add link to Threads
3540 * manual/nptl.texi: New file.
3542 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
3544 2013-03-14 Petr Baudis <pasky@ucw.cz>
3546 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
3547 for non-NULL pointer before the memory validity test. Pointed
3548 out by Holger Brunck <holger.brunck@keymile.com>.
3550 2013-03-13 Andreas Schwab <schwab@suse.de>
3552 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
3555 2013-03-13 Joseph Myers <joseph@codesourcery.com>
3557 * timezone/zic.c: Update from tzcode 2013b.
3559 2013-03-12 Carlos O'Donell <carlos@redhat.com>
3561 * manual/install.texi (Configuring and compiling):
3562 Mention i686 and i586.
3563 * INSTALL: Regenerate.
3565 2013-03-12 Roland McGrath <roland@hack.frob.com>
3567 * sysdeps/init_array/elf-init.c: New file.
3569 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
3570 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
3572 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
3573 __gmon_start__ as global, but as static with a .preinit_array pointer.
3574 * sysdeps/init_array/gmon-start.c: New file. Use that.
3575 * sysdeps/init_array/crti.S: New file, empty except for comments.
3576 * sysdeps/init_array/crtn.S: Likewise.
3578 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
3580 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
3582 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3583 Remove Prefer_SSE_for_memop.
3584 * sysdeps/x86_64/multiarch/init-arch.h: Remove
3585 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
3586 HAS_PREFER_SSE_FOR_MEMOP.
3587 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3589 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3590 Remove bzero, memset ifunc support.
3591 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
3592 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
3593 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3594 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3596 2013-03-11 Andreas Schwab <schwab@suse.de>
3599 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
3601 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
3602 (GLIBC_2.16): Remove pthread_atfork.
3604 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3606 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
3607 (ptestcases.h): Likewise.
3609 2013-03-08 Roland McGrath <roland@hack.frob.com>
3611 * Makeconfig ($(common-objpfx)config.status): Depend on
3612 sysdeps/*/preconfigure{,.in} too.
3614 2013-03-08 Joseph Myers <joseph@codesourcery.com>
3616 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
3617 (__free_hook): Use void * instead of __malloc_ptr_t.
3618 (__malloc_hook): Likewise.
3619 (__realloc_hook): Likewise.
3620 (__memalign_hook): Likewise.
3621 (__after_morecore_hook): Likewise.
3622 * malloc/arena.c (save_malloc_hook): Likewise.
3623 (save_free_hook): Likewise.
3624 * malloc/hooks.c (malloc_hook_ini): Likewise.
3625 (realloc_hook_ini): Likewise.
3626 (memalign_hook_ini): Likewise.
3627 * malloc/malloc.c (malloc_hook_ini): Likewise.
3628 (realloc_hook_ini): Likewise.
3629 (memalign_hook_ini): Likewise.
3630 (__free_hook): Likewise.
3631 (__malloc_hook): Likewise.
3632 (__realloc_hook): Likewise.
3633 (__memalign_hook): Likewise.
3634 (__libc_malloc): Likewise.
3635 (__libc_free): Likewise.
3636 (__libc_realloc): Likewise.
3637 (__libc_memalign): Likewise.
3638 (__libc_valloc): Likewise.
3639 (__libc_pvalloc): Likewise.
3640 (__libc_calloc): Likewise.
3641 (__posix_memalign): Likewise.
3642 * malloc/morecore.c (__sbrk): Likewise.
3643 (__default_morecore): Likewise.
3645 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
3647 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
3648 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
3651 * malloc/malloc.h (__malloc_size_t): Remove macro.
3652 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
3654 (old_memalign_hook): Likewise.
3655 (old_realloc_hook): Likewise.
3656 (struct hdr): Likewise.
3658 (mallochook): Likewise.
3659 (memalignhook): Likewise.
3660 (reallochook): Likewise.
3661 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
3662 (tr_old_realloc_hook): Likewise.
3663 (tr_old_memalign_hook): Likewise.
3664 (tr_mallochook): Likewise.
3665 (tr_reallochook): Likewise.
3666 (tr_memalignhook): Likewise.
3668 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3670 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
3671 default_ldbl_pack and using as default implementation.
3672 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
3674 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
3675 redundant definition.
3676 (ldbl_insert_mantissa): Likewise.
3677 (ldbl_canonicalize): Likewise.
3678 (ldbl_nearbyint): Likewise.
3679 (ldbl_pack): Rename to ldbl_pack_ppc.
3680 (ldbl_unpack): Rename to ldbl_unpack_ppc.
3681 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
3682 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
3684 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3686 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
3687 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
3688 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
3689 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
3690 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
3691 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
3692 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
3693 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
3695 2013-03-07 Andreas Jaeger <aj@suse.de>
3697 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3700 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3702 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
3703 Include mpa.h and declare __MPEXP.
3704 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
3705 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3706 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3707 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
3708 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3709 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3710 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
3712 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
3713 (__slowpow): Use long double EXPL and LOGL functions to
3715 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3716 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3717 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
3718 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3719 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3720 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
3722 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
3723 intermediate variable to calculate exponent.
3725 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3729 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
3730 [!NO__SQR]: Define __sqr.
3731 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
3732 and NO__SQR. Remove all code except __mul and __sqr. Include
3733 sysdeps/ieee754/dbl-64/mpa.c.
3734 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3737 * posix/Makefile (tests): Add tst-pathconf.
3738 * posix/tst-pathconf.c: New test case.
3739 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
3741 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
3743 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
3745 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
3747 2013-03-06 Andreas Jaeger <aj@suse.de>
3749 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
3750 definition via __MAP_ANONYMOUS.
3752 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
3753 it's not part of Linux headers.
3755 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
3756 (MAP_HUGE_MASK): Define.
3758 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3760 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3761 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3763 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3764 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3766 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3767 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
3769 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3771 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
3772 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
3773 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
3774 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
3775 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
3776 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
3778 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
3781 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3782 Handle f2fs and efivarfs.
3784 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
3787 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
3788 (EFIVARFS_MAGIC): Add.
3789 (F2FS_LINK_MAX): Add.
3791 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3793 * stdio-common/vfprintf.c: Replace __builtin_expect with
3796 2013-03-06 Joseph Myers <joseph@codesourcery.com>
3799 * sysdeps/generic/bp-sym.h: Remove file.
3800 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
3801 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
3802 <bp-sym.h> and <bp-asm.h>.
3803 (__longjmp): Don't use BP_SYM.
3804 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
3806 (memcpy): Don't use BP_SYM.
3807 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
3808 <bp-sym.h> and <bp-asm.h>.
3809 (memcpy): Don't use BP_SYM.
3810 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
3812 (memcpy): Don't use BP_SYM.
3813 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
3815 (memset): Don't use BP_SYM.
3816 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3817 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3818 (__bzero): Don't use BP_SYM.
3819 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3820 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3821 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
3822 <bp-sym.h> and <bp-asm.h>.
3823 (memcmp): Don't use BP_SYM. Remove comment about bounded
3825 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
3826 <bp-sym.h> and <bp-asm.h>.
3827 (memcpy): Don't use BP_SYM.
3828 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
3829 <bp-sym.h> and <bp-asm.h>.
3830 (memset): Don't use BP_SYM.
3831 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3832 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3833 (__bzero): Don't use BP_SYM.
3834 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3835 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3836 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
3837 <bp-sym.h> and <bp-asm.h>.
3838 (strncmp): Don't use BP_SYM. Remove comment about bounded
3840 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
3841 <bp-sym.h> and <bp-asm.h>.
3842 (memcpy): Don't use BP_SYM.
3843 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
3844 <bp-sym.h> and <bp-asm.h>.
3845 (memset): Don't use BP_SYM.
3846 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3847 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3848 (__bzero): Don't use BP_SYM.
3849 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3850 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3851 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
3852 <bp-sym.h> and <bp-asm.h>.
3853 (__memchr): Don't use BP_SYM.
3854 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
3855 <bp-sym.h> and <bp-asm.h>.
3856 (memcmp): Don't use BP_SYM. Remove comment about bounded
3858 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
3859 <bp-sym.h> and <bp-asm.h>.
3860 (memcpy): Don't use BP_SYM.
3861 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
3862 <bp-sym.h> and <bp-asm.h>.
3863 (__mempcpy): Don't use BP_SYM.
3864 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
3865 <bp-sym.h> and <bp-asm.h>.
3866 (__memrchr): Don't use BP_SYM.
3867 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
3868 <bp-sym.h> and <bp-asm.h>.
3869 (memset): Don't use BP_SYM.
3870 (__bzero): Likewise.
3871 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
3872 <bp-sym.h> and <bp-asm.h>.
3873 (__rawmemchr): Don't use BP_SYM.
3874 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
3875 <bp-sym.h> and <bp-asm.h>.
3876 (__STRCMP): Don't use BP_SYM.
3877 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
3878 <bp-sym.h> and <bp-asm.h>.
3879 (strchr): Don't use BP_SYM.
3880 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
3881 <bp-sym.h> and <bp-asm.h>.
3882 (__strchrnul): Don't use BP_SYM.
3883 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
3884 <bp-sym.h> and <bp-asm.h>.
3885 (strlen): Don't use BP_SYM.
3886 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
3887 <bp-sym.h> and <bp-asm.h>.
3888 (strncmp): Don't use BP_SYM. Remove comment about bounded
3890 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
3891 <bp-sym.h> and <bp-asm.h>.
3892 (__strnlen): Don't use BP_SYM.
3893 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
3894 <bp-sym.h> and <bp-asm.h>.
3895 (__GI__setjmp): Don't use BP_SYM.
3896 (_setjmp): Likewise.
3897 (__sigsetjmp): Likewise.
3898 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
3899 (L(start_addresses)): Don't use BP_SYM.
3901 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
3903 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
3904 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
3905 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3906 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3907 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
3909 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
3910 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
3911 about bounded pointers.
3912 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3913 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3914 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
3916 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
3917 about bounded pointers. Remove GKM FIXME comments.
3918 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3919 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
3921 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
3922 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
3923 Remove GKM FIXME comments.
3924 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3925 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3926 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
3928 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
3929 about bounded pointers. Remove GKM FIXME comment.
3930 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
3932 (strncmp): Don't use BP_SYM. Remove comment about bounded
3934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
3935 <bp-sym.h> and <bp-asm.h>.
3936 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
3937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
3938 <bp-sym.h> and <bp-asm.h>.
3939 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
3942 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3944 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
3947 2013-03-05 David S. Miller <davem@davemloft.net>
3949 * po/es.po: Update from translation team.
3951 2013-03-05 Andreas Jaeger <aj@suse.de>
3953 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
3954 <bits/mman-linux.h>.
3955 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3957 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
3958 <bits/mman-linux.h> to end of file.
3959 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3961 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
3962 <bits/mman-linux.h> to end of file.
3963 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3965 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
3966 <bits/mman-linux.h> to end of file.
3968 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
3969 (MCL_CURRENT, MCL_FUTURE): Define here.
3971 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3974 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
3976 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3978 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3980 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
3981 fourth parameter needed for rt_sigprocmask syscall.
3982 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3983 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3984 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3985 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3986 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3987 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
3989 2013-03-04 Joseph Myers <joseph@codesourcery.com>
3992 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
3993 comment about bounded pointers.
3994 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
3995 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
3997 2013-03-04 Andreas Jaeger <aj@suse.de>
3999 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
4002 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
4003 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
4004 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
4005 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4006 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
4007 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4009 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4012 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4013 __ieee754_sqrl instead of __sqrl.
4015 2013-03-01 Joseph Myers <joseph@codesourcery.com>
4017 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
4018 * sysdeps/powerpc/fpu_control.h: ... here.
4019 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
4020 * sysdeps/powerpc/bits/fenvinline.h: ... here.
4021 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
4022 * sysdeps/powerpc/bits/mathinline.h: ... here.
4024 2013-03-01 Roland McGrath <roland@hack.frob.com>
4026 * elf/dl-hwcaps.c (_dl_important_hwcaps):
4027 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
4028 to just [NEED_DL_SYSINFO_DSO].
4029 * elf/dl-support.c: Likewise.
4030 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4031 * elf/rtld.c (dl_main): Likewise.
4032 * elf/setup-vdso.h (setup_vdso): Likewise.
4033 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
4034 * sysdeps/unix/sysv/linux/dl-sysdep.c
4035 (_dl_discover_osversion): Likewise.
4037 2013-03-01 Carlos O'Donell <carlos@redhat.com>
4039 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
4040 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4042 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4044 * NEWS: Mention libm performance improvements and non-x86 PI
4047 * csu/libc-start.c (__pthread_initialize_minimal): Change
4049 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4051 2013-02-28 Joseph Myers <joseph@codesourcery.com>
4054 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
4055 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
4056 <bp-sym.h> and <bp-asm.h>.
4057 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4058 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
4060 (memcpy): Don't use BP_SYM.
4061 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
4063 (__mpn_add_n): Don't use BP_SYM.
4064 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
4065 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
4067 (__mpn_addmul_1): Don't use BP_SYM.
4068 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4069 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
4071 (_setjmp): Don't use BP_SYM.
4072 (__novmx_setjmp): Likewise.
4073 (__GI__setjmp): Likewise.
4074 (__vmx_setjmp): Likewise.
4075 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
4077 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
4078 (__bzero): Don't use BP_SYM.
4079 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4080 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4081 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
4082 <bp-sym.h> and <bp-asm.h>.
4083 (memcpy): Don't use BP_SYM.
4084 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
4085 <bp-sym.h> and <bp-asm.h>.
4086 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4087 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
4088 <bp-sym.h> and <bp-asm.h>.
4089 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4090 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
4092 (__mpn_lshift): Don't use BP_SYM.
4093 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4094 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
4096 (memset): Don't use BP_SYM.
4097 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4098 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4099 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
4101 (__mpn_mul_1): Don't use BP_SYM.
4102 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4103 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
4104 <bp-sym.h> and <bp-asm.h>.
4105 (memcmp): Don't use BP_SYM.
4106 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
4107 <bp-sym.h> and <bp-asm.h>.
4108 (memcpy): Don't use BP_SYM.
4109 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
4110 <bp-sym.h> and <bp-asm.h>.
4111 (memset): Don't use BP_SYM.
4112 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
4113 <bp-sym.h> and <bp-asm.h>.
4114 (strncmp): Don't use BP_SYM.
4115 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
4116 <bp-sym.h> and <bp-asm.h>.
4117 (memcpy): Don't use BP_SYM.
4118 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
4119 <bp-sym.h> and <bp-asm.h>.
4120 (memset): Don't use BP_SYM.
4121 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
4122 <bp-sym.h> and <bp-asm.h>.
4123 (__memchr): Don't use BP_SYM.
4124 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
4125 <bp-sym.h> and <bp-asm.h>.
4126 (memcmp): Don't use BP_SYM.
4127 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
4128 <bp-sym.h> and <bp-asm.h>.
4129 (memcpy): Don't use BP_SYM.
4130 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
4131 <bp-sym.h> and <bp-asm.h>.
4132 (__mempcpy): Don't use BP_SYM.
4133 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
4134 <bp-sym.h> and <bp-asm.h>.
4135 (__memrchr): Don't use BP_SYM.
4136 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
4137 <bp-sym.h> and <bp-asm.h>.
4138 (memset): Don't use BP_SYM.
4139 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
4140 <bp-sym.h> and <bp-asm.h>.
4141 (__rawmemchr): Don't use BP_SYM.
4142 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
4143 <bp-sym.h> and <bp-asm.h>.
4144 (__STRCMP): Don't use BP_SYM.
4145 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
4146 <bp-sym.h> and <bp-asm.h>.
4147 (strchr): Don't use BP_SYM.
4148 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
4149 <bp-sym.h> and <bp-asm.h>.
4150 (__strchrnul): Don't use BP_SYM.
4151 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
4152 <bp-sym.h> and <bp-asm.h>.
4153 (strlen): Don't use BP_SYM.
4154 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
4155 <bp-sym.h> and <bp-asm.h>.
4156 (strncmp): Don't use BP_SYM.
4157 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
4158 <bp-sym.h> and <bp-asm.h>.
4159 (__strnlen): Don't use BP_SYM.
4160 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
4162 (__mpn_rshift): Don't use BP_SYM.
4163 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4164 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
4165 <bp-sym.h> and <bp-asm.h>.
4166 (__sigsetjmp): Don't use BP_SYM.
4167 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
4168 (L(start_addresses)): Don't use BP_SYM.
4170 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
4172 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
4173 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4174 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4175 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
4177 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
4178 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4179 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4180 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
4182 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4184 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4185 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
4187 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
4189 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4190 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4191 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
4193 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4195 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
4197 (strncmp): Don't use BP_SYM,
4198 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
4200 (__mpn_sub_n): Don't use BP_SYM.
4201 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4202 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
4204 (__mpn_submul_1): Don't use BP_SYM.
4205 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
4207 <bp-sym.h> and <bp-asm.h>.
4208 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
4210 <bp-sym.h> and <bp-asm.h>.
4211 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
4214 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4216 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
4217 Use ZK to minimize writes to Z.
4218 (sub_magnitudes): Simplify code a bit.
4219 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
4220 Use ZK to minimize writes to Z.
4221 (sub_magnitudes): Simplify code a bit.
4223 2013-02-27 Roland McGrath <roland@hack.frob.com>
4225 * csu/gmon-start.c: Add special exception to license text.
4227 2013-02-27 Richard Henderson <rth@redhat.com>
4229 * scripts/config.guess: Update from config.git.
4230 * scripts/config.sub: Likewise.
4232 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4234 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
4236 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
4238 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
4240 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
4242 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
4244 2013-02-26 Roland McGrath <roland@hack.frob.com>
4246 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
4247 [$(build-shared = yes].
4249 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4251 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
4252 (__mul): Reduce iterations for calculating mantissa.
4254 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
4256 (__mpranred): Likewise.
4259 * malloc/memusagestat.c (main): Draw graphs for heap and stack
4260 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
4262 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
4264 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
4265 Define __attribute__.
4267 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4269 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
4271 * posix/regex_internal.h (__attribute): Remove.
4272 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
4273 (re_string_context_at): Likewise.
4274 (bitset_not): Use __attribute__ and mark function as possibly
4276 (bitset_merge): Likewise.
4277 (bitset_mask): Likewise.
4278 (re_string_char_size_at): Likewise.
4279 (re_string_wchar_at): Likewise.
4280 (re_string_elem_size_at): Likewise.
4282 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4284 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
4288 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
4293 (__dbl_mp): Likewise.
4294 (add_magnitudes): Likewise.
4295 (sub_magnitudes): Likewise.
4299 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
4302 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
4305 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
4308 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
4309 up changes with default code.
4310 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
4313 2013-02-24 Allan McRae <allan@archlinux.org>
4315 * manual/socket.texi (The Internet Namespace): Order menu items
4316 to match that in the file.
4318 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
4319 node listing of the info page menu.
4321 2013-02-21 Joseph Myers <joseph@codesourcery.com>
4324 * sysdeps/i386/bp-asm.h: Remove file.
4325 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4326 (PARMS): Do not use macros from bp-asm.h.
4330 (__mpn_add_n): Do not use BP_SYM
4331 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
4333 (PARMS): Do not use macros from bp-asm.h.
4336 (__mpn_addmul_1): Do not use BP_SYM
4337 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
4339 (PARMS): Do not use macros from bp-asm.h.
4341 (_setjmp): Likewise. Do not use BP_SYM.
4342 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
4344 (PARMS): Do not use macros from bp-asm.h.
4346 (setjmp): Likewise. Do not use BP_SYM.
4347 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
4349 (PARMS): Do not use macros from bp-asm.h.
4350 (__frexp): Do not use BP_SYM.
4352 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
4354 (PARMS): Do not use macros from bp-asm.h.
4355 (__frexpf): Do not use BP_SYM.
4357 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
4359 (PARMS): Do not use macros from bp-asm.h.
4360 (__frexpl): Do not use BP_SYM.
4362 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
4364 (PARMS): Do not use macros from bp-asm.h.
4365 (__remquo): Do not use BP_SYM.
4367 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
4369 (PARMS): Do not use macros from bp-asm.h.
4370 (__remquof): Do not use BP_SYM.
4371 (remquof): Likewise.
4372 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
4374 (PARMS): Do not use macros from bp-asm.h.
4375 (__remquol): Do not use BP_SYM.
4376 (remquol): Likewise.
4377 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
4379 (PARMS): Do not use macros from bp-asm.h.
4382 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
4383 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
4385 (PARMS): Do not use macros from bp-asm.h.
4386 (strlen): Do not use BP_SYM.
4387 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
4389 (PARMS): Do not use macros from bp-asm.h.
4393 (__mpn_add_n): Do not use BP_SYM.
4394 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
4396 (PARMS): Do not use macros from bp-asm.h.
4399 (__mpn_addmul_1): Do not use BP_SYM.
4400 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
4403 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
4405 (PARMS): Do not use macros from bp-asm.h.
4408 (__mpn_lshift): Do not use BP_SYM.
4409 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
4411 (PARMS): Do not use macros from bp-asm.h.
4415 (memcpy): Likewise. Do not use BP_SYM.
4416 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
4417 libc_hidden_def and weak_alias.
4418 (mempcpy): Do not use BP_SYM in weak_alias.
4419 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
4421 (PARMS): Do not use macros from bp-asm.h.
4424 [!BZERO_P] (CHR): Likewise.
4425 (memset): Likewise. Do not use BP_SYM.
4426 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
4428 (PARMS): Do not use macros from bp-asm.h.
4431 (__mpn_mul_1): Do not use BP_SYM.
4432 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
4434 (PARMS): Do not use macros from bp-asm.h.
4437 (__mpn_rshift): Do not use BP_SYM.
4438 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
4440 (PARMS): Do not use macros from bp-asm.h.
4443 (strchr): Likewise. Do not use BP_SYM.
4444 (index): Do not use BP_SYM in weak_alias.
4445 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
4447 (PARMS): Do not use macros from bp-asm.h.
4450 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
4451 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
4453 (PARMS): Do not use macros from bp-asm.h.
4454 (strlen): Do not use BP_SYM.
4455 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
4457 (PARMS): Do not use macros from bp-asm.h.
4461 (__mpn_sub_n): Do not use BP_SYM.
4462 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
4464 (PARMS): Do not use macros from bp-asm.h.
4467 (__mpn_submul_1): Do not use BP_SYM.
4468 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
4470 (PARMS): Do not use macros from bp-asm.h.
4474 (__mpn_add_n): Do not use BP_SYM.
4475 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
4478 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
4480 (PARMS): Do not use macros from bp-asm.h.
4483 (memcmp): Do not use BP_SYM.
4484 (bcmp): Do not use BP_SYM in weak_alias.
4485 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
4487 (PARMS): Do not use macros from bp-asm.h.
4491 (memcpy): Likewise. Do not use BP_SYM.
4492 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
4494 (PARMS): Do not use macros from bp-asm.h.
4498 (memmove): Likewise. Do not use BP_SYM.
4499 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
4501 (PARMS): Do not use macros from bp-asm.h.
4505 (__mempcpy): Likewise. Do not use BP_SYM.
4506 (mempcpy): Do not use BP_SYM in weak_alias.
4507 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
4509 (PARMS): Do not use macros from bp-asm.h.
4512 [!BZERO_P] (CHR): Likewise.
4513 (memset): Likewise. Do not use BP_SYM.
4514 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
4516 (PARMS): Do not use macros from bp-asm.h.
4518 (strcmp): Do not use BP_SYM.
4519 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
4521 (PARMS): Do not use macros from bp-asm.h.
4524 [USE_AS_STRTOK_R] (SAVE): Likewise.
4525 (FUNCTION): Likewise. Do not use BP_SYM.
4526 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
4528 (strtok_r): Likewise.
4529 (__GI___strtok_r): Likewise.
4530 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
4531 (PARMS): Do not use macros from bp-asm.h.
4534 (__mpn_lshift): Do not use BP_SYM.
4535 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
4536 (PARMS): Do not use macros from bp-asm.h.
4539 (__memchr): Do not use BP_SYM.
4540 (memchr): Do not use BP_SYM in weak_alias.
4541 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
4542 (PARMS): Do not use macros from bp-asm.h.
4545 (memcmp): Do not use BP_SYM.
4546 (bcmp): Do not use BP_SYM in weak_alias.
4547 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
4548 (PARMS): Do not use macros from bp-asm.h.
4551 (__mpn_mul_1): Do not use BP_SYM.
4552 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
4554 (PARMS): Do not use macros from bp-asm.h.
4557 (__rawmemchr): Do not use BP_SYM.
4558 (rawmemchr): Do not use BP_SYM in weak_alias.
4559 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
4560 (PARMS): Do not use macros from bp-asm.h.
4563 (__mpn_rshift): Do not use BP_SYM.
4564 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
4565 (PARMS): Do not use macros from bp-asm.h.
4567 (__sigsetjmp): Likewise. Do not use BP_SYM.
4568 * sysdeps/i386/start.S: Do not include "bp-sym.h".
4569 (_start): Do not use BP_SYM.
4570 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
4571 (PARMS): Do not use macros from bp-asm.h.
4574 (__stpcpy): Likewise. Do not use BP_SYM.
4575 (stpcpy): Do not use BP_SYM in weak_alias.
4576 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
4578 (PARMS): Do not use macros from bp-asm.h.
4582 (__stpncpy): Likewise. Do not use BP_SYM.
4583 (stpncpy): Do not use BP_SYM in weak_alias.
4584 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
4585 (PARMS): Do not use macros from bp-asm.h.
4588 (strchr): Likewise. Do not use BP_SYM.
4589 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
4591 (PARMS): Do not use macros from bp-asm.h.
4594 (__strchrnul): Likewise. Do not use BP_SYM.
4595 (strchrnul): Do not use BP_SYM in weak_alias.
4596 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
4598 (PARMS): Do not use macros from bp-asm.h.
4600 (strcspn): Do not use BP_SYM.
4601 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
4603 (PARMS): Do not use macros from bp-asm.h.
4606 (strpbrk): Likewise. Do not use BP_SYM.
4607 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
4609 (PARMS): Do not use macros from bp-asm.h.
4612 (strrchr): Likewise. Do not use BP_SYM.
4613 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
4614 (PARMS): Do not use macros from bp-asm.h.
4616 (strspn): Do not use BP_SYM.
4617 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
4618 (PARMS): Do not use macros from bp-asm.h.
4622 (FUNCTION): Likewise. Do not use BP_SYM.
4623 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
4625 (strtok_r): Likewise.
4626 (__GI___strtok_r): Likewise.
4627 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4628 (PARMS): Do not use macros from bp-asm.h.
4632 (__mpn_sub_n): Do not use BP_SYM.
4633 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
4635 (PARMS): Do not use macros from bp-asm.h.
4638 (__mpn_submul_1): Do not use BP_SYM.
4639 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
4641 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
4643 (PARMS): Do not use macros from bp-asm.h.
4648 (__clone): Do not use BP_SYM.
4649 (clone): Do not use BP_SYM in weak_alias.
4650 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
4652 (PARMS): Do not use macros from bp-asm.h.
4654 (__mmap64): Do not use BP_SYM.
4655 (mmap64): Do not use BP_SYM in weak_alias.
4656 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4657 <bp-sym.h> and <bp-asm.h>.
4658 (PARMS): Do not use macros from bp-asm.h.
4659 (__posix_fadvise64_l64): Do not use BP_SYM.
4660 * sysdeps/unix/sysv/linux/i386/semtimedop.S
4661 (PARMS): Do not use macros from bp-asm.h.
4663 (semtimedop): Do not use BP_SYM.
4664 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
4667 2013-02-21 Allan McRae <allan@archlinux.org>
4669 * manual/message.texi (Charset conversion in gettext):
4670 Move @end statement to beginning of line.
4672 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4674 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
4676 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4679 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
4681 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
4682 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
4684 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4686 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
4687 tail-call to the resolved function if pltexit isn't needed.
4689 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4691 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
4692 or Y being zero as being unlikely.
4693 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4696 2013-02-20 Carlos O'Donell <carlos@redhat.com>
4698 * manual/nss.texi (System Databases and Name Service Switch):
4699 Remove frobnicate @pxref.
4701 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
4703 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4704 __attribute__ ((unused)) to __attribute__ ((__unused__)).
4706 2013-02-20 Petr Machata <pmachata@redhat.com>
4708 * elf/elf.h (R_ARM_TARGET1): New macro.
4709 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
4710 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
4711 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
4712 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
4713 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
4714 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
4715 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
4716 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
4717 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
4718 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
4719 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
4720 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
4721 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
4722 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
4723 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
4724 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
4725 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
4726 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
4727 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
4728 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
4729 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
4730 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
4731 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
4732 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
4733 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
4734 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
4735 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
4736 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
4737 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
4738 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
4739 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
4740 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
4741 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
4742 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
4743 (R_ARM_THM_GOT_BREL12): Likewise.
4744 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
4745 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
4746 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
4747 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
4748 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
4749 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
4750 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
4751 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
4752 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
4754 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
4756 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4757 __attribute_used__ to __attribute__ ((unused)).
4759 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4761 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
4763 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
4765 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
4767 2013-02-19 Joseph Myers <joseph@codesourcery.com>
4770 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
4772 (ENTER): Remove both macro definitions.
4774 (CHECK_BOUNDS_LOW): Likewise.
4775 (CHECK_BOUNDS_HIGH): Likewise.
4776 (CHECK_BOUNDS_BOTH): Likewise.
4777 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
4778 (RETURN_BOUNDED_POINTER): Likewise.
4779 (RETURN_NULL_BOUNDED_POINTER): Likewise.
4780 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
4781 (POP_ERRNO_LOCATION_RETURN): Likewise.
4782 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
4783 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4784 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
4786 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4787 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
4788 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
4789 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
4790 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
4791 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
4792 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
4793 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
4794 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
4795 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
4796 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
4797 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
4798 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4799 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
4801 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4802 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
4804 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4805 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
4806 * sysdeps/i386/i586/memset.S (memset): Likewise.
4807 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
4808 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4809 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
4811 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4812 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
4813 Change uses of L(2) to L(out).
4814 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
4815 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
4816 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
4817 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4818 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
4820 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4821 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
4823 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4824 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
4825 (RETURN): Do not use macro LEAVE.
4826 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
4827 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
4828 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
4829 * sysdeps/i386/i686/memset.S (memset): Likewise.
4830 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
4831 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
4832 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4833 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
4835 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4836 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
4837 L(1_2) and L(1_3) into L(1).
4838 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4839 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
4840 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4841 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
4842 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4843 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
4844 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
4845 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4846 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
4848 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
4849 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4850 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
4851 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
4852 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
4853 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4854 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
4855 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
4856 * sysdeps/i386/strcspn.S (strcspn): Likewise.
4857 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
4858 * sysdeps/i386/strrchr.S (strrchr): Likewise.
4859 * sysdeps/i386/strspn.S (strspn): Likewise.
4860 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
4862 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4863 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
4864 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4865 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
4867 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
4868 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4869 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
4871 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4873 2013-02-19 Jakub Jelinek <jakub@redhat.com>
4875 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
4878 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4880 * math/atest-exp.c (exp_mpn): Remove ROUND.
4881 * math/atest-exp2.c (exp_mpn): Likewise.
4882 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
4884 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
4885 * stdlib/tst-tls-atexit-lib.c: Likewise.
4886 * stdlib/tst-tls-atexit.c: Likewise.
4888 2013-02-18 Mike Frysinger <vapier@gentoo.org>
4890 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
4891 and __attribute_alloc_size__.
4893 2013-02-18 Mike Frysinger <vapier@gentoo.org>
4895 * include/programs/xmalloc.h: Change __attribute_alloc_size to
4896 __attribute_alloc_size__.
4897 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
4898 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
4900 2013-02-18 Mike Frysinger <vapier@gentoo.org>
4902 * include/programs/xmalloc.h: New file.
4903 * catgets/gencat.c: Include it.
4904 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
4905 * elf/pldd.c: Likewise.
4906 * iconv/iconv_charmap.c: Likewise.
4907 * iconv/iconvconfig.c: Likewise.
4908 * iconv/strtab.c: Likewise.
4909 * locale/programs/locale.c: Likewise.
4910 * locale/programs/localedef.h: Likewise.
4911 * locale/programs/simple-hash.c: Likewise.
4912 * nscd/nscd.h: Likewise.
4913 * nss/makedb.c: Likewise.
4914 * sysdeps/generic/ldconfig.h: Likewise.
4916 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4918 * Versions.def: Add GLIBC_2.18.
4919 * include/link.h (struct link_map): New member l_tls_dtor_count.
4920 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
4921 (__call_tls_dtors): Likewise.
4922 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
4923 __cxa_thread_atexit_impl.
4924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4932 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4933 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
4935 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
4937 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4940 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
4941 (tests): Add test case tst-tls-atexit.
4942 (modules-names): Add shared library for tst-tls-atexit.
4943 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
4944 (GLIBC_PRIVATE): Add __call_tls_dtors.
4945 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
4947 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
4948 * stdlib/tst-tls-atexit.c: New test case.
4949 * stdlib/tst-tls-atexit-lib.c: New test case.
4951 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
4953 * elf/Versions (ld): Add _dl_find_dso_for_object.
4954 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
4955 * elf/dl-open.c (_dl_find_dso_for_object): New function.
4956 (dl_open_worker): Use _dl_find_dso_for_object.
4957 * elf/dl-sym.c (do_sym): Likewise.
4958 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
4960 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4962 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
4963 Syntactic changes only.
4964 (_dl_runtime_profile): Do a tail-call to the resolved function.
4966 2013-02-17 Joseph Myers <joseph@codesourcery.com>
4969 * sysdeps/x86_64/bp-asm.h: Remove file.
4970 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
4971 <bp-sym.h> and <bp-asm.h>.
4972 (__clone): Do not use BP_SYM.
4973 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
4974 <bp-sym.h> and <bp-asm.h>.
4975 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4976 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
4978 (_setjmp): Do not use BP_SYM.
4979 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
4981 (setjmp): Do not use BP_SYM.
4982 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
4984 (mempcpy): Do not use BP_SYM in weak_alias.
4985 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
4987 (strchr): Do not use BP_SYM.
4988 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
4990 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
4991 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
4992 (_start): Do not use BP_SYM.
4993 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
4995 (strcat): Do not use BP_SYM.
4996 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
4998 (STRCMP): Do not use BP_SYM.
4999 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
5001 (STRCPY): Do not use BP_SYM.
5002 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
5004 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
5006 (FUNCTION): Do not use BP_SYM.
5007 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
5009 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
5011 2013-02-17 Andreas Jaeger <aj@suse.de>
5013 * time/Versions: Sort entries.
5014 * string/Versions: Likewise.
5015 * resolv/Versions: Likewise.
5016 * posix/Versions: Likewise.
5017 * iconv/Versions: Likewise.
5018 * elf/Versions: Likewise.
5019 * wcsmbs/Versions: Likewise.
5021 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5023 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
5024 loop termination condition.
5026 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
5027 variable to calculate EZ.
5030 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
5031 the lower precision input.
5033 2013-02-15 Joseph Myers <joseph@codesourcery.com>
5036 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
5037 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
5038 (run-via-rtld-prefix): Do not handle %-bp tests.
5039 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
5040 (all-object-suffixes): Remove .ob.
5041 (bppfx): Remove variable.
5042 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
5043 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
5044 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
5045 [$(build-bounded) = yes] (libtype.ob): Likewise.
5046 * Makerules (elide-routines.ob): Remove variable.
5047 (do-tests-clean): Do not handle *-bp.out.
5048 (common-mostlyclean): Do not handle *-bp and *-bp.out.
5049 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
5050 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
5051 (tests): Do not include $(tests-bp.out).
5052 (xtests): Do not include $(xtests-bp.out).
5053 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
5054 [$(build-bounded) = yes] ($(addprefix
5055 $(objpfx),$(binaries-bounded))): Remove rule.
5056 ($(objpfx)%-bp.out): Remove rule.
5057 * config.make.in (build-bounded): Remove variable.
5058 * crypt/Makefile [$(build-bounded) = yes]
5059 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
5060 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
5062 [$(build-bounded) = yes] (install-lib): Likewise.
5063 [$(build-bounded) = yes] (generated): Likewise.
5064 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
5066 * intl/Makefile [$(build-bounded) = yes]
5067 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
5068 * math/Makefile [$(build-bounded) = yes]
5069 ($(tests:%=$(objpfx)%-bp): Likewise.
5070 * misc/Makefile [$(build-bounded) = yes]
5071 ($(objpfx)tst-tsearch-bp): Likewise.
5072 * nptl/Makeconfig (bounded-thread-library): Remove variable.
5073 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
5075 * string/Makefile (o-objects.ob): Remove variable.
5076 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
5077 (CFLAGS-.ob): Remove variable.
5078 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
5079 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
5080 both definitions of variable.
5081 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
5082 (ASFLAGS-.ob): Remove variable.
5084 2013-02-14 Joseph Myers <joseph@codesourcery.com>
5087 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
5088 Remove __BOUNDED_POINTERS__ from condition.
5089 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
5090 * string/bits/string2.h [!__NO_STRING_INLINES &&
5091 !__BOUNDED_POINTERS__]: Likewise.
5092 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
5094 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
5095 Remove conditional code.
5096 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
5097 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
5098 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
5102 * csu/libc-start.c: Do not include <bp-sym.h>.
5103 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
5104 * elf/dl-open.c: Do not include <bp-sym.h>.
5105 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
5106 * math/fegetenv.c: Do not include <bp-sym.h>.
5107 (fegetenv): Do not use BP_SYM in versioned symbols.
5108 * nptl/sysdeps/pthread/bits/libc-lockP.h
5109 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
5111 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5112 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
5113 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5114 (__pthread_mutex_destroy): Likewise.
5115 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5116 (__pthread_mutex_lock): Likewise.
5117 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5118 (__pthread_mutex_trylock): Likewise.
5119 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5120 (__pthread_mutex_unlock): Likewise.
5121 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5122 (__pthread_mutexattr_init): Likewise.
5123 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5124 (__pthread_mutexattr_destroy): Likewise.
5125 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5126 (__pthread_mutexattr_settype): Likewise.
5127 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5128 (__pthread_rwlock_init): Likewise.
5129 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5130 (__pthread_rwlock_destroy): Likewise.
5131 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5132 (__pthread_rwlock_rdlock): Likewise.
5133 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5134 (__pthread_rwlock_tryrdlock): Likewise.
5135 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5136 (__pthread_rwlock_wrlock): Likewise.
5137 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5138 (__pthread_rwlock_trywrlock): Likewise.
5139 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5140 (__pthread_rwlock_unlock): Likewise.
5141 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5142 (__pthread_key_create): Likewise.
5143 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5144 (__pthread_setspecific): Likewise.
5145 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5146 (__pthread_getspecific): Likewise.
5147 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
5149 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5150 (_pthread_cleanup_push_defer): Likewise.
5151 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5152 (_pthread_cleanup_pop_restore): Likewise.
5153 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5154 (pthread_setcancelstate): Likewise.
5155 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
5157 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
5158 (memchr): Do not use BP_SYM in weak_alias.
5159 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
5160 (fegetenv): Do not use BP_SYM in versioned symbols.
5161 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
5162 (fesetenv): Do not use BP_SYM in versioned symbols.
5163 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5164 (feupdateenv): Do not use BP_SYM in versioned symbols.
5165 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5166 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5167 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
5168 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
5169 (open64): Do not use BP_SYM in weak_alias.
5170 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
5171 (fegetenv): Do not use BP_SYM in versioned symbols.
5172 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
5173 (fesetenv): Do not use BP_SYM in versioned symbols.
5174 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5175 (feupdateenv): Do not use BP_SYM in versioned symbols.
5176 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
5177 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
5178 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
5179 (feraiseexcept): Do not use BP_SYM in versioned symbols.
5180 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5181 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5182 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
5184 (__libc_start_main): Do not use BP_SYM.
5186 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5188 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
5189 redundant return line.
5193 (sub_magnitudes): Likewise.
5199 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
5203 (sub_magnitudes): Likewise.
5210 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
5212 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5213 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
5216 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
5217 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
5218 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
5219 of __mul for squares.
5220 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
5222 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
5224 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
5225 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5227 2013-02-13 Joseph Myers <joseph@codesourcery.com>
5230 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
5232 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
5233 prototype or function definition. Rename ubp_* variables and
5234 parameters. Remove argv definitions conditional on
5235 [__BOUNDED_POINTERS__].
5236 * debug/backtrace.c (__backtrace): Do not use __unbounded.
5237 * elf/dl-runtime.c (_dl_fixup): Likewise.
5238 * include/set-hooks.h (RUN_HOOK): Likewise.
5239 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
5241 * string/strcpy.c (strcpy): Do not use __unbounded.
5242 * sysdeps/generic/frame.h (struct layout): Likewise.
5243 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
5244 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
5245 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
5246 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
5247 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
5248 (__backtrace): Likewise.
5249 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
5251 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5252 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5253 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5255 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
5256 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
5257 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5258 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5259 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
5260 Do not use __unbounded.
5261 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
5262 Rename __unboundedrlimits parameter to rlimits in prototype.
5263 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
5264 Do not use __unbounded.
5265 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
5267 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5268 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
5269 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5270 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
5271 __ptrvalue or __unbounded.
5272 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
5273 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
5275 (__new_msgctl): Do not use __ptrvalue.
5276 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
5278 (__libc_msgrcv): Do not use __ptrvalue.
5279 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
5280 startup_info): Do not use __unbounded.
5281 (__libc_start_main): Likewise. Rename ubp_* variables and
5282 parameters. Remove argv definitions conditional on
5283 [__BOUNDED_POINTERS__].
5284 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
5286 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
5288 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
5290 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
5292 (__new_shmctl): Do not use __ptrvalue.
5293 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
5294 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
5296 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
5297 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
5298 (__libc_sigaction): Likewise.
5299 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
5300 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
5302 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5304 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
5306 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
5308 * string/mempcpy.c: Implement by calling memcpy.
5310 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5312 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
5314 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
5317 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
5318 values in the mantissa.
5320 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
5321 minimize writes to Z.
5322 (sub_magnitudes): Simplify code a bit.
5324 2013-02-12 Roland McGrath <roland@hack.frob.com>
5326 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
5327 from the message. The linker prefixes all warnings with that already.
5329 2013-02-12 Andreas Schwab <schwab@suse.de>
5332 * posix/regexec.c (extend_buffers): Add parameter min_len.
5333 (check_matching): Pass minimum needed length.
5334 (clean_state_log_if_needed): Likewise.
5335 (get_subexp): Likewise.
5336 * posix/Makefile (tests): Add bug-regex34.
5337 (bug-regex34-ENV): Define.
5338 * posix/bug-regex34.c: New file.
5341 * posix/regcomp.c (parse_bracket_exp): When looking up collating
5342 elements compare against the byte sequence of it, not its name.
5343 * posix/Makefile (tests): Add bug-regex35.
5344 (bug-regex35-ENV): Define.
5345 * posix/bug-regex35.c: New file.
5347 2013-02-11 Tom de Vries <tom@codesourcery.com>
5349 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
5351 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
5352 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
5353 (CHECK_EOL): Add undef.
5355 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
5357 * bits/stdlib-bsearch.h: New file.
5358 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
5359 * stdlib/stdlib.h: Likewise.
5361 2013-02-11 Roland McGrath <roland@hack.frob.com>
5363 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
5364 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
5366 * manual/search.texi (Array Search Function): Add missing const in
5368 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
5369 declaration to use rlim_t.
5370 (Basic Scheduling Functions): Remove erroneous const from
5371 sched_getparam prototype. Remove erroneous * from
5372 sched_get_priority_max and sched_get_priority_min prototypes.
5373 (Resource Usage): Fix summary @comment on vtimes to refer to
5374 sys/vtimes.h rather than vtimes.h.
5375 Add missing *s in vtimes prototype.
5376 (Limits on Resources): Fix ulimit prototype to return long int.
5377 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
5378 prototypes to use long int rather than double.
5379 (BSD Random): Fix initstate and setstate to use char *, not void *.
5380 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
5381 prototype to make second argument 'struct aiocb64 *const[]'.
5382 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
5383 (Status of AIO Operations): Remove erroneous const in aio_return and
5384 aio_return64 prototypes.
5385 (Synchronizing I/O): Fix sync prototype to return void.
5386 * manual/startup.texi (Suboptions): Remove an erroneous const in
5387 getsubopt prototype.
5388 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
5389 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
5390 use size_t rather than int.
5391 (Scanning All Users): Likewise for getpwent_r.
5392 (Setting Groups): Add missing const to setgroups prototype.
5393 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
5394 * manual/socket.texi (Host Names): Fix gethostbyaddr and
5395 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
5396 'const void *' rather than 'const char *'.
5397 (Host Address Functions): Likewise for inet_ntop.
5398 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
5399 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
5400 ssize_t for return value.
5401 (Sending Data): Likewise for send, sendto, sendmsg.
5402 (Socket Option Functions): Add a missing const in setsockopt prototype.
5403 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
5404 use wchar_t for the argument.
5405 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
5406 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
5408 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
5409 double/float/long double for second argument.
5410 Fix return types of significand, significandf, significandl.
5411 * manual/filesys.texi (Setting Permissions): Use mode_t for second
5412 argument in fchmod prototype.
5413 (File Owner): Use uid_t and gid_t in fchown prototype.
5414 (File Times): Add const to utimes, futimes, and lutimes prototypes.
5415 (Making Special Files): Use mode_t and dev_t in mknod prototype.
5416 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
5417 use 'const struct dirent **' as argument types to CMP function pointer
5419 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
5420 (File Times): Fix summary magic @comment for struct utimbuf and utime
5421 to refer to utime.h, not time.h.
5422 * manual/string.texi (Argz Functions): Add missing const in
5423 argz_extract and argz_next prototypes.
5424 (Finding Tokens in a String): Likewise for basename.
5425 (String/Array Comparison): Fix typo in wcscasecmp prototype.
5426 (Copying and Concatenation): Fix typo in wmemmove prototype.
5427 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
5428 (Signal Stack): Remove erroneous const in sigstack prototype.
5429 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
5431 (Simple Calendar Time): Likewise for stime.
5432 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
5434 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
5435 say sys/sysctl.h instead.
5436 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
5437 and vsyslog prototypes.
5439 2013-02-11 Tom de Vries <tom@codesourcery.com>
5441 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
5444 2013-02-11 Roland McGrath <roland@hack.frob.com>
5446 * misc/sys/mman.h: Fix typo in mremap comment.
5448 2013-02-08 Roland McGrath <roland@hack.frob.com>
5450 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
5451 the '\0' terminator.
5453 2013-02-08 Joseph Myers <joseph@codesourcery.com>
5456 * debug/segfault.c: Don't include <bp-checks.h>.
5457 * sysdeps/generic/bp-checks.h: Remove file.
5458 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
5459 (__GETDENTS): Don't use CHECK_N.
5460 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
5461 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5462 (__getgroups): Don't use CHECK_N.
5463 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5464 (setgroups): Don't use CHECK_N.
5465 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
5466 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
5467 (__libc_msgrcv): Don't use CHECK_N.
5468 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
5469 (__libc_msgsnd): Don't use CHECK_N.
5470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
5472 (__libc_pread): Don't use CHECK_N.
5473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
5474 include <bp-checks.h>.
5475 (__libc_pread64): Don't use CHECK_N.
5476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
5477 include <bp-checks.h>.
5478 (__libc_pwrite): Don't use CHECK_N.
5479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
5480 include <bp-checks.h>.
5481 (__libc_pwrite64): Don't use CHECK_N.
5482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
5484 (__libc_pread): Don't use CHECK_N.
5485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
5486 include <bp-checks.h>.
5487 (__libc_pread64): Don't use CHECK_N.
5488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
5489 include <bp-checks.h>.
5490 (__libc_pwrite): Don't use CHECK_N.
5491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
5492 include <bp-checks.h>.
5493 (__libc_pwrite64): Don't use CHECK_N.
5494 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
5495 (do_pread): Don't use CHECK_N.
5496 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
5497 (do_pread64): Don't use CHECK_N.
5498 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
5499 (do_pwrite): Don't use CHECK_N.
5500 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
5501 (do_pwrite64): Don't use CHECK_N.
5502 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
5503 (__libc_readv): Don't use CHECK_N.
5504 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
5505 (semop): Don't use CHECK_N.
5506 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
5508 (semtimedop): Don't use CHECK_N.
5509 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
5510 (__libc_pread): Don't use CHECK_N.
5511 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
5513 (__libc_pread64): Don't use CHECK_N.
5514 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
5516 (__libc_pwrite): Don't use CHECK_N.
5517 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
5519 (__libc_pwrite64): Don't use CHECK_N.
5520 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
5522 (__libc_msgrcv): Don't use CHECK_N.
5523 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
5524 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
5525 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
5526 (__libc_writev): Don't use CHECK_N.
5528 2013-02-08 Roland McGrath <roland@hack.frob.com>
5530 * string/strcpy.c: Removed unused variable.
5532 * Makeconfig (+sysdep-includes): Define with := rather than =.
5533 Use an existing include/ subdir of each sysdeps dir before it.
5535 2013-02-08 Carlos O'Donell <carlos@redhat.com>
5537 * nscd/connection.c (register_traced_file): Comment function.
5538 [HAVE_INOTIFY] (union __inev): Define.
5539 [HAVE_INOTIFY] (inotify_check_files): New function.
5540 [HAVE_INOTIFY] (clear_db_cache): Likewise.
5541 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
5543 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
5545 2013-02-08 Carlos O'Donell <carlos@redhat.com>
5547 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
5548 loaded if not already and that a failure is permanent.
5550 2013-02-08 Carlos O'Donell <carlos@redhat.com>
5553 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
5554 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
5556 2013-02-08 Joseph Myers <joseph@codesourcery.com>
5559 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
5560 (CHECK_1_NULL_OK): Likewise.
5561 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
5562 (__fxstat): Do not use CHECK_1.
5563 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
5565 (___fxstat64): Do not use CHECK_1.
5566 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5568 (__fxstatat): Do not use CHECK_1.
5569 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5571 (__fxstatat64): Do not use CHECK_1.
5572 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
5574 (__fxstat): Do not use CHECK_1.
5575 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5577 (__fxstatat): Do not use CHECK_1.
5578 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5580 (__getresgid): Do not use CHECK_1.
5581 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5583 (__getresuid): Do not use CHECK_1.
5584 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
5586 (__lxstat): Do not use CHECK_1.
5587 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5589 (__old_msgctl): Do not use CHECK_1.
5590 (__new_msgctl): Likewise.
5591 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
5593 (__new_setrlimit): Do not use CHECK_1.
5594 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5596 (__old_shmctl): Do not use CHECK_1.
5597 (__new_shmctl): Likewise.
5598 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
5600 (__xstat): Do not use CHECK_1.
5601 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
5602 (__lxstat): Do not use CHECK_1.
5603 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
5605 (___lxstat64): Do not use CHECK_1.
5606 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
5607 (__old_msgctl): Do not use CHECK_1.
5608 (__new_msgctl): Likewise.
5609 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
5611 (__gettimeofday): Do not use CHECK_1.
5612 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
5613 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
5614 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
5616 (__gettimeofday): Do not use CHECK_1.
5617 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
5618 (__old_shmctl): Do not use CHECK_1_NULL_OK.
5619 (__new_shmctl): Do not use CHECK_1.
5620 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
5622 (do_sigtimedwait): Do not use CHECK_1.
5623 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
5625 (do_sigwaitinfo): Do not use CHECK_1.
5626 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
5628 (msgctl): Do not use CHECK_1.
5629 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
5631 (shmctl): Do not use CHECK_1.
5632 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
5633 (ustat): Do not use CHECK_1.
5634 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
5636 (__fxstat): Do not use CHECK_1.
5637 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5639 (__fxstatat): Do not use CHECK_1.
5640 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
5642 (__lxstat): Do not use CHECK_1.
5643 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
5645 (__xstat): Do not use CHECK_1.
5646 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
5647 (__xstat): Do not use CHECK_1.
5648 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
5649 (___xstat64): Do not use CHECK_1.
5652 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
5654 (CHECK_BOUNDS_HIGH): Likewise.
5655 * string/strcpy.c: Do not include <bp-checks.h>.
5656 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
5658 2013-02-07 Roland McGrath <roland@hack.frob.com>
5660 * nscd/nscd-client.h (__nscd_drop_map_ref):
5661 Add __attribute__ ((unused)).
5662 * nis/nss-nisplus.h (niserr2nss): Likewise.
5664 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
5665 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
5667 * csu/libc-tls.c (init_static_tls, init_slotinfo):
5668 Remove inline keyword.
5669 * include/rounding-mode.h (round_away): Likewise.
5670 * libio/wfileops.c (adjust_wide_data): Likewise.
5671 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
5672 (__m128i_strloadu_tolower): Likewise.
5673 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
5674 (__m128i_strloadu_tolower): Likewise.
5675 * time/mktime.c (ydhms_diff): Likewise.
5676 * locale/elem-hash.h (elem_hash): Likewise.
5677 * locale/setlocale.c (setdata): Likewise.
5678 * posix/regex_internal.h (re_string_char_size_at): Likewise.
5679 (re_string_wchar_at): Likewise.
5680 (bitset_not, bitset_merge, bitset_mask): Likewise.
5681 [!(__GNUC__ > 3)] (inline): Remove macro.
5682 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
5683 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
5684 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
5685 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
5686 * string/memcmp.c (memcmp_bytes): Likewise.
5687 * locale/programs/locarchive.c (compute_hashval): Likewise.
5688 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
5689 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
5690 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
5691 * nss/getent.c (print_rpc, print_protocols): Likewise.
5692 (print_passwd, print_group, print_aliases): Likewise.
5693 * nis/nss-nisplus.h (niserr2nss): Likewise.
5694 * nscd/connections.c (restart_p): Likewise.
5695 Change return type to bool.
5697 2013-02-05 Roland McGrath <roland@hack.frob.com>
5699 * Makeconfig (all-Depend-files): Add existing
5700 $(sorted-subdirs:=/Depend) files.
5701 (all-subdirs): Remove nss.
5702 * sysdeps/unix/inet/Subdirs: Add it here instead.
5703 * hesiod/Depend: New file.
5705 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
5706 instead of calling alloca.
5708 * io/lseek.c (__lseek): Rename to __libc_lseek.
5709 Define __lseek as an alias.
5711 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
5713 2013-02-04 Carlos O'Donell <carlos@redhat.com>
5715 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
5716 else clause and remove check for non-standard endianness.
5718 2013-02-04 David S. Miller <davem@davemloft.net>
5720 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5722 2013-02-04 Joseph Myers <joseph@codesourcery.com>
5725 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
5726 (__ubp_memchr): Remove prototype.
5727 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
5728 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5729 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
5730 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5731 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
5733 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
5734 (__ubp_memchr): Likewise.
5735 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
5736 (__ubp_memchr): Likewise.
5737 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
5738 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
5739 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
5740 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
5742 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5743 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
5744 (__getcwd): Do not use CHECK_STRING.
5745 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5747 (__real_chown): Do not use CHECK_STRING.
5748 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
5750 (fchownat): Do not use CHECK_STRING.
5751 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
5753 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5755 (__lchown): Do not use CHECK_STRING.
5756 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5757 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5758 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5759 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5761 include <bp-checks.h>.
5762 (truncate64): Do not use CHECK_STRING.
5763 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5765 (__real_chown): Do not use CHECK_STRING.
5766 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5768 (__lchown): Do not use CHECK_STRING.
5769 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5771 (__chown): Do not use CHECK_STRING.
5772 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
5774 (truncate64): Do not use CHECK_STRING.
5775 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
5777 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
5778 (__xmknod): Do not use CHECK_STRING.
5779 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5781 (__xmknodat): Do not use CHECK_STRING.
5782 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5783 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
5785 2013-02-04 Andreas Schwab <schwab@suse.de>
5788 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
5789 * include/netdb.h: Likewise for h_errno.
5790 * elf/tst-stackguard1.c: Include <tls.h>.
5792 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5794 * elf/link.h (struct link_map): Extend the l_addr comment.
5795 * include/link.h (struct link_map): Likewise.
5797 2013-02-01 Joseph Myers <joseph@codesourcery.com>
5800 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
5801 (BOUNDED_1): Remove macro.
5802 * debug/backtrace.c: Don't include <bp-checks.h>.
5803 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
5804 (__backtrace): Likewise.
5805 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
5807 (__backtrace): Don't use BOUNDED_1.
5808 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
5810 (__backtrace): Don't use BOUNDED_1.
5811 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
5812 (__backtrace): Don't use BOUNDED_1.
5813 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
5814 (shmat): Don't use BOUNDED_N.
5816 2013-01-31 Joseph Myers <joseph@codesourcery.com>
5819 * sysdeps/generic/bp-start.h: Remove file.
5820 * csu/libc-start.c: Don't include <bp-start.h>.
5821 (LIBC_START_MAIN): Set up __environ directly instead of using
5822 INIT_ARGV_and_ENVIRON.
5823 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
5827 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
5829 (CHECK_FCNTL): Likewise.
5830 (CHECK_N_PAGES): Likewise.
5833 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
5835 (CHECK_SIGSET_NULL_OK): Likewise.
5836 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
5838 (sigpending): Don't use CHECK_SIGSET.
5839 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
5841 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5842 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
5844 (do_sigsuspend): Don't use CHECK_SIGSET.
5845 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
5847 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
5848 (do_sigwait): Don't use CHECK_SIGSET.
5849 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
5851 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
5852 include <bp-checks.h>.
5853 (sigpending): Don't use CHECK_SIGSET.
5854 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
5855 include <bp-checks.h>.
5856 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5857 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
5859 (sigpending): Don't use CHECK_SIGSET.
5860 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
5862 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5865 * sysdeps/generic/bp-semctl.h: Remove file.
5866 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
5867 <bp-checks.h> and <bp-semctl.h>.
5868 (__old_semctl): Don't use CHECK_SEMCTL.
5869 (__new_semctl): Likewise.
5870 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
5872 (__old_semctl): Don't use CHECK_SEMCTL.
5873 (__new_semctl): Likewise.
5874 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
5875 <bp-checks.h> and <bp-semctl.h>.
5876 (__old_semctl): Don't use CHECK_SEMCTL.
5877 (__new_semctl): Likewise.
5878 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
5879 <bp-checks.h> and <bp-semctl.h>.
5880 (semctl): Don't use CHECK_SEMCTL.
5883 * Makerules (elide-bp-thunks): Remove variable.
5884 (elide-routines.oS): Don't use $(elide-bp-thunks).
5885 (elide-routines.os): Likewise.
5886 (elide-routines.o): Likewise.
5887 (elide-routines.op): Likewise.
5888 (elide-routines.og): Likewise.
5889 (objects): Don't use $(bp-thunks).
5890 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
5892 (common-generated): Do not add s-proto-bp.d.
5893 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
5896 Do not generate makefile rules for bounded-pointer thunks.
5897 * sysdeps/generic/bp-thunks.h: Remove file.
5898 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
5899 * sysdeps/unix/s-proto-bp.S: Likewise.
5902 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
5903 parts of result separately when argument is not close to line from
5904 -i to i and one part of argument is small.
5905 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5906 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5907 * math/libm-test.inc (cacos_test): Add more tests.
5908 (casin_test): Likewise.
5909 (casinh_test): Likewise.
5910 * sysdeps/i386/fpu/libm-test-ulps: Update.
5911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5913 2013-01-31 David S. Miller <davem@davemloft.net>
5915 * po/de.po: Update from translation team.
5917 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
5919 * time/tzfile.c: Include stdint.h for SIZE_MAX.
5921 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
5923 * configure.in (_AC_PROG_CC_C89): New definition.
5924 * configure: Regenerate.
5926 * configure.in (AC_PROG_CPP): New definition.
5927 * configure: Regenerate.
5929 2013-01-23 Joseph Myers <joseph@codesourcery.com>
5931 * debug/tst-backtrace.h: New file.
5932 * debug/tst-backtrace2.c: Include tst-backtrace.h.
5933 (ret): Remove variable.
5935 (FAIL): Remove macro.
5936 (NO_INLINE): Likewise.
5937 (fn1): Use match function instead of strstr.
5938 * debug/tst-backtrace3.c: Include tst-backtrace.h.
5939 (ret): Remove variable.
5941 (FAIL): Remove macro.
5942 (NO_INLINE): Likewise.
5943 (fn): Use match function instead of strstr.
5944 * debug/tst-backtrace4.c: Include tst-backtrace.h.
5945 (ret): Remove variable.
5947 (FAIL): Remove macro.
5948 (NO_INLINE): Likewise.
5949 (handle_signal): Use match function instead of strstr.
5950 * debug/tst-backtrace5.c: Include tst-backtrace.h.
5951 (ret): Remove variable.
5953 (FAIL): Remove macro.
5954 (NO_INLINE): Likewise.
5955 (handle_signal): Use match function instead of strstr.
5957 2013-01-23 Roland McGrath <roland@hack.frob.com>
5959 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
5961 2013-01-23 David S. Miller <davem@davemloft.net>
5963 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
5964 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
5965 argument of CAS if possible.
5966 * sysdeps/sparc/sparc64/bits/atomic.h
5967 (__arch_compare_and_exchange_val_32_acq): Likewise.
5968 (__arch_compare_and_exchange_val_64_acq): Likewise.
5970 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
5972 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
5973 * sysdeps/posix/ulimit.c: ... this.
5975 * sysdeps/unix/bsd/ulimit.c: Remove file.
5977 2013-01-23 Adam Conrad <adconrad@0c3.net>
5979 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
5980 (LDFLAGS-tst-array5): Likewise.
5982 2013-01-23 Joseph Myers <joseph@codesourcery.com>
5985 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
5986 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
5987 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
5988 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
5990 2013-01-21 David S. Miller <davem@davemloft.net>
5992 * sysdeps/sparc/backtrace.c: New file.
5993 * sysdeps/sparc/sparc32/backtrace.h: New file.
5994 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
5995 * sysdeps/sparc/sparc64/backtrace.h: New file.
5996 * sysdeps/sparc/sparc64/backtrace.c: Delete.
5997 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
6000 2013-01-21 Andreas Schwab <schwab@suse.de>
6003 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
6006 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
6008 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
6010 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6012 2013-01-18 Joseph Myers <joseph@codesourcery.com>
6013 Mark Mitchell <mark@codesourcery.com>
6014 Tom de Vries <tom@codesourcery.com>
6015 Paul Pluzhnikov <ppluzhnikov@google.com>
6017 * debug/tst-backtrace2.c: New file.
6018 * debug/tst-backtrace3.c: Likewise.
6019 * debug/tst-backtrace4.c: Likewise.
6020 * debug/tst-backtrace5.c: Likewise.
6021 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
6022 (CFLAGS-tst-backtrace3.c): Likewise.
6023 (CFLAGS-tst-backtrace4.c): Likewise.
6024 (CFLAGS-tst-backtrace5.c): Likewise.
6025 (LDFLAGS-tst-backtrace2): Likewise.
6026 (LDFLAGS-tst-backtrace3): Likewise.
6027 (LDFLAGS-tst-backtrace4): Likewise.
6028 (LDFLAGS-tst-backtrace5): Likewise.
6029 (tests): Add new tests tst-backtrace2, tst-backtrace3,
6030 tst-backtrace4 and tst-backtrace5.
6032 2013-01-18 Anton Blanchard <anton@samba.org>
6033 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6035 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
6036 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
6037 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
6038 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
6039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6040 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
6041 "+r" and remove output regs list as redundant. Add explicit inline
6042 asm to specify register of return val to work around compiler codegen
6043 bug. Remove (int) cast on return value. Add return type parameter to
6044 use in macro so that this macro does not truncate return value for
6046 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
6047 pass to INTERNAL_VSYSCALL_NCS.
6048 (INLINE_VSYSCALL): Add 'long int' as return type to
6049 INTERNAL_VSYSCALL_NCS macro invocation.
6050 (INTERNAL_VSYSCALL): Add 'long int' as return type to
6051 INTERNAL_VSYSCALL_NCS macro invocation.
6052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6054 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6057 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
6058 Fix application of SIMD FP exception mask.
6060 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
6061 mp_no from a power of two.
6062 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
6063 __mpexp_twomm1. Use __pow_mp.
6065 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
6068 2013-01-17 David S. Miller <davem@davemloft.net>
6070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6072 2013-01-17 Joseph Myers <joseph@codesourcery.com>
6075 * include/complex.h: Condition contents on [!_COMPLEX_H].
6076 (__kernel_casinhf): New prototype.
6077 (__kernel_casinh): Likewise.
6078 (__kernel_casinhl): Likewise.
6079 * math/Makefile (libm_calls): Add k_casinh.
6080 * math/k_casinh.c: New file.
6081 * math/k_casinhf.c: Likewise.
6082 * math/k_casinhl.c: Likewise.
6083 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
6084 finite nonzero arguments.
6085 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
6086 finite nonzero arguments.
6087 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
6088 finite nonzero arguments.
6089 * math/s_casinh.c: Do not include <float.h>.
6090 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
6091 * math/s_casinhf.c: Do not include <float.h>.
6092 (__casinhf): Move code for finite nonzero arguments to
6094 * math/s_casinhl.c: Do not include <float.h>.
6095 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
6097 (__casinhl): Move code for finite nonzero arguments to
6099 * math/libm-test.inc (cacos_test): Add more tests.
6100 * sysdeps/i386/fpu/libm-test-ulps: Update.
6101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6103 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
6105 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
6106 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
6107 [!HAVE_MREMAP]: Remove [defined linux] case.
6108 * malloc/arena.c: Do not include <malloc-sysdep.h>.
6110 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6112 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
6114 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
6116 * elf/elf.h (R_386_SIZE32): New relocation.
6117 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
6119 (elf_machine_rela): Likewise.
6120 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6121 R_X86_64_SIZE64 and R_X86_64_SIZE32.
6123 2013-01-17 Joseph Myers <joseph@codesourcery.com>
6125 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
6126 (FP_FAST_FMA): Do not define.
6127 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
6128 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
6129 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
6130 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
6131 !_SOFT_FLOAT]: Likewise.
6132 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
6133 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
6135 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
6136 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
6137 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
6138 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
6139 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
6140 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
6143 2013-01-16 Andreas Schwab <schwab@suse.de>
6146 * include/stdlib.h (__mktemp): Add declaration.
6147 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
6148 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
6150 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6152 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
6154 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
6155 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
6156 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
6158 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
6159 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
6161 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
6163 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
6164 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
6165 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
6167 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
6168 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
6170 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
6172 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
6174 2013-01-15 David S. Miller <davem@davemloft.net>
6176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6177 trunc{,f} to libm-sysdep_routes.
6178 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
6181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
6182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
6184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
6186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
6187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
6188 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
6189 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
6190 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
6191 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
6192 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
6193 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
6195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6196 nearbyint{,f} to libm-sysdep_routes.
6197 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
6200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
6202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
6204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
6206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
6207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
6208 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
6210 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
6211 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
6213 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
6214 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
6215 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
6217 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6218 libc_feholdexcept and libc_fesetenv.
6220 2013-01-15 Mike Frysinger <vapier@gentoo.org>
6222 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
6224 2013-01-14 David S. Miller <davem@davemloft.net>
6226 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
6227 (SPARC_ASM_VIS2_IFUNC): Likewise.
6228 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
6229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
6230 use of 'siam' instruction.
6231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
6233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
6235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
6237 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
6238 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
6239 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
6240 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
6241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
6243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
6245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
6247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
6249 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
6250 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
6251 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
6252 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
6253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
6255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6259 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6260 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6261 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6262 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
6264 routines to libm-sysdep_routines.
6265 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6268 fdim/fdimf to libm-sysdep_routines.
6269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
6271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
6272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
6274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
6275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
6276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
6277 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
6278 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
6279 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
6280 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
6282 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6284 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
6287 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
6288 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6289 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6291 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
6292 local variable MPTWO.
6293 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6296 2013-01-13 Mike Frysinger <vapier@gentoo.org>
6298 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
6301 2013-01-13 Mike Frysinger <vapier@gentoo.org>
6303 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
6305 2013-01-13 Mike Frysinger <vapier@gentoo.org>
6307 * manual/pattern.texi (glob_t): Document gl_flags.
6308 (glob64_t): Likewise.
6310 2013-01-11 David S. Miller <davem@davemloft.net>
6312 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
6313 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
6314 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
6315 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
6316 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
6317 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
6318 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
6319 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
6320 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
6321 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
6322 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
6323 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
6324 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
6326 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
6327 sparc V9 rather than using V8 code.
6328 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6329 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6331 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6333 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
6336 2013-01-11 Roland McGrath <roland@hack.frob.com>
6338 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
6339 not in the main loop.
6340 * configure: Regenerated.
6342 2013-01-11 Joseph Myers <joseph@codesourcery.com>
6344 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
6345 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
6347 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
6348 [!__GLIBC_HAVE_LONG_LONG] case.
6349 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
6350 condition to just #else.
6351 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
6352 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
6353 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
6354 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
6356 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
6357 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
6358 #elif condition to just #else.
6359 * sysdeps/unix/sysv/linux/sys/sysmacros.h
6360 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
6361 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
6362 #elif condition to just #else.
6364 2013-01-11 Steve Ellcey <sellcey@mips.com>
6366 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
6367 (EF_MIPS_ARCH_64): Fix value.
6368 (EF_MIPS_ARCH_32R2): New.
6369 (EF_MIPS_ARCH_64R2): New.
6371 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
6373 * Makeconfig (+link-pie-before-libc): New.
6374 (+link-pie-after-libc): Likewise.
6375 (+link-pie-tests): Likewise.
6376 (+link-pie): Rewritten.
6377 (link-before-libc): Remove $(config-LDFLAGS).
6378 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
6379 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
6380 (config-LDFLAGS): Renamed to ...
6381 (rtld-LDFLAGS): This.
6382 (rtld-tests-LDFLAGS): New macro.
6383 (link-libc-rpath-link): Likewise.
6384 (link-libc-tests-rpath-link): Likewise.
6385 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
6386 (link-libc): Prepand $(link-libc-rpath-link).
6387 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
6388 (test-program-prefix): New macro.
6389 (test-via-rtld-prefix): Likewise.
6390 (test-program-cmd): Likewise.
6391 (host-test-program-cmd): Likewise.
6392 * Makefile ($(common-objpfx)testrun.sh): Replace
6393 $(run-program-prefix) with $(test-program-prefix).
6394 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
6396 ($(common-objpfx)shlib.lds): Likewise.
6397 (build-module-helper): Likewise.
6398 ($(common-objpfx)format.lds): Likewise.
6399 * Rules (binaries-pie-tests): New.
6400 (binaries-pie-notests): Likewise.
6401 (binaries-pie): Rewritten.
6402 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
6403 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
6404 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
6405 (make-test-out): Replace $(host-built-program-cmd) with
6406 $(host-test-program-cmd).
6407 * config.make.in (build-hardcoded-path-in-tests): New variable.
6408 * configure.in (--enable-hardcoded-path-in-tests): New configure
6410 (hardcoded_path_in_tests): New AC_SUBST.
6411 * configure: Regenerated.
6412 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
6413 $(built-program-cmd) with $(test-program-cmd).
6414 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
6415 (test_program_cmd): This.
6416 * elf/Makefile ($(objpfx)order.out): Run test with
6417 $(test-program-prefix).
6418 ($(objpfx)order2.out): Likewise.
6419 ($(objpfx)tst-initorder.out): Likewise.
6420 ($(objpfx)tst-initorder2.out): Likewise.
6421 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
6422 $(test-program-cmd).
6423 ($(objpfx)tst-array1-static.out): Likewise.
6424 ($(objpfx)tst-array2.out): Likewise.
6425 ($(objpfx)tst-array3.out): Likewise.
6426 ($(objpfx)tst-array4.out): Likewise.
6427 ($(objpfx)tst-array5.out): Likewise.
6428 ($(objpfx)tst-array5-static.out): Likewise.
6429 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
6430 $(test-program-cmd).
6431 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
6432 $(run-program-prefix) with $(test-program-prefix).
6433 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
6434 (test_program_prefix): This.
6435 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
6436 $(run-program-prefix) with $(test-program-prefix).
6437 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
6438 (test_program_prefix): This.
6439 * iconvdata/tst-tables.sh: Likewise.
6440 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
6441 $(run-program-prefix) with $(test-program-prefix).
6442 ($(objpfx)tst-translit.out): Likewise.
6443 ($(objpfx)tst-gettext2.out): Likewise.
6444 ($(objpfx)tst-gettext4.out): Likewise.
6445 ($(objpfx)tst-gettext6.out): Likewise.
6446 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
6447 (test_program_prefix): This.
6448 * intl/tst-gettext2.sh: Likewise.
6449 * intl/tst-gettext4.sh Likewise.
6450 * intl/tst-gettext6.sh: Likewise.
6451 * intl/tst-translit.sh: Likewise.
6452 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
6453 with $(test-program-cmd).
6454 * libio/Makefile ($(objpfx)test-freopen.out): Replace
6455 $(run-program-prefix) with $(test-program-prefix).
6456 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
6457 (test_program_prefix): This.
6458 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
6459 $(run-program-prefix) with $(test-program-prefix).
6460 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
6461 (test_program_prefix): This.
6462 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
6463 * posix/Makefile ($(objpfx)globtest.out): Replace
6464 $(run-via-rtld-prefix) and $(test-wrapper) with
6465 $(test-program-prefix) and $(test-via-rtld-prefix).
6466 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
6467 $(test-program-prefix).
6468 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
6469 $(host-test-program-cmd).
6470 (tst-spawn-ARGS): Likewise.
6471 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
6472 $(test-program-prefix).
6473 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
6474 (test_via_rtld_prefix): This.
6475 (test_wrapper): Renamed to ...
6476 (test_program_prefix): This.
6477 (run_program_prefix): Replaced by test_program_prefix.
6478 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
6479 (test_program_prefix): This.
6480 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
6481 with $(host-test-program-cmd).
6482 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
6483 $(run-program-prefix) with $(test-program-prefix).
6484 ($(objpfx)tst-printf.out): Likewise.
6485 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
6486 $(test-program-cmd).
6487 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
6488 (test_program_prefix): This.
6489 * stdio-common/tst-unbputc.sh: Likewise.
6490 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
6491 $(run-program-prefix) with $(test-program-prefix).
6492 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
6493 (test_program_prefix): This.
6494 * string/Makefile ($(objpfx)tst-svc.out): Replace
6495 $(built-program-cmd) with $(test-program-cmd).
6497 2013-01-11 Andreas Jaeger <aj@suse.de>
6500 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
6501 value. Sync with Linux 3.7.
6503 2013-01-10 David S. Miller <davem@davemloft.net>
6505 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
6506 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6507 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6509 2013-01-10 Roland McGrath <roland@hack.frob.com>
6511 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
6513 * configure: Regenerated.
6515 2013-01-10 David S. Miller <davem@davemloft.net>
6517 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
6518 sparc V9 rather than using V8 code.
6519 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6520 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6522 2013-01-10 Roland McGrath <roland@hack.frob.com>
6524 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
6525 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
6526 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
6527 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
6528 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
6529 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
6530 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
6531 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
6532 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
6533 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
6534 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
6535 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
6536 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
6537 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
6538 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
6539 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
6540 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
6541 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
6542 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
6543 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
6544 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
6545 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
6546 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
6547 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
6548 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
6549 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
6550 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
6552 2013-01-10 David S. Miller <davem@davemloft.net>
6554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6556 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
6558 * posix/Makefile (tests-static): New variable.
6559 (tests): Add $(tests-static).
6560 (tst-exec-static-ARGS): New variable.
6561 (tst-spawn-static-ARGS): Likewise.
6562 * posix/tst-exec-static.c: New file.
6563 * posix/tst-spawn-static.c: Likewise.
6564 * posix/tst-exec.c: Support run directly.
6565 * posix/tst-spawn.c: Likewise.
6567 2013-01-10 Joseph Myers <joseph@codesourcery.com>
6569 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
6571 * math/bits/mathcalls.h (llrint): Likewise.
6572 (llround): Likewise.
6573 * stdlib/stdlib.h (struct drand48_data): Likewise.
6574 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
6575 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
6576 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
6578 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
6580 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
6581 (elf_greg_t): Likewise.
6582 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
6583 (__jmp_buf): Likewise.
6584 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
6586 (llrint): Likewise, for all definitions.
6587 (llrintl): Likewise.
6589 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
6590 Remove [__GNUC__] condition.
6591 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
6592 condition to just [__USE_ISOC99].
6593 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
6595 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
6598 * sysdeps/unix/sysv/linux/x86/bits/environments.h
6599 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
6601 (_POSIX_V6_ILP32_OFF32): Likewise.
6602 (_XBS5_ILP32_OFF32): Likewise.
6603 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
6604 (__ILP32_OFFBIG_LDFLAGS): Likewise.
6606 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6608 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
6610 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
6611 doubles __mpexp_twomm1. Adjust usage.
6612 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
6615 2013-01-10 Andreas Schwab <schwab@suse.de>
6618 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
6619 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
6621 2013-01-09 David S. Miller <davem@davemloft.net>
6624 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
6625 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
6626 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
6627 TCP_FASTOPEN): Define.
6628 (tcp_repair_opt): New structure.
6629 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
6631 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
6632 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
6633 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
6634 (tcp_cookie_transactions): New structure.
6636 2013-01-09 Anton Blanchard <anton@samba.org>
6638 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
6639 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
6640 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
6641 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6643 2013-01-09 Joseph Myers <joseph@codesourcery.com>
6645 * include/features.h (__USE_ANSI): Remove.
6647 2013-01-09 Roland McGrath <roland@hack.frob.com>
6649 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
6651 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
6653 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6655 * sysdeps/s390/fpu/libm-test-ulps: Update.
6657 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6659 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
6664 (__mp_dbl): Likewise.
6665 (__dbl_mp): Likewise.
6666 (add_magnitudes): Likewise.
6667 (sub_magnitudes): Likewise.
6673 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
6678 (__mp_dbl): Likewise.
6679 (__dbl_mp): Likewise.
6680 (add_magnitudes): Likewise.
6681 (sub_magnitudes): Likewise.
6687 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
6692 (__mp_dbl): Likewise.
6693 (__dbl_mp): Likewise.
6694 (add_magnitudes): Likewise.
6695 (sub_magnitudes): Likewise.
6702 2013-01-08 Joseph Myers <joseph@codesourcery.com>
6704 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
6705 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
6706 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
6707 2 && __USE_EXTERN_INLINES]: Likewise.
6709 2013-01-08 Andreas Jaeger <aj@suse.de>
6712 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
6714 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6715 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6717 2013-01-07 Anton Blanchard <anton@samba.org>
6719 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
6720 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6721 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
6722 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6723 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6724 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6725 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
6726 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
6727 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6728 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6729 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6730 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6731 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6732 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6733 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6734 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6735 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6736 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6737 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6738 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6739 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6740 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
6741 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6742 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6743 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
6744 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6745 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6746 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6747 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
6748 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6749 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6750 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6751 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6752 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6753 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6754 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6755 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6756 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6757 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6758 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6759 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
6760 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6761 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6763 2013-01-07 Joseph Myers <joseph@codesourcery.com>
6765 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
6766 (__MALLOC_PMT): Likewise.
6767 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
6768 [__GNUC__], only on [_LIBC].
6769 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6770 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
6771 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6772 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
6773 forward declaration.
6774 (realloc_hook_ini): Likewise.
6775 (memalign_hook_ini): Likewise.
6776 (__libc_memalign): Do not use __MALLOC_PMT in variable
6778 (__libc_valloc): Likewise.
6779 (__libc_pvalloc): Likewise.
6780 (__libc_calloc): Likewise.
6781 (__posix_memalign): Likewise.
6784 * math/s_casinh.c: Include <float.h>.
6785 (__casinh): Do not do computation with squaring and square root
6786 for large arguments.
6787 * math/s_casinhf.c: Include <float.h>.
6788 (__casinhf): Do not do computation with squaring and square root
6789 for large arguments.
6790 * math/s_casinhl.c: Include <float.h>.
6791 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
6792 (__casinhl): Do not do computation with squaring and square root
6793 for large arguments.
6794 * math/libm-test.inc (casin_test): Add more tests.
6795 (casinh_test): Likewise.
6796 * sysdeps/i386/fpu/libm-test-ulps: Update.
6797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6799 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
6801 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
6802 (__x86_64_raw_data_cache_size): Likewise.
6803 (__x86_64_data_cache_size_half): Likewise.
6804 (__x86_64_raw_data_cache_size_half): Likewise.
6805 (__x86_64_shared_cache_size): Likewise.
6806 (__x86_64_raw_shared_cache_size): Likewise.
6807 (__x86_64_shared_cache_size_half): Likewise.
6808 (__x86_64_raw_shared_cache_size_half): Likewise.
6809 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
6811 (__x86_data_cache_size): This.
6812 (__x86_64_raw_data_cache_size): Renamed to ...
6813 (__x86_raw_data_cache_size): This.
6814 (__x86_64_data_cache_size_half): Renamed to ...
6815 (__x86_data_cache_size_half): This.
6816 (__x86_64_raw_data_cache_size_half): Renamed to ...
6817 (__x86_raw_data_cache_size_half): This.
6818 (__x86_64_shared_cache_size): Renamed to ...
6819 (__x86_shared_cache_size): This.
6820 (__x86_64_raw_shared_cache_size): Renamed to ...
6821 (__x86_raw_shared_cache_size): This.
6822 (__x86_64_shared_cache_size_half): Renamed to ...
6823 (__x86_shared_cache_size_half): This.
6824 (__x86_64_raw_shared_cache_size_half): Renamed to ...
6825 (__x86_raw_shared_cache_size_half): This.
6826 * sysdeps/x86_64/memcpy.S: Updated.
6827 * sysdeps/x86_64/memset.S: Likewise.
6828 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6829 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6830 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6832 2013-01-04 David S. Miller <davem@davemloft.net>
6834 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6836 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
6838 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
6839 1 to avoid redefinition warning.
6840 (__USE_GNU): Don't define.
6841 (init_signaling_nan): Protoize.
6843 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6845 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6847 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
6848 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
6849 (__cpymn): Likewise.
6850 (norm): Remove commented code.
6852 (__mp_dbl): Likewise.
6854 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
6855 (__cpymn): Likewise.
6856 (norm): Remove commented code.
6858 (__mp_dbl): Likewise.
6861 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
6862 mp_no value for 1.0 and 2.0.
6863 (norm): Use RADIXI instead of radixi.d.
6865 (__mul): Use 0.0 instead of zero.d.
6866 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
6867 mp_no value for 1.0 and 2.0.
6868 (norm): Use RADIXI instead of radixi.d.
6870 (__mul): Use 0.0 instead of zero.d.
6872 2013-01-04 Joseph Myers <joseph@codesourcery.com>
6875 * math/s_casinh.c (__casinh): Reduce finite argument to first
6876 quadrant then set signs of results at the end.
6877 * math/s_casinhf.c (__casinhf): Likewise.
6878 * math/s_casinhl.c (__casinhl): Likewise.
6879 * math/libm-test.inc (casin_test): Add more tests.
6880 (casinh_test): Likewise.
6881 * sysdeps/i386/fpu/libm-test-ulps: Update.
6882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6884 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6886 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
6888 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
6890 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
6893 (__mp_dbl): Likewise.
6896 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
6897 and adjust the header comment.
6899 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
6900 variable name from declaration.
6902 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
6904 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6905 Initialize COMMON_CPUID_INDEX_7 element.
6906 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
6907 (CPUID_RTM): Likewise.
6908 (HAS_RTM): Likewise.
6909 (COMMON_CPUID_INDEX_7): New enum.
6911 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
6914 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
6915 size is zero, record memory as freed.
6917 2013-01-03 Andreas Jaeger <aj@suse.de>
6919 * po/ia.po: Add new Interlingua translation.
6921 2012-01-03 Allan McRae <allan@archlinux.org>
6923 * locale/programs/localedef.c: Fix description of '--posix' flag.
6925 2013-01-02 Joseph Myers <joseph@codesourcery.com>
6927 * NEWS: Update dates in second copyright notice.
6928 * README: Update copyright dates in example.
6929 * manual/libc.texinfo: Update copyright dates.
6930 * scripts/test-installation.pl: Update copyright date in --version
6933 * hurd/ctty-input.c: Fix copyright notice formatting.
6934 * hurd/ctty-output.c: Likewise.
6935 * hurd/dtable.c: Likewise.
6936 * hurd/hurd-raise.c: Likewise.
6937 * hurd/hurdprio.c: Likewise.
6938 * hurd/msgportdemux.c: Likewise.
6939 * misc/sys/file.h: Likewise.
6940 * misc/sys/ioctl.h: Likewise.
6941 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6942 * sysdeps/mach/hurd/chdir.c: Likewise.
6943 * sysdeps/mach/hurd/fchdir.c: Likewise.
6944 * sysdeps/mach/hurd/rename.c: Likewise.
6945 * sysdeps/mach/hurd/rmdir.c: Likewise.
6946 * sysdeps/mach/hurd/seekdir.c: Likewise.
6947 * sysdeps/mach/hurd/setsid.c: Likewise.
6948 * sysdeps/posix/wait3.c: Likewise.
6950 * All files with FSF copyright notices: Update copyright dates
6951 using scripts/update-copyrights.
6952 * intl/plural.c: Regenerated.
6953 * locale/programs/charmap-kw.h: Likewise.
6954 * locale/programs/locfile-kw.h: Likewise.
6956 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6958 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
6961 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
6962 calculation loop and add branch prediction.
6964 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
6965 check access beyond bounds of m1np.
6967 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
6969 (__inv): Remove local variable MPTWO to use the global
6971 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
6972 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
6974 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
6975 MP3HALFS static const.
6977 2013-01-01 David S. Miller <davem@davemloft.net>
6979 * po/ca.po: Update from translation team.
6981 2013-01-01 Joseph Myers <joseph@codesourcery.com>
6983 * scripts/update-copyrights: New file.
6984 * Makeconfig: Reformat copyright notice.
6985 * ctype/ctype.h: Likewise.
6986 * debug/swprintf_chk.c: Likewise.
6987 * elf/dl-cache.c: Likewise.
6988 * elf/dl-debug.c: Likewise.
6989 * elf/dl-object.c: Likewise.
6990 * grp/initgroups.c: Likewise.
6991 * hurd/Makefile: Likewise.
6992 * hurd/hurd/signal.h: Likewise.
6993 * hurd/hurdfault.c: Likewise.
6994 * hurd/hurdioctl.c: Likewise.
6995 * hurd/hurdlookup.c: Likewise.
6996 * hurd/intr-msg.c: Likewise.
6997 * iconv/gconv_open.c: Likewise.
6998 * libio/swprintf.c: Likewise.
6999 * locale/lc-ctype.c: Likewise.
7000 * locale/nl_langinfo.c: Likewise.
7001 * mach/Machrules: Likewise.
7002 * mach/Makefile: Likewise.
7003 * malloc/obstack.h: Likewise.
7004 * manual/Makefile: Likewise.
7005 * manual/tsort.awk: Likewise.
7006 * misc/bits/stab.def: Likewise.
7007 * nis/nis_print_group_entry.c: Likewise.
7008 * nis/nis_table.c: Likewise.
7009 * nis/nss_compat/compat-pwd.c: Likewise.
7010 * nis/nss_compat/compat-spwd.c: Likewise.
7011 * po/Makefile: Likewise.
7012 * posix/fnmatch.c: Likewise.
7013 * posix/regex.h: Likewise.
7014 * resolv/Makefile: Likewise.
7015 * resolv/nss_dns/dns-network.c: Likewise.
7016 * resolv/res_hconf.c: Likewise.
7017 * scripts/gen-sorted.awk: Likewise.
7018 * soft-fp/soft-fp.h: Likewise.
7019 * stdio-common/printf.h: Likewise.
7020 * stdlib/monetary.h: Likewise.
7021 * stdlib/random.c: Likewise.
7022 * stdlib/random_r.c: Likewise.
7023 * sysdeps/generic/Makefile: Likewise.
7024 * sysdeps/gnu/Makefile: Likewise.
7025 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7026 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7027 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7028 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7029 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7030 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7031 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7032 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7033 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7034 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7035 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7036 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7037 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7038 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7039 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
7040 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7041 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7042 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7043 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7044 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7045 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7046 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7047 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7048 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7049 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
7050 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7051 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7052 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
7053 * sysdeps/mach/hurd/errnos.awk: Likewise.
7054 * sysdeps/mach/hurd/fork.c: Likewise.
7055 * sysdeps/mach/hurd/getcwd.c: Likewise.
7056 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
7057 * sysdeps/mach/hurd/mmap.c: Likewise.
7058 * sysdeps/mach/hurd/utimes.c: Likewise.
7059 * sysdeps/mach/hurd/xmknod.c: Likewise.
7060 * sysdeps/posix/profil.c: Likewise.
7061 * sysdeps/posix/readdir_r.c: Likewise.
7062 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7063 * sysdeps/powerpc/bits/setjmp.h: Likewise.
7064 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
7065 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7066 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7067 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7068 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7069 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7070 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7071 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7072 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7073 * sysdeps/pthread/lio_listio.c: Likewise.
7074 * sysdeps/sparc/dl-procinfo.h: Likewise.
7075 * sysdeps/unix/i386/sysdep.S: Likewise.
7076 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
7077 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
7078 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7079 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
7080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7081 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7082 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7083 * sysdeps/unix/sysv/linux/speed.c: Likewise.
7084 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7085 * sysdeps/wordsize-32/divdi3.c: Likewise.
7086 * time/sys/time.h: Likewise.
7087 * wcsmbs/Makefile: Likewise.
7089 2013-01-01 David S. Miller <davem@davemloft.net>
7091 * po/fr.po: Update from translation team.
7093 * catgets/gencat.c: Update copyright year.
7094 * csu/version.c: Likewise.
7095 * debug/catchsegv.sh: Likewise.
7096 * debug/pcprofiledump.c: Likewise.
7097 * debug/xtrace.sh: Likewise.
7098 * elf/ldconfig.c: Likewise.
7099 * elf/ldd.bash.in: Likewise.
7100 * elf/pldd.c: Likewise.
7101 * elf/sotruss.ksh: Likewise.
7102 * elf/sprof.c: Likewise.
7103 * iconv/iconv_prog.c: Likewise.
7104 * iconv/iconvconfig.c: Likewise.
7105 * locale/programs/locale.c: Likewise.
7106 * locale/programs/localedef.c: Likewise.
7107 * login/programs/pt_chown.c: Likewise.
7108 * malloc/memusage.sh: Likewise.
7109 * malloc/memusagestat.c: Likewise.
7110 * malloc/mtrace.pl: Likewise.
7111 * nscd/nscd.c: Likewise.
7112 * nss/getent.c: Likewise.
7113 * nss/makedb.c: Likewise.
7114 * posix/getconf.c: Likewise.
7116 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7118 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
7121 2012-12-30 Mike Frysinger <vapier@gentoo.org>
7123 * math/bits/mathcalls.h (modf): Use __nonnull.
7125 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7127 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
7128 (split): Use macro CN instead of the bare value.
7129 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
7131 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
7132 instead of the bare value.
7135 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7137 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
7139 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7141 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
7143 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7144 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7145 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
7146 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7148 2012-12-28 Andreas Jaeger <aj@suse.de>
7150 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
7151 values are from Linux 3.7.
7153 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
7154 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
7156 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7158 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
7161 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
7163 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
7164 variables with preprocessor constants.
7165 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7166 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7167 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7169 2012-12-27 Bruno Haible <bruno@clisp.org>
7172 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
7175 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7177 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
7178 and use variable directly.
7179 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
7181 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7183 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
7184 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7186 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7187 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7188 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
7189 include directive. Remove local variable MPONE.
7190 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
7191 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
7192 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7194 2012-12-25 David S. Miller <davem@davemloft.net>
7196 * version.h (RELEASE): Set to "development".
7197 (VERSION): Set to "2.17.90".
7198 * NEWS: Add 2.18 section.
7200 2012-12-21 David S. Miller <davem@davemloft.net>
7202 * po/hr.po: Update from translation team.
7204 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7206 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
7208 2012-12-19 Steve Ellcey <sellcey@mips.com>
7210 * NEWS: Mention new memcpy for MIPS.
7212 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7214 * manual/contrib.texi (Contributors): Spelling correction.
7216 2012-12-15 David S. Miller <davem@davemloft.net>
7218 * po/ru.po: Update from translation team.
7220 2012-12-13 David S. Miller <davem@davemloft.net>
7222 * NEWS: Mention IFUNC testsuite enhancements.
7224 * po/pl.po: Update from translation team.
7225 * po/bg.po: Likewise.
7227 * manual/contrib.texi (Contributors): Update entries for Hongjiu
7228 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
7230 2012-12-11 David S. Miller <davem@davemloft.net>
7232 * po/sv.po: Update from translation team.
7234 * po/vi.po: Update from translation team.
7236 * po/cs.po: Update from translation team.
7238 * po/de.po: Update from translation team.
7239 * po/eo.po: Likewise.
7240 * po/nl.po: Likewise.
7242 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7245 * manual/argp.texi (Argp Helper Functions): Move node to follow
7249 * manual/conf.texi (Limits on File System Capacity): Mention if
7250 terminating null is included in the max size.
7252 2012-12-10 Andreas Jaeger <aj@suse.de>
7254 * po/cs.po: Update from translation team.
7256 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7258 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
7259 void pointer and cast to uintptr_t.
7260 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
7262 * sysdeps/s390/s390-64/memcpy.S: Likewise.
7263 * sysdeps/s390/s390-64/memset.S: Likewise.
7265 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
7268 * menual/message.texi (Message Translation): Fix typos.
7269 (Helper programs for gettext): Likewise.
7271 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
7274 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
7277 2012-12-07 David S. Miller <davem@davemloft.net>
7279 * po/libc.pot: Update.
7281 2012-12-07 Richard Henderson <rth@redhat.com>
7284 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
7285 normal/normal case to before the switch.
7286 (_FP_DIV): Likewise.
7288 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
7289 Mike Frysinger <vapier@gentoo.org>
7291 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
7292 check for __NR_fadvise64_64.
7294 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
7296 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
7297 0, not just to plain "0" as a statement.
7298 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
7301 2012-12-06 Joseph Myers <joseph@codesourcery.com>
7303 * NEWS: Use sourceware.org in Bugzilla URL.
7305 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7308 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
7310 * stdio-common/tst-put-error.c (do_test): Add newline to the
7311 padded test to ensure flush.
7313 2012-12-05 Jeff Law <law@redhat.com>
7315 * sunrpc/etc.rpc (fedfs_admin): Add entry.
7317 2012-12-05 Joseph Myers <joseph@codesourcery.com>
7319 * README: Don't refer to ports add-on as distributed separately.
7320 Mention AArch64 in list of systems supported in the ports add-on.
7322 * LICENSES: Add more non-FSF copyright and license notices.
7324 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
7327 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
7329 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
7330 10000 as width of padded output.
7332 2012-12-04 Joseph Myers <joseph@codesourcery.com>
7334 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
7336 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
7337 variable LX with __attribute__ ((unused)).
7338 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
7340 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
7341 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7342 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
7343 with __attribute__ ((unused)).
7345 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
7347 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
7349 2012-12-04 Joseph Myers <joseph@codesourcery.com>
7351 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
7352 (CFLAGS-nldbl-acos.c): New variable.
7353 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
7354 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
7355 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
7356 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
7357 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
7358 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
7359 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
7360 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
7361 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
7362 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
7363 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
7364 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
7365 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
7366 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
7367 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
7368 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
7369 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
7370 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
7371 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
7372 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
7373 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
7374 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
7375 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
7376 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
7377 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
7378 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
7379 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
7380 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
7381 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
7382 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
7383 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
7384 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
7385 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
7386 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
7387 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
7388 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
7389 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
7390 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
7391 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
7392 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
7393 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
7394 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
7395 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
7396 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
7397 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
7398 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
7399 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
7400 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
7401 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
7402 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
7403 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
7404 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
7405 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
7406 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
7407 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
7408 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
7409 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
7410 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
7411 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
7412 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
7413 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
7414 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
7415 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
7416 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
7417 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
7418 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
7419 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
7420 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
7421 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
7422 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
7423 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
7424 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
7425 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
7426 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
7427 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
7428 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
7429 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
7430 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
7431 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
7432 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
7433 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
7434 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
7435 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
7436 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
7437 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
7438 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
7439 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
7440 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
7441 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
7442 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
7443 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
7444 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
7445 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
7446 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
7447 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
7448 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
7449 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
7451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7452 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
7455 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
7456 whole low double instead of just low 47 bits when splitting values
7459 2012-12-03 Allan McRae <allan@archlinux.org>
7461 * manual/stdio.texi (Predefined Printf Handlers): Remove
7462 @hsep and @vsep usage.
7464 2012-12-03 Mike Frysinger <vapier@gentoo.org>
7466 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
7467 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
7469 2012-12-03 Jeff Law <law@redhat.com>
7471 * time/sys/time.h (settimeofday): Do not mark TV argument
7474 2012-12-01 Mike Frysinger <vapier@gentoo.org>
7476 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
7477 when currently writing and seek to current position when not.
7478 * libio/Makefile (tests): Remove bug-fclose1.
7479 * libio/bug-fclose1.c: Delete.
7481 2012-12-01 Joseph Myers <joseph@codesourcery.com>
7483 * manual/arith.texi (feenableexcept): Fix typo.
7484 (fedisableexcept): Likewise.
7486 2012-11-30 Roland McGrath <roland@hack.frob.com>
7488 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
7489 second, differently-typed declaration, rather than a cast.
7491 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7493 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
7494 * include/rpc/svc.h: ... here.
7496 2012-11-30 Aurelien Jarno <aurel32@debian.org>
7499 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
7500 depending n and resplen2 to catch cases where answer
7503 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
7505 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
7506 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
7508 2012-11-29 Mike Frysinger <vapier@gentoo.org>
7510 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
7512 2012-11-29 Roland McGrath <roland@hack.frob.com>
7514 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
7516 2012-11-28 Jeff Law <law@redhat.com>
7519 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
7520 dataset_temporary. Track alloca usage into alloca_used.
7521 If dataset is large allocate and release it via malloc/free.
7523 2012-06-04 Florian Weimer <fweimer@redhat.com>
7526 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
7528 2012-11-28 David S. Miller <davem@davemloft.net>
7530 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7532 2012-11-28 Joseph Myers <joseph@codesourcery.com>
7535 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
7536 of pi/2 rounded to nearest to 64 bits.
7537 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
7539 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
7542 2012-11-28 Jeff Law <law@redhat.com>
7543 Martin Osvald <mosvald@redhat.com>
7546 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
7547 * sunrpc/svc.c: Include time.h.
7548 (__svc_accept_failed): New function.
7549 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
7550 any reason other than EINTR, call __svc_accept_failed.
7551 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
7552 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
7554 2012-11-28 Andreas Schwab <schwab@suse.de>
7556 * scripts/abilist.awk: Also handle indirect functions in .opd
7559 2012-11-28 Joseph Myers <joseph@codesourcery.com>
7562 * sysdeps/x86/fpu/powl_helper.c: New file.
7563 * sysdeps/x86/fpu/Makefile: Likewise.
7564 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
7566 (__ieee754_powl): Use __powl_helper for finite arguments except
7567 integer exponents below 8.
7568 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
7570 (__ieee754_powl): Use __powl_helper for finite arguments except
7571 integer exponents below 8.
7572 * math/libm-test.inc (pow_test): Add more tests and enable some
7573 previously disabled tests.
7574 * sysdeps/i386/fpu/libm-test-ulps: Update.
7575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7577 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7578 Carlos O'Donell <carlos_odonell@mentor.com>
7580 * nss/makedb.c (is_prime): Assert that input is odd and greater
7581 than 4. Note that fact in a comment too.
7582 (next_prime): Add 4 to input.
7584 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7587 * libio/Makefile (tests): Add test case tst-fwrite-error.
7588 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
7589 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
7590 * libio/tst-fwrite-error.c: New test case.
7592 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
7594 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
7595 before casting to void *.
7596 * include/libc-internal.h (__pointer_type): New macro.
7597 (__integer_if_pointer_type_sub): Likewise.
7598 (__integer_if_pointer_type): Likewise.
7599 (cast_to_integer): Likewise.
7600 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
7601 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
7602 before casting to atomic64_t.
7603 (atomic_exchange_acq): Likewise.
7604 (__arch_exchange_and_add_body): Likewise.
7605 (__arch_add_body): Likewise.
7606 (atomic_add_negative): Likewise.
7607 (atomic_add_zero): Likewise.
7609 2012-11-26 Joseph Myers <joseph@codesourcery.com>
7611 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
7612 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
7613 (add_fdes): Likewise.
7614 (linear_search_fdes): Likewise.
7615 (binary_search_unencoded_fdes): Likewise.
7617 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
7619 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
7621 2012-11-24 Adam Conrad <adconrad@0c3.net>
7623 * configure.in: Autodetect C++ header directories.
7624 * configure: Regenerated.
7626 2012-11-23 Mike Frysinger <vapier@gentoo.org>
7628 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
7630 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
7632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7634 2012-11-22 Joseph Myers <joseph@codesourcery.com>
7636 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
7637 LDBL_MANT_DIG == 106]: Disable some tests.
7638 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7640 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7644 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
7645 input for small inputs. Return +/- pi/2 for large inputs.
7646 * math/libm-test.inc (atan_test): Add more tests.
7648 * sysdeps/generic/unwind-dw2-fde-glibc.c
7649 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
7650 __attribute__ ((unused)).
7653 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
7654 x * y if x and y are nonzero and z is zero.
7657 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
7658 nonzero exponents with absolute value below 0x1p-117 to +/-
7662 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
7663 up arguments below 2**-450, not just those below 2**-500.
7664 * math/libm-test.inc (hypot_test): Add another test.
7667 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7668 Return a+b for ratio over 2**120, not 2**60.
7669 * math/libm-test.inc (hypot_test): Add another test.
7671 * math/libm-test.inc (clog_test): Use
7672 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
7673 (clog10_test): Likewise.
7676 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
7678 2012-11-22 Andreas Schwab <schwab@suse.de>
7680 * sysdeps/i386/fpu/libm-test-ulps: Update.
7682 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
7684 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
7685 printf output with newline.
7687 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
7690 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
7691 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
7692 -z nodlopen, -z initfirst and -z execstack support.
7693 * configure: Regenerated.
7695 * elf/elf.h (DF_1_NODIRECT): New macro.
7696 (DF_1_IGNMULDEF): Likewise.
7697 (DF_1_NOKSYMS): Likewise.
7698 (DF_1_NOHDR): Likewise.
7699 (DF_1_EDITED): Likewise.
7700 (DF_1_NORELOC): Likewise.
7701 (DF_1_SYMINTPOSE): Likewise.
7702 (DF_1_GLOBAUDIT): Likewise.
7703 (DF_1_SINGLETON): Likewise.
7704 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
7705 DT_1_SUPPORTED_MASK bits.
7706 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
7708 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
7710 * sysdeps/unix/make-syscalls.sh: Document prefixes.
7712 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
7714 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
7717 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
7718 (sendmmsg): Move declarations...
7719 * socket/sys/socket.h: ... here.
7720 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
7721 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
7723 * socket/recvmmsg.c: ... this new file.
7724 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
7725 (sendmmsg): Rename to __sendmmsg, create weak alias and make
7726 definition of __sendmmsg hidden.
7727 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
7728 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
7729 Move ENOSYS stub into and include it from...
7730 * socket/sendmmsg.c: ... this new file.
7731 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
7732 (sysdep_routines): Move recvmmsg and sendmmsg...
7733 * socket/Makefile (routines): ... here.
7734 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
7735 (GLIBC_PRIVATE): Add __sendmmsg.
7736 * include/sys/socket.h (__sendmmsg): Add declarations.
7737 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
7740 2012-11-20 Joseph Myers <joseph@codesourcery.com>
7742 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
7743 variable I1 with __attribute__ ((unused)).
7744 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7746 2012-11-19 Joseph Myers <joseph@codesourcery.com>
7748 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
7749 DUMMY variables with __attribute__ ((unused)).
7751 * bits/byteswap.h: Include <bits/types.h>.
7752 (__bswap_64): Use __uint64_t instead of unsigned long long int.
7754 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
7756 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
7757 string_t. Do not manually set errno.
7758 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
7759 length with __strnlen. Make sure to both set errno and return it on
7762 2012-11-19 David S. Miller <davem@davemloft.net>
7764 With help from Joseph Myers.
7765 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
7766 very large arguments properly.
7767 * math/libm-test.inc (atan_test): New tests.
7768 (atan2_test): New tests.
7769 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7770 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7772 2012-11-19 Joseph Myers <joseph@codesourcery.com>
7775 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
7778 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
7779 [POSIX] (EADDRNOTAVAIL): Likewise.
7780 [POSIX] (EAFNOSUPPORT): Likewise.
7781 [POSIX] (EALREADY): Likewise.
7782 [POSIX] (ECONNABORTED): Likewise.
7783 [POSIX] (ECONNREFUSED): Likewise.
7784 [POSIX] (ECONNRESET): Likewise.
7785 [POSIX] (EDESTADDRREQ): Likewise.
7786 [POSIX] (EDQUOT): Likewise.
7787 [POSIX] (EHOSTUNREACH): Likewise.
7788 [POSIX] (EIDRM): Likewise.
7789 [POSIX] (EISCONN): Likewise.
7790 [POSIX] (ELOOP): Likewise.
7791 [POSIX] (EMULTIHOP): Likewise.
7792 [POSIX] (ENETDOWN): Likewise.
7793 [POSIX] (ENETUNREACH): Likewise.
7794 [POSIX] (ENOBUFS): Likewise.
7795 [POSIX] (ENODATA): Likewise.
7796 [POSIX] (ENOLINK): Likewise.
7797 [POSIX] (ENOMSG): Likewise.
7798 [POSIX] (ENOPROTOOPT): Likewise.
7799 [POSIX] (ENOSR): Likewise.
7800 [POSIX] (ENOSTR): Likewise.
7801 [POSIX] (ENOTCONN): Likewise.
7802 [POSIX] (ENOTSOCK): Likewise.
7803 [POSIX] (EOPNOTSUPP): Likewise.
7804 [POSIX] (EOVERFLOW): Likewise.
7805 [POSIX] (EPROTO): Likewise.
7806 [POSIX] (EPROTONOSUPPORT): Likewise.
7807 [POSIX] (EPROTOTYPE): Likewise.
7808 [POSIX] (ESTALE): Likewise.
7809 [POSIX] (ETIME): Likewise.
7810 [POSIX] (ETXTBSY): Likewise.
7811 [POSIX] (EWOULDBLOCK): Likewise.
7812 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
7813 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
7814 [POSIX] (SEEK_CUR): Likewise.
7815 [POSIX] (SEEK_END): Likewise.
7816 [POSIX || UNIX98] (mode_t): Do not require.
7817 [POSIX] (off_t): Likewise.
7818 [POSIX] (pid_t): Likewise.
7819 [POSIX] (sys/stat.h): Do not allow header.
7820 [POSIX] (unistd.h): Likewise.
7821 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
7822 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
7823 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
7824 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
7826 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
7827 sigevent): Specify elements.
7828 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
7830 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
7831 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
7833 * conform/data/cpio.h-data [POSIX]: Disable whole file.
7834 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
7835 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
7836 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
7837 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
7838 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
7839 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
7840 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
7841 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
7842 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
7843 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
7844 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
7845 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
7846 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
7848 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
7850 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
7852 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
7854 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
7855 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
7856 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
7857 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
7858 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
7859 Specify lower bound on value.
7860 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
7861 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
7862 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
7863 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
7864 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
7865 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
7866 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
7867 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
7869 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
7871 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
7872 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
7873 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
7874 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
7875 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
7876 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
7877 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
7878 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
7879 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
7880 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
7881 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
7882 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
7883 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
7884 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
7885 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
7886 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
7888 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
7890 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
7891 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
7892 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
7893 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
7894 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
7895 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
7897 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
7898 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
7899 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
7900 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
7901 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
7902 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
7903 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
7905 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
7906 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
7907 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
7908 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
7909 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
7910 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
7911 specify as optional.
7912 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
7913 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
7914 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
7915 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
7916 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
7917 [XPG3] (NL_LANGMAX): Likewise.
7918 [POSIX || XPG3] (NL_MSGMAX): Likewise.
7919 [POSIX || XPG3] (NL_NMAX): Likewise.
7920 [POSIX || XPG3] (NL_SETMAX): Likewise.
7921 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
7922 [XPG3] (NZERO): Likewise.
7923 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
7924 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
7925 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
7926 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
7927 (REG_ERANGE): Expect.
7928 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
7930 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
7931 Use (void) in prototype.
7932 [POSIX] (*_t): Allow.
7933 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
7934 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
7935 (WRDE_BADVAL): Expect.
7937 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
7939 [XPG3 || XPG4] (O_RSYNC): Likewise.
7940 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
7942 [XPG3 || XPG4] (pthread_sigmask): Likewise.
7943 [XPG3 || XPG4] (sigqueue): Likewise.
7944 [XPG3 || XPG4] (sigtimedwait): Likewise.
7945 [XPG3 || XPG4] (sigwaitinfo): Likewise.
7946 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
7947 [XPG3 || XPG4] (vsnprintf): Likewise.
7948 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
7950 [XPG3 || XPG4] (blksize_t): Likewise.
7951 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
7953 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
7954 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7955 [XPG3 || XPG4] (struct itimerspec): Likewise.
7956 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
7957 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
7958 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
7959 [XPG3 || XPG4] (clockid_t): Likewise.
7960 [XPG3 || XPG4] (timer_t): Likewise.
7961 [XPG3 || XPG4] (clock_getres): Likewise.
7962 [XPG3 || XPG4] (clock_gettime): Likewise.
7963 [XPG3 || XPG4] (clock_settime): Likewise.
7964 [XPG3 || XPG4] (nanosleep): Likewise.
7965 [XPG3 || XPG4] (timer_create): Likewise.
7966 [XPG3 || XPG4] (timer_delete): Likewise.
7967 [XPG3 || XPG4] (timer_gettime): Likewise.
7968 [XPG3 || XPG4] (timer_getoverrun): Likewise.
7969 [XPG3 || XPG4] (timer_settime): Likewise.
7970 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
7971 [XPG3 || XPG4] (getlogin_r): Likewise.
7972 [XPG3 || XPG4] (pread): Likewise.
7973 [XPG3 || XPG4] (pthread_atfork): Likewise.
7974 [XPG3 || XPG4] (pwrite): Likewise.
7977 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
7980 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
7982 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
7983 finalizing MALLSTREAM.
7985 * sysdeps/mach/hurd/syncfs.c: New file.
7987 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7990 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
7991 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
7992 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
7993 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
7994 (_nss_dns_gethostbyname4_r): Likewise.
7995 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
7996 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
7998 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
8001 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
8003 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
8005 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
8006 * elf/cache.c (print_entry): Print ",AArch64" for
8009 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
8010 * elf/cache.c (print_entry): Print ",hard-float" for
8013 2012-11-18 David S. Miller <davem@davemloft.net>
8015 With help from Joseph Myers.
8016 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
8018 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
8020 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
8021 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
8023 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8024 * math/libm-test.inc (y0_test): New tests.
8025 (y1_test): New tests.
8026 * sysdeps/i386/fpu/libm-test-ulps: Update.
8027 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8030 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
8032 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
8034 * configure: Regenerated.
8036 2012-11-17 David S. Miller <davem@davemloft.net>
8039 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
8040 nonzero exponents with absolute value below 0x1p-128 to +/-
8043 2012-11-17 Joseph Myers <joseph@codesourcery.com>
8045 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
8047 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
8049 * posix/getconf-speclist.c: New file.
8050 * posix/posix-envs.def: Likewise.
8051 * posix/confstr.c (START_ENV_GROUP): New macro.
8052 (END_ENV_GROUP): Likewise.
8053 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8054 (KNOWN_PRESENT_ENV_STRING): Likewise.
8055 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8056 (UNKNOWN_ENVIRONMENT): Likewise.
8057 (confstr): Include posix-envs.def instead of handling
8058 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
8059 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
8060 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
8061 (END_ENV_GROUP): Likewise.
8062 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8063 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8064 (UNKNOWN_ENVIRONMENT): Likewise.
8065 (__sysconf): Include posix-envs.def instead of handling associated
8066 cases directly here.
8067 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
8068 preprocessing getconf-speclist.c rather than running getconf or
8069 generating empty file.
8071 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
8073 * scripts/check-local-headers.sh: Ignore 'mach' headers.
8075 2012-11-16 Andrej Lajovic <natrij@gmail.com>
8078 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
8080 2012-11-16 David S. Miller <davem@davemloft.net>
8082 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
8083 smaller than LDBL_EPSILON/2.0L, just return xm1.
8085 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
8087 * elf/tst-array1.c (init): Set constructor priority to 1000.
8088 (fini): Set destructor priority to 1000.
8089 * elf/tst-array2dep.c: Likewise.
8091 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8094 * libio/fileops.c (_IO_new_file_write): Correctly return error.
8095 (_IO_new_file_xsputn): Also return EOF if none of the input
8096 data was written when overflow failed.
8097 * libio/iopadn.c (_IO_padn): Likewise.
8098 * libio/iowpadn.c (_IO_wpadn): Likewise.
8099 * stdio-common/tst-put-error.c: Add copyright notice.
8100 (do_test): Add case for printing padded string.
8101 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
8102 _IO_padn returned error.
8103 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
8104 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
8107 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8109 * libio/libioP.h: Add comment note that the references to C++
8110 bits are now obsolete.
8112 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8114 * math/libm-test.inc (check_complex): Use asprintf.
8116 2012-11-14 Joseph Myers <joseph@codesourcery.com>
8118 * debug/pcprofiledump.c (print_version): Update copyright year.
8119 * malloc/memusagestat.c (print_version): Likewise.
8121 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
8124 * elf/Makefile (tests): Add tst-audit8.
8125 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
8126 ($(objpfx)tst-audit8.out): New target.
8127 (tst-audit8-ENV): New variable.
8128 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
8129 audit if l_reloc_result is NULL.
8130 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
8131 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
8132 * elf/tst-audit8.c: New file.
8134 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8136 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
8137 * misc/Makefile (CFLAGS-select.c): Define.
8138 * posix/Makefile (CFLAGS-pause.c): Define.
8140 2012-11-13 David S. Miller <davem@davemloft.net>
8142 * crypt/Makefile: Move test targets after toplevel Rules
8143 inclusion. Grab any necessary sysdep routines when linking.
8144 * crypt/md5.c (md5_process_block): Remove define, we will always
8145 name it __md5_process_block.
8146 (md5_finish_ctx): Update md5_process_block call.
8147 (md5_stream): Likewise.
8148 (md5_process_bytes): Likewise.
8149 (md5_process_block): Rename to __md5_process_block and move to ...
8150 * crypt/md5-block.c: ... here.
8151 * crypt/sha256.c (sha256_process_block): Move to ...
8152 * crypt/sha256-block.c: ... here.
8153 * crypt/sha512.c (sha512_process_block): Move to ...
8154 * crypt/sha512-block.c: ... here.
8155 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
8157 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
8158 * sysdeps/sparc/sparc64/multiarch/Makefile
8159 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
8161 (localedef-aux): Add md5 crypto assembler when in locale subdir.
8162 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
8164 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
8165 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
8166 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
8167 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
8168 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
8169 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
8170 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
8171 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
8172 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
8174 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
8175 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
8177 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
8179 2012-11-13 Joseph Myers <joseph@codesourcery.com>
8181 * timezone/tzselect.ksh: Update from tzcode git revision
8182 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
8183 * timezone/zdump.c: Likewise.
8184 * timezone/zic.c: Likewise.
8185 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
8186 in TZVERSION setting, not $(PKGVERSION).
8187 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
8188 REPORT_BUGS_TO settings.
8191 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
8194 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8196 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
8197 detection to immediately after _FP_ROUND().
8198 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
8201 2012-11-11 David S. Miller <davem@davemloft.net>
8203 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
8205 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
8206 __close rather than their public counterparts.
8208 2012-11-10 Joseph Myers <joseph@codesourcery.com>
8210 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
8212 [UNIX98] (sem_timedwait): Do not expect.
8213 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
8214 [XPG4 || UNIX98] (sockatmark): Do not expect.
8215 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
8216 (clock_getcpuclockid): Do not expect.
8217 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
8218 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
8220 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
8221 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
8222 [UNIX98] (vwscanf): Likewise.
8223 [UNIX98] (vswscanf): Likewise.
8225 2012-11-09 Joseph Myers <joseph@codesourcery.com>
8227 * timezone/version.h: Remove file.
8228 * timezone/README: Do not refer to version.h.
8229 * timezone/Makefile ($(objpfx)zic.o): New dependency on
8231 ($(objpfx)zdump.o): Likewise.
8232 ($(objpfx)version.h): New target.
8234 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
8236 * timezone/README: Don't mention modification to tzselect.ksh.
8237 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
8238 work on unmodified tzselect.ksh. Substitute version numbers in
8241 * Makefile (format-me): Remove.
8242 (INSTALL): Adjust indentation. Use commands directly instead of
8245 * aclocal.m4 (ACX_PKGVERSION): New macro.
8246 (ACX_BUGURL): Likewise.
8247 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
8248 (PKGVERSION): New AC_DEFINE_UNQUOTED.
8249 (REPORT_BUGS_TO): Likewise.
8250 * configure: Regenerated.
8251 * config.h.in (PKGVERSION): New macro.
8252 (REPORT_BUGS_TO): Likewise.
8253 * config.make.in (PKGVERSION): New variable.
8254 (PKGVERSION_TEXI): Likewise.
8255 (REPORT_BUGS_TO): Likewise.
8256 (REPORT_BUGS_TEXI): Likewise.
8257 * Makefile (format-me): Use -I$(common-objpfx)manual.
8258 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
8259 ($(common-objpfx)manual/%): New target.
8260 (manual/%): Remove target.
8261 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
8262 (print_version): Use PKGVERSION.
8263 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
8264 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
8266 ($(objpfx)xtrace): Likewise.
8267 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
8268 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
8269 (print_version): Use PKGVERSION.
8270 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
8271 (do_version): Use PKGVERSION.
8272 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
8274 (common-ldd-rewrite): Likewise.
8275 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
8276 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
8277 (print_version): Use PKGVERSION.
8278 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
8279 * elf/pldd.c (argp_program_bug_address): Remove variable.
8280 (more_help): New function.
8281 (argp): Use more_help.
8282 (print_version): Use PKGVERSION.
8283 * elf/sln.c (main): Use PKGVERSION.
8284 (usage): Use REPORT_BUGS_TO.
8285 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
8286 (top level): Use PKGVERSION.
8287 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
8288 (print_version): Use PKGVERSION.
8289 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
8290 (print_version): Use PKGVERSION.
8291 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
8292 (print_version): Use PKGVERSION.
8293 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
8294 (print_version): Use PKGVERSION.
8295 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
8296 (print_version): Use PKGVERSION.
8297 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
8298 (print_version): Use PKGVERSION.
8299 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
8301 ($(objpfx)memusage): Likewise.
8302 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
8303 (do_version): Use PKGVERSION.
8304 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
8305 (print_version): Use PKGVERSION.
8306 * malloc/mtrace.pl ($PACKAGE): Remove variable.
8307 ($PKGVERSION): New variable.
8308 ($REPORT_BUGS_TO): Likewise.
8309 (usage): Use $REPORT_BUGS_TO.
8310 (top level): Use $PKGVERSION.
8311 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
8312 ($(objpfx)pkgvers.texi): New rule.
8313 ($(objpfx)stamp-pkgvers): Likewise.
8314 * manual/install.texi: Include pkgvers.texi.
8315 (--with-pkgversion): Document new configure option.
8316 (--with-bugurl): Likewise.
8317 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
8318 than necessarily for this particular distribution. Use
8319 REPORT_BUGS_TO for where to report bugs.
8320 * INSTALL: Regenerated.
8321 * manual/libc.texinfo: Include pkgvers.texi.
8322 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
8323 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
8324 (print_version): Use PKGVERSION.
8325 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
8326 (print_version): Use PKGVERSION.
8327 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
8328 (print_version): Use PKGVERSION.
8329 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
8330 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
8332 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
8333 (print_version): Use PKGVERSION.
8334 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
8335 (print_version): Use PKGVERSION.
8336 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
8339 * timezone/checktab.awk: Update from tzcode 2012i.
8340 * timezone/ialloc.c: Likewise.
8341 * timezone/private.h: Likewise.
8342 * timezone/scheck.c: Likewise.
8343 * timezone/tzfile.h: Likewise.
8344 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
8345 (TZVERSION): Hardcode tzcode version number.
8346 * timezone/zdump.c: Update from tzcode 2012i.
8347 * timezone/zic.c: Likewise.
8348 * timezone/version.h: New file.
8349 * timezone/README: Describe version.h. Update upstream location.
8352 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
8353 (mktemp): Enable declaration.
8354 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
8355 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
8356 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
8357 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
8359 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
8361 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
8363 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
8365 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
8367 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
8371 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
8372 offset in buffer as u_int32_t not u_long. Consistently use memcpy
8373 for copies of such integer values.
8374 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
8375 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
8377 2012-11-09 Andreas Jaeger <aj@suse.de>
8379 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
8380 definitions and declarations that are provided by
8381 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8383 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8385 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
8386 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
8387 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
8390 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8392 * elf/elf.h: Update comment before AArch64 relocations.
8394 2012-11-07 David S. Miller <davem@davemloft.net>
8396 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
8397 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8398 (__start_context): Declare.
8399 (__makecontext_ret): Delete.
8400 (__makecontext): Hook up __start_context instead of
8402 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
8403 (sysdep_routines): Add __start_context when in stdlib.
8405 2012-11-07 Joseph Myers <joseph@codesourcery.com>
8407 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
8408 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
8409 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
8411 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
8412 (READELF): New variable. Use it instead of hardcoded "readelf".
8414 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
8416 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
8417 * sysdeps/x86/Makefile: Here.
8418 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
8419 * sysdeps/x86/tst-xmmymm.sh: This.
8421 2012-11-07 Joseph Myers <joseph@codesourcery.com>
8423 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
8425 [UNIX98] (pthread_barrier_t): Do not expect.
8426 [UNIX98] (pthread_barrierattr_t): Likewise.
8427 [UNIX98] (pthread_spinlock_t): Likewise.
8428 [UNIX98] (pthread_barrier_destroy): Likewise.
8429 [UNIX98] (pthread_barrier_init): Likewise.
8430 [UNIX98] (pthread_barrier_wait): Likewise.
8431 [UNIX98] (pthread_barrierattr_destroy): Likewise.
8432 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
8433 [UNIX98] (pthread_barrierattr_init): Likewise.
8434 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
8435 [UNIX98] (pthread_getcpuclockid): Likewise.
8436 [UNIX98] (pthread_mutex_timedlock): Likewise.
8437 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
8438 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
8439 [UNIX98] (pthread_sigmask): Likewise.
8440 [UNIX98] (pthread_spin_destroy): Likewise.
8441 [UNIX98] (pthread_spin_init): Likewise.
8442 [UNIX98] (pthread_spin_lock): Likewise.
8443 [UNIX98] (pthread_spin_trylock): Likewise.
8444 [UNIX98] (pthread_spin_unlock): Likewise.
8445 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
8447 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
8448 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
8449 [XPG3 || XPG4] (pthread_cond_t): Likewise.
8450 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
8451 [XPG3 || XPG4] (pthread_key_t): Likewise.
8452 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
8453 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
8454 [XPG3 || XPG4] (pthread_once_t): Likewise.
8455 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
8456 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
8457 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
8458 [XPG3 || XPG4] (pthread_t): Likewise.
8460 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
8462 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
8464 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
8465 Change function return type to int.
8467 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
8468 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
8469 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
8470 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
8471 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
8472 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
8473 [!POSIX] (posix_madvise): Likewise.
8474 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
8476 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
8477 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
8479 (posix_mem_offset): Likewise.
8480 (posix_typed_mem_get_info): Likewise.
8481 (posix_typed_mem_open): Likewise.
8483 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
8484 Change condition to [XOPEN2K8].
8486 * conform/conformtest.pl: Preprocess allow-header data with -x c
8487 instead of from stdin.
8488 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
8489 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
8490 [C99-based standards] (cerfc): Likewise.
8491 [C99-based standards] (cexp2): Likewise.
8492 [C99-based standards] (cexpm1): Likewise.
8493 [C99-based standards] (clog10): Likewise.
8494 [C99-based standards] (clog1p): Likewise.
8495 [C99-based standards] (clog2): Likewise.
8496 [C99-based standards] (clgamma): Likewise.
8497 [C99-based standards] (ctgamma): Likewise.
8498 [C99-based standards] (cerff): Likewise.
8499 [C99-based standards] (cerfcf): Likewise.
8500 [C99-based standards] (cexp2f): Likewise.
8501 [C99-based standards] (cexpm1f): Likewise.
8502 [C99-based standards] (clog10f): Likewise.
8503 [C99-based standards] (clog1pf): Likewise.
8504 [C99-based standards] (clog2f): Likewise.
8505 [C99-based standards] (clgammaf): Likewise.
8506 [C99-based standards] (ctgammaf): Likewise.
8507 [C99-based standards] (cerfl): Likewise.
8508 [C99-based standards] (cerfcl): Likewise.
8509 [C99-based standards] (cexp2l): Likewise.
8510 [C99-based standards] (cexpm1l): Likewise.
8511 [C99-based standards] (clog10l): Likewise.
8512 [C99-based standards] (clog1pl): Likewise.
8513 [C99-based standards] (clog2l): Likewise.
8514 [C99-based standards] (clgammal): Likewise.
8515 [C99-based standards] (ctgammal): Likewise.
8516 * conform/data/inttypes.h-data [C99-based standards]: Include
8517 stdint.h-data. Remove all expectations for stdint.h contents.
8518 [C99-based standards] (PRI*): Do not allow.
8519 [C99-based standards] (SCN*): Likewise.
8520 [C99-based standards] (*_t): Likewise.
8521 [C99-based-standards] (PRId8): Expect macro.
8522 [C99-based-standards] (PRIi8): Likewise.
8523 [C99-based-standards] (PRIo8): Likewise.
8524 [C99-based-standards] (PRIu8): Likewise.
8525 [C99-based-standards] (PRIx8): Likewise.
8526 [C99-based-standards] (PRIX8): Likewise.
8527 [C99-based-standards] (SCNd8): Likewise.
8528 [C99-based-standards] (SCNi8): Likewise.
8529 [C99-based-standards] (SCNo8): Likewise.
8530 [C99-based-standards] (SCNu8): Likewise.
8531 [C99-based-standards] (SCNx8): Likewise.
8532 [C99-based-standards] (PRIdLEAST8): Likewise.
8533 [C99-based-standards] (PRIiLEAST8): Likewise.
8534 [C99-based-standards] (PRIoLEAST8): Likewise.
8535 [C99-based-standards] (PRIuLEAST8): Likewise.
8536 [C99-based-standards] (PRIxLEAST8): Likewise.
8537 [C99-based-standards] (PRIXLEAST8): Likewise.
8538 [C99-based-standards] (SCNdLEAST8): Likewise.
8539 [C99-based-standards] (SCNiLEAST8): Likewise.
8540 [C99-based-standards] (SCNoLEAST8): Likewise.
8541 [C99-based-standards] (SCNuLEAST8): Likewise.
8542 [C99-based-standards] (SCNxLEAST8): Likewise.
8543 [C99-based-standards] (PRIdFAST8): Likewise.
8544 [C99-based-standards] (PRIiFAST8): Likewise.
8545 [C99-based-standards] (PRIoFAST8): Likewise.
8546 [C99-based-standards] (PRIuFAST8): Likewise.
8547 [C99-based-standards] (PRIxFAST8): Likewise.
8548 [C99-based-standards] (PRIXFAST8): Likewise.
8549 [C99-based-standards] (SCNdFAST8): Likewise.
8550 [C99-based-standards] (SCNiFAST8): Likewise.
8551 [C99-based-standards] (SCNoFAST8): Likewise.
8552 [C99-based-standards] (SCNuFAST8): Likewise.
8553 [C99-based-standards] (SCNxFAST8): Likewise.
8554 [C99-based-standards] (PRId16): Likewise.
8555 [C99-based-standards] (PRIi16): Likewise.
8556 [C99-based-standards] (PRIo16): Likewise.
8557 [C99-based-standards] (PRIu16): Likewise.
8558 [C99-based-standards] (PRIx16): Likewise.
8559 [C99-based-standards] (PRIX16): Likewise.
8560 [C99-based-standards] (SCNd16): Likewise.
8561 [C99-based-standards] (SCNi16): Likewise.
8562 [C99-based-standards] (SCNo16): Likewise.
8563 [C99-based-standards] (SCNu16): Likewise.
8564 [C99-based-standards] (SCNx16): Likewise.
8565 [C99-based-standards] (PRIdLEAST16): Likewise.
8566 [C99-based-standards] (PRIiLEAST16): Likewise.
8567 [C99-based-standards] (PRIoLEAST16): Likewise.
8568 [C99-based-standards] (PRIuLEAST16): Likewise.
8569 [C99-based-standards] (PRIxLEAST16): Likewise.
8570 [C99-based-standards] (PRIXLEAST16): Likewise.
8571 [C99-based-standards] (SCNdLEAST16): Likewise.
8572 [C99-based-standards] (SCNiLEAST16): Likewise.
8573 [C99-based-standards] (SCNoLEAST16): Likewise.
8574 [C99-based-standards] (SCNuLEAST16): Likewise.
8575 [C99-based-standards] (SCNxLEAST16): Likewise.
8576 [C99-based-standards] (PRIdFAST16): Likewise.
8577 [C99-based-standards] (PRIiFAST16): Likewise.
8578 [C99-based-standards] (PRIoFAST16): Likewise.
8579 [C99-based-standards] (PRIuFAST16): Likewise.
8580 [C99-based-standards] (PRIxFAST16): Likewise.
8581 [C99-based-standards] (PRIXFAST16): Likewise.
8582 [C99-based-standards] (SCNdFAST16): Likewise.
8583 [C99-based-standards] (SCNiFAST16): Likewise.
8584 [C99-based-standards] (SCNoFAST16): Likewise.
8585 [C99-based-standards] (SCNuFAST16): Likewise.
8586 [C99-based-standards] (SCNxFAST16): Likewise.
8587 [C99-based-standards] (PRId32): Likewise.
8588 [C99-based-standards] (PRIi32): Likewise.
8589 [C99-based-standards] (PRIo32): Likewise.
8590 [C99-based-standards] (PRIu32): Likewise.
8591 [C99-based-standards] (PRIx32): Likewise.
8592 [C99-based-standards] (PRIX32): Likewise.
8593 [C99-based-standards] (SCNd32): Likewise.
8594 [C99-based-standards] (SCNi32): Likewise.
8595 [C99-based-standards] (SCNo32): Likewise.
8596 [C99-based-standards] (SCNu32): Likewise.
8597 [C99-based-standards] (SCNx32): Likewise.
8598 [C99-based-standards] (PRIdLEAST32): Likewise.
8599 [C99-based-standards] (PRIiLEAST32): Likewise.
8600 [C99-based-standards] (PRIoLEAST32): Likewise.
8601 [C99-based-standards] (PRIuLEAST32): Likewise.
8602 [C99-based-standards] (PRIxLEAST32): Likewise.
8603 [C99-based-standards] (PRIXLEAST32): Likewise.
8604 [C99-based-standards] (SCNdLEAST32): Likewise.
8605 [C99-based-standards] (SCNiLEAST32): Likewise.
8606 [C99-based-standards] (SCNoLEAST32): Likewise.
8607 [C99-based-standards] (SCNuLEAST32): Likewise.
8608 [C99-based-standards] (SCNxLEAST32): Likewise.
8609 [C99-based-standards] (PRIdFAST32): Likewise.
8610 [C99-based-standards] (PRIiFAST32): Likewise.
8611 [C99-based-standards] (PRIoFAST32): Likewise.
8612 [C99-based-standards] (PRIuFAST32): Likewise.
8613 [C99-based-standards] (PRIxFAST32): Likewise.
8614 [C99-based-standards] (PRIXFAST32): Likewise.
8615 [C99-based-standards] (SCNdFAST32): Likewise.
8616 [C99-based-standards] (SCNiFAST32): Likewise.
8617 [C99-based-standards] (SCNoFAST32): Likewise.
8618 [C99-based-standards] (SCNuFAST32): Likewise.
8619 [C99-based-standards] (SCNxFAST32): Likewise.
8620 [C99-based-standards] (PRId64): Likewise.
8621 [C99-based-standards] (PRIi64): Likewise.
8622 [C99-based-standards] (PRIo64): Likewise.
8623 [C99-based-standards] (PRIu64): Likewise.
8624 [C99-based-standards] (PRIx64): Likewise.
8625 [C99-based-standards] (PRIX64): Likewise.
8626 [C99-based-standards] (SCNd64): Likewise.
8627 [C99-based-standards] (SCNi64): Likewise.
8628 [C99-based-standards] (SCNo64): Likewise.
8629 [C99-based-standards] (SCNu64): Likewise.
8630 [C99-based-standards] (SCNx64): Likewise.
8631 [C99-based-standards] (PRIdLEAST64): Likewise.
8632 [C99-based-standards] (PRIiLEAST64): Likewise.
8633 [C99-based-standards] (PRIoLEAST64): Likewise.
8634 [C99-based-standards] (PRIuLEAST64): Likewise.
8635 [C99-based-standards] (PRIxLEAST64): Likewise.
8636 [C99-based-standards] (PRIXLEAST64): Likewise.
8637 [C99-based-standards] (SCNdLEAST64): Likewise.
8638 [C99-based-standards] (SCNiLEAST64): Likewise.
8639 [C99-based-standards] (SCNoLEAST64): Likewise.
8640 [C99-based-standards] (SCNuLEAST64): Likewise.
8641 [C99-based-standards] (SCNxLEAST64): Likewise.
8642 [C99-based-standards] (PRIdFAST64): Likewise.
8643 [C99-based-standards] (PRIiFAST64): Likewise.
8644 [C99-based-standards] (PRIoFAST64): Likewise.
8645 [C99-based-standards] (PRIuFAST64): Likewise.
8646 [C99-based-standards] (PRIxFAST64): Likewise.
8647 [C99-based-standards] (PRIXFAST64): Likewise.
8648 [C99-based-standards] (SCNdFAST64): Likewise.
8649 [C99-based-standards] (SCNiFAST64): Likewise.
8650 [C99-based-standards] (SCNoFAST64): Likewise.
8651 [C99-based-standards] (SCNuFAST64): Likewise.
8652 [C99-based-standards] (SCNxFAST64): Likewise.
8653 [C99-based-standards] (PRIdMAX): Likewise.
8654 [C99-based-standards] (PRIiMAX): Likewise.
8655 [C99-based-standards] (PRIoMAX): Likewise.
8656 [C99-based-standards] (PRIuMAX): Likewise.
8657 [C99-based-standards] (PRIxMAX): Likewise.
8658 [C99-based-standards] (PRIXMAX): Likewise.
8659 [C99-based-standards] (SCNdMAX): Likewise.
8660 [C99-based-standards] (SCNiMAX): Likewise.
8661 [C99-based-standards] (SCNoMAX): Likewise.
8662 [C99-based-standards] (SCNuMAX): Likewise.
8663 [C99-based-standards] (SCNxMAX): Likewise.
8664 [C99-based-standards] (PRIdPTR): Likewise.
8665 [C99-based-standards] (PRIiPTR): Likewise.
8666 [C99-based-standards] (PRIoPTR): Likewise.
8667 [C99-based-standards] (PRIuPTR): Likewise.
8668 [C99-based-standards] (PRIxPTR): Likewise.
8669 [C99-based-standards] (PRIXPTR): Likewise.
8670 [C99-based-standards] (SCNdPTR): Likewise.
8671 [C99-based-standards] (SCNiPTR): Likewise.
8672 [C99-based-standards] (SCNoPTR): Likewise.
8673 [C99-based-standards] (SCNuPTR): Likewise.
8674 [C99-based-standards] (SCNxPTR): Likewise.
8675 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
8677 * conform/data/stdint.h-data: Update comments to clarify
8679 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
8681 [C99-based standards] (INT8_MAX): Likewise.
8682 [C99-based standards] (INT16_MIN): Likewise.
8683 [C99-based standards] (INT16_MAX): Likewise.
8684 [C99-based standards] (INT32_MIN): Likewise.
8685 [C99-based standards] (INT32_MAX): Likewise.
8686 [C99-based standards] (INT64_MIN): Likewise.
8687 [C99-based standards] (INT64_MAX): Likewise.
8688 [C99-based standards] (UINT8_MAX): Likewise.
8689 [C99-based standards] (UINT16_MAX): Likewise.
8690 [C99-based standards] (UINT32_MAX): Likewise.
8691 [C99-based standards] (UINT64_MAX): Likewise.
8692 [C99-based standards] (INT_LEAST8_MIN): Likewise.
8693 [C99-based standards] (INT_LEAST8_MAX): Likewise.
8694 [C99-based standards] (INT_LEAST16_MIN): Likewise.
8695 [C99-based standards] (INT_LEAST16_MAX): Likewise.
8696 [C99-based standards] (INT_LEAST32_MIN): Likewise.
8697 [C99-based standards] (INT_LEAST32_MAX): Likewise.
8698 [C99-based standards] (INT_LEAST64_MIN): Likewise.
8699 [C99-based standards] (INT_LEAST64_MAX): Likewise.
8700 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
8701 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
8702 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
8703 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
8704 [C99-based standards] (INT_FAST8_MIN): Likewise.
8705 [C99-based standards] (INT_FAST8_MAX): Likewise.
8706 [C99-based standards] (INT_FAST16_MIN): Likewise.
8707 [C99-based standards] (INT_FAST16_MAX): Likewise.
8708 [C99-based standards] (INT_FAST32_MIN): Likewise.
8709 [C99-based standards] (INT_FAST32_MAX): Likewise.
8710 [C99-based standards] (INT_FAST64_MIN): Likewise.
8711 [C99-based standards] (INT_FAST64_MAX): Likewise.
8712 [C99-based standards] (UINT_FAST8_MAX): Likewise.
8713 [C99-based standards] (UINT_FAST16_MAX): Likewise.
8714 [C99-based standards] (UINT_FAST32_MAX): Likewise.
8715 [C99-based standards] (UINT_FAST64_MAX): Likewise.
8716 [C99-based standards] (INTPTR_MIN): Likewise.
8717 [C99-based standards] (INTPTR_MAX): Likewise.
8718 [C99-based standards] (UINTPTR_MAX): Likewise.
8719 [C99-based standards] (INTMAX_MIN): Likewise.
8720 [C99-based standards] (INTMAX_MAX): Likewise.
8721 [C99-based standards] (UINTMAX_MAX): Likewise.
8722 [C99-based standards] (PTRDIFF_MIN): Likewise.
8723 [C99-based standards] (PTRDIFF_MAX): Likewise.
8724 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
8725 [C99-based standards] (SIZE_MAX): Likewise.
8726 [C99-based standards] (WCHAR_MAX): Likewise.
8727 [C99-based standards] (WINT_MAX): Likewise.
8728 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
8729 constraint on value.
8730 [C99-based standards] (WCHAR_MIN): Likewise.
8731 [C99-based standards] (WINT_MIN): Likewise.
8732 [C99-based standards] (*_t): Allow.
8733 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
8734 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
8735 Include math.h-data and complex.h-data. Remove all expectations
8736 of math.h and complex.h contents.
8737 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
8739 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
8740 (struct tm): Expect tag.
8741 [C99-based-standards] (wcstof): Expect function.
8742 [C99-based-standards] (wcstold): Likewise.
8743 [C99-based-standards] (wcstoll): Likewise.
8744 [C99-based-standards] (wcstoull): Likewise.
8745 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
8746 macro-int-constant. Specify type.
8747 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
8748 constraint on value.
8749 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8751 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
8753 [ISO C standards]: Do not allow headers.
8754 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
8755 wcs[abcdefghijklmnopqrstuvwxyz]*.
8756 [ISO C standards] (*_t): Do not allow.
8757 * conform/data/wctype.h-data [C99-based standards] (iswblank):
8759 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
8760 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8762 [ISO C standards]: Do not allow headers.
8763 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
8764 is[abcdefghijklmnopqrstuvwxyz]*.
8765 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
8766 to[abcdefghijklmnopqrstuvwxyz]*.
8767 [ISO C standards] (*_t): Do not allow.
8768 * conform/data/stdalign.h-data: New file.
8769 * conform/data/stdbool.h-data: Likewise.
8770 * conform/data/stdnoreturn.h-data: Likewise.
8772 2012-11-07 Roland McGrath <roland@hack.frob.com>
8775 * manual/filesys.texi (Directory Entries): Typo fix.
8776 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
8778 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8780 * elf/elf.h (EM_AARCH64): New macro.
8781 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
8782 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
8783 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
8784 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
8785 (R_AARCH64_TLSDESC): Likewise.
8786 (NT_ARM_TLS): Likewise.
8787 (NT_ARM_HW_BREAK): Likewise.
8788 (NT_ARM_HW_WATCH): Likewise.
8790 2012-11-07 Joseph Myers <joseph@codesourcery.com>
8793 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
8794 (__ieee754_powl): Saturate nonzero exponents with absolute value
8795 below 0x1p-79 to +/- 0x1p-79.
8796 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
8797 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
8798 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
8799 nonzero exponents with absolute value below 0x1p-32 to +/-
8801 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
8802 (__ieee754_powl): Saturate nonzero exponents with absolute value
8803 below 0x1p-79 to +/- 0x1p-79.
8804 * math/libm-test.inc (pow_test): Add more tests.
8806 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8808 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
8809 _dl_s390_cap_flags with kernel. Increase string length.
8810 (_dl_s390_platforms): Add z196 and zEC12.
8812 2012-11-07 Joseph Myers <joseph@codesourcery.com>
8814 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
8815 Change XOPEN21K to XOPEN2K.
8817 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
8819 * string/memmove.c: Use memcpy when possible.
8821 2012-11-06 Andreas Jaeger <aj@suse.de>
8823 * po/eo.po: Update from translation team.
8825 2012-11-06 Joseph Myers <joseph@codesourcery.com>
8828 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
8829 exponent and small x and y exponents, scale x or y up. Increase
8830 by 2 the exponent used in scaling up.
8831 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8832 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8833 * math/libm-test.inc (fma_test): Add more tests.
8834 (fma_test_towardzero): Likewise.
8835 (fma_test_downward): Likewise.
8836 (fma_test_upward): Likewise.
8838 2012-11-05 Joseph Myers <joseph@codesourcery.com>
8841 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
8845 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
8846 namespace for names of struct fields.
8847 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
8849 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8850 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
8852 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8855 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
8857 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8859 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
8863 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
8866 2012-11-04 Joseph Myers <joseph@codesourcery.com>
8869 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
8870 definitely overflow as x * y not x * y + z.
8871 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8872 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8873 * math/libm-test.inc (fma_test): Add more tests.
8874 (fma_test_towardzero): Likewise.
8875 (fma_test_downward): Likewise.
8876 (fma_test_upward): Likewise.
8878 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8882 * include/stub-tag.h: Remove file.
8883 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
8885 * manual/maint.texi (Porting): Don't reference it.
8886 * Makerules ($(objpfx)stubs): Likewise.
8887 * dirent/closedir.c: Don't include <stub-tag.h>.
8888 * dirent/dirfd.c: Likewise.
8889 * dirent/fdopendir.c: Likewise.
8890 * dirent/getdents.c: Likewise.
8891 * dirent/getdents64.c: Likewise.
8892 * dirent/opendir.c: Likewise.
8893 * dirent/readdir.c: Likewise.
8894 * dirent/readdir64.c: Likewise.
8895 * dirent/readdir64_r.c: Likewise.
8896 * dirent/readdir_r.c: Likewise.
8897 * dirent/rewinddir.c: Likewise.
8898 * dirent/seekdir.c: Likewise.
8899 * dirent/telldir.c: Likewise.
8900 * gmon/profil.c: Likewise.
8901 * grp/setgroups.c: Likewise.
8902 * inet/if_index.c: Likewise.
8903 * io/access.c: Likewise.
8904 * io/chdir.c: Likewise.
8905 * io/chmod.c: Likewise.
8906 * io/chown.c: Likewise.
8907 * io/close.c: Likewise.
8908 * io/dup.c: Likewise.
8909 * io/dup2.c: Likewise.
8910 * io/dup3.c: Likewise.
8911 * io/euidaccess.c: Likewise.
8912 * io/faccessat.c: Likewise.
8913 * io/fchdir.c: Likewise.
8914 * io/fchmod.c: Likewise.
8915 * io/fchmodat.c: Likewise.
8916 * io/fchown.c: Likewise.
8917 * io/fchownat.c: Likewise.
8918 * io/fcntl.c: Likewise.
8919 * io/flock.c: Likewise.
8920 * io/fstatfs.c: Likewise.
8921 * io/fstatfs64.c: Likewise.
8922 * io/fstatvfs.c: Likewise.
8923 * io/fstatvfs64.c: Likewise.
8924 * io/futimens.c: Likewise.
8925 * io/fxstat.c: Likewise.
8926 * io/fxstat64.c: Likewise.
8927 * io/fxstatat.c: Likewise.
8928 * io/fxstatat64.c: Likewise.
8929 * io/getcwd.c: Likewise.
8930 * io/isatty.c: Likewise.
8931 * io/lchmod.c: Likewise.
8932 * io/lchown.c: Likewise.
8933 * io/link.c: Likewise.
8934 * io/linkat.c: Likewise.
8935 * io/lseek.c: Likewise.
8936 * io/lseek64.c: Likewise.
8937 * io/lxstat64.c: Likewise.
8938 * io/mkdir.c: Likewise.
8939 * io/mkdirat.c: Likewise.
8940 * io/mkfifo.c: Likewise.
8941 * io/mkfifoat.c: Likewise.
8942 * io/open.c: Likewise.
8943 * io/open64.c: Likewise.
8944 * io/openat.c: Likewise.
8945 * io/openat64.c: Likewise.
8946 * io/pipe.c: Likewise.
8947 * io/pipe2.c: Likewise.
8948 * io/poll.c: Likewise.
8949 * io/posix_fadvise.c: Likewise.
8950 * io/posix_fadvise64.c: Likewise.
8951 * io/posix_fallocate.c: Likewise.
8952 * io/posix_fallocate64.c: Likewise.
8953 * io/read.c: Likewise.
8954 * io/readlink.c: Likewise.
8955 * io/readlinkat.c: Likewise.
8956 * io/rmdir.c: Likewise.
8957 * io/sendfile.c: Likewise.
8958 * io/sendfile64.c: Likewise.
8959 * io/statfs.c: Likewise.
8960 * io/statfs64.c: Likewise.
8961 * io/statvfs.c: Likewise.
8962 * io/statvfs64.c: Likewise.
8963 * io/symlink.c: Likewise.
8964 * io/symlinkat.c: Likewise.
8965 * io/ttyname.c: Likewise.
8966 * io/ttyname_r.c: Likewise.
8967 * io/umask.c: Likewise.
8968 * io/unlink.c: Likewise.
8969 * io/unlinkat.c: Likewise.
8970 * io/utime.c: Likewise.
8971 * io/utimensat.c: Likewise.
8972 * io/write.c: Likewise.
8973 * io/xmknod.c: Likewise.
8974 * io/xmknodat.c: Likewise.
8975 * io/xstat.c: Likewise.
8976 * io/xstat64.c: Likewise.
8977 * login/getpt.c: Likewise.
8978 * login/grantpt.c: Likewise.
8979 * login/unlockpt.c: Likewise.
8980 * math/e_acoshl.c: Likewise.
8981 * math/e_acosl.c: Likewise.
8982 * math/e_asinl.c: Likewise.
8983 * math/e_atan2l.c: Likewise.
8984 * math/e_atanhl.c: Likewise.
8985 * math/e_coshl.c: Likewise.
8986 * math/e_expl.c: Likewise.
8987 * math/e_fmodl.c: Likewise.
8988 * math/e_gammal_r.c: Likewise.
8989 * math/e_hypotl.c: Likewise.
8990 * math/e_j0l.c: Likewise.
8991 * math/e_j1l.c: Likewise.
8992 * math/e_jnl.c: Likewise.
8993 * math/e_lgammal_r.c: Likewise.
8994 * math/e_log10l.c: Likewise.
8995 * math/e_log2l.c: Likewise.
8996 * math/e_logl.c: Likewise.
8997 * math/e_powl.c: Likewise.
8998 * math/e_rem_pio2l.c: Likewise.
8999 * math/e_sinhl.c: Likewise.
9000 * math/e_sqrtl.c: Likewise.
9001 * math/fclrexcpt.c: Likewise.
9002 * math/fedisblxcpt.c: Likewise.
9003 * math/feenablxcpt.c: Likewise.
9004 * math/fegetenv.c: Likewise.
9005 * math/fegetexcept.c: Likewise.
9006 * math/fegetround.c: Likewise.
9007 * math/feholdexcpt.c: Likewise.
9008 * math/fesetenv.c: Likewise.
9009 * math/fesetround.c: Likewise.
9010 * math/feupdateenv.c: Likewise.
9011 * math/fgetexcptflg.c: Likewise.
9012 * math/fraiseexcpt.c: Likewise.
9013 * math/fsetexcptflg.c: Likewise.
9014 * math/ftestexcept.c: Likewise.
9015 * math/k_cosl.c: Likewise.
9016 * math/k_rem_pio2l.c: Likewise.
9017 * math/k_sinl.c: Likewise.
9018 * math/k_tanl.c: Likewise.
9019 * math/s_asinhl.c: Likewise.
9020 * math/s_atanl.c: Likewise.
9021 * math/s_cbrtl.c: Likewise.
9022 * math/s_erfl.c: Likewise.
9023 * math/s_expm1l.c: Likewise.
9024 * math/s_log1pl.c: Likewise.
9025 * math/s_tanhl.c: Likewise.
9026 * misc/acct.c: Likewise.
9027 * misc/brk.c: Likewise.
9028 * misc/chflags.c: Likewise.
9029 * misc/chroot.c: Likewise.
9030 * misc/fchflags.c: Likewise.
9031 * misc/fgetxattr.c: Likewise.
9032 * misc/flistxattr.c: Likewise.
9033 * misc/fremovexattr.c: Likewise.
9034 * misc/fsetxattr.c: Likewise.
9035 * misc/fsync.c: Likewise.
9036 * misc/ftruncate.c: Likewise.
9037 * misc/futimes.c: Likewise.
9038 * misc/futimesat.c: Likewise.
9039 * misc/getdomain.c: Likewise.
9040 * misc/getdtsz.c: Likewise.
9041 * misc/gethostid.c: Likewise.
9042 * misc/gethostname.c: Likewise.
9043 * misc/getloadavg.c: Likewise.
9044 * misc/getpagesize.c: Likewise.
9045 * misc/getsysstats.c: Likewise.
9046 * misc/getxattr.c: Likewise.
9047 * misc/gtty.c: Likewise.
9048 * misc/ioctl.c: Likewise.
9049 * misc/lgetxattr.c: Likewise.
9050 * misc/listxattr.c: Likewise.
9051 * misc/llistxattr.c: Likewise.
9052 * misc/lremovexattr.c: Likewise.
9053 * misc/lsetxattr.c: Likewise.
9054 * misc/lutimes.c: Likewise.
9055 * misc/madvise.c: Likewise.
9056 * misc/mincore.c: Likewise.
9057 * misc/mlock.c: Likewise.
9058 * misc/mlockall.c: Likewise.
9059 * misc/mmap.c: Likewise.
9060 * misc/mprotect.c: Likewise.
9061 * misc/msync.c: Likewise.
9062 * misc/munlock.c: Likewise.
9063 * misc/munlockall.c: Likewise.
9064 * misc/munmap.c: Likewise.
9065 * misc/preadv.c: Likewise.
9066 * misc/preadv64.c: Likewise.
9067 * misc/ptrace.c: Likewise.
9068 * misc/pwritev.c: Likewise.
9069 * misc/pwritev64.c: Likewise.
9070 * misc/readv.c: Likewise.
9071 * misc/reboot.c: Likewise.
9072 * misc/remap_file_pages.c: Likewise.
9073 * misc/removexattr.c: Likewise.
9074 * misc/revoke.c: Likewise.
9075 * misc/select.c: Likewise.
9076 * misc/setdomain.c: Likewise.
9077 * misc/setegid.c: Likewise.
9078 * misc/seteuid.c: Likewise.
9079 * misc/sethostid.c: Likewise.
9080 * misc/sethostname.c: Likewise.
9081 * misc/setregid.c: Likewise.
9082 * misc/setreuid.c: Likewise.
9083 * misc/setxattr.c: Likewise.
9084 * misc/sstk.c: Likewise.
9085 * misc/stty.c: Likewise.
9086 * misc/swapoff.c: Likewise.
9087 * misc/swapon.c: Likewise.
9088 * misc/sync.c: Likewise.
9089 * misc/syncfs.c: Likewise.
9090 * misc/syscall.c: Likewise.
9091 * misc/truncate.c: Likewise.
9092 * misc/ualarm.c: Likewise.
9093 * misc/usleep.c: Likewise.
9094 * misc/ustat.c: Likewise.
9095 * misc/utimes.c: Likewise.
9096 * misc/vhangup.c: Likewise.
9097 * misc/writev.c: Likewise.
9098 * posix/_exit.c: Likewise.
9099 * posix/alarm.c: Likewise.
9100 * posix/execve.c: Likewise.
9101 * posix/fexecve.c: Likewise.
9102 * posix/fork.c: Likewise.
9103 * posix/fpathconf.c: Likewise.
9104 * posix/getaddrinfo.c: Likewise.
9105 * posix/getegid.c: Likewise.
9106 * posix/geteuid.c: Likewise.
9107 * posix/getgid.c: Likewise.
9108 * posix/getgroups.c: Likewise.
9109 * posix/getlogin.c: Likewise.
9110 * posix/getlogin_r.c: Likewise.
9111 * posix/getpgid.c: Likewise.
9112 * posix/getpid.c: Likewise.
9113 * posix/getppid.c: Likewise.
9114 * posix/getresgid.c: Likewise.
9115 * posix/getresuid.c: Likewise.
9116 * posix/getsid.c: Likewise.
9117 * posix/getuid.c: Likewise.
9118 * posix/glob64.c: Likewise.
9119 * posix/nanosleep.c: Likewise.
9120 * posix/pathconf.c: Likewise.
9121 * posix/pause.c: Likewise.
9122 * posix/posix_madvise.c: Likewise.
9123 * posix/pread.c: Likewise.
9124 * posix/pread64.c: Likewise.
9125 * posix/pwrite.c: Likewise.
9126 * posix/pwrite64.c: Likewise.
9127 * posix/sched_getaffinity.c: Likewise.
9128 * posix/sched_getp.c: Likewise.
9129 * posix/sched_gets.c: Likewise.
9130 * posix/sched_primax.c: Likewise.
9131 * posix/sched_primin.c: Likewise.
9132 * posix/sched_rr_gi.c: Likewise.
9133 * posix/sched_setaffinity.c: Likewise.
9134 * posix/sched_setp.c: Likewise.
9135 * posix/sched_sets.c: Likewise.
9136 * posix/sched_yield.c: Likewise.
9137 * posix/setgid.c: Likewise.
9138 * posix/setlogin.c: Likewise.
9139 * posix/setpgid.c: Likewise.
9140 * posix/setresgid.c: Likewise.
9141 * posix/setresuid.c: Likewise.
9142 * posix/setsid.c: Likewise.
9143 * posix/setuid.c: Likewise.
9144 * posix/sleep.c: Likewise.
9145 * posix/spawni.c: Likewise.
9146 * posix/sysconf.c: Likewise.
9147 * posix/times.c: Likewise.
9148 * posix/wait.c: Likewise.
9149 * posix/wait3.c: Likewise.
9150 * posix/wait4.c: Likewise.
9151 * posix/waitpid.c: Likewise.
9152 * resolv/gai_sigqueue.c: Likewise.
9153 * resource/getpriority.c: Likewise.
9154 * resource/getrlimit.c: Likewise.
9155 * resource/getrusage.c: Likewise.
9156 * resource/nice.c: Likewise.
9157 * resource/setpriority.c: Likewise.
9158 * resource/setrlimit.c: Likewise.
9159 * resource/ulimit.c: Likewise.
9160 * rt/aio_cancel.c: Likewise.
9161 * rt/aio_fsync.c: Likewise.
9162 * rt/aio_read.c: Likewise.
9163 * rt/aio_sigqueue.c: Likewise.
9164 * rt/aio_suspend.c: Likewise.
9165 * rt/aio_write.c: Likewise.
9166 * rt/clock_getres.c: Likewise.
9167 * rt/clock_gettime.c: Likewise.
9168 * rt/clock_nanosleep.c: Likewise.
9169 * rt/clock_settime.c: Likewise.
9170 * rt/lio_listio.c: Likewise.
9171 * rt/mq_close.c: Likewise.
9172 * rt/mq_getattr.c: Likewise.
9173 * rt/mq_notify.c: Likewise.
9174 * rt/mq_open.c: Likewise.
9175 * rt/mq_receive.c: Likewise.
9176 * rt/mq_send.c: Likewise.
9177 * rt/mq_setattr.c: Likewise.
9178 * rt/mq_timedreceive.c: Likewise.
9179 * rt/mq_timedsend.c: Likewise.
9180 * rt/mq_unlink.c: Likewise.
9181 * rt/shm_open.c: Likewise.
9182 * rt/shm_unlink.c: Likewise.
9183 * rt/timer_create.c: Likewise.
9184 * rt/timer_delete.c: Likewise.
9185 * rt/timer_getoverr.c: Likewise.
9186 * rt/timer_gettime.c: Likewise.
9187 * rt/timer_settime.c: Likewise.
9188 * setjmp/__longjmp.c: Likewise.
9189 * setjmp/setjmp.c: Likewise.
9190 * signal/kill.c: Likewise.
9191 * signal/killpg.c: Likewise.
9192 * signal/raise.c: Likewise.
9193 * signal/sigaction.c: Likewise.
9194 * signal/sigaltstack.c: Likewise.
9195 * signal/sigblock.c: Likewise.
9196 * signal/sigignore.c: Likewise.
9197 * signal/sigintr.c: Likewise.
9198 * signal/signal.c: Likewise.
9199 * signal/sigpause.c: Likewise.
9200 * signal/sigpending.c: Likewise.
9201 * signal/sigqueue.c: Likewise.
9202 * signal/sigreturn.c: Likewise.
9203 * signal/sigset.c: Likewise.
9204 * signal/sigsetmask.c: Likewise.
9205 * signal/sigstack.c: Likewise.
9206 * signal/sigsuspend.c: Likewise.
9207 * signal/sigtimedwait.c: Likewise.
9208 * signal/sigvec.c: Likewise.
9209 * signal/sigwait.c: Likewise.
9210 * signal/sigwaitinfo.c: Likewise.
9211 * signal/sysv_signal.c: Likewise.
9212 * socket/accept.c: Likewise.
9213 * socket/accept4.c: Likewise.
9214 * socket/bind.c: Likewise.
9215 * socket/connect.c: Likewise.
9216 * socket/getpeername.c: Likewise.
9217 * socket/getsockname.c: Likewise.
9218 * socket/getsockopt.c: Likewise.
9219 * socket/isfdtype.c: Likewise.
9220 * socket/listen.c: Likewise.
9221 * socket/recv.c: Likewise.
9222 * socket/recvfrom.c: Likewise.
9223 * socket/recvmsg.c: Likewise.
9224 * socket/send.c: Likewise.
9225 * socket/sendmsg.c: Likewise.
9226 * socket/sendto.c: Likewise.
9227 * socket/setsockopt.c: Likewise.
9228 * socket/shutdown.c: Likewise.
9229 * socket/sockatmark.c: Likewise.
9230 * socket/socket.c: Likewise.
9231 * socket/socketpair.c: Likewise.
9232 * stdio-common/ctermid.c: Likewise.
9233 * stdio-common/cuserid.c: Likewise.
9234 * stdio-common/remove.c: Likewise.
9235 * stdio-common/rename.c: Likewise.
9236 * stdio-common/renameat.c: Likewise.
9237 * stdio-common/tempname.c: Likewise.
9238 * stdlib/getcontext.c: Likewise.
9239 * stdlib/makecontext.c: Likewise.
9240 * stdlib/setcontext.c: Likewise.
9241 * stdlib/swapcontext.c: Likewise.
9242 * stdlib/system.c: Likewise.
9243 * streams/fattach.c: Likewise.
9244 * streams/fdetach.c: Likewise.
9245 * streams/getmsg.c: Likewise.
9246 * streams/getpmsg.c: Likewise.
9247 * streams/putmsg.c: Likewise.
9248 * streams/putpmsg.c: Likewise.
9249 * sysdeps/unix/bsd/getpt.c: Likewise.
9250 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
9251 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
9252 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9255 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
9256 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9257 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9258 * sysvipc/msgctl.c: Likewise.
9259 * sysvipc/msgget.c: Likewise.
9260 * sysvipc/msgrcv.c: Likewise.
9261 * sysvipc/msgsnd.c: Likewise.
9262 * sysvipc/semctl.c: Likewise.
9263 * sysvipc/semget.c: Likewise.
9264 * sysvipc/semop.c: Likewise.
9265 * sysvipc/semtimedop.c: Likewise.
9266 * sysvipc/shmat.c: Likewise.
9267 * sysvipc/shmctl.c: Likewise.
9268 * sysvipc/shmdt.c: Likewise.
9269 * sysvipc/shmget.c: Likewise.
9270 * termios/tcdrain.c: Likewise.
9271 * termios/tcflow.c: Likewise.
9272 * termios/tcflush.c: Likewise.
9273 * termios/tcgetattr.c: Likewise.
9274 * termios/tcgetpgrp.c: Likewise.
9275 * termios/tcsendbrk.c: Likewise.
9276 * termios/tcsetattr.c: Likewise.
9277 * termios/tcsetpgrp.c: Likewise.
9278 * time/adjtime.c: Likewise.
9279 * time/clock.c: Likewise.
9280 * time/getitimer.c: Likewise.
9281 * time/gettimeofday.c: Likewise.
9282 * time/setitimer.c: Likewise.
9283 * time/settimeofday.c: Likewise.
9284 * time/stime.c: Likewise.
9285 * time/time.c: Likewise.
9287 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
9289 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
9292 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
9294 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
9296 2012-11-03 Joseph Myers <joseph@codesourcery.com>
9299 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
9300 FE_TONEAREST before applying Dekker multiplication and Knuth
9301 addition. Clear inexact exceptions and check for exact zero
9303 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9304 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9305 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9306 * math/libm-test.inc (fma_test): Add more tests.
9307 (fma_test_towardzero): Likewise.
9308 (fma_test_downward): Likewise.
9309 (fma_test_upward): Likewise.
9310 * sysdeps/generic/math_private.h (default_libc_fesetround): New
9312 (libc_fesetround): New macro.
9313 (libc_fesetroundf): Likewise.
9314 (libc_fesetroundl): Likewise.
9315 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
9317 (libc_fesetround_387): Likewise.
9318 (libc_fesetroundf): New macro.
9319 (libc_fesetround): Likewise.
9320 (libc_fesetroundl): Likewise.
9321 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
9323 (libc_fesetroundf): New macro.
9324 (libc_fesetround): Likewise.
9325 (libc_fesetroundl): Likewise.
9326 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
9327 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
9328 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
9330 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
9331 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
9333 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
9334 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
9336 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
9340 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
9341 integer constant usable in #if and use that to give value to enum
9343 (FE_DIVBYZERO): Likewise.
9344 (FE_UNDERFLOW): Likewise.
9345 (FE_OVERFLOW): Likewise.
9346 (FE_INVALID): Likewise.
9347 (FE_INVALID_SNAN): Likewise.
9348 (FE_INVALID_ISI): Likewise.
9349 (FE_INVALID_IDI): Likewise.
9350 (FE_INVALID_ZDZ): Likewise.
9351 (FE_INVALID_IMZ): Likewise.
9352 (FE_INVALID_COMPARE): Likewise.
9353 (FE_INVALID_SOFTWARE): Likewise.
9354 (FE_INVALID_SQRT): Likewise.
9355 (FE_INVALID_INTEGER_CONVERSION): Likewise.
9356 (FE_TONEAREST): Likewise.
9357 (FE_TOWARDZERO): Likewise.
9358 (FE_UPWARD): Likewise.
9359 (FE_DOWNWARD): Likewise.
9360 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
9361 (FE_DIVBYZERO): Likewise.
9362 (FE_OVERFLOW): Likewise.
9363 (FE_UNDERFLOW): Likewise.
9364 (FE_INEXACT): Likewise.
9365 (FE_TONEAREST): Likewise.
9366 (FE_DOWNWARD): Likewise.
9367 (FE_UPWARD): Likewise.
9368 (FE_TOWARDZERO): Likewise.
9369 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
9370 (FE_UNDERFLOW): Likewise.
9371 (FE_OVERFLOW): Likewise.
9372 (FE_DIVBYZERO): Likewise.
9373 (FE_INVALID): Likewise.
9374 (FE_TONEAREST): Likewise.
9375 (FE_TOWARDZERO): Likewise.
9376 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
9377 (FE_OVERFLOW): Likewise.
9378 (FE_UNDERFLOW): Likewise.
9379 (FE_DIVBYZERO): Likewise.
9380 (FE_INEXACT): Likewise.
9381 (FE_TONEAREST): Likewise.
9382 (FE_TOWARDZERO): Likewise.
9383 (FE_UPWARD): Likewise.
9384 (FE_DOWNWARD): Likewise.
9385 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
9386 (FE_DIVBYZERO): Likewise.
9387 (FE_OVERFLOW): Likewise.
9388 (FE_UNDERFLOW): Likewise.
9389 (FE_INEXACT): Likewise.
9390 (FE_TONEAREST): Likewise.
9391 (FE_DOWNWARD): Likewise.
9392 (FE_UPWARD): Likewise.
9393 (FE_TOWARDZERO): Likewise.
9395 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
9397 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
9399 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
9401 * scripts/cross-test-ssh.sh (command): Use newlines to separate
9402 commands. Quote $PWD.
9403 (blacklist_exports): Don't use remove_newlines. Replace "declare
9405 (remove_newlines): Remove.
9407 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
9409 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
9410 * stdlib/stdlib.h (atof): Moved to ...
9411 * include/bits/stdlib-float.h: Here. New file.
9412 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
9413 * stdlib/bits/stdlib-float.h: New file.
9414 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
9416 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
9419 2012-11-02 Joseph Myers <joseph@codesourcery.com>
9421 * conform/conformtest.pl (@headers): Add fenv.h.
9422 * conform/data/fenv.h-data: New file.
9423 * include/fenv.h [_ISOMAC]: Disable all contents of file except
9424 include of <math/fenv.h>.
9426 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
9427 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
9428 && !UNIX98]. Enables tests for XOPEN2K8.
9429 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
9430 POSIX2008]: Likewise.
9432 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
9433 (struct rusage): Do not expect type or its members.
9436 * math/math.h (FP_NAN): Define macro to integer constant usable in
9437 #if and use that to give value to enum constant.
9438 (FP_INFINITE): Likewise.
9439 (FP_ZERO): Likewise.
9440 (FP_SUBNORMAL): Likewise.
9441 (FP_NORMAL): Likewise.
9443 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
9445 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
9446 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
9449 2012-11-02 Roland McGrath <roland@hack.frob.com>
9451 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
9452 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
9453 autoconf-time if not.
9454 * configure.in: Remove AC_PREREQ.
9456 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9458 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
9459 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
9460 of the internal implementation.
9462 2012-11-02 Joseph Myers <joseph@codesourcery.com>
9464 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
9465 except include of <misc/sys/syslog.h>.
9467 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
9469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
9470 function returns with a NULL context exit with zero.
9472 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9474 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
9476 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
9478 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
9479 (run_program_cmd): This.
9480 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
9481 (tst_langinfo): New variable. Use it.
9483 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
9485 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
9486 floating point opcodes.
9488 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9490 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
9493 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
9495 * sysdeps/mach/hurd/powerpc: Remove directory.
9496 * sysdeps/mach/powerpc: Likewise.
9498 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
9500 * scripts/check-local-headers.sh: Ignore c++ headers.
9502 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9504 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
9505 __libc_cleanup_region_start argument.
9507 2012-11-01 Joseph Myers <joseph@codesourcery.com>
9511 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
9512 x * y using scaling, not as x * y + z.
9513 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9514 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9515 * math/libm-test.inc (fma_test): Add more tests.
9516 (fma_test_towardzero): Likewise.
9517 (fma_test_downward): Likewise.
9518 (fma_test_upward): Likewise.
9520 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9522 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
9524 2012-10-31 Joseph Myers <joseph@codesourcery.com>
9526 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
9529 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
9531 * rt/tst-shm.c (worker): Correct checking for mmap failure.
9533 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
9535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9540 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9543 Fix the order of the list for glibc 2.17.
9544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9547 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
9549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9551 2012-10-31 Joseph Myers <joseph@codesourcery.com>
9554 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
9555 for low part of x being zero before using __atanl (y).
9556 * math/libm-test.inc (atan2_test): Add another test.
9558 * manual/install.texi (Configuring and compiling): Document
9559 general use of test-wrapper and test-wrapper-env.
9560 * INSTALL: Regenerated.
9562 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
9563 (__fma): Do not extract and scale down low bits on after-rounding
9564 systems when result rounded to normal precision would have normal
9566 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
9567 (__fmal): Do not extract and scale down low bits on after-rounding
9568 systems when result rounded to normal precision would have normal
9570 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
9571 (__fmal): Do not extract and scale down low bits on after-rounding
9572 systems when result rounded to normal precision would have normal
9574 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
9576 (fma_test): Add more tests.
9577 (fma_test_towardzero): Likewise.
9578 (fma_test_downward): Likewise.
9579 (fma_test_upward): Likewise.
9581 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
9583 * sysdeps/i386/tininess.h: Renamed to ...
9584 * sysdeps/x86/tininess.h: This.
9585 * sysdeps/x86_64/tininess.h: Removed.
9587 2012-10-30 Joseph Myers <joseph@codesourcery.com>
9589 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
9590 input. Use $(build-program-cmd).
9591 ($(objpfx)tst-array1-static.out): Likewise.
9592 ($(objpfx)tst-array2.out): Likewise.
9593 ($(objpfx)tst-array3.out): Likewise.
9594 ($(objpfx)tst-array4.out): Likewise.
9595 ($(objpfx)tst-array5.out): Likewise.
9596 ($(objpfx)tst-array5-static.out): Likewise.
9598 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
9600 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
9603 * nss/nsswitch.h (nss_interface_function): Provide new
9604 macro for use with NSS functions.
9605 * grp/initgroups.c: Use new macro.
9606 * nss/getXXbyYY.c: Likewise.
9607 * nss/getXXbyYY_r.c: Likewise.
9608 * nss/getXXent.c: Likewise.
9609 * nss/getXXent_r.c: Likewise.
9610 * sysdeps/posix/getaddrinfo.c: Likewise.
9612 2012-10-30 Andreas Jaeger <aj@suse.de>
9614 * po/ru.po: Update Russion translation from translation project.
9616 2012-10-30 Joseph Myers <joseph@codesourcery.com>
9620 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
9621 result and shift together with sticky bit instead of replicating
9622 round-to-nearest rounding.
9623 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9624 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9625 * math/libm-test.inc (fma_test): Add more tests. Do not permit
9626 missing underflow exceptions.
9627 (fma_test_towardzero): Add more tests.
9628 (fma_test_downward): Likewise.
9629 (fma_test_upward): Likewise.
9632 * sysdeps/generic/tininess.h: New file.
9633 * sysdeps/i386/tininess.h: Likewise.
9634 * sysdeps/sh/tininess.h: Likewise.
9635 * sysdeps/x86_64/tininess.h: Likewise.
9636 * stdlib/tst-strtod-underflow.c: Likewise.
9637 * stdlib/tst-tininess.c: Likewise.
9638 * stdlib/strtod_l.c: Include <tininess.h>.
9639 (round_and_return): Do not set errno for exact underflow cases.
9640 Force an underflow exception when setting errno for underflow.
9641 Determine underflow based on rounding to normal precision if
9642 TININESS_AFTER_ROUNDING.
9643 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
9644 ERANGE for exact underflow cases.
9645 * stdlib/Makefile (tests): Add tst-tininess and
9646 tst-strtod-underflow.
9647 ($(objpfx)tst-tininess): Use $(link-libm).
9648 ($(objpfx)tst-strtod-underflow): Likewise.
9650 2012-10-30 Andreas Jaeger <aj@suse.de>
9653 * elf/Makefile (tests): Remove conditional for have-initfini-array
9654 since this is now always required and the variable does not exist
9656 (tests-static): Likewise.
9657 (modules-names): Likewise.
9659 * po/eo.po: Add Esperanto translation from translation project.
9661 * elf/tst-array1.c (fini_array): Make writeable so that it can be
9662 merged with constructor/destructor.
9663 (init_array): Likewise.
9664 * elf/tst-array2dep.c (fini_array): Likewise.
9665 (init_array): Likewise.
9667 2012-10-29 Mike Frysinger <vapier@gentoo.org>
9669 * manual/message.texi: Delete @cartouche tags.
9671 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
9673 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
9675 * sysdeps/mach/hurd/fsync.c: Likewise.
9677 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
9678 [_POSIX_REALTIME_SIGNALS]: Change condition to
9679 [_POSIX_REALTIME_SIGNALS > 0].
9681 2012-10-27 Andreas Jaeger <aj@suse.de>
9683 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
9684 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
9685 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
9686 [__WORDSIZE != 64]: Likewise.
9688 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
9690 * iconvdata/tst-table.sh: Remove ${SHELL}.
9691 * iconvdata/tst-tables.sh: Likewise.
9693 2012-10-25 David S. Miller <davem@davemloft.net>
9695 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9696 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
9699 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
9701 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9702 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
9703 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
9706 2012-10-25 Roland McGrath <roland@hack.frob.com>
9708 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9709 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
9712 2012-10-25 Joseph Myers <joseph@codesourcery.com>
9713 Jim Blandy <jimb@codesourcery.com>
9715 * scripts/cross-test-ssh.sh: New file.
9716 * manual/install.texi (Configuring and compiling): Document use of
9718 * INSTALL: Regenerated.
9720 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
9722 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
9725 2012-10-25 Joseph Myers <joseph@codesourcery.com>
9727 * Makeconfig (run-program-prefix): Fix comment.
9729 2012-10-24 Joseph Myers <joseph@codesourcery.com>
9730 Jim Blandy <jimb@codesourcery.com>
9732 * Makeconfig (test-wrapper): New variable,
9733 (test-wrapper-env): Likewise.
9734 [$(cross-compiling) = yes && $(test-wrapper) != ""]
9735 (run-built-tests): Define to yes.
9736 (run-program-prefix): Use $(test-wrapper).
9737 (built-program-cmd): Likewise.
9738 * Rules (make-test-out): Use $(test-wrapper-env) and
9739 $(host-built-program-cmd).
9740 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
9741 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
9743 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
9744 $(test-wrapper-env) to tst-rtld-load-self.sh.
9745 ($(objpfx)order2.out): Use $(test-wrapper).
9746 ($(objpfx)tst-initorder.out): Likewise.
9747 ($(objpfx)tst-initorder2.out): Likewise.
9748 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
9749 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
9750 (test_wrapper_env): New variable. Use it to run ld.so.
9751 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
9752 Use it to run ld.so.
9753 (test_wrapper_env): Likewise.
9754 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
9755 $(test-wrapper) to run-iconv-test.sh.
9756 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
9757 (ICONV): Use $test_wrapper.
9758 * posix/Makefile ($(objpfx)globtest.out): Pass
9759 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
9760 globtest.sh, not $(run-program-prefix).
9761 * posix/globtest.sh (run_via_rtld_prefix): New variable.
9762 (test_wrapper): Likewise.
9763 (test_wrapper_env): Likewise. Use it to run globtest with HOME
9764 set together with run_via_rtld_prefix.
9765 (run_program_prefix): Define in terms of test_wrapper and
9766 run_via_rtld_prefix.
9768 2012-10-24 Roland McGrath <roland@hack.frob.com>
9770 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
9771 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
9775 * include/time.h: Remove librt_hidden_proto (clock_gettime).
9776 Declare __clock_getres, __clock_gettime, __clock_settime,
9777 __clock_nanosleep, and __clock_getcpuclockid.
9778 * rt/clock_gettime.c: Define __clock_gettime as an alias.
9779 Remove librt_hidden_def (clock_gettime).
9780 * sysdeps/unix/clock_gettime.c: Likewise.
9781 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
9782 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9783 * rt/clock_getres.c: Define __clock_getres as an alias.
9784 * sysdeps/posix/clock_getres.c: Likewise.
9785 * rt/clock_settime.c: Define __clock_settime as an alias.
9786 * sysdeps/unix/clock_settime.c: Likewise.
9787 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
9788 * sysdeps/unix/clock_nanosleep.c: Likewise.
9789 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9790 * rt/clock-compat.c: New file.
9791 * rt/Makefile (librt-routines): Add clock-compat and move
9792 $(clock-routines) to ...
9793 (routines): ... here, new variable.
9794 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
9795 Don't add get_clockfreq here.
9796 * rt/Versions (libc: GLIBC_2.17): New version set.
9797 Add clock_* symbols here.
9798 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
9799 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
9800 (GLIBC_2.17): Add clock_* symbols.
9801 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9802 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9803 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9808 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9809 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9811 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9812 * NEWS: Mention the move.
9814 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9815 Use __open, __read, __close rather than their public counterparts.
9816 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9817 (__get_clockfreq_via_cpuinfo): Likewise.
9818 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
9819 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
9821 * config.h.in (HAVE_IFUNC): New #undef.
9822 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
9824 * configure: Regenerated.
9826 2012-10-24 Mike Frysinger <vapier@gentoo.org>
9828 * configure.in: Move READELF check to start of file.
9829 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
9830 libc_cv_asm_gnu_indirect_function in the process.
9831 * configure: Regenerated.
9833 2012-10-24 Mike Frysinger <vapier@gentoo.org>
9835 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
9836 send the output to /dev/null.
9837 (libc_cv_cc_with_libunwind): Likewise.
9838 (libc_cv_as_noexecstack): Likewise.
9839 * configure: Regenerate.
9841 2012-10-24 Joseph Myers <joseph@codesourcery.com>
9843 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
9845 * posix/globtest.sh (TMPDIR): Do not set.
9846 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
9847 (testout): Likewise.
9849 2012-10-24 Andreas Jaeger <aj@suse.de>
9851 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
9852 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
9853 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
9854 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
9855 posix_fadvise64, posix_fallocate64.
9857 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
9858 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
9859 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
9861 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
9863 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
9865 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
9866 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
9867 <bits/fcntl-linux.h>.
9868 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
9870 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
9871 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
9872 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
9873 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
9874 [__WORDSIZE != 64]: Likewise.
9876 2012-10-23 Joseph Myers <joseph@codesourcery.com>
9878 * Makeconfig (run-built-tests): New variable.
9879 * Rules [$(cross-compiling) = yes]: Change condition to
9880 [$(run-built-tests) = no].
9881 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
9882 to [$(run-built-tests) = yes].
9883 * elf/Makefile [$(cross-compiling) = no]: Likewise
9884 * grp/Makefile [$(cross-compiling) = no]: Likewise.
9885 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
9886 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
9887 * intl/Makefile [$(cross-compiling) = no]: Likewise.
9888 * io/Makefile [$(cross-compiling) = no]: Likewise.
9889 * libio/Makefile [$(cross-compiling) = no]: Likewise.
9890 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
9891 * misc/Makefile [$(cross-compiling) = no]: Likewise.
9892 * posix/Makefile [$(cross-compiling) = no]: Likewise.
9893 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
9894 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
9895 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
9896 * string/Makefile [$(cross-compiling) = no]: Likewise.
9898 * posix/Makefile ($(objpfx)globtest.out): Pass
9899 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
9900 $(rtld-installed-name).
9901 * posix/globtest.sh (elf_objpfx): Remove variable.
9902 (rtld_installed_name): Likewise.
9903 (library_path): Likewise.
9904 (run_program_prefix): New variable. Use for running globtest
9907 2012-10-23 Jim Blandy <jimb@codesourcery.com>
9908 Joseph Myers <joseph@codesourcery.com>
9910 * Makeconfig (host-built-program-cmd): New variable.
9911 * elf/Makefile (tst-stackguard1-ARGS): Use
9912 $(host-built-program-cmd).
9913 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
9914 (tst-spawn-ARGS): Likewise.
9915 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
9917 2012-10-23 Joseph Myers <joseph@codesourcery.com>
9918 Jim Blandy <jimb@codesourcery.com>
9920 * Makeconfig (run-via-rtld-prefix): New variable.
9921 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
9922 (built-program-cmd): Likewise.
9924 2012-10-22 Andreas Jaeger <aj@suse.de>
9926 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
9927 __O_RSYNC if it exists, otherwise to O_SYNC.
9929 2012-10-22 Jim Blandy <jimb@codesourcery.com>
9930 Joseph Myers <joseph@codesourcery.com>
9932 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
9934 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
9936 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
9939 2012-10-22 Andreas Jaeger <aj@suse.de>
9941 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
9943 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
9945 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9948 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
9949 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
9951 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
9953 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
9956 2012-10-21 Jim Blandy <jimb@codesourcery.com>
9957 Joseph Myers <joseph@codesourcery.com>
9959 * config.make.in (NM): New variable.
9961 2012-10-21 Andreas Jaeger <aj@suse.de>
9963 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
9964 definitions and declarations that are provided by
9965 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9967 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
9970 * elf/Makefile (tests-static): Add tst-leaks1-static.
9971 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
9972 ($(objpfx)tst-leaks1-static): New rule.
9973 ($(objpfx)tst-leaks1-static-mem): Likewise.
9974 (tst-leaks1-static-ENV): New macro.
9975 * elf/dl-open.c (dl_open_worker): Check the main application
9976 only if SHARED is defined.
9977 * elf/tst-leaks1-static.c: New file.
9979 2012-10-20 Andreas Jaeger <aj@suse.de>
9981 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
9982 generic values for Linux.
9983 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
9984 and declarations that are provided by <bits/fcntl-linux.h> and
9985 include <bits/fcntl-linux.h>.
9986 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9987 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9989 2012-10-20 Roland McGrath <roland@hack.frob.com>
9991 * io/fcntl.h: Move include of <bits/types.h> to the top and
9992 include it unconditionally.
9994 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
9996 * wcsmbs/Makefile (tests-ifunc): New variable.
9997 (tests): Add $(tests-ifunc).
9998 * wcsmbs/test-wcschr-ifunc.c: New file.
9999 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10000 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10001 * wcsmbs/test-wcslen-ifunc.c: Likewise.
10002 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10003 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10005 * string/Makefile (tests-ifunc): New variable.
10006 (tests): Add $(tests-ifunc).
10007 * string/test-memccpy.c (TEST_NAME): New macro.
10008 * string/test-memchr.c (TEST_NAME): Likewise.
10009 * string/test-memcmp.c (TEST_NAME): Likewise.
10010 * string/test-memcpy.c (TEST_NAME): Likewise.
10011 * string/test-memmem.c (TEST_NAME): Likewise.
10012 * string/test-memmove.c (TEST_NAME): Likewise.
10013 * string/test-memset.c (TEST_NAME): Likewise.
10014 * string/test-rawmemchr.c (TEST_NAME): Likewise.
10015 * string/test-stpcpy.c (TEST_NAME): Likewise.
10016 * string/test-stpncpy.c (TEST_NAME): Likewise.
10017 * string/test-strcasecmp.c (TEST_NAME): Likewise.
10018 * string/test-strcasestr.c (TEST_NAME): Likewise.
10019 * string/test-strcat.c (TEST_NAME): Likewise.
10020 * string/test-strchr.c (TEST_NAME): Likewise.
10021 * string/test-strcmp.c(TEST_NAME): Likewise.
10022 * string/test-strcpy.c (TEST_NAME): Likewise.
10023 * string/test-strcspn.c (TEST_NAME): Likewise.
10024 * string/test-strlen.c (TEST_NAME): Likewise.
10025 * string/test-strncasecmp.c (TEST_NAME): Likewise.
10026 * string/test-strncmp.c (TEST_NAME): Likewise.
10027 * string/test-strncpy.c (TEST_NAME): Likewise.
10028 * string/test-strnlen.c (TEST_NAME): Likewise.
10029 * string/test-strpbrk.c (TEST_NAME): Likewise.
10030 * string/test-strrchr.c (TEST_NAME): Likewise.
10031 * string/test-strspn.c (TEST_NAME): Likewise.
10032 * string/test-strstr.c (TEST_NAME): Likewise.
10033 * string/test-bcopy-ifunc.c: New file.
10034 * string/test-bzero-ifunc.c: Likewise.
10035 * string/test-memccpy-ifunc.c: Likewise.
10036 * string/test-memchr-ifunc.c: Likewise.
10037 * string/test-memcmp-ifunc.c: Likewise.
10038 * string/test-memcpy-ifunc.c: Likewise.
10039 * string/test-memmem-ifunc.c: Likewise.
10040 * string/test-memmove-ifunc.c: Likewise.
10041 * string/test-mempcpy-ifunc.c: Likewise.
10042 * string/test-memset-ifunc.c: Likewise.
10043 * string/test-rawmemchr-ifunc.c: Likewise.
10044 * string/test-stpcpy-ifunc.c: Likewise.
10045 * string/test-stpncpy-ifunc.c: Likewise.
10046 * string/test-strcasecmp-ifunc.c: Likewise.
10047 * string/test-strcasestr-ifunc.c: Likewise.
10048 * string/test-strcat-ifunc.c: Likewise.
10049 * string/test-strchr-ifunc.c: Likewise.
10050 * string/test-strchrnul-ifunc.c: Likewise.
10051 * string/test-strcmp-ifunc.c: Likewise.
10052 * string/test-strcpy-ifunc.c: Likewise.
10053 * string/test-strcspn-ifunc.c: Likewise.
10054 * string/test-strlen-ifunc.c: Likewise.
10055 * string/test-strncasecmp-ifunc.c: Likewise.
10056 * string/test-strncat-ifunc.c: Likewise.
10057 * string/test-strncmp-ifunc.c: Likewise.
10058 * string/test-strncpy-ifunc.c: Likewise.
10059 * string/test-strnlen-ifunc.c: Likewise.
10060 * string/test-strpbrk-ifunc.c: Likewise.
10061 * string/test-strrchr-ifunc.c: Likewise.
10062 * string/test-strspn-ifunc.c: Likewise.
10063 * string/test-strstr-ifunc.c: Likewise.
10065 * debug/Makefile (tests-ifunc): New variable.
10066 (tests): Add $(tests-ifunc).
10067 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
10068 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
10069 * debug/test-stpcpy_chk-ifunc.c: New file.
10070 * debug/test-strcpy_chk-ifunc.c: Likewise.
10072 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10075 * elf/dl-load.c (open_verify): Retry read if the entire ELF
10076 header is not read in.
10078 2012-10-19 Joseph Myers <joseph@codesourcery.com>
10080 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
10081 script to $(SHELL) as $<. Pass $(common-objpfx) to script
10082 directly. Pass built executable to script as
10083 $(built-program-cmd).
10084 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
10085 $testprogram without using LD_LIBRARY_PATH and $ldso.
10087 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
10088 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
10089 $(rtld-installed-name).
10090 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
10091 (rtld_installed_name): Likewise.
10092 (library_path): Likewise.
10093 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
10094 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
10095 $(run-program-prefix) to tst-tables.sh.
10096 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
10097 it to run tst-table-from and tst-table-to.
10098 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
10099 Pass it to tst-table.sh.
10100 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
10101 $(run-program-prefix) to tst-gettext.sh.
10102 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
10104 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
10106 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
10107 to run tst-gettext.
10108 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
10109 to run tst-gettext2.
10110 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
10111 to run tst-translit.
10112 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
10113 $(run-program-prefix) to tst-mtrace.sh.
10114 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
10116 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
10117 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
10118 $(rtld-installed-name).
10119 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
10120 (rtld_installed_name): Likewise.
10121 (run_program_prefix): New variable. Use it to run wordexp-test.
10123 * Makeconfig (ARCH): Remove all definitions.
10124 (machine): Likewise.
10125 [ARCH]: Remove conditional code.
10126 [!objdir]: Give error.
10127 [!objdir] (objpfx): Remove.
10128 [!objdir] (common-objpfx): Likewise.
10129 [!objdir] (common-objdir): Likewise.
10130 * configure.in (config_makefile): Remove. Hardcode Makefile in
10131 AC_CONFIG_FILES call.
10132 * configure: Regenerated.
10135 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
10137 (testout): Likewise.
10139 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
10140 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
10141 $(rtld-installed-name).
10142 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
10143 (rtld_installed_name): Likwise.
10144 (runit): Remove function.
10145 (run_getconf): New variable, Use it for running getconf binary.
10147 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
10150 * string/test-memmem.c (check_result): New function.
10151 (do_one_test): Use it.
10152 (check1): New function.
10153 (test_main): Use it.
10155 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
10157 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
10159 2012-10-18 Joseph Myers <joseph@codesourcery.com>
10161 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
10162 (_G_LSEEK64): Likewise.
10163 (_G_MMAP64): Likewise.
10164 (_G_FSTAT64): Likewise.
10165 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
10166 (_G_LSEEK64): Likewise.
10167 (_G_MMAP64): Likewise.
10168 (_G_FSTAT64): Likewise.
10169 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
10170 unconditional. Call __mmap64 directly.
10171 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
10172 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
10173 __lseek64 directly.
10174 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
10175 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
10177 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
10178 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
10179 __lseek64 directly.
10180 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
10181 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
10182 __lseek64 directly.
10183 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
10184 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
10185 __lseek64 directly.
10186 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
10187 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
10188 __fxstat64 directly.
10189 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
10190 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
10192 (freopen64) [!_G_OPEN64]: Remove conditional code.
10193 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
10195 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
10196 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
10198 (ftello64) [!_G_LSEEK64]: Remove conditional code.
10199 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
10201 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10202 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
10204 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
10205 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
10207 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10208 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
10210 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10211 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
10213 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10215 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10218 * manual/memory.texi (Malloc Tunable Parameters): Add note
10219 about free list pointers overwriting some perturb bytes.
10220 Wording suggested by Roland McGrath.
10222 2012-10-17 Joseph Myers <joseph@codesourcery.com>
10224 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
10225 (lgamma_test): Likewise.
10226 (tgamma_test): Likewise.
10228 2012-10-16 Florian Weimer <fweimer@redhat.com>
10231 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
10232 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
10234 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
10236 * NEWS: Mention BZ #14716.
10237 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
10238 when removing AVAILABLE1_USES_J macro.
10240 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
10242 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
10243 (__bswap_64): __uint64_t for unsigned 64-bit int.
10245 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
10247 * include/string.h (memmem): Declare libc hidden alias.
10248 * string/memmem.c (memmem): Define libc hidden alias.
10249 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
10250 __read, __close instead of open, read, close.
10252 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
10254 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
10255 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
10257 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
10258 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
10259 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
10261 (__rawmemchr_sse2): Likewise.
10262 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
10263 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
10264 (__strchr_sse2): Likewise.
10265 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
10266 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
10267 (__strcasecmp_sse2): Likewise.
10268 (__strncasecmp_sse2): Likewise.
10269 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
10270 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
10271 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
10272 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
10273 (__strrchr_sse2): Likewise.
10274 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
10276 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10277 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10278 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10279 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10280 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10281 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10282 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10283 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10284 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
10285 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
10286 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
10287 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
10288 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
10289 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10290 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10291 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10292 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10293 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10294 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
10295 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
10296 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
10297 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
10298 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
10299 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10300 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
10301 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10302 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10303 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10304 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10305 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10307 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
10309 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
10310 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
10311 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
10312 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
10314 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
10316 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
10317 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
10318 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
10319 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
10321 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10322 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10323 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10324 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10325 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10326 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10327 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10328 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10329 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10330 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10331 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10332 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10333 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10334 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
10335 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
10336 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10337 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
10338 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
10339 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10340 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10341 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10342 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10343 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10344 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10345 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10346 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
10347 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
10348 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
10349 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
10350 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10351 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
10352 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10353 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10354 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
10355 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10356 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10357 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10358 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10359 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10360 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10361 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
10363 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
10364 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
10365 * include/ifunc-impl-list.h: New file.
10366 * misc/ifunc-impl-list.c: Likewise.
10367 * misc/Makefile (routines): Add ifunc-impl-list.
10368 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
10369 * string/test-string.h: Include <ifunc-impl-list.h>.
10370 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
10371 impl_array): New variables.
10372 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
10374 (test_init): Call __libc_ifunc_impl_list to initialize
10375 func_list if TEST_IFUNC and TEST_NAME are defined.
10377 * string/Makefile (strop-tests): Add bcopy and bzero.
10378 * string/test-bcopy.c: New file.
10379 * string/test-bzero.c: Likewise.
10380 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
10382 * string/test-memset.c: Support bzero test if TEST_BZERO is
10384 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
10386 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
10388 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
10391 2012-10-10 Joseph Myers <joseph@codesourcery.com>
10393 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
10394 * configure: Regenerated.
10396 * Makeconfig (+link-static-before-libc): Don't include
10397 $(link-static-libc).
10399 * libio/libio.h (_IO_pos_t): Remove.
10401 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
10403 * NEWS: Add note about FIPS mode. Wording suggested by Roland
10406 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
10408 * crypt/crypt-entry.c: Include fips-private.h.
10409 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
10410 * crypt/md5c-test.c (main): Tolerate disabled MD5.
10411 * sysdeps/unix/sysv/linux/fips-private.h: New file.
10412 * sysdeps/generic/fips-private.h: New file, dummy fallback.
10414 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
10416 * crypt/crypt-private.h: Include stdbool.h.
10417 (_ufc_setup_salt_r): Return bool.
10418 * crypt/crypt-entry.c: Include errno.h.
10419 (__crypt_r): Return NULL with EINVAL for bad salt.
10420 * crypt/crypt_util.c (bad_for_salt): New.
10421 (_ufc_setup_salt_r): Check that salt is long enough and within
10422 the specified alphabet.
10423 * crypt/badsalttest.c: New file.
10424 * crypt/Makefile (tests): Add it.
10425 ($(objpfx)badsalttest): New.
10427 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
10429 * NEWS: Add entry for BZ #14602.
10431 2012-10-09 Joseph Myers <joseph@codesourcery.com>
10433 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
10435 * math/libm-test.inc: Update comment listing what functions and
10437 (isgreater_test): New function.
10438 (isgreaterequal_test): Likewise.
10439 (isless_test): Likewise.
10440 (islessequal_test): Likewise.
10441 (islessgreater_test): Likewise.
10442 (isunordered_test): Likewise.
10443 (main): Call the new functions.
10445 2012-10-09 Roland McGrath <roland@hack.frob.com>
10447 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
10448 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
10449 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
10450 * sysdeps/i386/configure: Regenerated.
10451 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
10452 * sysdeps/mach/configure: Regenerated.
10453 * sysdeps/mach/hurd/configure: Regenerated.
10454 * sysdeps/powerpc/configure: Regenerated.
10455 * sysdeps/powerpc/powerpc32/configure: Regenerated.
10456 * sysdeps/powerpc/powerpc64/configure: Regenerated.
10457 * sysdeps/s390/s390-32/configure: Regenerated.
10458 * sysdeps/s390/s390-64/configure: Regenerated.
10459 * sysdeps/sh/configure: Regenerated.
10460 * sysdeps/sparc/configure: Regenerated.
10461 * sysdeps/unix/sysv/linux/configure: Regenerated.
10462 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10463 * sysdeps/x86_64/configure: Regenerated.
10465 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
10466 defined. Don't check if MAP is NULL.
10468 2012-10-09 Joseph Myers <joseph@codesourcery.com>
10470 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
10471 (_G_stat64): Likewise.
10472 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
10473 (_G_stat64): Likewise.
10474 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
10475 instead of struct _G_stat64.
10476 * libio/fileops.c (mmap_remap_check): Likewise.
10477 (decide_maybe_mmap): Likewise.
10478 (_IO_new_file_seekoff): Likewise.
10479 (_IO_file_stat): Likewise.
10480 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
10482 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
10483 instead of struct _G_stat64.
10484 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
10486 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
10489 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10491 (CHECK_EOL): New macro.
10492 (two_way_short_needle): Check beginning of haystack for EOL. Use
10494 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10495 Replace with CHECK_EOL.
10496 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10497 Replace with CHECK_EOL.
10499 2012-10-08 Joseph Myers <joseph@codesourcery.com>
10501 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
10503 * math/libm-test.inc: Update comment listing what functions and
10505 (finite_test): New function.
10506 (isinf_test): Likewise.
10507 (isnan_test): Likewise.
10508 (fpclassify_test): Test subnormal input.
10509 (isfinite_test): Likewise.
10510 (isnormal_test): Likewise.
10511 (main): Call the new functions.
10513 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
10516 * Makerules (%.dynsym): Force C locale when running
10517 $(OBJDUMP) --dynamic-syms.
10519 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
10521 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
10524 2012-10-06 David S. Miller <davem@davemloft.net>
10526 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
10527 upper 32-bits of the length value in %o2 since we use branch-on-register
10528 tests which consider the entire 64-bit register.
10530 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
10532 * string/test-strstr.c (check2): Add a test for page boundary.
10534 2012-10-05 David S. Miller <davem@davemloft.net>
10536 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
10537 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
10539 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
10541 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
10542 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
10543 and bzero when HWCAP_SPARC_CRYPTO is present.
10545 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
10548 * string/test-strstr.c (check2): New function.
10549 (test_main): Call check2.
10551 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
10553 * string/bug-strcasestr1.c (do_test): Moved to ...
10554 * string/test-strcasestr.c (check1): Here. New function.
10555 (do_one_test): Break out result checking code into ...
10556 (check_result): This. New function.
10557 (do_one_test): Call check_result.
10558 (test_main): Call check1.
10559 * string/bug-strchr1.c (do_test): Moved to ...
10560 * string/test-strchr.c (check1): Here. New function.
10561 (do_one_test): Break out result checking code into ...
10562 (check_result): This. New function.
10563 (do_one_test): Call check_result.
10564 (test_main): Call check1.
10565 * string/bug-strstr1.c (main): Moved to ...
10566 * string/test-strstr.c (check1): Here. New function.
10567 (do_one_test): Break out result checking code into ...
10568 (check_result): This. New function.
10569 (do_one_test): Call check_result.
10570 (test_main): Call check1.
10571 * string/bug-strcasestr1.c: Removed.
10572 * string/bug-strchr1.c: Likewise.
10573 * string/bug-strstr1.c: Likewise.
10575 * elf/Makefile (dl-routines): Add hwcaps.
10576 * elf/dl-support.c (_dl_important_hwcaps): Removed.
10577 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
10578 (_dl_important_hwcaps): Moved to ...
10579 * elf/dl-hwcaps.c: Here. New file.
10580 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
10583 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
10584 if IS_IN_rtld isn't defined.
10586 * elf/dl-support.c (_dl_sysinfo_map): New.
10587 Include "get-dynamic-info.h" and "setup-vdso.h".
10588 (_dl_non_dynamic_init): Call setup_vdso.
10589 * elf/dynamic-link.h: Don't include <assert.h>.
10590 (elf_get_dynamic_info): Moved to ...
10591 * elf/get-dynamic-info.h: Here. New file.
10592 * elf/dynamic-link.h: Include "get-dynamic-info.h".
10593 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
10594 * elf/setup-vdso.h: Here. New file.
10595 * elf/rtld.c: Include "setup-vdso.h".
10596 (dl_main): Call setup_vdso.
10598 2012-10-05 Joseph Myers <joseph@codesourcery.com>
10600 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
10601 creal in comment listing functions tested. List finite, isinf,
10602 isnan, isless, islessequal, isgreater, isgreaterequal,
10603 islessgreater, isunordered, lgamma_r and pow10 as functions and
10604 macros not tested. Mention which functions not tested are aliases
10605 for other functions. Fix typo. Note that signs of NaNs are not
10608 * scripts/config.guess: Update from config.git.
10609 * scripts/config.sub: Likewise.
10611 2012-10-04 Roland McGrath <roland@hack.frob.com>
10613 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
10614 * misc/madvise.c (madvise): Renamed to __madvise.
10615 Make madvise a weak alias.
10616 * include/sys/mman.h: Declare __madvise.
10617 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
10618 * sysdeps/unix/syscalls.list
10619 (madvise): Make __madvise the strong name, and madvise a weak alias.
10620 * sysdeps/unix/sysv/linux/syscalls.list
10621 (madvise, mmap): Remove redundant entries.
10622 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
10623 * malloc/malloc.c (mtrim): Likewise.
10624 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
10626 2012-10-03 Roland McGrath <roland@hack.frob.com>
10628 * sysdeps/mach/hurd/dl-cache.c: File removed.
10629 * config.h.in (USE_LDCONFIG): New #undef.
10630 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
10631 * configure: Regenerated.
10632 * elf/Makefile (dl-routines): Add dl-cache only under
10633 [$(use-ldconfig) = yes].
10634 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
10635 cache on [USE_LDCONFIG].
10636 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
10638 * elf/rtld.c (dl_main): Likewise.
10640 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
10642 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
10643 _SC_LEVEL4_CACHE_LINESIZE.
10645 2012-10-03 Roland McGrath <roland@hack.frob.com>
10647 * sysdeps/unix/bsd/confstr.h: File removed.
10649 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
10651 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
10654 2012-10-02 Roland McGrath <roland@hack.frob.com>
10656 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
10657 Make 'mapoff' field ElfW(Off) rather than off_t.
10659 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
10661 * nscd/Makefile: Remove nscd-cflags and all its users.
10662 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
10663 (CFLAGS-nonlib): Add compiler flags for nscd modules.
10666 * malloc.c (malloc_printerr): Clarify error message.
10668 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
10671 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10672 Set bit_FMA_Usable if FMA is supported.
10673 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
10675 (bit_FMA4_Usable): Updated.
10676 (index_FMA_Usable): New macro.
10677 (CPUID_FMA): Likewise
10678 (HAS_FMA): Defined with bit_FMA_Usable.
10680 2012-10-01 Roland McGrath <roland@hack.frob.com>
10682 * bits/types.h (__swblk_t): Type removed.
10683 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
10684 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
10685 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10686 (__SWBLK_T_TYPE): Likewise.
10687 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10688 (__SWBLK_T_TYPE): Likewise.
10689 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10690 (__SWBLK_T_TYPE): Likewise.
10691 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10692 (__SWBLK_T_TYPE): Likewise.
10694 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
10695 Honza Horak <hhorak@redhat.com>
10697 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
10698 (xdr_mapname): Use YPMAXMAP as maxsize.
10699 (xdr_peername): Use YPMAXPEER as maxsize.
10700 (xdr_keydat): Use YPAXRECORD as maxsize.
10701 (xdr_valdat): Use YPMAXRECORD as maxsize.
10703 2012-10-01 Roland McGrath <roland@hack.frob.com>
10705 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
10707 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
10708 * csu/init-first.c: ... here.
10709 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
10710 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
10711 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
10712 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10713 * sysdeps/i386/init-first.c: File removed.
10714 * sysdeps/sh/init-first.c: File removed.
10716 2012-10-01 Joseph Myers <joseph@codesourcery.com>
10719 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
10720 if x * y might underflow to zero and z is zero.
10721 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10722 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10723 * math/libm-test.inc (min_subnorm_value): New variable.
10724 (fma_test): Add more tests.
10725 (fma_test_towardzero): Likewise.
10726 (fma_test_downward): Likewise
10727 (fma_test_upward): Likewise.
10728 (initialize): Set min_subnorm_value.
10730 2012-09-29 Joseph Myers <joseph@codesourcery.com>
10733 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
10735 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
10736 mode for addition resulting in exact zero.
10737 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
10738 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
10740 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10741 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10742 * math/libm-test.inc (fma_test): Add more tests.
10743 (fma_test_towardzero): New function.
10744 (fma_test_downward): Likewise.
10745 (fma_test_upward): Likewise.
10746 (main): Call the new functions.
10748 2012-09-28 David S. Miller <davem@davemloft.net>
10750 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
10752 2012-09-28 Roland McGrath <roland@hack.frob.com>
10754 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
10755 instead of SIGALRM.
10757 * sysdeps/gnu/_G_config.h: Moved to ...
10758 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
10759 * sysdeps/mach/hurd/_G_config.h: Moved to ...
10760 * sysdeps/generic/_G_config.h: ... here.
10762 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
10764 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
10766 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
10767 Conditionalize target on [libnss_test1.so-version].
10769 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
10771 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
10772 (elfobjdir): Move out of conditionals.
10774 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
10775 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
10776 (__nss_lookup_function): Conditionalize label remove_from_tree on
10777 [!DO_STATIC_NSS || SHARED], matching its only use.
10779 2012-09-28 David S. Miller <davem@davemloft.net>
10781 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
10782 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
10784 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
10786 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
10787 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
10788 when HWCAP_SPARC_CRYPTO is present.
10790 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10792 * io/tst-mknodat.c: Create a FIFO instead of a socket.
10794 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
10797 * stdio-common/vfprintf.c (process_string_arg): Revert
10800 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
10802 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
10804 * stdio-common/tst-sprintf.c: Include <locale.h>
10805 (main): Test sprintf's handling of incomplete multibyte
10808 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
10810 * elf/dl-runtime.c (VERSYMIDX): Removed.
10811 * elf/dl-version.c (VERSYMIDX): Likewise.
10812 * elf/do-rel.h (VERSYMIDX): Likewise.
10813 (VALIDX): Likewise.
10814 * elf/dynamic-link.h (VERSYMIDX): Likewise.
10815 * elf/rtld.c (VALIDX): Likewise.
10816 (ADDRIDX): Likewise.
10817 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
10818 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
10819 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
10820 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
10821 (VALIDX): Likewise.
10822 (ADDRIDX): Likewise.
10824 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10826 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
10828 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
10831 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
10833 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
10834 addresses are in the same scope as 192.0.2/24.
10835 * posix/gai.conf: Document new scope table defaults.
10837 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10840 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
10841 for ftell. Compute offsets from write pointers instead.
10842 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
10844 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10847 * libio/Makefile (tests): New test case tst-fseek.
10848 * libio/tst-fseek.c: New test case to verify that fseek/ftell
10849 combination works in wide mode.
10850 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
10851 state when the external buffer state changes.
10853 2012-09-27 David S. Miller <davem@davemloft.net>
10856 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
10857 pass reloc->r_addend in as the 'high' argument to
10858 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
10860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10862 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10864 * rt/tst-aio2.c: Include <pthread.h>.
10865 * rt/tst-aio3.c: Likewise.
10867 2012-09-27 Steve Ellcey <sellcey@mips.com>
10869 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
10871 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
10873 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
10874 contents on [SHARED].
10876 2012-09-26 Marek Polacek <polacek@redhat.com>
10880 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
10881 for C++ and GCC <4.3 as well as for non GCC compilers.
10883 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10885 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10887 2012-09-25 Roland McGrath <roland@hack.frob.com>
10889 * Makefile.in (all, install): Declare with .PHONY.
10890 Reported by Michael Hope <michael.hope@linaro.org>.
10892 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10894 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
10895 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
10897 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
10899 (sydep_routines): Add the new and the internal functions.
10900 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
10901 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
10902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
10903 (GLIBC_2.17): Add the new function.
10904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10905 (GLIBC_2.17): Likewise.
10906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
10907 (GLIBC_2.17): Likewise.
10908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
10909 (GLIBC_2.17): Likewise.
10910 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
10912 2012-09-25 Alan Modra <amodra@gmail.com>
10914 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
10915 Add release barrier before setting once_control to say
10916 initialisation is done. Add hints on lwarx. Use macro in
10918 (clear_once_control): Add release barrier.
10920 2012-09-25 Joseph Myers <joseph@codesourcery.com>
10923 * math/s_clog.c (__clog): Handle more values close to |z| = 1
10925 * math/s_clog10.c (__clog10): Likewise.
10926 * math/s_clog10f.c (__clog10f): Likewise.
10927 * math/s_clog10l.c (__clog10l): Likewise.
10928 * math/s_clogf.c (__clogf): Likewise.
10929 * math/s_clogl.c (__clogl): Likewise.
10930 * math/Makefile (libm-calls): Add x2y2m1.
10931 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
10932 (__x2y2m1): Likewise.
10933 (__x2y2m1l): Likewise.
10934 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
10935 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
10936 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10937 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10938 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
10939 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
10940 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
10941 * sysdeps/i386/fpu/libm-test-ulps: Update.
10942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10945 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
10946 int as type of variable DEPTH.
10947 (glob): Use size_t instead of int as type of variables NEWCOUNT
10950 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10952 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10953 Add s_sincosf-sse2.
10954 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
10955 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
10956 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
10957 macros for using routine as __sincosf_ia32.
10958 Use macro for function declaration and weak_alias.
10959 * sysdeps/i386/fpu/libm-test-ulps: Update.
10961 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
10962 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10964 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
10965 subnormal argument.
10966 * math/s_cexpf.c (__cexpf): Likewise.
10967 * math/s_csinf.c (__csinf): Likewise.
10968 * math/s_csinhf.c (__csinhf): Likewise.
10969 * math/s_ctanf.c (__ctanf): Likewise.
10970 * math/s_ctanhf.c (__ctanhf): Likewise.
10971 * math/s_ccosh.c (__ccoshf): Likewise.
10972 * math/s_cexp.c (__cexpl): Likewise.
10973 * math/s_csin.c (__csin): Likewise.
10974 * math/s_csinh.c (__csinh): Likewise.
10975 * math/s_ctan.c (__ctan): Likewise.
10976 * math/s_ctanh.c (ctanh): Likewise.
10977 * math/s_ccoshl.c (__ccoshl): Likewise.
10978 * math/s_cexpl.c (__cexpl): Likewise.
10979 * math/s_csinl.c (__csinl): Likewise.
10980 * math/s_csinhl.c (__csinhl): Likewise.
10981 * math/s_ctanl.c (__ctanl): Likewise.
10982 * math/s_ctanhl.c (__ctanhl): Likewise.
10984 2012-09-25 Joseph Myers <joseph@codesourcery.com>
10986 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
10987 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
10988 (_IO_off_t): Define to __off_t, not _G_off_t.
10989 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
10990 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
10991 (_IO_wint_t): Define to wint_t, not _G_wint_t.
10992 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
10993 type of __dummy and __dummy2 fields.
10994 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
10995 (_G_ssize_t): Likewise.
10996 (_G_off_t): Likewise.
10997 (_G_pid_t): Likewise.
10998 (_G_uid_t): Likewise.
10999 (_G_wchar_t): Likewise.
11000 (_G_wint_t): Likewise.
11001 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
11002 (_G_ssize_t): Likewise.
11003 (_G_off_t): Likewise.
11004 (_G_pid_t): Likewise.
11005 (_G_uid_t): Likewise.
11006 (_G_wchar_t): Likewise.
11007 (_G_wint_t): Likewise.
11008 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
11009 (_G_ssize_t): Likewise.
11010 (_G_off_t): Likewise.
11011 (_G_pid_t): Likewise.
11012 (_G_uid_t): Likewise.
11013 (_G_wchar_t): Likewise.
11014 (_G_wint_t): Likewise.
11016 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11018 * malloc/arena.c: Include malloc-sysdep.h.
11019 (shrink_heap): Use check_may_shrink_heap to decide if madvise
11020 is sufficient to shrink the heap or an unmap is needed.
11021 * sysdeps/generic/malloc-sysdep.h: New file. Define
11022 new function check_may_shrink_heap.
11023 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
11024 new function check_may_shrink_heap.
11026 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11028 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
11031 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
11033 * catgets/test-gencat.sh: Add "set -e".
11034 * elf/tst-pathopt.sh: Likewise.
11035 * grp/tst_fgetgrent.sh: Likewise.
11036 * iconvdata/run-iconv-test.sh: Likewise.
11037 * intl/tst-gettext.sh: Likewise.
11038 * intl/tst-gettext2.sh: Likewise.
11039 * intl/tst-gettext4.sh: Likewise.
11040 * intl/tst-gettext6.sh: Likewise.
11041 * intl/tst-translit.sh: Likewise.
11042 * io/ftwtest-sh: Likewise.
11043 * libio/test-freopen.sh: Likewise.
11044 * malloc/tst-mtrace.sh: Likewise.
11045 * posix/globtest.sh: Likewise.
11046 * posix/tst-getconf.sh: Likewise.
11047 * posix/wordexp-tst.sh: Likewise.
11048 * stdio-common/tst-printf.sh: Likewise.
11049 * stdio-common/tst-unbputc.sh: Likewise.
11050 * stdlib/tst-fmtmsg.sh: Likewise.
11051 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11052 * catgets/Makefile: Do not specify -e option when running
11053 testsuite shell scripts.
11054 * elf/Makefile: Likewise.
11055 * grp/Makefile: Likewise.
11056 * iconvdata/Makefile: Likewise.
11057 * intl/Makefile: Likewise.
11058 * io/Makefile: Likewise.
11059 * libio/Makefile: Likewise.
11060 * malloc/Makefile: Likewise.
11061 * posix/Makefile: Likewise.
11062 * stdio-common/Makefile: Likewise.
11063 * stdlib/Makefile: Likewise.
11064 * sysdeps/x86_64/Makefile: Likewise.
11066 * io/ftwtest-sh: Add copyright header.
11067 * posix/globtest.sh: Likewise.
11068 * posix/tst-getconf.sh: Likewise.
11069 * posix/wordexp-tst.sh: Likewise.
11070 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11072 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
11075 * Makeconfig (+link): Defined as $(+link-static) if
11076 $(build-shared) isn't yes.
11077 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
11079 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
11081 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
11084 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
11085 new chunk size with MALLOC_ALIGN_MASK.
11087 2012-09-24 Joseph Myers <joseph@codesourcery.com>
11090 * stdio-common/printf_fphex.c: Include <stdbool.h> and
11092 (__printf_fphex): Determine rounding using get_rounding_mode and
11094 * stdio-common/tst-printf-round.c (struct hex_test): New
11096 (hex_tests): New variable.
11097 (test_hex_in_one_mode): New function.
11098 (do_test): Also run tests for hex float output.
11100 2012-09-21 Joseph Myers <joseph@codesourcery.com>
11102 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11103 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11104 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
11105 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11106 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11107 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
11108 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11109 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11111 2012-09-20 Joseph Myers <joseph@codesourcery.com>
11113 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
11114 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
11115 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
11116 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
11118 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
11121 * elf/rtld.c (dl_main): Limit the check for self loading to normal
11123 * elf/tst-rtld-load-self.sh: New test.
11124 * elf/Makefile: Run it.
11126 2012-09-18 Joseph Myers <joseph@codesourcery.com>
11128 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
11129 (tst-writev-ENV): Remove.
11130 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
11132 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
11134 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
11136 2012-09-17 Joseph Myers <joseph@codesourcery.com>
11138 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
11140 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
11142 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
11143 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
11144 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
11147 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
11150 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
11151 * config.make.in (have-cpp-asm-debuginfo): Removed.
11152 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
11153 * configure: Regenerated.
11155 2012-09-14 Joseph Myers <joseph@codesourcery.com>
11158 * stdio-common/printf_fp.c: Include <stdbool.h> and
11160 (___printf_fp): Determine rounding using get_rounding_mode and
11162 * stdio-common/tst-printf-round.c: New file.
11163 * stdio-common/Makefile (tests): Add tst-printf-round.
11164 (link-libm): New variable.
11165 ($(objpfx)tst-printf-round): Depend in $(link-libm).
11167 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
11170 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
11171 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
11173 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
11176 2012-09-13 Joseph Myers <joseph@codesourcery.com>
11178 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
11179 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11180 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11181 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11183 2012-09-12 Joseph Myers <joseph@codesourcery.com>
11186 * include/rounding-mode.h: New file.
11187 * sysdeps/generic/get-rounding-mode.h: Likewise.
11188 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
11189 * stdlib/strtod_l.c: Include <rounding-mode.h>.
11190 (MAX_VALUE): New macro.
11191 (MIN_VALUE): Likewise.
11192 (overflow_value): New function.
11193 (underflow_value): Likewise.
11194 (round_and_return): Use overflow_value and underflow_value to
11195 determine return values in overflow and underflow cases. Use
11196 round_away to determine rounding depending on rounding mode.
11197 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
11198 determine return values in overflow and underflow cases.
11199 * stdlib/tst-strtod-round.c: Include <fenv.h>.
11200 (struct test_results): New structure.
11201 (struct test): Use struct test_results to store expected results
11202 for all rounding modes.
11203 (TEST): Include expected results for all rounding modes.
11204 (test_in_one_mode): New function.
11205 (do_test): Use test_in_one_mode to compute and check results.
11206 Check results for all rounding modes.
11207 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
11210 2012-12-09 Allan McRae <allan@archlinux.org>
11212 * sysdeps/i386/fpu/libm-test-ulps: Update
11214 2012-09-11 Joseph Myers <joseph@codesourcery.com>
11216 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
11217 (_G_int32_t): Likewise.
11218 (_G_uint16_t): Likewise.
11219 (_G_uint32_t): Likewise.
11220 (_G_HAVE_BOOL): Likewise.
11221 (_G_HAVE_ATEXIT): Likewise.
11222 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11223 (_G_HAVE_IO_FILE_OPEN): Likewise.
11224 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
11225 (_G_int32_t): Likewise.
11226 (_G_uint16_t): Likewise.
11227 (_G_uint32_t): Likewise.
11228 (_G_HAVE_BOOL): Likewise.
11229 (_G_HAVE_ATEXIT): Likewise.
11230 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11231 (_G_HAVE_IO_FILE_OPEN): Likewise.
11232 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
11233 (_G_int32_t): Likewise.
11234 (_G_uint16_t): Likewise.
11235 (_G_uint32_t): Likewise.
11236 (_G_HAVE_BOOL): Likewise.
11237 (_G_HAVE_ATEXIT): Likewise.
11238 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11239 (_G_HAVE_IO_FILE_OPEN): Likewise.
11241 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
11243 * csu/libc-tls.c: Update copyright years.
11245 2012-09-10 Joseph Myers <joseph@codesourcery.com>
11247 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
11248 [!_G_USING_THUNKS]: Remove conditional code.
11249 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
11250 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
11252 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
11253 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
11254 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11255 (_G_VTABLE_LABEL_PREFIX): Likewise.
11256 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11257 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11258 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11259 (_G_VTABLE_LABEL_PREFIX): Likewise.
11260 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11261 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11262 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11263 (_G_VTABLE_LABEL_PREFIX): Likewise.
11264 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11266 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
11268 * libio/Makefile: Include ../Makeconfig before tests.
11269 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
11270 only if $(build-shared) is yes.
11272 * iconv/gconv_db.c: Update copyright years.
11274 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11276 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
11277 unwind info if defined PIC. Fix special cases description.
11278 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
11280 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
11282 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
11284 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
11286 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
11288 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
11291 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
11292 (LDLIBS-tst-chk4): This.
11293 (LDFLAGS-tst-chk5): Renamed to ...
11294 (LDLIBS-tst-chk5): This.
11295 (LDFLAGS-tst-chk6): Renamed to ...
11296 (LDLIBS-tst-chk6): This.
11297 (LDFLAGS-tst-lfschk4): Renamed to ...
11298 (LDLIBS-tst-lfschk4): This.
11299 (LDFLAGS-tst-lfschk5): Renamed to ...
11300 (LDLIBS-tst-lfschk5): This.
11301 (LDFLAGS-tst-lfschk6): Renamed to ...
11302 (LDLIBS-tst-lfschk6): This.
11304 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
11305 on $(common-objpfx)soversions.mk.
11307 2012-09-07 Joseph Myers <joseph@codesourcery.com>
11310 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
11313 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11315 * malloc/arena.c (arena_get_retry): New function that gets
11316 another arena for the caller to try its request on.
11317 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
11318 current arena cannot fulfill the request.
11319 (__libc_memalign): Likewise.
11320 (__libc_memalign): Likewise.
11321 (__libc_pvalloc): Likewise.
11322 (__libc_calloc): Likewise.
11324 2012-09-05 John Tobey <john.tobey@gmail.com>
11327 * manual/arith.texi (Operations on Complex): Fix description
11328 of carg branch cut.
11330 2012-09-06 Joseph Myers <joseph@codesourcery.com>
11333 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
11337 * manual/memory.texi (Memory): Make order of menu items match
11340 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11342 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
11343 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
11344 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
11346 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11348 * csu/libc-tls.c (static_dtv): Renamed to ...
11349 (_dl_static_dtv): This. Make it global.
11350 (_dl_initial_dtv): Removed.
11351 (__libc_setup_tls): Updated.
11352 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
11353 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
11356 2012-09-06 Petr Machata <pmachata@redhat.com>
11358 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
11359 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
11360 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
11361 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
11363 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11366 * csu/libc-tls.c (_dl_initial_dtv): New variable.
11367 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
11370 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11373 * Makeconfig (link-static-before-libc): Replace $(+prector)
11375 (link-static-after-libc): Replace $(+postctor) with
11377 (link-bounded): Replace $(+prector)/$(+postctor) with
11378 $(+prectorT)/$(+postctorT).
11379 (+prectorT): New macro.
11380 (+postctorT): Likewise.
11382 2012-09-06 Joseph Myers <joseph@codesourcery.com>
11384 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
11385 (round_str): Handle values above the maximum for IBM long double
11387 * stdlib/tst-strtod-round.c (tests): Regenerated.
11389 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11391 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
11393 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
11394 zarch_nohighgprs around the zarch optimized routines.
11395 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
11396 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
11397 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
11400 2012-09-05 David S. Miller <davem@davemloft.net>
11402 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11404 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
11405 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
11406 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
11407 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11410 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
11412 * malloc/arena.c: Fold copyright years.
11413 * malloc/mcheck.c, malloc/memusage.c: Likewise.
11415 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
11417 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
11419 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
11421 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
11423 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
11425 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
11426 change internal state upon failure.
11428 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
11430 * malloc/mcheck.c (mcheck_check_all): Fix typo.
11431 * malloc/memusage.c (mmap): Likewise.
11432 (mmap64, mremap): Likewise. Adjust name in comment.
11434 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11436 * libio/fileops.c: Fix typos in comments.
11437 * libio/oldfileops.c: Likewise.
11438 * libio/wfileops.c: Likewise.
11440 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11443 * malloc/Makefile (tests): Add tst-malloc-usable test case.
11444 (tst-malloc-usable-ENV): Set environment for test case.
11445 * malloc/hooks.c (malloc_check_get_size): New function to get
11447 * malloc/malloc.c (musable): Use malloc_check_get_size.
11448 * malloc/tst-malloc-usable.c: New test case.
11450 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
11452 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
11454 2012-09-05 Allan McRae <allan@archlinux.org>
11457 * configure.in (CXX_SYSINCLUDES): Use compiler output to
11458 determine header location.
11459 * configure: Regenerated.
11461 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
11463 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
11465 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
11466 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
11468 (test): Regenerate.
11470 2012-09-04 David S. Miller <davem@davemloft.net>
11472 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
11473 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
11474 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
11476 2012-09-04 Florian Weimer <fweimer@redhat.com>
11478 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
11481 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
11483 2012-09-04 Joseph Myers <joseph@codesourcery.com>
11486 * libio/iogetdelim.c: Include <limits.h>.
11487 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
11488 + len + 1 would overflow.
11490 2012-09-03 Andreas Jaeger <aj@suse.de>
11492 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11493 * sysdeps/i386/fpu/libm-test-ulps: Update.
11495 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11497 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11498 Add s_sinf-sse2, s_conf-sse2.
11500 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
11501 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
11502 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
11503 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
11505 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
11506 for using routine as __sinf_ia32.
11507 Use macro for function declaration and weak_alias.
11508 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
11509 for using routine as __cosf_ia32.
11510 Use macro for function declaration and weak_alias.
11512 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
11513 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
11515 * sysdeps/x86_64/fpu/s_sinf.S: New file.
11516 * sysdeps/x86_64/fpu/s_cosf.S: New file.
11517 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11519 * math/libm-test.inc (cos_test): Add more test cases.
11520 (sin_test): Likewise.
11521 (sincos_test): Likewise.
11523 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11525 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
11526 (IFUNC_RESOLVE): Make pointers to the specialized implementations
11528 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11530 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
11533 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
11534 first element of the GOT.
11535 (elf_machine_load_address): Return the difference between
11536 the runtime address of _DYNAMIC and elf_machine_dynamic ().
11538 2012-09-01 Allan McRae <allan@archlinux.org>
11541 * configure.in (AWK): Require gawk version 3.0 or later.
11542 * configure: Regenerated.
11544 2012-09-01 Joseph Myers <joseph@codesourcery.com>
11546 * sysdeps/unix/sysv/linux/kernel-features.h
11547 (__ASSUME_POSIX_CPU_TIMERS): Remove.
11548 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11549 [__NR_clock_getres]: Make code unconditional.
11550 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
11551 (clock_getcpuclockid): Remove code left unreachable by removal of
11553 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
11554 code unconditional.
11555 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
11556 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11557 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
11558 Make code unconditional.
11559 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
11560 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11561 * sysdeps/unix/sysv/linux/clock_settime.c
11562 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
11564 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
11565 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11567 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
11570 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
11571 scripts/test-installation.pl.
11573 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
11574 and $ld_so_version if it is set.
11576 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11579 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
11580 failure if reading from procfs failed.
11581 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
11583 2012-08-27 Joseph Myers <joseph@codesourcery.com>
11585 * sysdeps/unix/sysv/linux/kernel-features.h
11586 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
11587 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
11588 Remove conditional code.
11589 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11590 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
11591 Remove conditional code.
11592 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11593 * sysdeps/unix/sysv/linux/i386/fxstat.c
11594 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11595 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11596 * sysdeps/unix/sysv/linux/i386/fxstatat.c
11597 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11598 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11599 * sysdeps/unix/sysv/linux/i386/lxstat.c
11600 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11601 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11602 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
11603 Remove conditional code.
11604 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11605 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
11606 Remove conditional code.
11607 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11608 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
11609 <kernel-features.h>.
11610 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
11612 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
11613 Remove conditional code.
11614 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11615 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
11616 Remove conditional.
11618 2012-08-27 Mike Frysinger <vapier@gentoo.org>
11621 * NEWS: Add fixed bug number.
11623 2012-08-27 Joseph Myers <joseph@codesourcery.com>
11626 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
11627 underflowing exponent in case of negative sign.
11628 * stdlib/tst-strtod-round-data: Add more tests.
11629 * stdlib/tst-strtod-round.c (tests): Regenerated.
11632 * stdlib/strtod_l.c (NDIG): Remove.
11633 (HEXNDIG): Likewise.
11634 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
11635 smallest representable value.
11636 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
11637 lie within an exact representation of 1/2 ulp of the result.
11638 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
11640 (TENS_P9_IDX): Define unconditionally.
11641 (TENS_P9_SIZE): Likewise.
11642 (TENS_P10_IDX): Likewise.
11643 (TENS_P10_SIZE): Likewise.
11644 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
11645 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
11646 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
11647 entries for 10^2^13 and 10^2^14.
11648 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
11649 (TENS_P13_IDX): Define.
11650 (TENS_P13_SIZE): Likewise.
11651 (TENS_P14_IDX): Likewise.
11652 (TENS_P14_SIZE): Likewise.
11653 (_fpioconst_pow10): Change array size to
11654 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
11656 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
11657 1024]: Add entries for 10^2^13 and 10^2^14.
11658 [LAST_POW10 > _LAST_POW10]: Remove #error.
11659 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
11660 (_fpioconst_pow10): Change array size to
11661 FPIOCONST_POW10_ARRAY_SIZE.
11662 * stdlib/gen-fpioconst.c: New file.
11663 * stdlib/gen-tst-strtod-round.c: Likewise.
11664 * stdlib/tst-strtod-round-data: Likewise.
11665 * stdlib/tst-strtod-round.c: Likewise.
11666 * stdlib/Makefile (tests): Add tst-strtod-round.
11669 * stdlib/strtod_l.c: Include <stdint.h>.
11670 (NDEBUG): Do not define.
11671 (round_and_return): Change EXPONENT parameter to type intmax_t.
11672 Rearrange calculations to avoid internal overflow possibilities.
11673 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
11674 Rearrange calculations to avoid internal overflow possibilities.
11675 Assert that number fits inside MPNSIZE limbs.
11676 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
11677 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
11678 calculations and add assertions to avoid internal overflow
11679 possibilities. Add casts to avoid signed/unsigned operations.
11680 * stdlib/tst-strtod-overflow.c: New file.
11681 * stdlib/Makefile (tests): Add tst-strtod-overflow.
11683 2012-08-25 Marek Polacek <polacek@redhat.com>
11685 * time/time.h: Fix some typos in comments.
11687 2012-08-23 Roland McGrath <roland@hack.frob.com>
11689 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
11690 * posix/tst-rfc3484-2.c: Likewise.
11691 * posix/tst-rfc3484-3.c: Likewise.
11693 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
11695 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
11696 (EF_ARM_ABI_FLOAT_HARD): Likewise.
11698 2012-08-23 Joseph Myers <joseph@codesourcery.com>
11700 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
11701 #include of fxstatat64.c.
11703 2012-08-22 Roland McGrath <roland@hack.frob.com>
11705 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
11706 * shadow/getspent_r.c: Likewise.
11707 * shadow/getspnam.c: Likewise.
11708 * shadow/getspnam_r.c: Likewise.
11709 * gshadow/getsgent.c: Likewise.
11710 * gshadow/getsgent_r.c: Likewise.
11711 * gshadow/getsgnam.c: Likewise.
11712 * gshadow/getsgnam_r.c: Likewise.
11713 * inet/getnetbyad.c: Likewise.
11714 * inet/getnetbyad_r.c: Likewise.
11715 * inet/getnetbynm.c: Likewise.
11716 * inet/getnetbynm_r.c: Likewise.
11717 * inet/getnetent.c: Likewise.
11718 * inet/getnetent_r.c: Likewise.
11719 * inet/getproto.c: Likewise.
11720 * inet/getproto_r.c: Likewise.
11721 * inet/getprtent.c: Likewise.
11722 * inet/getprtent_r.c: Likewise.
11723 * inet/getprtname.c: Likewise.
11724 * inet/getprtname_r.c: Likewise.
11725 * inet/getrpcbyname.c: Likewise.
11726 * inet/getrpcbyname_r.c: Likewise.
11727 * inet/getrpcbynumber.c: Likewise.
11728 * inet/getrpcbynumber_r.c: Likewise.
11729 * inet/getrpcent.c: Likewise.
11730 * inet/getrpcent_r.c: Likewise.
11731 * inet/getaliasent.c: Likewise.
11732 * inet/getaliasent_r.c: Likewise.
11733 * inet/getaliasname.c: Likewise.
11734 * inet/getaliasname_r.c: Likewise.
11735 * nscd/getgrgid_r.c: Likewise.
11736 * nscd/getgrnam_r.c: Likewise.
11737 * nscd/gethstbyad_r.c: Likewise.
11738 * nscd/gethstbynm3_r.c: Likewise.
11739 * nscd/getpwnam_r.c: Likewise.
11740 * nscd/getpwuid_r.c: Likewise.
11741 * nscd/getsrvbynm_r.c: Likewise.
11742 * nscd/getsrvbypt_r.c: Likewise.
11743 * nscd/gai.c: Likewise.
11745 * configure.in (build_nscd): New substituted variable, set
11746 by --disable-build-nscd and defaults to $use_nscd.
11747 * configure: Regenerated.
11748 * config.make.in (build-nscd): New substituted variable.
11749 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
11750 Change conditional to require [$(build-nscd) = yes] as well.
11751 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
11754 * configure.in (use_nscd): New substituted variable, set by
11755 --disable-nscd. If enabled, define USE_NSCD.
11756 * configure: Regenerated.
11757 * config.h.in: Add USE_NSCD.
11758 * config.make.in (use-nscd): New substituted variable.
11759 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
11760 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
11761 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
11762 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
11763 (CFLAGS-getgrnam_r.c): Likewise.
11764 (CFLAGS-initgroups.c): Likewise.
11765 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
11766 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
11768 * inet/getnetgrent_r.c
11769 (nscd_setnetgrent): New function, broken out of ...
11770 (setnetgrent): ... here. Call it.
11771 (innetgr): Conditionalize nscd bits on [USE_NSCD].
11772 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
11773 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
11774 * nscd/Makefile (routines, aux): Move definitions after include of
11775 Makeconfig. Conditionalize on [$(use-nscd) != no].
11776 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
11777 Conditionalize on [USE_NSCD].
11778 (is_nscd, nscd_init_cb): Likewise.
11779 (nss_load_library): Conditionalize init callback on [USE_NSCD].
11780 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
11781 * nss/nss_db/db-init.c: Likewise.
11782 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
11784 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
11785 (make_request): Use it.
11786 (cache_valid_p): New function.
11787 (__check_pf): Use it.
11788 * NEWS: Add item for --disable-nscd.
11790 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
11792 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
11793 to support sed >= 4.2.1-20-ga9bf076.
11794 * configure: Regenerated.
11796 2012-08-22 Roland McGrath <roland@hack.frob.com>
11798 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
11799 Conditionalize whole body on [IREL].
11801 2012-08-22 Jeff Law <law@redhat.com>
11804 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
11805 if the family is PF_UNSPEC.
11807 2012-08-22 Mike Frysinger <vapier@gentoo.org>
11809 * Makerules (lib-version): Rename from V.
11810 (install-lib-nosubdir): Change V to lib-version.
11812 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
11815 * powerpc32/power6/wcschr.c: New file.
11816 * powerpc32/power6/wcscpy.c: New file.
11817 * powerpc32/power6/wcsrchr.c: New file.
11818 * powerpc64/power6/wcschr.c: New file.
11819 * powerpc64/power6/wcscpy.c: New file.
11820 * powerpc64/power6/wcsrchr.c: New file.
11822 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
11824 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
11825 (two_way_short_needle): Use it.
11826 * string/strstr.c (AVAILABLE1_USES_J): Define.
11827 * string/strcasestr.c: Likewise.
11829 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
11831 * string/strcasestr.c (TOLOWER): Make side-effect safe.
11834 * NEWS: Add an entry.
11835 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
11836 define their defaults.
11837 (two_way_short_needle): Detect end-of-string on-the-fly.
11838 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
11839 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
11840 * string/bug-strcasestr1.c: New test.
11841 * string/Makefile: Run it.
11843 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
11846 * string/str-two-way.h (two_way_short_needle): Optimize matching of
11847 the first character.
11849 2012-08-21 Roland McGrath <roland@hack.frob.com>
11851 * csu/elf-init.c (__libc_csu_irel): Function removed.
11852 * csu/libc-start.c (apply_irel): New function.
11853 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
11855 2012-08-21 Joseph Myers <joseph@codesourcery.com>
11857 * sysdeps/unix/sysv/linux/kernel-features.h
11858 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
11859 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11860 <kernel-features.h>.
11861 [__NR_fadvise64_64]: Make code unconditional.
11862 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
11863 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
11864 !__NR_fadvise64_64)]: Likewise.
11865 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
11866 !__NR_fadvise64_64))]: Likewise.
11867 [__NR_fadvise64]: Make code unconditional.
11868 [!__NR_fadvise64]: Remove conditional code.
11869 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
11870 <kernel-features.h>.
11871 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11873 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
11876 not include <kernel-features.h>.
11877 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11879 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11881 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
11882 include <kernel-features.h>.
11883 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11885 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11888 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11890 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
11891 slight instruction rearrangements per scrollpipe analysis.
11892 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11894 2012-08-20 Roland McGrath <roland@hack.frob.com>
11896 * manual/syslog.texi (syslog; vsyslog, closelog):
11897 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
11898 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
11900 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
11901 DSOCAPS to match condition on defining it.
11903 2012-08-20 Joseph Myers <joseph@codesourcery.com>
11905 * sysdeps/unix/sysv/linux/kernel-features.h
11906 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
11907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
11908 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11909 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
11911 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11912 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
11914 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11915 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11917 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
11918 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
11920 * sysdeps/unix/sysv/linux/kernel-features.h
11921 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
11922 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
11924 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11925 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
11926 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
11927 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11928 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
11929 Make code unconditional.
11930 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11931 (__mmap64) [!__NR_mmap2]: Likewise.
11932 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
11933 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
11934 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11935 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
11936 [__NR_mmap2]: Make code unconditional.
11937 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11938 (__mmap64) [!__NR_mmap2]: Likewise.
11940 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11942 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
11944 2012-08-18 Andreas Jaeger <aj@suse.de>
11946 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
11948 2012-08-18 Mike Frysinger <vapier@gentoo.org>
11950 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
11951 * include/unistd.h (__have_sock_cloexec): Likewise.
11952 (__have_pipe2): Likewise.
11953 (__have_dup3): Likewise.
11955 2012-08-18 Mike Frysinger <vapier@gentoo.org>
11958 * include/unistd.h (__have_pipe2): Change define into an extern int.
11959 (__have_dup3): Likewise.
11960 * socket/have_sock_cloexec.c: Include fcntl.h.
11961 (__have_pipe2): New variable.
11962 (__have_dup3): Likewise.
11964 2012-08-17 Mike Frysinger <vapier@gentoo.org>
11966 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
11968 2012-08-17 Marek Polacek <polacek@redhat.com>
11970 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
11971 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
11973 2012-08-17 Roland McGrath <roland@hack.frob.com>
11975 * configure.in: Add AC_SUBST for sysheaders.
11976 * configure: Regenerated.
11977 * config.make.in (sysheaders): New substituted variable.
11979 * sysdeps/unix/mkfifo.c: Moved ...
11980 * sysdeps/posix/mkfifo.c: ... here.
11981 * sysdeps/unix/mkfifoat.c: Moved ...
11982 * sysdeps/posix/mkfifoat.c: ... here.
11984 * sysdeps/unix/utime.c: Moved ...
11985 * sysdeps/posix/utime.c: ... here.
11987 * sysdeps/unix/time.c: Moved ...
11988 * sysdeps/posix/time.c: ... here.
11989 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
11990 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
11992 * sysdeps/unix/nice.c: Moved ...
11993 * sysdeps/posix/nice.c: ... here.
11995 * sysdeps/unix/alarm.c: Moved ...
11996 * sysdeps/posix/alarm.c: ... here.
11998 * intl/Makefile ($(codeset_mo)): Depend on the input file.
12000 2012-08-17 Jeff Law <law@redhat.com>
12002 * intl/Makefile (codeset_mo): New variable.
12003 ($(codeset_mo)): New target.
12004 (tst-codeset.out): Depend on that. Remove explicit rule.
12005 (tst-gettext3.out, tst-gettext5.out): Likewise.
12006 (LOCPATH-ENV, tst-codeset-ENV): New variables.
12007 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
12008 * intl/tst-codeset.sh: Remove.
12009 * intl/tst-gettext3.sh: Likewise.
12010 * intl/tst-gettext5.sh: Likewise.
12012 2012-08-17 Roland McGrath <roland@hack.frob.com>
12014 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
12015 * sysdeps/unix/syscalls.list: ... here.
12017 * sysdeps/posix/getaddrinfo.c
12018 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
12019 (gaiconf_init, gaiconf_reload): Use them.
12020 [!_STATBUF_ST_NSEC]
12021 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
12022 Define using time_t rather than struct timespec.
12024 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
12025 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
12027 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
12029 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
12030 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
12033 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
12034 __libc_cleanup_push argument.
12036 * bits/param.h: New file.
12037 * misc/sys/param.h: New file.
12038 * include/sys/param.h: New file.
12039 * misc/Makefile (headers): Add bits/param.h.
12040 * sysdeps/generic/sys/param.h: File removed.
12041 * sysdeps/unix/sysv/linux/bits/param.h: New file.
12042 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
12043 * sysdeps/mach/hurd/bits/param.h: New file.
12044 * sysdeps/mach/hurd/sys/param.h: File removed.
12046 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
12049 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
12051 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
12052 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
12055 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
12056 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
12057 rather than -D_IO_MTSAFE_IO conditionally.
12058 * stdio-common/Makefile (CPPFLAGS): Likewise.
12059 * wcsmbs/Makefile (CPPFLAGS): Likewise.
12060 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
12061 Use $(libio-mtsafe).
12062 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
12063 of -D_IO_MTSAFE_IO.
12064 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
12065 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
12066 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
12067 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
12068 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
12069 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
12070 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
12071 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
12072 (CFLAGS-fread_u_chk.c): Likewise.
12073 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
12074 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
12075 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
12076 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
12077 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
12078 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
12079 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
12080 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
12081 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
12083 * libio/Makefile: Test [$(libc-reentrant) = yes]
12084 instead of [$(filter %REENTRANT, $(defines)) nonempty].
12087 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
12088 * sysdeps/pthread/configure: File removed.
12089 * sysdeps/pthread/Makeconfig: New file.
12090 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
12091 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
12093 2012-08-16 Gary Benson <gbenson@redhat.com>
12095 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
12096 unmapping the first object in a namespace.
12098 2012-08-16 Roland McGrath <roland@hack.frob.com>
12100 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
12101 (__internal_setnetgrent): ... this. Add internal_function to
12102 definition. Add libc_hidden_def.
12103 (setnetgrent): Update caller.
12104 (internal_endnetgrent): Renamed to ...
12105 (__internal_endnetgrent): ... this. Add internal_function to
12106 definition. Add libc_hidden_def.
12107 (endnetgrent): Update caller.
12108 (internal_getnetgrent_r): Renamed to ...
12109 (__internal_getnetgrent_r): ... this. Add internal_function to
12110 definition. Add libc_hidden_def.
12111 (__getnetgrent_r): Update caller.
12112 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
12114 2012-08-16 Joseph Myers <joseph@codesourcery.com>
12116 * stdlib/longlong.h: Update from GCC.
12118 2012-08-16 Roland McGrath <roland@hack.frob.com>
12120 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
12121 on _QL, which is set by umul_ppmm but never used.
12122 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
12123 variables, which are set by GMP macros but never used.
12124 * stdio-common/_itowa.c (_itowa): Likewise.
12125 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
12126 * stdlib/mod_1.c (mpn_mod_1): Likewise.
12128 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
12130 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
12131 struct La_sh_regs is not constant.
12132 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
12133 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
12134 and struct La_sparc64_regs are not constant.
12136 2012-08-16 Joseph Myers <joseph@codesourcery.com>
12138 * sysdeps/unix/sysv/linux/kernel-features.h
12139 (__ASSUME_POSIX_TIMERS): Remove.
12140 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12141 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12142 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
12143 Make code unconditional.
12144 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12145 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
12146 Make code unconditional.
12147 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12148 * sysdeps/unix/sysv/linux/clock_nanosleep.c
12149 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
12150 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12151 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
12152 Make code unconditional.
12153 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12154 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
12155 (__libc_missing_posix_timers): Remove.
12157 2012-08-15 Roland McGrath <roland@hack.frob.com>
12159 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
12160 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
12162 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
12164 * elf/dl-sym.c: Include <stdlib.h>.
12166 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
12167 constants, which avoids warnings in 32-bit builds.
12169 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
12170 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
12172 * misc/lseek.c: File moved to ...
12173 * io/lseek.c: ... here.
12175 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
12177 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
12178 shifting LEN more than 31 bits at once.
12180 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12183 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
12184 segmentation fault for a case of two empty input strings.
12185 * string/test-strncasecmp.c (check1): Renamed to...
12186 (bz12205): ...this.
12187 (bz14195): Add new testcase for two empty input strings and N > 0.
12188 (test_main): Call new testcase, adapt for renamed function.
12190 2012-08-15 Andreas Jaeger <aj@suse.de>
12193 * crypt/md5test2.c: New test, based on test supplied by Serge
12194 Belyshev <belyshev@depni.sinp.msu.ru>.
12195 * crypt/Makefile (xtests): Add md5test-giant..
12196 * crypt/Makefile ($(objpfx)md5test-giant): Add.
12198 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
12201 * crypt/md5.c (md5_process_block): Don't assume the buffer
12202 length is less than 2**32.
12203 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
12204 length is less than 2**64.
12206 2012-08-15 Roland McGrath <roland@hack.frob.com>
12208 * string/str-two-way.h: Include <sys/param.h>.
12209 (MAX): Macro removed.
12211 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
12212 Move #define and #undef of memmove to just before and after
12213 including <string.h>.
12215 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
12216 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
12217 and after including <string.h>. Move declarations of
12218 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
12219 to before #include "string/memmove.c".
12221 * include/dirent.h: Declare __getdirentries.
12223 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
12224 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
12226 2012-08-14 Mike Frysinger <vapier@gentoo.org>
12228 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
12229 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
12230 * sysdeps/i386/configure: Regenerated.
12231 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
12232 STABS_CURRENT_FILE, and STABS_FUN.
12233 (END): Remove call to STABS_FUN_END.
12234 (STABS_CURRENT_FILE1): Delete.
12235 (STABS_CURRENT_FILE): Likewise.
12236 (STABS_FUN): Likewise.
12237 (STABS_FUN_END): Likewise.
12238 (STABS_FUN2): Likewise.
12239 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
12240 * sysdeps/x86_64/configure: Regenerated.
12242 2012-08-14 Roland McGrath <roland@hack.frob.com>
12244 * elf/dl-open.c: Include <atomic.h>.
12245 * elf/dl-lookup.c: Likewise.
12247 2012-08-14 Joseph Myers <joseph@codesourcery.com>
12249 * sysdeps/unix/sysv/linux/kernel-features.h
12250 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
12251 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
12253 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
12255 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
12256 condition on __ASSUME_CLONE_THREAD_FLAGS.
12258 2012-08-14 Andreas Jaeger <aj@suse.de>
12260 * sysdeps/i386/fpu/libm-test-ulps: Update.
12262 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
12264 * include/atomic.h (atomic_exchange_and_add): Split into ...
12265 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
12268 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
12270 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12272 2012-08-13 Jeff Law <law@redhat.com>
12274 * manual/stdio.texi (snprintf): Clarify handling of the trailing
12275 null byte in the output string.
12277 2012-08-10 Joseph Myers <joseph@codesourcery.com>
12279 * sysdeps/unix/sysv/linux/kernel-features.h
12280 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
12281 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
12282 (__ASSUME_ARG_MAX_STACK_BASED): Define.
12283 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12284 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
12285 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
12286 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
12288 2012-08-09 Jeff Law <law@redhat.com>
12291 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
12292 When avoid_arena is set, don't retry in the that arena. Pick the
12293 next one, whatever it might be.
12294 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
12295 (arena_lock): Pass in new parameter to arena_get2.
12296 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
12298 (__libc_malloc): Unify retrying after main arena failure with
12299 __libc_memalign version.
12300 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
12302 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
12305 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
12306 to __redirect_strstr.
12307 (__strstr_sse42): Use typeof __redirect_strstr.
12308 (__strstr_ia32): Likewise.
12309 (__libc_strstr): New prototype.
12310 (strstr): Renamed to ...
12311 (__libc_strstr): This.
12312 (strstr): New strong alias of __libc_strstr.
12313 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12314 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
12317 (__libc_time): New prototype.
12318 (time_ifunc): Replace time with __libc_time.
12319 (time): New strong alias and hidden definition of __libc_time.
12320 (__GI_time): Remove strong alias.
12321 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
12322 Include <stddef.h>.
12323 (memmove): Redefined to __redirect_memmove.
12324 (__memmove_sse2): Use typeof __redirect_memmove.
12325 (__memmove_ssse3): Likewise.
12326 (__memmove_ssse3_back): Likewise.
12327 (__libc_memmove): New prototype.
12328 (memmove): Renamed to ...
12329 (__libc_memmove): This.
12330 (memmove): New strong alias of __libc_memmove.
12332 2012-08-08 Mark Salter <msalter@redhat.com>
12335 (R_MN10300_TLS_GD): Define.
12336 (R_MN10300_TLS_LD): Likewise.
12337 (R_MN10300_TLS_LDO): Likewise.
12338 (R_MN10300_TLS_GOTIE): Likewise.
12339 (R_MN10300_TLS_IE): Likewise.
12340 (R_MN10300_TLS_LE): Likewise.
12341 (R_MN10300_TLS_DTPMOD): Likewise.
12342 (R_MN10300_TLS_DTPOFF): Likewise.
12343 (R_MN10300_TLS_TPOFF): Likewise.
12344 (R_MN10300_SYM_DIFF): Likewise.
12345 (R_MN10300_ALIGN): Likewise.
12346 (R_MN10300_NUM): Update.
12348 2012-08-08 Joseph Myers <joseph@codesourcery.com>
12350 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
12353 2012-08-08 Roland McGrath <roland@hack.frob.com>
12355 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
12357 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
12358 sysdeps/unix -> sysdeps/posix move.
12359 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12361 2012-08-07 Allan McRae <allan@archlinux.org>
12364 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
12365 (SUNOS_CPP): Likewise.
12366 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
12368 (open_input): Call CPP using execvp.
12370 2012-08-07 Joseph Myers <joseph@codesourcery.com>
12372 * sysdeps/unix/sysv/linux/kernel-features.h
12373 (__ASSUME_PROT_GROWSUPDOWN): Remove.
12374 (__ASSUME_NO_CLONE_DETACHED): Likewise.
12375 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
12376 (__ASSUME_WAITID_SYSCALL): Likewise.
12377 * sysdeps/unix/sysv/linux/dl-execstack.c
12378 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
12379 code unconditional.
12380 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
12382 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
12383 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
12384 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
12386 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
12388 [__ASSUME_WAITID_SYSCALL]: Likewise.
12389 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
12391 2012-08-07 Roland McGrath <roland@hack.frob.com>
12393 * sysdeps/unix/closedir.c: Renamed to ...
12394 * sysdeps/posix/closedir.c: ... here.
12395 * sysdeps/unix/dirfd.c: Renamed to ...
12396 * sysdeps/posix/dirfd.c: ... here.
12397 * sysdeps/unix/dirstream.h: Renamed to ...
12398 * sysdeps/posix/dirstream.h: ... here.
12399 * sysdeps/unix/fdopendir.c: Renamed to ...
12400 * sysdeps/posix/fdopendir.c: ... here.
12401 * sysdeps/unix/opendir.c: Renamed to ...
12402 * sysdeps/posix/opendir.c: ... here.
12403 * sysdeps/unix/readdir.c: Renamed to ...
12404 * sysdeps/posix/readdir.c: ... here.
12405 * sysdeps/unix/readdir_r.c: Renamed to ...
12406 * sysdeps/posix/readdir_r.c: ... here.
12407 * sysdeps/unix/rewinddir.c: Renamed to ...
12408 * sysdeps/posix/rewinddir.c: ... here.
12409 * sysdeps/unix/seekdir.c: Renamed to ...
12410 * sysdeps/posix/seekdir.c: ... here.
12411 * sysdeps/unix/telldir.c: Renamed to ...
12412 * sysdeps/posix/telldir.c: ... here.
12413 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
12414 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
12415 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
12416 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
12418 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
12419 * bits/fcntl.h: ... here.
12421 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
12423 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
12424 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
12425 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
12426 (struct flock): Move l_start, l_len to the beginning.
12427 Use __pid_t for l_pid.
12428 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
12429 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
12430 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
12431 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
12432 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
12433 [__USE_LARGEFILE64] (struct flock64): New type.
12434 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
12436 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
12437 * bits/dirent.h: ... here.
12439 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
12440 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
12442 2012-08-07 Joseph Myers <joseph@codesourcery.com>
12444 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12445 Change from 2.6.0 to 2.6.16.
12446 * sysdeps/unix/sysv/linux/configure: Regenerated.
12447 * sysdeps/unix/sysv/linux/kernel-features.h
12448 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
12449 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
12451 (__ASSUME_UTIMES): Likewise.
12452 (__ASSUME_CLONE_STOPPED): Remove.
12453 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
12454 architectures, not kernel version.
12455 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
12456 (__ASSUME_NO_CLONE_DETACHED): Likewise.
12457 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
12458 (__ASSUME_WAITID_SYSCALL): Likewise.
12459 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
12460 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
12461 * README: State 2.6.16 as minimum Linux kernel version. Do not
12462 refer to older versions.
12464 2012-08-06 Roland McGrath <roland@hack.frob.com>
12466 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
12467 Define alphasort64 as an alias.
12468 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
12469 Define versionsort64 as an alias.
12470 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
12471 Define scandir64 as an alias.
12472 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
12473 Define scandirat64 as an alias.
12474 * dirent/alphasort64.c (alphasort64):
12475 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
12476 * dirent/versionsort64.c: Likewise.
12477 * dirent/scandir64.c: Likewise.
12478 * dirent/scandirat64.c: Likewise.
12479 * sysdeps/wordsize-64/alphasort.c: File removed.
12480 * sysdeps/wordsize-64/alphasort64.c: File removed.
12481 * sysdeps/wordsize-64/scandir.c: File removed.
12482 * sysdeps/wordsize-64/scandir64.c: File removed.
12483 * sysdeps/wordsize-64/scandirat.c: File removed.
12484 * sysdeps/wordsize-64/scandirat64.c: File removed.
12485 * sysdeps/wordsize-64/versionsort.c: File removed.
12486 * sysdeps/wordsize-64/versionsort64.c: File removed.
12487 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
12488 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
12489 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
12490 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
12491 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
12492 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
12493 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
12494 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
12496 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
12497 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
12498 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
12499 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12500 [defined __arch64__ || defined __sparcv9]
12501 (__INO_T_MATCHES_INO64_T): New macro.
12502 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12503 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
12504 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
12505 * sysdeps/unix/sysv/linux/bits/dirent.h
12506 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
12507 (_DIRENT_MATCHES_DIRENT64): New macro.
12509 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
12510 Define lockf64 as an alias.
12511 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
12512 Define fseeko64 as an alias.
12513 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
12514 Define ftello64 as an alias.
12515 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
12516 Define _IO_fgetpos64 and fgetpos64 as aliases.
12517 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
12518 Define _IO_fsetpos64 and fsetpos64 as aliases.
12519 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
12520 Conditionalize body on this.
12521 * libio/fseeko64.c: Likewise.
12522 * libio/ftello64.c: Likewise.
12523 * libio/iofgetpos64.c: Likewise.
12524 * libio/iofsetpos64.c: Likewise.
12525 * sysdeps/wordsize-64/lockf.c: File removed.
12526 * sysdeps/wordsize-64/lockf64.c: File removed.
12527 * sysdeps/wordsize-64/fseeko.c: File removed.
12528 * sysdeps/wordsize-64/fseeko64.c: File removed.
12529 * sysdeps/wordsize-64/ftello.c: File removed.
12530 * sysdeps/wordsize-64/ftello64.c: File removed.
12531 * sysdeps/wordsize-64/iofgetpos.c: File removed.
12532 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
12533 * sysdeps/wordsize-64/iofsetpos.c: File removed.
12534 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
12535 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
12536 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
12537 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
12538 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
12539 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
12540 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
12541 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
12542 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
12543 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
12544 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
12546 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
12547 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
12548 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
12549 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12550 [defined __arch64__ || defined __sparcv9]
12551 (__OFF_T_MATCHES_OFF64_T): New macro.
12552 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12553 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
12554 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12555 (__OFF_T_MATCHES_OFF64_T): New macro.
12557 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
12559 * stdlib/secure-getenv.c (__secure_getenv): Replace
12560 GLIBC_2_16 with GLIBC_2_17.
12562 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
12564 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
12565 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12567 2012-08-03 David S. Miller <davem@davemloft.net>
12569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12571 2012-08-03 Joseph Myers <joseph@codesourcery.com>
12573 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
12575 (__ASSUME_CORRECT_SI_PID): Likewise.
12576 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
12577 (__ASSUME_TMPFS_NAME): Likewise.
12578 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
12579 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
12580 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
12581 (HAVE_AUX_SECURE): Make definition unconditional.
12582 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
12583 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
12585 2012-08-03 Roland McGrath <roland@hack.frob.com>
12587 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
12588 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
12589 * sysdeps/mach/hurd/eloop-threshold.h: New file.
12590 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12591 __eloop_threshold instead of SYMLOOP_MAX.
12593 * sysdeps/generic/eloop-threshold.h: New file.
12594 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
12596 * elf/chroot_canon.c (chroot_canon): Likewise.
12598 2012-08-03 Joseph Myers <joseph@codesourcery.com>
12601 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12602 Change to 2.6.0 everywhere.
12603 * sysdeps/unix/sysv/linux/configure: Regenerated.
12604 * sysdeps/unix/sysv/linux/kernel-features.h
12605 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
12606 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
12608 (__ASSUME_POSIX_TIMERS): Define unconditionally.
12609 (__ASSUME_FUTEX_REQUEUE): Remove.
12610 (__ASSUME_STATFS64): Define unconditionally.
12611 (__ASSUME_AT_SECURE): Likewise.
12612 (__ASSUME_CORRECT_SI_PID): Likewise.
12613 (__ASSUME_TGKILL): Define without depending on kernel version for
12615 (__ASSUME_UTIMES): Likewise.
12616 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
12618 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
12619 (__ASSUME_TMPFS_NAME): Likewise.
12620 * README: Update reference to Linux kernel versions.
12622 2012-08-02 Marek Polacek <polacek@redhat.com>
12625 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
12626 libc_cv_asm_type_prefix with %.
12627 * configure: Regenerated.
12628 * include/libc-symbols.h: Remove comment about
12629 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
12630 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
12631 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
12632 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
12633 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
12634 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
12635 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
12636 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
12637 * elf/tst-unique2mod1.c: Likewise.
12638 * elf/tst-unique1mod2.c: Likewise.
12639 * elf/tst-unique1mod1.c: Likewise.
12640 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
12641 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
12642 Replace ASM_TYPE_DIRECTIVE with .type.
12643 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12644 * sysdeps/i386/sysdep.h: Likewise.
12645 * sysdeps/x86_64/sysdep.h: Likewise.
12646 * sysdeps/sh/sysdep.h: Likewise.
12647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12648 Do not define ASM_TYPE_DIRECTIVE.
12649 * sysdeps/powerpc/sysdep.h: Likewise.
12650 * sysdeps/powerpc/powerpc32/sysdep.h:
12651 Replace ASM_TYPE_DIRECTIVE with .type.
12652 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12653 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12654 * sysdeps/i386/fpu/e_powf.S: Likewise.
12655 * sysdeps/i386/fpu/e_expl.S: Likewise.
12656 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12657 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12658 * sysdeps/i386/fpu/e_pow.S: Likewise.
12659 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12660 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12661 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12662 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12663 * sysdeps/i386/fpu/e_log2.S: Likewise.
12664 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12665 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12666 * sysdeps/i386/fpu/e_powl.S: Likewise.
12667 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12668 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12669 * sysdeps/i386/fpu/e_logl.S: Likewise.
12670 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12671 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12672 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12673 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12674 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12675 * sysdeps/i386/fpu/e_log.S: Likewise.
12676 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12677 * sysdeps/i386/fpu/e_logf.S: Likewise.
12678 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12679 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12680 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12681 * sysdeps/i386/fpu/e_log10.S: Likewise.
12682 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12683 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12684 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12685 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12686 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12687 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
12688 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12689 * sysdeps/i386/i686/strtok.S: Likewise.
12690 * sysdeps/i386/i386-mcount.S: Likewise.
12691 * sysdeps/i386/strtok.S: Likewise.
12692 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
12693 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12694 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12695 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12696 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12697 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12698 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12699 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12700 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12701 * sysdeps/x86_64/_mcount.S: Likewise.
12702 * sysdeps/x86_64/strtok.S: Likewise.
12703 * sysdeps/sh/_mcount.S: Likewise.
12705 2012-08-01 Roland McGrath <roland@hack.frob.com>
12707 * libio/iofopen.c: Include <fcntl.h>.
12708 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
12709 (_IO_fopen64, fopen64): Define as aliases.
12710 * libio/iofopen64.c: Include <fcntl.h>.
12711 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
12712 Conditionalize body on this.
12713 * sysdeps/wordsize-64/iofopen.c: File removed.
12714 * sysdeps/wordsize-64/iofopen64.c: File removed.
12716 2012-08-01 Marek Polacek <polacek@redhat.com>
12718 * libc/Makeconfig: Use elf in place of binfmt-subdir.
12719 Use dlfcn directly instead of a variable.
12720 (binfmt-subdir): Do not define.
12723 2012-08-01 Joseph Myers <joseph@codesourcery.com>
12725 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
12726 Remove all definitions.
12727 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
12728 <kernel-features.h>.
12729 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12730 (miss_F_GETOWN_EX): Remove all definitions.
12731 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
12733 [!__ASSUME_FCNTL64]: Remove conditional code.
12734 [__ASSUME_FCNTL64]: Make code unconditional.
12735 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
12736 <kernel-features.h>.
12737 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12738 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
12739 (lockf64) [__NR_fcntl64]: Make code unconditional.
12740 (lockf64) [__ASSUME_FCNTL64]: Likewise.
12742 * sysdeps/unix/sysv/linux/kernel-features.h
12743 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
12744 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
12745 Make code unconditional.
12746 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12747 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
12749 [__NR_vfork]: Make code unconditional.
12750 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12751 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
12753 [__NR_vfork]: Make code unconditional.
12754 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12755 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12757 2012-08-01 Roland McGrath <roland@hack.frob.com>
12759 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
12760 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
12762 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12763 Define mkstemp64 as an alias.
12764 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12765 Define mkstemps64 as an alias.
12766 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12767 Define mkostemp64 as an alias.
12768 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12769 Define mkostemps64 as an alias.
12770 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
12771 Conditionalize body on this.
12772 * misc/mkostemp64.c: Likewise.
12773 * misc/mkostemps64.c: Likewise.
12774 * misc/mkstemps64.c: Likewise.
12775 * sysdeps/wordsize-64/mkstemp64.c: File removed.
12776 * sysdeps/wordsize-64/mkostemp64.c: File removed.
12777 * sysdeps/wordsize-64/mkostemp.c: File removed.
12778 * sysdeps/wordsize-64/mkstemp.c: File removed.
12779 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
12780 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
12781 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
12782 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
12785 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
12786 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
12787 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
12788 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
12790 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
12791 compat_symbol macros from <shlib-compat.h> rather than the underlying
12792 default_symbol_version and symbol_version macros, so that DEFAULT
12793 lines in shlib-versions are respected.
12794 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
12796 2012-08-01 Florian Weimer <fweimer@redhat.com>
12798 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
12799 Declare with warn_unused_result.
12800 (setgid, setregid, setegid, setresgid): Likewise.
12801 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
12803 * WUR-REPORT: Remove set*id functions.
12805 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
12807 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
12809 2012-07-31 Roland McGrath <roland@hack.frob.com>
12812 * include/sys/socket.h (__libc_accept, __libc_accept4):
12813 Add attribute_hidden.
12814 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
12816 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
12818 * inet/getnetgrent_r.c (setup): Likewise.
12820 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
12822 2012-07-31 David S. Miller <davem@davemloft.net>
12824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12826 2012-07-31 Joseph Myers <joseph@codesourcery.com>
12829 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
12830 value between 1.0 and 2.0 and smaller part has absolute value less
12832 * math/s_clog10.c (__clog10): Likewise.
12833 * math/s_clog10f.c (__clog10f): Likewise.
12834 * math/s_clog10l.c (__clog10l): Likewise.
12835 * math/s_clogf.c (__clogf): Likewise.
12836 * math/s_clogl.c (__clogl): Likewise.
12837 * math/libm-test.inc (clog_test): Add more tests.
12838 (clog10_test): Likewise.
12839 * sysdeps/i386/fpu/libm-test-ulps: Update.
12840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12842 2012-07-31 Florian Weimer <fweimer@redhat.com>
12844 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
12845 Exit with zero in case no suitable GID is found, and write a
12846 message to standard error.
12848 2012-07-30 Roland McGrath <roland@hack.frob.com>
12850 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
12852 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
12853 (MAXPATHLEN): Removed.
12854 (NOGROUP, NODEV): New macros.
12855 (setbit, clrbit, isset, isclr): New macros.
12856 (howmany, roundup, powerof2): New macros.
12857 (DEV_BSIZE): New macro.
12859 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
12860 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
12862 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
12863 definition on [!__NO_LONG_DOUBLE_MATH].
12865 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
12866 PTR_MANGLE and PTR_DEMANGLE.
12868 * socket/accept4.c (accept4): Rename to __libc_accept4.
12869 Define accept4 as a weak alias.
12871 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
12872 on [_DIRENT_HAVE_D_TYPE].
12873 * io/ftw.c (ftw_dir): Likewise.
12875 * io/xmknod.c (__xmknod): Don't check PATH for being null.
12877 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
12879 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
12880 Use the BSD numbers rather than the arbitrary ones we had.
12881 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
12882 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
12883 (SIGXCPU, SIGXFSZ): New macros.
12886 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
12887 initializer on [_LIBC_REENTRANT].
12889 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
12890 definitions inside [_POSIX_MAPPED_FILES].
12892 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
12894 * dirent/opendir.c: Include <fcntl.h>.
12896 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
12897 (__libc_getspecific): Likewise.
12898 (__libc_key_create): Likewise.
12900 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
12901 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
12902 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
12903 (tmpfile64): Define as alias.
12904 * sysdeps/wordsize-64/tmpfile.c: File removed.
12905 * sysdeps/wordsize-64/tmpfile64.c: File removed.
12906 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
12907 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
12909 * stdio-common/vfscanf.c: Include <stdbool.h>.
12910 * nss/makedb.c: Likewise.
12911 * stdio-common/_i18n_number.h: Likewise.
12912 * argp/argp-help.c: Likewise.
12913 * posix/wordexp.c: Likewise.
12914 * sysdeps/posix/spawni.c: Likewise.
12915 * nss/nss_files/files-initgroups.c: Likewise.
12916 * stdio-common/reg-modifier.c: Include <stdlib.h>.
12917 * nss/nss_files/files-initgroups.c: Likewise.
12918 * nss/nss_db/db-netgrp.c: Likewise.
12919 * nss/nss_db/db-initgroups.c: Likewise.
12920 * io/fchmodat.c: Include <sys/stat.h>.
12922 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
12923 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
12925 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
12928 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
12929 Add multiple inclusion protection.
12931 2012-07-27 David S. Miller <davem@davemloft.net>
12933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12935 2012-07-27 Gary Benson <gbenson@redhat.com>
12938 * elf/rtld.c: Include <stap-probe.h>.
12939 (dl_main): Added static probes "init_start" and "init_complete".
12940 * elf/dl-load.c: Include <stap-probe.h>.
12941 (lose): Take new parameter "nsid".
12942 Added static probe "map_failed".
12943 (_dl_map_object_from_fd): Pass namespace id to lose.
12944 Added static probe "map_start".
12945 (open_verify): Pass namespace id to lose.
12946 * elf/dl-open.c: Include <stap-probe.h>.
12947 (dl_open_worker) Added static probes "map_complete", "reloc_start"
12948 and "reloc_complete".
12949 * elf/dl-close.c: Include <stap-probe.h>.
12950 (_dl_close_worker): Added static probes "unmap_start" and
12952 * elf/rtld-debugger-interface.txt: New file documenting the above.
12954 2012-07-26 Roland McGrath <roland@hack.frob.com>
12956 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
12957 rather than a string variable.
12958 * sunrpc/rpc_main.c (h_output): Likewise.
12959 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
12961 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
12963 * inet/check_native.c: New file.
12965 2012-07-26 Joseph Myers <joseph@codesourcery.com>
12968 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
12969 if larger part has absolute value 1.0.
12970 * math/s_clog10.c (__clog10): Likewise.
12971 * math/s_clog10f.c (__clog10f): Likewise.
12972 * math/s_clog10l.c (__clog10l): Likewise.
12973 * math/s_clogf.c (__clogf): Likewise.
12974 * math/s_clogl.c (__clogl): Likewise.
12975 * math/libm-test.inc (clog_test): Add more tests.
12976 (clog10_test): Likewise.
12977 * sysdeps/i386/fpu/libm-test-ulps: Update.
12978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12980 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
12981 (pltexit): Likewise.
12982 (La_regs): Likewise.
12983 (La_retval): Likewise.
12984 (int_retval): Likewise.
12985 Update #error for removed macros to refer only to definitions in
12987 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
12989 (pltexit): Likewise.
12990 (La_regs): Likewise.
12991 (La_retval): Likewise.
12992 (int_retval): Likewise.
12993 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
12995 (pltexit): Likewise.
12996 (La_regs): Likewise.
12997 (La_retval): Likewise.
12998 (int_retval): Likewise.
12999 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
13001 (pltexit): Likewise.
13002 (La_regs): Likewise.
13003 (La_retval): Likewise.
13004 (int_retval): Likewise.
13005 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
13007 (pltexit): Likewise.
13008 (La_regs): Likewise.
13009 (La_retval): Likewise.
13010 (int_retval): Likewise.
13011 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
13013 (pltexit): Likewise.
13014 (La_regs): Likewise.
13015 (La_retval): Likewise.
13016 (int_retval): Likewise.
13017 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
13019 (pltexit): Likewise.
13020 (La_regs): Likewise.
13021 (La_retval): Likewise.
13022 (int_retval): Likewise.
13023 * sysdeps/generic/tst-audit.h: Update comment to refer only to
13024 macro definitions in tst-audit.h.
13025 * sysdeps/i386/tst-audit.h: New file.
13026 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
13027 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
13028 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
13029 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
13030 * sysdeps/sh/tst-audit.h: Likewise.
13031 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
13032 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
13033 * sysdeps/x86_64/tst-audit.h: Likewise.
13035 2012-07-26 Andreas Jaeger <aj@suse.de>
13037 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
13040 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
13041 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
13042 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
13044 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
13045 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
13046 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
13048 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
13051 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
13053 (si_call_addr, si_syscall, si_arch): Define new macro.
13054 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
13056 (si_call_addr, si_syscall, si_arch): Define new marcro.
13057 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
13059 (si_call_addr, si_syscall, si_arch): Define new macro.
13060 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
13062 (si_call_addr, si_syscall, si_arch): Define new macro.
13064 2012-07-25 Joseph Myers <joseph@codesourcery.com>
13067 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13068 Change to 2.4.21 where previously 2.4.1.
13069 * sysdeps/unix/sysv/linux/configure: Regenerated.
13070 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
13071 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
13072 Linux kernel version.
13073 (__ASSUME_STD_AUXV): Remove.
13074 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
13076 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
13077 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
13078 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
13079 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
13080 (__ASSUME_NETLINK_SUPPORT): Likewise.
13081 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
13082 (__no_netlink_support): Remove conditional definition.
13083 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
13085 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13086 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
13087 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
13088 (if_nameindex_ioctl): Remove.
13089 (if_nameindex_netlink): Do not handle __no_netlink_support.
13090 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13092 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
13093 Remove conditional code.
13094 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13096 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
13098 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13099 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
13100 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
13102 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
13103 [!__ASSUME_STD_AUXV]: Remove conditional code.
13104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
13105 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
13106 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
13107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
13108 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
13109 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13111 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13113 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
13114 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13116 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13118 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13121 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
13124 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13125 code unconditional.
13126 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13128 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13130 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13133 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13135 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13138 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13139 code unconditional.
13140 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13142 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13144 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13147 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13148 code unconditional.
13149 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13151 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13153 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13156 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
13158 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
13159 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
13160 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13161 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
13162 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
13163 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13164 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13165 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13166 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
13167 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13168 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
13169 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
13170 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
13171 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13172 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
13173 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
13174 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
13175 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
13176 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
13177 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
13178 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
13179 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
13180 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13182 2012-07-25 Florian Weimer <fweimer@redhat.com>
13184 * Versions.def: Add GLIBC_2.17.
13185 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
13186 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
13187 Introduce __libc_secure_getenv.
13188 * stdlib/Versions (2.17): Add secure_getenv
13189 (GLIBC_PRIVATE): Add __libc_secure_getenv.
13190 * stdlib/secure-getenv.c: Rename __secure_getenv to
13191 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
13192 symbol __secure_getenv for GLIBC_2.0.
13193 * stdlib/tst-secure-getenv.c: New.
13194 * stdlib/Makefile (tests): Add testcase.
13195 * manual/startup.texi (Environment Access): Document
13197 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
13198 __libc_secure_getenv.
13199 * inet/ruserpass.c (ruserpass): Likewise.
13200 * malloc/mtrace.c (mtrace): Likewise.
13201 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
13202 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
13203 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
13204 * sysdeps/posix/tempname.c: Likewise. Evaluate
13205 HAVE_SECURE_GETENV.
13206 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
13207 __secure_getenv to __libc_secure_getenv.
13208 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
13209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13215 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13221 2012-07-25 Joseph Myers <joseph@codesourcery.com>
13223 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
13224 (struct La_i86_retval): Likewise.
13225 (struct La_x86_64_regs): Likewise.
13226 (struct La_x86_64_retval): Likewise.
13227 (struct La_x32_regs): Likewise.
13228 (struct La_x32_retval): Likewise.
13229 (struct La_ppc32_regs): Likewise.
13230 (struct La_ppc32_retval): Likewise.
13231 (struct La_ppc64_regs): Likewise.
13232 (struct La_ppc64_retval): Likewise.
13233 (struct La_sh_regs): Likewise.
13234 (struct La_sh_retval): Likewise.
13235 (struct La_s390_32_regs): Likewise.
13236 (struct La_s390_32_retval): Likewise.
13237 (struct La_s390_64_regs): Likewise.
13238 (struct La_s390_64_retval): Likewise.
13239 (struct La_sparc32_regs): Likewise.
13240 (struct La_sparc32_retval): Likewise.
13241 (struct La_sparc64_regs): Likewise.
13242 (struct La_sparc64_retval): Likewise.
13243 (struct audit_ifaces): Remove architecture-specific pltenter and
13245 * sysdeps/i386/ldsodefs.h: New file.
13246 * sysdeps/powerpc/ldsodefs.h: Likewise.
13247 * sysdeps/s390/ldsodefs.h: Likewise.
13248 * sysdeps/sh/ldsodefs.h: Likewise.
13249 * sysdeps/sparc/ldsodefs.h: Likewise.
13250 * sysdeps/x86_64/ldsodefs.h: Likewise.
13252 2012-07-25 Marek Polacek <polacek@redhat.com>
13255 * math/libm-test.inc (yn_test): Add another test.
13256 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
13257 to ERANGE when the result is +-Inf.
13258 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13259 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
13260 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
13261 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
13263 2012-07-24 Joseph Myers <joseph@codesourcery.com>
13265 * conform/data/time.h-data (NULL): Use macro-constant. Require
13267 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
13269 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
13271 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
13273 * configure.in <sysdeps resolving>: Correct printing
13275 * configure: Regenerate.
13277 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
13279 * math/w_ilogb.c: Include <limits.h>.
13280 * math/w_ilogbl.c: Likewise.
13282 2012-07-20 Joseph Myers <joseph@codesourcery.com>
13284 * manual/lang.texi (__va_copy): Document primarily as ISO C99
13285 va_copy. Document allowing for unavailable va_copy only as
13286 pre-C99 compatibility.
13287 * manual/string.texi (Copying and Concatenation): Use va_copy
13288 instead of __va_copy in concat example.
13290 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
13292 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
13293 (__sendto): Use create_address_port. Initialize APORT and deallocate
13296 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
13297 with O_NOLINK passed to __file_name_lookup.
13299 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
13300 with O_NOLINK passed to __file_name_lookup.
13302 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
13303 negative N or less than NGIDS.
13305 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
13306 type to string_t. Set ERANGE as errno and return it if NAME is not big
13307 enough. Use memcpy instead of strncpy.
13309 2012-07-20 Joseph Myers <joseph@codesourcery.com>
13311 * elf/Makefile (check-data): Remove.
13312 (localplt.data): New vpath directive.
13313 ($(objpfx)check-localplt.out): Use localplt.data from vpath
13314 instead of $(check-data).
13315 * scripts/data/localplt-generic.data: Move to ...
13316 * sysdeps/generic/localplt.data: ... here.
13317 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
13318 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
13319 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
13320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
13322 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
13323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
13325 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
13326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
13328 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
13329 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13331 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
13332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
13334 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
13335 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
13338 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13340 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
13341 PPC32 and PPC64 files.
13342 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
13343 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
13345 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13347 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
13348 __makecontext_ret to ...
13349 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
13350 ... here and call exit if uc_link is NULL. New file.
13351 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
13352 __makecontext_ret.S.
13353 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
13354 __makecontext_ret to ...
13355 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
13356 ... here and call exit if uc_link is NULL. New file.
13357 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
13358 __makecontext_ret.S.
13360 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13362 * elf/elf.h (R_390_IRELATIVE): New definition.
13363 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
13364 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
13365 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
13366 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13367 (elf_machine_lazy_rel): Likewise.
13368 * sysdeps/s390/dl-irel.h: New file.
13369 * sysdeps/s390/s390-64/memcpy.S: New asm code.
13370 * sysdeps/s390/s390-64/memset.S: New asm code.
13371 * sysdeps/s390/s390-64/memcmp.S: New asm code.
13372 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
13373 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
13374 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
13375 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
13376 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
13377 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
13378 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
13379 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
13380 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
13381 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
13382 * sysdeps/s390/s390-32/memcpy.S: New asm code.
13383 * sysdeps/s390/s390-32/memset.S: New asm code.
13384 * sysdeps/s390/s390-32/memcmp.S: New asm code.
13386 2012-07-17 Marek Polacek <polacek@redhat.com>
13389 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
13390 * sysdeps/s390/s390-64/configure.in: Likewise.
13391 * sysdeps/sparc/configure.in: Likewise.
13392 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
13393 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
13394 * sysdeps/i386/configure.in: Likewise.
13395 * sysdeps/x86_64/configure.in: Likewise.
13396 * sysdeps/sh/configure.in: Likewise.
13397 * sysdeps/s390/s390-32/configure: Regenerated.
13398 * sysdeps/s390/s390-64/configure: Likewise.
13399 * sysdeps/x86_64/configure: Likewise.
13400 * sysdeps/sh/configure: Likewise.
13401 * sysdeps/powerpc/powerpc64/configure: Likewise.
13402 * sysdeps/powerpc/powerpc32/configure: Likewise.
13403 * sysdeps/sparc/configure: Likwise.
13404 * sysdeps/i386/configure: Likewise.
13406 * elf/dl-open.c: Comment fixes.
13408 2012-07-17 Joseph Myers <joseph@codesourcery.com>
13410 * Makefile [CXX] (check-data): Remove.
13411 [CXX] (c++-types.data): New vpath directive.
13412 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
13413 vpath. Do not allow for C++ type data being missing.
13414 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
13415 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
13416 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
13417 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
13418 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
13419 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
13420 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
13421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
13423 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
13424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
13426 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
13427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
13429 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
13430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
13432 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
13433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
13435 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
13436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
13438 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
13439 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
13441 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
13442 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
13444 * elf/tls-macros.h (TLS_LE): Move architecture-specific
13445 definitions to architecture-specific files.
13446 (TLS_IE): Likewise.
13447 (TLS_LD): Likewise.
13448 (TLS_GD): Likewise.
13449 * sysdeps/i386/tls-macros.h: New file.
13450 * sysdeps/powerpc/tls-macros.h: Likewise.
13451 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
13452 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
13453 * sysdeps/sh/tls-macros.h: Likewise.
13454 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
13455 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
13456 * sysdeps/x86_64/tls-macros.h: Likewise.
13458 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
13460 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
13461 zero value for regular exit case.
13463 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13464 (__start_context): Preserve zero value for regular exit case.
13466 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
13467 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13469 * manual/setjmp.texi (setcontext): Clarify normal process
13470 termination when uc_link is the null pointer.
13471 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
13474 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
13476 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
13477 preprocessor. Test for each exception mask separately.
13479 2012-07-16 Andreas Jaeger <aj@suse.de>
13481 * po/ru.po: Update from translation team.
13483 2012-07-15 Joseph Myers <joseph@codesourcery.com>
13485 * conform/data/string.h-data (NULL): Use macro-constant. Require
13487 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13488 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13489 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
13490 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
13491 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13493 2012-07-13 Andreas Jaeger <aj@suse.de>
13495 * po/fr.po: Update from translation team.
13497 2012-07-12 Marek Polacek <polacek@redhat.com>
13500 * math/libm-test.inc (yn_test): Add test for BZ #14173.
13501 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
13504 2012-07-12 Joseph Myers <joseph@codesourcery.com>
13507 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13508 Change to 2.4.1 where previously 2.4.0.
13509 * sysdeps/unix/sysv/linux/configure: Regenerated.
13510 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
13511 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
13513 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
13514 (__ASSUME_AT_CLKTCK): Remove.
13515 (__ASSUME_AT_PAGESIZE): Likewise.
13516 (__ASSUME_AT_XID): Likewise.
13517 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
13518 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
13519 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
13521 (HAVE_AUX_PAGESIZE): Likewise.
13522 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
13523 [__ASSUME_AT_CLKTCK]: Make code unconditional.
13524 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
13526 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
13529 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
13530 the temporary buffer used to invoke __gethostbyname2_r,
13531 __gethostbyaddr_r and gethostbyname4_r to make room for struct
13532 host_data / struct gaih_addrtuple.
13533 * resolv/nss_dns/dns-host.c (global scope): Move definition of
13534 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
13535 header file nss/nsswitch.h.
13536 * nss/nsswitch.h (global scope): Add definition of implementation
13537 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
13538 resolv/nss_dns/dns-host.c).
13540 2012-07-11 Andreas Jaeger <aj@suse.de>
13542 * po/fr.po: Update from translation team.
13544 * po/sv.po: Update from translation team
13545 * po/fr.po: Another update from translation team.
13547 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13549 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
13550 for subnormals or multiply small sinh result by itself.
13551 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13554 2012-07-11 David S. Miller <davem@davemloft.net>
13556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13558 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
13561 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
13562 (INTERNAL_MARK): Shift it here.
13564 2012-07-10 Marek Polacek <polacek@redhat.com>
13567 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
13568 libc_cv_asm_global_directive with .globl.
13569 * configure: Regenerated.
13570 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
13572 * sysdeps/i386/configure: Regenerated.
13573 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
13575 * sysdeps/x86_64/configure: Regenerated.
13576 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
13577 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
13578 * elf/tst-unique2mod2.c: Likewise.
13579 * elf/tst-unique2mod1.c: Likewise.
13580 * elf/tst-unique1mod2.c: Likewise.
13581 * elf/tst-unique1mod1.c: Likewise.
13582 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13583 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13584 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13585 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13586 * sysdeps/mach/sysdep.h: Likewise.
13587 * sysdeps/i386/sysdep.h: Likewise.
13588 * sysdeps/i386/i386-mcount.S: Likewise.
13589 * sysdeps/x86_64/_mcount.S: Likewise.
13590 * sysdeps/x86_64/sysdep.h: Likewise.
13591 * sysdeps/sh/_mcount.S: Likewise.
13592 * sysdeps/sh/sysdep.h: Likewise.
13593 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
13594 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
13595 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
13596 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13597 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
13598 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
13599 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
13600 * locale/localeinfo.h: Likewise.
13601 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
13602 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
13604 2012-07-09 Roland McGrath <roland@hack.frob.com>
13607 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
13609 * manual/message.texi (The Uniforum approach): Likewise.
13610 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
13611 (glibc iconv Implementation): Likewise.
13613 2012-07-09 Joseph Myers <joseph@codesourcery.com>
13616 * math/s_clog.c (__clog): Avoid scaling a value down where that
13617 could result in underflow.
13618 * math/s_clog10.c (__clog10): Likewise.
13619 * math/s_clog10f.c (__clog10f): Likewise.
13620 * math/s_clog10l.c (__clog10l): Likewise.
13621 * math/s_clogf.c (__clogf): Likewise.
13622 * math/s_clogl.c (__clogl): Likewise.
13623 * math/libm-test.inc (clog_test): Add more tests.
13624 (clog10_test): Likewise.
13625 * sysdeps/i386/fpu/libm-test-ulps: Update.
13626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13628 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
13631 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
13632 by 7 not 8 to examine high bit of fractional part.
13635 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
13636 for call to __mcount_internal.
13637 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
13638 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
13639 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
13641 2012-07-06 Joseph Myers <joseph@codesourcery.com>
13644 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
13645 approximation for values within 0x1p-13f of an odd multiple of
13647 * math/libm-test.inc (tan_test): Do not allow spurious underflow
13648 exception. Add more tests.
13649 * sysdeps/i386/fpu/libm-test-ulps: Update.
13652 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
13653 inputs and return -1 for them. Do not check for +Inf in case not
13654 reachable for +Inf.
13655 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13656 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
13657 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13658 and return -1 for them. Do not check for +Inf in case not
13659 reachable for +Inf.
13660 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
13662 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13663 and return -1 for them. Do not check for +Inf in case not
13664 reachable for +Inf.
13665 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
13666 spurious underflow.
13667 * sysdeps/i386/fpu/libm-test-ulps: Update.
13668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13670 2012-07-06 Mike Frysinger <vapier@gentoo.org>
13672 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
13674 2012-07-05 Joseph Myers <joseph@codesourcery.com>
13678 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
13679 could result in spurious underflow. Scale down values above
13680 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
13681 * math/s_csqrtf.c (__csqrtf): Likewise.
13682 * math/s_csqrtl.c (__csqrtl): Likewise.
13683 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
13684 spurious underflow.
13685 * sysdeps/i386/fpu/libm-test-ulps: Update.
13686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13688 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
13690 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
13692 * catgets/xopen-msg.awk: New file.
13693 * catgets/xopen-msg.sed: Removed.
13695 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
13697 * intl/po2test.awk: New file.
13698 * intl/po2test.sed: Removed.
13700 2012-07-04 Joseph Myers <joseph@codesourcery.com>
13703 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
13704 or multiply small sinh result by itself.
13705 * math/s_ctanf.c (__ctanf): Likewise.
13706 * math/s_ctanh.c (__ctanh): Likewise.
13707 * math/s_ctanhf.c (__ctanhf): Likewise.
13708 * math/s_ctanhl.c (__ctanhl): Likewise.
13709 * math/s_ctanl.c (__ctanl): Likewise.
13710 * math/libm-test.inc (ctan_test_tonearest): New function.
13711 (ctan_test_towardzero): Likewise.
13712 (ctan_test_downward): Likewise.
13713 (ctan_test_upward): Likewise.
13714 (ctanh_test_tonearest): Likewise.
13715 (ctanh_test_towardzero): Likewise.
13716 (ctanh_test_downward): Likewise.
13717 (ctanh_test_upward): Likewise.
13718 (main): Call these new functions.
13719 * sysdeps/i386/fpu/libm-test-ulps: Update.
13720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13722 2012-07-03 Mike Frysinger <vapier@gentoo.org>
13724 * .gitignore: Delete /ports entry.
13726 2012-07-03 Andreas Jaeger <aj@suse.de>
13728 * po/bg.po: Update from translation team.
13729 * po/cs.po: Likewise.
13730 * po/de.po: Likewise.
13731 * po/hr.po: Likewise.
13732 * po/nl.pl: Likewise.
13733 * po/pl.po: Likewise.
13734 * po/vi.po: Likewise.
13736 2012-07-03 Joseph Myers <joseph@codesourcery.com>
13738 * Makeconfig [!+link] (+link-before-libc): New variable.
13739 [!+link] (+link-after-libc): Likewise.
13740 [!+link] (+link-tests): Likewise.
13741 [!+link] (+link): Define in terms of $(+link-before-libc) and
13742 $(+link-after-libc).
13743 [!+link-static] (+link-static-before-libc): New variable.
13744 [!+link-static] (+link-static-after-libc): Likewise.
13745 [!+link-static] (+link-static-tests): Likewise.
13746 [!+link-static] (+link-static): Define in terms of
13747 $(+link-static-before-libc) and $(+link-static-after-libc).
13748 [build-shared] (link-libc-before-gnulib): New variable.
13749 [build-shared] (link-libc-tests): Likewise.
13750 [build-shared] (link-libc): Define in terms of
13751 $(link-libc-before-gnulib).
13752 [!build-shared] (link-libc-tests): New variable.
13753 (link-libc-static-tests): New variable.
13754 [!gnulib] (gnulib-arch): New variable.
13755 [!gnulib] (gnulib-tests): Likewise.
13756 [!gnulib] (static-gnulib-arch): Likewise.
13757 [!gnulib] (static-gnulib-tests): Likewise.
13758 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
13759 Define with "=" instead of ":=".
13760 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
13761 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
13762 * Rules (binaries-all-notests): New variable.
13763 (binaries-all-tests): Likewise.
13764 (binaries-static-notests): Likewise.
13765 (binaries-static-tests): Likewise.
13766 (binaries-all): Define using $(binaries-all-notests) and
13767 $(binaries-all-tests).
13768 (binaries-static): Define using $(binaries-static-notests) and
13769 $(binaries-static-tests).
13770 (binaries-shared-tests): New variable.
13771 (binaries-shared-notests): Likewise.
13772 (binaries-shared): Remove variable.
13773 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
13774 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
13775 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
13776 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
13777 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
13778 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
13779 * elf/Makefile (sln-modules): New variable.
13780 (extra-objs): Add $(sln-modules:=.o).
13781 (ldconfig-modules): Add static-stubs.
13782 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
13783 * elf/static-stubs.c: New file.
13786 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
13787 by 7 not 8 to examine high bit of fractional part. Use volatile
13788 variables when splitting into final array of floats if
13789 __FLT_EVAL_METHOD__ != 0.
13790 * math/libm-test.inc (cos_test): Add another test.
13791 (sin_test): Likewise.
13792 * sysdeps/i386/fpu/libm-test-ulps: Update.
13795 * math/libm-test.inc (cosh_test): Add more tests.
13797 * version.h (RELEASE): Set to "development".
13798 (VERSION): Set to "2.16.90".
13800 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
13802 * NEWS: Update copyright. Remove last-updated date.
13803 Mention math library bug fixes and timezone data changes.
13804 * README: Mention GNU/Hurd, x32, and HPPA support status.
13806 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
13808 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
13810 2012-06-27 Andreas Jaeger <aj@suse.de>
13812 * manual/contrib.texi (Contributors): Add Samuel Thibault.
13814 2012-06-25 Andreas Jaeger <aj@suse.de>
13816 * sysdeps/s390/fpu/libm-test-ulps: Update.
13818 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
13819 Thomas Schwinge <thomas@codesourcery.com>
13821 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
13822 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
13823 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
13826 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
13828 * sysdeps/mach/start.c: Remove file.
13829 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
13830 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
13831 * sysdeps/sh/init-first.c: Likewise.
13833 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
13834 registers for frame unwinding purposes, add CFI directives.
13835 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13836 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
13837 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
13840 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
13841 __fortify_fail returning.
13842 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13844 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
13845 sysdeps/sh/____longjmp_chk.S.
13846 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
13847 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
13848 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
13849 (gen-as-const-headers): Append sigaltstack-offsets.sym.
13851 * sysdeps/sh/abort-instr.h: New file.
13852 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
13853 process in case exit returns.
13855 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
13856 initialize the GOT register before use.
13858 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
13859 calculation of ARGC > 4.
13861 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
13862 meaningful names to some local labels.
13864 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13865 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13867 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
13868 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
13869 (__arch_compare_and_exchange_val_16_acq): Likewise.
13870 (__arch_compare_and_exchange_val_32_acq): Likewise.
13871 (atomic_exchange_and_add): Fix gUSA sequence.
13872 (atomic_add): Likewise.
13873 (atomic_add_negative): Likewise.
13874 (atomic_add_zero): Likewise.
13875 (atomic_bit_test_set): Likewise.
13877 2012-06-22 Andreas Schwab <schwab@redhat.com>
13880 * include/link.h (struct link_map): Add l_free_initfini.
13881 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
13883 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
13884 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
13885 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
13888 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
13890 * configure.in: Use AC_LANG_SOURCE.
13891 * configure: Regenerate.
13893 2012-06-22 Roland McGrath <roland@hack.frob.com>
13895 * configure.in (libc_cv_localstatedir): New substituted variable.
13896 * configure: Regenerated.
13897 * config.make.in (localstatedir): New variable, substituted from
13898 libc_cv_localstatedir.
13899 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
13900 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
13901 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
13902 * sysdeps/gnu/configure: Regenerated.
13904 2012-06-21 Jeff Law <law@redhat.com>
13907 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
13908 free. Simplify list management for _LIBC case.
13910 2012-06-21 Joseph Myers <joseph@codesourcery.com>
13913 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
13914 Clear sign bit of 64-bit integer value before comparing against
13917 * sysdeps/mach/configure: Regenerated.
13919 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
13922 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
13924 2012-06-21 Jeff Law <law@redhat.com>
13927 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
13928 uint16_t for elements in the "seen" array to avoid char overflows.
13929 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13930 * elf/dl-open.c (dl_open_worker): Likewise.
13932 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
13934 * scripts/list-sources.sh: Scan PORTS for translations.
13935 * po/libc.pot: Regenerated.
13937 2012-06-21 Andreas Jaeger <aj@suse.de>
13940 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
13942 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
13943 * bits/byteswap-16.h (__bswap_16): Likewise.
13944 * bits/byteswap.h (__bswap_constant_16): Likewise.
13946 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
13949 * sysdeps/i386/fpu_control.h: Removed.
13950 * sysdeps/x86_64/fpu_control.h: Moved to ...
13951 * sysdeps/x86/fpu_control.h: Here.
13953 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
13954 (_FPU_SETCW): Likewise.
13956 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
13959 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
13960 * sysdeps/x86/fpu/bits/mathinline.h: This.
13961 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
13965 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
13966 functions if __x86_64__ is defined.
13968 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
13970 * string/endian.h: Add !__ASSEMBLER__ condition for including
13971 conversion interfaces.
13973 2012-06-15 Joseph Myers <joseph@codesourcery.com>
13976 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
13977 of ABS(x) in calculating zero to negative powers other than odd
13979 * math/libm-test.inc (pow_test): Add more tests.
13981 2012-06-15 Andreas Jaeger <aj@suse.de>
13983 * manual/contrib.texi (Contributors): Update entry of Liubov
13984 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
13987 2012-06-15 Cyril Hrubis <metan@ucw.cz>
13989 * string/string.h: Add __wur to GNU version of strerror_r.
13991 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
13994 * string/Makefile (tests): Add tst-strtok_r.
13995 * string/tst-strtok_r.c: New file.
13996 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
13997 RAX_LP/RDX_LP on SAVE_PTR.
13999 2012-06-14 Roland McGrath <roland@hack.frob.com>
14001 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
14003 2012-06-14 Joseph Myers <joseph@codesourcery.com>
14005 * libm_test.inc (csqrt_test): Allow more spurious underflow
14007 (j0_test): Likewise.
14008 (j1_test): Likewise.
14009 (y0_test): Likewise.
14010 (y1_test): Likewise.
14012 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
14014 * po/Makefile (libc.pot): Use UTF-8 charset.
14016 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
14019 Suppress sign-conversion warning from FD_SET.
14020 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
14021 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
14022 not unsigned long int.
14023 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
14025 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
14029 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
14030 __extern_always_inline instead of __extern_inline.
14031 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
14032 (__signbit): Likewise.
14033 (__signbitl): Support C++ namespace.
14034 (lrintf): New inline function.
14036 (llrintf): Likewise.
14037 (llrint): Likewise.
14047 (floorf): Likewise.
14048 (nearbyint): Likewise.
14049 (nearbyintf): Likewise.
14051 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
14053 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
14054 non-default versions.
14056 2012-06-11 Roland McGrath <roland@hack.frob.com>
14059 * manual/argp.texi (Argp): Reword argp_parse description slightly.
14061 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
14063 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
14064 (FE_UPWARD, FE_DOWNWARD): Don't define.
14065 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
14066 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14068 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
14070 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14071 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14073 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14075 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14076 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
14077 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
14078 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
14080 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
14083 * sysdeps/i386/fpu/bits/fenv.h: Removed.
14084 * sysdeps/i386/fpu/Implies: New file.
14085 * sysdeps/x86_64/fpu/Implies: Likewise.
14086 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
14087 * sysdeps/x86/fpu/bits/fenv.h: This.
14089 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
14092 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14095 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
14096 character 0xffff that matches the last element of the
14099 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14101 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
14104 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14106 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
14107 values higher than 25.6283.
14109 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14111 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
14112 subnormal exponent extraction and add some __builtin_expect.
14113 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
14114 Fix for subnormal mantissa calculation.
14116 2012-06-04 Mike Frysinger <vapier@gentoo.org>
14118 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
14119 cpu2 is -1 and errno is not ENOSYS.
14121 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
14124 * sysdeps/i386/i486/bits/string.h: Renamed to ...
14125 * sysdeps/x86/bits/string.h: This.
14126 * sysdeps/x86_64/bits/string.h: Removed.
14128 * sysdeps/i386/i486/bits/string.h: Define inline functions only
14129 if not compiling for x86-64, but compiling for >= i486.
14131 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
14132 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
14134 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
14135 New macro from Linux kernel 3.4.0.
14136 (FP_XSTATE_MAGIC2): Likewise.
14137 (FP_XSTATE_MAGIC2_SIZE): Likewise.
14138 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
14139 (struct _fpx_sw_bytes): New struct.
14140 (struct _xsave_hdr): Likewise.
14141 (struct _ymmh_state): Likewise.
14142 (struct _xstate): Likewise.
14144 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
14145 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
14146 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
14147 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
14148 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
14149 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
14151 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
14152 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
14153 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
14154 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
14155 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
14156 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
14158 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14161 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
14162 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
14163 (sysdep_headers): Include sys/platform/ppc.h.
14164 * sysdeps/powerpc/test-gettimebase.c: Test for
14165 __ppc_get_timebase() to catch future ISA opcode/insn changes.
14166 * manual/Makefile (appendices): Include platform.texi.
14167 * manual/contrib.texi (Contributors): Update @node pointers.
14168 * manual/maint.texi (Maintenance): Likewise.
14169 (Platform): New node.
14170 * manual/platform.texi: New file. Document the new features.
14172 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14173 Jakub Jelinek <jakub@redhat.com>
14176 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
14177 where __builtin_expect is unavailable.
14179 2012-06-03 David S. Miller <davem@davemloft.net>
14181 * stdlib/longlong.h: Updated from GCC.
14183 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
14186 * sysdeps/powerpc/powerpc32/mcount.c: New file.
14187 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
14189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14190 (GLIBC_2.16): Likewise.
14192 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14194 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
14196 2012-06-01 Joseph Myers <joseph@codesourcery.com>
14198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14199 (default-abi): New variable.
14200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
14201 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
14203 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
14205 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
14207 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
14210 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
14211 definition. Document in comment.
14213 2012-06-01 David S. Miller <davem@davemloft.net>
14215 * stdlib/longlong.h: Updated from GCC.
14217 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14220 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
14221 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
14222 sys/debugreg.h sys/io.h here.
14223 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
14224 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
14226 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
14227 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
14228 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
14229 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
14230 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
14231 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
14233 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
14234 Define only if __x86_64__ is defined.
14236 2012-06-01 Joseph Myers <joseph@codesourcery.com>
14239 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
14240 Use int64_t for variable i.
14241 * math/libm-test.inc (fmod_test): Add more tests.
14243 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
14244 z computation is not scheduled after fetestexcept.
14245 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
14246 Use math_force_eval instead of asm to ensure calculation scheduled
14247 before exception test.
14248 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
14249 Ensure a1 + u.d computation is not scheduled after fetestexcept.
14251 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
14253 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
14254 computation is not scheduled after fetestexcept.
14256 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14259 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
14260 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
14262 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14264 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
14265 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14267 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
14270 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
14272 (__WCHAR_MIN): Support __WORDSIZE == 64.
14273 (__WCHAR_MAX): Likewise.
14275 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
14276 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
14279 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
14280 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
14283 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
14284 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
14286 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
14287 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
14289 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
14290 Defined to 1 if __x86_64__ isn't defined.
14291 (_STAT_VER_LINUX_OLD): New.
14292 (st_atime): Remove duplicate.
14293 (st_mtime): Likewise.
14294 (st_ctime): Likewise.
14296 2012-05-31 David S. Miller <davem@davemloft.net>
14298 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
14301 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
14303 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
14307 * elf/dl-reloc.c: Include <_itoa.h>.
14308 (_dl_reloc_bad_type): Remove use of INTUSE.
14309 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
14310 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
14311 * stdio-common/psiginfo.c (psiginfo): Likewise.
14312 * stdio-common/psignal.c (psignal): Likewise.
14313 * string/strsignal.c (strsignal): Likewise.
14314 * include/signal.h (_sys_siglist): Declare hidden proto.
14315 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
14316 INTVARDEF with libc_hidden_data_def.
14317 * stdio-common/itoa-udigits.c: Likewise.
14318 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
14319 (_itoa_lower_digits_internal): Remove declaration.
14320 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
14321 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
14322 (_sys_sigabbrev_internal): Remove aliases.
14323 (_sys_siglist): Define hidden alias.
14325 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
14327 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14330 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
14333 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
14334 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
14336 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
14337 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
14338 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
14339 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
14340 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
14341 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
14343 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
14344 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
14345 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
14347 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
14355 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
14356 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
14357 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
14359 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
14360 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
14361 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
14362 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
14363 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
14364 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
14366 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
14367 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
14369 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
14370 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
14372 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
14373 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
14374 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
14376 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
14377 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
14379 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
14381 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
14382 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
14383 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
14385 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
14387 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
14389 2012-05-31 Joseph Myers <joseph@codesourcery.com>
14391 * math/math.h (M_El): Use two more decimal places.
14392 (M_LOG2El): Likewise.
14393 (M_LOG10El): Likewise.
14394 (M_LN2l): Likewise.
14395 (M_LN10l): Likewise.
14397 (M_PI_2l): Likewise.
14398 (M_PI_4l): Likewise.
14399 (M_1_PIl): Likewise.
14400 (M_2_PIl): Likewise.
14401 (M_2_SQRTPIl): Likewise.
14402 (M_SQRT2l): Likewise.
14403 (M_SQRT1_2l): Likewise.
14405 2012-05-31 David S. Miller <davem@davemloft.net>
14407 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
14408 values between float registers.
14409 * sysdeps/sparc/sparc64/memset.S: Likewise.
14410 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14412 2012-05-31 Mike Frysinger <vapier@gentoo.org>
14414 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
14415 -D_FORTIFY_SOURCE=1.
14416 (CPPFLAGS-tst-longjmp_chk.c): Define.
14417 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
14418 (CPPFLAGS-tst-longjmp_chk2.c): Define.
14419 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
14420 CFLAGS-tst-wchar-h.c.
14422 2012-05-31 Marek Polacek <polacek@redhat.com>
14425 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
14426 __endmntent_internal): Remove declaration.
14427 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
14428 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
14429 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
14431 2012-05-30 David S. Miller <davem@davemloft.net>
14433 * sysdeps/sparc/sparc32/soft-fp/q_util.c
14434 (___Q_simulate_exceptions): Use real FP ops rather than writing
14436 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
14439 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14442 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
14443 * sysdeps/x86/bits/xtitypes.h: This.
14445 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
14446 * sysdeps/x86/bits/wordsize.h: This.
14448 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
14449 * sysdeps/x86/bits/huge_vall.h: This.
14451 * sysdeps/i386/bits/select.h: Removed.
14452 * sysdeps/x86_64/bits/select.h: Renamed to ...
14453 * sysdeps/x86/bits/select.h: This.
14455 * sysdeps/i386/bits/setjmp.h: Removed.
14456 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
14457 * sysdeps/x86/bits/setjmp.h: This.
14459 * sysdeps/i386/bits/mathdef.h: Removed.
14460 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
14461 * sysdeps/x86/bits/mathdef.h: This.
14463 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
14466 * include/sys/socket.h (__connect_internal)
14467 (__libc_sa_len_internal): Remove declaration.
14468 (__connect, __libc_sa_len): Declare hidden_proto.
14469 (SA_LEN): Remove use of INTUSE.
14470 * socket/connect.c: Add libc_hidden_def.
14471 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
14472 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
14473 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
14475 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14476 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
14477 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
14478 of adding _internal alias.
14480 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14483 * sysdeps/i386/bits/link.h: Removed.
14484 * sysdeps/i386/bits/linkmap.h: Likewise.
14485 * sysdeps/x86_64/bits/link.h: Renamed to ...
14486 * sysdeps/x86/bits/link.h: This.
14487 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
14488 * sysdeps/x86/bits/linkmap.h: This.
14490 * sysdeps/i386/bits/endian.h: Removed.
14491 * sysdeps/x86_64/bits/endian.h: Renamed to ...
14492 * sysdeps/x86/bits/endian.h: This.
14494 * sysdeps/i386/bits/byteswap.h: Removed.
14495 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14496 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
14497 * sysdeps/x86/bits/byteswap.h: This.
14498 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
14499 * sysdeps/x86/bits/byteswap-16.h: This.
14500 * sysdeps/i386/Implies: Add x86.
14501 * sysdeps/x86_64/Implies: Likewise.
14503 2012-05-30 David S. Miller <davem@davemloft.net>
14505 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
14506 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
14507 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14508 (FP_TRAPPING_EXCEPTIONS): Define.
14509 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14510 (FP_TRAPPING_EXCEPTIONS): Define.
14511 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
14512 subnormals only when inexact has been signalled or underflow
14513 exceptions are enabled.
14514 (_FP_PACK_CANONICAL): Likewise.
14516 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14519 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
14520 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
14522 2012-05-30 Richard Henderson <rth@twiddle.net>
14524 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
14525 with #ifndef NOT_IN_libc.
14527 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
14528 marked to avoid plt entry.
14530 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14533 * Makeconfig (default-abi): New macro.
14534 (abi-includes): Likewise.
14535 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
14536 $(abi-$(default-abi)-lib-soname) for soname if defined.
14537 ($(common-objpfx)gnu/lib-names.stmp): Generate from
14539 * Makefile (installed-stubs): Likewise.
14540 * include/stubs-biarch.h: Removed.
14541 * scripts/lib-names.awk: Only handle one library at a time.
14542 * scripts/soversions.awk: Remove WORDSIZE support.
14543 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
14545 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
14547 (syscall-list-default-condition): Likewise.
14548 (syscall-list-default-condition): Likewise.
14549 (syscall-list-includes): Likewise.
14550 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
14551 syscall-list-* with abi-*. Handle undefined abi-variants.
14552 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
14553 * sysdeps/unix/sysv/linux/i386/Implies: New file.
14554 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
14555 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
14556 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
14557 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
14559 (syscall-list-32-options): Likewise.
14560 (syscall-list-32-condition): Likewise.
14561 (syscall-list-64-options): Likewise.
14562 (syscall-list-64-condition): Likewise.
14563 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
14565 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
14568 (abi-64-ld-soname): New macro.
14569 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
14570 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
14573 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
14574 * sysdeps/x86_64/x32/shlib-versions: Likewise.
14576 2012-05-30 Joseph Myers <joseph@codesourcery.com>
14578 * sysdeps/unix/sysv/linux/kernel-features.h
14579 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
14580 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
14581 include <kernel-features.h>.
14582 [!__NR_ftruncate64]: Remove conditional code.
14583 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14584 [__NR_ftruncate64]: Make code unconditional.
14585 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14586 * sysdeps/unix/sysv/linux/truncate64.c: Do not
14587 include <kernel-features.h>.
14588 [!__NR_ftruncate64]: Remove conditional code.
14589 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14590 [__NR_ftruncate64]: Make code unconditional.
14591 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
14593 include <kernel-features.h>.
14594 [!__NR_ftruncate64]: Remove conditional code.
14595 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14596 [__NR_ftruncate64]: Make code unconditional.
14597 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14599 include <kernel-features.h>.
14600 [!__NR_ftruncate64]: Remove conditional code.
14601 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14602 [__NR_ftruncate64]: Make code unconditional.
14603 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14605 * configure.in (libc_cv_fpie): Weaken to a compile test using
14606 LIBC_TRY_CC_OPTION.
14607 * configure: Regenerated.
14609 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
14612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
14613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
14614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
14617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
14618 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
14619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
14620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
14621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14624 2012-05-27 David S. Miller <davem@davemloft.net>
14626 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
14628 (__Q_simulate_exceptions): Return void. Change to simulate
14629 exceptions by writing into the %fsr.
14630 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
14631 (__Qp_handle_exceptions): Likewise.
14633 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
14634 __Qp_handle_exceptions.
14635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
14636 __Qp_handle_exceptions.
14637 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14638 as unused and give dummy FP_RND_NEAREST initializer.
14639 (FP_INHIBIT_RESULTS): Define.
14640 (___Q_simulate_exceptions): Update declaration.
14641 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
14643 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14644 as unused and give dummy FP_RND_NEAREST initializer.
14645 (__Qp_handle_exceptions): Update declaration.
14646 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
14649 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
14651 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
14652 the temporary FPU control word.
14653 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14654 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
14655 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
14656 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14657 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14658 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
14659 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
14660 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14661 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
14662 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
14663 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14665 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14667 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
14670 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
14672 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
14673 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
14674 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
14675 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
14677 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
14678 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
14681 2012-05-27 Ulrich Drepper <drepper@gmail.com>
14683 * po/h.po: Update from translation team.
14685 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
14687 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
14689 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
14690 handling of denormals.
14691 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14692 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14693 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14694 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14695 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14696 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
14697 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
14700 2012-05-26 Marek Polacek <polacek@redhat.com>
14703 * math/libm-test.inc (fma_test): Don't always expect underflow
14706 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14709 * elf/tst-execstack.c: Include stackinfo.h.
14710 (do_test): Adjust test case to ensure that pthread_getattr_np
14711 behaviour remains the same after marking stack executable.
14713 2012-05-25 Joseph Myers <joseph@codesourcery.com>
14715 * sysdeps/unix/sysv/linux/kernel-features.h
14716 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
14717 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
14719 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14720 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14721 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
14723 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14724 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14726 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
14728 * configure.in: Define the default includes to being none.
14729 * configure: Regenerated.
14731 2012-05-25 Roland McGrath <roland@hack.frob.com>
14733 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
14734 * sysdeps/x86_64/setjmp.S: Likewise.
14735 * sysdeps/i386/bsd-setjmp.S: Likewise.
14736 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14737 * sysdeps/i386/setjmp.S: Likewise.
14738 * sysdeps/i386/__longjmp.S: Likewise.
14739 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14740 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
14742 * include/stap-probe.h: New file.
14743 * configure.in: Handle --enable-systemtap.
14744 * configure: Regenerated.
14745 * config.h.in (USE_STAP_PROBE): New #undef.
14746 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
14747 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
14748 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
14750 2012-05-25 Joseph Myers <joseph@codesourcery.com>
14753 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14754 to 2.4.0 where earlier.
14755 * sysdeps/unix/sysv/linux/configure: Regenerated.
14756 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14757 <kernel-features.h>.
14758 [__ASSUME_32BITUIDS]: Make code unconditional.
14759 [!__ASSUME_32BITUIDS]: Remove conditional code.
14760 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
14761 <kernel-features.h>.
14762 [__ASSUME_32BITUIDS]: Make code unconditional.
14763 [!__ASSUME_32BITUIDS]: Remove conditional code.
14764 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
14765 [__ASSUME_32BITUIDS]: Make code unconditional.
14766 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
14767 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
14768 <kernel-features.h>.
14769 [__ASSUME_32BITUIDS]: Make code unconditional.
14770 [!__ASSUME_32BITUIDS]: Remove conditional code.
14771 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
14772 <kernel-features.h>.
14773 [__ASSUME_32BITUIDS]: Make code unconditional.
14774 [!__ASSUME_32BITUIDS]: Remove conditional code.
14775 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
14776 <kernel-features.h>.
14777 [__ASSUME_32BITUIDS]: Make code unconditional.
14778 [!__ASSUME_32BITUIDS]: Remove conditional code.
14779 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
14780 <kernel-features.h>.
14781 [__ASSUME_32BITUIDS]: Make code unconditional.
14782 [!__ASSUME_32BITUIDS]: Remove conditional code.
14783 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14784 <kernel-features.h>.
14785 [__ASSUME_32BITUIDS]: Make code unconditional.
14786 [!__ASSUME_32BITUIDS]: Remove conditional code.
14787 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14788 <kernel-features.h>.
14789 [__ASSUME_32BITUIDS]: Make code unconditional.
14790 [!__ASSUME_32BITUIDS]: Remove conditional code.
14791 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
14792 <kernel-features.h>.
14793 [__ASSUME_32BITUIDS]: Make code unconditional.
14794 [!__ASSUME_32BITUIDS]: Remove conditional code.
14795 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14796 <kernel-features.h>.
14797 [__ASSUME_32BITUIDS]: Make code unconditional.
14798 [!__ASSUME_32BITUIDS]: Remove conditional code.
14799 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14800 <kernel-features.h>.
14801 [__ASSUME_32BITUIDS]: Make code unconditional.
14802 [!__ASSUME_32BITUIDS]: Remove conditional code.
14803 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
14804 <kernel-features.h>.
14805 [__ASSUME_32BITUIDS]: Make code unconditional.
14806 [!__ASSUME_32BITUIDS]: Remove conditional code.
14807 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
14808 <kernel-features.h>.
14809 [__NR_setresgid] (__setresgid): Do not declare.
14810 [__ASSUME_32BITUIDS]: Make code unconditional.
14811 [!__ASSUME_32BITUIDS]: Remove conditional code.
14812 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
14813 <kernel-features.h>.
14814 [__NR_setresuid] (__setresuid): Do not declare.
14815 [__ASSUME_32BITUIDS]: Make code unconditional.
14816 [!__ASSUME_32BITUIDS]: Remove conditional code.
14817 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
14818 <kernel-features.h>.
14819 [__ASSUME_32BITUIDS]: Make code unconditional.
14820 [!__ASSUME_32BITUIDS]: Remove conditional code.
14821 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
14822 <kernel-features.h>.
14823 [__ASSUME_32BITUIDS]: Make code unconditional.
14824 [!__ASSUME_32BITUIDS]: Remove conditional code.
14825 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
14826 <kernel-features.h>.
14827 [__ASSUME_32BITUIDS]: Make code unconditional.
14828 [!__ASSUME_32BITUIDS]: Remove conditional code.
14829 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
14830 <kernel-features.h>.
14831 [__ASSUME_32BITUIDS]: Make code unconditional.
14832 [!__ASSUME_32BITUIDS]: Remove conditional code.
14833 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
14834 <kernel-features.h>.
14835 [__ASSUME_32BITUIDS]: Make code unconditional.
14836 [!__ASSUME_32BITUIDS]: Remove conditional code.
14837 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
14838 <kernel-features.h>.
14839 [__ASSUME_32BITUIDS]: Make code unconditional.
14840 [!__ASSUME_32BITUIDS]: Remove conditional code.
14841 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
14842 <kernel-features.h>.
14843 [__ASSUME_32BITUIDS]: Make code unconditional.
14844 [!__ASSUME_32BITUIDS]: Remove conditional code.
14845 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
14846 <kernel-features.h>.
14847 [__ASSUME_32BITUIDS]: Make code unconditional.
14848 [!__ASSUME_32BITUIDS]: Remove conditional code.
14849 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
14850 <kernel-features.h>.
14851 [__ASSUME_32BITUIDS]: Make code unconditional.
14852 [!__ASSUME_32BITUIDS]: Remove conditional code.
14853 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14854 <kernel-features.h>.
14855 [__ASSUME_32BITUIDS]: Make code unconditional.
14856 [!__ASSUME_32BITUIDS]: Remove conditional code.
14857 * sysdeps/unix/sysv/linux/kernel-features.h
14858 (__ASSUME_SETRESUID_SYSCALL): Remove.
14859 (__ASSUME_SETRESGID_SYSCALL): Likewise.
14860 (__ASSUME_32BITUIDS): Likewise.
14861 (__ASSUME_LDT_WORKS): Likewise.
14862 (__ASSUME_O_DIRECTORY): Likewise.
14863 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
14864 architecture but not kernel version.
14865 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14866 (__ASSUME_MMAP2_SYSCALL): Likewise.
14867 (__ASSUME_STAT64_SYSCALL): Likewise.
14868 (__ASSUME_IPC64): Likewise.
14869 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
14870 <kernel-features.h>.
14871 [__ASSUME_32BITUIDS]: Make code unconditional.
14872 [!__ASSUME_32BITUIDS]: Remove conditional code.
14873 * sysdeps/unix/sysv/linux/opendir.c: Do not include
14874 <kernel-features.h>.
14875 [__ASSUME_O_DIRECTORY]: Make code unconditional.
14876 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
14877 132096]: Remove conditional code.
14878 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
14879 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14880 <kernel-features.h>.
14881 [__ASSUME_32BITUIDS]: Make code unconditional.
14882 [!__ASSUME_32BITUIDS]: Remove conditional code.
14883 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14884 <kernel-features.h>.
14885 [__ASSUME_32BITUIDS]: Make code unconditional.
14886 [!__ASSUME_32BITUIDS]: Remove conditional code.
14887 * sysdeps/unix/sysv/linux/setegid.c: Do not include
14888 <kernel-features.h>.
14889 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
14891 (__setresgid): Do not declare.
14892 [__ASSUME_32BITUIDS]: Make code unconditional.
14893 [!__ASSUME_32BITUIDS]: Remove conditional code.
14894 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
14895 <kernel-features.h>.
14896 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
14898 (__setresuid): Do not declare.
14899 [__ASSUME_32BITUIDS]: Make code unconditional.
14900 [!__ASSUME_32BITUIDS]: Remove conditional code.
14901 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14902 <kernel-features.h>.
14903 [__ASSUME_32BITUIDS]: Make code unconditional.
14904 [!__ASSUME_32BITUIDS]: Remove conditional code.
14905 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
14906 <kernel-features.h>.
14907 [__ASSUME_32BITUIDS]: Make code unconditional.
14908 [!__ASSUME_32BITUIDS]: Remove conditional code.
14910 2012-05-25 Richard Henderson <rth@twiddle.net>
14912 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
14913 dl_hwcap to ifunc resolver.
14914 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
14916 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
14917 dl_hwcap to ifunc resolver.
14918 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
14920 2012-05-24 Joseph Myers <joseph@codesourcery.com>
14923 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
14924 for |x| <= 2**-26, not 2**-57.
14925 * math/libm-test.inc (acos_test): Do not allow spurious underflow
14928 2012-05-24 Jeff Law <law@redhat.com>
14930 * stdio-common/Makefile (tests): Add bug25.
14931 * stdio-common/bug25.c: New test.
14933 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
14936 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
14937 multiple of MALLOC_ALIGNMENT in size.
14938 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
14940 2012-05-24 Joseph Myers <joseph@codesourcery.com>
14942 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
14944 (FILENAME_MAX): Use macro-int-constant.
14945 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
14946 (_IOFBF): Use macro-int-constant.
14947 (_IOLBF): Likewise.
14948 (_IONBF): Likewise.
14949 (SEEK_CUR): Likewise.
14950 (SEEK_END): Likewise.
14951 (SEEK_SET): Likewise.
14952 (TMP_MAX): Likewise.
14953 (EOF): Use macro-int-constant. Require < 0.
14954 (NULL): Use macro-constant. Require == 0.
14955 (stdin): Require type to be FILE *.
14956 (stdout): Likewise.
14957 (stderr): Likewise.
14958 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
14959 macro-int-constant.
14960 (EXIT_SUCCESS): Likewise.
14961 (NULL): Use macro-constant. Require == 0.
14962 (RAND_MAX): Use macro-int-constant.
14963 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
14964 [C99-based standards] (strtof): Require function.
14965 [C99-based standards] (strtold): Likewise.
14966 [C99-based standards] (strtoll): Likewise.
14967 [C99-based standards] (strtoull): Likewise.
14968 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14969 [ISO || ISO99 || ISO11] (limits.h): Likewise.
14970 [ISO || ISO99 || ISO11] (math.h): Likewise.
14971 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
14972 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14973 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14975 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
14978 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
14979 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
14980 * intl/dgettext.c (DCGETTEXT): Likewise.
14981 * intl/gettext.c (DCGETTEXT): Likewise.
14982 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
14983 * posix/regex_internal.h (gettext): Likewise.
14984 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
14985 Remove declaration.
14986 * include/argz.h (__argz_count_internal)
14987 (__argz_stringify_internal): Remove declaration.
14988 (__argz_count, __argz_stringify): Declare hidden proto.
14989 * intl/dcgettext.c: Remove use of INTDEF.
14990 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
14991 * string/argz-stringify.c: Likewise.
14992 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
14993 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
14994 Declare hidden proto.
14995 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
14996 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
14997 Declare hidden proto.
14998 * include/stdio.h (__asprintf_internal): Don't declare.
14999 (__asprintf): Don't define as macro. Declare hidden proto.
15000 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
15001 (__fsetlocking): Declare hidden proto.
15002 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
15003 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
15005 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
15006 (_IO_setlinebuf): Remove use of INTUSE.
15007 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
15008 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
15009 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
15010 Remove declaration.
15011 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
15012 (_IO_do_flush): Remove use of INTUSE.
15013 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
15014 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
15015 (_IO_adjust_column, _IO_least_wmarker)
15016 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
15017 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
15018 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
15019 (_IO_default_doallocate, _IO_wdefault_doallocate)
15020 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
15021 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
15022 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
15023 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
15024 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
15025 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
15026 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
15027 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
15028 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
15029 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
15030 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
15031 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
15032 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
15034 (_IO_flush_all_internal, _IO_adjust_column_internal)
15035 (_IO_default_uflow_internal, _IO_default_finish_internal)
15036 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
15037 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
15038 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
15039 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
15040 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
15041 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
15042 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
15043 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
15044 (_IO_file_close_internal, _IO_file_close_it_internal)
15045 (_IO_file_underflow_internal, _IO_file_overflow_internal)
15046 (_IO_file_init_internal, _IO_file_attach_internal)
15047 (_IO_file_fopen_internal, _IO_file_read_internal)
15048 (_IO_file_sync_internal, _IO_file_seek_internal)
15049 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
15050 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
15051 (_IO_str_underflow_internal, _IO_str_overflow_internal)
15052 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
15053 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
15054 (_IO_list_all_internal, _IO_link_in_internal)
15055 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
15056 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
15057 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
15058 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
15059 (_IO_do_write_internal, _IO_padn_internal)
15060 (_IO_getline_info_internal, _IO_getline_internal)
15061 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
15062 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
15063 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
15064 (_IO_vfscanf_internal, _IO_vfprintf_internal)
15065 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
15066 (_IO_init_internal, _IO_un_link_internal): Don't declare.
15067 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
15068 with libc_hidden_ver, remove use of INTUSE.
15069 * libio/genops.c: Likewise.
15070 * libio/freopen.c: Likewise.
15071 * libio/freopen64.c: Likewise.
15072 * libio/iofclose.c: Likewise.
15073 * libio/iofdopen.c: Likewise.
15074 * libio/iofflush.c: Likewise.
15075 * libio/iofflush_u.c: Likewise.
15076 * libio/iofgets.c: Likewise.
15077 * libio/iofgets_u.c: Likewise.
15078 * libio/iofopen.c: Likewise.
15079 * libio/iofopncook.c: Likewise.
15080 * libio/iofread.c: Likewise.
15081 * libio/iofread_u.c: Likewise.
15082 * libio/ioftell.c: Likewise.
15083 * libio/iofwrite.c: Likewise.
15084 * libio/iogetline.c: Likewise.
15085 * libio/iogets.c: Likewise.
15086 * libio/iogetwline.c: Likewise.
15087 * libio/iopadn.c: Likewise.
15088 * libio/iopopen.c: Likewise.
15089 * libio/ioseekoff.c: Likewise.
15090 * libio/ioseekpos.c: Likewise.
15091 * libio/iosetbuffer.c: Likewise.
15092 * libio/iosetvbuf.c: Likewise.
15093 * libio/ioungetc.c: Likewise.
15094 * libio/ioungetwc.c: Likewise.
15095 * libio/iovdprintf.c: Likewise.
15096 * libio/iovsprintf.c: Likewise.
15097 * libio/iovsscanf.c: Likewise.
15098 * libio/memstream.c: Likewise.
15099 * libio/obprintf.c: Likewise.
15100 * libio/oldfileops.c: Likewise.
15101 * libio/oldiofclose.c: Likewise.
15102 * libio/oldiofdopen.c: Likewise.
15103 * libio/oldiofopen.c: Likewise.
15104 * libio/oldiopopen.c: Likewise.
15105 * libio/oldstdfiles.c: Likewise.
15106 * libio/putc.c: Likewise.
15107 * libio/setbuf.c: Likewise.
15108 * libio/setlinebuf.c: Likewise.
15109 * libio/stdfiles.c: Likewise.
15110 * libio/strops.c: Likewise.
15111 * libio/vasprintf.c: Likewise.
15112 * libio/vscanf.c: Likewise.
15113 * libio/vsnprintf.c: Likewise.
15114 * libio/vswprintf.c: Likewise.
15115 * libio/wfiledoalloc.c: Likewise.
15116 * libio/wfileops.c: Likewise.
15117 * libio/wgenops.c: Likewise.
15118 * libio/wmemstream.c: Likewise.
15119 * libio/wstrops.c: Likewise.
15120 * libio/__fpurge.c: Likewise.
15121 * libio/__fsetlocking.c: Likewise.
15122 * assert/assert.c: Likewise.
15123 * debug/fgets_chk.c: Likewise.
15124 * debug/fgets_u_chk.c: Likewise.
15125 * debug/fread_chk.c: Likewise.
15126 * debug/fread_u_chk.c: Likewise.
15127 * debug/gets_chk.c: Likewise.
15128 * debug/obprintf_chk.c: Likewise.
15129 * debug/vasprintf_chk.c: Likewise.
15130 * debug/vdprintf_chk.c: Likewise.
15131 * debug/vsnprintf_chk.c: Likewise.
15132 * debug/vsprintf_chk.c: Likewise.
15133 * malloc/mtrace.c: Likewise.
15134 * misc/error.c: Likewise.
15135 * misc/syslog.c: Likewise.
15136 * stdio-common/asprintf.c: Likewise.
15137 * stdio-common/fxprintf.c: Likewise.
15138 * stdio-common/getw.c: Likewise.
15139 * stdio-common/isoc99_fscanf.c: Likewise.
15140 * stdio-common/isoc99_scanf.c: Likewise.
15141 * stdio-common/isoc99_vfscanf.c: Likewise.
15142 * stdio-common/isoc99_vscanf.c: Likewise.
15143 * stdio-common/isoc99_vsscanf.c: Likewise.
15144 * stdio-common/printf-prs.c: Likewise.
15145 * stdio-common/printf_fp.c: Likewise.
15146 * stdio-common/printf_fphex.c: Likewise.
15147 * stdio-common/printf_size.c: Likewise.
15148 * stdio-common/putw.c: Likewise.
15149 * stdio-common/scanf.c: Likewise.
15150 * stdio-common/sprintf.c: Likewise.
15151 * stdio-common/tmpfile.c: Likewise.
15152 * stdio-common/vfprintf.c: Likewise.
15153 * stdio-common/vfscanf.c: Likewise.
15154 * stdlib/strfmon_l.c: Likewise.
15155 * sunrpc/openchild.c: Likewise.
15156 * sunrpc/xdr_stdio.c: Likewise.
15157 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15158 * sysdeps/mach/hurd/tmpfile.c: Likewise.
15160 2012-05-24 Roland McGrath <roland@hack.frob.com>
15162 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15164 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
15165 in the third column, to generate for the shared library an IFUNC
15166 that uses _dl_vdso_vsym.
15167 * Makerules (COMPILE.c, compile-stdin.c): New variables.
15168 * Makeconfig (object-suffixes-noshared): New variable.
15170 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
15171 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
15172 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
15173 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
15176 * include/sys/time.h (__gettimeofday): Remove macro.
15177 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
15178 * time/gettimeofday.c (__gettimeofday): Remove #undef.
15180 (__gettimeofday): Add libc_hidden_def.
15181 (gettimeofday): Add libc_hidden_weak.
15182 * sysdeps/mach/gettimeofday.c: Likewise.
15183 * sysdeps/posix/gettimeofday.c: Likewise.
15184 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15185 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
15186 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
15187 (__gettimeofday_internal): Remove strong_alias.
15188 (__gettimeofday): Add libc_hidden_def.
15189 (gettimeofday): Add libc_hidden_weak.
15190 * sysdeps/unix/syscalls.list (gettimeofday):
15191 Remove __gettimeofday_internal alias.
15193 2012-05-24 Daniel Jacobowitz <drow@false.org>
15194 H.J. Lu <hongjiu.lu@intel.com>
15197 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
15198 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
15199 (largebin_index_32_big): New.
15200 (largebin_index): Use it for 16-byte alignment.
15201 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
15202 correction with front_misalign.
15204 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
15206 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
15207 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15209 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
15211 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
15213 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
15215 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
15217 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
15219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
15221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15223 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
15225 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
15227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
15232 * scripts/data/c++-types-x32-linux-gnu.data: New file.
15233 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
15235 2012-05-24 Joseph Myers <joseph@codesourcery.com>
15239 * math/libm-test.inc (exp_test): Add test from bug 14036.
15240 (pow_test): Add test from bug 10846.
15242 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
15244 (special_function): Do not include flags in test name.
15245 (parse_args): Likewise.
15246 * sysdeps/i386/fpu/libm-test-ulps: Update.
15247 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15248 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15249 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15252 * math/gen-libm-test.pl (%beautify): Add entries for underflow
15254 * math/libm-test.inc ("Philosophy"): Update comment about
15256 (UNDERFLOW_EXCEPTION): New macro.
15257 (UNDERFLOW_EXCEPTION_OK): Likewise.
15258 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
15259 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
15260 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
15261 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
15262 (INVALID_EXCEPTION_OK): Update value.
15263 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15264 (OVERFLOW_EXCEPTION_OK): Likewise.
15265 (IGNORE_ZERO_INF_SIGN): Likewise.
15266 (test_exceptions): Handle underflow exceptions.
15267 (acos_test): Update for underflow exception expectations.
15268 (cexp_test): Likewise.
15269 (clog_test): Likewise.
15270 (clog10_test): Likewise.
15271 (csqrt_test): Likewise.
15272 (ctan_test): Likewise.
15273 (ctanh_test): Likewise.
15274 (exp_test): Likewise.
15275 (exp10_test): Likewise.
15276 (exp2_test): Likewise.
15277 (expm1_test): Likewise.
15278 (fma_test): Likewise.
15279 (j0_test): Likewise.
15280 (jn_test): Likewise.
15281 (nexttoward_test): Likewise.
15282 (pow_test): Likewise.
15283 (scalbn_test): Likewise.
15284 (scalbln_test): Likewise.
15285 (tan_test): Likewise.
15286 (y1_test): Likewise.
15287 * sysdeps/i386/fpu/libm-test-ulps: Update.
15288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15290 2012-05-23 David S. Miller <davem@davemloft.net>
15292 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15293 (__libc_sigaction): Remove unused local variables.
15295 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15297 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
15299 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
15301 mktime: avoid signed integer overflow
15302 * time/mktime.c (__mktime_internal): Do not mishandle the case
15303 where diff == INT_MIN.
15305 mktime: simplify computation of average
15306 * time/mktime.c (ranged_convert): Use new time_t_avg function
15307 instead of rolling our own (probably-slower) code.
15309 mktime: do not assume signed right shift propagates sign bit
15310 * time/mktime.c (isdst_differ): New static function.
15311 (__mktime_internal): No need to normalize tm_isdst now.
15312 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
15315 mktime: merge another wrapv change from gnulib
15316 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
15317 from some compilers.
15319 mktime: remove incorrect attempt at unusual arithmetics
15320 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
15321 The code didn't really work on such machines anyway.
15322 (TYPE_MINIMUM): Assume two's complement.
15323 (twos_complement_arithmetic): Verify that long_int and time_t
15324 are two's complement (or unsigned, in the latter case).
15326 mktime: check signed shifts on long_int and time_t, too
15327 * time/mktime.c (SHR): Check that shifts work as desired
15328 on the types long_int and time_t too, as SHR is used on
15331 mktime: do not assume 'long' is wide enough
15332 * time/mktime.c (verify): Move decl up.
15333 (long_int): New type.
15334 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
15335 to remove assumption in the code that 'long' is wide enough to
15336 store year values. This assumption is not true on x32 and on
15337 some non-glibc platforms.
15339 mktime: merge wrapv change from gnulib
15340 * time/mktime.c (WRAPV): New macro.
15341 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
15342 (guess_time_tm, __mktime_internal): Do not assume that signed
15343 integer overflow wraps around; modern compilers generate code
15344 where this assumption is no longer valid.
15346 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15348 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
15349 Replace "jmp L(pseudo_end)" with "ret".
15350 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
15353 2012-05-23 Andreas Jaeger <aj@suse.de>
15355 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
15356 * sysdeps/unix/sysv/linux/poll.c: Remove file.
15358 2012-05-23 Andreas Jaeger <aj@suse.de>
15359 Maximilian Attems <max@stro.at>
15361 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
15364 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15366 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
15367 code so that pseudo_end is just ret and the stack pointer is
15368 correct also for static library in error case.
15370 2012-05-23 Joseph Myers <joseph@codesourcery.com>
15372 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
15373 move to syscalls.list.
15374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15379 * manual/install.texi (Running make install): Do not mention Linux
15380 kernel version for which pt_chown is not needed.
15381 (Linux): Do not mention problems with nscd with 2.0 kernels.
15382 * INSTALL: Regenerated.
15384 2012-05-23 Andreas Jaeger <aj@suse.de>
15386 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
15387 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
15389 * sysdeps/unix/sysv/linux/s390/bits/mman.h
15390 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15391 * sysdeps/unix/sysv/linux/sh/bits/mman.h
15392 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15393 * sysdeps/unix/sysv/linux/i386/bits/mman.h
15394 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15395 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
15396 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15397 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
15398 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15399 * sysdeps/unix/sysv/linux/bits/in.h
15400 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
15402 2012-05-22 Roland McGrath <roland@hack.frob.com>
15404 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
15405 (PREPARE_VERSION): Just use assert instead, it will be elided
15406 under [NDEBUG] anyway.
15408 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15410 * sysdeps/unix/sysv/linux/Makefile: Include
15411 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
15412 (sysdep_routines): Remove sysctl.
15413 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
15414 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
15415 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
15416 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
15417 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
15419 2012-05-22 Andreas Jaeger <aj@suse.de>
15421 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
15422 that pseudo_end is just ret and the stack pointer is correct also
15423 for static library in error case.
15425 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
15428 * nss/nsswitch.c (defconfig_entries): New variable.
15429 (__nss_database_lookup): Don't leak defconfig entries.
15430 (nss_parse_service_list): Don't leak on error paths.
15431 (free_database_entries): New function.
15432 (free_defconfig): New function.
15433 (free_mem): Move common code to free_database_entries.
15435 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15437 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
15439 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
15441 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15442 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
15443 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
15445 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
15446 (INTERNAL_SYSCALL_TYPES): Likewise.
15447 (LOAD_ARGS_TYPES_[1-6]): Likewise.
15448 (LOAD_REGS_TYPES_[1-6]): Likewise.
15449 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
15450 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
15452 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15454 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
15455 copysignl for GLIBC_2_0.
15456 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
15457 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
15458 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
15459 logbl for GLIBC_2_0.
15460 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
15461 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
15463 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15465 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
15466 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
15468 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
15471 * time/mktime.c: Update copyright years.
15473 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
15475 mktime: merge comment-quoting-style change from gnulib
15476 * time/mktime.c: Quote 'like this' in comments.
15477 The GNU coding standards suggest that we no longer quote `like this',
15478 as "`" and "'" are typically rendered asymmetrically nowadays.
15479 The typical gnulib style is to quote 'like this' when quoting
15480 code, and "like this" when quoting English.
15482 * time/mktime.c (compile-command): Add "-I.".
15484 mktime: merge mktime-internal.h change from gnulib
15485 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
15487 mktime: merge time_r change from gnulib
15488 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
15490 mktime: merge DEBUG change from gnulib
15491 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
15492 case system <time.h> has a #define.
15494 mktime: merge <sys/types.h> change from gnulib
15495 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
15496 since <time.t> is now guaranteed to define time_t.
15498 mktime: merge HAVE_CONFIG_H change from gnulib
15499 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
15501 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15503 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
15506 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
15508 (struct rusage): Use anonymous union to pad each field to
15511 2012-05-21 David S. Miller <davem@davemloft.net>
15513 * Makefules (o-iterator): Remove .s cases.
15514 (compile-command.s): Delete.
15515 (COMPILE.s): Delete.
15516 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
15518 2012-05-21 Joseph Myers <joseph@codesourcery.com>
15520 * configure.in (libc_cv_predef_stack_protector): Only consider
15521 "foobar" and "__stack_chk_fail" lines in libc_undefs.
15522 * configure: Regenerated.
15524 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15526 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
15527 New macro. Use R*LP on int and pointer.
15528 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
15529 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
15530 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
15531 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
15533 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
15534 [__WORDSIZE_TIME64_COMPAT32] instead of
15535 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
15536 (struct utmp): Likewise.
15537 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
15538 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
15540 (__WORDSIZE_TIME64_COMPAT32): This.
15541 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
15542 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
15543 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
15544 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
15545 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
15546 (__WORDSIZE_TIME64_COMPAT32): New macro.
15548 2012-05-21 Andreas Jaeger <aj@suse.de>
15550 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
15551 only if [SHARED]. Add prototype for __wcschr_ia32.
15553 2012-05-21 Roland McGrath <roland@hack.frob.com>
15555 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
15556 of %rbp unmolested in the jmp_buf while mangling the low bits.
15557 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
15558 unmolested high bits of %rbp while demangling the low bits.
15559 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15561 2012-05-21 Andreas Jaeger <aj@suse.de>
15563 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
15564 * sunrpc/svc_simple.c: Use it for registerrpc.
15565 * sunrpc/xcrypt.c: Use it for passwd2des.
15567 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
15569 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15571 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
15572 Don't define if [__SYSCALL_WORDSIZE != 32].
15573 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
15576 2012-05-21 Bruno Haible <bruno@clisp.org>
15577 Andreas Jaeger <aj@suse.de>
15579 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
15580 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
15581 inptr and inend for must_buffer_ch.
15582 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
15583 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
15584 * stdio-common/Makefile (tests): Remove bug15.
15585 (bug15-ENV): Remove macro.
15586 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
15589 2012-05-19 Andreas Jaeger <aj@suse.de>
15590 Roland McGrath <roland@hack.frob.com>
15592 * manual/contrib.texi: Completely rewritten. It contains now an
15593 alphabetical list of contributors and their contributions.
15595 2012-05-21 Richard Henderson <rth@twiddle.net>
15597 * misc/getauxval.c (__getauxval): Use unsigned long int.
15598 * misc/sys/auxv.h: Include <sys/cdefs.h>.
15599 (getauxval): Use unsigned long int.
15601 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15603 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15605 2012-05-21 Roland McGrath <roland@hack.frob.com>
15607 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
15608 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
15609 __alignof__ (long double).
15611 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15615 2012-05-20 Richard Henderson <rth@twiddle.net>
15617 * misc/getauxval.c: New file.
15618 * misc/sys/auxv.h: New file.
15619 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
15620 (routines): Add getauxval.
15621 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
15622 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
15623 * elf/dl-sysdep.c (_dl_auxv): Remove.
15624 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
15625 * elf/dl-support.c (_dl_auxv): New variable.
15626 (_dl_aux_init): Initialize it.
15627 * manual/startup.texi (Auxiliary Vector): New node.
15628 * sysdeps/generic/bits/hwcap.h: New file.
15629 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
15630 * sysdeps/powerpc/sysdep.h: ... here. Include it.
15631 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
15632 * sysdeps/sparc/sysdep.h: ... here. Include it.
15633 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
15634 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
15635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
15638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
15639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
15640 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
15641 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15643 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
15644 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
15646 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15650 2012-05-19 David S. Miller <davem@davemloft.net>
15652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15654 2012-05-19 Joseph Myers <joseph@codesourcery.com>
15657 * math/s_ccosh.c: Include <float.h>
15658 (__ccosh): Avoid internal overflow calculating sinh and cosh
15659 values before multiplying by sin and cos values.
15660 * math/s_ccoshf.c: Likewise.
15661 * math/s_ccoshl.c: Likewise.
15662 * math/s_csin.c: Likewise.
15663 * math/s_csinf.c: Likewise.
15664 * math/s_csinl.c: Likewise.
15665 * math/s_csinh.c: Likewise.
15666 * math/s_csinhf.c: Likewise.
15667 * math/s_csinhl.c: Likewise.
15668 * math/libm-test.inc (ccos_test): Add more tests.
15669 (ccosh_test): Likewise.
15670 (csin_test): Likewise.
15671 (csinh_test): Likewise.
15672 * sysdeps/i386/fpu/libm-test-ulps: Update.
15673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15675 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
15677 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
15678 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
15680 * sysdeps/x86_64/x32/_itoa.h: Add comment.
15682 2012-05-19 Joseph Myers <joseph@codesourcery.com>
15684 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
15685 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
15686 * sysdeps/powerpc/soft-fp/Versions: Likewise.
15687 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
15688 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
15689 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
15690 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
15691 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
15692 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
15693 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
15694 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
15695 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
15696 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
15697 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
15698 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
15699 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
15700 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
15701 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
15702 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
15703 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
15704 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
15705 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
15706 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
15707 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
15708 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
15709 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
15710 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
15711 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
15712 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
15713 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
15714 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
15716 2012-05-18 Andreas Jaeger <aj@suse.de>
15718 * csu/.gitignore: Delete.
15720 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15722 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
15723 (timex): Use __syscall_slong_t.
15725 2012-05-18 Andreas Jaeger <aj@suse.de>
15726 Carlos O'Donell <carlos_odonell@mentor.com>
15728 * manual/install.texi (Configuring and compiling): Update
15729 description about files modified in the source directory.
15730 * INSTALL: Regenerated.
15732 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15734 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
15735 value. Use "or" to set return value to -1.
15736 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
15737 negate return value.
15739 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15741 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
15742 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
15743 failure if the compiler has Graphite support disabled.
15744 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
15746 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
15747 CFLAGS-memmove.c): Likewise.
15748 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
15751 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15753 * sysdeps/x86_64/x32/_itoa.h: New file.
15755 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
15756 getdents system call only if kernel and user dirents have the
15757 same d_ino and d_off.
15759 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15760 LLONG_MAX != LONG_MAX.
15761 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15762 (_fitoa_word): Likewise.
15764 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
15766 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
15767 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
15768 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
15770 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
15771 include <bits/wordsize.h>. Check __x86_64__ instead of
15773 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
15774 if __x86_64__ is defined. Use anonymous union on fpstate.
15776 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
15779 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
15781 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
15782 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
15783 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
15784 Refer to _rtld_local_ro instead of _rtld_global_ro.
15785 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
15787 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
15789 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
15791 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
15792 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
15793 of _rtld_global, and rtld_progname instead of _dl_argv[0].
15795 * sysdeps/powerpc/powerpc32/dl-machine.c
15796 (__elf_machine_runtime_setup) [PROF]: Don't reference
15799 2012-05-18 Andreas Jaeger <aj@suse.de>
15801 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
15802 function only available for GCCs before 3.4 since GCC 3.4
15803 introduced a builtin.
15805 (llrintf): Likewise.
15806 (llrint): Likewise.
15813 (nearbyint): Likewise.
15814 (nearbyintf): Likewise.
15818 (floorf): Likewise.
15820 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15822 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
15823 on both fields and cast pointer to __syscall_ulong_t.
15825 * bits/types.h (__fsword_t): New type.
15826 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
15827 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
15828 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15829 (__FSWORD_T_TYPE): Likewise.
15830 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15831 (__FSWORD_T_TYPE): Likewise.
15832 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15833 (__FSWORD_T_TYPE): Likewise.
15834 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
15835 (__FSWORD_T_TYPE): Likewise.
15836 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
15837 __SWORD_TYPE with __fsword_t.
15838 (statfs64): Likewise.
15840 2012-05-17 David S. Miller <davem@davemloft.net>
15842 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
15844 2012-05-17 Andreas Jaeger <aj@suse.de>
15846 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
15849 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15851 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
15853 2012-05-17 Andreas Jaeger <aj@suse.de>
15855 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
15858 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
15860 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
15862 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15864 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
15865 * sysdeps/x86_64/tst-mallocalign1.c: New file.
15867 2012-05-17 Andreas Jaeger <aj@suse.de>
15868 Carlos O'Donell <carlos_odonell@mentor.com>
15871 * sysdeps/x86_64/multiarch/init-arch.h
15872 (bit_YMM_Usable): Rename to...
15873 (bit_AVX_Usable): ... this.
15874 (bit_FMA4_Usable): New macro.
15875 (bit_XMM_state): New macro.
15876 (bit_YMM_state): New macro.
15877 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
15878 [__ASSEMBLER__] (index_AVX_Usable): ... this.
15879 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
15880 (CPUID_OSXSAVE): New macro.
15881 (CPUID_AVX): New macro.
15882 (CPUID_FMA4): New macro.
15883 (index_YMM_Usable): Rename to...
15884 (index_AVX_Usable): ... this.
15885 (HAS_AVX): Use HAS_ARCH_FEATURE.
15886 (HAS_FMA4): Likewise.
15887 (HAS_YMM_USABLE): Remove.
15888 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15889 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
15891 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
15892 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
15893 * sysdeps/x86_64/multiarch/Makefile: Likewise.
15894 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
15895 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
15897 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
15899 * math/libm-test.c: Support platforms without multiple rounding modes.
15900 * math/bug-nextafter.c: Support platforms without FP exceptions.
15901 * math/bug-nexttoward.c: Likewise.
15902 * math/test-fenv.c: Likewise.
15903 * math/test-misc.c: Likewise.
15904 * stdlib/bug-getcontext.c: Likewise.
15906 2012-05-17 Andreas Jaeger <aj@suse.de>
15908 * manual/examples/search.c (critter_cmp): Change signature to
15910 * manual/string.texi (Collation Functions): Likewise.
15912 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15914 * bits/types.h: Fold copyright years.
15915 * bits/typesizes.h: Likewise.
15916 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
15917 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15918 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
15919 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
15920 * time/time.h: Likewise.
15922 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
15925 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
15926 in instead of returning them. Return void.
15927 (__libc_mallinfo): Accumulate over all arenas.
15928 (__malloc_stats): Adjust for change in int_mallinfo interface.
15930 2012-05-16 Roland McGrath <roland@hack.frob.com>
15933 * configure.in (NM): Add AC_CHECK_TOOL for it.
15934 (libc_extra_cflags): New substituted variable.
15935 Check for -fstack-protector being used implicitly.
15936 * configure: Regenerated.
15937 * config.make.in (config-extra-cflags): New variable,
15938 gets @libc_extra_cflags@.
15939 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
15942 * configure.in: Check for _FORTIFY_SOURCE being predefined.
15943 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
15944 * configure: Regenerated.
15945 * config.make.in (CPPUNDEFS): New substituted variable.
15946 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
15947 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
15948 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
15950 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15952 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
15953 (mq_attr): Use __syscall_slong_t.
15955 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15957 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
15958 Check __x86_64__ instead of __WORDSIZE.
15959 (_STAT_VER_LINUX): Likewise.
15960 (stat): Check __x86_64__ instead of __WORDSIZE. Use
15961 __syscall_ulong_t and __syscall_slong_t.
15962 (stat64): Likewise.
15964 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15966 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
15968 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15970 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
15972 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15974 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
15977 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
15978 include <bits/wordsize.h>. Check __x86_64__ instead of
15980 (greg_t): Use "__extension__ long long int" if __x86_64__ is
15982 (mcontext_t): Replace "unsigned long" with "unsigned long long".
15984 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
15985 include <bits/wordsize.h>. Check __x86_64__ instead of
15987 (user_regs_struct): Use "__extension__ unsigned long long"
15988 instead of "unsigned long" if __x86_64__ is defined.
15989 (user): Likewise. Pad after pointer field if __ILP32__ is
15992 2012-05-16 Joseph Myers <joseph@codesourcery.com>
15994 * configure.in (makeinfo): Require version 4.5 or later. Allow
15996 * configure: Regenerated.
15997 * manual/install.texi (texinfo): Increase version requirement to
15999 * INSTALL: Regenerated.
16001 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
16003 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16005 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
16007 * sysdeps/x86_64/x32/ffs.c: New file.
16009 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
16011 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
16012 defined. Use __syscall_ulong_t.
16013 (shminfo): Use __syscall_ulong_t.
16014 (shm_info): Likewise.
16016 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
16019 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
16021 (msgqnum_t): Use __syscall_ulong_t.
16022 (msglen_t): Likewise.
16023 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
16026 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
16027 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16029 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
16031 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
16032 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
16034 * sysvipc/sys/msg.h (msgbuf): Replace long int with
16037 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
16038 include <bits/wordsize.h>. Check __x86_64__ instead of
16041 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
16042 "unsigned long long int" if __x86_64__ is defined.
16043 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
16045 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
16046 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16047 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
16049 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
16051 (GET_PC): Cast to uintptr_t first.
16052 (GET_FRAME): Likewise.
16053 (GET_STACK): Likewise.
16055 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
16056 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
16057 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
16058 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
16059 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
16060 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
16061 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
16062 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
16063 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
16064 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
16065 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
16066 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
16067 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16068 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
16069 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
16070 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
16071 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
16072 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
16073 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
16074 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
16075 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
16076 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
16077 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
16078 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
16079 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
16080 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
16081 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
16082 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
16083 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
16085 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
16087 * Makerules (+depfiles): Also collect depfiles from .oS in
16089 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
16090 .oS, $(libnldbl-routines)).
16092 * Makerules (native-compile-mkdep-flags): Define.
16093 * sunrpc/Makefile (extra-objs): Add $(addprefix
16094 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
16095 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
16096 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
16097 calling $(make-target-directory).
16099 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16101 * bits/types.h (__snseconds_t): Removed.
16102 * time/time.h (struct timespec): Replace __snseconds_t with
16104 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
16105 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
16107 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16108 (__SNSECONDS_T_TYPE): Likewise.
16109 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16110 (__SNSECONDS_T_TYPE): Likewise.
16111 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16112 (__SNSECONDS_T_TYPE): Likewise.
16114 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16116 * sysdeps/mach/hurd/bits/typesizes.h
16117 (__SYSCALL_SLONG_TYPE): New macro.
16118 (__SYSCALL_ULONG_TYPE): Likewise.
16120 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16122 * bits/types.h (__syscall_slong_t): New type.
16123 (__syscall_ulong_t): Likewise.
16125 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
16126 (__SYSCALL_ULONG_TYPE): Likewise.
16127 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16128 (__SYSCALL_SLONG_TYPE): Likewise.
16129 (__SYSCALL_ULONG_TYPE): Likewise.
16130 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16131 (__SYSCALL_SLONG_TYPE): Likewise.
16132 (__SYSCALL_ULONG_TYPE): Likewise.
16133 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16134 (__SYSCALL_SLONG_TYPE): Likewise.
16135 (__SYSCALL_ULONG_TYPE): Likewise.
16137 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16139 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
16140 Add sigaltstack-offsets.sym.
16141 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
16142 <sigaltstack-offsets.h>.
16143 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
16144 longjmp_msg pointer.
16145 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
16146 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
16148 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
16150 2012-05-15 Joseph Myers <joseph@codesourcery.com>
16152 * elf/stackguard-macros.h: Remove file.
16153 * sysdeps/generic/stackguard-macros.h: New file.
16154 * sysdeps/i386/stackguard-macros.h: Likewise.
16155 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16156 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16157 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16158 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16159 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16160 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16161 * sysdeps/x86_64/stackguard-macros.h: Likewise.
16162 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
16163 <elf/stackguard-macros.h>.
16166 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
16167 __aligned__ in attribute.
16168 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
16169 (gregset_t): Likewise.
16171 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16173 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
16174 * sysdeps/x86_64/64/Implies-after: Here. New file.
16175 * sysdeps/x86_64/x32/Implies-after: New file.
16177 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16179 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
16180 and access return value for _dl_profile_fixup. Use R10_LP to
16183 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16185 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
16187 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16189 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
16190 * sysdeps/x86_64/x32/sysdep.h: New file.
16192 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16194 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
16195 * sysdeps/x86_64/setjmp.S: Likewise.
16197 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16199 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
16200 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
16201 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
16202 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
16203 remove unused global constant.
16205 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
16207 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
16208 include of <not-cancel.h>.
16210 2012-05-15 Roland McGrath <roland@hack.frob.com>
16212 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
16214 2012-05-15 Jeff Law <law@redhat.com>
16215 Andreas Jaeger <aj@suse.de>
16218 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
16220 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
16221 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
16222 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
16223 code changing __hst_map_handle.map.
16225 2012-05-15 Roland McGrath <roland@hack.frob.com>
16227 * configure.in (sysnames): Look for Implies-before and Implies-after
16229 * configure: Regenerated.
16231 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16233 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
16234 8-byte data alignment with LP_SIZE alignment.
16236 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16238 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
16241 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16243 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
16245 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16247 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
16248 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
16249 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
16251 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16253 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16255 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
16256 (stackinfo_sub_sp): Likewise.
16258 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16260 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
16263 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16265 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
16268 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16270 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
16273 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16275 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
16277 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16279 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
16280 into R11_LP and load __x86_64_shared_cache_size_half into
16283 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16285 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
16288 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16290 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
16292 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
16294 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
16296 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
16297 powerpc32/power7/fpu/s_logb.c via #include.
16298 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
16299 powerpc32/power7/fpu/s_logbf.c via #include.
16300 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
16301 powerpc32/power7/fpu/s_logbl.c via #include.
16303 2012-05-15 Joseph Myers <joseph@codesourcery.com>
16305 * README.libm: Remove file.
16307 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16309 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
16310 count for x32. Use R*_LP and omit operand-size suffix.
16312 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16314 * shlib-versions: Move x86_64-.*-linux.* entries to ...
16315 * sysdeps/x86_64/64/shlib-versions: Here. New file.
16316 * sysdeps/x86_64/x32/shlib-versions: New file.
16318 2012-05-14 Roland McGrath <roland@hack.frob.com>
16320 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
16321 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
16322 Use _dl_fatal_printf instead.
16324 2012-05-14 Joseph Myers <joseph@codesourcery.com>
16326 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
16327 set if not set by the user. Do not allow for being unset.
16328 * sysdeps/unix/sysv/linux/configure: Regenerated.
16330 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16332 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
16333 the `q' suffix from lea and replace .quad with ASM_ADDR.
16335 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16337 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
16338 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
16340 (PTR_DEMANGLE): Likewise.
16342 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16344 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
16346 (ASM_ADDR): Likewise.
16347 (RAX_LP): Likewise.
16348 (RBP_LP): Likewise.
16349 (RBX_LP): Likewise.
16350 (RCX_LP): Likewise.
16351 (RDI_LP): Likewise.
16352 (RSI_LP): Likewise.
16353 (RSP_LP): Likewise.
16356 (R10_LP): Likewise.
16357 (R10_LP): Likewise.
16358 (R11_LP): Likewise.
16359 (R12_LP): Likewise.
16360 (R13_LP): Likewise.
16361 (R14_LP): Likewise.
16362 (R15_LP): Likewise.
16364 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16366 * sysdeps/x86_64/x32/dl-machine.h: New file.
16368 2012-05-14 Andreas Jaeger <aj@suse.de>
16370 * manual/Makefile (subdir): Remove export of subdir.
16371 (all): Remove target.
16372 (.PHONY): Remove all from list.
16373 (mkinstalldirs): Remove.
16374 (.PHONY): Remove installdirs from list.
16375 ($(inst_infodir)/libc.info): Use make-target-directory.
16376 (installdirs): Remove.
16377 (subdir_%): Remove.
16378 (glibc-targets): Remove.
16381 ($(objpfx)stubs ../po/manual.pot): Remove.
16382 ($(objpfx)stamp%): Remove.
16383 (make-target-directory): Remove.
16384 (subdir_install): Remove.
16385 (routines): Remove.
16392 * manual/.gitignore: Remove, it's not needed anymore.
16393 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
16395 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
16397 (texis): Renamed to $(objpfx)texis.
16398 (texis-path): New, contains path to generated files.
16399 (chapters.%): Use texis-path for complete path, add extra argument
16401 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
16402 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
16403 (summary,texi, stamp-summary): Use complete path of
16404 files. Generate files in build dir.
16405 (dir-add.texi): Build in build dir.
16406 (libm-err.texi,stamp-libm-err): Likewise.
16407 (version.texi, stamp-version): Likewise.
16408 (.%c.texi): Likewise.
16409 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
16410 (mostlyclean): Remove target.
16411 (realclean): Remove target.
16412 (generated): Add new variable with contents from mostlyclean and
16413 realclean, remove entries duplicated in common-mostlyclean, add
16414 stamp-libm-err and stamp-version.
16415 (generated-dirs): Add libc directory.
16416 ($(inst_infodir)/libc.info): Install files from build dir.
16418 * manual/install.texi (Configuring and compiling): Adjust since
16419 the info files are not part of the tar ball anymore.
16421 2012-05-14 Andreas Jaeger <aj@suse.de>
16423 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
16426 2012-05-14 Joseph Myers <joseph@codesourcery.com>
16429 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16430 to 2.2.0 where earlier.
16431 * sysdeps/unix/sysv/linux/configure: Regenerated.
16432 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
16433 Remove conditional code.
16434 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
16435 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
16436 Remove conditional code.
16437 [!__NR_lchown]: Likewise.
16438 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16439 [__NR_lchown]: Likewise.
16440 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
16441 comment referencing __ASSUME_LCHOWN_SYSCALL.
16442 * sysdeps/unix/sysv/linux/i386/sigaction.c
16443 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16444 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16445 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
16446 Remove conditional code.
16447 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
16448 (__protocol_available): Remove #if 0 code.
16449 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
16451 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
16452 * sysdeps/unix/sysv/linux/kernel-features.h
16453 (__ASSUME_GETCWD_SYSCALL): Don't define.
16454 (__ASSUME_REALTIME_SIGNALS): Likewise.
16455 (__ASSUME_PREAD_SYSCALL): Likewise.
16456 (__ASSUME_PWRITE_SYSCALL): Likewise.
16457 (__ASSUME_POLL_SYSCALL): Likewise.
16458 (__ASSUME_LCHOWN_SYSCALL): Likewise.
16459 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
16461 (__ASSUME_SIOCGIFNAME): Don't define.
16462 (__ASSUME_MSG_NOSIGNAL): Likewise.
16463 (__ASSUME_SENDFILE): Define unconditionally.
16464 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
16465 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
16467 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
16468 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
16469 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
16470 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16471 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
16472 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
16473 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
16475 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16476 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16478 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16479 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
16481 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16482 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
16484 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16485 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
16487 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16488 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
16490 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16491 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
16493 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16494 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
16496 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16497 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16498 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
16499 Remove conditional code.
16500 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16501 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
16502 Remove conditional code.
16503 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16504 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
16505 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
16506 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
16507 Remove conditional code.
16508 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16509 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
16510 Remove conditional code.
16511 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16512 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
16513 Remove conditional code.
16514 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16515 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
16516 Remove conditional code.
16517 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16518 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
16519 Remove conditional code.
16520 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16521 * sysdeps/unix/sysv/linux/sh/pwrite64.c
16522 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16523 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16524 * sysdeps/unix/sysv/linux/sigaction.c
16525 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16526 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16527 * sysdeps/unix/sysv/linux/sigpending.c
16528 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16529 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16530 * sysdeps/unix/sysv/linux/sigprocmask.c
16531 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16532 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16533 * sysdeps/unix/sysv/linux/sigsuspend.c
16534 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16535 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16536 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16537 (__libc_missing_rt_sigs): Remove.
16538 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
16539 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
16540 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
16541 Remove conditional code.
16542 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
16543 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
16545 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
16546 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
16547 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
16548 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
16550 2012-05-14 Andreas Jaeger <aj@suse.de>
16552 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
16553 it's not used in glibc.
16554 (__coshm1): Likewise.
16555 (__acosh1p): Likewise.
16558 * manual/string.texi (Copying and Concatenation): Add missing
16559 variable in concat example.
16560 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
16562 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16565 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
16566 __builtin_clzl with __builtin_clzll.
16568 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16571 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
16574 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16576 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
16577 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
16578 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
16579 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
16581 2012-05-14 Mike Frysinger <vapier@gentoo.org>
16583 * NEWS: Update ia64 info.
16585 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
16587 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
16590 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
16592 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
16593 * sysdeps/unix/syscalls.list (dup3): Likewise.
16594 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
16595 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
16597 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
16599 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
16600 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
16602 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
16604 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
16606 (TLS_IE): Use mov/add instead of movq/addq to load thread
16608 (TLS_GD_PREFIX): New.
16611 2012-05-11 David S. Miller <davem@davemloft.net>
16613 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
16614 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
16615 (_FPU_SETCW): Likewise.
16617 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16619 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
16620 is 32-byte aligned.
16622 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
16625 * iconvdata/gb18030.c: Update tables.
16626 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
16627 characters specially.
16628 (BODY for TO_LOOP): Add encoding of missing ranges.
16630 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
16633 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
16634 * sysdeps/mach/hurd/dup3.c: Likewise.
16635 * sysdeps/mach/hurd/readlinkat.c: Likewise.
16636 * sysdeps/powerpc/memmove.c:: Likewise.
16638 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16640 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
16641 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
16643 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16645 * elf/elf.h (R_X86_64_RELATIVE64): New.
16646 (R_X86_64_NUM): Updated.
16647 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
16648 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
16649 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
16650 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
16651 tst-quad1pie tst-quad2pie
16652 (modules-names): Add tst-quadmod1 tst-quadmod2.
16653 ($(objpfx)tst-quad1): New dependency.
16654 ($(objpfx)tst-quad2): Likewise.
16655 ($(objpfx)tst-quad1pie): Likewise.
16656 ($(objpfx)tst-quad2pie): Likewise.
16657 * sysdeps/x86_64/tst-quad1.c: New file.
16658 * sysdeps/x86_64/tst-quad1pie.c: New file.
16659 * sysdeps/x86_64/tst-quad2.c: Likewise.
16660 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
16661 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
16662 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
16663 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
16664 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
16666 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16668 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
16669 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
16670 * streams/stropts.h (t_scalar_t): Define type.
16672 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
16673 (_PATH_PRESERVE): Set to "/var/lib".
16674 (_PATH_RWHODIR): Set to "/var/spool/rwho".
16676 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
16679 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
16680 if __dir_mkfile succeeded.
16682 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
16683 checking for _hurd_dtablesize. Unlock it right after having
16684 finished _hurd_dtable allocation.
16686 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16688 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
16689 * sysdeps/mach/hurd/configure: Regenerated.
16690 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
16691 special-casing to...
16692 * sysdeps/gnu/configure.in: ... this new file.
16693 * sysdeps/unix/sysv/linux/configure: Regenerated.
16694 * sysdeps/gnu/configure: New generated file.
16696 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
16697 for Linux: use nsec instead of usec, as well as:
16698 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
16699 members of type struct timespec.
16700 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
16702 (struct stat64): Likewise.
16703 (_STATBUF_ST_NSEC): New macro.
16704 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
16706 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16707 __strtoul_internal rather than strtoul.
16709 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16711 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
16714 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16716 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
16717 which preserves existing values.
16718 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
16720 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16722 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
16723 TIMEOUT values. Return EINVAL for NFDS values either negative or
16724 greater than FD_SETSIZE.
16726 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16728 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
16729 allocated, call __vm_protect to finish enabling the existing space, and
16730 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
16731 allocate the remainder.
16733 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16735 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
16736 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
16738 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16740 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
16741 sysdeps/mach/hurd/readlink.c.
16743 * posix/tst-sysconf.c (posix_options): Only use
16744 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
16745 _POSIX_SYNCHRONIZED_IO when they are defined
16746 * sysdeps/mach/hurd/bits/posix_opt.h:
16747 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
16748 (_XOPEN_REALTIME): Undefine macro.
16749 (_XOPEN_REALTIME_THREADS): Undefine macro.
16750 (_XOPEN_SHM): Undefine macro.
16751 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
16753 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
16755 (_POSIX_ASYNC_IO): Undefine macro.
16756 (_POSIX_PRIORITIZED_IO): Undefine macro.
16757 (_POSIX_SPIN_LOCKS): Define macro to -1.
16759 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
16760 SA_NODEFER, SA_RESETHAND.
16761 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
16762 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
16765 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16767 * elf/Makefile (pldd-modules): Define unconditionally.
16769 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16771 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
16773 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16775 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
16776 Return ENOENT when name is empty.
16777 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
16779 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16781 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
16783 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
16785 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16787 Fix mlock in all cases except non-readable pages.
16788 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
16789 instead of VM_PROT_ALL as parameter to __vm_wire function.
16791 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
16792 (__mkdir): When path is `/', just fail with EEXIST.
16793 * sysdeps/mach/hurd/mkdirat.c: Likewise.
16795 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16797 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
16798 <sys/uio.h> (for writev).
16799 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
16800 and <sys/param.h> (for MIN).
16802 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16804 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
16805 REQUESTED_TIME. Properly set the remaining time and return EINTR
16808 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16810 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
16811 Depend on against $(link-rpcuserlibs).
16813 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16815 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
16816 (__libc_stack_end): Do not use attribute_relro.
16817 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
16818 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
16819 to libthread-provided value.
16820 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
16823 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16826 * bits/libc-lock.h (__libc_once_get): New macro.
16827 * sysdeps/mach/bits/libc-lock.h: Likewise.
16828 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
16829 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
16830 instead of using implementation details.
16832 * libio/fileops.c: Unconditionally include <kernel-features.h>.
16833 * libio/freopen.c: Likewise.
16834 * libio/freopen64.c: Likewise.
16835 * misc/syslog.c: Likewise.
16836 * nscd/connections.c: Likewise.
16837 * nscd/netgroupcache.c: Likewise.
16838 * sysdeps/posix/getcwd.c: Likewise.
16840 2012-05-10 Roland McGrath <roland@hack.frob.com>
16842 * math/w_ilogbf.c: Add #include <limits.h>.
16844 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16846 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
16847 path instead of returning without unlocking.
16849 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
16850 immediate-write ioctls.
16851 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
16853 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16855 * sysdeps/mach/hurd/i386/init-first.c (init): Use
16856 __builtin_frame_address instead of making assumptions about the
16857 location of the return address relative to DATA. Force early load of
16858 the return address.
16859 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
16860 __builtin_frame_address.
16863 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
16864 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
16865 implement dup3 and do some further code clean-ups.
16866 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
16867 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
16869 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16871 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
16873 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
16874 HURD_CRITICAL_END around holding _hurd_dtable_lock.
16875 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
16876 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
16877 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
16880 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
16881 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
16882 when handler == SIG_ERR, not when handler != SIG_ERR.
16884 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16886 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
16887 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
16890 accept4 for GNU Hurd.
16891 * include/sys/socket.h (__libc_accept4): New prototype.
16892 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
16893 to implement __libc_accept4.
16894 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
16896 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
16898 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
16899 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
16900 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
16901 signal-defines.sym.
16903 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16905 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
16907 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16909 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
16910 assertion on O_CLOEXEC flag.
16911 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
16912 * hurd/intern-fd.c: Likewise.
16913 * hurd/port2fd.c: Likewise.
16915 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16918 * bits/in.h (IPV6_PKTINFO): Define new macro.
16919 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
16921 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16926 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
16927 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16928 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
16929 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16930 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16931 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16932 * math/libm-test.inc (logb_test) : Additional logb tests.
16934 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
16935 Andreas Jaeger <aj@suse.de>
16937 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
16938 * configure: Regenerated.
16939 * config.h.in (LINK_OBSOLETE_RPC): New macro.
16940 * config.make.in (link-obsolete-rpc): New substituted variable.
16941 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
16942 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
16943 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
16944 (shared-only-routines): Don't set it under [link-obsolete-rpc],
16945 so that libc.a contains the symbols.
16946 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
16947 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
16948 * sunrpc/auth_none.c: Likewise.
16949 * sunrpc/auth_unix.c: Likewise.
16950 * sunrpc/authdes_prot.c: Likewise.
16951 * sunrpc/authuxprot.c: Likewise.
16952 * sunrpc/clnt_gen.c: Likewise.
16953 * sunrpc/clnt_perr.c: Likewise.
16954 * sunrpc/clnt_raw.c: Likewise.
16955 * sunrpc/clnt_simp.c: Likewise.
16956 * sunrpc/clnt_tcp.c: Likewise.
16957 * sunrpc/clnt_udp.c: Likewise.
16958 * sunrpc/clnt_unix.c: Likewise.
16959 * sunrpc/des_crypt.c: Likewise.
16960 * sunrpc/des_soft.c: Likewise.
16961 * sunrpc/get_myaddr.c: Likewise.
16962 * sunrpc/key_call.c: Likewise.
16963 * sunrpc/key_prot.c: Likewise.
16964 * sunrpc/netname.c: Likewise.
16965 * sunrpc/pm_getmaps.c: Likewise.
16966 * sunrpc/pm_getport.c: Likewise.
16967 * sunrpc/pmap_clnt.c: Likewise.
16968 * sunrpc/pmap_prot.c: Likewise.
16969 * sunrpc/pmap_prot2.c: Likewise.
16970 * sunrpc/pmap_rmt.c: Likewise.
16971 * sunrpc/publickey.c: Likewise.
16972 * sunrpc/rpc_cmsg.c: Likewise.
16973 * sunrpc/rpc_common.c: Likewise.
16974 * sunrpc/rpc_dtable.c: Likewise.
16975 * sunrpc/rpc_prot.c: Likewise.
16976 * sunrpc/rpc_thread.c: Likewise.
16977 * sunrpc/rtime.c: Likewise.
16978 * sunrpc/svc.c: Likewise.
16979 * sunrpc/svc_auth.c: Likewise.
16980 * sunrpc/svc_raw.c: Likewise.
16981 * sunrpc/svc_run.c: Likewise.
16982 * sunrpc/svc_tcp.c: Likewise.
16983 * sunrpc/svc_udp.c: Likewise.
16984 * sunrpc/svc_unix.c: Likewise.
16985 * sunrpc/svcauth_des.c: Likewise.
16986 * sunrpc/xcrypt.c: Likewise.
16987 * sunrpc/xdr.c: Likewise.
16988 * sunrpc/xdr_array.c: Likewise.
16989 * sunrpc/xdr_float.c: Likewise.
16990 * sunrpc/xdr_intXX_t.c: Likewise.
16991 * sunrpc/xdr_mem.c: Likewise.
16992 * sunrpc/xdr_rec.c: Likewise.
16993 * sunrpc/xdr_ref.c: Likewise.
16994 * sunrpc/xdr_sizeof.c: Likewise.
16995 * sunrpc/xdr_stdio.c: Likewise.
16997 2012-05-10 Roland McGrath <roland@hack.frob.com>
16999 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
17000 change. Update copyright years.
17002 2012-05-10 Joseph Myers <joseph@codesourcery.com>
17004 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
17006 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
17007 Joseph Myers <joseph@codesourcery.com>
17008 Paul Pluzhnikov <ppluzhnikov@google.com>
17011 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
17013 [cross-compiling] (extra-libs): Likewise.
17014 [cross-compiling] (extra-libs-others): Likewise.
17015 [cross-compiling] (librpcsvc-routines): Likewise.
17016 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
17017 [cross-compiling] (omit-deps): Likewise.
17018 (sunrpc-CPPFLAGS): New variable.
17019 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
17020 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
17021 (cross-rpcgen-objs): New variable.
17022 (extra-objs): Append $(cross-rpcgen-objs).
17023 ($(cross-rpcgen-objs)): New rule.
17024 ($(objpfx)cross-rpcgen): Likewise.
17025 (rpcgen-cmd): Define to use $(built-program-file). Expand
17027 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
17028 ($(objpfx)x%.stmp): Likewise.
17029 * sunrpc/proto.h [IS_IN_build] (_): Define.
17030 [IS_IN_build] (_libc_intl_domainname): Likewise.
17032 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17034 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
17035 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
17036 and R_X86_64_TPOFF64.
17038 2012-05-10 Joseph Myers <joseph@codesourcery.com>
17040 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
17041 sysdeps/unix/sysv/syscalls.list.
17044 * sysdeps/unix/sysv/syscalls.list: Remove file.
17046 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
17049 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
17050 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
17051 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
17052 (__LC_IDENTIFICATION): Make these macros useful in #if
17053 expressions, as required by C99.
17055 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
17057 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
17058 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
17061 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
17063 * stdlib/longlong.h: Updated from GCC.
17065 2012-05-09 Andreas Jaeger <aj@suse.de>
17067 * nscd/nscd.c (run_modes): Make named enum, reorder so that
17068 default is first entry.
17069 (run_mode): Set type.
17070 (main): Remove informal message about syslog.
17071 (options): Fix typo.
17074 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
17077 (llrintf): Likewise.
17078 (llrint): Likewise.
17081 (nearbyint): Likewise.
17082 (nearbyintf): Likewise.
17084 2012-05-09 Andreas Jaeger <aj@suse.de>
17085 Pedro Alves <palves@redhat.com>
17087 * nscd/nscd.c (run_mode): Use enum.
17088 (main): Cleanup coding style issue.
17090 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
17091 Andreas Jaeger <aj@suse.de>
17093 * nscd/nscd.c (go_background): Replaced with...
17094 (run_mode): ... this.
17095 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
17096 (options): Add -F --foreground.
17097 (main): Implement it.
17098 (parse_opt): Parse it.
17100 2012-05-09 Andreas Jaeger <aj@suse.de>
17103 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
17104 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
17105 -Wconversion warning.
17106 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
17109 2012-05-09 Joseph Myers <joseph@codesourcery.com>
17111 * conform/data/locale.h-data (NULL): Use macro-constant. Require
17113 (LC_ALL): Use macro-int-constant.
17114 (LC_COLLATE): Likewise.
17115 (LC_CTYPE): Likewise.
17116 (LC_MESSAGES): Likewise.
17117 (LC_MONETARY): Likewise.
17118 (LC_NUMERIC): Likewise.
17119 (LC_TIME): Likewise.
17120 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
17121 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17122 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17123 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
17125 [C99-based standards] (float_t): Expect type.
17126 [C99-based standards] (double_t): Expect type.
17127 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
17129 [C99-based standards] (HUGE_VALL): Likewise.
17130 [C99-based standards] (INFINITY): Likewise.
17131 [C99-based standards] (NAN): Likewise.
17132 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
17133 [C99-based standards] (FP_NAN): Likewise.
17134 [C99-based standards] (FP_NORMAL): Likewise.
17135 [C99-based standards] (FP_SUBNORMAL): Likewise.
17136 [C99-based standards] (FP_ZERO): Likewise.
17137 [C99-based standards] (FP_FAST_FMA): Use
17138 optional-macro-int-constant. Specify type. Require == 1.
17139 [C99-based standards] (FP_FAST_FMAF): Likewise.
17140 [C99-based standards] (FP_FAST_FMAL): Likewise.
17141 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
17142 [C99-based standards] (FP_ILOGBNAN): Likewise.
17143 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
17145 [C99-based standards] (MATH_ERREXCEPT): Likewise.
17146 [C99-based standards] (math_errhandling): Specify type.
17147 [ISO99 || ISO11] (signgam): Do not allow.
17148 [non-C99-based standards] (copysignf): Do not allow.
17149 [non-C99-based standards] (exp2f): Likewise.
17150 [non-C99-based standards] (log2f): Likewise.
17151 [non-C99-based standards] (modff): Allow.
17152 [non-C99-based standards] (erff): Do not allow.
17153 [non-C99-based standards] (erfcf): Likewise.
17154 [non-C99-based standards] (gammaf): Likewise.
17155 [non-C99-based standards] (hypotf): Likewise.
17156 [non-C99-based standards] (j0f): Likewise.
17157 [non-C99-based standards] (j1f): Likewise.
17158 [non-C99-based standards] (jnf): Likewise.
17159 [non-C99-based standards] (lgammaf): Likewise.
17160 [non-C99-based standards] (tgammaf): Likewise.
17161 [non-C99-based standards] (y0f): Likewise.
17162 [non-C99-based standards] (y1f): Likewise.
17163 [non-C99-based standards] (ynf): Likewise.
17164 [non-C99-based standards] (isnanf): Likewise.
17165 [non-C99-based standards] (acoshf): Likewise.
17166 [non-C99-based standards] (asinhf): Likewise.
17167 [non-C99-based standards] (atanhf): Likewise.
17168 [non-C99-based standards] (cbrtf): Likewise.
17169 [non-C99-based standards] (expm1f): Likewise.
17170 [non-C99-based standards] (ilogbf): Likewise.
17171 [non-C99-based standards] (log1pf): Likewise.
17172 [non-C99-based standards] (logbf): Likewise.
17173 [non-C99-based standards] (nextafterf): Likewise.
17174 [non-C99-based standards] (remainderf): Likewise.
17175 [non-C99-based standards] (rintf): Likewise.
17176 [non-C99-based standards] (scalbf): Likewise.
17177 [non-C99-based standards] (copysignl): Likewise.
17178 [non-C99-based standards] (exp2l): Likewise.
17179 [non-C99-based standards] (log2l): Likewise.
17180 [non-C99-based standards] (modfl): Allow.
17181 [non-C99-based standards] (erfl): Do not allow.
17182 [non-C99-based standards] (erfcl): Likewise.
17183 [non-C99-based standards] (gammal): Likewise.
17184 [non-C99-based standards] (hypotl): Likewise.
17185 [non-C99-based standards] (j0l): Likewise.
17186 [non-C99-based standards] (j1l): Likewise.
17187 [non-C99-based standards] (jnl): Likewise.
17188 [non-C99-based standards] (lgammal): Likewise.
17189 [non-C99-based standards] (tgammal): Likewise.
17190 [non-C99-based standards] (y0l): Likewise.
17191 [non-C99-based standards] (y1l): Likewise.
17192 [non-C99-based standards] (ynl): Likewise.
17193 [non-C99-based standards] (isnanl): Likewise.
17194 [non-C99-based standards] (acoshl): Likewise.
17195 [non-C99-based standards] (asinhl): Likewise.
17196 [non-C99-based standards] (atanhl): Likewise.
17197 [non-C99-based standards] (cbrtl): Likewise.
17198 [non-C99-based standards] (expm1l): Likewise.
17199 [non-C99-based standards] (ilogbl): Likewise.
17200 [non-C99-based standards] (log1pl): Likewise.
17201 [non-C99-based standards] (logbl): Likewise.
17202 [non-C99-based standards] (nextafterl): Likewise.
17203 [non-C99-based standards] (remainderl): Likewise.
17204 [non-C99-based standards] (rintl): Likewise.
17205 [non-C99-based standards] (scalbl): Likewise.
17206 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17207 [non-C99-based standards] (FP_*): Do not allow.
17208 [C99-based standards] (FP_*): Change to
17209 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17210 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17212 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
17213 (SIG_ERR): Likewise.
17214 [X/Open-based standards] (SIG_HOLD): Likewise.
17215 (SIG_IGN): Likewise.
17216 (SIGABRT): Use macro-int-constant. Specify type. Require
17218 (SIGFPE): Likewise.
17219 (SIGILL): Likewise.
17220 (SIGINT): Likewise.
17221 (SIGSEGV): Likewise.
17222 (SIGTER): Likewise.
17223 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
17224 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
17225 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
17226 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
17227 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
17228 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
17229 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
17230 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
17231 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
17232 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
17233 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
17234 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
17235 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
17236 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
17237 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
17238 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
17239 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
17240 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
17241 [X/Open-based standards] (SIGTRAP): Likewise.
17242 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
17243 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
17244 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
17245 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
17246 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17249 2012-05-08 Ian Wienand <ianw@vmware.com>
17252 * time/tzset.c (__tzset_parse_tz): Update default rules for
17253 daylight time changes in the Energy Policy Act of 2005.
17255 2012-05-09 Andreas Jaeger <aj@suse.de>
17258 * elf/ldconfig.c (parse_conf): Change string to make clear that
17259 ldconfig only issued a warning if ld.so.conf does not exist.
17261 2012-05-08 David S. Miller <davem@davemloft.net>
17263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
17264 movxtod instead of popping the value on the stack.
17266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17268 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
17270 * config.h.in: Add HAVE_ARM_PCS_VFP.
17272 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
17275 * include/features.h: Warn if user requests __FORTIFY_SOURCE
17276 checking but the checks are disabled for any reason.
17278 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
17280 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
17281 and ELF64_R_TYPE with ELFW(R_TYPE).
17283 2012-05-08 Joseph Myers <joseph@codesourcery.com>
17285 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
17286 (ulimit): Likewise.
17288 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
17289 (settimeofday): Likewise.
17291 2012-05-08 Mike Frysinger <vapier@gentoo.org>
17293 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
17294 a struct th_u2 inside the union, and move tu_block/tu_code into
17295 a new th_u3 union of tu_block/tu_code inside of that. Move
17296 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
17297 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
17298 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
17299 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
17300 (th_stuff): Change to th_u1.tu_stuff.
17302 (th_msg): Change to th_u1.th_u2.tu_data.
17304 2012-05-07 David S. Miller <davem@davemloft.net>
17306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17309 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
17310 (SETUP_PIC_REG): Use it.
17311 (SETUP_PIC_REG_LEAF): Use it.
17313 2012-05-07 Joseph Myers <joseph@codesourcery.com>
17317 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17319 (EXPL_FINITE): Likewise.
17320 (FLDLOG): Likewise.
17321 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
17322 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
17324 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17326 (EXPL_FINITE): Likewise.
17327 (FLDLOG): Likewise.
17328 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
17329 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
17331 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
17332 test of -max_value argument for long double.
17333 * sysdeps/i386/fpu/libm-test-ulps: Update.
17334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17336 2012-05-06 David S. Miller <davem@davemloft.net>
17338 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
17339 quad soft-float symbols whose references which are compiler
17341 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17343 2012-05-06 Joseph Myers <joseph@codesourcery.com>
17347 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17349 (EXPL_FINITE): Likewise.
17350 (FLDLOG): Likewise.
17353 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
17354 Adjust comments for base varying.
17355 (__expl_finite): Change alias to EXPL_FINITE.
17356 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
17358 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
17359 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17360 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17361 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
17362 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17364 (EXPL_FINITE): Likewise.
17365 (FLDLOG): Likewise.
17368 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
17369 Adjust comments for base varying.
17370 (__expl_finite): Change alias to EXPL_FINITE.
17371 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
17373 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17376 * math/libm-test.inc (check_float_internal): Correct ulp
17377 calculation for subnormal expected results.
17379 2012-05-06 Andreas Jaeger <aj@suse.de>
17381 * Makeconfig (+math-flags): New, set to -frounding-math.
17382 (+cflags): Add +math-flags so that all of glibc gets compiled with
17385 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
17387 2012-05-05 Joseph Myers <joseph@codesourcery.com>
17389 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
17395 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
17396 (__ieee754_expl): Allow for and saturate large arguments.
17397 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
17398 (u_threshold): Likewise.
17399 (__exp): Call __ieee754_exp before checking for overflow and
17401 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
17402 (u_threshold): Likewise.
17403 (__expf): Call __ieee754_expf before checking for overflow and
17405 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
17406 (u_threshold): Likewise.
17407 (__expl): Call __ieee754_expl before checking for overflow and
17409 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
17410 (__ieee754_expl): Allow for and saturate large arguments.
17411 * math/libm-test.inc (exp_test): Add another test. Do not allow
17412 missing overflow exception on overflow.
17413 (expm1_test): Do not allow missing overflow exception on overflow.
17415 * sysdeps/i386/fpu/e_expl.c: Move to ...
17416 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
17417 rather than using inline asm.
17418 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
17419 * sysdeps/x86_64/fpu/e_expl.S: Copy from
17420 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
17422 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
17425 (signal): Likewise.
17429 2012-05-04 Joseph Myers <joseph@codesourcery.com>
17431 * sysdeps/unix/syscalls.list (adjtime): Add entry from
17432 sysdeps/unix/common/syscalls.list.
17433 (fchmod): Likewise.
17434 (fchown): Likewise.
17435 (ftruncate): Likewise.
17436 (getrusage): Likewise.
17437 (gettimeofday): Likewise.
17438 (setpgid): Likewise.
17439 (setregid): Likewise.
17440 (setreuid): Likewise.
17441 (sigaction): Likewise.
17442 (truncate): Likewise.
17443 (vhangup): Likewise.
17444 * sysdeps/unix/common/syscalls.list: Remove file.
17445 * sysdeps/unix/bsd/Implies: Don't include unix/common.
17446 * sysdeps/unix/sysv/linux/Implies: Likewise.
17448 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
17450 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
17451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
17452 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
17454 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17456 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
17458 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
17459 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
17461 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
17462 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
17464 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
17465 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
17467 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
17468 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
17470 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
17471 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
17473 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
17474 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
17476 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17478 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
17480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
17482 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
17484 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
17485 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
17487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
17489 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
17491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
17493 2012-05-04 Joseph Myers <joseph@codesourcery.com>
17495 * sysdeps/unix/common/bits/dirent.h: Remove file.
17496 * sysdeps/unix/common/bits/fcntl.h: Likewise.
17498 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
17499 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
17500 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
17501 * sysdeps/unix/bsd/isatty.c: Likewise.
17502 * sysdeps/unix/bsd/tcdrain.c: Likewise.
17503 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
17504 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
17506 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17509 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
17510 long double comparison inaccuracies.
17511 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17514 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
17516 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
17517 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
17519 2012-05-04 Joseph Myers <joseph@codesourcery.com>
17522 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
17523 nonzero digits before rounding a hex value.
17524 * stdlib/tst-strtod.c (tests): Add another test.
17526 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17528 * sysdeps/s390/fpu/libm-test-ulps: Update.
17530 2012-05-03 Andreas Jaeger <aj@suse.de>
17532 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
17533 does not get optimized out.
17534 (malloc_opt_barrier): New.
17536 2012-05-03 Andreas Jaeger <aj@suse.de>
17537 Roland McGrath <roland@hack.frob.com>
17539 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
17540 intermediate file deletion.
17541 (generated): Add .symlist files.
17543 2012-05-03 Joseph Myers <joseph@codesourcery.com>
17546 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
17547 Redirect under this condition.
17548 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
17549 [__USE_GNU] (__dprintf_chk): Not under this condition.
17550 [__USE_GNU] (__vdprintf_chk): Likewise.
17551 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
17552 under this condition.
17553 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
17554 [__USE_XOPEN2K8] (dprintf): Define under this condition.
17555 [__USE_XOPEN2K8] (vdprintf): Likewise.
17556 [__USE_GNU] (__dprintf_chk): Not under this condition.
17557 [__USE_GNU] (__vdprintf_chk): Likewise.
17558 [__USE_GNU] (dprintf): Likewise.
17559 [__USE_GNU] (vdprintf): Likewise.
17561 2012-05-03 Roland McGrath <roland@hack.frob.com>
17563 * elf/Makefile (common-generated): Set this instead of generated for
17564 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
17565 $(all-built-dso)-derived lists.
17567 2012-05-03 Andreas Jaeger <aj@suse.de>
17569 * sysdeps/i386/fpu/libm-test-ulps: Update.
17572 * FAQ.in: Likewise.
17573 * scripts/gen-FAQ.pl: Likewise.
17574 * manual/install.texi (Installation): Point to online location of
17576 * Makefile (files-for-dist): Remove FAQ.
17579 2012-05-02 Allan McRae <allan@archlinux.org>
17581 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
17582 (LDFLAGS-reldepmod5.so): Likewise.
17583 (LDFLAGS-reldep6mod1.so): Likewise.
17584 (LDFLAGS-reldep6mod4.so): Likewise.
17585 (LDFLAGS-reldep8mod3.so): Likewise.
17586 (LDFLAGS-unload4mod1.so): Likewise.
17587 (LDFLAGS-unload4mod2.so): Likewise.
17588 (LDFLAGS-tst-initorder): Likewise.
17589 (LDFLAGS-tst-initordera2.so): Likewise.
17590 (LDFLAGS-tst-initordera3.so): Likewise.
17591 (LDFLAGS-tst-initordera4.so): Likewise.
17592 (LDFLAGS-tst-initorderb2.so): Likewise.
17593 (LDFLAGS-noload): Likewise.
17594 (LDFLAGS-next): Likewise.
17595 (LDFLAGS-order2mod1.so): Likewise.
17596 (LDFLAGS-order2mod2.so): Likewise.
17597 (LDFLAGS-tst-initorder2): Likewise.
17598 (LDFLAGS-tst-initorder2a.so): Likewise.
17599 (LDFLAGS-tst-initorder2b.so): Likewise.
17600 (LDFLAGS-tst-initorder2c.so): Likewise.
17601 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
17603 2012-05-02 David S. Miller <davem@davemloft.net>
17605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17607 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
17610 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
17612 2012-05-02 Andreas Jaeger <aj@suse.de>
17614 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
17615 since we manipulate rounding mode.
17616 (CPPFLAGS-test-idouble.c): Likewise.
17617 (CPPFLAGS-test-ifloat.c): Likewise.
17618 (CFLAGS-test-ldouble.c): Likewise.
17619 (CFLAGS-test-double.c): Likewise.
17620 (CFLAGS-test-float.c): Likewise.
17621 (CFLAGS-test-misc.c): Likewise.
17622 (CFLAGS-test-test-fenv.c): Likewise.
17624 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17628 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
17629 comparisons to determine direction to adjust input.
17631 2012-05-01 Roland McGrath <roland@hack.frob.com>
17633 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
17634 output to the target.
17636 * scripts/localplt.awk: New file.
17637 * elf/Makefile ($(objpfx)check-localplt): Target removed.
17638 (check-localplt-CFLAGS): Variable removed.
17639 ($(all-built-dso:=.jmprel)): New static pattern rule.
17640 (generated): Add those targets.
17641 (localplt-built-dso): New variable.
17642 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
17644 * elf/check-localplt.c: File removed.
17646 * scripts/check-execstack.awk: New file.
17647 * elf/Makefile ($(objpfx)check-execstack): Target removed.
17648 (check-execstack-CFLAGS): Variable removed.
17649 ($(objpfx)check-execstack.h): Target removed.
17650 ($(objpfx)execstack-default): New target.
17651 (generated): Add that instead of check-execstack.h.
17652 ($(all-built-dso:=.phdr)): New static pattern rule.
17653 (generated): Add those targets.
17654 * elf/check-execstack.c: File removed.
17656 * scripts/check-textrel.awk: New file.
17657 * elf/Makefile ($(objpfx)check-textrel): Target removed.
17658 (check-textrel-CFLAGS): Variable removed.
17659 (all-built-dso): Use := to define.o
17660 ($(all-built-dso:=.dyn)): New static pattern rule.
17661 (generated): Add those targets.
17662 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
17663 * config.make.in (READELF): New substituted variable.
17664 * elf/check-textrel.c: File removed.
17666 2012-05-01 Joseph Myers <joseph@codesourcery.com>
17668 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17670 * conform/data/ctype.h-data [C99-based standards] (isblank):
17672 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
17673 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
17674 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17675 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
17676 Specify type. Require positive value.
17677 (EILSEQ): Likewise.
17678 (ERANGE): Likewise.
17679 [ISO || POSIX] (EILSEQ): Do not expect.
17680 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
17681 Specify type. Require positive value.
17682 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
17683 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
17684 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
17685 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
17686 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
17687 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
17688 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
17689 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
17690 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
17691 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
17692 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
17693 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
17694 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
17695 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
17696 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
17697 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
17698 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
17699 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
17700 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
17701 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
17702 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
17703 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
17704 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
17705 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
17706 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
17707 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
17708 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
17709 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
17710 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
17711 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
17712 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
17713 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
17714 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
17715 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
17716 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
17717 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
17718 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
17719 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
17720 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
17721 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
17722 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
17723 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
17724 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
17725 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
17726 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
17727 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
17728 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
17729 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
17730 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
17731 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
17732 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
17733 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
17734 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
17735 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
17736 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
17737 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
17738 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
17739 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
17740 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
17741 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
17742 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
17743 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
17744 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
17745 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
17746 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
17747 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
17748 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
17749 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
17750 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
17751 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
17752 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
17753 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
17754 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
17755 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
17756 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
17757 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
17758 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
17760 (FLT_ROUNDS): Expect as macro, not constant.
17761 (FLT_MANT_DIG): Use macro-int-constant.
17762 (DBL_MANT_DIG): Likewise.
17763 (LDBL_MANT_DIG): Likewise.
17764 (FLT_DIG): Likewise.
17765 (DBL_DIG): Likewise.
17766 (LDBL_DIG): Likewise.
17767 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
17768 (DBL_MIN_EXP): Likewise.
17769 (LDBL_MIN_EXP): Likewise.
17770 (FLT_MAX_EXP): Use macro-int-constant.
17771 (DBL_MAX_EXP): Likewise.
17772 (LDBL_MAX_EXP): Likewise.
17773 (FLT_MAX_10_EXP): Likewise.
17774 (DBL_MAX_10_EXP): Likewise.
17775 (LDBL_MAX_10_EXP): Likewise.
17776 (FLT_MAX): Use macro-constant.
17777 (DBL_MAX): Likewise.
17778 (LDBL_MAX): Likewise.
17779 (FLT_EPSILON): Use macro-constant. Give upper bound.
17780 (DBL_EPSILON): Likewise.
17781 (LDBL_EPSILON): Likewise.
17782 (FLT_MIN): Likewise.
17783 (DBL_MIN): Likewise.
17784 (LDBL_MIN): Likewise.
17785 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
17786 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
17787 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
17788 [ISO11] (FLT_HAS_SUBNORM): Likewise.
17789 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
17790 [ISO11] (DBL_DECIMAL_DIG): Likewise.
17791 [ISO11] (FLT_DECIMAL_DIG): Likewise.
17792 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
17793 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
17794 [ISO11] (FLT_TRUE_MIN): Likewise.
17795 [ISO11] (LDBL_TRUE_MIN): Likewise.
17796 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17797 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
17798 (SCHAR_MIN): Use macro-int-constant. Specify type.
17799 (SCHAR_MAX): Likewise.
17800 (UCHAR_MAX): Likewise.
17801 (CHAR_MIN): Likewise.
17802 (CHAR_MAX): Likewise.
17803 (MB_LEN_MAX): Use macro-int-constant.
17804 (SHRT_MIN): Use macro-int-constant. Specify type.
17805 (SHRT_MAX): Likewise.
17806 (USHRT_MAX): Likewise.
17807 (INT_MAX): Likewise.
17808 (INT_MIN): Use macro-int-constant. Specify type. Make upper
17810 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
17812 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
17814 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
17815 bound negative. Suffix upper bound with "L".
17816 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
17818 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
17820 [C99-based standards] (LLONG_MAX): Likewise.
17821 [C99-based standards] (ULLONG_MAX): Likewise.
17822 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
17824 [ISO11] (max_align_t): Require type.
17825 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17827 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
17828 from $CFLAGS, without defining away __attribute__ calls.
17829 (checknamespace): Use $CFLAGS_namespace.
17831 * conform/conformtest.pl (@keywords): Only include C99 keywords
17832 for standards based on C99 or C11.
17834 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
17836 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
17839 * conform/conformtest.pl: Handle "macro-int-constant" and test for
17840 usability of symbols in #if.
17842 * conform/conformtest.pl: If macro or constant types start
17843 "promoted:", expect the symbol to be of the following type
17844 promoted by the integer promotions.
17846 * conform/conformtest.pl: Parse all "constant" and "macro" lines
17847 in one place. Also handle "macro-constant".
17849 * conform/conformtest.pl: Only accept expected macro values with
17850 "==". Parse all "macro" lines in one place.
17851 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
17853 * conform/conformtest.pl: Handle braced types on "constant" lines
17854 instead of handling "typed-constant".
17855 * conform/data/signal.h-data: Use "constant" instead of
17858 * conform/conformtest.pl: Handle "optional-" at start of lines in
17859 one place rather than duplicating several cases. Handle each
17860 format of "macro" line with initial "optional-".
17862 * conform/conformtest.pl: Only accept expected constant or
17863 optional-constant values with "==". Parse all "constant" lines in
17864 one place. Parse all "optional-constant" lines in one place.
17865 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
17866 * conform/data/fmtmsg.h-data: Likewise.
17867 * conform/data/netinet/in.h-data: Likewise.
17868 * conform/data/tar.h-data: Likewise.
17869 * conform/data/limits.h-data: Use "==" form on "constant" and
17870 "optional-constant" lines.
17872 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
17873 Use -std=c99 for XOPEN2K.
17874 (@knownproblems): Remove.
17875 (newtoken): Don't check %isknown.
17877 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
17878 Do not expect macro.
17879 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
17880 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
17881 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
17882 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
17883 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
17884 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
17885 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
17886 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
17887 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
17888 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
17889 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
17890 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
17891 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
17892 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
17893 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
17894 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
17895 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
17896 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
17897 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
17898 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
17899 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
17900 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
17901 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
17902 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
17903 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
17904 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
17905 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
17906 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
17907 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
17908 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
17909 [XPG3] (acosh): Likewise.
17910 [XPG3] (asinh): Likewise.
17911 [XPG3] (atanh): Likewise.
17912 [XPG3] (cbrt): Likewise.
17913 [XPG3] (expm1): Likewise.
17914 [XPG3] (ilogb): Likewise.
17915 [XPG3] (log1p): Likewise.
17916 [XPG3] (logb): Likewise.
17917 [XPG3] (nextafter): Likewise.
17918 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
17919 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
17920 [XPG3] (remainder): Likewise.
17921 [XPG3] (rint): Likewise.
17922 [XPG3 || XPG4 || UNIX98] (round): Likewise.
17923 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
17924 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
17925 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
17926 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
17927 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
17928 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
17929 [UNIX98 || XOPEN2K] (scalb): Expect.
17930 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
17931 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
17932 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
17933 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
17934 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
17935 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
17936 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
17937 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
17938 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
17939 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
17940 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
17941 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
17942 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
17943 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
17944 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
17945 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
17946 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
17947 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
17948 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
17949 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
17950 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
17951 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
17952 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
17953 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
17954 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
17955 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
17956 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
17957 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
17958 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
17959 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
17960 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
17961 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
17962 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
17963 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
17964 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
17965 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
17966 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
17967 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
17968 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
17969 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
17970 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
17971 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
17972 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
17973 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
17974 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
17975 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
17976 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
17977 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
17978 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
17979 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
17980 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
17981 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
17982 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
17983 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
17984 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
17985 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
17986 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
17987 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
17988 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
17989 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
17990 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
17991 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
17992 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
17993 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
17994 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
17995 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
17996 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
17997 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
17998 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
17999 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
18000 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
18001 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
18002 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
18003 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
18004 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
18005 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
18006 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
18007 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
18008 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
18009 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
18010 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
18011 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
18012 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
18013 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
18014 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
18015 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
18016 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
18017 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
18018 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
18019 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
18020 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
18021 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
18022 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
18023 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
18024 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
18025 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
18026 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
18027 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
18028 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
18029 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
18030 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
18031 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
18032 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
18033 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
18034 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
18035 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
18036 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
18037 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
18038 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
18039 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
18040 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
18041 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
18042 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
18043 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
18044 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
18045 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
18046 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
18047 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
18048 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
18049 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
18050 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
18051 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
18052 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
18053 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
18054 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
18055 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
18056 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
18057 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
18058 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
18059 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
18060 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
18061 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
18062 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
18063 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
18064 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
18065 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
18066 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
18068 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
18069 _XOPEN_SOURCE_EXTENDED for XPG4.
18071 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
18073 * Makeconfig (localtime): Remove variable.
18074 (inst_localtime-file): Likewise.
18076 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
18090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
18094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18097 2012-05-01 Joseph Myers <joseph@codesourcery.com>
18101 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
18102 comparisons to determine direction to adjust input.
18103 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18104 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
18105 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18107 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18109 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18111 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18112 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18114 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18116 * math/libm-test.inc (nexttoward_test): Add more tests.
18118 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18121 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
18122 in version GLIBC_2.1, not GLIBC_2.0.
18123 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
18126 2012-04-30 Joseph Myers <joseph@codesourcery.com>
18129 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
18131 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18132 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
18133 * math/libm-test.inc (acos_test): Add more tests.
18134 (asin_test): Likewise.
18135 * sysdeps/i386/fpu/libm-test-ulps: Update.
18136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18139 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
18141 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
18142 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18143 * math/libm-test.inc (acos_test_tonearest): New function.
18144 (acos_test_towardzero): Likewise.
18145 (acos_test_downward): Likewise.
18146 (acos_test_upward): Likewise.
18147 (asin_test_tonearest): Likewise.
18148 (asin_test_towardzero): Likewise.
18149 (asin_test_downward): Likewise.
18150 (asin_test_upward): Likewise.
18151 (main): Call the new functions.
18152 * sysdeps/i386/fpu/libm-test-ulps: Update.
18153 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18157 * math/e_exp10.c: Include <float.h>.
18158 (__ieee754_exp10): Handle underflow here rather than multiplying
18159 large negative argument by M_LN10.
18160 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
18162 * math/e_exp10l.c: Include <float.h>.
18163 (__ieee754_exp10l): Handle underflow here rather than multiplying
18164 large negative argument by M_LN10l.
18165 * math/libm-test.inc (exp10_test): Add another test. Do not allow
18166 spurious overflow exception on underflow.
18168 2012-04-29 Marek Polacek <polacek@redhat.com>
18170 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
18171 (__fortify_function): New macro.
18172 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
18173 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
18174 __extern_always_inline.
18175 * libio/bits/stdio2.h: Likewise.
18176 * libio/bits/stdio.h: Likewise.
18177 * string/string.h: Likewise.
18178 * string/bits/string3.h: Likewise.
18179 * include/stdio.h: Likewise.
18180 * stdlib/bits/stdlib.h: Likewise.
18181 * stdlib/stdlib.h: Likewise.
18182 * rt/bits/mqueue2.h: Likewise.
18183 * rt/mqueue.h: Likewise.
18184 * posix/bits/unistd.h: Likewise.
18185 * posix/unistd.h: Likewise.
18186 * io/bits/poll2.h: Likewise.
18187 * io/bits/fcntl2.h: Likewise.
18188 * io/fcntl.h: Likewise.
18189 * io/sys/poll.h: Likewise.
18190 * misc/bits/syslog.h: Likewise.
18191 * misc/bits/syslog-ldbl.h: Likewise.
18192 * misc/sys/syslog.h: Likewise.
18193 * socket/bits/socket2.h: Likewise.
18194 * socket/sys/socket.h: Likewise.
18195 * debug/tst-chk1.c: Likewise.
18196 * wcsmbs/bits/wchar2.h: Likewise.
18197 * wcsmbs/bits/wchar-ldbl.h: Likewise.
18198 * wcsmbs/wchar.h: Likewise.
18200 2012-04-29 Andreas Jaeger <aj@suse.de>
18202 * Makerules (tests): Remove enable-check-abi protection.
18203 (check-abi-warn): Remove.
18204 (check-abi-%): Remove check-abi-warn usage.
18206 * configure.in: Remove check-abi configure option.
18207 * configure: Regenerated.
18208 * config.make.in (enable-check-abi): Remove.
18210 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
18213 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
18214 double functions to double *_finite functions.
18217 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
18218 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
18220 * stdio-common/Makefile (tests): Add tst-sprintf3.
18221 * stdio-common/tst-sprintf3.c: New file.
18223 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
18224 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
18226 2012-04-28 Joseph Myers <joseph@codesourcery.com>
18228 * conform/conformtest.pl: Remove duplicate typed-constant
18231 2012-04-28 David S. Miller <davem@davemloft.net>
18233 * Makerules (%.abilist): Add vpath on sysdep_dirs.
18234 (check-abi-%): Remove AWK script prerequisite and explicit
18236 (check-abi): Rewrite to just diff the symlist with the abilist.
18237 (config-tls, config-abi-config): Delete, no longer used.
18238 (update-abi-%): Remove AWK script and explicit abilist directory.
18239 (update-abi): Rewrite to simply compare and conditionally copy the
18240 symlist and the sysdep abilist file. Remove update-abi-config
18242 * abilist/ld.abilist: Remove.
18243 * abilist/libBrokenLocale.abilist: Remove.
18244 * abilist/libanl.abilist: Remove.
18245 * abilist/libcrypt.abilist: Remove.
18246 * abilist/libdl.abilist: Remove.
18247 * abilist/librt.abilist: Remove.
18248 * abilist/libthread_db.abilist: Remove.
18249 * abilist/libutil.abilist: Remove.
18250 * scripts/extract-abilist.awk: Remove.
18251 * scripts/merge-abilist.awk: Remove.
18252 * sysdeps/generic/libcidn.abilist: New file.
18253 * sysdeps/generic/libnss_compat.abilist: New file.
18254 * sysdeps/generic/libnss_db.abilist: New file.
18255 * sysdeps/generic/libnss_dns.abilist: New file.
18256 * sysdeps/generic/libnss_files.abilist: New file.
18257 * sysdeps/generic/libnss_hesiod.abilist: New file.
18258 * sysdeps/generic/libnss_nis.abilist: New file.
18259 * sysdeps/generic/libnss_nisplus.abilist: New file.
18260 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
18261 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
18262 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
18264 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
18265 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
18266 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
18267 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
18268 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
18269 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
18270 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
18271 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
18272 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
18274 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
18275 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
18276 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
18277 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
18279 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
18280 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
18281 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
18282 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
18283 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
18284 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
18286 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
18287 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
18288 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
18290 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
18291 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
18293 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
18295 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
18297 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
18299 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
18301 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
18303 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
18305 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
18307 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
18309 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
18311 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
18313 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
18315 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
18317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
18319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
18325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
18327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
18329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
18331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
18333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
18337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
18339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
18341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
18343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
18344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
18346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
18348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
18350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
18352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
18354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
18356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
18358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
18362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
18364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
18366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
18368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
18369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
18371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
18373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
18375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
18377 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
18379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
18381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
18383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18385 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
18387 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
18389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
18391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
18393 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18394 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
18395 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
18397 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
18398 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
18399 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
18400 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
18401 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
18402 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
18403 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
18404 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
18405 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
18406 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
18407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
18408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
18410 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
18412 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
18414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
18416 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
18418 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
18420 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
18422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18424 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
18426 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
18428 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
18430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
18432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
18433 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
18435 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
18437 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
18439 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
18441 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
18443 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
18445 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
18447 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
18451 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
18453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
18455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
18458 2012-04-28 Joseph Myers <joseph@codesourcery.com>
18460 * conform/conformtest.pl: Fix typo in handling typed-constant from
18463 2012-04-27 Joseph Myers <joseph@codesourcery.com>
18465 * README: Cut down references to pre-2.6 Linux kernels and
18466 Linuxthreads. Update lists of configurations in libc and ports
18467 and sort alphabetically. Say "or newer" with Linux kernel version
18470 * config.h.in [IS_IN_build]: Allow compiling without optimization.
18472 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18475 * math/libm-test.inc (logb_test_downward): New test to expose
18476 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
18479 2012-04-27 Joseph Myers <joseph@codesourcery.com>
18482 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
18484 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
18485 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
18487 2012-04-26 Joseph Myers <joseph@codesourcery.com>
18489 * sysdeps/unix/i386/brk.S: Remove file.
18490 * sysdeps/unix/i386/dl-brk.S: Likewise.
18491 * sysdeps/unix/i386/pipe.S: Likewise.
18492 * sysdeps/unix/i386/sigreturn.S: Likewise.
18493 * sysdeps/unix/i386/syscall.S: Likewise.
18494 * sysdeps/unix/i386/vfork.S: Likewise.
18495 * sysdeps/unix/i386/wait.S: Likewise.
18497 * sysdeps/unix/common/tcsendbrk.c: Move to ...
18498 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
18500 * configure.in (arm*-none*): Do not allow without
18501 --enable-hacker-mode.
18502 (netbsd*): Remove case setting base_os.
18503 (386bsd*): Likewise.
18504 (freebsd*): Likewise.
18507 (sunos*): Likewise.
18508 (ultrix*): Likewise.
18509 (newsos*): Likewise.
18510 (dynix*): Likewise.
18516 (minix*): Likewise.
18517 (irix4*): Likewise.
18518 (irix6*): Likewise.
18519 (solaris[2-9]*): Likewise.
18521 * configure: Regenerated.
18523 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18526 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
18527 overflow or cancellation in calculating denominator.
18528 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
18529 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
18530 down expression to avoid unexpected rounding in newer GCCs.
18531 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
18533 2012-04-26 David S. Miller <davem@davemloft.net>
18535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
18536 long-double compat symbols.
18537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
18541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
18543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
18544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
18545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
18546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
18547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
18548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
18549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18551 2012-04-25 David S. Miller <davem@davemloft.net>
18553 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
18554 HWCAP_* values only after the memory barriers have been defined.
18555 (atomic_full_barrier): Define.
18556 (atomic_read_barrier): Define.
18557 (atomic_write_barrier): Define.
18559 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18561 * shlib-versions: Add libgcc_s version information.
18562 * sysdeps/generic/libgcc_s.h: Remove.
18563 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
18565 * sysdeps/gnu/unwind-resume.c: Likewise.
18566 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
18568 2012-04-25 David S. Miller <davem@davemloft.net>
18570 * sysdeps/unix/sparc/brk.S: Delete.
18571 * sysdeps/unix/sparc/dl-brk.S: Delete.
18572 * sysdeps/unix/sparc/pipe.S: Delete.
18573 * sysdeps/unix/sparc/sysdep.S: Delete.
18574 * sysdeps/unix/sparc/sysdep.h: Delete.
18575 * sysdeps/unix/sparc/vfork.S: Delete.
18576 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
18577 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
18578 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
18579 ret_ERRVAL, r0, r1, MOVE): Define.
18580 (JUMPTARGET): Remove.
18581 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
18582 sysdeps/unix/sparc/sysdep.h
18583 (ENTRY, END): Remove.
18584 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18586 2012-04-25 Joseph Myers <joseph@codesourcery.com>
18588 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
18589 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
18592 * timezone/README: Update upstream location and email address for
18594 * timezone/zdump.c: Update from tzcode 2012b.
18595 * timezone/zic.c: Likewise.
18597 * configure.in (libc_cv_as_needed): Remove test.
18598 * configure: Regenerated.
18599 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
18600 conditional definition.
18601 [$(have-as-needed) != yes] (no-as-needed): Likewise.
18602 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
18603 * config.make.in (have-as-needed): Remove variable.
18605 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18606 Paul Pluzhnikov <ppluzhnikov@google.com>
18608 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
18611 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
18613 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
18614 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
18615 * sysdeps/sh/strlen.S: Likewise.
18617 2012-04-24 Joseph Myers <joseph@codesourcery.com>
18619 * sysdeps/unix/fork.S: Remove file.
18620 * sysdeps/unix/i386/fork.S: Likewise.
18621 * sysdeps/unix/sparc/fork.S: Likewise.
18623 * sysdeps/unix/system.c: Remove file.
18624 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
18626 * sysdeps/unix/getegid.S: Remove file.
18627 * sysdeps/unix/geteuid.S: Likewise.
18629 2012-04-24 Roland McGrath <roland@hack.frob.com>
18631 * scripts/check-localplt.awk: New file.
18632 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
18634 * scripts/data/localplt-generic.data: Add a comment.
18636 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
18637 NODE when __dir_mkfile failed.
18638 * sysdeps/mach/hurd/symlinkat.c: Likewise.
18639 Reported by Ludovic Courtès <ludo@gnu.org>.
18641 2012-04-24 Andreas Jaeger <aj@suse.de>
18643 * Makerules (common-clean): Also remove gen-as-const-headers
18646 2012-04-24 Joseph Myers <joseph@codesourcery.com>
18648 * Makerules (native-compile): Do not change working directory for
18649 build. Use $(OUTPUT_OPTION) in command.
18650 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
18652 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18655 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
18656 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
18657 * math/libm-test.inc (floor_test): Add more tests.
18658 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
18660 2012-04-24 Joseph Myers <joseph@codesourcery.com>
18662 * sysdeps/unix/getdents.c: Remove file.
18663 * sysdeps/unix/sysv/getdents.c: Likewise.
18664 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
18666 * sysdeps/unix/syscalls.list (madvise): Add syscall from
18667 sysdeps/unix/mman/syscalls.list.
18669 (mprotect): Likewise.
18671 (munmap): Likewise.
18672 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
18673 * sysdeps/unix/mman/syscalls.list: Remove.
18674 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
18676 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
18677 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
18678 * configure: Regenerated.
18679 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
18680 $(libgcc_s_suffix).
18681 * config.make.in (libgcc_s_suffix): Remove variable.
18683 2012-04-23 Joseph Myers <joseph@codesourcery.com>
18685 * sysdeps/unix/sysv/gethostname.c: Move to ...
18686 * sysdeps/posix/gethostname.c: ... here.
18688 * sysdeps/unix/execve.S: Remove file.
18690 * sysdeps/unix/_exit.S: Remove file.
18692 2012-04-23 Andreas Jaeger <aj@suse.de>
18695 * manual/Makefile: Remove make dist support, there's no
18696 need for a stand-alone documentation tar ball.
18697 (TEXI2DVI): Define always, it's not in Makeconfig.
18700 (edition): Removed.
18701 (glibc-doc-$(edition).tar): Removed
18705 (ETAGS): Remove, it's in Makeconfig.
18706 (move-if-change): Remove, it's in Makeconfig.
18708 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
18711 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
18712 (strtod, strtof, strtold, strtol, strtoul, strtoq)
18713 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
18714 (strtod_l, strtof_l, strtold_l): Remove __wur.
18715 It is not necessarily an error to ignore strtol's return value.
18716 One can reliably look at the stored endptr to decide whether
18717 the number had valid syntax.
18719 2012-04-21 Andreas Jaeger <aj@suse.de>
18722 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
18724 2012-04-21 Joseph Myers <joseph@codesourcery.com>
18726 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
18727 * sysdeps/unix/sysv/Versions: Remove file.
18729 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
18732 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18734 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
18737 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
18738 version from __vm86.
18740 2012-04-20 Joseph Myers <joseph@codesourcery.com>
18742 * sysdeps/unix/common/lxstat.c: Remove file.
18743 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
18745 * sysdeps/unix/sysv/Makefile: Remove file.
18747 * sysdeps/unix/sysv/direct.h: Remove file.
18749 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
18750 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
18751 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
18752 * sysdeps/unix/sysv/bits/signum.h: Likewise.
18753 * sysdeps/unix/sysv/bits/stat.h: Likewise.
18754 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
18755 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
18757 * sysdeps/unix/sysv/setrlimit.c: Remove file.
18759 * sysdeps/unix/xmknod.c: Remove file.
18760 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
18762 * sysdeps/unix/sysv/settimeofday.c: Remove file.
18764 * sysdeps/unix/sysv/i386/time.S: Remove file.
18766 * sysdeps/unix/fxstat.c: Remove file.
18767 * sysdeps/unix/xstat.c: Likewise.
18768 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
18770 * sysdeps/unix/sysv/sigaction.c: Remove file.
18772 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
18773 (sysdep_headers): Remove variable.
18774 [termio.h not in sysdep_headers] (generated): Likewise.
18775 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
18776 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
18777 * sysdeps/unix/sysv/tcdrain.c: Likewise.
18778 * sysdeps/unix/sysv/tcflow.c: Likewise.
18779 * sysdeps/unix/sysv/tcflush.c: Likewise.
18780 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
18781 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
18782 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
18783 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
18784 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
18786 * sysdeps/unix/siglist.c: Remove file.
18788 * sysdeps/unix/getppid.S: Remove file.
18790 * sysdeps/unix/mkdir.c: Remove file.
18791 * sysdeps/unix/rmdir.c: Likewise.
18793 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
18795 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
18797 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
18798 errlist-compat value.
18800 2012-04-18 David S. Miller <davem@davemloft.net>
18802 * sysdeps/generic/memcopy.h (reg_char): Delete.
18803 * debug/strcat_chk.c: Use char, not reg_char.
18804 * debug/strcpy_chk.c: Likewise.
18805 * debug/strncat_chk.c: Likewise.
18806 * debug/strncpy_chk.c: Likewise.
18807 * string/memchr.c: Likewise.
18808 * string/memrchr.c: Likewise.
18809 * string/rawmemchr.c: Likewise.
18810 * string/strcat.c: Likewise.
18811 * string/strchr.c: Likewise.
18812 * string/strchrnul.c: Likewise.
18813 * string/strcmp.c: Likewise.
18814 * string/strcpy.c: Likewise.
18815 * string/strncat.c: Likewise.
18816 * string/strncmp.c: Likewise.
18817 * string/strncpy.c: Likewise.
18819 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18821 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
18822 __builtin_memcopy is called when src and dest ranges are known to not
18825 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18827 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
18828 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
18829 fwd_align_merge macro call.
18830 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
18831 bwd_align_merge macro call.
18832 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18834 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18836 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
18837 bwd_align_merge macros.
18838 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
18839 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
18840 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18842 2012-04-18 David S. Miller <davem@davemloft.net>
18844 * sysdeps/sparc/sparc64/memcopy.h: Delete.
18846 2012-04-18 Andreas Jaeger <aj@suse.de>
18849 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
18850 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
18851 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18853 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
18854 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
18855 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18857 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
18858 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
18859 Adjust for changed ldbl-128 files.
18861 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
18862 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
18863 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18865 2012-04-17 David S. Miller <davem@davemloft.net>
18867 * sysdeps/sparc/sparc32/memcopy.h: Delete.
18869 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
18871 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
18872 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
18873 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
18874 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
18875 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18876 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
18878 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18881 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
18882 * math/libm-test.inc: Add ilogb errno and exception tests.
18883 * math/w_ilogb.c: New file: ilogb wrapper.
18884 * math/w_ilogbf.c: New file: ilogbf wrapper.
18885 * math/w_ilogbl.c: New file: ilogbl wrapper.
18886 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
18887 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
18888 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
18889 exception being thrown with 0.0 as argument.
18890 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
18891 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
18892 exception being thrown with 0.0 as argument.
18893 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
18894 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
18895 exception being thrown with 0.0 as argument.
18896 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
18897 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
18898 exception being thrown with 0.0 as argument.
18899 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
18900 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
18901 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
18902 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
18903 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
18904 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
18905 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
18906 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
18907 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
18909 2012-04-17 Petr Baudis <pasky@ucw.cz>
18911 * include/sys/uio.h: Change __vector to __iovec to avoid clash
18914 2012-04-16 Marek Polacek <polacek@redhat.com>
18916 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
18918 2012-04-16 Marek Polacek <polacek@redhat.com>
18920 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
18921 operands of fdivp instruction.
18923 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
18925 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
18926 * elf/tst-auditmod3b.c: Likewise.
18927 * elf/tst-auditmod4b.c: Likewise.
18928 * elf/tst-auditmod5b.c: Likewise.
18929 * elf/tst-auditmod6b.c: Likewise.
18930 * elf/tst-auditmod6c.c: Likewise.
18931 * elf/tst-auditmod7b.c: Likewise.
18932 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
18933 * sysdeps/x86_64/preconfigure.in: Likewise.
18934 * sysdeps/x86_64/preconfigure: Regenerated.
18936 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
18938 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
18941 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
18943 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18944 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
18946 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
18949 * locale/iso-639.def: Fix gl language name. Spotted by
18952 2012-04-12 Roland McGrath <roland@hack.frob.com>
18955 * libio/libio.h (__io_write_fn): Update comment.
18957 2012-04-12 Petr Baudis <pasky@ucw.cz>
18960 * stdio.texi (Hook Functions): The user provided writer function
18961 is not allowed to return -1.
18963 2012-04-11 David S. Miller <davem@davemloft.net>
18965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18967 2012-04-11 Mike Frysinger <vapier@gentoo.org>
18969 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
18970 Add a leading slash to rtkaio.
18972 2012-04-11 Jim Meyering <meyering@redhat.com>
18975 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
18976 It is not necessarily an error to ignore fwrite's return
18977 value. One can reliably use ferror to test for errors after
18980 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
18982 * bits/types.h (__snseconds_t): New type.
18983 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
18985 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
18986 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18987 (__SNSECONDS_T_TYPE): Likewise.
18988 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18989 (__SNSECONDS_T_TYPE): Likewise.
18990 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18991 (__SNSECONDS_T_TYPE): Likewise.
18993 2012-04-10 Andreas Jaeger <aj@suse.de>
18996 * manual/time.texi (Processor Time): Return type of times is
18997 elapsed real time since an arbitrary point in the past.
18998 (CPU Time): Move CLK_TCK from here...
18999 (Processor Time): ...to here. Correct description.
19000 * manual/conf.texi (Constants for Sysconf): Correct description of
19003 2012-04-10 David S. Miller <davem@davemloft.net>
19006 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
19007 where the is a gap between DT_REL(A) and DT_JMPREL.
19009 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
19011 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
19012 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19013 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19015 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19017 * elf/dl-support.c (_dl_inhibit_cache): New variable.
19018 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
19019 (dl_main): Handle --inhibit-cache.
19020 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
19022 * elf/dl-load.c (_dl_map_object): Use it.
19023 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
19025 2012-04-09 Joseph Myers <joseph@codesourcery.com>
19028 * sysdeps/i386/fpu/e_powl.S (p78): New object.
19029 (__ieee754_powl): Saturate large exponents rather than testing for
19030 overflow of y*log2(x).
19031 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19032 * math/libm-test.inc (pow_test): Do not permit spurious overflow
19036 * math/s_ctan.c: Include <float.h>.
19037 (__ctan): Avoid internal overflow or cancellation in calculating
19039 * math/s_ctanf.c: Likewise.
19040 * math/s_ctanl.c: Likewise.
19041 * math/s_ctanh.c: Likewise.
19042 * math/s_ctanhf.c: Likewise.
19043 * math/s_ctanhl.c: Likewise.
19044 * math/libm-test.inc (ctan_test): Add more tests.
19045 (ctanh_test): Likewise.
19046 * sysdeps/i386/fpu/libm-test-ulps: Update.
19047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19049 2012-04-09 Andreas Jaeger <aj@suse.de>
19052 * manual/filesys.texi (Directory Entries): Mention that d_namlen
19053 is an optional BSD extension.
19056 * manual/stdio.texi (Opening Streams): Document additional fopen
19059 2012-04-09 Roland McGrath <roland@hack.frob.com>
19061 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
19062 %eax without telling the compiler.
19064 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
19067 * manual/install.texi: Use sourceware.org.
19069 2012-04-09 Joseph Myers <joseph@codesourcery.com>
19072 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
19073 (__ieee754_pow): Generate overflow and underflow using huge*huge
19074 and tiny*tiny rather than just returning constant infinity or zero
19075 for large exponents.
19076 * math/libm-test.inc (pow_test): Require overflow exceptions for
19077 applicable cases of large exponents.
19080 * sysdeps/i386/fpu/e_pow.S (p10): New object.
19081 (__ieee754_pow): Use iterative multiplication algorithm only for
19082 integer exponents with absolute value below 1024. Check for odd
19083 integer exponents when using algorithm for real exponents.
19084 * math/libm-test.inc (pow_test): Add more tests.
19085 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19087 2012-04-08 Joseph Myers <joseph@codesourcery.com>
19090 * math/libm-test.inc (exp_test): Do not allow overflow exception
19093 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
19096 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
19097 instead of __kernel_standard_f.
19099 2012-04-08 Mike Frysinger <vapier@gentoo.org>
19101 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
19102 * sysdeps/x86_64/memset_chk.S: Likewise.
19104 2012-04-08 Andreas Jaeger <aj@suse.de>
19107 * manual/startup.texi (Environment Access): Describe return value
19108 for putenv and setenv.
19111 * manual/filesys.texi (Directory Entries): Add description for
19115 * manual/filesys.texi (Directory Entries): Clarify that it's file
19116 system not operating system in the description of DT_UNKNOWN.
19119 * manual/syslog.texi (closelog): Fix reference, it's openlog.
19121 2012-04-08 Stephen Compall <s11@member.fsf.org>
19124 * manual/llio.texi (Opening and Closing Files): Add cross
19125 reference to explain mode argument.
19127 2012-04-07 Mike Frysinger <vapier@gentoo.org>
19129 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
19130 * sysdeps/x86_64/memset_chk.S: Likewise.
19132 2012-04-07 David S. Miller <davem@davemloft.net>
19134 * elf/elf.h (R_SPARC_WDISP10): Define.
19135 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
19137 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
19138 R_SPARC_SIZE64 and R_SPARC_H34.
19140 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
19142 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
19143 conditions and remove no longer applicable assertion.
19145 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19147 * bits/byteswap.h: Include <features.h>.
19148 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19149 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19151 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19153 * bits/byteswap.h (__bswap_16): Removed.
19154 Include <bits/byteswap-16.h> to get __bswap_16.
19155 * sysdeps/i386/bits/byteswap.h: Likewise.
19156 * sysdeps/s390/bits/byteswap.h: Likewise.
19157 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19158 * bits/byteswap-16.h: New file.
19159 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19160 * sysdeps/s390/bits/byteswap-16.h: Likewise.
19161 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
19162 * string/Makefile (headers): Add bits/byteswap-16.h.
19164 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19167 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
19169 * nss/Makefile (tests-static, tests): Add tst-nss-static.
19170 * nss/tst-nss-static.c: New.
19172 2012-04-06 Robert Millan <rmh@gnu.org>
19175 * manual/llio.texi (File Position Primitive): lseek
19176 refers to WHENCE when it really means OFFSET.
19178 2012-04-06 Andreas Jaeger <aj@suse.de>
19180 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
19181 strncmp declarations.
19183 * abilist/libc.abilist: Add __poll and __ppoll.
19185 2012-04-05 David S. Miller <davem@davemloft.net>
19187 * scripts/check-local-headers.sh: Accept a host triplet in the
19188 path matched by the exclude regexp.
19190 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
19192 * sysdeps/powerpc/powerpc32/dl-machine.h
19193 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
19194 * sysdeps/s390/s390-32/dl-machine.h
19195 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19196 * sysdeps/sparc/sparc32/dl-machine.h
19197 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19198 * sysdeps/sparc/sparc64/dl-machine.h
19199 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19201 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
19203 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
19204 undefined symbol errors.
19206 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
19209 2012-04-05 Michael Matz <matz@suse.de>
19212 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
19214 2012-04-05 Andreas Jaeger <aj@suse.de>
19217 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
19220 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19222 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
19223 which ROUND is no valid rounding mode.
19225 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19227 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
19229 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
19231 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19233 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
19234 an exception using FPU order intentionally.
19236 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19238 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
19239 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
19240 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
19241 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
19243 2012-04-05 Simon Josefsson <simon@josefsson.org>
19246 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
19247 EINVAL when BUFLEN is too smal.
19249 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
19252 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
19253 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
19255 2012-04-03 Andreas Jaeger <aj@suse.de>
19258 * manual/setjmp.texi (System V contexts): Fix sentence.
19261 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
19262 New macro for this case.
19263 [!__GNUC__] (__bswap_64): New inline function for this case.
19264 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19265 * bits/byteswap.h: Likewise.
19266 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
19267 ull, guard with __GLIBC_HAVE_LONG_LONG.
19269 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
19270 __GLIBC_HAVE_LONG_LONG.
19272 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
19273 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
19275 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19278 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
19279 inptr and inend, rather than using last_ch.
19281 2012-04-02 David S. Miller <davem@davemloft.net>
19283 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
19284 * stdio-common/printf-parse.h (read_int): Change return type to
19285 'int', return -1 on INT_MAX overflow.
19286 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
19287 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
19288 overflows INT_MAX. Check for overflow of in-format-string precision
19289 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
19290 SIZE_MAX not INT_MAX for integer overflow test.
19291 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
19292 skip the construct in the format string but do not record anything.
19293 * stdio-common/bug22.c: Adjust to test both width/prevision
19294 INT_MAX overflow as well as total length INT_MAX overflow. Check
19295 explicitly for proper errno values.
19297 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
19299 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
19301 * string/test-strcmp.c [! WIDE]: Likewise.
19302 * time/tst-mktime2.c: Likewise for INT_MAX.
19303 * string/test-string.h: #include <sys/param.h> for MIN.
19305 * csu/init-first.c (__libc_init_first): Call __ctype_init.
19306 * sysdeps/i386/init-first.c (init): Likewise.
19307 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
19308 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
19309 * sysdeps/sh/init-first.c (init): Likewise.
19311 2012-04-01 Ulrich Drepper <drepper@gmail.com>
19313 * po/ru.po: Update from translation team.
19314 * po/vi.po: Likewise.
19316 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19318 * resolv/nss_dns/dns-host.c: Merge copyright years.
19320 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19322 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19323 Optimize memcpy with prefetch if
19324 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
19325 src, dst pointers have unequal 16 byte alignments.
19327 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19330 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
19331 from a CNAME entry and return the minimum ttl for the query.
19332 (gaih_getanswer_slice): Likewise.
19334 2012-03-30 Jeff Law <law@redhat.com>
19336 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
19338 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
19339 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
19341 * resolv/nss_dns/dns-host.c: Update copyright year.
19343 2012-03-30 Ulrich Drepper <drepper@gmail.com>
19345 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
19346 requests to save a system call. Fix check that all bytes are sent.
19348 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
19349 comments for sendmmsg.
19351 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19354 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
19355 with only 1 character between 0x0041 and 0x01b0.
19356 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
19357 * wcsmbs/tst-mbsnrtowcs.c: New file.
19359 2012-03-29 David S. Miller <davem@davemloft.net>
19361 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
19362 small copies by hand.
19364 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19367 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
19368 _nss_compat_initgroups_dyn): Fall back to malloc/free
19369 for large group memberships.
19371 2012-03-28 David S. Miller <davem@davemloft.net>
19373 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
19374 that branches into memcpy.
19375 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19376 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
19377 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19378 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
19379 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
19381 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
19382 implementation too.
19383 * sysdeps/sparc/mempcpy.S: New file.
19385 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
19386 the IFUNC routine in the libc case.
19387 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19389 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
19390 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
19391 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
19392 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
19393 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
19394 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
19395 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
19396 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
19398 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
19399 loop to 256 bytes instead of 64 bytes and fix test signedness.
19401 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
19402 * sysdeps/sparc/sparc32/Makefile: rather than here...
19403 * sysdeps/sparc/sparc64/Makefile: and here.
19405 2012-03-28 Ulrich Drepper <drepper@gmail.com>
19407 * malloc/mallocbug.c: Avoid warnings about unused variables.
19409 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19412 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
19413 in the right place. Discard and retry query if response is
19414 larger than input buffer size.
19416 2012-03-28 Joseph Myers <joseph@codesourcery.com>
19421 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
19422 x for large integer exponent.
19423 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19424 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
19425 sign of result as needed afterwards.
19426 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19427 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
19428 result for underflowing pow the same as for overflow.
19429 (__kernel_standard_l): Handle powl overflow and underflow here
19430 rather than calling __kernel_standard.
19431 * math/libm-test.inc (pow_test): Add more tests.
19446 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
19447 * sysdeps/ieee754/k_standard.c: Include <float.h>.
19448 (__kernel_standard_l): New function.
19449 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
19451 * math/w_acosl.c (__acosl): Likewise.
19452 * math/w_asinl.c (__asinl): Likewise.
19453 * math/w_atan2l.c (__atan2l): Likewise.
19454 * math/w_atanhl.c (__atanhl): Likewise.
19455 * math/w_coshl.c (__coshl): Likewise.
19456 * math/w_exp10l.c (__exp10l): Likewise.
19457 * math/w_exp2l.c (__exp2l): Likewise.
19458 * math/w_fmodl.c (__fmodl): Likewise.
19459 * math/w_hypotl.c (__hypotl): Likewise.
19460 * math/w_j0l.c (__j0l, __y0l): Likewise.
19461 * math/w_j1l.c (__j1l, __y1l): Likewise.
19462 * math/w_jnl.c (__jnl, __ynl): Likewise.
19463 * math/w_lgammal.c (__lgammal): Likewise.
19464 * math/w_log10l.c (__log10l): Likewise.
19465 * math/w_log2l.c (__log2l): Likewise.
19466 * math/w_logl.c (__logl): Likewise.
19467 * math/w_powl.c (__powl): Likewise.
19468 * math/w_remainderl.c (__remainderl): Likewise.
19469 * math/w_scalbl.c (sysv_scalbl): Likewise.
19470 * math/w_sinhl.c (__sinhl): Likewise.
19471 * math/w_sqrtl.c (__sqrtl): Likewise.
19472 * math/w_tgammal.c (__tgammal): Likewise.
19473 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
19474 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
19475 * math/libm-test.inc (acos_test): Add more tests.
19476 (acosh_test): Likewise.
19477 (asin_test): Likewise.
19478 (atanh_test): Likewise.
19479 (exp_test): Likewise.
19480 (exp10_test): Likewise.
19481 (exp2_test): Likewise.
19482 (expm1_test): Likewise.
19483 (lgamma_test): Likewise.
19484 (log_test): Likewise.
19485 (log10_test): Likewise.
19486 (log1p_test): Likewise.
19487 (log2_test): Likewise.
19488 (pow_test): Do not allow some spurious overflow exceptions.
19489 (sqrt_test): Add more tests.
19490 (tgamma_test): Likewise.
19491 (y0_test): Likewise.
19492 (y1_test): Likewise.
19493 (yn_test): Likewise.
19495 2012-03-27 Anton Blanchard <anton@samba.org>
19497 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
19499 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19500 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19501 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19503 2012-03-27 David S. Miller <davem@davemloft.net>
19505 * conform/Makefile: Run run-conformtest.sh using $(BASH).
19507 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
19508 have-as-vis3 check.
19510 2012-03-27 Andreas Jaeger <aj@suse.de>
19512 * sysdeps/x86_64/elf/configure.in: Moved to ...
19513 * sysdeps/x86_64/configure.in: ... here.
19514 * sysdeps/x86_64/elf/start.S: Moved to ...
19515 * sysdeps/x86_64/start.S: ... here.
19516 * sysdeps/x86_64/elf/configure: Delete.
19518 * sysdeps/x86_64/configure.in: Merge contents from
19519 sysdeps/i386/configure.in (without i686 check).
19521 * sysdeps/i386/elf/Versions: Merge into ...
19522 * sysdeps/i386/Versions: ... this.
19523 * sysdeps/i386/elf/Versions: Delete file.
19524 * sysdeps/i386/elf/start.S: Moved to ...
19525 * sysdeps/i386/start.S: ...here.
19526 * sysdeps/i386/elf/configure.in: Merge into...
19527 * sysdeps/i386/configure.in: ...here.
19528 * sysdeps/i386/elf/configure.in: Delete file.
19529 * sysdeps/i386/elf/configure: Delete file.
19531 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
19532 * debug/backtracesyms.c: ... here.
19533 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
19534 * debug/backtracesymsfd.c: ... here.
19535 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
19536 * sysdeps/generic/ifunc-sel.h: ... here.
19538 * sysdeps/unix/i386/start.c: Delete file.
19539 * sysdeps/unix/sparc/start.c: Delete file.
19540 * sysdeps/unix/start.c: Delete file.
19542 * sysdeps/sh/elf/configure.in: Moved to ...
19543 * sysdeps/sh/configure.in: ... here.
19544 * sysdeps/sh/elf/start.S: Moved to ...
19545 * sysdeps/sh/start.S: ... here.
19546 * sysdeps/sh/elf/configure: Delete file.
19548 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
19549 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
19550 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
19551 * sysdeps/powerpc/powerpc64/entry.h: ... here.
19552 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
19553 * sysdeps/powerpc/powerpc64/start.S: here.
19554 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
19555 * sysdeps/powerpc/powerpc64/Makefile: ... this.
19556 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
19557 * sysdeps/powerpc/powerpc64/configure.in: ... this.
19558 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
19560 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
19561 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
19562 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
19563 * sysdeps/powerpc/powerpc32/start.S: ... here.
19564 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
19565 * sysdeps/powerpc/powerpc32/configure.in: ... this.
19566 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
19568 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
19569 * sysdeps/powerpc/ifunc-sel.h: ... here.
19570 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
19571 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
19573 * sysdeps/sparc/elf/configure.in: Moved to ...
19574 * sysdeps/sparc/configure.in: ... here.
19575 * sysdeps/sparc/elf/configure: Delete file.
19576 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
19577 * sysdeps/sparc/sparc32/start.S: ... here.
19578 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
19579 * sysdeps/sparc/sparc64/start.S: ... here.
19580 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
19581 * sysdeps/sparc/sparc32/Makefile: ... this.
19582 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
19583 * sysdeps/sparc/sparc64/Makefile: ... this.
19585 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
19586 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
19587 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
19588 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
19589 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
19590 * sysdeps/s390/s390-32/setjmp.S: ... here.
19591 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
19592 * sysdeps/s390/s390-32/configure.in: ... here.
19593 * sysdeps/s390/s390-32/elf/configure: Delete file.
19594 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
19595 * sysdeps/s390/s390-32/start.S: ... here.
19597 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
19598 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
19599 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
19600 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
19601 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
19602 * sysdeps/s390/s390-64/setjmp.S: ... here.
19603 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
19604 * sysdeps/s390/s390-64/configure.in: ... here
19605 * sysdeps/s390/s390-64/elf/configure: Delete file.
19606 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
19607 * sysdeps/s390/s390-64/start.S: ... here.
19608 * sysdeps/s390/s390-64/elf/configure: Delete.
19610 * configure.in: Remove support for elf directories in sysdeps.
19612 * configure: Regenerated.
19613 * sysdeps/i386/configure: Regenerated.
19614 * sysdeps/powerpc/powerpc32/configure: Regenerated.
19615 * sysdeps/powerpc/powerpc64/configure: Regenerated.
19616 * sysdeps/s390/s390-32/configure: Regenerated.
19617 * sysdeps/s390/s390-64/configure: Regenerated.
19618 * sysdeps/sh/configure: Regenerated.
19619 * sysdeps/sparc/configure: Regenerated.
19620 * sysdeps/x86_64/configure: Regenerated.
19622 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
19624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19626 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
19627 denormal result into account.
19629 2012-03-25 Roland McGrath <roland@hack.frob.com>
19631 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
19632 Reported by Allan McRae <allan@archlinux.org>.
19634 2012-03-23 Jeff Law <law@redhat.com>
19636 * nss/getnssent.c (__nss_getent): Fix typo.
19638 2012-03-23 David S. Miller <davem@davemloft.net>
19640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19642 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
19644 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
19645 to pad to uint64_t for each field.
19646 (dl_tls_index): Replace unsigned long with uint64_t.
19648 2012-03-23 Daniel Jacobowitz <dmj@google.com>
19649 Paul Pluzhnikov <ppluzhnikov@google.com>
19652 * grp/Makefile (otherlibs): Don't set it.
19653 * inet/Makefile (otherlibs): Likewise.
19654 * login/Makefile (otherlibs): Likewise.
19655 * nscd/Makefile (otherlibs): Likewise.
19656 * posix/Makefile (otherlibs): Likewise.
19657 * pwd/Makefile (otherlibs): Likewise.
19658 * rt/Makefile (otherlibs): Likewise.
19659 * sunrpc/Makefile (otherlibs): Likewise.
19660 * nss/Makefile (otherlibs): Likewise.
19661 Add libnss_files to routines and static-only-routines.
19662 ($(objpfx)getent): Remove rule.
19663 * resolv/Makefile: Add libnss_dns and libresolv to routines and
19664 static-only-routines.
19666 2012-03-22 Joseph Myers <joseph@codesourcery.com>
19669 * math/s_cexp.c: Include <float.h>.
19670 (__cexp): Handle exp result overflowing not necessarily
19671 overflowing both real and imaginary parts of result.
19672 * math/s_cexpf.c: Likewise.
19673 * math/s_cexpl.c: Likewise.
19674 * math/libm-test.inc (cexp_test): Add more tests.
19675 * sysdeps/i386/fpu/libm-test-ulps: Update.
19676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19678 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19680 * include/link.h (ELFW): New macro.
19681 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
19682 Replace ELF64_R_TYPE with ELFW(R_TYPE).
19684 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19686 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
19689 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19691 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
19693 (struct La_x32_retval): Likewise.
19695 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19697 * sysdeps/x86_64/preconfigure.in: New file.
19698 * sysdeps/x86_64/preconfigure: New generated file.
19700 2012-03-22 Joseph Myers <joseph@codesourcery.com>
19703 * math/e_exp2l.c: Include <float.h>.
19704 (__ieee754_exp2l): Handle overflow and underflow cases
19705 separately. Only pass fractional part of argument to
19707 * math/libm-test.inc (exp2_test): Add more tests.
19709 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
19710 negating x to take absolute value.
19711 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
19713 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19714 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
19716 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
19717 computing low part if x was negated.
19718 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19720 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19722 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
19723 la_x32_gnu_pltexit.
19724 (pltexit): Cast int_retval to ptrdiff_t.
19725 * elf/tst-auditmod3b.c: Likewise.
19726 * elf/tst-auditmod4b.c: Likewise.
19727 * elf/tst-auditmod5b.c: Likewise.
19728 * elf/tst-auditmod6b.c: Likewise.
19729 * elf/tst-auditmod6c.c: Likewise.
19730 * elf/tst-auditmod7b.c: Likewise.
19732 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
19733 and x32_gnu_pltexit.
19735 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
19736 __ELF_NATIVE_CLASS.
19737 (La_x32_regs): New macro.
19738 (La_x32_retval): Likewise.
19739 (la_x32_gnu_pltenter): New function prototype.
19740 (la_x32_gnu_pltexit): Likewise.
19742 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
19744 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
19747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19749 * configure.in (libc_cv_cc_nofma): Check for option to disable
19750 generation of FMA instructions.
19751 * configure: Regenerate.
19752 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
19753 * sysdeps/ieee754/dbl-64/Makefile: New file.
19754 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19755 Remove brandred-fma4.
19756 (CFLAGS-brandred-fma4.c): Remove.
19757 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
19758 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
19760 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
19763 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19765 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19766 LLONG_MAX != LONG_MAX.
19767 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19768 (_fitoa_word): Likewise.
19769 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
19770 LLONG_MAX != LONG_MAX.
19771 * stdio-common/_itowa.h: Include <_itoa.h>.
19772 (_itowa_word): Use _ITOA_WORD_TYPE on value.
19773 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
19774 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
19775 only if not defined.
19776 (_ITOA_WORD_TYPE): Likewise.
19777 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19778 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
19780 2012-03-21 David S. Miller <davem@davemloft.net>
19782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19784 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19786 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
19787 of x86_64 when setting libc_cv_slibdir, libdir and
19789 * sysdeps/unix/sysv/linux/configure: Regenerated.
19791 2012-03-21 Joseph Myers <joseph@codesourcery.com>
19793 * manual/lang.texi (Old Varargs): Remove section.
19794 (How Variadic): Update menu.
19795 (va_start): Do not mention varargs.h.
19797 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
19798 Joseph Myers <joseph@codesourcery.com>
19800 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
19802 * configure: Regenerated.
19804 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
19806 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
19807 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
19810 2012-03-21 Joseph Myers <joseph@codesourcery.com>
19813 * Makefile (files-for-dist): Remove NOTES.
19814 (NOTES): Remove rule.
19815 * README: Don't refer to NOTES.
19816 * manual/creature.texi: Don't include macros.texi.
19817 * manual/intro.texi (creature.texi): Remove comment referring to
19820 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
19821 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
19822 * configure: Regenerated.
19823 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
19824 LIBC_TRY_CC_OPTION.
19825 (libc_cv_as_i686): Likewise.
19826 (libc_cv_cc_avx): Likewise.
19827 (libc_cv_cc_sse2avx): Likewise.
19828 (libc_cv_cc_fma4): Likewise.
19829 (libc_cv_cc_novzeroupper): Likewise.
19830 * sysdeps/i386/configure: Regenerated.
19833 * sysdeps/i386/fpu/s_cexp.S: Remove.
19834 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19835 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19836 * math/libm-test.inc (cexp_test): Add more tests.
19837 * sysdeps/i386/fpu/libm-test-ulps: Update.
19838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19840 2012-03-21 Allan McRae <allan@archlinux.org>
19842 * timezone/Makefile: Do not install iso3166.tab and zone.tab
19844 2012-03-21 Joseph Myers <joseph@codesourcery.com>
19847 * math/w_exp2.c: Do not include <float.h>.
19848 (o_threshold, u_threshold): Remove.
19849 (__exp2): Calculate result before checking finiteness and calling
19851 * math/w_exp2f.c: Likewise.
19852 * math/w_exp2l.c: Likewise.
19853 * math/libm-test.inc (exp2_test): Require overflow exception for
19857 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
19858 range of signed 64-bit integers before using fistpll. Remove
19859 checks for whether integers fit in mantissa bits.
19860 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
19861 the range of signed 32-bit integers before using fistpl. Remove
19862 checks for whether integers fit in mantissa bits.
19863 * sysdeps/i386/fpu/e_powl.S (p64): New object.
19864 (__ieee754_powl): Test for y outside the range of signed 64-bit
19865 integers before using fistpll. Reduce 64-bit values to 63-bit
19867 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
19868 divide-by-zero is raised for zero to large negative powers.
19869 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
19870 (__ieee754_powl): Test for y outside the range of signed 64-bit
19871 integers before using fistpll. Reduce 64-bit values to 63-bit
19873 * math/libm-test.inc (pow_test): Add more tests.
19875 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19877 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
19878 <stdio-common/_itoa.h>.
19879 * debug/segfault.c: Likewise.
19880 * elf/dl-cache.c: Likewise.
19881 * elf/dl-minimal.c: Likewise.
19882 * elf/dl-misc.c: Likewise.
19883 * elf/dl-sysdep.c: Likewise.
19884 * elf/dl-version.c: Likewise.
19885 * elf/rtld.c: Likewise.
19886 * hurd/hurdsock.c: Likewise.
19887 * hurd/lookup-retry.c: Likewise.
19888 * malloc/malloc.c: Likewise.
19889 * malloc/mtrace.c: Likewise.
19890 * nscd/nscd_getgr_r.c: Likewise.
19891 * nscd/nscd_getpw_r.c: Likewise.
19892 * nscd/nscd_getserv_r.c: Likewise.
19893 * posix/getopt_init.c: Likewise.
19894 * posix/wordexp.c: Likewise.
19895 * stdio-common/_itoa.c: Likewise.
19896 * stdio-common/printf_fphex.c: Likewise.
19897 * stdio-common/vfprintf.c: Likewise.
19898 * string/_strerror.c: Likewise.
19899 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
19900 * sysdeps/i386/i686/hp-timing.h: Likewise.
19901 * sysdeps/mach/_strerror.c: Likewise.
19902 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
19903 * sysdeps/mach/hurd/sethostid.c: Likewise.
19904 * sysdeps/mach/hurd/xmknodat.c: Likewise.
19905 * sysdeps/mach/xpg-strerror.c: Likewise.
19906 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19907 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19908 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
19909 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
19910 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19911 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
19912 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
19913 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
19914 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
19915 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
19916 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
19917 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19918 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
19919 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19920 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19921 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
19922 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
19923 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
19924 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
19925 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
19926 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
19928 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
19930 * stdio-common/_itoa.h: Moved to ...
19931 * sysdeps/generic/_itoa.h: Here.
19933 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
19935 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
19936 instead of "_itoa.h" and "_itowa.h".
19937 * stdio-common/vfprintf.: Likewise.
19939 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19941 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
19943 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
19944 (__signbit): Likwise.
19945 (llrintf): Likwise.
19948 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19950 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
19953 2012-03-20 Joseph Myers <joseph@codesourcery.com>
19955 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
19956 OVERFLOW_EXCEPTION_OK.
19957 * math/libm-test.inc ("Philosophy"): Update comment about
19959 (OVERFLOW_EXCEPTION): Define.
19960 (OVERFLOW_EXCEPTION_OK): Likewise.
19961 (INVALID_EXCEPTION_OK): Renumber.
19962 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19963 (IGNORE_ZERO_INF_SIGN): Likewise.
19964 (test_exceptions): Handle FE_OVERFLOW.
19965 (exp10_test): Expect overflow exceptions.
19966 (exp2_test): Likewise.
19967 (expm1_test): Likewise.
19968 (nextafter_test): Likewise.
19969 (pow_test): Likewise.
19970 (scalbn_test): Likewise.
19971 (scalbln_test): Likewise.
19973 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19975 * sysdeps/x86_64/bits/atomic.h
19976 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
19978 (atomic_exchange_acq): Likewise.
19979 (__arch_exchange_and_add_body): Likewise.
19980 (__arch_add_body): Likewise.
19981 (atomic_add_negative): Likewise.
19982 (atomic_add_zero): Likewise.
19984 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19986 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
19987 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
19989 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19991 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
19992 Check __x86_64__ instead of __WORDSIZE.
19994 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19996 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
19998 2012-03-19 David S. Miller <davem@davemloft.net>
20000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20002 * sysdeps/sparc/fpu/fenv_private.h: New file.
20003 * sysdeps/sparc/fpu/math_private.h: Use it.
20004 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
20006 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
20007 (libc_feholdexcept_setroundl): Remove.
20008 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
20010 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
20011 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
20013 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20015 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
20016 int64_t instead of long int.
20017 (INSERT_WORDS64): Likwise.
20019 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20021 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
20022 _Unwind_GetCFA return to _Unwind_Ptr first.
20024 2012-03-19 Joseph Myers <joseph@codesourcery.com>
20027 * math/s_clog.c: Include <float.h>.
20028 (__clog): Scale large or subnormal inputs.
20029 * math/s_clogf.c: Likewise.
20030 * math/s_clogl.c: Likewise.
20031 * math/s_clog10.c: Include <float.h>.
20032 (M_LOG10_2): Define.
20033 (__clog10): Scale large or subnormal inputs.
20034 * math/s_clog10f.c: Likewise.
20035 * math/s_clog10l.c: Likewise.
20036 * math/libm-test.inc (clog_test): Add more tests.
20037 (clog10_test): Likewise.
20038 * sysdeps/i386/fpu/libm-test-ulps: Update.
20039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20042 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
20044 * math/libm-test.inc (atan2_test): Add another test.
20046 * Makerules (common-objdir-compile): Remove.
20047 * sysdeps/unix/Makefile (config-generated): Do not add
20048 $(unix-generated) to variable.
20049 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
20050 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
20052 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
20054 [generic bits/local_lim.h] (before-compile): Do not append to
20056 [generic bits/local_lim.h] (common-generated): Likewise.
20057 [generic sys/param.h] (before-compile): Do not append to variable.
20058 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
20059 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
20060 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
20061 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
20063 [generic sys/param.h] (sys/param.h-includes): Remove variable.
20064 [generic sys/param.h] (sys/param.h-includes): Remove rule.
20065 [generic sys/param.h] ($(addprefix
20066 $(common-objpfx),$(sys/param.h-includes))): Likewise.
20067 [generic sys/param.h] (common-generated): Do not append to
20069 [generic sys/param.h] (sysdep_headers): Likewise.
20070 [generic bits/errno.h] (before-compile): Do not append to
20072 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
20074 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
20075 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
20076 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
20077 [generic bits/errno.h] (common-generated): Do not append to
20079 [generic bits/ioctls.h] (before-compile): Do not append to
20081 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
20083 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
20084 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
20085 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
20087 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
20088 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
20089 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
20090 [generic bits/ioctls.h] (common-generated): Do not append to
20092 [generic sys/syscall.h] (syscall.h): Remove variable.
20093 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
20095 [generic sys/syscall.h] (before-compile): Do not append to
20097 [generic sys/syscall.h] (common-generated): Likewise.
20098 * sysdeps/unix/errnos-tmpl.c: Remove file.
20099 * sysdeps/unix/errnos.awk: Likewise.
20100 * sysdeps/unix/ioctls-tmpl.c: Likewise.
20101 * sysdeps/unix/ioctls.awk: Likewise.
20102 * sysdeps/unix/mk-local_lim.c: Likewise.
20103 * sysdeps/unix/snarf-ioctls: Likewise.
20105 2012-03-19 Richard Henderson <rth@twiddle.net>
20107 * sysdeps/i386/fpu/fenv_private.h: New file.
20108 * sysdeps/i386/fpu/math_private.h: Use it.
20109 (math_opt_barrier, math_force_eval): Remove.
20110 (libc_feholdexcept_setround_53bit): Remove.
20111 (libc_feupdateenv_53bit): Remove.
20112 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20113 (math_opt_barrier, math_force_eval): Remove.
20114 (libc_feholdexcept): Remove.
20115 (libc_feholdexcept_setround): Remove.
20116 (libc_fetestexcept, libc_fesetenv): Remove.
20117 (libc_feupdateenv_test): Remove.
20118 (libc_feupdateenv, libc_feholdsetround): Remove.
20119 (libc_feresetround): Remove.
20121 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
20122 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20124 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
20125 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
20126 (libc_feupdateenv_testl): New.
20127 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
20128 (libc_feupdateenv_testf): New.
20129 (libc_feupdateenv): Use libc_feupdateenv_test.
20130 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
20131 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
20133 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
20134 (libc_feholdsetroundf, libc_feholdsetroundl): New.
20135 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
20136 (libc_feresetround_noex): New.
20137 (libc_feresetround_noexf): New.
20138 (libc_feresetround_noexl): New.
20139 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
20140 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
20141 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
20142 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
20144 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20145 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
20147 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
20148 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20149 SET_RESTORE_ROUND_NOEX.
20150 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
20151 SET_RESTORE_ROUND_NOEXF.
20152 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
20153 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
20154 (libc_feholdsetroundf): New.
20155 (libc_feresetround, libc_feresetroundf): New.
20157 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
20158 (libc_feholdexcept_setround_53bit): Convert from macro to function.
20159 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
20161 * sysdeps/generic/math_private.h: Include <fenv.h>.
20162 (default_libc_feholdexcept): New.
20163 (default_libc_feholdexcept_setround): New.
20164 (default_libc_fesetenv, default_libc_feupdateenv): New.
20165 (libc_feholdexcept): Only define if undefined.
20166 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
20167 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
20168 (libc_feholdexcept_setroundl): Likewise.
20169 (libc_feholdexcept_setround_53bit): Likewise.
20170 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
20171 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
20172 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
20173 (libc_feupdateenv_53bit): Likewise.
20174 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
20175 (libc_feholdexcept): Convert from macro to inline function.
20176 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
20177 (libc_fesetenv, libc_feupdateenv): Likewise.
20179 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
20180 not previously defined.
20181 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
20182 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
20183 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
20184 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
20185 * sysdeps/ieee754/flt-32/math_private.h: New file.
20186 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
20187 math_private.h below SET_FLOAT_WORD.
20188 (__isnan, __isinf_ns, __finite): Remove.
20189 (__isnanf, __isinf_nsf, __finitef): Remove.
20191 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
20193 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20195 2012-03-17 David S. Miller <davem@davemloft.net>
20198 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
20201 2012-03-16 David S. Miller <davem@davemloft.net>
20203 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
20207 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
20209 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
20210 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
20211 sysdep_routines when subdir is sysvipc.
20212 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
20213 __getshmlba helper.
20215 * sysdeps/sparc/fpu/libm-test/ulps: Update.
20217 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20219 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
20222 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20224 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
20225 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
20226 (__lround): Renamed to ...
20227 (__llround): This. Replace long int with long long int.
20228 Define lround functions as aliases of llround functions.
20229 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
20231 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20233 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
20234 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
20235 adresses to uintptr_t. Replace "long int" and "unsigned long
20236 int" with "greg_t" on va_arg.
20238 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20240 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
20241 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
20243 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
20244 Move e_machine check before EI_CLASS check. Handle x32
20245 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
20246 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
20247 SKIP_EM_IA_64 and include
20248 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
20250 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
20251 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
20252 (add_system_dir): New macro.
20254 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
20255 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
20257 2012-03-16 Joseph Myers <joseph@codesourcery.com>
20268 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
20270 * math/w_j0f.c (j0f): Likewise.
20272 * math/w_j0l.c (__j0l): Likewise.
20274 * math/w_j1.c (j1): Likewise.
20276 * math/w_j1f.c (j1f): Likewise.
20278 * math/w_j1l.c (__j1l): Likewise.
20280 * math/w_jn.c (jn): Likewise.
20282 * math/w_jnf.c (jnf): Likewise.
20284 * math/w_jnl.c (__jnl): Likewise.
20286 * math/libm-test.inc (j0_test): Add more tests.
20287 (j1_test): Likewise.
20288 (jn_test): Likewise. Add trailing semicolon to existing test.
20289 (y0_test): Likewise.
20290 (y1_test): Likewise.
20291 * sysdeps/i386/fpu/libm-test-ulps: Update.
20292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20296 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
20297 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
20298 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
20299 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
20300 (__tanl): Set errno for infinite argument.
20301 * sysdeps/i386/fpu/mptan.c: Remove.
20302 * sysdeps/i386/fpu/s_tan.S: Likewise.
20303 * sysdeps/i386/fpu/s_tanl.S: Likewise.
20304 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
20305 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
20306 * math/libm-test.inc (tan_test): Add more tests and enable more
20307 tests for double and long double.
20308 * sysdeps/i386/fpu/libm-test-ulps: Update.
20309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20311 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
20313 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
20314 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
20316 2012-03-16 Roland McGrath <roland@hack.frob.com>
20318 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
20319 * configure.in: Use it for both main tree and add-ons.
20320 * configure: Regenerated.
20322 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20324 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
20326 2012-03-16 Joseph Myers <joseph@codesourcery.com>
20328 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
20332 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
20333 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
20334 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
20335 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
20336 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
20338 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
20339 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
20340 != 0 for prec == 2.
20341 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
20342 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
20343 * sysdeps/i386/fpu/s_cosl.S: Likewise.
20344 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
20345 * sysdeps/i386/fpu/s_sinl.S: Likewise.
20346 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
20347 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
20348 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
20349 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
20350 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
20351 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
20352 * math/libm-test.inc (cos_test): Add more tests and enable more
20353 tests for long double.
20354 (sin_test): Likewise.
20355 (sincos_test): Likewise.
20356 * sysdeps/i386/fpu/libm-test-ulps: Update.
20357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20359 2012-03-16 David S. Miller <davem@davemloft.net>
20361 * sysdeps/sparc/fpu/math_private.h: New file.
20363 2012-03-15 David S. Miller <davem@davemloft.net>
20365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
20367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
20368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
20370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
20371 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
20372 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
20373 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
20374 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
20375 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
20377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
20379 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
20380 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
20382 * sysdeps/sparc/sparc-ifunc.h: New file.
20383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
20385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
20388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
20390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
20391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
20397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
20399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
20401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
20403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
20406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
20407 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20408 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20409 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
20410 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
20411 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20412 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20413 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
20414 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
20415 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
20416 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
20417 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
20418 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
20419 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
20420 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
20421 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
20422 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
20423 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
20424 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
20425 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
20426 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
20428 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
20430 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
20432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20434 2012-03-15 Andreas Jaeger <aj@suse.de>
20437 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
20438 ieee754/flt-32 implementation for sin, cos and sincos.
20439 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
20440 * sysdeps/i386/fpu/s_cosf.S: Likewise.
20441 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
20442 * sysdeps/i386/fpu/s_sinf.S: Likewise.
20443 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
20444 ieee754/flt-32 implementation for tan.
20446 * math/libm-test.inc (cos_test): Enable some large input tests for
20448 (sin_test): Likewise.
20449 (sincos_test): Likewise.
20450 (tan_test): Add tests for large input.
20452 * sysdeps/i386/fpu/libm-test-ulps: Update.
20454 2012-03-15 Andreas Jaeger <aj@suse.de>
20457 * math/libm-test.inc (cos_test): Add more test cases.
20458 (sin_test): Likewise.
20459 (sincos_test): Likewise.
20461 2012-03-15 Andreas Jaeger <aj@suse.de>
20464 * math/libm-test.inc (cos_test): Add a test case for large input
20466 (sin_test): Likewise.
20467 (sincos_test): Likewise.
20469 2012-03-15 Andreas Jaeger <aj@suse.de>,
20470 Joseph Myers <joseph@codesourcery.com>
20473 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
20474 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
20475 * sysdeps/i386/fpu/branred.c: Likewise.
20476 * sysdeps/i386/fpu/dosincos.c: Likewise.
20477 * sysdeps/i386/fpu/mpa.c: Likewise.
20478 * sysdeps/i386/fpu/s_cos.S: Likewise.
20479 * sysdeps/i386/fpu/s_sin.S: Likewise.
20480 * sysdeps/i386/fpu/s_sincos.S: Likewise.
20481 * sysdeps/i386/fpu/sincos32.c: Likewise.
20483 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
20485 (libc_feupdateenv_53bit): Define.
20486 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
20488 (libc_feupdateenv_53bit): Define.
20490 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
20491 53 bit (without extend i386 double precision).
20493 * math/libm-test.inc (sincos_test): Add tests for large input.
20497 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
20499 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
20501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20503 2012-03-15 David S. Miller <davem@davemloft.net>
20505 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
20506 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
20507 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
20508 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
20509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
20510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
20511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
20512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
20513 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
20514 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
20515 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
20516 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
20517 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
20518 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
20519 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
20520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
20522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
20523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
20525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
20526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
20528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
20529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
20531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
20532 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
20533 fmin/fmax sysdep routines.
20534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
20536 2012-03-14 David S. Miller <davem@davemloft.net>
20538 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
20539 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
20540 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
20541 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
20542 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
20543 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
20544 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
20545 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
20546 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
20547 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
20548 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
20549 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
20550 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
20551 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
20552 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
20553 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
20554 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
20555 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
20556 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
20557 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
20558 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
20559 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
20560 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
20561 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
20562 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
20563 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
20564 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
20565 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
20566 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
20568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
20570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
20571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
20573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
20574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
20576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
20577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
20579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
20580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
20582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
20583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
20585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
20587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
20589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
20591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
20593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
20595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
20597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
20598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
20600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
20601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
20603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
20604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
20606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
20607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
20610 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20613 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20615 * sysdeps/sparc/configure.in: New file.
20616 * sysdeps/sparc/configure: Generate.
20617 * configure.in (libc_cv_sparc_as_vis3): Substitute.
20618 * configure: Regenerate.
20619 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
20620 * config.make.in (have-as-vis3): New.
20621 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
20622 available use -Av9d instead of -Av9a.
20623 * sysdeps/sparc/sparc64/Makefile: Likewise.
20624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
20625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
20627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
20629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
20631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
20633 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
20634 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
20635 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
20636 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
20637 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
20639 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
20640 fzeros/fnegs to load 0x80000000 into a float register instead of
20642 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
20644 2012-03-14 Joseph Myers <joseph@codesourcery.com>
20646 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20648 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
20649 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
20650 ($(inst_includedir)/bits/syscall.h): Remove rule.
20651 ($(objpfx)bits/syscall.d): Include instead of
20652 $(objpfx)syscall-list.d.
20653 (generated): Change syscall-list.h and syscall-list.d to
20654 bits/syscall.h and bits/syscall.d.
20656 2012-03-14 Roland McGrath <roland@hack.frob.com>
20659 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
20661 2012-03-14 Joseph Myers <joseph@codesourcery.com>
20664 * math/s_csqrt.c: Include <float.h>.
20665 (__csqrt): Scale large or subnormal inputs.
20666 * math/s_csqrtf.c: Likewise.
20667 * math/s_csqrtl.c: Likewise.
20668 * math/libm-test.inc (csqrt_test): Add more tests.
20669 * sysdeps/i386/fpu/libm-test-ulps: Update.
20670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20673 * math/libm-test.inc (hypot_test): Add more tests.
20675 2012-03-13 David S. Miller <davem@davemloft.net>
20678 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
20679 double-precision for the calculation instead of scaling.
20681 2012-03-13 Joseph Myers <joseph@codesourcery.com>
20683 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
20684 manipulate bits before adding and subtracting TWO52[sx].
20685 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
20686 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
20688 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
20690 2012-03-13 David S. Miller <davem@davemloft.net>
20692 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
20693 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
20694 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
20695 rtld-global-offsets.h
20696 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20698 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
20701 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
20703 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
20704 'err' in the ifdef scope in which it is actually used.
20706 * nss/nss_db/db-init.c: Include string.h
20708 2012-03-12 David S. Miller <davem@davemloft.net>
20710 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20711 masking out of the most significant byte of random value used.
20712 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20713 Fix coding style in previous change.
20715 * sysdeps/unix/sysv/linux/kernel-features.h
20716 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
20717 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
20719 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
20722 2012-03-11 David S. Miller <davem@davemloft.net>
20724 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20725 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
20726 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
20727 for 'resultvar' otherwise things get truncated on 64-bit.
20729 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20730 Fix masking out of the most significant byte of random value used.
20732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20734 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
20736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20738 2012-03-09 David S. Miller <davem@davemloft.net>
20740 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
20741 variables with appropriate CPP guards.
20742 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
20743 frame pointer, not the stack pointer. Correct layout comments. Fix test
20744 on resulting framesize and the management of the outregs buffer for pltexit.
20745 Preserve floating point return values across _dl_call_pltexit call.
20746 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
20747 framesize and the management of the outregs buffer for pltexit.
20748 Preserve floating point return values across _dl_call_pltexit
20750 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
20751 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
20752 (print_exit): Fix format string for return register value.
20754 2012-03-10 Joseph Myers <joseph@codesourcery.com>
20756 * sunrpc/Makefile (others): Add rpcgen.
20757 ($(objpfx)rpcgen): Remove special build rule and dependency on
20759 * sunrpc/rpcgen.c: New file.
20761 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
20764 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
20765 * stdio-common/bug-vfprintf-nargs.c: Likewise.
20766 * sysdeps/i386/crti.S: Likewise.
20767 * sysdeps/i386/crtn.S: Likewise.
20768 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
20769 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
20770 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
20771 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
20772 * sysdeps/sh/crti.S: Likewise.
20773 * sysdeps/sh/crtn.S: Likewise.
20774 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20777 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
20779 * locale/programs/locfile-kw.gperf: Likewise.
20780 * locale/programs/charmap-kw.h: Regenerated.
20781 * locale/programs/locfile-kw.h: Likewise.
20784 * intl/plural.y: Replace FSF snail mail address with URL.
20785 * intl/plural.c: Regenerated.
20787 2012-03-09 Richard Henderson <rth@twiddle.net>
20789 * include/math_private.h: Remove file.
20790 * math/math_private.h: Move file ...
20791 * sysdeps/generic/math_private.h: ... here.
20793 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
20794 * sysdeps/powerpc/fpu/math_private.h: Likewise.
20795 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20797 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
20798 and <math_private.h>.
20799 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20800 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20801 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20802 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20803 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20804 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
20805 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20806 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20807 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20808 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20809 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20810 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20811 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20812 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20813 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20814 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20815 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20816 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20817 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20818 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20819 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20820 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20821 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20822 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20823 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20824 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20825 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20826 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20827 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20828 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20829 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20830 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20831 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20832 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20833 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20834 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20835 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20836 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20837 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20838 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20839 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
20840 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20841 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20842 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20843 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20844 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20845 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
20846 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20847 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20848 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20849 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20850 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
20851 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20852 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20853 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20854 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20855 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20856 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20857 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20858 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
20859 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20860 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20861 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20862 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20863 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
20864 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20865 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20866 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20867 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
20868 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
20869 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20870 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20871 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20872 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20873 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
20874 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
20875 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
20876 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20877 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
20878 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
20879 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20880 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
20881 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20882 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20883 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20884 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
20885 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
20886 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
20887 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20888 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20889 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20890 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20891 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20892 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20893 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20894 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20895 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20896 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20897 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20898 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20899 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20900 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20901 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20902 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20903 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20904 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20905 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20906 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20907 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20908 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20909 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20910 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20911 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20912 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20913 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
20914 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20915 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20916 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20917 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20918 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20919 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20920 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20921 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20922 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
20923 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20924 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20925 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20926 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
20927 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20928 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
20929 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
20930 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20931 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20932 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
20933 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
20934 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20935 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20936 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20937 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
20938 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20939 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20940 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20941 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20942 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
20943 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
20944 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20945 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20946 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20947 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
20948 * sysdeps/ieee754/k_standard.c: Likewise.
20949 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20950 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20951 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20952 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20953 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20954 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20955 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20956 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20957 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20958 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20959 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20960 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20961 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20962 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20963 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20964 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20965 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20966 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20967 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20968 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
20969 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
20970 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
20971 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20972 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20973 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20974 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
20975 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20976 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20977 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20978 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20979 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20980 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20981 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20982 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20983 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20984 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20985 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20986 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
20987 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
20988 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20989 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20990 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20991 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20992 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20993 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20994 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20995 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20996 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20997 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20998 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20999 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21000 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21001 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21002 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
21003 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21004 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21005 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
21006 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
21007 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21008 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21009 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21010 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21011 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21012 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21013 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21014 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21015 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21016 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21017 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21018 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21019 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21020 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21021 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21022 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21023 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21024 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21025 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
21026 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21027 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21028 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21029 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21030 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21031 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21032 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21033 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
21034 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21035 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21036 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21037 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21038 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21039 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
21040 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21041 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
21042 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21043 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21044 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21045 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
21046 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
21047 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
21048 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
21049 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21050 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21051 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21052 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21053 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
21054 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21055 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21056 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
21057 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
21058 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21059 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21060 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21061 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21062 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21063 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21064 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21065 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21066 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21067 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21068 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21069 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21070 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21071 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21072 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21073 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21074 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
21075 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21076 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21077 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21078 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21079 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21080 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21081 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21082 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21083 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21084 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21085 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
21086 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21087 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21088 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
21089 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
21090 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21091 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
21092 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
21093 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21094 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21095 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21096 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21097 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21098 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
21099 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21100 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21101 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21102 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21103 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
21104 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
21105 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21106 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21107 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21108 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21109 * sysdeps/ieee754/s_lib_version.c: Likewise.
21110 * sysdeps/ieee754/s_matherr.c: Likewise.
21111 * sysdeps/ieee754/s_signgam.c: Likewise.
21112 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21113 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21114 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
21115 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
21116 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
21117 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21118 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
21119 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
21120 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
21121 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
21122 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21123 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
21124 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21125 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21126 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
21127 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21128 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21129 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21130 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21131 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21132 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21134 2012-03-09 Joseph Myers <joseph@codesourcery.com>
21136 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
21137 * sunrpc/rpc_main.c: Likewise.
21138 * sunrpc/rpc_svcout.c: Likewise.
21140 2012-03-09 David S. Miller <davem@davemloft.net>
21142 * include/math_private.h: New file.
21144 2012-03-09 Joseph Myers <joseph@codesourcery.com>
21146 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
21147 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
21148 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
21149 from <bits/socket_type.h>.
21150 (enum __socket_type): Don't define here.
21151 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
21152 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21153 bits/socket_type.h.
21156 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
21157 checking __USE_GNU.
21159 * Makerules ($(inst_includedir)/%.h): New rule.
21160 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
21161 (install-others): Remove variable setting.
21162 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
21164 2012-03-08 Richard Henderson <rth@twiddle.net>
21166 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
21167 from macro to inline function; merge with the
21168 !__LIBC_INTERNAL_MATH_INLINES version.
21169 (__ieee754_sqrtf): Likewise.
21171 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
21172 to inline function.
21173 (__rintf, __floor, __floorf): Likewise.
21175 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
21176 macro to inline function.
21177 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
21179 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
21180 not <math/math_private.h>.
21182 2012-03-08 David S. Miller <davem@davemloft.net>
21184 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
21186 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
21188 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
21190 * resolv/gai_misc.c (handle_requests): Fix struct timespec
21192 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
21193 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
21195 2012-03-08 Ulrich Drepper <drepper@gmail.com>
21197 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
21198 be defined individually, they must be defined as a block. Define
21199 S for printing a string instead of hidint the different by using a
21200 macro for adding the 'l'.
21201 * stdio-common/tst-fphex-wide.c: Adjust.
21203 2012-03-07 Marek Polacek <polacek@redhat.com>
21205 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
21207 2012-03-08 Marek Polacek <polacek@redhat.com>
21210 * stdio-common/Makefile (tests): Add tst-fphex-wide.
21211 * stdio-common/tst-fphex.c: Define a few macros to make the
21212 test reusable. Use them.
21213 * stdio-common/tst-fphex-wide.c: New file.
21215 2012-03-08 Joseph Myers <joseph@codesourcery.com>
21218 * manual/macros.texi (gnusystems): New macro.
21219 (nongnusystems): Likewise.
21220 (gnulinuxhurdsystems): Likewise.
21221 (gnuhurdsystems): Likewise..
21222 (gnulinuxsystems): Likewise.
21223 * manual/charset.texi: Use new macros or @theglibc{} to refer to
21224 variants of the GNU system, not "GNU system".
21225 * manual/conf.texi: Likewise.
21226 * manual/errno.texi: Likewise. Update example of errno macro
21228 * manual/filesys.texi: Likewise.
21229 (getumask): Document as specific to GNU/Hurd.
21230 * manual/install.texi: Likewise. Reword some references to
21232 * manual/intro.texi: Likewise.
21233 * manual/io.texi: Likewise.
21234 (File Name Portability): Detail which constraints are inapplicable
21235 to all GNU systems and which are only inapplicable to GNU/Hurd.
21236 * manual/job.texi: Likewise.
21237 * manual/llio.texi: Likewise.
21238 (O_NOCTTY): Document as present on GNU/Linux.
21239 * manual/maint.texi: Likewise.
21240 * manual/memory.texi: Likewise.
21241 * manual/pattern.texi: Likewise.
21242 * manual/pipe.texi: Likewise.
21243 * manual/process.texi: Likewise.
21244 * manual/resource.texi: Likewise.
21245 (RUSAGE_CHILDREN): Remove statement about specifying a particular
21247 * manual/setjmp.texi: Likewise.
21248 * manual/signal.texi: Likewise.
21249 * manual/startup.texi: Likewise.
21250 * manual/stdio.texi: Likewise.
21251 * manual/terminal.texi: Likewise.
21252 (ONLCR): Document as POSIX.
21253 (OXTABS): Document availability on GNU/Linux as XTABS.
21254 (ONOEOT): Document availability separately from other bits.
21255 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
21256 * manual/time.texi: Likewise.
21257 * manual/users.texi: Likewise.
21258 * INSTALL: Regenerated.
21259 * sysdeps/gnu/errlist.c: Regenerated.
21261 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
21262 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
21263 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
21265 * configure: Regenerated.
21267 2012-03-07 Joseph Myers <joseph@codesourcery.com>
21269 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
21270 default includes instead of AC_HEADER_CHECK.
21271 * sysdeps/i386/configure: Regenerated.
21274 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
21275 * math/s_cacoshf.c (__cacoshf): Likewise.
21276 * math/s_cacoshl.c (__cacoshl): Likewise.
21277 * math/s_casinh.c (__casinh): Set signs of result from argument.
21278 * math/s_casinhf.c (__casinhf): Likewise.
21279 * math/s_casinhl.c (__casinhl): Likewise.
21280 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
21281 (casinh_test): Add more tests.
21282 * sysdeps/i386/fpu/libm-test-ulps: Update.
21283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21285 2012-03-07 Ulrich Drepper <drepper@gmail.com>
21287 * po/zh_TW.po: Update from translation team.
21289 * login/Makefile (distribute): Remove variable.
21290 * catgets/Makefile: Likewise.
21291 * mach/Makefile: Likewise.
21292 * malloc/Makefile: Likewise.
21293 * misc/Makefile: Likewise.
21294 * iconv/Makefile: Likewise.
21295 * nscd/Makefile: Likewise.
21296 * hurd/Makefile: Likewise.
21297 * manual/Makefile: Likewise.
21298 * locale/Makefile: Likewise.
21299 * intl/Makefile: Likewise.
21300 * conform/Makefile: Likewise.
21301 * nss/Makefile: Likewise.
21302 * time/Makefile: Likewise.
21303 * soft-fp/Makefile: Likewise.
21304 * dirent/Makefile: Likewise.
21305 * gmon/Makefile: Likewise.
21306 * po/Makefile: Likewise.
21307 * rt/Makefile: Likewise.
21308 * socket/Makefile: Likewise.
21309 * math/Makefile: Likewise.
21310 * signal/Makefile: Likewise.
21311 * debug/Makefile: Likewise.
21312 * elf/Makefile: Likewise.
21313 * timezone/Makefile: Likewise.
21314 * stdlib/Makefile: Likewise.
21315 * iconvdata/Makefile: Likewise.
21316 * sunrpc/Makefile: Likewise.
21317 * io/Makefile: Likewise.
21318 * argp/Makefile: Likewise.
21319 * inet/Makefile: Likewise.
21320 * hesiod/Makefile: Likewise.
21321 * grp/Makefile: Likewise.
21322 * csu/Makefile: Likewise.
21323 * wctype/Makefile: Likewise.
21324 * crypt/Makefile: Likewise.
21325 * libio/Makefile: Likewise.
21326 * string/Makefile: Likewise.
21327 * nis/Makefile: Likewise.
21328 * resolv/Makefile: Likewise.
21329 * stdio-common/Makefile: Likewise.
21330 * wcsmbs/Makefile: Likewise.
21331 * dlfcn/Makefile: Likewise.
21332 * posix/Makefile: Likewise.
21335 * timezone/Makefile: Don't install timezone files, just the programs
21338 2012-03-06 Ulrich Drepper <drepper@gmail.com>
21340 * nss/databases.def: Add missing gshadow entry.
21342 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
21344 2012-03-06 Marek Polacek <polacek@redhat.com>
21347 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
21348 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21349 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
21350 * stdio-common/tst-long-dbl-fphex.c: New file.
21352 2012-03-06 David S. Miller <davem@davemloft.net>
21354 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21355 (set_obp_int): New function.
21356 (get_obp_int): New function.
21357 (__get_clockfreq_via_dev_openprom): Likewise.
21358 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
21359 Avoid unused variable warnings on 'val' and use builtin_expect.
21360 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
21362 (INLINE_CLONE_SYSCALL): Likewise.
21364 2012-03-05 David S. Miller <davem@davemloft.net>
21366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21368 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
21370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21372 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
21373 only for |x| >= 40.
21374 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21376 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
21378 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
21379 Replace gettimeofday with __vdso_gettimeofday.
21381 * sysdeps/unix/sysv/linux/x86_64/init-first.c
21382 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
21383 __vdso_clock_gettime and __vdso_getcpu.
21385 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
21386 time with __vdso_time.
21388 2012-03-05 Joseph Myers <joseph@codesourcery.com>
21390 * manual/lang.texi (size_t): Note types to which size_t may be
21391 equivalent with the GNU C Library, but do not describe when
21392 differences between them are significant.
21394 2012-03-05 Andreas Jaeger <aj@suse.de>
21396 * sysdeps/i386/fpu/libm-test-ulps: Update.
21398 2012-03-05 Joseph Myers <joseph@codesourcery.com>
21401 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
21402 (__ieee754_pow): Save and restore rounding mode and use
21403 round-to-nearest for main computations.
21404 * math/libm-test.inc (pow_test_tonearest): New function.
21405 (pow_test_towardzero): Likewise.
21406 (pow_test_downward): Likewise.
21407 (pow_test_upward): Likewise.
21408 (main): Call the new functions.
21409 * sysdeps/i386/fpu/libm-test-ulps: Update.
21410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21413 * math/libm-test.inc (cosh_test_tonearest): New function.
21414 (cosh_test_towardzero): Likewise.
21415 (cosh_test_downward): Likewise.
21416 (cosh_test_upward): Likewise.
21417 (sinh_test_tonearest): Likewise.
21418 (sinh_test_towardzero): Likewise.
21419 (sinh_test_downward): Likewise.
21420 (sinh_test_upward): Likewise.
21421 (main): Call the new functions.
21422 * sysdeps/i386/fpu/libm-test-ulps: Update.
21423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21425 2012-03-05 Tom de Vries <tom@codesourcery.com>
21427 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
21428 default stack guard is set in last bytes.
21429 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
21431 2012-03-05 Kees Cook <keescook@chromium.org>
21433 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
21436 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
21437 possibly allocate from heap instead of stack.
21438 * stdio-common/bug-vfprintf-nargs.c: New file.
21439 * stdio-common/Makefile (tests): Add nargs overflow test.
21441 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
21443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21445 2012-03-03 Marek Polacek <polacek@redhat.com>
21447 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
21448 * math/math_private.h: Likewise.
21449 * stdlib/tst-strtod.c: Likewise.
21450 * sysdeps/i386/i486/bits/atomic.h: Likewise.
21451 * sysdeps/x86_64/bits/atomic.h: Likewise.
21453 2012-03-02 David S. Miller <davem@davemloft.net>
21455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
21456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
21457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
21458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
21459 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
21460 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
21461 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
21462 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
21464 2012-03-02 Roland McGrath <roland@hack.frob.com>
21467 * manual/examples/README: New file, says the example source files
21468 can be used under GPL>=2.
21469 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
21470 line containing just "*/".
21471 * manual/examples/add.c: Add copyright header (GPL>=2).
21472 * manual/examples/argp-ex1.c: Likewise.
21473 * manual/examples/argp-ex2.c: Likewise.
21474 * manual/examples/argp-ex3.c: Likewise.
21475 * manual/examples/argp-ex4.c: Likewise.
21476 * manual/examples/atexit.c: Likewise.
21477 * manual/examples/db.c: Likewise.
21478 * manual/examples/dir.c: Likewise.
21479 * manual/examples/dir2.c: Likewise.
21480 * manual/examples/execinfo.c: Likewise.
21481 * manual/examples/filecli.c: Likewise.
21482 * manual/examples/filesrv.c: Likewise.
21483 * manual/examples/fmtmsgexpl.c: Likewise.
21484 * manual/examples/genpass.c: Likewise.
21485 * manual/examples/inetcli.c: Likewise.
21486 * manual/examples/inetsrv.c: Likewise.
21487 * manual/examples/isockad.c: Likewise.
21488 * manual/examples/longopt.c: Likewise.
21489 * manual/examples/memopen.c: Likewise.
21490 * manual/examples/memstrm.c: Likewise.
21491 * manual/examples/mkfsock.c: Likewise.
21492 * manual/examples/mkisock.c: Likewise.
21493 * manual/examples/mygetpass.c: Likewise.
21494 * manual/examples/pipe.c: Likewise.
21495 * manual/examples/popen.c: Likewise.
21496 * manual/examples/rprintf.c: Likewise.
21497 * manual/examples/search.c: Likewise.
21498 * manual/examples/select.c: Likewise.
21499 * manual/examples/setjmp.c: Likewise.
21500 * manual/examples/sigh1.c: Likewise.
21501 * manual/examples/sigusr.c: Likewise.
21502 * manual/examples/stpcpy.c: Likewise.
21503 * manual/examples/strdupa.c: Likewise.
21504 * manual/examples/strftim.c: Likewise.
21505 * manual/examples/strncat.c: Likewise.
21506 * manual/examples/subopt.c: Likewise.
21507 * manual/examples/swapcontext.c: Likewise.
21508 * manual/examples/termios.c: Likewise.
21509 * manual/examples/testopt.c: Likewise.
21510 * manual/examples/testpass.c: Likewise.
21511 * manual/examples/timeval_subtract.c: Likewise.
21514 * manual/time.texi (Elapsed Time): Move timeval_subtract example
21516 * manual/timeval_subtract.c.texi: ... here, new file.
21518 2012-03-02 David S. Miller <davem@davemloft.net>
21520 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
21522 2012-03-02 Joseph Myers <joseph@codesourcery.com>
21525 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
21526 (__sin): Save and restore rounding mode and use round-to-nearest
21527 for all computations.
21528 (__cos): Save and restore rounding mode and use round-to-nearest
21529 for all computations.
21530 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
21532 (tan): Save and restore rounding mode and use round-to-nearest for
21534 * math/libm-test.inc (cos_test_tonearest): New function.
21535 (cos_test_towardzero): Likewise.
21536 (cos_test_downward): Likewise.
21537 (cos_test_upward): Likewise.
21538 (sin_test_tonearest): Likewise.
21539 (sin_test_towardzero): Likewise.
21540 (sin_test_downward): Likewise.
21541 (sin_test_upward): Likewise.
21542 (tan_test_tonearest): Likewise.
21543 (tan_test_towardzero): Likewise.
21544 (tan_test_downward): Likewise.
21545 (tan_test_upward): Likewise.
21546 (main): Call the new functions.
21547 * sysdeps/i386/fpu/libm-test-ulps: Update.
21548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21551 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
21552 small n, then large n, before computing and testing k+n.
21553 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
21554 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
21556 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
21558 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
21559 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
21560 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
21561 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
21562 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21563 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21564 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
21565 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
21566 * math/libm-test.inc (scalbn_test): Add more tests.
21567 (scalbln_test): Likewise.
21569 * manual/filesys.texi (mode_t): Describe constraints on size and
21570 signedness, not exact equivalence to a particular type.
21572 (ino64_t): Likewise.
21574 (nlink_t): Likewise.
21575 (blkcnt_t): Likewise.
21576 (blkcnt64_t): Likewise.
21577 * manual/llio.texi (off_t): Likewise.
21580 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
21581 (__ieee754_exp): Save and restore rounding mode and use
21582 round-to-nearest for all computations.
21583 * math/libm-test.inc (exp_test_tonearest): New function.
21584 (exp_test_towardzero): Likewise.
21585 (exp_test_downward): Likewise.
21586 (exp_test_upward): Likewise.
21587 (main): Call the new functions.
21588 * sysdeps/i386/fpu/libm-test-ulps: Update.
21589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21591 2012-03-01 Chris Demetriou <cgd@google.com>
21593 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
21594 have predictable order.
21596 2012-03-01 David S. Miller <davem@davemloft.net>
21598 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
21600 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
21601 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
21602 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
21603 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
21605 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
21606 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
21607 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
21608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
21609 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
21610 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
21611 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
21612 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
21613 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
21615 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21617 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
21618 * sysdeps/sparc/fpu/libm-test-ulps: to here.
21619 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
21621 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
21622 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21623 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
21624 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
21625 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
21626 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
21627 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
21628 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21629 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
21630 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
21631 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
21632 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21633 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21634 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
21635 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21636 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21637 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
21638 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
21639 * sysdeps/sparc/elf/configure: Regenerated.
21641 2012-03-01 Joseph Myers <joseph@codesourcery.com>
21643 * configure.in (AS, LD): Require binutils 2.20 or later.
21644 * configure: Regenerated.
21645 * manual/install.texi (Tools for Compilation): Give binutils 2.20
21646 as required minimum version.
21647 * INSTALL: Regenerated.
21651 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
21652 before squaring exponent.
21653 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
21654 bottom long double and 27 bits of top long double before squaring
21656 * math/libm-test.inc (erfc_test): Add more tests.
21657 * sysdeps/i386/fpu/libm-test-ulps: Update.
21658 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21661 2012-03-01 Kai Tietz <ktietz@redhat.com>
21663 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
21664 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
21665 containing bit-fields.
21666 * soft-fp/extended.h (_FP_UNION_E): Likewise.
21667 * soft-fp/single.h (_FP_UNION_S): Likewise.
21668 * soft-fp/double.h (_FP_UNION_D): Likewise.
21670 2012-02-29 Joseph Myers <joseph@codesourcery.com>
21673 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
21674 not include ../strcmp.S.
21675 [USE_AS_STRNCASECMP_L]: Likewise.
21676 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
21677 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
21678 * sysdeps/i386/i686/multiarch/strncase_l-c.c
21679 (__strncasecmp_l_ia32): Define as alias to
21680 __strncasecmp_l_nonascii.
21683 * math/libm-test.inc (expm1_test): Add test for bug 5794.
21684 * sysdeps/i386/fpu/libm-test-ulps: Update.
21685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21687 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
21688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21690 2012-02-29 Jeff Law <law@redhat.com>
21692 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
21693 out of bounds read.
21695 2012-02-29 Marek Polacek <polacek@redhat.com>
21698 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
21699 * elf/Makefile: Add rules to run tst-unused-dep.out.
21701 2012-02-28 David S. Miller <davem@davemloft.net>
21703 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
21704 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
21705 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
21706 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
21707 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
21708 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
21710 2012-02-29 Joseph Myers <joseph@codesourcery.com>
21712 * math/libm-test.inc (llround_test): Move one test from
21713 lround_test. Use TEST_f_L in moved test.
21714 (lround_test): Move misplaced test to llround_test. Add testcase
21717 2012-02-28 Ulrich Drepper <drepper@gmail.com>
21719 * sysdeps/x86_64/fpu/e_expf.S: New file.
21720 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
21722 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
21725 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
21726 of remain_len that may cause incomplete multi-byte character and
21728 * posix/bug-regex33.c: New file.
21729 * posix/Makefile (tests): Add bug-regex33.
21731 2012-02-28 Joseph Myers <joseph@codesourcery.com>
21733 * manual/macros.texi: New file.
21734 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
21735 * manual/libc.texinfo: Include macros.texi.
21736 * manual/creatute.texi: Likewise.
21737 * manual/install.texi: Likewise.
21738 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
21739 @glibcadj{} in references to the GNU C Library.
21740 * manual/charset.texi: Likewise.
21741 * manual/conf.texi: Likewise.
21742 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
21743 when not using those macros.
21744 * manual/creature.texi: Likewise.
21745 * manual/crypt.texi: Likewise.
21746 * manual/errno.texi: Likewise.
21747 * manual/filesys.texi: Likewise.
21748 * manual/header.texi: Likewise.
21749 * manual/install.texi: Likewise.
21750 * manual/intro.texi: Likewise.
21751 * manual/io.texi: Likewise.
21752 * manual/job.texi: Likewise.
21753 * manual/lang.texi: Likewise.
21754 * manual/libc.texiinfo: Likewise.
21755 * manual/llio.texi: Likewise.
21756 * manual/locale.texi: Likewise.
21757 * manual/maint.texi: Likewise.
21758 * manual/math.texi: Likewise.
21759 * manual/memory.texi: Likewise.
21760 * manual/message.texi: Likewise.
21761 * manual/nss.texi: Likewise.
21762 * manual/pattern.texi: Likewise.
21763 * manual/process.texi: Likewise.
21764 * manual/resource.texi: Likewise.
21765 * manual/search.texi: Likewise.
21766 * manual/setjmp.texi: Likewise.
21767 * manual/signal.texi: Likewise.
21768 * manual/socket.texi: Likewise.
21769 * manual/startup.texi: Likewise.
21770 * manual/stdio.texi: Likewise.
21771 * manual/string.texi: Likewise.
21772 * manual/sysinfo.texi: Likewise.
21773 * manual/syslog.texi: Likewise.
21774 * manual/terminal.texi: Likewise.
21775 * manual/time.texi: Likewise.
21776 * manual/users.texi: Likewise.
21777 * INSTALL: Regenerated.
21778 * NOTES: Regenerated.
21779 * sysdeps/gnu/errlist.c: Regenerated.
21781 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
21783 * include/dirent.h: Include <dirstream.h> before
21786 2012-02-28 David S. Miller <davem@davemloft.net>
21788 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
21789 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
21790 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
21791 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
21793 2012-02-27 David S. Miller <davem@davemloft.net>
21795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
21796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
21797 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
21798 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
21800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
21801 frame pointer instead of stack pointer relative arg slot.
21802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21803 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21804 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21806 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
21809 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
21811 2012-02-27 David S. Miller <davem@davemloft.net>
21813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
21814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
21817 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21818 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21819 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
21820 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
21822 2012-02-27 Joseph Myers <joseph@codesourcery.com>
21824 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
21825 later. Allow versions 5-9.
21826 * configure: Regenerated.
21827 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
21828 required minimum version and 4.6 as recommended version. Do not
21829 mention bugs in GCC 2.7 and 2.8.
21830 * INSTALL: Regenerated.
21832 2012-02-27 David S. Miller <davem@davemloft.net>
21834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
21835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
21836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
21837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
21838 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
21839 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
21840 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
21841 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
21843 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
21844 manipulate bits before adding and subtracting TWO112[sx].
21845 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21847 2012-02-27 Roland McGrath <roland@hack.frob.com>
21850 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
21851 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
21852 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
21853 being in POSIX, because they are in 1003.1-2008.
21855 * rt/tst-aio.c: Include <fcntl.h>.
21856 * rt/tst-aio7.c: Likewise.
21857 * rt/tst-aio64.c: Likewise.
21859 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
21861 2012-02-27 Joseph Myers <joseph@codesourcery.com>
21863 * manual/install.texi (--with-headers): Describe headers as
21864 interface headers, not private headers.
21865 (Specific advice for GNU/Linux systems): Describe use of headers
21866 from "make headers_install", not private headers from older
21868 * INSTALL: Regenerated.
21869 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
21871 * sysdeps/unix/sysv/linux/configure: Regenerated.
21873 * manual/llio.texi (fclean): Remove documentation.
21875 * manual/Makefile (libc-texi-generated): New variable. Include
21877 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
21878 $(libc-texi-generated), not duplicated list of files.
21879 (version.texi, stamp-version): New rules.
21880 (realclean): Remove $(libc-texi-generated), not individual files
21881 from that list. Do not remove dir-add.texinfo.
21882 * manual/libc.texinfo: Comment out uses of edition numbers and
21883 references to printed manual. Remove last-updated dates.
21884 (EDITION): Comment out.
21886 (VERSION, UPDATED): Remove.
21887 (version.texi): Include.
21889 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
21891 * sysdeps/posix/spawni.c: Include <signal.h>.
21892 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
21893 * sysdeps/pthread/aio_fsync.c: Likewise.
21895 2012-02-26 Ulrich Drepper <drepper@gmail.com>
21897 * conform/Makefile (tests): Run only when not cross-compiling and
21898 when fast-check is not defined.
21900 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
21901 * conform/data/limits.h-data: Fixes for POSIX2008.
21902 * conform/run-conformtest.sh: Run all tests.
21903 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
21905 * include/bits/dlfcn.h: Likewise.
21906 * include/langinfo.h: Likewise.
21907 * include/monetary.h: Likewise.
21908 * include/sys/poll.h: Likewise.
21910 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
21912 * posix/spawn.h: Define __need_sigset_t.
21913 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
21914 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
21915 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
21916 to get sigevent_t only.
21917 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
21918 only for __USE_GNU.
21919 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21920 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21921 process_vm_writev only for __USE_GNU.
21922 * termios/termios.h: Declare tcgetsid also for POSIX2008.
21924 * conform/Makefile: For now ignore errors from run-conformtest.
21925 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
21926 POSIX to avoid namespace pollution. Don't prepend headers.
21927 * conform/data/aio.h-data: Fixes for POSIX testing.
21928 * conform/data/fcntl.h-data: Likewise.
21929 * conform/data/glob.h-data: Likewise.
21930 * conform/data/grp.h-data: Likewise.
21931 * conform/data/pthread.h-data: Likewise.
21932 * conform/data/pwd.h-data: Likewise.
21933 * conform/data/signal.h-data: Likewise.
21934 * conform/data/spawn.h-data: Likewise.
21935 * conform/data/stdio.h-data: Likewise.
21936 * conform/data/stdlib.h-data: Likewise.
21937 * conform/data/stropts.h-data: Likewise.
21938 * conform/data/sys/mman.h-data: Likewise.
21939 * conform/data/sys/stat.h-data: Likewise.
21940 * conform/data/sys/types.h-data: Likewise.
21941 * conform/data/sys/wait.h-data: Likewise.
21942 * conform/data/time.h-data: Likewise.
21943 * conform/data/unistd.h-data: Likewise.
21944 * conform/data/utime.h-data: Likewise.
21946 * io/sys/stat.h: fchmod was always in POSIX.
21947 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
21948 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
21949 * rt/aio.h: Define __need_timespec before including <time.h>.
21950 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
21951 struct. Add forward declaration of pthread_attr_t and use it in
21953 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21954 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21955 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
21956 always remove CLK_TCK definition.
21958 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
21960 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
21962 2012-02-25 Ulrich Drepper <drepper@gmail.com>
21964 * conform/run-conformtest.sh: New file.
21965 * conform/Makefile: Run run-conformtest for tests.
21966 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
21969 * conform/data/uchar.h-data: New file.
21970 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
21971 * conform/data/arpa/inet.h-data: Likewise.
21972 * conform/data/assert.h-data: Likewise.
21973 * conform/data/complex.h-data: Likewise.
21974 * conform/data/cpio.h-data: Likewise.
21975 * conform/data/ctype.h-data: Likewise.
21976 * conform/data/dirent.h-data: Likewise.
21977 * conform/data/dlfcn.h-data: Likewise.
21978 * conform/data/errno.h-data: Likewise.
21979 * conform/data/fcntl.h-data: Likewise.
21980 * conform/data/float.h-data: Likewise.
21981 * conform/data/fmtmsg.h-data: Likewise.
21982 * conform/data/fnmatch.h-data: Likewise.
21983 * conform/data/ftw.h-data: Likewise.
21984 * conform/data/glob.h-data: Likewise.
21985 * conform/data/grp.h-data: Likewise.
21986 * conform/data/iconv.h-data: Likewise.
21987 * conform/data/inttypes.h-data: Likewise.
21988 * conform/data/langinfo.h-data: Likewise.
21989 * conform/data/libgen.h-data: Likewise.
21990 * conform/data/limits.h-data: Likewise.
21991 * conform/data/locale.h-data: Likewise.
21992 * conform/data/math.h-data: Likewise.
21993 * conform/data/monetary.h-data: Likewise.
21994 * conform/data/mqueue.h-data: Likewise.
21995 * conform/data/ndbm.h-data: Likewise.
21996 * conform/data/net/if.h-data: Likewise.
21997 * conform/data/netdb.h-data: Likewise.
21998 * conform/data/netinet/in.h-data: Likewise.
21999 * conform/data/nl_types.h-data: Likewise.
22000 * conform/data/poll.h-data: Likewise.
22001 * conform/data/pthread.h-data: Likewise.
22002 * conform/data/pwd.h-data: Likewise.
22003 * conform/data/regex.h-data: Likewise.
22004 * conform/data/sched.h-data: Likewise.
22005 * conform/data/search.h-data: Likewise.
22006 * conform/data/semaphore.h-data: Likewise.
22007 * conform/data/setjmp.h-data: Likewise.
22008 * conform/data/signal.h-data: Likewise.
22009 * conform/data/spawn.h-data: Likewise.
22010 * conform/data/stdarg.h-data: Likewise.
22011 * conform/data/stdio.h-data: Likewise.
22012 * conform/data/stdlib.h-data: Likewise.
22013 * conform/data/string.h-data: Likewise.
22014 * conform/data/strings.h-data: Likewise.
22015 * conform/data/stropts.h-data: Likewise.
22016 * conform/data/sys/ipc.h-data: Likewise.
22017 * conform/data/sys/mman.h-data: Likewise.
22018 * conform/data/sys/msg.h-data: Likewise.
22019 * conform/data/sys/resource.h-data: Likewise.
22020 * conform/data/sys/select.h-data: Likewise.
22021 * conform/data/sys/sem.h-data: Likewise.
22022 * conform/data/sys/shm.h-data: Likewise.
22023 * conform/data/sys/socket.h-data: Likewise.
22024 * conform/data/sys/stat.h-data: Likewise.
22025 * conform/data/sys/statvfs.h-data: Likewise.
22026 * conform/data/sys/time.h-data: Likewise.
22027 * conform/data/sys/timeb.h-data: Likewise.
22028 * conform/data/sys/times.h-data: Likewise.
22029 * conform/data/sys/types.h-data: Likewise.
22030 * conform/data/sys/uio.h-data: Likewise.
22031 * conform/data/sys/un.h-data: Likewise.
22032 * conform/data/sys/utsname.h-data: Likewise.
22033 * conform/data/sys/wait.h-data: Likewise.
22034 * conform/data/syslog.h-data: Likewise.
22035 * conform/data/tar.h-data: Likewise.
22036 * conform/data/termios.h-data: Likewise.
22037 * conform/data/utime.h-data: Likewise.
22038 * conform/data/utmpx.h-data: Likewise.
22039 * conform/data/varargs.h-data: Likewise.
22040 * conform/data/wchar.h-data: Likewise.
22041 * conform/data/wctype.h-data: Likewise.
22042 * conform/data/wordexp.h-data: Likewise.
22044 * include/stropts.h: New file.
22045 * include/uchar.h: New file.
22046 * include/aio.h: Changes to allow conformtest.pl to use the headers.
22047 * include/assert.h: Likewise.
22048 * include/ctype.h: Likewise.
22049 * include/dirent.h: Likewise.
22050 * include/dlfcn.h: Likewise.
22051 * include/fcntl.h: Likewise.
22052 * include/fnmatch.h: Likewise.
22053 * include/glob.h: Likewise.
22054 * include/grp.h: Likewise.
22055 * include/libio.h: Likewise.
22056 * include/locale.h: Likewise.
22057 * include/math.h: Likewise.
22058 * include/net/if.h: Likewise.
22059 * include/netdb.h: Likewise.
22060 * include/netinet/in.h: Likewise.
22061 * include/pthread.h: Likewise.
22062 * include/pwd.h: Likewise.
22063 * include/regex.h: Likewise.
22064 * include/sched.h: Likewise.
22065 * include/search.h: Likewise.
22066 * include/setjmp.h: Likewise.
22067 * include/signal.h: Likewise.
22068 * include/stdio.h: Likewise.
22069 * include/stdlib.h: Likewise.
22070 * include/string.h: Likewise.
22071 * include/sys/cdefs.h: Likewise.
22072 * include/sys/mman.h: Likewise.
22073 * include/sys/msg.h: Likewise.
22074 * include/sys/resource.h: Likewise.
22075 * include/sys/select.h: Likewise.
22076 * include/sys/socket.h: Likewise.
22077 * include/sys/stat.h: Likewise.
22078 * include/sys/statvfs.h: Likewise.
22079 * include/sys/time.h: Likewise.
22080 * include/sys/times.h: Likewise.
22081 * include/sys/uio.h: Likewise.
22082 * include/sys/utsname.h: Likewise.
22083 * include/sys/wait.h: Likewise.
22084 * include/termios.h: Likewise.
22085 * include/time.h: Likewise.
22086 * include/ulimit.h: Likewise.
22087 * include/unistd.h: Likewise.
22088 * include/utime.h: Likewise.
22089 * include/wchar.h: Likewise.
22090 * include/wctype.h: Likewise.
22091 * include/wordexp.h: Likewise.
22093 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
22095 * time/time.h: TIME_UTC must be a macro.
22096 Make timespec_get available for ISO C11 only as well.
22098 2012-02-24 Ulrich Drepper <drepper@gmail.com>
22100 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
22101 Reported by Peng Haitao <penght@cn.fujitsu.com>.
22103 2012-02-24 Joseph Myers <joseph@codesourcery.com>
22105 * configure.in: Use -o not -a in test for unsupported multi-arch.
22107 2012-02-24 Joseph Myers <joseph@codesourcery.com>
22109 * manual/texinfo.tex: Update to version 2012-01-19.16.
22111 2012-02-24 Joseph Myers <joseph@codesourcery.com>
22113 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
22115 2012-02-24 Roland McGrath <roland@hack.frob.com>
22118 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
22119 * manual/fdl-1.3.texi: New file.
22120 * manual/fdl-1.1.texi: File removed.
22123 * manual/libc.texinfo (FDL_VERSION): New @set.
22124 Use it for mention of FDL in cover text.
22125 (Documentation License): Use it in @include file name.
22127 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22128 Roland McGrath <roland@hack.frob.com>
22131 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
22132 not LONG_LONG_MAX and LONG_LONG_MIN.
22133 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
22134 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
22136 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
22138 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22142 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
22143 manipulate bits before adding and subtracting TWO23[sx].
22144 * math/libm-test.inc (nearbyint_test): Add more tests.
22146 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22149 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
22150 bits before adding and subtracting TWO23[sx].
22151 * math/libm-test.inc (rint_test): Add more tests.
22152 (rint_test_tonearest): Likewise.
22153 (rint_test_towardzero): Likewise.
22154 (rint_test_downward): Likewise.
22155 (rint_test_upward: Likewise.
22157 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22160 * include/stdc-predef.h: New file. Extracted from features.h.
22161 * include/features.h: Include stdc-predef.h.
22162 * Makefile (headers): Add stdc-predef.h.
22163 * CONFORMANCE (Compiler limitations): Update.
22165 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22167 * manual/libc.texinfo (VERSION, UPDATED): Revert.
22169 2012-02-21 David S. Miller <davem@davemloft.net>
22171 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
22172 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22174 2012-02-20 David S. Miller <davem@davemloft.net>
22176 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
22177 using a normal save/restore sequence, rather than allocating a
22178 dummy stack frame just to store a frame pointer and restore.
22179 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22181 2012-02-21 Joseph Myers <joseph@codesourcery.com>
22183 * manual/install.texi: Fix stray word in line-wrapped comment.
22185 2012-02-20 David S. Miller <davem@davemloft.net>
22187 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
22188 both binutils and gcc support GOTDATA.
22190 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
22191 "rd %pc" in the PIC register setup sequences.
22193 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
22194 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
22195 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22196 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
22197 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22198 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22199 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22200 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22201 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
22202 (SYSCALL_ERROR_HANDLER): Likewise.
22203 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22204 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22205 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
22206 (SYSCALL_ERROR_HANDLER): Likewise.
22208 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
22209 (HAVE_GCC_GOTDATA): New.
22210 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
22211 relocation support in both binutils and gcc.
22212 * sysdeps/sparc/elf/configure: Regenerate.
22214 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
22215 * sysdeps/sparc/sparc32/elf/configure: Delete.
22216 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
22217 * sysdeps/sparc/sparc64/elf/configure: Delete.
22218 * sysdeps/sparc/elf/configure.in: New file.
22219 * sysdeps/sparc/elf/configure: Generate.
22221 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
22222 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
22223 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22224 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
22225 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
22227 2012-02-21 Joseph Myers <joseph@codesourcery.com>
22229 * manual/install.texi: Do not mention specific glibc version
22231 * manual/libc.texinfo (VERSION, UPDATED): Update.
22232 (@copying): Use @copyright{} and range of years.
22234 2012-02-21 Joseph Myers <joseph@codesourcery.com>
22237 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
22238 [crti.S not in sysdirs] (generated): Do not append.
22239 [crti.S not in sysdirs] (omit-deps): Likewise.
22240 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
22241 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
22242 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
22243 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
22244 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
22246 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
22247 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
22248 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
22249 * csu/defs.awk: Remove file.
22250 * sysdeps/generic/initfini.c: Likewise.
22251 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
22253 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
22256 2012-02-20 Joseph Myers <joseph@codesourcery.com>
22258 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
22259 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
22260 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
22261 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
22262 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22263 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
22265 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
22266 (__EPOLL_PACKED): Define to empty if not defined by
22268 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
22269 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22272 2012-02-20 Joseph Myers <joseph@codesourcery.com>
22274 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
22275 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
22276 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
22277 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
22279 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
22280 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22283 2012-02-20 Joseph Myers <joseph@codesourcery.com>
22285 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
22287 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22288 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22289 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
22290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22292 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
22294 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22295 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22297 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
22299 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
22300 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
22302 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
22304 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
22307 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
22309 * math/w_acos.c: Use non-signaling floating-point comparisons.
22310 * math/w_acosf.c: Likewise.
22311 * math/w_acosh.c: Likewise.
22312 * math/w_acoshf.c: Likewise.
22313 * math/w_acoshl.c: Likewise.
22314 * math/w_acosl.c: Likewise.
22315 * math/w_asin.c: Likewise.
22316 * math/w_asinf.c: Likewise.
22317 * math/w_asinl.c: Likewise.
22318 * math/w_atanh.c: Likewise.
22319 * math/w_atanhf.c: Likewise.
22320 * math/w_atanhl.c: Likewise.
22321 * math/w_exp2.c: Likewise.
22322 * math/w_exp2f.c: Likewise.
22323 * math/w_exp2l.c: Likewise.
22324 * math/w_j0.c: Likewise.
22325 * math/w_j0f.c: Likewise.
22326 * math/w_j0l.c: Likewise.
22327 * math/w_j1.c: Likewise.
22328 * math/w_j1f.c: Likewise.
22329 * math/w_j1l.c: Likewise.
22330 * math/w_jn.c: Likewise.
22331 * math/w_jnf.c: Likewise.
22332 * math/w_log.c: Likewise.
22333 * math/w_log10.c: Likewise.
22334 * math/w_log10f.c: Likewise.
22335 * math/w_log10l.c: Likewise.
22336 * math/w_log2.c: Likewise.
22337 * math/w_log2f.c: Likewise.
22338 * math/w_log2l.c: Likewise.
22339 * math/w_logf.c: Likewise.
22340 * math/w_logl.c: Likewise.
22341 * math/w_sqrt.c: Likewise.
22342 * math/w_sqrtf.c: Likewise.
22343 * math/w_sqrtl.c: Likewise.
22344 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22345 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
22346 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22347 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22348 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22350 2012-02-19 Joseph Myers <joseph@codesourcery.com>
22353 * manual/string.texi (strnlen): Use correct parameter name in
22354 equivalent expression.
22356 2012-02-19 Joseph Myers <joseph@codesourcery.com>
22359 * manual/users.texi (seteuid): Consistently use neweuid for
22362 2012-02-19 Joseph Myers <joseph@codesourcery.com>
22365 * manual/nss.texi (Services in the NSS configuration): Correct
22366 list of services in example configuration file.
22368 2012-02-19 Nick Bowler <nbowler@draconx.ca>
22371 * manual/arith.texi: Remove statements about negative zero
22372 behaving identically to zero.
22374 2012-02-18 Joseph Myers <joseph@codesourcery.com>
22377 * manual/install.texi: Do not document upgrading from libc5.
22379 2012-02-18 Joseph Myers <joseph@codesourcery.com>
22382 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
22384 2012-02-18 David S. Miller <davem@davemloft.net>
22386 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
22387 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
22388 %o7 across the call.
22389 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
22391 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
22392 SETUP_PIC_REG_LEAF.
22393 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22394 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
22395 * sysdeps/sparc/crtn.S: Likewise.
22397 2012-02-17 Ulrich Drepper <drepper@gmail.com>
22399 * aout/Makefile: Remove.
22401 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
22404 * manual/examples/argp-ex1.c (main): Format definition in GNU
22406 * manual/examples/argp-ex2.c (main): Likewise.
22407 * manual/examples/argp-ex3.c (main): Likewise.
22408 * manual/examples/argp-ex4.c (main): Likewise.
22409 * manual/examples/longopt.c (main): Use new-style prototype
22411 * manual/examples/strncat.c (main): Specify return type and use
22412 (void) for arguments.
22413 * manual/examples/subopt.c (main): Use char **argv argument.
22415 2012-02-17 Joseph Myers <joseph@codesourcery.com>
22418 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
22421 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
22424 * manual/string.texi (strchr): Change when strchrnul is
22427 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
22430 * manual/locale.texi (setlocale): Document LOCPATH.
22432 2012-02-17 Joseph Myers <joseph@codesourcery.com>
22435 * manual/process.texi (execle): Move @dots{} before last argument.
22437 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
22440 * manual/charset.texi (Generic Charset Conversion): Fix typo
22441 (LC_TYPE -> LC_CTYPE).
22443 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
22446 * manual/arith.texi (scalbn): Use @var{} on parameter names.
22447 (scalbnf): Likewise.
22448 (scalbnl): Likewise.
22449 (scalbln): Likewise.
22450 (scalblnf): Likewise.
22451 (scalblnl): Likewise.
22452 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
22453 (vwarnx): Likewise.
22456 * manual/filesys.texi (telldir): Use braces around return type.
22457 * manual/llio.texi (mmap): Add space after comma.
22458 (mmap64): Likewise.
22459 * manual/math.texi (jn): Use @var{} on parameter names.
22465 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
22467 * manual/resource.texi (ulimit): Use @dots{} instead of literal
22469 (sched_get_priority_min): Remove semicolon on @deftypefun line.
22470 (sched_get_priority_max): Likewise.
22471 * manual/signal.texi (sigvec): Add space after comma.
22472 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
22474 (if_indextoname): Likewise.
22475 (if_freenameindex): Likewise.
22476 (sendto): Use ',' instead of '.' in prototype.
22477 * manual/startup.texi (syscall): Use @dots{} instead of literal
22479 * manual/stdio.texi (__fpending): Separate initial words of
22480 paragraph from @deftypefun line.
22481 * manual/syslog.texi (syslog): Use @dots{} instead of literal
22483 (vsyslog): Use @var{} on parameter names.
22484 * manual/terminal.texi (stty): Use @var{} on parameter names.
22485 * manual/users.texi (getutmp): Use @var{} on parameter names.
22486 (getutmpx): Likewise.
22488 2012-02-17 Joseph Myers <joseph@codesourcery.com>
22491 * manual/stdio.texi (fopen): Fix typos in description of
22494 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
22497 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
22498 get clock_id definition.
22500 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
22503 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
22504 (madvise): Cast every argument to void on its own.
22506 2012-02-17 Joseph Myers <joseph@codesourcery.com>
22509 * manual/startup.texi (Exit Status): Fix typo.
22511 2012-02-17 Joseph Myers <joseph@codesourcery.com>
22514 * manual/examples/argp-ex1.c: Include <stdlib.h>.
22515 * manual/examples/argp-ex2.c: Likewise.
22516 * manual/examples/argp-ex3.c: Likewise.
22518 2012-02-16 Richard Henderson <rth@redhat.com>
22520 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
22521 * sysdeps/s390/s390-32/initfini.c: Remove.
22522 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
22523 * sysdeps/s390/s390-64/initfini.c: Remove.
22525 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22527 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
22528 compiler output for sysdeps/generic/initfini.c.
22529 * sysdeps/sh/elf/initfini.c: Remove file.
22531 2012-02-16 David S. Miller <davem@davemloft.net>
22534 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
22536 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
22537 * sysdeps/sparc/crti.S: New file.
22538 * sysdeps/sparc/crtn.S: New file.
22539 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
22540 * sysdeps/sparc/sparc64/Makefile: Likewise.
22542 2012-02-15 Mike Frysinger <vapier@gentoo.org>
22545 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
22547 2012-02-15 Roland McGrath <roland@hack.frob.com>
22550 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
22552 * mach/devstream.c (cookie_io_functions_t): Macro removed.
22553 (write, read, close): Likewise.
22554 Patch by Aurelien Jarno <aurelien@aurel32.net>.
22556 2012-02-15 Joseph Myers <joseph@codesourcery.com>
22558 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
22559 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
22560 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
22561 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
22563 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
22564 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22567 2012-02-14 Marek Polacek <polacek@redhat.com>
22569 * sysdeps/x86_64/crti.S: New file.
22570 * sysdeps/x86_64/crtn.S: New file.
22571 * sysdeps/x86_64/elf/initfini.c: Remove file.
22573 2012-02-13 Joseph Myers <joseph@codesourcery.com>
22575 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
22576 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
22577 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
22578 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
22580 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
22581 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22584 2012-02-13 Joseph Myers <joseph@codesourcery.com>
22586 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
22587 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
22588 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
22589 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
22591 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
22592 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22595 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
22597 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
22598 __feraiseexcept instead of feraiseexcept.
22600 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
22601 nanosleep invocations.
22602 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
22603 strings, and add error checking for a nanosleep invocations.
22605 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
22607 Replace FSF snail mail address with URLs, as per GNU coding standards.
22608 Most of the snail mail addresses were wrong anyway, and omitting
22609 them makes the source code easier to maintain. Almost all of the
22610 changes are to license notices and to locale LC_IDENTIFICATION
22611 addresses, except for this one:
22612 * manual/libc.texinfo: In "Published by", give the FSF's URL,
22613 not its snail mail address.
22615 2012-02-09 Richard Henderson <rth@twiddle.net>
22617 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
22618 of kernel-features.h.
22620 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
22622 2012-02-08 Marek Polacek <polacek@redhat.com>
22624 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
22625 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
22626 * sysdeps/gnu/_G_config.h: Likewise.
22627 * sysdeps/generic/_G_config.h: Likewise.
22629 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
22631 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
22633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22635 * sysdeps/powerpc/powerpc32/crti.S: New file.
22636 * sysdeps/powerpc/powerpc32/crtn.S: New file.
22637 * sysdeps/powerpc/powerpc64/crti.S: New file.
22638 * sysdeps/powerpc/powerpc64/crtn.S: New file.
22640 * Makeconfig (have-initfini): Don't set.
22641 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
22642 * configure.in (nopic_initfini): Don't substitute.
22643 * config.h.in (HAVE_INITFINI): Don't #undef.
22644 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
22645 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
22647 2012-02-08 Joseph Myers <joseph@codesourcery.com>
22649 Support crti.S and crtn.S provided directly by architectures.
22650 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
22651 [crti.S in sysdirs] (omit-deps): Likewise.
22652 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
22653 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
22654 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
22655 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
22656 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
22657 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
22658 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
22659 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
22660 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
22661 compiler output for sysdeps/generic/initfini.c.
22662 * sysdeps/i386/elf/Makefile: Remove file.
22663 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
22665 2012-02-07 Marek Polacek <polacek@redhat.com>
22667 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
22668 * sysdeps/gnu/_G_config.h: Likewise.
22669 * sysdeps/mach/hurd/_G_config.h: Likewise.
22671 2012-02-07 Marek Polacek <polacek@redhat.com>
22673 * math/Makefile (tests): Add tst-CMPLX2.
22674 * math/tst-CMPLX2.c: New file.
22676 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
22678 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22680 * math/libm-test.inc (jn_test): Add missing L suffix.
22682 2012-02-06 Marek Polacek <polacek@redhat.com>
22684 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
22685 * sysdeps/i386/fpu/e_powf.S: Likewise.
22686 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22687 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22688 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22689 * sysdeps/i386/fpu/e_pow.S: Likewise.
22690 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22691 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22692 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22693 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22694 * sysdeps/i386/fpu/e_log2.S: Likewise.
22695 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22696 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22697 * sysdeps/i386/fpu/e_powl.S: Likewise.
22698 * sysdeps/i386/fpu/s_log1p.S: Likewise.
22699 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22700 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22701 * sysdeps/i386/fpu/e_logl.S: Likewise.
22702 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22703 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
22704 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22705 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22706 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22707 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22708 * sysdeps/i386/fpu/e_log.S: Likewise.
22709 * sysdeps/i386/fpu/s_cexp.S: Likewise.
22710 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22711 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
22712 * sysdeps/i386/fpu/e_logf.S: Likewise.
22713 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22714 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22715 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
22716 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22717 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22718 * sysdeps/i386/fpu/e_log10.S: Likewise.
22719 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22720 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22721 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22722 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22723 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22724 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22725 * sysdeps/i386/asm-syntax.h: Likewise.
22726 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22727 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22728 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22729 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
22730 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
22731 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22732 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22733 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22734 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22735 * sysdeps/powerpc/sysdep.h: Likewise.
22736 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22737 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22739 2012-02-06 Joseph Myers <joseph@codesourcery.com>
22742 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
22744 2012-02-06 Joseph Myers <joseph@codesourcery.com>
22746 * sysdeps/i386/sysdep.h: Include <features.h>.
22747 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
22750 2012-02-05 Joseph Myers <joseph@codesourcery.com>
22752 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
22754 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
22757 2012-02-03 Joseph Myers <joseph@codesourcery.com>
22759 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
22760 (SETUP_PIC_REG): Use GET_PC_THUNK.
22761 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
22764 2012-02-03 Joseph Myers <joseph@codesourcery.com>
22766 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
22767 for non-PIC compilation.
22768 (SETUP_PIC_REG): Add .p2align directive.
22769 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
22770 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
22771 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22772 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22773 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22774 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22775 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
22776 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22777 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22778 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22779 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22780 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22781 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22782 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22783 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22784 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22785 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22786 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22787 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22788 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22789 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22790 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22791 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22792 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22793 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22794 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22795 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22796 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22797 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22798 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22799 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22800 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22801 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22802 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22803 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22804 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22805 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22806 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22807 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22808 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22809 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22811 2012-02-03 Joseph Myers <joseph@codesourcery.com>
22813 * math/tst-CMPLX.c: Include <stdio.h>.
22815 2012-01-31 Joseph Myers <joseph@codesourcery.com>
22817 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
22819 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
22820 * sysdeps/sparc/bits/mathdef.h: Likewise.
22822 2012-01-31 Marek Polacek <polacek@redhat.com>
22824 * libio/libio.h: Don't define _PARAMS.
22825 * locale/programs/config.h: Don't define PARAMS.
22826 * stdlib/strtol_l.c: Likewise.
22827 (__strtol_l): Remove PARAMS from the prototype.
22829 2012-01-31 Ulrich Drepper <drepper@gmail.com>
22831 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
22832 names. Just use the correct names. Remove unnecessary wrapper
22834 * malloc/arena.c: Likewise.
22835 * malloc/hooks.c: Likewise.
22837 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
22838 ARENA_TEST says not to. Simplify test for creation of a new arena.
22839 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
22841 2012-01-30 Ulrich Drepper <drepper@gmail.com>
22843 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
22845 (update_get_addr): New function.
22846 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
22847 GET_ADDR_MODULE parameter.
22849 2012-01-30 Joseph Myers <joseph@codesourcery.com>
22851 * crypt/cert.c: Remove __STDC__ conditionals.
22852 * crypt/crypt-entry.c: Likewise.
22853 * crypt/crypt_util.c: Likewise.
22854 * libio/filedoalloc.c: Likewise.
22855 * libio/fileops.c: Likewise.
22856 * libio/genops.c: Likewise.
22857 * libio/iofclose.c: Likewise.
22858 * libio/iofdopen.c: Likewise.
22859 * libio/iofopen.c: Likewise.
22860 * libio/iofopen64.c: Likewise.
22861 * libio/iogetdelim.c: Likewise.
22862 * libio/iopopen.c: Likewise.
22863 * libio/obprintf.c: Likewise.
22864 * libio/oldfileops.c: Likewise.
22865 * libio/oldiofclose.c: Likewise.
22866 * libio/oldiofdopen.c: Likewise.
22867 * libio/oldiofopen.c: Likewise.
22868 * libio/oldiopopen.c: Likewise.
22869 * libio/wfiledoalloc.c: Likewise.
22870 * libio/wgenops.c: Likewise.
22871 * locale/programs/xmalloc.c: Likewise.
22872 * misc/syslog.c: Likewise.
22873 * stdio-common/xbug.c: Likewise.
22874 * string/memchr.c: Likewise.
22875 * string/memcmp.c: Likewise.
22876 * string/memrchr.c: Likewise.
22877 * string/rawmemchr.c: Likewise.
22878 * sysdeps/posix/getcwd.c: Likewise.
22879 * time/strftime_l.c: Likewise.
22881 2012-01-30 Joseph Myers <joseph@codesourcery.com>
22883 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
22884 * config.make.in (config-cflags-sse2avx): Define.
22885 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
22888 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
22890 * scripts/config.guess: Update from upstream config git repository.
22891 * scripts/config.sub: Likewise.
22893 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
22895 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
22897 (R_TILEPRO_*, R_TILEGX_*): New macros.
22899 * scripts/firstversions.awk: Fix bug in version range handling.
22901 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
22903 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
22905 * include/sys/epoll.h: New file.
22906 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
22909 2012-01-28 Ulrich Drepper <drepper@gmail.com>
22911 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
22912 Avoid unnecessary __WORDSIZE == 64 test.
22913 (fmaxf): Use VEX format if possible.
22918 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
22919 * math/math_private.h: Remove libc_fegetround* and
22921 * sysdeps/i386/configure.in: Check for -msse2avx.
22922 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
22923 also if SSE2AVX is defined.
22924 Remove libc_fegetround* and libc_fesetround*.
22925 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
22926 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
22927 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
22929 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22930 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22931 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22932 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22933 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22935 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
22937 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22939 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
22941 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22943 2012-01-27 Ulrich Drepper <drepper@gmail.com>
22946 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
22948 * Makeconfig (libm): Define.
22949 * elf/Makefile: Add rules to build and run tst-relsort1.
22950 * elf/tst-relsort1.c: New file.
22951 * elf/tst-relsort1mod1.c: New file.
22952 * elf/tst-relsort1mod2.c: New file.
22954 2012-01-27 Joseph Myers <joseph@codesourcery.com>
22956 * math/s_ldexp.c: Remove __STDC__ conditionals.
22957 * math/s_ldexpf.c: Likewise.
22958 * math/s_ldexpl.c: Likewise.
22959 * math/s_nextafter.c: Likewise.
22960 * math/s_nexttowardf.c: Likewise.
22961 * math/s_significand.c: Likewise.
22962 * math/s_significandf.c: Likewise.
22963 * math/s_significandl.c: Likewise.
22964 * math/w_jnl.c: Likewise.
22965 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22966 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22967 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22968 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22969 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22970 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22971 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
22972 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22973 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22974 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22975 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22976 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22977 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22978 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22979 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22980 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22981 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22982 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22983 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22984 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22985 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22986 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22987 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22988 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22989 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22990 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22991 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22992 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22993 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22994 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22995 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22996 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22997 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22998 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22999 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23000 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23001 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23002 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23003 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23004 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23005 * sysdeps/ieee754/k_standard.c: Likewise.
23006 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23007 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23008 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23009 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23010 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23011 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23012 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23013 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23014 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23015 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23016 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23017 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23018 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23019 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23020 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23021 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23022 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23023 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23024 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23025 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23026 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23027 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23028 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23029 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23030 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23031 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23032 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23033 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23034 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23035 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23036 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23037 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
23038 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23039 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23040 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23041 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23042 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
23043 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23044 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23045 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
23046 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
23047 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23048 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23049 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
23050 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23051 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23052 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23053 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23054 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23055 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23056 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
23057 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23058 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23059 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23060 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23061 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23062 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
23063 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23064 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23065 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23066 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23067 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23068 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23069 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23070 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23071 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23072 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23073 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23074 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23075 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23076 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23077 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23078 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23079 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23080 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23081 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23082 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23083 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23084 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23085 * sysdeps/ieee754/s_matherr.c: Likewise.
23086 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23087 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23088 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23089 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23091 2012-01-26 Joseph Myers <joseph@codesourcery.com>
23093 * crypt/md5.h: Remove __STDC__ conditionals.
23094 * libio/libioP.h: Likewise.
23095 * locale/programs/config.h: Likewise.
23096 * sysdeps/generic/sysdep.h: Likewise.
23097 * sysdeps/i386/asm-syntax.h: Likewise.
23098 * sysdeps/s390/asm-syntax.h: Likewise.
23099 * sysdeps/unix/sysdep.h: Likewise.
23100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23103 2012-01-26 Joseph Myers <joseph@codesourcery.com>
23105 * libio/libio.h: Remove __STDC__ conditionals.
23106 * malloc/obstack.h: Likewise.
23107 * math/complex.h: Likewise.
23108 * math/math.h: Likewise.
23109 * sysdeps/generic/_G_config.h: Likewise.
23110 * sysdeps/gnu/_G_config.h: Likewise.
23111 * sysdeps/mach/hurd/_G_config.h: Likewise.
23112 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23113 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23114 * sysdeps/sparc/bits/mathdef.h: Likewise.
23116 2012-01-26 Ulrich Drepper <drepper@gmail.com>
23119 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
23120 Clean up HAS_* macros.
23121 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
23122 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
23124 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
23126 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23127 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23128 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23129 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23130 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23132 2012-01-25 Joseph Myers <joseph@codesourcery.com>
23134 * elf/tst-unique3.cc (gets): Remove declaration.
23135 * elf/tst-unique3lib.cc (gets): Likewise.
23136 * elf/tst-unique3lib2.cc (gets): Likewise.
23137 * elf/tst-unique4.cc (gets): Likewise.
23139 2012-01-24 Ulrich Drepper <drepper@gmail.com>
23141 * include/stdio.h: Add C++ protection. Add gets declarations and
23143 * debug/tst-chk1.c: Don't declare gets here.
23144 * stdio-common/tst-gets.c: Likewise.
23146 2012-01-24 Joseph Myers <joseph@codesourcery.com>
23148 * posix/glob: Remove directory.
23150 2012-01-24 Joseph Myers <joseph@codesourcery.com>
23152 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
23154 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
23156 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
23157 of the non-standard EPFNOSUPPORT.
23159 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
23161 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
23162 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
23163 ANYWHERE set to 1 only on KERN_NO_SPACE error.
23165 2012-01-21 Ulrich Drepper <drepper@gmail.com>
23167 * wcsmbs/uchar.h: Test __STDC_VERSION__.
23169 2012-01-20 Ulrich Drepper <drepper@gmail.com>
23171 * nscd/aicache.c (addhstaiX): Do not cache negative results of
23173 * nscd/grpcache.c (cache_addgr): Likewise.
23174 * nscd/hstcache.c (cache_addhst): Likewise.
23175 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23176 * nscd/pwdcache.c (cache_addpw): Likewise.
23177 * nscd/servicescache.c (cache_addserv): Likewise.
23179 2012-01-16 Ulrich Drepper <drepper@gmail.com>
23181 * malloc/malloc.c: Various cleanups.
23182 * malloc/hooks.c: Likewise.
23184 * stdlib/Makefile (tests): Add bug-fmtmsg1.
23185 * stdlib/bug-fmtmsg1.c: New file.
23187 * stdlib/fmtmsg.c (init): Add missing unlock.
23188 Patch by Peng Haitao <penght@cn.fujitsu.com>.
23190 2012-01-12 Marek Polacek <polacek@redhat.com>
23192 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
23195 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23197 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
23198 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
23199 macro to ensure uniqueness of label name.
23200 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23201 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23203 2012-01-11 Ulrich Drepper <drepper@gmail.com>
23205 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
23207 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
23208 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23209 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23210 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
23212 2012-01-10 Ulrich Drepper <drepper@gmail.com>
23214 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
23216 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
23217 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23218 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23220 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
23222 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
23223 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23224 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23225 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
23227 * math/bits/math-finite.h: Add ldexp support.
23229 2012-01-10 Marek Polacek <polacek@redhat.com>
23231 * locale/programs/localedef.h (show_archive_content): Add noreturn
23234 2012-01-09 Ulrich Drepper <drepper@gmail.com>
23236 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
23238 2012-01-08 Ulrich Drepper <drepper@gmail.com>
23240 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
23242 * io/Makefile (headers): Add bits/poll2.h.
23244 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
23246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
23247 typo #include statement.
23249 2012-01-08 Ulrich Drepper <drepper@gmail.com>
23251 * include/sys/cdefs.h: Define __attribute_alloc_size.
23252 * catgets/gencat.c: Add alloc_size attribute and apply consistently
23253 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
23254 * elf/pldd.c: Likewise.
23255 * iconv/iconv_charmap.c: Likewise.
23256 * iconv/iconvconfig.c: Likewise.
23257 * iconv/strtab.c: Likewise.
23258 * locale/programs/locale.c: Likewise.
23259 * locale/programs/localedef.h: Likewise.
23260 * locale/programs/simple-hash.c: Likewise.
23261 * nscd/nscd.h: Likewise.
23262 * nss/makedb.c: Likewise.
23263 * sysdeps/generic/ldconfig.h: Likewise.
23264 * locale/programs/localedef.c: Remove xmalloc prototype.
23265 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
23267 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23269 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
23272 2012-01-08 Ulrich Drepper <drepper@gmail.com>
23274 * math/Makefile (tests): Add tst-CMPLX.
23275 * math/tst-CMPLX.c: New file.
23277 * math/complex.h (CMPLXL): Fix typo.
23279 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
23280 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
23282 * debug/tst-chk1.c: Add poll and ppoll tests.
23283 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
23284 * include/sys/poll.h: Add hidden proto for ppoll.
23285 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
23286 * sysdeps/mach/hurd/ppoll.c: Likewise.
23287 * io/ppoll.c: Likewise.
23288 * debug/poll_chk.c: New file.
23289 * debug/ppoll_chk.c: New file.
23290 * include/bits/poll2.h: New file.
23291 * io/bits/poll2.h: New file.
23294 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
23296 * configure.in: static is always set to yes. Remove.
23297 * config.make.in: Don't set build-static.
23298 * Makeconfig: Remove use of build-static.
23299 * dlfcn/Makefile: Likewise.
23300 * elf/Makefile: Likewise.
23301 * math/Makefile: Likewise.
23302 * misc/Makefile: Likewise.
23303 * nptl/Makefile: Likewise.
23304 * sysdeps/mach/hurd/Makefile: Likewise.
23306 * configure.in: PWD_P is not used anymore.
23307 * config.make.in: Remove PWD_P entry.
23309 * configure.in: Remove last remnants of RANLIB.
23310 No need to check for signed size_t anymore.
23311 Don't set libc_commonpagesize and libc_relro_required here for Alpha
23313 Remove __builtin_expect test because we require at least gcc 3.4.
23314 * aclocal.m4: Likewise.
23316 * wcsmbs/mbrtoc16.c: Implement using towc function.
23317 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
23318 * wcsmbs/wcsmbsload.c: Likewise.
23319 * iconv/gconv_simple.c: Likewise.
23320 * iconv/gconv_int.h: Likewise.
23321 * iconv/gconv_builtin.h: Likewise.
23322 * iconv/iconv_prog.c: Remove CHAR16 handling.
23324 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
23326 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
23328 * configure.in: Remove --with-elf and --enable-bounded options.
23329 Dont set base_machine for ia64. More non-ELF conditions removed.
23330 Remove testing and setting of leading underscore information.
23331 * config.make.in (build-bounded): Set to no.
23332 * config.h.in: Remove NO_UNDERSCORES entry.
23333 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
23335 * csu/start.c: Remove !NO_UNDERSCORE code.
23336 * locale/localeinfo.h: Likewise.
23337 * sysdeps/generic/machine-gmon.h: Likewise.
23338 * sysdeps/generic/sysdep.h: Likewise.
23339 * sysdeps/i386/sysdep.h: Likewise.
23340 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
23341 * sysdeps/mach/sysdep.h: Likewise.
23342 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23343 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23344 * sysdeps/sh/sysdep.h: Likewise.
23345 * sysdeps/sparc/sparc32/alloca.S: Likewise.
23346 * sysdeps/unix/i386/sysdep.S: Likewise.
23347 * sysdeps/unix/sparc/start.c: Likewise.
23348 * sysdeps/unix/sparc/sysdep.S: Likewise.
23349 * sysdeps/unix/sparc/sysdep.h: Likewise.
23350 * sysdeps/unix/start.c: Likewise.
23351 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23352 * sysdeps/x86_64/sysdep.h: Likewise.
23354 2012-01-07 Ulrich Drepper <drepper@gmail.com>
23357 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
23359 * argp/argp-fmtstream.h: Use const instead __const.
23360 * argp/argp.h: Likewise.
23361 * assert/assert.h: Likewise.
23362 * bits/fenv.h: Likewise.
23363 * bits/sched.h: Likewise.
23364 * bits/sigset.h: Likewise.
23365 * bits/sigthread.h: Likewise.
23366 * catgets/nl_types.h: Likewise.
23367 * conform/data/pthread.h-data: Likewise.
23368 * crypt/crypt-private.h: Likewise.
23369 * crypt/crypt.h: Likewise.
23370 * crypt/crypt_util.c: Likewise.
23371 * ctype/ctype.h: Likewise.
23372 * debug/execinfo.h: Likewise.
23373 * debug/mbsnrtowcs_chk.c: Likewise.
23374 * debug/mbsrtowcs_chk.c: Likewise.
23375 * debug/wcsnrtombs_chk.c: Likewise.
23376 * debug/wcsrtombs_chk.c: Likewise.
23377 * debug/wcstombs_chk.c: Likewise.
23378 * dirent/dirent.h: Likewise.
23379 * dlfcn/dlfcn.h: Likewise.
23380 * elf/neededtest4.c: Likewise.
23381 * grp/grp.h: Likewise.
23382 * gshadow/gshadow.h: Likewise.
23383 * iconv/gconv.h: Likewise.
23384 * iconv/gconv_int.h: Likewise.
23385 * iconv/gconv_simple.c: Likewise.
23386 * iconv/iconv.h: Likewise.
23387 * iconv/loop.c: Likewise.
23388 * iconv/skeleton.c: Likewise.
23389 * include/aio.h: Likewise.
23390 * include/aliases.h: Likewise.
23391 * include/argz.h: Likewise.
23392 * include/arpa/inet.h: Likewise.
23393 * include/assert.h: Likewise.
23394 * include/dirent.h: Likewise.
23395 * include/dlfcn.h: Likewise.
23396 * include/execinfo.h: Likewise.
23397 * include/fcntl.h: Likewise.
23398 * include/fenv.h: Likewise.
23399 * include/glob.h: Likewise.
23400 * include/grp.h: Likewise.
23401 * include/libintl.h: Likewise.
23402 * include/mntent.h: Likewise.
23403 * include/netdb.h: Likewise.
23404 * include/pwd.h: Likewise.
23405 * include/rpc/netdb.h: Likewise.
23406 * include/sched.h: Likewise.
23407 * include/search.h: Likewise.
23408 * include/shadow.h: Likewise.
23409 * include/signal.h: Likewise.
23410 * include/stdio.h: Likewise.
23411 * include/stdlib.h: Likewise.
23412 * include/string.h: Likewise.
23413 * include/sys/socket.h: Likewise.
23414 * include/sys/stat.h: Likewise.
23415 * include/sys/statfs.h: Likewise.
23416 * include/sys/statvfs.h: Likewise.
23417 * include/sys/syslog.h: Likewise.
23418 * include/sys/time.h: Likewise.
23419 * include/sys/uio.h: Likewise.
23420 * include/time.h: Likewise.
23421 * include/unistd.h: Likewise.
23422 * include/utmp.h: Likewise.
23423 * include/wchar.h: Likewise.
23424 * include/wctype.h: Likewise.
23425 * inet/aliases.h: Likewise.
23426 * inet/arpa/inet.h: Likewise.
23427 * inet/netinet/ether.h: Likewise.
23428 * inet/netinet/in.h: Likewise.
23429 * intl/libintl.h: Likewise.
23430 * io/bits/fcntl2.h: Likewise.
23431 * io/fcntl.h: Likewise.
23432 * io/ftw.h: Likewise.
23433 * io/sys/poll.h: Likewise.
23434 * io/sys/stat.h: Likewise.
23435 * io/sys/statfs.h: Likewise.
23436 * io/sys/statvfs.h: Likewise.
23437 * io/utime.h: Likewise.
23438 * libio/bits/stdio.h: Likewise.
23439 * libio/bits/stdio2.h: Likewise.
23440 * libio/libio.h: Likewise.
23441 * libio/libioP.h: Likewise.
23442 * libio/stdio.h: Likewise.
23443 * locale/lc-ctype.c: Likewise.
23444 * locale/locale.h: Likewise.
23445 * login/utmp.h: Likewise.
23446 * malloc/arena.c: Likewise.
23447 * malloc/malloc.c: Likewise.
23448 * malloc/malloc.h: Likewise.
23449 * malloc/mcheck.c: Likewise.
23450 * malloc/mtrace.c: Likewise.
23451 * math/bits/mathcalls.h: Likewise.
23452 * math/fenv.h: Likewise.
23453 * math/math_private.h: Likewise.
23454 * misc/bits/error.h: Likewise.
23455 * misc/bits/syslog.h: Likewise.
23456 * misc/err.h: Likewise.
23457 * misc/error.h: Likewise.
23458 * misc/fstab.h: Likewise.
23459 * misc/mntent.h: Likewise.
23460 * misc/regexp.h: Likewise.
23461 * misc/search.h: Likewise.
23462 * misc/sgtty.h: Likewise.
23463 * misc/sys/mman.h: Likewise.
23464 * misc/sys/syslog.h: Likewise.
23465 * misc/sys/uio.h: Likewise.
23466 * misc/sys/xattr.h: Likewise.
23467 * misc/ttyent.h: Likewise.
23468 * nis/rpcsvc/ypclnt.h: Likewise.
23469 * nss/nss.h: Likewise.
23470 * posix/bits/unistd.h: Likewise.
23471 * posix/fnmatch.h: Likewise.
23472 * posix/glob.h: Likewise.
23473 * posix/sched.h: Likewise.
23474 * posix/spawn.h: Likewise.
23475 * posix/sys/wait.h: Likewise.
23476 * posix/unistd.h: Likewise.
23477 * posix/wordexp.h: Likewise.
23478 * pwd/pwd.h: Likewise.
23479 * resolv/netdb.h: Likewise.
23480 * resource/sys/resource.h: Likewise.
23481 * rt/aio.h: Likewise.
23482 * rt/bits/mqueue2.h: Likewise.
23483 * rt/mqueue.h: Likewise.
23484 * shadow/shadow.h: Likewise.
23485 * signal/signal.h: Likewise.
23486 * socket/send.c: Likewise.
23487 * socket/sendto.c: Likewise.
23488 * socket/sys/socket.h: Likewise.
23489 * stdio-common/printf.h: Likewise.
23490 * stdlib/bits/stdlib.h: Likewise.
23491 * stdlib/fmtmsg.h: Likewise.
23492 * stdlib/monetary.h: Likewise.
23493 * stdlib/stdlib.h: Likewise.
23494 * stdlib/ucontext.h: Likewise.
23495 * streams/stropts.h: Likewise.
23496 * string/argz.h: Likewise.
23497 * string/bits/string2.h: Likewise.
23498 * string/string.h: Likewise.
23499 * string/strings.h: Likewise.
23500 * sunrpc/rpc/auth.h: Likewise.
23501 * sunrpc/rpc/auth_des.h: Likewise.
23502 * sunrpc/rpc/clnt.h: Likewise.
23503 * sunrpc/rpc/netdb.h: Likewise.
23504 * sunrpc/rpc/pmap_clnt.h: Likewise.
23505 * sunrpc/rpc/xdr.h: Likewise.
23506 * sysdeps/generic/inttypes.h: Likewise.
23507 * sysdeps/generic/net/if.h: Likewise.
23508 * sysdeps/generic/sys/swap.h: Likewise.
23509 * sysdeps/gnu/net/if.h: Likewise.
23510 * sysdeps/gnu/utmpx.h: Likewise.
23511 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
23512 * sysdeps/i386/i486/bits/string.h: Likewise.
23513 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
23514 * sysdeps/s390/bits/string.h: Likewise.
23515 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
23516 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
23517 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
23518 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
23519 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
23520 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
23521 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
23522 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
23523 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
23524 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
23525 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
23526 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23527 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
23528 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23529 * sysdeps/unix/sysv/linux/readv.c: Likewise.
23530 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
23531 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
23532 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23533 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
23534 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
23535 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
23536 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
23537 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
23538 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
23539 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
23540 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
23541 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
23542 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23543 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
23544 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
23545 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
23546 * sysvipc/sys/ipc.h: Likewise.
23547 * sysvipc/sys/msg.h: Likewise.
23548 * sysvipc/sys/sem.h: Likewise.
23549 * sysvipc/sys/shm.h: Likewise.
23550 * termios/termios.h: Likewise.
23551 * time/sys/time.h: Likewise.
23552 * time/time.h: Likewise.
23553 * wcsmbs/bits/wchar2.h: Likewise.
23554 * wcsmbs/uchar.h: Likewise.
23555 * wcsmbs/wchar.h: Likewise.
23556 * wctype/wctype.h: Likewise.
23559 * Makeconfig: Remove all but ELF support including AIX support.
23560 * Makerules: Likewise.
23561 * config.h.in: Likewise.
23562 * config.make.in: Likewise.
23563 * configure: Likewise.
23564 * configure.in: Likewise.
23565 * csu/Makefile: Likewise.
23566 * csu/version.c: Likewise.
23567 * debug/Makefile: Likewise.
23568 * dlfcn/Makefile: Likewise.
23569 * elf/Makefile: Likewise.
23570 * extra-lib.mk: Likewise.
23571 * iconv/Makefile: Likewise.
23572 * include/libc-symbols.h: Likewise.
23573 * include/shlib-compat.h: Likewise.
23574 * resolv/Makefile: Likewise.
23575 * resolv/res_libc.c: Likewise.
23576 * rt/Makefile: Likewise.
23577 * sysdeps/i386/asm-syntax.h: Likewise.
23578 * sysdeps/i386/sysdep.h: Likewise.
23579 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
23580 * sysdeps/mach/sysdep.h: Likewise.
23581 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
23582 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
23583 * sysdeps/s390/asm-syntax.h: Likewise.
23584 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23585 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23586 * sysdeps/sh/sysdep.h: Likewise.
23587 * sysdeps/unix/sparc/sysdep.h: Likewise.
23588 * sysdeps/wordsize-32/divdi3.c: Likewise.
23589 * sysdeps/x86_64/sysdep.h: Likewise.
23591 * argp/Versions: Remove _argp_unlock_xxx.
23594 * abilist/ld.abilist: Update. Adjust for removal of tls option.
23595 * abilist/libBrokenLocale.abilist: Likewise.
23596 * abilist/libanl.abilist: Likewise.
23597 * abilist/libc.abilist: Likewise.
23598 * abilist/libcrypt.abilist: Likewise.
23599 * abilist/libdl.abilist: Likewise.
23600 * abilist/libm.abilist: Likewise.
23601 * abilist/libnsl.abilist: Likewise.
23602 * abilist/libpthread.abilist: Likewise.
23603 * abilist/libresolv.abilist: Likewise.
23604 * abilist/librt.abilist: Likewise.
23605 * abilist/libthread_db.abilist: Likewise.
23606 * abilist/libutil.abilist: Likewise.
23607 * abilist/libnss_db.abilist: New file.
23609 * scripts/abilist.awk: Add support for indirect functions.
23611 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
23613 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
23615 * shlib-versions: Remove entries for ports architectures.
23617 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
23619 * elf/stackguard-macros.h: Remove support for IA-64.
23620 * elf/tst-auditmod1.c: Likewise.
23621 * sysdeps/generic/ldsodefs.h: Likewise.
23623 * sysdeps/unix/sysv/linux/configure.in: Ports should define
23624 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
23628 * configure.in: Remove --enable-omitfp support.
23630 * config.make.in: Likewise.
23631 * Makeconfig: Likewise.
23632 * manual/install.texi: Likewise.
23634 In case anyone cares, the IA-64 architecture could move to ports.
23635 * sysdeps/ia64/*: Removed.
23636 * sysdeps/unix/sysv/linux/ia64/*: Removed.
23637 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
23640 * configure.in: Remove entries for unsupported architectures.
23643 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
23644 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
23646 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
23647 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
23648 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
23649 fall back to using wcrtomb.
23650 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
23651 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
23653 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
23654 * wcsmbs/tst-c16c32-1.c: New file.
23656 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
23659 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
23661 * elf/tst-unique3.cc: Add explicit declaration of gets.
23662 * elf/tst-unique3lib.cc: Likewise.
23663 * elf/tst-unique3lib2.cc: Likewise.
23664 * elf/tst-unique4.cc: Likewise.
23666 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
23668 2012-01-06 Joseph Myers <joseph@codesourcery.com>
23671 * assert/assert.h (static_assert): Don't define for C++.
23672 * libio/stdio.h (gets): Do declare for C++ <= C++11.
23673 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
23675 2012-01-03 Ulrich Drepper <drepper@gmail.com>
23677 * iconv/loop.c (single loop): Fix assertion in storing of
23680 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
23682 2012-01-01 Ulrich Drepper <drepper@gmail.com>
23684 * posix/getconf.c: Update copyright year.
23685 * nss/getent.c: Likewise.
23686 * nss/makedb.c: Likewise.
23687 * iconv/iconvconfig.c: Likewise.
23688 * iconv/iconv_prog.c: Likewise.
23689 * elf/ldconfig.c: Likewise.
23690 * elf/pldd.c: Likewise.
23691 * elf/sotruss.ksh: Likewise.
23692 * catgets/gencat.c: Likewise.
23693 * csu/version.c: Likewise.
23694 * elf/ldd.bash.in: Likewise.
23695 * elf/sprof.c (print_version): Likewise.
23696 * locale/programs/locale.c: Likewise.
23697 * locale/programs/localedef.c: Likewise.
23698 * login/programs/pt_chown.c: Likewise.
23699 * nscd/nscd.c (print_version): Likewise.
23700 * debug/xtrace.sh: Likewise.
23701 * malloc/memusage.sh: Likewise.
23702 * malloc/mtrace.pl: Likewise.
23703 * debug/catchsegv.sh: Likewise.
23705 2011-12-30 Jakub Jelinek <jakub@redhat.com>
23707 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
23710 2011-12-24 Ulrich Drepper <drepper@gmail.com>
23713 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
23714 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
23716 * iconv/gconv_int.h: Likewise.
23717 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
23718 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
23719 from libc for GLIBC_2.16.
23720 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
23721 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
23722 * wcsmbs/uchar.h: Really define mbstate_t.
23723 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
23724 * wcsmbs/c16rtomb.c: New file.
23725 * wcsmbs/mbrtoc16.c: New file.
23726 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
23727 for C/POSIX locale.
23728 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
23729 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
23731 * wcsmbs/wchar.h: Add missing __restrict.
23733 2011-12-23 Ulrich Drepper <drepper@gmail.com>
23736 * time/Makefile (routines): Add timespec_get.
23737 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
23738 * time/time.h: Define TIME_UTC and declare timespec_get. Define
23739 timespec for ISO C11.
23740 * time/timespec_get.c: New file.
23741 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
23742 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
23745 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
23746 * stdlib/stdlib.h: Declare aligned_alloc.
23747 * Versions.def: Add GLIBC_2.16 for libc.
23748 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
23751 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
23754 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
23758 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
23761 * assert/assert.h (static_assert): Define.
23763 * version.h: Update for 2.16 development version.
23766 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
23769 * version.h (RELEASE): Bump for 2.15 release.
23770 * include/features.h (__GLIBC_MINOR__): Bump to 15.
23772 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
23773 Patch by Marek Polacek <mpolacek@redhat.com>.
23775 * bits/byteswap.h: Protect long long constants with __extension__.
23776 * sysdeps/i386/bits/byteswap.h: Likewise.
23777 * sysdeps/ia64/bits/byteswap.h: Likewise.
23778 * sysdeps/s390/bits/byteswap.h: Likewise.
23779 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23781 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23784 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
23785 destination buffer.
23786 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
23788 2011-12-23 Marek Polacek <polacek@redhat.com>
23790 * elf/dl-addr.c (determine_info): Add inline keyword.
23791 * elf/tst-auditmod4b.c (check_avx): Likewise.
23792 * elf/tst-auditmod6b.c (check_avx): Likewise.
23793 * elf/tst-auditmod6c.c (check_avx): Likewise.
23794 * elf/tst-auditmod7b.c (check_avx): Likewise.
23796 2011-12-23 Ulrich Drepper <drepper@gmail.com>
23798 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
23801 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23804 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
23805 processing for last bytes.
23807 2011-08-06 Bruno Haible <bruno@clisp.org>
23810 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
23811 U+0385, not to U+1FEE.
23814 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
23815 entry for U+00A5 U+0301.
23817 2011-12-22 Ulrich Drepper <drepper@gmail.com>
23820 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
23821 buffer for the output is too small.
23823 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
23827 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
23828 SSE flags if possible.
23830 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23833 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
23834 processing for last bytes.
23836 2011-12-22 Joseph Myers <joseph@codesourcery.com>
23838 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
23839 (syscall-list-default-options, syscall-list-default-condition)
23840 (syscall-list-includes): Define.
23841 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
23842 list of ABIs and options and #if conditions for each ABI. Do not
23843 handle common syscalls between ABIs specially.
23844 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
23846 (syscall-list-variants, syscall-list-32bit-options)
23847 (syscall-list-32bit-condition, syscall-list-64bit-options)
23848 (syscall-list-64bit-condition): Define.
23849 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
23850 (syscall-list-variants, syscall-list-32bit-options)
23851 (syscall-list-32bit-condition, syscall-list-64bit-options)
23852 (syscall-list-64bit-condition): Define.
23853 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
23855 (syscall-list-variants, syscall-list-32bit-options)
23856 (syscall-list-32bit-condition, syscall-list-64bit-options)
23857 (syscall-list-64bit-condition): Define.
23858 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
23860 (syscall-list-variants, syscall-list-32bit-options)
23861 (syscall-list-32bit-condition, syscall-list-64bit-options)
23862 (syscall-list-64bit-condition): Define.
23864 2011-12-22 Ulrich Drepper <drepper@gmail.com>
23866 * locale/iso-639.def: Add brx entry.
23869 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
23870 Proposed by Mariusz_Cukr <marcukr@op.pl>.
23872 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
23873 __feraiseexcept_renamed.
23875 2011-12-21 Ulrich Drepper <drepper@gmail.com>
23878 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
23879 EPOLLET with unsigned values.
23880 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23881 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
23883 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
23884 to large cancellation.
23885 * math/s_cacoshf.c: Likewise.
23886 * math/s_cacoshl.c: Likewise.
23888 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
23892 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
23893 * math/s_cacoshf.c: Likewise.
23894 * math/s_cacoshl.c: Likewise.
23896 2011-12-21 Ulrich Drepper <drepper@gmail.com>
23899 * iconv/gconv.h: Define __GCONV_SWAP.
23900 * iconvdata/unicode.c: The swap bit must be stored in __flags.
23901 * iconvdata/utf-16.c: Likewise.
23902 * iconvdata/utf-32.c: Likewise.
23904 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
23907 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
23908 numerator after shifting it by one limb.
23910 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
23912 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
23913 under [__USE_EXTERN_INLINES].
23915 2011-12-17 Ulrich Drepper <drepper@gmail.com>
23918 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
23920 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23922 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
23923 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
23925 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
23926 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
23927 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
23928 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
23929 for strncasecmp/strncasecmp_l compilation.
23930 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
23931 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
23933 2011-12-08 Marek Polacek <mpolacek@redhat.com>
23936 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
23939 2011-12-17 Ulrich Drepper <drepper@gmail.com>
23942 * time/tzfile.c (__tzfile_read): Check values from file header.
23944 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
23946 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
23947 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
23948 * powerpc/powerpc32/dl-start.S: Likewise.
23949 * powerpc/powerpc32/elf/start.S: Likewise.
23950 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23951 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
23952 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
23953 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
23954 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23955 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
23956 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
23957 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23958 * powerpc/powerpc32/fpu/s_round.S: Likewise.
23959 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23960 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23961 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23962 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
23963 * powerpc/powerpc32/memset.S: Likewise.
23964 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23965 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23966 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23967 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23968 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23969 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23970 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23971 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23972 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
23973 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
23974 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
23975 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23976 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23978 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23980 * math/libm-test.inc: Added more nearbyint tests.
23981 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
23982 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
23983 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
23984 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
23986 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
23988 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
23991 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23993 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
23994 Add wcscpy-ssse3 wcscpy-c.
23995 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
23996 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
23997 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
23998 * sysdeps/x86_64/wcschr.S: New file.
23999 * sysdeps/x86_64/wcsrchr.S: New file.
24000 * string/test-strcmp.c: Remove checking of wcscmp function for
24002 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
24003 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
24004 wcsrchr-sse2 wcsrchr-c.
24005 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
24006 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
24007 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
24008 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
24009 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
24010 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
24011 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
24012 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
24013 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
24014 * wcsmbc/wcschr.c (WCSCHR): New macro.
24016 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24018 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
24019 * wcsmbs/test-wcsrchr.c: New file.
24020 * string/test-strrchr.c: Add wcsrchr support.
24022 * wcsmbs/test-wcscpy.c: New file.
24023 * string/test-strcpy.c: Add wcscpy support.
24026 2011-12-10 Ulrich Drepper <drepper@gmail.com>
24028 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
24031 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
24034 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
24036 2011-12-04 Ulrich Drepper <drepper@gmail.com>
24038 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
24039 Minor optimizations.
24041 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
24042 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
24043 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
24045 2011-12-03 Ulrich Drepper <drepper@gmail.com>
24047 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
24048 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
24049 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
24050 for gcc to avoid warnings.
24051 * inet/Makefile (tests): Add tst-checks.
24052 * inet/tst-checks.c: New file.
24054 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
24057 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
24060 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
24061 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
24063 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
24065 2011-12-02 Ulrich Drepper <drepper@gmail.com>
24067 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
24070 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
24072 2011-11-29 Joseph Myers <joseph@codesourcery.com>
24074 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
24075 conditional on GCC version.
24076 (__arch_compare_and_exchange_val_8_acq)
24077 (__arch_compare_and_exchange_val_16_acq)
24078 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
24079 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
24080 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
24082 2011-12-02 Joseph Myers <joseph@codesourcery.com>
24084 * sysdeps/sh/backtrace.c: New file.
24086 2011-12-02 Andreas Schwab <schwab@redhat.com>
24088 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
24091 2011-12-01 Andreas Schwab <schwab@redhat.com>
24093 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
24094 falling back to utime.
24096 2011-11-30 Andreas Schwab <schwab@redhat.com>
24098 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
24099 expectations for float.
24101 2011-11-29 Andreas Schwab <schwab@redhat.com>
24103 * locale/weight.h (findidx): Add parameter len.
24104 * locale/weightwc.h (findidx): Likewise.
24105 * posix/fnmatch_loop.c (FCT): Adjust caller.
24106 * posix/regcomp.c (build_equiv_class): Likewise.
24107 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
24108 * posix/regexec.c (check_node_accept_bytes): Likewise.
24109 * string/strcoll_l.c (STRCOLL): Likewise.
24110 * string/strxfrm_l.c (STRXFRM): Likewise.
24112 2011-11-17 Ulrich Drepper <drepper@gmail.com>
24114 * Makefile.in: Remove CVSOPT handling.
24115 * configure.in: Remove use of AC_REVISION.
24116 * iconvdata/Makefile (distribute): No need to filter out CVS.
24117 * scripts/list-sources.sh: Remove CVS, subversion and monotone
24120 2011-11-16 Andreas Schwab <schwab@redhat.com>
24122 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
24123 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
24124 [USE_AS_STRNCASECMP_L]: Likewise.
24125 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
24126 NO_TLS_DIRECT_SEG_REFS.
24127 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
24128 Fix argument offsets for non-PIC.
24129 [USE_AS_STRNCASECMP_L]: Likewise.
24130 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
24131 NO_TLS_DIRECT_SEG_REFS.
24133 2011-11-15 Ulrich Drepper <drepper@gmail.com>
24135 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
24137 * locale/loadlocale.c (_nl_load_locale): Likewise.
24139 2011-11-15 Andreas Schwab <schwab@redhat.com>
24141 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
24142 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
24143 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
24144 (SYSCALL_GETTIME): Set errno on error.
24146 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
24147 count references to noai6ai_cached.
24149 2011-11-15 Ulrich Drepper <drepper@gmail.com>
24151 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
24153 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
24154 FD_CLOEXEC for /proc/self/maps.
24156 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
24157 FD_CLOEXEC for /proc/meminfo.
24159 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
24162 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
24163 FD_CLOEXEC for given file.
24165 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
24167 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
24168 FD_CLOEXEC for /etc/hosts.
24169 (_gethtent): Likewise.
24171 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
24173 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
24174 cancellation and set FD_CLOEXEC for /etc/netgroup.
24176 * nss/nss_files/files-key.c (search): Don't allow cancellation when
24177 reading /etc/publickey.
24179 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
24180 allow cancellation when reading /etc/group.
24182 * nss/nss_files/files-alias.c (internal_setent): Don't allow
24184 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
24186 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
24187 when using data file.
24189 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
24191 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
24192 (write_nis_obj): Use "c" and "e" in fopen.
24194 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
24196 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
24198 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
24200 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
24202 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
24205 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
24207 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
24209 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
24211 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
24212 file parsing and set FD_CLOEXEC.
24214 2011-11-14 Ulrich Drepper <drepper@gmail.com>
24216 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
24218 2011-11-14 Andreas Schwab <schwab@redhat.com>
24220 * malloc/arena.c (arena_get2): Don't call reused_arena when
24221 _int_new_arena failed.
24223 2011-11-14 Ulrich Drepper <drepper@gmail.com>
24225 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
24226 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
24227 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
24228 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24229 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24230 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
24231 to compile strcasecmp and strncasecmp.
24232 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
24233 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
24235 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
24237 2011-11-13 Ulrich Drepper <drepper@gmail.com>
24239 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
24240 locale-defines.sym to gen-as-const-headers.
24241 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
24242 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
24243 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
24244 to compile strcasecmp and strncasecmp.
24245 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
24246 strcasecmp_l and strncasecmp_l.
24247 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
24248 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
24249 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
24250 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
24251 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
24252 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
24253 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
24254 * sysdeps/i386/i686/multiarch/strncase.S: New file.
24255 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
24256 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
24257 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
24259 2011-11-12 Ulrich Drepper <drepper@gmail.com>
24261 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
24262 result of SYSDEP_GETTIME_CPU to retval.
24263 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
24264 parameter list to macro. Remove trailing semicolon. Adjust users.
24266 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
24269 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
24271 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
24273 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
24274 from unused variable.
24276 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
24278 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
24281 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
24284 * sunrpc/rpc_prot.c (rejected): Fix case value.
24286 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
24287 unsigned long long int to avoid warnings in shift.
24289 * posix/regex_internal.c (re_string_reconstruct): Actually use result
24291 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
24294 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
24295 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24296 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24298 * nis/nis_table.c (nis_list): Use variable of correct type for
24299 result of __follow_path call.
24301 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24303 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
24304 of math functions ceil, trunc, floor, round, and sqrt, when
24305 avaliable on the platform.
24306 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
24308 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24309 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24310 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24312 2011-10-30 Marek Polacek <mpolacek@redhat.com>
24314 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
24315 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24317 2011-11-11 Roland McGrath <roland@hack.frob.com>
24319 * include/unistd.h: Fix __readlink return type.
24320 Reported by Chris Metcalf <cmetcalf@tilera.com>.
24322 2011-11-11 Ulrich Drepper <drepper@gmail.com>
24324 * stdlib/ucontext.h: Undo last change for makecontext.
24326 2011-11-11 Andreas Schwab <schwab@redhat.com>
24328 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
24330 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
24331 * setjmp/setjmp.h: Mark functions as non-leaf.
24332 * setjmp/bits/setjmp2.h: Likewise.
24333 * stdlib/ucontext.h: Likewise.
24335 2011-11-10 Andreas Schwab <schwab@redhat.com>
24337 * malloc/arena.c (_int_new_arena): Don't increment narenas.
24338 (reused_arena): Don't check arena limit.
24339 (arena_get2): Atomically check arena limit.
24341 2011-11-08 Ulrich Drepper <drepper@gmail.com>
24343 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
24344 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
24346 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
24349 2011-11-07 Andreas Schwab <schwab@redhat.com>
24351 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
24352 handler when locking.
24354 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24355 Fix size of allocated buffer.
24357 2011-11-04 Andreas Schwab <schwab@redhat.com>
24360 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
24361 declarations for long double functions.
24362 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
24364 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
24366 2011-11-03 Andreas Schwab <schwab@redhat.com>
24368 * nscd/nscd.c (main): Don't start AVC thread until credentials are
24371 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
24374 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
24376 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
24378 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
24380 * include/alloca.h (stackinfo_alloca_round): Define.
24381 (extend_alloca): Use it.
24382 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
24383 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
24386 * scripts/check-local-headers.sh: Ignore libaudit.h.
24388 * nscd/Makefile (extra-objs): Make recursively expanded.
24390 2011-11-01 Ulrich Drepper <drepper@gmail.com>
24392 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
24393 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24395 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
24396 * posix/tst-rfc3484-2.c: Likewise.
24397 * posix/tst-rfc3484-3.c: Likewise.
24399 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24401 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
24403 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
24404 process_vm_writev from libc using GLIBC_2.15 version.
24406 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
24408 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
24410 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
24413 2011-10-31 Ulrich Drepper <drepper@gmail.com>
24416 * nss/getent.c (initgroups_keys): Show error message in case no group
24419 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
24420 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
24421 __bump_nl_timestamp.
24422 * nscd/connections (nscd_init): When host database is served open
24423 netlink socket and request notification about configuration changes.
24424 (main_loop_poll): Track netlink file descriptor and bump timestamp
24425 in case data becomes available.
24426 (main_loop_epoll): Likewise.
24427 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
24428 (database_pers_head): Add extra_data fileds.
24429 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
24430 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
24431 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
24433 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
24434 in6ai data, call __free_in6ai.
24435 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
24436 Add -DHAVE_NETLINK.
24437 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
24438 interface information. Reuse previous data if netlink timestamp
24440 (__bump_nl_timestamp): New function.
24441 (__free_in6ai): New function.
24443 2011-10-30 Ulrich Drepper <drepper@gmail.com>
24445 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
24446 close_not_cancel_no_status here.
24447 (__check_pf): Reorganize code a bit to not call close twice if OOM.
24449 2011-10-29 Ulrich Drepper <drepper@gmail.com>
24452 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
24455 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
24456 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
24457 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
24459 2011-07-03 Andreas Jaeger <aj@suse.de>
24462 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
24463 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
24464 * math/libm-test.inc (sin_test): Add test case.
24466 2011-10-29 Ulrich Drepper <drepper@gmail.com>
24469 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
24470 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
24472 * elf/chroot_canon.c (chroot_canon): Cleanups.
24474 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
24477 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
24478 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
24480 * string/test-strchr.c: Make usable for strchrnul testing.
24481 * string/test-strchrnul.c: New file.
24482 * string/Makefile (strop-tests): Add strchrnul.
24484 * po/it.po: Update from translation team.
24485 * po/es.po: Likewise.
24487 2011-10-28 Ulrich Drepper <drepper@gmail.com>
24489 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
24490 the three constants needed as parameters. Drop the others.
24491 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
24492 __m128i_strloadu_tolower.
24493 Create and initialize variable zero and use it in all the places
24494 where _mm_setzero_si128 was used.
24496 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
24497 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
24498 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
24499 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
24501 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
24502 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
24503 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
24504 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
24505 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
24506 __mpranred, __mptan.
24507 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
24508 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
24509 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
24510 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
24511 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
24512 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
24513 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
24514 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
24515 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
24517 2011-10-28 Andreas Schwab <schwab@redhat.com>
24519 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
24520 redefine if SHARED.
24521 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
24523 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
24524 wide char related routines to wcsmbs subdir.
24526 2011-10-27 Andreas Schwab <schwab@redhat.com>
24529 * misc/sys/cdefs.h (__THROWNL): Define.
24530 * posix/unistd.h: Use __THREADNL instead of __THREAD
24531 for memory synchronization functions.
24533 2011-10-26 Roland McGrath <roland@hack.frob.com>
24536 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
24538 * manual/stdio.texi (Obstack Streams): Node removed.
24540 2011-10-26 Andreas Schwab <schwab@redhat.com>
24542 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
24543 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24544 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24546 * math/math_private.h (math_force_eval): Allow non-addressable
24548 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
24550 2011-10-25 Ulrich Drepper <drepper@gmail.com>
24552 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
24553 file is not needed.
24555 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
24556 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
24557 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24558 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24559 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24560 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24561 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24562 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
24564 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
24565 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
24566 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
24567 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
24568 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
24569 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
24570 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
24571 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
24572 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
24573 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
24574 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
24575 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
24576 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
24577 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
24578 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
24579 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
24580 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
24581 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
24582 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
24584 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
24585 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
24587 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
24588 place. Use VEX encoding when compiling for AVX.
24590 2011-10-25 Andreas Schwab <schwab@redhat.com>
24592 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
24593 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24595 * string/test-strchr.c (do_test): Don't generate NUL bytes.
24597 2011-10-25 Ulrich Drepper <drepper@gmail.com>
24599 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
24600 useless if() expression.
24601 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24602 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24603 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24604 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24605 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24606 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24607 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24608 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24609 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24610 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24611 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24612 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24613 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24614 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24615 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24616 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24617 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24618 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24619 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24621 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
24623 2011-10-25 Andreas Schwab <schwab@redhat.com>
24625 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
24627 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24629 2011-10-25 Ulrich Drepper <drepper@gmail.com>
24631 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
24632 .text section. Avoid duplicate constants.
24633 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24634 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24635 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24636 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24637 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24638 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24639 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24640 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24641 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24642 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
24643 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24644 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24645 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24646 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24647 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24648 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24649 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24650 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24651 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24652 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24653 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24654 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24655 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24656 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
24657 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
24658 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
24659 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
24660 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
24661 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
24662 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
24663 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
24664 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
24665 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24666 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
24667 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
24668 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
24669 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
24670 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
24671 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
24672 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
24673 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
24674 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
24675 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
24676 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24677 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
24679 2011-10-24 Ulrich Drepper <drepper@gmail.com>
24681 * sysdeps/x86_64/dla.h: Move to ...
24682 * sysdeps/x86_64/fpu/dla.h: ...here.
24683 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
24684 situations. Use __builtin_fma only for gcc 4.6 and up.
24686 * config.make.in: Add have-mfma4 entry.
24687 * configure.in: Substitute libc_cv_cc_fma4.
24688 * math/Makefile (dbl-only-routines): Add sincostab.
24689 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
24690 Use __sincostab not sincos.
24691 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
24693 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24694 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24695 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24696 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
24698 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
24699 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
24700 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
24701 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
24703 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
24704 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
24706 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
24707 define aliases when function name is a macro.
24708 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
24709 sysdeps/ieee754/dbl-64/sincos.tbl.
24710 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
24711 fma4-enabled routines.
24712 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
24713 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
24714 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
24715 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
24716 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
24717 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
24718 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
24719 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
24720 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
24721 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
24722 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
24723 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
24724 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
24725 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
24726 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
24727 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
24728 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
24729 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
24730 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
24731 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
24732 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
24733 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
24734 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
24735 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
24736 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
24737 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
24738 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
24739 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
24740 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
24741 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
24743 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
24745 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24746 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24747 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24748 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24749 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24750 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24751 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24752 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24754 2011-10-24 Andreas Schwab <schwab@redhat.com>
24756 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
24758 2011-10-23 Ulrich Drepper <drepper@gmail.com>
24760 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
24762 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
24764 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
24766 * string/strnlen.c: Don't define STRNLEN, reverse logic.
24767 Remove unused variable magic_bits.
24768 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
24770 * string/strnlen.c: Define and use STRNLEN macro.
24771 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
24772 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
24773 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
24774 * wcsmbs/wcslen.c: Define and use WCSLEN.
24775 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
24776 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
24777 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
24778 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
24779 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
24780 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
24781 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24783 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24785 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24786 strnlen-sse2-no-bsf.
24787 Rename strlen-no-bsf to strlen-sse2-no-bsf.
24788 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
24789 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
24790 Add strnlen support.
24791 (USE_AS_STRNLEN): New macro.
24792 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
24793 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
24794 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
24795 * sysdeps/x86_64/wcslen.S: New file.
24797 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
24799 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24800 XMM-moves are used for copying on small sizes.
24802 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24804 * wcsmbs/Makefile (strop-tests): Add wcschr.
24805 * wcsmbs/test-wcschr.c: New file.
24806 * string/test-strchr.c: Update.
24807 Add wcschr support.
24810 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24812 * wcsmbs/Makefile (strop-tests): Add wcslen.
24813 * wcsmbs/test-wcslen.c: New file.
24814 * string/test-strlen.c: Update.
24815 Add wcslen support.
24818 2011-10-23 Ulrich Drepper <drepper@gmail.com>
24820 * po/it.po: Update from translation team.
24822 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24824 * sysdeps/x86_64/wcscmp.S: Update.
24825 Fix wrong comparison semantics.
24826 wcscmp shall use signed comparison not unsigned.
24827 Don't use substraction to avoid overflow bug.
24828 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24829 * wcsmbc/wcscmp.c: Likewise.
24830 * string/test-strcmp.c: Likewise.
24831 Add new tests to check cases with negative values.
24833 2011-10-23 Ulrich Drepper <drepper@gmail.com>
24835 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
24836 * sysdeps/x86_64/dla.h: ...here. New file.
24837 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
24838 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24839 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24840 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24841 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24842 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24843 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24844 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24845 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24847 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
24849 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
24850 __ynl_finite aliases.
24852 2011-10-22 Ulrich Drepper <drepper@gmail.com>
24854 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24856 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
24858 [DLA_FMA] (EMULV): Use DLA_FMA.
24859 [DLA_FMA] (MUL12): Use EMULV.
24860 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
24861 that are not needed.
24862 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24863 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24864 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24865 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24866 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24867 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24868 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24870 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
24872 * math/s_nan.c: Undef __nan.
24873 * math/s_nanf.c: Undef __nanf.
24874 * math/s_nanl.c: Undef __nanl.
24875 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
24878 2011-10-22 Ulrich Drepper <drepper@gmail.com>
24880 * math/s_catan.c: Add branch predictions.
24881 * math/s_catanf.c: Likewise.
24882 * math/s_catanh.c: Likewise.
24883 * math/s_catanhf.c: Likewise.
24884 * math/s_catanhl.c: Likewise.
24885 * math/s_catanl.c: Likewise.
24886 * math/s_cexp.c: Likewise.
24887 * math/s_cexpf.c: Likewise.
24888 * math/s_cexpl.c: Likewise.
24889 * math/s_clog.c: Likewise.
24890 * math/s_clog10.c: Likewise.
24891 * math/s_clog10f.c: Likewise.
24892 * math/s_clog10l.c: Likewise.
24893 * math/s_clogf.c: Likewise.
24894 * math/s_clogl.c: Likewise.
24895 * math/s_csqrt.c: Likewise.
24896 * math/s_csqrtf.c: Likewise.
24897 * math/s_csqrtl.c: Likewise.
24898 * math/s_ctanf.c: Likewise.
24899 * math/s_ctanh.c: Likewise.
24900 * math/s_ctanhf.c: Likewise.
24901 * math/s_ctanhl.c: Likewise.
24902 * math/s_ctanl.c: Likewise.
24904 * math/math_private.h: Define __nan, __nanf, __nanl.
24905 * math/s_cacosh.c: Include <math_private.h>.
24906 * math/s_cacoshl.c: Likewise.
24907 * math/s_casinh.c: Likewise.
24908 * math/s_casinhf.c: Likewise.
24909 * math/s_casinhl.c: Likewise.
24910 * math/s_ccos.c: Rely entire on ccosh.
24911 * math/s_ccosf.c: Rely entire on ccoshf.
24912 * math/s_ccosl.c: Rely entirely on ccoshl.
24913 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
24914 Remove tests for FE_INVALID.
24915 * math/s_ccoshf.c: Likewise.
24916 * math/s_ccoshl.c: Likewise.
24917 * math/s_csin.c: Likewise.
24918 * math/s_csinf.c: Likewise.
24919 * math/s_csinh.c Likewise.
24920 * math/s_csinhf.c: Likewise.
24921 * math/s_csinhl.c: Likewise.
24922 * math/s_csinl.c: Likewise.
24923 * math/s_ctan.c: Likewise.
24924 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
24925 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
24926 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
24928 2011-10-21 Ulrich Drepper <drepper@gmail.com>
24930 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
24931 compilation problems.
24933 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
24936 2011-10-20 Ulrich Drepper <drepper@gmail.com>
24938 * sysdeps/i386/configure.in: Test for -mfma4 option.
24939 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
24940 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
24941 COMMON_CPUID_INDEX_80000001.
24942 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
24943 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
24944 use it if FMA3 is not supported.
24945 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
24947 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
24948 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24950 2011-10-20 Andreas Schwab <schwab@redhat.com>
24953 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
24954 it would create a cycle with a link time dependency.
24956 2011-10-19 Ulrich Drepper <drepper@gmail.com>
24958 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
24960 * string/Makefile (strop-tests): Add rawmemchr.
24961 * string/test-rawmemchr.c: New file.
24963 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
24964 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
24965 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
24966 when compiling str{,n}casecmp and when AVX is available. Hook up
24967 new optimized code in initializers.
24969 2011-10-19 Andreas Schwab <schwab@redhat.com>
24971 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
24972 __feraiseexcept instead of feraiseexcept.
24974 2011-10-18 Ulrich Drepper <drepper@gmail.com>
24976 * math/math_private.h: Define defaults for libc_fetestexcept and
24978 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
24979 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
24980 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
24981 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
24982 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24983 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
24984 libc_fetestexcept and libc_feupdateenv.
24986 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
24987 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
24988 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
24989 * sysdeps/x86_64/fpu/math_private.h: Define special version of
24990 libc_feholdexcept_setround.
24992 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
24993 Add s_nearbyint-c and s_nearbyintf-c.
24994 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
24995 nearbyintf inlines.
24996 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
24997 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
24998 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
24999 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
25001 * math/math_private.h: Define defaults for libc_fegetround,
25002 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
25003 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
25004 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
25005 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
25006 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
25007 standard functions.
25008 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25009 Remove comments and hacks for old compiler versions.
25010 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25011 libc_fegetround, libc_fesetround, libc_feholdexcept, and
25012 libc_feholdexceptl.
25014 2011-10-18 Andreas Schwab <schwab@redhat.com>
25016 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
25017 (__feraiseexcept_renamed): Add __NTH.
25018 (feraiseexcept): Add __NTH. Rename local variables to fix
25019 namespace violations.
25021 2011-10-17 Ulrich Drepper <drepper@gmail.com>
25023 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
25025 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
25027 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
25028 recently added interfaces.
25029 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
25031 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
25032 about macro parameter expansion.
25034 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
25035 __NO_MATH_INLINES is defined. Cleanups.
25037 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
25038 and __floorf is target has SSE4.1.
25039 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
25040 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
25041 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
25042 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
25044 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
25046 (floorf): Likewise.
25048 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
25050 2011-10-17 Andreas Schwab <schwab@redhat.com>
25052 * misc/sys/cdefs.h: Fix last change.
25054 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
25057 2011-10-16 Ulrich Drepper <drepper@gmail.com>
25059 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
25061 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
25062 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25063 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25064 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25065 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25066 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25067 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25068 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25069 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25070 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
25071 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
25072 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
25073 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
25074 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
25075 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
25076 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
25077 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
25078 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
25079 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
25080 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
25081 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
25082 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
25084 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
25085 ceil, ceilf, floor, floorf.
25087 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
25088 Perform IRELATIVE relocations last.
25090 * elf/do-rel.h: Add another parameter nrelative, replacing the
25091 local variable with the same name. Change name of the function
25092 to end in Rel or Rela (uppercase).
25093 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
25094 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
25095 elf_dynamic_do_##reloc function.
25097 2011-10-15 Ulrich Drepper <drepper@gmail.com>
25099 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
25100 is sufficient, at least on modern CPUs.
25102 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
25104 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
25105 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
25107 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
25109 * math/bits/math-finite.h: Add entries for exp.
25110 * math/e_expl.c: Add __*_finite alias.
25111 * sysdeps/i386/fpu/e_exp.S: Likewise.
25112 * sysdeps/i386/fpu/e_expf.S: Likewise.
25113 * sysdeps/i386/fpu/e_expl.c: Likewise.
25114 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25115 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25116 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25117 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25118 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
25119 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25120 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25122 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
25123 is sufficient, at least on modern CPUs.
25125 * ctype/ctype-info.c (__ctype_init): Define.
25126 * include/ctype.h (__ctype_init): Declare.
25127 (__ctype_b_loc): The variable is always initialized.
25128 (__ctype_toupper_loc): Likewise.
25129 (__ctype_tolower_loc): Likewise.
25130 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
25131 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
25133 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
25135 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
25137 * configure.in: Also look in $cxxmachine/include for C++ system
25140 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25142 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
25143 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
25144 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
25145 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
25146 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
25147 (USE_AS_WMEMCMP): New macro.
25149 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
25150 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
25151 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
25152 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
25153 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25154 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
25155 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
25156 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
25157 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
25158 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
25159 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
25160 (USE_AS_WMEMCMP): New macro.
25161 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
25162 * sysdeps/string/test-memcmp.c: Update.
25163 Fix simple_wmemcmp.
25165 * wcsmbs/wmemcmp.c: Update.
25166 (WMEMCMP): New macro.
25169 2011-10-12 Andreas Jaeger <aj@suse.de>
25172 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
25174 2011-10-15 Ulrich Drepper <drepper@gmail.com>
25176 * libio/iofwide.c (do_length): Avoid warning.
25178 * ctype/ctype.h (__isctype_f): Add missing __THROW.
25180 2011-10-14 Ulrich Drepper <drepper@gmail.com>
25182 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
25184 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
25185 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
25186 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
25187 * sysdeps/i386/i686/fpu/e_log.S: New file.
25188 * sysdeps/i386/i686/fpu/e_logf.S: New file.
25189 * sysdeps/i386/i686/fpu/e_logl.S: New file.
25191 * ctype/ctype.h: Add support for inlined isXXX functions when
25192 compiling C++ code.
25194 2011-10-14 Andreas Schwab <schwab@redhat.com>
25196 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25198 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
25200 2011-10-13 Roland McGrath <roland@hack.frob.com>
25203 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
25205 2011-10-13 Andreas Schwab <schwab@redhat.com>
25207 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
25208 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
25211 * sysdeps/x86_64/memrchr.S: Check for zero size.
25213 * string/stratcliff.c: Add memrchr tests.
25215 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25217 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25218 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
25219 rawmemchr-sse2 rawmemchr-sse2-bsf.
25220 * sysdeps/i386/i686/multiarch/memchr.S: New file.
25221 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
25222 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
25223 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
25224 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
25225 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
25226 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
25227 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
25228 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
25229 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
25230 * string/memrchr.c (MEMRCHR): New macro.
25232 2011-10-12 Ulrich Drepper <drepper@gmail.com>
25234 Add integration with gcc's -ffinite-math-only and optimize wrapper
25236 * Versions.def: Define GLIBC_2.15 version for libm.
25237 * math/Makefile (headers): Add bits/math-finite.h.
25238 * math/bits/math-finite.h: New file.
25239 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
25240 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
25241 * math/e_acoshl.c: Add __*_finite alias.
25242 * math/e_acosl.c: Likewise.
25243 * math/e_asinl.c: Likewise.
25244 * math/e_atan2l.c: Likewise.
25245 * math/e_atanhl.c: Likewise.
25246 * math/e_coshl.c: Likewise.
25247 * math/e_exp10.c: Likewise.
25248 * math/e_exp10f.c: Likewise.
25249 * math/e_exp10l.c: Likewise.
25250 * math/e_exp2l.c: Likewise.
25251 * math/e_fmodl.c: Likewise.
25252 * math/e_gammal_r.c: Likewise.
25253 * math/e_hypotl.c: Likewise.
25254 * math/e_j0l.c: Likewise.
25255 * math/e_j1l.c: Likewise.
25256 * math/e_jnl.c: Likewise.
25257 * math/e_lgammal_r.c: Likewise.
25258 * math/e_log10l.c: Likewise.
25259 * math/e_log2l.c: Likewise.
25260 * math/e_logl.c: Likewise.
25261 * math/e_powl.c: Likewise.
25262 * math/e_sinhl.c: Likewise.
25263 * math/e_sqrtl.c: Likewise.
25264 * math/e_scalb.c: Completely rewritten and optimized.
25265 * math/e_scalbf.c: Likewise.
25266 * math/e_scalbl.c: Likewise.
25267 * math/w_acos.c: Likewise.
25268 * math/w_acosf.c: Likewise.
25269 * math/w_acosl.c: Likewise.
25270 * math/w_acosh.c: Likewise.
25271 * math/w_acoshf.c: Likewise.
25272 * math/w_acoshl.c: Likewise.
25273 * math/w_asin.c: Likewise.
25274 * math/w_asinf.c: Likewise.
25275 * math/w_asinl.c: Likewise.
25276 * math/w_atan2.c: Likewise.
25277 * math/w_atan2f.c: Likewise.
25278 * math/w_atan2l.c: Likewise.
25279 * math/w_atanh.c: Likewise.
25280 * math/w_atanhf.c: Likewise.
25281 * math/w_atanhl.c: Likewise.
25282 * math/w_exp10.c: Likewise.
25283 * math/w_exp10f.c: Likewise.
25284 * math/w_exp10l.c: Likewise.
25285 * math/w_fmod.c: Likewise.
25286 * math/w_fmodf.c: Likewise.
25287 * math/w_fmodl.c: Likewise.
25288 * math/w_j0.c: Likewise.
25289 * math/w_j0f.c: Likewise.
25290 * math/w_j0l.c: Likewise.
25291 * math/w_j1.c: Likewise.
25292 * math/w_j1f.c: Likewise.
25293 * math/w_j1l.c: Likewise.
25294 * math/w_jn.c: Likewise.
25295 * math/w_jnf.c: Likewise.
25296 * math/w_log.c: Likewise.
25297 * math/w_logf.c: Likewise.
25298 * math/w_logl.c: Likewise.
25299 * math/w_log10.c: Likewise.
25300 * math/w_log10f.c: Likewise.
25301 * math/w_log10l.c: Likewise.
25302 * math/w_log2.c: Likewise.
25303 * math/w_log2f.c: Likewise.
25304 * math/w_log2l.c: Likewise.
25305 * math/w_pow.c: Likewise.
25306 * math/w_powf.c: Likewise.
25307 * math/w_powl.c: Likewise.
25308 * math/w_remainder.c: Likewise.
25309 * math/w_remainderf.c: Likewise.
25310 * math/w_remainderl.c: Likewise.
25311 * math/w_scalb.c: Likewise.
25312 * math/w_scalbf.c: Likewise.
25313 * math/w_scalbl.c: Likewise.
25314 * math/w_sqrt.c: Likewise.
25315 * math/w_sqrtf.c: Likewise.
25316 * math/w_sqrtl.c: Likewise.
25317 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
25318 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
25320 * math/math_private.h: Declare __kernel_standard_f.
25321 * math/w_cosh.c: Remove cruft and optimize a bit.
25322 * math/w_coshf.c: Likewise.
25323 * math/w_coshl.c: Likewise.
25324 * math/w_exp2.c: Likewise.
25325 * math/w_exp2f.c: Likewise.
25326 * math/w_exp2l.c: Likewise.
25327 * math/w_hypot.c: Likewise.
25328 * math/w_hypotf.c: Likewise.
25329 * math/w_hypotl.c: Likewise.
25330 * math/w_lgamma.c: Likewise.
25331 * math/w_lgamma_r.c: Likewise.
25332 * math/w_lgammaf.c: Likewise.
25333 * math/w_lgammaf_r.c: Likewise.
25334 * math/w_lgammal.c: Likewise.
25335 * math/w_lgammal_r.c: Likewise.
25336 * math/w_sinh.c: Likewise.
25337 * math/w_sinhf.c: Likewise.
25338 * math/w_sinhl.c: Likewise.
25339 * math/w_tgamma.c: Likewise.
25340 * math/w_tgammaf.c: Likewise.
25341 * math/w_tgammal.c: Likewise.
25342 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25343 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25344 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
25345 Minor optimizations. Pretty printing. Remove cruft.
25346 * sysdeps/i386/fpu/e_acosf.S: Likewise.
25347 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25348 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25349 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25350 * sysdeps/i386/fpu/e_acosl.c: Likewise.
25351 * sysdeps/i386/fpu/e_asin.S: Likewise.
25352 * sysdeps/i386/fpu/e_asinf.S: Likewise.
25353 * sysdeps/i386/fpu/e_atan2.S: Likewise.
25354 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
25355 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
25356 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25357 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25358 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25359 * sysdeps/i386/fpu/e_exp10.S: Likewise.
25360 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
25361 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
25362 * sysdeps/i386/fpu/e_exp2.S: Likewise.
25363 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
25364 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
25365 * sysdeps/i386/fpu/e_fmod.S: Likewise.
25366 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
25367 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
25368 * sysdeps/i386/fpu/e_hypot.S: Likewise.
25369 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
25370 * sysdeps/i386/fpu/e_log.S: Likewise.
25371 * sysdeps/i386/fpu/e_log10.S: Likewise.
25372 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25373 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25374 * sysdeps/i386/fpu/e_log2.S: Likewise.
25375 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25376 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25377 * sysdeps/i386/fpu/e_logf.S: Likewise.
25378 * sysdeps/i386/fpu/e_logl.S: Likewise.
25379 * sysdeps/i386/fpu/e_pow.S: Likewise.
25380 * sysdeps/i386/fpu/e_powf.S: Likewise.
25381 * sysdeps/i386/fpu/e_powl.S: Likewise.
25382 * sysdeps/i386/fpu/e_remainder.S: Likewise.
25383 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
25384 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
25385 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25386 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25387 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25388 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
25389 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
25390 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
25391 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25392 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25393 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25394 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25395 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25396 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25397 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
25398 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25399 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25400 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25401 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25402 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25403 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25404 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25405 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25406 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25407 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25408 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25409 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25410 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25411 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25412 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25413 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25414 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25415 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25416 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25417 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
25418 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25419 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
25420 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25421 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25422 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25423 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25424 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25425 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25426 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25427 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25428 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25429 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25430 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25431 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25432 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25433 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25434 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25435 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25436 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25437 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25438 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25439 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25440 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
25441 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25442 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25443 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25444 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25445 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25446 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25447 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25448 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25449 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25450 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25451 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25452 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25453 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25454 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25455 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25456 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25457 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25458 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25459 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
25460 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25461 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25462 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25463 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25464 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25465 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25466 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25467 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25468 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25469 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25470 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25471 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25472 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25473 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
25474 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25475 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25476 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25477 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25478 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25479 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25480 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25481 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25482 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25483 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25484 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25485 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25486 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25487 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25488 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
25489 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
25490 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
25491 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
25492 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
25493 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
25494 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
25495 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25496 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25497 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25498 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25499 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
25500 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25501 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
25502 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
25503 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
25504 (__isnanf): Likewise.
25505 (__isinf_ns): Likewise.
25506 (__isinf_nsf): Likewise.
25507 (__finite): Likewise.
25508 (__finitef): Likewise.
25509 (__ieee754_sqrt): Define as macro.
25510 (__ieee754_sqrtf): Define as macro.
25511 (__ieee754_sqrtl): Define as macro.
25512 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
25514 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
25515 __FINITE_MATH_ONLY__ consistent.
25516 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
25518 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
25520 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
25523 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
25525 2011-10-09 Ulrich Drepper <drepper@gmail.com>
25527 * po/ja.po: Update from translation team.
25529 2011-10-08 Roland McGrath <roland@hack.frob.com>
25531 * locale/programs/locarchive.c (prepare_address_space): New function.
25532 (create_archive, enlarge_archive, open_archive): Use it.
25534 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
25535 inside [SHARED], where it is used.
25537 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
25539 * nss/getent.c (netgroup_keys): Remove unused variable.
25540 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25542 2011-10-08 Ulrich Drepper <drepper@gmail.com>
25544 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
25545 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
25546 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
25547 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
25548 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
25549 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
25550 * math/Makefile (libm-calls): Add s_isinf_ns.
25551 * math/divtc3.c: Use __isinf_nsl instead of isinf.
25552 * math/multc3.c: Likewise.
25553 * math/s_casin.c: Likewise.
25554 * math/s_casinf.c: Likewise.
25555 * math/s_casinl.c: Likewise.
25556 * math/s_ccos.c: Likewise.
25557 * math/s_ccosf.c: Likewise.
25558 * math/s_ccosl.c: Likewise.
25559 * math/s_ctan.c: Likewise.
25560 * math/s_ctanf.c: Likewise.
25561 * math/s_ctanh.c: Likewise.
25562 * math/s_ctanhf.c: Likewise.
25563 * math/s_ctanhl.c: Likewise.
25564 * math/s_ctanl.c: Likewise.
25565 * math/w_fmod.c: Likewise.
25566 * math/w_fmodf.c: Likewise.
25567 * math/w_fmodl.c: Likewise.
25568 * math/w_remainder.c: Likewise.
25569 * math/w_remainderf.c: Likewise.
25570 * math/w_remainderl.c: Likewise.
25571 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
25572 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
25573 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
25574 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
25575 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
25576 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
25577 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
25578 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
25580 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
25582 * stdio-common/printf_fphex.c: Likewise.
25583 * stdio-common/printf_size.c: Likewise.
25585 * math/e_exp10.c: Include math_private.h using <...> not "...".
25586 * math/e_exp10f.c: Likewise.
25587 * math/e_exp10l.c: Likewise.
25588 * math/e_exp2l.c: Likewise.
25589 * math/e_j0l.c: Likewise.
25590 * math/e_j1l.c: Likewise.
25591 * math/e_jnl.c: Likewise.
25592 * math/e_lgammal_r.c: Likewise.
25593 * math/e_rem_pio2l.c: Likewise.
25594 * math/e_scalb.c: Likewise.
25595 * math/e_scalbf.c: Likewise.
25596 * math/e_scalbl.c: Likewise.
25597 * math/k_cosl.c: Likewise.
25598 * math/k_sinl.c: Likewise.
25599 * math/k_tanl.c: Likewise.
25600 * math/s_cacoshf.c: Likewise.
25601 * math/s_catan.c: Likewise.
25602 * math/s_catanf.c: Likewise.
25603 * math/s_catanh.c: Likewise.
25604 * math/s_catanhf.c: Likewise.
25605 * math/s_catanhl.c: Likewise.
25606 * math/s_catanl.c: Likewise.
25607 * math/s_ccosh.c: Likewise.
25608 * math/s_ccoshf.c: Likewise.
25609 * math/s_ccoshl.c: Likewise.
25610 * math/s_cexp.c: Likewise.
25611 * math/s_cexpf.c: Likewise.
25612 * math/s_cexpl.c: Likewise.
25613 * math/s_clog.c: Likewise.
25614 * math/s_clog10.c: Likewise.
25615 * math/s_clog10f.c: Likewise.
25616 * math/s_clog10l.c: Likewise.
25617 * math/s_clogf.c: Likewise.
25618 * math/s_clogl.c: Likewise.
25619 * math/s_csin.c: Likewise.
25620 * math/s_csinf.c: Likewise.
25621 * math/s_csinh.c: Likewise.
25622 * math/s_csinhf.c: Likewise.
25623 * math/s_csinhl.c: Likewise.
25624 * math/s_csinl.c: Likewise.
25625 * math/s_csqrt.c: Likewise.
25626 * math/s_csqrtf.c: Likewise.
25627 * math/s_csqrtl.c: Likewise.
25628 * math/s_ctan.c: Likewise.
25629 * math/s_ctanf.c: Likewise.
25630 * math/s_ctanh.c: Likewise.
25631 * math/s_ctanhf.c: Likewise.
25632 * math/s_ctanhl.c: Likewise.
25633 * math/s_ctanl.c: Likewise.
25634 * math/s_ldexp.c: Likewise.
25635 * math/s_ldexpf.c: Likewise.
25636 * math/s_ldexpl.c: Likewise.
25637 * math/s_significand.c: Likewise.
25638 * math/s_significandf.c: Likewise.
25639 * math/s_significandl.c: Likewise.
25640 * math/w_acos.c: Likewise.
25641 * math/w_acosf.c: Likewise.
25642 * math/w_acosh.c: Likewise.
25643 * math/w_acoshf.c: Likewise.
25644 * math/w_acoshl.c: Likewise.
25645 * math/w_acosl.c: Likewise.
25646 * math/w_asin.c: Likewise.
25647 * math/w_asinf.c: Likewise.
25648 * math/w_asinl.c: Likewise.
25649 * math/w_atan2.c: Likewise.
25650 * math/w_atan2f.c: Likewise.
25651 * math/w_atan2l.c: Likewise.
25652 * math/w_atanh.c: Likewise.
25653 * math/w_atanhf.c: Likewise.
25654 * math/w_atanhl.c: Likewise.
25655 * math/w_cosh.c: Likewise.
25656 * math/w_coshf.c: Likewise.
25657 * math/w_coshl.c: Likewise.
25658 * math/w_dremf.c: Likewise.
25659 * math/w_exp10.c: Likewise.
25660 * math/w_exp10f.c: Likewise.
25661 * math/w_exp10l.c: Likewise.
25662 * math/w_exp2.c: Likewise.
25663 * math/w_exp2f.c: Likewise.
25664 * math/w_fmod.c: Likewise.
25665 * math/w_fmodf.c: Likewise.
25666 * math/w_fmodl.c: Likewise.
25667 * math/w_hypot.c: Likewise.
25668 * math/w_hypotf.c: Likewise.
25669 * math/w_hypotl.c: Likewise.
25670 * math/w_j0.c: Likewise.
25671 * math/w_j0f.c: Likewise.
25672 * math/w_j0l.c: Likewise.
25673 * math/w_j1.c: Likewise.
25674 * math/w_j1f.c: Likewise.
25675 * math/w_j1l.c: Likewise.
25676 * math/w_jn.c: Likewise.
25677 * math/w_jnf.c: Likewise.
25678 * math/w_jnl.c: Likewise.
25679 * math/w_lgamma.c: Likewise.
25680 * math/w_lgamma_r.c: Likewise.
25681 * math/w_lgammaf.c: Likewise.
25682 * math/w_lgammaf_r.c: Likewise.
25683 * math/w_lgammal.c: Likewise.
25684 * math/w_lgammal_r.c: Likewise.
25685 * math/w_log.c: Likewise.
25686 * math/w_log10.c: Likewise.
25687 * math/w_log10f.c: Likewise.
25688 * math/w_log10l.c: Likewise.
25689 * math/w_log2.c: Likewise.
25690 * math/w_log2f.c: Likewise.
25691 * math/w_log2l.c: Likewise.
25692 * math/w_logf.c: Likewise.
25693 * math/w_logl.c: Likewise.
25694 * math/w_pow.c: Likewise.
25695 * math/w_powf.c: Likewise.
25696 * math/w_powl.c: Likewise.
25697 * math/w_remainder.c: Likewise.
25698 * math/w_remainderf.c: Likewise.
25699 * math/w_remainderl.c: Likewise.
25700 * math/w_scalb.c: Likewise.
25701 * math/w_scalbf.c: Likewise.
25702 * math/w_scalbl.c: Likewise.
25703 * math/w_sinh.c: Likewise.
25704 * math/w_sinhf.c: Likewise.
25705 * math/w_sinhl.c: Likewise.
25706 * math/w_sqrt.c: Likewise.
25707 * math/w_sqrtf.c: Likewise.
25708 * math/w_sqrtl.c: Likewise.
25709 * math/w_tgamma.c: Likewise.
25710 * math/w_tgammaf.c: Likewise.
25711 * math/w_tgammal.c: Likewise.
25713 * po/ja.po: Update from translation team.
25715 2011-09-29 Andreas Jaeger <aj@suse.de>
25718 * sunrpc/netname.c (netname2host): Fix logic.
25722 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
25724 * math/w_remainder.c (__remainder): Likewise.
25725 * math/w_remainderf.c (__remainderf): Likewise.
25726 * math/libm-test.inc (remainder_test): Add test cases.
25728 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25730 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
25733 2011-10-07 Ulrich Drepper <drepper@gmail.com>
25735 * string/test-memcmp.c: Avoid unncessary #defines.
25736 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25738 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25740 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
25741 Use new sse2 version for core i3 - i7 as it's faster
25742 than sse42 version.
25743 (bit_Prefer_PMINUB_for_stringop): New.
25744 * sysdeps/x86_64/rawmemchr.S: Update.
25745 Replace with faster SSE2 version.
25746 * sysdeps/x86_64/memrchr.S: New file.
25747 * sysdeps/x86_64/memchr.S: Update.
25748 Replace with faster SSE2 version.
25750 2011-09-12 Marek Polacek <mpolacek@redhat.com>
25752 * elf/dl-load.c (lose): Add cast to avoid warning.
25754 2011-10-07 Ulrich Drepper <drepper@gmail.com>
25756 * po/ca.po: Update from translation team.
25758 * inet/getnetgrent_r.c: Hook up nscd.
25759 * nscd/Makefile (routines): Add nscd_netgroup.
25760 (nscd-modules): Add netgroupcache.
25761 (CFLAGS-netgroupcache.c): Define.
25762 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
25763 (cache_search): Add const to second parameter.
25764 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
25766 (dbs): Add netgrdb entry.
25767 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
25768 (verify_persistent_db): Handle netgrdb.
25769 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
25770 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
25772 (netgroup_response_header): Define.
25773 (innetgroup_response_header): Define.
25774 (datahead): Add netgroup_response_header and innetgroup_response_header
25776 * nscd/nscd.conf: Add entries for netgroup cache.
25777 * nscd/nscd.h (dbtype): Add netgrdb.
25778 (_PATH_NSCD_NETGROUP_DB): Define.
25779 (netgroup_iov_disabled): Declare.
25780 (xmalloc, xcalloc, xrealloc): Move declarations here.
25781 (cache_search): Adjust prototype.
25782 Add netgroup-related prototypes.
25783 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
25784 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
25785 (__nscd_innetgr): Declare.
25786 * nscd/selinux.c (perms): Use access_vector_t as element type and
25787 add netgroup-related initializers.
25788 * nscd/netgroupcache.c: New file.
25789 * nscd/nscd_netgroup.c: New file.
25790 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
25791 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
25792 For four parameters use innetgr.
25793 * nss/nss_files/files-init.c: Add definition and callback for netgr.
25794 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
25795 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
25796 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
25798 * nscd/connections.c (register_traced_file): Don't register file
25799 for disabled databases.
25801 2011-10-06 Ulrich Drepper <drepper@gmail.com>
25803 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
25805 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
25806 from tree and freeing node.
25808 2011-09-25 Jiri Olsa <jolsa@redhat.com>
25810 * nss/nsswitch.c (__nss_database_lookup): Handle
25811 nss_parse_service_list out of memory case.
25813 2011-09-15 Jiri Olsa <jolsa@redhat.com>
25815 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
25816 out of memory case.
25818 2011-10-04 Andreas Schwab <schwab@redhat.com>
25820 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
25821 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
25823 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
25824 elf_machine_rela, elf_machine_lazy_rel.
25825 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
25826 (ELF_DYNAMIC_DO_REL): Likewise.
25827 (ELF_DYNAMIC_DO_RELA): Likewise.
25828 (ELF_DYNAMIC_RELOCATE): Likewise.
25829 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
25830 to ELF_DYNAMIC_DO_REL.
25831 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
25832 (dl_main): In trace mode always set __RTLD_NOIFUNC.
25833 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
25835 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
25836 skip_ifunc, don't call ifunc function if non-zero.
25837 (elf_machine_rela): Likewise.
25838 (elf_machine_lazy_rel): Likewise.
25839 (elf_machine_lazy_rela): Likewise.
25840 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
25841 (elf_machine_lazy_rel): Likewise.
25842 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25844 (elf_machine_lazy_rel): Likewise.
25845 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25847 (elf_machine_lazy_rel): Likewise.
25848 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
25849 (elf_machine_lazy_rel): Likewise.
25850 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
25851 (elf_machine_lazy_rel): Likewise.
25852 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25853 (elf_machine_lazy_rel): Likewise.
25854 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25855 (elf_machine_lazy_rel): Likewise.
25856 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25857 (elf_machine_lazy_rel): Likewise.
25858 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25859 (elf_machine_lazy_rel): Likewise.
25861 2011-09-28 Ulrich Drepper <drepper@gmail.com>
25863 * nss/nss_files/files-init.c (_nss_files_init): Use static
25864 initialization for all the *_traced_file variables.
25866 2011-09-28 Andreas Schwab <schwab@redhat.com>
25868 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25870 2011-09-27 Roland McGrath <roland@hack.frob.com>
25873 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
25875 2011-09-27 Andreas Schwab <schwab@redhat.com>
25877 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25878 Reread the line before reparsing it.
25880 2011-09-26 Andreas Schwab <schwab@redhat.com>
25882 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
25884 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
25885 Maxim Kuvyrkov <maxim@codesourcery.com>
25886 Joseph Myers <joseph@codesourcery.com>
25888 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
25889 if needed for __stack_chk_guard.
25891 2011-09-19 Roland McGrath <roland@hack.frob.com>
25893 * sysdeps/posix/spawni.c (script_execute): Always define it.
25894 It will be optimized away if unused.
25895 (maybe_script_execute): New function.
25896 (__spawni): Call it.
25898 * Makerules: Don't include tls.make.
25899 (config-tls): Always set to thread.
25900 * tls.make.c: File removed.
25902 2011-09-19 Mike Frysinger <vapier@gentoo.org>
25904 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
25905 * config.make.in (CPPFLAGS-config): New substituted variable.
25907 2011-09-15 Ulrich Drepper <drepper@gmail.com>
25909 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
25912 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
25913 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
25915 2011-09-15 Roland McGrath <roland@hack.frob.com>
25917 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
25918 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
25919 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25920 (CALL_FAIL): Likewise.
25921 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
25922 (CALL_FAIL): Macro removed.
25923 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
25925 2011-09-15 Ulrich Drepper <drepper@gmail.com>
25927 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
25928 for __FINITE_MATH_ONLY__ == 1.
25930 2011-09-15 Andreas Schwab <schwab@redhat.com>
25932 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
25933 __ieee754_sqrt instead of sqrt.
25934 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
25935 __ieee754_sqrtf instead of sqrtf.
25936 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
25937 __floorf instead of floorf.
25938 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
25939 __floorf, __truncf instead of floorf, truncf.
25941 2011-09-14 Ulrich Drepper <drepper@gmail.com>
25943 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
25945 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
25946 __extern_always_inline.
25947 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
25950 2011-09-14 Andreas Schwab <schwab@redhat.com>
25952 * elf/rtld.c (dl_main): Also relocate in dependency order when
25953 doing symbol dependency testing.
25955 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
25957 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25958 Always define `refsym'.
25960 2011-09-13 Andreas Schwab <schwab@redhat.com>
25962 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
25963 (__FD_ELT): Renamed from __FDELT.
25964 * misc/bits/select2.h (__FD_ELT): Likewise.
25965 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
25966 __FD_MASK instead of __FDELT, __FDMASK.
25967 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
25969 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
25972 * elf/Makefile (gen-ldd): Fix pattern.
25974 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
25975 (init_tls): Likewise.
25977 2011-09-12 Ulrich Drepper <drepper@gmail.com>
25979 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
25981 2011-09-12 Andreas Schwab <schwab@redhat.com>
25983 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
25984 `struct cmsghdr *' instead of `void *'.
25985 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
25988 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
25990 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
25992 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
25993 ldd_rewrite_script.
25995 2011-09-11 Ulrich Drepper <drepper@gmail.com>
25997 * configure.in: Remove --with-tls option.
25998 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
25999 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
26000 out in case it is missing.
26001 * sysdeps/ia64/elf/configure.in: Likewise.
26002 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
26003 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
26004 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
26005 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
26006 * sysdeps/sh/elf/configure.in: Likewise.
26007 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
26008 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26009 * sysdeps/x86_64/elf/configure.in: Likewise.
26010 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
26011 * sysdeps/mach/hurd/tls.h: Likewise.
26014 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
26017 * configure.in: Fix use of AC_INIT.
26019 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
26021 2011-09-10 Ulrich Drepper <drepper@gmail.com>
26023 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
26025 * malloc/hooks.c: Likewise.
26028 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
26029 variables statically.
26030 (narenas): Initialize.
26031 (list_lock): Initialize.
26032 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
26033 initializtion of main_arena and list_lock. Small cleanups.
26034 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
26035 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
26036 Add initializers to main_arena and mp_.
26037 (malloc_state): Remove pagesize member. Change all users to use
26040 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
26041 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
26042 is always initialized.
26044 * malloc/malloc.c: Removed unused configurations and dead code.
26045 * malloc/arena.c: Likewise.
26046 * malloc/hooks.c: Likewise.
26047 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
26049 * include/tls.h: Removed. USE___THREAD must always be defined.
26050 * bits/libc-tsd.h: Don't handle !USE___THREAD.
26051 * elf/dl-libc.c: Likewise.
26052 * elf/dl-tsd.c: Likewise.
26053 * include/errno.h: Likewise.
26054 * include/netdb.h: Likewise.
26055 * include/resolv.h: Likewise.
26056 * inet/herrno-loc.c: Likewise.
26057 * inet/herrno.c: Likewise.
26058 * malloc/arena.c: Likewise.
26059 * malloc/hooks.c: Likewise.
26060 * malloc/malloc.c: Likewise.
26061 * resolv/res-state.c: Likewise.
26062 * resolv/res_libc.c: Likewise.
26063 * sysdeps/i386/dl-machine.h: Likewise.
26064 * sysdeps/ia64/dl-machine.h: Likewise.
26065 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
26066 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26067 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26068 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26069 * sysdeps/sh/dl-machine.h: Likewise.
26070 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26071 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26072 * sysdeps/unix/i386/sysdep.S: Likewise.
26073 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26074 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26075 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26076 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26077 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26078 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26079 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26080 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26081 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26082 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26083 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26084 * sysdeps/x86_64/dl-machine.h: Likewise.
26085 * tls.make.c: Likewise.
26087 * configure.in: Remove --with-__thread option. Make tests for
26088 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
26089 tls_model attribute fail if no support is available. Remove
26091 * Makeconfig: Adjust for dropped configure option. All features are
26093 * Makerules: Likewise.
26094 * Versions.def: Likewise.
26095 * argp/argp-fmtstream.c: Likewise.
26096 * argp/argp-fmtstream.h: Likewise.
26097 * argp/argp-help.c: Likewise.
26098 * assert/assert.c: Likewise.
26099 * config.h.in: Likewise.
26100 * config.make.in: Likewise.
26101 * configure: Likewise.
26102 * configure.in: Likewise.
26103 * csu/Versions: Likewise.
26104 * csu/init.c: Likewise.
26105 * elf/tst-audit2.c: Likewise.
26106 * elf/tst-tls10.c: Likewise.
26107 * elf/tst-tls10.h: Likewise.
26108 * elf/tst-tls11.c: Likewise.
26109 * elf/tst-tls12.c: Likewise.
26110 * elf/tst-tls14.c: Likewise.
26111 * elf/tst-tlsmod11.c: Likewise.
26112 * elf/tst-tlsmod12.c: Likewise.
26113 * elf/tst-tlsmod13.c: Likewise.
26114 * elf/tst-tlsmod13a.c: Likewise.
26115 * elf/tst-tlsmod14a.c: Likewise.
26116 * elf/tst-tlsmod15b.c: Likewise.
26117 * elf/tst-tlsmod16a.c: Likewise.
26118 * elf/tst-tlsmod16b.c: Likewise.
26119 * elf/tst-tlsmod7.c: Likewise.
26120 * elf/tst-tlsmod8.c: Likewise.
26121 * elf/tst-tlsmod9.c: Likewise.
26122 * gmon/gmon.c: Likewise.
26123 * grp/fgetgrent_r.c: Likewise.
26124 * grp/putgrent.c: Likewise.
26125 * hurd/fopenport.c: Likewise.
26126 * include/libc-symbols.h: Likewise.
26127 * include/tls.h: Likewise.
26128 * intl/gettextP.h: Likewise.
26129 * intl/loadinfo.h: Likewise.
26130 * locale/global-locale.c: Likewise.
26131 * locale/localeinfo.h: Likewise.
26132 * mach/devstream.c: Likewise.
26133 * malloc/arena.c: Likewise.
26134 * malloc/set-freeres.c: Likewise.
26135 * misc/err.c: Likewise.
26136 * misc/getttyent.c: Likewise.
26137 * misc/mntent_r.c: Likewise.
26138 * posix/getopt.c: Likewise.
26139 * posix/wordexp.c: Likewise.
26140 * pwd/fgetpwent_r.c: Likewise.
26141 * resolv/Versions: Likewise.
26142 * resolv/res_hconf.c: Likewise.
26143 * shadow/fgetspent_r.c: Likewise.
26144 * shadow/putspent.c: Likewise.
26145 * stdio-common/printf_fphex.c: Likewise.
26146 * stdio-common/tmpfile.c: Likewise.
26147 * stdlib/abort.c: Likewise.
26148 * stdlib/fmtmsg.c: Likewise.
26149 * sunrpc/auth_unix.c: Likewise.
26150 * sunrpc/clnt_perr.c: Likewise.
26151 * sunrpc/clnt_tcp.c: Likewise.
26152 * sunrpc/clnt_udp.c: Likewise.
26153 * sunrpc/clnt_unix.c: Likewise.
26154 * sunrpc/openchild.c: Likewise.
26155 * sunrpc/svc_simple.c: Likewise.
26156 * sunrpc/svc_tcp.c: Likewise.
26157 * sunrpc/svc_udp.c: Likewise.
26158 * sunrpc/svc_unix.c: Likewise.
26159 * sunrpc/xdr.c: Likewise.
26160 * sunrpc/xdr_array.c: Likewise.
26161 * sunrpc/xdr_rec.c: Likewise.
26162 * sunrpc/xdr_ref.c: Likewise.
26163 * sunrpc/xdr_stdio.c: Likewise.
26165 2011-09-09 Ulrich Drepper <drepper@gmail.com>
26167 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26169 2011-07-03 Andreas Jaeger <aj@suse.de>
26171 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
26172 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
26173 regenerate with gen-libm-tests.pl.
26175 2010-05-12 Petr Baudis <pasky@suse.cz>
26178 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
26179 around j0() zero points by switching to j1().
26180 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26181 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26182 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26183 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26185 2011-09-09 Ulrich Drepper <drepper@gmail.com>
26187 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
26189 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
26191 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26192 Patch in part by Pavel Roskin <proski@gnu.org>.
26195 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
26197 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
26198 Free memory block if necessary.
26201 * libio/genops.c (INTDEF): For string streams the _lock pointer can
26202 be NULL. Don't lock in this case.
26204 2011-09-09 Roland McGrath <roland@hack.frob.com>
26206 * elf/elf.h (ELFOSABI_GNU): New macro.
26207 (ELFOSABI_LINUX): Define to that.
26209 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
26211 * string/strncat.c (strncat): Undef the symbol in case it has been
26212 defined in bits/string.h.
26214 2011-09-09 Ulrich Drepper <drepper@gmail.com>
26216 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
26218 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
26221 2011-08-17 Andreas Jaeger <aj@suse.de>
26223 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
26225 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
26226 Ian Lance Taylor <iant@google.com>
26228 * math/libm-test.inc (lround_test): New testcase.
26229 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
26231 2011-09-08 Ulrich Drepper <drepper@gmail.com>
26233 * Makefile: Remove support for automatic cvs check-ins.
26234 * Makerules: Likewise.
26235 * config.make.in: Likewise.
26236 * configure.in: Likewise.
26237 * intl/Makefile: Likewise.
26238 * locale/Makefile: Likewise.
26239 * po/Makefile: Likewise.
26240 * posix/Makefile: Likewise.
26241 * sysdeps/gnu/Makefile: Likewise.
26242 * sysdeps/mach/hurd/Makefile: Likewise.
26243 * sysdeps/sparc/sparc32/Makefile: Likewise.
26246 * posix/Makefile (bug-regex32-ENV): Define.
26247 Patch by John Stanley <jpsinthemix@verizon.net>.
26249 * misc/Makefile (headers): Add bits/select2.h.
26250 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
26251 * misc/bits/select2.h: New file.
26252 * include/bits/select2.h: New file.
26253 * debug/Makefile (routines): Add fdelt_chk.
26254 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
26255 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
26257 * debug/fdelt_chk.c: New file.
26259 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
26260 * wcsmbs/test-wmemcmp.c: Likewise.
26261 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
26262 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
26264 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26266 * string/Makefile (strop-tests): Add memcmp.
26267 * string/test-wmemcmp.c: New file.
26268 * string/test-memcmp.c: Add wmemcmp support.
26270 2011-09-08 Roland McGrath <roland@hack.frob.com>
26273 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
26276 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
26277 garbage value in a __mach_port_mod_refs call in the cases of the
26278 task-self and thread-self ports.
26280 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26282 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
26284 2011-09-08 Andreas Schwab <schwab@redhat.com>
26286 * elf/dl-load.c (lose): Check for non-null L.
26288 2011-09-07 Ulrich Drepper <drepper@gmail.com>
26290 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
26292 * elf/dl-libc.c (dlerror_run): Pass back error code from
26296 * elf/dl-load.c (lose): Free l_origin if it is valid.
26298 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
26300 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
26301 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26302 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26303 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26304 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
26305 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
26307 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26309 * sysdeps/powerpc/fpu/e_hypot.c: New file.
26310 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
26311 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
26312 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
26313 * sysdeps/powerpc/fpu/k_cosf.c: New file.
26314 * sysdeps/powerpc/fpu/k_sinf.c: New file.
26315 * sysdeps/powerpc/fpu/s_cosf.c: New file.
26316 * sysdeps/powerpc/fpu/s_sinf.c: New file.
26317 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
26318 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
26320 2011-08-15 Alan Modra <amodra@gmail.com>
26323 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
26324 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
26325 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
26326 ppc_mcount to static-only-routines.
26327 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
26329 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
26330 __mcount_internal with usual JUMPTARGET. Remove useless nop.
26332 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
26334 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
26335 for finite and infinity parameters.
26337 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26339 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
26340 and add nop instructions for throughput optimization.
26341 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26343 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
26345 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
26346 aligned copy for power7 with vector-scalar instructions.
26347 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
26349 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
26351 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
26354 2011-09-07 Andreas Schwab <schwab@redhat.com>
26357 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
26360 2011-09-07 Ulrich Drepper <drepper@gmail.com>
26362 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26363 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
26364 syscall wrapper around clock_gettime in __vdso_clock_gettime.
26365 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
26368 2011-09-06 Ulrich Drepper <drepper@gmail.com>
26370 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
26371 Forgot to demangle the pointer.
26373 * sysdeps/i386/sysdep.h: Define atom_text_section.
26374 * sysdeps/x86_64/sysdep.h: Likewise.
26375 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
26376 section with atom_text_section.
26377 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26378 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26379 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
26380 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
26381 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
26383 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
26384 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
26385 already be defined. Change to take two parameters and don't assign
26386 result to variable. Adjust all users.
26387 Define INTERNAL_GETTIME if not already defined.
26388 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
26390 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
26391 HAVE_CLOCK_GETTIME_VSYSCALL.
26392 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
26394 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
26395 gettimeofday vsyscall, just use time.
26397 2011-09-06 Andreas Schwab <schwab@redhat.com>
26399 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
26402 2011-09-06 Ulrich Drepper <drepper@gmail.com>
26404 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
26406 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
26408 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
26409 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
26410 syscall if possible.
26412 2011-09-05 Ulrich Drepper <drepper@gmail.com>
26414 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
26415 e_ident. Don't pass to find_mapsXX.
26416 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
26418 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26420 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26421 strchr-sse2-no-bsf strrchr-sse2-no-bsf
26422 * sysdeps/x86_64/multiarch/strchr.S: Update.
26423 Check bit_slow_BSF bit.
26424 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26425 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
26426 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
26428 2011-09-05 Ulrich Drepper <drepper@gmail.com>
26431 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
26433 (tryshell): Define.
26434 (__spawni): Change last parameter to be flag. Test
26435 SPAWN_XFLAGS_USE_PATH flag to use path or not.
26436 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
26437 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
26438 * posix/spawni.c: Likewise.
26439 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
26440 * posix/spawnp.c: Likewise. Change normal version to use
26441 SPAWN_XFLAGS_USE_PATH.
26442 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
26443 SPAWN_XFLAGS_TRY_SHELL.
26446 * posix/glob.h: Remove gcc 1.x support.
26449 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
26451 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26453 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26454 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
26456 * sysdeps/i386/i686/multiarch/strchr.S: New file.
26457 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
26458 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
26459 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
26460 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
26461 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
26463 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26465 * sysdeps/x86_64/wcscmp.S: New file.
26467 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
26468 wcscmp-c wcscmp-sse2
26469 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
26470 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
26471 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
26472 * wcsmbs/wcscmp.c: Allow renaming.
26474 2011-09-05 David S. Miller <davem@davemloft.net>
26476 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
26477 stack slot, rather than the struct return pointer slot.
26478 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
26479 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
26480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
26481 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
26483 2011-09-05 Ulrich Drepper <drepper@gmail.com>
26485 * po/ja.po: Update from translation team.
26488 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
26489 kernel in 64-bit binaries.
26491 2011-09-01 David S. Miller <davem@davemloft.net>
26493 * elf/elf.h (HWCAP_SPARC_*): Move to..
26494 * sysdeps/sparc/sysdep.h: this new file and add new values.
26495 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
26496 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
26497 _DL_HWCAP_COUNT to 24.
26498 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26500 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
26501 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
26502 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
26503 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
26504 instead of magic constants.
26505 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26507 2011-08-31 David S. Miller <davem@davemloft.net>
26509 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
26510 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
26511 Reimplement to do errno handling inline.
26512 (SYSCALL_ERROR_HANDLER): New macro.
26513 (__SYSCALL_STRING): Do not do errno handling in asm.
26514 (__CLONE_SYSCALL_STRING): Delete.
26515 (__INTERNAL_SYSCALL_STRING): Delete.
26516 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
26517 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
26518 (PSEUDO): Reimplement to do errno handling inline.
26519 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
26520 (SYSCALL_ERROR_HANDLER): New macro.
26521 (__SYSCALL_STRING): Do not do errno handling in asm.
26522 (__CLONE_SYSCALL_STRING): Delete.
26523 (__INTERNAL_SYSCALL_STRING): Delete.
26524 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
26525 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
26527 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
26528 (inline_syscall*): Add 'err' argument.
26529 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
26530 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
26531 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
26532 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
26534 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
26535 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26537 2011-08-30 Andreas Schwab <schwab@redhat.com>
26539 * elf/rtld.c (dl_main): Relocate objects in dependency order.
26541 2011-08-29 Jiri Olsa <jolsa@redhat.com>
26543 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
26546 2011-08-24 David S. Miller <davem@davemloft.net>
26548 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
26550 2011-08-24 Andreas Schwab <schwab@redhat.com>
26552 * elf/Makefile: Add rules to build and run unload8 test.
26553 * elf/unload8.c: New file.
26554 * elf/unload8mod1.c: New file.
26555 * elf/unload8mod1x.c: New file.
26556 * elf/unload8mod2.c: New file.
26557 * elf/unload8mod3.c: New file.
26559 * elf/dl-close.c (_dl_close_worker): Reset private search list if
26562 2011-08-23 David S. Miller <davem@davemloft.net>
26564 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
26565 subtract stack bias.
26566 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
26567 %sp not %fp in calculations.
26568 (_JMPBUF_UNWINDS_ADJ): Likewise.
26570 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
26571 (aio_suspend): Call it to force an exception region around the
26572 AIO_MISC_WAIT() invocation.
26574 2011-08-23 Andreas Schwab <schwab@redhat.com>
26576 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
26579 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
26581 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
26583 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
26584 and <dl-machine.h>.
26585 (Elf64_FuncDesc): Remove.
26587 2011-08-22 David S. Miller <davem@davemloft.net>
26589 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
26590 sigaltstack check, add missing cfi directives.
26591 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
26592 missing cfi directives, and sigaltstack handling.
26594 2011-08-16 Andreas Schwab <schwab@redhat.com>
26597 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
26598 object is seen twice.
26599 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26601 * elf/Makefile (distribute): Add tst-initorder2.c.
26602 (tests): Add tst-initorder2.
26603 (modules-names): Add tst-initorder2a tst-initorder2b
26604 tst-initorder2c tst-initorder2d. Add rules to build them.
26605 ($(objpfx)tst-initorder2.out): New rule.
26606 * elf/tst-initorder2.c: New file.
26607 * elf/tst-initorder2.exp: New file.
26609 2011-08-22 Andreas Schwab <schwab@redhat.com>
26611 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
26613 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
26614 dependencies back to end of function.
26616 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26617 $(elfobjdir)/ld.so.
26619 2011-08-21 Ulrich Drepper <drepper@gmail.com>
26621 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
26622 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
26623 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
26624 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
26625 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
26626 of __vdso_gettimeofday.
26627 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
26628 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
26630 (_libc_vdso_platform_setup): Remove initialization of
26631 __vdso_gettimeofday and __vdso_time.
26633 2011-08-20 Ulrich Drepper <drepper@gmail.com>
26635 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
26636 and fgetc_unlocked.
26637 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
26640 * elf/dl-open.c (add_to_global): Report additions to the global scope
26641 for LD_DEBUG=scopes.
26642 (dl_open_worker): Also print scope of newly loaded dependencies.
26643 (_dl_show_scope): Indicate if there is no scope.
26646 * stdio-common/Makefile (tests): Add bug24.
26647 * stdio-common/bug24.c: New file.
26649 2011-08-19 Andreas Jaeger <aj@suse.de>
26652 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
26653 non-existant file when using close-on-exec mode.
26655 2011-08-20 Ulrich Drepper <drepper@gmail.com>
26657 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
26658 the very first instruction.
26660 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
26661 the CFI state in the end.
26662 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
26663 inclusion of dl-trampoline.h.
26664 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
26666 2011-08-19 Andreas Schwab <schwab@redhat.com>
26668 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
26669 expectations for long double.
26671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
26672 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
26674 2011-08-14 David S. Miller <davem@davemloft.net>
26676 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
26677 artificual limit depends upon the system page size.
26679 2011-08-17 Ulrich Drepper <drepper@gmail.com>
26681 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
26682 * resolv/Makefile: Define CFLAGS-libresolv.
26684 2011-08-17 Andreas Schwab <schwab@redhat.com>
26686 * nss/makedb.c (compute_tables): Make variables used in nested
26689 2011-08-17 Ulrich Drepper <drepper@gmail.com>
26691 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
26692 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
26693 if buffer was too small.
26695 * elf/pldd.c (main): Attach to all threads in the process.
26696 Rewrite /proc handling to use *at functions.
26698 2011-08-16 Ulrich Drepper <drepper@gmail.com>
26700 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
26701 specifies first scope to show.
26702 (dl_open_worker): Update callers. Move printing scope of new
26703 object to before the relocation.
26704 * elf/rtld.c (dl_main): Update _dl_show_scope call.
26705 * sysdeps/generic/ldsodefs.h: Update declaration.
26707 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
26708 string for the scope number.
26710 2011-08-14 Ulrich Drepper <drepper@gmail.com>
26712 * nscd/servicescache.c (cache_addserv): Make sure written is always
26715 2011-08-14 Roland McGrath <roland@hack.frob.com>
26717 * sysdeps/i386/i486/bits/atomic.h
26718 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
26719 statement expression, so as to suppress "set but not used" warning.
26720 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
26722 * string/strncat.c (STRNCAT): Use prototype definition.
26724 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
26725 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
26727 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
26728 (localedef-modules): Add localedef.
26729 (locale-modules): Add locale.
26731 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
26732 * elf/rtld.c (dl_main): Invert order of assignment in last change,
26733 to avoid a warning.
26735 2011-08-14 David S. Miller <davem@davemloft.net>
26737 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
26738 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
26740 2011-08-13 Ulrich Drepper <drepper@gmail.com>
26742 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
26743 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
26744 * elf/rtld.c (dl_main): Set l_name of vDSO.
26745 Call _dl_show_scope when DL_DEBUG_SCOPES.
26746 (process_dl_debug): Recognize scopes flag and also set it for all.
26747 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
26748 Declare _dl_show_scope.
26750 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
26751 (do_dlopen): Pass caller_dlopen to dl_open.
26752 (__libc_dlopen_mode): Initialize caller_dlopen.
26754 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
26755 of libc. Make tolower call locale-independent. Optimize a bit by
26756 using isdigit instead of isalnum.
26757 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
26759 2011-08-12 Ulrich Drepper <drepper@gmail.com>
26761 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
26762 was a dependency or dynamically loaded.
26764 2011-08-11 Ulrich Drepper <drepper@gmail.com>
26766 * intl/l10nflist.c: Allow architecture-specific pop function.
26767 * sysdeps/x86_64/l10nflist.c: New file.
26769 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
26772 2011-08-10 Andreas Schwab <schwab@redhat.com>
26774 * include/dirent.h: Add libc_hidden_proto for scandirat and
26775 scandirat64. Don't declare __scandirat64.
26776 * dirent/scandirat.c: Add libc_hidden_def.
26777 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
26778 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
26780 2011-08-10 David S. Miller <davem@davemloft.net>
26782 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
26784 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26785 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26786 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26788 2011-08-09 Ulrich Drepper <drepper@gmail.com>
26790 * Versions.def [libc]: Add GLIBC_2.15.
26791 * dirent/Makefile (routines): Add scandirat and scandirat64.
26792 * dirent/Versions [libc]: Export scandirat and scandirat64 for
26794 * dirent/dirent.h: Declare scandirat and scandirat64.
26795 * dirent/scandirat.c: New file.
26796 * dirent/scandirat64.c: New file.
26797 * sysdeps/wordsize-64/scandirat.c: New file.
26798 * sysdeps/wordsize-64/scandirat64.c: New file.
26799 * dirent/opendir.c: Define opendirat.
26800 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
26802 * dirent/scandir64.c: Adjust for scandir.c change.
26803 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
26804 __scandirat64, and __scandir_cancel_handler.
26805 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
26806 additional parameter and use openat instead of open (outside of ld.so).
26807 Add new __opendir as wrapper around __opendirat.
26808 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
26809 here without requiring old scandirat implementation.
26811 2011-08-08 Ulrich Drepper <drepper@gmail.com>
26813 * dirent/scandir.c (cancel_handler): Renamed to
26814 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
26815 defined. Adjust users.
26816 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
26817 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
26819 2011-08-04 Ulrich Drepper <drepper@gmail.com>
26821 * string/test-string.h (IMPL): Use __STRING to expand name and then
26824 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
26827 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26829 * string/Makefile: Update.
26830 (strop-tests): Append strncat.
26831 * string/test-wcscmp.c: New file.
26832 New comprehensive test for wcscmp.
26833 * string/test-strcmp.c: Update.
26834 (WIDE): New define.
26836 2011-07-22 Andreas Schwab <schwab@redhat.com>
26838 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
26841 2011-07-26 Andreas Schwab <schwab@redhat.com>
26843 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26844 encoding to ACE if AI_IDN.
26846 2011-08-01 Jakub Jelinek <jakub@redhat.com>
26848 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
26849 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
26851 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26853 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
26854 Fix overflow bug in strncat.
26855 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26857 * string/test-strncat.c: Update.
26858 Add new tests for checking overflow bugs.
26860 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26862 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26863 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
26864 * sysdeps/i386/i686/multiarch/strcat.S: New file.
26865 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
26866 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
26867 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
26868 * sysdeps/i386/i686/multiarch/strncat.S: New file.
26869 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
26870 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
26872 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
26873 (USE_AS_STRCAT): Define.
26874 Add strcat and strncat support.
26875 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26877 2011-07-25 Andreas Schwab <schwab@redhat.com>
26879 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
26880 __n bigger than INT_MAX+1.
26881 (__strncmp_g): Likewise.
26883 2011-07-23 Ulrich Drepper <drepper@gmail.com>
26885 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
26886 * libio/stido.h: Likewise.
26888 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
26890 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
26893 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
26894 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26895 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26896 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
26897 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26900 * scripts/test-installation.pl: Don't expect libnss_test1 to be
26903 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
26905 (_dl_x86_64_save_sse): Likewise.
26907 2011-07-22 Ulrich Drepper <drepper@gmail.com>
26909 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
26911 (_dl_x86_64_save_sse): Likewise.
26913 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
26915 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
26917 2011-07-21 Andreas Schwab <schwab@redhat.com>
26919 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
26921 (_dl_x86_64_save_sse): Use correct AVX check.
26923 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26925 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
26926 bug in strncpy/strncat.
26927 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
26929 2011-07-21 Ulrich Drepper <drepper@gmail.com>
26931 * string/tester.c (test_strcat): Add tests for different alignments
26932 of source and destination.
26933 (test_strncat): Likewise.
26935 2011-07-20 Ulrich Drepper <drepper@gmail.com>
26938 * posix/glob.c (glob): Check passed in values before using them in
26939 expressions to avoid some overflows.
26940 (glob_in_dir): Likewise.
26943 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
26944 check for AVX enablement so that we don't crash with old kernels and
26946 * elf/tst-audit4.c: Add same checks here.
26947 * elf/tst-audit6.c: Likewise.
26949 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
26951 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
26953 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
26955 2011-07-20 Ulrich Drepper <drepper@gmail.com>
26957 * po/cs.po: Update from translation team.
26958 * po/bg.po: Likewise.
26960 2011-07-12 Marek Polacek <mpolacek@redhat.com>
26962 * misc/sys/cdefs.h: Add support for const attribute.
26963 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
26964 to gnu_dev_{major,minor,makedev} functions.
26966 2011-07-20 Marek Polacek <mpolacek@redhat.com>
26968 * intl/dcigettext.c (get_output_charset): Add missing bracket.
26970 2011-07-20 Andreas Schwab <schwab@redhat.com>
26972 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
26975 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26977 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
26978 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
26979 register in order to avoid conflicts with the soft frame pointer
26980 being held in r11 when necessary.
26981 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26982 (INTERNAL_VSYSCALL_NCS): Likewise.
26984 2011-07-14 Marek Polacek <mpolacek@redhat.com>
26986 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
26987 * elf/dl-fini.c (_dl_fini): Adjust caller.
26988 * elf/dl-close.c (_dl_close_worker): Likewise.
26989 * sysdeps/generic/ldsodefs.h: Adjust declaration.
26991 2011-07-15 Marek Polacek <mpolacek@redhat.com>
26993 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
26994 "aux_cache->nlibs < 0".
26996 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
26997 in the reload-count case.
26999 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27001 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27002 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
27003 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
27004 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
27005 * sysdeps/x86_64/multiarch/strcat.S: New file.
27006 * sysdeps/x86_64/multiarch/strncat.S: New file.
27007 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
27008 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
27009 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
27010 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
27011 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
27012 (USE_AS_STRCAT): Define.
27013 Add strcat and strncat support.
27014 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27015 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27016 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
27017 * string/strncat.c: Update.
27018 (USE_AS_STRNCAT): Define.
27019 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27020 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
27022 * sysdeps/x86_64/multiarch/init-arch.h
27023 (bit_Prefer_PMINUB_for_stringop): New.
27024 (index_Prefer_PMINUB_for_stringop): Likewise.
27025 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
27026 bit_Prefer_PMINUB_for_stringop.
27028 2011-07-19 Ulrich Drepper <drepper@gmail.com>
27030 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
27032 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
27033 of casting of buffer.
27034 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
27035 buffer32 and buffer64.
27036 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
27037 writes instead of casting of buffer.
27038 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
27040 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
27043 2011-07-19 Andreas Schwab <schwab@redhat.com>
27045 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
27047 2011-07-19 Ulrich Drepper <drepper@gmail.com>
27049 * nscd/nscd.c (termination_handler): Don't do anything for a database
27050 if it has not yet been initialized.
27052 2011-07-18 Ulrich Drepper <drepper@gmail.com>
27054 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27056 2011-07-15 Marek Polacek <mpolacek@redhat.com>
27058 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27060 2011-07-18 Ulrich Drepper <drepper@gmail.com>
27062 * po/nl.po: Update from translation team.
27063 * po/sv.po: Likewise.
27065 2011-07-16 Roland McGrath <roland@hack.frob.com>
27067 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
27068 now disallowed by GCC.
27070 * configure.in (use-default-link): Default to yes if a test -shared
27071 link meets our qualifications.
27072 * configure: Regenerated.
27074 * config.make.in (output-format): New variable.
27075 * configure.in: Check for ld --print-output-format support.
27076 * configure: Regenerated.
27077 * Makerules ($(common-objpfx)format.lds)
27078 [$(output-format) != unknown]: Just use $(output-format),
27079 instead of the linker-script munging.
27081 2011-07-14 Roland McGrath <roland@hack.frob.com>
27083 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
27084 of $(common-objpfx)shlib.lds.
27085 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
27087 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
27088 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
27090 * configure.in (-z relro check): Adjust test code to add a large
27091 writable data section after it.
27092 * configure: Regenerated.
27094 2011-07-11 Roland McGrath <roland@hack.frob.com>
27096 * configure.in (-z relro check): Fix test code to make the variable
27098 * configure: Regenerated.
27100 2011-07-11 Ulrich Drepper <drepper@gmail.com>
27102 * nscd/nscd.h (struct traced_file): Define.
27103 (struct database_dyn): Remove inotify_descr, reset_res, and filename
27104 elements. Add traced_files.
27105 (inotify_fd): Declare.
27106 (register_traced_file): Declare.
27107 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
27108 (inotify_fd): Export.
27109 (resolv_conf_descr): Remove.
27110 (nscd_init): Move inotify descriptor creation to main.
27111 Don't register files for notification here.
27112 (register_traced_file): New function.
27113 (invalidate_cache): Don't use reset_res to determine whether to call
27114 res_init, go through the list of registered files.
27115 (main_loop_poll): The inotify descriptors are now stored in the
27116 structures for the traced files.
27117 (main_loop_epoll): Likewise
27118 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
27119 to __nss_disable_nscd.
27120 * nscd/cache.c (prune_cache): There is no single inotify descriptor
27121 for a database anymore. Check the records for all the registered
27123 * nss/Makefile (libnss_files-routines): Add files-init.
27124 (libnss_db-routines): Add db-init.
27125 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
27126 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
27127 * nss/nss_db/db-init.c: New file.
27128 * nss/nss_files/files-init.c: New file.
27129 * nss/nsswitch.c (nss_load_library): New function. Broken out of
27130 __nss_lookup_function.
27131 (__nss_lookup_function): Call nss_load_library.
27132 (nss_load_all_libraries): New function.
27133 (__nss_disable_nscd): Take parameter with callback function for files
27134 to register. Set is_nscd. Load all the DSOs for the NSS modules
27135 used for the cached services.
27136 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
27137 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
27138 options for features to all the files in nscd.
27140 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
27142 2011-07-10 Roland McGrath <roland@hack.frob.com>
27144 * csu/elf-init.c (__libc_csu_init): Comment typo.
27146 2011-07-09 Ulrich Drepper <drepper@gmail.com>
27148 * po/pl.po: Update from translation team.
27149 * po/ja.po: Likewise.
27150 * po/ru.po: Likewise.
27151 * po/ko.po: Likewise.
27152 * po/fr.po: Likewise.
27154 2011-07-09 Roland McGrath <roland@hack.frob.com>
27156 * configure.in (.ctors/.dtors header and trailer check):
27157 Use an empirical test on a built program.
27158 * configure: Regenerated.
27160 * configure.in (-z relro check): Use an empirical test on a built DSO.
27161 Detect, but do not require, on ia64.
27162 * configure: Regenerated.
27164 * configure.in (READELF): Find it with AC_CHECK_TOOL.
27165 Update tests that use readelf to use $READELF instead.
27166 * configure: Regenerated.
27168 2011-07-08 Ulrich Drepper <drepper@gmail.com>
27170 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
27171 if the result is not used.
27173 2011-07-05 Andreas Jaeger <aj@suse.de>
27176 * stdlib/tst-strtod.c: Add testcase.
27178 2011-07-07 Ulrich Drepper <drepper@gmail.com>
27180 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
27181 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
27182 The latter has a higher limit. Take additional parameter to pass to
27184 (__pathconf): Pass file to __statfs_link_max.
27185 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
27187 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
27191 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
27192 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27194 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
27195 (__statfs_filesize_max): Likewise.
27196 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
27198 2011-07-05 Andreas Jaeger <aj@suse.de>
27200 * resolv/res_comp.c (dn_skipname): Remove unused variable.
27202 2011-07-06 Marek Polacek <mpolacek@redhat.com>
27204 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
27206 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
27209 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
27211 * Makefile (strop-tests): Add strncat.
27212 * string/test-strncat.c: New file.
27214 2011-06-30 Marek Polacek <mpolacek@redhat.com>
27216 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
27218 2011-06-21 Andreas Jaeger <aj@suse.de>
27220 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
27221 Copy rule from iconvdata/Makefile.
27223 2011-07-06 Ulrich Drepper <drepper@gmail.com>
27226 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
27227 but no long options are defined, just return 'W'.
27229 2011-06-22 Marek Polacek <mpolacek@redhat.com>
27232 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
27234 2011-07-06 Ulrich Drepper <drepper@gmail.com>
27236 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
27238 (innetgr): Likewise.
27240 2011-07-05 Roland McGrath <roland@hack.frob.com>
27242 * config.make.in (install_root): Default to $(DESTDIR).
27244 2011-07-05 Ulrich Drepper <drepper@gmail.com>
27246 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
27248 2011-07-02 Roland McGrath <roland@hack.frob.com>
27250 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
27252 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
27253 containing directory rather than embedding absolute directory names.
27255 * scripts/check-local-headers.sh: Rewritten using awk.
27256 Match by word, not by line. Print error messages for matches.
27257 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
27259 * Makerules [shlib-lds-flags empty]:
27260 ($(common-objpfx)libc_pic.opts): New target.
27261 ($(common-objpfx)libc_pic.os.clean): New target.
27262 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
27264 * config.make.in (OBJCOPY): New variable.
27265 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
27266 * configure: Regenerated.
27268 * config.make.in (use-default-link): New variable.
27269 * configure.in (use_default_link): Grok --with-default-link to set it.
27270 * configure: Regenerated.
27271 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
27272 (shlib-lds, shlib-lds-flags): Define to empty.
27274 * Makerules (shlib-lds): New variable.
27275 (shlib-lds-flags): New variable.
27276 (build-shlib, build-moduile, build-module-asneeded): Use it.
27277 ($(common-objpfx)libc.so): Use $(shlib-lds).
27278 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
27279 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
27281 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
27282 DT_FLAGS/DT_FLAGS_1 with zero flags.
27284 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
27285 linker script munging.
27287 2011-07-02 Ulrich Drepper <drepper@gmail.com>
27289 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
27291 * crypt/sha512.c (sha512_process_block): Perform total addition using
27292 128-bit if possible.
27293 (__sha512_finish_ctx): Likewise.
27294 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
27296 * crypt/sha256.c (SWAP64): Define.
27297 (sha256_process_block): Perform total addition using 64-bit if
27299 (__sha256_finish_ctx): Likewise.
27301 2011-07-01 Ulrich Drepper <drepper@gmail.com>
27303 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
27304 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27305 * nscd/hstcache.c (cache_addhst): Likewise.
27306 * nscd/grpcache.c (cache_addgr): Likewise.
27307 * nscd/aicache.c (addhstaiX): Likewise
27308 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
27310 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
27312 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
27313 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27314 * nscd/hstcache.c (cache_addhst): Likewise.
27315 * nscd/grpcache.c (cache_addgr): Likewise.
27316 * nscd/aicache.c (addhstaiX): Likewise
27318 2011-07-01 Andreas Schwab <schwab@redhat.com>
27320 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
27321 domain only when needed.
27323 2011-06-30 Andreas Schwab <schwab@redhat.com>
27325 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
27326 is always restored.
27328 2011-06-29 Ulrich Drepper <drepper@gmail.com>
27330 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
27331 are re-adding the entry.
27332 * nscd/servicescache.c (cache_addserv): Likewise.
27334 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
27336 * sysdeps/generic/dl-irel.h: fix protection against multiple
27338 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
27340 2011-06-28 Ulrich Drepper <drepper@gmail.com>
27343 * malloc/memusage.sh: Fix quoting in message.
27344 * debug/xtrace.sh: Likewise.
27346 * configure.in: Remove support for --experimental-malloc option, make
27348 * config.make.in: Likewise.
27349 * malloc/Makefile: Likewise.
27351 2011-06-27 Andreas Schwab <schwab@redhat.com>
27353 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
27354 two-byte characters.
27356 2011-06-27 Roland McGrath <roland@hack.frob.com>
27358 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
27359 AC_CACHE_CHECK invocation.
27360 * configure: Regenerated.
27362 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
27364 2011-06-27 Ulrich Drepper <drepper@gmail.com>
27367 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
27368 bit from old_res_options.
27370 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
27372 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
27373 value type for setfct.
27375 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
27377 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
27378 __gettimeofday instead of gettimeofday.
27380 2011-06-26 Ulrich Drepper <drepper@gmail.com>
27382 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
27384 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
27386 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
27388 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
27391 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
27393 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27394 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
27395 strcpy-sse2-unaligned strncpy-sse2-unaligned
27396 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
27397 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
27398 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
27399 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
27400 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
27401 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
27402 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
27403 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
27404 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
27405 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
27406 (STRCPY): Support SSE2 and SSSE3 versions.
27408 2011-06-24 Ulrich Drepper <drepper@gmail.com>
27411 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
27412 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
27413 kernels which artificially limit size of requests.
27415 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
27417 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27418 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
27419 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
27420 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
27421 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
27422 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
27423 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
27424 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
27425 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
27426 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
27427 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
27428 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
27429 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
27430 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
27431 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
27432 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27433 Enable unaligned load optimization for Intel Core i3, i5 and i7
27435 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
27437 (index_Fast_Unaligned_Load): Define.
27438 (HAS_FAST_UNALIGNED_LOAD): Define.
27440 2011-06-23 Marek Polacek <mpolacek@redhat.com>
27442 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
27444 2011-06-22 Ulrich Drepper <drepper@gmail.com>
27447 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
27448 until it is clear that the information is realy needed.
27449 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
27451 2011-06-22 Andreas Schwab <schwab@redhat.com>
27453 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
27455 2011-06-22 Ulrich Drepper <drepper@gmail.com>
27457 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
27458 /sys/devices/system/cpu/online if it is usable.
27460 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
27461 reading the information from the /proc filesystem to once a second.
27463 2011-06-21 Andreas Jaeger <aj@suse.de>
27465 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
27466 NULL after inclusion of kernel headers.
27468 2011-06-21 Ulrich Drepper <drepper@gmail.com>
27470 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
27471 calls to internal_setent.
27474 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
27475 addresses using gethostbyname4_r ignore IPv4 addresses.
27477 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
27478 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
27480 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
27482 2011-06-20 David S. Miller <davem@davemloft.net>
27484 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
27486 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
27488 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
27489 (elf_irel): Use it.
27490 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
27491 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
27492 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
27493 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
27494 * sysdeps/x86_64/dl-irel.h: Likewise.
27496 * elf/dl-runtime.c: Use elf_ifunc_invoke.
27497 * elf/dl-sym.c: Likewise.
27499 2011-06-15 Ulrich Drepper <drepper@gmail.com>
27501 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
27502 need to dereference resplen2.
27504 2011-06-14 Andreas Schwab <schwab@redhat.com>
27506 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
27508 2011-06-15 Ulrich Drepper <drepper@gmail.com>
27510 * Makeconfig: Define vardbdir and inst_vardbdir.
27511 * nss/Makefile: Add rules to install db-Makefile.
27513 * nss/nss_db/db-XXX.c: Cleanup.
27515 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
27516 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
27518 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
27519 * nss/makedb.c: Implement -g option to specify that value strings
27520 are generated and should not be added to table iterated over for
27522 * nss/nss_db/db-initgroups.c: New file.
27524 * nss/getent.c: Add support for initgroups lookups through getgrouplist
27527 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
27528 (internal_getgrouplist): Adjust to name change.
27529 Update use_initgroups_entry if this is not the first call.
27530 * nss/databases.def: Add initgroups entry.
27532 * nss/makedb.c (compute_tables): Check result of multiple hash table
27533 sizes to minimize maximum chain length.
27535 2011-06-14 Ulrich Drepper <drepper@gmail.com>
27537 * Versions.def: Add entry for libnss_db.
27538 * shlib-versions: Likewise.
27539 * nss/Makefile: Add rules to build libnss_db.
27540 * nss/Versions: Add libnss_db information. Organize libnss_files
27542 * nss/db-Makefile: Add gshadow support. Change rules for the new
27543 makedb progra. Some minor improvements to generate smaller files.
27544 * nss/nss_db/nss_db.h: Move NSS database header data structures to
27546 * nss/makedb.c: ...here.
27547 Improve database format to be smaller and require less memory at
27549 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
27551 * nss/nss_db/db-netgrp.c: Likewise.
27552 * nss/nss_db/db-open.c: Likewise.
27553 * nss/nss_files/flies-XXX.x: Adjust comments.
27554 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
27555 * nss/nss_files/files-grp.c: Likewise.
27556 * nss/nss_files/files-hosts.c: Likewise.
27557 * nss/nss_files/files-network.c: Likewise.
27558 * nss/nss_files/files-proto.c: Likewise.
27559 * nss/nss_files/files-pwd.c: Likewise.
27560 * nss/nss_files/files-rpc.c: Likewise.
27561 * nss/nss_files/files-service.c: Likewise.
27562 * nss/nss_files/files-sgrp.c: Likewise.
27563 * nss/nss_files/files-spwd.c: Likewise.
27564 * nss/nss_db/db-alias.c: Removed.
27565 * nss/nss_db/dummy-db.h: Removed.
27567 2011-06-02 Ulrich Drepper <drepper@gmail.com>
27569 * nss/makedb.c: Rewritten to not use database library.
27570 * nss/Makefile: Update to build new makedb program.
27572 2011-06-14 Andreas Jaeger <aj@suse.de>
27574 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
27575 memset declaration.
27577 2011-06-10 Andreas Schwab <schwab@redhat.com>
27579 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
27582 2011-06-10 Roland McGrath <roland@hack.frob.com>
27584 * Makerules (shlib.lds): Fail if the linker script comes out empty.
27585 * elf/Makefile ($(objpfx)ld.so): Likewise.
27587 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
27588 Don't list ld.so twice in dependencies.
27590 * posix/bug-regex31.c: Include <stdlib.h>.
27592 * nscd/hstcache.c (cache_addhst): Remove unused variable.
27594 * nis/nss_compat/compat-spwd.c
27595 (getspent_next_nss_netgr): Remove unused variable.
27596 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
27598 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
27599 nonmembers" output to use the right array.
27601 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
27603 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
27605 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
27606 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
27607 * catgets/gencat.c (read_input_file): Likewise.
27608 * locale/programs/locarchive.c (enlarge_archive): Likewise.
27610 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
27611 variable definition inside #if's controlling its use.
27613 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
27615 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
27617 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
27619 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
27622 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
27624 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
27625 * configure: Regenerated.
27627 * Makerules: Revert last change.
27628 * elf/Makefile: Likewise.
27630 2011-06-09 Roland McGrath <roland@hack.frob.com>
27632 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
27633 * elf/Makefile ($(objpfx)librtld.os): Likewise.
27634 (reloc-link): Likewise.
27636 2011-06-09 Ulrich Drepper <drepper@gmail.com>
27638 * elf/Makefile: Add rules to build pldd.
27639 * elf/pldd.c: New file.
27640 * elf/pldd-xx.c: New file.
27642 2011-06-07 Ulrich Drepper <drepper@gmail.com>
27644 * version.h: Update for 2.15 development version.
27646 2011-06-07 David S. Miller <davem@davemloft.net>
27648 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
27650 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
27651 elf_machine_lazy_rel): Likewise.
27652 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
27653 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
27654 elf_machine_lazy_rel): Likewise.
27655 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
27656 dl_hwcap via passed in argument.
27657 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
27660 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27662 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
27664 2011-06-06 Roland McGrath <roland@hack.frob.com>
27667 * manual/fdl-1.1.texi: New file, verbatim from:
27668 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
27669 * manual/lgpl-2.1.texi: New file, verbatim from:
27670 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
27671 * manual/Makefile (licenses): New variable, list those new file names.
27673 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
27675 * manual/fdl.texi: File removed.
27676 * manual/lesser.texi: File removed.
27677 * manual/libc.texinfo (Copying, Documentation License):
27678 Use new @include file names, put @appendix directive before @include.
27680 2011-06-04 Jakub Jelinek <jakub@redhat.com>
27683 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
27684 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
27685 (mq_open): Add __NTH.
27687 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
27689 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27690 Assume Intel Core i3/i5/i7 processor if AVX is available.
27692 2011-05-31 Ulrich Drepper <drepper@gmail.com>
27694 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27697 2011-05-31 Andreas Schwab <schwab@redhat.com>
27699 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
27700 memory. Use alloca_account. Fix memory leak when retrying.
27702 2011-05-31 Ulrich Drepper <drepper@gmail.com>
27704 * version.h (RELEASE): Bump for 2.14 release.
27705 * include/features.h (__GLIBC_MINOR__): Bump to 14.
27707 * config.make.in (RANLIB): Remove entry.
27709 2011-05-30 Ulrich Drepper <drepper@gmail.com>
27711 * po/Makefile (po-sed-cmd): Add ksh to extensions.
27712 (libc.pot): Work around missing support for .ksh extension in xgettext.
27715 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
27716 if both request failed.
27717 (send_dg): In case of server errors clear resplen or *resplen2.
27720 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
27721 when there are multiple maps.
27722 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
27723 (_dl_fini): Remove test here.
27725 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
27727 2011-05-29 Ulrich Drepper <drepper@gmail.com>
27730 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
27731 bit from old_res_options.
27732 (gaih_inet): Likewise.
27735 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
27738 * resolv/res_init.c (res_setoptions): Make the code more compact.
27741 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
27745 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
27747 * malloc/malloc.h: Mark malloc hook variables as deprecated.
27750 * malloc/malloc.h: Declare malloc hook variables as volatile.
27752 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
27756 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
27757 raise in the comment.
27758 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27759 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27760 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
27762 2011-05-28 Ulrich Drepper <drepper@gmail.com>
27765 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
27766 grow the buffers more if it already has to be sufficient.
27767 (build_wcs_upper_buffer): Likewise.
27768 * posix/regexec.c (check_matching): Likewise.
27769 (clean_state_log_if_needed): Likewise.
27770 (extend_buffers): Don't enlarge buffers beyond size of the input
27772 Patches mostly by Emil Wojak <emil@wojak.eu>.
27773 * posix/bug-regex32.c: New file.
27774 * posix/Makefile (tests): Add bug-regex32.
27776 * locale/findlocale.c (_nl_find_locale): Return right away if
27777 _nl_explode_name failed.
27778 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27780 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
27782 * debug/xtrace.sh: Unify messages.
27783 * malloc/memusage.sh: Likewise.
27786 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
27787 time symbol from vDSO. Substitute with vsyscall if not available.
27788 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
27791 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
27792 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
27793 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
27794 Add sendmmsg and internal_sendmmsg.
27795 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
27796 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
27797 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
27799 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
27800 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
27801 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
27803 2011-05-27 Ulrich Drepper <drepper@gmail.com>
27806 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
27807 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
27809 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
27813 * iconvdata/Makefile (tests): Add bug-iconv9.
27814 * iconvdata/bug-iconv9.c: New file.
27816 2011-05-27 Andreas Schwab <schwab@redhat.com>
27819 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
27821 2011-05-25 Jakub Jelinek <jakub@redhat.com>
27823 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27824 (struct user_regs_struct): Change intcs field back to cs.
27826 2011-05-25 Ulrich Drepper <drepper@gmail.com>
27828 * po/ja.po: Update from translation team.
27830 2011-05-23 Ulrich Drepper <drepper@gmail.com>
27833 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
27834 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
27836 2011-05-20 Andreas Schwab <schwab@redhat.com>
27838 * stdlib/longlong.h: Update from GCC.
27840 2011-05-23 Andreas Schwab <schwab@redhat.com>
27842 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
27844 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
27845 Add parameter name.
27846 (__sysconf): Pass it down.
27848 2011-05-22 Ulrich Drepper <drepper@gmail.com>
27851 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
27853 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27854 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
27855 add in in __libc_use_alloca calls. Adjust callers.
27856 (glob): Use malloc in some situations.
27858 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
27859 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
27862 2011-05-21 Ulrich Drepper <drepper@gmail.com>
27864 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
27865 and CLOCK_BOOTTIME_ALARM.
27868 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
27871 * string/_strerror.c (__strerror_r): Print negative errors as signed
27875 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
27876 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
27877 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
27879 * configure.in: Fix typo in redirection and correct removal of test
27880 files in two cases.
27883 * locale/setlocale.c (new_composite_name): Fix test to check for
27884 identical name of all categories.
27887 * libio/filedoalloc.c (local_isatty): New function.
27888 (_IO_file_doallocate): Use local_isatty.
27889 * stdio-common/perror.c (perror): In case a new stream is used
27890 forward the stream error.
27891 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
27894 2011-05-20 Ulrich Drepper <drepper@gmail.com>
27897 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
27899 * include/alloca.h (extend_alloca_account): Define.
27902 * posix/regex.h: Fix comments with documentation of user-accessible
27903 fields after compilation and describe correct free'ing of pattern
27904 after re_compile_pattern.
27905 Patch by Reuben Thomas <rrt@sc3d.org>.
27907 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
27909 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
27910 and -mno-altivec to prevent the compiler from using Altivec and/or
27911 VSX instructions when the corresponding registers are not available.
27913 2011-05-19 Andreas Schwab <schwab@redhat.com>
27915 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
27917 2011-05-19 Ulrich Drepper <drepper@gmail.com>
27919 * libio/freopen.c (freopen): Use __dup2, not dup2.
27920 * libio/freopen64.c (freopen64): Likewise.
27922 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
27925 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
27926 * math/Makefile (tests): Add test-powl.
27927 (CFLAGS-test-powl.c): Define.
27928 * math/test-powl.c: New file.
27930 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
27932 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
27934 2011-05-17 Ulrich Drepper <drepper@gmail.com>
27937 * iconvdata/gb18030.c: Update to GB18020-2005.
27939 2011-05-16 Ulrich Drepper <drepper@gmail.com>
27941 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
27942 RE_SYNTAX_POSIX_AWK): Update to match recent development.
27943 Patch by Aharon Robbins <arnold@skeeve.com>.
27946 * stdlib/putenv.c (putenv): Don't always create copy of the variable
27950 * misc/pselect.c (__pselect): Handle timeout value errors hidden
27951 through underflows.
27954 * misc/error.c (error_at_line): Ensure file_name and old_file_name
27955 point to strings before performing equality test for error_one_per_line
27959 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
27962 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27963 (struct user_fpregs_struct): Avoid __uint*_t types.
27966 * malloc/mtrace.c (tr_where): Add additional parameter to point to
27967 symbol info. Use it instead of calling _dl_addr locally.
27968 (lock_and_info): New function.
27969 (tr_freehook): Call lock_and_info and pass symbol info as additional
27970 parameter to tr_where.
27971 (tr_mallochook): Likewise.
27972 (tr_reallochook): Likewise.
27973 (tr_memalignhook): Likewise.
27975 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
27976 used and couldn't be at all thread-safe.
27978 2011-05-15 Ulrich Drepper <drepper@gmail.com>
27980 * libio/freopen.c (freopen): Don't close old file descriptor
27981 before the new one is opened. Instead dup the new file descriptor
27982 to the old one after the new stream is created.
27983 * libio/freopen64.c (freopen64): Likewise.
27984 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
27985 * libio/fileops.c (_IO_new_file_close_it): Handle new
27986 _IO_FLAGS2_NOCLOSE flag.
27987 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
27988 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
27989 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
27990 _IO_FLAGS2_NOCLOSE flag.
27991 * include/unistd.h: Add hidden_proto for dup3.
27992 Define __have_dup3.
27993 * io/dup3.c: Define hidden symbol.
27994 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
27997 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
27998 when an incomplete long option is used.
27999 * posix/tst-getopt_long1.c: New file.
28000 * posix/Makefile (tests): Add tst-getopt_long1.
28003 * scripts/config.guess: Update from autoconf-2.68.
28004 * scripts/config.sub: Likewise.
28007 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
28009 (has_cpuclock): ...this. New function.
28010 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
28011 macro here based on has_cpuclock code.
28014 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28015 First byte (not low byte) is now always NUL.
28016 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
28018 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28019 Use non-cancelable interfaces.
28022 * locale/iso-639.def: Add entry for Sorani.
28025 * include/stdlib.h: Move include protection to the right place.
28026 Define abort_msg_s. Declare __abort_msg with it.
28027 * stdlib/abort.c (__abort_msg): Adjust type.
28028 * assert/assert.c (__assert_fail_base): New function. Majority
28029 of code from __assert_fail. Allocate memory for __abort_msg with
28031 (__assert_fail): Now call __assert_fail_base.
28032 * assert/assert-perr.c: Remove bulk of implementation. Use
28033 __assert_fail_base.
28034 * include/assert.hL Declare __assert_fail_base.
28035 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
28037 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
28039 2011-05-14 Ulrich Drepper <drepper@gmail.com>
28043 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
28044 until all modules are registered in the DTV.
28045 * elf/Makefile: Add rules to build and run tst-tls19.
28046 * elf/tst-tls19.c: New file.
28047 * elf/tst-tls19mod1.c: New file.
28048 * elf/tst-tls19mod2.c: New file.
28049 * elf/tst-tls19mod3.c: New file.
28050 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
28053 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
28057 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
28058 two-byte sequence errors.
28059 * iconvdata/Makefile (tests): Add bug-iconv8.
28060 * iconvdata/bug-iconv8.c: New file.
28063 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
28066 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
28069 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
28070 (dummy_getcfa): New function.
28071 (init): Get _Unwind_GetCFA address, use dummy if not found.
28072 (backtrace_helper): In recursion check, also check whether CFA changes.
28073 (__backtrace): Completely initialize arg.
28075 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
28076 storing incomplete byte sequence in state object. Avoid testing for
28077 guaranteed too small input if we know there is enough data available.
28079 2011-05-11 Andreas Schwab <schwab@redhat.com>
28081 * Makeconfig (+link-pie): Indent.
28082 * Rules (binaries-pie): Define if $(have-fpie) and
28084 (binaries-shared): Also filter out $(binaries-pie).
28085 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
28086 * nscd/Makefile (others-pie): Add nscd.
28087 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
28088 ($(objpfx)nscd): Remove command override.
28089 * login/Makefile (others-pie): Add pt_chown.
28090 ($(objpfx)pt_chown): Remove command override.
28091 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
28092 remove command overrides.
28094 2011-05-13 Ulrich Drepper <drepper@gmail.com>
28096 * libio/tst_putwc.c: Fix error messages.
28099 * libio/fileops.c (_IO_new_file_close_it): Always flush when
28100 currently writing and seek to current position when not.
28101 * libio/Makefile (tests): Add bug-fclose1.
28102 * libio/bug-fclose1.c: New file.
28104 2011-05-12 Ulrich Drepper <drepper@gmail.com>
28107 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
28108 don't set DF_1_NODELETE here.
28109 (do_lookup_x): When entering new entry test for copy relocation
28110 and if necessary set DF_1_NODELETE flag.
28111 * elf/tst-unique4.cc: New file.
28112 * elf/tst-unique4.h: New file.
28113 * elf/tst-unique4lib.cc: New file.
28114 * elf/Makefile: Add rules to build and run tst-unique4.
28115 Patch by Piotr Bury <pbury@goahead.com>.
28117 2011-05-11 Ulrich Drepper <drepper@gmail.com>
28120 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
28123 * misc/mntent_r.c (addmntent): Flush the stream after the output
28126 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
28127 (is_trusted_path_normalize): Skip initial colon. Append slash
28128 to empty buffer. Duplicate is_trusted_path code but allow
28129 constructed patch to be prefix.
28130 (is_dst): Allow $ORIGIN followed by /.
28131 (_dl_dst_substitute): Correct clearing of check_for_trusted.
28132 Correct testing of result of is_trusted_path_normalize
28133 (decompose_rpath): Fix warning.
28135 2011-05-10 Ulrich Drepper <drepper@gmail.com>
28138 * grp/initgroups.c (internal_getgrouplist): When we found the service
28139 list through the initgroups entry in nsswitch.conf do not always
28140 continue on a successful lookup. Don't always use the
28141 __nss_group_database value if it is set.
28142 * nss/nsswitch.conf (initgroups): Change action for successful db
28143 lookup to continue for compatibility.
28145 2011-05-09 Ulrich Drepper <drepper@gmail.com>
28148 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
28150 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
28152 * iconvdata/tst-tables.sh: Likewise.
28153 * iconvdata/cp770.c: New file.
28154 * iconvdata/cp771.c: New file.
28155 * iconvdata/cp772.c: New file.
28156 * iconvdata/cp773.c: New file.
28157 * iconvdata/cp774.c: New file.
28158 * iconvdata/testdata/CP770: New file.
28159 * iconvdata/testdata/CP770..UTF8: New file.
28160 * iconvdata/testdata/CP771: New file.
28161 * iconvdata/testdata/CP771..UTF8: New file.
28162 * iconvdata/testdata/CP772: New file.
28163 * iconvdata/testdata/CP772..UTF8: New file.
28164 * iconvdata/testdata/CP773: New file.
28165 * iconvdata/testdata/CP773..UTF8: New file.
28166 * iconvdata/testdata/CP774: New file.
28167 * iconvdata/testdata/CP774..UTF8: New file.
28169 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
28171 * iconvdata/gen-8bit-gap.sh: Likewise.
28172 * iconvdata/gen-8bit.sh: Likewise.
28174 * locale/iso-639.def: Add ary entry.
28177 * locale/C-translit.h.in: Add U20A1 transliteration.
28180 * locale/iso-639.def: Add wae entry.
28181 Patch by Kevin Bortis <bortis@translate-wae.ch>.
28184 * locale/programs/localedef.c (construct_output_path): Use ssize_t
28188 * locale/C-translit.h.in: Add entry for U20B9.
28189 Patch by pravin.d.s@gmail.com.
28191 2011-05-08 Ulrich Drepper <drepper@gmail.com>
28194 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
28195 ENAMETOOLONG use generic getcwd.
28196 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
28197 in rtld. Use *stat64.
28198 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
28199 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
28200 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
28201 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
28202 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
28203 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
28204 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
28205 __fstatat64 macros.
28206 * include/dirent.h: Add libc_hidden_proto for rewinddir.
28207 * dirent/rewinddir.c: Add libc_hidden_def.
28208 * sysdeps/mach/hurd/rewinddir.c: Likewise.
28209 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
28211 * include/dirent.h (__alloc_dir): Add flags parameter.
28212 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
28213 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
28215 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
28216 from fdopendir if O_CLOEXEC is already set.
28218 2011-03-15 Alan Modra <amodra@gmail.com>
28220 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
28221 l_tls_firstbyte_offset non-zero. Save padding offset in
28222 l_tls_firstbyte_offset for later use.
28223 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
28224 freeing static tls block.
28226 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
28228 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
28229 where #ifdef was intended. The intent is to prevent ARG_MAX from
28230 being defined by the kernel headers.
28232 2011-05-07 Ulrich Drepper <drepper@gmail.com>
28235 * resolv/resolv.h: Define RES_NOTLDQUERY.
28236 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
28237 no-tld-query and set RES_NOTLDQUERY.
28238 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
28239 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
28240 modern BIND to search name as TLD unless forbidden.
28242 2011-05-07 Petr Baudis <pasky@suse.cz>
28243 Ulrich Drepper <drepper@gmail.com>
28246 * elf/dl-load.c (fillin_rpath): Move trusted path check...
28247 (is_trusted_path): ...to here.
28248 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
28249 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
28250 using is_trusted_path_normalize() in setuid scripts.
28252 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28254 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
28255 __BEGIN/__END_DECLS.
28257 2011-05-06 Ulrich Drepper <drepper@gmail.com>
28259 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
28260 NSS_STATUS_NOTFOUND if no record was found.
28262 2011-05-05 Andreas Schwab <schwab@redhat.com>
28264 * sunrpc/Makefile (headers): Add rpc/netdb.h.
28265 (headers-not-in-tirpc): Remove rpc/netdb.h
28266 * resolv/netdb.h: Revert last change.
28268 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28270 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
28271 circular dependency between libgcc.a and libc.a.
28273 2011-05-05 Andreas Schwab <schwab@redhat.com>
28275 * resolv/netdb.h: Don't include <rpc/netdb.h>.
28276 * nis/Makefile: Don't install rpcsvc/*.
28277 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
28278 instead of <rpc/types.h>.
28279 (MAXHOSTNAMELEN): Define.
28281 2011-05-03 Andreas Schwab <schwab@redhat.com>
28283 * elf/ldconfig.c (add_dir): Don't crash on empty path.
28285 2011-04-28 Maciej Babinski <mbabinski@google.com>
28288 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
28289 gethostbyname4_r when IPv6 results are possible.
28291 2011-05-02 Ulrich Drepper <drepper@gmail.com>
28294 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
28295 _PC_PIPE_BUF handling.
28297 2011-04-30 Bruno Haible <bruno@clisp.org>
28300 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
28301 * resolv/netdb.h (getnameinfo): Change type of flags parameter
28303 * inet/getnameinfo.c (getnameinfo): Likewise.
28305 2011-04-29 Ulrich Drepper <drepper@gmail.com>
28307 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
28308 to groups setting in database lookup.
28309 * nss/nsswitch.conf: Add initgroups entry.
28311 2011-04-22 Ulrich Drepper <drepper@gmail.com>
28314 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
28316 Patch by Eric Blake <eblake@redhat.com>.
28318 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
28320 * sunrpc/Makefile (need-export-routines): Add svc_run.
28321 (routines): Remove svc_run.
28322 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
28323 * sunrpc/clnt_perr.c (clnt_perrno): Export.
28324 * sunrpc/svc_run.c (svc_run): Likewise.
28325 * sunrpc/svc_udp.c (svcudp_create): Likewise.
28327 2011-04-21 Ulrich Drepper <drepper@gmail.com>
28329 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
28330 problem in reallocation in last patch.
28332 2011-04-20 Ulrich Drepper <drepper@gmail.com>
28334 * sunrpc/Makefile: Move inclusion of Rules.
28336 2011-04-19 Ulrich Drepper <drepper@gmail.com>
28338 * nss/nss_files/files-initgroups.c: New file.
28339 * nss/Makefile (libnss_files-routines): Add files-initgroups.
28340 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
28341 _nss_files_initgroups_dyn.
28343 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
28345 * elf/elf.h (R_ARM_IRELATIVE): Define.
28347 2011-04-19 Ulrich Drepper <drepper@gmail.com>
28349 * po/ru.po: Update from translation team.
28351 2011-04-17 Ulrich Drepper <drepper@gmail.com>
28353 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
28356 2011-02-06 Mike Frysinger <vapier@gentoo.org>
28359 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
28360 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
28361 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28362 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28363 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28365 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
28367 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
28369 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28370 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28371 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28373 2011-04-17 Ulrich Drepper <drepper@gmail.com>
28376 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
28378 * stdlib/bug-getcontext.c: New file.
28379 * stdlib/Makefile: Add rules to build and run bug-getcontext.
28381 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28383 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
28384 instructions into .machine "z9-109".
28385 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
28386 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
28388 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28390 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
28391 between environment variables and auxiliary vector.
28393 2011-04-16 Ulrich Drepper <drepper@gmail.com>
28395 * Makefile: Add rules to build linkobj/libc.so.
28396 * include/libc-symbols.h: Define libc_hidden_nolink.
28397 * include/rpc/auth.h: Mark functions which are to be hidden.
28398 * include/rpc/auth_des.h: Likewise.
28399 * include/rpc/auth_unix.h: Likewise.
28400 * include/rpc/clnt.h: Likewise.
28401 * include/rpc/des_crypt.h: Likewise.
28402 * include/rpc/key_prot.h: Likewise.
28403 * include/rpc/pmap_clnt.h: Likewise.
28404 * include/rpc/pmap_prot.h: Likewise.
28405 * include/rpc/pmap_rmt.h: Likewise.
28406 * include/rpc/rpc_msg.h: Likewise.
28407 * include/rpc/svc.h: Likewise.
28408 * include/rpc/svc_auth.h: Likewise.
28409 * include/rpc/xdr.h: Likewise.
28410 * nis/Makefile: Link all DSOs against linkobj/libc.so.
28411 * nss/Makefile: Likewise.
28412 * sunrpc/Makefile: Don't install headers. Build library with normal
28413 entry points. Don't build rpcinfo. Link RPC tests appropriately.
28414 * sunrpc/auth_des.c: Hide exported symbols by default, export some
28415 for the compat linking library. Remove use of INTDEF/INTUSE.
28416 * sunrpc/auth_none.c: Likewise.
28417 * sunrpc/auth_unix.c: Likewise.
28418 * sunrpc/authdes_prot.c: Likewise.
28419 * sunrpc/authuxprot.c: Likewise.
28420 * sunrpc/clnt_gen.c: Likewise.
28421 * sunrpc/clnt_perr.c: Likewise.
28422 * sunrpc/clnt_raw.c: Likewise.
28423 * sunrpc/clnt_simp.c: Likewise.
28424 * sunrpc/clnt_tcp.c: Likewise.
28425 * sunrpc/clnt_udp.c: Likewise.
28426 * sunrpc/clnt_unix.c: Likewise.
28427 * sunrpc/des_crypt.c: Likewise.
28428 * sunrpc/des_soft.c: Likewise.
28429 * sunrpc/get_myaddr.c: Likewise.
28430 * sunrpc/key_call.c: Likewise.
28431 * sunrpc/key_prot.c: Likewise.
28432 * sunrpc/netname.c: Likewise.
28433 * sunrpc/pm_getmaps.c: Likewise.
28434 * sunrpc/pm_getport.c: Likewise.
28435 * sunrpc/pmap_clnt.c: Likewise.
28436 * sunrpc/pmap_prot.c: Likewise.
28437 * sunrpc/pmap_prot2.c: Likewise.
28438 * sunrpc/pmap_rmt.c: Likewise.
28439 * sunrpc/publickey.c: Likewise.
28440 * sunrpc/rpc_cmsg.c: Likewise.
28441 * sunrpc/rpc_common.c: Likewise.
28442 * sunrpc/rpc_dtable.c: Likewise.
28443 * sunrpc/rpc_prot.c: Likewise.
28444 * sunrpc/rpc_thread.c: Likewise.
28445 * sunrpc/rtime.c: Likewise.
28446 * sunrpc/svc.c: Likewise.
28447 * sunrpc/svc_auth.c: Likewise.
28448 * sunrpc/svc_authux.c: Likewise.
28449 * sunrpc/svc_raw.c: Likewise.
28450 * sunrpc/svc_run.c: Likewise.
28451 * sunrpc/svc_simple.c: Likewise.
28452 * sunrpc/svc_tcp.c: Likewise.
28453 * sunrpc/svc_udp.c: Likewise.
28454 * sunrpc/svc_unix.c: Likewise.
28455 * sunrpc/svcauth_des.c: Likewise.
28456 * sunrpc/xcrypt.c: Likewise.
28457 * sunrpc/xdr.c: Likewise.
28458 * sunrpc/xdr_array.c: Likewise.
28459 * sunrpc/xdr_float.c: Likewise.
28460 * sunrpc/xdr_intXX_t.c: Likewise.
28461 * sunrpc/xdr_mem.c: Likewise.
28462 * sunrpc/xdr_rec.c: Likewise.
28463 * sunrpc/xdr_ref.c: Likewise.
28464 * sunrpc/xdr_sizeof.c: Likewise.
28465 * sunrpc/xdr_stdio.c: Likewise.
28467 2011-04-10 Ulrich Drepper <drepper@gmail.com>
28470 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
28471 * sysdeps/ia64/dl-tls.h: Likewise.
28472 * sysdeps/powerpc/dl-tls.h: Likewise.
28473 * sysdeps/s390/dl-tls.h: Likewise.
28474 * sysdeps/sh/dl-tls.h: Likewise.
28475 * sysdeps/sparc/dl-tls.h: Likewise.
28476 * sysdeps/x86_64/dl-tls.h: Likewise.
28477 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
28479 2011-03-14 Andreas Schwab <schwab@redhat.com>
28481 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
28482 rpath element also skip the following colon.
28483 (expand_dynamic_string_token): Add is_path parameter and pass
28484 down to DL_DST_REQUIRED and _dl_dst_substitute.
28485 (decompose_rpath): Call expand_dynamic_string_token with
28486 non-zero is_path. Ignore empty rpaths.
28487 (_dl_map_object_from_fd): Call expand_dynamic_string_token
28490 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
28492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28495 2011-04-09 Ulrich Drepper <drepper@gmail.com>
28498 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
28499 Patch by Filipe David Manana <fdmanana@apache.org>.
28501 2011-04-07 Andreas Schwab <schwab@redhat.com>
28503 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
28504 Maintain aligned stack.
28505 (CHECK_RSP): Remove unused macro.
28507 2011-04-03 Ulrich Drepper <drepper@gmail.com>
28509 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
28510 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
28512 2011-04-02 Ulrich Drepper <drepper@gmail.com>
28514 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
28516 * include/features.h: Mention __USE_XOPEN2K8 in comment.
28518 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
28521 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
28522 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
28523 * sysdeps/x86_64/memmove.c: New file.
28524 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
28525 (memcpy): Renamed to ...
28526 (__new_memcpy): This.
28527 (memcpy): Provide GLIBC_2_14 memcpy.
28528 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
28529 (memcpy): Provide GLIBC_2_2_5 memcpy.
28531 2011-04-01 Ulrich Drepper <drepper@gmail.com>
28534 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
28536 2011-03-30 Andreas Schwab <schwab@redhat.com>
28538 * misc/syncfs.c: New file.
28539 * misc/Makefile (routines): Add syncfs.
28540 * posix/unistd.h: Declare syncfs.
28541 * sysdeps/unix/syscalls.list: Add syncfs.
28543 2011-04-01 Andreas Schwab <schwab@redhat.com>
28545 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
28547 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28548 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28549 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28550 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28551 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28552 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
28553 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28555 2011-04-01 Ulrich Drepper <drepper@gmail.com>
28557 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
28558 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28559 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
28560 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28561 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28562 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28563 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28565 * io/Makefile: Compile fallocate.c, fallocate64.c, and
28566 sync_file_range.c with -fexceptions.
28567 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
28568 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
28569 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
28570 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
28571 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
28572 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28573 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
28574 sync_file_range as cancellation point
28575 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
28576 now a wrapper around __call_sync_file_range with cancellation handling.
28577 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
28578 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
28579 function name to __call_sync_file_range.
28580 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
28581 Add call_sync_file_range.
28583 2011-04-01 Andreas Schwab <schwab@redhat.com>
28585 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28588 2011-04-01 Ulrich Drepper <drepper@gmail.com>
28590 * iconv/iconv.h: Fix typo in comment.
28591 * io/fcntl.h: Likewise.
28592 * libio/stdio.h: Likewise.
28593 * posix/spawn.h: Likewise.
28594 * posix/unistd.h: Likewise.
28595 * stdlib/stdlib.h: Likewise.
28596 * time/time.h: Likewise.
28597 * wcsmbs/wchar.h: Likewise.
28599 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
28600 open_by_handle): Add.
28601 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
28602 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
28603 Augment a few comments.
28604 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28605 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28606 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28607 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28608 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28609 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
28612 * io/fcntl.h (AT_EMPTY_PATH): Define.
28614 2011-03-30 Ulrich Drepper <drepper@gmail.com>
28616 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
28617 * sysdeps/unix/sysv/linux/bits/time.h: New file.
28618 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
28620 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
28621 * Versions.def: Add GLIBC_2.14.
28622 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
28625 2011-03-22 Ulrich Drepper <drepper@gmail.com>
28627 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
28629 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28631 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
28634 * string/test-strncmp.c (do_page_test): New function.
28635 (check2): Likewise.
28636 (test_main): Call check2.
28637 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
28639 2011-03-20 Ulrich Drepper <drepper@gmail.com>
28642 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
28643 Handle cache information in CPU leaf 4.
28644 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28646 2011-03-18 Ulrich Drepper <drepper@gmail.com>
28649 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
28650 character representation.
28651 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
28653 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
28655 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
28656 END(__isnan) to END(__isnanf) to match function entry point/label
28657 EALIGN(__isnanf,...).
28659 2011-03-10 Jakub Jelinek <jakub@redhat.com>
28661 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
28663 2011-03-10 Ulrich Drepper <drepper@gmail.com>
28666 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
28667 copy from the symbol referenced in the relocation to initialize the
28669 Patch by Piotr Bury <pbury@goahead.com>.
28670 * elf/Makefile: Add rules to build and tst-unique3.
28671 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
28672 * elf/tst-unique3.cc: New file.
28673 * elf/tst-unique3.h: New file.
28674 * elf/tst-unique3lib.cc: New file.
28675 * elf/tst-unique3lib2.cc: New file.
28677 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
28679 2011-03-10 Mike Frysinger <vapier@gentoo.org>
28681 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
28682 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
28685 2011-03-06 Ulrich Drepper <drepper@gmail.com>
28687 * elf/dl-load.c (_dl_map_object): If we are looking for the first
28688 to-be-loaded object along a path to loader is ld.so.
28690 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
28691 Ulrich Drepper <drepper@gmail.com>
28693 * sysdeps/x86_64/memset.S: After aligning destination, code
28694 branches to different locations depending on the value of
28695 misalignment, when multiarch is enabled. Fix this.
28697 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
28699 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
28700 Set _x86_64_preferred_memory_instruction for AMD processsors.
28701 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28702 Set bit_Prefer_SSE_for_memop for AMD processors.
28704 2011-03-04 Ulrich Drepper <drepper@gmail.com>
28706 * libio/fmemopen.c (fmemopen): Optimize a bit.
28708 2011-03-03 Andreas Schwab <schwab@redhat.com>
28710 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
28712 2011-03-03 Roland McGrath <roland@redhat.com>
28714 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
28716 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
28718 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
28719 __bzero_ultra1 instead of __memset_ultra1.
28721 2011-02-23 Andreas Schwab <schwab@redhat.com>
28722 Ulrich Drepper <drepper@gmail.com>
28725 * include/link.h (struct link_map): Add l_orig_initfini.
28726 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
28727 returning unsuccessfully.
28728 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
28729 close of a file loaded at startup, restore the original l_initfini
28731 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
28732 list, store the pointer.
28733 * elf/Makefile ($(objpfx)noload-mem): New rule.
28734 (noload-ENV): Define.
28735 (tests): Add $(objpfx)noload-mem.
28736 * elf/noload.c: Include <memcheck.h>.
28737 (main): Call mtrace. Close all opened handles.
28739 2011-02-17 Andreas Schwab <schwab@redhat.com>
28742 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
28743 dependencies are missing.
28745 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
28747 Fix __if_freereq crash: Unlike the generic version which uses free,
28749 * sysdeps/mach/hurd/ifreq.h: New file.
28751 2011-01-27 Petr Baudis <pasky@suse.cz>
28752 Ulrich Drepper <drepper@gmail.com>
28755 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
28756 to extend_alloca().
28757 * stdio-common/bug23.c: New file.
28758 * stdio-common/Makefile (tests): Add bug23.
28760 2010-09-28 Andreas Schwab <schwab@redhat.com>
28761 Ulrich Drepper <drepper@gmail.com>
28764 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
28765 before performing relro protection. At old place add assertion
28766 to make sure nothing changed.
28768 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
28769 Glauber de Oliveira Costa <glommer@gmail.com>
28771 * elf/elf.h: Add new ARM TLS relocs.
28773 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
28775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28776 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
28778 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
28780 * sysdeps/wordsize-64/tst-writev.c: New file.
28782 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
28784 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
28785 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
28786 insns in _dl_start to prevent a TOC reference before relocs are
28789 2011-02-15 Ulrich Drepper <drepper@gmail.com>
28792 * Makeconfig: Remove RANLIB definition.
28793 * Makerules: Don't use RANLIB.
28794 * aclocal.m4: Remove ranlib test.
28795 * configure.in: No need to check for ranlib.
28796 * elf/rtld-Rules: Don't use RANLIB.
28798 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
28800 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
28802 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
28803 inclusion protection macro.
28805 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
28806 SIGRTMIN and SIGRTMAX and print information in that case only when
28807 SIGRTMIN is defined.
28809 2011-02-11 Jakub Jelinek <jakub@redhat.com>
28811 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
28812 arginfo fn returning -1.
28814 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
28815 and thousands string is zero terminated.
28817 2011-02-03 Andreas Schwab <schwab@redhat.com>
28819 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
28820 sysdeps/unix/sysv/linux/bits/socket.h.
28822 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
28824 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
28825 (__CPU_COUNT): Remove old macros.
28826 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
28827 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
28828 (__CPU_ALLOC, __CPU_FREE): Add macros.
28829 (__sched_cpualloc, __sched_cpufree): Add declarations.
28831 2011-02-05 Ulrich Drepper <drepper@gmail.com>
28833 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
28834 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
28835 * nscd/aicache.c (addhstaiX): Return timeout of added value.
28836 (readdhstai): Return value of addhstaiX call.
28837 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
28838 (addgrbyX): Return value returned by cache_addgr.
28839 (readdgrbyname): Return value returned by addgrbyX.
28840 (readdgrbygid): Likewise.
28841 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
28842 (addpwbyX): Return value returned by cache_addpw.
28843 (readdpwbyname): Return value returned by addhstbyX.
28844 (readdpwbyuid): Likewise.
28845 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
28846 (addservbyX): Return value returned by cache_addserv.
28847 (readdservbyname): Return value returned by addservbyX:
28848 (readdservbyport): Likewise.
28849 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
28850 (addhstbyX): Return value returned by cache_addhst.
28851 (readdhstbyname): Return value returned by addhstbyX.
28852 (readdhstbyaddr): Likewise.
28853 (readdhstbynamev6): Likewise.
28854 (readdhstbyaddrv6): Likewise.
28855 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
28856 (readdinitgroups): Return value returned by addinitgroupsX.
28857 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
28858 (prune_cache): Keep track of timeout value of re-added entries.
28859 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
28860 * nscd/nscd.h: Adjust prototypes of readd* functions.
28862 2011-02-04 Roland McGrath <roland@redhat.com>
28864 * nis/nis_server.c (nis_servstate): Use the right name for 0.
28865 (nis_stats): Likewise.
28866 * nis/nis_modify.c (nis_modify): Likewise.
28867 * nis/nis_remove.c (nis_remove): Likewise.
28868 * nis/nis_add.c (nis_add): Likewise.
28870 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
28872 * posix/fnmatch_loop.c: Add some consts.
28874 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
28876 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
28879 * config.make.in (config-cflags-novzeroupper): Define.
28880 * configure.in: Substitute libc_cv_cc_novzeroupper.
28881 * elf/Makefile (AVX-CFLAGS): Define.
28882 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
28883 (CFLAGS-tst-auditmod4a.c): Likewise.
28884 (CFLAGS-tst-auditmod4b.c): Likewise.
28885 (CFLAGS-tst-auditmod6b.c): Likewise.
28886 (CFLAGS-tst-auditmod6c.c): Likewise.
28887 (CFLAGS-tst-auditmod7b.c): Likewise.
28888 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
28890 2011-02-02 Ulrich Drepper <drepper@gmail.com>
28892 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
28893 function to the callback.
28894 Patch partly by Jiri Olsa <jolsa@redhat.com>.
28896 2011-02-02 Andreas Schwab <schwab@redhat.com>
28898 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
28901 2011-01-19 Ulrich Drepper <drepper@gmail.com>
28904 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
28906 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
28908 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
28911 * elf/Makefile: Add rules to build and run new test.
28912 * elf/tst-initorder.c: New file.
28913 * elf/tst-initorder.exp: New file.
28914 * elf/tst-initordera1.c: New file.
28915 * elf/tst-initordera2.c: New file.
28916 * elf/tst-initordera3.c: New file.
28917 * elf/tst-initordera4.c: New file.
28918 * elf/tst-initorderb1.c: New file.
28919 * elf/tst-initorderb2.c: New file.
28920 * elf/tst-order-a1.c: New file.
28921 * elf/tst-order-a2.c: New file.
28922 * elf/tst-order-a3.c: New file.
28923 * elf/tst-order-a4.c: New file.
28924 * elf/tst-order-b1.c: New file.
28925 * elf/tst-order-b2.c: New file.
28926 * elf/tst-order-main.c: New file.
28927 New test case by George Gensure <werkt0@gmail.com>.
28929 2010-10-01 Andreas Schwab <schwab@redhat.com>
28931 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28932 decoding ACE if AI_CANONIDN.
28934 2011-01-18 Ulrich Drepper <drepper@gmail.com>
28936 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
28938 2011-01-17 Ulrich Drepper <drepper@gmail.com>
28940 * version.h (RELEASE): Bump for 2.13 release.
28941 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
28943 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
28945 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
28947 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
28948 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28949 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28950 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28951 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28952 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
28954 * posix/getconf.c: Update copyright year.
28955 * catgets/gencat.c: Likewise.
28956 * csu/version.c: Likewise.
28957 * debug/catchsegv.sh: Likewise.
28958 * debug/xtrace.sh: Likewise.
28959 * elf/ldconfig.c: Likewise.
28960 * elf/ldd.bash.in: Likewise.
28961 * elf/sprof.c (print_version): Likewise.
28962 * iconv/iconv_prog.c: Likewise.
28963 * iconv/iconvconfig.c: Likewise.
28964 * locale/programs/locale.c: Likewise.
28965 * locale/programs/localedef.c: Likewise.
28966 * malloc/memusage.sh: Likewise.
28967 * malloc/mtrace.pl: Likewise.
28968 * nscd/nscd.c (print_version): Likewise.
28969 * nss/getent.c: Likewise.
28971 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
28972 PF_CAIF, and PF_ALG.
28973 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28975 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
28977 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
28978 (modules-names): Use them.
28979 (ifunc-test-modules, ifunc-pie-tests): Define.
28980 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
28981 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
28982 (test-extras): Likewise.
28983 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
28984 $(compile-command.c).
28985 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
28986 (all-built-dso): Define.
28987 (check-textrel.out, check-execstack.out): Depend on it.
28989 * configure.in: Don't override --enable-multi-arch.
28991 2011-01-15 Ulrich Drepper <drepper@gmail.com>
28994 * nscd/hstcache.c (tryagain): Define.
28995 (cache_addhst): Return tryagain not notfound for temporary errors.
28996 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
28999 2011-01-14 Ulrich Drepper <drepper@gmail.com>
29002 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
29003 to make the syscall.
29004 * sysdeps/unix/sysv/linux/setgroups.c: New file.
29007 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
29008 and fall back to matching as normal character if the string ends before
29009 the matching ']' is found. This is what POSIX requires.
29010 * posix/testfnm.c: Adjust test result.
29011 * posix/globtest.sh: Adjust test result. Add new test.
29012 * posix/tst-fnmatch.input: Likewise.
29013 * posix/tst-fnmatch2.c: Add new test.
29015 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
29017 * elf/Makefile (check-execstack): Revert last change. Depend on
29019 (check-execstack.h): New target.
29020 (generated): Add check-execstack.h.
29021 * elf/check-execstack.c: Include "check-execstack.h".
29022 (main): Revert last change.
29023 (handle_file): Return zero if GNU_STACK is absent and
29024 DEFAULT_STACK_PERMS doesn't include PF_X.
29026 2011-01-13 Ulrich Drepper <drepper@gmail.com>
29028 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
29029 in child fails because the descriptor is already closed.
29030 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
29031 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
29032 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
29035 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
29039 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
29040 temporary buffer used to handle multi lookups locally.
29041 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
29043 2011-01-12 Ulrich Drepper <drepper@gmail.com>
29045 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
29048 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
29050 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
29051 alignment for SSE2.
29053 2011-01-12 Ulrich Drepper <drepper@gmail.com>
29056 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
29057 characters. When rounding increased number of integer digits recompute
29059 * stdio-common/tst-grouping.c: New file.
29060 * stdio-common/Makefile: Add rules to build and run tst-grouping.
29062 2011-01-09 Ulrich Drepper <drepper@gmail.com>
29064 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
29065 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
29067 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
29069 * bits/select.h: Likewise.
29071 2011-01-08 Ulrich Drepper <drepper@gmail.com>
29073 * po/ja.po: Update from translation team.
29075 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
29078 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
29079 implementation just like for lxstat, fxstatat, et al.
29081 2010-12-27 Jim Meyering <meyering@redhat.com>
29084 * posix/regexec.c (build_trtable): Return failure indication upon
29085 calloc failure. Otherwise, re_search_internal could infloop on OOM.
29087 2010-12-25 Ulrich Drepper <drepper@gmail.com>
29090 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
29091 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
29092 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
29093 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
29096 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
29099 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
29100 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
29102 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
29104 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
29105 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
29106 script has SORT_BY_INIT_PRIORITY.
29107 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
29108 NO_CTORS_DTORS_SECTIONS is defined.
29109 * elf/soinit.c: Likewise.
29110 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
29111 NO_CTORS_DTORS_SECTIONS is defined.
29112 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
29113 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
29114 * sysdeps/sh/init-first.c: Likewise.
29115 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
29117 2010-12-24 Ulrich Drepper <drepper@gmail.com>
29119 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
29120 always use the slow path.
29122 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
29124 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
29125 similar rule which adds the sysdep directories to the header search in
29126 order to pick up the correct platform stackinfo.h.
29127 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
29128 perform test if it is, otherwise return successfully without testing.
29129 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
29130 DEFAULT_STACK_PERMS define in stackinfo.h.
29131 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
29132 defined in stackinfo.h.
29133 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
29134 DEFAULT_STACK_PERMS defined in stackinfo.h.
29135 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
29136 * sysdeps/ia64/stackinfo.h: Likewise.
29137 * sysdeps/s390/stackinfo.h: Likewise.
29138 * sysdeps/sh/stackinfo.h: Likewise.
29139 * sysdeps/sparc/stackinfo.h: Likewise.
29140 * sysdeps/x86_64/stackinfo.h: Likewise.
29141 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
29142 PF_X for powerpc64. Retain PF_X for powerpc32.
29144 2010-12-19 Ulrich Drepper <drepper@gmail.com>
29146 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
29148 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
29149 GETDENTS_64BIT_ALIGNED.
29151 2010-12-14 Ulrich Drepper <dreper@gmail.com>
29153 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
29155 2010-12-10 Andreas Schwab <schwab@redhat.com>
29157 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
29160 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
29161 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
29163 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
29164 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
29166 2010-12-09 Ulrich Drepper <drepper@gmail.com>
29169 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
29172 2010-12-09 Jakub Jelinek <jakub@redhat.com>
29174 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
29176 2010-12-03 Ulrich Drepper <drepper@gmail.com>
29178 * po/it.po: Update from translation team.
29180 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
29182 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
29185 2010-11-30 Ulrich Drepper <drepper@gmail.com>
29187 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
29189 2010-11-24 Andreas Schwab <schwab@redhat.com>
29191 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
29193 (gaih_getanswer_slice): Likewise.
29195 2010-10-20 Jakub Jelinek <jakub@redhat.com>
29197 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
29199 2010-05-31 Petr Baudis <pasky@suse.cz>
29202 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
29203 silently even in the chroot mode.
29205 2010-11-22 Ulrich Drepper <drepper@gmail.com>
29207 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
29208 last patch a bit. Pretty printing
29210 2010-05-31 Petr Baudis <pasky@suse.cz>
29213 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
29214 initialization of skip_initgroups_dyn.
29216 2010-11-19 Ulrich Drepper <drepper@gmail.com>
29218 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
29219 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29221 2010-11-16 Ulrich Drepper <drepper@gmail.com>
29223 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
29225 2010-11-11 Andreas Schwab <schwab@redhat.com>
29227 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
29228 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
29229 (tst-fnmatch-ENV): Set MALLOC_TRACE.
29230 ($(objpfx)tst-fnmatch-mem): New rule.
29231 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
29232 * posix/tst-fnmatch.c (main): Call mtrace.
29234 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
29236 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29237 Support Intel processor model 6 and model 0x2c.
29239 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
29241 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
29244 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
29247 * string/test-strncasecmp.c (check_result): New function.
29248 (do_one_test): Use it.
29249 (check1): New function.
29250 (test_main): Use it.
29251 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
29252 Support strcasecmp and strncasecmp.
29254 2010-11-08 Ulrich Drepper <drepper@gmail.com>
29257 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
29258 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29260 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
29262 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
29264 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29266 * sysdeps/x86_64/multiarch/bzero.S: New file.
29267 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
29268 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
29269 * sysdeps/x86_64/multiarch/memset.S: New file.
29270 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
29271 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29272 Set bit_Prefer_SSE_for_memop for Intel processors.
29273 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
29275 (index_Prefer_SSE_for_memop): Define.
29276 (HAS_PREFER_SSE_FOR_MEMOP): Define.
29278 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
29280 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
29281 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
29283 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
29286 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29287 (__x86_64_raw_data_cache_size_half): Likewise.
29288 (__x86_64_raw_shared_cache_size): Likewise.
29289 (__x86_64_raw_shared_cache_size_half): Likewise.
29291 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29292 (__x86_64_raw_data_cache_size_half): Likewise.
29293 (__x86_64_raw_shared_cache_size): Likewise.
29294 (__x86_64_raw_shared_cache_size_half): Likewise.
29295 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
29296 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
29297 and __x86_64_raw_shared_cache_size_half. Round
29298 __x86_64_data_cache_size_half, __x86_64_data_cache_size
29299 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
29300 to multiple of 256 bytes.
29302 2010-11-03 Ulrich Drepper <drepper@gmail.com>
29305 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
29306 of inacessible symlinks. Verify result of symlink before returning it.
29307 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
29308 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
29310 2010-10-28 Erich Ritz <erichritz@gmail.com>
29312 * math/math.h (isinf): Fix typo in comment.
29314 2010-11-01 Ulrich Drepper <drepper@gmail.com>
29316 * po/da.po: Update from translation team.
29318 2010-10-26 Ulrich Drepper <drepper@gmail.com>
29320 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
29321 is added to the list.
29323 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29324 Ulrich Drepper <drepper@gmail.com>
29326 * elf/dl-object.c (_dl_new_object): Don't append the new object to
29327 the global list here. Move code to...
29328 (_dl_add_to_namespace_list): ...here. New function.
29329 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
29330 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
29331 * elf/dl-load.c (lose): Don't remove the element from the list.
29332 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
29333 (_dl_map_object): Likewise.
29335 2010-10-25 Ulrich Drepper <drepper@gmail.com>
29338 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
29339 into all bytes of SSE register.
29340 Patch by Richard Li <richardpku@gmail.com>.
29342 2010-10-24 Ulrich Drepper <drepper@gmail.com>
29345 * malloc/malloc.c (_int_free): Fill correct number of bytes when
29348 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
29350 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
29351 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
29352 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
29353 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
29356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
29358 2010-10-22 Andreas Schwab <schwab@redhat.com>
29360 * include/dlfcn.h (__RTLD_SECURE): Define.
29361 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
29362 mode & __RTLD_SECURE instead.
29363 (open_path): Rename preloaded parameter to secure.
29364 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
29365 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
29366 * elf/dl-deps.c (openaux): Likewise.
29367 * elf/rtld.c (struct map_args): Remove is_preloaded.
29368 (map_doit): Don't use it.
29369 (dl_main): Likewise.
29370 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
29371 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
29373 2010-09-09 Andreas Schwab <schwab@redhat.com>
29375 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
29376 (sysd-rules-targets): Remove duplicates.
29377 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
29378 rtld-%.$o dependency.
29380 2010-10-18 Andreas Schwab <schwab@redhat.com>
29382 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
29383 _dl_map_object do it.
29385 2010-10-19 Ulrich Drepper <drepper@gmail.com>
29387 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
29388 fast fma builtins, define the macros in the C99 standard.
29389 (FP_FAST_FMAF): Likewise.
29390 (FP_FAST_FMAL): Likewise.
29391 * sysdeps/x86_64/bits/mathdef.h: Likewise.
29393 * bits/mathdef.h: Update copyright year.
29394 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29396 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
29398 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
29399 builtins, define the macros in the C99 standard.
29400 (FP_FAST_FMAF): Likewise.
29401 (FP_FAST_FMAL): Likewise.
29402 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
29404 (FP_FAST_FMAF): Likewise.
29406 2010-10-15 Jakub Jelinek <jakub@redhat.com>
29409 * math/libm-test.inc (fma_test): Some new testcases.
29410 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
29411 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
29412 y and infinite z. Do multiplication by C already in long double.
29413 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
29414 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
29415 y and infinite z. Do bitwise or of inexact bit into u.d.
29416 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
29417 * sysdeps/i386/fpu/s_fmaf.S: Removed.
29418 * sysdeps/i386/fpu/s_fma.S: Removed.
29419 * sysdeps/i386/fpu/s_fmal.S: Removed.
29421 2010-10-16 Jakub Jelinek <jakub@redhat.com>
29424 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
29425 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
29426 computation is not scheduled after fetestexcept. Fix value
29427 of minimum denormal long double.
29429 2010-10-14 Jakub Jelinek <jakub@redhat.com>
29432 * math/libm-test.inc (fma_test): Add some more tests.
29433 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
29436 2010-10-15 Andreas Schwab <schwab@redhat.com>
29438 * scripts/data/localplt-s390-linux-gnu.data: New file.
29439 * scripts/data/localplt-s390x-linux-gnu.data: New file.
29441 2010-10-13 Jakub Jelinek <jakub@redhat.com>
29444 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
29445 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
29447 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
29449 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
29450 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
29451 if one of x and y is very large and the other is subnormal.
29452 * sysdeps/s390/fpu/s_fmaf.c: New file.
29453 * sysdeps/s390/fpu/s_fma.c: New file.
29454 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
29455 * sysdeps/powerpc/fpu/s_fma.S: New file.
29456 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
29457 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
29458 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
29460 2010-10-12 Jakub Jelinek <jakub@redhat.com>
29463 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
29465 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
29466 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
29467 * sysdeps/i386/i686/multiarch/s_fma.c: Include
29468 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
29469 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
29470 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
29471 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
29473 2010-10-12 Ulrich Drepper <drepper@redhat.com>
29476 * posix/regcomp.c (parse_branch): One more memory leak plugged.
29477 * posix/bug-regex31.input: Add test case.
29479 2010-10-11 Ulrich Drepper <drepper@gmail.com>
29481 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
29482 * posix/bug-regex31.input: New file.
29485 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
29486 (parse_sub_exp): Fix last change, use postorder.
29488 * posix/bug-regex31.c: New file.
29489 * posix/Makefile: Add rules to build and run bug-regex31.
29491 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
29494 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
29497 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
29498 to have entries in sys_siglist.
29501 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
29504 2010-10-07 Jakub Jelinek <jakub@redhat.com>
29507 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
29508 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
29509 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
29510 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
29511 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29512 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
29513 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
29514 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
29515 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
29516 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
29517 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
29518 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
29519 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
29520 * math/ftestexcept.c (fetestexcept): Likewise.
29521 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
29522 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
29523 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
29524 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
29525 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
29526 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
29527 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29529 2010-10-11 Ulrich Drepper <drepper@gmail.com>
29532 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
29535 2010-10-06 Ulrich Drepper <drepper@gmail.com>
29537 * string/bug-strstr1.c: New file.
29538 * string/Makefile: Add rules to build and run bug-strstr1.
29540 2010-10-05 Eric Blake <eblake@redhat.com>
29543 * string/str-two-way.h (two_way_long_needle): Always clear memory
29544 when skipping input due to the shift table.
29546 2010-10-03 Ulrich Drepper <drepper@gmail.com>
29549 * malloc/mcheck.c: Handle large requests.
29552 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
29553 for strncmp and strncasecmp.
29554 * string/stratcliff.c: Add tests for strcmp and strncmp.
29555 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
29557 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29559 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
29562 2010-09-30 Andreas Jaeger <aj@suse.de>
29564 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
29565 (CGROUP_SUPER_MAGIC): Define.
29566 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29567 Handle btrfs and cgroup file systems.
29568 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29571 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
29573 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
29574 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
29576 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29579 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
29580 trying to locate the ELF header.
29582 2010-09-27 Andreas Schwab <schwab@redhat.com>
29585 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
29586 Mask out sign-bit copies when constructing f_fsid.
29588 2010-09-24 Petr Baudis <pasky@suse.cz>
29590 * debug/stack_chk_fail_local.c: Add missing licence exception.
29591 * debug/warning-nop.c: Likewise.
29593 2010-09-15 Joseph Myers <joseph@codesourcery.com>
29595 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
29596 implementing getdents64 using getdents syscall, set d_type if
29597 __ASSUME_GETDENTS32_D_TYPE.
29599 2010-09-16 Andreas Schwab <schwab@redhat.com>
29601 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
29602 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
29604 2010-09-21 Ulrich Drepper <drepper@redhat.com>
29607 * posix/unistd.h: Undo change of feature selection for ftruncate from
29610 2010-09-20 Ulrich Drepper <drepper@redhat.com>
29612 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
29615 2010-09-20 Andreas Schwab <schwab@redhat.com>
29617 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
29619 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
29621 2010-09-14 Andreas Schwab <schwab@redhat.com>
29623 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
29624 variables after CHECK_SP call.
29625 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
29627 2010-09-13 Andreas Schwab <schwab@redhat.com>
29628 Ulrich Drepper <drepper@redhat.com>
29630 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
29631 re-relocationg ld.so.
29632 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
29633 _dl_init_paths call.
29634 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
29637 2010-09-14 Ulrich Drepper <drepper@redhat.com>
29639 * resolv/res_init.c (__res_vinit): Count the default server we added.
29641 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
29642 Ulrich Drepper <drepper@redhat.com>
29645 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29646 (____longjmp_chk): Use %ebx for saving value across system call.
29649 2010-09-06 Andreas Schwab <schwab@redhat.com>
29651 * manual/Makefile: Don't mix pattern rules with normal rules.
29653 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
29655 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
29657 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
29658 * libio/iofopncook.c (_IO_cookie_init): Likewise.
29659 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
29660 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
29661 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29664 2010-09-04 Ulrich Drepper <drepper@redhat.com>
29667 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
29668 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
29670 2010-09-02 Ulrich Drepper <drepper@redhat.com>
29672 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
29673 * sysdeps/x86_64/addmul_1.S: Likewise.
29674 * sysdeps/x86_64/lshift.S: Likewise.
29675 * sysdeps/x86_64/mul_1.S: Likewise.
29676 * sysdeps/x86_64/rshift.S: Likewise.
29677 * sysdeps/x86_64/sub_n.S: Likewise.
29678 * sysdeps/x86_64/submul_1.S: Likewise.
29680 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
29682 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
29683 Define __sched_param instead of SCHED_* and sched_param when
29684 <bits/sched.h> is included with __need_schedparam defined.
29685 * bits/sched.h [__need_schedparam]
29686 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
29687 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
29688 (__defined_schedparam): Define to 1.
29689 (__sched_param): New structure, identical to sched_param.
29690 (__need_schedparam): Undefine.
29692 2010-08-31 Mike Frysinger <vapier@gentoo.org>
29694 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
29695 (epoll_create1): Declare.
29697 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
29699 2010-08-31 Andreas Schwab <schwab@redhat.com>
29702 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
29703 shifting retval into place.
29705 2010-09-01 Ulrich Drepper <drepper@redhat.com>
29707 * nis/rpcsvc/nis.h: Update copyright notice.
29708 * nis/rpcsvc/nis.x: Likewise.
29709 * nis/rpcsvc/nis_callback.h: Likewise.
29710 * nis/rpcsvc/nis_callback.x: Likewise.
29711 * nis/rpcsvc/nis_object.x: Likewise.
29712 * nis/rpcsvc/nis_tags.h: Likewise.
29713 * nis/rpcsvc/yp.h: Likewise.
29714 * nis/rpcsvc/yp.x: Likewise.
29715 * nis/rpcsvc/ypupd.h: Likewise.
29716 * nis/yp_xdr.c: Likewise.
29717 * nis/ypupdate_xdr.c: Likewise.
29719 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
29720 mainly the body of pmap_getport. Add parameters to specify timeouts.
29721 (pmap_getport): Use __libc_rpc_getport.
29722 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
29723 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
29724 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
29726 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
29728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
29731 2010-08-27 Roland McGrath <roland@redhat.com>
29733 * sysdeps/i386/i686/multiarch/Makefile
29734 (CFLAGS-varshift.c): New variable.
29736 2010-08-27 Ulrich Drepper <drepper@redhat.com>
29738 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
29739 * sysdeps/i386/i686/multiarch/varshift.c: New file.
29741 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
29743 * sysdeps/x86_64/strlen.S: Minimal code improvement.
29745 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
29747 * sysdeps/x86_64/strlen.S: Unroll the loop.
29748 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29749 strlen-sse2 strlen-sse2-bsf.
29750 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
29751 __strlen_no_bsf if bit_Slow_BSF is set.
29752 (__strlen_sse42): Removed.
29753 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
29754 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
29756 2010-08-25 Roland McGrath <roland@redhat.com>
29758 * sysdeps/x86_64/multiarch/varshift.S: File removed.
29759 * sysdeps/x86_64/multiarch/varshift.c: New file.
29760 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
29761 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
29762 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
29763 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29765 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
29767 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29768 strlen-sse2 strlen-sse2-bsf.
29769 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
29770 __strlen_sse2_bsf if bit_Slow_BSF is unset.
29771 (__strlen_sse2): Removed.
29772 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
29773 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
29774 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29775 bit_Slow_BSF for Atom.
29776 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
29777 (index_Slow_BSF): Define.
29778 (HAS_SLOW_BSF): Define.
29780 2010-08-25 Ulrich Drepper <drepper@redhat.com>
29783 * resolv/res_init.c (__res_vinit): When no server address at all
29784 is given default to loopback.
29786 2010-08-24 Roland McGrath <roland@redhat.com>
29788 * configure.in: Remove config-name.h generation.
29789 * configure: Regenerated.
29790 * config-name.in: File removed.
29791 * scripts/config-uname.sh: New file.
29792 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
29793 ($(objdir)config-name.h): New target.
29795 * sunrpc/rpc_parse.h: Avoid nested comment.
29797 2010-08-24 Richard Henderson <rth@redhat.com>
29798 Ulrich Drepper <drepper@redhat.com>
29799 H.J. Lu <hongjiu.lu@intel.com>
29801 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
29802 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
29803 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
29804 Replace _mm_srli_si128 with __m128i_shift_right. Replace
29805 _mm_alignr_epi8 with _mm_loadu_si128.
29806 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
29807 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
29808 (__m128i_shift_right): Removed.
29809 * sysdeps/i386/i686/multiarch/varshift.h: New file.
29810 * sysdeps/i386/i686/multiarch/varshift.S: New file.
29811 * sysdeps/x86_64/multiarch/varshift.h: New file.
29812 * sysdeps/x86_64/multiarch/varshift.S: New file.
29814 2010-08-21 Mike Frysinger <vapier@gentoo.org>
29816 * configure.in: Move assembler checks to before sysdep dir checking.
29818 2010-08-20 Petr Baudis <pasky@suse.cz>
29820 * LICENSES: Sync the sunrpc license.
29822 2010-08-19 Ulrich Drepper <drepper@redhat.com>
29824 * sunrpc/auth_des.c: Update copyright notice once again.
29825 * sunrpc/auth_none.c: Likewise.
29826 * sunrpc/auth_unix.c: Likewise.
29827 * sunrpc/authdes_prot.c: Likewise.
29828 * sunrpc/authuxprot.c: Likewise.
29829 * sunrpc/bindrsvprt.c: Likewise.
29830 * sunrpc/clnt_gen.c: Likewise.
29831 * sunrpc/clnt_perr.c: Likewise.
29832 * sunrpc/clnt_raw.c: Likewise.
29833 * sunrpc/clnt_simp.c: Likewise.
29834 * sunrpc/clnt_tcp.c: Likewise.
29835 * sunrpc/clnt_udp.c: Likewise.
29836 * sunrpc/clnt_unix.c: Likewise.
29837 * sunrpc/des_crypt.c: Likewise.
29838 * sunrpc/des_soft.c: Likewise.
29839 * sunrpc/get_myaddr.c: Likewise.
29840 * sunrpc/getrpcport.c: Likewise.
29841 * sunrpc/key_call.c: Likewise.
29842 * sunrpc/key_prot.c: Likewise.
29843 * sunrpc/openchild.c: Likewise.
29844 * sunrpc/pm_getmaps.c: Likewise.
29845 * sunrpc/pm_getport.c: Likewise.
29846 * sunrpc/pmap_clnt.c: Likewise.
29847 * sunrpc/pmap_prot.c: Likewise.
29848 * sunrpc/pmap_prot2.c: Likewise.
29849 * sunrpc/pmap_rmt.c: Likewise.
29850 * sunrpc/rpc/auth.h: Likewise.
29851 * sunrpc/rpc/auth_unix.h: Likewise.
29852 * sunrpc/rpc/clnt.h: Likewise.
29853 * sunrpc/rpc/des_crypt.h: Likewise.
29854 * sunrpc/rpc/key_prot.h: Likewise.
29855 * sunrpc/rpc/netdb.h: Likewise.
29856 * sunrpc/rpc/pmap_clnt.h: Likewise.
29857 * sunrpc/rpc/pmap_prot.h: Likewise.
29858 * sunrpc/rpc/pmap_rmt.h: Likewise.
29859 * sunrpc/rpc/rpc.h: Likewise.
29860 * sunrpc/rpc/rpc_des.h: Likewise.
29861 * sunrpc/rpc/rpc_msg.h: Likewise.
29862 * sunrpc/rpc/svc.h: Likewise.
29863 * sunrpc/rpc/svc_auth.h: Likewise.
29864 * sunrpc/rpc/types.h: Likewise.
29865 * sunrpc/rpc/xdr.h: Likewise.
29866 * sunrpc/rpc_clntout.c: Likewise.
29867 * sunrpc/rpc_cmsg.c: Likewise.
29868 * sunrpc/rpc_common.c: Likewise.
29869 * sunrpc/rpc_cout.c: Likewise.
29870 * sunrpc/rpc_dtable.c: Likewise.
29871 * sunrpc/rpc_hout.c: Likewise.
29872 * sunrpc/rpc_main.c: Likewise.
29873 * sunrpc/rpc_parse.c: Likewise.
29874 * sunrpc/rpc_parse.h: Likewise.
29875 * sunrpc/rpc_prot.c: Likewise.
29876 * sunrpc/rpc_sample.c: Likewise.
29877 * sunrpc/rpc_scan.c: Likewise.
29878 * sunrpc/rpc_scan.h: Likewise.
29879 * sunrpc/rpc_svcout.c: Likewise.
29880 * sunrpc/rpc_tblout.c: Likewise.
29881 * sunrpc/rpc_util.c: Likewise.
29882 * sunrpc/rpc_util.h: Likewise.
29883 * sunrpc/rpcinfo.c: Likewise.
29884 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
29885 * sunrpc/rpcsvc/key_prot.x: Likewise.
29886 * sunrpc/rpcsvc/klm_prot.x: Likewise.
29887 * sunrpc/rpcsvc/mount.x: Likewise.
29888 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
29889 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
29890 * sunrpc/rpcsvc/rex.x: Likewise.
29891 * sunrpc/rpcsvc/rstat.x: Likewise.
29892 * sunrpc/rpcsvc/rusers.x: Likewise.
29893 * sunrpc/rpcsvc/sm_inter.x: Likewise.
29894 * sunrpc/rpcsvc/spray.x: Likewise.
29895 * sunrpc/rpcsvc/yppasswd.x: Likewise.
29896 * sunrpc/rtime.c: Likewise.
29897 * sunrpc/svc.c: Likewise.
29898 * sunrpc/svc_auth.c: Likewise.
29899 * sunrpc/svc_authux.c: Likewise.
29900 * sunrpc/svc_raw.c: Likewise.
29901 * sunrpc/svc_run.c: Likewise.
29902 * sunrpc/svc_simple.c: Likewise.
29903 * sunrpc/svc_tcp.c: Likewise.
29904 * sunrpc/svc_udp.c: Likewise.
29905 * sunrpc/svc_unix.c: Likewise.
29906 * sunrpc/svcauth_des.c: Likewise.
29907 * sunrpc/xcrypt.c: Likewise.
29908 * sunrpc/xdr.c: Likewise.
29909 * sunrpc/xdr_array.c: Likewise.
29910 * sunrpc/xdr_float.c: Likewise.
29911 * sunrpc/xdr_mem.c: Likewise.
29912 * sunrpc/xdr_rec.c: Likewise.
29913 * sunrpc/xdr_ref.c: Likewise.
29914 * sunrpc/xdr_sizeof.c: Likewise.
29915 * sunrpc/xdr_stdio.c: Likewise.
29917 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
29920 2010-08-19 Andreas Schwab <schwab@redhat.com>
29922 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
29924 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
29926 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
29927 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
29928 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
29929 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
29930 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
29931 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
29932 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
29933 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
29934 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
29935 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
29936 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
29937 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
29938 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
29939 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
29941 2010-07-26 Anton Blanchard <anton@samba.org>
29943 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
29944 * malloc/arena.c (heap_trim): Likewise.
29946 2010-08-16 Ulrich Drepper <drepper@redhat.com>
29948 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
29950 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
29951 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
29953 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
29955 * sysdeps/i386/elf/Makefile: New file.
29957 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
29959 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
29960 from fanotify_init.
29961 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
29962 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
29964 2010-08-15 Ulrich Drepper <drepper@redhat.com>
29966 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
29968 * sysdeps/multiarch/strcmp.S: Likewise.
29970 2010-08-14 Ulrich Drepper <drepper@redhat.com>
29972 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
29973 strncase_l-nonascii.
29974 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
29975 Add strncase_l-ssse3.
29976 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
29977 * sysdeps/x86_64/strcmp.S: Likewise.
29978 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
29979 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
29980 * sysdeps/x86_64/strncase.S: New file.
29981 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
29982 * sysdeps/x86_64/strncase_l.S: New file.
29983 * string/Makefile (strop-tests): Add strncasecmp.
29984 * string/test-strncasecmp.c: New file.
29986 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
29989 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
29990 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
29992 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
29994 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
29996 2010-08-12 Ulrich Drepper <drepper@redhat.com>
29998 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
29999 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
30000 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
30002 2010-05-01 Alan Modra <amodra@gmail.com>
30004 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
30005 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
30006 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
30007 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
30008 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
30009 tidying. Don't tail-call __sigjmp_save for static lib.
30010 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
30012 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
30013 (CALL_MCOUNT): Add eh info, and nop after bl.
30014 (TAIL_CALL_SYSCALL_ERROR): New macro.
30015 (PSEUDO_RET): Use it.
30016 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
30017 Correct save location of integer regs and cr.
30018 (_dl_profile_resolve): Correct cr save location. Delete nops
30019 after bl when SHARED. Reduce cfi size a little by better
30020 placement of cfi directives.
30021 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
30022 make a stack frame. Instead use parm save area as a temp.
30023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
30024 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
30025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30026 Don't make a stack frame for parent, use parm save area.
30027 Increase child stack frame to 112 bytes. Don't save unused reg,
30028 and adjust reg usage. Set up cfi on error recovery and
30029 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
30030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30031 (__makecontext): Add dummy nop after jump to exit.
30032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
30033 Use correct parm save area and cr save, reduce stack frame.
30034 Correct cfi for possible PSEUDO_RET frame setup.
30035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
30036 Branch to local label emitted by PSEUDO_RET rather than
30039 2010-08-12 Andreas Schwab <schwab@redhat.com>
30042 * locale/programs/locale.c (print_assignment): New function.
30043 (show_locale_vars): Use it.
30045 2010-08-11 Ulrich Drepper <drepper@redhat.com>
30047 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
30049 (struct statfs64): Likewise.
30050 (_STATFS_F_FLAGS): Define.
30051 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
30052 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30053 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
30054 (ST_VALID): Define locally.
30055 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
30056 __statvfs_getflags, use the provided value.
30057 * sysdeps/unix/sysv/linux/kernel-features.h: Define
30058 __ASSUME_STATFS_F_FLAGS.
30060 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
30062 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
30063 Add sys/fanotify.h.
30064 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
30065 fanotify_mask for GLIBC_2.13.
30066 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
30067 fanotify_init and fanotify_mark.
30068 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30069 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
30071 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
30073 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
30074 prlimit64 for GLIBC_2.13.
30075 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
30077 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
30079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
30080 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30081 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
30082 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
30083 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
30085 * sysdeps/unix/sysv/linux/prlimit.c: New file.
30088 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
30089 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
30091 * nss/Makefile: Add rules to build and run tst-nss-test1.
30092 * shlib-versions: Add entry for libnss_test1.
30093 * nss/nss_test1.c: New file.
30094 * nss/tst-nss-test1.c: New file.
30096 * nss/nsswitch.c (__nss_database_custom): Define new variable.
30097 (__nss_configure_lookup): Set appropriate entry in
30098 __nss_configure_lookup to true.
30099 * nss/nsswitch.h: Define enum with indeces of databases in
30100 databases and __nss_database_custom arrays. Declare
30101 __nss_database_custom.
30102 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
30103 to avoid using nscd when custom rules are installed.
30104 * nss/getXXbyYY_r.c: Likewise.
30105 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30107 * nss/nss_files/files-parse.c: Whitespace fixes.
30109 2010-08-09 Ulrich Drepper <drepper@redhat.com>
30112 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
30113 * posix/fnmatch_loop.c: Likewise.
30115 2010-07-17 Andi Kleen <ak@linux.intel.com>
30117 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
30118 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
30119 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
30120 * Versions.def [GLIBC_2.13]: Add.
30122 2010-08-06 Ulrich Drepper <drepper@redhat.com>
30124 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30125 Also fail if tpwd after pwuid call is NULL.
30127 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
30129 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
30130 when converting to ms.
30132 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30134 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
30135 EOPNOTSUPP errors with ENOTTY.
30136 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
30137 EOPNOTSUPP errors with ENOTTY.
30139 2010-07-31 Ulrich Drepper <drepper@redhat.com>
30141 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30142 Add strcasecmp_l-ssse3.
30143 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
30145 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
30146 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
30147 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
30149 2010-07-30 Ulrich Drepper <drepper@redhat.com>
30151 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
30153 * string/Makefile (strop-tests): Add strcasecmp.
30154 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30155 strcasecmp_l-nonascii.
30156 (gen-as-const-headers): Add locale-defines.sym.
30157 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
30158 * sysdeps/x86_64/strcasecmp.S: New file.
30159 * sysdeps/x86_64/strcasecmp_l.S: New file.
30160 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
30161 * sysdeps/x86_64/locale-defines.sym: New file.
30162 * string/test-strcasecmp.c: New file.
30164 * string/test-strcasestr.c: Test both ends of the range of characters.
30165 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
30167 2010-07-29 Roland McGrath <roland@redhat.com>
30170 * manual/locale.texi (Yes-or-No Questions): Fix example code.
30172 2010-07-27 Ulrich Drepper <drepper@redhat.com>
30174 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
30177 2010-07-27 Andreas Schwab <schwab@redhat.com>
30179 * manual/memory.texi (Malloc Tunable Parameters): Document
30182 2010-07-26 Roland McGrath <roland@redhat.com>
30185 * configure.in (-fgnu89-inline check): Set and substitute
30186 gnu89_inline, not libc_cv_gnu89_inline.
30187 * configure: Regenerated.
30188 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
30190 2010-07-26 Ulrich Drepper <drepper@redhat.com>
30192 * string/test-strnlen.c: New file.
30193 * string/Makefile (strop-tests): Add strnlen.
30194 * string/tester.c (test_strnlen): Add a few more test cases.
30195 * string/tst-strlen.c: Better error reporting.
30197 * sysdeps/x86_64/strnlen.S: New file.
30199 2010-07-24 Ulrich Drepper <drepper@redhat.com>
30201 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
30202 lower-latency instructions.
30204 2010-07-23 Ulrich Drepper <drepper@redhat.com>
30206 * string/test-strcasestr.c: New file.
30207 * string/test-strstr.c: New file.
30208 * string/Makefile (strop-tests): Add strstr and strcasestr.
30209 * string/str-two-way.h: Don't undefine MAX.
30210 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
30212 2010-07-21 Andreas Schwab <schwab@redhat.com>
30214 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30215 strcasestr-nonascii.
30216 (CFLAGS-strcasestr-nonascii.c): Define.
30217 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
30218 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
30219 Remove unused attribute.
30221 2010-07-20 Roland McGrath <roland@redhat.com>
30223 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
30224 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
30225 ld.so.cache was broken. With it, there is no way to disable dsocaps
30226 like LD_HWCAP_MASK can disable hwcaps.
30228 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
30230 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
30232 2010-07-16 Ulrich Drepper <drepper@redhat.com>
30234 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
30235 call in strcasestr.
30236 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
30237 __strcasestr_sse42_nonascii.
30238 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
30239 strcasestr-nonascii.c.
30240 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
30242 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
30244 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
30245 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
30246 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
30247 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
30249 2010-07-09 Ulrich Drepper <drepper@redhat.com>
30251 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
30254 2010-07-06 Andreas Schwab <schwab@redhat.com>
30257 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
30260 2010-07-06 Ulrich Drepper <drepper@redhat.com>
30262 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
30263 _PC_PIPE_BUF using F_GETPIPE_SZ.
30265 2010-07-05 Roland McGrath <roland@redhat.com>
30267 * manual/arith.texi (Rounding Functions): Fix rint description
30268 implicit in round description.
30270 2010-07-02 Ulrich Drepper <drepper@redhat.com>
30272 * elf/Makefile: Fix linking for a few tests to make recent linker
30275 2010-06-30 Andreas Schwab <schwab@redhat.com>
30277 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30278 $(common-objpfx)libc_nonshared.a.
30280 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
30282 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
30283 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
30284 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30285 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30286 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
30287 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
30288 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
30289 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
30290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
30291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
30292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
30293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
30295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
30297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
30298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
30299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
30300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
30301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
30302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
30303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
30304 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
30305 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
30306 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
30307 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
30308 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
30309 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
30310 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
30311 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
30312 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
30313 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
30314 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
30315 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
30316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
30317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
30318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
30319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
30320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
30321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
30322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
30323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
30324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
30325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
30326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
30327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
30328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
30329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
30331 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
30333 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
30334 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
30335 * string/memmove.c (memmove): Renamed to ...
30336 (MEMMOVE): ...this. Default to memmove.
30337 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
30338 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
30340 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30341 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
30342 mempcpy-ssse3-back memmove-ssse3-back.
30343 * sysdeps/x86_64/multiarch/bcopy.S: New file .
30344 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
30345 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
30346 * sysdeps/x86_64/multiarch/memcpy.S: New file.
30347 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
30348 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
30349 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
30350 * sysdeps/x86_64/multiarch/memmove.c: New file.
30351 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
30352 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
30353 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
30354 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
30355 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
30356 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
30358 (index_Fast_Copy_Backward): Define.
30359 (HAS_ARCH_FEATURE): Define.
30360 (HAS_FAST_REP_STRING): Define.
30361 (HAS_FAST_COPY_BACKWARD): Define.
30363 2010-06-21 Andreas Schwab <schwab@redhat.com>
30365 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30366 Restore proper fallback handling.
30368 2010-06-19 Ulrich Drepper <drepper@redhat.com>
30371 * posix/group_member.c (__group_member): Correct checking loop.
30373 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
30374 OOM in getpwuid_r correctly. Return error number when the caller
30375 should return, otherwise -1.
30376 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
30377 call returning > 0 value.
30378 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
30380 2010-06-07 Andreas Schwab <schwab@redhat.com>
30382 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
30383 libc_nonshared.a from targets in modules-names.
30385 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
30387 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
30390 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
30392 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
30393 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
30394 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
30395 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
30397 2010-06-02 Andreas Schwab <schwab@redhat.com>
30399 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
30401 2010-06-14 Ulrich Drepper <drepper@redhat.com>
30403 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
30405 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30406 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30407 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30408 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30409 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30410 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
30412 2010-06-14 Roland McGrath <roland@redhat.com>
30414 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
30416 2010-06-07 Jakub Jelinek <jakub@redhat.com>
30418 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
30419 __REDIRECT followed by __THROW.
30420 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
30421 * posix/getopt.h (getopt): Likewise.
30423 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
30425 * hurd/lookup-at.c (__file_name_lookup_at): Accept
30426 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
30427 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
30429 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
30430 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
30432 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
30434 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
30436 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
30439 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30440 Properly check family and model.
30442 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
30444 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
30446 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
30448 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
30450 2010-05-21 Ulrich Drepper <drepper@redhat.com>
30452 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
30455 2010-05-19 Andreas Schwab <schwab@redhat.com>
30457 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
30460 2010-05-21 Andreas Schwab <schwab@redhat.com>
30462 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
30463 and internal_recvmmsg.
30464 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
30465 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
30466 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
30467 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
30469 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
30470 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30471 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30473 2010-05-20 Andreas Schwab <schwab@redhat.com>
30475 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
30477 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
30479 POWER7 optimizations.
30480 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
30481 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
30483 2010-05-19 Ulrich Drepper <drepper@redhat.com>
30485 * version.h: Update for 2.13 development version.
30487 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
30489 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
30490 exceptions. Return 0.
30492 2010-05-07 Roland McGrath <roland@redhat.com>
30494 * elf/ldconfig.c (main): Add a const.
30496 2010-05-06 Ulrich Drepper <drepper@redhat.com>
30498 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
30499 (args_options): Add no-idn option.
30500 (ahosts_keys_int): Add idn_flags to ai_flags.
30501 (parse_option): Handle 'i' option to clear idn_flags.
30503 * malloc/malloc.c (_int_free): Possible race in the most recently
30504 added check. Only act on the data if no current modification
30507 See ChangeLog.17 for earlier changes.